0

The journal has a rule that forbids loading external files and the entire tex file must be self-contained in a single .tex file. Therefore all \DTLloaddb{aaa.csv} must be replaced. Is there a way to put the .csv file into the main tex file and make \DTLloaddb load certain lines of the main .tex file?

he wei
  • 23
  • 1
    You're looking for the filecontents environment. This site has many example, e.g. here – mbert Nov 04 '22 at 02:14
  • 1
    Alternatively, if you use Datatool to populate a tabular environment or an Appendix or something, you can also compile just the table or the Appendix separately to a pdf and include that as an image, e.g., \begin{table}\includegraphics{mytable.pdf}\caption{...}\label{...}\end{table}. – Marijn Nov 04 '22 at 09:32
  • sorry include an external pdf is not the solution that fits this scenario, is there a way to define a database from an "internal" csv file? – he wei Nov 05 '22 at 21:50
  • Would you be more specific please? How to define a csv database without resorting to external csv file?? – he wei Nov 05 '22 at 21:51

0 Answers0