I have a problem converting a Wikipedia page to a PDF using Pandoc. Pandoc attempts to convert web pages to PDF format via LaTeX and the problem I am having appears to be with LaTeX, which is why I ask the question here. Here is what I am attempting to do:
pandoc -s --latex-engine=xelatex -r html http://en.wikipedia.org/wiki/Wikipedia_talk:Manual_of_Style/Dates_and_numbers/Archive_142 -o archive_142.pdf
Some prerequisites I have set up on Ubuntu are as follows:
sudo apt-get -y install texlive-latex-recommended texlive-fonts-recommended texlive-xetex texlive-latex-extra
The terminal output when I attempt to do this is as follows:
pandoc: Could not find image `//upload.wikimedia.org/wikipedia/en/thumb/2/2a/Replacement_filing_cabinet.svg/40px-Replacement_filing_cabinet.svg.png', skipping...
pandoc: Could not find image `//upload.wikimedia.org/wikipedia/commons/thumb/4/41/Symbol_confirmed.svg/20px-Symbol_confirmed.svg.png', skipping...
pandoc: Could not find image `//upload.wikimedia.org/wikipedia/commons/thumb/4/41/Symbol_confirmed.svg/20px-Symbol_confirmed.svg.png', skipping...
pandoc: Could not find image `//en.wikipedia.org/wiki/Special:CentralAutoLogin/start?type=1x1', skipping...
pandoc: Could not find image `//bits.wikimedia.org/images/wikimedia-button.png', skipping...
pandoc: Could not find image `//bits.wikimedia.org/static-1.24wmf2/skins/common/images/poweredby_mediawiki_88x31.png', skipping...
pandoc: Error producing PDF from TeX source.
! Unable to load picture or PDF file '//upload.wikimedia.org/wikipedia/en/thumb
/2/2a/Replacement_filing_cabinet.svg/40px-Replacement_filing_cabinet.svg.png'.
<to be read again>
}
l.92 ...g/40px-Replacement_filing_cabinet.svg.png}
The desired PDF file is not produced. Would you happen to have any idea on how to approach this problem?
Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.
.