We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d316b47 commit b71a7bcCopy full SHA for b71a7bc
src/render_latex.js
@@ -98,7 +98,7 @@ let renderer = {
98
paragraph_close() { return "" },
99
100
heading_open(token) {
101
- if (token.tag == "h1") return `\\label{${chapter[1]}}\\chapter${/^00/.test(file) ? "*" : ""}{`
+ if (token.tag == "h1") return `\\label{${chapter[1]}}${/^00/.test(file) || chapter[1] === "hints" ? "\\addchap" : "\\chapter"}{`
102
if (token.tag == "h2") return `\n\n${id(token)}\\section{`
103
if (token.tag == "h3") return `\n\n${id(token)}\\subsection{`
104
if (token.tag == "h4") return `\n\n${id(token)}\\subsubsection{`
0 commit comments