git.iko.soy/typeable/pandoc
on master help sign in
Fix paragraph undefined problem
commit0f736312dba016627f0b98ebdfd375a69a6e68f8 authorNikolay Yakimov <root@livid.pp.ru> dateSun 3 May 2015, 21:11 (11 years ago) parent81c1a22
1 file changed+4
default.latex+4
default.latex+4
@@ -146,10 +146,14 @@ $header-includes$
146146$endfor$
147147
148148% Redefines (sub)paragraphs to behave more like sections
149+\ifx\paragraph\undefined\else
149150\let\oldparagraph\paragraph
150151\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
152+\fi
153+\ifx\subparagraph\undefined\else
151154\let\oldsubparagraph\subparagraph
152155\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
156+\fi
153157
154158\begin{document}
155159$if(title)$