Steps to create a quarto journal extension #5063
Replies: 2 comments 2 replies
-
We don't have permission to view the Overleaf project. Generally speaking, 1) and 2) are a matter of taste, and will also depend on the template you want to port to Quarto. If it's quite similar to another Quarto extension, it makes a lot of sense to start from that repo and make the adjustments, rather than starting from scratch. But some people might prefer to start with a clean slate and be in control of everything they add, piece by piece, rather than starting from someone else's files. It's a little similar with 2), in that both approaches are possible. With the custom template you get full control over what's in it, line by line, whereas replacing only partials makes you follow the built-in templates more closely. The trade-off here is between convenience (the Quarto template supports all Quarto features, so you don't have to think about implementing/importing them, and they're all documented), and control – if you find that the Quarto/pandoc template is not to your taste (either because it requires extensive additions for the functionality you need, or because it defines many features that you don't want/need – or both). Pragmatically, you might want to start with the easier workflow (fork a template from a similar journal extension), and use partials rather than a full template, and if later on you find that there's too much complexity in the code, you'll be in a good position to know what you need and trim it down to a more minimalist approach. |
Beta Was this translation helpful? Give feedback.
-
I wouldn't have brought it up had I not seen this specific line, but: https://github.com/cscheid/quarto-ieee-tvcg (I haven't touched it in a while, but I'm planning on doing so in the near future!) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,! I am trying to get started on making a Quarto journal extension. I am struggling with a few things after having looked at a few examples of templates on GitHub and after reading the many pages discussing templates and extensions on the Quarto site:
How do I start? I see two methods being discussed. One discussed in the Journal Formats quick start section says to type
quarto create extension journal
in the terminal. But then in the Quarto journals GitHub repo, a different workflow is identified where you are encouraged to click "Use this Template" to create a new repo. Are these equivalent workflows. Which one is better?This article on article templates identifies two ways of developing a new article format. One is to selectively replace partials in the master Quarto LaTeX or HTML template. The other is to replace the entire template and then add back partials provided with Quarto. Here is the LaTeX template from the American Political Science Association that I would like to do in Quarto. Which of these two methods would be the best method for porting this into Quarto?
I am wondering about document class options, like whether the document is single or double spaced, whether it is blinded or not, whether it includes a word count, e.g.
\documentclass[bibtex,autowc]{apsr_submission}
. Some journals have different templates available based on whether it is under review or in the preprint stage, e.g.\documentclass[preprint,journal]{vgtc}
. Is there a way to get these options to show up as parameters in the YAML header of the template?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions