Made the mistake of replying to the author instead of thread, just wanted to finish this thread by saying this is an error coming forth from building Neo4j. It adds a asciidoc user config which overwrites the source-highlight functionality to some hardcoded value
On Wednesday, October 23, 2013 1:11:56 AM UTC+2, Lex Trotman wrote: > > > > > On 23 October 2013 08:49, Hans van den Bogert <[email protected]<javascript:> > > wrote: > >> >> >> On Tuesday, October 22, 2013 2:49:40 AM UTC+2, Lex Trotman wrote: >> >>> >>> >>> >>> On 22 October 2013 10:08, Hans van den Bogert <[email protected]>wrote: >>> >>>> hi, >>>> >>>> I've tried to compile the source highlighting tests from >>>> '/etc/asciidoc/filters/source/**source-highlight-filter-test.**txt' >>>> >>>> source-highlight is installed: >>>> '$ which source-highlight >>>> /usr/bin/source-highlight' >>>> >>>> Yet no color appears in the output.Tried to set the attribute to >>>> 'highlight' which is also installed, but that does not remedy the situation >>>> >>>> Also I have the same issues on OSX with macports. >>>> >>>> Am I doing something very wrong? >>>> >>> >>> What are you doing? :) ie what command are you typing? >>> >> simply: >> $ asciidoc somefile.asciidoc >> >> Output is simply a listing no colorization, not even the 'numbered' >> directive does anything. >> using the supplied test file, I can see that the filters are being >> read/parsed to some extent: >> asciidoc -v source-highlight-filter.txt >> asciidoc: reading: /opt/local/etc/asciidoc/asciidoc.conf >> asciidoc: reading: /Users/hans/source-highlight-filter.txt >> asciidoc: reading: /opt/local/etc/asciidoc/xhtml11.conf >> asciidoc: include1: /opt/local/etc/asciidoc/stylesheets/asciidoc.css >> asciidoc: source-highlight-filter.txt: line 2: ifeval: >> "source-highlight"=="pygments": False >> asciidoc: include1: /opt/local/etc/asciidoc/javascripts/asciidoc.js >> asciidoc: reading: /opt/local/etc/asciidoc/filters/code/code-filter.conf >> asciidoc: reading: >> /opt/local/etc/asciidoc/filters/graphviz/graphviz-filter.conf >> asciidoc: reading: /opt/local/etc/asciidoc/filters/latex/latex-filter.conf >> asciidoc: reading: /opt/local/etc/asciidoc/filters/music/music-filter.conf >> asciidoc: reading: >> /opt/local/etc/asciidoc/filters/source/source-highlight-filter.conf >> asciidoc: source-highlight-filter.txt: line 2: ifeval: >> "source-highlight"=="source-highlight": True >> asciidoc: source-highlight-filter.txt: line 2: ifeval: >> "source-highlight"=="highlight": False >> asciidoc: source-highlight-filter.txt: line 2: ifeval: >> "source-highlight"=="pygments": False >> asciidoc: reading: >> /Users/hans/.asciidoc/filters/configsetting/configsetting.conf >> asciidoc: reading: /Users/hans/.asciidoc/filters/console/console.conf >> asciidoc: reading: /Users/hans/.asciidoc/filters/dot/dot-filter.conf >> asciidoc: reading: >> /Users/hans/.asciidoc/filters/queryresult/queryresult.conf >> asciidoc: reading: /Users/hans/.asciidoc/filters/refcard/refcard.conf >> asciidoc: reading: /Users/hans/.asciidoc/filters/snippet/snippet.conf >> asciidoc: reading: >> /Users/hans/.asciidoc/filters/source/source-highlight-filter.conf >> > > Whats the above? Is it overriding the system asciidoc.conf settings? > > asciidoc: reading: /opt/local/etc/asciidoc/lang-en.conf >> asciidoc: writing: /Users/hans/source-highlight-filter.html >> >> > There should be a line like: > > asciidoc: source-highlight-filter-test.txt: line 17: filtering: > source-highlight -f xhtml -s python > > on the end, so I suspect your local source-highlight-filter.conf is > breaking it. > > Cheers > Lex > > >> >> >>> What version of asciidoc are you using, and just in case what version of >>> source-highlight? >>> >> asciidoc version: >> $ port info asciidoc |grep "@" >> asciidoc @8.6.8_1 (textproc) >> >> and source-highlight: >> $ port info source-highlight |grep "@" >> source-highlight @3.1.7 (textproc, devel) >> >> >>> Cheers >>> Lex >>> >>> >>>> >>>> Regards, >>>> >>>> -H >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "asciidoc" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to asciidoc+u...@**googlegroups.com. >>>> To post to this group, send email to [email protected]. >>>> >>>> Visit this group at >>>> http://groups.google.com/**group/asciidoc<http://groups.google.com/group/asciidoc> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "asciidoc" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/asciidoc. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/groups/opt_out.
