On 8 April 2014 16:34, Mickaël BARON <[email protected]> wrote:
> Hi Lex,
>
> If i use a different style name (for example [sourcebis, java]) how i can
> catch the code name value into the conf file ?

With posattrs, see how the source filter does it, thats a good
example.  It just looks complicated because it supports all backends.

Cheers
Lex

>
> Mickael
>
>
> Le mardi 8 avril 2014 01:30:07 UTC+2, Lex Trotman a écrit :
>>
>> On 8 April 2014 07:35, Mickaël BARON <[email protected]> wrote:
>> > Hi,
>> >
>> > I'm working on a specific backend.
>> >
>> > Suppose the following asciidoc example
>> >
>> >> [source, java]
>> >>
>> >>
>> >> -------------------------------------------------------------------------------
>> >>     <example>
>> >>         this is a sample
>> >>     </example>
>> >>
>> >>
>> >> -------------------------------------------------------------------------------
>> >
>> >
>> > How do you disable the source-highlight process ?
>>
>> Don't call it [source], use a different style name?
>>
>> Cheers
>> Lex
>>
>> >
>> > In fact i would like generate the following sample
>> > <code source="java"><![CDATA[
>> >     <example>
>> >         this is a sample
>> >     </example>]]>
>> > </code>
>> >
>> > Any idea ?
>> >
>> > Mickael
>> >
>> > --
>> > 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/d/optout.
>
> --
> 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/d/optout.

-- 
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/d/optout.

Reply via email to