mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 19:56:43 +00:00
Fix paragraph undefined problem
This commit is contained in:
@@ -146,10 +146,14 @@ $header-includes$
|
||||
$endfor$
|
||||
|
||||
% Redefines (sub)paragraphs to behave more like sections
|
||||
\ifx\paragraph\undefined\else
|
||||
\let\oldparagraph\paragraph
|
||||
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
|
||||
\fi
|
||||
\ifx\subparagraph\undefined\else
|
||||
\let\oldsubparagraph\subparagraph
|
||||
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
||||
\fi
|
||||
|
||||
\begin{document}
|
||||
$if(title)$
|
||||
|
||||
Reference in New Issue
Block a user