summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-05-14 07:04:07 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-05-14 07:04:47 -0700
commit4e35c67c23875dc76a9a1409597b4c40f7834a70 (patch)
treebb5701633cf8cb6e4331ceb77d5620d7725a3617 /tests
parent428595469e9e8848f550b758b456a7d0e8b295c1 (diff)
LaTeX writer: More consistent interblock spacing.
Diffstat (limited to 'tests')
-rw-r--r--tests/lhs-test.latex1
-rw-r--r--tests/lhs-test.latex+lhs1
-rw-r--r--tests/tables.latex1
-rw-r--r--tests/writer.latex20
4 files changed, 17 insertions, 6 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index df94d4d5a..0b83f9c0a 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -75,6 +75,7 @@ return a single value:
\CommentTok{-- arr (\textbackslash{}op (x,y) -> x `op` y) }
\end{Highlighting}
\end{Shaded}
+
\texttt{(***)} combines two arrows into a new arrow by running the two arrows
on a pair of values (one arrow on the first item of the pair and one arrow on
the second item of the pair).
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs
index 65b4787ff..05cd4dc14 100644
--- a/tests/lhs-test.latex+lhs
+++ b/tests/lhs-test.latex+lhs
@@ -55,6 +55,7 @@ unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
unsplit = arr . uncurry
-- arr (\op (x,y) -> x `op` y)
\end{code}
+
\texttt{(***)} combines two arrows into a new arrow by running the two arrows
on a pair of values (one arrow on the first item of the pair and one arrow on
the second item of the pair).
diff --git a/tests/tables.latex b/tests/tables.latex
index 7025452ae..56b469a54 100644
--- a/tests/tables.latex
+++ b/tests/tables.latex
@@ -173,4 +173,3 @@ Here's another one. Note the blank line between rows.
}
\LL
}
-
diff --git a/tests/writer.latex b/tests/writer.latex
index 8835abccb..b6572eb2d 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -314,9 +314,11 @@ Multiple paragraphs:
\begin{itemize}
\item
Tab
+
\begin{itemize}
\item
Tab
+
\begin{itemize}
\item
Tab
@@ -331,6 +333,7 @@ Here's another:
First
\item
Second:
+
\begin{itemize}
\item
Fee
@@ -396,6 +399,7 @@ Same thing but with paragraphs:
sublist with roman numerals, starting with 4
\item
more items
+
\begin{enumerate}[(A)]
\item
a subsublist
@@ -410,13 +414,16 @@ Nesting:
\begin{enumerate}[A.]
\item
Upper Alpha
+
\begin{enumerate}[I.]
\item
Upper Roman.
+
\begin{enumerate}[(1)]
\setcounter{enumiii}{5}
\item
Decimal start with 6
+
\begin{enumerate}[a)]
\setcounter{enumiv}{2}
\item
@@ -433,6 +440,7 @@ Autonumbering:
Autonumber.
\item
More.
+
\begin{enumerate}
\item
Nested.
@@ -476,10 +484,8 @@ Loose:
\begin{description}
\item[apple]
red fruit
-
\item[orange]
orange fruit
-
\item[banana]
yellow fruit
\end{description}
@@ -491,7 +497,6 @@ Multiple blocks with italics:
red fruit
contains seeds, crisp, pleasant to taste
-
\item[\emph{orange}]
orange fruit
@@ -524,7 +529,6 @@ Multiple definitions, loose:
red fruit
computer
-
\item[orange]
orange fruit
@@ -538,7 +542,6 @@ Blank line after term, indented marker, alternate markers:
red fruit
computer
-
\item[orange]
orange fruit
@@ -555,17 +558,23 @@ orange fruit
Simple block on one line:
foo
+
And nested without indentation:
foo
+
bar
+
Interpreted markdown in a table:
This is \emph{emphasized}
+
And this is \textbf{strong}
+
Here's a simple block:
foo
+
This should be a code block, though:
\begin{verbatim}
@@ -583,6 +592,7 @@ As should this:
Now, nested:
foo
+
This should just be an HTML comment:
Multiline: