-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic numbering of figures and tables in HTML output #615
Labels
Comments
Hey, have you been able to get a solution to this issue? |
No, I think this would require to modify Pandoc - I have not digged into Haskell yet. |
👍 |
1 similar comment
👍 |
Automatic numbering of figures is already possible with the implicit_figures extension: https://pandoc.org/MANUAL.html#extension-implicit_figures |
Implicit figures doesn't give you figure numbering in HTML.
(You do get it in LaTeX/PDF output, though.)
Alex Băluț <notifications@github.com> writes:
… Automatic numbering of figures is already possible with the implicit_figures extension: https://pandoc.org/MANUAL.html#extension-implicit_figures
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#615 (comment)
|
Closing in favour of #813 In the meantime, you can do this with a filter or possibly CSS counters. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandoc supports numbering of section headings in LaTeX and HTML output with option
-N, --number-sections
. Figures and tables are only numbered in LaTeX (because this is default in LaTeX). There should be options to add automatic numbering of figures and tables (--number-tables
/--number-figures
?) also in HTML output like this:The prefix could be modified by a template variable that also works in LaTeX:
A dot or colon can be added after the figurename/tablename with CSS, so no addition template magic is needed, for instance:
By the way this was already asked in this thread
The text was updated successfully, but these errors were encountered: