OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Re: HTML: suppress abstract in html body?


Hi Robert,
An abstract that appears inside an info element is handled by the titlepage system. 
You can edit the titlepage spec file to remove abstract, and regenerate the titlepage 
templates to get rid of it.

If your abstract appears outside of info, then you can just define an empty template 
to turn it off:

   <xsl:template match="abstract"/>

The template that generates the meta element does not use a template that matches on 
abstract, but selects the content directly (it is in the template named 'head.content' 
in html/docbook.xsl).

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Robert Nagle" <idiotprogrammer@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, December 12, 2010 4:15 PM
Subject: [docbook-apps] Re: HTML: suppress abstract in html body?


At the risk of trying your patience, I wish to clarify what i mean by
my previous message.

I want the abstract to appear in the <meta description=> of HTML
output but not in the body itself.

rj

On Sun, Dec 12, 2010 at 5:57 PM, Robert Nagle <idiotprogrammer@gmail.com> wrote:
> For HTML Output, I notice that with a parameter
> (generate.meta.abstract), the value of ABSTRACT can be used to
> generate <meta description=""> information in the head.
>
> Can anyone suggest a way to suppress the value of the abstract element
> in HTML output (i.e.,
>
> <div class="abstract" title="Abstract"><p>This is a test of the
> emergency broadcast system. </p></div>
>
> I realize that in css I could change the class to visibility: hidden,
> but I want to avoid doing that if possible.
> --
> Robert Nagle
> 12777 Ashford Point Dr #1417
> Houston, Texas 77082
> 713 893 3424
> http://www.robertnagle.info
>



-- 
Robert Nagle
12777 Ashford Point Dr #1417
Houston, Texas 77082
713 893 3424
http://www.robertnagle.info

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]