On 11/28/2012 07:54 PM, Lex Trotman wrote:
You will understand better if you figure it out yourself :)  hints below.

>
>I just want to remove [[x]] out of a line (retain everything else), only if
>I call backend odp
>
>== chapter 1 [[x]]
>
If the backend is odp define {some_attribute} as empty, otherwise
define it as "[[X]]", never leave it undefined.

==chapter n {some_attribute}

Cheers
Lex

Lex:

don't know why, I tried another 100 times and simply can't make it work...driving me crazy...

I tried:

:ref2: {backend@odp:odp:non-odp}
=== chapter {ref2}

cat mydoc.txt | asciidoc -a leveloffset=-1@ -o Dropbox/temp-transfer2/temp.html -

I expect to see a headline "chapter non-odp",
but I only get "chapter"

and if I call odp backend,
cat mydoc.txt | asciidoc -a leveloffset=-1@ -o Dropbox/temp-transfer2/temp.html -b odp -

I expect to see headline "chapter odp"
but I only get "chapter"


I also tried some other ways, never succeed.

what happened?

this is really a good feature, but simply I can't figure it out the basic "how to use".

I checked FAQ28, seems I'm using it correctly...





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