Pre-build script support #11894
Closed
jparisu
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
You mean pre and post render scripts? And profiles?
What exactly is not covered by those features? Note that if you want to handle LaTeX compilation yourself, then ask for that by setting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I would like to make some complex variations over my project depending on the profile used to render. So far it is supported to make something visible or not, but I would like to do more "intelligent" stuff like changing some words or reorder things.
Let's say, for example, I would to add the word
TOP
to every chapter title when I use profile "top".In formats that render to
.html
this could be handled by customizing a.js
file. But when rendering a document to.pdf
this kind of behavior is not possible to replicate inside quarto (outside quarto I can always create a over-script that make the modifications over the source files and call render).Also, these changes could be also applied to the intermediate
.tex
files auto-generated, instead of the source ones.Describe the solution you'd like
Introduce a new hook, such as
before-build
orafter-latex
, that allows users to specify scripts or commands to be executed before starting the process, or immediately after the LaTeX file is generated and before the final build process commences. This hook would enable users to perform tasks like custom LaTeX modifications, additional formatting, or integration with other tools.Beta Was this translation helpful? Give feedback.
All reactions