resource-path for pdf class files #6526
-
DescriptionHello quarto community! I'm developing a format extension where one of the output formats is PDF. Currently I'm using However, I saw the Is this not possible, or am I just doing it wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The
HTH! |
Beta Was this translation helpful? Give feedback.
The
resource-path
is used by Pandoc itself when it resolves resources (not by the underlying TeX compiler). We do supportlatex-input-paths
as an option to add paths to search when compiling LaTeX, but we generally don't recommend that extension developers use them for two reasons:Extensions may be installed in a namespaced folder, or even nested within another extension. Further, they can be installed beside a document, or at the project root. All of this makes forming a path to the
_extensions
subfolder difficult and unlikely to work consistently.We prefer copying the resources next to the input, so that if the user experiences a TeX error, they are left in a state where they coul…