public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Best approach for generating LaTeX/PDF with given journal template (e.g. Elsevier)?
@ 2021-11-05 12:23 mfhepp
       [not found] ` <af2cf847-8906-432c-b33d-b80a4b72db8dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: mfhepp @ 2021-11-05 12:23 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2228 bytes --]

Dear all:
I would like to set up a sustainable way of generating journal paper 
submissions for journals that require the usage of a given TeX 
specification, like

- Elsevier: elsarticle Class, see 
https://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle
- ACM Journals: see https://ctan.org/tex-archive/macros/latex/contrib/acmart
- Springer 
LNCS: https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines

As a key benefit of using Markdown for academic writing and Pandoc-based 
workflows for generating documents is that I do not have to go too deeply 
into LaTeX technicalities, I would like to understand the best way of going 
from a Markdown document with an article to a submission-ready PDF with 
LaTeX sources according to those two (and similar) TeX specifications.

From my understanding, there are several alternative routes:

1. Generate a Pandoc LaTeX template from those packages / specs, i.e. 
basically inserting Pandoc variable placeholders into a template build from 
those packages.

Cons: Lots of work, difficult to keep in sync with changing specs from 
publishers.

2. Use Pandoc to generate an intermediate .tex document using the standard 
Pandoc LaTeX template, applying some custom filters (LUA/Panflute, ...) to 
do necessary substitutions and additions, then using TeX to build the final 
PDF.

Cons: Will also require a deep dive into the differences between the LaTeX 
output from Pandoc and the publisher specs.

3. Use all kinds of Pandoc options and meta-data like `header-includes` 
etc. to use the given LaTeX packages directly.

There are many abandoned, "quick-and-dirty" approaches in Github 
repositories out there, but ideally, we would have a best practice for this 
common case.

What would you recommend?

Thanks!

Best wishes
Martin

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/af2cf847-8906-432c-b33d-b80a4b72db8dn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2843 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-20 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 12:23 Best approach for generating LaTeX/PDF with given journal template (e.g. Elsevier)? mfhepp
     [not found] ` <af2cf847-8906-432c-b33d-b80a4b72db8dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-11-05 12:39   ` Albert Krewinkel
     [not found]     ` <877ddm7p49.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-11-05 13:55       ` Martin Hepp
     [not found]         ` <CC747089-936C-4756-8721-9517534E343A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-08-20 14:01           ` mfhepp
     [not found]             ` <d6975b4a-de99-4595-a5b5-35363b28b6d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-08-20 14:13               ` mfhepp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).