You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandoc versions >= 1.18 sometimes do not recognize unnumbered headers, whereas pandoc 1.17.2 does in the same conditions. This happens with a 4th-level header and with --chapters (or --top-level-division=chapter) specified. See pandoc runs below.
+ let star = if unnumbered && level < 4 then text "*" else empty
This is to avoid adding a star to \paragraph, which can't take one.
Normally a level 4 header is a \paragraph, but when you use --chapters it becomes a \subsubsection. So this needs some revision.
tarleb
added a commit
to tarleb/pandoc
that referenced
this issue
Dec 3, 2016
Both `\part*{}` and `\chapter*` exist and have the expected
functionallity; seems that using the primed `level'` variable instead of
`level` gives the desired behavior. Seems like I missed it when I was
touching that region.
John, do you prefer a PR or a direct push to master in cases like this?
Both `\part*{}` and `\chapter*` exist and have the expected
functionallity; seems that using the primed `level'` variable instead
of
`level` gives the desired behavior. Seems like I missed it when I was
touching that region.
John, do you prefer a PR or a direct push to master in cases like this?
—
You are receiving this because you commented.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References
1. #3272 (comment)
2. https://github.com/notifications/unsubscribe-auth/AAAL5K2EWCk7hblz-6qt3uci9bw2zi43ks5rEesGgaJpZM4LDVI7
Pandoc versions >= 1.18 sometimes do not recognize unnumbered headers, whereas pandoc 1.17.2 does in the same conditions. This happens with a 4th-level header and with
--chapters
(or--top-level-division=chapter
) specified. See pandoc runs below.This is correct -- with
\subsubsection*
. Compare this with:Here, the
*
is wrongly omitted from\subsubsection
.This does not happen without specifying
--chapters
(or--top-level-division=chapter
); nor does it happen with 1st--3rd level headings.The text was updated successfully, but these errors were encountered: