please ignore...this was an old email in my draft \, after more test, I
got this solved this morning via:
:'a,'bw !asciidoc -o chapter1.html -a leveloffset=-2 -
On 10/01/2012 03:12 PM, ping wrote:
while studying the manual I'm trying to understand attribute:
leveloffset, which looks quite useful.
I'm thinking of one of the scenarios: in a large document, I can
"checkout" a smaller part of it , say a chapter. especially in VIM,
where I can just call external asciidoc command to convert the selected
portion into HTML, on the fly:
:'a,'bw !asciidoc -o chapter1.html -
having said that, I would like to have this as my chapter in the "big"
book file:
<---vim mark a
=== topic1
Ping Sandy <[email protected]>
:toc-title: agenda
:leveloffset: -2
==== sub-topic1
==== sub-topic2
<---vim mark b
but looks this doesn't work as expected, I guess "leveloffset" only
support positive value?
thanks
regards
ping
--
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.