git.iko.soy/typeable/pandoc
on master help sign in
Test updates for 15d16e84567ca74c18448c60a2499e484581798f.
7979db0John MacFarlane
tests/lhs-test.latex+4
@@ -71,10 +71,14 @@
71\date{}
71\date{}
72
72
73% Redefines (sub)paragraphs to behave more like sections
73% Redefines (sub)paragraphs to behave more like sections
74+\ifx\paragraph\undefined\else
74\let\oldparagraph\paragraph
75\let\oldparagraph\paragraph
75\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
76\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
77+\fi
78+\ifx\subparagraph\undefined\else
76\let\oldsubparagraph\subparagraph
79\let\oldsubparagraph\subparagraph
77\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
80\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
81+\fi
78
82
79\begin{document}
83\begin{document}
80
84
tests/lhs-test.latex+lhs+4
@@ -52,10 +52,14 @@
52\date{}
52\date{}
53
53
54% Redefines (sub)paragraphs to behave more like sections
54% Redefines (sub)paragraphs to behave more like sections
55+\ifx\paragraph\undefined\else
55\let\oldparagraph\paragraph
56\let\oldparagraph\paragraph
56\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
57\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
58+\fi
59+\ifx\subparagraph\undefined\else
57\let\oldsubparagraph\subparagraph
60\let\oldsubparagraph\subparagraph
58\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
61\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
62+\fi
59
63
60\begin{document}
64\begin{document}
61
65
tests/writer.latex+4
@@ -67,10 +67,14 @@
67\date{July 17, 2006}
67\date{July 17, 2006}
68
68
69% Redefines (sub)paragraphs to behave more like sections
69% Redefines (sub)paragraphs to behave more like sections
70+\ifx\paragraph\undefined\else
70\let\oldparagraph\paragraph
71\let\oldparagraph\paragraph
71\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
72\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
73+\fi
74+\ifx\subparagraph\undefined\else
72\let\oldsubparagraph\subparagraph
75\let\oldsubparagraph\subparagraph
73\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
76\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
77+\fi
74
78
75\begin{document}
79\begin{document}
76\maketitle
80\maketitle