Next in thread → Next in month →

Re: [docbook-apps] Merge biblioentry data to citation

From
Peter Fleck <>
Date
2018-11-28T15:08:56+00:00
ID
CAK-1rw_fx+EiKQ=
Thread
Re: [docbook-apps] Merge biblioentry data to citation
Thanks Thomas. This is the way to go I think.
I see the comment in the xref.xsl file

<!-- To be done: add support for begin, end, and units attributes -->

<xsl:template match="d:biblioref" name="biblioref">

I'll open an issue on Github.

Peter

On Wed, 28 Nov 2018 at 08:58, Thomas Schraitle <> wrote:

Hi Peter,

Am Tue, 27 Nov 2018 18:54:04 +0100

schrieb Peter Fleck <>:

> Is there a way to only have a biblioentry once in the bibliography

> and then cite the details multiple times?

> So for example here in

> https://www.chicagomanualofstyle.org/tools_citationguide/citation-guide-1.html

> 

> Something like this? (Though this doesn't work).

> 

> <para>......<footnote><para><citation linkend="isbn-9780143111641"/>,

> 315-16.</para></footnote>......</para>

> ...

> <para>......<footnote><para><citation linkend="isbn-9780143111641"/>,

> 402.</para></footnote>......</para>

It seems, biblioref would be the appropriate tag for you:

 https://tdg.docbook.org/tdg/5.1/biblioref.html

With biblioref you can add the attributes "begin", "end", and "units"

like this:

 <para>See <biblioref begin="315" end="316" units="pages"

    linkend="isbn-9780143111641"/>.</para>

If you process it with version 1.79.2 of the stylesheets, you will get

this result:

 See [isbn-9780143111641].

It seems, the attributes above are unsupported. I think this is a bug

as I couldn't find any code which uses them. If you want to take them

into account, you need to write a customization layer.

One final note about citation. You can use it to reference multiple

bibliographic entries like this:

 <para> See <citation><biblioref

    linkend="A"/>, <biblioref linkend="B"/></citation>

which renders as:

 See [A, B].

(watch for spaces inside <citation>).

-- 

GruÃ/Regards,

  Thomas Schraitle

---------------------------------------------------------------------

To unsubscribe, e-mail: 

For additional commands, e-mail: 
Next in thread → Next in month →