Bug#803234: pandoc: LaTeX error when using single quote in a markdown code block
Jonathan Neuschäfer
j.neuschaefer at gmx.net
Wed Oct 28 10:07:42 UTC 2015
Package: pandoc
Version: 1.13.2.1~dfsg-1+b13
Severity: normal
Tags: upstream
Hi,
$ cat foo.md
This line causes an error: `'`
This one doesn't: `"`
$ pandoc -o foo.pdf foo.md
! LaTeX Error: Command \textquotesingle unavailable in encoding T1.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.52 ...uses an error: \texttt{\textquotesingle{}}
pandoc: Error producing PDF from TeX source
According to [1], a potential fix might be to include
"\usepackage[numbered,framed]{mcode}" in the generated LaTeX code.
Regards,
Jonathan Neuschäfer
[1] http://www.latex-community.org/forum/viewtopic.php?f=19&t=20923
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pandoc depends on:
ii libc6 2.19-22
ii libffi6 3.2.1-3
ii libgmp10 2:6.0.0+dfsg-7
ii liblua5.1-0 5.1.5-8
ii libpcre3 2:8.35-7.2
ii libyaml-0-2 0.1.6-3
ii pandoc-data 1.13.2.1~dfsg-1
ii zlib1g 1:1.2.8.dfsg-2+b1
pandoc recommends no packages.
Versions of packages pandoc suggests:
pn etoolbox <none>
pn pandoc-citeproc <none>
ii texlive-latex-recommended 2015.20151016-1
pn texlive-luatex <none>
pn texlive-xetex <none>
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list