John MacFarlane
87ab01637e
LaTeX writer: Use \textquotesingle
for '
in inline code.
...
Otherwise we get curly quotes in the PDF output.
Closes #1364 .
2014-06-23 12:51:10 -07:00
John MacFarlane
12efffa85a
LaTeX writer: Fixed strikeout + highlighted code. Closes #1294 .
...
Previously strikeout highlighted code caused an error.
2014-06-20 10:24:30 -07:00
John MacFarlane
e63aafd620
Fix definition lists with internal links in terms ( closes #1032 ).
...
This fix puts braces around a term that contains an internal
link, to avoid problems with square brackets.
2013-10-21 17:33:42 -07:00
Florian Eitel
5f09cf7ff0
Write id for code block to label attr in latex when listing is used
...
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-22 20:15:36 +02:00
John MacFarlane
441a7aebf8
LaTeX writer: Avoid problem with footnotes in unnumbered headers.
...
Closes #940 .
Added test case.
2013-08-16 13:03:38 -07:00
John MacFarlane
79a4ea03e2
Stop escaping |
in LaTeX math.
...
This caused problems with array environments. Closes #891 .
2013-06-26 20:54:31 -07:00
John MacFarlane
daeb52d4e0
Eliminated use of TH in test suite.
2013-01-23 19:26:39 -08:00
John MacFarlane
70e308f2f9
Escape |
as \vert
in LaTeX math.
...
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.
2013-01-12 10:21:19 -08:00
John MacFarlane
00dc1e715e
Moved WriterOptions and associated types Shared -> Options.
2012-07-26 22:59:56 -07:00
John MacFarlane
45e4c123a4
Moved tests to tests/, modified cabal file so lib isn't recompiled.
2012-07-26 08:37:36 -07:00