-
-
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
{.unnumbered} tag cannot work at level 4 or lower? #6018
Comments
Please explain what you mean "cannot work." What command did you try with this input? What output did you get? What did you expect? What version of pandoc? |
Can you try without pandoc-crossref? Is it only when using luatex? |
Pandoc-crossref, Pandoc-citeproc and so on are in requirement. The unexpected result occurred at upLatex too. I tried without the crossref filter but the result was same. |
OK, reproduced this with simply
where 6018.md is
|
With level-3 headers, we use latex |
Thank you, jgm. If you have any method to change a command |
|
@T-o-m-H-u is indeed true. A temporary solution to this problem is set % Make \paragraph and \subparagraph free-standing
\let\oldparagraph\paragraph
\let\oldsubparagraph\subparagraph
\makeatletter
\renewcommand{\paragraph}{
\@ifstar
\xxxParagraphStar
\xxxParagraphNoStar
}
\renewcommand{\subparagraph}{
\@ifstar
\xxxSubParagraphStar
\xxxSubParagraphNoStar
}
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
\makeatother |
Please create a new issue for this. |
`block-headings: true` seems to break unnumbered paragraphs and subparagraphs. This is due to the fact, that the unnumbered version uses the star macros \paragraph* and \subparagraph*. See issue #6018 for details.
Do you have any idea to solve this?
I want to disappear the section number on the level4 of headline.
The un-numbering command {-} or {.unnumberd} can work expectedly as follows below figures.
However the number on the level4- of headline did not disappear unexpectedly.
output(test.pdf)
cmd:
pandoc test.md -s -o test.pdf -N -F pandoc-crossref --pdf-engine=lualatex -V documentclass=ltjsarticle -V luatexjapresetoption=ms
pandoc: v2.9.1
P.S This pdf was produced by vscode-pandec addon @ VSCode
The text was updated successfully, but these errors were encountered: