# TODO: - [ ] test with example5.tex - [ ] make tex parser cleaner and think more about structure of entries and levels - [ ] how should the output of texdict.py -o tex be used? ``` \documenttype{standalone} %\usepackage{texdict} \begin{document} \input{output-from-textdict.tex} \end{document} ``` - [ ] if dict package, how can I keep texdict.py and texdict.sty in sync? - [ ] textdict.py needs to be part of textdict.sty package - [ ] refactor code acording to 12factor app - [ ] https://12factor.net/de/ - [ ] what about that every entry should only appear once? - [ ] if input and output are the same, should it be converted to json trotzdem? - [ ] maybe not and add a --test flag for testing the syntax correctness - [ ] logo could be ``` \documentclass{standalone} \begin{document} $\tau$e$\chi$\textit{dict}\texttt{.py} \end{document} ``` --- --- - [x] test: - [x] $(./texdict.py example2.json -o tex`) - [x] dann auch testen: - [x] $(./texdict.py example2.tex ) - [x] change such that two entries can be converted - [x] json: ``` {[entry1,e2,e3]} {entries : [entry1, entry2, entry3]} ``` - [x] tex ``` \entry{1} \entry{2} \entry{3} ``` \documentclass{standalone} \begin{document} $\tau$e$\Xi$\textit{dict}\texttt{.py} \end{document} a poems with vim a poems with him a poems with vim vim a poems with vim vim