public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: AustinLe <lhoangan.nl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Mathjax and TOC does not work with HTML custom lua writer
Date: Thu, 24 Mar 2022 03:54:33 -0700 (PDT)	[thread overview]
Message-ID: <b5250fc3-b431-4d07-9dcb-bb81ca43f825n@googlegroups.com> (raw)


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

I was trying to generate the same HTML from Markdown with as one with `-s 
-t html` using the default `sample.lua` writer and `default.html5` but 
found that the table of contents is missing and math formulas does not 
render correctly. This is the command I was using:
```
pandoc --standalone --toc --mathjax --citeproc -f markdown 
--template=default.html5 -t sample.lua my-markdown.md -o index.html 
--variable document-css --variable highlighting-css --variable 
displaymath-css --variable csl-css --variable csl-entry-spacing
```
Pandoc version:
```
> pandoc -v
pandoc 2.17.1.1
Compiled with pandoc-types 1.22.1, texmath 0.12.4, skylighting 0.12.2,
citeproc 0.6.0.1, ipynb 0.2
User data directory: /share/home/leh/.pandoc
Copyright (C) 2006-2022 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
```

-- 
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/b5250fc3-b431-4d07-9dcb-bb81ca43f825n%40googlegroups.com.

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

             reply	other threads:[~2022-03-24 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 10:54 AustinLe [this message]
     [not found] ` <b5250fc3-b431-4d07-9dcb-bb81ca43f825n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-03-24 18:35   ` John MacFarlane
     [not found]     ` <m2zglfjj1b.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-03-24 19:26       ` Hoàng-Ân Lê
     [not found]         ` <CAKY_PKtOFRs085OJCCaAqjHyjo7BPSstUojaxGqE8vC3HFNrhg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-03-25  2:30           ` John MacFarlane
     [not found]             ` <m2fsn6ix1n.fsf-jF64zX8BO0+FqBokazbCQ6OPv3vYUT2dxr7GGTnW70NeoWH0uzbU5w@public.gmane.org>
2022-03-25  9:38               ` William Lupton

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=b5250fc3-b431-4d07-9dcb-bb81ca43f825n@googlegroups.com \
    --to=lhoangan.nl-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).