public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Setting a template based on YAML metadata blocks
Date: Thu, 3 Aug 2023 16:06:13 -0600	[thread overview]
Message-ID: <BCA4CD94-7FB3-4963-A6AA-F54AF47BDC5A@gmail.com> (raw)
In-Reply-To: <CABHcm=rAT_j28acnFL-NBAZpQjQrtxPKXZ7KMT4MjSqZNnjbOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


>> html4 and html5 are separate output formats (but `html` defaults to `html5`).  That's why.  The templates are a bit different.
> 
> Interesting, the behavior I'm seeing might be a bug then. Only
> `default.html5` works as a default HTML template, placing
> `default.html` in `data-dir/templates/` does not override anything.
> Then also only files ending in `.html`, not `.html5`, seem to be
> referenceable without the extension with the template flag (ex. --to
> html --template "funky" only works if a `funky.html` exists, not
> `funky.html5`).

That's expected behavior. The alias html = html5 only applies to
specifying values for `--to` or `--from`.



      parent reply	other threads:[~2023-08-03 22:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02  5:16 JJ
     [not found] ` <CABHcm=pt_xyOKPCvieJH-QNvArZnCosb_h7xp4g_0RNJ0EECgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-08-02  8:01   ` Bastien DUMONT
2023-08-02 16:23   ` John MacFarlane
     [not found]     ` <6CAC3AED-3628-4F25-BBB9-D3CEA9CECA36-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-08-03  7:11       ` JJ
     [not found]         ` <CABHcm=rAT_j28acnFL-NBAZpQjQrtxPKXZ7KMT4MjSqZNnjbOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-08-03 14:45           ` jcr
2023-08-03 22:06           ` 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=BCA4CD94-7FB3-4963-A6AA-F54AF47BDC5A@gmail.com \
    --to=fiddlosopher-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).