pandoc/test/command
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
..
256.md Added test for #256. 2017-03-16 22:31:36 +01:00
512.md Fix indirect hyperlink targets. Closes #512. 2017-02-15 17:36:16 +01:00
645.md LaTeX writer: don't use lstinline it \item[..]. 2017-04-28 12:03:59 +02:00
853.md RST reader: support RST-style citations. 2017-03-03 22:23:01 +01:00
987.md Expand \newenvironment macros. 2017-03-10 09:46:32 +01:00
1166.md RST reader: Handle multiline cells in simple tables. 2017-03-02 16:48:53 +01:00
1279.md Parse YAML metadata in a context that sees footnotes... 2017-03-05 01:36:40 +01:00
1592.md Fixed some loose ends in #1592. 2017-03-04 23:01:29 +01:00
1629.md LaTeX writer: Fix problem with escaping in lstinline. 2017-04-29 11:05:44 +02:00
1745.md Improved behavior of auto_identifiers when there are explicit ids. 2017-03-12 21:30:04 +01:00
1773.md When parsing raw LaTeX commands, include trailing space. 2017-02-22 21:15:25 +01:00
1905.md Better handling of \part in LaTeX. 2017-03-13 22:11:10 +01:00
2397.md Markdown reader: fixed internal header links. 2017-03-05 16:34:47 +01:00
2434.md OpenDocument writer: fixed dropped elements in some ordered lists. 2017-03-03 22:48:37 +01:00
2606.md MediaWiki reader: ensure that list starts begin at left margin. 2017-02-21 23:41:32 +01:00
2649.md MediaWiki reader: fixed more table issues. 2017-02-21 21:28:24 +01:00
2662.md RST reader: support scale and align attributes of images. 2017-02-26 23:40:31 +01:00
2834.md Markdown writer: Avoid spurious blanklines at end of document... 2017-03-08 12:47:39 +01:00
2874.md LaTeX writer: fix error with line breaks after empty content. 2017-04-25 15:00:27 +02:00
3257.md HTML reader: Better sanity checks on raw HTML. 2017-03-18 22:43:57 +01:00
3309.md Markdown reader: Treat certain environments as inline 2017-03-07 15:00:32 +01:00
3337.md Markdown writer: Avoid spurious blanklines at end of document... 2017-03-08 12:47:39 +01:00
3348.md Removed failing part of 3348 test. 2017-03-19 20:37:39 +01:00
3422.md LaTeX writer: Fix problem with escaping in lstinline. 2017-04-29 11:05:44 +02:00
3432a.md Fixed small bug in RST list parsing. 2017-02-11 20:55:13 +01:00
3475.md RST reader: implemented implicit internal header links. 2017-02-28 10:32:36 +01:00
3487.md Markdown writer: Avoid spurious blanklines at end of document... 2017-03-08 12:47:39 +01:00
3494.md LaTeX reader: allow newpage, clearpage, pagebreak in inline contexts 2017-03-06 21:49:06 +01:00
3497.md Added test case for #3497. 2017-03-08 12:23:01 +01:00
3499.md Org reader: disallow tables on list marker lines 2017-03-08 15:45:00 +01:00
3512.md Add space_in_atx_header extension. 2017-03-20 21:55:30 +01:00
3516.md Added to issue 3516 command test to debug test failure on appveyor. 2017-03-22 14:36:12 +01:00
3518.md Improve rendering of superscript in plain output. 2017-03-21 14:43:14 +01:00
3526.md Pipe tables: impose minimum cell size. 2017-03-23 16:54:47 +01:00
3529.md Markdown writer: don't emit a simple table if simple_tables disabled. 2017-03-24 16:11:56 +01:00
3530.md LaTeX reader: add support for LaTeX subfiles package. 2017-03-27 21:20:27 +02:00
3531.md Add blank lines to #3531 command test. 2017-03-26 20:48:54 +02:00
3534.md lstinline with braces can be used (verb cannot be used with braces) (#3535) 2017-03-29 14:49:46 +02:00
3558.md Allow raw latex commands starting with \start in Markdown. 2017-04-06 11:30:03 +02:00
3568.md Man writer: Fix handling of nested font commands. 2017-04-12 12:23:29 +02:00
3570.md Avoid parsing "Notes:**" as a bare URI. 2017-04-15 13:32:28 +02:00
3577.md LaTeX reader: better support for subfigure package. 2017-04-24 23:39:14 +02:00
3587.md Add siunitx Support (#3588) 2017-04-22 21:57:21 +02:00
3596.md HTML reader: Revise treatment of li with id attribute. 2017-04-23 11:03:48 +02:00
abbrevs Added test for #256. 2017-03-16 22:31:36 +01:00
dots.md LaTeX reader: Add support for \vdots (#3607) 2017-04-26 12:03:07 +02:00
hspace.md LaTeX reader: allow hspace and vspace to count as raw block or inline. 2017-02-25 12:43:00 +01:00
hyphenat.md LaTeX reader: Add basic support for hyphenat package (#3603) 2017-04-26 12:05:13 +02:00
latex-tabular-column-specs.md LaTeX reader: properly handle column prefixes/suffixes. 2017-02-13 22:39:59 +01:00
md-abbrevs.md Added a markdown abbrevation test case. 2017-03-05 10:44:25 +01:00
multiple-metadata-blocks.md Markdown reader: Fixed regression on left-biased union for metadata. 2017-03-05 09:28:44 +01:00
parse-raw.md Removed --parse-raw and readerParseRaw. 2017-02-06 23:33:23 +01:00
smart.md More smart escaping tests. 2017-02-04 22:09:19 +01:00
sub-file-chapter-1.tex LaTeX reader: add support for LaTeX subfiles package. 2017-03-27 21:20:27 +02:00
sub-file-chapter-2.tex LaTeX reader: add support for LaTeX subfiles package. 2017-03-27 21:20:27 +02:00
vars-and-metadata.md Added test case for variables/metadata in Markdown writer. 2017-02-25 23:54:30 +01:00