On 5 November 2010 17:46, Christian Johansen <[email protected]> wrote:
>> I believe you should have the code in block delimiters eg.
>> [source, javascript]
>> -------------------------------------
>> blah()
>> ------------------------------------
>>
>> not
>>
>> [source,javascript]
>> blah()
>>
>> see http://www.methods.co.nz/asciidoc/userguide.html#X59
>
> No, not according to the cheat sheet.

Um, where are you looking, the second block example in the cheat sheet
shows a highlighted perl source with block delimiters?


Also, doing so causes a heading level
> nesting error.
>
>>
>> Which version of asciidoc and which platform?
>
> Asciidoc 8.5.2, Ubuntu (installed via apt).

Pygments is first supported by 8.6.0, see the changelog.

Cheers
Lex

> The error messages I referred to above was of course triggered by me not
> installing source-highlight... So now I at least have output from my blocks,
> but I would still like to have pygments working.
> Thanks,
> Christian
>
>>
>> Cheers
>> Lex
>> >
>> > Thanks,
>> > Christian
>> >
>> > --
>> > 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.
>>
>
>
>
> --
> MVH
> Christian
>
> --
> 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