-
PDF output: Is it possible to run the LaTeX file produced by quarto through a simple (e.g., shell or python) filter before quarto runs xelatex? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Could you elaborate on your real need and what you really want to do/achieve? |
Beta Was this translation helpful? Give feedback.
-
Formatting of code output cells.
Furthermore, there is a small ugliness with Julia. Example:
The generated ipynb file shows that Jupyter/IJulia produces 2 output cells of slightly different types, since writing to
and this generates a large gap between the two lines. My script merges consecutive verbatim environments. I guess all this can be done with a pandoc lua filter, but for me some lines of python or shell are much faster written and tested. |
Beta Was this translation helpful? Give feedback.
-
It would probably be easier to tweak the LaTeX partials to fit your needs instead of adding new LaTeX via the |
Beta Was this translation helpful? Give feedback.
-
This is helpful. Thank you for pointing it out! |
Beta Was this translation helpful? Give feedback.
It would probably be easier to tweak the LaTeX partials to fit your needs instead of adding new LaTeX via the
include-*
YAML keys, see https://quarto.org/docs/journals/templates.html#latex-partials.