SergelsOrg / csv2tex

Tool to replace placeholders in tex-files
GNU General Public License v3.0
5 stars 0 forks source link

(bottom layer) Placeholder replacement #5

Closed ArchibaldBienetre closed 2 years ago

ArchibaldBienetre commented 3 years ago

Add code to replace placeholders in a given text file.

TODO @DonMischo specify placeholder format

ArchibaldBienetre commented 3 years ago

Current placeholder format is # followed by keyword until the next whitespace.

The keywords are derived from the CSV's header line, then put into all caps.

E.g., the CSV's header has Mathematik (a subject), and the tex template has #MATHEMATIK

This may be subject to change, though.

See also https://github.com/SergelsOrg/csv2tex/issues/16#issuecomment-944905363

EDIT: Suggested update https://github.com/SergelsOrg/csv2tex/issues/16#issuecomment-999047153

ArchibaldBienetre commented 2 years ago

Close after https://github.com/SergelsOrg/csv2tex/issues/58