From 91c9d5809d9b9896e09760560ee96437cdb048b5 Mon Sep 17 00:00:00 2001 From: Jirka Kosek Date: Sun, 18 Feb 2007 22:12:16 +0000 Subject: [PATCH] Added support for formatting biblioentries according to ISO690 citation style. New bibliography style can be turned on by setting parameter bibliography.style to "iso690" The code was provided by Jana Dvorakova --- gentext/locale/cs.xml | 94 +++ gentext/locale/en.xml | 94 +++ xsl/fo/biblio-iso690.xsl | 1300 +++++++++++++++++++++++++++++ xsl/fo/biblio.xsl | 9 +- xsl/fo/docbook.xsl | 1 + xsl/fo/param.ent | 1 + xsl/fo/param.xweb | 2 + xsl/html/biblio-iso690.xsl | 1300 +++++++++++++++++++++++++++++ xsl/html/biblio.xsl | 9 +- xsl/html/docbook.xsl | 1 + xsl/html/param.ent | 1 + xsl/html/param.xweb | 2 + xsl/params/bibliography.style.xml | 25 + 13 files changed, 2837 insertions(+), 2 deletions(-) create mode 100644 xsl/fo/biblio-iso690.xsl create mode 100644 xsl/html/biblio-iso690.xsl create mode 100644 xsl/params/bibliography.style.xml diff --git a/gentext/locale/cs.xml b/gentext/locale/cs.xml index f7f4c4a3b..024fb12b4 100644 --- a/gentext/locale/cs.xml +++ b/gentext/locale/cs.xml @@ -550,6 +550,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Symboly diff --git a/gentext/locale/en.xml b/gentext/locale/en.xml index 11db9d67a..1f1874646 100644 --- a/gentext/locale/en.xml +++ b/gentext/locale/en.xml @@ -597,6 +597,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Symbols diff --git a/xsl/fo/biblio-iso690.xsl b/xsl/fo/biblio-iso690.xsl new file mode 100644 index 000000000..d971ff389 --- /dev/null +++ b/xsl/fo/biblio-iso690.xsl @@ -0,0 +1,1300 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + In + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/fo/biblio.xsl b/xsl/fo/biblio.xsl index 929f65df0..ba6886ede 100644 --- a/xsl/fo/biblio.xsl +++ b/xsl/fo/biblio.xsl @@ -187,7 +187,14 @@ - + + + + + + + + diff --git a/xsl/fo/docbook.xsl b/xsl/fo/docbook.xsl index a7bf61450..964fb359c 100644 --- a/xsl/fo/docbook.xsl +++ b/xsl/fo/docbook.xsl @@ -61,6 +61,7 @@ + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index c34a3d0fb..afbcbbc56 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -220,6 +220,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 9e69fcfa7..29fbb714d 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -209,6 +209,7 @@ generate.section.toc.level; Bibliography +&bibliography.style; &biblioentry.item.separator; &bibliography.collection; &bibliography.numbered; @@ -562,6 +563,7 @@ around all these parameters. + diff --git a/xsl/html/biblio-iso690.xsl b/xsl/html/biblio-iso690.xsl new file mode 100644 index 000000000..ea1a4fdca --- /dev/null +++ b/xsl/html/biblio-iso690.xsl @@ -0,0 +1,1300 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + In + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/html/biblio.xsl b/xsl/html/biblio.xsl index 97627d1e6..6740a5c51 100644 --- a/xsl/html/biblio.xsl +++ b/xsl/html/biblio.xsl @@ -139,7 +139,14 @@

- + + + + + + + +

diff --git a/xsl/html/docbook.xsl b/xsl/html/docbook.xsl index c892de8d9..cda125a95 100644 --- a/xsl/html/docbook.xsl +++ b/xsl/html/docbook.xsl @@ -58,6 +58,7 @@ + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index ff88cbe6c..420693303 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -254,6 +254,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 731a8fd6b..8c2e91d3b 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -237,6 +237,7 @@ $Id$
Bibliography +&bibliography.style; &biblioentry.item.separator; &bibliography.collection; &bibliography.numbered; @@ -465,6 +466,7 @@ around all these parameters. + diff --git a/xsl/params/bibliography.style.xml b/xsl/params/bibliography.style.xml new file mode 100644 index 000000000..d05b5adac --- /dev/null +++ b/xsl/params/bibliography.style.xml @@ -0,0 +1,25 @@ + + +bibliography.style +list + + +bibliography.style +Style used for formatting of biblioentries. + + + + + + + + +Description + +Currently only normal and +iso690 styles are supported. + + + -- 2.40.0