I am trying to operator on a CSV file on a row-by-row basis with the following dummy code.





Which gives me

File ended while scanning use of \@dtl@next.

What is wrong with this code?

P.S.: I am using lualatex on TL2018.


There's a spurious comma at the end of the second argument of \DTLforeach:

    \yy=y,% <-- here

(Empty elements aren't skipped by the parser.) Just remove it:

  • Ohh dear....I have wasted hours on that! You've got eagle eyes ;-) Thanks so much. – bonanza Nov 8 '18 at 21:27

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.