aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/LaTeX.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-07-29LaTeX writer: use \(..\) instead of $..$ for inline math.John MacFarlane1-1/+1
Closes #1464.
2014-06-23LaTeX writer: Use `\textquotesingle` for `'` in inline code.John MacFarlane1-0/+2
Otherwise we get curly quotes in the PDF output. Closes #1364.
2014-06-20LaTeX writer: Fixed strikeout + highlighted code. Closes #1294.John MacFarlane1-1/+11
Previously strikeout highlighted code caused an error.
2013-10-21Fix definition lists with internal links in terms (closes #1032).John MacFarlane1-0/+5
This fix puts braces around a term that contains an internal link, to avoid problems with square brackets.
2013-08-22Write id for code block to label attr in latex when listing is usedFlorian Eitel1-0/+7
The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this.
2013-08-16LaTeX writer: Avoid problem with footnotes in unnumbered headers.John MacFarlane1-0/+6
Closes #940. Added test case.
2013-06-26Stop escaping `|` in LaTeX math.John MacFarlane1-1/+1
This caused problems with array environments. Closes #891.
2013-01-23Eliminated use of TH in test suite.John MacFarlane1-1/+1
2013-01-12Escape `|` as `\vert` in LaTeX math.John MacFarlane1-0/+4
This avoids a clash with highlighting-kate's macros, which redefine | as a short verbatim delimiter. Thanks to Björn Peemöller for raising this issue.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-1/+1
2012-07-26Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane1-0/+35