aboutsummaryrefslogtreecommitdiff
path: root/test/lhs-test.latex+lhs
AgeCommit message (Collapse)AuthorFilesLines
2017-04-29LaTeX writer: Fix problem with escaping in lstinline.John MacFarlane1-0/+1
Previously the LaTeX writer created invalid LaTeX when `--listings` was specified and a code span occured inside emphasis or another construction. This is because the characters `%{}\` must be escaped in lstinline when the listinline occurs in another command, otherwise they must not be escaped. To deal with this, adoping Michael Kofler's suggestion, we always wrap lstinline in a dummy command `\passthrough`, now defined in the default template if `--listings` is specified. This way we can consistently escape the special characters. Closes #1629.
2017-03-01LaTeX writer: always add hypertarget when there's a non-empty identifier.John MacFarlane1-1/+2
Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719.
2017-02-06Use unicode-math by default in default.latex template.John MacFarlane1-5/+1
mathspec will be used in xelatex if the `mathspec` variable is set; otherwise unicode-math will be used. Thanks to Václav Haisman.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+87