I am using pandoc
to convert a LaTeX document to Word format. The source document contains various cross-references that need to be kept in the output. However, when the cross-references filter is used pandoc
complains that it is not installed:
$ pandoc main.tex --filter pandoc-crossref -o main.docx
Error running filter pandoc-crossref:
Could not find executable pandoc-crossref
A package with Python bindings for filters is installed:
$ dpkg -l | grep pandoc
ii pandoc 2.5-3build2 amd64 general markup converter
ii pandoc-data 2.5-3build2 all general markup converter - data files
ii python3-pandocfilters 1.4.2-2 all python3 bindings for Pandoc's filters
So I would assume that filters are included in the general pandoc
package. It could be that the cross-references filter is somehow missing.
But there are no other filter packages available:
$ aptitude search pandoc | grep filter
p pandoc-plantuml-filter - Pandoc filter: converts PlantUML code blocks to PlantUML images
i A python3-pandocfilters - python3 bindings for Pandoc's filters
$ aptitude search pandoc | grep cross
$
Is this filter simply not packaged and needs to be manually installed? Or is there some other way of using it on Ubuntu?