IguanaTex
IguanaTex copied to clipboard
Workflow suggestion: edit LaTeX file somewhere else (Load file)
I am aware that there is the Open in external editor
command. However, consider the following workflow I'd like to use:
- I have an already-existing LaTeX project somewhere with custom definitions and a long preamble included in the
main.tex
file. - I create a
main.pptx.tex
file next to themain.tex
file where I remove all the\input{}
commands to my sections and stuff liketableofcontents
. In the end, I might have something like the following left. Note that the\input{preamble}
refers to the filepreamble.tex
file residing next to themain.tex
file.
\documentclass{article}
\input{preamble}
\input{defs}
\input{prettify-math}
\pagestyle{empty}
\begin{document}
Let $\epsilon > 0$.
\end{document}
- My preferred workflow would be to have this
main.pptx.tex
file as default file path in IguanaTex (also see issue #66). Ideally, I wouldn't even have to click onLoad File
. Instead, I could just have one shortcut, to read this files content and insert it as shape in PowerPoint. This way, I could quickly paste parts of my already existing LaTeX project into thismain.pptx.tex
file and use all the packages already defined in the preamble.
Challenges/Wishes
- [ ] Loading a file would also have to instruct the LaTeX compiler where the base directory is, such that relative imports such as
\input{preamble}
are correctly resolved. - [ ] Use the same file path to
main.pptx.tex
as default when generating (see issue #66). - [ ] Don't require users to click on
Load File
.