pandoc problem (was: XeLaTeX to Word/OpenOffice - the state of the art?)

Janusz S. Bień jsbien at mimuw.edu.pl
Tue Mar 12 07:10:09 CET 2019


On Mon, Mar 11 2019 at 21:18 +01, Mojca Miklavec wrote:

[...]

> Pandoc might theoretically support the conversion, but I would not
> know how good the results would be.
>
> Mojca

On Mon, Mar 11 2019 at 22:21 -06, Dominik Wujastyk wrote:

> I was going to mention Pandoc too. I use it increasingly often, for
> various conversions including targetting Word.  It's an amazing tool.
> Very nice in conjunction with Typora too.

--8<---------------cut here---------------start------------->8---
pandoc -f latex -t odt --verbose JSB_Parkosz18word.tex -o JSB_Parkosz18word_pandoc.odt
[INFO] Could not load include file 'fontspec.sty' at line 6 column 22
[INFO] Could not load include file 'polyglossia.sty' at line 16 column 25
[INFO] Could not load include file 'etoolbox.sty' at line 17 column 22
[INFO] Could not load include file 'csquotes.sty' at line 20 column 22
[INFO] Could not load include file 'wrapfig.sty' at line 21 column 21
[INFO] Could not load include file 'biblatex.sty' at line 23 column 54
[INFO] Could not load include file 'metalogo.sty' at line 46 column 22
[INFO] Could not load include file 'relsize.sty' at line 55 column 21
[INFO] Could not load include file 'graphicx.sty' at line 59 column 22
[INFO] Could not load include file 'url.sty' at line 61 column 17
[INFO] Could not load include file 'setspace.sty' at line 78 column 37

Error at "source" (line 96, column 8):
unexpected JSB
\input JSB_Parkosz18-tekst
       ^
--8<---------------cut here---------------end--------------->8---

This does not seem promising :-( Looks like it just does not handle
XeLaTeX.

Package: pandoc
Version: 2.2.1-3+b2

Versions of packages pandoc suggests:

[...]

ii  texlive-latex-extra        2018.20190131-1
ii  texlive-latex-recommended  2018.20190131-1
ii  texlive-luatex             2018.20190131-1
ii  texlive-xetex              2018.20190131-1


-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien


More information about the XeTeX mailing list