~~strike~~ ==> LaTeX Error: File `ulem.sty' not found$ echo '~~strike~~' | pandoc -o test.pdf
pandoc: Error producing PDF from TeX source.
! LaTeX Error: File `ulem.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.42 \pdfstringdefDisableCommands
$ pandoc --version
pandoc 1.12.3.1
Compiled with texmath 0.6.6, highlighting-kate 0.5.6.
Syntax highlighting is supported for the following languages:
actionscript, ada, apache, asn1, asp, awk, bash, bibtex, boo, c, changelog,
clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d,
diff, djangotemplate, doxygen, doxygenlua, dtd, eiffel, email, erlang,
fortran, fsharp, gnuassembler, go, haskell, haxe, html, ini, java, javadoc,
javascript, json, jsp, julia, latex, lex, literatecurry, literatehaskell,
lua, makefile, mandoc, markdown, matlab, maxima, metafont, mips, modelines,
modula2, modula3, monobasic, nasm, noweb, objectivec, objectivecpp, ocaml,
octave, pascal, perl, php, pike, postscript, prolog, python, r,
relaxngcompact, restructuredtext, rhtml, roff, ruby, rust, scala, scheme,
sci, sed, sgml, sql, sqlmysql, sqlpostgresql, tcl, texinfo, verilog, vhdl,
xml, xorg, xslt, xul, yacc, yaml
Default user data directory: /home/olibre/.pandoc
Copyright (C) 2006-2013 John MacFarlane
Web: http://johnmacfarlane.net/pandoc
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
We don't fix bugs in old versions.
Distro should upgrade.
Your workaround is simply to use a custom template with \usepackage{ulem}.
I believe this is not a bug, and distro upgrades won't fix it.
On Redhat this should fix it:
yum install 'tex(ulem.sty)'
On Ubuntu:
apt-get install texlive-generic-recommended
In both cases there are also "everything in latex" packages, that would also do it (texlive-full on ubuntu), and prevent any future problems of this sort, but might add 1GB to your disk, apparently.
Finally, the thinking out of the box "fix": remove underlining from your source document.
Most helpful comment
I believe this is not a bug, and distro upgrades won't fix it.
On Redhat this should fix it:
yum install 'tex(ulem.sty)'
On Ubuntu:
apt-get install texlive-generic-recommended
In both cases there are also "everything in latex" packages, that would also do it (texlive-full on ubuntu), and prevent any future problems of this sort, but might add 1GB to your disk, apparently.
Finally, the thinking out of the box "fix": remove underlining from your source document.