Correct usage of pandoc-crossref

2020-11-29 Thread André Jäger

Hello,

since a short time I am using LYX, and I am thankful for this wonderful
program.

I need to export the document to a docx-format.

I managed successfully the creation of the bibliography using
pandoc-citeproc with a csl-file.

Now I would like to take care of the cross-references and numbering of
figures and tables. Therefore pandoc-crossref has to be used.

I fail using pandoc-crossref in a correct way that the expected result
is created (a docx-document including the cross-references and numbering
of figures and tables). The output-file with the usage of
pandoc-crossref is exactly the same as without the usage of
pandoc-crossref. There are no cross-references und numberings displayed
in the output-docx-file.

I use the following command / syntax:

pandoc -s -f latex --filter pandoc-crossref -o destinationfile.docx -t
docx latexfile.tex

I checked the documentation, and I am not sure about the
"--filter"-option. I am not sure if a filter has to be defined somewhere.

Since I am quite a beginner, I am thankful for a hint.

Best wishes,

André


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Conversion error to MS-Word Office-Open XML / OpenDocument (pandoc)

2020-11-12 Thread André Jäger

Hello,

I have LyX Version 2.3.4.2 on Ubuntu 20.04.1 LTS.

I have to export a LYX-Document to MSWord. The document is encoded with
Unicode (utf8), and the converter-definition LaTEX (plain) -> MS-Word
Office-Open XML is set to:||

pandoc -s -f latex -o $$o -t docx $$i

That works. In order to export a bibliogrphy, I changed the
converter-defitiontio to:

pandoc -s -filter pandoc-citeproc -f latex -o $$o -t docx $$i

Without having added a citation and bibliography (I did not change the
document), the error-message appears: An error occurred while running:
pandoc -s -filter pandoc-citeproc -f latex -o "test.docx" -t docx
"test.tex"

The document did not change, still encoded with Unicode (utf8), there is
no bibliography inserted that might contain an error, and
pandoc-citeproc is installed.

The same happens for an export to OpenDocument (pandoc) with converter:
pandoc -s --filter pandoc-citeproc -f latex -o $$o -t odt $$i

Does someone have an idea what do do?

Thank you, and thanks for the wonderful program. (I am new to LYX and in
the beginning to work with it).

Thank you, André

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users