Hi,

The ifeval is evaluated when the conf file is loaded, not when the
template is expanded.

Use system attributes to drop (or not) lines in template expansions.

Cheers
Lex


On 8 April 2014 00:59, Mickaël BARON <[email protected]> wrote:
> For executing this sample
>
>> asciidoc -d book -f sample.conf -o sample.xml -v sample.adoc
>
>
> Mickael
>
> Le lundi 7 avril 2014 16:57:56 UTC+2, Mickaël BARON a écrit :
>>
>> Daniele,
>>
>> Thanks for your response. But, it's not working.
>>
>> I'm writing a sample example (sample.conf, sample.xml and sample.adoc) for
>> illustrating this issue. The sample.xml is the output.
>>
>> As you can see, the if code block is never reached.
>>
>> Mickael
>>
>>
>> Le lundi 7 avril 2014 00:29:24 UTC+2, Daniele a écrit :
>>>
>>> Add quotes:
>>>
>>>     ifeval::["{name}" == "note"]
>
> --
> 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