Conversion Tools ⇒ [Help] Error when import csv file to LaTeX.
-
- Posts: 2
- Joined: Wed Jan 05, 2011 6:06 pm
[Help] Error when import csv file to LaTeX.
i'm sorry another error of language.
if anyone can help me,the TEX file is here.
thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
[Help] Error when import csv file to LaTeX.
- inscritos.csv has 12 commas in its first line -- the labels, but most of the entries have 13 commas per line; hence, one of the columns of the table does not have a label, and this causes problems.
- inscritos.csv uses characters like \ and _ which are interpreted in a special way by TeX/LaTeX without escaping them. For example, there are many instances of things such as "Procura projecto/disserta\xc3\xa7\xc3\xa3o de mestrado". This will return errors since LaTeX is interpreting \xc \xa, etc., as names of LaTeX commands which do not exist. You may need to change each "\" in the file to "{\textbackslash}" or similar.
- cracha-exemplo.tex uses a \begin{letter} and \end{letter} environment, but the document class does not define any such thing. (The example from the csvtools documentation is obviously designed for use with a letter-based document class, as it mentions in a footnote.)
- You cannot use the command \insertfiliacao-empresa -- command names cannot have hyphens in them like this. If you want "filiacao-empresa" as the name of one of your fields, you need to use \insertbyname{filiacao-empresa} instead, as explained on page 3 of the csvtools documentation.
-
- Posts: 2
- Joined: Wed Jan 05, 2011 6:06 pm
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
[Help] Error when import csv file to LaTeX.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10