I am thinking this answer which returns a broken PDF document in OSX 10.10.3.
The file test_dummy.tex is here.
pandoc test_dummy.tex -f markdown -t html | grep -E '(^<|^$|^ *$)' \
| grep -v "^<p" | pandoc -f html -o tables.pdf
where pandoc 1.13.2.1 and grep grep (BSD grep) 2.5.1-FreeBSD
.
1 Mistake in test_dummy.tex -file (different than you having real LaTeX)
I installed Pandoc by brew install pandoc
.
Something is wrong in the very beginning command
pandoc test_dummy.tex -f markdown -t html
returns a blank line, likewise pandoc test_dummy.tex -f markdown
.
[fixed by the answer]
2 Connecting the full command still challenge
The command (with cabal Pandoc)
pandoc test_dummy.tex -f markdown -t html | grep -E '(^<|^$|^ *$)' | grep -v "^<p" | pandoc -f html -o tables.pdf
returns
! Package inputenc Error: Unicode char \u8:≤ not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.134 ≤
[fixed the addition of this answer solves this part]
How can I troubleshoot this chain of commands?
v1.13.2.1
, installed viacabal-install pandoc
(but usually I install the MacPorts stuff,not the HomeBrew-ed one). – Kurt Pfeifle May 26 '15 at 14:41pdflatex
part that fails at the second invocation ofpandoc
– bmike♦ May 26 '15 at 16:24