From 7979db0f7763f43c0bf87f8ae2e2b8471860b669 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 4 May 2015 10:05:11 -0700 Subject: Test updates for 15d16e84567ca74c18448c60a2499e484581798f. --- tests/lhs-test.latex | 4 ++++ tests/lhs-test.latex+lhs | 4 ++++ tests/writer.latex | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex index d091b17a6..0c8c901f1 100644 --- a/tests/lhs-test.latex +++ b/tests/lhs-test.latex @@ -71,10 +71,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} 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} diff --git a/tests/writer.latex b/tests/writer.latex index 5ac8eb68d..e06c58cc4 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -67,10 +67,14 @@ \date{July 17, 2006} % 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} \maketitle -- cgit v1.2.3