aboutsummaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-04 10:05:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-04 10:05:11 -0700
commit7979db0f7763f43c0bf87f8ae2e2b8471860b669 (patch)
treef6cfed53b0c9560c28d50c91e8319cd2ae80fd0d /tests/lhs-test.latex+lhs
parent15d16e84567ca74c18448c60a2499e484581798f (diff)
downloadpandoc-7979db0f7763f43c0bf87f8ae2e2b8471860b669.tar.gz
Test updates for 15d16e84567ca74c18448c60a2499e484581798f.
Diffstat (limited to 'tests/lhs-test.latex+lhs')
-rw-r--r--tests/lhs-test.latex+lhs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs
index 2880f38f3..b9da83991 100644
--- a/tests/lhs-test.latex+lhs
+++ b/tests/lhs-test.latex+lhs
@@ -52,10 +52,14 @@
\date{}
% 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}