Hey Lex,

I tried [source, objc] ... but it returns warnings:

asciidoc: WARNING: source-highlight-filter-objc.txt: line 18: filter
non-zero exit code: pygmentize -f html -l objc  -O encoding=UTF-8: returned
127

asciidoc: WARNING: source-highlight-filter-objc.txt: line 18: no output
from filter: pygmentize -f html -l objc  -O encoding=UTF-8

whereas [pygmentize, objc] compiles... though without styling properly.

---

Also, I'd like to mention that I've already uninstalled an older copy of
asciidoc and reinstalled the latest version that Stuart put online after
his response to my initial post.

T

www.postfl.com
www.cocoaforartists.org





On Sun, Apr 1, 2012 at 5:57 PM, Lex Trotman <[email protected]> wrote:

> 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.
>
>

-- 
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