reddaiahece / asciidoc

Automatically exported from code.google.com/p/asciidoc
GNU General Public License v2.0
0 stars 0 forks source link

malformed section entry: template::[source-filter-style] #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The error: 

./asciidoc.py -v -d article --unsafe --backend=latex -f ./latex.conf Example.txt
asciidoc: reading: /tmp/asciidoc-8.6.8/asciidoc.conf
asciidoc: reading: ./latex.conf
asciidoc: reading: /tmp/asciidoc-8.6.8/asciidoc.conf
asciidoc: reading: Example/txt
asciidoc: reading: /tmp/asciidoc-8.6.8/latex.conf
asciidoc: reading: /tmp/asciidoc-8.6.8/filters/music/music-filter.conf
asciidoc: reading: /tmp/asciidoc-8.6.8/filters/latex/latex-filter.conf
asciidoc: reading: /tmp/asciidoc-8.6.8/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /tmp/asciidoc-8.6.8/filters/code/code-filter.conf
asciidoc: reading: 
/tmp/asciidoc-8.6.8/filters/source/source-highlight-filter.conf
asciidoc: WARNING: Example.txt: line 2: missing section: [source-filter-style]
asciidoc: FAILED: Example.txt: line 2: malformed section entry: 
template::[source-filter-style]

is caused by a conditional defintion of the template source-filter-style. 
For now I just made an empty definition of the filter when compiling for latex 
(is this a NULL filter?).

Original issue reported on code.google.com by streetde...@gmail.com on 3 Sep 2013 at 7:58

Attachments:

GoogleCodeExporter commented 9 years ago
And a more fancy patch that actually highlights the syntax using 
source-highlight.

Tested it with the file source-highlight-filter-test.txt

Original comment by streetde...@gmail.com on 3 Sep 2013 at 9:37

Attachments: