Hi Martin, Simon is right, the only way of getting such a non-standard output is to modify the config file. I'm not sure why that would be a problem for your CMS, so long as the asciidoc being run "on-the-fly" finds the modified configuration file in the source directory it will use it. Read User Guide 26 noting cascading and the bit about only copying the parts you want to change, you won't affect any other uses of asciidoc on the machine.
The other alternative of course is to run something after asciidoc to strip the parts you don't want, but thats out of scope for this list. Cheers Lex On 2 August 2012 00:20, Martin Rode <[email protected]> wrote: > The problem I have with a config file is that I have a lot of asciidoc > source files and I use a webserver to html format them on-the-fly. So I > don't see that changing a config file is a working option for me. > > > On Wednesday, August 1, 2012 2:34:06 PM UTC+2, Martin Rode wrote: >> >> Hi, >> >> this might work as expected (-s suppresses header and footer of a >> document), but in my case I cannot accomplish what I need: I want to use >> asciidoc inside my own cms system, so all I need from "asciidoc" is to >> output HTML with no HEAD-tags and document information. >> >> Basically the content without the BODY-tags. However, "-s" seems to >> supress the Section 0 of my document as well as the HEAD-tags. >> >> So my question now is, how can I get asciidoc to give me all HTML >> including the Section 0 header(s), but without any additional HEAD- or >> BODY-tags? >> >> Thx & Best >> Martin >> >> > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/asciidoc/-/QutcbjRlH7YJ. > > 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.
