Bob, Thanks. This solution worked perfectly.

Also: about suppressing the body attributes, this worked too although
I have a feeling that Jirka's suggestions about parameters to use when
using XHTML output might remove the need for that.

Robert

On Sun, Dec 12, 2010 at 7:57 PM, Bob Stayton <[email protected]> wrote:
> 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
> [email protected]
>
>
> ----- Original Message ----- From: "Robert Nagle"
> <[email protected]>
> To: <[email protected]>
> 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 <[email protected]>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to