What you seem to be looking to do is suppress the top banner, which
includes the title and document metadata. You can do that using the
noheader attribute:

  asciidoc -a noheader [...] document.asc

In my opinion, the -s flag is mislabeled. It's not turning on the header
and footer so much as it is controlling whether the backend outputs a
standalone document (e.g., a full HTML document) or embeddable content
(e.g., only the HTML body content).

-Dan


On Tue, Jul 15, 2014 at 2:32 PM, <[email protected]> wrote:

> I'm generating a document in HTML format using:
>
>     asciidoc -a max-width=55em -a linkcss -a stylesdir=$pwd document.asc
>
> This generates:
>
> John Doc
> <[email protected]>
> version 0.1.0, 26-JUN-2014 14:47
>
> [content here]
>
> ------------------------------
>  Version 0.1.0
> Last updated 2014-07-15 14:44:09 CDT
>
> Is there a way to suppress this metadata?  Can this be done for a PDF
> rendering too?
>
> I've tried:
>
>   asciidoc -s -a max-width=55em -a linkcss -a stylesdir=$pwd document.asc
>
> But this removes all of the header information (not useful).
>
> --
> 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.
>



-- 
Dan Allen | http://google.com/profiles/dan.j.allen

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