Commit d6376245 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Clean up bibliography rendering for XSLT

In the DSSSL stylesheets, we had an extensive customization of the
bibliography rendering.  Since the bibliography isn't that used much, it
doesn't seem worth doing an elaborate porting of that to XSLT.  So this
just moves some things around, removes some unused things, and does some
minimal XSLT stylesheet customizations to make things look clean.
parent 244dd95c
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
Some white papers and technical reports from the original Some white papers and technical reports from the original
<productname>POSTGRES</productname> development team <productname>POSTGRES</productname> development team
are available at the University of California, Berkeley, Computer Science are available at the University of California, Berkeley, Computer Science
Department <ulink url="http://db.cs.berkeley.edu/papers/"> Department <ulink url="http://db.cs.berkeley.edu/papers/">web site</ulink>.
web site</ulink>.
</para> </para>
<bibliodiv> <bibliodiv>
...@@ -21,7 +20,6 @@ ...@@ -21,7 +20,6 @@
<biblioentry id="BOWMAN01"> <biblioentry id="BOWMAN01">
<title>The Practical <acronym>SQL</acronym> Handbook</title> <title>The Practical <acronym>SQL</acronym> Handbook</title>
<titleabbrev>Bowman et al, 2001</titleabbrev>
<subtitle>Using SQL Variants</subtitle> <subtitle>Using SQL Variants</subtitle>
<edition>Fourth Edition</edition> <edition>Fourth Edition</edition>
<authorgroup> <authorgroup>
...@@ -39,18 +37,14 @@ ...@@ -39,18 +37,14 @@
</author> </author>
</authorgroup> </authorgroup>
<isbn>0-201-70309-2</isbn> <isbn>0-201-70309-2</isbn>
<pubdate>2001</pubdate>
<publisher> <publisher>
<publishername>Addison-Wesley Professional</publishername> <publishername>Addison-Wesley Professional</publishername>
</publisher> </publisher>
<copyright> <pubdate>2001</pubdate>
<year>2001</year>
</copyright>
</biblioentry> </biblioentry>
<biblioentry id="DATE97"> <biblioentry id="DATE97">
<title>A Guide to the <acronym>SQL</acronym> Standard</title> <title>A Guide to the <acronym>SQL</acronym> Standard</title>
<titleabbrev>Date and Darwen, 1997</titleabbrev>
<subtitle>A user's guide to the standard database language <acronym>SQL</acronym></subtitle> <subtitle>A user's guide to the standard database language <acronym>SQL</acronym></subtitle>
<edition>Fourth Edition</edition> <edition>Fourth Edition</edition>
<authorgroup> <authorgroup>
...@@ -64,19 +58,14 @@ ...@@ -64,19 +58,14 @@
</author> </author>
</authorgroup> </authorgroup>
<isbn>0-201-96426-0</isbn> <isbn>0-201-96426-0</isbn>
<pubdate>1997</pubdate>
<publisher> <publisher>
<publishername>Addison-Wesley</publishername> <publishername>Addison-Wesley</publishername>
</publisher> </publisher>
<copyright> <pubdate>1997</pubdate>
<year>1997</year>
<holder>Addison-Wesley Longman, Inc.</holder>
</copyright>
</biblioentry> </biblioentry>
<biblioentry id="DATE04"> <biblioentry id="DATE04">
<title>An Introduction to Database Systems</title> <title>An Introduction to Database Systems</title>
<titleabbrev>Date, 2004</titleabbrev>
<edition>Eighth Edition</edition> <edition>Eighth Edition</edition>
<authorgroup> <authorgroup>
<author> <author>
...@@ -85,14 +74,10 @@ ...@@ -85,14 +74,10 @@
</author> </author>
</authorgroup> </authorgroup>
<isbn>0-321-19784-4</isbn> <isbn>0-321-19784-4</isbn>
<pubdate>2003</pubdate>
<publisher> <publisher>
<publishername>Addison-Wesley</publishername> <publishername>Addison-Wesley</publishername>
</publisher> </publisher>
<copyright> <pubdate>2003</pubdate>
<year>2004</year>
<holder>Pearson Education, Inc.</holder>
</copyright>
</biblioentry> </biblioentry>
<biblioentry id="ELMA04"> <biblioentry id="ELMA04">
...@@ -109,18 +94,14 @@ ...@@ -109,18 +94,14 @@
</author> </author>
</authorgroup> </authorgroup>
<isbn>0-321-12226-7</isbn> <isbn>0-321-12226-7</isbn>
<pubdate>2003</pubdate>
<publisher> <publisher>
<publishername>Addison-Wesley</publishername> <publishername>Addison-Wesley</publishername>
</publisher> </publisher>
<copyright> <pubdate>2003</pubdate>
<year>2004</year>
</copyright>
</biblioentry> </biblioentry>
<biblioentry id="MELT93"> <biblioentry id="MELT93">
<title>Understanding the New <acronym>SQL</acronym></title> <title>Understanding the New <acronym>SQL</acronym></title>
<titleabbrev>Melton and Simon, 1993</titleabbrev>
<subtitle>A complete guide</subtitle> <subtitle>A complete guide</subtitle>
<authorgroup> <authorgroup>
<author> <author>
...@@ -133,20 +114,15 @@ ...@@ -133,20 +114,15 @@
</author> </author>
</authorgroup> </authorgroup>
<isbn>1-55860-245-3</isbn> <isbn>1-55860-245-3</isbn>
<pubdate>1993</pubdate>
<publisher> <publisher>
<publishername>Morgan Kaufmann</publishername> <publishername>Morgan Kaufmann</publishername>
</publisher> </publisher>
<copyright> <pubdate>1993</pubdate>
<year>1993</year>
<holder>Morgan Kaufmann Publishers, Inc.</holder>
</copyright>
</biblioentry> </biblioentry>
<biblioentry id="ULL88"> <biblioentry id="ULL88">
<title>Principles of Database and Knowledge</title> <title>Principles of Database and Knowledge</title>
<subtitle>Base Systems</subtitle> <subtitle>Base Systems</subtitle>
<titleabbrev>Ullman, 1988</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>Jeffrey D.</firstname> <firstname>Jeffrey D.</firstname>
...@@ -167,7 +143,6 @@ ...@@ -167,7 +143,6 @@
<biblioentry id="SIM98"> <biblioentry id="SIM98">
<title>Enhancement of the ANSI SQL Implementation of PostgreSQL</title> <title>Enhancement of the ANSI SQL Implementation of PostgreSQL</title>
<titleabbrev>Simkovics, 1998</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>Stefan</firstname> <firstname>Stefan</firstname>
...@@ -203,16 +178,15 @@ ssimkovi@ag.or.at ...@@ -203,16 +178,15 @@ ssimkovi@ag.or.at
</para> </para>
</abstract> </abstract>
<pubdate>November 29, 1998</pubdate>
<publisher> <publisher>
<publishername>Department of Information Systems, Vienna University of Technology</publishername> <publishername>Department of Information Systems, Vienna University of Technology</publishername>
<address>Vienna, Austria</address> <address>Vienna, Austria</address>
</publisher> </publisher>
<pubdate>November 29, 1998</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="YU95"> <biblioentry id="YU95">
<title>The <productname>Postgres95</productname> User Manual</title> <title>The <productname>Postgres95</productname> User Manual</title>
<titleabbrev>Yu and Chen, 1995</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>A.</firstname> <firstname>A.</firstname>
...@@ -223,24 +197,17 @@ ssimkovi@ag.or.at ...@@ -223,24 +197,17 @@ ssimkovi@ag.or.at
<surname>Chen</surname> <surname>Chen</surname>
</author> </author>
</authorgroup> </authorgroup>
<authorgroup>
<collab>
<collabname>The POSTGRES Group</collabname>
</collab>
</authorgroup>
<pubdate>Sept. 5, 1995</pubdate>
<publisher> <publisher>
<publishername>University of California</publishername> <publishername>University of California</publishername>
<address>Berkeley, California</address> <address>Berkeley, California</address>
</publisher> </publisher>
<pubdate>Sept. 5, 1995</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="FONG"> <biblioentry id="FONG">
<title> <title><ulink url="http://db.cs.berkeley.edu/papers/UCB-MS-zfong.pdf">The
<ulink url="http://db.cs.berkeley.edu/papers/UCB-MS-zfong.pdf"> design and implementation of the <productname>POSTGRES</productname> query
The design and implementation of the <productname>POSTGRES</productname> query optimizer optimizer</ulink></title>
</ulink></title>
<author> <author>
<firstname>Zelaine</firstname> <firstname>Zelaine</firstname>
<surname>Fong</surname> <surname>Fong</surname>
...@@ -257,25 +224,23 @@ ssimkovi@ag.or.at ...@@ -257,25 +224,23 @@ ssimkovi@ag.or.at
<biblioentry id="OLSON93"> <biblioentry id="OLSON93">
<title>Partial indexing in POSTGRES: research project</title> <title>Partial indexing in POSTGRES: research project</title>
<titleabbrev>Olson, 1993</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>Nels</firstname> <firstname>Nels</firstname>
<surname>Olson</surname> <surname>Olson</surname>
</author> </author>
</authorgroup> </authorgroup>
<pubdate>1993</pubdate>
<pubsnumber>UCB Engin T7.49.1993 O676</pubsnumber> <pubsnumber>UCB Engin T7.49.1993 O676</pubsnumber>
<publisher> <publisher>
<publishername>University of California</publishername> <publishername>University of California</publishername>
<address>Berkeley, California</address> <address>Berkeley, California</address>
</publisher> </publisher>
<pubdate>1993</pubdate>
</biblioentry> </biblioentry>
<biblioentry id="ONG90"> <biblioentry id="ONG90">
<biblioset relation="article"> <biblioset relation="article">
<title>A Unified Framework for Version Modeling Using Production Rules in a Database System</title> <title>A Unified Framework for Version Modeling Using Production Rules in a Database System</title>
<titleabbrev>Ong and Goh, 1990</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>L.</firstname> <firstname>L.</firstname>
...@@ -289,20 +254,18 @@ ssimkovi@ag.or.at ...@@ -289,20 +254,18 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
<biblioset relation="journal"> <biblioset relation="journal">
<title>ERL Technical Memorandum M90/33</title> <title>ERL Technical Memorandum M90/33</title>
<pubdate>April, 1990</pubdate>
<publisher> <publisher>
<publishername>University of California</publishername> <publishername>University of California</publishername>
<address>Berkeley, California</address> <address>Berkeley, California</address>
</publisher> </publisher>
<pubdate>April, 1990</pubdate>
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="ROWE87"> <biblioentry id="ROWE87">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-13.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-13.pdf">The <productname>POSTGRES</productname>
The <productname>POSTGRES</productname> data model data model</ulink></title>
</ulink></title>
<titleabbrev>Rowe and Stonebraker, 1987</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>L.</firstname> <firstname>L.</firstname>
...@@ -323,14 +286,8 @@ ssimkovi@ag.or.at ...@@ -323,14 +286,8 @@ ssimkovi@ag.or.at
<biblioentry id="SESHADRI95"> <biblioentry id="SESHADRI95">
<biblioset relation="article"> <biblioset relation="article">
<title>Generalized Partial Indexes <title><ulink url="http://citeseer.ist.psu.edu/seshadri95generalized.html">Generalized
<ulink url="http://citeseer.ist.psu.edu/seshadri95generalized.html">(cached version) Partial Indexes</ulink></title>
<!--
Original URL: http://citeseer.ist.psu.edu/seshadri95generalized.html
-->
</ulink>
</title>
<titleabbrev>Seshardri, 1995</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>P.</firstname> <firstname>P.</firstname>
...@@ -347,21 +304,19 @@ ssimkovi@ag.or.at ...@@ -347,21 +304,19 @@ ssimkovi@ag.or.at
<confdates>6-10 March 1995</confdates> <confdates>6-10 March 1995</confdates>
<address>Taipeh, Taiwan</address> <address>Taipeh, Taiwan</address>
</confgroup> </confgroup>
<pubdate>1995</pubdate>
<pubsnumber>Cat. No.95CH35724</pubsnumber> <pubsnumber>Cat. No.95CH35724</pubsnumber>
<publisher> <publisher>
<publishername>IEEE Computer Society Press</publishername> <publishername>IEEE Computer Society Press</publishername>
<address>Los Alamitos, California</address> <address>Los Alamitos, California</address>
</publisher> </publisher>
<pubdate>1995</pubdate>
<pagenums>420-7</pagenums> <pagenums>420-7</pagenums>
</biblioentry> </biblioentry>
<biblioentry id="STON86"> <biblioentry id="STON86">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M85-95.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M85-95.pdf">The
The design of <productname>POSTGRES</productname> design of <productname>POSTGRES</productname></ulink></title>
</ulink></title>
<titleabbrev>Stonebraker and Rowe, 1986</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -383,7 +338,6 @@ ssimkovi@ag.or.at ...@@ -383,7 +338,6 @@ ssimkovi@ag.or.at
<biblioentry id="STON87a"> <biblioentry id="STON87a">
<biblioset relation="article"> <biblioset relation="article">
<title>The design of the <productname>POSTGRES</productname> rules system</title> <title>The design of the <productname>POSTGRES</productname> rules system</title>
<titleabbrev>Stonebraker, Hanson, Hong, 1987</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -408,10 +362,9 @@ ssimkovi@ag.or.at ...@@ -408,10 +362,9 @@ ssimkovi@ag.or.at
<biblioentry id="STON87b"> <biblioentry id="STON87b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-06.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M87-06.pdf">The
The design of the <productname>POSTGRES</productname> storage system design of the <productname>POSTGRES</productname> storage
</ulink></title> system</ulink></title>
<titleabbrev>Stonebraker, 1987</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -428,10 +381,9 @@ ssimkovi@ag.or.at ...@@ -428,10 +381,9 @@ ssimkovi@ag.or.at
<biblioentry id="STON89"> <biblioentry id="STON89">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-82.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-82.pdf">A
A commentary on the <productname>POSTGRES</productname> rules system commentary on the <productname>POSTGRES</productname> rules
</ulink></title> system</ulink></title>
<titleabbrev>Stonebraker et al, 1989</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -455,10 +407,8 @@ ssimkovi@ag.or.at ...@@ -455,10 +407,8 @@ ssimkovi@ag.or.at
<biblioentry id="STON89b"> <biblioentry id="STON89b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-17.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M89-17.pdf">The
The case for partial indexes case for partial indexes</ulink></title>
</ulink></title>
<titleabbrev>Stonebraker, M, 1989b</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -468,17 +418,15 @@ ssimkovi@ag.or.at ...@@ -468,17 +418,15 @@ ssimkovi@ag.or.at
</biblioset> </biblioset>
<biblioset relation="journal"> <biblioset relation="journal">
<title>SIGMOD Record 18(4)</title> <title>SIGMOD Record 18(4)</title>
<pagenums>4-11</pagenums>
<date>Dec. 1989</date> <date>Dec. 1989</date>
<pagenums>4-11</pagenums>
</biblioset> </biblioset>
</biblioentry> </biblioentry>
<biblioentry id="STON90a"> <biblioentry id="STON90a">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-34.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-34.pdf">The
The implementation of <productname>POSTGRES</productname> implementation of <productname>POSTGRES</productname></ulink></title>
</ulink></title>
<titleabbrev>Stonebraker, Rowe, Hirohama, 1990</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
...@@ -505,10 +453,8 @@ ssimkovi@ag.or.at ...@@ -505,10 +453,8 @@ ssimkovi@ag.or.at
<biblioentry id="STON90b"> <biblioentry id="STON90b">
<biblioset relation="article"> <biblioset relation="article">
<title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-36.pdf"> <title><ulink url="http://db.cs.berkeley.edu/papers/ERL-M90-36.pdf">On
On Rules, Procedures, Caching and Views in Database Systems Rules, Procedures, Caching and Views in Database Systems</ulink></title>
</ulink></title>
<titleabbrev>Stonebraker et al, ACM, 1990</titleabbrev>
<authorgroup> <authorgroup>
<author> <author>
<firstname>M.</firstname> <firstname>M.</firstname>
......
...@@ -24,6 +24,23 @@ ...@@ -24,6 +24,23 @@
<xsl:call-template name="inline.monoseq"/> <xsl:call-template name="inline.monoseq"/>
</xsl:template> </xsl:template>
<xsl:template match="confgroup" mode="bibliography.mode">
<fo:inline>
<xsl:apply-templates select="conftitle/text()" mode="bibliography.mode"/>
<xsl:text>, </xsl:text>
<xsl:apply-templates select="confdates/text()" mode="bibliography.mode"/>
<xsl:value-of select="$biblioentry.item.separator"/>
</fo:inline>
</xsl:template>
<xsl:template match="isbn" mode="bibliography.mode">
<fo:inline>
<xsl:text>ISBN </xsl:text>
<xsl:apply-templates mode="bibliography.mode"/>
<xsl:value-of select="$biblioentry.item.separator"/>
</fo:inline>
</xsl:template>
<!-- bug fix from <https://sourceforge.net/p/docbook/bugs/1360/#831b> --> <!-- bug fix from <https://sourceforge.net/p/docbook/bugs/1360/#831b> -->
<xsl:template match="varlistentry/term" mode="xref-to"> <xsl:template match="varlistentry/term" mode="xref-to">
......
...@@ -40,6 +40,27 @@ ...@@ -40,6 +40,27 @@
<xsl:call-template name="inline.monoseq"/> <xsl:call-template name="inline.monoseq"/>
</xsl:template> </xsl:template>
<xsl:template match="confgroup" mode="bibliography.mode">
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
<xsl:apply-templates select="conftitle/text()" mode="bibliography.mode"/>
<xsl:text>, </xsl:text>
<xsl:apply-templates select="confdates/text()" mode="bibliography.mode"/>
<xsl:copy-of select="$biblioentry.item.separator"/>
</span>
</xsl:template>
<xsl:template match="isbn" mode="bibliography.mode">
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
<xsl:text>ISBN </xsl:text>
<xsl:apply-templates mode="bibliography.mode"/>
<xsl:copy-of select="$biblioentry.item.separator"/>
</span>
</xsl:template>
<!-- table of contents configuration --> <!-- table of contents configuration -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment