public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: Jadian Radiator
	<churreylmc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	pandoc-discuss
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: How do I make custom templates?
Date: Fri, 17 Sep 2021 17:12:21 -0700	[thread overview]
Message-ID: <yh480klf3upwre.fsf@johnmacfarlane.net> (raw)
In-Reply-To: <6e59a777-b848-497d-9289-9705c066e699n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


Did you look at the manual?

https://pandoc.org/MANUAL.html#templates

Generally, you'll want to modify one of the default templates.
For example, for LaTeX,

pandoc --print-default-template latex > my.latex

Then edit my.latex and make changes using the syntax described
in the manual.

Jadian Radiator <churreylmc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> How do I make custom templates?
> Closest post here I was able to find was this one.
> https://groups.google.com/g/pandoc-discuss/c/CLUVrVkJlls/m/-IQDg3pGCAAJ
> However it and the page it links to doesn't actually tell you how.
> The page it links to gives you an example of the code needed for it...
> without telling you anything about how to use it with Pandoc.
>
> -- 
> 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/6e59a777-b848-497d-9289-9705c066e699n%40googlegroups.com.


      parent reply	other threads:[~2021-09-18  0:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 20:13 Jadian Radiator
     [not found] ` <6e59a777-b848-497d-9289-9705c066e699n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-09-18  0:12   ` John MacFarlane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yh480klf3upwre.fsf@johnmacfarlane.net \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=churreylmc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).