pandoc/src/Text/Pandoc
John MacFarlane 730796ee31 LaTeX writer: Fix problem with escaping in lstinline.
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-04-29 11:05:44 +02:00
..
Compat Add EOL note to time compat module. 2016-09-03 08:10:53 -04:00
Lua Lua module: provide simple read format parser 2017-04-26 23:28:40 +02:00
Readers LaTeX reader: Add basic support for hyphenat package (#3603) 2017-04-26 12:05:13 +02:00
Writers LaTeX writer: Fix problem with escaping in lstinline. 2017-04-29 11:05:44 +02:00
App.hs Small fix to error reporting in App. 2017-04-15 13:46:46 +02:00
Asciify.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Class.hs Changed display format for messages. 2017-03-09 10:30:57 +01:00
CSS.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Data.hs Make sure docx/_rels/.rels gets into data files. 2017-04-02 23:29:58 +02:00
Emoji.hs Fixed Emoji character definitions. 2015-12-04 09:38:58 -08:00
Error.hs Error: Added PandocCouldNotFindDataFileError. 2017-04-15 12:05:58 +02:00
Extensions.hs API change: move extension handling to Text.Pandoc.Extensions 2017-04-26 23:28:40 +02:00
Highlighting.hs Allow dynamic loading of syntax definitions. 2017-03-30 22:36:36 +02:00
ImageSize.hs Read image size of Inkscape SVGs (#3580) 2017-04-16 19:39:24 +02:00
Logging.hs RST writer: convert to PandocMonad, report on unrendered raw items. 2017-03-13 21:32:58 +01:00
Lua.hs Lua filter: allow filtering of meta data only 2017-04-26 23:28:40 +02:00
MediaBag.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
MIME.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Options.hs Allow dynamic loading of syntax definitions. 2017-03-30 22:36:36 +02:00
Parsing.hs Avoid parsing "Notes:**" as a bare URI. 2017-04-15 13:32:28 +02:00
PDF.hs PDF: when running pdfroff, don't do second pass to relocate toc. 2017-03-26 20:00:40 +02:00
Pretty.hs Revert "Experimental change to charWidth in Pretty." 2017-03-22 16:08:09 +01:00
Process.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Readers.hs API change: move reader functions to Text.Pandoc.Readers 2017-04-26 23:28:40 +02:00
SelfContained.hs SelfContained: export makeDataURI 2017-03-30 16:43:12 +02:00
Shared.hs Error: Added PandocCouldNotFindDataFileError. 2017-04-15 12:05:58 +02:00
Slides.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Templates.hs Text.Pandoc.App: Throw errors rather than exiting. 2017-04-02 23:04:48 +02:00
UTF8.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
UUID.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00
Writers.hs API change: move writer functions to Text.Pandoc.Writers 2017-04-26 23:28:40 +02:00
XML.hs Stylish-haskell automatic formatting changes. 2017-03-04 13:03:41 +01:00