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] Turn Off Generated Text from id attributes


Thank you Bob!  Worked like a charm.
I'm still using 'link' and redefined the biblioentry.label template per 
your suggestion.

You are correct - xref also causes [Ref2] to display.

Cheers,

Tristan
------------------------------
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory
On Dec 16, 2004, at 3:15 PM, Bob Stayton wrote:

> Hi Tristan,
> There is no parameter to turn off the label on the bibliography 
> entries.
> You can have it numbered by setting bibliography.numbered to 1, or it 
> will
> use the <abbrev> element or id attribute.  However, you can entirely 
> turn
> off the label on the bibliomixed or biblioentry elements by redefining 
> this
> template as empty:
>
> <xsl:template name="biblioentry.label">
> </xsl:template>
>
> I'm not sure what you meant by using xref instead of link.
> If you use xref, it will still display [Ref2] as the link text.  But 
> you may
> not want to use xref since that label will no longer be visible in the
> bibliography.  The link element will work too.
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Tristan Fiedler" <fiedler@cshl.edu>
> To: <docbook-apps@lists.oasis-open.org>
> Sent: Thursday, December 16, 2004 7:41 AM
> Subject: [docbook-apps] Turn Off Generated Text from id attributes
>
>
>> Hi All,
>>
>> If someone has a moment, could you please take a look at this.  I know
>> that I can use 'xref' rather than 'link', but hopefully this can be
>> done with link also.
>>
>> Thank you,
>>
>> Tristan
>>
>> Begin forwarded message:
>>>
>>> In the HTML output below generated with Saxon & a catalog files, does
>>> a simple switch exist to get rid of the [Ref2] text which is inserted
>>> in my HTML output after '<p class="bibliomixed">' ?
>>>
>>> DocBook XMLCode :
>>>
>>> <bibliomixed  id="Ref2">
>>> <bibliomisc>Yochem, J. (2000). Mosaic analysis in
>>> <emphasis>Caenorhabditis
>>>         elegans</emphasis>. Methods Mol Biol </bibliomisc>
>>> </bibliomixed>
>>>
>>> HTML output:
>>>
>>>          <div class="bibliomixed"><a name="Ref2"></a><p
>>> class="bibliomixed">[Ref2]    <<<<<------      I do not want this
>>> '[Ref2]' text to be generated.
>>>                         <span class="bibliomisc">Yochem, J. (2000).
>>> Mosaic analysis in <span class="emphasis"><em>Caenorhabditis
>>>                                 elegans</em></span>. Methods Mol Biol
>>> </span>
>>>
>>>             </p>
>>>          </div>
>>
>>
>>
>



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