aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-28 19:15:30 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-28 19:15:30 +0000
commitde72aea6b444c8e922605fdb0c1c8dafd75f534a (patch)
tree8b1400a55a04c504a85208f808752f4b9fe67784 /tests/writer.latex
parent44b136740b7ab988b96ee67fb67d7395ef3823ce (diff)
downloadpandoc-de72aea6b444c8e922605fdb0c1c8dafd75f534a.tar.gz
Brought test suite up to date.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@828 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index edb607a18..215630fa1 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -1,7 +1,6 @@
\documentclass{article}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
-\usepackage[Q=yes,verbatimenv=yes,pverb-linebreak=no]{examplep}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\newcommand{\textsubscript}[1]{\ensuremath{_{\scriptsize\textrm{#1}}}}
@@ -413,7 +412,7 @@ So is \textbf{\emph{this}} word.
So is \textbf{\emph{this}} word.
-This is code: \Q{\>}, \Q{\$}, \Q{\\}, \Q{\\\$}, \Q{\<html\>}.
+This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!, \verb!<html>!.
\sout{This is \emph{strikeout}.}
@@ -435,7 +434,7 @@ These should not be superscripts or subscripts, because of the unescaped spaces:
`He said, ``I want to go.''\,' Were you alive in the 70's?
-Here is some quoted `\Q{code}' and a ``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
+Here is some quoted `\verb!code!' and a ``\href{http://example.com/?foo=1&bar=2}{quoted link}''.
Some dashes: one---two---three---four---five.
@@ -461,9 +460,9 @@ Ellipses\ldots{}and\ldots{}and\ldots{}.
These shouldn't be math:
\begin{itemize}
-\item To get the famous equation, write \Q{\$e\ \=\ mc\^2\$}.
+\item To get the famous equation, write \verb!$e = mc^2$!.
\item \$22,000 is a \emph{lot} of money. So is \$34,000. (It worked if ``lot'' is emphasized.)
-\item Escaped \Q{\$}: \$73 \emph{this should be emphasized} 23\$.
+\item Escaped \verb!$!: \$73 \emph{this should be emphasized} 23\$.
\end{itemize}
Here's a LaTeX table:
@@ -591,20 +590,20 @@ Here's an \href{/script?foo=1&bar=2}{inline link in pointy braces}.
\subsection{Autolinks}
-With an ampersand: \href{http://example.com/?foo=1&bar=2}{http://example.com/?foo=1\&bar=2}
+With an ampersand: \href{http://example.com/?foo=1&bar=2}{\texttt{http://example.com/?foo=1\&bar=2}}
\begin{itemize}
\item In a list?
-\item \href{http://example.com/}{http://example.com/}
+\item \href{http://example.com/}{\texttt{http://example.com/}}
\item It should.
\end{itemize}
-An e-mail address: \href{mailto:nobody@nowhere.net}{nobody@nowhere.net}
+An e-mail address: \href{mailto:nobody@nowhere.net}{\texttt{nobody@nowhere.net}}
\begin{quote}
-Blockquoted: \href{http://example.com/}{http://example.com/}
+Blockquoted: \href{http://example.com/}{\texttt{http://example.com/}}
\end{quote}
-Auto-links should not occur here: \Q{\<http\:\/\/example\.com\/\>}
+Auto-links should not occur here: \verb!<http://example.com/>!
\begin{verbatim}
or here: <http://example.com/>
@@ -630,7 +629,7 @@ Subsequent blocks are indented to show that they belong to the footnote (as with
\begin{Verbatim}
{ <code> }
\end{Verbatim}
-If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.} This should \emph{not} be a footnote reference, because it contains a space.[\^{}my note] Here is an inline note.\footnote{This is \emph{easier} to type. Inline notes may contain \href{http://google.com}{links} and \Q{\]} verbatim characters, as well as [bracketed text].}
+If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.} This should \emph{not} be a footnote reference, because it contains a space.[\^{}my note] Here is an inline note.\footnote{This is \emph{easier} to type. Inline notes may contain \href{http://google.com}{links} and \verb!]! verbatim characters, as well as [bracketed text].}
\begin{quote}
Notes can go in quotes.\footnote{In quote.}
@@ -643,3 +642,4 @@ This paragraph should not be part of the note, as it is not indented.
\end{document}
+