Running the following through LaTeX gives me a "Missing number" error:

 \firstname \surname\\
 \city \postcode}}

This is my recipients.csv file:

Wolfang,Ingeborg,Im Wiengert,Baumgartnerstrasse 11,8800,Biel

Do yo see what I'm doing wrong?

  • Can you use \address1 and \address2 as macros? Try changing them to \addressone and \addresstwo to see if that fixes things. In general, you can't use numbers in macro names. – Seamus Jan 25 '12 at 12:30
  • @quagmire This works for me. Have you considered upgrading your packages? – user10274 Jan 25 '12 at 12:33
  • @MarcvanDongen No, it doesn't work. Two lines are printed the same. – egreg Jan 25 '12 at 13:06
  • @egreg OK. Now I understand what was meant with "it doesn't work". I thought the poster got a runtime error:-) – user10274 Jan 25 '12 at 13:22

You are defining twice the \address macro and not macros \address1 and \address2. Only letters can appear in macro names

 \firstname \surname\\
 \city \postcode}}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.