On 2 April 2012 08:23, C4 - Travis <[email protected]> wrote:
> Hey Stuart,
>
> Thanks for the quick reply.
>
> I'm getting closer, with your help, but still haven't nailed it...
>
> I've gotten to this point:
> www.cocoaforartists.org/files/source-highlight-filter-objc.html
>
> Which is generated from:
> source-highlight-filter-objc.txt
>
> I have set the line source-highlighter=pygments in the asciidoc.conf file.
>
> The code block is generated, which is great... however, it is not
> highlighted properly (i.e. words are only in blue).
>
> I am also getting an error:
> WARNING: source-highlight-filter-objc.txt: line 17: missing style:
> [blockdef-listing]: pygmentize
>
> Sorry if these are noob issue, but I would really like to get asciidoc
> working properly because I plan to use it as the basis from which to
> generate a lot of content for my project.

I don't have pygments installed to test it, but I think it should be
[source, objc] not [pygmentize, objc], you are invoking the "source"
filter, the choice of pygments or source-highlight is an
implementation detail.

Cheers
Lex

>
> Cheers,
> T
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/asciidoc/-/YFUZrnqdfu4J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to