Quarto journal extension - how to reference the local .cls
file?
#4046
-
I've recently started working on some Custom Format extensions (e.g. this simple one here for Julia-themed HTML). Now I was trying to step it up a notch and create a Journal Article Extension (this repo) for JuliaCon Proceedings derived off the existing template repository. From there I've lifted the relevant what I think should be the relevant I'm trying to use an article template that uses the local class file
When I then try to render the
What am I doing wrong? Any help would be much appreciated 🙏🏽 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'd recommend that you copy the https://github.com/quarto-journals/elsevier/tree/main/_extensions/elsevier You can see that the class file is included in the extension and is listed in Appreciate your effort here and hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Looking into the same issue, I've found this in
No idea, whether this is a robust solution, though ... |
Beta Was this translation helpful? Give feedback.
I'd recommend that you copy the
cls
file to the input directory as a part of rendering (the latex compilers will generally look in the document directory to resolve such dependencies). A good example of this is here:https://github.com/quarto-journals/elsevier/tree/main/_extensions/elsevier
You can see that the class file is included in the extension and is listed in
format-resources
, which means that it be copied to the input directory as a part of rendering.Appreciate your effort here and hope this helps!