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
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Florian Pritz (bluewind)
Tuesday, 23 August 2016, 09:33 GMT
Reason for closing:  Upstream
Comment by Alain Kalker (ackalker) - Wednesday, 22 July 2015, 14:11 GMT
Actually, I tested with patch2 from the bug report, with package source-highlight installed.

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
Comment by Alain Kalker (ackalker) - Wednesday, 22 July 2015, 14:12 GMT
Tarball of the PKGBUILD and patch I used (renamed from patch2 in the upstream bug report)
Comment by Alain Kalker (ackalker) - Wednesday, 22 July 2015, 14:17 GMT
Log of failed test with unpatched asciidoc:

$ 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]
Comment by Florian Pritz (bluewind) - Thursday, 23 July 2015, 07:30 GMT
I'm not going to apply a patch that is not accepted upstream. Please talk to them and get it accepted first, then I might apply it, but I'd prefer if they release a new version.

Loading...