FS#45741 - [asciidoc] malformed section entry: template::[source-filter-style]
Attached to Project:
Community Packages
Opened by Alain Kalker (ackalker) - Wednesday, 22 July 2015, 13:58 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 23 August 2016, 09:33 GMT
Opened by Alain Kalker (ackalker) - Wednesday, 22 July 2015, 13:58 GMT
Last edited by Florian Pritz (bluewind) - Tuesday, 23 August 2016, 09:33 GMT
|
Details
Description:
I'm trying to use asciidoc with the LaTeX backend, and am getting the above mentioned error. Searching the web, I found the following discussion on the asciidoc Google Group[1] which lead to a patch[2] which has been sitting in the upstream bugtracker since September 2013 with no action taken on it. I've tested the patch with a local build of asciidoc and it appears to work well, I'm no longer getting this error. [1]: https://groups.google.com/forum/#!topic/asciidoc/uUJz3TkOhks [2]: https://code.google.com/p/asciidoc/issues/detail?id=26 Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Steps to reproduce:
(in asciidoc source directory)
$ asciidoc -v --backend=latex ./filters/source/source-highlight-filter-test.txt
To verify source highlighting actually works, do:
$ pdflatex filters/source/source-highlight-filter-test.tex
$ xdg-open source-highlight-filter-test.pdf
$ asciidoc -v --backend=latex ./filters/source/source-highlight-filter-test.txt
asciidoc: reading: /etc/asciidoc/asciidoc.conf
asciidoc: reading: /home/miki/pkg/community/asciidoc/src/asciidoc-8.6.9/filters/source/source-highlight-filter-test.txt
asciidoc: reading: /etc/asciidoc/latex.conf
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: WARNING: source-highlight-filter-test.txt: line 2: missing section: [source-filter-style]
asciidoc: FAILED: source-highlight-filter-test.txt: line 2: malformed section entry: template::[source-filter-style]