diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-04-28 12:03:59 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-04-28 12:03:59 +0200 |
commit | e76b6724144032c62c183f850fe05271aa245fb5 (patch) | |
tree | 31210756c8b7f6462e576d3adf75f0d230b18d31 /test/command | |
parent | c346a8a7bef5a59c779073c9299bd968ecad44c9 (diff) | |
download | pandoc-e76b6724144032c62c183f850fe05271aa245fb5.tar.gz |
LaTeX writer: don't use lstinline it \item[..].
If you do, the contents of item disappear or are misplaced.
Use `\texttt` instead.
Closes #645.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/645.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/645.md b/test/command/645.md new file mode 100644 index 000000000..90b285bed --- /dev/null +++ b/test/command/645.md @@ -0,0 +1,12 @@ +Don't use listings commands in \item[..] context: +``` +% pandoc -t latex +`--foo` **BAR** + +: Enables the foo feature with **BAR** as its flavour. +^D +\begin{description} +\item[\texttt{-\/-foo} \textbf{BAR}] +Enables the foo feature with \textbf{BAR} as its flavour. +\end{description} +``` |