Ärger mit datatool
Verfasst: Mi 2. Mär 2016, 14:04
Hallo liebe LaTeX-Gemeinde.
Ich verzweifle noch an datatool... Ich habe ein Beispiel, welches zuerst prima funktionierte. Auf einmal gibt mir Latex einen Fehler heraus.
Als Fehler kommt Folgendes, und ich kann wirklich nicht sagen warum:
Ist es vielleicht besser csvtools zu benutzen. Irgendwie erscheint mir "datatool" ein bisschen "zerbrechlich"...
Ich verzweifle noch an datatool... Ich habe ein Beispiel, welches zuerst prima funktionierte. Auf einmal gibt mir Latex einen Fehler heraus.
\documentclass[12pt,a4paper,oneside,DIV=calc]{scrreprt} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \renewcommand{\sfdefault}{phv} \renewcommand{\rmdefault}{pplj} \usepackage{datatool} %externe Daten einbinden \usepackage[format=plain,indention=.5cm,labelfont=bf,textfont=it,tableposition=top,labelsep=endash]{caption} % Abbildungs und Tabellenbeschriftungen \DeclareCaptionFormat{beschriftung}{#1#2#3} \DeclareCaptionListFormat{table}{Tafel T.#1. #2} \captionsetup{format=beschriftung,labelsep=endash,singlelinecheck=no} \captionsetup[table]{name=Tafel} \begin{document} \begin{table}[!htbp] \caption[\textsc{Etienne} (1991), S.215f.; CIL IV 5380.]{Preise nach \textsc{Etienne} (1991), S.215f.; CIL IV 5380.} \bigskip \centering \DTLloaddb{preise}{preise.csv} \DTLdisplaydb{preise} \label{tab:preise} \end{table} \end{document}
Vielleicht kann mir jemand helfen.! Missing { inserted.
<to be read again>
\let
l.20 \DTLloaddb{preise}{preise.csv}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! LaTeX Error: \begin{table} on input line 16 ended by \end{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.24 \end{document}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
(minimalbeispiel.aux)
! You can't use `\end' in internal vertical mode.
\enddocument ...cumenthook \deadcycles \z@ \@@end
l.24 \end{document}
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
Ist es vielleicht besser csvtools zu benutzen. Irgendwie erscheint mir "datatool" ein bisschen "zerbrechlich"...