diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2003-12-27 07:07:20 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2003-12-27 07:07:20 +0000 |
commit | 8676013bbe68e32f0283dbe76c228676c631a96b (patch) | |
tree | da2781b563438a267b3f77fe1f1f0b764f68582c | |
parent | b77da39d254a1ce48ddd0123a09e0da1a880e796 (diff) | |
download | yelp-8676013bbe68e32f0283dbe76c228676c631a96b.tar.gz |
configure.in src/Makefile.am - Updates dependencies.
* configure.in
* src/Makefile.am
- Updates dependencies.
* data/Makefile.am:
* data/icons/Makefile.am:
* data/icons/caution.png:
* data/icons/important.png:
* data/icons/note.png:
* data/icons/tip.png:
* data/icons/warning.png:
- Adding icons here.
* src/yelp-db-pager.c:
- Changed params around a bit.
* stylesheets/docbook/
- Removing a bunch of stuff.
* stylesheets/db2html-admon.xsl:
* stylesheets/db2html-html.xsl
- Various stylistic improvements.
* test/testdoc1/testdoc1.xml:
- Changes to admonition samples.
108 files changed, 90 insertions, 38232 deletions
@@ -1,5 +1,26 @@ 2003-12-26 Shaun McCance <shaunm@gnome.org> + * configure.in + * src/Makefile.am + - Updates dependencies. + + * data/Makefile.am: + * data/icons/Makefile.am: + * data/icons/caution.png: + * data/icons/important.png: + * data/icons/note.png: + * data/icons/tip.png: + * data/icons/warning.png: + - Adding icons here. + + * src/yelp-db-pager.c: + - Changed params around a bit. + + * test/testdoc1/testdoc1.xml: + - Changes to admonition samples. + +2003-12-26 Shaun McCance <shaunm@gnome.org> + * AUTHORS: - Added myself to AUTHORS. diff --git a/configure.in b/configure.in index 2ef23d5f..c22c15d1 100644 --- a/configure.in +++ b/configure.in @@ -42,23 +42,19 @@ else fi AC_DEFINE_UNQUOTED(GNOMELOCALEDIR, "$GNOMELOCALEDIR") -PKG_CHECK_MODULES(DB2HTML, -[ - glib-2.0 >= 2.0.6 - libxslt >= 1.0.15 -]) - PKG_CHECK_MODULES(YELP, [ + gconf-2.0 gnome-vfs-2.0 >= 1.1 - libgnome-2.0 >= 2.0.2 - libgnomeui-2.0 >= 1.103.0 + gtk+-2.0 >= 2.3.1 libbonobo-2.0 >= 1.108.0 - libxml-2.0 >= 2.6.0 - libxslt >= 1.0.33 libglade-2.0 >= 2.0.0 - gconf-2.0 + libgnome-2.0 >= 2.0.2 + libgnomeui-2.0 >= 1.103.0 libgtkhtml-2.0 >= 2.1.2 + libxml-2.0 >= 2.6.0 + libxslt >= 1.1.1 + libexslt >= 0.8.1 ]) CFLAGS="$YELP_CFLAGS $CFLAGS" @@ -122,7 +118,7 @@ src/man2html/Makefile src/info2html/Makefile stylesheets/Makefile data/Makefile -data/images/Makefile +data/icons/Makefile data/ui/Makefile po/Makefile.in test/testdoc1/Makefile diff --git a/data/Makefile.am b/data/Makefile.am index 9eef94ca..59287c31 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = images ui +SUBDIRS = icons ui @INTLTOOL_XML_RULE@ diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 00000000..6dde7939 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,11 @@ +icondir = $(datadir)/yelp/icons + +icon_DATA = \ + caution.png \ + important.png \ + note.png \ + tip.png \ + warning.png + +EXTRA_DIST = \ + $(icon_DATA) diff --git a/stylesheets/docbook/images/caution.png b/data/icons/caution.png Binary files differindex e3897db8..e3897db8 100644 --- a/stylesheets/docbook/images/caution.png +++ b/data/icons/caution.png diff --git a/stylesheets/docbook/images/important.png b/data/icons/important.png Binary files differindex 2e1a2a36..2e1a2a36 100644 --- a/stylesheets/docbook/images/important.png +++ b/data/icons/important.png diff --git a/stylesheets/docbook/images/note.png b/data/icons/note.png Binary files differindex df1e0a92..df1e0a92 100644 --- a/stylesheets/docbook/images/note.png +++ b/data/icons/note.png diff --git a/stylesheets/docbook/images/tip.png b/data/icons/tip.png Binary files differindex 33aa88b5..33aa88b5 100644 --- a/stylesheets/docbook/images/tip.png +++ b/data/icons/tip.png diff --git a/stylesheets/docbook/images/warning.png b/data/icons/warning.png Binary files differindex 3c8a37df..3c8a37df 100644 --- a/stylesheets/docbook/images/warning.png +++ b/data/icons/warning.png diff --git a/src/Makefile.am b/src/Makefile.am index 914113bd..0af51cd9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -36,7 +36,7 @@ test_pager_SOURCES = \ yelp-marshal-main.c test-pager.c test_pager_LDADD = \ - @DB2HTML_LIBS@ @YELP_LIBS@ -lexslt + @YELP_LIBS@ install-exec-local: rm -f $(DESTDIR)$(bindir)/gnome-help @@ -63,10 +63,10 @@ yelp_db2html_SOURCES = \ yelp-db2html.c yelp_db2html_LDADD = \ - @DB2HTML_LIBS@ -lexslt + @YELP_LIBS@ yelp_pregenerate_LDADD = \ - @YELP_LIBS@ -lexslt + @YELP_LIBS@ yelp_SOURCES = \ $(gnome_yelp_idl_sources) \ diff --git a/src/yelp-db-pager.c b/src/yelp-db-pager.c index c16936d0..1319799f 100644 --- a/src/yelp-db-pager.c +++ b/src/yelp-db-pager.c @@ -207,14 +207,14 @@ db_pager_process (YelpPager *pager) xsltStylesheetPtr stylesheet; xsltTransformContextPtr tctxt; - gchar *p_doc_name, *p_doc_path, *p_sty_path; + gchar *p_doc_name, *p_doc_path; YelpDBPagerPriv *priv = YELP_DB_PAGER (pager)->priv; gchar *uri_slash; gchar *doc_name; gchar *doc_path; - const gchar *params[19]; + const gchar *params[21]; g_return_val_if_fail (pager != NULL, FALSE); g_return_val_if_fail (YELP_IS_DB_PAGER (pager), FALSE); @@ -273,14 +273,13 @@ db_pager_process (YelpPager *pager) p_doc_name = g_strconcat("\"", doc_name, "\"", NULL); p_doc_path = g_strconcat("\"file://", doc_path, "/\"", NULL); - p_sty_path = g_strconcat("\"file://", DB_STYLESHEET_PATH, "/\"", NULL); params[0] = "doc_name"; params[1] = p_doc_name; params[2] = "doc_path"; params[3] = p_doc_path; params[4] = "stylesheet_path"; - params[5] = p_sty_path; + params[5] = "\"file://" DB_STYLESHEET_PATH "/\""; params[6] = "chunk_depth"; params[7] = "2"; params[8] = "html_extension"; @@ -293,7 +292,9 @@ db_pager_process (YelpPager *pager) params[15] = yelp_theme_get_gray_background (); params[16] = "color_gray_border"; params[17] = yelp_theme_get_gray_border (); - params[18] = NULL; + params[18] = "admon_graphics_path"; + params[19] = "\"file://" DATADIR "/yelp/icons/\""; + params[20] = NULL; stylesheet = xsltParseStylesheetFile (DB_STYLESHEET); tctxt = xsltNewTransformContext (stylesheet, @@ -317,10 +318,8 @@ db_pager_process (YelpPager *pager) NULL, NULL, tctxt); - g_free (p_doc_name); g_free (p_doc_path); - g_free (p_sty_path); xmlFreeDoc (doc); xsltFreeStylesheet (stylesheet); xmlFreeParserCtxt (ctxt); diff --git a/stylesheets/ChangeLog b/stylesheets/ChangeLog index e8941143..8bf58730 100644 --- a/stylesheets/ChangeLog +++ b/stylesheets/ChangeLog @@ -1,5 +1,14 @@ 2003-12-26 Shaun McCance <shaunm@gnome.org> + * docbook/ + - Removing a bunch of stuff. + + * db2html-admon.xsl: + * db2html-html.xsl + - Various stylistic improvements. + +2003-12-26 Shaun McCance <shaunm@gnome.org> + * Makefile.am: - Removed db2html-tmp.xsl: diff --git a/stylesheets/db2html-admon.xsl b/stylesheets/db2html-admon.xsl index 7a21387a..693e23a7 100644 --- a/stylesheets/db2html-admon.xsl +++ b/stylesheets/db2html-admon.xsl @@ -12,7 +12,7 @@ <xsl:otherwise> <table style="border: none;"> <tr> - <td rowspan="2" align="center" valign="top"> + <td rowspan="2" align="center" valign="top" class="image"> <img> <xsl:attribute name="src"> <xsl:value-of select="$admon_graphics_path"/> diff --git a/stylesheets/db2html-html.xsl b/stylesheets/db2html-html.xsl index e931ee54..d5200385 100644 --- a/stylesheets/db2html-html.xsl +++ b/stylesheets/db2html-html.xsl @@ -133,6 +133,7 @@ div[class="informaltable"], div[class="msgset"], div[class="table"], div[class="variablelist"] { + margin-top: 1.6em; margin-left: 1.6em; margin-right: 1.6em; margin-bottom: 0.8em; @@ -145,16 +146,23 @@ div[class="sidebar"] { } div[class="admonition"] { - margin: 1.6em; - padding: 1.6em; + margin-top: 1.6em; + margin-left: 1.6em; + margin-right: 1.6em; + margin-bottom: 0.8em; + padding: 0.8em; background-color: #CCCCCC; border: solid 2px #C0C0C0; } +div[class="admonition"] td[class="image"] { margin-right: 1.6em; } div[class="programlisting"], div[class="screen"] { - margin: 1.6em; - padding: 1.6em; + margin-top: 1.6em; + margin-left: 1.6em; + margin-right: 1.6em; + margin-bottom: 0.8em; + padding: 0.8em; background-color: </xsl:text> <xsl:value-of select="$color_gray_background"/><xsl:text>; border: solid 1px </xsl:text> diff --git a/stylesheets/docbook/common/af.xml b/stylesheets/docbook/common/af.xml deleted file mode 100644 index 08463478..00000000 --- a/stylesheets/docbook/common/af.xml +++ /dev/null @@ -1,341 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Samevatting"/> - <l:gentext key="abstract" text="Samevatting"/> - <l:gentext key="Answer" text="Antwoord:"/> - <l:gentext key="answer" text="Antwoord:"/> - <l:gentext key="Appendix" text="Aanhangsel"/> - <l:gentext key="appendix" text="aanhangsel"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="Artikel"/> - <l:gentext key="Bibliography" text="Bibliografie"/> - <l:gentext key="bibliography" text="Bibliografie"/> - <l:gentext key="Book" text="Boek"/> - <l:gentext key="book" text="Boek"/> - <l:gentext key="Caution" text="Pas op"/> - <l:gentext key="caution" text="Pas op"/> - <l:gentext key="CAUTION" text="PAS OP"/> - <l:gentext key="Chapter" text="Hoofdstuk"/> - <l:gentext key="chapter" text="hoofdstuk"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="Kolofon"/> - <l:gentext key="Copyright" text="Kopie reg"/> - <l:gentext key="copyright" text="Kopie reg"/> - <l:gentext key="Dedication" text="Opgedra aan"/> - <l:gentext key="dedication" text="Opgedra aan"/> - <l:gentext key="Edition" text="Uitgawe"/> - <l:gentext key="edition" text="Uitgawe"/> - <l:gentext key="Equation" text="Vergelyking"/> - <l:gentext key="equation" text="Vergelyking"/> - <l:gentext key="Example" text="Voorbeeld"/> - <l:gentext key="example" text="Voorbeeld"/> - <l:gentext key="Figure" text="Figuur"/> - <l:gentext key="figure" text="Figuur"/> - <l:gentext key="Glossary" text="Woordlys"/> - <l:gentext key="glossary" text="Woordlys"/> - <l:gentext key="GlossSee" text="Sien"/> - <l:gentext key="glosssee" text="Sien"/> - <l:gentext key="GlossSeeAlso" text="Sien ook"/> - <l:gentext key="glossseealso" text="Sien ook"/> - <l:gentext key="IMPORTANT" text="BELANGRIK"/> - <l:gentext key="Important" text="Belangrik"/> - <l:gentext key="important" text="Belangrik"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="Indeks"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Regskennisgewing"/> - <l:gentext key="legalnotice" text="Regskennisgewing"/> - <l:gentext key="MsgAud" text="Teikengroep"/> - <l:gentext key="msgaud" text="Teikengroep"/> - <l:gentext key="MsgLevel" text="Vlak"/> - <l:gentext key="msglevel" text="Vlak"/> - <l:gentext key="MsgOrig" text="Herkoms"/> - <l:gentext key="msgorig" text="Herkoms"/> - <l:gentext key="note" text="Opmerking"/> - <l:gentext key="NOTE" text="OPMERKING"/> - <l:gentext key="Note" text="Opmerking"/> - <l:gentext key="Part" text="Deel"/> - <l:gentext key="part" text="Deel"/> - <l:gentext key="Preface" text="Voorwoord"/> - <l:gentext key="preface" text="Voorwoord"/> - <l:gentext key="Procedure" text="Prosedure"/> - <l:gentext key="procedure" text="Prosedure"/> - <l:gentext key="Published" text="Uitgegee"/> - <l:gentext key="published" text="Uitgegee"/> - <l:gentext key="Question" text="Vraag:"/> - <l:gentext key="question" text="Vraag:"/> - <l:gentext key="RefEntry" text="Verwysingslemma"/> - <l:gentext key="refentry" text="Verwysingslemma"/> - <l:gentext key="Reference" text="Verwysing"/> - <l:gentext key="reference" text="Verwysing"/> - <l:gentext key="RefName" text="Verwysingsnaam"/> - <l:gentext key="refname" text="Verwysingsnaam"/> - <l:gentext key="RefSection" text="Verwysingsparagraaf"/> - <l:gentext key="refsection" text="Verwysingsparagraaf"/> - <l:gentext key="RefSynopsisDiv" text="Verwysingsamevatting"/> - <l:gentext key="refsynopsisdiv" text="Verwysingsamevatting"/> - <l:gentext key="RevHistory" text="Hersiening geskiedenis"/> - <l:gentext key="revhistory" text="Hersiening geskiedenis"/> - <l:gentext key="Revision" text="Hersiening"/> - <l:gentext key="revision" text="Hersiening"/> - <l:gentext key="Section" text="Paragraaf"/> - <l:gentext key="section" text="paragraaf"/> - <l:gentext key="see" text="Sien"/> - <l:gentext key="See" text="Sien"/> - <l:gentext key="Seealso" text="Sien ook"/> - <l:gentext key="seealso" text="Sien ook"/> - <l:gentext key="SeeAlso" text="Sien ook"/> - <l:gentext key="set" text="Versameling"/> - <l:gentext key="Set" text="Versameling"/> - <l:gentext key="SetIndex" text="Indeks"/> - <l:gentext key="setindex" text="Indeks"/> - <l:gentext key="Sidebar" text="Ekskursie"/> - <l:gentext key="sidebar" text="ekskursie"/> - <l:gentext key="step" text="stap"/> - <l:gentext key="Step" text="Stap"/> - <l:gentext key="table" text="Tabel"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="TIP" text="LEIDRAAD"/> - <l:gentext key="Tip" text="Leidraad"/> - <l:gentext key="tip" text="Leidraad"/> - <l:gentext key="WARNING" text="WAARSKUWING"/> - <l:gentext key="Warning" text="Waarskuwing"/> - <l:gentext key="warning" text="Waarskuwing"/> - <l:gentext key="and" text="en"/> - <l:gentext key="by" text="deur"/> - <l:gentext key="Edited" text="Geredigeer"/> - <l:gentext key="edited" text="Geredigeer"/> - <l:gentext key="Editedby" text="Geredigeer deur"/> - <l:gentext key="editedby" text="Geredigeer deur"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="element bestaan nie"/> - <l:gentext key="notes" text="Notas"/> - <l:gentext key="Notes" text="Notas"/> - <l:gentext key="Pgs" text="bl."/> - <l:gentext key="pgs" text="bl."/> - <l:gentext key="Revisedby" text="Hersien deur: "/> - <l:gentext key="revisedby" text="Hersien deur: "/> - <l:gentext key="TableNotes" text="Opmerking"/> - <l:gentext key="tablenotes" text="Opmerking"/> - <l:gentext key="TableofContents" text="Inhoudsopgawe"/> - <l:gentext key="tableofcontents" text="Inhoudsopgawe"/> - <l:gentext key="unexpectedelementname" text="ONVERWAGTE ELEMENT"/> - <l:gentext key="unsupported" text="nie geondersteun"/> - <l:gentext key="xrefto" text="verwysing na"/> - <l:gentext key="listofequations" text="Lys van vergelykings"/> - <l:gentext key="ListofEquations" text="Lys van vergelykings"/> - <l:gentext key="ListofExamples" text="Lys van voorbeelde"/> - <l:gentext key="listofexamples" text="Lys van voorbeelde"/> - <l:gentext key="ListofFigures" text="Lys van figure"/> - <l:gentext key="listoffigures" text="Lys van figure"/> - <l:gentext key="listoftables" text="Lys van tabelle"/> - <l:gentext key="ListofTables" text="Lys van tabelle"/> - <l:gentext key="ListofUnknown" text="Lys van onbekende tipes"/> - <l:gentext key="listofunknown" text="Lys van onbekende tipes"/> - <l:gentext key="nav-home" text="Begin"/> - <l:gentext key="nav-next" text="Volgende"/> - <l:gentext key="nav-next-sibling" text="Verder vooruit"/> - <l:gentext key="nav-prev" text="Terug"/> - <l:gentext key="nav-prev-sibling" text="Verder terug"/> - <l:gentext key="nav-up" text="Boontoe"/> - <l:gentext key="sectioncalled" text="die seksie genaamd"/> - <l:gentext key="index symbols" text="Simbole"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Aanhangsel %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Hoofdstuk %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Vergelyking %n. %t"/> - <l:template name="example" text="Voorbeeld %n. %t"/> - <l:template name="figure" text="Figuur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Deel %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Aanhangsel %n. %t"/> - <l:template name="chapter" text="Hoofdstuk %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Aanhangsel %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Hoofdstuk %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Voorbeeld %n"/> - <l:template name="figure" text="Figuur %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Deel %n"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="die seksie genaamd “%t”"/> - <l:template name="sect2" text="die seksie genaamd “%t”"/> - <l:template name="sect3" text="die seksie genaamd “%t”"/> - <l:template name="sect4" text="die seksie genaamd “%t”"/> - <l:template name="sect5" text="die seksie genaamd “%t”"/> - <l:template name="section" text="die seksie genaamd “%t”"/> - <l:template name="simplesect" text="die seksie genaamd “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Paragraaf %n"/> - <l:template name="sect2" text="Paragraaf %n"/> - <l:template name="sect3" text="Paragraaf %n"/> - <l:template name="sect4" text="Paragraaf %n"/> - <l:template name="sect5" text="Paragraaf %n"/> - <l:template name="section" text="Paragraaf %n"/> - <l:template name="simplesect" text="die seksie genaamd “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" en "/> - <l:template name="seplast" text=", en "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Sien "/> - <l:template name="seealso" text="Sien ook "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Teikengroep: "/> - <l:template name="MsgLevel" text="Vlak: "/> - <l:template name="MsgOrig" text="Herkoms: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/ca.xml b/stylesheets/docbook/common/ca.xml deleted file mode 100644 index 0474704b..00000000 --- a/stylesheets/docbook/common/ca.xml +++ /dev/null @@ -1,341 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Resum"/> - <l:gentext key="abstract" text="Resum"/> - <l:gentext key="Answer" text="Answer"/> - <l:gentext key="answer" text="Answer"/> - <l:gentext key="appendix" text="apèndex"/> - <l:gentext key="Appendix" text="Apèndix"/> - <l:gentext key="Article" text="Article"/> - <l:gentext key="article" text="Article"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Llibre"/> - <l:gentext key="book" text="Llibre"/> - <l:gentext key="Caution" text="Atenció"/> - <l:gentext key="caution" text="Atenció"/> - <l:gentext key="CAUTION" text="ATENCIÓ"/> - <l:gentext key="Chapter" text="Capítol"/> - <l:gentext key="chapter" text="capítol"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Dret de reproducció"/> - <l:gentext key="copyright" text="Dret de reproducció"/> - <l:gentext key="Dedication" text="Dedicatòria"/> - <l:gentext key="dedication" text="Dedicatòria"/> - <l:gentext key="Edition" text="Edició"/> - <l:gentext key="edition" text="Edició"/> - <l:gentext key="Equation" text="Equació"/> - <l:gentext key="equation" text="Equació"/> - <l:gentext key="Example" text="Exemple"/> - <l:gentext key="example" text="Exemple"/> - <l:gentext key="Figure" text="Figura"/> - <l:gentext key="figure" text="Figura"/> - <l:gentext key="Glossary" text="Glossari"/> - <l:gentext key="glossary" text="Glossari"/> - <l:gentext key="GlossSee" text="Veure"/> - <l:gentext key="glosssee" text="Veure"/> - <l:gentext key="GlossSeeAlso" text="Veure també"/> - <l:gentext key="glossseealso" text="Veure també"/> - <l:gentext key="IMPORTANT" text="IMPORTANT"/> - <l:gentext key="Important" text="Important"/> - <l:gentext key="important" text="Important"/> - <l:gentext key="Index" text="Índex alfabètic"/> - <l:gentext key="index" text="Índex alfabètic"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Audiència"/> - <l:gentext key="msgaud" text="Audiència"/> - <l:gentext key="MsgLevel" text="Nivell"/> - <l:gentext key="msglevel" text="Nivell"/> - <l:gentext key="MsgOrig" text="Origen"/> - <l:gentext key="msgorig" text="Origen"/> - <l:gentext key="note" text="Nota"/> - <l:gentext key="NOTE" text="NOTA"/> - <l:gentext key="Note" text="Nota"/> - <l:gentext key="Part" text="Part"/> - <l:gentext key="part" text="Part"/> - <l:gentext key="Preface" text="Prefaci"/> - <l:gentext key="preface" text="Prefaci"/> - <l:gentext key="Procedure" text="Procediment"/> - <l:gentext key="procedure" text="Procediment"/> - <l:gentext key="PubDate" text="Data de publicació"/> - <l:gentext key="pubdate" text="Data de publicació"/> - <l:gentext key="Published" text="Data de publicació"/> - <l:gentext key="published" text="Data de publicació"/> - <l:gentext key="Question" text="Question"/> - <l:gentext key="question" text="Question"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referència"/> - <l:gentext key="reference" text="Referència"/> - <l:gentext key="RefName" text="Nom"/> - <l:gentext key="refname" text="Nom"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Historial de revisions"/> - <l:gentext key="revhistory" text="Historial de revisions"/> - <l:gentext key="Revision" text="Revisió"/> - <l:gentext key="revision" text="Revisió"/> - <l:gentext key="Section" text="Secció"/> - <l:gentext key="section" text="secció"/> - <l:gentext key="see" text="Veure"/> - <l:gentext key="See" text="Veure"/> - <l:gentext key="Seealso" text="Veure també"/> - <l:gentext key="seealso" text="Veure tambié"/> - <l:gentext key="SeeAlso" text="Veure tambié"/> - <l:gentext key="Set" text="Conjunt"/> - <l:gentext key="set" text="Conjunt"/> - <l:gentext key="SetIndex" text="Índex del conjunt"/> - <l:gentext key="setindex" text="Índex del conjunt"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="glossa"/> - <l:gentext key="step" text="pas"/> - <l:gentext key="Step" text="Pas"/> - <l:gentext key="table" text="Taula"/> - <l:gentext key="Table" text="Taula"/> - <l:gentext key="TIP" text="SUGGERIMENT"/> - <l:gentext key="Tip" text="Suggeriment"/> - <l:gentext key="tip" text="Suggeriment"/> - <l:gentext key="WARNING" text="AVÍS"/> - <l:gentext key="Warning" text="Avís"/> - <l:gentext key="warning" text="Avís"/> - <l:gentext key="and" text="i"/> - <l:gentext key="by" text="per"/> - <l:gentext key="Edited" text="Editat"/> - <l:gentext key="edited" text="Editat"/> - <l:gentext key="Editedby" text="Editat per"/> - <l:gentext key="editedby" text="Editat per"/> - <l:gentext key="in" text="a"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="element inexistent"/> - <l:gentext key="notes" text="Notes"/> - <l:gentext key="Notes" text="Notes"/> - <l:gentext key="Pgs" text="Pàgs."/> - <l:gentext key="pgs" text="Pàgs."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notes"/> - <l:gentext key="tablenotes" text="Notes"/> - <l:gentext key="TableofContents" text="Sumari"/> - <l:gentext key="tableofcontents" text="Sumari"/> - <l:gentext key="unexpectedelementname" text="Nom d'element no esperat"/> - <l:gentext key="unsupported" text="no reconeguda"/> - <l:gentext key="xrefto" text="xref a"/> - <l:gentext key="listofequations" text="Índex d'equacions"/> - <l:gentext key="ListofEquations" text="Índex d'equacions"/> - <l:gentext key="ListofExamples" text="Índex d'exemples"/> - <l:gentext key="listofexamples" text="Índex d'exemples"/> - <l:gentext key="ListofFigures" text="Índex de figures"/> - <l:gentext key="listoffigures" text="Índex de figures"/> - <l:gentext key="listoftables" text="Índex de taules"/> - <l:gentext key="ListofTables" text="Índex de taules"/> - <l:gentext key="ListofUnknown" text="Índex de desconegut ?"/> - <l:gentext key="listofunknown" text="Índex de desconegut ?"/> - <l:gentext key="nav-home" text="Inici"/> - <l:gentext key="nav-next" text="Seguent"/> - <l:gentext key="nav-next-sibling" text="Avancar"/> - <l:gentext key="nav-prev" text="Anterior"/> - <l:gentext key="nav-prev-sibling" text="Retrocedir"/> - <l:gentext key="nav-up" text="Pujar"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Apèndix %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Capítol %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equació %n. %t"/> - <l:template name="example" text="Exemple %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Part %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Taula %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Apèndix %n. %t"/> - <l:template name="chapter" text="Capítol %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Apèndix %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Capítol %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Exemple %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Part %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Taula %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Secció %n"/> - <l:template name="sect2" text="Secció %n"/> - <l:template name="sect3" text="Secció %n"/> - <l:template name="sect4" text="Secció %n"/> - <l:template name="sect5" text="Secció %n"/> - <l:template name="section" text="Secció %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" i "/> - <l:template name="seplast" text=", i "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Veure "/> - <l:template name="seealso" text="Veure també "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audiència: "/> - <l:template name="MsgLevel" text="Nivell: "/> - <l:template name="MsgOrig" text="Origen: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/common.xsl b/stylesheets/docbook/common/common.xsl deleted file mode 100644 index 12107070..00000000 --- a/stylesheets/docbook/common/common.xsl +++ /dev/null @@ -1,1357 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - This file contains general templates common to both the HTML and FO - versions of the DocBook stylesheets. - ******************************************************************** --> - -<doc:reference xmlns=""> -<referenceinfo> -<releaseinfo role="meta"> -$Id$ -</releaseinfo> -<author><surname>Walsh</surname> -<firstname>Norman</firstname></author> -<copyright><year>1999</year><year>2000</year> -<holder>Norman Walsh</holder> -</copyright> -</referenceinfo> -<title>Common Template Reference</title> - -<partintro> -<section><title>Introduction</title> - -<para>This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets.</para> - -<para>This is not intended to be <quote>user</quote> documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in <quote>how it -works</quote>.</para> - -<para>Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-)</para> -</section> -</partintro> - -</doc:reference> - -<!-- ==================================================================== --> -<!-- Establish strip/preserve whitespace rules --> - -<xsl:preserve-space elements="*"/> - -<xsl:strip-space elements=" -abstract affiliation anchor answer appendix area areaset areaspec -artheader article audiodata audioobject author authorblurb authorgroup -beginpage bibliodiv biblioentry bibliography biblioset blockquote book -bookbiblio bookinfo callout calloutlist caption caution chapter -citerefentry cmdsynopsis co collab colophon colspec confgroup -copyright dedication docinfo editor entry entrytbl epigraph equation -example figure footnote footnoteref formalpara funcprototype -funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco -group highlights imagedata imageobject imageobjectco important index -indexdiv indexentry indexterm informalequation informalexample -informalfigure informaltable inlineequation inlinemediaobject -itemizedlist itermset keycombo keywordset legalnotice listitem lot -mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo -msgmain msgrel msgset msgsub msgtext note objectinfo -orderedlist othercredit part partintro preface printhistory procedure -programlistingco publisher qandadiv qandaentry qandaset question -refentry reference refmeta refnamediv refsect1 refsect1info refsect2 -refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo -revhistory revision row sbr screenco screenshot sect1 sect1info sect2 -sect2info sect3 sect3info sect4 sect4info sect5 sect5info section -sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo -shortcut sidebar simplelist simplesect spanspec step subject -subjectset substeps synopfragment table tbody textobject tfoot tgroup -thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4 -toclevel5 tocpart varargs variablelist varlistentry videodata -videoobject void warning subjectset - -classsynopsis -constructorsynopsis -destructorsynopsis -fieldsynopsis -methodparam -methodsynopsis -ooclass -ooexception -oointerface -simplemsgentry -"/> - -<!-- ====================================================================== --> - -<doc:template name="is.component" xmlns=""> -<refpurpose>Tests if a given node is a component-level element</refpurpose> - -<refdescription> -<para>This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>node</term> -<listitem> -<para>The node which is to be tested.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>This template returns '1' if the specified node is a component -(Chapter, Appendix, etc.), and '0' otherwise.</para> -</refreturn> -</doc:template> - -<xsl:template name="is.component"> - <xsl:param name="node" select="."/> - <xsl:choose> - <xsl:when test="local-name($node) = 'appendix' - or local-name($node) = 'article' - or local-name($node) = 'chapter' - or local-name($node) = 'preface' - or local-name($node) = 'bibliography' - or local-name($node) = 'glossary' - or local-name($node) = 'index'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="is.section" xmlns=""> -<refpurpose>Tests if a given node is a section-level element</refpurpose> - -<refdescription> -<para>This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>node</term> -<listitem> -<para>The node which is to be tested.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>This template returns '1' if the specified node is a section -(Section, Sect1, Sect2, etc.), and '0' otherwise.</para> -</refreturn> -</doc:template> - -<xsl:template name="is.section"> - <xsl:param name="node" select="."/> - <xsl:choose> - <xsl:when test="local-name($node) = 'section' - or local-name($node) = 'sect1' - or local-name($node) = 'sect2' - or local-name($node) = 'sect3' - or local-name($node) = 'sect4' - or local-name($node) = 'sect5' - or local-name($node) = 'refsect1' - or local-name($node) = 'refsect2' - or local-name($node) = 'refsect3' - or local-name($node) = 'simplesect'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="section.level" xmlns=""> -<refpurpose>Returns the hierarchical level of a section.</refpurpose> - -<refdescription> -<para>This template calculates the hierarchical level of a section. -Hierarchically, components are <quote>top level</quote>, so a -<sgmltag>sect1</sgmltag> is at level 2, <sgmltag>sect3</sgmltag> is -at level 3, etc.</para> - -<para>Recursive sections are calculated down to the sixth level.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>node</term> -<listitem> -<para>The section node for which the level should be calculated. -Defaults to the context node.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>The section level, <quote>2</quote>, <quote>3</quote>, etc. -</para> -</refreturn> -</doc:template> - -<xsl:template name="section.level"> - <xsl:param name="node" select="."/> - <xsl:choose> - <xsl:when test="name($node)='sect1'">2</xsl:when> - <xsl:when test="name($node)='sect2'">3</xsl:when> - <xsl:when test="name($node)='sect3'">4</xsl:when> - <xsl:when test="name($node)='sect4'">5</xsl:when> - <xsl:when test="name($node)='sect5'">6</xsl:when> - <xsl:when test="name($node)='section'"> - <xsl:choose> - <xsl:when test="$node/../../../../../section">6</xsl:when> - <xsl:when test="$node/../../../../section">5</xsl:when> - <xsl:when test="$node/../../../section">4</xsl:when> - <xsl:when test="$node/../../section">3</xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="name($node)='refsect1'">2</xsl:when> - <xsl:when test="name($node)='refsect2'">3</xsl:when> - <xsl:when test="name($node)='refsect3'">4</xsl:when> - <xsl:when test="name($node)='simplesect'"> - <xsl:choose> - <xsl:when test="$node/../../sect1">3</xsl:when> - <xsl:when test="$node/../../sect2">4</xsl:when> - <xsl:when test="$node/../../sect3">5</xsl:when> - <xsl:when test="$node/../../sect4">6</xsl:when> - <xsl:when test="$node/../../sect5">6</xsl:when> - <xsl:when test="$node/../../section"> - <xsl:choose> - <xsl:when test="$node/../../../../../section">6</xsl:when> - <xsl:when test="$node/../../../../section">5</xsl:when> - <xsl:when test="$node/../../../section">4</xsl:when> - <xsl:otherwise>3</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> -</xsl:template><!-- section.level --> - -<doc:template name="qanda.section.level" xmlns=""> -<refpurpose>Returns the hierarchical level of a QandASet.</refpurpose> - -<refdescription> -<para>This template calculates the hierarchical level of a QandASet. -</para> -</refdescription> - -<refreturn> -<para>The level, <quote>1</quote>, <quote>2</quote>, etc. -</para> -</refreturn> -</doc:template> - -<xsl:template name="qanda.section.level"> - <xsl:variable name="section" - select="(ancestor::section - |ancestor::simplesect - |ancestor::sect5 - |ancestor::sect4 - |ancestor::sect3 - |ancestor::sect2 - |ancestor::sect1 - |ancestor::refsect3 - |ancestor::refsect2 - |ancestor::refsect1)[last()]"/> - <xsl:choose> - <xsl:when test="count($section) = '0'">1</xsl:when> - <xsl:otherwise> - <xsl:call-template name="section.level"> - <xsl:with-param name="node" select="$section"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="qandadiv.section.level"> - <xsl:variable name="section.level"> - <xsl:call-template name="qanda.section.level"/> - </xsl:variable> - <xsl:variable name="anc.divs" select="ancestor::qandadiv"/> - - <xsl:value-of select="count($anc.divs) + number($section.level)"/> -</xsl:template> - -<xsl:template name="question.answer.label"> - <xsl:variable name="deflabel"> - <xsl:choose> - <xsl:when test="ancestor-or-self::*[@defaultlabel]"> - <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] - /@defaultlabel"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="qanda.defaultlabel"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="label" select="@label"/> - -<!-- - (hnr (hierarchical-number-recursive (normalize "qandadiv") - node)) - - (parsect (ancestor-member node (section-element-list))) - - (defnum (if (and %qanda-inherit-numeration% - %section-autolabel%) - (if (node-list-empty? parsect) - (section-autolabel-prefix node) - (section-autolabel parsect)) - "")) - - (hnumber (let loop ((numlist hnr) (number defnum) - (sep (if (equal? defnum "") "" "."))) - (if (null? numlist) - number - (loop (cdr numlist) - (string-append number - sep - (number->string (car numlist))) - ".")))) - (cnumber (child-number (parent node))) - (number (string-append hnumber - (if (equal? hnumber "") - "" - ".") - (number->string cnumber)))) ---> - - <xsl:choose> - <xsl:when test="$deflabel = 'qanda'"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key"> - <xsl:choose> - <xsl:when test="local-name(.) = 'question'">question</xsl:when> - <xsl:when test="local-name(.) = 'answer'">answer</xsl:when> - <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when> - <xsl:otherwise>qandaset</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$deflabel = 'label'"> - <xsl:value-of select="$label"/> - </xsl:when> - <xsl:when test="$deflabel = 'number' - and local-name(.) = 'question'"> - <xsl:apply-templates select="ancestor::qandaset[1]" - mode="number"/> - <xsl:choose> - <xsl:when test="ancestor::qandadiv"> - <xsl:apply-templates select="ancestor::qandadiv[1]" - mode="number"/> - <xsl:apply-templates select="ancestor::qandaentry" - mode="number"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="ancestor::qandaentry" - mode="number"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <!-- nothing --> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="qandaset" mode="number"> - <!-- FIXME: --> -</xsl:template> - -<xsl:template match="qandadiv" mode="number"> - <xsl:number level="multiple" from="qandaset" format="1."/> -</xsl:template> - -<xsl:template match="qandaentry" mode="number"> - <xsl:choose> - <xsl:when test="ancestor::qandadiv"> - <xsl:number level="single" from="qandadiv" format="1."/> - </xsl:when> - <xsl:otherwise> - <xsl:number level="single" from="qandaset" format="1."/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="object.id"> - <xsl:param name="object" select="."/> - <xsl:choose> - <xsl:when test="$object/@id"> - <xsl:value-of select="$object/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id($object)"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="person.name"> - <!-- Return a formatted string representation of the contents of - the specified node (by default, the current element). - Handles Honorific, FirstName, SurName, and Lineage. - If %author-othername-in-middle% is #t, also OtherName - Handles *only* the first of each. - Format is "Honorific. FirstName [OtherName] SurName, Lineage" - --> - <xsl:param name="node" select="."/> - - <xsl:choose> - <!-- EXPERIMENTAL: the personname element is a specialcase --> - <xsl:when test="$node/personname"> - <xsl:call-template name="person.name"> - <xsl:with-param name="node" select="$node/personname"/> - </xsl:call-template> - </xsl:when> - - <!-- handle corpauthor as a special case...--> - <xsl:when test="name($node)='corpauthor'"> - <xsl:apply-templates select="$node"/> - </xsl:when> - - <xsl:otherwise> - <xsl:variable name="h_nl" select="$node//honorific[1]"/> - <xsl:variable name="f_nl" select="$node//firstname[1]"/> - <xsl:variable name="o_nl" select="$node//othername[1]"/> - <xsl:variable name="s_nl" select="$node//surname[1]"/> - <xsl:variable name="l_nl" select="$node//lineage[1]"/> - - <xsl:variable name="has_h" select="$h_nl"/> - <xsl:variable name="has_f" select="$f_nl"/> - <xsl:variable name="has_o" - select="$o_nl and ($author.othername.in.middle != 0)"/> - <xsl:variable name="has_s" select="$s_nl"/> - <xsl:variable name="has_l" select="$l_nl"/> - - <xsl:choose> - <xsl:when test="$node/@role = 'family-given'"> - <!-- The family-given style applies a convention for identifying given --> - <!-- and family names in locales where it may be ambiguous --> - <xsl:if test="$has_h"> - <xsl:value-of select="$h_nl"/> - <xsl:value-of select="$punct.honorific"/> - </xsl:if> - - <xsl:if test="$has_s"> - <xsl:if test="$has_h"> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:value-of select="$s_nl"/> - </xsl:if> - - <xsl:if test="$has_o"> - <xsl:if test="$has_h or $has_f"><xsl:text> </xsl:text></xsl:if> - <xsl:value-of select="$o_nl"/> - </xsl:if> - - <xsl:if test="$has_f"> - <xsl:if test="$has_h or $has_s or $has_o"><xsl:text> </xsl:text></xsl:if> - <xsl:value-of select="$f_nl"/> - </xsl:if> - - <xsl:if test="$has_l"> - <xsl:text>, </xsl:text> - <xsl:value-of select="$l_nl"/> - </xsl:if> - - <xsl:text> [FAMILY Given]</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$has_h"> - <xsl:value-of select="$h_nl"/>. - </xsl:if> - - <xsl:if test="$has_f"> - <xsl:if test="$has_h"><xsl:text> </xsl:text></xsl:if> - <xsl:value-of select="$f_nl"/> - </xsl:if> - - <xsl:if test="$has_o"> - <xsl:if test="$has_h or $has_f"><xsl:text> </xsl:text></xsl:if> - <xsl:value-of select="$o_nl"/> - </xsl:if> - - <xsl:if test="$has_s"> - <xsl:if test="$has_h or $has_f or $has_o"> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:value-of select="$s_nl"/> - </xsl:if> - - <xsl:if test="$has_l"> - <xsl:text>, </xsl:text> - <xsl:value-of select="$l_nl"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> <!-- person.name --> - -<xsl:template name="person.name.list"> - <!-- Return a formatted string representation of the contents of - the current element. The current element must contain one or - more AUTHORs, CORPAUTHORs, OTHERCREDITs, and/or EDITORs. - - John Doe - or - John Doe and Jane Doe - or - John Doe, Jane Doe, and A. Nonymous - --> - <xsl:param name="person.list" - select="./author|./corpauthor|./othercredit|./editor"/> - <xsl:param name="person.count" select="count($person.list)"/> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="$count > $person.count"></xsl:when> - <xsl:otherwise> - <xsl:call-template name="person.name"> - <xsl:with-param name="node" select="$person.list[position()=$count]"/> - </xsl:call-template> - - <xsl:choose> - <xsl:when test="$person.count = 2 and $count = 1"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'authorgroup'"/> - <xsl:with-param name="name" select="'sep2'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$person.count > 2 and $count+1 = $person.count"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'authorgroup'"/> - <xsl:with-param name="name" select="'seplast'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$count < $person.count"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'authorgroup'"/> - <xsl:with-param name="name" select="'sep'"/> - </xsl:call-template> - </xsl:when> - </xsl:choose> - - <xsl:call-template name="person.name.list"> - <xsl:with-param name="person.list" select="$person.list"/> - <xsl:with-param name="person.count" select="$person.count"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template><!-- person.name.list --> - -<!-- === synopsis ======================================================= --> -<!-- The following definitions match those given in the reference - documentation for DocBook V3.0 ---> - -<xsl:variable name="arg.choice.opt.open.str">[</xsl:variable> -<xsl:variable name="arg.choice.opt.close.str">]</xsl:variable> -<xsl:variable name="arg.choice.req.open.str">{</xsl:variable> -<xsl:variable name="arg.choice.req.close.str">}</xsl:variable> -<xsl:variable name="arg.choice.plain.open.str"><xsl:text> </xsl:text></xsl:variable> -<xsl:variable name="arg.choice.plain.close.str"><xsl:text> </xsl:text></xsl:variable> -<xsl:variable name="arg.choice.def.open.str">[</xsl:variable> -<xsl:variable name="arg.choice.def.close.str">]</xsl:variable> -<xsl:variable name="arg.rep.repeat.str">...</xsl:variable> -<xsl:variable name="arg.rep.norepeat.str"></xsl:variable> -<xsl:variable name="arg.rep.def.str"></xsl:variable> -<xsl:variable name="arg.or.sep"> | </xsl:variable> -<xsl:variable name="cmdsynopsis.hanging.indent">4pi</xsl:variable> - -<!-- ====================================================================== --> - -<!-- -<xsl:template name="xref.g.subst"> - <xsl:param name="string"></xsl:param> - <xsl:param name="target" select="."/> - <xsl:variable name="subst">%g</xsl:variable> - - <xsl:choose> - <xsl:when test="contains($string, $subst)"> - <xsl:value-of select="substring-before($string, $subst)"/> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name" select="name($target)"/> - </xsl:call-template> - <xsl:call-template name="xref.g.subst"> - <xsl:with-param name="string" - select="substring-after($string, $subst)"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="xref.t.subst"> - <xsl:param name="string"></xsl:param> - <xsl:param name="target" select="."/> - <xsl:variable name="subst">%t</xsl:variable> - - <xsl:choose> - <xsl:when test="contains($string, $subst)"> - <xsl:call-template name="xref.g.subst"> - <xsl:with-param name="string" - select="substring-before($string, $subst)"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - <xsl:call-template name="title.xref"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - <xsl:call-template name="xref.t.subst"> - <xsl:with-param name="string" - select="substring-after($string, $subst)"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="xref.g.subst"> - <xsl:with-param name="string" select="$string"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="xref.n.subst"> - <xsl:param name="string"></xsl:param> - <xsl:param name="target" select="."/> - <xsl:variable name="subst">%n</xsl:variable> - - <xsl:choose> - <xsl:when test="contains($string, $subst)"> - <xsl:call-template name="xref.t.subst"> - <xsl:with-param name="string" - select="substring-before($string, $subst)"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - <xsl:call-template name="number.xref"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - <xsl:call-template name="xref.t.subst"> - <xsl:with-param name="string" - select="substring-after($string, $subst)"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="xref.t.subst"> - <xsl:with-param name="string" select="$string"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="subst.xref.text"> - <xsl:param name="xref.text"></xsl:param> - <xsl:param name="target" select="."/> - - <xsl:call-template name="xref.n.subst"> - <xsl:with-param name="string" select="$xref.text"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> -</xsl:template> ---> - -<!-- ====================================================================== --> - -<xsl:template name="filename-basename"> - <!-- We assume all filenames are really URIs and use "/" --> - <xsl:param name="filename"></xsl:param> - <xsl:param name="recurse" select="false()"/> - - <xsl:choose> - <xsl:when test="substring-after($filename, '/') != ''"> - <xsl:call-template name="filename-basename"> - <xsl:with-param name="filename" - select="substring-after($filename, '/')"/> - <xsl:with-param name="recurse" select="true()"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$filename"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="filename-extension"> - <xsl:param name="filename"></xsl:param> - <xsl:param name="recurse" select="false()"/> - - <!-- Make sure we only look at the base name... --> - <xsl:variable name="basefn"> - <xsl:choose> - <xsl:when test="$recurse"> - <xsl:value-of select="$filename"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="filename-basename"> - <xsl:with-param name="filename" select="$filename"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="substring-after($basefn, '.') != ''"> - <xsl:call-template name="filename-extension"> - <xsl:with-param name="filename" - select="substring-after($basefn, '.')"/> - <xsl:with-param name="recurse" select="true()"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$recurse"> - <xsl:value-of select="$basefn"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="select.mediaobject" xmlns=""> -<refpurpose>Selects an appropriate media object from a list</refpurpose> - -<refdescription> -<para>This template examines a list of media objects (usually the -children of a mediaobject or inlinemediaobject) and processes -the "right" object.</para> - -<para>This template relies on a template named "is.acceptable.mediaobject" -to determine if a given object is an acceptable graphic. The semantics -of media objects is that the first acceptable graphic should be used. -</para> - -<para>If no acceptable object is located, nothing happens.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>olist</term> -<listitem> -<para>The node list of potential objects to examine.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>Calls <xsl:apply-templates> on the selected object.</para> -</refreturn> -</doc:template> - -<xsl:template name="select.mediaobject"> - <xsl:param name="olist" - select="imageobject|imageobjectco - |videoobject|audioobject|textobject"/> - <xsl:param name="count">1</xsl:param> - - <xsl:if test="$count <= count($olist)"> - <xsl:variable name="object" select="$olist[position()=$count]"/> - - <xsl:variable name="useobject"> - <xsl:choose> - <!-- The phrase is never used --> - <xsl:when test="name($object)='textobject' and $object/phrase"> - <xsl:text>0</xsl:text> - </xsl:when> - <!-- The first textobject is a reasonable fallback --> - <xsl:when test="name($object)='textobject' and $object[not(@role) or @role!='tex']"> - <xsl:text>1</xsl:text> - </xsl:when> - <!-- If there's only one object, use it --> - <xsl:when test="$count = 1 and count($olist) = 1"> - <xsl:text>1</xsl:text> - </xsl:when> - <!-- Otherwise, see if this one is a useable graphic --> - <xsl:otherwise> - <xsl:choose> - <!-- peek inside imageobjectco to simplify the test --> - <xsl:when test="local-name($object) = 'imageobjectco'"> - <xsl:call-template name="is.acceptable.mediaobject"> - <xsl:with-param name="object" select="$object/imageobject"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="is.acceptable.mediaobject"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$useobject='1'"> - <xsl:apply-templates select="$object"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject"> - <xsl:with-param name="olist" select="$olist"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:if> -</xsl:template> - -<doc:template name="is.acceptable.mediaobject" xmlns=""> -<refpurpose>Returns '1' if the specified media object is recognized.</refpurpose> - -<refdescription> -<para>This template examines a media object and returns '1' if the -object is recognized as a graphic.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>object</term> -<listitem> -<para>The media object to consider.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>0 or 1</para> -</refreturn> -</doc:template> - -<xsl:template name="is.acceptable.mediaobject"> - <xsl:param name="object"></xsl:param> - - <xsl:variable name="filename"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="ext"> - <xsl:call-template name="filename-extension"> - <xsl:with-param name="filename" select="$filename"/> - </xsl:call-template> - </xsl:variable> - - <!-- there will only be one --> - <xsl:variable name="data" select="$object/videodata - |$object/imagedata - |$object/audiodata"/> - - <xsl:variable name="format" select="$data/@format"/> - - <xsl:variable name="graphic.format"> - <xsl:if test="$format"> - <xsl:call-template name="is.graphic.format"> - <xsl:with-param name="format" select="$format"/> - </xsl:call-template> - </xsl:if> - </xsl:variable> - - <xsl:variable name="graphic.ext"> - <xsl:if test="$ext"> - <xsl:call-template name="is.graphic.extension"> - <xsl:with-param name="ext" select="$ext"/> - </xsl:call-template> - </xsl:if> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$graphic.format = '1'">1</xsl:when> - <xsl:when test="$graphic.ext = '1'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="mediaobject.filename"> - <xsl:param name="object"></xsl:param> - - <xsl:variable name="data" select="$object/videodata - |$object/imagedata - |$object/audiodata - |$object"/> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="$data[@fileref]"> - <xsl:value-of select="$data/@fileref"/> - </xsl:when> - <xsl:when test="$data[@entityref]"> - <xsl:value-of select="unparsed-entity-uri($data/@entityref)"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="has.ext" select="contains($filename, '.') != ''"/> - - <xsl:variable name="ext"> - <xsl:choose> - <xsl:when test="contains($filename, '.')"> - <xsl:call-template name="filename-extension"> - <xsl:with-param name="filename" select="$filename"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$graphic.default.extension"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="graphic.ext"> - <xsl:call-template name="is.graphic.extension"> - <xsl:with-param name="ext" select="$ext"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not($has.ext)"> - <xsl:choose> - <xsl:when test="$ext != ''"> - <xsl:value-of select="$filename"/> - <xsl:text>.</xsl:text> - <xsl:value-of select="$ext"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$filename"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="not($graphic.ext)"> - <xsl:choose> - <xsl:when test="$graphic.default.extension != ''"> - <xsl:value-of select="$filename"/> - <xsl:text>.</xsl:text> - <xsl:value-of select="$graphic.default.extension"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$filename"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$filename"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="check.id.unique" xmlns=""> -<refpurpose>Warn users about references to non-unique IDs</refpurpose> -<refdescription> -<para>If passed an ID in <varname>linkend</varname>, -<function>check.id.unique</function> prints -a warning message to the user if either the ID does not exist or -the ID is not unique.</para> -</refdescription> -</doc:template> - -<xsl:template name="check.id.unique"> - <xsl:param name="linkend"></xsl:param> - <xsl:if test="$linkend != ''"> - <xsl:variable name="targets" select="key('id',$linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:if test="count($targets)=0"> - <xsl:message> - <xsl:text>Error: no ID for constraint linkend: </xsl:text> - <xsl:value-of select="$linkend"/> - <xsl:text>.</xsl:text> - </xsl:message> - <!-- - <xsl:message> - <xsl:text>If the ID exists in your document, did your </xsl:text> - <xsl:text>XSLT Processor load the DTD?</xsl:text> - </xsl:message> - --> - </xsl:if> - - <xsl:if test="count($targets)>1"> - <xsl:message> - <xsl:text>Warning: multiple "IDs" for constraint linkend: </xsl:text> - <xsl:value-of select="$linkend"/> - <xsl:text>.</xsl:text> - </xsl:message> - </xsl:if> - </xsl:if> -</xsl:template> - -<doc:template name="check.idref.targets" xmlns=""> -<refpurpose>Warn users about incorrectly typed references</refpurpose> -<refdescription> -<para>If passed an ID in <varname>linkend</varname>, -<function>check.idref.targets</function> makes sure that the element -pointed to by the link is one of the elements listed in -<varname>element-list</varname> and warns the user otherwise.</para> -</refdescription> -</doc:template> - -<xsl:template name="check.idref.targets"> - <xsl:param name="linkend"></xsl:param> - <xsl:param name="element-list"></xsl:param> - <xsl:if test="$linkend != ''"> - <xsl:variable name="targets" select="key('id',$linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:if test="count($target) > 0"> - <xsl:if test="not(contains(concat(' ', $element-list, ' '), name($target)))"> - <xsl:message> - <xsl:text>Error: linkend (</xsl:text> - <xsl:value-of select="$linkend"/> - <xsl:text>) points to "</xsl:text> - <xsl:value-of select="name($target)"/> - <xsl:text>" not (one of): </xsl:text> - <xsl:value-of select="$element-list"/> - </xsl:message> - </xsl:if> - </xsl:if> - </xsl:if> -</xsl:template> - -<!-- ====================================================================== --> -<!-- Procedure Step Numeration --> - -<xsl:param name="procedure.step.numeration.formats" select="'1aiAI'"/> - -<xsl:template name="procedure.step.numeration"> - <xsl:param name="context" select="."/> - <xsl:variable name="format.length" - select="string-length($procedure.step.numeration.formats)"/> - <xsl:choose> - <xsl:when test="local-name($context) = 'substeps'"> - <xsl:variable name="ssdepth" - select="count($context/ancestor::substeps)"/> - <xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/> - <xsl:choose> - <xsl:when test="$sstype > $format.length"> - <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="substring($procedure.step.numeration.formats,$sstype,1)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="local-name($context) = 'step'"> - <xsl:variable name="sdepth" - select="count($context/ancestor::substeps)"/> - <xsl:variable name="stype" select="($sdepth mod $format.length)+1"/> - <xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unexpected context in procedure.step.numeration: </xsl:text> - <xsl:value-of select="local-name($context)"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="step" mode="number"> - <xsl:param name="rest" select="''"/> - <xsl:param name="recursive" select="1"/> - <xsl:variable name="format"> - <xsl:call-template name="procedure.step.numeration"/> - </xsl:variable> - <xsl:variable name="num"> - <xsl:number count="step" format="{$format}"/> - </xsl:variable> - <xsl:choose> - <xsl:when test="$recursive != 0 and ancestor::step"> - <xsl:apply-templates select="ancestor::step[1]" mode="number"> - <xsl:with-param name="rest" select="concat('.', $num, $rest)"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat($num, $rest)"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> -<!-- OrderedList Numeration --> - -<xsl:template name="next.numeration"> - <xsl:param name="numeration" select="'default'"/> - <xsl:choose> - <!-- Change this list if you want to change the order of numerations --> - <xsl:when test="$numeration = 'arabic'">loweralpha</xsl:when> - <xsl:when test="$numeration = 'loweralpha'">lowerroman</xsl:when> - <xsl:when test="$numeration = 'lowerroman'">upperalpha</xsl:when> - <xsl:when test="$numeration = 'upperalpha'">upperroman</xsl:when> - <xsl:when test="$numeration = 'upperroman'">arabic</xsl:when> - <xsl:otherwise>arabic</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="list.numeration"> - <xsl:param name="node" select="."/> - - <xsl:choose> - <xsl:when test="$node/@numeration"> - <xsl:value-of select="$node/@numeration"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$node/ancestor::orderedlist"> - <xsl:call-template name="next.numeration"> - <xsl:with-param name="numeration"> - <xsl:call-template name="list.numeration"> - <xsl:with-param name="node" select="$node/ancestor::orderedlist[1]"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="next.numeration"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> -<!-- ItemizedList "Numeration" --> - -<xsl:template name="next.itemsymbol"> - <xsl:param name="itemsymbol" select="'default'"/> - <xsl:choose> - <!-- Change this list if you want to change the order of symbols --> - <xsl:when test="$itemsymbol = 'disc'">round</xsl:when> - <xsl:when test="$itemsymbol = 'round'">square</xsl:when> - <xsl:otherwise>disc</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="list.itemsymbol"> - <xsl:param name="node" select="."/> - - <xsl:choose> - <xsl:when test="$node/@mark"> - <xsl:value-of select="$node/@mark"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$node/ancestor::itemizedlist"> - <xsl:call-template name="next.itemsymbol"> - <xsl:with-param name="itemsymbol"> - <xsl:call-template name="list.itemsymbol"> - <xsl:with-param name="node" select="$node/ancestor::itemizedlist[1]"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="next.itemsymbol"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="copyright.years" xmlns=""> -<refpurpose>Print a set of years with collapsed ranges</refpurpose> - -<refdescription> -<para>This template prints a list of year elements with consecutive -years printed as a range. In other words:</para> - -<screen><![CDATA[<year>1992</year> -<year>1993</year> -<year>1994</year>]]></screen> - -<para>is printed <quote>1992-1994</quote>, whereas:</para> - -<screen><![CDATA[<year>1992</year> -<year>1994</year>]]></screen> - -<para>is printed <quote>1992, 1994</quote>.</para> - -<para>This template assumes that all the year elements contain only -decimal year numbers, that the elements are sorted in increasing -numerical order, that there are no duplicates, and that all the years -are expressed in full <quote>century+year</quote> -(<quote>1999</quote> not <quote>99</quote>) notation.</para> -</refdescription> - -<refparameter> -<variablelist> -<varlistentry><term>years</term> -<listitem> -<para>The initial set of year elements.</para> -</listitem> -</varlistentry> -<varlistentry><term>print.ranges</term> -<listitem> -<para>If non-zero, multi-year ranges are collapsed. If zero, all years -are printed discretely.</para> -</listitem> -</varlistentry> -<varlistentry><term>single.year.ranges</term> -<listitem> -<para>If non-zero, two consecutive years will be printed as a range, -otherwise, they will be printed discretely. In other words, a single -year range is <quote>1991-1992</quote> but discretely it's -<quote>1991, 1992</quote>.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>This template returns the formatted list of years.</para> -</refreturn> -</doc:template> - -<xsl:template name="copyright.years"> - <xsl:param name="years"/> - <xsl:param name="print.ranges" select="1"/> - <xsl:param name="single.year.ranges" select="0"/> - <xsl:param name="firstyear" select="0"/> - <xsl:param name="nextyear" select="0"/> - - <!-- - <xsl:message terminate="no"> - <xsl:text>CY: </xsl:text> - <xsl:value-of select="count($years)"/> - <xsl:text>, </xsl:text> - <xsl:value-of select="$firstyear"/> - <xsl:text>, </xsl:text> - <xsl:value-of select="$nextyear"/> - <xsl:text> (</xsl:text> - <xsl:value-of select="$years[1]"/> - <xsl:text>)</xsl:text> - </xsl:message> - --> - - <xsl:choose> - <xsl:when test="$print.ranges = 0"> - <xsl:choose> - <xsl:when test="count($years) = 1"> - <xsl:value-of select="$years[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$years[1]"/> - <xsl:text>, </xsl:text> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" - select="$years[position() > 1]"/> - <xsl:with-param name="print.ranges" select="$print.ranges"/> - <xsl:with-param name="single.year.ranges" - select="$single.year.ranges"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="count($years) = 0"> - <xsl:variable name="lastyear" select="$nextyear - 1"/> - <xsl:choose> - <xsl:when test="$firstyear = 0"> - <!-- there weren't any years at all --> - </xsl:when> - <xsl:when test="$firstyear = $lastyear"> - <xsl:value-of select="$firstyear"/> - </xsl:when> - <xsl:when test="$single.year.ranges = 0 - and $lastyear = $firstyear + 1"> - <xsl:value-of select="$firstyear"/> - <xsl:text>, </xsl:text> - <xsl:value-of select="$lastyear"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$firstyear"/> - <xsl:text>-</xsl:text> - <xsl:value-of select="$lastyear"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$firstyear = 0"> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" - select="$years[position() > 1]"/> - <xsl:with-param name="firstyear" select="$years[1]"/> - <xsl:with-param name="nextyear" select="$years[1] + 1"/> - <xsl:with-param name="print.ranges" select="$print.ranges"/> - <xsl:with-param name="single.year.ranges" - select="$single.year.ranges"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$nextyear = $years[1]"> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" - select="$years[position() > 1]"/> - <xsl:with-param name="firstyear" select="$firstyear"/> - <xsl:with-param name="nextyear" select="$nextyear + 1"/> - <xsl:with-param name="print.ranges" select="$print.ranges"/> - <xsl:with-param name="single.year.ranges" - select="$single.year.ranges"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <!-- we have years left, but they aren't in the current range --> - <xsl:choose> - <xsl:when test="$nextyear = $firstyear + 1"> - <xsl:value-of select="$firstyear"/> - <xsl:text>, </xsl:text> - </xsl:when> - <xsl:when test="$single.year.ranges = 0 - and $nextyear = $firstyear + 2"> - <xsl:value-of select="$firstyear"/> - <xsl:text>, </xsl:text> - <xsl:value-of select="$nextyear - 1"/> - <xsl:text>, </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$firstyear"/> - <xsl:text>-</xsl:text> - <xsl:value-of select="$nextyear - 1"/> - <xsl:text>, </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" - select="$years[position() > 1]"/> - <xsl:with-param name="firstyear" select="$years[1]"/> - <xsl:with-param name="nextyear" select="$years[1] + 1"/> - <xsl:with-param name="print.ranges" select="$print.ranges"/> - <xsl:with-param name="single.year.ranges" - select="$single.year.ranges"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/common/cs.xml b/stylesheets/docbook/common/cs.xml deleted file mode 100644 index 808e0924..00000000 --- a/stylesheets/docbook/common/cs.xml +++ /dev/null @@ -1,346 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cs"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Abstrakt"/> - <l:gentext key="abstract" text="Abstrakt"/> - <l:gentext key="Answer" text="Odpověď:"/> - <l:gentext key="answer" text="Odpověď:"/> - <l:gentext key="Appendix" text="Příloha"/> - <l:gentext key="appendix" text="Příloha"/> - <l:gentext key="Article" text="Článek"/> - <l:gentext key="article" text="Článek"/> - <l:gentext key="Bibliography" text="Bibliografie"/> - <l:gentext key="bibliography" text="Bibliografie"/> - <l:gentext key="Book" text="Kniha"/> - <l:gentext key="book" text="Kniha"/> - <l:gentext key="CAUTION" text="Výstraha"/> - <l:gentext key="Caution" text="Výstraha"/> - <l:gentext key="caution" text="Výstraha"/> - <l:gentext key="Chapter" text="Kapitola"/> - <l:gentext key="chapter" text="Kapitola"/> - <l:gentext key="Colophon" text="Tiráž"/> - <l:gentext key="colophon" text="Tiráž"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Věnování"/> - <l:gentext key="dedication" text="Věnování"/> - <l:gentext key="Edition" text="Vydání"/> - <l:gentext key="edition" text="Vydání"/> - <l:gentext key="Equation" text="Rovnice"/> - <l:gentext key="equation" text="Rovnice"/> - <l:gentext key="Example" text="Příklad"/> - <l:gentext key="example" text="Příklad"/> - <l:gentext key="Figure" text="Obrázek"/> - <l:gentext key="figure" text="Obrázek"/> - <l:gentext key="Glossary" text="Slovník"/> - <l:gentext key="glossary" text="Slovník"/> - <l:gentext key="GlossSee" text="Viz"/> - <l:gentext key="glosssee" text="Viz"/> - <l:gentext key="GlossSeeAlso" text="Viz též"/> - <l:gentext key="glossseealso" text="Viz též"/> - <l:gentext key="IMPORTANT" text="Důležité"/> - <l:gentext key="Important" text="Důležité"/> - <l:gentext key="important" text="Důležité"/> - <l:gentext key="Index" text="Rejstřík"/> - <l:gentext key="index" text="Rejstřík"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Právní doložka"/> - <l:gentext key="legalnotice" text="Právní doložka"/> - <l:gentext key="MsgAud" text="Publikum"/> - <l:gentext key="msgaud" text="Publikum"/> - <l:gentext key="MsgLevel" text="Úroveň"/> - <l:gentext key="msglevel" text="Úroveň"/> - <l:gentext key="MsgOrig" text="Původ"/> - <l:gentext key="msgorig" text="Původ"/> - <l:gentext key="NOTE" text="Poznámka"/> - <l:gentext key="Note" text="Poznámka"/> - <l:gentext key="note" text="Poznámka"/> - <l:gentext key="Part" text="Část"/> - <l:gentext key="part" text="Část"/> - <l:gentext key="Preface" text="Předmluva"/> - <l:gentext key="preface" text="Předmluva"/> - <l:gentext key="Procedure" text="Postup"/> - <l:gentext key="procedure" text="Postup"/> - <l:gentext key="Published" text="Vydáno"/> - <l:gentext key="published" text="Vydáno"/> - <l:gentext key="Question" text="Otázka:"/> - <l:gentext key="question" text="Otázka:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Odkaz"/> - <l:gentext key="reference" text="Odkaz"/> - <l:gentext key="RefName" text="Jméno"/> - <l:gentext key="refname" text="Jméno"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Přehled"/> - <l:gentext key="refsynopsisdiv" text="Přehled"/> - <l:gentext key="RevHistory" text="Přehled revizí"/> - <l:gentext key="revhistory" text="Přehled revizí"/> - <l:gentext key="Revision" text="Revize"/> - <l:gentext key="revision" text="Revize"/> - <l:gentext key="sect1" text="Oddíl"/> - <l:gentext key="sect2" text="Oddíl"/> - <l:gentext key="sect3" text="Oddíl"/> - <l:gentext key="sect4" text="Oddíl"/> - <l:gentext key="sect5" text="Oddíl"/> - <l:gentext key="Section" text="Oddíl"/> - <l:gentext key="section" text="Oddíl"/> - <l:gentext key="See" text="Viz"/> - <l:gentext key="see" text="Viz"/> - <l:gentext key="SeeAlso" text="Viz též"/> - <l:gentext key="Seealso" text="Viz též"/> - <l:gentext key="seealso" text="Viz též"/> - <l:gentext key="Set" text="Sada"/> - <l:gentext key="set" text="Sada"/> - <l:gentext key="SetIndex" text="Rejstřík sady"/> - <l:gentext key="setindex" text="Rejstřík sady"/> - <l:gentext key="Sidebar" text="Marginálie"/> - <l:gentext key="sidebar" text="Marginálie"/> - <l:gentext key="Step" text="Krok"/> - <l:gentext key="step" text="krok"/> - <l:gentext key="Table" text="Tabulka"/> - <l:gentext key="table" text="Tabulka"/> - <l:gentext key="TIP" text="Tip"/> - <l:gentext key="Tip" text="Tip"/> - <l:gentext key="tip" text="Tip"/> - <l:gentext key="WARNING" text="Varování"/> - <l:gentext key="Warning" text="Varování"/> - <l:gentext key="warning" text="Varování"/> - <l:gentext key="and" text="a"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Vydáno"/> - <l:gentext key="edited" text="Vydáno"/> - <l:gentext key="Editedby" text="Sestavil"/> - <l:gentext key="editedby" text="Sestavil"/> - <l:gentext key="in" text="v"/> - <l:gentext key="lastlistcomma" text=""/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="neexistující prvek"/> - <l:gentext key="notes" text="Poznámky"/> - <l:gentext key="Notes" text="Poznámky"/> - <l:gentext key="Pgs" text="Str."/> - <l:gentext key="pgs" text="Str."/> - <l:gentext key="Revisedby" text="Revidoval: "/> - <l:gentext key="revisedby" text="Revidoval: "/> - <l:gentext key="TableNotes" text="Poznámky"/> - <l:gentext key="tablenotes" text="Poznámky"/> - <l:gentext key="TableofContents" text="Obsah"/> - <l:gentext key="tableofcontents" text="Obsah"/> - <l:gentext key="unexpectedelementname" text="Neočekávané jméno prvku"/> - <l:gentext key="unsupported" text="nepodporovaný"/> - <l:gentext key="xrefto" text="xref k"/> - <l:gentext key="listofequations" text="Seznam rovnic"/> - <l:gentext key="ListofEquations" text="Seznam rovnic"/> - <l:gentext key="ListofExamples" text="Seznam příkladů"/> - <l:gentext key="listofexamples" text="Seznam příkladů"/> - <l:gentext key="ListofFigures" text="Seznam obrázků"/> - <l:gentext key="listoffigures" text="Seznam obrázků"/> - <l:gentext key="listoftables" text="Seznam tabulek"/> - <l:gentext key="ListofTables" text="Seznam tabulek"/> - <l:gentext key="ListofUnknown" text="Seznam neznámého"/> - <l:gentext key="listofunknown" text="Seznam neznámého"/> - <l:gentext key="nav-home" text="Domů"/> - <l:gentext key="nav-next" text="Další"/> - <l:gentext key="nav-next-sibling" text="Rychle dopředu"/> - <l:gentext key="nav-prev" text="Předcházející"/> - <l:gentext key="nav-prev-sibling" text="Rychle zpět"/> - <l:gentext key="nav-up" text="Nahoru"/> - <l:gentext key="sectioncalled" text="oddíl nazvaný"/> - <l:gentext key="index symbols" text="Symboly"/> - <l:dingbat key="startquote" text="„"/> - <l:dingbat key="endquote" text="“"/> - <l:dingbat key="nestedstartquote" text="‚"/> - <l:dingbat key="nestedendquote" text="‘"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Příloha %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapitola %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Rovnice %n. %t"/> - <l:template name="example" text="Příklad %n. %t"/> - <l:template name="figure" text="Obrázek %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Část %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabulka %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Příloha %n. %t"/> - <l:template name="chapter" text="Kapitola %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="%n – „%t“"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="%n – „%t“"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="%n"/> - <l:template name="figure" text="%n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="%n – „%t“"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="„%t“"/> - <l:template name="sect2" text="„%t“"/> - <l:template name="sect3" text="„%t“"/> - <l:template name="sect4" text="„%t“"/> - <l:template name="sect5" text="„%t“"/> - <l:template name="section" text="„%t“"/> - <l:template name="simplesect" text="„%t“"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="%n"/> - <l:template name="sect2" text="%n"/> - <l:template name="sect3" text="%n"/> - <l:template name="sect4" text="%n"/> - <l:template name="sect5" text="%n"/> - <l:template name="section" text="%n"/> - <l:template name="simplesect" text="„%t“"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" a "/> - <l:template name="seplast" text=" a "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Viz "/> - <l:template name="seealso" text="Viz též "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Publikum: "/> - <l:template name="MsgLevel" text="Úroveň: "/> - <l:template name="MsgOrig" text="Původ: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/da.xml b/stylesheets/docbook/common/da.xml deleted file mode 100644 index 6b9efb3d..00000000 --- a/stylesheets/docbook/common/da.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="da"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Resumé"/> - <l:gentext key="abstract" text="resumé"/> - <l:gentext key="Answer" text="Svar"/> - <l:gentext key="answer" text="svar"/> - <l:gentext key="Appendix" text="Appendiks"/> - <l:gentext key="appendix" text="appendiks"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="artikel"/> - <l:gentext key="Bibliography" text="Litteraturliste"/> - <l:gentext key="bibliography" text="litteraturliste"/> - <l:gentext key="Book" text="Bog"/> - <l:gentext key="book" text="bog"/> - <l:gentext key="CAUTION" text="PAS PÅ"/> - <l:gentext key="Caution" text="Pas på"/> - <l:gentext key="caution" text="pas på"/> - <l:gentext key="Chapter" text="Kapitel"/> - <l:gentext key="chapter" text="kapitel"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="kolofon"/> - <l:gentext key="Copyright" text="Ophavsret"/> - <l:gentext key="copyright" text="ophavsret"/> - <l:gentext key="Dedication" text="Tilegnet"/> - <l:gentext key="dedication" text="tilegnet"/> - <l:gentext key="Edition" text="Udgave"/> - <l:gentext key="edition" text="udgave"/> - <l:gentext key="Equation" text="Ligning"/> - <l:gentext key="equation" text="ligning"/> - <l:gentext key="Example" text="Eksempel"/> - <l:gentext key="example" text="eksempel"/> - <l:gentext key="Figure" text="Figur"/> - <l:gentext key="figure" text="figur"/> - <l:gentext key="Glossary" text="Ordliste"/> - <l:gentext key="glossary" text="ordliste"/> - <l:gentext key="GlossSee" text="Se"/> - <l:gentext key="glosssee" text="se"/> - <l:gentext key="GlossSeeAlso" text="Se også"/> - <l:gentext key="glossseealso" text="se også"/> - <l:gentext key="IMPORTANT" text="VIGTIGT"/> - <l:gentext key="Important" text="Vigtigt"/> - <l:gentext key="important" text="vigtigt"/> - <l:gentext key="Index" text="Stikordsregister"/> - <l:gentext key="index" text="stikordsregister"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Retslig note"/> - <l:gentext key="legalnotice" text="retslig note"/> - <l:gentext key="MsgAud" text="Målgruppe"/> - <l:gentext key="msgaud" text="målgruppe"/> - <l:gentext key="MsgLevel" text="Niveau"/> - <l:gentext key="msglevel" text="niveau"/> - <l:gentext key="MsgOrig" text="Grundlag"/> - <l:gentext key="msgorig" text="grundlag"/> - <l:gentext key="NOTE" text="BEMÆrk"/> - <l:gentext key="Note" text="Bemærk"/> - <l:gentext key="note" text="bemærk"/> - <l:gentext key="Part" text="Del"/> - <l:gentext key="part" text="del"/> - <l:gentext key="Preface" text="Forord"/> - <l:gentext key="preface" text="forord"/> - <l:gentext key="Procedure" text="Procedure"/> - <l:gentext key="procedure" text="procedure"/> - <l:gentext key="ProductionSet" text="Produktion"/> - <l:gentext key="Published" text="Udgivet"/> - <l:gentext key="published" text="udgivet"/> - <l:gentext key="Question" text="Spørgsmål"/> - <l:gentext key="question" text="spørgsmål"/> - <l:gentext key="RefEntry" text="Punkt"/> - <l:gentext key="refentry" text="punkt"/> - <l:gentext key="Reference" text="Henvisning"/> - <l:gentext key="reference" text="henvisning"/> - <l:gentext key="RefName" text="Navn"/> - <l:gentext key="refname" text="navn"/> - <l:gentext key="RefSection" text="Afsnit"/> - <l:gentext key="refsection" text="afsnit"/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="synopsis"/> - <l:gentext key="RevHistory" text="Revisionshistorie"/> - <l:gentext key="revhistory" text="revisionshistorie"/> - <l:gentext key="revision" text="revision"/> - <l:gentext key="Revision" text="Revision"/> - <l:gentext key="sect1" text="Afsnit"/> - <l:gentext key="sect2" text="Afsnit"/> - <l:gentext key="sect3" text="Afsnit"/> - <l:gentext key="sect4" text="Afsnit"/> - <l:gentext key="sect5" text="Afsnit"/> - <l:gentext key="section" text="afsnit"/> - <l:gentext key="Section" text="Afsnit"/> - <l:gentext key="See" text="Se"/> - <l:gentext key="see" text="se"/> - <l:gentext key="SeeAlso" text="Se også"/> - <l:gentext key="seealso" text="se også"/> - <l:gentext key="Seealso" text="Se også"/> - <l:gentext key="set" text="sæt"/> - <l:gentext key="Set" text="Sæt"/> - <l:gentext key="setindex" text="sæt indeks"/> - <l:gentext key="SetIndex" text="Sæt indeks"/> - <l:gentext key="Sidebar" text="Sidebjælke"/> - <l:gentext key="sidebar" text="sidebjælke"/> - <l:gentext key="step" text="trin"/> - <l:gentext key="Step" text="Trin"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="table" text="tabel"/> - <l:gentext key="tip" text="vink"/> - <l:gentext key="TIP" text="VINK"/> - <l:gentext key="Tip" text="Vink"/> - <l:gentext key="Warning" text="Advarsel"/> - <l:gentext key="warning" text="advarsel"/> - <l:gentext key="WARNING" text="ADVARSEL"/> - <l:gentext key="and" text="og"/> - <l:gentext key="by" text="af"/> - <l:gentext key="Edited" text="Redigeret"/> - <l:gentext key="edited" text="redigeret"/> - <l:gentext key="Editedby" text="Redigeret af"/> - <l:gentext key="editedby" text="redigeret af"/> - <l:gentext key="in" text="i"/> - <l:gentext key="lastlistcomma" text=" og "/> - <l:gentext key="listcomma" text=", "/> - <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/> - <l:gentext key="notes" text="slutbemærkning:"/> - <l:gentext key="Notes" text="Slutbemærkning:"/> - <l:gentext key="Pgs" text="Siderne"/> - <l:gentext key="pgs" text="siderne"/> - <l:gentext key="Revisedby" text="Revideret af: "/> - <l:gentext key="revisedby" text="revideret af: "/> - <l:gentext key="TableNotes" text="Noter:"/> - <l:gentext key="tablenotes" text="noter:"/> - <l:gentext key="TableofContents" text="Indholdsfortegnelse"/> - <l:gentext key="tableofcontents" text="indholdsfortegnelse"/> - <l:gentext key="unexpectedelementname" text="uventet elementnavn"/> - <l:gentext key="unsupported" text="ikke understøttet"/> - <l:gentext key="xrefto" text="krydshenvisning til"/> - <l:gentext key="listofequations" text="ligningsliste"/> - <l:gentext key="ListofEquations" text="Ligningsliste"/> - <l:gentext key="ListofExamples" text="Eksempelliste"/> - <l:gentext key="listofexamples" text="eksempelliste"/> - <l:gentext key="ListofFigures" text="Figurliste"/> - <l:gentext key="listoffigures" text="figurliste"/> - <l:gentext key="listoftables" text="tabelliste"/> - <l:gentext key="ListofTables" text="Tabelliste"/> - <l:gentext key="ListofUnknown" text="Liste over ukendte"/> - <l:gentext key="listofunknown" text="liste over ukendte"/> - <l:gentext key="nav-home" text="hjem"/> - <l:gentext key="nav-next" text="næste"/> - <l:gentext key="nav-next-sibling" text="hurtigt fremad"/> - <l:gentext key="nav-prev" text="forrige"/> - <l:gentext key="nav-prev-sibling" text="hurtigt tilbage"/> - <l:gentext key="nav-up" text="op"/> - <l:gentext key="sectioncalled" text="afsnittet der hedder"/> - <l:gentext key="index symbols" text="symboler"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyzæøå"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Appendiks %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ligning %n. %t"/> - <l:template name="example" text="Eksempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Procedure %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Produktion %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="Spørgsmål %n"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="varlistentry" text=""/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Appendiks %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="Svar %n"/> - <l:template name="appendix" text="Appendiks %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ligning %n"/> - <l:template name="example" text="Eksempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Procedure %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="Spørgsmål %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="Spørgsmål %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="varlistentry" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="afsnittet der hedder “%t”"/> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Afsnit %n"/> - <l:template name="sect1" text="Afsnit %n"/> - <l:template name="sect2" text="Afsnit %n"/> - <l:template name="sect3" text="Afsnit %n"/> - <l:template name="sect4" text="Afsnit %n"/> - <l:template name="sect5" text="Afsnit %n"/> - <l:template name="section" text="Afsnit %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" og "/> - <l:template name="seplast" text=" og og "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Se "/> - <l:template name="seealso" text="Se også "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Målgruppe: "/> - <l:template name="MsgLevel" text="Niveau: "/> - <l:template name="MsgOrig" text="Grundlag: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/de.xml b/stylesheets/docbook/common/de.xml deleted file mode 100644 index 77ac7175..00000000 --- a/stylesheets/docbook/common/de.xml +++ /dev/null @@ -1,343 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Zusammenfassung"/> - <l:gentext key="abstract" text="Zusammenfassung"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Anhang"/> - <l:gentext key="appendix" text="Anhang"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="Artikel"/> - <l:gentext key="Bibliography" text="Literaturverzeichnis"/> - <l:gentext key="bibliography" text="Literaturverzeichnis"/> - <l:gentext key="Book" text="Buch"/> - <l:gentext key="book" text="Buch"/> - <l:gentext key="Caution" text="Achtung"/> - <l:gentext key="caution" text="Achtung"/> - <l:gentext key="CAUTION" text="ACHTUNG"/> - <l:gentext key="Chapter" text="Kapitel"/> - <l:gentext key="chapter" text="Kapitel"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Widmung"/> - <l:gentext key="dedication" text="Widmung"/> - <l:gentext key="Edition" text="Ausgabe"/> - <l:gentext key="edition" text="Ausgabe"/> - <l:gentext key="Equation" text="Gleichung"/> - <l:gentext key="equation" text="Gleichung"/> - <l:gentext key="Example" text="Beispiel"/> - <l:gentext key="example" text="Beispiel"/> - <l:gentext key="Figure" text="Abbildung"/> - <l:gentext key="figure" text="Abbildung"/> - <l:gentext key="Glossary" text="Glossar"/> - <l:gentext key="glossary" text="Glossar"/> - <l:gentext key="GlossSee" text="Siehe"/> - <l:gentext key="glosssee" text="Siehe"/> - <l:gentext key="GlossSeeAlso" text="Siehe auch"/> - <l:gentext key="glossseealso" text="Siehe auch"/> - <l:gentext key="IMPORTANT" text="WICHTIG"/> - <l:gentext key="Important" text="Wichtig"/> - <l:gentext key="important" text="Wichtig"/> - <l:gentext key="Index" text="Stichwortverzeichnis"/> - <l:gentext key="index" text="Stichwortverzeichnis"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Rechtlicher Hinweis"/> - <l:gentext key="legalnotice" text="Rechtlicher Hinweis"/> - <l:gentext key="MsgAud" text="Zielgruppe"/> - <l:gentext key="msgaud" text="Zielgruppe"/> - <l:gentext key="MsgLevel" text="Dringlichkeit"/> - <l:gentext key="msglevel" text="Dringlichkeit"/> - <l:gentext key="MsgOrig" text="Ursprung"/> - <l:gentext key="msgorig" text="Ursprung"/> - <l:gentext key="note" text="Anmerkung"/> - <l:gentext key="NOTE" text="ANMERKUNG"/> - <l:gentext key="Note" text="Anmerkung"/> - <l:gentext key="part" text="Teil"/> - <l:gentext key="Part" text="Teil"/> - <l:gentext key="Preface" text="Vorwort"/> - <l:gentext key="preface" text="Vorwort"/> - <l:gentext key="Procedure" text="Prozedur"/> - <l:gentext key="procedure" text="Prozedur"/> - <l:gentext key="Published" text="Veröffentlicht"/> - <l:gentext key="published" text="Veröffentlicht"/> - <l:gentext key="Question" text="F:"/> - <l:gentext key="question" text="F:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Verweis"/> - <l:gentext key="reference" text="Verweis"/> - <l:gentext key="refname" text="Name"/> - <l:gentext key="RefName" text="Name"/> - <l:gentext key="RefSection" text="Abschnitt"/> - <l:gentext key="refsection" text="Abschnitt"/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Versionsgeschichte"/> - <l:gentext key="revhistory" text="Versionsgeschichte"/> - <l:gentext key="Revision" text="Version"/> - <l:gentext key="revision" text="Version"/> - <l:gentext key="Section" text="Abschnitt"/> - <l:gentext key="section" text="Abschnitt"/> - <l:gentext key="see" text="Siehe"/> - <l:gentext key="See" text="Siehe"/> - <l:gentext key="SeeAlso" text="Siehe auch"/> - <l:gentext key="seealso" text="Siehe auch"/> - <l:gentext key="Seealso" text="Siehe auch"/> - <l:gentext key="Set" text="Satz"/> - <l:gentext key="set" text="Satz"/> - <l:gentext key="setindex" text="Stichwortverzeichnis"/> - <l:gentext key="SetIndex" text="Stichwortverzeichnis"/> - <l:gentext key="sidebar" text="randnotiz"/> - <l:gentext key="Sidebar" text="Randnotiz"/> - <l:gentext key="Step" text="Schritt"/> - <l:gentext key="step" text="Schritt"/> - <l:gentext key="table" text="Tabelle"/> - <l:gentext key="Table" text="Tabelle"/> - <l:gentext key="TIP" text="TIPP"/> - <l:gentext key="Tip" text="Tipp"/> - <l:gentext key="tip" text="Tipp"/> - <l:gentext key="Warning" text="Warnung"/> - <l:gentext key="warning" text="Warnung"/> - <l:gentext key="WARNING" text="WARNUNG"/> - <l:gentext key="and" text="und"/> - <l:gentext key="by" text="von"/> - <l:gentext key="Edited" text="Herausgegeben"/> - <l:gentext key="edited" text="Herausgegeben"/> - <l:gentext key="Editedby" text="Herausgegeben von"/> - <l:gentext key="editedby" text="Herausgegeben von"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=""/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="nicht existierendes Element"/> - <l:gentext key="notes" text="Fußnoten"/> - <l:gentext key="Notes" text="Fußnoten"/> - <l:gentext key="Pgs" text="Seiten"/> - <l:gentext key="pgs" text="Seiten"/> - <l:gentext key="Revisedby" text="Geändert durch: "/> - <l:gentext key="revisedby" text="Geändert durch: "/> - <l:gentext key="TableNotes" text="Bemerkungen"/> - <l:gentext key="tablenotes" text="Bemerkungen"/> - <l:gentext key="TableofContents" text="Inhaltsverzeichnis"/> - <l:gentext key="tableofcontents" text="Inhaltsverzeichnis"/> - <l:gentext key="unexpectedelementname" text="Unerwarteter Elementname"/> - <l:gentext key="unsupported" text="wird nicht unterstützt"/> - <l:gentext key="xrefto" text="xref auf"/> - <l:gentext key="listofequations" text="Gleichungen"/> - <l:gentext key="ListofEquations" text="Gleichungen"/> - <l:gentext key="ListofExamples" text="Beispiele"/> - <l:gentext key="listofexamples" text="Beispiele"/> - <l:gentext key="ListofFigures" text="Abbildungsverzeichnis"/> - <l:gentext key="listoffigures" text="Abbildungsverzeichnis"/> - <l:gentext key="listoftables" text="Tabellenverzeichnis"/> - <l:gentext key="ListofTables" text="Tabellenverzeichnis"/> - <l:gentext key="ListofUnknown" text="???-Verzeichnis"/> - <l:gentext key="listofunknown" text="???-Verzeichnis"/> - <l:gentext key="nav-home" text="Zum Anfang"/> - <l:gentext key="nav-next" text="Nach vorne"/> - <l:gentext key="nav-next-sibling" text="Schnell nach vorne"/> - <l:gentext key="nav-prev" text="Zurück"/> - <l:gentext key="nav-prev-sibling" text="Schnell zurück"/> - <l:gentext key="nav-up" text="Nach oben"/> - <l:dingbat key="startquote" text="„"/> - <l:dingbat key="endquote" text="“"/> - <l:dingbat key="nestedstartquote" text="‚"/> - <l:dingbat key="nestedendquote" text="‘"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Anhang %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Gleichung %n. %t"/> - <l:template name="example" text="Beispiel %n. %t"/> - <l:template name="figure" text="Abbildung %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Teil %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Prozedur %n. %t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="F: %n"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabelle %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Anhang %n. %t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Anhang %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Beispiel %n. %t"/> - <l:template name="figure" text="Abbildung %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Teil %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="question" text="F: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabelle %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="„%t“"/> - <l:template name="sect2" text="„%t“"/> - <l:template name="sect3" text="„%t“"/> - <l:template name="sect4" text="„%t“"/> - <l:template name="sect5" text="„%t“"/> - <l:template name="section" text="„%t“"/> - <l:template name="simplesect" text="„%t“"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Abschnitt %n"/> - <l:template name="sect2" text="Abschnitt %n"/> - <l:template name="sect3" text="Abschnitt %n"/> - <l:template name="sect4" text="Abschnitt %n"/> - <l:template name="sect5" text="Abschnitt %n"/> - <l:template name="section" text="Abschnitt %n"/> - <l:template name="simplesect" text="„%t“"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" und "/> - <l:template name="seplast" text=" und "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Siehe "/> - <l:template name="seealso" text="Siehe auch "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Zielgruppe: "/> - <l:template name="MsgLevel" text="Dringlichkeit: "/> - <l:template name="MsgOrig" text="Ursprung: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/el.xml b/stylesheets/docbook/common/el.xml deleted file mode 100644 index b88d4d90..00000000 --- a/stylesheets/docbook/common/el.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="el"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Ðåñßëçøç"/> - <l:gentext key="abstract" text="Ðåñßëçøç"/> - <l:gentext key="Answer" text="Á:"/> - <l:gentext key="answer" text="Á:"/> - <l:gentext key="Appendix" text="ÐáñÜñôçìá"/> - <l:gentext key="appendix" text="ðáñÜñôçìá"/> - <l:gentext key="Article" text="¶ñèñï"/> - <l:gentext key="article" text="¶ñèñï"/> - <l:gentext key="Bibliography" text="Âéâëéïãñáößá"/> - <l:gentext key="bibliography" text="Âéâëéïãñáößá"/> - <l:gentext key="Book" text="Âéâëßï"/> - <l:gentext key="book" text="Âéâëßï"/> - <l:gentext key="CAUTION" text="ÐÑÏÓÏ×Ç"/> - <l:gentext key="caution" text="Ðñïóï÷Þ"/> - <l:gentext key="Caution" text="Ðñïóï÷Þ"/> - <l:gentext key="Chapter" text="ÊåöÜëáéï"/> - <l:gentext key="chapter" text="êåöÜëáéï"/> - <l:gentext key="Colophon" text="Êïñùíßäá"/> - <l:gentext key="colophon" text="Êïñùíßäá"/> - <l:gentext key="Copyright" text="ÐíåõìáôéêÜ Äéêáéþìáôá"/> - <l:gentext key="copyright" text="ÐíåõìáôéêÜ Äéêáéþìáôá"/> - <l:gentext key="Dedication" text="ÁöéÝñùóç"/> - <l:gentext key="dedication" text="ÁöéÝñùóç"/> - <l:gentext key="Edition" text="¸êäïóç"/> - <l:gentext key="edition" text="¸êäïóç"/> - <l:gentext key="Equation" text="Åîßóùóç"/> - <l:gentext key="equation" text="Åîßóùóç"/> - <l:gentext key="Example" text="ÐáñÜäåéãìá"/> - <l:gentext key="example" text="ÐáñÜäåéãìá"/> - <l:gentext key="Figure" text="Ó÷Þìá"/> - <l:gentext key="figure" text="Ó÷Þìá"/> - <l:gentext key="Glossary" text="ÃëùóóÜñéï"/> - <l:gentext key="glossary" text="ÃëùóóÜñéï"/> - <l:gentext key="GlossSee" text="Äåßôå"/> - <l:gentext key="glosssee" text="Äåßôå"/> - <l:gentext key="GlossSeeAlso" text="Äåßôå Åðßóçò"/> - <l:gentext key="glossseealso" text="Äåßôå Åðßóçò"/> - <l:gentext key="IMPORTANT" text="ÓÇÌÁÍÔÉÊÏ"/> - <l:gentext key="Important" text="Óçìáíôéêü"/> - <l:gentext key="important" text="Óçìáíôéêü"/> - <l:gentext key="Index" text="ÅõñåôÞñéï"/> - <l:gentext key="index" text="ÅõñåôÞñéï"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="ÍïìéêÞ Óçìåßùóç"/> - <l:gentext key="legalnotice" text="ÍïìéêÞ Óçìåßùóç"/> - <l:gentext key="MsgAud" text="ÁêñïáôÞñéï"/> - <l:gentext key="msgaud" text="ÁêñïáôÞñéï"/> - <l:gentext key="MsgLevel" text="Åðßðåäï"/> - <l:gentext key="msglevel" text="Åðßðåäï"/> - <l:gentext key="MsgOrig" text="ÐçãÞ"/> - <l:gentext key="msgorig" text="ÐçãÞ"/> - <l:gentext key="NOTE" text="ÓÇÌÅÉÙÓÇ"/> - <l:gentext key="Note" text="Óçìåßùóç"/> - <l:gentext key="note" text="Óçìåßùóç"/> - <l:gentext key="Part" text="ÌÝñïò"/> - <l:gentext key="part" text="ÌÝñïò"/> - <l:gentext key="Preface" text="ÅéóáãùãÞ"/> - <l:gentext key="preface" text="ÅéóáãùãÞ"/> - <l:gentext key="Procedure" text="Äéáäéêáóßá"/> - <l:gentext key="procedure" text="Äéáäéêáóßá"/> - <l:gentext key="Published" text="ÄçìïóéåõìÝíï"/> - <l:gentext key="published" text="ÄçìïóéåõìÝíï"/> - <l:gentext key="Question" text="Å:"/> - <l:gentext key="question" text="Å:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="ÁíáöïñÜ"/> - <l:gentext key="reference" text="ÁíáöïñÜ"/> - <l:gentext key="RefName" text="¼íïìá"/> - <l:gentext key="refname" text="¼íïìá"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Óýíïøç"/> - <l:gentext key="refsynopsisdiv" text="Óýíïøç"/> - <l:gentext key="RevHistory" text="Éóôïñéêü ÁíáèåùñÞóåùí"/> - <l:gentext key="revhistory" text="Éóôïñéêü ÁíáèåùñÞóåùí"/> - <l:gentext key="Revision" text="Áíáèåþñçóç"/> - <l:gentext key="revision" text="Áíáèåþñçóç"/> - <l:gentext key="Section" text="ÔìÞìá"/> - <l:gentext key="section" text="ôìÞìá"/> - <l:gentext key="See" text="Äåßôå"/> - <l:gentext key="see" text="Äåßôå"/> - <l:gentext key="SeeAlso" text="Äåßôå Åðßóçò"/> - <l:gentext key="seealso" text="Äåßôå Åðßóçò"/> - <l:gentext key="Seealso" text="Äåßôå åðßóçò"/> - <l:gentext key="Set" text="Óýíïëï"/> - <l:gentext key="set" text="Óýíïëï"/> - <l:gentext key="SetIndex" text="ÅõñåôÞñéï Óõíüëùí"/> - <l:gentext key="setindex" text="ÅõñåôÞñéï Óõíüëùí"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="åðåîçãçìáôéêü ðëåõñéêü áñèñßäéï"/> - <l:gentext key="Step" text="ÖÜóç"/> - <l:gentext key="step" text="öÜóç"/> - <l:gentext key="Table" text="Ðßíáêáò"/> - <l:gentext key="table" text="Ðßíáêáò"/> - <l:gentext key="TIP" text="ÕÐÏÄÅÉÎÇ"/> - <l:gentext key="Tip" text="Õðüäåéîç"/> - <l:gentext key="tip" text="Õðüäåéîç"/> - <l:gentext key="WARNING" text="ÐÑÏÅÉÄÏÐÏÉÇÓÇ"/> - <l:gentext key="Warning" text="Ðñïåéäïðïßçóç"/> - <l:gentext key="warning" text="Ðñïåéäïðïßçóç"/> - <l:gentext key="and" text="êáé"/> - <l:gentext key="by" text="áðü"/> - <l:gentext key="Edited" text="ÅðéìÝëåéá"/> - <l:gentext key="edited" text="ÅðéìÝëåéá"/> - <l:gentext key="Editedby" text="ÅðéìÝëåéá áðü"/> - <l:gentext key="editedby" text="ÅðéìÝëåéá áðü"/> - <l:gentext key="in" text="óå"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="ìç-õðáñêôü óôïé÷åßï"/> - <l:gentext key="notes" text="Óçìåéþóåéò"/> - <l:gentext key="Notes" text="Óçìåéþóåéò"/> - <l:gentext key="Pgs" text="Óëäò."/> - <l:gentext key="pgs" text="Óëäò."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Ðßíáêáò Óçìåéþóåùí"/> - <l:gentext key="tablenotes" text="Ðßíáêáò Óçìåéþóåùí"/> - <l:gentext key="TableofContents" text="Ðßíáêáò Ðåñéå÷ïìÝíùí"/> - <l:gentext key="tableofcontents" text="Ðßíáêáò Ðåñéå÷ïìÝíùí"/> - <l:gentext key="unexpectedelementname" text="Ìç áíáìåíüìåíï üíïìá óôïé÷åßïõ"/> - <l:gentext key="unsupported" text="ìç õðïóôçñéæüìåíï"/> - <l:gentext key="xrefto" text="áíôéðáñáðïìðÞ óå"/> - <l:gentext key="listofequations" text="ÊáôÜëïãïò Åîéóþóåùí"/> - <l:gentext key="ListofEquations" text="ÊáôÜëïãïò Åîéóþóåùí"/> - <l:gentext key="ListofExamples" text="ÊáôÜëïãïò ÐáñáäåéãìÜôùí"/> - <l:gentext key="listofexamples" text="ÊáôÜëïãïò ÐáñáäåéãìÜôùí"/> - <l:gentext key="ListofFigures" text="ÊáôÜëïãïò Ó÷çìÜôùí"/> - <l:gentext key="listoffigures" text="ÊáôÜëïãïò Ó÷çìÜôùí"/> - <l:gentext key="listoftables" text="ÊáôÜëïãïò ÐéíÜêùí"/> - <l:gentext key="ListofTables" text="ÊáôÜëïãïò ÐéíÜêùí"/> - <l:gentext key="ListofUnknown" text="ÊáôÜëïãïò Áãíþóôùí"/> - <l:gentext key="listofunknown" text="ÊáôÜëïãïò Áãíþóôùí"/> - <l:gentext key="nav-home" text="Áñ÷Þ"/> - <l:gentext key="nav-next" text="Åðüìåíï"/> - <l:gentext key="nav-next-sibling" text="Ðñïò ôï ôÝëïò"/> - <l:gentext key="nav-prev" text="Ðñïçã"/> - <l:gentext key="nav-prev-sibling" text="Ðñïò ôçí áñ÷Þ"/> - <l:gentext key="nav-up" text="ÐÜíù"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="ÐáñÜñôçìá %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="ÊåöÜëáéï %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Åîßóùóç %n. %t"/> - <l:template name="example" text="ÐáñÜäåéãìá %n. %t"/> - <l:template name="figure" text="Ó÷Þìá %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="ÌÝñïò %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Ðßíáêáò %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="ÐáñÜñôçìá %n. %t"/> - <l:template name="chapter" text="ÊåöÜëáéï %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="ÐáñÜñôçìá %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="ÊåöÜëáéï %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="ÐáñÜäåéãìá %n. %t"/> - <l:template name="figure" text="Ó÷Þìá %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="ÌÝñïò %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Ðßíáêáò %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="ÔìÞìá %n"/> - <l:template name="sect2" text="ÔìÞìá %n"/> - <l:template name="sect3" text="ÔìÞìá %n"/> - <l:template name="sect4" text="ÔìÞìá %n"/> - <l:template name="sect5" text="ÔìÞìá %n"/> - <l:template name="section" text="ÔìÞìá %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" êáé "/> - <l:template name="seplast" text=", êáé "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Äåßôå "/> - <l:template name="seealso" text="Äåßôå Åðßóçò "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="ÁêñïáôÞñéï: "/> - <l:template name="MsgLevel" text="Åðßðåäï: "/> - <l:template name="MsgOrig" text="ÐçãÞ: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/en.xml b/stylesheets/docbook/common/en.xml deleted file mode 100644 index 1043512f..00000000 --- a/stylesheets/docbook/common/en.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Abstract"/> - <l:gentext key="abstract" text="Abstract"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Appendix"/> - <l:gentext key="appendix" text="appendix"/> - <l:gentext key="Article" text="Article"/> - <l:gentext key="article" text="Article"/> - <l:gentext key="Bibliography" text="Bibliography"/> - <l:gentext key="bibliography" text="Bibliography"/> - <l:gentext key="Book" text="Book"/> - <l:gentext key="book" text="Book"/> - <l:gentext key="CAUTION" text="CAUTION"/> - <l:gentext key="Caution" text="Caution"/> - <l:gentext key="caution" text="Caution"/> - <l:gentext key="Chapter" text="Chapter"/> - <l:gentext key="chapter" text="chapter"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedication"/> - <l:gentext key="dedication" text="Dedication"/> - <l:gentext key="Edition" text="Edition"/> - <l:gentext key="edition" text="Edition"/> - <l:gentext key="Equation" text="Equation"/> - <l:gentext key="equation" text="Equation"/> - <l:gentext key="Example" text="Example"/> - <l:gentext key="example" text="Example"/> - <l:gentext key="Figure" text="Figure"/> - <l:gentext key="figure" text="Figure"/> - <l:gentext key="Glossary" text="Glossary"/> - <l:gentext key="glossary" text="Glossary"/> - <l:gentext key="GlossSee" text="See"/> - <l:gentext key="glosssee" text="See"/> - <l:gentext key="GlossSeeAlso" text="See Also"/> - <l:gentext key="glossseealso" text="See Also"/> - <l:gentext key="IMPORTANT" text="IMPORTANT"/> - <l:gentext key="important" text="Important"/> - <l:gentext key="Important" text="Important"/> - <l:gentext key="Index" text="Index"/> - <l:gentext key="index" text="Index"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Legal Notice"/> - <l:gentext key="legalnotice" text="Legal Notice"/> - <l:gentext key="MsgAud" text="Audience"/> - <l:gentext key="msgaud" text="Audience"/> - <l:gentext key="MsgLevel" text="Level"/> - <l:gentext key="msglevel" text="Level"/> - <l:gentext key="MsgOrig" text="Origin"/> - <l:gentext key="msgorig" text="Origin"/> - <l:gentext key="NOTE" text="NOTE"/> - <l:gentext key="Note" text="Note"/> - <l:gentext key="note" text="Note"/> - <l:gentext key="Part" text="Part"/> - <l:gentext key="part" text="Part"/> - <l:gentext key="Preface" text="Preface"/> - <l:gentext key="preface" text="Preface"/> - <l:gentext key="Procedure" text="Procedure"/> - <l:gentext key="procedure" text="Procedure"/> - <l:gentext key="ProductionSet" text="Production"/> - <l:gentext key="Published" text="Published"/> - <l:gentext key="published" text="Published"/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Reference"/> - <l:gentext key="reference" text="Reference"/> - <l:gentext key="RefName" text="Name"/> - <l:gentext key="refname" text="Name"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Revision History"/> - <l:gentext key="revhistory" text="Revision History"/> - <l:gentext key="revision" text="Revision"/> - <l:gentext key="Revision" text="Revision"/> - <l:gentext key="sect1" text="Section"/> - <l:gentext key="sect2" text="Section"/> - <l:gentext key="sect3" text="Section"/> - <l:gentext key="sect4" text="Section"/> - <l:gentext key="sect5" text="Section"/> - <l:gentext key="section" text="Section"/> - <l:gentext key="Section" text="Section"/> - <l:gentext key="See" text="See"/> - <l:gentext key="see" text="See"/> - <l:gentext key="SeeAlso" text="See Also"/> - <l:gentext key="seealso" text="See Also"/> - <l:gentext key="Seealso" text="See also"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="step"/> - <l:gentext key="Step" text="Step"/> - <l:gentext key="Table" text="Table"/> - <l:gentext key="table" text="Table"/> - <l:gentext key="tip" text="Tip"/> - <l:gentext key="TIP" text="TIP"/> - <l:gentext key="Tip" text="Tip"/> - <l:gentext key="Warning" text="Warning"/> - <l:gentext key="warning" text="Warning"/> - <l:gentext key="WARNING" text="WARNING"/> - <l:gentext key="and" text="and"/> - <l:gentext key="by" text="by"/> - <l:gentext key="Edited" text="Edited"/> - <l:gentext key="edited" text="Edited"/> - <l:gentext key="Editedby" text="Edited by"/> - <l:gentext key="editedby" text="Edited by"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="non-existant element"/> - <l:gentext key="notes" text="Notes"/> - <l:gentext key="Notes" text="Notes"/> - <l:gentext key="Pgs" text="Pgs."/> - <l:gentext key="pgs" text="Pgs."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notes"/> - <l:gentext key="tablenotes" text="Notes"/> - <l:gentext key="TableofContents" text="Table of Contents"/> - <l:gentext key="tableofcontents" text="Table of Contents"/> - <l:gentext key="unexpectedelementname" text="Unexpected element name"/> - <l:gentext key="unsupported" text="unsupported"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="List of Equations"/> - <l:gentext key="ListofEquations" text="List of Equations"/> - <l:gentext key="ListofExamples" text="List of Examples"/> - <l:gentext key="listofexamples" text="List of Examples"/> - <l:gentext key="ListofFigures" text="List of Figures"/> - <l:gentext key="listoffigures" text="List of Figures"/> - <l:gentext key="listoftables" text="List of Tables"/> - <l:gentext key="ListofTables" text="List of Tables"/> - <l:gentext key="ListofUnknown" text="List of Unknown"/> - <l:gentext key="listofunknown" text="List of Unknown"/> - <l:gentext key="nav-home" text="Home"/> - <l:gentext key="nav-next" text="Next"/> - <l:gentext key="nav-next-sibling" text="Fast Forward"/> - <l:gentext key="nav-prev" text="Prev"/> - <l:gentext key="nav-prev-sibling" text="Fast Backward"/> - <l:gentext key="nav-up" text="Up"/> - <l:gentext key="sectioncalled" text="the section called"/> - <l:gentext key="index symbols" text="Symbols"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Appendix %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Chapter %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equation %n. %t"/> - <l:template name="example" text="Example %n. %t"/> - <l:template name="figure" text="Figure %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Part %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Procedure %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Production %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Table %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="varlistentry" text=""/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Appendix %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="Chapter %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="A: %n"/> - <l:template name="appendix" text="Appendix %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Chapter %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equation %n"/> - <l:template name="example" text="Example %n"/> - <l:template name="figure" text="Figure %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Part %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Procedure %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="Q: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="Q: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Table %n"/> - <l:template name="varlistentry" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="the section called “%t”"/> - <l:template name="sect1" text="the section called “%t”"/> - <l:template name="sect2" text="the section called “%t”"/> - <l:template name="sect3" text="the section called “%t”"/> - <l:template name="sect4" text="the section called “%t”"/> - <l:template name="sect5" text="the section called “%t”"/> - <l:template name="section" text="the section called “%t”"/> - <l:template name="simplesect" text="the section called “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Section %n"/> - <l:template name="sect1" text="Section %n"/> - <l:template name="sect2" text="Section %n"/> - <l:template name="sect3" text="Section %n"/> - <l:template name="sect4" text="Section %n"/> - <l:template name="sect5" text="Section %n"/> - <l:template name="section" text="Section %n"/> - <l:template name="simplesect" text="the section called “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" and "/> - <l:template name="seplast" text=", and "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="See "/> - <l:template name="seealso" text="See Also "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audience: "/> - <l:template name="MsgLevel" text="Level: "/> - <l:template name="MsgOrig" text="Origin: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/es.xml b/stylesheets/docbook/common/es.xml deleted file mode 100644 index cecaeb69..00000000 --- a/stylesheets/docbook/common/es.xml +++ /dev/null @@ -1,361 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="es"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Resumen"/> - <l:gentext key="abstract" text="Resumen"/> - <l:gentext key="Answer" text="R:"/> - <l:gentext key="answer" text="R:"/> - <l:gentext key="Appendix" text="Apéndice"/> - <l:gentext key="appendix" text="apéndice"/> - <l:gentext key="Article" text="Artículo"/> - <l:gentext key="article" text="Artículo"/> - <l:gentext key="Bibliography" text="Bibliografía"/> - <l:gentext key="bibliography" text="Bibliografía"/> - <l:gentext key="Book" text="Libro"/> - <l:gentext key="book" text="Libro"/> - <l:gentext key="Caution" text="Atención"/> - <l:gentext key="caution" text="Atención"/> - <l:gentext key="CAUTION" text="ATENCIÓN"/> - <l:gentext key="Chapter" text="Capítulo"/> - <l:gentext key="chapter" text="capítulo"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedicado"/> - <l:gentext key="dedication" text="Dedicado"/> - <l:gentext key="Edition" text="Edición"/> - <l:gentext key="edition" text="Edición"/> - <l:gentext key="Equation" text="Ecuación"/> - <l:gentext key="equation" text="Ecuación"/> - <l:gentext key="Example" text="Ejemplo"/> - <l:gentext key="example" text="Ejemplo"/> - <l:gentext key="Figure" text="Figura"/> - <l:gentext key="figure" text="Figura"/> - <l:gentext key="Glossary" text="Glosario"/> - <l:gentext key="glossary" text="Glosario"/> - <l:gentext key="GlossSee" text="Ver"/> - <l:gentext key="glosssee" text="Ver"/> - <l:gentext key="GlossSeeAlso" text="Ver también"/> - <l:gentext key="glossseealso" text="Ver también"/> - <l:gentext key="IMPORTANT" text="IMPORTANTE"/> - <l:gentext key="Important" text="Importante"/> - <l:gentext key="important" text="Importante"/> - <l:gentext key="Index" text="Índice"/> - <l:gentext key="index" text="Índice"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Aviso Legal"/> - <l:gentext key="legalnotice" text="Aviso Legal"/> - <l:gentext key="MsgAud" text="Audiencia"/> - <l:gentext key="msgaud" text="Audiencia"/> - <l:gentext key="MsgLevel" text="Nivel"/> - <l:gentext key="msglevel" text="Nivel"/> - <l:gentext key="MsgOrig" text="Origen"/> - <l:gentext key="msgorig" text="Origen"/> - <l:gentext key="note" text="Nota"/> - <l:gentext key="NOTE" text="NOTA"/> - <l:gentext key="Note" text="Nota"/> - <l:gentext key="part" text="Parte"/> - <l:gentext key="Part" text="Parte"/> - <l:gentext key="Preface" text="Prefacio"/> - <l:gentext key="preface" text="Prefacio"/> - <l:gentext key="Procedure" text="Procedimiento"/> - <l:gentext key="procedure" text="Procedimiento"/> - <l:gentext key="ProductionSet" text="Producción"/> - <l:gentext key="PubDate" text="Fecha de publicación"/> - <l:gentext key="pubdate" text="Fecha de publicación"/> - <l:gentext key="Published" text="Publicado"/> - <l:gentext key="published" text="Publicado"/> - <l:gentext key="Question" text="P:"/> - <l:gentext key="question" text="P:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referencia"/> - <l:gentext key="reference" text="Referencia"/> - <l:gentext key="RefName" text="Nombre"/> - <l:gentext key="refname" text="Nombre"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Historial de revisiones"/> - <l:gentext key="revhistory" text="Historial de revisiones"/> - <l:gentext key="revision" text="Revisión"/> - <l:gentext key="Revision" text="Revisión"/> - <l:gentext key="Section" text="Sección"/> - <l:gentext key="section" text="sección"/> - <l:gentext key="See" text="Ver"/> - <l:gentext key="see" text="Ver"/> - <l:gentext key="seealso" text="Ver También"/> - <l:gentext key="SeeAlso" text="Ver También"/> - <l:gentext key="Seealso" text="Ver También"/> - <l:gentext key="Set" text="Conjunto"/> - <l:gentext key="set" text="Conjunto"/> - <l:gentext key="SetIndex" text="Índice del conjunto"/> - <l:gentext key="setindex" text="Índice del conjunto"/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="Sidebar" text="Sidebar"/> - <l:gentext key="Step" text="Paso"/> - <l:gentext key="step" text="paso"/> - <l:gentext key="table" text="Tabla"/> - <l:gentext key="Table" text="Tabla"/> - <l:gentext key="TIP" text="SUGERENCIA"/> - <l:gentext key="Tip" text="Sugerencia"/> - <l:gentext key="tip" text="Sugerencia"/> - <l:gentext key="warning" text="Aviso"/> - <l:gentext key="WARNING" text="AVISO"/> - <l:gentext key="Warning" text="Aviso"/> - <l:gentext key="and" text="y"/> - <l:gentext key="by" text="por"/> - <l:gentext key="Edited" text="Editado"/> - <l:gentext key="edited" text="Editado"/> - <l:gentext key="Editedby" text="Editado por"/> - <l:gentext key="editedby" text="Editado por"/> - <l:gentext key="in" text="en"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="elemento inexistente"/> - <l:gentext key="notes" text="Notas"/> - <l:gentext key="Notes" text="Notas"/> - <l:gentext key="Pgs" text="Pags."/> - <l:gentext key="pgs" text="Pags."/> - <l:gentext key="Revisedby" text="Revisado por: "/> - <l:gentext key="revisedby" text="Revisado por: "/> - <l:gentext key="TableNotes" text="Notas"/> - <l:gentext key="tablenotes" text="Notas"/> - <l:gentext key="TableofContents" text="Tabla de contenidos"/> - <l:gentext key="tableofcontents" text="Tabla de contenidos"/> - <l:gentext key="unexpectedelementname" text="Nombre de elemento inesperado"/> - <l:gentext key="unsupported" text="no soportado"/> - <l:gentext key="xrefto" text="referido a"/> - <l:gentext key="listofequations" text="Tabla de ecuaciones"/> - <l:gentext key="ListofEquations" text="Tabla de ecuaciones"/> - <l:gentext key="ListofExamples" text="Tabla de ejemplos"/> - <l:gentext key="listofexamples" text="Tabla de ejemplos"/> - <l:gentext key="ListofFigures" text="Tabla de figuras"/> - <l:gentext key="listoffigures" text="Tabla de figuras"/> - <l:gentext key="listoftables" text="Lista de tablas"/> - <l:gentext key="ListofTables" text="Lista de tablas"/> - <l:gentext key="ListofUnknown" text="Lista de ???"/> - <l:gentext key="listofunknown" text="Lista de ???"/> - <l:gentext key="nav-home" text="Inicio"/> - <l:gentext key="nav-next" text="Siguiente"/> - <l:gentext key="nav-next-sibling" text="Avanzar"/> - <l:gentext key="nav-prev" text="Anterior"/> - <l:gentext key="nav-prev-sibling" text="Retroceder"/> - <l:gentext key="nav-up" text="Subir"/> - <l:gentext key="index symbols" text="Símbolos"/> - <l:gentext key="sectioncalled" text="la sección llamada"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Apéndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ecuación %n. %t"/> - <l:template name="example" text="Ejemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Procedimiento %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Producción %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabla %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Apéndice %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="R: %n"/> - <l:template name="appendix" text="Apéndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ecuación %n"/> - <l:template name="example" text="Ejemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Procedimiento %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="P: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="P: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabla %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="“%t”"/> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Sección %n"/> - <l:template name="sect1" text="Sección %n"/> - <l:template name="sect2" text="Sección %n"/> - <l:template name="sect3" text="Sección %n"/> - <l:template name="sect4" text="Sección %n"/> - <l:template name="sect5" text="Sección %n"/> - <l:template name="section" text="Sección %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" y "/> - <l:template name="seplast" text=", y "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Ver "/> - <l:template name="seealso" text="Ver también "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audiencia: "/> - <l:template name="MsgLevel" text="Nivel: "/> - <l:template name="MsgOrig" text="Origen: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/et.xml b/stylesheets/docbook/common/et.xml deleted file mode 100644 index 20fc1a6d..00000000 --- a/stylesheets/docbook/common/et.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Ülevaade"/> - <l:gentext key="abstract" text="Ülevaade"/> - <l:gentext key="Answer" text="V:"/> - <l:gentext key="answer" text="V:"/> - <l:gentext key="Appendix" text="Lisa"/> - <l:gentext key="appendix" text="lisa"/> - <l:gentext key="Article" text="Artikkel"/> - <l:gentext key="article" text="Artikkel"/> - <l:gentext key="Bibliography" text="Bibliograafia"/> - <l:gentext key="bibliography" text="Bibliograafia"/> - <l:gentext key="Book" text="Raamat"/> - <l:gentext key="book" text="Raamat"/> - <l:gentext key="Caution" text="Ettevaatust"/> - <l:gentext key="caution" text="Ettevaatust"/> - <l:gentext key="CAUTION" text="ETTEVAATUST"/> - <l:gentext key="Chapter" text="Peatükk"/> - <l:gentext key="chapter" text="peatükk"/> - <l:gentext key="Colophon" text="Lõpumärgis"/> - <l:gentext key="colophon" text="Lõpumärgis"/> - <l:gentext key="Copyright" text="Autoriõigus"/> - <l:gentext key="copyright" text="Autoriõigus"/> - <l:gentext key="Dedication" text="Pühendus"/> - <l:gentext key="dedication" text="Pühendus"/> - <l:gentext key="Edition" text="Väljaanne"/> - <l:gentext key="edition" text="Väljaanne"/> - <l:gentext key="Equation" text="Valem"/> - <l:gentext key="equation" text="Valem"/> - <l:gentext key="Example" text="Näide"/> - <l:gentext key="example" text="Näide"/> - <l:gentext key="figure" text="Joonis"/> - <l:gentext key="Figure" text="Joonis"/> - <l:gentext key="Glossary" text="Sõnastik"/> - <l:gentext key="glossary" text="Sõnastik"/> - <l:gentext key="GlossSee" text="Vt."/> - <l:gentext key="glosssee" text="Vt."/> - <l:gentext key="GlossSeeAlso" text="Vt. ka"/> - <l:gentext key="glossseealso" text="Vt. ka"/> - <l:gentext key="IMPORTANT" text="OLULINE"/> - <l:gentext key="Important" text="Oluline"/> - <l:gentext key="important" text="Oluline"/> - <l:gentext key="Index" text="Aineregister"/> - <l:gentext key="index" text="Aineregister"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Autoriõiguse märge"/> - <l:gentext key="legalnotice" text="Autoriõiguse märge"/> - <l:gentext key="MsgAud" text="Auditoorium"/> - <l:gentext key="msgaud" text="Auditoorium"/> - <l:gentext key="MsgLevel" text="Tase"/> - <l:gentext key="msglevel" text="Tase"/> - <l:gentext key="MsgOrig" text="Algallikas"/> - <l:gentext key="msgorig" text="Algallikas"/> - <l:gentext key="NOTE" text="MÄRKUS"/> - <l:gentext key="Note" text="Märkus"/> - <l:gentext key="note" text="Märkus"/> - <l:gentext key="Part" text="Osa"/> - <l:gentext key="part" text="Osa"/> - <l:gentext key="Preface" text="Eessõna"/> - <l:gentext key="preface" text="Eessõna"/> - <l:gentext key="Procedure" text="Protseduur"/> - <l:gentext key="procedure" text="Protseduur"/> - <l:gentext key="Published" text="Avaldatud"/> - <l:gentext key="published" text="Avaldatud"/> - <l:gentext key="Question" text="K:"/> - <l:gentext key="question" text="K:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Viide"/> - <l:gentext key="reference" text="Viide"/> - <l:gentext key="RefName" text="Nimi"/> - <l:gentext key="refname" text="Nimi"/> - <l:gentext key="RefSection" text="Lõik"/> - <l:gentext key="refsection" text="Lõik"/> - <l:gentext key="RefSynopsisDiv" text="Sünopsis"/> - <l:gentext key="refsynopsisdiv" text="Sünopsis"/> - <l:gentext key="RevHistory" text="Vigade paranduste ajalugu"/> - <l:gentext key="revhistory" text="Vigade paranduste ajalugu"/> - <l:gentext key="Revision" text="Vigade parandus"/> - <l:gentext key="revision" text="Vigade parandus"/> - <l:gentext key="section" text="lõik"/> - <l:gentext key="Section" text="Sektsioon"/> - <l:gentext key="see" text="Vt."/> - <l:gentext key="See" text="Vt."/> - <l:gentext key="seealso" text="Vt. ka"/> - <l:gentext key="SeeAlso" text="Vt. ka"/> - <l:gentext key="Seealso" text="Vt. ka"/> - <l:gentext key="Set" text="Sea"/> - <l:gentext key="set" text="Sea"/> - <l:gentext key="SetIndex" text="Sea indeks"/> - <l:gentext key="setindex" text="Sea indeks"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="külgriba"/> - <l:gentext key="step" text="samm"/> - <l:gentext key="Step" text="Samm"/> - <l:gentext key="table" text="Tabel"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="TIP" text="VIHJE"/> - <l:gentext key="Tip" text="Vihje"/> - <l:gentext key="tip" text="Vihje"/> - <l:gentext key="WARNING" text="HOIATUS"/> - <l:gentext key="Warning" text="Hoiatus"/> - <l:gentext key="warning" text="Hoiatus"/> - <l:gentext key="and" text="ja"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Redaktsioon"/> - <l:gentext key="edited" text="Redaktsioon"/> - <l:gentext key="Editedby" text="Redaktsiooni autor(id)"/> - <l:gentext key="editedby" text="Redaktsiooni autor(id)"/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="mitte eksisteeriv element"/> - <l:gentext key="Notes" text="Märkused"/> - <l:gentext key="notes" text="Märkused"/> - <l:gentext key="Pgs" text="Lk."/> - <l:gentext key="pgs" text="Lk."/> - <l:gentext key="Revisedby" text="Üle vaadanud: "/> - <l:gentext key="revisedby" text="Üle vaadanud: "/> - <l:gentext key="TableNotes" text="Märkused"/> - <l:gentext key="tablenotes" text="Märkused"/> - <l:gentext key="TableofContents" text="Sisukord"/> - <l:gentext key="tableofcontents" text="Sisukord"/> - <l:gentext key="unexpectedelementname" text="Ootamatu elemendi nimi"/> - <l:gentext key="unsupported" text="toetuseta"/> - <l:gentext key="xrefto" text="viide"/> - <l:gentext key="listofequations" text="Valemite nimekiri"/> - <l:gentext key="ListofEquations" text="Valemite nimekiri"/> - <l:gentext key="ListofExamples" text="Näidete nimekiri"/> - <l:gentext key="listofexamples" text="Näidete nimekiri"/> - <l:gentext key="ListofFigures" text="Jooniste nimekiri"/> - <l:gentext key="listoffigures" text="Jooniste nimekiri"/> - <l:gentext key="listoftables" text="Tabelite nimekiri"/> - <l:gentext key="ListofTables" text="Tabelite nimekiri"/> - <l:gentext key="ListofUnknown" text="Tundmatute nimekiri"/> - <l:gentext key="listofunknown" text="Tundmatute nimekiri"/> - <l:gentext key="nav-home" text="Koju"/> - <l:gentext key="nav-next" text="Järgmine"/> - <l:gentext key="nav-next-sibling" text="Kiiresti edasi"/> - <l:gentext key="nav-prev" text="Eelmine"/> - <l:gentext key="nav-prev-sibling" text="Kiiresti tagasi"/> - <l:gentext key="nav-up" text="Üles"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Lisa %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Peatükk %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Valem %n. %t"/> - <l:template name="example" text="Näide %n. %t"/> - <l:template name="figure" text="Joonis %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Osa %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Lisa %n. %t"/> - <l:template name="chapter" text="Peatükk %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Lisa %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Peatükk %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Näide %n. %t"/> - <l:template name="figure" text="Joonis %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Osa %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Sektsioon %n"/> - <l:template name="sect2" text="Sektsioon %n"/> - <l:template name="sect3" text="Sektsioon %n"/> - <l:template name="sect4" text="Sektsioon %n"/> - <l:template name="sect5" text="Sektsioon %n"/> - <l:template name="section" text="Sektsioon %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" ja "/> - <l:template name="seplast" text=", ja "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Vt. "/> - <l:template name="seealso" text="Vt. ka "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Auditoorium: "/> - <l:template name="MsgLevel" text="Tase: "/> - <l:template name="MsgOrig" text="Algallikas: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/eu.xml b/stylesheets/docbook/common/eu.xml deleted file mode 100644 index 0bf7d78f..00000000 --- a/stylesheets/docbook/common/eu.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Laburpena"/> - <l:gentext key="abstract" text="Laburpena"/> - <l:gentext key="Answer" text="E:"/> - <l:gentext key="answer" text="E:"/> - <l:gentext key="Appendix" text="Eranskina"/> - <l:gentext key="appendix" text="eranskina"/> - <l:gentext key="Article" text="Artikulua"/> - <l:gentext key="article" text="Artikulua"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Liburua"/> - <l:gentext key="book" text="Liburua"/> - <l:gentext key="CAUTION" text="KONTUZ"/> - <l:gentext key="Caution" text="Kontuz"/> - <l:gentext key="caution" text="Kontuz"/> - <l:gentext key="Chapter" text="Atala"/> - <l:gentext key="chapter" text="atala"/> - <l:gentext key="Colophon" text="Azken ohar"/> - <l:gentext key="colophon" text="Azken ohar"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Eskaintza"/> - <l:gentext key="dedication" text="Eskaintza"/> - <l:gentext key="Edition" text="Edizioa"/> - <l:gentext key="edition" text="Edizioa"/> - <l:gentext key="Equation" text="Ekuazioa"/> - <l:gentext key="equation" text="Ekuazioa"/> - <l:gentext key="Example" text="Adibidea"/> - <l:gentext key="example" text="Adibidea"/> - <l:gentext key="Figure" text="Irudia"/> - <l:gentext key="figure" text="Irudia"/> - <l:gentext key="Glossary" text="Glosarioa"/> - <l:gentext key="glossary" text="Glosarioa"/> - <l:gentext key="GlossSee" text="Ikus"/> - <l:gentext key="glosssee" text="Ikus"/> - <l:gentext key="GlossSeeAlso" text="Ikus baita ere"/> - <l:gentext key="glossseealso" text="Ikus baita ere"/> - <l:gentext key="IMPORTANT" text="GARRANTZITSUA"/> - <l:gentext key="important" text="Garrantzitsua"/> - <l:gentext key="Important" text="Garrantzitsua"/> - <l:gentext key="Index" text="Indizea"/> - <l:gentext key="index" text="Indizea"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Legezko abisua"/> - <l:gentext key="legalnotice" text="Legezko abisua"/> - <l:gentext key="MsgAud" text="Audientzia"/> - <l:gentext key="msgaud" text="Audientzia"/> - <l:gentext key="MsgLevel" text="Maila"/> - <l:gentext key="msglevel" text="Maila"/> - <l:gentext key="MsgOrig" text="Jatorria"/> - <l:gentext key="msgorig" text="Jatorria"/> - <l:gentext key="NOTE" text="OHARRA"/> - <l:gentext key="Note" text="Oharra"/> - <l:gentext key="note" text="Oharra"/> - <l:gentext key="Part" text="Zatia"/> - <l:gentext key="part" text="Zatia"/> - <l:gentext key="Preface" text="Hitzaurrea"/> - <l:gentext key="preface" text="Hitzaurrea"/> - <l:gentext key="Procedure" text="Prozedura"/> - <l:gentext key="procedure" text="Prozedura"/> - <l:gentext key="ProductionSet" text="Ekoizpena"/> - <l:gentext key="Published" text="Argitaratua"/> - <l:gentext key="published" text="Argitaratua"/> - <l:gentext key="Question" text="G:"/> - <l:gentext key="question" text="G:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Erreferentzia"/> - <l:gentext key="reference" text="Erreferentzia"/> - <l:gentext key="RefName" text="Izena"/> - <l:gentext key="refname" text="Izena"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Laburpena"/> - <l:gentext key="refsynopsisdiv" text="Laburpena"/> - <l:gentext key="RevHistory" text="Berrikuspenaren historia"/> - <l:gentext key="revhistory" text="Berrikuspenaren historia"/> - <l:gentext key="revision" text="Berrikuspena"/> - <l:gentext key="Revision" text="Berrikuspena"/> - <l:gentext key="sect1" text="Atala"/> - <l:gentext key="sect2" text="Atala"/> - <l:gentext key="sect3" text="Atala"/> - <l:gentext key="sect4" text="Atala"/> - <l:gentext key="sect5" text="Atala"/> - <l:gentext key="section" text="Atala"/> - <l:gentext key="Section" text="Atala"/> - <l:gentext key="See" text="Ikus"/> - <l:gentext key="see" text="Ikus"/> - <l:gentext key="SeeAlso" text="Ikus baita ere"/> - <l:gentext key="seealso" text="Ikus baita ere"/> - <l:gentext key="Seealso" text="Ikus baita ere"/> - <l:gentext key="set" text="Konfiguratu"/> - <l:gentext key="Set" text="Konfiguratu"/> - <l:gentext key="setindex" text="Konfiguratu indizea"/> - <l:gentext key="SetIndex" text="Konfiguratu indizea"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="alboko barra"/> - <l:gentext key="step" text="urratsa"/> - <l:gentext key="Step" text="Urratsa"/> - <l:gentext key="Table" text="Taula"/> - <l:gentext key="table" text="Taula"/> - <l:gentext key="tip" text="Iradokizuna"/> - <l:gentext key="TIP" text="IRADOKIZUNA"/> - <l:gentext key="Tip" text="Iradokizuna"/> - <l:gentext key="Warning" text="Abisua"/> - <l:gentext key="warning" text="Abisua"/> - <l:gentext key="WARNING" text="ABISUA"/> - <l:gentext key="and" text="eta"/> - <l:gentext key="by" text="Honek"/> - <l:gentext key="Edited" text="editatua"/> - <l:gentext key="edited" text="editatua"/> - <l:gentext key="Editedby" text="Honek editatua"/> - <l:gentext key="editedby" text="Honek editatua"/> - <l:gentext key="in" text="non"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="lehendik ez dagoen elementua"/> - <l:gentext key="notes" text="Oharrak"/> - <l:gentext key="Notes" text="Oharrak"/> - <l:gentext key="Pgs" text="Orr."/> - <l:gentext key="pgs" text="Orr."/> - <l:gentext key="Revisedby" text="Berrikuspena: "/> - <l:gentext key="revisedby" text="Berrikuspena: "/> - <l:gentext key="TableNotes" text="Oharrak"/> - <l:gentext key="tablenotes" text="Oharrak"/> - <l:gentext key="TableofContents" text="Edukien aurkibidea"/> - <l:gentext key="tableofcontents" text="Edukien aurkibidea"/> - <l:gentext key="unexpectedelementname" text="Ustekabeko elemetu-izena"/> - <l:gentext key="unsupported" text="onartzen ez den"/> - <l:gentext key="xrefto" text="xref honi"/> - <l:gentext key="listofequations" text="Ekuazioen zerrenda"/> - <l:gentext key="ListofEquations" text="Ekuazioen zerrenda"/> - <l:gentext key="ListofExamples" text="Adibideen zerrenda"/> - <l:gentext key="listofexamples" text="Adibideen zerrenda"/> - <l:gentext key="ListofFigures" text="Irudien zerrenda"/> - <l:gentext key="listoffigures" text="Irudien zerrenda"/> - <l:gentext key="listoftables" text="Taulen zerrenda"/> - <l:gentext key="ListofTables" text="Taulen zerrenda"/> - <l:gentext key="ListofUnknown" text="Ezezagunen zerrenda"/> - <l:gentext key="listofunknown" text="Ezazagunen zerrenda"/> - <l:gentext key="nav-home" text="Etxea"/> - <l:gentext key="nav-next" text="Hurrengoa"/> - <l:gentext key="nav-next-sibling" text="Aurreratze azkarra"/> - <l:gentext key="nav-prev" text="Aurrekoa"/> - <l:gentext key="nav-prev-sibling" text="Atzeratze azkarra"/> - <l:gentext key="nav-up" text="Gora"/> - <l:gentext key="sectioncalled" text="honela deritzon atala"/> - <l:gentext key="index symbols" text="Ikurrak"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Eranskina %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Atala %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ekuazioa %n. %t"/> - <l:template name="example" text="Adibidea %n. %t"/> - <l:template name="figure" text="Irudia %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Zatia %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Prozedura %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Ekoizpena %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Taula %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="varlistentry" text=""/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Eranskina %n. %t"/> - <l:template name="chapter" text="Atala %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="E: %n"/> - <l:template name="appendix" text="Eranskina %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Atala %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ekuazioa %n"/> - <l:template name="example" text="Adibidea %n"/> - <l:template name="figure" text="Irudia %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Zatia %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Prozedura %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="G: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="G: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Taula %n"/> - <l:template name="varlistentry" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="honela deritzon atala “%t”"/> - <l:template name="sect1" text="honela deritzon atala “%t”"/> - <l:template name="sect2" text="honela deritzon atala “%t”"/> - <l:template name="sect3" text="honela deritzon atala “%t”"/> - <l:template name="sect4" text="honela deritzon atala “%t”"/> - <l:template name="sect5" text="honela deritzon atala “%t”"/> - <l:template name="section" text="honela deritzon atala “%t”"/> - <l:template name="simplesect" text="honela deritzon atala “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Atala %n"/> - <l:template name="sect1" text="Atala %n"/> - <l:template name="sect2" text="Atala %n"/> - <l:template name="sect3" text="Atala %n"/> - <l:template name="sect4" text="Atala %n"/> - <l:template name="sect5" text="Atala %n"/> - <l:template name="section" text="Atala %n"/> - <l:template name="simplesect" text="honela deritzon atala “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" eta "/> - <l:template name="seplast" text=", eta "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Ikus "/> - <l:template name="seealso" text="Ikus baita ere "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audientzia: "/> - <l:template name="MsgLevel" text="Maila: "/> - <l:template name="MsgOrig" text="Jatorria: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/fi.xml b/stylesheets/docbook/common/fi.xml deleted file mode 100644 index b1a792ec..00000000 --- a/stylesheets/docbook/common/fi.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fi"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Lyhennelmä"/> - <l:gentext key="abstract" text="Lyhennelmä"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Liite"/> - <l:gentext key="appendix" text="liite"/> - <l:gentext key="Article" text="Artikkeli"/> - <l:gentext key="article" text="Artikkeli"/> - <l:gentext key="Bibliography" text="Lähteet"/> - <l:gentext key="bibliography" text="Lähteet"/> - <l:gentext key="Book" text="Kirja"/> - <l:gentext key="book" text="Kirja"/> - <l:gentext key="Caution" text="Varo"/> - <l:gentext key="caution" text="Varo"/> - <l:gentext key="CAUTION" text="VARO"/> - <l:gentext key="Chapter" text="Luku"/> - <l:gentext key="chapter" text="luku"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Omistus"/> - <l:gentext key="dedication" text="Omistus"/> - <l:gentext key="Edition" text="Edition"/> - <l:gentext key="edition" text="Edition"/> - <l:gentext key="Equation" text="Kaava"/> - <l:gentext key="equation" text="Kaava"/> - <l:gentext key="Example" text="Esimerkki"/> - <l:gentext key="example" text="Esimerkki"/> - <l:gentext key="Figure" text="Kuva"/> - <l:gentext key="figure" text="Kuva"/> - <l:gentext key="Glossary" text="Sanasto"/> - <l:gentext key="glossary" text="Sanasto"/> - <l:gentext key="GlossSee" text="Katso"/> - <l:gentext key="glosssee" text="Katso"/> - <l:gentext key="GlossSeeAlso" text="Katso myös"/> - <l:gentext key="glossseealso" text="Katso myös"/> - <l:gentext key="IMPORTANT" text="TÄRKEÄÄ"/> - <l:gentext key="Important" text="Tärkeää"/> - <l:gentext key="important" text="Tärkeää"/> - <l:gentext key="Index" text="Indeksi"/> - <l:gentext key="index" text="Indeksi"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Yleisö"/> - <l:gentext key="msgaud" text="Yleisö"/> - <l:gentext key="MsgLevel" text="Taso"/> - <l:gentext key="msglevel" text="Taso"/> - <l:gentext key="MsgOrig" text="Alkuperä"/> - <l:gentext key="msgorig" text="Alkuperä"/> - <l:gentext key="note" text="Huomaa"/> - <l:gentext key="NOTE" text="HUOMAA"/> - <l:gentext key="Note" text="Huomaa"/> - <l:gentext key="Part" text="Osa"/> - <l:gentext key="part" text="Osa"/> - <l:gentext key="Preface" text="Esipuhe"/> - <l:gentext key="preface" text="Esipuhe"/> - <l:gentext key="Procedure" text="Aliohjelma"/> - <l:gentext key="procedure" text="Aliohjelma"/> - <l:gentext key="Published" text="Julkaistu"/> - <l:gentext key="published" text="Julkaistu"/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Lähdeluettelo"/> - <l:gentext key="reference" text="Lähdeluettelo"/> - <l:gentext key="RefName" text="Nimi"/> - <l:gentext key="refname" text="Nimi"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Versiohistoria"/> - <l:gentext key="revhistory" text="Versiohistoria"/> - <l:gentext key="Revision" text="Versio"/> - <l:gentext key="revision" text="Versio"/> - <l:gentext key="Section" text="Kohta"/> - <l:gentext key="section" text="kohta"/> - <l:gentext key="see" text="Katso"/> - <l:gentext key="See" text="Katso"/> - <l:gentext key="Seealso" text="Katso myös"/> - <l:gentext key="seealso" text="Katso myös"/> - <l:gentext key="SeeAlso" text="Katso myös"/> - <l:gentext key="set" text="Kokoelma"/> - <l:gentext key="Set" text="Kokoelma"/> - <l:gentext key="SetIndex" text="Kokoelman indeksi"/> - <l:gentext key="setindex" text="Kokoelman indeksi"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sivupalkki"/> - <l:gentext key="step" text="step"/> - <l:gentext key="Step" text="Step"/> - <l:gentext key="table" text="Taulu"/> - <l:gentext key="Table" text="Taulu"/> - <l:gentext key="TIP" text="VIHJE"/> - <l:gentext key="Tip" text="Vihje"/> - <l:gentext key="tip" text="Vihje"/> - <l:gentext key="WARNING" text="VAROITUS"/> - <l:gentext key="Warning" text="Varoitus"/> - <l:gentext key="warning" text="Varoitus"/> - <l:gentext key="and" text="ja"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Toim."/> - <l:gentext key="edited" text="Toim."/> - <l:gentext key="Editedby" text="Toimittanut"/> - <l:gentext key="editedby" text="Toimittanut"/> - <l:gentext key="in" text="teoksessa"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="elementtiä ei ole olemassa"/> - <l:gentext key="notes" text=""/> - <l:gentext key="Notes" text=""/> - <l:gentext key="Pgs" text="Sivut"/> - <l:gentext key="pgs" text="Sivut"/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text=""/> - <l:gentext key="tablenotes" text=""/> - <l:gentext key="TableofContents" text="Sisällys"/> - <l:gentext key="tableofcontents" text="Sisällys"/> - <l:gentext key="unexpectedelementname" text="Odottamaton elementin nimi"/> - <l:gentext key="unsupported" text="ei tueta"/> - <l:gentext key="xrefto" text="xref johonkin"/> - <l:gentext key="listofequations" text="Luettelo esimerkeistä"/> - <l:gentext key="ListofEquations" text="Luettelo esimerkeistä"/> - <l:gentext key="ListofExamples" text="Luettelo esimerkeistä"/> - <l:gentext key="listofexamples" text="Luettelo esimerkeistä"/> - <l:gentext key="ListofFigures" text="Luettelo kuvista"/> - <l:gentext key="listoffigures" text="Luettelo kuvista"/> - <l:gentext key="listoftables" text="Luettelo tauluista"/> - <l:gentext key="ListofTables" text="Luettelo tauluista"/> - <l:gentext key="ListofUnknown" text="Luettelo tuntemattomista"/> - <l:gentext key="listofunknown" text="Luettelo tuntemattomista"/> - <l:gentext key="nav-home" text="Alkuun"/> - <l:gentext key="nav-next" text="Seuraava"/> - <l:gentext key="nav-next-sibling" text="Nopeasti eteenpäin"/> - <l:gentext key="nav-prev" text="Edellinen"/> - <l:gentext key="nav-prev-sibling" text="Nopeasti taaksepäin"/> - <l:gentext key="nav-up" text="Ylös"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Liite %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Luku %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Kaava %n. %t"/> - <l:template name="example" text="Esimerkki %n. %t"/> - <l:template name="figure" text="Kuva %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Osa %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Taulu %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Liite %n. %t"/> - <l:template name="chapter" text="Luku %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Liite %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Luku %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Esimerkki %n. %t"/> - <l:template name="figure" text="Kuva %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Osa %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Taulu %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Kohta %n"/> - <l:template name="sect2" text="Kohta %n"/> - <l:template name="sect3" text="Kohta %n"/> - <l:template name="sect4" text="Kohta %n"/> - <l:template name="sect5" text="Kohta %n"/> - <l:template name="section" text="Kohta %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" ja "/> - <l:template name="seplast" text=", ja "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Katso "/> - <l:template name="seealso" text="Katso myös "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Yleisö: "/> - <l:template name="MsgLevel" text="Taso: "/> - <l:template name="MsgOrig" text="Alkuperä: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/fr.xml b/stylesheets/docbook/common/fr.xml deleted file mode 100644 index 49fdf55f..00000000 --- a/stylesheets/docbook/common/fr.xml +++ /dev/null @@ -1,370 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fr"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Résumé"/> - <l:gentext key="abstract" text="Résumé"/> - <l:gentext key="Answer" text="R :"/> - <l:gentext key="answer" text="R :"/> - <l:gentext key="Appendix" text="Annexe"/> - <l:gentext key="appendix" text="annexe"/> - <l:gentext key="Article" text="Article"/> - <l:gentext key="article" text="Article"/> - <l:gentext key="Bibliography" text="Bibliographie"/> - <l:gentext key="bibliography" text="Bibliographie"/> - <l:gentext key="Book" text="Livre"/> - <l:gentext key="book" text="Livre"/> - <l:gentext key="Caution" text="Attention"/> - <l:gentext key="caution" text="Attention"/> - <l:gentext key="CAUTION" text="ATTENTION"/> - <l:gentext key="Chapter" text="Chapitre"/> - <l:gentext key="chapter" text="chapitre"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dédicace"/> - <l:gentext key="dedication" text="Dédicace"/> - <l:gentext key="Edition" text="Édition"/> - <l:gentext key="edition" text="Édition"/> - <l:gentext key="Equation" text="Équation"/> - <l:gentext key="equation" text="Équation"/> - <l:gentext key="Example" text="Exemple"/> - <l:gentext key="example" text="Exemple"/> - <l:gentext key="Figure" text="Figure"/> - <l:gentext key="figure" text="Figure"/> - <l:gentext key="Glossary" text="Glossaire"/> - <l:gentext key="glossary" text="Glossaire"/> - <l:gentext key="GlossSee" text="Voir"/> - <l:gentext key="glosssee" text="Voir"/> - <l:gentext key="GlossSeeAlso" text="Voir aussi"/> - <l:gentext key="glossseealso" text="Voir aussi"/> - <l:gentext key="IMPORTANT" text="IMPORTANT"/> - <l:gentext key="Important" text="Important"/> - <l:gentext key="important" text="Important"/> - <l:gentext key="Index" text="Index"/> - <l:gentext key="index" text="Index"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Note légale"/> - <l:gentext key="legalnotice" text="Note légale"/> - <l:gentext key="MsgAud" text="Public visé"/> - <l:gentext key="msgaud" text="Public visé"/> - <l:gentext key="MsgLevel" text="Niveau"/> - <l:gentext key="msglevel" text="Niveau"/> - <l:gentext key="MsgOrig" text="Origine"/> - <l:gentext key="msgorig" text="Origine"/> - <l:gentext key="Note" text="Note"/> - <l:gentext key="NOTE" text="NOTE"/> - <l:gentext key="note" text="NOTE"/> - <l:gentext key="Part" text="Partie"/> - <l:gentext key="part" text="Partie"/> - <l:gentext key="Preface" text="Préface"/> - <l:gentext key="preface" text="Préface"/> - <l:gentext key="Procedure" text="Procédure"/> - <l:gentext key="procedure" text="Procédure"/> - <l:gentext key="ProductionSet" text="Production"/> - <l:gentext key="Published" text="Publié"/> - <l:gentext key="published" text="Publié"/> - <l:gentext key="Question" text="Q :"/> - <l:gentext key="question" text="Q :"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Référence"/> - <l:gentext key="reference" text="Référence"/> - <l:gentext key="RefName" text="Nom"/> - <l:gentext key="refname" text="Nom"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Historique des versions"/> - <l:gentext key="revhistory" text="Historique des versions"/> - <l:gentext key="Revision" text="Version"/> - <l:gentext key="revision" text="Version"/> - <l:gentext key="sect1" text="Section"/> - <l:gentext key="sect2" text="Section"/> - <l:gentext key="sect3" text="Section"/> - <l:gentext key="sect4" text="Section"/> - <l:gentext key="sect5" text="Section"/> - <l:gentext key="Section" text="Section"/> - <l:gentext key="section" text="section"/> - <l:gentext key="see" text="Voir"/> - <l:gentext key="See" text="Voir"/> - <l:gentext key="seealso" text="Voir Aussi"/> - <l:gentext key="SeeAlso" text="Voir Aussi"/> - <l:gentext key="Seealso" text="Voir aussi"/> - <l:gentext key="Set" text="Ensemble"/> - <l:gentext key="set" text="Ensemble"/> - <l:gentext key="setindex" text="Index"/> - <l:gentext key="SetIndex" text="Index"/> - <l:gentext key="sidebar" text=""/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="Step" text="Étape"/> - <l:gentext key="step" text="étape"/> - <l:gentext key="table" text="Tableau"/> - <l:gentext key="Table" text="Tableau"/> - <l:gentext key="tip" text="TUYAU"/> - <l:gentext key="TIP" text="TUYAU"/> - <l:gentext key="Tip" text="Tuyau"/> - <l:gentext key="Warning" text="Avertissement"/> - <l:gentext key="WARNING" text="AVERTISSEMENT"/> - <l:gentext key="warning" text="AVERTISSEMENT"/> - <l:gentext key="and" text="et"/> - <l:gentext key="by" text="par"/> - <l:gentext key="Edited" text="Publié"/> - <l:gentext key="edited" text="Publié"/> - <l:gentext key="Editedby" text="Publié par"/> - <l:gentext key="editedby" text="Publié par"/> - <l:gentext key="in" text="dans"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="Cet élément n'existe pas"/> - <l:gentext key="notes" text="Notes"/> - <l:gentext key="Notes" text="Notes"/> - <l:gentext key="Pgs" text="Pages"/> - <l:gentext key="pgs" text="Pages"/> - <l:gentext key="Revisedby" text="Revu par : "/> - <l:gentext key="revisedby" text="Revu par : "/> - <l:gentext key="TableNotes" text="Remarques"/> - <l:gentext key="tablenotes" text="Remarques"/> - <l:gentext key="TableofContents" text="Table des matières"/> - <l:gentext key="tableofcontents" text="Table des matières"/> - <l:gentext key="unexpectedelementname" text="Nom d'élément non attendu"/> - <l:gentext key="unsupported" text="Non reconnu par le système"/> - <l:gentext key="xrefto" text="Référence vers"/> - <l:gentext key="listofequations" text="Liste des équations"/> - <l:gentext key="ListofEquations" text="Liste des équations"/> - <l:gentext key="ListofExamples" text="Liste des exemples"/> - <l:gentext key="listofexamples" text="Liste des exemples"/> - <l:gentext key="ListofFigures" text="Liste des illustrations"/> - <l:gentext key="listoffigures" text="Liste des illustrations"/> - <l:gentext key="listoftables" text="Liste des tableaux"/> - <l:gentext key="ListofTables" text="Liste des tableaux"/> - <l:gentext key="ListofUnknown" text="Liste des inconnues"/> - <l:gentext key="listofunknown" text="Liste des inconnues"/> - <l:gentext key="nav-home" text="Sommaire"/> - <l:gentext key="nav-next" text="Suivant"/> - <l:gentext key="nav-next-sibling" text="Avance rapide"/> - <l:gentext key="nav-prev" text="Précédent"/> - <l:gentext key="nav-prev-sibling" text="Arrière rapide"/> - <l:gentext key="nav-up" text="Niveau supérieur"/> - <l:gentext key="sectioncalled" text="la section intitulée"/> - <l:gentext key="index symbols" text="Symboles"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="«"/> - <l:dingbat key="endquote" text="»"/> - <l:dingbat key="singlestartquote" text="‹"/> - <l:dingbat key="singleendquote" text="›"/> - <l:dingbat key="nestedstartquote" text="«"/> - <l:dingbat key="nestedendquote" text="»"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Annexe %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Chapitre %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Équation %n. %t"/> - <l:template name="example" text="Exemple %n. %t"/> - <l:template name="figure" text="Figure %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Partie %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Procédure %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Production %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tableau %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Annexe %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="Chapitre %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="R : %n"/> - <l:template name="appendix" text="Annexe %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Chapitre %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Équation %n"/> - <l:template name="example" text="Exemple %n. %t"/> - <l:template name="equation" text="Équation %n"/> - <l:template name="figure" text="Figure %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Partie %n. %t"/> - <l:template name="procedure" text="Procédure %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="Q : %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="Q : %n"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tableau %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="la section intitulée “%t”"/> - <l:template name="sect1" text="la section intitulée “%t”"/> - <l:template name="sect2" text="la section intitulée “%t”"/> - <l:template name="sect3" text="la section intitulée “%t”"/> - <l:template name="sect4" text="la section intitulée “%t”"/> - <l:template name="sect5" text="la section intitulée “%t”"/> - <l:template name="section" text="la section intitulée “%t”"/> - <l:template name="simplesect" text="la section intitulée “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Section %n"/> - <l:template name="sect1" text="Section %n"/> - <l:template name="sect2" text="Section %n"/> - <l:template name="sect3" text="Section %n"/> - <l:template name="sect4" text="Section %n"/> - <l:template name="sect5" text="Section %n"/> - <l:template name="section" text="Section %n"/> - <l:template name="simplesect" text="la section intitulée “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" et "/> - <l:template name="seplast" text=", et "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Voir "/> - <l:template name="seealso" text="Voir aussi "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Public visé: "/> - <l:template name="MsgLevel" text="Niveau: "/> - <l:template name="MsgOrig" text="Origine: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/gentext.xsl b/stylesheets/docbook/common/gentext.xsl deleted file mode 100644 index e54ae2b5..00000000 --- a/stylesheets/docbook/common/gentext.xsl +++ /dev/null @@ -1,307 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.title.template"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="chapter" mode="object.title.template"> - <xsl:choose> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-numbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-unnumbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="appendix" mode="object.title.template"> - <xsl:choose> - <xsl:when test="$appendix.autolabel != 0"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-numbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-unnumbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect - |bridgehead" - mode="object.title.template"> - <xsl:choose> - <xsl:when test="$section.autolabel != 0"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-numbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title-unnumbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="procedure" mode="object.title.template"> - <xsl:choose> - <xsl:when test="$formal.procedures != 0"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title'"/> - <xsl:with-param name="name" select="'procedure.formal'"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'title'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="article/appendix" - mode="object.title.template"> - <!-- FIXME: HACK HACK HACK! --> - <xsl:text>%n. %t</xsl:text> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.subtitle.template"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'subtitle'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.xref.template"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'xref'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="section|simplesect - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |bridgehead" - mode="object.xref.template"> - <xsl:choose> - <xsl:when test="$section.autolabel != 0"> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'section-xref-numbered'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'section-xref'"/> - <xsl:with-param name="name" select="local-name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="template"> - <xsl:apply-templates select="." mode="object.title.template"/> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>object.title.markup: </xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text>: </xsl:text> - <xsl:value-of select="$template"/> - </xsl:message> ---> - - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" select="$template"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="*" mode="object.title.markup.textonly"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:variable> - <xsl:value-of select="$title"/> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.subtitle.markup"> - <xsl:variable name="template"> - <xsl:apply-templates select="." mode="object.subtitle.template"/> - </xsl:variable> - - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="template" select="$template"/> - </xsl:call-template> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="object.xref.markup"> - <xsl:variable name="template"> - <xsl:apply-templates select="." mode="object.xref.template"/> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>object.xref.markup: </xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text>: </xsl:text> - <xsl:value-of select="$template"/> - </xsl:message> ---> - - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="template" select="$template"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="listitem" mode="object.xref.markup"> - <xsl:choose> - <xsl:when test="parent::orderedlist"> - <xsl:variable name="template"> - <xsl:apply-templates select="." mode="object.xref.template"/> - </xsl:variable> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="template" select="$template"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Xref is only supported to listitems in an</xsl:text> - <xsl:text> orderedlist: </xsl:text> - <xsl:value-of select="@id"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template name="substitute-markup"> - <xsl:param name="template" select="''"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:variable name="bef-perc" select="substring-before($template, '%')"/> - - <xsl:choose> - <xsl:when test="not(contains($template, '%'))"> - <xsl:value-of select="$template"/> - </xsl:when> - <xsl:when test="starts-with($template, '%')"> - <xsl:choose> - <!-- n=1 --> - <xsl:when test="starts-with($template, '%n')"> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%n')"/> - </xsl:call-template> - </xsl:when> - - <!-- t=1 --> - <xsl:when test="starts-with($template, '%t')"> - <xsl:apply-templates select="." mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%t')"/> - </xsl:call-template> - </xsl:when> - - <!-- s=1 --> - <xsl:when test="starts-with($template, '%s')"> - <xsl:apply-templates select="." mode="subtitle.markup"/> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%s')"/> - </xsl:call-template> - </xsl:when> - - <!-- p=1 --> - <xsl:when test="starts-with($template, '%p')"> - <xsl:apply-templates select="." mode="pagenumber.markup"/> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%p')"/> - </xsl:call-template> - </xsl:when> - - <!-- %% --> - <xsl:when test="starts-with($template, '%%')"> - <xsl:value-of select="'%'"/> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%p')"/> - </xsl:call-template> - </xsl:when> - - <xsl:otherwise> - <xsl:message> - <xsl:text>Unexpected %-value in template: </xsl:text> - <xsl:value-of select="substring($template, 1, 2)"/> - </xsl:message> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="substring-after($template, '%')"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$bef-perc"/> - <xsl:call-template name="substitute-markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - <xsl:with-param name="template" - select="concat('%',substring-after($template, '%'))"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ============================================================ --> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/common/hu.xml b/stylesheets/docbook/common/hu.xml deleted file mode 100644 index 2aaa5fce..00000000 --- a/stylesheets/docbook/common/hu.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hu"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Kivonat"/> - <l:gentext key="abstract" text="kivonat"/> - <l:gentext key="Answer" text="Válasz"/> - <l:gentext key="answer" text="válasz"/> - <l:gentext key="Appendix" text="Függelék"/> - <l:gentext key="appendix" text="függelék"/> - <l:gentext key="Article" text="Cikk"/> - <l:gentext key="article" text="cikk"/> - <l:gentext key="Bibliography" text="Irodalomjegyzék"/> - <l:gentext key="bibliography" text="irodalomjegyzék"/> - <l:gentext key="Book" text="Könyv"/> - <l:gentext key="book" text="könyv"/> - <l:gentext key="Caution" text="Figyelem"/> - <l:gentext key="caution" text="figyelem"/> - <l:gentext key="CAUTION" text="FIGYELEM"/> - <l:gentext key="Chapter" text="Fejezet"/> - <l:gentext key="chapter" text="fejezet"/> - <l:gentext key="Colophon" text="Végszó"/> - <l:gentext key="colophon" text="végszó"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="copyright"/> - <l:gentext key="Dedication" text="Ajánlás"/> - <l:gentext key="dedication" text="ajánlás"/> - <l:gentext key="Edition" text="Kiadás"/> - <l:gentext key="edition" text="kiadás"/> - <l:gentext key="Equation" text="Egyenlet"/> - <l:gentext key="equation" text="egyenlet"/> - <l:gentext key="Example" text="Példa"/> - <l:gentext key="example" text="példa"/> - <l:gentext key="Figure" text="Ábra"/> - <l:gentext key="figure" text="ábra"/> - <l:gentext key="Glossary" text="Szójegyzék"/> - <l:gentext key="glossary" text="szójegyzék"/> - <l:gentext key="GlossSee" text="Lásd"/> - <l:gentext key="glosssee" text="lásd"/> - <l:gentext key="GlossSeeAlso" text="Lásd még"/> - <l:gentext key="glossseealso" text="lásd még"/> - <l:gentext key="IMPORTANT" text="FONTOS"/> - <l:gentext key="Important" text="Fontos"/> - <l:gentext key="important" text="fontos"/> - <l:gentext key="Index" text="Tárgymutató"/> - <l:gentext key="index" text="tárgymutató"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="isbn"/> - <l:gentext key="LegalNotice" text="Jogi közlemény"/> - <l:gentext key="legalnotice" text="jogi közlemény"/> - <l:gentext key="MsgAud" text="Célközönség"/> - <l:gentext key="msgaud" text="célközönség"/> - <l:gentext key="MsgLevel" text="Szint"/> - <l:gentext key="msglevel" text="szint"/> - <l:gentext key="MsgOrig" text="Eredet"/> - <l:gentext key="msgorig" text="eredet"/> - <l:gentext key="NOTE" text="MEGJEGYZÉS"/> - <l:gentext key="Note" text="Megjegyzés"/> - <l:gentext key="note" text="megjegyzés"/> - <l:gentext key="Part" text="Rész"/> - <l:gentext key="part" text="rész"/> - <l:gentext key="Preface" text="Előszó"/> - <l:gentext key="preface" text="előszó"/> - <l:gentext key="Procedure" text="Eljárás"/> - <l:gentext key="procedure" text="eljárás"/> - <l:gentext key="Published" text="Megjelent"/> - <l:gentext key="published" text="megjelent"/> - <l:gentext key="Question" text="Kérdés"/> - <l:gentext key="question" text="kérdés"/> - <l:gentext key="RefEntry" text="Bejegyzés"/> - <l:gentext key="refentry" text="bejegyzés"/> - <l:gentext key="Reference" text="Referencia"/> - <l:gentext key="reference" text="referencia"/> - <l:gentext key="RefName" text="Név"/> - <l:gentext key="refname" text="név"/> - <l:gentext key="RefSection" text="Szakasz"/> - <l:gentext key="refsection" text="szakasz"/> - <l:gentext key="RefSynopsisDiv" text="Áttekintés"/> - <l:gentext key="refsynopsisdiv" text="áttekintés"/> - <l:gentext key="RevHistory" text="Verziótörténet"/> - <l:gentext key="revhistory" text="verziótörténet"/> - <l:gentext key="Revision" text="Verzió"/> - <l:gentext key="revision" text="verzió"/> - <l:gentext key="Section" text="Szakasz"/> - <l:gentext key="section" text="szakasz"/> - <l:gentext key="See" text="Lásd"/> - <l:gentext key="see" text="lásd"/> - <l:gentext key="seealso" text="lásd még"/> - <l:gentext key="SeeAlso" text="Lásd még"/> - <l:gentext key="Seealso" text="Lásd még"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="sidebar" text="széljegyzet"/> - <l:gentext key="Sidebar" text="Széljegyzet"/> - <l:gentext key="step" text="lépés"/> - <l:gentext key="Step" text="Lépés"/> - <l:gentext key="Table" text="Táblázat"/> - <l:gentext key="table" text="táblázat"/> - <l:gentext key="tip" text="tipp"/> - <l:gentext key="TIP" text="TIPP"/> - <l:gentext key="Tip" text="Tipp"/> - <l:gentext key="WARNING" text="FIGYELEM"/> - <l:gentext key="Warning" text="Figyelem"/> - <l:gentext key="warning" text="figyelem"/> - <l:gentext key="and" text="és"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Szerk."/> - <l:gentext key="edited" text="szerk."/> - <l:gentext key="Editedby" text="Szerkesztette"/> - <l:gentext key="editedby" text="szerkesztette"/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="nem létező elem"/> - <l:gentext key="notes" text="megjegyzések"/> - <l:gentext key="Notes" text="Megjegyzések"/> - <l:gentext key="Pgs" text="Lsz."/> - <l:gentext key="pgs" text="lsz."/> - <l:gentext key="Revisedby" text="Megvizsgálva"/> - <l:gentext key="revisedby" text="megvizsgálva"/> - <l:gentext key="TableNotes" text="Megjegyzések"/> - <l:gentext key="tablenotes" text="megjegyzések"/> - <l:gentext key="TableofContents" text="Tartalom"/> - <l:gentext key="tableofcontents" text="tartalom"/> - <l:gentext key="unexpectedelementname" text="nem várt elemnév"/> - <l:gentext key="unsupported" text="nem támogatott"/> - <l:gentext key="xrefto" text="keresztref"/> - <l:gentext key="listofequations" text="az egyenletek listája"/> - <l:gentext key="ListofEquations" text="Az egyenletek listája"/> - <l:gentext key="ListofExamples" text="A példák listája"/> - <l:gentext key="listofexamples" text="a példák listája"/> - <l:gentext key="ListofFigures" text="Az ábrák listája"/> - <l:gentext key="listoffigures" text="az ábrák listája"/> - <l:gentext key="listoftables" text="a táblázatok listája"/> - <l:gentext key="ListofTables" text="A táblázatok listája"/> - <l:gentext key="ListofUnknown" text="Az egyéb elemek listája"/> - <l:gentext key="listofunknown" text="az egyéb elemek listája"/> - <l:gentext key="nav-home" text="Tartalom"/> - <l:gentext key="nav-next" text="Következő"/> - <l:gentext key="nav-next-sibling" text="Gyors előre"/> - <l:gentext key="nav-prev" text="Előző"/> - <l:gentext key="nav-prev-sibling" text="Gyors vissza"/> - <l:gentext key="nav-up" text="Fel"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="%n. függelék - %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="%n. fejezet - %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="%n. egyenlet - %t"/> - <l:template name="example" text="%n. példa - %t"/> - <l:template name="figure" text="%n. ábra - %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="%n. rész - %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="%n. táblázat - %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="%n. függelék - %t"/> - <l:template name="chapter" text="%n. fejezet - %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="%n. függelék - %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="%n. fejezet - %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="%n. példa - %t"/> - <l:template name="figure" text="%n. ábra - %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="%n. rész - %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="%n. táblázat - %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="%n. szakasz"/> - <l:template name="sect2" text="%n. szakasz"/> - <l:template name="sect3" text="%n. szakasz"/> - <l:template name="sect4" text="%n. szakasz"/> - <l:template name="sect5" text="%n. szakasz"/> - <l:template name="section" text="%n. szakasz"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" és "/> - <l:template name="seplast" text=", és "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Lásd "/> - <l:template name="seealso" text="Lásd még "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Célközönség: "/> - <l:template name="MsgLevel" text="Szint: "/> - <l:template name="MsgOrig" text="Eredet: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/id.xml b/stylesheets/docbook/common/id.xml deleted file mode 100644 index 82087516..00000000 --- a/stylesheets/docbook/common/id.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Abstrak"/> - <l:gentext key="abstract" text="Abstrak"/> - <l:gentext key="Answer" text="Jawab:"/> - <l:gentext key="answer" text="Jawab:"/> - <l:gentext key="Appendix" text="Lampiran"/> - <l:gentext key="appendix" text="lampiran"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="Artikel"/> - <l:gentext key="Bibliography" text="Bibliografi"/> - <l:gentext key="bibliography" text="Bibliografi"/> - <l:gentext key="Book" text="Buku"/> - <l:gentext key="book" text="Buku"/> - <l:gentext key="Caution" text="Perhatian"/> - <l:gentext key="caution" text="Perhatian"/> - <l:gentext key="CAUTION" text="PERHATIAN"/> - <l:gentext key="Chapter" text="Bab"/> - <l:gentext key="chapter" text="bab"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="Kolofon"/> - <l:gentext key="Copyright" text="Hak Cipta"/> - <l:gentext key="copyright" text="Hak Cipta"/> - <l:gentext key="Dedication" text="Dedikasi"/> - <l:gentext key="dedication" text="Dedikasi"/> - <l:gentext key="Edition" text="Edisi"/> - <l:gentext key="edition" text="Edisi"/> - <l:gentext key="Equation" text="Persamaan"/> - <l:gentext key="equation" text="Persamaan"/> - <l:gentext key="Example" text="Teladan"/> - <l:gentext key="example" text="Teladan"/> - <l:gentext key="Figure" text="Gambar"/> - <l:gentext key="figure" text="Gambar"/> - <l:gentext key="Glossary" text="Daftar Istilah"/> - <l:gentext key="glossary" text="Daftar Istilah"/> - <l:gentext key="GlossSee" text="Lihat"/> - <l:gentext key="glosssee" text="Lihat"/> - <l:gentext key="GlossSeeAlso" text="Lihat Juga"/> - <l:gentext key="glossseealso" text="Lihat Juga"/> - <l:gentext key="IMPORTANT" text="PENTING"/> - <l:gentext key="Important" text="Penting"/> - <l:gentext key="important" text="Penting"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="Indeks"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Aspek Hukum"/> - <l:gentext key="legalnotice" text="Aspek Hukum"/> - <l:gentext key="MsgAud" text="Pemirsa"/> - <l:gentext key="msgaud" text="Pemirsa"/> - <l:gentext key="MsgLevel" text="Tingkatan"/> - <l:gentext key="msglevel" text="Tingkatan"/> - <l:gentext key="MsgOrig" text="Asal"/> - <l:gentext key="msgorig" text="Asal"/> - <l:gentext key="note" text="Catatan"/> - <l:gentext key="NOTE" text="CATATAN"/> - <l:gentext key="Note" text="Catatan"/> - <l:gentext key="Part" text="Bagian"/> - <l:gentext key="part" text="Bagian"/> - <l:gentext key="Preface" text="Kata Pengantar"/> - <l:gentext key="preface" text="Kata Pengantar"/> - <l:gentext key="Procedure" text="Prosedur"/> - <l:gentext key="procedure" text="Prosedur"/> - <l:gentext key="Published" text="Diterbitkan"/> - <l:gentext key="published" text="Diterbitkan"/> - <l:gentext key="Question" text="Tanya:"/> - <l:gentext key="question" text="Tanya:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referensi"/> - <l:gentext key="reference" text="Referensi"/> - <l:gentext key="RefName" text="Nama"/> - <l:gentext key="refname" text="Nama"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Sinopsis"/> - <l:gentext key="refsynopsisdiv" text="Sinopsis"/> - <l:gentext key="RevHistory" text="Catatan Revisi"/> - <l:gentext key="revhistory" text="Catatan Revisi"/> - <l:gentext key="Revision" text="Revisi"/> - <l:gentext key="revision" text="Revisi"/> - <l:gentext key="Section" text="Bagian"/> - <l:gentext key="section" text="bagian"/> - <l:gentext key="see" text="Lihat"/> - <l:gentext key="See" text="Lihat"/> - <l:gentext key="Seealso" text="Lihat juga"/> - <l:gentext key="seealso" text="Lihat Juga"/> - <l:gentext key="SeeAlso" text="Lihat Juga"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="tahap"/> - <l:gentext key="Step" text="Tahap"/> - <l:gentext key="table" text="Tabel"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="TIP" text="TIP"/> - <l:gentext key="Tip" text="Tip"/> - <l:gentext key="tip" text="Tip"/> - <l:gentext key="WARNING" text="AWAS"/> - <l:gentext key="Warning" text="Awas"/> - <l:gentext key="warning" text="Awas"/> - <l:gentext key="and" text="dan"/> - <l:gentext key="by" text="oleh"/> - <l:gentext key="Edited" text="disunting"/> - <l:gentext key="edited" text="disunting"/> - <l:gentext key="Editedby" text="disunting oleh"/> - <l:gentext key="editedby" text="disunting oleh"/> - <l:gentext key="in" text="di"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="elemen tak tampak"/> - <l:gentext key="notes" text="Catatan"/> - <l:gentext key="Notes" text="Catatan"/> - <l:gentext key="Pgs" text="Hal."/> - <l:gentext key="pgs" text="Hal."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Catatan"/> - <l:gentext key="tablenotes" text="Catatan"/> - <l:gentext key="TableofContents" text="Daftar Isi"/> - <l:gentext key="tableofcontents" text="Daftar Isi"/> - <l:gentext key="unexpectedelementname" text="Nama Elemen seharusnya tidak ada"/> - <l:gentext key="unsupported" text="tidak didukung"/> - <l:gentext key="xrefto" text="xref ke"/> - <l:gentext key="listofequations" text="Daftar Persamaan"/> - <l:gentext key="ListofEquations" text="Daftar Persamaan"/> - <l:gentext key="ListofExamples" text="Daftar Teladan"/> - <l:gentext key="listofexamples" text="Daftar Teladan"/> - <l:gentext key="ListofFigures" text="Daftar Gambar"/> - <l:gentext key="listoffigures" text="Daftar Gambar"/> - <l:gentext key="listoftables" text="Daftar Tabel"/> - <l:gentext key="ListofTables" text="Daftar Tabel"/> - <l:gentext key="ListofUnknown" text="Daftar Gaib"/> - <l:gentext key="listofunknown" text="Daftar Gaib"/> - <l:gentext key="nav-home" text="Home"/> - <l:gentext key="nav-next" text="Next"/> - <l:gentext key="nav-next-sibling" text="Fast Forward"/> - <l:gentext key="nav-prev" text="Prev"/> - <l:gentext key="nav-prev-sibling" text="Fast Backward"/> - <l:gentext key="nav-up" text="Up"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Lampiran %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Bab %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Persamaan %n. %t"/> - <l:template name="example" text="Teladan %n. %t"/> - <l:template name="figure" text="Gambar %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Bagian %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Lampiran %n. %t"/> - <l:template name="chapter" text="Bab %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Lampiran %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Bab %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Teladan %n. %t"/> - <l:template name="figure" text="Gambar %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Bagian %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Bagian %n"/> - <l:template name="sect2" text="Bagian %n"/> - <l:template name="sect3" text="Bagian %n"/> - <l:template name="sect4" text="Bagian %n"/> - <l:template name="sect5" text="Bagian %n"/> - <l:template name="section" text="Bagian %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" dan "/> - <l:template name="seplast" text=", dan "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Lihat "/> - <l:template name="seealso" text="Lihat Juga "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Pemirsa: "/> - <l:template name="MsgLevel" text="Tingkatan: "/> - <l:template name="MsgOrig" text="Asal: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/it.xml b/stylesheets/docbook/common/it.xml deleted file mode 100644 index e6e16986..00000000 --- a/stylesheets/docbook/common/it.xml +++ /dev/null @@ -1,351 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="it"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Estratto"/> - <l:gentext key="abstract" text="Estratto"/> - <l:gentext key="Answer" text="R:"/> - <l:gentext key="answer" text="R:"/> - <l:gentext key="Appendix" text="Appendice"/> - <l:gentext key="appendix" text="appendice"/> - <l:gentext key="Article" text="Articolo"/> - <l:gentext key="article" text="Articolo"/> - <l:gentext key="Audience" text="Pubblico"/> - <l:gentext key="audience" text="Pubblico"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Libro"/> - <l:gentext key="book" text="Libro"/> - <l:gentext key="Caution" text="Cautela"/> - <l:gentext key="caution" text="Cautela"/> - <l:gentext key="CAUTION" text="CAUTELA"/> - <l:gentext key="Chapter" text="Capitolo"/> - <l:gentext key="chapter" text="capitolo"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedica"/> - <l:gentext key="dedication" text="Dedica"/> - <l:gentext key="Edition" text="Edizione"/> - <l:gentext key="edition" text="Edizione"/> - <l:gentext key="Equation" text="Equazione"/> - <l:gentext key="equation" text="Equazione"/> - <l:gentext key="Example" text="Esempio"/> - <l:gentext key="example" text="Esempio"/> - <l:gentext key="Figure" text="Figura"/> - <l:gentext key="figure" text="Figura"/> - <l:gentext key="Glossary" text="Glossario"/> - <l:gentext key="glossary" text="Glossario"/> - <l:gentext key="GlossSee" text="Vedi"/> - <l:gentext key="glosssee" text="Vedi"/> - <l:gentext key="glossseealso" text="Vedi anche"/> - <l:gentext key="GlossSeeAlso" text="Vedi anche"/> - <l:gentext key="History" text="Diario"/> - <l:gentext key="history" text="Diario"/> - <l:gentext key="Important" text="Importante"/> - <l:gentext key="important" text="Importante"/> - <l:gentext key="IMPORTANT" text="IMPORTANTE"/> - <l:gentext key="Index" text="Indice"/> - <l:gentext key="index" text="Indice"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Note legali"/> - <l:gentext key="legalnotice" text="Note legali"/> - <l:gentext key="Level" text="Livello"/> - <l:gentext key="level" text="Livello"/> - <l:gentext key="MsgAud" text="Pubblico"/> - <l:gentext key="msgaud" text="Pubblico"/> - <l:gentext key="MsgLevel" text="Livello"/> - <l:gentext key="msglevel" text="Livello"/> - <l:gentext key="MsgOrig" text="Origine"/> - <l:gentext key="msgorig" text="Origine"/> - <l:gentext key="name" text="Nome"/> - <l:gentext key="Name" text="Nome"/> - <l:gentext key="Note" text="Nota"/> - <l:gentext key="NOTE" text="NOTA"/> - <l:gentext key="note" text="Nota"/> - <l:gentext key="origin" text="Origine"/> - <l:gentext key="Origin" text="Origine"/> - <l:gentext key="Part" text="Parte"/> - <l:gentext key="part" text="Parte"/> - <l:gentext key="Preface" text="Prefazione"/> - <l:gentext key="preface" text="Prefazione"/> - <l:gentext key="procedure" text="Procedura"/> - <l:gentext key="Procedure" text="Procedura"/> - <l:gentext key="published" text="Pubblicato"/> - <l:gentext key="Published" text="Pubblicato"/> - <l:gentext key="Question" text="D:"/> - <l:gentext key="question" text="D:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="reference" text="Riferimento"/> - <l:gentext key="Reference" text="Riferimento"/> - <l:gentext key="RefName" text="Nome"/> - <l:gentext key="refname" text="Nome"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Sinossi"/> - <l:gentext key="refsynopsisdiv" text="Sinossi"/> - <l:gentext key="RevHistory" text="Diario delle revisioni"/> - <l:gentext key="revhistory" text="Diario delle revisioni"/> - <l:gentext key="Revision" text="Revisione"/> - <l:gentext key="revision" text="Revisione"/> - <l:gentext key="Section" text="Sezione"/> - <l:gentext key="section" text="sezione"/> - <l:gentext key="See" text="Vd."/> - <l:gentext key="see" text="Vd."/> - <l:gentext key="seealso" text="Vd. Anche"/> - <l:gentext key="Seealso" text="Vd. anche"/> - <l:gentext key="SeeAlso" text="Vd. Anche"/> - <l:gentext key="set" text="Raccolta"/> - <l:gentext key="Set" text="Raccolta"/> - <l:gentext key="setindex" text="Indice Raccolta"/> - <l:gentext key="SetIndex" text="Indice Raccolta"/> - <l:gentext key="sidebar" text="nota a margine"/> - <l:gentext key="Sidebar" text="Nota a margine"/> - <l:gentext key="Step" text="Passaggio"/> - <l:gentext key="step" text="passaggio"/> - <l:gentext key="table" text="Tabella"/> - <l:gentext key="Table" text="Tabella"/> - <l:gentext key="TIP" text="SUGGERIMENTO"/> - <l:gentext key="Tip" text="Suggerimento"/> - <l:gentext key="tip" text="Suggerimento"/> - <l:gentext key="Warning" text="Attenzione"/> - <l:gentext key="warning" text="Attenzione"/> - <l:gentext key="WARNING" text="ATTENZIONE"/> - <l:gentext key="and" text="e"/> - <l:gentext key="by" text="di"/> - <l:gentext key="called" text="intitolato"/> - <l:gentext key="Edited" text="A cura"/> - <l:gentext key="edited" text="A cura"/> - <l:gentext key="Editedby" text="A cura di"/> - <l:gentext key="editedby" text="A cura di"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="elemento non esistente"/> - <l:gentext key="notes" text="Note"/> - <l:gentext key="Notes" text="Note"/> - <l:gentext key="Pgs" text="pp."/> - <l:gentext key="pgs" text="pp."/> - <l:gentext key="Revisedby" text="Corretto da: "/> - <l:gentext key="revisedby" text="Corretto da: "/> - <l:gentext key="TableNotes" text="Note"/> - <l:gentext key="tablenotes" text="Note"/> - <l:gentext key="TableofContents" text="Sommario"/> - <l:gentext key="tableofcontents" text="Sommario"/> - <l:gentext key="the" text="il"/> - <l:gentext key="unexpectedelementname" text="Nome elemento inaspettato"/> - <l:gentext key="unsupported" text="non supportato"/> - <l:gentext key="xrefto" text="riferimento a"/> - <l:gentext key="listofequations" text="Lista delle Equazioni"/> - <l:gentext key="ListofEquations" text="Lista delle Equazioni"/> - <l:gentext key="ListofExamples" text="Lista degli Esempi"/> - <l:gentext key="listofexamples" text="Lista degli Esempi"/> - <l:gentext key="ListofFigures" text="Lista delle Figure"/> - <l:gentext key="listoffigures" text="Lista delle Figure"/> - <l:gentext key="listoftables" text="Lista delle Tabelle"/> - <l:gentext key="ListofTables" text="Lista delle Tabelle"/> - <l:gentext key="ListofUnknown" text="Lista Sconosciuti"/> - <l:gentext key="listofunknown" text="Lista Sconosciuti"/> - <l:gentext key="nav-home" text="Partenza"/> - <l:gentext key="nav-next" text="Avanti"/> - <l:gentext key="nav-next-sibling" text="Salta avanti"/> - <l:gentext key="nav-prev" text="Indietro"/> - <l:gentext key="nav-prev-sibling" text="Salta indietro"/> - <l:gentext key="nav-up" text="Risali"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Appendice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Capitolo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equazione %n. %t"/> - <l:template name="example" text="Esempio %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabella %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Appendice %n. %t"/> - <l:template name="chapter" text="Capitolo %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Appendice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Capitolo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Esempio %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabella %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Sezione %n"/> - <l:template name="sect2" text="Sezione %n"/> - <l:template name="sect3" text="Sezione %n"/> - <l:template name="sect4" text="Sezione %n"/> - <l:template name="sect5" text="Sezione %n"/> - <l:template name="section" text="Sezione %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" e "/> - <l:template name="seplast" text=", e "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Vedi "/> - <l:template name="seealso" text="Vedi anche "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Pubblico: "/> - <l:template name="MsgLevel" text="Livello: "/> - <l:template name="MsgOrig" text="Origine: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/ja.xml b/stylesheets/docbook/common/ja.xml deleted file mode 100644 index 7fecbf60..00000000 --- a/stylesheets/docbook/common/ja.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ja"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="概要"/> - <l:gentext key="abstract" text="概要"/> - <l:gentext key="Answer" text="問:"/> - <l:gentext key="answer" text="問:"/> - <l:gentext key="Appendix" text="付録"/> - <l:gentext key="appendix" text="付録"/> - <l:gentext key="Article" text="項目"/> - <l:gentext key="article" text="項目"/> - <l:gentext key="Bibliography" text="参考文献"/> - <l:gentext key="bibliography" text="参考文献"/> - <l:gentext key="Book" text="ブック"/> - <l:gentext key="book" text="ブック"/> - <l:gentext key="Caution" text="注意"/> - <l:gentext key="caution" text="注意"/> - <l:gentext key="CAUTION" text="注意"/> - <l:gentext key="chapter" text="章"/> - <l:gentext key="chapter1" text="第"/> - <l:gentext key="Chapter1" text="第"/> - <l:gentext key="Chapter2" text="章"/> - <l:gentext key="chapter2" text="章"/> - <l:gentext key="Colophon" text="奥付"/> - <l:gentext key="colophon" text="奥付"/> - <l:gentext key="Copyright" text="製作著作"/> - <l:gentext key="copyright" text="製作著作"/> - <l:gentext key="Dedication" text="謝辞"/> - <l:gentext key="dedication" text="謝辞"/> - <l:gentext key="Edition" text="編集"/> - <l:gentext key="edition" text="編集"/> - <l:gentext key="Equation" text="式"/> - <l:gentext key="equation" text="式"/> - <l:gentext key="Example" text="例"/> - <l:gentext key="example" text="例"/> - <l:gentext key="Figure" text="図"/> - <l:gentext key="figure" text="図"/> - <l:gentext key="Glossary" text="用語集"/> - <l:gentext key="glossary" text="用語集"/> - <l:gentext key="GlossSee" text="参照"/> - <l:gentext key="glosssee" text="参照"/> - <l:gentext key="GlossSeeAlso" text="参照"/> - <l:gentext key="glossseealso" text="参照"/> - <l:gentext key="IMPORTANT" text="重要項目"/> - <l:gentext key="Important" text="重要項目"/> - <l:gentext key="important" text="重要項目"/> - <l:gentext key="Index" text="目次"/> - <l:gentext key="index" text="目次"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="対象者"/> - <l:gentext key="msgaud" text="対象者"/> - <l:gentext key="MsgLevel" text="レベル"/> - <l:gentext key="msglevel" text="レベル"/> - <l:gentext key="MsgOrig" text="発信元"/> - <l:gentext key="msgorig" text="発信元"/> - <l:gentext key="note" text="注意"/> - <l:gentext key="Note" text="注意"/> - <l:gentext key="NOTE" text="注意"/> - <l:gentext key="Part" text="パート"/> - <l:gentext key="part" text="パート"/> - <l:gentext key="Preface" text="序文"/> - <l:gentext key="preface" text="序文"/> - <l:gentext key="Procedure" text="手順"/> - <l:gentext key="procedure" text="手順"/> - <l:gentext key="ProductionSet" text="プロダクション"/> - <l:gentext key="Published" text="発行"/> - <l:gentext key="published" text="発行"/> - <l:gentext key="Question" text="答:"/> - <l:gentext key="question" text="答:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="参照"/> - <l:gentext key="reference" text="参照"/> - <l:gentext key="RefName" text="名前"/> - <l:gentext key="refname" text="名前"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="概要"/> - <l:gentext key="refsynopsisdiv" text="概要"/> - <l:gentext key="RevHistory" text="改訂履歴"/> - <l:gentext key="revhistory" text="改訂履歴"/> - <l:gentext key="revision" text="改訂"/> - <l:gentext key="Revision" text="改訂"/> - <l:gentext key="sect1" text="項"/> - <l:gentext key="sect2" text="項"/> - <l:gentext key="sect3" text="項"/> - <l:gentext key="sect4" text="項"/> - <l:gentext key="sect5" text="項"/> - <l:gentext key="Section" text="項"/> - <l:gentext key="section" text="項"/> - <l:gentext key="See" text="参照"/> - <l:gentext key="see" text="参照"/> - <l:gentext key="seealso" text="参照"/> - <l:gentext key="SeeAlso" text="参照"/> - <l:gentext key="Seealso" text="参照"/> - <l:gentext key="Set" text="設定"/> - <l:gentext key="set" text="設定"/> - <l:gentext key="SetIndex" text="目次設定"/> - <l:gentext key="setindex" text="目次設定"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="サイドバー"/> - <l:gentext key="step" text="ステップ"/> - <l:gentext key="Step" text="ステップ"/> - <l:gentext key="table" text="表"/> - <l:gentext key="Table" text="表"/> - <l:gentext key="TIP" text="ティップ"/> - <l:gentext key="Tip" text="ティップ"/> - <l:gentext key="tip" text="ティップ"/> - <l:gentext key="WARNING" text="警告"/> - <l:gentext key="Warning" text="警告"/> - <l:gentext key="warning" text="警告"/> - <l:gentext key="and" text="、"/> - <l:gentext key="by" text=":"/> - <l:gentext key="Edited" text="作者"/> - <l:gentext key="edited" text="作者"/> - <l:gentext key="Editedby" text="作者:"/> - <l:gentext key="editedby" text="作者:"/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="要素が存在しません"/> - <l:gentext key="notes" text="注意"/> - <l:gentext key="Notes" text="注意"/> - <l:gentext key="Pgs" text="偧献"/> - <l:gentext key="pgs" text="偧献"/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="注意"/> - <l:gentext key="tablenotes" text="注意"/> - <l:gentext key="TableofContents" text="目次"/> - <l:gentext key="tableofcontents" text="目次"/> - <l:gentext key="unexpectedelementname" text="不明な要素名"/> - <l:gentext key="unsupported" text="サポートしません"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="式目次"/> - <l:gentext key="ListofEquations" text="式目次"/> - <l:gentext key="ListofExamples" text="例目次"/> - <l:gentext key="listofexamples" text="例目次"/> - <l:gentext key="ListofFigures" text="図目次"/> - <l:gentext key="listoffigures" text="図目次"/> - <l:gentext key="listoftables" text="表目次"/> - <l:gentext key="ListofTables" text="表目次"/> - <l:gentext key="ListofUnknown" text="不明目次"/> - <l:gentext key="listofunknown" text="不明目次"/> - <l:gentext key="nav-home" text="ホーム"/> - <l:gentext key="nav-next" text="次のページ"/> - <l:gentext key="nav-next-sibling" text="早送り"/> - <l:gentext key="nav-prev" text="前のページ"/> - <l:gentext key="nav-prev-sibling" text="巻戻し"/> - <l:gentext key="nav-up" text="上に戻る"/> - <l:gentext key="index symbols" text="シンボル"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="「"/> - <l:dingbat key="endquote" text="」"/> - <l:dingbat key="nestedstartquote" text="『"/> - <l:dingbat key="nestedendquote" text="』"/> - <l:dingbat key="bullet" text="●"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="付録 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="第%n章 %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="式 %n. %t"/> - <l:template name="example" text="例 %n. %t"/> - <l:template name="figure" text="図 %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="パート %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="手順 %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="プロダクション %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="表 %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="付録 %n. %t"/> - <l:template name="chapter" text="第%n章 %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="問: %n"/> - <l:template name="appendix" text="付録%n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="第%n章"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="式 %n"/> - <l:template name="example" text="例 %n"/> - <l:template name="figure" text="図 %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="パート %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="手順 %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="答: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="答: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="表 %n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="%t項"/> - <l:template name="sect1" text="%t項"/> - <l:template name="sect2" text="%t項"/> - <l:template name="sect3" text="%t項"/> - <l:template name="sect4" text="%t項"/> - <l:template name="sect5" text="%t項"/> - <l:template name="section" text="%t項"/> - <l:template name="simplesect" text="%t項"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="項%n"/> - <l:template name="sect1" text="項%n"/> - <l:template name="sect2" text="項%n"/> - <l:template name="sect3" text="項%n"/> - <l:template name="sect4" text="項%n"/> - <l:template name="sect5" text="項%n"/> - <l:template name="section" text="項%n"/> - <l:template name="simplesect" text="%t項"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" 、 "/> - <l:template name="seplast" text=", 、 "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="参照 "/> - <l:template name="seealso" text="参照 "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="対象者: "/> - <l:template name="MsgLevel" text="レベル: "/> - <l:template name="MsgOrig" text="発信元: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/ko.xml b/stylesheets/docbook/common/ko.xml deleted file mode 100644 index d117e071..00000000 --- a/stylesheets/docbook/common/ko.xml +++ /dev/null @@ -1,338 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ko"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="초록"/> - <l:gentext key="abstract" text="초록"/> - <l:gentext key="Answer" text="답변"/> - <l:gentext key="answer" text="답변"/> - <l:gentext key="Appendix" text="부록"/> - <l:gentext key="appendix" text="부록"/> - <l:gentext key="Article" text="문서"/> - <l:gentext key="article" text="문서"/> - <l:gentext key="Bibliography" text="서지사항"/> - <l:gentext key="bibliography" text="서지사항"/> - <l:gentext key="Book" text="책"/> - <l:gentext key="book" text="책"/> - <l:gentext key="Caution" text="경고"/> - <l:gentext key="CAUTION" text="[경고]"/> - <l:gentext key="Chapter" text="장"/> - <l:gentext key="chapter" text="장"/> - <l:gentext key="Colophon" text="판권"/> - <l:gentext key="colophon" text="판권"/> - <l:gentext key="Copyright" text="저작권"/> - <l:gentext key="copyright" text="저작권"/> - <l:gentext key="Dedication" text="바치는 글"/> - <l:gentext key="dedication" text="바치는 글"/> - <l:gentext key="Edition" text="엮음"/> - <l:gentext key="edition" text="엮음"/> - <l:gentext key="Equation" text="수식"/> - <l:gentext key="equation" text="수식"/> - <l:gentext key="Example" text="예"/> - <l:gentext key="example" text="예"/> - <l:gentext key="figure" text="그림"/> - <l:gentext key="Figure" text="그림"/> - <l:gentext key="Glossary" text="용어해설"/> - <l:gentext key="glossary" text="용어해설"/> - <l:gentext key="GlossSee" text="살펴볼 내용"/> - <l:gentext key="glosssee" text="살펴볼 내용"/> - <l:gentext key="GlossSeeAlso" text="다른 살펴볼 내용"/> - <l:gentext key="glossseealso" text="다른 살펴볼 내용"/> - <l:gentext key="Important" text="중요"/> - <l:gentext key="important" text="중요"/> - <l:gentext key="IMPORTANT" text="[중요]"/> - <l:gentext key="Index" text="색인"/> - <l:gentext key="index" text="색인"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="LegalNotice" text="법적 공지"/> - <l:gentext key="legalnotice" text="법적 공지"/> - <l:gentext key="MsgAud" text="받는 이"/> - <l:gentext key="msgaud" text="받는 이"/> - <l:gentext key="MsgLevel" text="중요도"/> - <l:gentext key="msglevel" text="중요도"/> - <l:gentext key="MsgOrig" text="보내는 이"/> - <l:gentext key="msgorig" text="보내는 이"/> - <l:gentext key="note" text="참고"/> - <l:gentext key="Note" text="참고"/> - <l:gentext key="NOTE" text="[참고]"/> - <l:gentext key="part" text="부"/> - <l:gentext key="Part" text="부"/> - <l:gentext key="Preface" text="서문"/> - <l:gentext key="preface" text="서문"/> - <l:gentext key="Procedure" text="절차"/> - <l:gentext key="procedure" text="절차"/> - <l:gentext key="Published" text="펴냄"/> - <l:gentext key="published" text="펴냄"/> - <l:gentext key="Question" text="질문"/> - <l:gentext key="question" text="질문"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="참고문헌"/> - <l:gentext key="reference" text="참고문헌"/> - <l:gentext key="RefName" text="제목"/> - <l:gentext key="refname" text="제목"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="요약"/> - <l:gentext key="refsynopsisdiv" text="요약"/> - <l:gentext key="RevHistory" text="고친 과정"/> - <l:gentext key="revhistory" text="고친 과정"/> - <l:gentext key="Revision" text="고침"/> - <l:gentext key="revision" text="고침"/> - <l:gentext key="Section" text="절"/> - <l:gentext key="section" text="절"/> - <l:gentext key="see" text="살펴볼 내용"/> - <l:gentext key="See" text="살펴볼 내용"/> - <l:gentext key="Seealso" text="살펴볼 다른 내용"/> - <l:gentext key="seealso" text="[살펴볼 다른 내용]"/> - <l:gentext key="SeeAlso" text="[살펴볼 다른 내용]"/> - <l:gentext key="Set" text="전집"/> - <l:gentext key="set" text="전집"/> - <l:gentext key="setindex" text="전집 색인"/> - <l:gentext key="SetIndex" text="전집 색인"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="덧붙임"/> - <l:gentext key="step" text="단계"/> - <l:gentext key="Step" text="단계"/> - <l:gentext key="table" text="표"/> - <l:gentext key="Table" text="표"/> - <l:gentext key="tip" text="작은 정보"/> - <l:gentext key="Tip" text="작은 정보"/> - <l:gentext key="TIP" text="[작은 정보]"/> - <l:gentext key="WARNING" text="주의!"/> - <l:gentext key="Warning" text="주의"/> - <l:gentext key="warning" text="주의"/> - <l:gentext key="and" text="그리고"/> - <l:gentext key="by" text="지은이"/> - <l:gentext key="Edited" text="엮음"/> - <l:gentext key="edited" text="엮음"/> - <l:gentext key="Editedby" text="엮은이"/> - <l:gentext key="editedby" text="엮은이"/> - <l:gentext key="in" text="-"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="존재하지 않는 기초요소입니다"/> - <l:gentext key="notes" text="주석"/> - <l:gentext key="Notes" text="주석"/> - <l:gentext key="Pgs" text="Pgs."/> - <l:gentext key="pgs" text="Pgs."/> - <l:gentext key="Revisedby" text="고친이 "/> - <l:gentext key="revisedby" text="고친이 "/> - <l:gentext key="TableNotes" text="참고"/> - <l:gentext key="tablenotes" text="참고"/> - <l:gentext key="TableofContents" text="차례"/> - <l:gentext key="tableofcontents" text="차례"/> - <l:gentext key="unexpectedelementname" text="알 수 없는 기초요소 이름입니다"/> - <l:gentext key="unsupported" text="지원되지 않습니다"/> - <l:gentext key="xrefto" text="이 곳을 참조하세요 : "/> - <l:gentext key="listofequations" text="수식 목록"/> - <l:gentext key="ListofEquations" text="수식 목록"/> - <l:gentext key="ListofExamples" text="예 목록"/> - <l:gentext key="listofexamples" text="예 목록"/> - <l:gentext key="ListofFigures" text="그림 목록"/> - <l:gentext key="listoffigures" text="그림 목록"/> - <l:gentext key="listoftables" text="표 목록"/> - <l:gentext key="ListofTables" text="표 목록"/> - <l:gentext key="ListofUnknown" text="기타 목록"/> - <l:gentext key="listofunknown" text="기타 목록"/> - <l:gentext key="nav-home" text="처음으로"/> - <l:gentext key="nav-next" text="다음"/> - <l:gentext key="nav-next-sibling" text="다음으로 건너뜀"/> - <l:gentext key="nav-prev" text="이전"/> - <l:gentext key="nav-prev-sibling" text="이전으로 건너뜀"/> - <l:gentext key="nav-up" text="위로"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="부록 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="%n장. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="수식 %n. %t"/> - <l:template name="example" text="예 %n. %t"/> - <l:template name="figure" text="그림 %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="%n부. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="표 %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="부록 %n. %t"/> - <l:template name="chapter" text="%n장. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="부록 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="%n장. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="예 %n. %t"/> - <l:template name="figure" text="그림 %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="%n부. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="표 %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="%n절"/> - <l:template name="sect2" text="%n절"/> - <l:template name="sect3" text="%n절"/> - <l:template name="sect4" text="%n절"/> - <l:template name="sect5" text="%n절"/> - <l:template name="section" text="%n절"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" 그리고 "/> - <l:template name="seplast" text=", 그리고 "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="살펴볼 내용 "/> - <l:template name="seealso" text="다른 살펴볼 내용 "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="받는 이: "/> - <l:template name="MsgLevel" text="중요도: "/> - <l:template name="MsgOrig" text="보내는 이: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/l10n.dtd b/stylesheets/docbook/common/l10n.dtd deleted file mode 100644 index 8eafd09e..00000000 --- a/stylesheets/docbook/common/l10n.dtd +++ /dev/null @@ -1,32 +0,0 @@ -<!ELEMENT i18n (l10n+)> -<!ATTLIST i18n - xmlns CDATA #IMPLIED -> - -<!ELEMENT l10n (gentext|dingbat|context)*> -<!ATTLIST l10n - language CDATA #REQUIRED -> - -<!ELEMENT gentext EMPTY> -<!ATTLIST gentext - key CDATA #REQUIRED - text CDATA #REQUIRED -> - -<!ELEMENT dingbat EMPTY> -<!ATTLIST dingbat - key CDATA #REQUIRED - text CDATA #REQUIRED -> - -<!ELEMENT context (template+)> -<!ATTLIST context - name CDATA #REQUIRED -> - -<!ELEMENT template EMPTY> -<!ATTLIST template - name CDATA #REQUIRED - text CDATA #REQUIRED -> diff --git a/stylesheets/docbook/common/l10n.xml b/stylesheets/docbook/common/l10n.xml deleted file mode 100644 index e124182d..00000000 --- a/stylesheets/docbook/common/l10n.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE i18n SYSTEM "l10n.dtd" [ -<!ENTITY af SYSTEM "af.xml"> -<!ENTITY ca SYSTEM "ca.xml"> -<!ENTITY cs SYSTEM "cs.xml"> -<!ENTITY da SYSTEM "da.xml"> -<!ENTITY de SYSTEM "de.xml"> -<!ENTITY el SYSTEM "el.xml"> -<!ENTITY en SYSTEM "en.xml"> -<!ENTITY es SYSTEM "es.xml"> -<!ENTITY et SYSTEM "et.xml"> -<!ENTITY eu SYSTEM "eu.xml"> -<!ENTITY fi SYSTEM "fi.xml"> -<!ENTITY fr SYSTEM "fr.xml"> -<!ENTITY hu SYSTEM "hu.xml"> -<!ENTITY id SYSTEM "id.xml"> -<!ENTITY it SYSTEM "it.xml"> -<!ENTITY ja SYSTEM "ja.xml"> -<!ENTITY ko SYSTEM "ko.xml"> -<!ENTITY nl SYSTEM "nl.xml"> -<!ENTITY nn SYSTEM "nn.xml"> -<!ENTITY no SYSTEM "no.xml"> -<!ENTITY pl SYSTEM "pl.xml"> -<!ENTITY pt SYSTEM "pt.xml"> -<!ENTITY pt_br SYSTEM "pt_br.xml"> -<!ENTITY ro SYSTEM "ro.xml"> -<!ENTITY ru SYSTEM "ru.xml"> -<!ENTITY sk SYSTEM "sk.xml"> -<!ENTITY sl SYSTEM "sl.xml"> -<!ENTITY sr SYSTEM "sr.xml"> -<!ENTITY sv SYSTEM "sv.xml"> -<!ENTITY tr SYSTEM "tr.xml"> -<!ENTITY uk SYSTEM "uk.xml"> -<!ENTITY xh SYSTEM "xh.xml"> -<!ENTITY zh_cn SYSTEM "zh_cn.xml"> -<!ENTITY zh_tw SYSTEM "zh_tw.xml"> -]> -<i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0"> -⁡ -&ca; -&cs; -&da; -&de; -⪙ -&en; -&es; -&et; -&eu; -&fi; -&fr; -&hu; -&id; -⁢ -&ja; -&ko; -&nl; -&nn; -&no; -&pl; -&pt; -&pt_br; -&ro; -&ru; -&sk; -&sl; -&sr; -&sv; -&tr; -&uk; -&xh; -&zh_cn; -&zh_tw; -</i18n> diff --git a/stylesheets/docbook/common/l10n.xsl b/stylesheets/docbook/common/l10n.xsl deleted file mode 100644 index 1f6c1670..00000000 --- a/stylesheets/docbook/common/l10n.xsl +++ /dev/null @@ -1,334 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" - exclude-result-prefixes="l" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - This file contains localization templates (for internationalization) - ******************************************************************** --> - -<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/> -<xsl:param name="local.l10n.xml" select="document('')"/> - -<xsl:param name="l10n.gentext.language" select="''"/> -<xsl:param name="l10n.gentext.default.language" select="'en'"/> -<xsl:param name="l10n.gentext.use.xref.language" select="false()"/> - -<xsl:template name="l10n.language"> - <xsl:param name="target" select="."/> - <xsl:param name="xref-context" select="false()"/> - - <xsl:variable name="language"> - <xsl:choose> - <xsl:when test="$l10n.gentext.language != ''"> - <xsl:value-of select="$l10n.gentext.language"/> - </xsl:when> - - <xsl:when test="$xref-context or $l10n.gentext.use.xref.language"> - <xsl:variable name="lang-attr" - select="($target/ancestor-or-self::*/@lang - |$target/ancestor-or-self::*/@xml:lang)[last()]"/> - <xsl:choose> - <xsl:when test="string($lang-attr) = ''"> - <xsl:value-of select="$l10n.gentext.default.language"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$lang-attr"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:variable name="lang-attr" - select="(ancestor-or-self::*/@lang - |ancestor-or-self::*/@xml:lang)[last()]"/> - <xsl:choose> - <xsl:when test="string($lang-attr) = ''"> - <xsl:value-of select="$l10n.gentext.default.language"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$lang-attr"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="adjusted.language"> - <xsl:choose> - <xsl:when test="contains($language,'-')"> - <xsl:value-of select="substring-before($language,'-')"/> - <xsl:text>_</xsl:text> - <xsl:value-of select="substring-after($language,'-')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$language"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=$adjusted.language]"> - <xsl:value-of select="$adjusted.language"/> - </xsl:when> - <!-- try just the lang code without country --> - <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=substring-before($adjusted.language,'_')]"> - <xsl:value-of select="substring-before($adjusted.language,'_')"/> - </xsl:when> - <!-- or use the default --> - <xsl:otherwise> - <xsl:message> - <xsl:text>No localization exists for "</xsl:text> - <xsl:value-of select="$adjusted.language"/> - <xsl:text>" or "</xsl:text> - <xsl:value-of select="substring-before($adjusted.language,'_')"/> - <xsl:text>". Using default "</xsl:text> - <xsl:value-of select="$l10n.gentext.default.language"/> - <xsl:text>".</xsl:text> - </xsl:message> - <xsl:value-of select="$l10n.gentext.default.language"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="gentext"> - <xsl:param name="key" select="local-name(.)"/> - <xsl:param name="lang"> - <xsl:call-template name="l10n.language"/> - </xsl:param> - - <xsl:variable name="local.l10n.gentext" - select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/> - - <xsl:variable name="l10n.gentext" - select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/> - - <xsl:variable name="l10n.name"> - <xsl:choose> - <xsl:when test="$local.l10n.gentext"> - <xsl:value-of select="$local.l10n.gentext/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$l10n.gentext/@text"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($local.l10n.gentext) > 0"> - <xsl:value-of select="$local.l10n.gentext/@text"/> - </xsl:when> - <xsl:when test="count($l10n.gentext) > 0"> - <xsl:value-of select="$l10n.gentext/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" localization of "</xsl:text> - <xsl:value-of select="$key"/> - <xsl:text>" exists</xsl:text> - <xsl:choose> - <xsl:when test="$lang = 'en'"> - <xsl:text>.</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>; using "en".</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:message> - - <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="gentext.element.name"> - <xsl:param name="element.name" select="name(.)"/> - <xsl:param name="lang"> - <xsl:call-template name="l10n.language"/> - </xsl:param> - - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="$element.name"/> - <xsl:with-param name="lang" select="$lang"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.space"> - <xsl:text> </xsl:text> -</xsl:template> - -<xsl:template name="gentext.edited.by"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Editedby'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.by"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'by'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.dingbat"> - <xsl:param name="dingbat">bullet</xsl:param> - <xsl:param name="lang"> - <xsl:call-template name="l10n.language"/> - </xsl:param> - - <xsl:variable name="local.l10n.dingbat" - select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/> - - <xsl:variable name="l10n.dingbat" - select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/> - - <xsl:choose> - <xsl:when test="count($local.l10n.dingbat) > 0"> - <xsl:value-of select="$local.l10n.dingbat/@text"/> - </xsl:when> - <xsl:when test="count($l10n.dingbat) > 0"> - <xsl:value-of select="$l10n.dingbat/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" localization of dingbat </xsl:text> - <xsl:value-of select="$dingbat"/> - <xsl:text> exists; using "en".</xsl:text> - </xsl:message> - - <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="gentext.startquote"> - <xsl:call-template name="gentext.dingbat"> - <xsl:with-param name="dingbat">startquote</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.endquote"> - <xsl:call-template name="gentext.dingbat"> - <xsl:with-param name="dingbat">endquote</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nestedstartquote"> - <xsl:call-template name="gentext.dingbat"> - <xsl:with-param name="dingbat">nestedstartquote</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nestedendquote"> - <xsl:call-template name="gentext.dingbat"> - <xsl:with-param name="dingbat">nestedendquote</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.prev"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'nav-prev'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.next"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'nav-next'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.home"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'nav-home'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.up"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'nav-up'"/> - </xsl:call-template> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template name="gentext.template"> - <xsl:param name="context" select="'default'"/> - <xsl:param name="name" select="'default'"/> - <xsl:param name="lang"> - <xsl:call-template name="l10n.language"/> - </xsl:param> - - <xsl:variable name="local.localization.node" - select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]"/> - - <xsl:variable name="localization.node" - select="($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]"/> - - <xsl:if test="count($localization.node) = 0 - and count($local.localization.node) = 0"> - <xsl:message> - <xsl:text>No "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" localization exists.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="local.context.node" - select="$local.localization.node/l:context[@name=$context]"/> - - <xsl:variable name="context.node" - select="$localization.node/l:context[@name=$context]"/> - - <xsl:if test="count($context.node) = 0 - and count($local.context.node) = 0"> - <xsl:message> - <xsl:text>No context named "</xsl:text> - <xsl:value-of select="$context"/> - <xsl:text>" exists in the "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" localization.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="local.template.node" - select="$local.context.node/l:template[@name=$name][1]"/> - - <xsl:variable name="template.node" - select="$context.node/l:template[@name=$name][1]"/> - - <xsl:if test="count($template.node) = 0 - and count($local.template.node) = 0"> - <xsl:message> - <xsl:text>No template named "</xsl:text> - <xsl:value-of select="$name"/> - <xsl:text>" exists in the context named "</xsl:text> - <xsl:value-of select="$context"/> - <xsl:text>" in the "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" localization.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="$local.template.node"> - <xsl:value-of select="$local.template.node/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$template.node/@text"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/common/labels.xsl b/stylesheets/docbook/common/labels.xsl deleted file mode 100644 index df179f4c..00000000 --- a/stylesheets/docbook/common/labels.xsl +++ /dev/null @@ -1,553 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ============================================================ --> -<!-- label markup --> - -<doc:mode mode="label.markup" xmlns=""> -<refpurpose>Provides access to element labels</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">label.markup</literal> mode produces the -element label.</para> -<para>Trailing punctuation is not added to the label. -</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="intralabel.punctuation"> - <xsl:text>.</xsl:text> -</xsl:template> - -<xsl:template match="*" mode="label.markup"> - <xsl:message> - <xsl:text>Request for label of unexpected element: </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:message> -</xsl:template> - -<xsl:template match="set|book" mode="label.markup"> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - </xsl:if> -</xsl:template> - -<xsl:template match="part" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="part" format="I"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="partintro" mode="label.markup"> - <!-- no label --> -</xsl:template> - -<xsl:template match="preface" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$preface.autolabel != 0"> - <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="preface" format="1" level="any"/> - </xsl:when> - <xsl:otherwise> - <xsl:number from="book" count="preface" format="1" level="any"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="chapter" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="chapter" format="1" level="any"/> - </xsl:when> - <xsl:otherwise> - <xsl:number from="book" count="chapter" format="1" level="any"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="appendix" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$appendix.autolabel != 0"> - <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="appendix" format="A" level="any"/> - </xsl:when> - <xsl:otherwise> - <xsl:number from="book|article" - count="appendix" format="A" level="any"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="article" mode="label.markup"> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - </xsl:if> -</xsl:template> - -<xsl:template match="dedication|colophon" mode="label.markup"> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - </xsl:if> -</xsl:template> - -<xsl:template match="reference" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="reference" format="I" level="any"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="refentry" mode="label.markup"> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - </xsl:if> -</xsl:template> - -<xsl:template match="section" mode="label.markup"> - <!-- if this is a nested section, label the parent --> - <xsl:if test="local-name(..) = 'section'"> - <xsl:variable name="parent.section.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.section.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - - <!-- if the parent is a component, maybe label that too --> - <xsl:variable name="parent.is.component"> - <xsl:call-template name="is.component"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - </xsl:variable> - - <!-- does this section get labelled? --> - <xsl:variable name="label"> - <xsl:call-template name="label.this.section"> - <xsl:with-param name="section" select="."/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="$section.label.includes.component.label != 0 - and $parent.is.component != 0"> - <xsl:variable name="parent.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - -<!-- - <xsl:message> - <xsl:value-of select="$label"/>, <xsl:number count="section"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$label != 0"> - <xsl:number count="section"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="sect1" mode="label.markup"> - <!-- if the parent is a component, maybe label that too --> - <xsl:variable name="parent.is.component"> - <xsl:call-template name="is.component"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="$section.label.includes.component.label != 0 - and $parent.is.component"> - <xsl:variable name="parent.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number count="sect1"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="sect2|sect3|sect4|sect5" mode="label.markup"> - <!-- label the parent --> - <xsl:variable name="parent.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:choose> - <xsl:when test="local-name(.) = 'sect2'"> - <xsl:number count="sect2"/> - </xsl:when> - <xsl:when test="local-name(.) = 'sect3'"> - <xsl:number count="sect3"/> - </xsl:when> - <xsl:when test="local-name(.) = 'sect4'"> - <xsl:number count="sect4"/> - </xsl:when> - <xsl:when test="local-name(.) = 'sect5'"> - <xsl:number count="sect5"/> - </xsl:when> - <xsl:otherwise> - <xsl:message>label.markup: this can't happen!</xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="refsect1" mode="label.markup"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number count="refsect1"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="refsect2|refsect3" mode="label.markup"> - <!-- label the parent --> - <xsl:variable name="parent.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:choose> - <xsl:when test="local-name(.) = 'refsect2'"> - <xsl:number count="refsect2"/> - </xsl:when> - <xsl:otherwise> - <xsl:number count="refsect3"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="simplesect" mode="label.markup"> - <!-- if this is a nested section, label the parent --> - <xsl:if test="local-name(..) = 'section' - or local-name(..) = 'sect1' - or local-name(..) = 'sect2' - or local-name(..) = 'sect3' - or local-name(..) = 'sect4' - or local-name(..) = 'sect5'"> - <xsl:variable name="parent.section.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.section.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - - <!-- if the parent is a component, maybe label that too --> - <xsl:variable name="parent.is.component"> - <xsl:call-template name="is.component"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - </xsl:variable> - - <!-- does this section get labelled? --> - <xsl:variable name="label"> - <xsl:call-template name="label.this.section"> - <xsl:with-param name="section" select="."/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="$section.label.includes.component.label != 0 - and $parent.is.component != 0"> - <xsl:variable name="parent.label"> - <xsl:apply-templates select=".." mode="label.markup"/> - </xsl:variable> - <xsl:if test="$parent.label != ''"> - <xsl:apply-templates select=".." mode="label.markup"/> - <xsl:apply-templates select=".." mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$label != 0"> - <xsl:number count="simplesect"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="qandadiv" mode="label.markup"> - <xsl:variable name="lparent" select="(ancestor::set - |ancestor::book - |ancestor::chapter - |ancestor::appendix - |ancestor::preface - |ancestor::section - |ancestor::simplesect - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5 - |ancestor::refsect1 - |ancestor::refsect2 - |ancestor::refsect3)[last()]"/> - - <xsl:variable name="lparent.prefix"> - <xsl:apply-templates select="$lparent" mode="label.markup"/> - </xsl:variable> - - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <xsl:if test="$lparent.prefix != ''"> - <xsl:apply-templates select="$lparent" mode="label.markup"/> - <xsl:apply-templates select="$lparent" mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - </xsl:variable> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="$prefix"/> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:when test="$qandadiv.autolabel != 0"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandadiv" format="1"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="question|answer" mode="label.markup"> - <xsl:variable name="lparent" select="(ancestor::set - |ancestor::book - |ancestor::chapter - |ancestor::appendix - |ancestor::preface - |ancestor::section - |ancestor::simplesect - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5 - |ancestor::refsect1 - |ancestor::refsect2 - |ancestor::refsect3)[last()]"/> - - <xsl:variable name="lparent.prefix"> - <xsl:apply-templates select="$lparent" mode="label.markup"/> - </xsl:variable> - - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <xsl:if test="$lparent.prefix != ''"> - <xsl:apply-templates select="$lparent" mode="label.markup"/> - <xsl:apply-templates select="$lparent" mode="intralabel.punctuation"/> - </xsl:if> - <xsl:if test="ancestor::qandadiv"> - <xsl:apply-templates select="ancestor::qandadiv[1]" mode="label.markup"/> - <xsl:apply-templates select="ancestor::qandadiv[1]" - mode="intralabel.punctuation"/> - </xsl:if> - </xsl:if> - </xsl:variable> - - <xsl:variable name="inhlabel" - select="ancestor-or-self::qandaset/@defaultlabel[1]"/> - - <xsl:variable name="deflabel"> - <xsl:choose> - <xsl:when test="$inhlabel != ''"> - <xsl:value-of select="$inhlabel"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$qanda.defaultlabel"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="label" select="label"/> - - <xsl:choose> - <xsl:when test="count($label)>0"> - <xsl:apply-templates select="$label"/> - </xsl:when> - - <xsl:when test="$deflabel = 'qanda' and local-name(.) = 'question'"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Question'"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$deflabel = 'qanda' and local-name(.) = 'answer'"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Answer'"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$deflabel = 'number' and local-name(.) = 'question'"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandaentry" format="1"/> - <xsl:text>. </xsl:text> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="bibliography|glossary|index" mode="label.markup"> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - </xsl:if> -</xsl:template> - -<xsl:template match="figure|table|example|equation|procedure" - mode="label.markup"> - <xsl:variable name="pchap" - select="ancestor::chapter - |ancestor::appendix - |ancestor::article[ancestor::book]"/> - - <xsl:variable name="prefix"> - <xsl:if test="count($pchap) > 0"> - <xsl:apply-templates select="$pchap" mode="label.markup"/> - </xsl:if> - </xsl:variable> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="count($pchap)>0"> - <xsl:if test="$prefix != ''"> - <xsl:apply-templates select="$pchap" mode="label.markup"/> - <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/> - </xsl:if> - <xsl:number format="1" from="chapter|appendix" level="any"/> - </xsl:when> - <xsl:otherwise> - <xsl:number format="1" from="book|article" level="any"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="orderedlist/listitem" mode="label.markup"> - <xsl:variable name="numeration"> - <xsl:call-template name="list.numeration"> - <xsl:with-param name="node" select="parent::orderedlist"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="type"> - <xsl:choose> - <xsl:when test="$numeration='arabic'">1</xsl:when> - <xsl:when test="$numeration='loweralpha'">a</xsl:when> - <xsl:when test="$numeration='lowerroman'">i</xsl:when> - <xsl:when test="$numeration='upperalpha'">A</xsl:when> - <xsl:when test="$numeration='upperroman'">I</xsl:when> - <!-- What!? This should never happen --> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unexpected numeration: </xsl:text> - <xsl:value-of select="$numeration"/> - </xsl:message> - <xsl:value-of select="1."/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:number count="listitem" format="{$type}"/> -</xsl:template> - -<xsl:template match="abstract" mode="label.markup"> - <!-- nop --> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template name="label.this.section"> - <xsl:param name="section" select="."/> - <xsl:value-of select="$section.autolabel"/> -</xsl:template> - -<doc:template name="label.this.section" xmlns=""> -<refpurpose>Returns true if $section should be labelled</refpurpose> -<refdescription> -<para>Returns true if the specified section should be labelled. -By default, this template simply returns $section.autolabel, but -custom stylesheets may override it to get more selective behavior.</para> -</refdescription> -</doc:template> - -<!-- ============================================================ --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/common/nl.xml b/stylesheets/docbook/common/nl.xml deleted file mode 100644 index fe63a913..00000000 --- a/stylesheets/docbook/common/nl.xml +++ /dev/null @@ -1,340 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nl"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Samenvatting"/> - <l:gentext key="abstract" text="Samenvatting"/> - <l:gentext key="Answer" text="Antwoord:"/> - <l:gentext key="answer" text="Antwoord:"/> - <l:gentext key="Appendix" text="Aanhangsel"/> - <l:gentext key="appendix" text="aanhangsel"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="Artikel"/> - <l:gentext key="Bibliography" text="Literatuurlijst"/> - <l:gentext key="bibliography" text="Literatuurlijst"/> - <l:gentext key="Book" text="Boek"/> - <l:gentext key="book" text="Boek"/> - <l:gentext key="Caution" text="Let op"/> - <l:gentext key="caution" text="Let op"/> - <l:gentext key="CAUTION" text="LET OP"/> - <l:gentext key="Chapter" text="Hoofdstuk"/> - <l:gentext key="chapter" text="hoofdstuk"/> - <l:gentext key="Colophon" text="Colofon"/> - <l:gentext key="colophon" text="Colofon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Opdracht"/> - <l:gentext key="dedication" text="Opdracht"/> - <l:gentext key="Edition" text="Uitgave"/> - <l:gentext key="edition" text="Uitgave"/> - <l:gentext key="Equation" text="Vergelijking"/> - <l:gentext key="equation" text="Vergelijking"/> - <l:gentext key="Example" text="Voorbeeld"/> - <l:gentext key="example" text="Voorbeeld"/> - <l:gentext key="Figure" text="Figuur"/> - <l:gentext key="figure" text="Figuur"/> - <l:gentext key="Glossary" text="Woordenlijst"/> - <l:gentext key="glossary" text="Woordenlijst"/> - <l:gentext key="GlossSee" text="Zie"/> - <l:gentext key="glosssee" text="Zie"/> - <l:gentext key="GlossSeeAlso" text="Zie ook"/> - <l:gentext key="glossseealso" text="Zie ook"/> - <l:gentext key="IMPORTANT" text="BELANGRIJK"/> - <l:gentext key="Important" text="Belangrijk"/> - <l:gentext key="important" text="Belangrijk"/> - <l:gentext key="Index" text="Register"/> - <l:gentext key="index" text="Register"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Bericht"/> - <l:gentext key="legalnotice" text="Bericht"/> - <l:gentext key="MsgAud" text="Doelgroep"/> - <l:gentext key="msgaud" text="Doelgroep"/> - <l:gentext key="MsgLevel" text="Niveau"/> - <l:gentext key="msglevel" text="Niveau"/> - <l:gentext key="MsgOrig" text="Herkomst"/> - <l:gentext key="msgorig" text="Herkomst"/> - <l:gentext key="note" text="Opmerking"/> - <l:gentext key="NOTE" text="OPMERKING"/> - <l:gentext key="Note" text="Opmerking"/> - <l:gentext key="Part" text="Deel"/> - <l:gentext key="part" text="Deel"/> - <l:gentext key="Preface" text="Voorwoord"/> - <l:gentext key="preface" text="Voorwoord"/> - <l:gentext key="Procedure" text="Procedure"/> - <l:gentext key="procedure" text="Procedure"/> - <l:gentext key="Published" text="Uitgegeven"/> - <l:gentext key="published" text="Uitgegeven"/> - <l:gentext key="Question" text="Vraag:"/> - <l:gentext key="question" text="Vraag:"/> - <l:gentext key="RefEntry" text="Referentielemma"/> - <l:gentext key="refentry" text="Referentielemma"/> - <l:gentext key="Reference" text="Referentie"/> - <l:gentext key="reference" text="Referentie"/> - <l:gentext key="RefName" text="Referentienaam"/> - <l:gentext key="refname" text="Referentienaam"/> - <l:gentext key="RefSection" text="Referentieparagraaf"/> - <l:gentext key="refsection" text="Referentieparagraaf"/> - <l:gentext key="RefSynopsisDiv" text="Referentiesamenvatting"/> - <l:gentext key="refsynopsisdiv" text="Referentiesamenvatting"/> - <l:gentext key="RevHistory" text="Wijzigingen"/> - <l:gentext key="revhistory" text="Wijzigingen"/> - <l:gentext key="Revision" text="Herziening"/> - <l:gentext key="revision" text="Herziening"/> - <l:gentext key="Section" text="Paragraaf"/> - <l:gentext key="section" text="paragraaf"/> - <l:gentext key="see" text="Zie"/> - <l:gentext key="See" text="Zie"/> - <l:gentext key="Seealso" text="Zie ook"/> - <l:gentext key="seealso" text="Zie ook"/> - <l:gentext key="SeeAlso" text="Zie ook"/> - <l:gentext key="set" text="Verzameling"/> - <l:gentext key="Set" text="Verzameling"/> - <l:gentext key="SetIndex" text="Hoofdregister"/> - <l:gentext key="setindex" text="Hoofdregister"/> - <l:gentext key="Sidebar" text="Excursie"/> - <l:gentext key="sidebar" text="excursie"/> - <l:gentext key="step" text="stap"/> - <l:gentext key="Step" text="Stap"/> - <l:gentext key="table" text="Tabel"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="TIP" text="TIP"/> - <l:gentext key="Tip" text="Tip"/> - <l:gentext key="tip" text="Tip"/> - <l:gentext key="WARNING" text="WAARSCHUWING"/> - <l:gentext key="Warning" text="Waarschuwing"/> - <l:gentext key="warning" text="Waarschuwing"/> - <l:gentext key="and" text="en"/> - <l:gentext key="by" text="door"/> - <l:gentext key="Edited" text="Redactie"/> - <l:gentext key="edited" text="Redactie"/> - <l:gentext key="Editedby" text="Redactie door"/> - <l:gentext key="editedby" text="Redactie door"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="niet bestaand element"/> - <l:gentext key="notes" text="Noten"/> - <l:gentext key="Notes" text="Noten"/> - <l:gentext key="Pgs" text="blz."/> - <l:gentext key="pgs" text="blz."/> - <l:gentext key="Revisedby" text="Herzien door: "/> - <l:gentext key="revisedby" text="Herzien door: "/> - <l:gentext key="TableNotes" text="Opmerkingen"/> - <l:gentext key="tablenotes" text="Opmerkingen"/> - <l:gentext key="TableofContents" text="Inhoudsopgave"/> - <l:gentext key="tableofcontents" text="Inhoudsopgave"/> - <l:gentext key="unexpectedelementname" text="ONVERWACHT-ELEMENT"/> - <l:gentext key="unsupported" text="niet ondersteund"/> - <l:gentext key="xrefto" text="verwijzing naar"/> - <l:gentext key="listofequations" text="Lijst van vergelijkingen"/> - <l:gentext key="ListofEquations" text="Lijst van vergelijkingen"/> - <l:gentext key="ListofExamples" text="Lijst van voorbeelden"/> - <l:gentext key="listofexamples" text="Lijst van voorbeelden"/> - <l:gentext key="ListofFigures" text="Lijst van figuren"/> - <l:gentext key="listoffigures" text="Lijst van figuren"/> - <l:gentext key="listoftables" text="Lijst van tabellen"/> - <l:gentext key="ListofTables" text="Lijst van tabellen"/> - <l:gentext key="ListofUnknown" text="Lijst van ???"/> - <l:gentext key="listofunknown" text="Lijst van ???"/> - <l:gentext key="nav-home" text="Begin"/> - <l:gentext key="nav-next" text="Volgende"/> - <l:gentext key="nav-next-sibling" text="Verder vooruit"/> - <l:gentext key="nav-prev" text="Terug"/> - <l:gentext key="nav-prev-sibling" text="Verder terug"/> - <l:gentext key="nav-up" text="Omhoog"/> - <l:gentext key="sectioncalled" text="de sectie genaamd"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Aanhangsel %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Hoofdstuk %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Vergelijking %n. %t"/> - <l:template name="example" text="Voorbeeld %n. %t"/> - <l:template name="figure" text="Figuur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Deel %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Aanhangsel %n. %t"/> - <l:template name="chapter" text="Hoofdstuk %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Aanhangsel %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Hoofdstuk %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Voorbeeld %n. %t"/> - <l:template name="figure" text="Figuur %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Deel %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="de sectie genaamd “%t”"/> - <l:template name="sect2" text="de sectie genaamd “%t”"/> - <l:template name="sect3" text="de sectie genaamd “%t”"/> - <l:template name="sect4" text="de sectie genaamd “%t”"/> - <l:template name="sect5" text="de sectie genaamd “%t”"/> - <l:template name="section" text="de sectie genaamd “%t”"/> - <l:template name="simplesect" text="de sectie genaamd “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Paragraaf %n"/> - <l:template name="sect2" text="Paragraaf %n"/> - <l:template name="sect3" text="Paragraaf %n"/> - <l:template name="sect4" text="Paragraaf %n"/> - <l:template name="sect5" text="Paragraaf %n"/> - <l:template name="section" text="Paragraaf %n"/> - <l:template name="simplesect" text="de sectie genaamd “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" en "/> - <l:template name="seplast" text=", en "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Zie "/> - <l:template name="seealso" text="Zie ook "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Doelgroep: "/> - <l:template name="MsgLevel" text="Niveau: "/> - <l:template name="MsgOrig" text="Herkomst: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/nn.xml b/stylesheets/docbook/common/nn.xml deleted file mode 100644 index 5fa4e1e0..00000000 --- a/stylesheets/docbook/common/nn.xml +++ /dev/null @@ -1,345 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nn"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Samandrag"/> - <l:gentext key="abstract" text="Samandrag"/> - <l:gentext key="Answer" text="Svar"/> - <l:gentext key="answer" text="svar"/> - <l:gentext key="Appendix" text="Tillegg"/> - <l:gentext key="Article" text="Artikkel"/> - <l:gentext key="article" text="artikkel"/> - <l:gentext key="Bibliography" text="Bibliografi"/> - <l:gentext key="bibliography" text="bibliografi"/> - <l:gentext key="Book" text="Bok"/> - <l:gentext key="book" text="bok"/> - <l:gentext key="CAUTION" text="OBS"/> - <l:gentext key="caution" text="OBS"/> - <l:gentext key="Caution" text="Obs"/> - <l:gentext key="caution" text="Obs"/> - <l:gentext key="Chapter" text="Kapittel"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="kolofon"/> - <l:gentext key="Copyright" text="Opphavsrett"/> - <l:gentext key="copyright" text="opphavsrett"/> - <l:gentext key="Dedication" text="Dedikasjon"/> - <l:gentext key="dedication" text="dedikasjon"/> - <l:gentext key="Edition" text="Utgåve"/> - <l:gentext key="edition" text="utgåve"/> - <l:gentext key="Equation" text="Formel"/> - <l:gentext key="equation" text="formel"/> - <l:gentext key="Example" text="Døme"/> - <l:gentext key="example" text="døme"/> - <l:gentext key="Figure" text="Figur"/> - <l:gentext key="figure" text="figur"/> - <l:gentext key="GlossSee" text="Sjå"/> - <l:gentext key="glosssee" text="sjå"/> - <l:gentext key="GlossSeeAlso" text="Sjå òg"/> - <l:gentext key="glossseealso" text="sjå òg"/> - <l:gentext key="Glossary" text="Ordliste"/> - <l:gentext key="glossary" text="ordliste"/> - <l:gentext key="IMPORTANT" text="VIKTIG"/> - <l:gentext key="important" text="viktig"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="Important" text="Viktig"/> - <l:gentext key="important" text="viktig"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="indeks"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Publikum"/> - <l:gentext key="msgaud" text="publikum"/> - <l:gentext key="MsgLevel" text="Nivå"/> - <l:gentext key="msglevel" text="nivå"/> - <l:gentext key="MsgOrig" text="Opphav"/> - <l:gentext key="msgorig" text="Opphav"/> - <l:gentext key="NOTE" text="NOTAT"/> - <l:gentext key="note" text="NOTAT"/> - <l:gentext key="Note" text="Notat"/> - <l:gentext key="note" text="Notat"/> - <l:gentext key="Part" text="Del"/> - <l:gentext key="part" text="del"/> - <l:gentext key="Preface" text="Forord"/> - <l:gentext key="preface" text="forord"/> - <l:gentext key="Procedure" text="Prosedyre"/> - <l:gentext key="procedure" text="prosedyre"/> - <l:gentext key="Published" text="Utgitt"/> - <l:gentext key="published" text="utgitt"/> - <l:gentext key="Question" text="Spørsmål"/> - <l:gentext key="question" text="spørsmål"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="RefName" text="Namn"/> - <l:gentext key="refname" text="namn"/> - <l:gentext key="Reference" text="Referanse"/> - <l:gentext key="reference" text="referanse"/> - <l:gentext key="RefSection" text="Del"/> - <l:gentext key="refsection" text="del"/> - <l:gentext key="RefSynopsisDiv" text="Oversyn"/> - <l:gentext key="refsynopsisdiv" text="oversyn"/> - <l:gentext key="Revision" text="Revisjon"/> - <l:gentext key="revision" text="revisjon"/> - <l:gentext key="RevHistory" text="Revisjonshistorie"/> - <l:gentext key="revhistory" text="revisjonshistorie"/> - <l:gentext key="Section" text="Del"/> - <l:gentext key="See" text="Sjå"/> - <l:gentext key="see" text="sjå"/> - <l:gentext key="SeeAlso" text="Sjå òg"/> - <l:gentext key="seealso" text="sjå òg"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="set"/> - <l:gentext key="SetIndex" text="Indeks"/> - <l:gentext key="setindex" text="Indeks"/> - <l:gentext key="Sidebar" text="Sidestolpe"/> - <l:gentext key="sidebar" text="sidestolpe"/> - <l:gentext key="Step" text="Steg"/> - <l:gentext key="TIP" text="TIPS"/> - <l:gentext key="tip" text="tips"/> - <l:gentext key="Table" text="Tabell"/> - <l:gentext key="table" text="tabell"/> - <l:gentext key="Tip" text="Tips"/> - <l:gentext key="tip" text="tips"/> - <l:gentext key="WARNING" text="ÅTVARING"/> - <l:gentext key="warning" text="åtvaring"/> - <l:gentext key="Warning" text="Åtvaring"/> - <l:gentext key="warning" text="åtvaring"/> - <l:gentext key="appendix" text="tillegg"/> - <l:gentext key="chapter" text="kapittel"/> - <l:gentext key="section" text="del"/> - <l:gentext key="step" text="steg"/> - <l:gentext key="Seealso" text="Sjå òg"/> - <l:gentext key="seealso" text="sjå òg"/> - <l:gentext key="TableofContents" text="Innhald"/> - <l:gentext key="tableofcontents" text="Innhald"/> - <l:gentext key="in" text="i"/> - <l:gentext key="by" text="av"/> - <l:gentext key="Edited" text="Redigert"/> - <l:gentext key="edited" text="redigert"/> - <l:gentext key="Editedby" text="Redigert av"/> - <l:gentext key="editedby" text="redigert av"/> - <l:gentext key="and" text="og"/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="Notes" text="Merknader"/> - <l:gentext key="notes" text="merknader"/> - <l:gentext key="TableNotes" text="Merknader"/> - <l:gentext key="tablenotes" text="merknader"/> - <l:gentext key="nonexistantelement" text="ikkje-eksisterande element"/> - <l:gentext key="Pgs" text="Sider"/> - <l:gentext key="pgs" text="sider"/> - <l:gentext key="unsupported" text="ikkje støtta"/> - <l:gentext key="xrefto" text="xref til"/> - <l:gentext key="unexpectedelementname" text="UVENTA-ELEMENTNAVN"/> - <l:gentext key="Revisedby" text="Revidert av: "/> - <l:gentext key="revisedby" text="revidert av: "/> - <l:gentext key="ListofTables" text="Tabelloversikt"/> - <l:gentext key="listoftables" text="tabelloversikt"/> - <l:gentext key="ListofExamples" text="Dømeoversikt"/> - <l:gentext key="listofexamples" text="dømeoversikt"/> - <l:gentext key="ListofFigures" text="Figuroversikt"/> - <l:gentext key="listoffigures" text="figuroversikt"/> - <l:gentext key="ListofEquations" text="Formeloversikt"/> - <l:gentext key="listofequations" text="formeloversikt"/> - <l:gentext key="ListofUnknown" text="???-oversikt"/> - <l:gentext key="listofunknown" text="???-oversikt"/> - <l:gentext key="nav-prev" text="Att"/> - <l:gentext key="nav-prev-sibling" text="Raskt bakover"/> - <l:gentext key="nav-next-sibling" text="Raskt framover"/> - <l:gentext key="nav-next" text="Fram"/> - <l:gentext key="nav-up" text="Opp"/> - <l:gentext key="nav-home" text="Heim"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Formel %n. %t"/> - <l:template name="example" text="Døme %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Døme %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Del %n"/> - <l:template name="sect2" text="Del %n"/> - <l:template name="sect3" text="Del %n"/> - <l:template name="sect4" text="Del %n"/> - <l:template name="sect5" text="Del %n"/> - <l:template name="section" text="Del %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" og "/> - <l:template name="seplast" text=", og "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Sjå "/> - <l:template name="seealso" text="Sjå òg "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgLevel" text="Nivå: "/> - <l:template name="MsgOrig" text="Opphav: "/> - <l:template name="MsgAud" text="Publikum: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/no.xml b/stylesheets/docbook/common/no.xml deleted file mode 100644 index aaff1c4e..00000000 --- a/stylesheets/docbook/common/no.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="no"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Abstract"/> - <l:gentext key="abstract" text="Abstract"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Tillegg"/> - <l:gentext key="appendix" text="Tillegg"/> - <l:gentext key="Article" text=""/> - <l:gentext key="article" text=""/> - <l:gentext key="Bibliography" text="Bibliografi"/> - <l:gentext key="bibliography" text="Bibliografi"/> - <l:gentext key="Book" text=""/> - <l:gentext key="book" text=""/> - <l:gentext key="Caution" text="Obs"/> - <l:gentext key="caution" text="Obs"/> - <l:gentext key="CAUTION" text="OBS"/> - <l:gentext key="Chapter" text="Kapittel"/> - <l:gentext key="chapter" text="Kapittel"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedikasjon"/> - <l:gentext key="dedication" text="Dedikasjon"/> - <l:gentext key="Edition" text=""/> - <l:gentext key="edition" text=""/> - <l:gentext key="Equation" text="Formel"/> - <l:gentext key="equation" text="Formel"/> - <l:gentext key="Example" text="Eksempel"/> - <l:gentext key="example" text="Eksempel"/> - <l:gentext key="Figure" text="Figur"/> - <l:gentext key="figure" text="Figur"/> - <l:gentext key="Glossary" text="Ordliste"/> - <l:gentext key="glossary" text="Ordliste"/> - <l:gentext key="GlossSee" text="Se"/> - <l:gentext key="glosssee" text="Se"/> - <l:gentext key="GlossSeeAlso" text="Se Også"/> - <l:gentext key="glossseealso" text="Se Også"/> - <l:gentext key="IMPORTANT" text="VIKTIG"/> - <l:gentext key="Important" text="Viktig"/> - <l:gentext key="important" text="Viktig"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="Indeks"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Publikum"/> - <l:gentext key="msgaud" text="Publikum"/> - <l:gentext key="MsgLevel" text="Nivå"/> - <l:gentext key="msglevel" text="Nivå"/> - <l:gentext key="MsgOrig" text="Opphav"/> - <l:gentext key="msgorig" text="Opphav"/> - <l:gentext key="note" text="Notat"/> - <l:gentext key="NOTE" text="NOTAT"/> - <l:gentext key="Note" text="Notat"/> - <l:gentext key="Part" text="Del"/> - <l:gentext key="part" text="Del"/> - <l:gentext key="Preface" text="Forord"/> - <l:gentext key="preface" text="Forord"/> - <l:gentext key="Procedure" text="Prosedyre"/> - <l:gentext key="procedure" text="Prosedyre"/> - <l:gentext key="Published" text=""/> - <l:gentext key="published" text=""/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referanse"/> - <l:gentext key="reference" text="Referanse"/> - <l:gentext key="RefName" text="Navn"/> - <l:gentext key="refname" text="Navn"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Revisjonshistorie"/> - <l:gentext key="revhistory" text="Revisjonshistorie"/> - <l:gentext key="Revision" text="Revisjon"/> - <l:gentext key="revision" text="Revisjon"/> - <l:gentext key="Section" text="Seksjon"/> - <l:gentext key="section" text="seksjon"/> - <l:gentext key="see" text="Se"/> - <l:gentext key="See" text="Se"/> - <l:gentext key="SeeAlso" text="Se Også"/> - <l:gentext key="Seealso" text="Se også"/> - <l:gentext key="seealso" text="Se Også"/> - <l:gentext key="set" text=""/> - <l:gentext key="Set" text=""/> - <l:gentext key="SetIndex" text="Indeks"/> - <l:gentext key="setindex" text="Indeks"/> - <l:gentext key="sidebar" text=""/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="step" text="steg"/> - <l:gentext key="Step" text="Steg"/> - <l:gentext key="Table" text="Tabell"/> - <l:gentext key="table" text="Tabell"/> - <l:gentext key="tip" text="Tips"/> - <l:gentext key="TIP" text="TIPS"/> - <l:gentext key="Tip" text="Tips"/> - <l:gentext key="warning" text="Advarsel"/> - <l:gentext key="WARNING" text="ADVARSEL"/> - <l:gentext key="Warning" text="Advarsel"/> - <l:gentext key="and" text="og"/> - <l:gentext key="by" text="av"/> - <l:gentext key="Edited" text="Redigert"/> - <l:gentext key="edited" text="Redigert"/> - <l:gentext key="Editedby" text="Redigert av"/> - <l:gentext key="editedby" text="Redigert av"/> - <l:gentext key="in" text="i"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/> - <l:gentext key="notes" text="Sluttnotater"/> - <l:gentext key="Notes" text="Sluttnotater"/> - <l:gentext key="Pgs" text="Sdr."/> - <l:gentext key="pgs" text="Sdr."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notater"/> - <l:gentext key="tablenotes" text="Notater"/> - <l:gentext key="TableofContents" text="Innholdsfortegnelse"/> - <l:gentext key="tableofcontents" text="Innholdsfortegnelse"/> - <l:gentext key="unexpectedelementname" text="UVENTET-ELEMENTNAVN"/> - <l:gentext key="unsupported" text="ikke støttet"/> - <l:gentext key="xrefto" text="xref til"/> - <l:gentext key="listofequations" text="Formeloversikt"/> - <l:gentext key="ListofEquations" text="Formeloversikt"/> - <l:gentext key="ListofExamples" text="Eksempeloversikt"/> - <l:gentext key="listofexamples" text="Eksempeloversikt"/> - <l:gentext key="ListofFigures" text="Figuroversikt"/> - <l:gentext key="listoffigures" text="Figuroversikt"/> - <l:gentext key="listoftables" text="Tabelloversikt"/> - <l:gentext key="ListofTables" text="Tabelloversikt"/> - <l:gentext key="ListofUnknown" text="???-oversikt"/> - <l:gentext key="listofunknown" text="???-oversikt"/> - <l:gentext key="nav-home" text="Hjem"/> - <l:gentext key="nav-next" text="Neste"/> - <l:gentext key="nav-next-sibling" text="Raskt Fremover"/> - <l:gentext key="nav-prev" text="Forrige"/> - <l:gentext key="nav-prev-sibling" text="Raskt Bakover"/> - <l:gentext key="nav-up" text="Opp"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Formel %n. %t"/> - <l:template name="example" text="Eksempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Tillegg %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapittel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Eksempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Seksjon %n"/> - <l:template name="sect2" text="Seksjon %n"/> - <l:template name="sect3" text="Seksjon %n"/> - <l:template name="sect4" text="Seksjon %n"/> - <l:template name="sect5" text="Seksjon %n"/> - <l:template name="section" text="Seksjon %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" og "/> - <l:template name="seplast" text=", og "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Se "/> - <l:template name="seealso" text="Se Også "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Publikum: "/> - <l:template name="MsgLevel" text="Nivå: "/> - <l:template name="MsgOrig" text="Opphav: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/pl.xml b/stylesheets/docbook/common/pl.xml deleted file mode 100644 index e658de0b..00000000 --- a/stylesheets/docbook/common/pl.xml +++ /dev/null @@ -1,331 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pl"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Abstrakt"/> - <l:gentext key="abstract" text="Abstrakt"/> - <l:gentext key="Answer" text="Odp:"/> - <l:gentext key="Appendix" text="Dodatek"/> - <l:gentext key="appendix" text="dodatek"/> - <l:gentext key="Article" text="Artykuł"/> - <l:gentext key="article" text="Artykuł"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Książka"/> - <l:gentext key="book" text="Książka"/> - <l:gentext key="CAUTION" text="PRZYPADEK"/> - <l:gentext key="Caution" text="Uwaga!"/> - <l:gentext key="caution" text="Uwaga!"/> - <l:gentext key="Chapter" text="Rozdział"/> - <l:gentext key="chapter" text="rozdział;"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedykacja"/> - <l:gentext key="dedication" text="Dedykacja"/> - <l:gentext key="Edition" text="Wydanie"/> - <l:gentext key="edition" text="Wydanie"/> - <l:gentext key="Equation" text="Równanie"/> - <l:gentext key="equation" text="Równanie"/> - <l:gentext key="Example" text="Przykład"/> - <l:gentext key="example" text="Przykład"/> - <l:gentext key="Figure" text="Rysunek"/> - <l:gentext key="figure" text="Rysunek"/> - <l:gentext key="Glossary" text="Glossary"/> - <l:gentext key="glossary" text="Glossary"/> - <l:gentext key="GlossSee" text="Patrz"/> - <l:gentext key="glosssee" text="Patrz"/> - <l:gentext key="GlossSeeAlso" text="Patrz też"/> - <l:gentext key="glossseealso" text="Patrz też"/> - <l:gentext key="Important" text="WAŻNE"/> - <l:gentext key="important" text="WAŻNE"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="Indeks"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Odbiorcy"/> - <l:gentext key="msgaud" text="Odbiorcy"/> - <l:gentext key="MsgLevel" text="Poziom"/> - <l:gentext key="msglevel" text="Poziom"/> - <l:gentext key="MsgOrig" text="Nadawca"/> - <l:gentext key="msgorig" text="Nadawca"/> - <l:gentext key="Note" text="Notatka"/> - <l:gentext key="note" text="Notatka"/> - <l:gentext key="Part" text="Część"/> - <l:gentext key="part" text="Część"/> - <l:gentext key="Preface" text="Przedmowa"/> - <l:gentext key="preface" text="Przedmowa"/> - <l:gentext key="Procedure" text="Procedura"/> - <l:gentext key="procedure" text="Procedura"/> - <l:gentext key="Published" text="Data wydania"/> - <l:gentext key="published" text="Data wydania"/> - <l:gentext key="Question" text="Pyt:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Materiały źródłowe"/> - <l:gentext key="reference" text="Materiały źródłowe"/> - <l:gentext key="RefName" text="Nazwa"/> - <l:gentext key="refname" text="Nazwa"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Historia zmian"/> - <l:gentext key="revhistory" text="Historia zmian"/> - <l:gentext key="Revision" text="Zmiana"/> - <l:gentext key="revision" text="Zmiana"/> - <l:gentext key="Section" text="Sekcja"/> - <l:gentext key="section" text="sekcja"/> - <l:gentext key="See" text="Patrz"/> - <l:gentext key="see" text="Patrz"/> - <l:gentext key="SeeAlso" text="Patrz też"/> - <l:gentext key="Seealso" text="Patrz też"/> - <l:gentext key="seealso" text="Patrz też"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="SetIndex" text="Indeks"/> - <l:gentext key="setindex" text="Indeks"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text=""/> - <l:gentext key="Step" text="krok"/> - <l:gentext key="step" text="krok"/> - <l:gentext key="Table" text="Tabela"/> - <l:gentext key="table" text="Tabela"/> - <l:gentext key="Tip" text="Podpowiedź"/> - <l:gentext key="tip" text="Podpowiedź"/> - <l:gentext key="Warning" text="Ostrzeżenie"/> - <l:gentext key="warning" text="Ostrzeżenie"/> - <l:gentext key="and" text="i"/> - <l:gentext key="by" text=""/> - <l:gentext key="Editedby" text="Redakcja: "/> - <l:gentext key="editedby" text="Redakcja: "/> - <l:gentext key="in" text="w"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="nie istniejący element"/> - <l:gentext key="notes" text="Przypisy"/> - <l:gentext key="Notes" text="Przypisy"/> - <l:gentext key="Pgs" text="stron"/> - <l:gentext key="pgs" text="stron"/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Przypisy"/> - <l:gentext key="tablenotes" text="Przypisy"/> - <l:gentext key="TableofContents" text="Spis treści"/> - <l:gentext key="tableofcontents" text="Spis treści"/> - <l:gentext key="unexpectedelementname" text="Unexpected element name"/> - <l:gentext key="unsupported" text="nie wspierany"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="Spis równań"/> - <l:gentext key="ListofEquations" text="Spis równań"/> - <l:gentext key="ListofExamples" text="Spis przykładów"/> - <l:gentext key="listofexamples" text="Spis przykładów"/> - <l:gentext key="ListofFigures" text="Spis rysunków"/> - <l:gentext key="listoffigures" text="Spis rysunków"/> - <l:gentext key="listoftables" text="Spis tabel"/> - <l:gentext key="ListofTables" text="Spis tabel"/> - <l:gentext key="ListofUnknown" text="Spis ???"/> - <l:gentext key="listofunknown" text="Spis ???"/> - <l:gentext key="nav-home" text="Spis treści"/> - <l:gentext key="nav-next" text="Następny"/> - <l:gentext key="nav-next-sibling" text="Następny rozdział"/> - <l:gentext key="nav-prev" text="Poprzedni"/> - <l:gentext key="nav-prev-sibling" text="Poprzedni rozdział"/> - <l:gentext key="nav-up" text="Początek rozdziału"/> - <l:dingbat key="startquote" text="„"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="«"/> - <l:dingbat key="nestedendquote" text="»"/> - <l:dingbat key="bullet" text="ߦ"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Rozdział %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Równanie %n. %t"/> - <l:template name="example" text="Przykład %n. %t"/> - <l:template name="figure" text="Rysunek %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Część %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="chapter" text="Rozdział %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Rozdział %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Przykład %n. %t"/> - <l:template name="figure" text="Rysunek %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Część %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Sekcja %n"/> - <l:template name="sect2" text="Sekcja %n"/> - <l:template name="sect3" text="Sekcja %n"/> - <l:template name="sect4" text="Sekcja %n"/> - <l:template name="sect5" text="Sekcja %n"/> - <l:template name="section" text="Sekcja %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" i "/> - <l:template name="seplast" text=", i "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Patrz "/> - <l:template name="seealso" text="Patrz też "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Odbiorcy: "/> - <l:template name="MsgLevel" text="Poziom: "/> - <l:template name="MsgOrig" text="Nadawca: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/pt.xml b/stylesheets/docbook/common/pt.xml deleted file mode 100644 index a78302b0..00000000 --- a/stylesheets/docbook/common/pt.xml +++ /dev/null @@ -1,342 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Resumo"/> - <l:gentext key="abstract" text="Resumo"/> - <l:gentext key="Answer" text="R:"/> - <l:gentext key="answer" text="R:"/> - <l:gentext key="Appendix" text="Apêndice"/> - <l:gentext key="appendix" text="apêndice"/> - <l:gentext key="Article" text="Artigo"/> - <l:gentext key="article" text="Artigo"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Livro"/> - <l:gentext key="book" text="Livro"/> - <l:gentext key="Caution" text="Cautela"/> - <l:gentext key="caution" text="Cautela"/> - <l:gentext key="CAUTION" text="CAUTELA"/> - <l:gentext key="Chapter" text="Capítulo"/> - <l:gentext key="chapter" text="capítulo"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedicatória"/> - <l:gentext key="dedication" text="Dedicatória"/> - <l:gentext key="Edition" text="Edição"/> - <l:gentext key="edition" text="Edição"/> - <l:gentext key="Equation" text="Equação"/> - <l:gentext key="equation" text="Equação"/> - <l:gentext key="Example" text="Exemplo"/> - <l:gentext key="example" text="Exemplo"/> - <l:gentext key="Figure" text="Figura"/> - <l:gentext key="figure" text="Figura"/> - <l:gentext key="Glossary" text="Glossario"/> - <l:gentext key="glossary" text="Glossario"/> - <l:gentext key="GlossSee" text="Ver"/> - <l:gentext key="glosssee" text="Ver"/> - <l:gentext key="GlossSeeAlso" text="Ver Também"/> - <l:gentext key="glossseealso" text="Ver Também"/> - <l:gentext key="IMPORTANT" text="IMPORTANTE"/> - <l:gentext key="Important" text="Importante"/> - <l:gentext key="important" text="Importante"/> - <l:gentext key="Index" text="Index"/> - <l:gentext key="index" text="Index"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text="Audiência"/> - <l:gentext key="msgaud" text="Audiência"/> - <l:gentext key="MsgLevel" text="Nível"/> - <l:gentext key="msglevel" text="Nível"/> - <l:gentext key="MsgOrig" text="Origem"/> - <l:gentext key="msgorig" text="Origem"/> - <l:gentext key="note" text="Nota"/> - <l:gentext key="NOTE" text="NOTA"/> - <l:gentext key="Note" text="Nota"/> - <l:gentext key="Part" text="Parte"/> - <l:gentext key="part" text="Parte"/> - <l:gentext key="Preface" text="Prefácio"/> - <l:gentext key="preface" text="Prefácio"/> - <l:gentext key="Procedure" text="Procedimento"/> - <l:gentext key="procedure" text="Procedimento"/> - <l:gentext key="PubDate" text="Editado"/> - <l:gentext key="pubdate" text="Editado"/> - <l:gentext key="Published" text="Publicado"/> - <l:gentext key="published" text="Publicado"/> - <l:gentext key="Question" text="P:"/> - <l:gentext key="question" text="P:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referência"/> - <l:gentext key="reference" text="Referência"/> - <l:gentext key="RefName" text="Nome"/> - <l:gentext key="refname" text="Nome"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Hitorial de Revisões"/> - <l:gentext key="revhistory" text="Hitorial de Revisões"/> - <l:gentext key="Revision" text="Revisão"/> - <l:gentext key="revision" text="Revisão"/> - <l:gentext key="Section" text="Secção"/> - <l:gentext key="section" text="secção"/> - <l:gentext key="see" text="Ver"/> - <l:gentext key="See" text="Ver"/> - <l:gentext key="seealso" text="Ver Também"/> - <l:gentext key="SeeAlso" text="Ver Também"/> - <l:gentext key="Seealso" text="ver também"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="Sidebar" text="Sidebar"/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="passo"/> - <l:gentext key="Step" text="Passo"/> - <l:gentext key="Table" text="Tabela"/> - <l:gentext key="table" text="Tabela"/> - <l:gentext key="TIP" text="DICA"/> - <l:gentext key="Tip" text="Dica"/> - <l:gentext key="tip" text="Dica"/> - <l:gentext key="WARNING" text="ATENÇÃO"/> - <l:gentext key="warning" text="Atenção"/> - <l:gentext key="Warning" text="Atenção"/> - <l:gentext key="and" text="e"/> - <l:gentext key="by" text="por"/> - <l:gentext key="Edited" text="Editado"/> - <l:gentext key="edited" text="Editado"/> - <l:gentext key="Editedby" text="Editado por"/> - <l:gentext key="editedby" text="Editado por"/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="non-existant element"/> - <l:gentext key="notes" text="Notas"/> - <l:gentext key="Notes" text="Notas"/> - <l:gentext key="Pgs" text="Páginas"/> - <l:gentext key="pgs" text="Páginas"/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notas"/> - <l:gentext key="tablenotes" text="Notas"/> - <l:gentext key="TableofContents" text="Índice"/> - <l:gentext key="tableofcontents" text="Índice"/> - <l:gentext key="unexpectedelementname" text="Unexpected element name"/> - <l:gentext key="unsupported" text="unsupported"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="Lista de Equações"/> - <l:gentext key="ListofEquations" text="Lista de Equações"/> - <l:gentext key="ListofExamples" text="Lista de Exemplos"/> - <l:gentext key="listofexamples" text="Lista de Exemplos"/> - <l:gentext key="ListofFigures" text="Lista de Figuras"/> - <l:gentext key="listoffigures" text="Lista de Figuras"/> - <l:gentext key="listoftables" text="Lista de Tabelas"/> - <l:gentext key="ListofTables" text="Lista de Tabelas"/> - <l:gentext key="ListofUnknown" text="List of ???"/> - <l:gentext key="listofunknown" text="List of ???"/> - <l:gentext key="nav-home" text="Home"/> - <l:gentext key="nav-next" text="Next"/> - <l:gentext key="nav-next-sibling" text="Fast Forward"/> - <l:gentext key="nav-prev" text="Prev"/> - <l:gentext key="nav-prev-sibling" text="Fast Backward"/> - <l:gentext key="nav-up" text="Up"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equação %n. %t"/> - <l:template name="example" text="Exemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="Pergunta %n"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Exemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Secção %n"/> - <l:template name="sect2" text="Secção %n"/> - <l:template name="sect3" text="Secção %n"/> - <l:template name="sect4" text="Secção %n"/> - <l:template name="sect5" text="Secção %n"/> - <l:template name="section" text="Secção %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" e "/> - <l:template name="seplast" text=", e "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Ver "/> - <l:template name="seealso" text="Ver Também "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audiência: "/> - <l:template name="MsgLevel" text="Nível: "/> - <l:template name="MsgOrig" text="Origem: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/pt_br.xml b/stylesheets/docbook/common/pt_br.xml deleted file mode 100644 index 27060624..00000000 --- a/stylesheets/docbook/common/pt_br.xml +++ /dev/null @@ -1,341 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt_br"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Resumo"/> - <l:gentext key="abstract" text="Resumo"/> - <l:gentext key="Answer" text="R:"/> - <l:gentext key="answer" text="R:"/> - <l:gentext key="Appendix" text="Apêndice"/> - <l:gentext key="appendix" text="apêndice"/> - <l:gentext key="Article" text="Artigo"/> - <l:gentext key="article" text="Artigo"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Livro"/> - <l:gentext key="book" text="Livro"/> - <l:gentext key="Caution" text="Cuidado"/> - <l:gentext key="caution" text="Cuidado"/> - <l:gentext key="CAUTION" text="CUIDADO"/> - <l:gentext key="Chapter" text="Capítulo"/> - <l:gentext key="chapter" text="capítulo"/> - <l:gentext key="Colophon" text="Considerações finais"/> - <l:gentext key="colophon" text="Considerações finais"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedicatória"/> - <l:gentext key="dedication" text="Dedicatória"/> - <l:gentext key="Edition" text="Edição"/> - <l:gentext key="edition" text="Edição"/> - <l:gentext key="Equation" text="Equação"/> - <l:gentext key="equation" text="Equação"/> - <l:gentext key="Example" text="Exemplo"/> - <l:gentext key="example" text="Exemplo"/> - <l:gentext key="Figure" text="Figura"/> - <l:gentext key="figure" text="Figura"/> - <l:gentext key="Glossary" text="Glossário"/> - <l:gentext key="glossary" text="Glossário"/> - <l:gentext key="GlossSee" text="Ver"/> - <l:gentext key="glosssee" text="Ver"/> - <l:gentext key="GlossSeeAlso" text="Ver Também"/> - <l:gentext key="glossseealso" text="Ver Também"/> - <l:gentext key="IMPORTANT" text="IMPORTANTE"/> - <l:gentext key="Important" text="Importante"/> - <l:gentext key="important" text="Importante"/> - <l:gentext key="Index" text="Índice Remissivo"/> - <l:gentext key="index" text="Índice Remissivo"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Nota Legal"/> - <l:gentext key="legalnotice" text="Nota Legal"/> - <l:gentext key="MsgAud" text="Audiência"/> - <l:gentext key="msgaud" text="Audiência"/> - <l:gentext key="MsgLevel" text="Nível"/> - <l:gentext key="msglevel" text="Nível"/> - <l:gentext key="MsgOrig" text="Origem"/> - <l:gentext key="msgorig" text="Origem"/> - <l:gentext key="note" text="Nota"/> - <l:gentext key="NOTE" text="NOTA"/> - <l:gentext key="Note" text="Nota"/> - <l:gentext key="Part" text="Parte"/> - <l:gentext key="part" text="Parte"/> - <l:gentext key="Preface" text="Prefácio"/> - <l:gentext key="preface" text="Prefácio"/> - <l:gentext key="Procedure" text="Procedimento"/> - <l:gentext key="procedure" text="Procedimento"/> - <l:gentext key="PubDate" text="Data de Publicação"/> - <l:gentext key="pubdate" text="Data de Publicação"/> - <l:gentext key="Published" text="Publicado"/> - <l:gentext key="published" text="Publicado"/> - <l:gentext key="Question" text="P:"/> - <l:gentext key="question" text="P:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referência"/> - <l:gentext key="reference" text="Referência"/> - <l:gentext key="RefName" text="Nome"/> - <l:gentext key="refname" text="Nome"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Sinopse"/> - <l:gentext key="refsynopsisdiv" text="Sinopse"/> - <l:gentext key="RevHistory" text="Histórico de Revisões"/> - <l:gentext key="revhistory" text="Histórico de Revisões"/> - <l:gentext key="Revision" text="Revisão"/> - <l:gentext key="revision" text="Revisão"/> - <l:gentext key="Section" text="Seção"/> - <l:gentext key="section" text="seção"/> - <l:gentext key="see" text="Ver"/> - <l:gentext key="See" text="Ver"/> - <l:gentext key="seealso" text="Ver Também"/> - <l:gentext key="SeeAlso" text="Ver Também"/> - <l:gentext key="Seealso" text="ver também"/> - <l:gentext key="Set" text="Conjunto"/> - <l:gentext key="set" text="Conjunto"/> - <l:gentext key="SetIndex" text="Índice do Conjunto"/> - <l:gentext key="setindex" text="Índice do Conjunto"/> - <l:gentext key="Sidebar" text="Quadro Lateral"/> - <l:gentext key="sidebar" text="quadro lateral"/> - <l:gentext key="step" text="passo"/> - <l:gentext key="Step" text="Passo"/> - <l:gentext key="Table" text="Tabela"/> - <l:gentext key="table" text="Tabela"/> - <l:gentext key="TIP" text="DICA"/> - <l:gentext key="Tip" text="Dica"/> - <l:gentext key="tip" text="Dica"/> - <l:gentext key="WARNING" text="ATENÇÃO"/> - <l:gentext key="warning" text="Atenção"/> - <l:gentext key="Warning" text="Atenção"/> - <l:gentext key="and" text="e"/> - <l:gentext key="by" text="por"/> - <l:gentext key="edited" text="Editado"/> - <l:gentext key="Edited" text="Editado"/> - <l:gentext key="editedby" text="Editado por"/> - <l:gentext key="Editedby" text="Editado por"/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="elemento inexistente"/> - <l:gentext key="Notes" text="Notas"/> - <l:gentext key="notes" text="Notas"/> - <l:gentext key="Pgs" text="Páginas"/> - <l:gentext key="pgs" text="Páginas"/> - <l:gentext key="Revisedby" text="Revisado por: "/> - <l:gentext key="revisedby" text="Revisado por: "/> - <l:gentext key="tablenotes" text="Notas"/> - <l:gentext key="TableNotes" text="Notas"/> - <l:gentext key="TableofContents" text="Índice"/> - <l:gentext key="tableofcontents" text="Índice"/> - <l:gentext key="unexpectedelementname" text="Nome de elemento inesperado"/> - <l:gentext key="unsupported" text="não suportado"/> - <l:gentext key="xrefto" text="referência para"/> - <l:gentext key="listofequations" text="Lista de Equações"/> - <l:gentext key="ListofEquations" text="Lista de Equações"/> - <l:gentext key="ListofExamples" text="Lista de Exemplos"/> - <l:gentext key="listofexamples" text="Lista de Exemplos"/> - <l:gentext key="ListofFigures" text="Lista de Figuras"/> - <l:gentext key="listoffigures" text="Lista de Figuras"/> - <l:gentext key="listoftables" text="Lista de Tabelas"/> - <l:gentext key="ListofTables" text="Lista de Tabelas"/> - <l:gentext key="ListofUnknown" text="Lista de ???"/> - <l:gentext key="listofunknown" text="Lista de ???"/> - <l:gentext key="nav-home" text="Principal"/> - <l:gentext key="nav-next" text="Próxima"/> - <l:gentext key="nav-next-sibling" text="Fim"/> - <l:gentext key="nav-prev" text="Anterior"/> - <l:gentext key="nav-prev-sibling" text="Início"/> - <l:gentext key="nav-up" text="Acima"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Equação %n. %t"/> - <l:template name="example" text="Exemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Apêndice %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Capítulo %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Exemplo %n. %t"/> - <l:template name="figure" text="Figura %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Seção %n"/> - <l:template name="sect2" text="Seção %n"/> - <l:template name="sect3" text="Seção %n"/> - <l:template name="sect4" text="Seção %n"/> - <l:template name="sect5" text="Seção %n"/> - <l:template name="section" text="Seção %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" e "/> - <l:template name="seplast" text=", e "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Ver "/> - <l:template name="seealso" text="Ver Também "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audiência: "/> - <l:template name="MsgLevel" text="Nível: "/> - <l:template name="MsgOrig" text="Origem: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/ro.xml b/stylesheets/docbook/common/ro.xml deleted file mode 100644 index e0b7b39e..00000000 --- a/stylesheets/docbook/common/ro.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ro"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Rezumat"/> - <l:gentext key="abstract" text="Rezumat"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Anexa"/> - <l:gentext key="appendix" text="anexa"/> - <l:gentext key="Article" text="Articol"/> - <l:gentext key="article" text="Articol"/> - <l:gentext key="Bibliography" text="Bibliografie"/> - <l:gentext key="bibliography" text="Bibliografie"/> - <l:gentext key="Book" text="Carte"/> - <l:gentext key="book" text="Carte"/> - <l:gentext key="CAUTION" text="ATENÞIE"/> - <l:gentext key="caution" text="Atenþie"/> - <l:gentext key="Caution" text="Atenþie"/> - <l:gentext key="Chapter" text="Cap."/> - <l:gentext key="chapter" text="cap."/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedicaþie"/> - <l:gentext key="dedication" text="Dedicaþie"/> - <l:gentext key="Edition" text="Ediþie"/> - <l:gentext key="edition" text="Ediþie"/> - <l:gentext key="Equation" text="ecuaþia"/> - <l:gentext key="equation" text="ecuaþia"/> - <l:gentext key="Example" text="Exemplu"/> - <l:gentext key="example" text="Exemplu"/> - <l:gentext key="Figure" text="Fig."/> - <l:gentext key="figure" text="Fig."/> - <l:gentext key="Glossary" text="Glosar"/> - <l:gentext key="glossary" text="Glosar"/> - <l:gentext key="GlossSee" text="Vezi"/> - <l:gentext key="glosssee" text="Vezi"/> - <l:gentext key="GlossSeeAlso" text="Vezi şi"/> - <l:gentext key="glossseealso" text="Vezi şi"/> - <l:gentext key="IMPORTANT" text="IMPORTANT"/> - <l:gentext key="Important" text="Important"/> - <l:gentext key="important" text="Important"/> - <l:gentext key="Index" text="Index"/> - <l:gentext key="index" text="Index"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text=""/> - <l:gentext key="legalnotice" text=""/> - <l:gentext key="MsgAud" text=""/> - <l:gentext key="msgaud" text=""/> - <l:gentext key="MsgLevel" text="Nivel"/> - <l:gentext key="msglevel" text="Nivel"/> - <l:gentext key="MsgOrig" text="Origine"/> - <l:gentext key="msgorig" text="Origine"/> - <l:gentext key="NOTE" text="NOTÃ"/> - <l:gentext key="note" text="Notã"/> - <l:gentext key="Note" text="Notã"/> - <l:gentext key="Part" text="Parte"/> - <l:gentext key="part" text="Parte"/> - <l:gentext key="Preface" text="Prefaþã"/> - <l:gentext key="preface" text="Prefaþã"/> - <l:gentext key="Procedure" text="Procedurã"/> - <l:gentext key="procedure" text="Procedurã"/> - <l:gentext key="Published" text="Publicat"/> - <l:gentext key="published" text="Publicat"/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referinþã"/> - <l:gentext key="reference" text="Referinþã"/> - <l:gentext key="refname" text="Nume"/> - <l:gentext key="RefName" text="Nume"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Rezumat"/> - <l:gentext key="refsynopsisdiv" text="Rezumat"/> - <l:gentext key="RevHistory" text="Istoricul versiunilor"/> - <l:gentext key="revhistory" text="Istoricul versiunilor"/> - <l:gentext key="Revision" text="Versiune"/> - <l:gentext key="revision" text="Versiune"/> - <l:gentext key="Section" text="Secþiune"/> - <l:gentext key="section" text="sec."/> - <l:gentext key="See" text="Vezi"/> - <l:gentext key="see" text="Vezi"/> - <l:gentext key="SeeAlso" text="Vezi şi"/> - <l:gentext key="seealso" text="Vezi şi"/> - <l:gentext key="Seealso" text="Vezi şi"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="SetIndex" text="Index"/> - <l:gentext key="setindex" text="Index"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="Step" text="Operaþie"/> - <l:gentext key="step" text="operaþiune"/> - <l:gentext key="Table" text="Tabel"/> - <l:gentext key="table" text="Tabel"/> - <l:gentext key="TIP" text="INDICAÞIE"/> - <l:gentext key="Tip" text="Indicaþie"/> - <l:gentext key="tip" text="Indicaþie"/> - <l:gentext key="WARNING" text="AVERTISMENT"/> - <l:gentext key="Warning" text="Avertisment"/> - <l:gentext key="warning" text="Avertisment"/> - <l:gentext key="and" text="şi"/> - <l:gentext key="by" text="de"/> - <l:gentext key="Edited" text="Publicat"/> - <l:gentext key="edited" text="Publicat"/> - <l:gentext key="Editedby" text="Publicat de"/> - <l:gentext key="editedby" text="Publicat de"/> - <l:gentext key="in" text="în"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="element inexistent"/> - <l:gentext key="notes" text="Note"/> - <l:gentext key="Notes" text="Note"/> - <l:gentext key="Pgs" text="Pagini"/> - <l:gentext key="pgs" text="Pagini"/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Remarci"/> - <l:gentext key="tablenotes" text="Remarci"/> - <l:gentext key="TableofContents" text="Cuprins"/> - <l:gentext key="tableofcontents" text="Cuprins"/> - <l:gentext key="unexpectedelementname" text="Nume de element neaşteptat"/> - <l:gentext key="unsupported" text="nerecunoscut de sisitem"/> - <l:gentext key="xrefto" text="referinþã cãtre"/> - <l:gentext key="listofequations" text="Listã de ecuaþii"/> - <l:gentext key="ListofEquations" text="Listã de ecuaþii"/> - <l:gentext key="ListofExamples" text="Listã de exemple"/> - <l:gentext key="listofexamples" text="Listã de exemple"/> - <l:gentext key="ListofFigures" text="Listã de figuri"/> - <l:gentext key="listoffigures" text="Listã de figuri"/> - <l:gentext key="listoftables" text="Listã de tabele"/> - <l:gentext key="ListofTables" text="Listã de tabele"/> - <l:gentext key="ListofUnknown" text="Listã de necunoscute"/> - <l:gentext key="listofunknown" text="Listã de necunoscute"/> - <l:gentext key="nav-home" text="Acasã"/> - <l:gentext key="nav-next" text="Înainte"/> - <l:gentext key="nav-next-sibling" text="Repede ïnainte"/> - <l:gentext key="nav-prev" text="Înapoi"/> - <l:gentext key="nav-prev-sibling" text="Repede înapoi"/> - <l:gentext key="nav-up" text="Sus"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Anexa %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Cap. %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="ecuaþia %n. %t"/> - <l:template name="example" text="Exemplu %n. %t"/> - <l:template name="figure" text="Fig. %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Anexa %n. %t"/> - <l:template name="chapter" text="Cap. %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Anexa %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Cap. %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Exemplu %n. %t"/> - <l:template name="figure" text="Fig. %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Parte %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabel %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Secþiune %n"/> - <l:template name="sect2" text="Secþiune %n"/> - <l:template name="sect3" text="Secþiune %n"/> - <l:template name="sect4" text="Secþiune %n"/> - <l:template name="sect5" text="Secþiune %n"/> - <l:template name="section" text="Secþiune %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" şi "/> - <l:template name="seplast" text=", şi "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Vezi "/> - <l:template name="seealso" text="Vezi şi "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text=": "/> - <l:template name="MsgLevel" text="Nivel: "/> - <l:template name="MsgOrig" text="Origine: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/ru.xml b/stylesheets/docbook/common/ru.xml deleted file mode 100644 index f8cc6e5e..00000000 --- a/stylesheets/docbook/common/ru.xml +++ /dev/null @@ -1,368 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Аннотация"/> - <l:gentext key="abstract" text="Аннотация"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Приложение"/> - <l:gentext key="appendix" text="приложение"/> - <l:gentext key="Appendix.abr" text="Прил."/> - <l:gentext key="appendix.abr" text="Прил."/> - <l:gentext key="Article" text="Статья"/> - <l:gentext key="article" text="Статья"/> - <l:gentext key="Audience" text="Аудитория"/> - <l:gentext key="audience" text="Аудитория"/> - <l:gentext key="Bibliography" text="Литература"/> - <l:gentext key="bibliography" text="Литература"/> - <l:gentext key="Book" text="Книга"/> - <l:gentext key="book" text="Книга"/> - <l:gentext key="Caution" text="Предостережение"/> - <l:gentext key="caution" text="Предостережение"/> - <l:gentext key="CAUTION" text="ПРЕДОСТЕРЕЖЕНИЕ"/> - <l:gentext key="Chapter" text="Глава"/> - <l:gentext key="chapter" text="глава"/> - <l:gentext key="Chapter.abr" text="Гл."/> - <l:gentext key="chapter.abr" text="Гл."/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Посвящение"/> - <l:gentext key="dedication" text="Посвящение"/> - <l:gentext key="Edition" text="Редакция"/> - <l:gentext key="edition" text="Редакция"/> - <l:gentext key="Equation" text="Формула"/> - <l:gentext key="equation" text="Формула"/> - <l:gentext key="Equation.abr" text="Ф."/> - <l:gentext key="equation.abr" text="Ф."/> - <l:gentext key="Example" text="Пример"/> - <l:gentext key="example" text="Пример"/> - <l:gentext key="Example.abr" text="Прим."/> - <l:gentext key="example.abr" text="Прим."/> - <l:gentext key="Figure" text="Рисунок"/> - <l:gentext key="figure" text="Рисунок"/> - <l:gentext key="Figure.abr" text="Рис."/> - <l:gentext key="figure.abr" text="Рис."/> - <l:gentext key="Glossary" text="Глоссарий"/> - <l:gentext key="glossary" text="Глоссарий"/> - <l:gentext key="GlossSee" text="See"/> - <l:gentext key="glosssee" text="See"/> - <l:gentext key="GlossSeeAlso" text="See Also"/> - <l:gentext key="glossseealso" text="See Also"/> - <l:gentext key="Important" text="Важно"/> - <l:gentext key="important" text="Важно"/> - <l:gentext key="IMPORTANT" text="ВАЖНО"/> - <l:gentext key="Index" text="Предметный указатель"/> - <l:gentext key="index" text="Предметный указатель"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="legalnotice" text="Авторские права"/> - <l:gentext key="LegalNotice" text="Авторские права"/> - <l:gentext key="Level" text="Уровень"/> - <l:gentext key="level" text="Уровень"/> - <l:gentext key="MsgAud" text="Audience"/> - <l:gentext key="msgaud" text="Audience"/> - <l:gentext key="MsgLevel" text="Level"/> - <l:gentext key="msglevel" text="Level"/> - <l:gentext key="MsgOrig" text="Origin"/> - <l:gentext key="msgorig" text="Origin"/> - <l:gentext key="name" text="Имя"/> - <l:gentext key="Name" text="Имя"/> - <l:gentext key="Note" text="Замечание"/> - <l:gentext key="note" text="Замечание"/> - <l:gentext key="NOTE" text="ЗАМЕЧАНИЕ"/> - <l:gentext key="Origin" text="Источник"/> - <l:gentext key="origin" text="Источник"/> - <l:gentext key="Part" text="Часть"/> - <l:gentext key="part" text="Часть"/> - <l:gentext key="Part.abr" text="Ч."/> - <l:gentext key="part.abr" text="Ч."/> - <l:gentext key="Preface" text="Предисловие"/> - <l:gentext key="preface" text="Предисловие"/> - <l:gentext key="Procedure" text="Процедура"/> - <l:gentext key="procedure" text="Процедура"/> - <l:gentext key="Procedure.abr" text="Проц."/> - <l:gentext key="procedure.abr" text="Проц."/> - <l:gentext key="Published" text="Опубликовано"/> - <l:gentext key="published" text="Опубликовано"/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Ссылка"/> - <l:gentext key="reference" text="Ссылка"/> - <l:gentext key="RefName" text="Name"/> - <l:gentext key="refname" text="Name"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="История переиздания"/> - <l:gentext key="revhistory" text="История переиздания"/> - <l:gentext key="Revision" text="Издание"/> - <l:gentext key="revision" text="Издание"/> - <l:gentext key="Section" text="Раздел"/> - <l:gentext key="section" text="раздел"/> - <l:gentext key="section.abr" text="Разд."/> - <l:gentext key="Section.abr" text="Разд."/> - <l:gentext key="See" text="См."/> - <l:gentext key="see" text="См."/> - <l:gentext key="SeeAlso" text="См. также"/> - <l:gentext key="seealso" text="См. также"/> - <l:gentext key="Seealso" text="См. также"/> - <l:gentext key="set" text="Подборка"/> - <l:gentext key="Set" text="Подборка"/> - <l:gentext key="setindex" text="Индекс подборки"/> - <l:gentext key="SetIndex" text="Индекс подборки"/> - <l:gentext key="Sidebar" text="Выделение"/> - <l:gentext key="sidebar" text="выделение"/> - <l:gentext key="Step" text="Шаг"/> - <l:gentext key="step" text="шаг"/> - <l:gentext key="Table" text="Таблица"/> - <l:gentext key="table" text="Таблица"/> - <l:gentext key="Table.abr" text="Табл."/> - <l:gentext key="table.abr" text="Табл."/> - <l:gentext key="tip" text="Подсказка"/> - <l:gentext key="TIP" text="ПОДСКАЗКА"/> - <l:gentext key="Tip" text="Подсказка"/> - <l:gentext key="WARNING" text="ВНИМАНИЕ"/> - <l:gentext key="warning" text="Внимание"/> - <l:gentext key="Warning" text="Внимание"/> - <l:gentext key="and" text=""/> - <l:gentext key="by" text=""/> - <l:gentext key="called" text=""/> - <l:gentext key="edited" text="Под редакцией"/> - <l:gentext key="Edited" text="Под редакцией"/> - <l:gentext key="Editedby" text="Под редакцией"/> - <l:gentext key="editedby" text="Под редакцией"/> - <l:gentext key="in" text="в"/> - <l:gentext key="TableofContents" text="Содержание"/> - <l:gentext key="tableofcontents" text="Содержание"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="Notes" text="Примечания"/> - <l:gentext key="notes" text="Примечания"/> - <l:gentext key="TableNotes" text="Примечания"/> - <l:gentext key="tablenotes" text="Примечания"/> - <l:gentext key="nonexistantelement" text="non-existant element"/> - <l:gentext key="pgs" text="Стр."/> - <l:gentext key="Pgs" text="Стр."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="the" text=""/> - <l:gentext key="unexpectedelementname" text="unexpected element name"/> - <l:gentext key="unsupported" text="unsupported"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="Список формул"/> - <l:gentext key="ListofEquations" text="Список формул"/> - <l:gentext key="ListofExamples" text="Список примеров"/> - <l:gentext key="listofexamples" text="Список примеров"/> - <l:gentext key="ListofFigures" text="Список иллюстраций"/> - <l:gentext key="listoffigures" text="Список иллюстраций"/> - <l:gentext key="listoftables" text="Список таблиц"/> - <l:gentext key="ListofTables" text="Список таблиц"/> - <l:gentext key="ListofUnknown" text="Неопределенный список"/> - <l:gentext key="listofunknown" text="Неопределенный список"/> - <l:gentext key="nav-next" text="След."/> - <l:gentext key="nav-next-sibling" text="След. подраздел"/> - <l:gentext key="nav-prev" text="Пред."/> - <l:gentext key="nav-prev-sibling" text="Пред. подраздел"/> - <l:gentext key="x-nav-next" text="След."/> - <l:gentext key="nav-home" text="Начало"/> - <l:gentext key="nav-up" text="Уровень выше"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Приложение %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Глава %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Формула %n. %t"/> - <l:template name="example" text="Пример %n. %t"/> - <l:template name="figure" text="Рисунок %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Часть %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Таблица %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Приложение %n. %t"/> - <l:template name="chapter" text="Глава %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Приложение %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Глава %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Пример %n. %t"/> - <l:template name="figure" text="Рисунок %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Часть %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Таблица %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Раздел %n"/> - <l:template name="sect2" text="Раздел %n"/> - <l:template name="sect3" text="Раздел %n"/> - <l:template name="sect4" text="Раздел %n"/> - <l:template name="sect5" text="Раздел %n"/> - <l:template name="section" text="Раздел %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" "/> - <l:template name="seplast" text=", "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="See "/> - <l:template name="seealso" text="See Also "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Audience: "/> - <l:template name="MsgLevel" text="Level: "/> - <l:template name="MsgOrig" text="Origin: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/sk.xml b/stylesheets/docbook/common/sk.xml deleted file mode 100644 index 652a87ec..00000000 --- a/stylesheets/docbook/common/sk.xml +++ /dev/null @@ -1,342 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sk"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Obsah"/> - <l:gentext key="abstract" text="Obsah"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Dodatok"/> - <l:gentext key="appendix" text="dodatok"/> - <l:gentext key="Article" text="Článok"/> - <l:gentext key="article" text="Článok"/> - <l:gentext key="Bibliography" text="Bibliografia"/> - <l:gentext key="bibliography" text="Bibliografia"/> - <l:gentext key="Book" text="Kniha"/> - <l:gentext key="book" text="Kniha"/> - <l:gentext key="CAUTION" text="VÝSTRAHA"/> - <l:gentext key="caution" text="Výstraha"/> - <l:gentext key="Caution" text="Výstraha"/> - <l:gentext key="Chapter" text="Kapitola"/> - <l:gentext key="chapter" text="kapitola"/> - <l:gentext key="Colophon" text="Tiráž"/> - <l:gentext key="colophon" text="Tiráž"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Venovanie"/> - <l:gentext key="dedication" text="Venovanie"/> - <l:gentext key="Edition" text="Vydanie"/> - <l:gentext key="edition" text="Vydanie"/> - <l:gentext key="Equation" text="Rovnice"/> - <l:gentext key="equation" text="Rovnice"/> - <l:gentext key="Example" text="Príklad"/> - <l:gentext key="example" text="Príklad"/> - <l:gentext key="Figure" text="Obrázok"/> - <l:gentext key="figure" text="Obrázok"/> - <l:gentext key="Glossary" text="Slovník"/> - <l:gentext key="glossary" text="Slovník"/> - <l:gentext key="GlossSee" text="Pozri"/> - <l:gentext key="glosssee" text="Pozri"/> - <l:gentext key="GlossSeeAlso" text="Pozri tiež"/> - <l:gentext key="glossseealso" text="Pozri tiež"/> - <l:gentext key="IMPORTANT" text="DÔLEŽITÉ"/> - <l:gentext key="Important" text="Dôležité"/> - <l:gentext key="important" text="Dôležité"/> - <l:gentext key="Index" text="Zoznam"/> - <l:gentext key="index" text="Zoznam"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Právna poznámka"/> - <l:gentext key="legalnotice" text="Právna poznámka"/> - <l:gentext key="MsgAud" text="Publikum"/> - <l:gentext key="msgaud" text="Publikum"/> - <l:gentext key="MsgLevel" text="Úroveň"/> - <l:gentext key="msglevel" text="Úroveň"/> - <l:gentext key="MsgOrig" text="Pôvod"/> - <l:gentext key="msgorig" text="Pôvod"/> - <l:gentext key="NOTE" text="POZNÁMKA"/> - <l:gentext key="Note" text="Poznámka"/> - <l:gentext key="note" text="Poznámka"/> - <l:gentext key="Part" text="Časť"/> - <l:gentext key="part" text="Časť"/> - <l:gentext key="Preface" text="Úvod"/> - <l:gentext key="preface" text="Úvod"/> - <l:gentext key="Procedure" text="Postup"/> - <l:gentext key="procedure" text="Postup"/> - <l:gentext key="Published" text="Vydané"/> - <l:gentext key="published" text="Vydané"/> - <l:gentext key="Question" text="Q:"/> - <l:gentext key="question" text="Q:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Odkaz"/> - <l:gentext key="reference" text="Odkaz"/> - <l:gentext key="RefName" text="Meno"/> - <l:gentext key="refname" text="Meno"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Prehľad"/> - <l:gentext key="refsynopsisdiv" text="Prehľad"/> - <l:gentext key="RevHistory" text="Prehľad revízií"/> - <l:gentext key="revhistory" text="Prehľad revízií"/> - <l:gentext key="Revision" text="Revízia"/> - <l:gentext key="revision" text="Revízia"/> - <l:gentext key="Section" text="Oddiel"/> - <l:gentext key="section" text="oddiel"/> - <l:gentext key="see" text="Pozri"/> - <l:gentext key="See" text="Pozri"/> - <l:gentext key="seealso" text="Pozri tiež"/> - <l:gentext key="SeeAlso" text="Pozri tiež"/> - <l:gentext key="Seealso" text="Pozri tiež"/> - <l:gentext key="Set" text="Nastaviť"/> - <l:gentext key="set" text="Nastaviť"/> - <l:gentext key="SetIndex" text="Nastaviť index"/> - <l:gentext key="setindex" text="Nastaviť index"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="boční lišta"/> - <l:gentext key="step" text="krok"/> - <l:gentext key="Step" text="Krok"/> - <l:gentext key="table" text="Tabuľka"/> - <l:gentext key="Table" text="Tabuľka"/> - <l:gentext key="TIP" text="TIP"/> - <l:gentext key="Tip" text="Tip"/> - <l:gentext key="tip" text="Tip"/> - <l:gentext key="WARNING" text="VAROVANIE"/> - <l:gentext key="Warning" text="Varovanie"/> - <l:gentext key="warning" text="Varovanie"/> - <l:gentext key="and" text="a"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Vydané"/> - <l:gentext key="edited" text="Vydané"/> - <l:gentext key="Editedby" text="Vydané"/> - <l:gentext key="editedby" text="Vydané"/> - <l:gentext key="in" text="v"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="neexistujúci prvok"/> - <l:gentext key="notes" text="Poznámky"/> - <l:gentext key="Notes" text="Poznámky"/> - <l:gentext key="Pgs" text="Str."/> - <l:gentext key="pgs" text="Str."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Poznámky"/> - <l:gentext key="tablenotes" text="Poznámky"/> - <l:gentext key="TableofContents" text="Obsah"/> - <l:gentext key="tableofcontents" text="Obsah"/> - <l:gentext key="unexpectedelementname" text="Neočakávané meno prvku"/> - <l:gentext key="unsupported" text="nepodporovaný"/> - <l:gentext key="xrefto" text="xref k"/> - <l:gentext key="listofequations" text="Zoznam rovníc"/> - <l:gentext key="ListofEquations" text="Zoznam rovníc"/> - <l:gentext key="ListofExamples" text="Zoznam príkladov"/> - <l:gentext key="listofexamples" text="Zoznam príkladov"/> - <l:gentext key="ListofFigures" text="Zoznam obrázkov"/> - <l:gentext key="listoffigures" text="Zoznam obrázkov"/> - <l:gentext key="listoftables" text="Zoznam tabuliek"/> - <l:gentext key="ListofTables" text="Zoznam tabuliek"/> - <l:gentext key="ListofUnknown" text="Zoznam neznámeho"/> - <l:gentext key="listofunknown" text="Zoznam neznámeho"/> - <l:gentext key="nav-home" text="Domov"/> - <l:gentext key="nav-next" text="Nasledujúci"/> - <l:gentext key="nav-next-sibling" text="Rýchlo dopredu"/> - <l:gentext key="nav-prev" text="Predchádzajúci"/> - <l:gentext key="nav-prev-sibling" text="Rýchlo nazpät"/> - <l:gentext key="nav-up" text="Hore"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Dodatok %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapitola %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Rovnice %n. %t"/> - <l:template name="example" text="Príklad %n. %t"/> - <l:template name="figure" text="Obrázok %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Časť %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabuľka %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Dodatok %n. %t"/> - <l:template name="chapter" text="Kapitola %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Dodatok %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapitola %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Príklad %n. %t"/> - <l:template name="figure" text="Obrázok %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Časť %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabuľka %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Oddiel %n"/> - <l:template name="sect2" text="Oddiel %n"/> - <l:template name="sect3" text="Oddiel %n"/> - <l:template name="sect4" text="Oddiel %n"/> - <l:template name="sect5" text="Oddiel %n"/> - <l:template name="section" text="Oddiel %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" a "/> - <l:template name="seplast" text=", a "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Pozri "/> - <l:template name="seealso" text="Pozri tiež "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Publikum: "/> - <l:template name="MsgLevel" text="Úroveň: "/> - <l:template name="MsgOrig" text="Pôvod: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/sl.xml b/stylesheets/docbook/common/sl.xml deleted file mode 100644 index 001dbd09..00000000 --- a/stylesheets/docbook/common/sl.xml +++ /dev/null @@ -1,340 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sl"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Povzetek"/> - <l:gentext key="abstract" text="Povzetek"/> - <l:gentext key="Answer" text="O:"/> - <l:gentext key="answer" text="O:"/> - <l:gentext key="Appendix" text="Dodatek"/> - <l:gentext key="appendix" text="dodatek"/> - <l:gentext key="Article" text="Članek"/> - <l:gentext key="article" text="Članek"/> - <l:gentext key="Bibliography" text="Literatura"/> - <l:gentext key="bibliography" text="Literatura"/> - <l:gentext key="Book" text="Knjiga"/> - <l:gentext key="book" text="Knjiga"/> - <l:gentext key="Caution" text="Opozorilo"/> - <l:gentext key="caution" text="Opozorilo"/> - <l:gentext key="CAUTION" text="OPOZORILO"/> - <l:gentext key="Chapter" text="Poglavje"/> - <l:gentext key="chapter" text="poglavje"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="Kolofon"/> - <l:gentext key="Copyright" text="Pravna zaščita"/> - <l:gentext key="copyright" text="Pravna zaščita"/> - <l:gentext key="Dedication" text="Posvetilo"/> - <l:gentext key="dedication" text="Posvetilo"/> - <l:gentext key="Edition" text="Izdaja"/> - <l:gentext key="edition" text="Izdaja"/> - <l:gentext key="Equation" text="Enačba"/> - <l:gentext key="equation" text="Enačba"/> - <l:gentext key="Example" text="Primer"/> - <l:gentext key="example" text="Primer"/> - <l:gentext key="Figure" text="Slika"/> - <l:gentext key="figure" text="Slika"/> - <l:gentext key="Glossary" text="Slovarček"/> - <l:gentext key="glossary" text="Slovarček"/> - <l:gentext key="GlossSee" text="glej"/> - <l:gentext key="glosssee" text="glej"/> - <l:gentext key="GlossSeeAlso" text="glej tudi"/> - <l:gentext key="glossseealso" text="glej tudi"/> - <l:gentext key="IMPORTANT" text="POMEMBNO"/> - <l:gentext key="Important" text="Pomembno"/> - <l:gentext key="important" text="Pomembno"/> - <l:gentext key="Index" text="Stvarno kazalo"/> - <l:gentext key="index" text="Stvarno kazalo"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Pravno sporočilo"/> - <l:gentext key="legalnotice" text="Pravno sporočilo"/> - <l:gentext key="MsgAud" text="Občinstvo"/> - <l:gentext key="msgaud" text="Občinstvo"/> - <l:gentext key="MsgLevel" text="Raven"/> - <l:gentext key="msglevel" text="Raven"/> - <l:gentext key="MsgOrig" text="Izvor"/> - <l:gentext key="msgorig" text="Izvor"/> - <l:gentext key="note" text="Opomba"/> - <l:gentext key="NOTE" text="OPOMBA"/> - <l:gentext key="Note" text="Opomba"/> - <l:gentext key="Part" text="Del"/> - <l:gentext key="part" text="Del"/> - <l:gentext key="Preface" text="Predgovor"/> - <l:gentext key="preface" text="Predgovor"/> - <l:gentext key="Procedure" text="Postopek"/> - <l:gentext key="procedure" text="Postopek"/> - <l:gentext key="Published" text="Izdano"/> - <l:gentext key="published" text="Izdano"/> - <l:gentext key="Question" text="V:"/> - <l:gentext key="question" text="V:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Sklic"/> - <l:gentext key="reference" text="Sklic"/> - <l:gentext key="RefName" text="Ime"/> - <l:gentext key="refname" text="Ime"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Sinopsis"/> - <l:gentext key="refsynopsisdiv" text="Sinopsis"/> - <l:gentext key="RevHistory" text="Zgodovina različic"/> - <l:gentext key="revhistory" text="Zgodovina različic"/> - <l:gentext key="Revision" text="Različica"/> - <l:gentext key="revision" text="Različica"/> - <l:gentext key="Section" text="Razdelek"/> - <l:gentext key="section" text="razdelek"/> - <l:gentext key="see" text="glej"/> - <l:gentext key="See" text="glej"/> - <l:gentext key="Seealso" text="Glej tudi"/> - <l:gentext key="seealso" text="glej tudi"/> - <l:gentext key="SeeAlso" text="glej tudi"/> - <l:gentext key="Set" text="Postavi"/> - <l:gentext key="set" text="Postavi"/> - <l:gentext key="SetIndex" text="Postavi stvarno kazalo"/> - <l:gentext key="setindex" text="Postavi stvarno kazalo"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="korak"/> - <l:gentext key="Step" text="Korak"/> - <l:gentext key="table" text="Tabela"/> - <l:gentext key="Table" text="Tabela"/> - <l:gentext key="TIP" text="NAMIG"/> - <l:gentext key="Tip" text="Namig"/> - <l:gentext key="tip" text="Namig"/> - <l:gentext key="WARNING" text="POZOR"/> - <l:gentext key="Warning" text="Pozor"/> - <l:gentext key="warning" text="Pozor"/> - <l:gentext key="and" text="in"/> - <l:gentext key="by" text="od"/> - <l:gentext key="Edited" text="Urejeno"/> - <l:gentext key="edited" text="Urejeno"/> - <l:gentext key="Editedby" text="Urejeno od"/> - <l:gentext key="editedby" text="Urejeno od"/> - <l:gentext key="in" text="v"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="neobstoječi element"/> - <l:gentext key="Notes" text="Notes"/> - <l:gentext key="notes" text="Notes"/> - <l:gentext key="Pgs" text="Str."/> - <l:gentext key="pgs" text="Str."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notes"/> - <l:gentext key="tablenotes" text="Notes"/> - <l:gentext key="TableofContents" text="Kazalo"/> - <l:gentext key="tableofcontents" text="Kazalo"/> - <l:gentext key="unexpectedelementname" text="Nepričakovano ime elementa"/> - <l:gentext key="unsupported" text="nepodprto"/> - <l:gentext key="xrefto" text="xref na"/> - <l:gentext key="listofequations" text="Seznam enačb"/> - <l:gentext key="ListofEquations" text="Seznam enačb"/> - <l:gentext key="ListofExamples" text="Seznam primerov"/> - <l:gentext key="listofexamples" text="Seznam primerov"/> - <l:gentext key="ListofFigures" text="Seznam slik"/> - <l:gentext key="listoffigures" text="Seznam slik"/> - <l:gentext key="listoftables" text="Seznam tabel"/> - <l:gentext key="ListofTables" text="Seznam tabel"/> - <l:gentext key="ListofUnknown" text="Seznam neznanih stvari"/> - <l:gentext key="listofunknown" text="Seznam neznanih stvari"/> - <l:gentext key="nav-home" text="Domov"/> - <l:gentext key="nav-next" text="Naprej"/> - <l:gentext key="nav-next-sibling" text="Hitro naprej"/> - <l:gentext key="nav-prev" text="Nazaj"/> - <l:gentext key="nav-prev-sibling" text="Hitro nazaj"/> - <l:gentext key="nav-up" text="Gor"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Poglavje %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Enačba %n. %t"/> - <l:template name="example" text="Primer %n. %t"/> - <l:template name="figure" text="Slika %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="chapter" text="Poglavje %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Dodatek %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Poglavje %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Primer %n. %t"/> - <l:template name="figure" text="Slika %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="question" text="V: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Razdelek %n"/> - <l:template name="sect2" text="Razdelek %n"/> - <l:template name="sect3" text="Razdelek %n"/> - <l:template name="sect4" text="Razdelek %n"/> - <l:template name="sect5" text="Razdelek %n"/> - <l:template name="section" text="Razdelek %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" in "/> - <l:template name="seplast" text=", in "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="glej "/> - <l:template name="seealso" text="glej tudi "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Občinstvo: "/> - <l:template name="MsgLevel" text="Raven: "/> - <l:template name="MsgOrig" text="Izvor: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/sr.xml b/stylesheets/docbook/common/sr.xml deleted file mode 100644 index 72359f9f..00000000 --- a/stylesheets/docbook/common/sr.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Pregled"/> - <l:gentext key="abstract" text="Pregled"/> - <l:gentext key="Answer" text="O:"/> - <l:gentext key="answer" text="O:"/> - <l:gentext key="Appendix" text="Dodatak"/> - <l:gentext key="appendix" text="dodatak"/> - <l:gentext key="Article" text="Članak"/> - <l:gentext key="article" text="Članak"/> - <l:gentext key="Bibliography" text="Literatura"/> - <l:gentext key="bibliography" text="Literatura"/> - <l:gentext key="Book" text="Knjiga"/> - <l:gentext key="book" text="Knjiga"/> - <l:gentext key="Caution" text="Upozorenje"/> - <l:gentext key="caution" text="Upozorenje"/> - <l:gentext key="CAUTION" text="UPOZORENJE"/> - <l:gentext key="Chapter" text="Poglavlje"/> - <l:gentext key="chapter" text="poglavlje"/> - <l:gentext key="Colophon" text="Kolofon"/> - <l:gentext key="colophon" text="Kolofon"/> - <l:gentext key="Copyright" text="Pravna zaštita"/> - <l:gentext key="copyright" text="Pravna zaštita"/> - <l:gentext key="Dedication" text="Posveta"/> - <l:gentext key="dedication" text="Posveta"/> - <l:gentext key="Edition" text="Izdanje"/> - <l:gentext key="edition" text="Izdanje"/> - <l:gentext key="Equation" text="Jednačina"/> - <l:gentext key="equation" text="Jednačina"/> - <l:gentext key="Example" text="Primer"/> - <l:gentext key="example" text="Primer"/> - <l:gentext key="Figure" text="Slika"/> - <l:gentext key="figure" text="Slika"/> - <l:gentext key="Glossary" text="Rečnik"/> - <l:gentext key="glossary" text="Rečnik"/> - <l:gentext key="GlossSee" text="Vidi"/> - <l:gentext key="glosssee" text="Vidi"/> - <l:gentext key="GlossSeeAlso" text="Vidi takođe"/> - <l:gentext key="glossseealso" text="Vidi takođe"/> - <l:gentext key="IMPORTANT" text="VAŽNO"/> - <l:gentext key="Important" text="Važno"/> - <l:gentext key="important" text="Važno"/> - <l:gentext key="Index" text="Indeks"/> - <l:gentext key="index" text="Indeks"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Pravno obaveštenje"/> - <l:gentext key="legalnotice" text="Pravno obaveštenje"/> - <l:gentext key="MsgAud" text="MsgAud"/> - <l:gentext key="msgaud" text="MsgAud"/> - <l:gentext key="MsgLevel" text="Nivo"/> - <l:gentext key="msglevel" text="Nivo"/> - <l:gentext key="MsgOrig" text="Izvor"/> - <l:gentext key="msgorig" text="Izvor"/> - <l:gentext key="note" text="Primedba"/> - <l:gentext key="NOTE" text="PRIMEDBA"/> - <l:gentext key="Note" text="Primedba"/> - <l:gentext key="Part" text="Deo"/> - <l:gentext key="part" text="Deo"/> - <l:gentext key="Preface" text="Predgovor"/> - <l:gentext key="preface" text="Predgovor"/> - <l:gentext key="Procedure" text="Postupak"/> - <l:gentext key="procedure" text="Postupak"/> - <l:gentext key="Published" text="Izdato"/> - <l:gentext key="published" text="Izdato"/> - <l:gentext key="Question" text="P:"/> - <l:gentext key="question" text="P:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referenca"/> - <l:gentext key="reference" text="Referenca"/> - <l:gentext key="RefName" text="Ime"/> - <l:gentext key="refname" text="Ime"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Sinopsis"/> - <l:gentext key="refsynopsisdiv" text="Sinopsis"/> - <l:gentext key="RevHistory" text="Istorija revizija"/> - <l:gentext key="revhistory" text="Istorija revizija"/> - <l:gentext key="Revision" text="Revizija"/> - <l:gentext key="revision" text="Revizija"/> - <l:gentext key="Section" text="Odeljak"/> - <l:gentext key="section" text="sekcija"/> - <l:gentext key="see" text="vidi"/> - <l:gentext key="See" text="vidi"/> - <l:gentext key="Seealso" text="Vidi takođe"/> - <l:gentext key="seealso" text="vidi takođe"/> - <l:gentext key="SeeAlso" text="vidi takođe"/> - <l:gentext key="set" text="Postavi"/> - <l:gentext key="Set" text="Postavi"/> - <l:gentext key="SetIndex" text="Postavi indeks"/> - <l:gentext key="setindex" text="Postavi indeks"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="korak"/> - <l:gentext key="Step" text="Korak"/> - <l:gentext key="table" text="Tabela"/> - <l:gentext key="Table" text="Tabela"/> - <l:gentext key="TIP" text="SAVET"/> - <l:gentext key="Tip" text="Savet"/> - <l:gentext key="tip" text="Savet"/> - <l:gentext key="WARNING" text="UPOZORENJE"/> - <l:gentext key="Warning" text="Upozorenje"/> - <l:gentext key="warning" text="Upozorenje"/> - <l:gentext key="and" text="i"/> - <l:gentext key="by" text="od"/> - <l:gentext key="Edited" text="Uređeno"/> - <l:gentext key="edited" text="Uređeno"/> - <l:gentext key="Editedby" text="Uređeno od"/> - <l:gentext key="editedby" text="Uređeno od"/> - <l:gentext key="in" text="u"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="nepostojeći element"/> - <l:gentext key="notes" text="Notes"/> - <l:gentext key="Notes" text="Notes"/> - <l:gentext key="Pgs" text="Str."/> - <l:gentext key="pgs" text="Str."/> - <l:gentext key="Revisedby" text="Revised by: "/> - <l:gentext key="revisedby" text="Revised by: "/> - <l:gentext key="TableNotes" text="Notes"/> - <l:gentext key="tablenotes" text="Notes"/> - <l:gentext key="TableofContents" text="Sadržaj"/> - <l:gentext key="tableofcontents" text="Sadržaj"/> - <l:gentext key="unexpectedelementname" text="Neočekivano ime elementa"/> - <l:gentext key="unsupported" text="nepodržano"/> - <l:gentext key="xrefto" text="xref na"/> - <l:gentext key="listofequations" text="Spisak jednačina"/> - <l:gentext key="ListofEquations" text="Spisak jednačina"/> - <l:gentext key="ListofExamples" text="Spisak primera"/> - <l:gentext key="listofexamples" text="Spisak primera"/> - <l:gentext key="ListofFigures" text="Spisak slika"/> - <l:gentext key="listoffigures" text="Spisak slika"/> - <l:gentext key="listoftables" text="Spisak tabela"/> - <l:gentext key="ListofTables" text="Spisak tabela"/> - <l:gentext key="ListofUnknown" text="Spisak nepoznanica"/> - <l:gentext key="listofunknown" text="Spisak nepoznanica"/> - <l:gentext key="nav-home" text="Kući"/> - <l:gentext key="nav-next" text="Napred"/> - <l:gentext key="nav-next-sibling" text="Brzo napred"/> - <l:gentext key="nav-prev" text="Nazad"/> - <l:gentext key="nav-prev-sibling" text="Brzo nazad"/> - <l:gentext key="nav-up" text="Gore"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Dodatak %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Poglavlje %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Jednačina %n. %t"/> - <l:template name="example" text="Primer %n. %t"/> - <l:template name="figure" text="Slika %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Deo %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Dodatak %n. %t"/> - <l:template name="chapter" text="Poglavlje %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Dodatak %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Poglavlje %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Primer %n. %t"/> - <l:template name="figure" text="Slika %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Deo %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabela %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Odeljak %n"/> - <l:template name="sect2" text="Odeljak %n"/> - <l:template name="sect3" text="Odeljak %n"/> - <l:template name="sect4" text="Odeljak %n"/> - <l:template name="sect5" text="Odeljak %n"/> - <l:template name="section" text="Odeljak %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" i "/> - <l:template name="seplast" text=", i "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Vidi "/> - <l:template name="seealso" text="Vidi takođe "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="MsgAud: "/> - <l:template name="MsgLevel" text="Nivo: "/> - <l:template name="MsgOrig" text="Izvor: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/subtitles.xsl b/stylesheets/docbook/common/subtitles.xsl deleted file mode 100644 index 973e87c1..00000000 --- a/stylesheets/docbook/common/subtitles.xsl +++ /dev/null @@ -1,130 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ============================================================ --> -<!-- subtitle markup --> - -<doc:mode mode="subtitle.markup" xmlns=""> -<refpurpose>Provides access to element subtitles</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">subtitle.markup</literal> mode produces the -subtitle of the element. -</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="subtitle.markup"> - <xsl:message> - <xsl:text>Request for subtitle of unexpected element: </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:message> - <xsl:text>???SUBTITLE???</xsl:text> -</xsl:template> - -<xsl:template match="subtitle" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="set" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(setinfo/subtitle|subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="book" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(bookinfo/subtitle|subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="part" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(partinfo/subtitle - |docinfo/subtitle - |subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="preface|chapter|appendix" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(docinfo/subtitle - |prefaceinfo/subtitle - |chapterinfo/subtitle - |appendixinfo/subtitle - |subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="article" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(artheader/subtitle - |articleinfo/subtitle - |subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="dedication|colophon" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="subtitle" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="reference" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(referenceinfo/subtitle - |docinfo/subtitle - |subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refentry" mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(refentryinfo/subtitle - |docinfo/subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |simplesect" - mode="subtitle.markup"> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(sectioninfo/subtitle - |sect1info/subtitle - |sect2info/subtitle - |sect3info/subtitle - |sect4info/subtitle - |sect5info/subtitle - |refsect1info/subtitle - |refsect2info/subtitle - |refsect3info/subtitle - |subtitle)[1]" - mode="subtitle.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/common/sv.xml b/stylesheets/docbook/common/sv.xml deleted file mode 100644 index ddbb88ef..00000000 --- a/stylesheets/docbook/common/sv.xml +++ /dev/null @@ -1,340 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sv"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Sammanfattning"/> - <l:gentext key="abstract" text="Sammanfattning"/> - <l:gentext key="Answer" text="A:"/> - <l:gentext key="answer" text="A:"/> - <l:gentext key="Appendix" text="Appendix"/> - <l:gentext key="appendix" text="appendix"/> - <l:gentext key="Article" text="Artikel"/> - <l:gentext key="article" text="Artikel"/> - <l:gentext key="Bibliography" text="Bibliografi"/> - <l:gentext key="bibliography" text="Bibliografi"/> - <l:gentext key="Book" text="Bok"/> - <l:gentext key="book" text="Bok"/> - <l:gentext key="CAUTION" text="OBSERVERA"/> - <l:gentext key="Caution" text="Observera"/> - <l:gentext key="caution" text="Observera"/> - <l:gentext key="Chapter" text="Kapitel"/> - <l:gentext key="chapter" text="kapitel"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Copyright"/> - <l:gentext key="copyright" text="Copyright"/> - <l:gentext key="Dedication" text="Dedikation"/> - <l:gentext key="dedication" text="Dedikation"/> - <l:gentext key="Edition" text="Utgåva"/> - <l:gentext key="edition" text="Utgåva"/> - <l:gentext key="Equation" text="Ekvation"/> - <l:gentext key="equation" text="Ekvation"/> - <l:gentext key="Example" text="Exempel"/> - <l:gentext key="example" text="Exempel"/> - <l:gentext key="Figure" text="Figur"/> - <l:gentext key="figure" text="Figur"/> - <l:gentext key="Glossary" text="Gloslista"/> - <l:gentext key="glossary" text="Gloslista"/> - <l:gentext key="GlossSee" text="Se"/> - <l:gentext key="glosssee" text="Se"/> - <l:gentext key="GlossSeeAlso" text="Se Även"/> - <l:gentext key="glossseealso" text="Se Även"/> - <l:gentext key="IMPORTANT" text="VIKTIGT"/> - <l:gentext key="Important" text="Viktigt"/> - <l:gentext key="important" text="Viktigt"/> - <l:gentext key="Index" text="Index"/> - <l:gentext key="index" text="Index"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Legal Notice"/> - <l:gentext key="legalnotice" text="Legal Notice"/> - <l:gentext key="MsgAud" text="Målgrupp"/> - <l:gentext key="msgaud" text="Målgrupp"/> - <l:gentext key="MsgLevel" text="Nivå"/> - <l:gentext key="msglevel" text="Nivå"/> - <l:gentext key="MsgOrig" text="Ursprung"/> - <l:gentext key="msgorig" text="Ursprung"/> - <l:gentext key="note" text="Not"/> - <l:gentext key="NOTE" text="NOT"/> - <l:gentext key="Note" text="Not"/> - <l:gentext key="Part" text="Del"/> - <l:gentext key="part" text="Del"/> - <l:gentext key="Preface" text="Företal"/> - <l:gentext key="preface" text="Företal"/> - <l:gentext key="Procedure" text="Procedur"/> - <l:gentext key="procedure" text="Procedur"/> - <l:gentext key="Published" text="Publicerad"/> - <l:gentext key="published" text="Publicerad"/> - <l:gentext key="Question" text="Fråga:"/> - <l:gentext key="question" text="Fråga:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referens"/> - <l:gentext key="reference" text="Referens"/> - <l:gentext key="RefName" text="Namn"/> - <l:gentext key="refname" text="Namn"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Revisions Historik;"/> - <l:gentext key="revhistory" text="Revisions Historik;"/> - <l:gentext key="Revision" text="Revision"/> - <l:gentext key="revision" text="Revision"/> - <l:gentext key="Section" text="Avsnitt"/> - <l:gentext key="section" text="avsnitt"/> - <l:gentext key="see" text="Se"/> - <l:gentext key="See" text="Se"/> - <l:gentext key="seealso" text="Se Även"/> - <l:gentext key="SeeAlso" text="Se Även"/> - <l:gentext key="Seealso" text="Se även"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="Sidebar" text="Sidebar"/> - <l:gentext key="step" text="steg"/> - <l:gentext key="Step" text="Steg"/> - <l:gentext key="Table" text="Tabell"/> - <l:gentext key="table" text="Tabell"/> - <l:gentext key="tip" text="Tips"/> - <l:gentext key="TIP" text="TIPS"/> - <l:gentext key="Tip" text="Tips"/> - <l:gentext key="warning" text="Varning"/> - <l:gentext key="WARNING" text="VARNING"/> - <l:gentext key="Warning" text="Varning"/> - <l:gentext key="and" text="och"/> - <l:gentext key="by" text="av"/> - <l:gentext key="called" text="kallas"/> - <l:gentext key="edited" text="Redigerad"/> - <l:gentext key="Edited" text="Redigerad"/> - <l:gentext key="Editedby" text="Redigerad av"/> - <l:gentext key="editedby" text="Redigerad av"/> - <l:gentext key="in" text="i"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="non-existant element"/> - <l:gentext key="Notes" text="Noter"/> - <l:gentext key="Pgs" text="Sid."/> - <l:gentext key="pgs" text="Sid."/> - <l:gentext key="Revisedby" text="Reviderad av: "/> - <l:gentext key="revisedby" text="Reviderad av: "/> - <l:gentext key="TableNotes" text="Noter"/> - <l:gentext key="tablenotes" text="Noter"/> - <l:gentext key="TableofContents" text="Innehållsförteckning"/> - <l:gentext key="tableofcontents" text="Innehållsförteckning"/> - <l:gentext key="the" text=""/> - <l:gentext key="unexpectedelementname" text="Unexpected element name"/> - <l:gentext key="unsupported" text="unsupported"/> - <l:gentext key="xrefto" text="xref till"/> - <l:gentext key="listofequations" text="Ekvationsförteckning"/> - <l:gentext key="ListofEquations" text="Ekvationsförteckning"/> - <l:gentext key="ListofExamples" text="Exempelförteckning"/> - <l:gentext key="listofexamples" text="Exempelförteckning"/> - <l:gentext key="ListofFigures" text="Figurförteckning"/> - <l:gentext key="listoffigures" text="Figurförteckning"/> - <l:gentext key="listoftables" text="Tabellförteckning"/> - <l:gentext key="ListofTables" text="Tabellförteckning"/> - <l:gentext key="ListofUnknown" text="Förteckning av okända"/> - <l:gentext key="listofunknown" text="Förteckning av okända"/> - <l:gentext key="nav-home" text="Hem"/> - <l:gentext key="nav-next" text="Nästa"/> - <l:gentext key="nav-next-sibling" text="Snabbt bakåt"/> - <l:gentext key="nav-prev" text="Föregående"/> - <l:gentext key="nav-prev-sibling" text="Snabbt framåt"/> - <l:gentext key="nav-up" text="Upp"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Appendix %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ekvation %n. %t"/> - <l:template name="example" text="Exempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Appendix %n. %t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Appendix %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Kapitel %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Exempel %n. %t"/> - <l:template name="figure" text="Figur %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Del %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tabell %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Avsnitt %n"/> - <l:template name="sect2" text="Avsnitt %n"/> - <l:template name="sect3" text="Avsnitt %n"/> - <l:template name="sect4" text="Avsnitt %n"/> - <l:template name="sect5" text="Avsnitt %n"/> - <l:template name="section" text="Avsnitt %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" och "/> - <l:template name="seplast" text=", och "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Se "/> - <l:template name="seealso" text="Se Även "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Målgrupp: "/> - <l:template name="MsgLevel" text="Nivå: "/> - <l:template name="MsgOrig" text="Ursprung: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/table.xsl b/stylesheets/docbook/common/table.xsl deleted file mode 100644 index 65f6fef2..00000000 --- a/stylesheets/docbook/common/table.xsl +++ /dev/null @@ -1,543 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version="1.0"> - -<xsl:template name="blank.spans"> - <xsl:param name="cols" select="1"/> - <xsl:if test="$cols > 0"> - <xsl:text>0:</xsl:text> - <xsl:call-template name="blank.spans"> - <xsl:with-param name="cols" select="$cols - 1"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="calculate.following.spans"> - <xsl:param name="colspan" select="1"/> - <xsl:param name="spans" select="''"/> - - <xsl:choose> - <xsl:when test="$colspan > 0"> - <xsl:call-template name="calculate.following.spans"> - <xsl:with-param name="colspan" select="$colspan - 1"/> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$spans"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="finaltd"> - <xsl:param name="spans"/> - <xsl:param name="col" select="0"/> - - <xsl:if test="$spans != ''"> - <xsl:choose> - <xsl:when test="starts-with($spans,'0:')"> - <xsl:call-template name="empty.table.cell"> - <xsl:with-param name="colnum" select="$col"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - - <xsl:call-template name="finaltd"> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - <xsl:with-param name="col" select="$col+1"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="sfinaltd"> - <xsl:param name="spans"/> - - <xsl:if test="$spans != ''"> - <xsl:choose> - <xsl:when test="starts-with($spans,'0:')">0:</xsl:when> - <xsl:otherwise> - <xsl:value-of select="substring-before($spans,':')-1"/> - <xsl:text>:</xsl:text> - </xsl:otherwise> - </xsl:choose> - - <xsl:call-template name="sfinaltd"> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="entry.colnum"> - <xsl:param name="entry" select="."/> - - <xsl:choose> - <xsl:when test="$entry/@spanname"> - <xsl:variable name="spanname" select="$entry/@spanname"/> - <xsl:variable name="spanspec" - select="$entry/ancestor::tgroup/spanspec[@spanname=$spanname]"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest]"/> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" select="$colspec"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$entry/@colname"> - <xsl:variable name="colname" select="$entry/@colname"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$colname]"/> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" select="$colspec"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$entry/@namest"> - <xsl:variable name="namest" select="$entry/@namest"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$namest]"/> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" select="$colspec"/> - </xsl:call-template> - </xsl:when> - <!-- no idea, return 0 --> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<doc:template name="entry.colnum" xmlns=""> -<refpurpose>Determine the column number in which a given entry occurs</refpurpose> -<refdescription> -<para>If an <sgmltag>entry</sgmltag> has a -<sgmltag class="attribute">colname</sgmltag> or -<sgmltag class="attribute">namest</sgmltag> attribute, this template -will determine the number of the column in which the entry should occur. -For other <sgmltag>entry</sgmltag>s, nothing is returned.</para> -</refdescription> -<refparameter> -<variablelist> -<varlistentry><term>entry</term> -<listitem> -<para>The <sgmltag>entry</sgmltag>-element which is to be tested.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> - -<refreturn> -<para>This template returns the column number if it can be determined, -or 0 (the empty string)</para> -</refreturn> -</doc:template> - -<xsl:template name="colspec.colnum"> - <xsl:param name="colspec" select="."/> - <xsl:choose> - <xsl:when test="$colspec/@colnum"> - <xsl:value-of select="$colspec/@colnum"/> - </xsl:when> - <xsl:when test="$colspec/preceding-sibling::colspec"> - <xsl:variable name="prec.colspec.colnum"> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" - select="$colspec/preceding-sibling::colspec[1]"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="$prec.colspec.colnum + 1"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="calculate.colspan"> - <xsl:param name="entry" select="."/> - <xsl:variable name="spanname" select="$entry/@spanname"/> - <xsl:variable name="spanspec" - select="$entry/ancestor::tgroup/spanspec[@spanname=$spanname]"/> - - <xsl:variable name="namest"> - <xsl:choose> - <xsl:when test="@spanname"> - <xsl:value-of select="$spanspec/@namest"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$entry/@namest"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="nameend"> - <xsl:choose> - <xsl:when test="@spanname"> - <xsl:value-of select="$spanspec/@nameend"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$entry/@nameend"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="scol"> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$namest]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="ecol"> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$nameend]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$namest != '' and $nameend != ''"> - <xsl:choose> - <xsl:when test="$ecol >= $scol"> - <xsl:value-of select="$ecol - $scol + 1"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$scol - $ecol + 1"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="calculate.rowsep"> - <xsl:param name="entry" select="."/> - <xsl:param name="colnum" select="0"/> - - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="$entry"/> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'rowsep'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="X.calculate.rowsep"> - <xsl:param name="entry" select="."/> - <xsl:param name="colnum" select="0"/> - -<!-- - <xsl:text>[</xsl:text> - <xsl:value-of select="$colnum"/> - <xsl:text>]</xsl:text> ---> - - <xsl:choose> - <xsl:when test="$entry/ancestor::table/@frame = 'all' - or $entry/ancestor::informaltable/@frame = 'all'"> - <xsl:value-of select="1"/> - </xsl:when> - <xsl:when test="$entry/@rowsep"> - <xsl:value-of select="$entry/@rowsep"/> - </xsl:when> - <xsl:when test="$entry/ancestor::row[1]/@rowsep"> - <xsl:value-of select="$entry/ancestor::row[1]/@rowsep"/> - </xsl:when> - <xsl:when test="$entry/@spanname"> - <xsl:variable name="spanname" select="$entry/@spanname"/> - <xsl:variable name="spanspec" - select="$entry/ancestor::tgroup/spanspec[@spanname=$spanname]"/> - <xsl:variable name="span.colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest]"/> - <xsl:choose> - <xsl:when test="$spanspec/@rowsep"> - <xsl:value-of select="$spanspec/@rowsep"/> - </xsl:when> - <xsl:when test="$span.colspec/@rowsep"> - <xsl:value-of select="$span.colspec/@rowsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$entry/@namest"> - <xsl:variable name="namest" select="$entry/@namest"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$namest]"/> - <xsl:choose> - <xsl:when test="$colspec/@rowsep"> - <xsl:value-of select="$colspec/@rowsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$colnum > 0"> - <xsl:variable name="calc.rowsep"> - <xsl:call-template name="colnum.colspec"> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'rowsep'"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$calc.rowsep != ''"> - <xsl:value-of select="$calc.rowsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="calculate.colsep"> - <xsl:param name="entry" select="."/> - <xsl:param name="colnum" select="0"/> - - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="$entry"/> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'colsep'"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="X.calculate.colsep"> - <xsl:param name="entry" select="."/> - <xsl:param name="colnum" select="0"/> - -<!-- - <xsl:text>[</xsl:text> - <xsl:value-of select="$colnum"/> - <xsl:text>]</xsl:text> ---> - - <xsl:choose> - <xsl:when test="$entry/ancestor::table/@frame = 'all' - or $entry/ancestor::informaltable/@frame = 'all'"> - <xsl:value-of select="1"/> - </xsl:when> - <xsl:when test="$entry/@colsep"> - <xsl:value-of select="$entry/@colsep"/> - </xsl:when> - <xsl:when test="$entry/ancestor::row[1]/@colsep"> - <xsl:value-of select="$entry/ancestor::row[1]/@colsep"/> - </xsl:when> - <xsl:when test="$entry/@spanname"> - <xsl:variable name="spanname" select="$entry/@spanname"/> - <xsl:variable name="spanspec" - select="$entry/ancestor::tgroup/spanspec[@spanname=$spanname]"/> - <xsl:variable name="span.colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest]"/> - <xsl:choose> - <xsl:when test="$spanspec/@colsep"> - <xsl:value-of select="$spanspec/@colsep"/> - </xsl:when> - <xsl:when test="$span.colspec/@colsep"> - <xsl:value-of select="$span.colspec/@colsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$entry/@namest"> - <xsl:variable name="namest" select="$entry/@namest"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$namest]"/> - <xsl:choose> - <xsl:when test="$colspec/@colsep"> - <xsl:value-of select="$colspec/@colsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$colnum > 0"> - <xsl:variable name="calc.colsep"> - <xsl:call-template name="colnum.colspec"> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'colsep'"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$calc.colsep != ''"> - <xsl:value-of select="$calc.colsep"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="inherited.table.attribute"> - <xsl:param name="entry" select="."/> - <xsl:param name="colnum" select="0"/> - <xsl:param name="attribute" select="'colsep'"/> - - <xsl:variable name="entry.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$entry"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="row.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$entry/ancestor::row[1]"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="span.value"> - <xsl:if test="$entry/@spanname"> - <xsl:variable name="spanname" select="$entry/@spanname"/> - <xsl:variable name="spanspec" - select="$entry/ancestor::tgroup/spanspec[@spanname=$spanname]"/> - <xsl:variable name="span.colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest]"/> - - <xsl:variable name="spanspec.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$spanspec"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="scolspec.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$span.colspec"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$spanspec.value != ''"> - <xsl:value-of select="$spanspec.value"/> - </xsl:when> - <xsl:when test="$scolspec.value != ''"> - <xsl:value-of select="$scolspec.value"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:variable> - - <xsl:variable name="namest.value"> - <xsl:if test="$entry/@namest"> - <xsl:variable name="namest" select="$entry/@namest"/> - <xsl:variable name="colspec" - select="$entry/ancestor::tgroup/colspec[@colname=$namest]"/> - - <xsl:variable name="namest.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$colspec"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$namest.value"> - <xsl:value-of select="$namest.value"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:variable> - - <xsl:variable name="tgroup.value"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$entry/ancestor::tgroup[1]"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$entry.value != ''"> - <xsl:value-of select="$entry.value"/> - </xsl:when> - <xsl:when test="$row.value != ''"> - <xsl:value-of select="$row.value"/> - </xsl:when> - <xsl:when test="$span.value"> - <xsl:value-of select="$span.value"/> - </xsl:when> - <xsl:when test="$namest.value"> - <xsl:value-of select="$namest.value"/> - </xsl:when> - <xsl:when test="$colnum > 0"> - <xsl:variable name="calc.colvalue"> - <xsl:call-template name="colnum.colspec"> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$calc.colvalue != ''"> - <xsl:value-of select="$calc.colvalue"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$tgroup.value"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$tgroup.value"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="colnum.colspec"> - <xsl:param name="colnum" select="0"/> - <xsl:param name="attribute" select="'colname'"/> - <xsl:param name="colspecs" select="ancestor::tgroup/colspec"/> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="not($colspecs) or $count > $colnum"> - <!-- nop --> - </xsl:when> - <xsl:when test="$colspecs[1]/@colnum"> - <xsl:choose> - <xsl:when test="$colspecs[1]/@colnum = $colnum"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$colspecs[1]"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="colnum.colspec"> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="$attribute"/> - <xsl:with-param name="colspecs" - select="$colspecs[position()>1]"/> - <xsl:with-param name="count" - select="$colspecs[1]/@colnum+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$count = $colnum"> - <xsl:call-template name="get-attribute"> - <xsl:with-param name="element" select="$colspecs[1]"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="colnum.colspec"> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="$attribute"/> - <xsl:with-param name="colspecs" - select="$colspecs[position()>1]"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="get-attribute"> - <xsl:param name="element" select="."/> - <xsl:param name="attribute" select="''"/> - - <xsl:for-each select="$element/@*"> - <xsl:if test="local-name(.) = $attribute"> - <xsl:value-of select="."/> - </xsl:if> - </xsl:for-each> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/common/th.xml b/stylesheets/docbook/common/th.xml deleted file mode 100644 index 6ee7ebc6..00000000 --- a/stylesheets/docbook/common/th.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="th"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="บทคัดย่อ"/> - <l:gentext key="abstract" text="บทคัดย่อ"/> - <l:gentext key="Answer" text="ตอบ:"/> - <l:gentext key="answer" text="ตอบ:"/> - <l:gentext key="Appendix" text="ภาคผนวก"/> - <l:gentext key="appendix" text="ภาคผนวก"/> - <l:gentext key="Article" text="บทความ"/> - <l:gentext key="article" text="บทความ"/> - <l:gentext key="Bibliography" text="บรรณานุกรม"/> - <l:gentext key="bibliography" text="บรรณานุกรม"/> - <l:gentext key="Book" text="หนังสือ"/> - <l:gentext key="book" text="หนังสือ"/> - <l:gentext key="CAUTION" text="คำเตือน"/> - <l:gentext key="Caution" text="คำเตือน"/> - <l:gentext key="caution" text="คำเตือน"/> - <l:gentext key="Chapter" text="บทที่"/> - <l:gentext key="chapter" text="บทที่"/> - <l:gentext key="Colophon" text="เบื้องหลัง"/> - <l:gentext key="colophon" text="เบื้องหลัง"/> - <l:gentext key="Copyright" text="สงวนสิขสิทธิ์"/> - <l:gentext key="copyright" text="สงวนสิขสิทธิ์"/> - <l:gentext key="Dedication" text="คำอุทิศ"/> - <l:gentext key="dedication" text="คำอุทิศ"/> - <l:gentext key="Edition" text="ฉบับ"/> - <l:gentext key="edition" text="ฉบับ"/> - <l:gentext key="Equation" text="สมการ"/> - <l:gentext key="equation" text="สมการ"/> - <l:gentext key="Example" text="ตัวอย่าง"/> - <l:gentext key="example" text="ตัวอย่าง"/> - <l:gentext key="Figure" text="รูป"/> - <l:gentext key="figure" text="รูป"/> - <l:gentext key="Glossary" text="อภิทานศัพท์"/> - <l:gentext key="glossary" text="อภิทานศัพท์"/> - <l:gentext key="GlossSee" text="ดู"/> - <l:gentext key="glosssee" text="ดู"/> - <l:gentext key="GlossSeeAlso" text="ดูเพิ่มเติม"/> - <l:gentext key="glossseealso" text="ดูเพิ่มเติม"/> - <l:gentext key="IMPORTANT" text="ข้อควรจำ"/> - <l:gentext key="important" text="ข้อควรจำ"/> - <l:gentext key="Important" text="ข้อควรจำ"/> - <l:gentext key="Index" text="ดรรชนี"/> - <l:gentext key="index" text="ดรรชนี"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="ข้อผูกพันตามกฎหมาย"/> - <l:gentext key="legalnotice" text="ข้อผูกพันตามกฎหมาย"/> - <l:gentext key="MsgAud" text="ผู้อ่าน"/> - <l:gentext key="msgaud" text="ผู้อ่าน"/> - <l:gentext key="MsgLevel" text="ระดับ"/> - <l:gentext key="msglevel" text="ระดับ"/> - <l:gentext key="MsgOrig" text="ที่มา"/> - <l:gentext key="msgorig" text="ที่มา"/> - <l:gentext key="NOTE" text="หมายเหตุ"/> - <l:gentext key="Note" text="หมายเหตุ"/> - <l:gentext key="note" text="หมายเหตุ"/> - <l:gentext key="Part" text="ภาค"/> - <l:gentext key="part" text="ภาค"/> - <l:gentext key="Preface" text="คำนำ"/> - <l:gentext key="preface" text="คำนำ"/> - <l:gentext key="Procedure" text="ระเบียบการ"/> - <l:gentext key="procedure" text="ระเบียบการ"/> - <l:gentext key="ProductionSet" text="ผลิต"/> - <l:gentext key="Published" text="ตีพิมพ์"/> - <l:gentext key="published" text="ตีพิมพ์"/> - <l:gentext key="Question" text="ถาม:"/> - <l:gentext key="question" text="ถาม:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="หนังสืออ้างอิง"/> - <l:gentext key="reference" text="หนังสืออ้างอิง"/> - <l:gentext key="RefName" text="ชื่อ"/> - <l:gentext key="refname" text="ชื่อ"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="สาระสำคัญ"/> - <l:gentext key="refsynopsisdiv" text="สาระสำคัญ"/> - <l:gentext key="RevHistory" text="บันทึกรุ่น"/> - <l:gentext key="revhistory" text="บันทึกรุ่น"/> - <l:gentext key="revision" text="รุ่นที่"/> - <l:gentext key="Revision" text="รุ่นที่"/> - <l:gentext key="sect1" text="ตอนที่"/> - <l:gentext key="sect2" text="ตอนที่"/> - <l:gentext key="sect3" text="ตอนที่"/> - <l:gentext key="sect4" text="ตอนที่"/> - <l:gentext key="sect5" text="ตอนที่"/> - <l:gentext key="section" text="ตอนที่"/> - <l:gentext key="Section" text="ตอนที่"/> - <l:gentext key="See" text="ดู"/> - <l:gentext key="see" text="ดู"/> - <l:gentext key="SeeAlso" text="ดูเพิ่มเติม"/> - <l:gentext key="seealso" text="ดูเพิ่มเติม"/> - <l:gentext key="Seealso" text="ดูเพิ่มเติม"/> - <l:gentext key="set" text="ชุด"/> - <l:gentext key="Set" text="ชุด"/> - <l:gentext key="setindex" text="สารบัญชุด"/> - <l:gentext key="SetIndex" text="สารบัญชุด"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="ลำดับ"/> - <l:gentext key="Step" text="ลำดับ"/> - <l:gentext key="Table" text="ตาราง"/> - <l:gentext key="table" text="ตาราง"/> - <l:gentext key="tip" text="คำแนะนำ"/> - <l:gentext key="TIP" text="คำแนะนำ"/> - <l:gentext key="Tip" text="คำแนะนำ"/> - <l:gentext key="Warning" text="โปรดระวัง"/> - <l:gentext key="warning" text="โปรดระวัง"/> - <l:gentext key="WARNING" text="โปรดระวัง"/> - <l:gentext key="and" text="และ"/> - <l:gentext key="by" text="โดย"/> - <l:gentext key="Edited" text="เรียบเรียง"/> - <l:gentext key="edited" text="เรียบเรียง"/> - <l:gentext key="Editedby" text="เรียบเรียงโดบ"/> - <l:gentext key="editedby" text="เรียบเรียงโดบ"/> - <l:gentext key="in" text="ใน"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="ไม่พบส่วนที่ต้องการ"/> - <l:gentext key="notes" text="หมายเหตุ"/> - <l:gentext key="Notes" text="หมายเหตุ"/> - <l:gentext key="Pgs" text="หน้า"/> - <l:gentext key="pgs" text="หน้า"/> - <l:gentext key="Revisedby" text="แก้ไขปรับปรุงโดย: "/> - <l:gentext key="revisedby" text="แก้ไขปรับปรุงโดย: "/> - <l:gentext key="TableNotes" text="หมายเหตุ"/> - <l:gentext key="tablenotes" text="หมายเหตุ"/> - <l:gentext key="TableofContents" text="สารบัญ"/> - <l:gentext key="tableofcontents" text="สารบัญ"/> - <l:gentext key="unexpectedelementname" text="พบส่วนที่ไม่ต้องการ"/> - <l:gentext key="unsupported" text="ไม่สนับสนุน"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="สารบัญสมการ"/> - <l:gentext key="ListofEquations" text="สารบัญสมการ"/> - <l:gentext key="ListofExamples" text="สารบัญตัวอย่าง"/> - <l:gentext key="listofexamples" text="สารบัญตัวอย่าง"/> - <l:gentext key="ListofFigures" text="สารบัญรูป"/> - <l:gentext key="listoffigures" text="สารบัญรูป"/> - <l:gentext key="listoftables" text="สารบัญตาราง"/> - <l:gentext key="ListofTables" text="สารบัญตาราง"/> - <l:gentext key="ListofUnknown" text="สารบัญอื่น ๆ"/> - <l:gentext key="listofunknown" text="สารบัญอื่น ๆ"/> - <l:gentext key="nav-home" text="หน้าแรก"/> - <l:gentext key="nav-next" text="ต่อไป"/> - <l:gentext key="nav-next-sibling" text="ต่อไป"/> - <l:gentext key="nav-prev" text="ก่อนหน้า"/> - <l:gentext key="nav-prev-sibling" text="ก่อนหน้า"/> - <l:gentext key="nav-up" text="กลับ"/> - <l:gentext key="sectioncalled" text="ตอนนี้เ้รียกว่า"/> - <l:gentext key="index symbols" text="สัญลักษณ์"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="ภาคผนวก %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="บทที่ %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="สมการ %n. %t"/> - <l:template name="example" text="ตัวอย่าง %n. %t"/> - <l:template name="figure" text="รูป %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="ภาค %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="ระเบียบการ %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="ผลิต %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="ตาราง %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="varlistentry" text=""/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="ภาคผนวก %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="บทที่ %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="ตอบ: %n"/> - <l:template name="appendix" text="ภาคผนวก %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="บทที่ %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="สมการ %n"/> - <l:template name="example" text="ตัวอย่าง %n"/> - <l:template name="figure" text="รูป %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="ภาค %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="ระเบียบการ %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="ถาม: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="ถาม: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="ตาราง %n"/> - <l:template name="varlistentry" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="sect1" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="sect2" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="sect3" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="sect4" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="sect5" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="section" text="ตอนนี้เ้รียกว่า “%t”"/> - <l:template name="simplesect" text="ตอนนี้เ้รียกว่า “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="ตอนที่ %n"/> - <l:template name="sect1" text="ตอนที่ %n"/> - <l:template name="sect2" text="ตอนที่ %n"/> - <l:template name="sect3" text="ตอนที่ %n"/> - <l:template name="sect4" text="ตอนที่ %n"/> - <l:template name="sect5" text="ตอนที่ %n"/> - <l:template name="section" text="ตอนที่ %n"/> - <l:template name="simplesect" text="ตอนนี้เ้รียกว่า “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" และ "/> - <l:template name="seplast" text=", และ "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="ดู "/> - <l:template name="seealso" text="ดูเพิ่มเติม "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="ผู้อ่าน: "/> - <l:template name="MsgLevel" text="ระดับ: "/> - <l:template name="MsgOrig" text="ที่มา: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/titles.xsl b/stylesheets/docbook/common/titles.xsl deleted file mode 100644 index 6baacf2c..00000000 --- a/stylesheets/docbook/common/titles.xsl +++ /dev/null @@ -1,377 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ============================================================ --> -<!-- title markup --> - -<doc:mode mode="title.markup" xmlns=""> -<refpurpose>Provides access to element titles</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">title.markup</literal> mode produces the -title of the element. This does not include the label. -</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title[1]" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="local-name(.) = 'partintro'"> - <!-- partintro's don't have titles, use the parent (part or reference) - title instead. --> - <xsl:apply-templates select="parent::*" mode="title.markup"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Request for title of unexpected element: </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:message> - <xsl:text>???TITLE???</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="title" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="$allow-anchors != 0"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="no.anchor.mode"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="set" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(setinfo/title|title)[1]" - mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="book" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(bookinfo/title|title)[1]" - mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="part" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(partinfo/title|docinfo/title|title)[1]" - mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="preface|chapter|appendix" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - -<!-- - <xsl:message> - <xsl:value-of select="name(.)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$allow-anchors"/> - </xsl:message> ---> - - <xsl:variable name="title" select="(docinfo/title - |prefaceinfo/title - |chapterinfo/title - |appendixinfo/title - |title)[1]"/> - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="dedication" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Dedication'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="colophon" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Colophon'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="article" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(artheader/title - |articleinfo/title - |title)[1]"/> - - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="reference" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(referenceinfo/title|docinfo/title|title)[1]" - mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refentry" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="refmeta" select=".//refmeta"/> - <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> - <xsl:variable name="refnamediv" select=".//refnamediv"/> - <xsl:variable name="refname" select="$refnamediv//refname"/> - - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$refentrytitle"> - <xsl:apply-templates select="$refentrytitle[1]" mode="title.markup"/> - </xsl:when> - <xsl:when test="$refname"> - <xsl:apply-templates select="$refname[1]" mode="title.markup"/> - </xsl:when> - <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:copy-of select="$title"/> -</xsl:template> - -<xsl:template match="refentrytitle|refname" mode="title.markup"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |simplesect" - mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(sectioninfo/title - |sect1info/title - |sect2info/title - |sect3info/title - |sect4info/title - |sect5info/title - |refsect1info/title - |refsect2info/title - |refsect3info/title - |title)[1]"/> - - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="bridgehead" mode="title.markup"> - <xsl:apply-templates mode="title.markup"/> -</xsl:template> - -<xsl:template match="bibliography" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(bibliographyinfo/title|title)[1]"/> - <xsl:choose> - <xsl:when test="$title"> - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Bibliography'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="glossary" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(glossaryinfo/title|title)[1]"/> - <xsl:choose> - <xsl:when test="$title"> - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name" select="name(.)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="index" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(indexinfo/title|title)[1]"/> - <xsl:choose> - <xsl:when test="$title"> - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Index'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="figure|table|example|equation" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="procedure" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="abstract" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Abstract'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="caution|tip|warning|important|note" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="title[1]"/> - <xsl:choose> - <xsl:when test="$title"> - <xsl:apply-templates select="$title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key"> - <xsl:choose> - <xsl:when test="local-name(.)='note'">Note</xsl:when> - <xsl:when test="local-name(.)='important'">Important</xsl:when> - <xsl:when test="local-name(.)='caution'">Caution</xsl:when> - <xsl:when test="local-name(.)='warning'">Warning</xsl:when> - <xsl:when test="local-name(.)='tip'">Tip</xsl:when> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="question" mode="title.markup"> - <!-- questions don't have titles --> - <xsl:text>Question</xsl:text> -</xsl:template> - -<xsl:template match="answer" mode="title.markup"> - <!-- answers don't have titles --> - <xsl:text>Answer</xsl:text> -</xsl:template> - -<xsl:template match="qandaentry" mode="title.markup"> - <!-- qandaentrys are represented by the first question in them --> - <xsl:text>Question</xsl:text> -</xsl:template> - -<xsl:template match="legalnotice" mode="title.markup"> - <xsl:param name="allow-anchors" select="0"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.markup"> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'LegalNotice'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="no.anchor.mode"> - <xsl:apply-templates mode="no.anchor.mode"/> -</xsl:template> - -<xsl:template match="footnote" mode="no.anchor.mode"> - <!-- nop, suppressed --> -</xsl:template> - -<xsl:template match="anchor" mode="no.anchor.mode"> - <!-- nop, suppressed --> -</xsl:template> - -<xsl:template match="ulink" mode="no.anchor.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="link" mode="no.anchor.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="olink" mode="no.anchor.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="indexterm" mode="no.anchor.mode"> - <!-- nop, suppressed --> -</xsl:template> - -<xsl:template match="xref" mode="no.anchor.mode"> - <!-- FIXME: this should generate the text without the link... --> -</xsl:template> - -<!-- ============================================================ --> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/common/tr.xml b/stylesheets/docbook/common/tr.xml deleted file mode 100644 index 5129ac25..00000000 --- a/stylesheets/docbook/common/tr.xml +++ /dev/null @@ -1,350 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tr"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Özet"/> - <l:gentext key="abstract" text="Özet"/> - <l:gentext key="Answer" text="Cevap:"/> - <l:gentext key="answer" text="Cevap:"/> - <l:gentext key="Appendix" text="Ek"/> - <l:gentext key="appendix" text="Ek"/> - <l:gentext key="Article" text="Makale"/> - <l:gentext key="article" text="Makale"/> - <l:gentext key="Bibliography" text="Kaynakça"/> - <l:gentext key="bibliography" text="Kaynakça"/> - <l:gentext key="Book" text="Kitap"/> - <l:gentext key="book" text="Kitap"/> - <l:gentext key="CAUTION" text="DÝKKAT"/> - <l:gentext key="Caution" text="Dikkat"/> - <l:gentext key="caution" text="Dikkat"/> - <l:gentext key="Chapter" text="Bölüm"/> - <l:gentext key="chapter" text="Bölüm"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Telif hakký"/> - <l:gentext key="copyright" text="Telif hakký"/> - <l:gentext key="Dedication" text="Ýthaf"/> - <l:gentext key="dedication" text="Ýthaf"/> - <l:gentext key="Edition" text="Baský"/> - <l:gentext key="edition" text="Baský"/> - <l:gentext key="Equation" text="Denklem"/> - <l:gentext key="equation" text="Denklem"/> - <l:gentext key="Example" text="Örnek"/> - <l:gentext key="example" text="Örnek"/> - <l:gentext key="Figure" text="Þekil"/> - <l:gentext key="figure" text="þekil"/> - <l:gentext key="Glossary" text="Sözlük"/> - <l:gentext key="glossary" text="Sözlük"/> - <l:gentext key="GlossSee" text="Bkz."/> - <l:gentext key="glosssee" text="Bkz."/> - <l:gentext key="GlossSeeAlso" text="Bkz."/> - <l:gentext key="glossseealso" text="Bkz."/> - <l:gentext key="IMPORTANT" text="ÖNEMLÝ"/> - <l:gentext key="Important" text="Önemli"/> - <l:gentext key="important" text="Önemli"/> - <l:gentext key="Index" text="Dizin"/> - <l:gentext key="index" text="Dizin"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Yasal Not"/> - <l:gentext key="legalnotice" text="Yasal Not"/> - <l:gentext key="MsgAud" text="Hedef okuyucu kitlesi"/> - <l:gentext key="msgaud" text="Hedef okuyucu kitlesi"/> - <l:gentext key="MsgLevel" text="Düzey"/> - <l:gentext key="msglevel" text="Düzey"/> - <l:gentext key="MsgOrig" text="Kaynak"/> - <l:gentext key="msgorig" text="Kaynak"/> - <l:gentext key="NOTE" text="NOT"/> - <l:gentext key="Note" text="Not"/> - <l:gentext key="note" text="Not"/> - <l:gentext key="Part" text="Kýsým"/> - <l:gentext key="part" text="Kýsým"/> - <l:gentext key="Preface" text="Önsöz"/> - <l:gentext key="preface" text="Önsöz"/> - <l:gentext key="Procedure" text="Yönerge"/> - <l:gentext key="procedure" text="Yönerge"/> - <l:gentext key="ProductionSet" text="Production"/> - <l:gentext key="Published" text="Yayýmlandý"/> - <l:gentext key="published" text="Yayýmlandý"/> - <l:gentext key="Question" text="Soru:"/> - <l:gentext key="question" text="Soru:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Referans"/> - <l:gentext key="reference" text="Referans"/> - <l:gentext key="RefName" text="Referans Adý"/> - <l:gentext key="refname" text="Referans Adý"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Synopsis"/> - <l:gentext key="refsynopsisdiv" text="Synopsis"/> - <l:gentext key="RevHistory" text="Baský Tarihçesi"/> - <l:gentext key="revhistory" text="Baský Tarihçesi"/> - <l:gentext key="Revision" text="Baský"/> - <l:gentext key="revision" text="Baský"/> - <l:gentext key="section" text="Kýsý"/> - <l:gentext key="Section" text="Kýsým"/> - <l:gentext key="See" text="Bkz."/> - <l:gentext key="see" text="Bkz."/> - <l:gentext key="SeeAlso" text="Bkz."/> - <l:gentext key="seealso" text="Bkz."/> - <l:gentext key="Seealso" text="Bkz."/> - <l:gentext key="Set" text="Takým"/> - <l:gentext key="set" text="Takým"/> - <l:gentext key="SetIndex" text="Takým Dizini"/> - <l:gentext key="setindex" text="Takým Dizini"/> - <l:gentext key="Sidebar" text="Yan Sütun"/> - <l:gentext key="sidebar" text="Yan Sütun"/> - <l:gentext key="Step" text="Adým"/> - <l:gentext key="step" text="Adým"/> - <l:gentext key="Table" text="Tablo"/> - <l:gentext key="table" text="Tablo"/> - <l:gentext key="TIP" text="ÝPUCU"/> - <l:gentext key="Tip" text="Ýpucu"/> - <l:gentext key="tip" text="Ýpucu"/> - <l:gentext key="Warning" text="Uyarý"/> - <l:gentext key="warning" text="Uyarý"/> - <l:gentext key="WARNING" text="UYARI"/> - <l:gentext key="and" text="ve"/> - <l:gentext key="by" text=""/> - <l:gentext key="Edited" text="Yayýna Hazýrlayan"/> - <l:gentext key="edited" text="yayýna hazýrlayan"/> - <l:gentext key="Editedby" text="Yayýna Hazýrlayan "/> - <l:gentext key="editedby" text="Yayýna Hazýrlayan "/> - <l:gentext key="in" text=""/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="var olmayan eleman"/> - <l:gentext key="notes" text="Notlar"/> - <l:gentext key="Notes" text="Notlar"/> - <l:gentext key="Pgs" text="Sayfa"/> - <l:gentext key="pgs" text="Sayfa"/> - <l:gentext key="Revisedby" text="Düzeltmeler: "/> - <l:gentext key="revisedby" text="Düzeltmeler: "/> - <l:gentext key="TableNotes" text="Notlar"/> - <l:gentext key="tablenotes" text="Notlar"/> - <l:gentext key="TableofContents" text="Ýçindekiler"/> - <l:gentext key="tableofcontents" text="Ýçindekiler"/> - <l:gentext key="unexpectedelementname" text="Beklenmedik eleman adý"/> - <l:gentext key="unsupported" text="desteklenmiyor"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="Denklemler"/> - <l:gentext key="ListofEquations" text="Denklemler"/> - <l:gentext key="ListofExamples" text="Örnekler"/> - <l:gentext key="listofexamples" text="Örnekler"/> - <l:gentext key="ListofFigures" text="Þekiller"/> - <l:gentext key="listoffigures" text="Þekiller"/> - <l:gentext key="listoftables" text="Tablolar"/> - <l:gentext key="ListofTables" text="Tablolar"/> - <l:gentext key="ListofUnknown" text="Bilinmeyenler"/> - <l:gentext key="listofunknown" text="Bilinmeyenler"/> - <l:gentext key="nav-home" text="Baþlangýç"/> - <l:gentext key="nav-next" text="Sonraki"/> - <l:gentext key="nav-next-sibling" text="Sonraki bölüm"/> - <l:gentext key="nav-prev" text="Önceki"/> - <l:gentext key="nav-prev-sibling" text="Önceki bölüm"/> - <l:gentext key="nav-up" text="Yukarý"/> - <l:gentext key="sectioncalled" text=""/> - <l:gentext key="index symbols" text="Semboller"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Ek %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Bölüm %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Denklem %n. %t"/> - <l:template name="example" text="Örnek %n. %t"/> - <l:template name="figure" text="Þekil %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Kýsým %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Yönerge %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Production %n. %t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Tablo %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Ek %n. %t"/> - <l:template name="chapter" text="Bölüm %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="Cevap: %n"/> - <l:template name="appendix" text="Ek %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Bölüm %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Denklem %n"/> - <l:template name="example" text="Örnek %n"/> - <l:template name="figure" text="Þekil %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Kýsým %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Yönerge %n"/> - <l:template name="question" text="Soru: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Tablo %n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text=" “%t”"/> - <l:template name="sect2" text=" “%t”"/> - <l:template name="sect3" text=" “%t”"/> - <l:template name="sect4" text=" “%t”"/> - <l:template name="sect5" text=" “%t”"/> - <l:template name="section" text=" “%t”"/> - <l:template name="simplesect" text=" “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Kýsým %n"/> - <l:template name="sect2" text="Kýsým %n"/> - <l:template name="sect3" text="Kýsým %n"/> - <l:template name="sect4" text="Kýsým %n"/> - <l:template name="sect5" text="Kýsým %n"/> - <l:template name="section" text="Kýsým %n"/> - <l:template name="simplesect" text=" “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" ve "/> - <l:template name="seplast" text=", ve "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Bkz. "/> - <l:template name="seealso" text="Bkz. "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Hedef okuyucu kitlesi: "/> - <l:template name="MsgLevel" text="Düzey: "/> - <l:template name="MsgOrig" text="Kaynak: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/uk.xml b/stylesheets/docbook/common/uk.xml deleted file mode 100644 index 4de5a1c8..00000000 --- a/stylesheets/docbook/common/uk.xml +++ /dev/null @@ -1,368 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="uk"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Анотація"/> - <l:gentext key="abstract" text="Анотація"/> - <l:gentext key="Answer" text="В:"/> - <l:gentext key="answer" text="в:"/> - <l:gentext key="Appendix" text="Додаток"/> - <l:gentext key="appendix" text="додаток"/> - <l:gentext key="Appendix.abr" text="Дод."/> - <l:gentext key="appendix.abr" text="дод."/> - <l:gentext key="Article" text="Стаття"/> - <l:gentext key="article" text="стаття"/> - <l:gentext key="Audience" text="Аудиторія"/> - <l:gentext key="audience" text="Аудиторія"/> - <l:gentext key="Bibliography" text="Литература"/> - <l:gentext key="bibliography" text="литература"/> - <l:gentext key="Book" text="Книга"/> - <l:gentext key="book" text="книга"/> - <l:gentext key="Caution" text="Застереження"/> - <l:gentext key="Caution" text="застереження"/> - <l:gentext key="CAUTION" text="ЗАСТЕРЕЖЕННЯ"/> - <l:gentext key="Chapter" text="Розділ"/> - <l:gentext key="chapter" text="розділ"/> - <l:gentext key="Chapter.abr" text="Розд."/> - <l:gentext key="chapter.abr" text="розд."/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="Авторське право"/> - <l:gentext key="copyright" text="авторське право"/> - <l:gentext key="Dedication" text="Присвячення"/> - <l:gentext key="dedication" text="присвячення"/> - <l:gentext key="Edition" text="Видання"/> - <l:gentext key="edition" text="видання"/> - <l:gentext key="Equation" text="Формула"/> - <l:gentext key="equation" text="Формула"/> - <l:gentext key="Equation.abr" text="Ф."/> - <l:gentext key="equation.abr" text="Ф."/> - <l:gentext key="Example" text="Приклад"/> - <l:gentext key="example" text="приклад"/> - <l:gentext key="Example.abr" text="Прикл."/> - <l:gentext key="example.abr" text="прикл."/> - <l:gentext key="Figure" text="Рисунок"/> - <l:gentext key="figure" text="Рисунок"/> - <l:gentext key="Figure.abr" text="Рис."/> - <l:gentext key="figure.abr" text="Рис."/> - <l:gentext key="Glossary" text="Глосарій"/> - <l:gentext key="glossary" text="глосарій"/> - <l:gentext key="GlossSee" text="Див."/> - <l:gentext key="glosssee" text="див."/> - <l:gentext key="GlossSeeAlso" text="Див. також"/> - <l:gentext key="glossSeeAlso" text="див. також"/> - <l:gentext key="Important" text="Важливо"/> - <l:gentext key="important" text="важливо"/> - <l:gentext key="IMPORTANT" text="ВАЖЛИВО"/> - <l:gentext key="Index" text="Предметный покажchcy;ик"/> - <l:gentext key="index" text="предметный покажchcy;ик"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="Правова примітка"/> - <l:gentext key="legalnotice" text="правова примітка"/> - <l:gentext key="Level" text="Рівень"/> - <l:gentext key="level" text="рівень"/> - <l:gentext key="MsgAud" text="Аудиторія"/> - <l:gentext key="msgaud" text="аудиторія"/> - <l:gentext key="MsgLevel" text="Рівень"/> - <l:gentext key="msglevel" text="рівень"/> - <l:gentext key="MsgOrig" text="Джерело"/> - <l:gentext key="msgorig" text="джерело"/> - <l:gentext key="Name" text="Ім';я"/> - <l:gentext key="name" text="ім';я"/> - <l:gentext key="Note" text="Примітка"/> - <l:gentext key="note" text="примітка"/> - <l:gentext key="NOTE" text="ПРИМІТКА"/> - <l:gentext key="Origin" text="Джерело"/> - <l:gentext key="origin" text="джерело"/> - <l:gentext key="Part" text="Частина"/> - <l:gentext key="part" text="частина"/> - <l:gentext key="Part.abr" text="Ч."/> - <l:gentext key="part.abr" text="Ч."/> - <l:gentext key="Preface" text="Передмова"/> - <l:gentext key="preface" text="передмова"/> - <l:gentext key="Procedure" text="Процедура"/> - <l:gentext key="procedure" text="Процедура"/> - <l:gentext key="Procedure.abr" text="Проц."/> - <l:gentext key="procedure.abr" text="Проц."/> - <l:gentext key="Published" text="Опубліковано"/> - <l:gentext key="published" text="опубліковано"/> - <l:gentext key="Question" text="П"/> - <l:gentext key="question" text="п"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Посилання"/> - <l:gentext key="reference" text="посилання"/> - <l:gentext key="RefName" text="Name"/> - <l:gentext key="refname" text="Name"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Короткий огляд"/> - <l:gentext key="refsynopsisdiv" text="короткий огляд"/> - <l:gentext key="RevHistory" text="Опис zcy;мін"/> - <l:gentext key="revhistory" text="опис zcy;мін"/> - <l:gentext key="Revision" text="Перегляд"/> - <l:gentext key="revision" text="перегляд"/> - <l:gentext key="Section" text="Параграф"/> - <l:gentext key="section" text="параграф"/> - <l:gentext key="section.abr" text="пар."/> - <l:gentext key="Section.abr" text="Пар."/> - <l:gentext key="See" text="Див."/> - <l:gentext key="See" text="див."/> - <l:gentext key="SeeAlso" text="Див. tcy;акож"/> - <l:gentext key="seealso" text="сив. tcy;акож"/> - <l:gentext key="Seealso" text="Див. tcy;акож"/> - <l:gentext key="Set" text="Вибірка"/> - <l:gentext key="set" text="вибірка"/> - <l:gentext key="setindex" text="индекс вибірки"/> - <l:gentext key="SetIndex" text="Индекс вибірки"/> - <l:gentext key="Sidebar" text="Выділення"/> - <l:gentext key="sidebar" text="выділення"/> - <l:gentext key="Step" text="Крок"/> - <l:gentext key="step" text="крок"/> - <l:gentext key="Table" text="Таблиця"/> - <l:gentext key="table" text="таблиця"/> - <l:gentext key="Table.abr" text="Табл."/> - <l:gentext key="table.abr" text="табл."/> - <l:gentext key="tip" text="підказка"/> - <l:gentext key="TIP" text="ПІДКАЗКА"/> - <l:gentext key="Tip" text="Підказка"/> - <l:gentext key="WARNING" text="ЗАСТЕРЕЖЕННЯ"/> - <l:gentext key="Warning" text="Застереження"/> - <l:gentext key="warning" text="застереження"/> - <l:gentext key="and" text=""/> - <l:gentext key="by" text=""/> - <l:gentext key="called" text=""/> - <l:gentext key="edited" text="пид редакцією"/> - <l:gentext key="Edited" text="Пид редакцією"/> - <l:gentext key="Editedby" text="Пид редакцією"/> - <l:gentext key="editedby" text="пид редакцією"/> - <l:gentext key="in" text="в"/> - <l:gentext key="TableofContents" text="Зміст"/> - <l:gentext key="tableofcontents" text="зміст"/> - <l:gentext key="lastlistcomma" text="."/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="Notes" text="Примітки"/> - <l:gentext key="notes" text="примітки"/> - <l:gentext key="TableNotes" text="Примітки"/> - <l:gentext key="tablenotes" text="примітки"/> - <l:gentext key="nonexistantelement" text="non-existant element"/> - <l:gentext key="pgs" text="стор."/> - <l:gentext key="Pgs" text="Стор."/> - <l:gentext key="Revisedby" text="Коректура:;"/> - <l:gentext key="revisedby" text="коректура:;"/> - <l:gentext key="the" text=""/> - <l:gentext key="unexpectedelementname" text="unexpected element name"/> - <l:gentext key="unsupported" text="unsupported"/> - <l:gentext key="xrefto" text="xref to"/> - <l:gentext key="listofequations" text="список формул"/> - <l:gentext key="ListofEquations" text="Список формул"/> - <l:gentext key="ListofExamples" text="Список прикладів"/> - <l:gentext key="listofexamples" text="список прикладів"/> - <l:gentext key="ListofFigures" text="Список ілюстрацій"/> - <l:gentext key="listoffigures" text="Список ілюстрацій"/> - <l:gentext key="listoftables" text="список таблиць"/> - <l:gentext key="ListofTables" text="Список таблиц;ь"/> - <l:gentext key="ListofUnknown" text="Невизначений список"/> - <l:gentext key="listofunknown" text="невизначений список"/> - <l:gentext key="nav-next" text="далі"/> - <l:gentext key="nav-next-sibling" text="далі по рівню"/> - <l:gentext key="nav-prev" text="назад"/> - <l:gentext key="nav-prev-sibling" text="назад по рівню"/> - <l:gentext key="x-nav-next" text="далі"/> - <l:gentext key="nav-home" text="Початок"/> - <l:gentext key="nav-up" text="Догори"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="Додаток %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Розділ %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Формула %n. %t"/> - <l:template name="example" text="Приклад %n. %t"/> - <l:template name="figure" text="Рисунок %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Частина %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Таблиця %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Додаток %n. %t"/> - <l:template name="chapter" text="Розділ %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="Додаток %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Розділ %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="Приклад %n. %t"/> - <l:template name="figure" text="Рисунок %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Частина %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Таблиця %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="Параграф %n"/> - <l:template name="sect2" text="Параграф %n"/> - <l:template name="sect3" text="Параграф %n"/> - <l:template name="sect4" text="Параграф %n"/> - <l:template name="sect5" text="Параграф %n"/> - <l:template name="section" text="Параграф %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" "/> - <l:template name="seplast" text=". "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Див. "/> - <l:template name="seealso" text="Див. також "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Аудиторія: "/> - <l:template name="MsgLevel" text="Рівень: "/> - <l:template name="MsgOrig" text="Джерело: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/xh.xml b/stylesheets/docbook/common/xh.xml deleted file mode 100644 index 6fec80d5..00000000 --- a/stylesheets/docbook/common/xh.xml +++ /dev/null @@ -1,369 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="xh"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="Isiqalo"/> - <l:gentext key="abstract" text="Isiqalo"/> - <l:gentext key="Answer" text="I:"/> - <l:gentext key="answer" text="I:"/> - <l:gentext key="Appendix" text="Isivalo"/> - <l:gentext key="appendix" text="isivalo"/> - <l:gentext key="Article" text="Umba"/> - <l:gentext key="article" text="Umba"/> - <l:gentext key="Bibliography" text="Ezobunzululwazi"/> - <l:gentext key="bibliography" text="Ezobunzululwazi"/> - <l:gentext key="Book" text="Incwadi"/> - <l:gentext key="book" text="Incwadi"/> - <l:gentext key="CAUTION" text="ISILUMKISO"/> - <l:gentext key="Caution" text="Isilumkiso"/> - <l:gentext key="caution" text="Isilumkiso"/> - <l:gentext key="Chapter" text="Isiqendu"/> - <l:gentext key="chapter" text="isiqendu"/> - <l:gentext key="Colophon" text="Ikolophon"/> - <l:gentext key="colophon" text="Ikolophon"/> - <l:gentext key="Copyright" text="Ushicilelo olusemthethweni"/> - <l:gentext key="copyright" text="Ushicilelo olusemthethweni"/> - <l:gentext key="Dedication" text="Ulwaziso"/> - <l:gentext key="dedication" text="Ulwaziso"/> - <l:gentext key="Edition" text="Uhlelo"/> - <l:gentext key="edition" text="Uhlelo"/> - <l:gentext key="Equation" text="Ulinganiselo"/> - <l:gentext key="equation" text="Ulinganiselo"/> - <l:gentext key="Example" text="Umzekelo"/> - <l:gentext key="example" text="Umzekelo"/> - <l:gentext key="Figure" text="Ulungu"/> - <l:gentext key="figure" text="Ulungu"/> - <l:gentext key="Glossary" text="Inkcazelo yamagama"/> - <l:gentext key="glossary" text="Inkcazelo yamagama"/> - <l:gentext key="GlossSee" text="Bona"/> - <l:gentext key="glosssee" text="Bona"/> - <l:gentext key="GlossSeeAlso" text="Bona Kwakhona"/> - <l:gentext key="glossseealso" text="Bona Kwakhona"/> - <l:gentext key="IMPORTANT" text="IBALULEKILE"/> - <l:gentext key="important" text="Ibalulekile"/> - <l:gentext key="Important" text="Ibalulekile"/> - <l:gentext key="Index" text="Isalathiso"/> - <l:gentext key="index" text="Isalathiso"/> - <l:gentext key="ISBN" text="iISBN"/> - <l:gentext key="isbn" text="iISBN"/> - <l:gentext key="LegalNotice" text="Isaziso Esesimthethweni"/> - <l:gentext key="legalnotice" text="Isaziso Esesimthethweni"/> - <l:gentext key="MsgAud" text="Ababhali"/> - <l:gentext key="msgaud" text="Ababhali"/> - <l:gentext key="MsgLevel" text="Umphakamo"/> - <l:gentext key="msglevel" text="Umphakamo"/> - <l:gentext key="MsgOrig" text="Uqobo"/> - <l:gentext key="msgorig" text="Uqobo"/> - <l:gentext key="NOTE" text="QAPHELA"/> - <l:gentext key="Note" text="Qaphela"/> - <l:gentext key="note" text="Qaphela"/> - <l:gentext key="Part" text="Inxenye"/> - <l:gentext key="part" text="Inxenye"/> - <l:gentext key="Preface" text="Isihloko"/> - <l:gentext key="preface" text="Isihloko"/> - <l:gentext key="Procedure" text="Inkqubo"/> - <l:gentext key="procedure" text="Inkqubo"/> - <l:gentext key="ProductionSet" text="Imveliso"/> - <l:gentext key="Published" text="Ipapashwe"/> - <l:gentext key="published" text="Ipapashwe"/> - <l:gentext key="Question" text="U:"/> - <l:gentext key="question" text="U:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="Uthelekiso"/> - <l:gentext key="reference" text="Uthelekiso"/> - <l:gentext key="RefName" text="Igama lothelekiso"/> - <l:gentext key="refname" text="Igama lothelekiso"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="Isinopsisi"/> - <l:gentext key="refsynopsisdiv" text="Isinopsisi"/> - <l:gentext key="RevHistory" text="Imbali yophindo"/> - <l:gentext key="revhistory" text="Imbali yophindo"/> - <l:gentext key="revision" text="Iphindo"/> - <l:gentext key="Revision" text="Iphindo"/> - <l:gentext key="sect1" text="Icandelo"/> - <l:gentext key="sect2" text="Icandelo"/> - <l:gentext key="sect3" text="Icandelo"/> - <l:gentext key="sect4" text="Icandelo"/> - <l:gentext key="sect5" text="Icandelo"/> - <l:gentext key="section" text="Icandelo"/> - <l:gentext key="Section" text="Icandelo"/> - <l:gentext key="See" text="Bona"/> - <l:gentext key="see" text="Bona"/> - <l:gentext key="SeeAlso" text="Bona Kwakhona"/> - <l:gentext key="seealso" text="Bona Kwakhona"/> - <l:gentext key="Seealso" text="Bona Kwakhona"/> - <l:gentext key="set" text="Cwangcisa"/> - <l:gentext key="Set" text="Cwangcisa"/> - <l:gentext key="setindex" text="Cwangcisa Isalathiso"/> - <l:gentext key="SetIndex" text="Cwangcisa Isalathiso"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="ibar esecaleni"/> - <l:gentext key="step" text="inqwanqwa"/> - <l:gentext key="Step" text="Inqwanqwa"/> - <l:gentext key="Table" text="Indlela Yokwenza Imigca"/> - <l:gentext key="table" text="Indlela Yokwenza Imigca"/> - <l:gentext key="tip" text="Incam"/> - <l:gentext key="TIP" text="INCAM"/> - <l:gentext key="Tip" text="Incam"/> - <l:gentext key="Warning" text="Isilumkiso"/> - <l:gentext key="warning" text="Isilumkiso"/> - <l:gentext key="WARNING" text="ISILUMKISO"/> - <l:gentext key="and" text="no"/> - <l:gentext key="by" text="by"/> - <l:gentext key="Edited" text="Ihleliwe"/> - <l:gentext key="edited" text="Ihleliwe"/> - <l:gentext key="Editedby" text="Ihlelwe"/> - <l:gentext key="editedby" text="Ihlelwe"/> - <l:gentext key="in" text="in"/> - <l:gentext key="lastlistcomma" text=", "/> - <l:gentext key="listcomma" text=", "/> - <l:gentext key="nonexistantelement" text="isiqalelo esingekhayo"/> - <l:gentext key="notes" text="Iziqaphelo"/> - <l:gentext key="Notes" text="Iziqaphelo"/> - <l:gentext key="Pgs" text="Amaphepha"/> - <l:gentext key="pgs" text="Amaphepha"/> - <l:gentext key="Revisedby" text="Iphindwe ngu: "/> - <l:gentext key="revisedby" text="Iphindwe ngu:"/> - <l:gentext key="TableNotes" text="Iziqaphelo"/> - <l:gentext key="tablenotes" text="Iziqaphelo"/> - <l:gentext key="TableofContents" text="Imigca Yemixholo"/> - <l:gentext key="tableofcontents" text="Imigca Yemixholo"/> - <l:gentext key="unexpectedelementname" text="Igama lesiqalelo esingalindelwanga"/> - <l:gentext key="unsupported" text="ayixhaswanga"/> - <l:gentext key="xrefto" text="thelekiso ku"/> - <l:gentext key="listofequations" text="Uluhlu Lemilinganiselo"/> - <l:gentext key="ListofEquations" text="Uluhlu Lemilinganiselo"/> - <l:gentext key="ListofExamples" text="Uluhlu Lemizekelo"/> - <l:gentext key="listofexamples" text="Uluhlu Lemizekelo"/> - <l:gentext key="ListofFigures" text="Uluhlu Lamalungu"/> - <l:gentext key="listoffigures" text="Uluhlu Lamalungu"/> - <l:gentext key="listoftables" text="Uluhlu Lendlela Yokwenza Imigca"/> - <l:gentext key="ListofTables" text="Uluhlu Lendlela Yokwenza Imigca"/> - <l:gentext key="ListofUnknown" text="Uluhlu Lokungaziwayo"/> - <l:gentext key="listofunknown" text="Uluhlu Lokungaziwayo"/> - <l:gentext key="nav-home" text="Ikhaya"/> - <l:gentext key="nav-next" text="Elandelayo"/> - <l:gentext key="nav-next-sibling" text="Yisa Phambili"/> - <l:gentext key="nav-prev" text="Edlulileyo"/> - <l:gentext key="nav-prev-sibling" text="Yisa Emva"/> - <l:gentext key="nav-up" text="Phezulu"/> - <l:gentext key="sectioncalled" text="icandelo libizwa ngokuba"/> - <l:gentext key="index symbols" text="Iimpawu"/> - <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/> - <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> - <l:dingbat key="startquote" text="“"/> - <l:dingbat key="endquote" text="”"/> - <l:dingbat key="nestedstartquote" text="‘"/> - <l:dingbat key="nestedendquote" text="’"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="answer" text="%t"/> - <l:template name="appendix" text="Isivalo %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="Isiqendu %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ulinganiselo %n. %t"/> - <l:template name="example" text="Umzekelo %n. %t"/> - <l:template name="figure" text="Ulungu %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="Inxenye %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="procedure.formal" text="Inkqubo %n. %t"/> - <l:template name="productionset" text="%t"/> - <l:template name="productionset.formal" text="Imveliso %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="%t"/> - <l:template name="refentry" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="Indlela Yokwenza Imigca %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="varlistentry" text=""/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="bridgehead" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="Isivalo %n. %t"/> - <l:template name="bridgehead" text="%n. %t"/> - <l:template name="chapter" text="Isiqendu %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="answer" text="I: %n"/> - <l:template name="appendix" text="Isivalo %n"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="Isiqendu %n"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="Ulinganiselo %n"/> - <l:template name="example" text="Umzekelo %n"/> - <l:template name="figure" text="Ulungu %n"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="Inxenye %n"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="Inkqubo %n"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaentry" text="U: %n"/> - <l:template name="qandaset" text="%t"/> - <l:template name="question" text="U: %n"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="Indlela Yokwenza Imigca %n"/> - <l:template name="varlistentry" text="%n"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="bridgehead" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="sect1" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="sect2" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="sect3" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="sect4" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="sect5" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="section" text="icandelo libizwa ngokuba “%t”"/> - <l:template name="simplesect" text="icandelo libizwa ngokuba “%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="bridgehead" text="Icandelo %n"/> - <l:template name="sect1" text="Icandelo %n"/> - <l:template name="sect2" text="Icandelo %n"/> - <l:template name="sect3" text="Icandelo %n"/> - <l:template name="sect4" text="Icandelo %n"/> - <l:template name="sect5" text="Icandelo %n"/> - <l:template name="section" text="Icandelo %n"/> - <l:template name="simplesect" text="icandelo libizwa ngokuba “%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=""/> - <l:template name="sep2" text=""/> - <l:template name="seplast" text=""/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="Bona "/> - <l:template name="seealso" text="Bona Kwakhona "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="Ababhali: "/> - <l:template name="MsgLevel" text="Umphakamo: "/> - <l:template name="MsgOrig" text="Uqobo: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/zh_cn.xml b/stylesheets/docbook/common/zh_cn.xml deleted file mode 100644 index 0085c27e..00000000 --- a/stylesheets/docbook/common/zh_cn.xml +++ /dev/null @@ -1,339 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="Abstract" text="摘要"/> - <l:gentext key="abstract" text="摘要"/> - <l:gentext key="Answer" text="答:"/> - <l:gentext key="answer" text="答:"/> - <l:gentext key="Appendix" text="附录"/> - <l:gentext key="appendix" text="附录"/> - <l:gentext key="Article" text="文章"/> - <l:gentext key="article" text="文章"/> - <l:gentext key="Bibliography" text="参考书目"/> - <l:gentext key="bibliography" text="参考书目"/> - <l:gentext key="Book" text="书目"/> - <l:gentext key="book" text="书目"/> - <l:gentext key="CAUTION" text="注意"/> - <l:gentext key="Caution" text="注意"/> - <l:gentext key="caution" text="注意"/> - <l:gentext key="Chapter" text="章"/> - <l:gentext key="chapter" text="章"/> - <l:gentext key="Colophon" text="Colophon"/> - <l:gentext key="colophon" text="Colophon"/> - <l:gentext key="Copyright" text="版权"/> - <l:gentext key="copyright" text="版权"/> - <l:gentext key="Dedication" text="奉献"/> - <l:gentext key="dedication" text="奉献"/> - <l:gentext key="Edition" text="版"/> - <l:gentext key="edition" text="版"/> - <l:gentext key="Equation" text="方程"/> - <l:gentext key="equation" text="方程"/> - <l:gentext key="Example" text="例子"/> - <l:gentext key="example" text="例子"/> - <l:gentext key="Figure" text="图形"/> - <l:gentext key="figure" text="图形"/> - <l:gentext key="Glossary" text="术语表"/> - <l:gentext key="glossary" text="术语表"/> - <l:gentext key="GlossSee" text="见"/> - <l:gentext key="glosssee" text="见"/> - <l:gentext key="GlossSeeAlso" text="另见"/> - <l:gentext key="glossseealso" text="另见"/> - <l:gentext key="IMPORTANT" text="重要"/> - <l:gentext key="Important" text="重要"/> - <l:gentext key="important" text="重要"/> - <l:gentext key="Index" text="索引"/> - <l:gentext key="index" text="索引"/> - <l:gentext key="ISBN" text="ISBN"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="LegalNotice" text="法律布告"/> - <l:gentext key="legalnotice" text="法律布告"/> - <l:gentext key="MsgAud" text="读者"/> - <l:gentext key="msgaud" text="读者"/> - <l:gentext key="MsgLevel" text="难度"/> - <l:gentext key="msglevel" text="难度"/> - <l:gentext key="MsgOrig" text="出处"/> - <l:gentext key="msgorig" text="出处"/> - <l:gentext key="NOTE" text="注"/> - <l:gentext key="Note" text="注"/> - <l:gentext key="note" text="注"/> - <l:gentext key="Part" text="部分"/> - <l:gentext key="part" text="部分"/> - <l:gentext key="Preface" text="前言"/> - <l:gentext key="preface" text="前言"/> - <l:gentext key="Procedure" text="过程"/> - <l:gentext key="procedure" text="过程"/> - <l:gentext key="Published" text="出版"/> - <l:gentext key="published" text="出版"/> - <l:gentext key="Question" text="问:"/> - <l:gentext key="question" text="问:"/> - <l:gentext key="RefEntry" text=""/> - <l:gentext key="refentry" text=""/> - <l:gentext key="Reference" text="参考"/> - <l:gentext key="reference" text="参考"/> - <l:gentext key="RefName" text="名字"/> - <l:gentext key="refname" text="名字"/> - <l:gentext key="RefSection" text=""/> - <l:gentext key="refsection" text=""/> - <l:gentext key="RefSynopsisDiv" text="大纲"/> - <l:gentext key="refsynopsisdiv" text="大纲"/> - <l:gentext key="RevHistory" text="修订历史"/> - <l:gentext key="revhistory" text="修订历史"/> - <l:gentext key="Revision" text="修订"/> - <l:gentext key="revision" text="修订"/> - <l:gentext key="Section" text="节"/> - <l:gentext key="section" text="节"/> - <l:gentext key="See" text="见"/> - <l:gentext key="see" text="见"/> - <l:gentext key="SeeAlso" text="另见"/> - <l:gentext key="Seealso" text="另见"/> - <l:gentext key="seealso" text="另见"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="sidebar" text="sidebar"/> - <l:gentext key="step" text="步骤"/> - <l:gentext key="Step" text="步骤"/> - <l:gentext key="Table" text="表格"/> - <l:gentext key="table" text="表格"/> - <l:gentext key="TIP" text="提示"/> - <l:gentext key="Tip" text="提示"/> - <l:gentext key="tip" text="提示"/> - <l:gentext key="Warning" text="警告"/> - <l:gentext key="WARNING" text="警告"/> - <l:gentext key="warning" text="警告"/> - <l:gentext key="and" text="和"/> - <l:gentext key="by" text="由"/> - <l:gentext key="Edited" text="编辑"/> - <l:gentext key="edited" text="编辑"/> - <l:gentext key="Editedby" text="编辑"/> - <l:gentext key="editedby" text="编辑"/> - <l:gentext key="in" text="在"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="不存在的元素"/> - <l:gentext key="Notes" text="注"/> - <l:gentext key="notes" text="注"/> - <l:gentext key="Pgs" text="页"/> - <l:gentext key="pgs" text="页"/> - <l:gentext key="Revisedby" text="修订"/> - <l:gentext key="revisedby" text="修订"/> - <l:gentext key="TableNotes" text="注"/> - <l:gentext key="tablenotes" text="注"/> - <l:gentext key="TableofContents" text="目录"/> - <l:gentext key="tableofcontents" text="目录"/> - <l:gentext key="unexpectedelementname" text="未预料到的元素名"/> - <l:gentext key="unsupported" text="不支持"/> - <l:gentext key="xrefto" text="参照"/> - <l:gentext key="ListofEquations" text="方程式列表"/> - <l:gentext key="listofequations" text="方程式列表"/> - <l:gentext key="ListofExamples" text="示例列表"/> - <l:gentext key="listofexamples" text="示例列表"/> - <l:gentext key="ListofFigures" text="图形列表"/> - <l:gentext key="listoffigures" text="图形列表"/> - <l:gentext key="ListofTables" text="表格列表"/> - <l:gentext key="listoftables" text="表格列表"/> - <l:gentext key="ListofUnknown" text="其他内容列表"/> - <l:gentext key="listofunknown" text="其他内容列表"/> - <l:gentext key="nav-home" text="起点"/> - <l:gentext key="nav-next" text="前进"/> - <l:gentext key="nav-next-sibling" text="快速前进"/> - <l:gentext key="nav-prev" text="后退"/> - <l:gentext key="nav-prev-sibling" text="快速后退"/> - <l:gentext key="nav-up" text="上一级"/> - <l:dingbat key="startquote" text="""/> - <l:dingbat key="endquote" text="""/> - <l:dingbat key="nestedstartquote" text="'"/> - <l:dingbat key="nestedendquote" text="'"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="附录 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="方程 %n. %t"/> - <l:template name="example" text="例子 %n. %t"/> - <l:template name="figure" text="图形 %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="部分 %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="表格 %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="附录 %n. %t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="附录 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="例子 %n. %t"/> - <l:template name="figure" text="图形 %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="部分 %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="表格 %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="节 %n"/> - <l:template name="sect2" text="节 %n"/> - <l:template name="sect3" text="节 %n"/> - <l:template name="sect4" text="节 %n"/> - <l:template name="sect5" text="节 %n"/> - <l:template name="section" text="节 %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" 和 "/> - <l:template name="seplast" text=", 和 "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="见 "/> - <l:template name="seealso" text="另见 "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="读者: "/> - <l:template name="MsgLevel" text="难度: "/> - <l:template name="MsgOrig" text="出处: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/common/zh_tw.xml b/stylesheets/docbook/common/zh_tw.xml deleted file mode 100644 index deed400d..00000000 --- a/stylesheets/docbook/common/zh_tw.xml +++ /dev/null @@ -1,321 +0,0 @@ -<?xml version="1.0" encoding="US-ASCII"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw"> - -<!-- This file is generated automatically. --> -<!-- Do not edit this file by hand! --> -<!-- See http://docbook.sourceforge.net/ --> - - <l:gentext key="abstract" text="摘要"/> - <l:gentext key="Abstract" text="摘要"/> - <l:gentext key="Answer" text="答:"/> - <l:gentext key="answer" text="答:"/> - <l:gentext key="Appendix" text="附錄"/> - <l:gentext key="appendix" text="附錄"/> - <l:gentext key="article" text="文章"/> - <l:gentext key="Article" text="文章"/> - <l:gentext key="Bibliography" text="參考文獻"/> - <l:gentext key="bibliography" text="參考文獻"/> - <l:gentext key="book" text="書目"/> - <l:gentext key="Book" text="書目"/> - <l:gentext key="caution" text="注意"/> - <l:gentext key="Caution" text="注意"/> - <l:gentext key="Chapter" text="章"/> - <l:gentext key="chapter" text="章"/> - <l:gentext key="colophon" text="版本記錄"/> - <l:gentext key="Colophon" text="版本記錄"/> - <l:gentext key="copyright" text="版權"/> - <l:gentext key="Copyright" text="版權"/> - <l:gentext key="dedication" text="奉獻"/> - <l:gentext key="Dedication" text="奉獻"/> - <l:gentext key="Edition" text="版"/> - <l:gentext key="edition" text="版"/> - <l:gentext key="Equation" text="方程式"/> - <l:gentext key="equation" text="方程式"/> - <l:gentext key="Example" text="範例"/> - <l:gentext key="example" text="範例"/> - <l:gentext key="Figure" text="圖形"/> - <l:gentext key="figure" text="圖形"/> - <l:gentext key="Glossary" text="小辭彙"/> - <l:gentext key="glossary" text="小辭彙"/> - <l:gentext key="GlossSee" text="參見"/> - <l:gentext key="glosssee" text="參見"/> - <l:gentext key="GlossSeeAlso" text="另參見"/> - <l:gentext key="glossseealso" text="另參見"/> - <l:gentext key="Important" text="重要"/> - <l:gentext key="important" text="重要"/> - <l:gentext key="index" text="索引"/> - <l:gentext key="Index" text="索引"/> - <l:gentext key="isbn" text="ISBN"/> - <l:gentext key="legalnotice" text="法律聲明"/> - <l:gentext key="LegalNotice" text="法律聲明"/> - <l:gentext key="MsgAud" text="讀者"/> - <l:gentext key="msgaud" text="讀者"/> - <l:gentext key="MsgLevel" text="程度"/> - <l:gentext key="msglevel" text="程度"/> - <l:gentext key="MsgOrig" text="出處"/> - <l:gentext key="msgorig" text="出處"/> - <l:gentext key="Note" text="注"/> - <l:gentext key="note" text="注"/> - <l:gentext key="Part" text="部"/> - <l:gentext key="part" text="部"/> - <l:gentext key="preface" text="序言"/> - <l:gentext key="Preface" text="序言"/> - <l:gentext key="procedure" text="過程"/> - <l:gentext key="Procedure" text="過程"/> - <l:gentext key="published" text="出版"/> - <l:gentext key="Published" text="出版"/> - <l:gentext key="Question" text="問:"/> - <l:gentext key="question" text="問:"/> - <l:gentext key="RefEntry" text="參照項目"/> - <l:gentext key="refentry" text="參照項目"/> - <l:gentext key="reference" text="參考"/> - <l:gentext key="Reference" text="參考"/> - <l:gentext key="refname" text="參考名"/> - <l:gentext key="RefName" text="參考名"/> - <l:gentext key="refsection" text="參照章節"/> - <l:gentext key="RefSection" text="參照章節"/> - <l:gentext key="refsynopsisdiv" text="大綱"/> - <l:gentext key="RefSynopsisDiv" text="大綱"/> - <l:gentext key="revhistory" text="修訂記錄"/> - <l:gentext key="RevHistory" text="修訂記錄"/> - <l:gentext key="revision" text="修訂"/> - <l:gentext key="Revision" text="修訂"/> - <l:gentext key="Section" text="節"/> - <l:gentext key="section" text="節"/> - <l:gentext key="See" text="見"/> - <l:gentext key="see" text="見"/> - <l:gentext key="seealso" text="另見"/> - <l:gentext key="SeeAlso" text="另見"/> - <l:gentext key="Seealso" text="另見"/> - <l:gentext key="set" text="Set"/> - <l:gentext key="Set" text="Set"/> - <l:gentext key="setindex" text="Set Index"/> - <l:gentext key="SetIndex" text="Set Index"/> - <l:gentext key="sidebar" text=""/> - <l:gentext key="Sidebar" text=""/> - <l:gentext key="step" text="步驟"/> - <l:gentext key="Table" text="表格"/> - <l:gentext key="table" text="表格"/> - <l:gentext key="tip" text="提示"/> - <l:gentext key="Tip" text="提示"/> - <l:gentext key="warning" text="警告"/> - <l:gentext key="Warning" text="警告"/> - <l:gentext key="Edited" text="編輯"/> - <l:gentext key="Editedby" text="編輯"/> - <l:gentext key="Notes" text="注"/> - <l:gentext key="Pgs" text="頁"/> - <l:gentext key="Revisedby" text="修訂"/> - <l:gentext key="TableNotes" text="注釋"/> - <l:gentext key="TableofContents" text="內容目錄"/> - <l:gentext key="and" text="且"/> - <l:gentext key="by" text="由"/> - <l:gentext key="in" text="在"/> - <l:gentext key="lastlistcomma" text=","/> - <l:gentext key="listcomma" text=","/> - <l:gentext key="nonexistantelement" text="不存在的元素"/> - <l:gentext key="page.citation" text="頁"/> - <l:gentext key="unexpectedelementname" text="非預期的元素名"/> - <l:gentext key="unsupported" text="未支援"/> - <l:gentext key="xrefto" text="參照"/> - <l:gentext key="ListofEquations" text="公式目錄"/> - <l:gentext key="ListofExamples" text="範例目錄"/> - <l:gentext key="ListofFigures" text="附圖目錄"/> - <l:gentext key="ListofTables" text="附表目錄"/> - <l:gentext key="ListofUnknown" text="其它內容目錄"/> - <l:gentext key="nav-home" text="內容"/> - <l:gentext key="nav-next" text="下一頁"/> - <l:gentext key="nav-next-sibling" text="快速向後"/> - <l:gentext key="nav-prev" text="前一頁"/> - <l:gentext key="nav-prev-sibling" text="快速向前"/> - <l:gentext key="nav-up" text="上一層"/> - <l:dingbat key="startquote" text="""/> - <l:dingbat key="endquote" text="""/> - <l:dingbat key="nestedstartquote" text="'"/> - <l:dingbat key="nestedendquote" text="'"/> - <l:dingbat key="bullet" text="•"/> - - <l:context name="title"> - <l:template name="abstract" text="%t"/> - <l:template name="appendix" text="附錄 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="authorblurb" text="%t"/> - <l:template name="bibliodiv" text="%t"/> - <l:template name="biblioentry" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="bibliomixed" text="%t"/> - <l:template name="bibliomset" text="%t"/> - <l:template name="biblioset" text="%t"/> - <l:template name="blockquote" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="calloutlist" text="%t"/> - <l:template name="caution" text="%t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="equation" text="方程式 %n. %t"/> - <l:template name="example" text="範例 %n. %t"/> - <l:template name="figure" text="圖形 %n. %t"/> - <l:template name="formalpara" text="%t"/> - <l:template name="glossary" text="%t"/> - <l:template name="glossdiv" text="%t"/> - <l:template name="important" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="indexdiv" text="%t"/> - <l:template name="itemizedlist" text="%t"/> - <l:template name="legalnotice" text="%t"/> - <l:template name="listitem" text=""/> - <l:template name="lot" text="%t"/> - <l:template name="msg" text="%t"/> - <l:template name="msgexplan" text="%t"/> - <l:template name="msgmain" text="%t"/> - <l:template name="msgrel" text="%t"/> - <l:template name="msgset" text="%t"/> - <l:template name="msgsub" text="%t"/> - <l:template name="note" text="%t"/> - <l:template name="orderedlist" text="%t"/> - <l:template name="part" text="部 %n. %t"/> - <l:template name="partintro" text="%t"/> - <l:template name="preface" text="%t"/> - <l:template name="procedure" text="%t"/> - <l:template name="qandadiv" text="%t"/> - <l:template name="qandaset" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="refsect1" text="%t"/> - <l:template name="refsect2" text="%t"/> - <l:template name="refsect3" text="%t"/> - <l:template name="refsynopsisdiv" text="%t"/> - <l:template name="refsynopsisdivinfo" text="%t"/> - <l:template name="segmentedlist" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="sidebar" text="%t"/> - <l:template name="step" text="%t"/> - <l:template name="table" text="表格 %n. %t"/> - <l:template name="tip" text="%t"/> - <l:template name="toc" text="%t"/> - <l:template name="variablelist" text="%t"/> - <l:template name="warning" text="%t"/> - </l:context> - - <l:context name="title-unnumbered"> - <l:template name="appendix" text="%t"/> - <l:template name="chapter" text="%t"/> - <l:template name="sect1" text="%t"/> - <l:template name="sect2" text="%t"/> - <l:template name="sect3" text="%t"/> - <l:template name="sect4" text="%t"/> - <l:template name="sect5" text="%t"/> - <l:template name="section" text="%t"/> - <l:template name="simplesect" text="%t"/> - </l:context> - - <l:context name="title-numbered"> - <l:template name="appendix" text="附錄 %n. %t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="sect1" text="%n. %t"/> - <l:template name="sect2" text="%n. %t"/> - <l:template name="sect3" text="%n. %t"/> - <l:template name="sect4" text="%n. %t"/> - <l:template name="sect5" text="%n. %t"/> - <l:template name="section" text="%n. %t"/> - <l:template name="simplesect" text="%n. %t"/> - </l:context> - - <l:context name="subtitle"> - <l:template name="appendix" text="%s"/> - <l:template name="article" text="%s"/> - <l:template name="bibliodiv" text="%s"/> - <l:template name="biblioentry" text="%s"/> - <l:template name="bibliography" text="%s"/> - <l:template name="bibliomixed" text="%s"/> - <l:template name="bibliomset" text="%s"/> - <l:template name="biblioset" text="%s"/> - <l:template name="book" text="%s"/> - <l:template name="chapter" text="%s"/> - <l:template name="colophon" text="%s"/> - <l:template name="dedication" text="%s"/> - <l:template name="glossary" text="%s"/> - <l:template name="glossdiv" text="%s"/> - <l:template name="index" text="%s"/> - <l:template name="indexdiv" text="%s"/> - <l:template name="lot" text="%s"/> - <l:template name="part" text="%s"/> - <l:template name="partintro" text="%s"/> - <l:template name="preface" text="%s"/> - <l:template name="refentry" text="%s"/> - <l:template name="reference" text="%s"/> - <l:template name="refsect1" text="%s"/> - <l:template name="refsect2" text="%s"/> - <l:template name="refsect3" text="%s"/> - <l:template name="refsynopsisdiv" text="%s"/> - <l:template name="sect1" text="%s"/> - <l:template name="sect2" text="%s"/> - <l:template name="sect3" text="%s"/> - <l:template name="sect4" text="%s"/> - <l:template name="sect5" text="%s"/> - <l:template name="section" text="%s"/> - <l:template name="set" text="%s"/> - <l:template name="setindex" text="%s"/> - <l:template name="sidebar" text="%s"/> - <l:template name="simplesect" text="%s"/> - <l:template name="toc" text="%s"/> - </l:context> - - <l:context name="xref"> - <l:template name="appendix" text="附錄 %n. %t"/> - <l:template name="article" text="%t"/> - <l:template name="bibliography" text="%t"/> - <l:template name="book" text="%t"/> - <l:template name="chapter" text="章 %n. %t"/> - <l:template name="colophon" text="%t"/> - <l:template name="dedication" text="%t"/> - <l:template name="example" text="範例 %n. %t"/> - <l:template name="figure" text="圖形 %n. %t"/> - <l:template name="glossary" text="%t"/> - <l:template name="index" text="%t"/> - <l:template name="listitem" text="%n"/> - <l:template name="part" text="部 %n. %t"/> - <l:template name="preface" text="%t"/> - <l:template name="reference" text="%t"/> - <l:template name="set" text="%t"/> - <l:template name="setindex" text="%t"/> - <l:template name="table" text="表格 %n. %t"/> - </l:context> - - <l:context name="section-xref"> - <l:template name="sect1" text="“%t”"/> - <l:template name="sect2" text="“%t”"/> - <l:template name="sect3" text="“%t”"/> - <l:template name="sect4" text="“%t”"/> - <l:template name="sect5" text="“%t”"/> - <l:template name="section" text="“%t”"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="section-xref-numbered"> - <l:template name="sect1" text="節 %n"/> - <l:template name="sect2" text="節 %n"/> - <l:template name="sect3" text="節 %n"/> - <l:template name="sect4" text="節 %n"/> - <l:template name="sect5" text="節 %n"/> - <l:template name="section" text="節 %n"/> - <l:template name="simplesect" text="“%t”"/> - </l:context> - - <l:context name="authorgroup"> - <l:template name="sep" text=", "/> - <l:template name="sep2" text=" 且 "/> - <l:template name="seplast" text=", 且 "/> - </l:context> - - <l:context name="glossary"> - <l:template name="see" text="參見 "/> - <l:template name="seealso" text="另參見 "/> - </l:context> - - <l:context name="msgset"> - <l:template name="MsgAud" text="讀者: "/> - <l:template name="MsgLevel" text="程度: "/> - <l:template name="MsgOrig" text="出處: "/> - </l:context> -</l:l10n> diff --git a/stylesheets/docbook/html/admon.xsl b/stylesheets/docbook/html/admon.xsl deleted file mode 100644 index c3f8e601..00000000 --- a/stylesheets/docbook/html/admon.xsl +++ /dev/null @@ -1,101 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="admon.graphic.width"> - <xsl:param name="node" select="."/> - <xsl:text>25</xsl:text> -</xsl:template> - -<xsl:template match="note|important|warning|caution|tip"> - <xsl:choose> - <xsl:when test="$admon.graphics != 0"> - <xsl:call-template name="graphical.admonition"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="nongraphical.admonition"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="admon.graphic"> - <xsl:param name="node" select="."/> - <xsl:value-of select="$admon.graphics.path"/> - <xsl:choose> - <xsl:when test="name($node)='note'">note</xsl:when> - <xsl:when test="name($node)='warning'">warning</xsl:when> - <xsl:when test="name($node)='caution'">caution</xsl:when> - <xsl:when test="name($node)='tip'">tip</xsl:when> - <xsl:when test="name($node)='important'">important</xsl:when> - <xsl:otherwise>note</xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$admon.graphics.extension"/> -</xsl:template> - -<xsl:template name="graphical.admonition"> - <div class="{name(.)}"> - <xsl:if test="$admon.style != ''"> - <xsl:attribute name="style"> - <xsl:value-of select="$admon.style"/> - </xsl:attribute> - </xsl:if> - <table border="0"> - <tr> - <td rowspan="2" align="center" valign="top"> - <xsl:attribute name="width"> - <xsl:call-template name="admon.graphic.width"/> - </xsl:attribute> - <img> - <xsl:attribute name="src"> - <xsl:call-template name="admon.graphic"/> - </xsl:attribute> - </img> - </td> - <th> - <xsl:call-template name="anchor"/> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - <tr> - <td colspan="2" align="left" valign="top"> - <xsl:apply-templates/> - </td> - </tr> - </table> - </div> -</xsl:template> - -<xsl:template name="nongraphical.admonition"> - <div class="{name(.)}"> - <xsl:if test="$admon.style"> - <xsl:attribute name="style"> - <xsl:value-of select="$admon.style"/> - </xsl:attribute> - </xsl:if> - - <h3 class="title"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates select="." mode="object.title.markup"/> - </h3> - - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="note/title"></xsl:template> -<xsl:template match="important/title"></xsl:template> -<xsl:template match="warning/title"></xsl:template> -<xsl:template match="caution/title"></xsl:template> -<xsl:template match="tip/title"></xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/autoidx.xsl b/stylesheets/docbook/html/autoidx.xsl deleted file mode 100644 index 1b1ad70f..00000000 --- a/stylesheets/docbook/html/autoidx.xsl +++ /dev/null @@ -1,294 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE xsl:stylesheet [ - -<!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'"> -<!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"> - -<!ENTITY primary 'concat(primary/@sortas, primary[not(@sortas)])'> -<!ENTITY secondary 'concat(secondary/@sortas, secondary[not(@sortas)])'> -<!ENTITY tertiary 'concat(tertiary/@sortas, tertiary[not(@sortas)])'> - -<!ENTITY section '(ancestor-or-self::set - |ancestor-or-self::book - |ancestor-or-self::part - |ancestor-or-self::reference - |ancestor-or-self::partintro - |ancestor-or-self::chapter - |ancestor-or-self::appendix - |ancestor-or-self::preface - |ancestor-or-self::section - |ancestor-or-self::sect1 - |ancestor-or-self::sect2 - |ancestor-or-self::sect3 - |ancestor-or-self::sect4 - |ancestor-or-self::sect5 - |ancestor-or-self::refsect1 - |ancestor-or-self::refsect2 - |ancestor-or-self::refsect3 - |ancestor-or-self::simplesect - |ancestor-or-self::bibliography - |ancestor-or-self::glossary - |ancestor-or-self::index)[last()]'> - -<!ENTITY section.id 'generate-id(§ion;)'> -<!ENTITY sep '" "'> -]> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<!-- ==================================================================== --> -<!-- Jeni Tennison gets all the credit for what follows. - I think I understand it :-) Anyway, I've hacked it a bit, so the - bugs are mine. --> - -<xsl:key name="letter" - match="indexterm" - use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> - -<xsl:key name="primary" - match="indexterm" - use="&primary;"/> - -<xsl:key name="secondary" - match="indexterm" - use="concat(&primary;, &sep;, &secondary;)"/> - -<xsl:key name="tertiary" - match="indexterm" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> - -<xsl:key name="primary-section" - match="indexterm[not(secondary) and not(see)]" - use="concat(&primary;, &sep;, §ion.id;)"/> - -<xsl:key name="secondary-section" - match="indexterm[not(tertiary) and not(see)]" - use="concat(&primary;, &sep;, &secondary;, &sep;, §ion.id;)"/> - -<xsl:key name="tertiary-section" - match="indexterm[not(see)]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, §ion.id;)"/> - -<xsl:key name="see-also" - match="indexterm[seealso]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso)"/> - -<xsl:key name="see" - match="indexterm[see]" - use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/> - -<xsl:key name="sections" match="*[@id]" use="@id"/> - -<xsl:template name="generate-index"> - <xsl:variable name="terms" select="//indexterm[count(.|key('letter', - translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[1]) = 1]"/> - - <xsl:variable name="alphabetical" - select="$terms[contains(concat(&lowercase;, &uppercase;), - substring(&primary;, 1, 1))]"/> - <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;, - &uppercase;), - substring(&primary;, 1, 1)))]"/> - <div class="index"> - <xsl:if test="$others"> - <div class="indexdiv"> - <h3> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'index symbols'"/> - </xsl:call-template> - </h3> - <dl> - <xsl:apply-templates select="$others[count(.|key('primary', - &primary;)[1]) = 1]" - mode="index-primary"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </dl> - </div> - </xsl:if> - <xsl:apply-templates select="$alphabetical[count(.|key('letter', - translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[1]) = 1]" - mode="index-div"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </div> -</xsl:template> - -<xsl:template match="indexterm" mode="index-div"> - <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/> - <div class="indexdiv"> - <h3> - <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/> - </h3> - <dl> - <xsl:apply-templates select="key('letter', $key)[count(.|key('primary', &primary;)[1]) = 1]" - mode="index-primary"> - <xsl:sort select="&primary;"/> - </xsl:apply-templates> - </dl> - </div> -</xsl:template> - -<xsl:template match="indexterm" mode="index-primary"> - <xsl:variable name="key" select="&primary;"/> - <xsl:variable name="refs" select="key('primary', $key)"/> - <dt> - <xsl:value-of select="primary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('primary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::see or self::seealso]"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[1]) = 1]" - mode="index-secondary"> - <xsl:sort select="&secondary;"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="index-secondary"> - <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/> - <xsl:variable name="refs" select="key('secondary', $key)"/> - <dt> - <xsl:value-of select="secondary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('secondary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::see or self::seealso]"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[1]) = 1]" - mode="index-tertiary"> - <xsl:sort select="&tertiary;"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="index-tertiary"> - <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/> - <xsl:variable name="refs" select="key('tertiary', $key)"/> - <dt> - <xsl:value-of select="tertiary"/> - <xsl:for-each select="$refs[generate-id() = generate-id(key('tertiary-section', concat($key, &sep;, §ion.id;))[1])]"> - <xsl:apply-templates select="." mode="reference"/> - </xsl:for-each> - </dt> - <xsl:variable name="see" select="$refs/see | $refs/seealso"/> - <xsl:if test="$see"> - <dd> - <dl> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[1])]" - mode="index-see"> - <xsl:sort select="see"/> - </xsl:apply-templates> - <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[1])]" - mode="index-seealso"> - <xsl:sort select="seealso"/> - </xsl:apply-templates> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="indexterm" mode="reference"> - <xsl:text>, </xsl:text> - <xsl:choose> - <xsl:when test="@zone and string(@zone)"> - <xsl:call-template name="reference"> - <xsl:with-param name="zones" select="normalize-space(@zone)"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <a> - <xsl:variable name="title"> - <xsl:apply-templates select="§ion;" mode="title.markup"/> - </xsl:variable> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="§ion;"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:value-of select="$title"/> <!-- text only --> - </a> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="reference"> - <xsl:param name="zones"/> - <xsl:choose> - <xsl:when test="contains($zones, ' ')"> - <xsl:variable name="zone" select="substring-before($zones, ' ')"/> - <xsl:variable name="target" select="key('sections', $zone)"/> - - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target[1]"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates select="$target[1]" mode="index-title-content"/> - </a> - <xsl:text>, </xsl:text> - <xsl:call-template name="reference"> - <xsl:with-param name="zones" select="substring-after($zones, ' ')"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="zone" select="$zones"/> - <xsl:variable name="target" select="key('sections', $zone)"/> - - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target[1]"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates select="$target[1]" mode="index-title-content"/> - </a> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="indexterm" mode="index-see"> - <dt><xsl:value-of select="see"/></dt> -</xsl:template> - -<xsl:template match="indexterm" mode="index-seealso"> - <dt><xsl:value-of select="seealso"/></dt> -</xsl:template> - -<xsl:template match="*" mode="index-title-content"> - <xsl:variable name="title"> - <xsl:apply-templates select="§ion;" mode="title.markup"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/autotoc.xsl b/stylesheets/docbook/html/autotoc.xsl deleted file mode 100644 index 57540c97..00000000 --- a/stylesheets/docbook/html/autotoc.xsl +++ /dev/null @@ -1,618 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> -</xsl:template> - -<xsl:variable name="toc.listitem.type"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'">dt</xsl:when> - <xsl:otherwise>li</xsl:otherwise> - </xsl:choose> -</xsl:variable> - -<!-- this is just hack because dl and ul aren't completely isomorphic --> -<xsl:variable name="toc.dd.type"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'">dd</xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:variable> - -<xsl:template name="set.toc"> - <xsl:variable name="nodes" select="book|setindex"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="division.toc"> - <xsl:if test="$generate.division.toc != 0"> - <xsl:variable name="nodes" select="part|reference - |preface|chapter|appendix - |article - |bibliography|glossary|index - |refentry - |bridgehead"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template name="component.toc"> - <xsl:if test="$generate.component.toc != 0"> - <xsl:variable name="nodes" select="section|sect1|refentry - |article|bibliography|glossary - |appendix|bridgehead[not(@renderas)] - |.//bridgehead[@renderas='sect1']"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template name="section.toc"> - <xsl:variable name="nodes" - select="section|sect1|sect2|sect3|sect4|sect5|refentry - |bridgehead"/> - <xsl:if test="$nodes"> - <div class="toc"> - <p> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </p> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book|setindex" mode="toc"> - <xsl:variable name="nodes" select="part|reference - |preface|chapter|appendix - |article - |bibliography|glossary|index - |refentry - |bridgehead"/> - - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates mode="toc" select="$nodes"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and count($nodes)>0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and count($nodes)>0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="part|reference" mode="toc"> - <xsl:variable name="nodes" select="appendix|chapter|article - |index|glossary|bibliography - |preface|reference|refentry - |bridgehead"/> - - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="$nodes" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and count($nodes) > 0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and count($nodes) > 0"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="preface|chapter|appendix|article" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="section|sect1|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>0 and section|sect1"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>0 and section|sect1"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect1" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect2|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>1 and sect2"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>1 and sect2"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect2" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect3|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>2 and sect3"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>2 and sect3"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect3" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect4|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>3 and sect4"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>3 and sect4"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect4" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="sect5|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toc.section.depth>4 and sect5"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toc.section.depth>4 and sect5"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="sect5" mode="toc"> - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> -</xsl:template> - -<xsl:template match="section" mode="toc"> - <xsl:variable name="subtoc"> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="section|bridgehead" mode="toc"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="subtoc.list"> - <xsl:choose> - <xsl:when test="$toc.dd.type = ''"> - <xsl:copy-of select="$subtoc"/> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.dd.type}"> - <xsl:copy-of select="$subtoc"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="toodeep"> - <xsl:choose> - <!-- if the depth is less than 2, we're already deep enough --> - <xsl:when test="$toc.section.depth < 2">yes</xsl:when> - <!-- if the current section has n-1 section ancestors --> - <!-- then we've already reached depth n --> - <xsl:when test="ancestor::section[position()=$toc.section.depth - 1]"> - <xsl:text>yes</xsl:text> - </xsl:when> - <!-- otherwise, keep going --> - <xsl:otherwise>no</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - <xsl:if test="$toc.listitem.type = 'li' - and $toodeep='no' and section"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> - </xsl:element> - <xsl:if test="$toc.listitem.type != 'li' - and $toodeep='no' and section"> - <xsl:copy-of select="$subtoc.list"/> - </xsl:if> -</xsl:template> - -<xsl:template match="bridgehead" mode="toc"> - <xsl:if test="$bridgehead.in.toc != 0"> - <xsl:element name="{$toc.listitem.type}"> - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.markup"/> - </xsl:variable> - <xsl:copy-of select="$label"/> - <xsl:if test="$label != ''"> - <xsl:value-of select="$autotoc.label.separator"/> - </xsl:if> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates/> - </a> - </xsl:element> - </xsl:if> -</xsl:template> - -<xsl:template match="bibliography|glossary" mode="toc"> - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> -</xsl:template> - -<xsl:template match="index" mode="toc"> - <!-- If the index tag is empty, don't point at it from the TOC --> - <xsl:if test="* or $generate.index"> - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:apply-templates select="." mode="title.markup"/> - </a> - </xsl:element> - </xsl:if> -</xsl:template> - -<xsl:template match="refentry" mode="toc"> - <xsl:variable name="refmeta" select=".//refmeta"/> - <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> - <xsl:variable name="refnamediv" select=".//refnamediv"/> - <xsl:variable name="refname" select="$refnamediv//refname"/> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$refentrytitle"> - <xsl:apply-templates select="$refentrytitle[1]" mode="title"/> - </xsl:when> - <xsl:when test="$refname"> - <xsl:apply-templates select="$refname[1]" mode="title"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="{$toc.listitem.type}"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:copy-of select="$title"/> - </a> - <xsl:if test="$annotate.toc != 0"> - <xsl:text> - </xsl:text> - <xsl:value-of select="refnamediv/refpurpose"/> - </xsl:if> - </xsl:element> -</xsl:template> - -<xsl:template match="title" mode="toc"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/biblio.xsl b/stylesheets/docbook/html/biblio.xsl deleted file mode 100644 index cf8f53e8..00000000 --- a/stylesheets/docbook/html/biblio.xsl +++ /dev/null @@ -1,1009 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="bibliography"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="bibliography.titlepage"/> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="bibliography/bibliographyinfo"></xsl:template> -<xsl:template match="bibliography/title"></xsl:template> -<xsl:template match="bibliography/subtitle"></xsl:template> -<xsl:template match="bibliography/titleabbrev"></xsl:template> - -<xsl:template match="bibliography/title" mode="component.title.mode"> - <h2 class="title"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="bibliography/subtitle" mode="component.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="bibliodiv"> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="bibliodiv/title"> - <h3 class="{name(.)}"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - <xsl:apply-templates/> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="biblioentry"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:apply-templates select="$entry"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <p> - <xsl:call-template name="biblioentry.label"/> - <xsl:text>Error: no bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <p> - <xsl:call-template name="biblioentry.label"/> - <xsl:apply-templates mode="bibliography.mode"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="bibliomixed"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:apply-templates select="$entry"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <p> - <xsl:call-template name="biblioentry.label"/> - <xsl:text>Error: no bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <p class="{name(.)}"> - <xsl:call-template name="biblioentry.label"/> - <xsl:apply-templates mode="bibliomixed.mode"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="biblioentry.label"> - <xsl:param name="node" select="."/> - - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="local-name($node/child::*[1]) = 'abbrev'"> - <xsl:apply-templates select="$node/abbrev[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$node/@id"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>] </xsl:text> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="bibliography.mode"> - <xsl:apply-templates select="."/><!-- try the default mode --> -</xsl:template> - -<xsl:template match="abbrev" mode="bibliography.mode"> - <xsl:if test="preceding-sibling::*"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:if> -</xsl:template> - -<xsl:template match="abstract" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="address" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="affiliation" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="artheader|articleinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="artpagenums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="author" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="authorblurb" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="authorgroup" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name.list"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="authorinitials" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="bibliomset" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="biblioset" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="biblioset/title|biblioset/citetitle" - mode="bibliography.mode"> - <xsl:variable name="relation" select="../@relation"/> - <xsl:choose> - <xsl:when test="$relation='article' or @pubwork='article'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:apply-templates/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <I><xsl:apply-templates/></I> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$biblioentry.item.separator"/> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="bookbiblio" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="citetitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:choose> - <xsl:when test="@pubwork = 'article'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.italicseq"/> - </xsl:otherwise> - </xsl:choose> - </span> -</xsl:template> - -<xsl:template match="collab" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="collabname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confdates" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="conftitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confnum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="confsponsor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contractnum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="copyright" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="year" mode="bibliography.mode"/> - <xsl:if test="holder"> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="holder" mode="bibliography.mode"/> - </xsl:if> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="year" mode="bibliography.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="year[position()=last()]" mode="bibliography.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="holder" mode="bibliography.mode"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="corpauthor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="corpname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="date" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="editor" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:call-template name="person.name"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="firstname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="honorific" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="indexterm" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="invpartnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="lineage" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="orgdiv" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="othername" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="bibliography.mode"> - <!-- suppressed --> -</xsl:template> - -<xsl:template match="productname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="publisher" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="publishername" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="revhistory" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="seriesinfo" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - </span> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="surname" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="title" mode="bibliography.mode"> - <span class="{name(.)}"> - <I><xsl:apply-templates mode="bibliography.mode"/></I> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="titleabbrev" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<xsl:template match="volumenum" mode="bibliography.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliography.mode"/> - <xsl:value-of select="$biblioentry.item.separator"/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="bibliomixed.mode"> - <xsl:apply-templates select="."/><!-- try the default mode --> -</xsl:template> - -<xsl:template match="abbrev" mode="bibliomixed.mode"> - <xsl:if test="preceding-sibling::*"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </xsl:if> -</xsl:template> - -<xsl:template match="abstract" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="address" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="affiliation" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="artpagenums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="author" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorblurb" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorgroup" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="authorinitials" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="bibliomset" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="bibliomset/title|bibliomset/citetitle" - mode="bibliomixed.mode"> - <xsl:variable name="relation" select="../@relation"/> - <xsl:choose> - <xsl:when test="$relation='article' or @pubwork='article'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:apply-templates/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <I><xsl:apply-templates/></I> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ================================================== --> - -<xsl:template match="biblioset" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="citetitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:choose> - <xsl:when test="@pubwork = 'article'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.italicseq"/> - </xsl:otherwise> - </xsl:choose> - </span> -</xsl:template> - - -<xsl:template match="collab" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contractnum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="copyright" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="corpauthor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="corpname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="date" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="editor" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="firstname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="honorific" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="indexterm" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="invpartnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="lineage" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="othername" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="productname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="publisher" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="publishername" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="revhistory" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="surname" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="title" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="titleabbrev" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<xsl:template match="volumenum" mode="bibliomixed.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="bibliomixed.mode"/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/block.xsl b/stylesheets/docbook/html/block.xsl deleted file mode 100644 index 399fb017..00000000 --- a/stylesheets/docbook/html/block.xsl +++ /dev/null @@ -1,350 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template name="block.object"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="para"> - <p> - <xsl:if test="position() = 1 and parent::listitem"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select="parent::listitem"/> - </xsl:call-template> - </xsl:if> - - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="simpara"> - <!-- see also listitem/simpara in lists.xsl --> - <p> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="formalpara"> - <p> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="formalpara/title"> - <xsl:variable name="titleStr" select="."/> - <xsl:variable name="lastChar"> - <xsl:if test="$titleStr != ''"> - <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/> - </xsl:if> - </xsl:variable> - - <b> - <xsl:apply-templates/> - <xsl:if test="$lastChar != '' - and not(contains($runinhead.title.end.punct, $lastChar))"> - <xsl:value-of select="$runinhead.default.title.end.punct"/> - </xsl:if> - <xsl:text> </xsl:text> - </b> -</xsl:template> - -<xsl:template match="formalpara/para"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="blockquote"> - <xsl:call-template name="anchor"/> - <xsl:choose> - <xsl:when test="attribution"> - <table border="0" width="100%" - cellspacing="0" cellpadding="0" class="blockquote" - summary="Block quote"> - <tr> - <td width="10%" valign="top"> </td> - <td width="80%" valign="top"> - <xsl:apply-templates - select="child::*[local-name(.)!='attribution']"/> - </td> - <td width="10%" valign="top"> </td> - </tr> - <tr> - <td colspan="2" align="right" valign="top"> - <xsl:text>--</xsl:text> - <xsl:apply-templates select="attribution"/> - </td> - <td width="10%" valign="top"> </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <blockquote class="blockquote"> - <xsl:apply-templates/> - </blockquote> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="epigraph"> - <div class="{name(.)}"> - <xsl:apply-templates select="para"/> - <span>--<xsl:apply-templates select="attribution"/></span> - </div> -</xsl:template> - -<xsl:template match="attribution"> - <span class="{name(.)}"><xsl:apply-templates/></span> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="sidebar"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sidebar/title"> - <p class="title"> - <b><xsl:apply-templates/></b> - </p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="abstract"> - <div class="{name(.)}"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"> - <xsl:with-param name="allow-anchors" select="'1'"/> - </xsl:apply-templates> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="abstract/title"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="msgset"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgentry"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="simplemsgentry"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msg"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msgmain"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgmain/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgsub"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgsub/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgrel"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msgrel/title"> - <b><xsl:apply-templates/></b> -</xsl:template> - -<xsl:template match="msgtext"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="msginfo"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msglevel"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgLevel'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgorig"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgOrig'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgaud"> - <p> - <b> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'msgset'"/> - <xsl:with-param name="name" select="'MsgAud'"/> - </xsl:call-template> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="msgexplan"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="msgexplan/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="revhistory"> - <div class="{name(.)}"> - <table border="0" width="100%" summary="Revision history"> - <tr> - <th align="left" valign="top" colspan="3"> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </b> - </th> - </tr> - <xsl:apply-templates/> - </table> - </div> -</xsl:template> - -<xsl:template match="revhistory/revision"> - <xsl:variable name="revnumber" select=".//revnumber"/> - <xsl:variable name="revdate" select=".//date"/> - <xsl:variable name="revauthor" select=".//authorinitials"/> - <xsl:variable name="revremark" select=".//revremark|../revdescription"/> - <tr> - <td align="left"> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber"/> - </xsl:if> - </td> - <td align="left"> - <xsl:apply-templates select="$revdate"/> - </td> - <xsl:choose> - <xsl:when test="count($revauthor)=0"> - <td align="left"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">nbsp</xsl:with-param> - </xsl:call-template> - </td> - </xsl:when> - <xsl:otherwise> - <td align="left"> - <xsl:apply-templates select="$revauthor"/> - </td> - </xsl:otherwise> - </xsl:choose> - </tr> - <xsl:if test="$revremark"> - <tr> - <td align="left" colspan="3"> - <xsl:apply-templates select="$revremark"/> - </td> - </tr> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/date"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/authorinitials"> - <xsl:text>, </xsl:text> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/authorinitials[1]" priority="2"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/revremark"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="revision/revdescription"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="ackno"> - <p class="{name(.)}"> - <xsl:apply-templates/> - </p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="highlights"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/calc-chunks.xsl b/stylesheets/docbook/html/calc-chunks.xsl deleted file mode 100644 index c09c18bb..00000000 --- a/stylesheets/docbook/html/calc-chunks.xsl +++ /dev/null @@ -1,422 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:import href="docbook.xsl"/> -<xsl:include href="chunker.xsl"/> - -<xsl:output method="xml" indent="yes"/> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect1 if position()>1 - section if position()>1 && parent != section - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk.info"> - <xsl:param name="node" select="."/> - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="$node/@id"> - <xsl:value-of select="$node/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Chunk for </xsl:text> - <xsl:value-of select="local-name($node)"/> - <xsl:text> has no id</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <chunk name="{local-name($node)}" id="{$id}"> - <xsl:attribute name="filename"> - <xsl:apply-templates select="." mode="chunk-filename-calc"/> - </xsl:attribute> - </chunk> -</xsl:template> - -<xsl:template match="set" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="book" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="setindex" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="book/appendix" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="book/glossary" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book/bibliography" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="book/index" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="preface|chapter" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="part|reference" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="refentry" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="colophon" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="article/appendix" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="article/glossary" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article/bibliography" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="article/index" mode="calculate.chunks"> - <xsl:call-template name="chunk.info"/> -</xsl:template> - -<xsl:template match="sect1 - |/section - |section[local-name(parent::*) != 'section']" - mode="calculate.chunks"> - <xsl:choose> - <xsl:when test=". = /section"> - <xsl:call-template name="chunk.info"/> - </xsl:when> - <xsl:when test="$chunk.sections = 0"> - <!-- nop --> - </xsl:when> - <xsl:when test="ancestor::partintro"> - <!-- nop --> - </xsl:when> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:if test="count(preceding-sibling::section) > 0 - or count(preceding-sibling::sect1) > 0"> - <xsl:call-template name="chunk.info"/> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="chunk.info"/> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="*" mode="calculate.chunks"> - <xsl:apply-templates select="*" mode="calculate.chunks"/> -</xsl:template> - -<xsl:template match="text()" mode="calculate.chunks"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename-calc"> - <xsl:param name="recursive" select="false()"/> - <!-- returns the filename of a chunk --> - - <xsl:variable name="dbhtml-filename"> - <xsl:call-template name="dbhtml-filename"/> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="$dbhtml-filename != ''"> - <xsl:value-of select="$dbhtml-filename"/> - </xsl:when> - <!-- if there's no dbhtml filename, and if we're to use IDs as --> - <!-- filenames, then use the ID to generate the filename. --> - <xsl:when test="@id and $use.id.as.filename != 0"> - <xsl:value-of select="@id"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <!-- if this is the root element, use the root.filename --> - <xsl:when test="not(parent::*)"> - <xsl:value-of select="$root.filename"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="dir"> - <xsl:call-template name="dbhtml-dir"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not($recursive) and $filename != ''"> - <!-- if this chunk has an explicit name, use it --> - <xsl:if test="$dir != ''"> - <xsl:value-of select="$dir"/> - <xsl:text>/</xsl:text> - </xsl:if> - <xsl:value-of select="$filename"/> - </xsl:when> - - <xsl:when test="name(.)='set'"> - <xsl:value-of select="$root.filename"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='book'"> - <xsl:text>bk</xsl:text> - <xsl:number level="any" format="01"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='article'"> - <xsl:if test="/set"> - <!-- in a set, make sure we inherit the right book info... --> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ar</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='preface'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pr</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='chapter'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ch</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='appendix'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ap</xsl:text> - <xsl:number level="any" format="a" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='part'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pt</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='reference'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>rn</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='refentry'"> - <xsl:if test="parent::reference"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>re</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='colophon'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>co</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='sect1' or name(.)='section'"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - <xsl:text>s</xsl:text> - <xsl:number level="any" format="01" from="preface|chapter|appendix"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='bibliography'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>bi</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='glossary'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>go</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='index'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename-calc" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ix</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='setindex'"> - <xsl:text>si</xsl:text> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:otherwise> - <xsl:text>chunk-filename-calc-error-</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/" priority="-1"> - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$chunk.datafile"/> - <xsl:with-param name="method" select="'xml'"/> - <xsl:with-param name="encoding" select="'utf-8'"/> - <xsl:with-param name="indent" select="'yes'"/> - <xsl:with-param name="content"> - <!-- HACK! --> - <xsl:text disable-output-escaping="yes"> -<!DOCTYPE chunks [ -<!ELEMENT chunks (chunk+)> -<!ELEMENT chunk EMPTY> -<!ATTLIST chunk - id ID #REQUIRED - name CDATA #REQUIRED -> -]> - </xsl:text> - <chunks> - <xsl:apply-templates mode="calculate.chunks"/> - </chunks> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/callout.xsl b/stylesheets/docbook/html/callout.xsl deleted file mode 100644 index 431e2588..00000000 --- a/stylesheets/docbook/html/callout.xsl +++ /dev/null @@ -1,148 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" - xmlns:xverb="com.nwalsh.xalan.Verbatim" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="sverb xverb lxslt" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xverb" - functions="insertCallouts"/> - -<xsl:template match="programlistingco|screenco"> - <xsl:variable name="verbatim" select="programlisting|screen"/> - - <xsl:choose> - <xsl:when test="$use.extensions != '0' - and $callouts.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:apply-templates select="$verbatim"> - <xsl:with-param name="suppress-numbers" select="'1'"/> - </xsl:apply-templates> - </xsl:variable> - - <xsl:variable name="rtf-with-callouts"> - <xsl:choose> - <xsl:when test="function-available('sverb:insertCallouts')"> - <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/> - </xsl:when> - <xsl:when test="function-available('xverb:insertCallouts')"> - <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No insertCallouts function is available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$verbatim/@linenumbering = 'numbered' - and $linenumbering.extension != '0'"> - <div class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf-with-callouts"/> - <xsl:with-param name="pi.context" - select="programlisting|screen"/> - </xsl:call-template> - <xsl:apply-templates select="calloutlist"/> - </div> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:copy-of select="$rtf-with-callouts"/> - <xsl:apply-templates select="calloutlist"/> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="areaspec|areaset|area"> -</xsl:template> - -<xsl:template match="areaset" mode="conumber"> - <xsl:number count="area|areaset" format="1"/> -</xsl:template> - -<xsl:template match="area" mode="conumber"> - <xsl:number count="area|areaset" format="1"/> -</xsl:template> - -<xsl:template match="co"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="co" mode="callout-bug"> - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:number count="co" format="1"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="callout-bug"> - <xsl:param name="conum" select='1'/> - - <xsl:choose> - <xsl:when test="$callout.graphics != 0 - and $conum <= $callout.graphics.number.limit"> - <img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}" - alt="{$conum}" border="0"/> - </xsl:when> - <xsl:when test="$callout.unicode != 0 - and $conum <= $callout.unicode.number.limit"> - <xsl:choose> - <xsl:when test="$callout.unicode.start.character = 10102"> - <xsl:choose> - <xsl:when test="$conum = 1">❶</xsl:when> - <xsl:when test="$conum = 2">❷</xsl:when> - <xsl:when test="$conum = 3">❸</xsl:when> - <xsl:when test="$conum = 4">❹</xsl:when> - <xsl:when test="$conum = 5">❺</xsl:when> - <xsl:when test="$conum = 6">❻</xsl:when> - <xsl:when test="$conum = 7">❼</xsl:when> - <xsl:when test="$conum = 8">❽</xsl:when> - <xsl:when test="$conum = 9">❾</xsl:when> - <xsl:when test="$conum = 10">❿</xsl:when> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Don't know how to generate Unicode callouts </xsl:text> - <xsl:text>when $callout.unicode.start.character is </xsl:text> - <xsl:value-of select="$callout.unicode.start.character"/> - </xsl:message> - <xsl:text>(</xsl:text> - <xsl:value-of select="$conum"/> - <xsl:text>)</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>(</xsl:text> - <xsl:value-of select="$conum"/> - <xsl:text>)</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/changebars.xsl b/stylesheets/docbook/html/changebars.xsl deleted file mode 100644 index 801a3782..00000000 --- a/stylesheets/docbook/html/changebars.xsl +++ /dev/null @@ -1,85 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:import href="docbook.xsl"/> - -<xsl:param name="show.revisionflag" select="'1'"/> - -<xsl:template name="user.head.content"> -<style type="text/css"> -<xsl:text> -div.added { background-color: yellow; } -div.deleted { text-decoration: line-through; - background-color: #FF7F7F; } -div.changed { background-color: lime; } -div.off { } - -span.added { background-color: yellow; } -span.deleted { text-decoration: line-through; - background-color: #FF7F7F; } -span.changed { background-color: lime; } -span.off { } -</xsl:text> -</style> -</xsl:template> - -<xsl:template match="*[@revisionflag]"> - <xsl:choose> - <xsl:when test="local-name(.) = 'para' - or local-name(.) = 'simpara' - or local-name(.) = 'formalpara' - or local-name(.) = 'section' - or local-name(.) = 'sect1' - or local-name(.) = 'sect2' - or local-name(.) = 'sect3' - or local-name(.) = 'sect4' - or local-name(.) = 'sect5' - or local-name(.) = 'chapter' - or local-name(.) = 'preface' - or local-name(.) = 'itemizedlist' - or local-name(.) = 'varlistentry' - or local-name(.) = 'glossary' - or local-name(.) = 'bibliography' - or local-name(.) = 'index' - or local-name(.) = 'appendix'"> - <div class='{@revisionflag}'> - <xsl:apply-imports/> - </div> - </xsl:when> - <xsl:when test="local-name(.) = 'phrase' - or local-name(.) = 'ulink' - or local-name(.) = 'link' - or local-name(.) = 'filename' - or local-name(.) = 'literal' - or local-name(.) = 'member' - or local-name(.) = 'glossterm' - or local-name(.) = 'sgmltag' - or local-name(.) = 'quote' - or local-name(.) = 'emphasis' - or local-name(.) = 'command' - or local-name(.) = 'xref'"> - <span class='{@revisionflag}'> - <xsl:apply-imports/> - </span> - </xsl:when> - <xsl:when test="local-name(.) = 'listitem' - or local-name(.) = 'entry' - or local-name(.) = 'title'"> - <!-- nop; these are handled directly in the stylesheet --> - <xsl:apply-imports/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Revisionflag on unexpected element: </xsl:text> - <xsl:value-of select="local-name(.)"/> - <xsl:text> (Assuming block)</xsl:text> - </xsl:message> - <div class='{@revisionflag}'> - <xsl:apply-imports/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/chunk-experimental.xsl b/stylesheets/docbook/html/chunk-experimental.xsl deleted file mode 100644 index 9c265f32..00000000 --- a/stylesheets/docbook/html/chunk-experimental.xsl +++ /dev/null @@ -1,719 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:import href="docbook.xsl"/> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect1 if position()>1 - section if position()>1 && parent != section - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - <!-- returns 1 if $node is a chunk --> - - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="$node/@id"> - <xsl:value-of select="$node/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id($node)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - - <xsl:choose> - <xsl:when test="$chunks/chunks/chunk[@id=$id]">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename"> - <!-- returns the filename of a chunk --> - - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="@id"> - <xsl:value-of select="@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id(.)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - <xsl:variable name="chunk" select="$chunks/chunks/chunk[@id=$id]"/> - - <xsl:choose> - <xsl:when test="$chunk"> - <xsl:value-of select="$chunk/@filename"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="parent::*" mode="chunk-filename"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates mode="chunk-filename" select="$object"/> - - <xsl:if test="$ischunk='0'"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="html.head"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <head> - <xsl:call-template name="head.content"/> - <xsl:call-template name="user.head.content"/> - - <xsl:if test="$home"> - <link rel="home"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$home" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$up"> - <link rel="up"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$prev"> - <link rel="previous"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$next"> - <link rel="next"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - </head> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="header.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navheader"> - <table width="100%" summary="Navigation header"> - <tr> - <th colspan="3" align="center"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - <tr> - <td width="20%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <th width="60%" align="center"> - <xsl:choose> - <xsl:when test="count($up) > 0 and $up != $home"> - <xsl:apply-templates select="$up" mode="object.title.markup"/> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </th> - <td width="20%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - </table> - <hr/> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="footer.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navfooter"> - <hr/> - <table width="100%" summary="Navigation footer"> - <tr> - <td width="40%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-prev</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="$home != ."> - <a accesskey="h"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-home</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-next</xsl:with-param> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - - <tr> - <td width="40%" align="left"> - <xsl:apply-templates select="$prev" mode="object.title.markup"/> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="count($up)>0"> - <a accesskey="u"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">nav-up</xsl:with-param> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$next" mode="object.title.markup"/> - </td> - </tr> - </table> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="processing-instruction('dbhtml')"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process-chunk"> - <xsl:variable name="id"> - <xsl:choose> - <xsl:when test="@id"> - <xsl:value-of select="@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id(.)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="chunks" select="document($chunk.datafile,.)"/> - - <xsl:variable name="chunk" select="$chunks/chunks/chunk[@id=$id]"/> - <xsl:variable name="prev-id" - select="$chunk/preceding-sibling::chunk[1]/@id"/> - <xsl:variable name="next-id" - select="$chunk/following-sibling::chunk[1]/@id"/> - - <xsl:variable name="prev" select="key('id',$prev-id)"/> - <xsl:variable name="next" select="key('id',$next-id)"/> - - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:variable name="chunkfn"> - <xsl:if test="$ischunk='1'"> - <xsl:apply-templates mode="chunk-filename" select="."/> - </xsl:if> - </xsl:variable> - - <xsl:if test="$ischunk='0'"> - <xsl:message> - <xsl:text>Error </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text> is not a chunk!</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" select="$chunkfn"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <xsl:call-template name="chunk-element-content"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-element-content"> - <xsl:param name="prev"></xsl:param> - <xsl:param name="next"></xsl:param> - - <html> - <xsl:call-template name="html.head"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <body> - <xsl:call-template name="body.attributes"/> - <xsl:call-template name="user.header.navigation"/> - - <xsl:call-template name="header.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.header.content"/> - - <xsl:apply-imports/> - - <xsl:call-template name="user.footer.content"/> - - <xsl:call-template name="footer.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.footer.navigation"/> - </body> - </html> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="set"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/appendix"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/glossary"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="book/bibliography"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="preface|chapter"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="part|reference"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="refentry"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="colophon"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/appendix"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/glossary"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="article/bibliography"> - <xsl:call-template name="process-chunk"/> -</xsl:template> - -<xsl:template match="sect1|sect2|sect3|sect4|sect5|section"> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$ischunk != 0"> - <xsl:call-template name="process-chunk"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-imports/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="setindex - |book/index - |article/index"> - <!-- some implementations use completely empty index tags to indicate --> - <!-- where an automatically generated index should be inserted. so --> - <!-- if the index is completely empty, skip it. --> - <xsl:if test="count(*)>0 or $generate.index != '0'"> - <xsl:call-template name="process-chunk"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/"> - <xsl:choose> - <xsl:when test="$rootid != ''"> - <xsl:choose> - <xsl:when test="count(key('id',$rootid)) = 0"> - <xsl:message terminate="yes"> - <xsl:text>ID '</xsl:text> - <xsl:value-of select="$rootid"/> - <xsl:text>' not found in document.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="key('id',$rootid)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/" mode="process.root"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="process.root"> - <xsl:apply-templates select="."/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="in.other.chunk"> - <xsl:param name="chunk" select="."/> - <xsl:param name="node" select="."/> - - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>in.other.chunk: </xsl:text> - <xsl:value-of select="name($chunk)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$chunk = $node"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$is.chunk"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="$chunk = $node">0</xsl:when> - <xsl:when test="$is.chunk = 1">1</xsl:when> - <xsl:when test="count($node) = 0">0</xsl:when> - <xsl:otherwise> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$chunk"/> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="count.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - <xsl:param name="count" select="0"/> - -<!-- - <xsl:message> - <xsl:text>count.footnotes.in.this.chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - </xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <xsl:value-of select="$count"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - -<!-- - <xsl:message>process.footnotes.in.this.chunk</xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <!-- nop --> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$footnotes[1]" - mode="process.footnote.mode"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes"> - <xsl:variable name="footnotes" select=".//footnote"/> - <xsl:variable name="fcount"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:value-of select="name(.)"/> - <xsl:text> fcount: </xsl:text> - <xsl:value-of select="$fcount"/> - </xsl:message> ---> - - <!-- Only bother to do this if there's at least one non-table footnote --> - <xsl:if test="$fcount > 0"> - <div class="footnotes"> - <br/> - <hr width="100" align="left"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="process.chunk.footnotes"> - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - <xsl:if test="$is.chunk = 1"> - <xsl:call-template name="process.footnotes"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/chunk.xsl b/stylesheets/docbook/html/chunk.xsl deleted file mode 100644 index 361b3500..00000000 --- a/stylesheets/docbook/html/chunk.xsl +++ /dev/null @@ -1,1316 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<xsl:import href="docbook.xsl"/> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - The root element - appendix - article - bibliography in article or book - book - chapter - colophon - glossary in article or book - index in article or book - part - preface - refentry - reference - sect{1,2,3,4,5} if position()>1 && depth < chunk.section.depth - section if position()>1 && depth < chunk.section.depth - set - setindex - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - <!-- returns 1 if $node is a chunk --> - -<!-- - <xsl:message> - <xsl:text>chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text>(</xsl:text> - <xsl:value-of select="$node/@id"/> - <xsl:text>)</xsl:text> - <xsl:text> csd: </xsl:text> - <xsl:value-of select="$chunk.section.depth"/> - <xsl:text> cfs: </xsl:text> - <xsl:value-of select="$chunk.first.sections"/> - <xsl:text> ps: </xsl:text> - <xsl:value-of select="count($node/parent::section)"/> - <xsl:text> prs: </xsl:text> - <xsl:value-of select="count($node/preceding-sibling::section)"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="not($node/parent::*)">1</xsl:when> - - <xsl:when test="local-name($node) = 'sect1' - and $chunk.section.depth >= 1 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect1) > 0)"> - <xsl:text>1</xsl:text> - </xsl:when> - <xsl:when test="local-name($node) = 'sect2' - and $chunk.section.depth >= 2 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect2) > 0)"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="local-name($node) = 'sect3' - and $chunk.section.depth >= 3 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect3) > 0)"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="local-name($node) = 'sect4' - and $chunk.section.depth >= 4 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect4) > 0)"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="local-name($node) = 'sect5' - and $chunk.section.depth >= 5 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::sect5) > 0)"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="local-name($node) = 'section' - and $chunk.section.depth >= count(ancestor::section)+1 - and ($chunk.first.sections != 0 - or count($node/preceding-sibling::section) > 0)"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="name($node)='preface'">1</xsl:when> - <xsl:when test="name($node)='chapter'">1</xsl:when> - <xsl:when test="name($node)='appendix'">1</xsl:when> - <xsl:when test="name($node)='article'">1</xsl:when> - <xsl:when test="name($node)='part'">1</xsl:when> - <xsl:when test="name($node)='reference'">1</xsl:when> - <xsl:when test="name($node)='refentry'">1</xsl:when> - <xsl:when test="name($node)='index' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='bibliography' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='glossary' - and (name($node/parent::*) = 'article' - or name($node/parent::*) = 'book')">1</xsl:when> - <xsl:when test="name($node)='colophon'">1</xsl:when> - <xsl:when test="name($node)='book'">1</xsl:when> - <xsl:when test="name($node)='set'">1</xsl:when> - <xsl:when test="name($node)='setindex'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="chunk-filename"> - <xsl:param name="recursive" select="false()"/> - - <!-- returns the filename of a chunk --> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:value-of select="local-name(.)"/> - <xsl:if test="@id"> - <xsl:text> [</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>]</xsl:text> - </xsl:if> - <xsl:text>, </xsl:text> - <xsl:value-of select="$ischunk"/> - </xsl:message> ---> - - <xsl:variable name="dbhtml-filename"> - <xsl:call-template name="dbhtml-filename"/> - </xsl:variable> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="$dbhtml-filename != ''"> - <xsl:value-of select="$dbhtml-filename"/> - </xsl:when> - <!-- if there's no dbhtml filename, and if we're to use IDs as --> - <!-- filenames, then use the ID to generate the filename. --> - <xsl:when test="@id and $use.id.as.filename != 0"> - <xsl:value-of select="@id"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <!-- if this is the root element, use the root.filename --> - <xsl:when test="not(parent::*)"> - <xsl:value-of select="$root.filename"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="dir"> - <xsl:call-template name="dbhtml-dir"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$ischunk='0'"> - <!-- if called on something that isn't a chunk, walk up... --> - <xsl:choose> - <xsl:when test="count(parent::*)>0"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="$recursive"/> - </xsl:apply-templates> - </xsl:when> - <!-- unless there is no up, in which case return "" --> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:when test="not($recursive) and $filename != ''"> - <!-- if this chunk has an explicit name, use it --> - <xsl:if test="$dir != ''"> - <xsl:value-of select="$dir"/> - <xsl:text>/</xsl:text> - </xsl:if> - <xsl:value-of select="$filename"/> - </xsl:when> - - <xsl:when test="name(.)='set'"> - <xsl:value-of select="$root.filename"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='book'"> - <xsl:text>bk</xsl:text> - <xsl:number level="any" format="01"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='article'"> - <xsl:if test="/set"> - <!-- in a set, make sure we inherit the right book info... --> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ar</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='preface'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pr</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='chapter'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ch</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='appendix'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ap</xsl:text> - <xsl:number level="any" format="a" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='part'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>pt</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='reference'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>rn</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='refentry'"> - <xsl:if test="parent::reference"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>re</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='colophon'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>co</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="local-name(.) = 'sect1' - or local-name(.) = 'sect2' - or local-name(.) = 'sect3' - or local-name(.) = 'sect4' - or local-name(.) = 'sect5' - or local-name(.) = 'section'"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - <xsl:text>s</xsl:text> - <xsl:number format="01"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='sect1' or name(.)='section'"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - <xsl:text>s</xsl:text> - <xsl:number level="any" format="01" from="preface|chapter|appendix"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='bibliography'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>bi</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='glossary'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>go</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='index'"> - <xsl:if test="/set"> - <xsl:apply-templates mode="chunk-filename" select="parent::*"> - <xsl:with-param name="recursive" select="true()"/> - </xsl:apply-templates> - </xsl:if> - <xsl:text>ix</xsl:text> - <xsl:number level="any" format="01" from="book"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:when test="name(.)='setindex'"> - <xsl:text>si</xsl:text> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:when> - - <xsl:otherwise> - <xsl:text>chunk-filename-error-</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="href.target"> - <xsl:param name="object" select="."/> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$object"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates mode="chunk-filename" select="$object"/> - - <xsl:if test="$ischunk='0'"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="html.head"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <head> - <xsl:call-template name="head.content"/> - <xsl:call-template name="user.head.content"/> - - <xsl:if test="$home"> - <link rel="home"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$home" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$up"> - <link rel="up"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$prev"> - <link rel="previous"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - - <xsl:if test="$next"> - <link rel="next"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:attribute name="title"> - <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/> - </xsl:attribute> - </link> - </xsl:if> - </head> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="header.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navheader"> - <table width="100%" summary="Navigation header"> - <xsl:if test="$navig.showtitles != 0"> - <tr> - <th colspan="3" align="center"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </th> - </tr> - </xsl:if> - <tr> - <td width="20%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'prev'"/> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <th width="60%" align="center"> - <xsl:choose> - <xsl:when test="count($up) > 0 and $up != $home and $navig.showtitles != 0"> - <xsl:apply-templates select="$up" mode="object.title.markup"/> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </th> - <td width="20%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'next'"/> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - </table> - <hr/> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="footer.navigation"> - <xsl:param name="prev" select="/foo"/> - <xsl:param name="next" select="/foo"/> - <xsl:variable name="home" select="/*[1]"/> - <xsl:variable name="up" select="parent::*"/> - - <xsl:if test="$suppress.navigation = '0'"> - <div class="navfooter"> - <hr/> - <table width="100%" summary="Navigation footer"> - <tr> - <td width="40%" align="left"> - <xsl:if test="count($prev)>0"> - <a accesskey="p"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$prev"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'prev'"/> - </xsl:call-template> - </a> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="count($up)>0"> - <a accesskey="u"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$up"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'up'"/> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right"> - <xsl:text> </xsl:text> - <xsl:if test="count($next)>0"> - <a accesskey="n"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$next"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'next'"/> - </xsl:call-template> - </a> - </xsl:if> - </td> - </tr> - - <tr> - <td width="40%" align="left" valign="top"> - <xsl:if test="$navig.showtitles != 0"> - <xsl:apply-templates select="$prev" mode="object.title.markup"/> - </xsl:if> - <xsl:text> </xsl:text> - </td> - <td width="20%" align="center"> - <xsl:choose> - <xsl:when test="$home != ."> - <a accesskey="h"> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$home"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="navig.content"> - <xsl:with-param name="direction" select="'home'"/> - </xsl:call-template> - </a> - </xsl:when> - <xsl:otherwise> </xsl:otherwise> - </xsl:choose> - </td> - <td width="40%" align="right" valign="top"> - <xsl:text> </xsl:text> - <xsl:if test="$navig.showtitles != 0"> - <xsl:apply-templates select="$next" mode="object.title.markup"/> - </xsl:if> - </td> - </tr> - </table> - </div> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="navig.content"> - <xsl:param name="direction" select="next"/> - <xsl:variable name="navtext"> - <xsl:choose> - <xsl:when test="$direction = 'prev'"> - <xsl:call-template name="gentext.nav.prev"/> - </xsl:when> - <xsl:when test="$direction = 'next'"> - <xsl:call-template name="gentext.nav.next"/> - </xsl:when> - <xsl:when test="$direction = 'up'"> - <xsl:call-template name="gentext.nav.up"/> - </xsl:when> - <xsl:when test="$direction = 'home'"> - <xsl:call-template name="gentext.nav.home"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>xxx</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$navig.graphics != 0"> - <img> - <xsl:attribute name="src"> - <xsl:value-of select="$navig.graphics.path"/> - <xsl:value-of select="$direction"/> - <xsl:value-of select="$navig.graphics.extension"/> - </xsl:attribute> - <xsl:attribute name="alt"> - <xsl:value-of select="$navtext"/> - </xsl:attribute> - </img> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$navtext"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="processing-instruction('dbhtml')"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process-chunk-element"> - <xsl:choose> - <xsl:when test="$chunk.first.sections = 0"> - <xsl:call-template name="chunk-first-section-with-parent"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="chunk-all-sections"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process-chunk"> - <xsl:param name="prev" select="."/> - <xsl:param name="next" select="."/> - - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:variable name="chunkfn"> - <xsl:if test="$ischunk='1'"> - <xsl:apply-templates mode="chunk-filename" select="."/> - </xsl:if> - </xsl:variable> - - <xsl:if test="$ischunk='0'"> - <xsl:message> - <xsl:text>Error </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text> is not a chunk!</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" select="$chunkfn"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <xsl:call-template name="chunk-element-content"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-first-section-with-parent"> - <!-- These xpath expressions are really hairy. The trick is to pick sections --> - <!-- that are not first children and are not the children of first children --> - - <xsl:variable name="prev" - select="(preceding::book[1] - |preceding::preface[1] - |preceding::chapter[1] - |preceding::appendix[1] - |preceding::part[1] - |preceding::reference[1] - |preceding::refentry[1] - |preceding::colophon[1] - - |preceding::sect1[$chunk.section.depth > 0 - and preceding-sibling::sect1][1] - - |preceding::sect2[$chunk.section.depth > 1 - and preceding-sibling::sect2 - and parent::sect1[preceding-sibling::sect1]][1] - - |preceding::sect3[$chunk.section.depth > 2 - and preceding-sibling::sect3 - and parent::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |preceding::sect4[$chunk.section.depth > 3 - and preceding-sibling::sect4 - and parent::sect3[preceding-sibling::sect2] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |preceding::sect5[$chunk.section.depth > 4 - and preceding-sibling::sect5 - and parent::sect4[preceding-sibling::sect4] - and ancestor::sect3[preceding-sibling::sect3] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |preceding::section[$chunk.section.depth > count(ancestor::section) - and preceding-sibling::section - and not(ancestor::section[not(preceding-sibling::section)])][1] - - |preceding::article[1] - |preceding::bibliography[1] - |preceding::glossary[1] - |preceding::index[1] - |preceding::setindex[1] - |ancestor::set - |ancestor::book[1] - |ancestor::preface[1] - |ancestor::chapter[1] - |ancestor::appendix[1] - - |ancestor::sect1[$chunk.section.depth > 0 - and preceding-sibling::sect1][1] - - |ancestor::sect2[$chunk.section.depth > 1 - and preceding-sibling::sect2 - and parent::sect1[preceding-sibling::sect1]][1] - - |ancestor::sect3[$chunk.section.depth > 2 - and preceding-sibling::sect3 - and parent::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |ancestor::sect4[$chunk.section.depth > 3 - and preceding-sibling::sect4 - and parent::sect3[preceding-sibling::sect2] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |ancestor::sect5[$chunk.section.depth > 4 - and preceding-sibling::sect5 - and parent::sect4[preceding-sibling::sect4] - and ancestor::sect3[preceding-sibling::sect3] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |ancestor::section[$chunk.section.depth > count(ancestor::section) - and not(ancestor::section[not(preceding-sibling::section)])][1] - - |ancestor::part[1] - |ancestor::reference[1] - |ancestor::article[1])[last()]"/> - - <xsl:variable name="next" - select="(following::book[1] - |following::preface[1] - |following::chapter[1] - |following::appendix[1] - |following::part[1] - |following::reference[1] - |following::refentry[1] - |following::colophon[1] - - |following::sect1[$chunk.section.depth > 0 - and preceding-sibling::sect1][1] - - |following::sect2[$chunk.section.depth > 1 - and preceding-sibling::sect2 - and parent::sect1[preceding-sibling::sect1]][1] - - |following::sect3[$chunk.section.depth > 2 - and preceding-sibling::sect3 - and parent::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |following::sect4[$chunk.section.depth > 3 - and preceding-sibling::sect4 - and parent::sect3[preceding-sibling::sect2] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |following::sect5[$chunk.section.depth > 4 - and preceding-sibling::sect5 - and parent::sect4[preceding-sibling::sect4] - and ancestor::sect3[preceding-sibling::sect3] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |following::section[$chunk.section.depth > count(ancestor::section) - and preceding-sibling::section - and not(ancestor::section[not(preceding-sibling::section)])][1] - - |following::bibliography[1] - |following::glossary[1] - |following::index[1] - |following::article[1] - |following::setindex[1] - |descendant::book[1] - |descendant::preface[1] - |descendant::chapter[1] - |descendant::appendix[1] - |descendant::article[1] - |descendant::bibliography[1] - |descendant::glossary[1] - |descendant::index[1] - |descendant::colophon[1] - |descendant::setindex[1] - |descendant::part[1] - |descendant::reference[1] - |descendant::refentry[1] - - |descendant::sect1[$chunk.section.depth > 0 - and preceding-sibling::sect1][1] - - |descendant::sect2[$chunk.section.depth > 1 - and preceding-sibling::sect2 - and parent::sect1[preceding-sibling::sect1]][1] - - |descendant::sect3[$chunk.section.depth > 2 - and preceding-sibling::sect3 - and parent::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |descendant::sect4[$chunk.section.depth > 3 - and preceding-sibling::sect4 - and parent::sect3[preceding-sibling::sect2] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |descendant::sect5[$chunk.section.depth > 4 - and preceding-sibling::sect5 - and parent::sect4[preceding-sibling::sect4] - and ancestor::sect3[preceding-sibling::sect3] - and ancestor::sect2[preceding-sibling::sect2] - and ancestor::sect1[preceding-sibling::sect1]][1] - - |descendant::section[$chunk.section.depth > count(ancestor::section) - and preceding-sibling::section - and not(ancestor::section[not(preceding-sibling::section)])])[1] -"/> - - <xsl:call-template name="process-chunk"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="chunk-all-sections"> - <xsl:variable name="prev" - select="(preceding::book[1] - |preceding::preface[1] - |preceding::chapter[1] - |preceding::appendix[1] - |preceding::part[1] - |preceding::reference[1] - |preceding::refentry[1] - |preceding::colophon[1] - - |preceding::sect1[$chunk.section.depth > 0][1] - |preceding::sect2[$chunk.section.depth > 1][1] - |preceding::sect3[$chunk.section.depth > 2][1] - |preceding::sect4[$chunk.section.depth > 3][1] - |preceding::sect5[$chunk.section.depth > 4][1] - |preceding::section[$chunk.section.depth > count(ancestor::section)][1] - - |preceding::article[1] - |preceding::bibliography[1] - |preceding::glossary[1] - |preceding::index[1] - |preceding::setindex[1] - |ancestor::set - |ancestor::book[1] - |ancestor::preface[1] - |ancestor::chapter[1] - |ancestor::appendix[1] - |ancestor::part[1] - |ancestor::reference[1] - |ancestor::article[1] - |ancestor::sect1[$chunk.section.depth > 0][1] - |ancestor::sect2[$chunk.section.depth > 1][1] - |ancestor::sect3[$chunk.section.depth > 2][1] - |ancestor::sect4[$chunk.section.depth > 3][1] - |ancestor::sect5[$chunk.section.depth > 4][1] - |ancestor::section[$chunk.section.depth > count(ancestor::section)][1])[last()]"/> - - <xsl:variable name="next" - select="(following::book[1] - |following::preface[1] - |following::chapter[1] - |following::appendix[1] - |following::part[1] - |following::reference[1] - |following::refentry[1] - |following::colophon[1] - - |following::sect1[$chunk.section.depth > 0][1] - |following::sect2[$chunk.section.depth > 1][1] - |following::sect3[$chunk.section.depth > 2][1] - |following::sect4[$chunk.section.depth > 3][1] - |following::sect5[$chunk.section.depth > 4][1] - |following::section[$chunk.section.depth > count(ancestor::section)][1] - - |following::bibliography[1] - |following::glossary[1] - |following::index[1] - |following::article[1] - |following::setindex[1] - |descendant::book[1] - |descendant::preface[1] - |descendant::chapter[1] - |descendant::appendix[1] - |descendant::article[1] - |descendant::bibliography[1] - |descendant::glossary[1] - |descendant::index[1] - |descendant::colophon[1] - |descendant::setindex[1] - |descendant::part[1] - |descendant::reference[1] - |descendant::refentry[1] - - |descendant::sect1[$chunk.section.depth > 0][1] - |descendant::sect2[$chunk.section.depth > 1][1] - |descendant::sect3[$chunk.section.depth > 2][1] - |descendant::sect4[$chunk.section.depth > 3][1] - |descendant::sect5[$chunk.section.depth > 4][1] - |descendant::section[$chunk.section.depth - > count(ancestor::section)][1])[1]"/> - - <xsl:call-template name="process-chunk"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="chunk-element-content"> - <xsl:param name="prev"></xsl:param> - <xsl:param name="next"></xsl:param> - - <html> - <xsl:call-template name="html.head"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <body> - <xsl:call-template name="body.attributes"/> - <xsl:call-template name="user.header.navigation"/> - - <xsl:call-template name="header.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.header.content"/> - - <xsl:apply-imports/> - - <xsl:call-template name="user.footer.content"/> - - <xsl:call-template name="footer.navigation"> - <xsl:with-param name="prev" select="$prev"/> - <xsl:with-param name="next" select="$next"/> - </xsl:call-template> - - <xsl:call-template name="user.footer.navigation"/> - </body> - </html> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="/"> - <xsl:choose> - <xsl:when test="$rootid != ''"> - <xsl:choose> - <xsl:when test="count(key('id',$rootid)) = 0"> - <xsl:message terminate="yes"> - <xsl:text>ID '</xsl:text> - <xsl:value-of select="$rootid"/> - <xsl:text>' not found in document.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="key('id',$rootid)"/> - <xsl:if test="$tex.math.in.alt != ''"> - <xsl:apply-templates select="key('id',$rootid)" mode="collect.tex.math"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/" mode="process.root"/> - <xsl:if test="$tex.math.in.alt != ''"> - <xsl:apply-templates select="/" mode="collect.tex.math"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="process.root"> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="set|book|part|preface|chapter|appendix - |article - |reference|refentry - |book/glossary|article/glossary - |book/bibliography|article/bibliography - |colophon"> - <xsl:call-template name="process-chunk-element"/> -</xsl:template> - -<xsl:template match="sect1|sect2|sect3|sect4|sect5|section"> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not(parent::*)"> - <xsl:call-template name="process-chunk-element"/> - </xsl:when> - <xsl:when test="$ischunk = 0"> - <xsl:apply-imports/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="process-chunk-element"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="setindex - |book/index - |article/index"> - <!-- some implementations use completely empty index tags to indicate --> - <!-- where an automatically generated index should be inserted. so --> - <!-- if the index is completely empty, skip it. --> - <xsl:if test="count(*)>0 or $generate.index != '0'"> - <xsl:call-template name="process-chunk-element"/> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="in.other.chunk"> - <xsl:param name="chunk" select="."/> - <xsl:param name="node" select="."/> - - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"> - <xsl:with-param name="node" select="$node"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:text>in.other.chunk: </xsl:text> - <xsl:value-of select="name($chunk)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="name($node)"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$chunk = $node"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$is.chunk"/> - </xsl:message> ---> - - <xsl:choose> - <xsl:when test="$chunk = $node">0</xsl:when> - <xsl:when test="$is.chunk = 1">1</xsl:when> - <xsl:when test="count($node) = 0">0</xsl:when> - <xsl:otherwise> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$chunk"/> - <xsl:with-param name="node" select="$node/parent::*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="count.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - <xsl:param name="count" select="0"/> - -<!-- - <xsl:message> - <xsl:text>count.footnotes.in.this.chunk: </xsl:text> - <xsl:value-of select="name($node)"/> - </xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <xsl:value-of select="$count"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes.in.this.chunk"> - <xsl:param name="node" select="."/> - <xsl:param name="footnotes" select="$node//footnote"/> - -<!-- - <xsl:message>process.footnotes.in.this.chunk</xsl:message> ---> - - <xsl:variable name="in.other.chunk"> - <xsl:call-template name="in.other.chunk"> - <xsl:with-param name="chunk" select="$node"/> - <xsl:with-param name="node" select="$footnotes[1]"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($footnotes) = 0"> - <!-- nop --> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$in.other.chunk != 0"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$footnotes[1]/ancestor::table - |$footnotes[1]/ancestor::informaltable"> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$footnotes[1]" - mode="process.footnote.mode"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="footnotes" - select="$footnotes[position() > 1]"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="process.footnotes"> - <xsl:variable name="footnotes" select=".//footnote"/> - <xsl:variable name="fcount"> - <xsl:call-template name="count.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </xsl:variable> - -<!-- - <xsl:message> - <xsl:value-of select="name(.)"/> - <xsl:text> fcount: </xsl:text> - <xsl:value-of select="$fcount"/> - </xsl:message> ---> - - <!-- Only bother to do this if there's at least one non-table footnote --> - <xsl:if test="$fcount > 0"> - <div class="footnotes"> - <br/> - <hr width="100" align="left"/> - <xsl:call-template name="process.footnotes.in.this.chunk"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="footnotes" select="$footnotes"/> - </xsl:call-template> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="process.chunk.footnotes"> - <xsl:variable name="is.chunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - <xsl:if test="$is.chunk = 1"> - <xsl:call-template name="process.footnotes"/> - </xsl:if> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/chunker.xsl b/stylesheets/docbook/html/chunker.xsl deleted file mode 100644 index f4233a14..00000000 --- a/stylesheets/docbook/html/chunker.xsl +++ /dev/null @@ -1,181 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saxon="http://icl.com/saxon" - xmlns:lxslt="http://xml.apache.org/xslt" - xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" - xmlns:exsl="http://exslt.org/common" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.1" - exclude-result-prefixes="doc" - extension-element-prefixes="saxon xalanredirect lxslt exsl"> - -<!-- This stylesheet works with XSLT implementations that support --> -<!-- exsl:document, saxon:output, or xalanredirect:write --> -<!-- Note: Only Saxon 6.4.2 or later is supported. --> - -<!-- ==================================================================== --> - -<xsl:template name="make-relative-filename"> - <xsl:param name="base.dir" select="'./'"/> - <xsl:param name="base.name" select="''"/> - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <!-- EXSL document does make the chunks relative, I think --> - <xsl:choose> - <xsl:when test="count(parent::*) = 0"> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$base.name"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <!-- Saxon doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Don't know how to chunk with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="$output.method"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="content" select="''"/> - <xsl:param name="quiet" select="0"/> - - <xsl:if test="$quiet = 0"> - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:if test="@id"> - <xsl:text>(</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>)</xsl:text> - </xsl:if> - </xsl:if> - </xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <exsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}"> - <xsl:copy-of select="$content"/> - </exsl:document> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <saxon:output href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk.with.doctype"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="$output.method"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="doctype-public" select="''"/> - <xsl:param name="doctype-system" select="''"/> - <xsl:param name="content" select="''"/> - - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:if> - </xsl:message> - - - <xsl:choose> - <xsl:when test="element-available('exsl:document')"> - <exsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}"> - <xsl:copy-of select="$content"/> - </exsl:document> - </xsl:when> - <xsl:when test="element-available('saxon:output')"> - <!-- Saxon uses saxon:output --> - <saxon:output href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="element-available('xalanredirect:write')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="system-property('xsl:vendor')"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.text.chunk"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'text'"/> - <xsl:param name="content" select="''"/> - <xsl:param name="encoding" select="'iso-8859-1'"/> - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="method" select="$method"/> - <xsl:with-param name="content" select="$content"/> - <xsl:with-param name="encoding" select="$encoding"/> - </xsl:call-template> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/component.xsl b/stylesheets/docbook/html/component.xsl deleted file mode 100644 index f1eea4c3..00000000 --- a/stylesheets/docbook/html/component.xsl +++ /dev/null @@ -1,314 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template name="component.title"> - <xsl:param name="node" select="."/> - <h2 class="title"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select="$node"/> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates select="$node" mode="object.title.markup"> - <xsl:with-param name="allow-anchors" select="1"/> - </xsl:apply-templates> - </h2> -</xsl:template> - -<xsl:template name="component.subtitle"> - <xsl:param name="node" select="."/> - <xsl:variable name="subtitle" - select="($node/docinfo/subtitle - |$node/prefaceinfo/subtitle - |$node/chapterinfo/subtitle - |$node/appendixinfo/subtitle - |$node/articleinfo/subtitle - |$node/artheader/subtitle - |$node/subtitle)[1]"/> - - <xsl:if test="$subtitle"> - <h3 class="subtitle"> - <i> - <xsl:apply-templates select="$node" mode="object.subtitle.markup"/> - </i> - </h3> - </xsl:if> -</xsl:template> - -<xsl:template name="component.separator"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="dedication" mode="dedication"> - <div class="{name(.)}"> - <xsl:call-template name="dedication.titlepage"/> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="dedication/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::dedication[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="dedication/subtitle" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::dedication[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" --> -<xsl:template match="dedication/title"></xsl:template> -<xsl:template match="dedication/subtitle"></xsl:template> -<xsl:template match="dedication/titleabbrev"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="colophon"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="component.title"/> - <xsl:call-template name="component.subtitle"/> - - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="colophon/title"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="preface"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="preface.titlepage"/> - <xsl:if test="$generate.preface.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="preface/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::preface[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="preface/subtitle - |preface/prefaceinfo/subtitle - |preface/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::preface[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template> -<xsl:template match="preface/title"></xsl:template> -<xsl:template match="preface/titleabbrev"></xsl:template> -<xsl:template match="preface/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="chapter"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="chapter.titlepage"/> - <xsl:if test="$generate.chapter.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="chapter/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::chapter[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="chapter/subtitle - |chapter/chapterinfo/subtitle - |chapter/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::chapter[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template> -<xsl:template match="chapter/title"></xsl:template> -<xsl:template match="chapter/titleabbrev"></xsl:template> -<xsl:template match="chapter/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="appendix"> - <div class="{name(.)}"> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="appendix.titlepage"/> - <xsl:if test="$generate.appendix.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="article/appendix"> - <div class="{name(.)}"> - <xsl:call-template name="section.heading"> - <xsl:with-param name="level" select="2"/> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:with-param> - </xsl:call-template> - - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="appendix/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::appendix[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="appendix/subtitle - |appendix/appendixinfo/subtitle - |appendix/docinfo/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::appendix[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template> -<xsl:template match="appendix/title"></xsl:template> -<xsl:template match="appendix/titleabbrev"></xsl:template> -<xsl:template match="appendix/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="dedication" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="preface" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="chapter" mode="component.number"> - <xsl:param name="add.space" select="false()"/> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:text>.</xsl:text> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:when test="$chapter.autolabel"> - <xsl:number from="book" count="chapter" format="1."/> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="appendix" mode="component.number"> - <xsl:param name="add.space" select="false()"/> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:text>.</xsl:text> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:when test="$chapter.autolabel"> - <xsl:number from="book" count="appendix" format="A."/> - <xsl:if test="$add.space"> - <xsl:call-template name="gentext.space"/> - </xsl:if> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="article" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="bibliography" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="glossary" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<xsl:template match="index" mode="component.number"> - <xsl:param name="add.space" select="false()"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="article"> - <div class="{name(.)}"> - <xsl:call-template name="article.titlepage"/> - <xsl:if test="$generate.article.toc != '0'"> - <xsl:call-template name="component.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="article/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.title"> - <xsl:with-param name="node" select="ancestor::article[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="article/subtitle - |article/articleinfo/subtitle - |article/artheader/subtitle" - mode="titlepage.mode" priority="2"> - <xsl:call-template name="component.subtitle"> - <xsl:with-param name="node" select="ancestor::article[1]"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="article/artheader|article/articleinfo"></xsl:template> -<xsl:template match="article/title"></xsl:template> -<xsl:template match="article/titleabbrev"></xsl:template> -<xsl:template match="article/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/division.xsl b/stylesheets/docbook/html/division.xsl deleted file mode 100644 index fa9a7138..00000000 --- a/stylesheets/docbook/html/division.xsl +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="set"> - <div class="{name(.)}"> - <xsl:call-template name="set.titlepage"/> - <xsl:if test="$generate.set.toc != '0'"> - <xsl:call-template name="set.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="set/setinfo"></xsl:template> -<xsl:template match="set/title"></xsl:template> -<xsl:template match="set/titleabbrev"></xsl:template> -<xsl:template match="set/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book"> - <div class="{name(.)}"> - <xsl:call-template name="book.titlepage"/> - <xsl:apply-templates select="dedication" mode="dedication"/> - <xsl:if test="$generate.book.toc != '0'"> - <xsl:call-template name="division.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="book/bookinfo"></xsl:template> -<xsl:template match="book/title"></xsl:template> -<xsl:template match="book/titleabbrev"></xsl:template> -<xsl:template match="book/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="part"> - <div class="{name(.)}"> - <xsl:call-template name="part.titlepage"/> - <xsl:if test="not(partintro) and $generate.part.toc != '0'"> - <xsl:call-template name="division.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="part" mode="make.part.toc"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="reference" mode="make.part.toc"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="part/docinfo"></xsl:template> -<xsl:template match="part/partinfo"></xsl:template> -<xsl:template match="part/title"></xsl:template> -<xsl:template match="part/titleabbrev"></xsl:template> -<xsl:template match="part/subtitle"></xsl:template> - -<xsl:template match="partintro"> - <div class="{name(.)}"> - <xsl:call-template name="partintro.titlepage"/> - <xsl:apply-templates/> - <xsl:if test="$generate.part.toc != '0'"> - <!-- not ancestor::part because partintro appears in reference --> - <xsl:apply-templates select="parent::*" mode="make.part.toc"/> - </xsl:if> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="partintro/title"></xsl:template> -<xsl:template match="partintro/titleabbrev"></xsl:template> -<xsl:template match="partintro/subtitle"></xsl:template> - -<xsl:template match="partintro/title" mode="partintro.title.mode"> - <h2> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="partintro/subtitle" mode="partintro.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="book" mode="division.number"> - <xsl:number from="set" count="book" format="1."/> -</xsl:template> - -<xsl:template match="part" mode="division.number"> - <xsl:number from="book" count="part" format="I."/> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/docbook.xsl b/stylesheets/docbook/html/docbook.xsl deleted file mode 100644 index d5a16db3..00000000 --- a/stylesheets/docbook/html/docbook.xsl +++ /dev/null @@ -1,235 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<xsl:output method="html" - encoding="ISO-8859-1" - indent="no"/> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:include href="../VERSION"/> -<xsl:include href="param.xsl"/> -<xsl:include href="../lib/lib.xsl"/> -<xsl:include href="../common/l10n.xsl"/> -<xsl:include href="../common/common.xsl"/> -<xsl:include href="../common/labels.xsl"/> -<xsl:include href="../common/titles.xsl"/> -<xsl:include href="../common/subtitles.xsl"/> -<xsl:include href="../common/gentext.xsl"/> -<xsl:include href="autotoc.xsl"/> -<xsl:include href="autoidx.xsl"/> -<xsl:include href="lists.xsl"/> -<xsl:include href="callout.xsl"/> -<xsl:include href="verbatim.xsl"/> -<xsl:include href="graphics.xsl"/> -<xsl:include href="xref.xsl"/> -<xsl:include href="formal.xsl"/> -<xsl:include href="table.xsl"/> -<xsl:include href="sections.xsl"/> -<xsl:include href="inline.xsl"/> -<xsl:include href="footnote.xsl"/> -<xsl:include href="html.xsl"/> -<xsl:include href="info.xsl"/> -<xsl:include href="keywords.xsl"/> -<xsl:include href="division.xsl"/> -<xsl:include href="toc.xsl"/> -<xsl:include href="index.xsl"/> -<xsl:include href="refentry.xsl"/> -<xsl:include href="math.xsl"/> -<xsl:include href="admon.xsl"/> -<xsl:include href="component.xsl"/> -<xsl:include href="biblio.xsl"/> -<xsl:include href="glossary.xsl"/> -<xsl:include href="block.xsl"/> -<xsl:include href="qandaset.xsl"/> -<xsl:include href="synop.xsl"/> -<xsl:include href="titlepage.xsl"/> -<xsl:include href="titlepage.templates.xsl"/> -<xsl:include href="pi.xsl"/> -<xsl:include href="ebnf.xsl"/> -<xsl:include href="chunker.xsl"/> - -<!-- ==================================================================== --> - -<xsl:key name="id" match="*" use="@id"/> - -<!-- ==================================================================== --> - -<xsl:template match="*"> - <xsl:message> - <xsl:text>No template matches </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>.</xsl:text> - </xsl:message> - - <font color="red"> - <xsl:text><</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>></xsl:text> - <xsl:apply-templates/> - <xsl:text></</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>></xsl:text> - </font> -</xsl:template> - -<xsl:template match="text()"> - <xsl:value-of select="."/> -</xsl:template> - -<xsl:template name="body.attributes"> - <xsl:attribute name="text">black</xsl:attribute> - <xsl:attribute name="link">#0000FF</xsl:attribute> - <xsl:attribute name="vlink">#840084</xsl:attribute> - <xsl:attribute name="alink">#0000FF</xsl:attribute> -</xsl:template> - -<xsl:template name="head.content"> - <xsl:param name="node" select="."/> - - <title> - <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/> - </title> - - <xsl:if test="$html.stylesheet"> - <link rel="stylesheet" - href="{$html.stylesheet}" - type="{$html.stylesheet.type}"/> - </xsl:if> - - <xsl:if test="$link.mailto.url != ''"> - <link rev="made" - href="{$link.mailto.url}"/> - </xsl:if> - - <xsl:if test="$html.base != ''"> - <base href="{$html.base}"/> - </xsl:if> - - <meta name="generator" content="DocBook XSL Stylesheets V{$VERSION}"/> - - <xsl:apply-templates select="." mode="head.keywords.content"/> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template match="*" mode="head.keywords.content"> - <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="artheader/keywordset" mode="html.header"/> - <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/> - <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/> - <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/> - <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/> - <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/> - <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/> - <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/> - <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/> - <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/> - <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/> - - <xsl:if test="$inherit.keywords != 0 - and parent::*"> - <xsl:apply-templates select="parent::*" mode="head.keywords.content"/> - </xsl:if> -</xsl:template> - -<!-- ============================================================ --> - -<xsl:template name="user.head.content"> - <xsl:param name="node" select="."/> -</xsl:template> - -<xsl:template name="user.header.navigation"> - <xsl:param name="node" select="."/> -</xsl:template> - -<xsl:template name="user.header.content"> - <xsl:param name="node" select="."/> -</xsl:template> - -<xsl:template name="user.footer.content"> - <xsl:param name="node" select="."/> -</xsl:template> - -<xsl:template name="user.footer.navigation"> - <xsl:param name="node" select="."/> -</xsl:template> - -<xsl:template match="/"> - <xsl:choose> - <xsl:when test="$rootid != ''"> - <xsl:choose> - <xsl:when test="count(key('id',$rootid)) = 0"> - <xsl:message terminate="yes"> - <xsl:text>ID '</xsl:text> - <xsl:value-of select="$rootid"/> - <xsl:text>' not found in document.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/> - <xsl:if test="$tex.math.in.alt != ''"> - <xsl:apply-templates select="key('id',$rootid)" mode="collect.tex.math"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="/" mode="process.root"/> - <xsl:if test="$tex.math.in.alt != ''"> - <xsl:apply-templates select="/" mode="collect.tex.math"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="process.root"> - <xsl:variable name="doc" select="self::*"/> - <html> - <head> - <xsl:call-template name="head.content"> - <xsl:with-param name="node" select="$doc"/> - </xsl:call-template> - <xsl:call-template name="user.head.content"> - <xsl:with-param name="node" select="$doc"/> - </xsl:call-template> - </head> - <body> - <xsl:call-template name="body.attributes"/> - <xsl:call-template name="user.header.content"> - <xsl:with-param name="node" select="$doc"/> - </xsl:call-template> - <xsl:apply-templates select="."/> - <xsl:call-template name="user.footer.content"> - <xsl:with-param name="node" select="$doc"/> - </xsl:call-template> - </body> - </html> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/ebnf.xsl b/stylesheets/docbook/html/ebnf.xsl deleted file mode 100644 index 897192c9..00000000 --- a/stylesheets/docbook/html/ebnf.xsl +++ /dev/null @@ -1,324 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<doc:reference xmlns=""> -<referenceinfo> -<releaseinfo role="meta"> -$Id$ -</releaseinfo> -<author><surname>Walsh</surname> -<firstname>Norman</firstname></author> -<copyright><year>1999</year><year>2000</year> -<holder>Norman Walsh</holder> -</copyright> -</referenceinfo> -<title>HTML EBNF Reference</title> - -<partintro> -<section><title>Introduction</title> - -<para>This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets.</para> - -<para>This reference describes the templates and parameters relevant -to formatting EBNF markup.</para> - -<para>This is not intended to be <quote>user</quote> documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in <quote>how it -works</quote>.</para> - -<para>Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-)</para> -</section> -</partintro> -</doc:reference> - -<!-- ==================================================================== --> - -<xsl:template match="productionset"> - <table width="100%" cellpadding="5"> - <xsl:if test="$ebnf.table.bgcolor != ''"> - <xsl:attribute name="bgcolor"> - <xsl:value-of select="$ebnf.table.bgcolor"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$ebnf.table.border != 0"> - <xsl:attribute name="border">1</xsl:attribute> - </xsl:if> - <xsl:attribute name="class"> - <xsl:value-of select="name(.)"/> - </xsl:attribute> - <xsl:attribute name="summary"> - <xsl:text>EBNF</xsl:text> - <xsl:if test="title"> - <xsl:text> for </xsl:text> - <xsl:value-of select="title"/> - </xsl:if> - </xsl:attribute> - - <xsl:if test="title"> - <tr> - <th align="left" valign="top" class="{name(.)}"> - <xsl:apply-templates select="title"/> - </th> - </tr> - </xsl:if> - <tr> - <td> - <table border="0" width="99%" cellpadding="0"> - <xsl:if test="$ebnf.table.bgcolor != ''"> - <xsl:attribute name="bgcolor"> - <xsl:value-of select="$ebnf.table.bgcolor"/> - </xsl:attribute> - </xsl:if> - <xsl:attribute name="class"> - <xsl:value-of select="name(.)"/> - </xsl:attribute> - <xsl:attribute name="summary">EBNF productions</xsl:attribute> - <xsl:apply-templates select="production|productionrecap"/> - </table> - </td> - </tr> - </table> -</xsl:template> - -<xsl:template match="productionset/title"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="production"> - <xsl:param name="recap" select="false()"/> - <tr> - <td align="left" valign="top" width="3%"> - <xsl:text>[</xsl:text> - <xsl:number count="production" level="any"/> - <xsl:text>]</xsl:text> - </td> - <td align="right" valign="top" width="10%"> - <xsl:choose> - <xsl:when test="$recap"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="."/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates select="lhs"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="anchor"/> - <xsl:apply-templates select="lhs"/> - </xsl:otherwise> - </xsl:choose> - </td> - <td valign="top" width="5%" align="center"><tt>::=</tt></td> - <td valign="top" width="52%"> - <xsl:apply-templates select="rhs"/> - </td> - <td align="left" valign="top" width="30%"> - <xsl:choose> - <xsl:when test="rhs/lineannotation|constraint"> - <xsl:apply-templates select="rhs/lineannotation" mode="rhslo"/> - <xsl:apply-templates select="constraint"/> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - </td> - </tr> -</xsl:template> - -<xsl:template match="productionrecap"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:if test="count($targets)=0"> - <xsl:message> - <xsl:text>Error: no ID for productionrecap linkend: </xsl:text> - <xsl:value-of select="@linkend"/> - <xsl:text>.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:if test="count($targets)>1"> - <xsl:message> - <xsl:text>Warning: multiple "IDs" for productionrecap linkend: </xsl:text> - <xsl:value-of select="@linkend"/> - <xsl:text>.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:apply-templates select="$target"> - <xsl:with-param name="recap" select="true()"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="lhs"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="rhs"> - <xsl:apply-templates/> - <xsl:if test="following-sibling::rhs"> - <xsl:text> |</xsl:text> - <br/> - </xsl:if> -</xsl:template> - -<xsl:template match="nonterminal"> - <xsl:variable name="linkend"> - <xsl:call-template name="xpointer.idref"> - <xsl:with-param name="xpointer" select="@def"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="$linkend"/> - </xsl:call-template> - - <xsl:call-template name="check.idref.targets"> - <xsl:with-param name="linkend" select="$linkend"/> - <xsl:with-param name="element-list">production</xsl:with-param> - </xsl:call-template> - - <!-- If you don't provide content, you can't point outside this doc. --> - <xsl:choose> - <xsl:when test="*|text()"><!--nop--></xsl:when> - <xsl:otherwise> - <xsl:if test="$linkend = ''"> - <xsl:message> - <xsl:text>Non-terminals with no content must point to </xsl:text> - <xsl:text>production elements in the current document.</xsl:text> - </xsl:message> - <xsl:message> - <xsl:text>Invalid xpointer for empty nt: </xsl:text> - <xsl:value-of select="@def"/> - </xsl:message> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - - <xsl:variable name="href"> - <xsl:choose> - <xsl:when test="$linkend != ''"> - <xsl:variable name="targets" select="key('id',$linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@def"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <a href="{$href}"> - <xsl:choose> - <xsl:when test="*|text()"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$linkend != ''"> - <xsl:variable name="targets" select="key('id',$linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:apply-templates select="$target/lhs"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="rhs/lineannotation"> - <!--nop--> -</xsl:template> - -<xsl:template match="rhs/lineannotation" mode="rhslo"> - <xsl:text>/* </xsl:text> - <xsl:apply-templates/> - <xsl:text> */</xsl:text> - <br/> -</xsl:template> - -<xsl:template match="constraint"> - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:call-template name="check.idref.targets"> - <xsl:with-param name="linkend" select="@linkend"/> - <xsl:with-param name="element-list">constraintdef</xsl:with-param> - </xsl:call-template> - - <xsl:variable name="href"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:variable> - - <xsl:text>[ </xsl:text> - - <xsl:choose> - <xsl:when test="@role"> - <xsl:value-of select="@role"/> - <xsl:text>: </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:if test="$target/@role"> - <xsl:value-of select="$target/@role"/> - <xsl:text>: </xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - - <a href="{$href}"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:apply-templates select="$target" mode="title.markup"/> - </a> - <xsl:text> ]</xsl:text> - <xsl:if test="following-sibling::constraint"> - <br/> - </xsl:if> -</xsl:template> - -<xsl:template match="constraintdef"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="constraintdef/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/expchunk.xsl b/stylesheets/docbook/html/expchunk.xsl deleted file mode 100644 index bc701153..00000000 --- a/stylesheets/docbook/html/expchunk.xsl +++ /dev/null @@ -1,16 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saxon="http://icl.com/saxon" - xmlns:lxslt="http://xml.apache.org/xslt" - xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.1" - exclude-result-prefixes="doc" - extension-element-prefixes="saxon xalanredirect lxslt"> - -<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunk.xsl --> - -<xsl:import href="autoidx.xsl"/> -<xsl:include href="chunk-experimental.xsl"/> -<xsl:include href="chunker.xsl"/> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/footnote.xsl b/stylesheets/docbook/html/footnote.xsl deleted file mode 100644 index c22d4b53..00000000 --- a/stylesheets/docbook/html/footnote.xsl +++ /dev/null @@ -1,163 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template match="footnote"> - <xsl:variable name="name"> - <xsl:call-template name="object.id"/> - </xsl:variable> - <xsl:variable name="href"> - <xsl:text>#ftn.</xsl:text> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="ancestor::table|ancestor::informaltable"> - <sup> - <xsl:text>[</xsl:text> - <a name="{$name}" href="{$href}"> - <xsl:apply-templates select="." mode="footnote.number"/> - </a> - <xsl:text>]</xsl:text> - </sup> - </xsl:when> - <xsl:otherwise> - <sup> - <xsl:text>[</xsl:text> - <a name="{$name}" href="{$href}"> - <xsl:apply-templates select="." mode="footnote.number"/> - </a> - <xsl:text>]</xsl:text> - </sup> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="footnoteref"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="footnote" select="$targets[1]"/> - <xsl:variable name="href"> - <xsl:text>#ftn.</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$footnote"/> - </xsl:call-template> - </xsl:variable> - <sup> - <xsl:text>[</xsl:text> - <a href="{$href}"> - <xsl:apply-templates select="$footnote" mode="footnote.number"/> - </a> - <xsl:text>]</xsl:text> - </sup> -</xsl:template> - -<xsl:template match="footnote" mode="footnote.number"> - <xsl:choose> - <xsl:when test="ancestor::table or ancestor::informaltable"> - <xsl:number level="any" from="table|informaltable" format="a"/> - </xsl:when> - <xsl:when test="ancestor::refentry"> - <xsl:number level="any" from="refentry" format="1"/> - </xsl:when> - <xsl:otherwise> - <xsl:number level="any" format="1"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="footnote/para[1]|footnote/simpara[1]" priority="2"> - <!-- this only works if the first thing in a footnote is a para, --> - <!-- which is ok, because it usually is. --> - <xsl:variable name="name"> - <xsl:text>ftn.</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="ancestor::footnote"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="href"> - <xsl:text>#</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="ancestor::footnote"/> - </xsl:call-template> - </xsl:variable> - <p> - <sup> - <xsl:text>[</xsl:text> - <a name="{$name}" href="{$href}"> - <xsl:apply-templates select="ancestor::footnote" - mode="footnote.number"/> - </a> - <xsl:text>] </xsl:text> - </sup> - <xsl:apply-templates/> - </p> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process.footnotes"> - <xsl:variable name="footnotes" select=".//footnote"/> - <xsl:variable name="table.footnotes" - select=".//table//footnote|.//informaltable//footnote"/> - - <!-- Only bother to do this if there's at least one non-table footnote --> - <xsl:if test="count($footnotes)>count($table.footnotes)"> - <div class="footnotes"> - <br/> - <hr width="100" align="left"/> - <xsl:apply-templates select="$footnotes" mode="process.footnote.mode"/> - </div> - </xsl:if> -</xsl:template> - -<xsl:template name="process.chunk.footnotes"> - <!-- nop --> -</xsl:template> - -<xsl:template match="footnote" mode="process.footnote.mode"> - <xsl:if test="local-name(*[1]) != 'para' - and local-name(*[1]) != 'simpara'"> - <xsl:message> - <xsl:text>Warning: footnote number may not be generated </xsl:text> - <xsl:text>correctly; </xsl:text> - <xsl:value-of select="local-name(*[1])"/> - <xsl:text> unexpected as first child of footnote.</xsl:text> - </xsl:message> - </xsl:if> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="informaltable//footnote|table//footnote" - mode="process.footnote.mode"> -</xsl:template> - -<xsl:template match="footnote" mode="table.footnote.mode"> - <xsl:if test="local-name(*[1]) != 'para' - and local-name(*[1]) != 'simpara'"> - <xsl:message> - <xsl:text>Warning: footnote number may not be generated </xsl:text> - <xsl:text>correctly; </xsl:text> - <xsl:value-of select="local-name(*[1])"/> - <xsl:text> unexpected as first child of footnote.</xsl:text> - </xsl:message> - </xsl:if> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/formal.xsl b/stylesheets/docbook/html/formal.xsl deleted file mode 100644 index fda3c0d9..00000000 --- a/stylesheets/docbook/html/formal.xsl +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="formal.object"> - <div class="{name(.)}"> - <xsl:call-template name="formal.object.heading"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template name="formal.object.heading"> - <p> - <xsl:call-template name="anchor"/> - <b> - <xsl:apply-templates select="." mode="object.title.markup"> - <xsl:with-param name="allow-anchors" select="1"/> - </xsl:apply-templates> - </b> - </p> -</xsl:template> - -<xsl:template name="informal.object"> - <div class="{name(.)}"> - <xsl:if test="$spacing.paras != 0"><p/></xsl:if> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - <xsl:if test="$spacing.paras != 0"><p/></xsl:if> - </div> -</xsl:template> - -<xsl:template name="semiformal.object"> - <xsl:choose> - <xsl:when test="title"> - <xsl:call-template name="formal.object"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="informal.object"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="figure|table|example"> - <xsl:call-template name="formal.object"/> -</xsl:template> - -<xsl:template match="equation"> - <xsl:call-template name="semiformal.object"/> -</xsl:template> - -<xsl:template match="figure/title"></xsl:template> -<xsl:template match="table/title"></xsl:template> -<xsl:template match="example/title"></xsl:template> -<xsl:template match="equation/title"></xsl:template> - -<xsl:template match="informalfigure"> - <xsl:call-template name="informal.object"/> -</xsl:template> - -<xsl:template match="informalexample"> - <xsl:call-template name="informal.object"/> -</xsl:template> - -<xsl:template match="informaltable"> - <xsl:call-template name="informal.object"/> -</xsl:template> - -<xsl:template match="informalequation"> - <xsl:call-template name="informal.object"/> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/glossary.xsl b/stylesheets/docbook/html/glossary.xsl deleted file mode 100644 index c83c7fa4..00000000 --- a/stylesheets/docbook/html/glossary.xsl +++ /dev/null @@ -1,310 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="glossary"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="glossary.titlepage"/> - - <xsl:choose> - <xsl:when test="glossdiv"> - <xsl:apply-templates select="(glossdiv[1]/preceding-sibling::*)"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="glossdiv"> - <xsl:apply-templates select="glossdiv"/> - </xsl:when> - <xsl:otherwise> - <dl> - <xsl:apply-templates select="glossentry"/> - </dl> - </xsl:otherwise> - </xsl:choose> - - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="glossary/glossaryinfo"></xsl:template> -<xsl:template match="glossary/title"></xsl:template> -<xsl:template match="glossary/subtitle"></xsl:template> -<xsl:template match="glossary/titleabbrev"></xsl:template> - -<xsl:template match="glossary/title" mode="component.title.mode"> - <h2> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="glossary/subtitle" mode="component.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="glosslist"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <dl> - <xsl:apply-templates/> - </dl> - </div> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="glossdiv"> - <div class="{name(.)}"> - <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/> - - <dl> - <xsl:apply-templates select="glossentry"/> - </dl> - </div> -</xsl:template> - -<xsl:template match="glossdiv/title"> - <h3 class="{name(.)}"> - <xsl:apply-templates/> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<!-- -GlossEntry ::= - GlossTerm, Acronym?, Abbrev?, - (IndexTerm)*, - RevHistory?, - (GlossSee | GlossDef+) ---> - -<xsl:template match="glossentry"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="glossentry/glossterm"> - <dt> - <xsl:apply-templates/> - </dt> -</xsl:template> - -<xsl:template match="glossentry/glossterm[1]" priority="2"> - <dt> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select=".."/> - <xsl:with-param name="conditional"> - <xsl:choose> - <xsl:when test="$glossterm.auto.link != 0">0</xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - </dt> -</xsl:template> - -<xsl:template match="glossentry/acronym"> -</xsl:template> - -<xsl:template match="glossentry/abbrev"> -</xsl:template> - -<xsl:template match="glossentry/revhistory"> -</xsl:template> - -<xsl:template match="glossentry/glosssee"> - <xsl:variable name="otherterm" select="@otherterm"/> - <xsl:variable name="targets" select="//node()[@id=$otherterm]"/> - <xsl:variable name="target" select="$targets[1]"/> - <dd> - <p> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'glossary'"/> - <xsl:with-param name="name" select="'see'"/> - </xsl:call-template> - <xsl:choose> - <xsl:when test="@otherterm"> - <a href="#{@otherterm}"> - <xsl:apply-templates select="$target" mode="xref"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>.</xsl:text> - </p> - </dd> -</xsl:template> - -<xsl:template match="glossentry/glossdef"> - <dd> - <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/> - <xsl:if test="glossseealso"> - <p> - <xsl:call-template name="gentext.template"> - <xsl:with-param name="context" select="'glossary'"/> - <xsl:with-param name="name" select="'seealso'"/> - </xsl:call-template> - <xsl:apply-templates select="glossseealso"/> - </p> - </xsl:if> - </dd> -</xsl:template> - -<xsl:template match="glossseealso"> - <xsl:variable name="otherterm" select="@otherterm"/> - <xsl:variable name="targets" select="//node()[@id=$otherterm]"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:choose> - <xsl:when test="@otherterm"> - <a href="#{@otherterm}"> - <xsl:apply-templates select="$target" mode="xref"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="position() = last()"> - <xsl:text>.</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>, </xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="glossentry" mode="xref"> - <xsl:apply-templates select="./glossterm[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="glossterm" mode="xref"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<!-- Glossary collection --> - -<xsl:template match="glossary[@role='auto']" priority="2"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - <xsl:variable name="terms" select="//glossterm[not(parent::glossdef)]|//firstterm"/> - <xsl:variable name="collection" select="document($glossary.collection, .)"/> - - <xsl:if test="$glossary.collection = ''"> - <xsl:message> - <xsl:text>Warning: processing automatic glossary </xsl:text> - <xsl:text>without a glossary.collection file.</xsl:text> - </xsl:message> - </xsl:if> - - <div id="{$id}" class="{name(.)}"> - <xsl:call-template name="glossary.titlepage"/> - - <xsl:choose> - <xsl:when test="glossdiv and $collection//glossdiv"> - <xsl:for-each select="$collection//glossdiv"> - <!-- first see if there are any in this div --> - <xsl:variable name="exist.test"> - <xsl:for-each select="glossentry"> - <xsl:variable name="cterm" select="glossterm"/> - <xsl:if test="$terms[@baseform = $cterm or . = $cterm]"> - <xsl:value-of select="glossterm"/> - </xsl:if> - </xsl:for-each> - </xsl:variable> - - <xsl:if test="$exist.test != ''"> - <xsl:apply-templates select="." mode="auto-glossary"> - <xsl:with-param name="terms" select="$terms"/> - </xsl:apply-templates> - </xsl:if> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <dl> - <xsl:for-each select="$collection//glossentry"> - <xsl:variable name="cterm" select="glossterm"/> - <xsl:if test="$terms[@baseform = $cterm or . = $cterm]"> - <xsl:apply-templates select="." mode="auto-glossary"/> - </xsl:if> - </xsl:for-each> - </dl> - </xsl:otherwise> - </xsl:choose> - - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="auto-glossary"> - <!-- pop back out to the default mode for most elements --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="glossdiv" mode="auto-glossary"> - <xsl:param name="terms" select="."/> - - <div class="{name(.)}"> - <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/> - - <dl> - <xsl:for-each select="glossentry"> - <xsl:variable name="cterm" select="glossterm"/> - <xsl:if test="$terms[@baseform = $cterm or . = $cterm]"> - <xsl:apply-templates select="." mode="auto-glossary"/> - </xsl:if> - </xsl:for-each> - </dl> - </div> -</xsl:template> - -<xsl:template match="glossentry" mode="auto-glossary"> - <xsl:apply-templates mode="auto-glossary"/> -</xsl:template> - -<xsl:template match="glossentry/glossterm[1]" priority="2" mode="auto-glossary"> - <xsl:variable name="id"> - <xsl:text>gl.</xsl:text> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - - <dt> - <a name="{$id}"/> - <xsl:apply-templates/> - </dt> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/graphics.xsl b/stylesheets/docbook/html/graphics.xsl deleted file mode 100644 index b9b64538..00000000 --- a/stylesheets/docbook/html/graphics.xsl +++ /dev/null @@ -1,417 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory" - xmlns:xtext="com.nwalsh.xalan.Text" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="xlink stext xtext lxslt" - extension-element-prefixes="stext xtext" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - Contributors: - Colin Paul Adams, <colin@colina.demon.co.uk> - - ******************************************************************** --> - -<lxslt:component prefix="xtext" - elements="insertfile"/> - -<!-- ==================================================================== --> -<!-- Graphic format tests for the HTML backend --> - -<xsl:template name="is.graphic.format"> - <xsl:param name="format"></xsl:param> - <xsl:if test="$format = 'PNG' - or $format = 'JPG' - or $format = 'JPEG' - or $format = 'linespecific' - or $format = 'GIF' - or $format = 'GIF87a' - or $format = 'GIF89a' - or $format = 'BMP'">1</xsl:if> -</xsl:template> - -<xsl:template name="is.graphic.extension"> - <xsl:param name="ext"></xsl:param> - <xsl:if test="$ext = 'png' - or $ext = 'jpeg' - or $ext = 'jpg' - or $ext = 'avi' - or $ext = 'mpg' - or $ext = 'mpeg' - or $ext = 'qt' - or $ext = 'gif' - or $ext = 'bmp'">1</xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="screenshot"> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="screeninfo"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process.image"> - <!-- When this template is called, the current node should be --> - <!-- a graphic, inlinegraphic, imagedata, or videodata. All --> - <!-- those elements have the same set of attributes, so we can --> - <!-- handle them all in one place. --> - <xsl:param name="tag" select="'img'"/> - <xsl:param name="alt"/> - <xsl:param name="longdesc"/> - - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="local-name(.) = 'graphic' - or local-name(.) = 'inlinegraphic'"> - <!-- handle legacy graphic and inlinegraphic by new template --> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <!-- imagedata, videodata, audiodata --> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="width"> - <xsl:choose> - <xsl:when test="@scale"><xsl:value-of select="@scale"/>%</xsl:when> - <xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="height"> - <xsl:choose> - <xsl:when test="@scale"></xsl:when> - <xsl:when test="@depth"><xsl:value-of select="@depth"/></xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="align"> - <xsl:value-of select="@align"/> - </xsl:variable> - - <xsl:element name="{$tag}"> - <xsl:attribute name="src"> - <xsl:value-of select="$filename"/> - </xsl:attribute> - <xsl:if test="$align != ''"> - <xsl:attribute name="align"> - <xsl:value-of select="$align"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$height != ''"> - <xsl:attribute name="height"> - <xsl:value-of select="$height"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="$width"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$alt != ''"> - <xsl:attribute name="alt"> - <xsl:value-of select="$alt"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$longdesc != ''"> - <xsl:attribute name="longdesc"> - <xsl:value-of select="$longdesc"/> - </xsl:attribute> - </xsl:if> - </xsl:element> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="graphic"> - <p> - <xsl:call-template name="anchor"/> - <xsl:call-template name="process.image"/> - </p> -</xsl:template> - -<xsl:template match="inlinegraphic"> - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="@entityref"> - <xsl:value-of select="unparsed-entity-uri(@entityref)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@fileref"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="@format='linespecific'"> - <xsl:choose> - <xsl:when test="$use.extensions != '0' - and $textinsert.extension != '0'"> - <xsl:choose> - <xsl:when test="element-available('stext:insertfile')"> - <stext:insertfile href="{$filename}"/> - </xsl:when> - <xsl:when test="element-available('xtext:insertfile')"> - <xtext:insertfile href="{$filename}"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No insertfile extension available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" - href="{$filename}"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="process.image"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="mediaobject|mediaobjectco"> - <div class="{name(.)}"> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:call-template name="select.mediaobject"/> - <xsl:apply-templates select="caption"/> - </div> -</xsl:template> - -<xsl:template match="inlinemediaobject"> - <span class="{name(.)}"> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:call-template name="select.mediaobject"/> - </span> -</xsl:template> - -<xsl:template match="programlisting/inlinemediaobject - |screen/inlinemediaobject" priority="2"> - <!-- the additional span causes problems in some cases --> - <xsl:call-template name="select.mediaobject"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="imageobjectco"> - <xsl:if test="@id"> - <a name="{@id}"/> - </xsl:if> - <xsl:apply-templates select="imageobject"/> - <xsl:apply-templates select="calloutlist"/> -</xsl:template> - -<xsl:template match="imageobject"> - <xsl:apply-templates select="imagedata"/> -</xsl:template> - -<xsl:template match="imagedata"> - <xsl:variable name="filename"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="@format='linespecific'"> - <xsl:choose> - <xsl:when test="$use.extensions != '0' - and $textinsert.extension != '0'"> - <xsl:choose> - <xsl:when test="element-available('stext:insertfile')"> - <stext:insertfile href="{$filename}"/> - </xsl:when> - <xsl:when test="element-available('xtext:insertfile')"> - <xtext:insertfile href="{$filename}"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No insertfile extension available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" - href="{$filename}"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="longdesc.uri"> - <xsl:call-template name="longdesc.uri"> - <xsl:with-param name="mediaobject" - select="ancestor::imageobject/parent::*"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="process.image"> - <xsl:with-param name="alt"> - <xsl:apply-templates select="(../../textobject[not(@role) or @role!='tex']/phrase)[1]"/> - </xsl:with-param> - <xsl:with-param name="longdesc"> - <xsl:call-template name="write.longdesc"> - <xsl:with-param name="mediaobject" - select="ancestor::imageobject/parent::*"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - - <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0 - and ancestor::imageobject/parent::*/textobject[not(phrase)]"> - <xsl:call-template name="longdesc.link"> - <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/> - </xsl:call-template> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="longdesc.uri"> - <xsl:param name="mediaobject" select="."/> - - <xsl:if test="$html.longdesc"> - <xsl:if test="$mediaobject/textobject[not(phrase)]"> - <xsl:variable name="image-id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$mediaobject"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" - select="concat('ld-',$image-id,$html.ext)"/> - </xsl:call-template> - </xsl:variable> - - <xsl:value-of select="$filename"/> - </xsl:if> - </xsl:if> -</xsl:template> - -<xsl:template name="write.longdesc"> - <xsl:param name="mediaobject" select="."/> - <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]"> - <xsl:variable name="filename"> - <xsl:call-template name="longdesc.uri"> - <xsl:with-param name="mediaobject" select="$mediaobject"/> - </xsl:call-template> - </xsl:variable> - - <xsl:value-of select="$filename"/> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <html> - <head> - <title>Long Description</title> - </head> - <body> - <xsl:call-template name="body.attributes"/> - <xsl:for-each select="$mediaobject/textobject[not(phrase)]"> - <xsl:apply-templates select="./*"/> - </xsl:for-each> - </body> - </html> - </xsl:with-param> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="longdesc.link"> - <xsl:param name="longdesc.uri" select="''"/> - <div class="longdesc-link" align="right"> - <br clear="all"/> - <span style="font-size: 8pt;"> - <xsl:text>[</xsl:text> - <a href="{$longdesc.uri}" target="longdesc">D</a> - <xsl:text>]</xsl:text> - </span> - </div> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="videoobject"> - <xsl:apply-templates select="videodata"/> -</xsl:template> - -<xsl:template match="videodata"> - <xsl:call-template name="process.image"> - <xsl:with-param name="tag" select="'embed'"/> - <xsl:with-param name="alt"> - <xsl:apply-templates select="(../../textobject/phrase)[1]"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="audioobject"> - <xsl:apply-templates select="audiodata"/> -</xsl:template> - -<xsl:template match="audiodata"> - <xsl:call-template name="process.image"> - <xsl:with-param name="tag" select="'embed'"/> - <xsl:with-param name="alt"> - <xsl:apply-templates select="(../../textobject/phrase)[1]"/> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="textobject"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="caption"> - <div class="{name(.)}"> - <xsl:apply-templates/> - </div> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/html.xsl b/stylesheets/docbook/html/html.xsl deleted file mode 100644 index 2d773f8d..00000000 --- a/stylesheets/docbook/html/html.xsl +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="anchor"> - <xsl:param name="node" select="."/> - <xsl:param name="conditional" select="1"/> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$node"/> - </xsl:call-template> - </xsl:variable> - <xsl:if test="$conditional = 0 or $node/@id"> - <a name="{$id}"/> - </xsl:if> -</xsl:template> - -<xsl:template name="dingbat"> - <xsl:param name="dingbat">bullet</xsl:param> - <xsl:choose> - <xsl:when test="false() and $using.chunker != 0"> - <dingbat name="{$dingbat}"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="dingbat.characters"> - <xsl:with-param name="dingbat" select="$dingbat"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="dingbat.characters"> - <!-- now that I'm using the real serializer, all that dingbat malarky --> - <!-- isn't necessary anymore... --> - <xsl:param name="dingbat">bullet</xsl:param> - <xsl:choose> - <xsl:when test="$dingbat='bullet'">•</xsl:when> - <xsl:when test="$dingbat='copyright'">©</xsl:when> - <xsl:when test="$dingbat='trademark'">™</xsl:when> - <xsl:when test="$dingbat='trade'">™</xsl:when> - <xsl:when test="$dingbat='registered'">®</xsl:when> - <xsl:when test="$dingbat='service'">(SM)</xsl:when> - <xsl:when test="$dingbat='nbsp'"> </xsl:when> - <xsl:when test="$dingbat='ldquo'">“</xsl:when> - <xsl:when test="$dingbat='rdquo'">”</xsl:when> - <xsl:when test="$dingbat='lsquo'">‘</xsl:when> - <xsl:when test="$dingbat='rsquo'">’</xsl:when> - <xsl:when test="$dingbat='em-dash'">—</xsl:when> - <xsl:when test="$dingbat='mdash'">—</xsl:when> - <xsl:when test="$dingbat='en-dash'">–</xsl:when> - <xsl:when test="$dingbat='ndash'">–</xsl:when> - <xsl:otherwise> - <xsl:text>•</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/index.xsl b/stylesheets/docbook/html/index.xsl deleted file mode 100644 index 53a0df60..00000000 --- a/stylesheets/docbook/html/index.xsl +++ /dev/null @@ -1,166 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="index|setindex"> - <!-- some implementations use completely empty index tags to indicate --> - <!-- where an automatically generated index should be inserted. so --> - <!-- if the index is completely empty, skip it. Unless generate.index --> - <!-- is non-zero, in which case, this is where the automatically --> - <!-- generated index should go. --> - - <xsl:if test="count(*)>0 or $generate.index != '0'"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="index.titlepage"/> - <xsl:apply-templates/> - - <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0"> - <xsl:call-template name="generate-index"/> - </xsl:if> - - <xsl:call-template name="process.footnotes"/> - </div> - </xsl:if> -</xsl:template> - -<xsl:template match="index/title"></xsl:template> -<xsl:template match="index/subtitle"></xsl:template> -<xsl:template match="index/titleabbrev"></xsl:template> - -<xsl:template match="index/title" mode="component.title.mode"> - <h2 class="title"> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="index/subtitle" mode="component.title.mode"> - <h3> - <i><xsl:apply-templates/></i> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="indexdiv"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates mode="not-indexentrys"/> - <dl> - <xsl:apply-templates select="indexentry"/> - </dl> - </div> -</xsl:template> - -<xsl:template match="indexentry" mode="not-indexentrys"> - <!-- suppress --> -</xsl:template> - -<xsl:template match="indexdiv/title"> - <h3 class="{name(.)}"> - <xsl:apply-templates/> - </h3> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="indexterm"> - <!-- this one must have a name, even if it doesn't have an ID --> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <a class="indexterm" name="{$id}"/> -</xsl:template> - -<xsl:template match="primary|secondary|tertiary|see|seealso"> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="indexentry"> - <xsl:apply-templates select="primaryie"/> -</xsl:template> - -<xsl:template match="primaryie"> - <dt> - <xsl:apply-templates/> - </dt> - <xsl:choose> - <xsl:when test="following-sibling::secondaryie"> - <dd> - <dl> - <xsl:apply-templates select="following-sibling::secondaryie"/> - </dl> - </dd> - </xsl:when> - <xsl:when test="following-sibling::seeie - |following-sibling::seealsoie"> - <dd> - <dl> - <xsl:apply-templates select="following-sibling::seeie - |following-sibling::seealsoie"/> - </dl> - </dd> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="secondaryie"> - <dt> - <xsl:apply-templates/> - </dt> - <xsl:choose> - <xsl:when test="following-sibling::tertiaryie"> - <dd> - <dl> - <xsl:apply-templates select="following-sibling::tertiaryie"/> - </dl> - </dd> - </xsl:when> - <xsl:when test="following-sibling::seeie - |following-sibling::seealsoie"> - <dd> - <dl> - <xsl:apply-templates select="following-sibling::seeie - |following-sibling::seealsoie"/> - </dl> - </dd> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="tertiaryie"> - <dt> - <xsl:apply-templates/> - </dt> - <xsl:if test="following-sibling::seeie - |following-sibling::seealsoie"> - <dd> - <dl> - <xsl:apply-templates select="following-sibling::seeie - |following-sibling::seealsoie"/> - </dl> - </dd> - </xsl:if> -</xsl:template> - -<xsl:template match="seeie|seealsoie"> - <dt> - <xsl:apply-templates/> - </dt> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/info.xsl b/stylesheets/docbook/html/info.xsl deleted file mode 100644 index b1d66492..00000000 --- a/stylesheets/docbook/html/info.xsl +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- These templates define the "default behavior" for info - elements. Even if you don't process the *info wrappers, - some of these elements are needed because the elements are - processed from named templates that are called with modes. - Since modes aren't sticky, these rules apply. - (TODO: clarify this comment) --> - -<!-- ==================================================================== --> -<!-- called from named templates in a given mode --> - -<xsl:template match="corpauthor"> - <span class="{name(.)}"> - <xsl:apply-templates/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="jobtitle"> - <span class="{name(.)}"> - <xsl:apply-templates/> - </span> -</xsl:template> - -<xsl:template match="orgname"> - <span class="{name(.)}"> - <xsl:apply-templates/> - </span> -</xsl:template> - -<xsl:template match="orgdiv"> - <span class="{name(.)}"> - <xsl:apply-templates/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/inline.xsl b/stylesheets/docbook/html/inline.xsl deleted file mode 100644 index a392b0c2..00000000 --- a/stylesheets/docbook/html/inline.xsl +++ /dev/null @@ -1,986 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xlink='http://www.w3.org/1999/xlink' - exclude-result-prefixes="xlink" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template name="simple.xlink"> - <xsl:param name="node" select="."/> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - - <xsl:choose> - <xsl:when test="$node/@xlink:type='simple' and $node/@xlink:href"> - <a> - <xsl:if test="@xlink.title"> - <xsl:attribute name="title"> - <xsl:value-of select="@xlink:title"/> - </xsl:attribute> - </xsl:if> - - <xsl:attribute name="href"> - <xsl:choose> - <!-- if the href starts with # and does not contain an "(" --> - <!-- or if the href starts with #xpointer(id(, it's just an ID --> - <xsl:when test="starts-with(@xlink:href,'#') - and (not(contains(@xlink:href,'(')) - or starts-with(@xlink:href,'#xpointer(id('))"> - <xsl:variable name="idref"> - <xsl:call-template name="xpointer.idref"> - <xsl:with-param name="xpointer" select="@xlink:href"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="targets" select="key('id',$idref)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:choose> - <xsl:when test="count($target) = 0"> - <xsl:message> - <xsl:text>XLink to nonexistent id: </xsl:text> - <xsl:value-of select="$idref"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <!-- otherwise it's a URI --> - <xsl:otherwise> - <xsl:value-of select="@xlink:href"/> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - <xsl:copy-of select="$content"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$content"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="inline.charseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <xsl:copy-of select="$content"/> -</xsl:template> - -<xsl:template name="inline.monoseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <tt><xsl:copy-of select="$content"/></tt> -</xsl:template> - -<xsl:template name="inline.boldseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <!-- don't put <b> inside figure, example, or table titles --> - <xsl:choose> - <xsl:when test="local-name(..) = 'title' - and (local-name(../..) = 'figure' - or local-name(../..) = 'example' - or local-name(../..) = 'table')"> - <xsl:copy-of select="$content"/> - </xsl:when> - <xsl:otherwise> - <b><xsl:copy-of select="$content"/></b> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="inline.italicseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <i><xsl:copy-of select="$content"/></i> -</xsl:template> - -<xsl:template name="inline.boldmonoseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <!-- don't put <b> inside figure, example, or table titles --> - <!-- or other titles that may already be represented with <b>'s. --> - <xsl:choose> - <xsl:when test="local-name(..) = 'title' - and (local-name(../..) = 'figure' - or local-name(../..) = 'example' - or local-name(../..) = 'table' - or local-name(../..) = 'formalpara')"> - <tt><xsl:copy-of select="$content"/></tt> - </xsl:when> - <xsl:otherwise> - <b><tt><xsl:copy-of select="$content"/></tt></b> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="inline.italicmonoseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <i><tt><xsl:copy-of select="$content"/></tt></i> -</xsl:template> - -<xsl:template name="inline.superscriptseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <sup><xsl:copy-of select="$content"/></sup> -</xsl:template> - -<xsl:template name="inline.subscriptseq"> - <xsl:param name="content"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </xsl:param> - <sub><xsl:copy-of select="$content"/></sub> -</xsl:template> - -<!-- ==================================================================== --> -<!-- some special cases --> - -<xsl:template match="author"> - <span class="{name(.)}"><xsl:call-template name="person.name"/></span> -</xsl:template> - -<xsl:template match="editor"> - <span class="{name(.)}"><xsl:call-template name="person.name"/></span> -</xsl:template> - -<xsl:template match="othercredit"> - <span class="{name(.)}"><xsl:call-template name="person.name"/></span> -</xsl:template> - -<xsl:template match="authorinitials"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="accel"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="action"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="application"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="classname"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="exceptionname"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="interfacename"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="methodname"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="command"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="computeroutput"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="constant"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="database"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="errorcode"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="errorname"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="errortype"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="envar"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="filename"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="function"> - <xsl:choose> - <xsl:when test="$function.parens != '0' - and (parameter or function or replaceable)"> - <xsl:variable name="nodes" select="text()|*"/> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates select="$nodes[1]"/> - </xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - <xsl:text>(</xsl:text> - <xsl:apply-templates select="$nodes[position()>1]"/> - <xsl:text>)</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.monoseq"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="function/parameter" priority="2"> - <xsl:call-template name="inline.italicmonoseq"/> - <xsl:if test="following-sibling::*"> - <xsl:text>, </xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="function/replaceable" priority="2"> - <xsl:call-template name="inline.italicmonoseq"/> - <xsl:if test="following-sibling::*"> - <xsl:text>, </xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="guibutton"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="guiicon"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="guilabel"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="guimenu"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="guimenuitem"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="guisubmenu"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="hardware"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="interface"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="interfacedefinition"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="keycap"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="keycode"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="keysym"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="literal"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="medialabel"> - <xsl:call-template name="inline.italicseq"/> -</xsl:template> - -<xsl:template match="shortcut"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="mousebutton"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="option"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="parameter"> - <xsl:call-template name="inline.italicmonoseq"/> -</xsl:template> - -<xsl:template match="property"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="prompt"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="replaceable" priority="1"> - <xsl:call-template name="inline.italicmonoseq"/> -</xsl:template> - -<xsl:template match="returnvalue"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="structfield"> - <xsl:call-template name="inline.italicmonoseq"/> -</xsl:template> - -<xsl:template match="structname"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="symbol"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="systemitem"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="token"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="type"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="userinput"> - <xsl:call-template name="inline.boldmonoseq"/> -</xsl:template> - -<xsl:template match="abbrev"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="acronym"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="citerefentry"> - <xsl:choose> - <xsl:when test="$citerefentry.link != '0'"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="generate.citerefentry.link"/> - </xsl:attribute> - <xsl:call-template name="inline.charseq"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.charseq"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="generate.citerefentry.link"> - <!-- nop --> -</xsl:template> - -<xsl:template name="x.generate.citerefentry.link"> - <xsl:text>http://example.com/cgi-bin/man.cgi?</xsl:text> - <xsl:value-of select="refentrytitle"/> - <xsl:text>(</xsl:text> - <xsl:value-of select="manvolnum"/> - <xsl:text>)</xsl:text> -</xsl:template> - -<xsl:template match="citetitle"> - <xsl:choose> - <xsl:when test="@pubwork = 'article'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.italicseq"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="emphasis"> - <span> - <xsl:choose> - <xsl:when test="@role and $emphasis.propagates.style != 0"> - <xsl:attribute name="class"> - <xsl:value-of select="@role"/> - </xsl:attribute> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="class"> - <xsl:text>emphasis</xsl:text> - </xsl:attribute> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="anchor"/> - - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="@role = 'bold'"> - <!-- backwards compatibility: make bold into b elements, but --> - <!-- don't put bold inside figure, example, or table titles --> - <xsl:choose> - <xsl:when test="local-name(..) = 'title' - and (local-name(../..) = 'figure' - or local-name(../..) = 'example' - or local-name(../..) = 'table')"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <b><xsl:apply-templates/></b> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <i><xsl:apply-templates/></i> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </span> -</xsl:template> - -<xsl:template match="foreignphrase"> - <xsl:call-template name="inline.italicseq"/> -</xsl:template> - -<xsl:template match="markup"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="phrase"> - <span> - <xsl:if test="@role and $phrase.propagates.style != 0"> - <xsl:attribute name="class"> - <xsl:value-of select="@role"/> - </xsl:attribute> - </xsl:if> - <xsl:call-template name="anchor"/> - <xsl:call-template name="simple.xlink"> - <xsl:with-param name="content"> - <xsl:apply-templates/> - </xsl:with-param> - </xsl:call-template> - </span> -</xsl:template> - -<xsl:template match="quote"> - <xsl:variable name="depth"> - <xsl:call-template name="dot.count"> - <xsl:with-param name="string"><xsl:number level="multiple"/></xsl:with-param> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$depth mod 2 = 0"> - <xsl:call-template name="gentext.startquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.nestedstartquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.nestedendquote"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="varname"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="wordasword"> - <xsl:call-template name="inline.italicseq"/> -</xsl:template> - -<xsl:template match="lineannotation"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="superscript"> - <xsl:call-template name="inline.superscriptseq"/> -</xsl:template> - -<xsl:template match="subscript"> - <xsl:call-template name="inline.subscriptseq"/> -</xsl:template> - -<xsl:template match="trademark"> - <xsl:call-template name="inline.charseq"/> - <xsl:choose> - <xsl:when test="@class = 'copyright' - or @class = 'registered'"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat" select="@class"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="@class = 'service'"> - <sup>SM</sup> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat" select="'trademark'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="firstterm"> - <xsl:call-template name="glossterm"> - <xsl:with-param name="firstterm" select="1"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="glossterm" name="glossterm"> - <xsl:param name="firstterm" select="0"/> - - <xsl:choose> - - <xsl:when test="($firstterm.only.link = 0 or $firstterm = 1) and @linkend"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"> - <xsl:value-of select="@id"/> - </xsl:attribute> - </xsl:if> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:call-template name="inline.italicseq"/> - </a> - </xsl:when> - - <xsl:when test="not(@linkend) - and ($firstterm.only.link = 0 or $firstterm = 1) - and $glossary.collection != ''"> - <xsl:variable name="term"> - <xsl:choose> - <xsl:when test="@baseform"><xsl:value-of select="@baseform"/></xsl:when> - <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="cterm" - select="(document($glossary.collection,.)//glossentry[glossterm=$term])[1]"/> - - <!-- HACK HACK HACK! But it works... --> - <!-- You'd need to do more work if you wanted to chunk on glossdiv, though --> - - <xsl:variable name="glossary" select="//glossary[@role='auto']"/> - - <xsl:if test="count($glossary) != 1"> - <xsl:message> - <xsl:text>Warning: glossary.collection specified, but there are </xsl:text> - <xsl:value-of select="count($glossary)"/> - <xsl:text> automatic glossaries</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="glosschunk"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$glossary"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="chunkbase"> - <xsl:choose> - <xsl:when test="contains($glosschunk, '#')"> - <xsl:value-of select="substring-before($glosschunk, '#')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$glosschunk"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="not($cterm)"> - <xsl:message> - <xsl:text>There's no entry for </xsl:text> - <xsl:value-of select="$term"/> - <xsl:text> in </xsl:text> - <xsl:value-of select="$glossary.collection"/> - </xsl:message> - <xsl:call-template name="inline.italicseq"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="id"> - <xsl:text>gl.</xsl:text> - <xsl:choose> - <xsl:when test="$cterm/@id"> - <xsl:value-of select="$cterm/@id"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="generate-id($cterm)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <a href="{$chunkbase}#{$id}"> - <xsl:call-template name="inline.italicseq"/> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:when test="not(@linkend) - and ($firstterm.only.link = 0 or $firstterm = 1) - and $glossterm.auto.link != 0"> - <xsl:variable name="term"> - <xsl:choose> - <xsl:when test="@baseform"> - <xsl:value-of select="@baseform"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="targets" - select="//glossentry[glossterm=$term or glossterm/@baseform=$term]"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:choose> - <xsl:when test="count($targets)=0"> - <xsl:message> - <xsl:text>Error: no glossentry for glossterm: </xsl:text> - <xsl:value-of select="."/> - <xsl:text>.</xsl:text> - </xsl:message> - <xsl:call-template name="inline.italicseq"/> - </xsl:when> - <xsl:otherwise> - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"> - <xsl:value-of select="@id"/> - </xsl:attribute> - </xsl:if> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:call-template name="inline.italicseq"/> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:call-template name="inline.italicseq"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="sgmltag"> - <xsl:call-template name="format.sgmltag"/> -</xsl:template> - -<xsl:template name="format.sgmltag"> - <xsl:param name="class"> - <xsl:choose> - <xsl:when test="@class"> - <xsl:value-of select="@class"/> - </xsl:when> - <xsl:otherwise>element</xsl:otherwise> - </xsl:choose> - </xsl:param> - - <tt class="sgmltag-{$class}"> - <xsl:choose> - <xsl:when test="$class='attribute'"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="$class='attvalue'"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="$class='element'"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="$class='endtag'"> - <xsl:text></</xsl:text> - <xsl:apply-templates/> - <xsl:text>></xsl:text> - </xsl:when> - <xsl:when test="$class='genentity'"> - <xsl:text>&</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:when> - <xsl:when test="$class='numcharref'"> - <xsl:text>&#</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:when> - <xsl:when test="$class='paramentity'"> - <xsl:text>%</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:when> - <xsl:when test="$class='pi'"> - <xsl:text><?</xsl:text> - <xsl:apply-templates/> - <xsl:text>></xsl:text> - </xsl:when> - <xsl:when test="$class='xmlpi'"> - <xsl:text><?</xsl:text> - <xsl:apply-templates/> - <xsl:text>?></xsl:text> - </xsl:when> - <xsl:when test="$class='starttag'"> - <xsl:text><</xsl:text> - <xsl:apply-templates/> - <xsl:text>></xsl:text> - </xsl:when> - <xsl:when test="$class='emptytag'"> - <xsl:text><</xsl:text> - <xsl:apply-templates/> - <xsl:text>/></xsl:text> - </xsl:when> - <xsl:when test="$class='sgmlcomment'"> - <xsl:text><!--</xsl:text> - <xsl:apply-templates/> - <xsl:text>--></xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </tt> -</xsl:template> - -<xsl:template match="email"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><</xsl:text> - <a> - <xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute> - <xsl:apply-templates/> - </a> - <xsl:text>></xsl:text> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="keycombo"> - <xsl:variable name="action" select="@action"/> - <xsl:variable name="joinchar"> - <xsl:choose> - <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when> - <xsl:when test="$action='simul'">+</xsl:when> - <xsl:when test="$action='press'">-</xsl:when> - <xsl:when test="$action='click'">-</xsl:when> - <xsl:when test="$action='double-click'">-</xsl:when> - <xsl:when test="$action='other'"></xsl:when> - <xsl:otherwise>-</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:for-each select="*"> - <xsl:if test="position()>1"><xsl:value-of select="$joinchar"/></xsl:if> - <xsl:apply-templates select="."/> - </xsl:for-each> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="menuchoice"> - <xsl:variable name="shortcut" select="./shortcut"/> - <xsl:call-template name="process.menuchoice"/> - <xsl:if test="$shortcut"> - <xsl:text> (</xsl:text> - <xsl:apply-templates select="$shortcut"/> - <xsl:text>)</xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template name="process.menuchoice"> - <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) --> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="$count>count($nodelist)"></xsl:when> - <xsl:when test="$count=1"> - <xsl:apply-templates select="$nodelist[$count=position()]"/> - <xsl:call-template name="process.menuchoice"> - <xsl:with-param name="nodelist" select="$nodelist"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="node" select="$nodelist[$count=position()]"/> - <xsl:choose> - <xsl:when test="name($node)='guimenuitem' - or name($node)='guisubmenu'"> - <xsl:text>-></xsl:text> - </xsl:when> - <xsl:otherwise>+</xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="$node"/> - <xsl:call-template name="process.menuchoice"> - <xsl:with-param name="nodelist" select="$nodelist"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="optional"> - <xsl:value-of select="$arg.choice.opt.open.str"/> - <xsl:call-template name="inline.charseq"/> - <xsl:value-of select="$arg.choice.opt.close.str"/> -</xsl:template> - -<xsl:template match="citation"> - <!-- todo: biblio-citation-check --> - <xsl:text>[</xsl:text> - <xsl:call-template name="inline.charseq"/> - <xsl:text>]</xsl:text> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="comment|remark"> - <xsl:if test="$show.comments != 0"> - <i><xsl:call-template name="inline.charseq"/></i> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="productname"> - <xsl:call-template name="inline.charseq"/> - <xsl:if test="@class"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat" select="@class"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template match="productnumber"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="pob|street|city|state|postcode|country|otheraddr"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="phone|fax"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<!-- in Addresses, for example --> -<xsl:template match="honorific|firstname|surname|lineage|othername"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/keywords.xsl b/stylesheets/docbook/html/keywords.xsl deleted file mode 100644 index 013858ef..00000000 --- a/stylesheets/docbook/html/keywords.xsl +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template match="keywordset"></xsl:template> -<xsl:template match="subjectset"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="keywordset" mode="html.header"> - <meta name="keywords"> - <xsl:attribute name="content"> - <xsl:apply-templates select="keyword" mode="html.header"/> - </xsl:attribute> - </meta> -</xsl:template> - -<xsl:template match="keyword" mode="html.header"> - <xsl:apply-templates/> - <xsl:if test="following-sibling::keyword">, </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/lists.xsl b/stylesheets/docbook/html/lists.xsl deleted file mode 100644 index 74ccbd98..00000000 --- a/stylesheets/docbook/html/lists.xsl +++ /dev/null @@ -1,921 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="itemizedlist"> - <xsl:variable name="itemsymbol"> - <xsl:call-template name="list.itemsymbol"/> - </xsl:variable> - - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:if test="title"> - <xsl:apply-templates select="title"/> - </xsl:if> - <ul type="{$itemsymbol}"> - <xsl:if test="@spacing='compact'"> - <xsl:attribute name="compact"> - <xsl:value-of select="@spacing"/> - </xsl:attribute> - </xsl:if> - <xsl:apply-templates select="listitem"/> - </ul> - </div> -</xsl:template> - -<xsl:template match="itemizedlist/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="itemizedlist/listitem"> - <xsl:variable name="mark" select="../@mark"/> - <xsl:variable name="override" select="@override"/> - - <xsl:variable name="usemark"> - <xsl:choose> - <xsl:when test="$override != ''"> - <xsl:value-of select="$override"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$mark"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="cssmark"> - <xsl:choose> - <xsl:when test="$usemark = 'bullet'">disc</xsl:when> - <xsl:when test="$usemark = 'box'">square</xsl:when> - <xsl:otherwise> - <xsl:value-of select="$usemark"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <li> - <xsl:if test="$css.decoration = '1' and $cssmark != ''"> - <xsl:attribute name="style"> - <xsl:text>list-style-type: </xsl:text> - <xsl:value-of select="$cssmark"/> - </xsl:attribute> - </xsl:if> - - <!-- we can't just drop the anchor in since some browsers (Opera) - get confused about line breaks if we do. So if the first child - is a para, assume the para will put in the anchor. Otherwise, - put the anchor in anyway. --> - <xsl:if test="local-name(child::*[1]) != 'para'"> - <xsl:call-template name="anchor"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="$show.revisionflag and @revisionflag"> - <div class="{@revisionflag}"> - <xsl:apply-templates/> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </li> -</xsl:template> - -<xsl:template name="orderedlist-starting-number"> - <xsl:param name="list" select="."/> - <xsl:choose> - <xsl:when test="$list/@continuation != 'continues'">1</xsl:when> - <xsl:otherwise> - <xsl:variable name="prevlist" - select="$list/preceding::orderedlist[1]"/> - <xsl:choose> - <xsl:when test="count($prevlist) = 0">2</xsl:when> - <xsl:otherwise> - <xsl:variable name="prevlength" select="count($prevlist/listitem)"/> - <xsl:variable name="prevstart"> - <xsl:call-template name="orderedlist-starting-number"> - <xsl:with-param name="list" select="$prevlist"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="$prevstart + $prevlength"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="orderedlist"> - <xsl:variable name="start"> - <xsl:choose> - <xsl:when test="@continuation='continues'"> - <xsl:call-template name="orderedlist-starting-number"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="numeration"> - <xsl:call-template name="list.numeration"/> - </xsl:variable> - - <xsl:variable name="type"> - <xsl:choose> - <xsl:when test="$numeration='arabic'">1</xsl:when> - <xsl:when test="$numeration='loweralpha'">a</xsl:when> - <xsl:when test="$numeration='lowerroman'">i</xsl:when> - <xsl:when test="$numeration='upperalpha'">A</xsl:when> - <xsl:when test="$numeration='upperroman'">I</xsl:when> - <!-- What!? This should never happen --> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unexpected numeration: </xsl:text> - <xsl:value-of select="$numeration"/> - </xsl:message> - <xsl:value-of select="1"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:if test="title"> - <xsl:apply-templates select="title"/> - </xsl:if> - <ol> - <xsl:if test="$start != '1'"> - <xsl:attribute name="start"> - <xsl:value-of select="$start"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$numeration != ''"> - <xsl:attribute name="type"> - <xsl:value-of select="$type"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@spacing='compact'"> - <xsl:attribute name="compact"> - <xsl:value-of select="compact"/> - </xsl:attribute> - </xsl:if> - <xsl:apply-templates select="listitem"/> - </ol> - </div> -</xsl:template> - -<xsl:template match="orderedlist/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="orderedlist/listitem"> - <li> - <xsl:if test="@override"> - <xsl:attribute name="value"> - <xsl:value-of select="@override"/> - </xsl:attribute> - </xsl:if> - - <!-- we can't just drop the anchor in since some browsers (Opera) - get confused about line breaks if we do. So if the first child - is a para, assume the para will put in the anchor. Otherwise, - put the anchor in anyway. --> - <xsl:if test="local-name(child::*[1]) != 'para'"> - <xsl:call-template name="anchor"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="$show.revisionflag and @revisionflag"> - <div class="{@revisionflag}"> - <xsl:apply-templates/> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </li> -</xsl:template> - -<xsl:template match="variablelist"> - <xsl:variable name="pi-presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-presentation'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="presentation"> - <xsl:choose> - <xsl:when test="$pi-presentation != ''"> - <xsl:value-of select="$pi-presentation"/> - </xsl:when> - <xsl:when test="$variablelist.as.table != 0"> - <xsl:value-of select="'table'"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="'list'"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="list-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-width'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="term-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-width'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="table-summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> - </xsl:variable> - - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:if test="title"> - <xsl:apply-templates select="title"/> - </xsl:if> - - <xsl:choose> - <xsl:when test="$presentation = 'table'"> - <table border="0"> - <xsl:if test="$list-width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="$list-width"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$table-summary != ''"> - <xsl:attribute name="summary"> - <xsl:value-of select="$table-summary"/> - </xsl:attribute> - </xsl:if> - <col align="left"> - <xsl:if test="$term-width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="$term-width"/> - </xsl:attribute> - </xsl:if> - </col> - <tbody> - <xsl:apply-templates select="varlistentry" mode="varlist-table"/> - </tbody> - </table> - </xsl:when> - <xsl:otherwise> - <dl> - <xsl:apply-templates select="varlistentry"/> - </dl> - </xsl:otherwise> - </xsl:choose> - </div> -</xsl:template> - -<xsl:template match="variablelist/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="listitem" mode="xref"> - <xsl:number format="1"/> -</xsl:template> - -<xsl:template match="listitem/simpara" priority="2"> - <!-- If a listitem contains only a single simpara, don't output - the <p> wrapper; this has the effect of creating an li - with simple text content. --> - <xsl:choose> - <xsl:when test="not(preceding-sibling::*) - and not (following-sibling::*)"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <p> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </p> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="varlistentry"> - <dt> - <xsl:call-template name="anchor"/> - <xsl:apply-templates select="term"/> - </dt> - <dd> - <xsl:apply-templates select="listitem"/> - </dd> -</xsl:template> - -<xsl:template match="varlistentry" mode="varlist-table"> - <xsl:variable name="presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="../processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-presentation'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="separator"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="../processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-separator'"/> - </xsl:call-template> - </xsl:variable> - <tr> - <td> - <xsl:call-template name="anchor"/> - <xsl:choose> - <xsl:when test="$presentation = 'bold'"> - <b> - <xsl:apply-templates select="term"/> - <xsl:value-of select="$separator"/> - </b> - </xsl:when> - <xsl:when test="$presentation = 'italic'"> - <i> - <xsl:apply-templates select="term"/> - <xsl:value-of select="$separator"/> - </i> - </xsl:when> - <xsl:when test="$presentation = 'bold-italic'"> - <b> - <i> - <xsl:apply-templates select="term"/> - <xsl:value-of select="$separator"/> - </i> - </b> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="term"/> - <xsl:value-of select="$separator"/> - </xsl:otherwise> - </xsl:choose> - </td> - <td> - <xsl:apply-templates select="listitem"/> - </td> - </tr> -</xsl:template> - -<xsl:template match="varlistentry/term"> - <span class="term"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - <xsl:text>, </xsl:text> - </span> -</xsl:template> - -<xsl:template match="varlistentry/term[position()=last()]" priority="2"> - <span class="term"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </span> -</xsl:template> - -<xsl:template match="varlistentry/listitem"> - <xsl:choose> - <xsl:when test="$show.revisionflag and @revisionflag"> - <div class="{@revisionflag}"> - <xsl:apply-templates/> - </div> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="simplelist"> - <!-- with no type specified, the default is 'vert' --> - <xsl:call-template name="anchor"/> - <table class="simplelist" border="0" summary="Simple list"> - <xsl:call-template name="simplelist.vert"> - <xsl:with-param name="cols"> - <xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </table> -</xsl:template> - -<xsl:template match="simplelist[@type='inline']"> - <span class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </span> -</xsl:template> - -<xsl:template match="simplelist[@type='horiz']"> - <xsl:call-template name="anchor"/> - <table class="simplelist" border="0" summary="Simple list"> - <xsl:call-template name="simplelist.horiz"> - <xsl:with-param name="cols"> - <xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </table> -</xsl:template> - -<xsl:template match="simplelist[@type='vert']"> - <xsl:call-template name="anchor"/> - <table class="simplelist" border="0" summary="Simple list"> - <xsl:call-template name="simplelist.vert"> - <xsl:with-param name="cols"> - <xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </table> -</xsl:template> - -<xsl:template name="simplelist.horiz"> - <xsl:param name="cols">1</xsl:param> - <xsl:param name="cell">1</xsl:param> - <xsl:param name="members" select="./member"/> - - <xsl:if test="$cell <= count($members)"> - <tr> - <xsl:call-template name="simplelist.horiz.row"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="cell" select="$cell"/> - <xsl:with-param name="members" select="$members"/> - </xsl:call-template> - </tr> - <xsl:call-template name="simplelist.horiz"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="cell" select="$cell + $cols"/> - <xsl:with-param name="members" select="$members"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="simplelist.horiz.row"> - <xsl:param name="cols">1</xsl:param> - <xsl:param name="cell">1</xsl:param> - <xsl:param name="members" select="./member"/> - <xsl:param name="curcol">1</xsl:param> - - <xsl:if test="$curcol <= $cols"> - <td> - <xsl:choose> - <xsl:when test="$members[position()=$cell]"> - <xsl:apply-templates select="$members[position()=$cell]"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$using.chunker != 0"> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </td> - <xsl:call-template name="simplelist.horiz.row"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="cell" select="$cell+1"/> - <xsl:with-param name="members" select="$members"/> - <xsl:with-param name="curcol" select="$curcol+1"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="simplelist.vert"> - <xsl:param name="cols">1</xsl:param> - <xsl:param name="cell">1</xsl:param> - <xsl:param name="members" select="./member"/> - <xsl:param name="rows" - select="floor((count($members)+$cols - 1) div $cols)"/> - - <xsl:if test="$cell <= $rows"> - <tr> - <xsl:call-template name="simplelist.vert.row"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="rows" select="$rows"/> - <xsl:with-param name="cell" select="$cell"/> - <xsl:with-param name="members" select="$members"/> - </xsl:call-template> - </tr> - <xsl:call-template name="simplelist.vert"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="cell" select="$cell+1"/> - <xsl:with-param name="members" select="$members"/> - <xsl:with-param name="rows" select="$rows"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="simplelist.vert.row"> - <xsl:param name="cols">1</xsl:param> - <xsl:param name="rows">1</xsl:param> - <xsl:param name="cell">1</xsl:param> - <xsl:param name="members" select="./member"/> - <xsl:param name="curcol">1</xsl:param> - - <xsl:if test="$curcol <= $cols"> - <td> - <xsl:choose> - <xsl:when test="$members[position()=$cell]"> - <xsl:apply-templates select="$members[position()=$cell]"/> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="$using.chunker != 0"> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </td> - <xsl:call-template name="simplelist.vert.row"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="rows" select="$rows"/> - <xsl:with-param name="cell" select="$cell+$rows"/> - <xsl:with-param name="members" select="$members"/> - <xsl:with-param name="curcol" select="$curcol+1"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template match="member"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="simplelist[@type='inline']/member"> - <xsl:apply-templates/> - <xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="simplelist[@type='inline']/member[position()=last()]" - priority="2"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="procedure"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:if test="title or $formal.procedures != 0"> - <xsl:call-template name="formal.object.heading"/> - </xsl:if> - <xsl:apply-templates select="*[local-name()!='step']"/> - - <xsl:choose> - <xsl:when test="count(step) = 1"> - <ul> - <xsl:apply-templates select="step"/> - </ul> - </xsl:when> - <xsl:otherwise> - <ol> - <xsl:attribute name="type"> - <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/> - </xsl:attribute> - <xsl:apply-templates select="step"/> - </ol> - </xsl:otherwise> - </xsl:choose> - </div> -</xsl:template> - -<xsl:template match="procedure/title"> -</xsl:template> - -<xsl:template match="title" mode="procedure.title.mode"> - <p> - <b> - <xsl:apply-templates/> - </b> - </p> -</xsl:template> - -<xsl:template match="substeps"> - <xsl:variable name="numeration"> - <xsl:call-template name="procedure.step.numeration"/> - </xsl:variable> - - <xsl:call-template name="anchor"/> - - <ol type="{$numeration}"> - <xsl:apply-templates/> - </ol> -</xsl:template> - -<xsl:template match="step"> - <li> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </li> -</xsl:template> - -<xsl:template match="step/title"> - <xsl:apply-templates select="." mode="procedure.title.mode"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="segmentedlist"> - <xsl:variable name="presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-presentation'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="anchor"/> - - <xsl:choose> - <xsl:when test="$presentation = 'table'"> - <xsl:apply-templates select="." mode="seglist-table"/> - </xsl:when> - <xsl:when test="$presentation = 'list'"> - <xsl:apply-templates/> - </xsl:when> - <xsl:when test="$segmentedlist.as.table != 0"> - <xsl:apply-templates select="." mode="seglist-table"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="segmentedlist/title"> - <p><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="segtitle"> -</xsl:template> - -<xsl:template match="segtitle" mode="segtitle-in-seg"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="seglistitem"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="seg"> - <xsl:variable name="segnum" select="position()"/> - <xsl:variable name="seglist" select="ancestor::segmentedlist"/> - <xsl:variable name="segtitles" select="$seglist/segtitle"/> - - <!-- - Note: segtitle is only going to be the right thing in a well formed - SegmentedList. If there are too many Segs or too few SegTitles, - you'll get something odd...maybe an error - --> - - <p> - <b> - <xsl:apply-templates select="$segtitles[$segnum=position()]" - mode="segtitle-in-seg"/> - <xsl:text>: </xsl:text> - </b> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="segmentedlist" mode="seglist-table"> - <xsl:variable name="table-summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="list-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-width'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates select="title" mode="seglist-table"/> - <table border="0"> - <xsl:if test="$list-width != ''"> - <xsl:attribute name="width"> - <xsl:value-of select="$list-width"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$table-summary != ''"> - <xsl:attribute name="summary"> - <xsl:value-of select="$table-summary"/> - </xsl:attribute> - </xsl:if> - <thead> - <tr> - <xsl:apply-templates select="segtitle" mode="seglist-table"/> - </tr> - </thead> - <tbody> - <xsl:apply-templates select="seglistitem" mode="seglist-table"/> - </tbody> - </table> -</xsl:template> - -<xsl:template match="segtitle" mode="seglist-table"> - <th><xsl:apply-templates/></th> -</xsl:template> - -<xsl:template match="seglistitem" mode="seglist-table"> - <tr> - <xsl:apply-templates mode="seglist-table"/> - </tr> -</xsl:template> - -<xsl:template match="seg" mode="seglist-table"> - <td><xsl:apply-templates/></td> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="calloutlist"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:if test="./title"> - <p> - <b> - <xsl:apply-templates select="./title" mode="calloutlist.title.mode"/> - </b> - </p> - </xsl:if> - <xsl:choose> - <xsl:when test="$callout.list.table != 0"> - <table border="0" summary="Callout list"> - <xsl:apply-templates/> - </table> - </xsl:when> - <xsl:otherwise> - <dl compact="compact"><xsl:apply-templates/></dl> - </xsl:otherwise> - </xsl:choose> - </div> -</xsl:template> - -<xsl:template match="calloutlist/title"> -</xsl:template> - -<xsl:template match="calloutlist/title" mode="calloutlist.title.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="callout"> - <xsl:choose> - <xsl:when test="$callout.list.table != 0"> - <tr> - <td width="5%" valign="top" align="left"> - <xsl:call-template name="anchor"/> - <xsl:call-template name="callout.arearefs"> - <xsl:with-param name="arearefs" select="@arearefs"/> - </xsl:call-template> - </td> - <td valign="top" align="left"> - <xsl:apply-templates/> - </td> - </tr> - </xsl:when> - <xsl:otherwise> - <dt> - <xsl:call-template name="anchor"/> - <xsl:call-template name="callout.arearefs"> - <xsl:with-param name="arearefs" select="@arearefs"/> - </xsl:call-template> - </dt> - <dd><xsl:apply-templates/></dd> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="callout.arearefs"> - <xsl:param name="arearefs"></xsl:param> - <xsl:if test="$arearefs!=''"> - <xsl:choose> - <xsl:when test="substring-before($arearefs,' ')=''"> - <xsl:call-template name="callout.arearef"> - <xsl:with-param name="arearef" select="$arearefs"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="callout.arearef"> - <xsl:with-param name="arearef" - select="substring-before($arearefs,' ')"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="callout.arearefs"> - <xsl:with-param name="arearefs" - select="substring-after($arearefs,' ')"/> - </xsl:call-template> - </xsl:if> -</xsl:template> - -<xsl:template name="callout.arearef"> - <xsl:param name="arearef"></xsl:param> - <xsl:variable name="targets" select="key('id',$arearef)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="$arearef"/> - </xsl:call-template> - - <xsl:choose> - <xsl:when test="count($target)=0"> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:when test="local-name($target)='co'"> - <a> - <xsl:attribute name="href"> - <xsl:text>#</xsl:text> - <xsl:value-of select="$arearef"/> - </xsl:attribute> - <xsl:apply-templates select="$target" mode="callout-bug"/> - </a> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:when test="local-name($target)='areaset'"> - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:apply-templates select="$target" mode="conumber"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="local-name($target)='area'"> - <xsl:choose> - <xsl:when test="$target/parent::areaset"> - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:apply-templates select="$target/parent::areaset" - mode="conumber"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="callout-bug"> - <xsl:with-param name="conum"> - <xsl:apply-templates select="$target" mode="conumber"/> - </xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/math.xsl b/stylesheets/docbook/html/math.xsl deleted file mode 100644 index d640d5c3..00000000 --- a/stylesheets/docbook/html/math.xsl +++ /dev/null @@ -1,234 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template match="inlineequation"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="alt"> -</xsl:template> - -<!-- Support for TeX math in alt --> - -<xsl:template match="*" mode="collect.tex.math"> - <xsl:call-template name="write.text.chunk"> - <xsl:with-param name="filename" select="$tex.math.file"/> - <xsl:with-param name="method" select="'text'"/> - <xsl:with-param name="content"> - <xsl:choose> - <xsl:when test="$tex.math.in.alt = 'plain'"> - <xsl:call-template name="tex.math.plain.head"/> - <xsl:apply-templates select="." mode="collect.tex.math.plain"/> - <xsl:call-template name="tex.math.plain.tail"/> - </xsl:when> - <xsl:when test="$tex.math.in.alt = 'latex'"> - <xsl:call-template name="tex.math.latex.head"/> - <xsl:apply-templates select="." mode="collect.tex.math.latex"/> - <xsl:call-template name="tex.math.latex.tail"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - Unsupported TeX math notation: - <xsl:value-of select="$tex.math.in.alt"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - <xsl:with-param name="encoding" select="$default.encoding"/> - </xsl:call-template> -</xsl:template> - -<!-- PlainTeX --> - -<xsl:template name="tex.math.plain.head"> - <xsl:text>\nopagenumbers 
</xsl:text> -</xsl:template> - -<xsl:template name="tex.math.plain.tail"> - <xsl:text>\bye 
</xsl:text> -</xsl:template> - -<xsl:template match="inlineequation" mode="collect.tex.math.plain"> - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="graphic"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="graphic"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject.filename"> - <xsl:with-param name="olist" select="inlinemediaobject/*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\special{dvi2bitmap outputfile </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:text>} 
</xsl:text> - <xsl:text>$</xsl:text> - <xsl:value-of select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/> - <xsl:text>$ 
</xsl:text> - <xsl:text>\vfill\eject 
</xsl:text> -</xsl:template> - -<xsl:template match="equation|informalequation" mode="collect.tex.math.plain"> - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="graphic"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="graphic"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject.filename"> - <xsl:with-param name="olist" select="mediaobject/*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\special{dvi2bitmap outputfile </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:text>} 
</xsl:text> - <xsl:text>$$</xsl:text> - <xsl:value-of select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/> - <xsl:text>$$ 
</xsl:text> - <xsl:text>\vfill\eject 
</xsl:text> -</xsl:template> - -<xsl:template match="text()" mode="collect.tex.math.plain"/> - -<!-- LaTeX --> - -<xsl:template name="tex.math.latex.head"> - <xsl:text>\documentclass{article} 
</xsl:text> - <xsl:text>\pagestyle{empty} 
</xsl:text> - <xsl:text>\begin{document} 
</xsl:text> -</xsl:template> - -<xsl:template name="tex.math.latex.tail"> - <xsl:text>\end{document} 
</xsl:text> -</xsl:template> - -<xsl:template match="inlineequation" mode="collect.tex.math.latex"> - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="graphic"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="graphic"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject.filename"> - <xsl:with-param name="olist" select="inlinemediaobject/*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\special{dvi2bitmap outputfile </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:text>} 
</xsl:text> - <xsl:text>$</xsl:text> - <xsl:value-of select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/> - <xsl:text>$ 
</xsl:text> - <xsl:text>\newpage 
</xsl:text> -</xsl:template> - -<xsl:template match="equation|informalequation" mode="collect.tex.math.latex"> - <xsl:variable name="filename"> - <xsl:choose> - <xsl:when test="graphic"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="graphic"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject.filename"> - <xsl:with-param name="olist" select="mediaobject/*"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\special{dvi2bitmap outputfile </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:text>} 
</xsl:text> - <xsl:text>$$</xsl:text> - <xsl:value-of select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/> - <xsl:text>$$ 
</xsl:text> - <xsl:text>\newpage 
</xsl:text> -</xsl:template> - -<xsl:template match="text()" mode="collect.tex.math.latex"/> - -<!-- Extracting image filename from mediaobject and graphic elements --> - -<xsl:template name="select.mediaobject.filename"> - <xsl:param name="olist" - select="imageobject|imageobjectco - |videoobject|audioobject|textobject"/> - <xsl:param name="count">1</xsl:param> - - <xsl:if test="$count <= count($olist)"> - <xsl:variable name="object" select="$olist[position()=$count]"/> - - <xsl:variable name="useobject"> - <xsl:choose> - <!-- The phrase is never used --> - <xsl:when test="name($object)='textobject' and $object/phrase"> - <xsl:text>0</xsl:text> - </xsl:when> - <!-- The first textobject is not a reasonable fallback for equation image --> - <xsl:when test="name($object)='textobject'"> - <xsl:text>0</xsl:text> - </xsl:when> - <!-- If there's only one object, use it --> - <xsl:when test="$count = 1 and count($olist) = 1"> - <xsl:text>1</xsl:text> - </xsl:when> - <!-- Otherwise, see if this one is a useable graphic --> - <xsl:otherwise> - <xsl:choose> - <!-- peek inside imageobjectco to simplify the test --> - <xsl:when test="local-name($object) = 'imageobjectco'"> - <xsl:call-template name="is.acceptable.mediaobject"> - <xsl:with-param name="object" select="$object/imageobject"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="is.acceptable.mediaobject"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$useobject='1'"> - <xsl:call-template name="mediaobject.filename"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="select.mediaobject"> - <xsl:with-param name="olist" select="$olist"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:if> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/oldchunker.xsl b/stylesheets/docbook/html/oldchunker.xsl deleted file mode 100644 index 9f9f2bad..00000000 --- a/stylesheets/docbook/html/oldchunker.xsl +++ /dev/null @@ -1,190 +0,0 @@ -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:saxon="http://icl.com/saxon" - xmlns:lxslt="http://xml.apache.org/xslt" - xmlns:xalanredirect="org.apache.xalan.xslt.extensions.Redirect" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.1" - exclude-result-prefixes="doc" - extension-element-prefixes="saxon xalanredirect lxslt"> - -<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunker.xsl --> - -<!-- ==================================================================== --> - -<xsl:param name="default.encoding" select="'ISO-8859-1'" doc:type='string'/> - -<doc:param name="default.encoding" xmlns=""> -<refpurpose>Encoding used in generated HTML pages</refpurpose> -<refdescription> -<para>This encoding is used in files generated by chunking stylesheet. Currently -only Saxon is able to change output encoding. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> - -<xsl:param name="saxon.character.representation" select="'entity;decimal'" doc:type='string'/> - -<doc:param name="saxon.character.representation" xmlns=""> -<refpurpose>Saxon character representation used in generated HTML pages</refpurpose> -<refdescription> -<para>This character representation is used in files generated by chunking stylesheet. If -you want to suppress entity references for characters with direct representation -in default.encoding, set this parameter to value <literal>native</literal>. -</para> -</refdescription> -</doc:param> - -<!-- ==================================================================== --> - -<xsl:template name="make-relative-filename"> - <xsl:param name="base.dir" select="'./'"/> - <xsl:param name="base.name" select="''"/> - - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON')"> - <!-- Saxon doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache')"> - <!-- Xalan doesn't make the chunks relative --> - <xsl:value-of select="concat($base.dir,$base.name)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>Chunking isn't supported with </xsl:text> - <xsl:value-of select="$vendor"/> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'html'"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="content" select="''"/> - - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:if test="@id"> - <xsl:text>(</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>)</xsl:text> - </xsl:if> - </xsl:if> - </xsl:message> - - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON 6.2')"> - <!-- Saxon 6.2.x uses xsl:document --> - <xsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </xsl:document> - </xsl:when> - <xsl:when test="contains($vendor, 'SAXON')"> - <!-- Saxon uses saxon:output --> - <saxon:output file="{$filename}" - href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="$vendor"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="write.chunk.with.doctype"> - <xsl:param name="filename" select="''"/> - <xsl:param name="method" select="'html'"/> - <xsl:param name="encoding" select="$default.encoding"/> - <xsl:param name="indent" select="'no'"/> - <xsl:param name="doctype-public" select="''"/> - <xsl:param name="doctype-system" select="''"/> - <xsl:param name="content" select="''"/> - - <xsl:message> - <xsl:text>Writing </xsl:text> - <xsl:value-of select="$filename"/> - <xsl:if test="name(.) != ''"> - <xsl:text> for </xsl:text> - <xsl:value-of select="name(.)"/> - </xsl:if> - </xsl:message> - - <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> - - <xsl:choose> - <xsl:when test="contains($vendor, 'SAXON 6.2')"> - <!-- Saxon 6.2.x uses xsl:document --> - <xsl:document href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </xsl:document> - </xsl:when> - <xsl:when test="contains($vendor, 'SAXON')"> - <!-- Saxon uses saxon:output --> - <saxon:output file="{$filename}" - href="{$filename}" - method="{$method}" - encoding="{$encoding}" - indent="{$indent}" - doctype-public="{$doctype-public}" - doctype-system="{$doctype-system}" - saxon:character-representation="{$saxon.character.representation}"> - <xsl:copy-of select="$content"/> - </saxon:output> - </xsl:when> - <xsl:when test="contains($vendor, 'Apache')"> - <!-- Xalan uses xalanredirect --> - <xalanredirect:write file="{$filename}"> - <xsl:copy-of select="$content"/> - </xalanredirect:write> - </xsl:when> - <xsl:otherwise> - <!-- it doesn't matter since we won't be making chunks... --> - <xsl:message terminate="yes"> - <xsl:text>Can't make chunks with </xsl:text> - <xsl:value-of select="$vendor"/> - <xsl:text>'s processor.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/onechunk.xsl b/stylesheets/docbook/html/onechunk.xsl deleted file mode 100644 index 50ae1a1d..00000000 --- a/stylesheets/docbook/html/onechunk.xsl +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - version="1.0" - exclude-result-prefixes="doc"> - -<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunk.xsl --> -<!-- This stylesheet should also work for any processor that supports --> -<!-- exslt:document() (see http://www.exslt.org/) --> - -<xsl:import href="autoidx.xsl"/> -<xsl:include href="chunk-common.xsl"/> -<xsl:include href="chunker.xsl"/> - -<!-- ==================================================================== --> -<!-- What's a chunk? - - The root element (that's it in this version) - --> -<!-- ==================================================================== --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - - <xsl:choose> - <xsl:when test="not($node/parent::*)">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="set|book|part|preface|chapter|appendix - |article - |reference|refentry - |book/glossary|article/glossary - |book/bibliography|article/bibliography - |sect1|/section|section - |setindex|book/index|article/index - |colophon" priority="2"> - <xsl:variable name="ischunk"> - <xsl:call-template name="chunk"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$ischunk = 1"> - <xsl:call-template name="process-chunk-element"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-imports/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/param.xml b/stylesheets/docbook/html/param.xml deleted file mode 100644 index 55a202c2..00000000 --- a/stylesheets/docbook/html/param.xml +++ /dev/null @@ -1,3900 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- This file was generated by weave.xsl version 0.00+. Do not edit! --> -<!-- See http://sourceforge.net/projects/docbook/ --> -<!DOCTYPE book - PUBLIC "-//DocBook Open Repository//DTD DocBook Literate Programming V0.0//EN" "http://docbook.sourceforge.net/release/litprog/current/dtd/ldocbook.dtd"> -<book xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> -<bookinfo> -<title>HTML Parameter Reference</title> -<releaseinfo role="meta"> -$Id$ -</releaseinfo> -<author> - <surname>Walsh</surname> - <firstname>Norman</firstname> -</author> -<copyright> - <year>1999</year> - <year>2000</year> - <year>2001</year> - <holder>Norman Walsh</holder> -</copyright> -</bookinfo> - -<preface><title>Introduction</title> - -<para>This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets.</para> - -<para>This reference describes each of the HTML Stylesheet parameters. -These are the <quote>easily customizable</quote> parts of the stylesheet. -If you want to specify an alternate value for one or more of these -parameters, you can do so in a <quote>driver</quote> stylesheet.</para> - -<para>For example, if you want to change the <literal>html.stylesheet</literal> -to <filename>reference.css</filename>, you might create a driver -stylesheet like this:</para> - -<programlisting><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - - <xsl:import href="http://docbook.sourceforge.net/release/xsl/snapshot/html/docbook.xsl"/> - - <xsl:param name="html.stylesheet">reference.css</xsl:param> - -</xsl:stylesheet></programlisting> - -<para>Naturally, you have to change the -<sgmltag class="attribute">href</sgmltag> attribute on -<literal><xsl:import></literal> to point to -<filename>docbook.xsl</filename> on your system. (Or -<filename>chunk.xsl</filename>, if you're using chunking.)</para> - -<para>This is not intended to be <quote>user</quote> documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in <quote>how it -works</quote>.</para> - -<para>Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-)</para> -</preface> - -<reference><title>Admonitions</title> -<refentry id="admon.graphics.extension"> -<refmeta> -<refentrytitle>admon.graphics.extension</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>admon.graphics.extension</refname> -<refpurpose>Extension for admonition graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="admon.graphics.extension.frag"><xsl:param name="admon.graphics.extension" - select="'.png'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the extension to use on admonition graphics.</para> - -</refsect1> -</refentry> - -<refentry id="admon.graphics.path"> -<refmeta> -<refentrytitle>admon.graphics.path</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>admon.graphics.path</refname> -<refpurpose>Path to admonition graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="admon.graphics.path.frag"><xsl:param name="admon.graphics.path">images/</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the path, probably relative to the directory where the HTML -files are created, to the admonition graphics. -</para> - -</refsect1> -</refentry> - -<refentry id="admon.graphics"> -<refmeta> -<refentrytitle>admon.graphics</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>admon.graphics</refname> -<refpurpose>Use graphics in admonitions?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="admon.graphics.frag"><xsl:param name="admon.graphics" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), admonitions are presented in an alternate style that uses -a graphic. Default graphics are provided in the distribution. -</para> - -</refsect1> -</refentry> - -<refentry id="admon.style"> -<refmeta> -<refentrytitle>admon.style</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>admon.style</refname> -<refpurpose>CSS style attributes for admonitions</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="admon.style.frag"><xsl:param name="admon.style"> - <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text> -</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specifies the value of the <sgmltag class="attribute">STYLE</sgmltag> -attribute that should be added to admonitions. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Callouts</title> -<refentry id="callout.defaultcolumn"> -<refmeta> -<refentrytitle>callout.defaultcolumn</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.defaultcolumn</refname> -<refpurpose>Indicates what column callouts appear in by default</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.defaultcolumn.frag"><xsl:param name="callout.defaultcolumn" - select="'60'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If a callout does not identify a column (for example, if it uses -the <literal>linerange</literal> <sgmltag class="attribute">unit</sgmltag>), -it will appear in the default column. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.graphics.extension"> -<refmeta> -<refentrytitle>callout.graphics.extension</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.graphics.extension</refname> -<refpurpose>Extension for callout graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.graphics.extension.frag"><xsl:param name="callout.graphics.extension" - select="'.png'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the extension to use on callout graphics.</para> - -</refsect1> -</refentry> - -<refentry id="callout.graphics.number.limit"> -<refmeta> -<refentrytitle>callout.graphics.number.limit</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.graphics.number.limit</refname> -<refpurpose>Number of the largest callout graphic</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.graphics.number.limit.frag"><xsl:param name="callout.graphics.number.limit" - select="'10'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>callout.graphics</parameter> -is non-zero, graphics are used to represent -callout numbers. The value of -<parameter>callout.graphics.number.limit</parameter> -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.graphics.path"> -<refmeta> -<refentrytitle>callout.graphics.path</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.graphics.path</refname> -<refpurpose>Path to callout graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.graphics.path.frag"><xsl:param name="callout.graphics.path" - select="'images/callouts/'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the path, probably relative to the directory where the HTML -files are created, to the callout graphics. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.graphics"> -<refmeta> -<refentrytitle>callout.graphics</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.graphics</refname> -<refpurpose>Use graphics for callouts?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.graphics.frag"><xsl:param name="callout.graphics" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, callouts are presented with graphics (e.g., reverse-video -circled numbers instead of "(1)", "(2)", etc.). -Default graphics are provided in the distribution. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.list.table"> -<refmeta> -<refentrytitle>callout.list.table</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.list.table</refname> -<refpurpose>Present callout lists using a table?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.list.table.frag"><xsl:param name="callout.list.table" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The default presentation of <sgmltag>CalloutList</sgmltag>s uses -an HTML <sgmltag>DL</sgmltag>. Some browsers don't align DLs very well -if <parameter>callout.graphics</parameter> are used. With this option -turned on, <sgmltag>CalloutList</sgmltag>s are presented in an HTML -<sgmltag>TABLE</sgmltag>, which usually results in better alignment -of the callout number with the callout description.</para> - -</refsect1> -</refentry> - -<refentry id="callout.unicode.number.limit"> -<refmeta> -<refentrytitle>callout.unicode.number.limit</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.unicode.number.limit</refname> -<refpurpose>Number of the largest callout graphic</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.unicode.number.limit.frag"><xsl:param name="callout.unicode.number.limit" - select="'10'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>callout.graphics</parameter> -is non-zero, graphics are used to represent -callout numbers. The value of -<parameter>callout.graphics.number.limit</parameter> -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.unicode.start.character"> -<refmeta> -<refentrytitle>callout.unicode.start.character</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.unicode.start.character</refname> -<refpurpose>First Unicode character to use, decimal value.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.unicode.start.character.frag"><xsl:param name="callout.unicode.start.character" - select="10102"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>callout.graphics</parameter> -is non-zero, graphics are used to represent -callout numbers. The value of -<parameter>callout.graphics.number.limit</parameter> -is -the largest number for which a graphic exists. If the callout number -exceeds this limit, the default presentation "(nnn)" will always -be used. -</para> - -</refsect1> -</refentry> - -<refentry id="callout.unicode"> -<refmeta> -<refentrytitle>callout.unicode</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callout.unicode</refname> -<refpurpose>Use Unicode characters rather than images for callouts.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callout.unicode.frag"><xsl:param name="callout.unicode" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option. -</para> - -</refsect1> -</refentry> - -<refentry id="callouts.extension"> -<refmeta> -<refentrytitle>callouts.extension</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>callouts.extension</refname> -<refpurpose>Enable the callout extension</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="callouts.extension.frag"><xsl:param name="callouts.extension" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The callouts extension processes <sgmltag>areaset</sgmltag> -elements in <sgmltag>ProgramListingCO</sgmltag> and other text-based -callout elements. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>EBNF</title> -<refentry id="ebnf.table.bgcolor"> -<refmeta> -<refentrytitle>ebnf.table.bgcolor</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>ebnf.table.bgcolor</refname> -<refpurpose>Background color for EBNF tables</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="ebnf.table.bgcolor.frag"><xsl:param name="ebnf.table.bgcolor" - select="'#F5DCB3'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the background color for EBNF tables. No <sgmltag>bgcolor</sgmltag> -attribute is output if <varname>ebnf.table.bgcolor</varname> is set to -the null string. The default value matches the value used in recent -online versions of the W3C's XML Spec productions.</para> - -</refsect1> -</refentry> - -<refentry id="ebnf.table.border"> -<refmeta> -<refentrytitle>ebnf.table.border</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>ebnf.table.border</refname> -<refpurpose>Selects border on EBNF tables</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="ebnf.table.border.frag"><xsl:param name="ebnf.table.border" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Selects the border on EBNF tables. If non-zero, the tables have -borders, otherwise they don't.</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>ToC/LoT/Index Generation</title> -<refentry id="annotate.toc"> -<refmeta> -<refentrytitle>annotate.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>annotate.toc</refname> -<refpurpose>Annotate the Table of Contents?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="annotate.toc.frag"><xsl:param name="annotate.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, TOCs will be annotated. At present, this just means -that the <sgmltag>RefPurpose</sgmltag> of <sgmltag>RefEntry</sgmltag> -TOC entries will be displayed. -</para> - -</refsect1> -</refentry> - -<refentry id="autotoc.label.separator"> -<refmeta> -<refentrytitle>autotoc.label.separator</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>autotoc.label.separator</refname> -<refpurpose>Separator between labels and titles in the ToC</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="autotoc.label.separator.frag"><xsl:param name="autotoc.label.separator" - select="'. '"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>String to use to seperate labels and title in a table of contents.</para> - -</refsect1> -</refentry> - -<refentry id="generate.appendix.toc"> -<refmeta> -<refentrytitle>generate.appendix.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.appendix.toc</refname> -<refpurpose>Specify if a table of contents is required for an appendix</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.appendix.toc.frag"><xsl:param name="generate.appendix.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify whether you want a table of contents in each appendix. </para> - -</refsect1> -</refentry> - -<refentry id="generate.article.toc"> -<refmeta> -<refentrytitle>generate.article.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.article.toc</refname> -<refpurpose>Specify if a toc is wanted for an article.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.article.toc.frag"><xsl:param name="generate.article.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify whether a table of contents is required for an article.</para> - -</refsect1> -</refentry> - -<refentry id="generate.book.toc"> -<refmeta> -<refentrytitle>generate.book.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.book.toc</refname> -<refpurpose>Do you want a table of contents in the book?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.book.toc.frag"><xsl:param name="generate.book.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if a table of contents is required in the book.</para> - -</refsect1> -</refentry> - -<refentry id="generate.chapter.toc"> -<refmeta> -<refentrytitle>generate.chapter.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.chapter.toc</refname> -<refpurpose>Do you want a table of contents for chapters?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.chapter.toc.frag"><xsl:param name="generate.chapter.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if a table of contents should be generated for each chapter.</para> - -</refsect1> -</refentry> - -<refentry id="generate.component.toc"> -<refmeta> -<refentrytitle>generate.component.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.component.toc</refname> -<refpurpose>Should TOCs be genereated in components (Chapters, Appendixes, etc.)?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.component.toc.frag"><xsl:param name="generate.component.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), they are. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.division.toc"> -<refmeta> -<refentrytitle>generate.division.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.division.toc</refname> -<refpurpose>Should TOCs be genereated in divisions (Books, Parts, etc.)?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.division.toc.frag"><xsl:param name="generate.division.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), they are. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.part.toc"> -<refmeta> -<refentrytitle>generate.part.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.part.toc</refname> -<refpurpose>Do you want an index for each part?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.part.toc.frag"><xsl:param name="generate.part.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if an index should be generated for each part. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.preface.toc"> -<refmeta> -<refentrytitle>generate.preface.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.preface.toc</refname> -<refpurpose>Do you want a table of contents for the preface?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.preface.toc.frag"><xsl:param name="generate.preface.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if a table of contents should be generated for the preface</para> - -</refsect1> -</refentry> - -<refentry id="generate.qandadiv.toc"> -<refmeta> -<refentrytitle>generate.qandadiv.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.qandadiv.toc</refname> -<refpurpose>Is a Table of Contents created for QandADivs?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.qandadiv.toc.frag"><xsl:param name="generate.qandadiv.toc">0</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), a ToC is constructed for QandADivs. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.qandaset.toc"> -<refmeta> -<refentrytitle>generate.qandaset.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.qandaset.toc</refname> -<refpurpose>Is a Table of Contents created for QandASets?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.qandaset.toc.frag"><xsl:param name="generate.qandaset.toc">1</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), a ToC is constructed for QandASets. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.reference.toc"> -<refmeta> -<refentrytitle>generate.reference.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.reference.toc</refname> -<refpurpose>Do you want a list of references?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.reference.toc.frag"><xsl:param name="generate.reference.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if a list of references should be generated, similar to -a table of contents, but for all <sgmltag>reference</sgmltag> elements. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.section.toc"> -<refmeta> -<refentrytitle>generate.section.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.section.toc</refname> -<refpurpose>Generate TOCs inside Sections?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.section.toc.frag"><xsl:param name="generate.section.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, a Table of Contents will be generated inside section -elements. Note that -<parameter>generate.section.toc.level</parameter> -may suppress some section TOCs. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.set.toc"> -<refmeta> -<refentrytitle>generate.set.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.set.toc</refname> -<refpurpose>Do you want a table of contents in each set?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.set.toc.frag"><xsl:param name="generate.set.toc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if a table of contents is required in each set.</para> - -</refsect1> -</refentry> - -<refentry id="generate.section.toc.level"> -<refmeta> -<refentrytitle>generate.section.toc.level</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.section.toc.level</refname> -<refpurpose>Control depth of TOC generation in sections</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.section.toc.level.frag"><xsl:param name="generate.section.toc.level" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The <parameter>generate.section.toc.level</parameter> parameter -controls the depth of section in which TOCs will be generated. Note -that this is related to, but not the same as -<parameter>toc.section.depth</parameter>, which controls the depth to -which TOC entries will be generated in a given TOC.</para> -<para>If, for example, <parameter>generate.section.toc.level</parameter> -is <literal>3</literal>, TOCs will be generated in first, second, and third -level sections, but not in fourth level sections. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.index"> -<refmeta> -<refentrytitle>generate.index</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.index</refname> -<refpurpose>Do you want an index?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.index.frag"><xsl:param name="generate.index" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specify if an index should be generated. </para> - -</refsect1> -</refentry> - -<refentry id="toc.list.type"> -<refmeta> -<refentrytitle>toc.list.type</refentrytitle> -<refmiscinfo role="type">list</refmiscinfo> -<refmiscinfo role="value">dl</refmiscinfo> -<refmiscinfo role="value">ul</refmiscinfo> -<refmiscinfo role="value">ol</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.list.type</refname> -<refpurpose>Type of HTML list element to use for Tables of Contents</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="toc.list.type.frag"><xsl:param name="toc.list.type">dl</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>When an automatically generated Table of Contents (or List of Titles) -is produced, this HTML element will be used to make the list. -</para> - -</refsect1> -</refentry> - -<refentry id="toc.section.depth"> -<refmeta> -<refentrytitle>toc.section.depth</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.section.depth</refname> -<refpurpose>How deep should recursive <sgmltag>section</sgmltag>s appear -in the TOC?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="toc.section.depth.frag"><xsl:param name="toc.section.depth">2</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Specifies the depth to which recursive sections should appear in the -TOC. -</para> - -</refsect1> -</refentry> - -<refentry id="process.source.toc"> -<refmeta> -<refentrytitle>process.source.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>process.source.toc</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="process.source.toc.frag"><xsl:param name="process.source.toc" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME: -</para> - -</refsect1> -</refentry> - -<refentry id="process.empty.source.toc"> -<refmeta> -<refentrytitle>process.empty.source.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>process.empty.source.toc</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="process.empty.source.toc.frag"><xsl:param name="process.empty.source.toc" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME: -</para> - -</refsect1> -</refentry> - -<refentry id="bridgehead.in.toc"> -<refmeta> -<refentrytitle>bridgehead.in.toc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>bridgehead.in.toc</refname> -<refpurpose>Should bridgehead elements appear in the TOC?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="bridgehead.in.toc.frag"><xsl:param name="bridgehead.in.toc" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, bridgeheads appear in the TOC. Note that this option -is not fully supported and may be removed in a future version of the -stylesheets. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Extensions</title> -<refentry id="linenumbering.everyNth"> -<refmeta> -<refentrytitle>linenumbering.everyNth</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>linenumbering.everyNth</refname> -<refpurpose>Indicate which lines should be numbered</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="linenumbering.everyNth.frag"><xsl:param name="linenumbering.everyNth" - select="'5'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If line numbering is enabled, everyNth line will be numbered. -</para> - -</refsect1> -</refentry> - -<refentry id="linenumbering.extension"> -<refmeta> -<refentrytitle>linenumbering.extension</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>linenumbering.extension</refname> -<refpurpose>Enable the line numbering extension</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="linenumbering.extension.frag"><xsl:param name="linenumbering.extension" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, verbatim environments (elements that have the -format='linespecific' notation attribute: address, literallayout, -programlisting, screen, synopsis) that specify line numbering will -have, surprise, line numbers. -</para> - -</refsect1> -</refentry> - -<refentry id="linenumbering.separator"> -<refmeta> -<refentrytitle>linenumbering.separator</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>linenumbering.separator</refname> -<refpurpose>Specify a separator between line numbers and lines</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="linenumbering.separator.frag"><xsl:param name="linenumbering.separator" - select="' '"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The separator is inserted between line numbers and lines in -the verbatim environment. -</para> - -</refsect1> -</refentry> - -<refentry id="linenumbering.width"> -<refmeta> -<refentrytitle>linenumbering.width</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>linenumbering.width</refname> -<refpurpose>Indicates the width of line numbers</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="linenumbering.width.frag"><xsl:param name="linenumbering.width" - select="'3'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If line numbering is enabled, line numbers will appear right -justified in a field "width" characters wide. -</para> - -</refsect1> -</refentry> - -<refentry id="tablecolumns.extension"> -<refmeta> -<refentrytitle>tablecolumns.extension</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>tablecolumns.extension</refname> -<refpurpose>Enable the table columns extension function</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="tablecolumns.extension.frag"><xsl:param name="tablecolumns.extension" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The table columns extension function adjusts the widths of table -columns in the HTML result to more accurately reflect the specifications -in the CALS table. -</para> - -</refsect1> -</refentry> - -<refentry id="textinsert.extension"> -<refmeta> -<refentrytitle>textinsert.extension</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>textinsert.extension</refname> -<refpurpose>Enable the textinsert extension element</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="textinsert.extension.frag"><xsl:param name="textinsert.extension" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The textinsert extension element inserts the contents of a -a file into the result tree (as text). -</para> - -</refsect1> -</refentry> - -<refentry id="use.extensions"> -<refmeta> -<refentrytitle>use.extensions</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>use.extensions</refname> -<refpurpose>Enable extensions</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="use.extensions.frag"><xsl:param name="use.extensions" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, extensions may be used. Each extension is -further controlled by its own parameter. But if -<parameter>use.extensions</parameter> is zero, no extensions will -be used. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Automatic labelling</title> -<refentry id="chapter.autolabel"> -<refmeta> -<refentrytitle>chapter.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>chapter.autolabel</refname> -<refpurpose>Are chapters automatically enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="chapter.autolabel.frag"><xsl:param name="chapter.autolabel" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled chapters will be enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="appendix.autolabel"> -<refmeta> -<refentrytitle>appendix.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>appendix.autolabel</refname> -<refpurpose>Are Appendixes automatically enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="appendix.autolabel.frag"><xsl:param name="appendix.autolabel" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled appendixes will be -enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="part.autolabel"> -<refmeta> -<refentrytitle>part.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>part.autolabel</refname> -<refpurpose>Are parts and references enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="part.autolabel.frag"><xsl:param name="part.autolabel" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled parts and references will be enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="preface.autolabel"> -<refmeta> -<refentrytitle>preface.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>preface.autolabel</refname> -<refpurpose>Are prefaces enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="preface.autolabel.frag"><xsl:param name="preface.autolabel" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled prefaces will be enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="qandadiv.autolabel"> -<refmeta> -<refentrytitle>qandadiv.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>qandadiv.autolabel</refname> -<refpurpose>Are divisions in QAndASets enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="qandadiv.autolabel.frag"><xsl:param name="qandadiv.autolabel" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled qandadivs will be enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="section.autolabel"> -<refmeta> -<refentrytitle>section.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>section.autolabel</refname> -<refpurpose>Are sections enumerated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="section.autolabel.frag"><xsl:param name="section.autolabel" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), unlabeled sections will be enumerated. -</para> - -</refsect1> -</refentry> - -<refentry id="section.label.includes.component.label"> -<refmeta> -<refentrytitle>section.label.includes.component.label</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>section.label.includes.component.label</refname> -<refpurpose>Do section labels include the component label?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="section.label.includes.component.label.frag"><xsl:param name="section.label.includes.component.label" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), section labels are prefixed with the label of the -component that contains them. -</para> - -</refsect1> -</refentry> - -<refentry id="label.from.part"> -<refmeta> -<refentrytitle>label.from.part</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>label.from.part</refname> -<refpurpose>Renumber chapters in each part?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="label.from.part.frag"><xsl:param name="label.from.part" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>label.from.part</parameter> is non-zero, components -(<sgmltag>chapter</sgmltag>s, <sgmltag>appendixe</sgmltag>s, etc.) -will be numbered from 1 in each <sgmltag>part</sgmltag>. Otherwise, -they will be numbered monotonically throughout each -<sgmltag>book</sgmltag>. -</para> - -</refsect1> -</refentry> - -</reference> - -<!-- -<reference><title></title> -</reference> ---> - -<reference><title>HTML</title> -<refentry id="html.base"> -<refmeta> -<refentrytitle>html.base</refentrytitle> -<refmiscinfo role="type">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>html.base</refname> -<refpurpose>An HTML base URI</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.base.frag"><xsl:param name="html.base"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If html.base is set, it is used for the <sgmltag>BASE</sgmltag> -element in the <sgmltag>HEAD</sgmltag> of the HTML documents. -This is useful for dynamically served HTML where the base URI needs -to be shifted.</para> - -</refsect1> -</refentry> - -<refentry id="html.stylesheet.type"> -<refmeta> -<refentrytitle>html.stylesheet.type</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>html.stylesheet.type</refname> -<refpurpose>The type of the stylesheet used in the generated HTML</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.stylesheet.type.frag"><xsl:param name="html.stylesheet.type">text/css</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The type of the stylesheet to place in the HTML <sgmltag>link</sgmltag> tag. -</para> - -</refsect1> -</refentry> - -<refentry id="html.stylesheet"> -<refmeta> -<refentrytitle>html.stylesheet</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>html.stylesheet</refname> -<refpurpose>Name of the stylesheet to use in the generated HTML</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.stylesheet.frag"><xsl:param name="html.stylesheet" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The name of the stylesheet to place in the HTML <sgmltag>LINK</sgmltag> -tag, or the empty string to suppress the stylesheet <sgmltag>LINK</sgmltag>. -</para> - -</refsect1> -</refentry> - -<refentry id="use.id.as.filename"> -<refmeta> -<refentrytitle>use.id.as.filename</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>use.id.as.filename</refname> -<refpurpose>Use ID value of chunk elements as the filename?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="use.id.as.filename.frag"><xsl:param name="use.id.as.filename" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>use.id.as.filename</parameter> -is non-zero, the filename of chunk elements that have IDs will be -derived from the ID value. -</para> - -</refsect1> -</refentry> - -<refentry id="css.decoration"> -<refmeta> -<refentrytitle>css.decoration</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>css.decoration</refname> -<refpurpose>Enable CSS decoration of elements</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="css.decoration.frag"><xsl:param name="css.decoration">1</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para> -If <literal>css.decoration</literal> is turned on, then HTML elements -produced by the -stylesheet may be decorated with STYLE attributes. For example, the -LI tags produced for list items may include a fragment of CSS in the -STYLE attribute which sets the CSS property "list-style-type". -</para> - -</refsect1> -</refentry> - -<refentry id="spacing.paras"> -<refmeta> -<refentrytitle>spacing.paras</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>spacing.paras</refname> -<refpurpose>Insert additional <p> elements for spacing?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="spacing.paras.frag"><xsl:param name="spacing.paras" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>When non-zero, additional, empty paragraphs are inserted in -several contexts (for example, around informal figures), to create a -more pleasing visual appearance in many browsers. -</para> - -</refsect1> -</refentry> - -<refentry id="emphasis.propagates.style"> -<refmeta> -<refentrytitle>emphasis.propagates.style</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>emphasis.propagates.style</refname> -<refpurpose>Pass emphasis role attribute through to HTML?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="emphasis.propagates.style.frag"><xsl:param name="emphasis.propagates.style" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, the role attribute of <sgmltag>emphasis</sgmltag> elements -will be passed through to the HTML as a class attribute on a -<sgmltag>span</sgmltag> that surrounds the emphasis.</para> - -</refsect1> -</refentry> - -<refentry id="phrase.propagates.style"> -<refmeta> -<refentrytitle>phrase.propagates.style</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>phrase.propagates.style</refname> -<refpurpose>Pass phrase role attribute through to HTML?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="phrase.propagates.style.frag"><xsl:param name="phrase.propagates.style" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, the role attribute of <sgmltag>phrase</sgmltag> elements -will be passed through to the HTML as a class attribute on a -<sgmltag>span</sgmltag> that surrounds the phrase.</para> - -</refsect1> -</refentry> - -<refentry id="stylesheet.result.type"> -<refmeta> -<refentrytitle>stylesheet.result.type</refentrytitle> -<refmiscinfo role="type">list</refmiscinfo> -<refmiscinfo role="value">html</refmiscinfo> -<refmiscinfo role="value">fo</refmiscinfo> -</refmeta> -<refnamediv> -<refname>stylesheet.result.type</refname> -<refpurpose>Identifies the output format of this stylesheet</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="stylesheet.result.type.frag"><xsl:param name="stylesheet.result.type" - select="'html'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The Saxon extension functions need to know if the output format -is HTML ('html') or XSL Formatting Objects ('fo'). This variable answers -that question. Valid settings are 'html' or 'fo'.</para> - -</refsect1> -</refentry> - -<refentry id="html.longdesc"> -<refmeta> -<refentrytitle>html.longdesc</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>html.longdesc</refname> -<refpurpose>Should longdesc URIs be created?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.longdesc.frag"><xsl:param name="html.longdesc" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, HTML files will be created for the -<sgmltag class="attribute">longdesc</sgmltag> attribute. These files -are created from the <sgmltag>textobject</sgmltag>s in -<sgmltag>mediaobject</sgmltag>s and -<sgmltag>inlinemediaobject</sgmltag>. -</para> - -</refsect1> -</refentry> - -<refentry id="html.longdesc.link"> -<refmeta> -<refentrytitle>html.longdesc.link</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>html.longdesc.link</refname> -<refpurpose>Should a link to the longdesc be included in the HTML?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.longdesc.link.frag"><xsl:param name="html.longdesc.link" - select="$html.longdesc"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, links will be created to the -HTML files created for the -<sgmltag class="attribute">longdesc</sgmltag> attribute. It makes no -sense to turn enable this option without also enabling the -<parameter>$html.longdesc</parameter> parameter.</para> - -<para>The <literal>longdesc.link</literal> named template is called -to construct the link.</para> - -</refsect1> -</refentry> - -<refentry id="make.valid.html"> -<refmeta> -<refentrytitle>make.valid.html</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>make.valid.html</refname> -<refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="make.valid.html.frag"><xsl:param name="make.valid.html" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>make.valid.html</parameter> is true, the stylesheets take -extra effort to ensure that the resulting HTML is valid. This may mean that some -<sgmltag>para</sgmltag> tags are translated into HTML <sgmltag>div</sgmltag>s or -that other substitutions occur.</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>XSLT Processing</title> -<refentry id="rootid"> -<refmeta> -<refentrytitle>rootid</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>rootid</refname> -<refpurpose>Specify the root element to format</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="rootid.frag"><xsl:param name="rootid" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>rootid</parameter> is specified, it must be the -value of an ID that occurs in the document being formatted. The entire -document will be loaded and parsed, but formatting will begin at the -element identified, rather than at the root. For example, this allows -you to process only chapter 4 of a book.</para> -<para>Because the entire document is available to the processor, automatic -numbering, cross references, and other dependencies are correctly -resolved.</para> - -</refsect1> -</refentry> - -<refentry id="suppress.navigation"> -<refmeta> -<refentrytitle>suppress.navigation</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>suppress.navigation</refname> -<refpurpose>Disable header and footer navigation</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="suppress.navigation.frag"><xsl:param name="suppress.navigation">0</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para> -If <literal>suppress.navigation</literal> is turned on, header and -footer navigation will be suppressed.</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Meta/*Info</title> -<refentry id="inherit.keywords"> -<refmeta> -<refentrytitle>inherit.keywords</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>inherit.keywords</refname> -<refpurpose>Inherit keywords from ancestor elements?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="inherit.keywords.frag"><xsl:param name="inherit.keywords" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>inherit.keywords</parameter> -is non-zero, the keyword <sgmltag>META</sgmltag> for each HTML -<sgmltag>HEAD</sgmltag> element will include all of the keywords from -ancestral elements. Otherwise, only the keywords from the current section -will be used. -</para> - -</refsect1> -</refentry> - -<refentry id="make.single.year.ranges"> -<refmeta> -<refentrytitle>make.single.year.ranges</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>make.single.year.ranges</refname> -<refpurpose>Print single-year ranges (e.g., 1998-1999)</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="make.single.year.ranges.frag"><xsl:param name="make.single.year.ranges" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, year ranges that span a single year will be printed -in range notation (1998-1999) instead of discrete notation -(1998, 1999).</para> - -</refsect1> -</refentry> - -<refentry id="make.year.ranges"> -<refmeta> -<refentrytitle>make.year.ranges</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>make.year.ranges</refname> -<refpurpose>Collate copyright years into ranges?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="make.year.ranges.frag"><xsl:param name="make.year.ranges" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, copyright years will be collated into ranges.</para> - -</refsect1> -</refentry> - -<refentry id="author.othername.in.middle"> -<refmeta> -<refentrytitle>author.othername.in.middle</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>author.othername.in.middle</refname> -<refpurpose>Is <sgmltag>othername</sgmltag> in <sgmltag>author</sgmltag> a -middle name?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="author.othername.in.middle.frag"><xsl:param name="author.othername.in.middle" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), the <sgmltag>othername</sgmltag> of an <sgmltag>author</sgmltag> -appears between the <sgmltag>firstname</sgmltag> and -<sgmltag>surname</sgmltag>. Otherwise, <sgmltag>othername</sgmltag> -is suppressed. -</para> - -</refsect1> -</refentry> - -<refentry id="generate.legalnotice.link"> -<refmeta> -<refentrytitle>generate.legalnotice.link</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>generate.legalnotice.link</refname> -<refpurpose>TBD</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="generate.legalnotice.link.frag"><xsl:param name="generate.legalnotice.link" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>TBD</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Reference Pages</title> -<refentry id="funcsynopsis.decoration"> -<refmeta> -<refentrytitle>funcsynopsis.decoration</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>funcsynopsis.decoration</refname> -<refpurpose>Decorate elements of a FuncSynopsis?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="funcsynopsis.decoration.frag"><xsl:param name="funcsynopsis.decoration" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or -italic). The decoration is controlled by functions that can be redefined -in a customization layer. -</para> - -</refsect1> -</refentry> - -<refentry id="funcsynopsis.style"> -<refmeta> -<refentrytitle>funcsynopsis.style</refentrytitle> -<refmiscinfo role="type">list</refmiscinfo> -<refmiscinfo role="value">ansi</refmiscinfo> -<refmiscinfo role="value">kr</refmiscinfo> -</refmeta> -<refnamediv> -<refname>funcsynopsis.style</refname> -<refpurpose>What style of 'FuncSynopsis' should be generated?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="funcsynopsis.style.frag"><xsl:param name="funcsynopsis.style">kr</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <varname>funcsynopsis.style</varname> is <literal>ansi</literal>, -ANSI-style function synopses are generated for a -<sgmltag>funcsynopsis</sgmltag>, otherwise K&R-style -function synopses are generated. -</para> - -</refsect1> -</refentry> - -<refentry id="function.parens"> -<refmeta> -<refentrytitle>function.parens</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>function.parens</refname> -<refpurpose>Generate parens after a function?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="function.parens.frag"><xsl:param name="function.parens">0</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If not 0, the formatting of -a <sgmltag class="starttag">function</sgmltag> element will include -generated parenthesis. -</para> - -</refsect1> -</refentry> - -<refentry id="refentry.generate.name"> -<refmeta> -<refentrytitle>refentry.generate.name</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>refentry.generate.name</refname> -<refpurpose>Output NAME header before 'RefName'(s)?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="refentry.generate.name.frag"><xsl:param name="refentry.generate.name" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), a "NAME" section title is output before the list -of 'RefName's. This parameter and -<parameter>refentry.generate.title</parameter> are mutually exclusive. -</para> - -</refsect1> -</refentry> - -<refentry id="refentry.generate.title"> -<refmeta> -<refentrytitle>refentry.generate.title</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>refentry.generate.title</refname> -<refpurpose>Output title before 'RefName'(s)?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="refentry.generate.title.frag"><xsl:param name="refentry.generate.title" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), the reference page title or first name is -output before the list of 'RefName's. This parameter and -<parameter>refentry.generate.name</parameter> are mutually exclusive. -</para> - - -</refsect1> -</refentry> - -<refentry id="refentry.xref.manvolnum"> -<refmeta> -<refentrytitle>refentry.xref.manvolnum</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>refentry.xref.manvolnum</refname> -<refpurpose>Output <sgmltag>manvolnum</sgmltag> as part of -<sgmltag>refentry</sgmltag> cross-reference?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="refentry.xref.manvolnum.frag"><xsl:param name="refentry.xref.manvolnum" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>if true (non-zero), the <sgmltag>manvolnum</sgmltag> is used when cross-referencing -<sgmltag>refentry</sgmltag>s, either with <sgmltag>xref</sgmltag> -or <sgmltag>citerefentry</sgmltag>. -</para> - -</refsect1> -</refentry> - -<refentry id="citerefentry.link"> -<refmeta> -<refentrytitle>citerefentry.link</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>citerefentry.link</refname> -<refpurpose>Generate URL links when cross-referencing RefEntrys?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="citerefentry.link.frag"><xsl:param name="citerefentry.link" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, a web link will be generated, presumably -to an online man->HTML gateway. The text of the link is -generated by the generate.citerefentry.link template. -</para> - -</refsect1> -</refentry> - -<refentry id="refentry.separator"> -<refmeta> -<refentrytitle>refentry.separator</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>refentry.separator</refname> -<refpurpose>Generate a separator between consecutive RefEntry elements?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="refentry.separator.frag"><xsl:param name="refentry.separator" - select="'1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, a separator will be generated between consecutive -reference pages. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Tables</title> -<refentry id="default.table.width"> -<refmeta> -<refentrytitle>default.table.width</refentrytitle> -<refmiscinfo role="type">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>default.table.width</refname> -<refpurpose>The default width of tables</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="default.table.width.frag"><xsl:param name="default.table.width" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If specified, this value will be used for the WIDTH attribute on -tables that do not specify an alternate width (with the dbhtml processing -instruction).</para> - -</refsect1> -</refentry> - -<refentry id="nominal.table.width"> -<refmeta> -<refentrytitle>nominal.table.width</refentrytitle> -<refmiscinfo role="type">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>nominal.table.width</refname> -<refpurpose>The (absolute) nominal width of tables</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="nominal.table.width.frag"><xsl:param name="nominal.table.width" - select="'6in'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>In order to convert CALS column widths into HTML column widths, it -is sometimes necessary to have an absolute table width to use for conversion -of mixed absolute and relative widths. This value must be an absolute -length (not a percentag).</para> - -</refsect1> -</refentry> - -<refentry id="table.borders.with.css"> -<refmeta> -<refentrytitle>table.borders.with.css</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>table.borders.with.css</refname> -<refpurpose>Use CSS to specify table, row, and cell borders?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="table.borders.with.css.frag"><xsl:param name="table.borders.with.css" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), CSS will be used to draw table borders. -</para> - -</refsect1> -</refentry> - -<refentry id="table.border.style"> -<refmeta> -<refentrytitle>table.border.style</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>table.border.style</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="table.border.style.frag"><xsl:param name="table.border.style" - select="'solid'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="table.border.thickness"> -<refmeta> -<refentrytitle>table.border.thickness</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>table.border.thickness</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="table.border.thickness.frag"><xsl:param name="table.border.thickness" - select="'0.5pt'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="table.border.color"> -<refmeta> -<refentrytitle>table.border.color</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>table.border.color</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="table.border.color.frag"><xsl:param name="table.border.color" - select="'black'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>QAndASet</title> -<refentry id="qanda.defaultlabel"> -<refmeta> -<refentrytitle>qanda.defaultlabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>qanda.defaultlabel</refname> -<refpurpose>Sets the default for defaultlabel on QandASet.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="qanda.defaultlabel.frag"><xsl:param name="qanda.defaultlabel">number</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If no defaultlabel attribute is specified on a QandASet, this -value is used. It must be one of the legal values for the defaultlabel -attribute. -</para> - -</refsect1> -</refentry> - -<refentry id="qanda.inherit.numeration"> -<refmeta> -<refentrytitle>qanda.inherit.numeration</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>qanda.inherit.numeration</refname> -<refpurpose>Does enumeration of QandASet components inherit the numeration of parent elements?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="qanda.inherit.numeration.frag"><xsl:param name="qanda.inherit.numeration" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), numbered QandADiv elements and Questions and Answers inherit -the numeration of the ancestors of the QandASet. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Linking</title> -<refentry id="link.mailto.url"> -<refmeta> -<refentrytitle>link.mailto.url</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>link.mailto.url</refname> -<refpurpose>Mailto URL for the LINK REL=made HTML HEAD element</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="link.mailto.url.frag"><xsl:param name="link.mailto.url"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If not the empty string, this address will be used for the -REL=made <sgmltag>LINK</sgmltag> element in the HTML <sgmltag>HEAD</sgmltag>. -</para> - -</refsect1> -</refentry> - -<refentry id="ulink.target"> -<refmeta> -<refentrytitle>ulink.target</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>ulink.target</refname> -<refpurpose>The HTML anchor target for ULinks</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="ulink.target.frag"><xsl:param name="ulink.target" - select="'_top'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If <parameter>ulink.target</parameter> is set, its value will -be used for the <sgmltag class="attribute">target</sgmltag> attribute -on anchors generated for <sgmltag>ulink</sgmltag>s.</para> - -</refsect1> -</refentry> - -<refentry id="olink.fragid"> -<refmeta> -<refentrytitle>olink.fragid</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>olink.fragid</refname> -<refpurpose>Names the fragment identifier portion of an OLink resolver query</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="olink.fragid.frag"><xsl:param name="olink.fragid" - select="'fragid='"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="olink.outline.ext"> -<refmeta> -<refentrytitle>olink.outline.ext</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>olink.outline.ext</refname> -<refpurpose>The extension of OLink outline files</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="olink.outline.ext.frag"><xsl:param name="olink.outline.ext" - select="'.olink'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="olink.pubid"> -<refmeta> -<refentrytitle>olink.pubid</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>olink.pubid</refname> -<refpurpose>Names the public identifier portion of an OLink resolver query</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="olink.pubid.frag"><xsl:param name="olink.pubid" - select="'pubid='"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="olink.sysid"> -<refmeta> -<refentrytitle>olink.sysid</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>olink.sysid</refname> -<refpurpose>Names the system identifier portion of an OLink resolver query</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="olink.sysid.frag"><xsl:param name="olink.sysid" - select="'sysid='"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="olink.resolver"> -<refmeta> -<refentrytitle>olink.resolver</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>olink.resolver</refname> -<refpurpose>The root name of the OLink resolver (usually a script)</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="olink.resolver.frag"><xsl:param name="olink.resolver" - select="'/cgi-bin/olink'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Bibliography</title> -<refentry id="biblioentry.item.separator"> -<refmeta> -<refentrytitle>biblioentry.item.separator</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>biblioentry.item.separator</refname> -<refpurpose>Text to separate bibliography entries</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="biblioentry.item.separator.frag"><xsl:param name="biblioentry.item.separator">. </xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Text to separate bibliography entries -</para> - -</refsect1> -</refentry> - -<refentry id="bibliography.collection"> -<refmeta> -<refentrytitle>bibliography.collection</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>bibliography.collection</refname> -<refpurpose>Name of the bibliography collection file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="bibliography.collection.frag"><xsl:param name="bibliography.collection" - select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Maintaining bibliography entries across a set of documents is tedious, time -consuming, and error prone. It makes much more sense, usually, to store all of -the bibliography entries in a single place and simply <quote>extract</quote> -the ones you need in each document.</para> - -<para>That's the purpose of the -<parameter>bibliography.collection</parameter> parameter. To setup a global -bibliography <quote>database</quote>, follow these steps:</para> - -<para>First, create a stand-alone bibliography document that contains all of -the documents that you wish to reference. Make sure that each bibliography -entry (whether you use <sgmltag>biblioentry</sgmltag> or <sgmltag>bibliomixed</sgmltag>) -has an ID.</para> - -<para>My global bibliography, <filename>~/bibliography.xml</filename> begins -like this:</para> - -<informalexample> -<programlisting><!DOCTYPE bibliography - PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -<bibliography><title>References</title> - -<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray, -Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors. -<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup -Language (XML) 1.0 Second Edition</ulink></citetitle>. -World Wide Web Consortium, 2000. -</bibliomixed> - -<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray, -Dave Hollander, -and Andrew Layman, editors. -<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in -XML</ulink></citetitle>. -World Wide Web Consortium, 1999. -</bibliomixed> - -<!-- ... --> -</bibliography> -</programlisting> -</informalexample> - -<para>When you create a bibliography in your document, simply -provide <emphasis>empty</emphasis> <sgmltag>bibliomixed</sgmltag> -entries for each document that you wish to cite. Make sure that these -elements have the same ID as the corresponding <quote>real</quote> -entry in your global bibliography.</para> - -<para>For example:</para> - -<informalexample> -<programlisting><bibliography><title>Bibliography</title> - -<bibliomixed id="xml-rec"/> -<bibliomixed id="xml-names"/> -<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and -Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley, -1986. ISBN 0-201-13437-3. -</bibliomixed> -<bibliomixed id="relaxng"/> - -</bibliography></programlisting> -</informalexample> - -<para>Note that it's perfectly acceptable to mix entries from your -global bibliography with <quote>normal</quote> entries. You can use -<sgmltag>xref</sgmltag> or other elements to cross-reference your -bibliography entries in exactly the same way you do now.</para> - -<para>Finally, when you are ready to format your document, simply set the -<parameter>bibliography.collection</parameter> parameter (in either a -customization layer or directly through your processor's interface) to -point to your global bibliography.</para> - -<para>The stylesheets will format the bibliography in your document as if -all of the entries referenced appeared there literally.</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Glossary</title> -<refentry id="glossterm.auto.link"> -<refmeta> -<refentrytitle>glossterm.auto.link</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>glossterm.auto.link</refname> -<refpurpose>Generate links from glossterm to glossentry automaticaly?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="glossterm.auto.link.frag"><xsl:param name="glossterm.auto.link" - select="'0'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, a link will be automatically created from glossterm -to glossentry for that glossary term. This is usefull when your -glossterm names are consistent and you don't want to add links -manually.</para> -<para>If there is <sgmltag class="attribute">linkend</sgmltag> on -<sgmltag>glossterm</sgmltag> then is used instead of autogeneration of -link.</para> - -</refsect1> -</refentry> - -<refentry id="firstterm.only.link"> -<refmeta> -<refentrytitle>firstterm.only.link</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>firstterm.only.link</refname> -<refpurpose>Does automatic glossterm linking only apply to firstterms?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="firstterm.only.link.frag"><xsl:param name="firstterm.only.link" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true, only <sgmltag>firstterm</sgmltag>s will be automatically linked -to the glossary. If glossary linking is not enabled, this parameter -has no effect.</para> - -</refsect1> -</refentry> - -<refentry id="glossary.collection"> -<refmeta> -<refentrytitle>glossary.collection</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>glossary.collection</refname> -<refpurpose>Name of the glossary collection file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="glossary.collection.frag"><xsl:param name="glossary.collection" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Glossaries maintained independently across a set of documents -are likely to become inconsistent unless considerable effort is -expended to keep them in sync. It makes much more sense, usually, to -store all of the glossary entries in a single place and simply -<quote>extract</quote> the ones you need in each document.</para> - -<para>That's the purpose of the -<parameter>glossary.collection</parameter> parameter. To setup a global -glossary <quote>database</quote>, follow these steps:</para> - -<refsect2><title>Setting Up the Glossary Database</title> - -<para>First, create a stand-alone glossary document that contains all of -the entries that you wish to reference. Make sure that each glossary -entry has an ID.</para> - -<para>Here's an example glossary:</para> - -<informalexample> -<programlisting> -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE glossary - PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -<glossary> -<glossaryinfo> -<editor><firstname>Eric</firstname><surname>Raymond</surname></editor> -<title>Jargon File 4.2.3 (abridged)</title> -<releaseinfo>Just some test data</releaseinfo> -</glossaryinfo> - -<glossdiv><title>0</title> - -<glossentry> -<glossterm>0</glossterm> -<glossdef> -<para>Numeric zero, as opposed to the letter `O' (the 15th letter of -the English alphabet). In their unmodified forms they look a lot -alike, and various kluges invented to make them visually distinct have -compounded the confusion. If your zero is center-dotted and letter-O -is not, or if letter-O looks almost rectangular but zero looks more -like an American football stood on end (or the reverse), you're -probably looking at a modern character display (though the dotted zero -seems to have originated as an option on IBM 3270 controllers). If -your zero is slashed but letter-O is not, you're probably looking at -an old-style ASCII graphic set descended from the default typewheel on -the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter, -curse this arrangement). (Interestingly, the slashed zero long -predates computers; Florian Cajori's monumental "A History of -Mathematical Notations" notes that it was used in the twelfth and -thirteenth centuries.) If letter-O has a slash across it and the zero -does not, your display is tuned for a very old convention used at IBM -and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis> -arrangement even more, because it means two of their letters collide). -Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis> -slash. Old CDC computers rendered letter O as an unbroken oval and 0 -as an oval broken at upper right and lower left. And yet another -convention common on early line printers left zero unornamented but -added a tail or hook to the letter-O so that it resembled an inverted -Q or cursive capital letter-O (this was endorsed by a draft ANSI -standard for how to draw ASCII characters, but the final standard -changed the distinguisher to a tick-mark in the upper-left corner). -Are we sufficiently confused yet?</para> -</glossdef> -</glossentry> - -<glossentry> -<glossterm>1TBS</glossterm> -<glossdef> -<para role="accidence"> -<phrase role="pronounce"></phrase> -<phrase role="partsofspeach">n</phrase> -</para> -<para>The "One True Brace Style"</para> -<glossseealso>indent style</glossseealso> -</glossdef> -</glossentry> - -<!-- ... --> - -</glossdiv> - -<!-- ... --> - -</glossary></programlisting> -</informalexample> - -</refsect2> - -<refsect2><title>Marking Up Glossary Terms</title> - -<para>That takes care of the glossary database, now you have to get the entries -into your document. Unlike bibliography entries, which can be empty, creating -<quote>placeholder</quote> glossary entries would be very tedious. So instead, -support for <parameter>glossary.collection</parameter> relies on implicit linking.</para> - -<para>In your source document, simply use <sgmltag>firstterm</sgmltag> and -<sgmltag>glossterm</sgmltag> to identify the terms you wish to have included -in the glossary. The stylesheets assume that you will either set the -<sgmltag class="attribute">baseform</sgmltag> attribute correctly, or that the -content of the element exactly matches a term in your glossary.</para> - -<para>If you're using a <parameter>glossary.collection</parameter>, don't -make explicit links on the terms in your document.</para> - -<para>So, in your document, you might write things like this:</para> - -<informalexample> -<programlisting><para>This is dummy text, without any real meaning. -The point is simply to reference glossary terms like <glossterm>0</glossterm> -and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>. -The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly -religious issue.</para></programlisting> -</informalexample> - -<para>If you set the <parameter>firstterm.only.link</parameter> parameter, -only the terms marked with <sgmltag>firstterm</sgmltag> will be links. -Otherwise, all the terms will be linked.</para> - -</refsect2> - -<refsect2><title>Marking Up the Glossary</title> - -<para>The glossary itself has to be identified for the stylesheets. For lack -of a better choice, the <sgmltag class="attribute">role</sgmltag> is used. -To identify the glossary as the target for automatic processing, set -the role to <quote><literal>auto</literal></quote>. The title of this -glossary (and any other information from the <sgmltag>glossaryinfo</sgmltag> -that's rendered by your stylesheet) will be displayed, but the entries will -come from the database. -</para> - -<para>Unfortunately, the glossary can't be empty, so you must put in -at least one <sgmltag>glossentry</sgmltag>. The content of this entry -is irrelevant, it will not be rendered:</para> - -<informalexample> -<programlisting><glossary role="auto"> -<glossentry> -<glossterm>Irrelevant</glossterm> -<glossdef> -<para>If you can see this, the document was processed incorrectly. Use -the <parameter>glossary.collection</parameter> parameter.</para> -</glossdef> -</glossentry> -</glossary></programlisting> -</informalexample> - -<para>What about glossary divisions? If your glossary database has glossary -divisions <emphasis>and</emphasis> your automatic glossary contains at least -one <sgmltag>glossdiv</sgmltag>, the automic glossary will have divisions. -If the <sgmltag>glossdiv</sgmltag> is missing from either location, no divisions -will be rendered.</para> - -<para>Glossary entries (and divisions, if appropriate) in the glossary will -occur in precisely the order they occur in your database.</para> - -</refsect2> - -<refsect2><title>Formatting the Document</title> - -<para>Finally, when you are ready to format your document, simply set the -<parameter>glossary.collection</parameter> parameter (in either a -customization layer or directly through your processor's interface) to -point to your global glossary.</para> - -<para>The stylesheets will format the glossary in your document as if -all of the entries implicilty referenced appeared there literally.</para> -</refsect2> -</refsect1> -</refentry> - -</reference> - -<reference><title>Miscellaneous</title> -<refentry id="graphic.default.extension"> -<refmeta> -<refentrytitle>graphic.default.extension</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>graphic.default.extension</refname> -<refpurpose>Default extension for graphic filenames</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="graphic.default.extension.frag"><xsl:param name="graphic.default.extension"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If a <sgmltag>graphic</sgmltag> or <sgmltag>mediaobject</sgmltag> -includes a reference to a filename that does not include an extension, -and the <sgmltag class="attribute">format</sgmltag> attribute is -<emphasis>unspecified</emphasis>, the default extension will be used. -</para> - -</refsect1> -</refentry> - -<refentry id="formal.procedures"> -<refmeta> -<refentrytitle>formal.procedures</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>formal.procedures</refname> -<refpurpose>Selects formal or informal procedures</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="formal.procedures.frag"><xsl:param name="formal.procedures" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Formal procedures are numbered and always hav a title. -</para> - -</refsect1> -</refentry> - -<refentry id="runinhead.default.title.end.punct"> -<refmeta> -<refentrytitle>runinhead.default.title.end.punct</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>runinhead.default.title.end.punct</refname> -<refpurpose>Default punctuation character on a run-in-head</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="runinhead.default.title.end.punct.frag"><xsl:param name="runinhead.default.title.end.punct" - select="'.'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME: -</para> - -</refsect1> -</refentry> - -<refentry id="runinhead.title.end.punct"> -<refmeta> -<refentrytitle>runinhead.title.end.punct</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>runinhead.title.end.punct</refname> -<refpurpose>Characters that count as punctuation on a run-in-head</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="runinhead.title.end.punct.frag"><xsl:param name="runinhead.title.end.punct" - select="'.!?:'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME: -</para> - -</refsect1> -</refentry> - -<refentry id="show.comments"> -<refmeta> -<refentrytitle>show.comments</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>show.comments</refname> -<refpurpose>Display <sgmltag>comment</sgmltag> elements?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="show.comments.frag"><xsl:param name="show.comments">1</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), comments will be displayed, otherwise they are suppressed. -Comments here refers to the <sgmltag>comment</sgmltag> element, -which will be renamed <sgmltag>remark</sgmltag> in DocBook V4.0, -not XML comments (<-- like this -->) which are unavailable. -</para> - -</refsect1> -</refentry> - -<refentry id="show.revisionflag"> -<refmeta> -<refentrytitle>show.revisionflag</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>show.revisionflag</refname> -<refpurpose>Enable decoration of elements that have a revisionflag</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="show.revisionflag.frag"><xsl:param name="show.revisionflag">0</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para> -If <literal>show.revisionflag</literal> is turned on, then the stylesheets -may produce additional markup designed to allow a CSS stylesheet to -highlight elements that have specific revisionflag settings.</para> - -<para>The markup inserted will be usually be either a <span> or <div> -with an appropriate <literal>class</literal> attribute. (The value of -the class attribute will be the same as the value of the revisionflag -attribute). In some contexts, for example tables, where extra markup -would be structurally illegal, the class attribute will be added to the -appropriate container element.</para> - -<para>In general, the stylesheets only test for revisionflag in contexts -where an importing stylesheet would have to redefine whole templates. -Most of the revisionflag processing is expected to be done by another -stylesheet, for example <filename>changebars.xsl</filename>.</para> - -</refsect1> -</refentry> - -<refentry id="shade.verbatim"> -<refmeta> -<refentrytitle>shade.verbatim</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>shade.verbatim</refname> -<refpurpose>Should verbatim environments be shaded?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="shade.verbatim.frag"><xsl:param name="shade.verbatim" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="shade.verbatim.style"> -<refmeta> -<refentrytitle>shade.verbatim.style</refentrytitle> -<refmiscinfo role="type"/> -</refmeta> -<refnamediv> -<refname>shade.verbatim.style</refname> -<refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="shade.verbatim.style.frag"><xsl:attribute-set name="shade.verbatim.style"> - <xsl:attribute name="border">0</xsl:attribute> - <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute> -</xsl:attribute-set></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>FIXME:</para> - -</refsect1> -</refentry> - -<refentry id="punct.honorific"> -<refmeta> -<refentrytitle>punct.honorific</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>punct.honorific</refname> -<refpurpose>Punctuation after an honorific in a personal name.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="punct.honorific.frag"><xsl:param name="punct.honorific" - select="'.'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>This parameter specifies the punctuation that should be added after an -honorific in a personal name.</para> - -</refsect1> -</refentry> - -<refentry id="segmentedlist.as.table"> -<refmeta> -<refentrytitle>segmentedlist.as.table</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>segmentedlist.as.table</refname> -<refpurpose>Format segmented lists as tables?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="segmentedlist.as.table.frag"><xsl:param name="segmentedlist.as.table" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, <sgmltag>segmentedlist</sgmltag>s will be formatted as -tables.</para> - -</refsect1> -</refentry> - -<refentry id="variablelist.as.table"> -<refmeta> -<refentrytitle>variablelist.as.table</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>variablelist.as.table</refname> -<refpurpose>Format <sgmltag>variablelist</sgmltag>s as tables?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="variablelist.as.table.frag"><xsl:param name="variablelist.as.table" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, <sgmltag>variablelist</sgmltag>s will be formatted as -tables.</para> - -<para>This parameter only applys to the HTML transformations. In the -FO case, proper list markup is robust enough to handle the formatting. -But see also <parameter>variablelist.as.blocks</parameter>.</para> - -</refsect1> -</refentry> - -<refentry id="tex.math.in.alt"> -<refmeta> -<refentrytitle>tex.math.in.alt</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>tex.math.in.alt</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="tex.math.in.alt.frag"><xsl:param name="tex.math.in.alt" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If you want type math directly in TeX notation in equations, -this parameter specifies notation used. Currently are supported two -values -- <literal>plain</literal> and <literal>latex</literal>. Empty -value means that you are not using TeX math at all.</para> - -<para>Preferred way for including TeX alternative of math is inside of -<sgmltag>textobject</sgmltag> element. Eg.:</para> - -<programlisting><inlineequation> -<inlinemediaobject> -<imageobject> -<imagedata fileref="eq1.gif"/> -</imageobject> -<textobject><phrase>E=mc squared</phrase></textobject> -<textobject role="tex"><phrase>E=mc^2</phrase></textobject> -</inlinemediaobject> -</inlineequation></programlisting> - -<para>If you are using <sgmltag>graphic</sgmltag> element, you can -store TeX inside <sgmltag>alt</sgmltag> element:</para> - -<programlisting><inlineequation> -<alt role="tex">a^2+b^2=c^2</alt> -<graphic fileref="a2b2c2.gif"/> -</inlineequation></programlisting> - -<para>If you want use this feature, you should process your FO with -PassiveTeX, which only supports TeX math notation. When calling -stylsheet, don't forget to specify also -passivetex.extensions=1.</para> - -<para>If you want equations in HTML, just process generated file -<filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run -dvi2bitmap program on result DVI file. You will get images for -equations in your document.</para> - -</refsect1> -</refentry> - -<refentry id="tex.math.file"> -<refmeta> -<refentrytitle>tex.math.file</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>tex.math.file</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="tex.math.file.frag"><xsl:param name="tex.math.file" - select="'tex-math-equations.tex'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Name of auxiliary file for TeX equations. This file can be -processed by dvi2bitmap to get bitmap versions of equations for HTML -output.</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>Chunking</title> -<refentry id="using.chunker"> -<refmeta> -<refentrytitle>using.chunker</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>using.chunker</refname> -<refpurpose>Will the output be chunked?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="using.chunker.frag"><xsl:param name="using.chunker" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>In addition to providing chunking, the chunker can cleanup a -number of XML to HTML issues. If the chunker is not being used, the -stylesheets try to avoid producing results that will not appear properly -in browsers. -</para> - -</refsect1> -</refentry> - -<refentry id="html.ext"> -<refmeta> -<refentrytitle>html.ext</refentrytitle> - -</refmeta> -<refnamediv> -<refname>html.ext</refname> -<refpurpose>Identifies the extension of generated HTML files</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="html.ext.frag"><xsl:param name="html.ext" - select="'.html'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The extension identified by <parameter>html.ext</parameter> will -be used as the filename extension for chunks created by this stylesheet. -</para> - -</refsect1> -</refentry> - -<refentry id="root.filename"> -<refmeta> -<refentrytitle>root.filename</refentrytitle> - -</refmeta> -<refnamediv> -<refname>root.filename</refname> -<refpurpose>Identifies the name of the root HTML file when chunking</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="root.filename.frag"><xsl:param name="root.filename" - select="'index'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>The <parameter>root.filename</parameter> is the base filename for -the chunk created for the root of each document processed. -</para> - -</refsect1> -</refentry> - -<refentry id="base.dir"> -<refmeta> -<refentrytitle>base.dir</refentrytitle> - -</refmeta> -<refnamediv> -<refname>base.dir</refname> -<refpurpose>The base directory of chunks</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="base.dir.frag"><xsl:param name="base.dir" - select="''"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If specified, the <literal>base.dir</literal> identifies -the output directory for chunks. (If not specified, the output directory -is system dependent.)</para> - -</refsect1> -</refentry> - -<refentry id="chunk.section.depth"> -<refmeta> -<refentrytitle>chunk.section.depth</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>chunk.section.depth</refname> -<refpurpose>Depth to which sections should be chunked</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="chunk.section.depth.frag"><xsl:param name="chunk.section.depth" - select="1"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>This parameter sets the depth of section chunking.</para> - -</refsect1> -</refentry> - -<refentry id="chunk.first.sections"> -<refmeta> -<refentrytitle>chunk.first.sections</refentrytitle> - -</refmeta> -<refnamediv> -<refname>chunk.first.sections</refname> -<refpurpose>Chunk the first top-level section?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="chunk.first.sections.frag"><xsl:param name="chunk.first.sections" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If non-zero, a chunk will be created for the first top-level -<sgmltag>sect1</sgmltag> or <sgmltag>section</sgmltag> elements in -each component. Otherwise, that section will be part of the chunk for -its parent. -</para> - -</refsect1> -</refentry> - -<refentry id="saxon.character.representation"> -<refmeta> -<refentrytitle>saxon.character.representation</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>saxon.character.representation</refname> -<refpurpose>Saxon character representation used in generated HTML pages</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="saxon.character.representation.frag"><xsl:param name="saxon.character.representation" - select="'entity;decimal'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>This character representation is used in files generated by chunking stylesheet. If -you want to suppress entity references for characters with direct representation -in default.encoding, set this parameter to value <literal>native</literal>. -</para> - -</refsect1> -</refentry> - -<refentry id="default.encoding"> -<refmeta> -<refentrytitle>default.encoding</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>default.encoding</refname> -<refpurpose>Encoding used in generated HTML pages</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="default.encoding.frag"><xsl:param name="default.encoding" - select="'ISO-8859-1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>This encoding is used in files generated by chunking stylesheet. Currently -only Saxon is able to change output encoding. -</para> - -</refsect1> -</refentry> - -<refentry id="output.method"> -<refmeta> -<refentrytitle>output.method</refentrytitle> -<refmiscinfo role="type">list</refmiscinfo> -<refmiscinfo role="value">html</refmiscinfo> -<refmiscinfo role="value">xml</refmiscinfo> -</refmeta> -<refnamediv> -<refname>output.method</refname> -<refpurpose/> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="output.method.frag"><xsl:param name="output.method" - select="'html'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Selects the output method for chunked documents.</para> - -</refsect1> -</refentry> - -<refentry id="chunk.datafile"> -<refmeta> -<refentrytitle>chunk.datafile</refentrytitle> - -</refmeta> -<refnamediv> -<refname>chunk.datafile</refname> -<refpurpose>Name of the temporary file used to hold chunking data</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="chunk.datafile.frag"><xsl:param name="chunk.datafile" - select="'.chunks'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Chunking is now a two-step process. The -<parameter>chunk.datafile</parameter> is the name of the file used to -hold the chunking data. -</para> - -</refsect1> -</refentry> - -<refentry id="navig.graphics"> -<refmeta> -<refentrytitle>navig.graphics</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>navig.graphics</refname> -<refpurpose>Use graphics in navigational headers and footers?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="navig.graphics.frag"><xsl:param name="navig.graphics" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), the navigational headers and footers in chunked -HTML are presented in an alternate style that uses -graphical icons for Next, Previous, Up, and Home. -Default graphics are provided in the distribution. -</para> - -</refsect1> -</refentry> - -<refentry id="navig.graphics.extension"> -<refmeta> -<refentrytitle>navig.graphics.extension</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>navig.graphics.extension</refname> -<refpurpose>Extension for navigational graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="navig.graphics.extension.frag"><xsl:param name="navig.graphics.extension" - select="'.gif'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the filename extension to use on navigational graphics used -in the headers and footers of chunked HTML.</para> - -</refsect1> -</refentry> - -<refentry id="navig.graphics.path"> -<refmeta> -<refentrytitle>navig.graphics.path</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>navig.graphics.path</refname> -<refpurpose>Path to navigational graphics</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="navig.graphics.path.frag"><xsl:param name="navig.graphics.path">images/</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Sets the path, probably relative to the directory where the HTML -files are created, to the navigational graphics used in the -headers and footers of chunked HTML. -</para> - -</refsect1> -</refentry> - -<refentry id="navig.showtitles"> -<refmeta> -<refentrytitle>navig.showtitles</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>navig.showtitles</refname> -<refpurpose>Display titles in HTML headers and footers?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="navig.showtitles.frag"><xsl:param name="navig.showtitles">1</xsl:param></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If true (non-zero), -the headers and footers of chunked HTML -display the titles of the next and previous chunks, -along with the words 'Next' and 'Previous' (or the -equivalent graphical icons if navig.graphics is true). -If false (zero), then only the words 'Next' and 'Previous' -(or the icons) are displayed. -</para> - -</refsect1> -</refentry> - -</reference> - -<reference><title>HTML Help</title> -<refentry id="htmlhelp.encoding"> -<refmeta> -<refentrytitle>htmlhelp.encoding</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.encoding</refname> -<refpurpose>Character encoding to use in files for HTML Help compiler.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.encoding.frag"><xsl:param name="htmlhelp.encoding" - select="'iso-8859-1'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>HTML Help Compiler is not UTF-8 aware, so you should always use -apropriate single-byte encoding here.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.autolabel"> -<refmeta> -<refentrytitle>htmlhelp.autolabel</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.autolabel</refname> -<refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.autolabel.frag"><xsl:param name="htmlhelp.autolabel" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If you want to include chapter and section numbers into ToC in -the left panel, set this parameter to 1.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.chm"> -<refmeta> -<refentrytitle>htmlhelp.chm</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.chm</refname> -<refpurpose>Filename of output HTML Help file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.chm.frag"><xsl:param name="htmlhelp.chm" - select="'htmlhelp.chm'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want different name of result -CHM file than htmlhelp.chm.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.hhp"> -<refmeta> -<refentrytitle>htmlhelp.hhp</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.hhp</refname> -<refpurpose>Filename of project file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.hhp.frag"><xsl:param name="htmlhelp.hhp" - select="'htmlhelp.hhp'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want different name of project -file than htmlhelp.hhp.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.hhc"> -<refmeta> -<refentrytitle>htmlhelp.hhc</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.hhc</refname> -<refpurpose>Filename of TOC file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.hhc.frag"><xsl:param name="htmlhelp.hhc" - select="'toc.hhc'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want different name of TOC file -than toc.hhc.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.hhp.tail"> -<refmeta> -<refentrytitle>htmlhelp.hhp.tail</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.hhp.tail</refname> -<refpurpose>Additional content for project file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.hhp.tail.frag"><xsl:param name="htmlhelp.hhp.tail"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>If you want to include some additional parameters into project file, -store appropriate part of project file into this parameter.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.enumerate.images"> -<refmeta> -<refentrytitle>htmlhelp.enumerate.images</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.enumerate.images</refname> -<refpurpose>Should be paths to all used images added to project file?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.enumerate.images.frag"><xsl:param name="htmlhelp.enumerate.images" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>You should turn on this flag, if you insert images into your documents -as external binary entities or if you are using absolute path in image names.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.force.map.and.alias"> -<refmeta> -<refentrytitle>htmlhelp.force.map.and.alias</refentrytitle> -<refmiscinfo role="type">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.force.map.and.alias</refname> -<refpurpose>Should be [MAP] and [ALIAS] section added to project file unconditionaly?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.force.map.and.alias.frag"><xsl:param name="htmlhelp.force.map.and.alias" - select="0"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>You should turn on this flag, if you have your own -<filename>alias.h</filename> and <filename>contex.h</filename> files -and you want include reference to them in project file.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.map.file"> -<refmeta> -<refentrytitle>htmlhelp.map.file</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.map.file</refname> -<refpurpose>Filename of map file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.map.file.frag"><xsl:param name="htmlhelp.map.file" - select="'context.h'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want different name of map file -than <filename>context.h</filename>.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.alias.file"> -<refmeta> -<refentrytitle>htmlhelp.alias.file</refentrytitle> -<refmiscinfo role="type">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.alias.file</refname> -<refpurpose>Filename of map file.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.alias.file.frag"><xsl:param name="htmlhelp.alias.file" - select="'alias.h'"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want different name of map file -than <filename>alias.h</filename>.</para> - -</refsect1> -</refentry> - -<refentry id="htmlhelp.hhc.section.depth"> -<refmeta> -<refentrytitle>htmlhelp.hhc.section.depth</refentrytitle> -<refmiscinfo role="type">integer</refmiscinfo> -</refmeta> -<refnamediv> -<refname>htmlhelp.hhc.section.depth</refname> -<refpurpose>Depth of TOC for sections in a left pane.</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment id="htmlhelp.hhc.section.depth.frag"><xsl:param name="htmlhelp.hhc.section.depth" - select="5"/></src:fragment> -</refsynopsisdiv> - -<refsect1><title>Description</title> - -<para>Change this parameter if you want shallower ToC in a left pane -of HTML Help viewer.</para> - -</refsect1> -</refentry> - -</reference> - -<appendix><title>The Stylesheet</title> - -<para>The <filename>param.xsl</filename> stylesheet is just a wrapper -around all these parameters.</para> - -<src:fragment id="top"> -<!-- This file is generated from param.xweb; do not edit this file! --> - -<xsl:stylesheet exclude-result-prefixes="src" - version="1.0"> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<src:fragref linkend="admon.graphics.extension.frag"/> -<src:fragref linkend="admon.graphics.frag"/> -<src:fragref linkend="admon.graphics.path.frag"/> -<src:fragref linkend="admon.style.frag"/> -<src:fragref linkend="annotate.toc.frag"/> -<src:fragref linkend="appendix.autolabel.frag"/> -<src:fragref linkend="author.othername.in.middle.frag"/> -<src:fragref linkend="autotoc.label.separator.frag"/> -<src:fragref linkend="base.dir.frag"/> -<src:fragref linkend="biblioentry.item.separator.frag"/> -<src:fragref linkend="bibliography.collection.frag"/> -<src:fragref linkend="bridgehead.in.toc.frag"/> -<src:fragref linkend="callout.defaultcolumn.frag"/> -<src:fragref linkend="callout.graphics.extension.frag"/> -<src:fragref linkend="callout.graphics.frag"/> -<src:fragref linkend="callout.graphics.number.limit.frag"/> -<src:fragref linkend="callout.graphics.path.frag"/> -<src:fragref linkend="callout.list.table.frag"/> -<src:fragref linkend="callout.unicode.frag"/> -<src:fragref linkend="callout.unicode.number.limit.frag"/> -<src:fragref linkend="callout.unicode.start.character.frag"/> -<src:fragref linkend="callouts.extension.frag"/> -<src:fragref linkend="chapter.autolabel.frag"/> -<src:fragref linkend="chunk.datafile.frag"/> -<src:fragref linkend="chunk.first.sections.frag"/> -<src:fragref linkend="chunk.section.depth.frag"/> -<src:fragref linkend="citerefentry.link.frag"/> -<src:fragref linkend="css.decoration.frag"/> -<src:fragref linkend="default.encoding.frag"/> -<src:fragref linkend="default.table.width.frag"/> -<src:fragref linkend="ebnf.table.bgcolor.frag"/> -<src:fragref linkend="ebnf.table.border.frag"/> -<src:fragref linkend="emphasis.propagates.style.frag"/> -<src:fragref linkend="firstterm.only.link.frag"/> -<src:fragref linkend="formal.procedures.frag"/> -<src:fragref linkend="funcsynopsis.decoration.frag"/> -<src:fragref linkend="funcsynopsis.style.frag"/> -<src:fragref linkend="function.parens.frag"/> -<src:fragref linkend="generate.appendix.toc.frag"/> -<src:fragref linkend="generate.article.toc.frag"/> -<src:fragref linkend="generate.book.toc.frag"/> -<src:fragref linkend="generate.chapter.toc.frag"/> -<src:fragref linkend="generate.component.toc.frag"/> -<src:fragref linkend="generate.division.toc.frag"/> -<src:fragref linkend="generate.index.frag"/> -<src:fragref linkend="generate.legalnotice.link.frag"/> -<src:fragref linkend="generate.part.toc.frag"/> -<src:fragref linkend="generate.preface.toc.frag"/> -<src:fragref linkend="generate.qandadiv.toc.frag"/> -<src:fragref linkend="generate.qandaset.toc.frag"/> -<src:fragref linkend="generate.reference.toc.frag"/> -<src:fragref linkend="generate.section.toc.frag"/> -<src:fragref linkend="generate.section.toc.level.frag"/> -<src:fragref linkend="generate.set.toc.frag"/> -<src:fragref linkend="glossary.collection.frag"/> -<src:fragref linkend="glossterm.auto.link.frag"/> -<src:fragref linkend="graphic.default.extension.frag"/> -<src:fragref linkend="html.base.frag"/> -<src:fragref linkend="html.ext.frag"/> -<src:fragref linkend="html.longdesc.frag"/> -<src:fragref linkend="html.longdesc.link.frag"/> -<src:fragref linkend="html.stylesheet.frag"/> -<src:fragref linkend="html.stylesheet.type.frag"/> -<src:fragref linkend="htmlhelp.alias.file.frag"/> -<src:fragref linkend="htmlhelp.autolabel.frag"/> -<src:fragref linkend="htmlhelp.chm.frag"/> -<src:fragref linkend="htmlhelp.encoding.frag"/> -<src:fragref linkend="htmlhelp.enumerate.images.frag"/> -<src:fragref linkend="htmlhelp.force.map.and.alias.frag"/> -<src:fragref linkend="htmlhelp.hhc.frag"/> -<src:fragref linkend="htmlhelp.hhc.section.depth.frag"/> -<src:fragref linkend="htmlhelp.hhp.frag"/> -<src:fragref linkend="htmlhelp.hhp.tail.frag"/> -<src:fragref linkend="htmlhelp.map.file.frag"/> -<src:fragref linkend="inherit.keywords.frag"/> -<src:fragref linkend="label.from.part.frag"/> -<src:fragref linkend="linenumbering.everyNth.frag"/> -<src:fragref linkend="linenumbering.extension.frag"/> -<src:fragref linkend="linenumbering.separator.frag"/> -<src:fragref linkend="linenumbering.width.frag"/> -<src:fragref linkend="link.mailto.url.frag"/> -<src:fragref linkend="make.single.year.ranges.frag"/> -<src:fragref linkend="make.valid.html.frag"/> -<src:fragref linkend="make.year.ranges.frag"/> -<src:fragref linkend="navig.graphics.extension.frag"/> -<src:fragref linkend="navig.graphics.frag"/> -<src:fragref linkend="navig.graphics.path.frag"/> -<src:fragref linkend="navig.showtitles.frag"/> -<src:fragref linkend="nominal.table.width.frag"/> -<src:fragref linkend="olink.fragid.frag"/> -<src:fragref linkend="olink.outline.ext.frag"/> -<src:fragref linkend="olink.pubid.frag"/> -<src:fragref linkend="olink.resolver.frag"/> -<src:fragref linkend="olink.sysid.frag"/> -<src:fragref linkend="output.method.frag"/> -<src:fragref linkend="part.autolabel.frag"/> -<src:fragref linkend="phrase.propagates.style.frag"/> -<src:fragref linkend="preface.autolabel.frag"/> -<src:fragref linkend="process.empty.source.toc.frag"/> -<src:fragref linkend="process.source.toc.frag"/> -<src:fragref linkend="punct.honorific.frag"/> -<src:fragref linkend="qanda.defaultlabel.frag"/> -<src:fragref linkend="qanda.inherit.numeration.frag"/> -<src:fragref linkend="qandadiv.autolabel.frag"/> -<src:fragref linkend="refentry.generate.name.frag"/> -<src:fragref linkend="refentry.generate.title.frag"/> -<src:fragref linkend="refentry.separator.frag"/> -<src:fragref linkend="refentry.xref.manvolnum.frag"/> -<src:fragref linkend="root.filename.frag"/> -<src:fragref linkend="rootid.frag"/> -<src:fragref linkend="runinhead.default.title.end.punct.frag"/> -<src:fragref linkend="runinhead.title.end.punct.frag"/> -<src:fragref linkend="saxon.character.representation.frag"/> -<src:fragref linkend="section.autolabel.frag"/> -<src:fragref linkend="section.label.includes.component.label.frag"/> -<src:fragref linkend="segmentedlist.as.table.frag"/> -<src:fragref linkend="shade.verbatim.frag"/> -<src:fragref linkend="shade.verbatim.style.frag"/> -<src:fragref linkend="show.comments.frag"/> -<src:fragref linkend="show.revisionflag.frag"/> -<src:fragref linkend="spacing.paras.frag"/> -<src:fragref linkend="stylesheet.result.type.frag"/> -<src:fragref linkend="suppress.navigation.frag"/> -<src:fragref linkend="table.border.color.frag"/> -<src:fragref linkend="table.border.style.frag"/> -<src:fragref linkend="table.border.thickness.frag"/> -<src:fragref linkend="table.borders.with.css.frag"/> -<src:fragref linkend="tablecolumns.extension.frag"/> -<src:fragref linkend="textinsert.extension.frag"/> -<src:fragref linkend="tex.math.file.frag"/> -<src:fragref linkend="tex.math.in.alt.frag"/> -<src:fragref linkend="toc.list.type.frag"/> -<src:fragref linkend="toc.section.depth.frag"/> -<src:fragref linkend="ulink.target.frag"/> -<src:fragref linkend="use.extensions.frag"/> -<src:fragref linkend="use.id.as.filename.frag"/> -<src:fragref linkend="using.chunker.frag"/> -<src:fragref linkend="variablelist.as.table.frag"/> - -</xsl:stylesheet></src:fragment> - -</appendix> - -</book>
\ No newline at end of file diff --git a/stylesheets/docbook/html/param.xsl b/stylesheets/docbook/html/param.xsl deleted file mode 100644 index 299fc8a1..00000000 --- a/stylesheets/docbook/html/param.xsl +++ /dev/null @@ -1,223 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<!-- This file is generated from param.xweb; do not edit this file! --> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0"> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:param name="admon.graphics.extension" select="'.png'"/> -<xsl:param name="admon.graphics" select="0"/> -<xsl:param name="admon.graphics.path">images/</xsl:param> -<xsl:param name="admon.style"> - <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text> -</xsl:param> -<xsl:param name="annotate.toc" select="1"/> -<xsl:param name="appendix.autolabel" select="1"/> -<xsl:param name="author.othername.in.middle" select="1"/> -<xsl:param name="autotoc.label.separator" select="'. '"/> -<xsl:param name="base.dir" select="''"/> -<xsl:param name="biblioentry.item.separator">. </xsl:param> -<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/> -<xsl:param name="bridgehead.in.toc" select="0"/> -<xsl:param name="callout.defaultcolumn" select="'60'"/> -<xsl:param name="callout.graphics.extension" select="'.png'"/> -<xsl:param name="callout.graphics" select="'1'"/> -<xsl:param name="callout.graphics.number.limit" select="'10'"/> -<xsl:param name="callout.graphics.path" select="'images/callouts/'"/> -<xsl:param name="callout.list.table" select="'1'"/> -<xsl:param name="callout.unicode" select="0"/> -<xsl:param name="callout.unicode.number.limit" select="'10'"/> -<xsl:param name="callout.unicode.start.character" select="10102"/> -<xsl:param name="callouts.extension" select="'1'"/> -<xsl:param name="chapter.autolabel" select="1"/> - -<xsl:param name="chunk.datafile" select="'.chunks'"/> - - -<xsl:param name="chunk.first.sections" select="0"/> - - -<xsl:param name="chunk.section.depth" select="1"/> - -<xsl:param name="citerefentry.link" select="'0'"/> -<xsl:param name="css.decoration">1</xsl:param> -<xsl:param name="default.encoding" select="'ISO-8859-1'"/> -<xsl:param name="default.table.width" select="''"/> -<xsl:param name="ebnf.table.bgcolor" select="'#F5DCB3'"/> -<xsl:param name="ebnf.table.border" select="1"/> -<xsl:param name="emphasis.propagates.style" select="1"/> - -<xsl:param name="firstterm.only.link" select="0"/> - -<xsl:param name="formal.procedures" select="1"/> -<xsl:param name="funcsynopsis.decoration" select="1"/> -<xsl:param name="funcsynopsis.style">kr</xsl:param> -<xsl:param name="function.parens">0</xsl:param> -<xsl:param name="generate.appendix.toc" select="1"/> -<xsl:param name="generate.article.toc" select="1"/> -<xsl:param name="generate.book.toc" select="1"/> -<xsl:param name="generate.chapter.toc" select="1"/> -<xsl:param name="generate.component.toc" select="1"/> -<xsl:param name="generate.division.toc" select="1"/> -<xsl:param name="generate.index" select="1"/> -<xsl:param name="generate.legalnotice.link" select="0"/> -<xsl:param name="generate.part.toc" select="1"/> -<xsl:param name="generate.preface.toc" select="1"/> -<xsl:param name="generate.qandadiv.toc">0</xsl:param> -<xsl:param name="generate.qandaset.toc">1</xsl:param> -<xsl:param name="generate.reference.toc" select="1"/> -<xsl:param name="generate.section.toc" select="1"/> -<xsl:param name="generate.section.toc.level" select="0"/> -<xsl:param name="generate.set.toc" select="1"/> - -<xsl:param name="glossary.collection" select="''"/> - -<xsl:param name="glossterm.auto.link" select="'0'"/> -<xsl:param name="graphic.default.extension"/> -<xsl:param name="html.base"/> - -<xsl:param name="html.ext" select="'.html'"/> - - -<xsl:param name="html.longdesc" select="1"/> - - -<xsl:param name="html.longdesc.link" select="$html.longdesc"/> - -<xsl:param name="html.stylesheet" select="''"/> -<xsl:param name="html.stylesheet.type">text/css</xsl:param> - -<xsl:param name="htmlhelp.alias.file" select="'alias.h'"/> - - -<xsl:param name="htmlhelp.autolabel" select="0"/> - - -<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/> - - -<xsl:param name="htmlhelp.encoding" select="'iso-8859-1'"/> - - -<xsl:param name="htmlhelp.enumerate.images" select="0"/> - - -<xsl:param name="htmlhelp.force.map.and.alias" select="0"/> - - -<xsl:param name="htmlhelp.hhc" select="'toc.hhc'"/> - - -<xsl:param name="htmlhelp.hhc.section.depth" select="5"/> - - -<xsl:param name="htmlhelp.hhp" select="'htmlhelp.hhp'"/> - - -<xsl:param name="htmlhelp.hhp.tail"/> - - -<xsl:param name="htmlhelp.map.file" select="'context.h'"/> - -<xsl:param name="inherit.keywords" select="'1'"/> -<xsl:param name="label.from.part" select="'0'"/> -<xsl:param name="linenumbering.everyNth" select="'5'"/> -<xsl:param name="linenumbering.extension" select="'1'"/> -<xsl:param name="linenumbering.separator" select="' '"/> -<xsl:param name="linenumbering.width" select="'3'"/> -<xsl:param name="link.mailto.url"/> -<xsl:param name="make.single.year.ranges" select="0"/> - -<xsl:param name="make.valid.html" select="0"/> - -<xsl:param name="make.year.ranges" select="0"/> -<xsl:param name="navig.graphics.extension" select="'.gif'"/> -<xsl:param name="navig.graphics" select="0"/> -<xsl:param name="navig.graphics.path">images/</xsl:param> -<xsl:param name="navig.showtitles">1</xsl:param> -<xsl:param name="nominal.table.width" select="'6in'"/> -<xsl:param name="olink.fragid" select="'fragid='"/> -<xsl:param name="olink.outline.ext" select="'.olink'"/> -<xsl:param name="olink.pubid" select="'pubid='"/> -<xsl:param name="olink.resolver" select="'/cgi-bin/olink'"/> -<xsl:param name="olink.sysid" select="'sysid='"/> - -<xsl:param name="output.method" select="'html'"/> - -<xsl:param name="part.autolabel" select="1"/> -<xsl:param name="phrase.propagates.style" select="1"/> -<xsl:param name="preface.autolabel" select="0"/> -<xsl:param name="process.empty.source.toc" select="0"/> -<xsl:param name="process.source.toc" select="0"/> - -<xsl:param name="punct.honorific" select="'.'"/> - -<xsl:param name="qanda.defaultlabel">number</xsl:param> -<xsl:param name="qanda.inherit.numeration" select="1"/> -<xsl:param name="qandadiv.autolabel" select="1"/> -<xsl:param name="refentry.generate.name" select="1"/> - -<xsl:param name="refentry.generate.title" select="0"/> - -<xsl:param name="refentry.separator" select="'1'"/> -<xsl:param name="refentry.xref.manvolnum" select="1"/> -<xsl:param name="root.filename" select="'index'"/> -<xsl:param name="rootid" select="''"/> -<xsl:param name="runinhead.default.title.end.punct" select="'.'"/> -<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/> -<xsl:param name="saxon.character.representation" select="'entity;decimal'"/> -<xsl:param name="section.autolabel" select="0"/> -<xsl:param name="section.label.includes.component.label" select="0"/> - -<xsl:param name="segmentedlist.as.table" select="0"/> - -<xsl:param name="shade.verbatim" select="0"/> -<xsl:attribute-set name="shade.verbatim.style"> - <xsl:attribute name="border">0</xsl:attribute> - <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute> -</xsl:attribute-set> -<xsl:param name="show.comments">1</xsl:param> -<xsl:param name="show.revisionflag">0</xsl:param> -<xsl:param name="spacing.paras" select="'0'"/> -<xsl:param name="stylesheet.result.type" select="'html'"/> -<xsl:param name="suppress.navigation">0</xsl:param> - -<xsl:param name="table.border.color" select="'black'"/> - - -<xsl:param name="table.border.style" select="'solid'"/> - - -<xsl:param name="table.border.thickness" select="'0.5pt'"/> - - -<xsl:param name="table.borders.with.css" select="0"/> - -<xsl:param name="tablecolumns.extension" select="'1'"/> -<xsl:param name="textinsert.extension" select="'1'"/> - -<xsl:param name="tex.math.file" select="'tex-math-equations.tex'"/> - - -<xsl:param name="tex.math.in.alt" select="''"/> - -<xsl:param name="toc.list.type">dl</xsl:param> -<xsl:param name="toc.section.depth">2</xsl:param> -<xsl:param name="ulink.target" select="'_top'"/> -<xsl:param name="use.extensions" select="'0'"/> -<xsl:param name="use.id.as.filename" select="'0'"/> -<xsl:param name="using.chunker" select="0"/> - -<xsl:param name="variablelist.as.table" select="0"/> - - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/pi.xsl b/stylesheets/docbook/html/pi.xsl deleted file mode 100644 index d3da3d90..00000000 --- a/stylesheets/docbook/html/pi.xsl +++ /dev/null @@ -1,170 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<xsl:template match="processing-instruction()"> -</xsl:template> - -<xsl:template match="processing-instruction('dbhtml')"> - <xsl:if test="$using.chunker"> - <xsl:processing-instruction name="dbhtml"> - <xsl:value-of select="."/> - </xsl:processing-instruction> - </xsl:if> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="dbhtml-attribute"> - <xsl:param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:param name="attribute">filename</xsl:param> - - <xsl:call-template name="pi-attribute"> - <xsl:with-param name="pis" select="$pis"/> - <xsl:with-param name="attribute" select="$attribute"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="dbhtml-filename"> - <xsl:param name="pis" select="./processing-instruction('dbhtml')"/> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="$pis"/> - <xsl:with-param name="attribute">filename</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="dbhtml-dir"> - <xsl:param name="pis" select="./processing-instruction('dbhtml')"/> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="$pis"/> - <xsl:with-param name="attribute">dir</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process.cmdsynopsis.list"> - <xsl:param name="cmdsynopses"/><!-- empty node list by default --> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="$count>count($cmdsynopses)"></xsl:when> - <xsl:otherwise> - <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/> - - <dt> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$cmdsyn"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:choose> - <xsl:when test="$cmdsyn/@xreflabel"> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$cmdsyn" mode="xref-to"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - </a> - </dt> - - <xsl:call-template name="process.cmdsynopsis.list"> - <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="processing-instruction('dbcmdlist')"> - <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/> - - <xsl:if test="count($cmdsynopses)<1"> - <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text> - </xsl:message> - </xsl:if> - - <dl> - <xsl:call-template name="process.cmdsynopsis.list"> - <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/> - </xsl:call-template> - </dl> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process.funcsynopsis.list"> - <xsl:param name="funcsynopses"/><!-- empty node list by default --> - <xsl:param name="count" select="1"/> - - <xsl:choose> - <xsl:when test="$count>count($funcsynopses)"></xsl:when> - <xsl:otherwise> - <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/> - - <dt> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="$cmdsyn"/> - </xsl:call-template> - </xsl:attribute> - - <xsl:choose> - <xsl:when test="$cmdsyn/@xreflabel"> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$cmdsyn" mode="xref-to"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - </a> - </dt> - - <xsl:call-template name="process.funcsynopsis.list"> - <xsl:with-param name="funcsynopses" select="$funcsynopses"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="processing-instruction('dbfunclist')"> - <xsl:variable name="funcsynopses" select="..//funcsynopsis"/> - - <xsl:if test="count($funcsynopses)<1"> - <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text> - </xsl:message> - </xsl:if> - - <dl> - <xsl:call-template name="process.funcsynopsis.list"> - <xsl:with-param name="funcsynopses" select="$funcsynopses"/> - </xsl:call-template> - </dl> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/qandaset.xsl b/stylesheets/docbook/html/qandaset.xsl deleted file mode 100644 index e46d1ef8..00000000 --- a/stylesheets/docbook/html/qandaset.xsl +++ /dev/null @@ -1,302 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="qandaset"> - <xsl:variable name="title" select="title"/> - <xsl:variable name="preamble" select="*[name(.) != 'title' - and name(.) != 'titleabbrev' - and name(.) != 'qandadiv' - and name(.) != 'qandaentry']"/> - <xsl:variable name="label-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'label-width'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="table-summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="cellpadding"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'cellpadding'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="cellspacing"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'cellspacing'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="toc"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'toc'"/> - </xsl:call-template> - </xsl:variable> - - <div class="{name(.)}"> - <xsl:apply-templates select="$title"/> - <xsl:if test="$generate.qandaset.toc != 0 and $toc != '0'"> - <xsl:call-template name="process.qanda.toc"/> - </xsl:if> - <xsl:apply-templates select="$preamble"/> - <table border="0"> - <xsl:if test="$table-summary != ''"> - <xsl:attribute name="summary"> - <xsl:value-of select="$table-summary"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$cellpadding != ''"> - <xsl:attribute name="cellpadding"> - <xsl:value-of select="$cellpadding"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$cellspacing != ''"> - <xsl:attribute name="cellspacing"> - <xsl:value-of select="$cellspacing"/> - </xsl:attribute> - </xsl:if> - - <col align="left"> - <xsl:attribute name="width"> - <xsl:choose> - <xsl:when test="$label-width != ''"> - <xsl:value-of select="$label-width"/> - </xsl:when> - <xsl:otherwise>1%</xsl:otherwise> - </xsl:choose> - </xsl:attribute> - </col> - <tbody> - <xsl:apply-templates select="qandaentry|qandadiv"/> - </tbody> - </table> - </div> -</xsl:template> - -<xsl:template match="qandaset/title"> - <xsl:variable name="qalevel"> - <xsl:call-template name="qanda.section.level"/> - </xsl:variable> - <xsl:element name="h{string(number($qalevel)+1)}"> - <xsl:attribute name="class"> - <xsl:value-of select="name(.)"/> - </xsl:attribute> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<xsl:template match="qandadiv"> - <xsl:variable name="preamble" select="*[name(.) != 'title' - and name(.) != 'titleabbrev' - and name(.) != 'qandadiv' - and name(.) != 'qandaentry']"/> - - <xsl:if test="title"> - <tr class="qandadiv"> - <td align="left" valign="top" colspan="2"> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates select="title"/> - </td> - </tr> - </xsl:if> - <xsl:if test="$generate.qandadiv.toc != '0'"> - <tr class="toc" colspan="2"> - <td align="left" valign="top" colspan="2"> - <xsl:call-template name="process.qanda.toc"/> - </td> - </tr> - </xsl:if> - <xsl:if test="$preamble"> - <tr class="toc" colspan="2"> - <td align="left" valign="top" colspan="2"> - <xsl:apply-templates select="$preamble"/> - </td> - </tr> - </xsl:if> - <xsl:apply-templates select="qandadiv|qandaentry"/> -</xsl:template> - -<xsl:template match="qandadiv/title"> - <xsl:variable name="qalevel"> - <xsl:call-template name="qandadiv.section.level"/> - </xsl:variable> - - <xsl:element name="h{string(number($qalevel)+1)}"> - <xsl:attribute name="class"> - <xsl:value-of select="name(.)"/> - </xsl:attribute> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select=".."/> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/> - <xsl:value-of select="$autotoc.label.separator"/> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<xsl:template match="qandaentry"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="question"> - <xsl:variable name="deflabel"> - <xsl:choose> - <xsl:when test="ancestor-or-self::*[@defaultlabel]"> - <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()] - /@defaultlabel"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="qanda.defaultlabel"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <tr class="{name(.)}"> - <td align="left" valign="top"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select=".."/> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - - <b> - <xsl:apply-templates select="." mode="label.markup"/> - </b> - </td> - <td align="left" valign="top"> - <xsl:choose> - <xsl:when test="$deflabel = 'none' and not(label)"> - <b><xsl:apply-templates select="*[name(.) != 'label']"/></b> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[name(.) != 'label']"/> - </xsl:otherwise> - </xsl:choose> - </td> - </tr> -</xsl:template> - -<xsl:template match="answer"> - <tr class="{name(.)}"> - <td align="left" valign="top"> - <xsl:call-template name="anchor"/> - <b> - <xsl:apply-templates select="." mode="label.markup"/> - </b> - </td> - <td align="left" valign="top"> - <xsl:apply-templates select="*[name(.) != 'label']"/> - </td> - </tr> -</xsl:template> - -<xsl:template match="label"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="process.qanda.toc"> - <dl> - <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/> - <xsl:apply-templates select="qandaentry" mode="qandatoc.mode"/> - </dl> -</xsl:template> - -<xsl:template match="qandadiv" mode="qandatoc.mode"> - <dt><xsl:apply-templates select="title" mode="qandatoc.mode"/></dt> - <dd><xsl:call-template name="process.qanda.toc"/></dd> -</xsl:template> - -<xsl:template match="qandadiv/title" mode="qandatoc.mode"> - <xsl:variable name="qalevel"> - <xsl:call-template name="qandadiv.section.level"/> - </xsl:variable> - <xsl:variable name="id"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="parent::*"/> - </xsl:call-template> - </xsl:variable> - - <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/> - <xsl:value-of select="$autotoc.label.separator"/> - <xsl:text> </xsl:text> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="parent::*"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> -</xsl:template> - -<xsl:template match="qandaentry" mode="qandatoc.mode"> - <xsl:apply-templates mode="qandatoc.mode"/> -</xsl:template> - -<xsl:template match="question" mode="qandatoc.mode"> - <xsl:variable name="firstch" select="(*[name(.)!='label'])[1]"/> - - <dt> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:text> </xsl:text> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"/> - </xsl:attribute> - <xsl:value-of select="$firstch"/> - </a> - </dt> -</xsl:template> - -<xsl:template match="answer|revhistory" mode="qandatoc.mode"> - <!-- nop --> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="no.wrapper.mode"> - <xsl:apply-templates/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/refentry.xsl b/stylesheets/docbook/html/refentry.xsl deleted file mode 100644 index 350b1140..00000000 --- a/stylesheets/docbook/html/refentry.xsl +++ /dev/null @@ -1,222 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="reference"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:call-template name="reference.titlepage"/> - <xsl:if test="not(partintro) and $generate.reference.toc != '0'"> - <xsl:call-template name="division.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="reference" mode="division.number"> - <xsl:number from="book" count="reference" format="I."/> -</xsl:template> - -<xsl:template match="reference/docinfo"></xsl:template> -<xsl:template match="reference/referenceinfo"></xsl:template> -<xsl:template match="reference/title"></xsl:template> -<xsl:template match="reference/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="refentry.title"> - <xsl:param name="node" select="."/> - <xsl:variable name="refmeta" select="$node//refmeta"/> - <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> - <xsl:variable name="refnamediv" select="$node//refnamediv"/> - <xsl:variable name="refname" select="$refnamediv//refname"/> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$refentrytitle"> - <xsl:apply-templates select="$refentrytitle[1]" mode="title"/> - </xsl:when> - <xsl:when test="$refname"> - <xsl:apply-templates select="$refname[1]" mode="title"/> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <h1 class="title"> - <xsl:copy-of select="$title"/> - </h1> -</xsl:template> - -<xsl:template match="refentry"> - <div class="{name(.)}"> - <xsl:if test="$refentry.separator != 0 and preceding-sibling::refentry"> - <div class="refentry.separator"> - <hr/> - </div> - </xsl:if> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:call-template name="refentry.titlepage"/> - <xsl:apply-templates/> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="refentry/docinfo|refentry/refentryinfo"></xsl:template> - -<xsl:template match="refentrytitle|refname" mode="title"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="refmeta"> -</xsl:template> - -<xsl:template match="manvolnum"> - <xsl:if test="$refentry.xref.manvolnum != 0"> - <xsl:text>(</xsl:text> - <xsl:apply-templates/> - <xsl:text>)</xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="refmiscinfo"> -</xsl:template> - -<xsl:template match="refentrytitle"> - <xsl:call-template name="inline.charseq"/> -</xsl:template> - -<xsl:template match="refnamediv"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <xsl:choose> - <xsl:when test="$refentry.generate.name != 0"> - <h2> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RefName'"/> - </xsl:call-template> - </h2> - </xsl:when> - <xsl:when test="$refentry.generate.title != 0"> - <h2> - <xsl:choose> - <xsl:when test="../refmeta/refentrytitle"> - <xsl:apply-templates select="../refmeta/refentrytitle"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="refname[1]"/> - </xsl:otherwise> - </xsl:choose> - </h2> - </xsl:when> - </xsl:choose> - <p> - <xsl:apply-templates/> - </p> - </div> -</xsl:template> - -<xsl:template match="refname"> - <xsl:apply-templates/> - <xsl:if test="following-sibling::refname"> - <xsl:text>, </xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="refpurpose"> - <xsl:text> </xsl:text> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">em-dash</xsl:with-param> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="refdescriptor"> - <!-- todo: finish this --> -</xsl:template> - -<xsl:template match="refclass"> - <p> - <b> - <xsl:if test="@role"> - <xsl:value-of select="@role"/> - <xsl:text>: </xsl:text> - </xsl:if> - <xsl:apply-templates/> - </b> - </p> -</xsl:template> - -<xsl:template match="refsynopsisdiv"> - <div class="{name(.)}"> - <xsl:call-template name="anchor"/> - <h2> - <xsl:choose> - <xsl:when test="refsynopsisdiv/title|title"> - <xsl:apply-templates select="(refsynopsisdiv/title|title)[1]" - mode="titlepage.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RefSynopsisDiv'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </h2> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="refsynopsisdivinfo"></xsl:template> - -<xsl:template match="refsynopsisdiv/title"> -</xsl:template> - -<xsl:template match="refsect1|refsect2|refsect3"> - <xsl:call-template name="block.object"/> -</xsl:template> - -<xsl:template match="refsect1/title"> - <!-- the ID is output in the block.object call for refsect1 --> - <h2> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="refsect2/title"> - <!-- the ID is output in the block.object call for refsect2 --> - <h3> - <xsl:apply-templates/> - </h3> -</xsl:template> - -<xsl:template match="refsect3/title"> - <!-- the ID is output in the block.object call for refsect3 --> - <h4> - <xsl:apply-templates/> - </h4> -</xsl:template> - -<xsl:template match="refsect1info"></xsl:template> -<xsl:template match="refsect2info"></xsl:template> -<xsl:template match="refsect3info"></xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/sections.xsl b/stylesheets/docbook/html/sections.xsl deleted file mode 100644 index 3cbfbc8c..00000000 --- a/stylesheets/docbook/html/sections.xsl +++ /dev/null @@ -1,309 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="section"> - <xsl:variable name="depth" select="count(ancestor::section)+1"/> - - <div class="{name(.)}"> - <xsl:call-template name="section.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $depth <= $generate.section.toc.level) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.chunk.footnotes"/> - </div> -</xsl:template> - -<xsl:template name="section.title"> - <!-- the context node should be the title of a section when called --> - <xsl:variable name="section" select="(ancestor::section - |ancestor::simplesect - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5)[last()]"/> - - <xsl:variable name="level"> - <xsl:call-template name="section.level"> - <xsl:with-param name="node" select="$section"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="section.heading"> - <xsl:with-param name="section" select=".."/> - <xsl:with-param name="level" select="$level"/> - <xsl:with-param name="title"> - <xsl:apply-templates select="$section" mode="object.title.markup"> - <xsl:with-param name="allow-anchors" select="1"/> - </xsl:apply-templates> - </xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template match="section/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="sect1"> - <div class="{name(.)}"> - <xsl:call-template name="sect1.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $generate.section.toc.level >= 1) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - <xsl:call-template name="process.chunk.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="sect1/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="sect2"> - <div class="{name(.)}"> - <xsl:call-template name="sect2.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $generate.section.toc.level >= 2) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sect2/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="sect3"> - <div class="{name(.)}"> - <xsl:call-template name="sect3.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $generate.section.toc.level >= 3) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sect3/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="sect4"> - <div class="{name(.)}"> - <xsl:call-template name="sect4.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $generate.section.toc.level >= 4) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sect4/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="sect5"> - <div class="{name(.)}"> - <xsl:call-template name="sect5.titlepage"/> - <xsl:if test="($generate.section.toc != '0' - and $generate.section.toc.level >= 5) - or refentry"> - <xsl:call-template name="section.toc"/> - </xsl:if> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="sect5/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="simplesect"> - <div class="{name(.)}"> - <xsl:call-template name="simplesect.titlepage"/> - <xsl:apply-templates/> - </div> -</xsl:template> - -<xsl:template match="simplesect/title" mode="titlepage.mode" priority="2"> - <xsl:call-template name="section.title"/> -</xsl:template> - -<xsl:template match="section/title"></xsl:template> -<xsl:template match="section/titleabbrev"></xsl:template> -<xsl:template match="section/subtitle"></xsl:template> -<xsl:template match="sectioninfo"></xsl:template> - -<xsl:template match="sect1/title"></xsl:template> -<xsl:template match="sect1/titleabbrev"></xsl:template> -<xsl:template match="sect1/subtitle"></xsl:template> -<xsl:template match="sect1info"></xsl:template> - -<xsl:template match="sect2/title"></xsl:template> -<xsl:template match="sect2/subtitle"></xsl:template> -<xsl:template match="sect2/titleabbrev"></xsl:template> -<xsl:template match="sect2info"></xsl:template> - -<xsl:template match="sect3/title"></xsl:template> -<xsl:template match="sect3/subtitle"></xsl:template> -<xsl:template match="sect3/subtitle"></xsl:template> -<xsl:template match="sect3info"></xsl:template> - -<xsl:template match="sect4/title"></xsl:template> -<xsl:template match="sect4/subtitle"></xsl:template> -<xsl:template match="sect4/subtitle"></xsl:template> -<xsl:template match="sect4info"></xsl:template> - -<xsl:template match="sect5/title"></xsl:template> -<xsl:template match="sect5/subtitle"></xsl:template> -<xsl:template match="sect5/subtitle"></xsl:template> -<xsl:template match="sect5info"></xsl:template> - -<xsl:template match="simplesect/title"></xsl:template> -<xsl:template match="simplesect/titleabbrev"></xsl:template> -<xsl:template match="simplesect/subtitle"></xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="section.heading"> - <xsl:param name="section" select="."/> - <xsl:param name="level" select="'1'"/> - <xsl:param name="title"/> - - <xsl:variable name="id"> - <xsl:choose> - <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="contains(local-name(..), 'info')"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="../.."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="h{$level}"> - <xsl:attribute name="class">title</xsl:attribute> - <xsl:if test="$css.decoration != '0'"> - <xsl:if test="$level<3"> - <xsl:attribute name="style">clear: both</xsl:attribute> - </xsl:if> - </xsl:if> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select="$section"/> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:copy-of select="$title"/> - </xsl:element> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="bridgehead"> - <xsl:variable name="container" - select="(ancestor::appendix - |ancestor::article - |ancestor::bibliography - |ancestor::chapter - |ancestor::glossary - |ancestor::glossdiv - |ancestor::index - |ancestor::partintro - |ancestor::preface - |ancestor::refsect1 - |ancestor::refsect2 - |ancestor::refsect3 - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5 - |ancestor::section - |ancestor::setindex - |ancestor::simplesect)[last()]"/> - - <xsl:variable name="clevel"> - <xsl:choose> - <xsl:when test="local-name($container) = 'appendix' - or local-name($container) = 'chapter' - or local-name($container) = 'article' - or local-name($container) = 'bibliography' - or local-name($container) = 'glossary' - or local-name($container) = 'index' - or local-name($container) = 'partintro' - or local-name($container) = 'preface' - or local-name($container) = 'setindex'">2</xsl:when> - <xsl:when test="local-name($container) = 'glossdiv'"> - <xsl:value-of select="count(ancestor::glossdiv)+2"/> - </xsl:when> - <xsl:when test="local-name($container) = 'sect1' - or local-name($container) = 'sect2' - or local-name($container) = 'sect3' - or local-name($container) = 'sect4' - or local-name($container) = 'sect5' - or local-name($container) = 'refsect1' - or local-name($container) = 'refsect2' - or local-name($container) = 'refsect3' - or local-name($container) = 'section' - or local-name($container) = 'simplesect'"> - <xsl:variable name="slevel"> - <xsl:call-template name="section.level"> - <xsl:with-param name="node" select="$container"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="$slevel + 1"/> - </xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="level"> - <xsl:choose> - <xsl:when test="@renderas = 'sect1'">2</xsl:when> - <xsl:when test="@renderas = 'sect2'">3</xsl:when> - <xsl:when test="@renderas = 'sect3'">4</xsl:when> - <xsl:when test="@renderas = 'sect4'">5</xsl:when> - <xsl:when test="@renderas = 'sect5'">6</xsl:when> - <xsl:otherwise> - <xsl:value-of select="$clevel"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:element name="h{$level}"> - <xsl:call-template name="anchor"> - <xsl:with-param name="conditional" select="0"/> - </xsl:call-template> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/synop.xsl b/stylesheets/docbook/html/synop.xsl deleted file mode 100644 index 1963b1f9..00000000 --- a/stylesheets/docbook/html/synop.xsl +++ /dev/null @@ -1,964 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet [ -<!ENTITY RE " "> -<!ENTITY nbsp " "> -]> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<!-- synopsis is in verbatim --> - -<!-- ==================================================================== --> - -<xsl:template match="cmdsynopsis"> - <div class="{name(.)}"> - <p> - <xsl:call-template name="anchor"/> - <xsl:apply-templates/> - </p> - </div> -</xsl:template> - -<xsl:template match="cmdsynopsis/command"> - <br/> - <xsl:call-template name="inline.monoseq"/> - <xsl:text> </xsl:text> -</xsl:template> - -<xsl:template match="cmdsynopsis/command[1]" priority="2"> - <xsl:call-template name="inline.monoseq"/> - <xsl:text> </xsl:text> -</xsl:template> - -<xsl:template match="group|arg"> - <xsl:variable name="choice" select="@choice"/> - <xsl:variable name="rep" select="@rep"/> - <xsl:variable name="sepchar"> - <xsl:choose> - <xsl:when test="ancestor-or-self::*/@sepchar"> - <xsl:value-of select="ancestor-or-self::*/@sepchar"/> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="position()>1"><xsl:value-of select="$sepchar"/></xsl:if> - <xsl:choose> - <xsl:when test="$choice='plain'"> - <xsl:value-of select="$arg.choice.plain.open.str"/> - </xsl:when> - <xsl:when test="$choice='req'"> - <xsl:value-of select="$arg.choice.req.open.str"/> - </xsl:when> - <xsl:when test="$choice='opt'"> - <xsl:value-of select="$arg.choice.opt.open.str"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$arg.choice.def.open.str"/> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates/> - <xsl:choose> - <xsl:when test="$rep='repeat'"> - <xsl:value-of select="$arg.rep.repeat.str"/> - </xsl:when> - <xsl:when test="$rep='norepeat'"> - <xsl:value-of select="$arg.rep.norepeat.str"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$arg.rep.def.str"/> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="$choice='plain'"> - <xsl:value-of select="$arg.choice.plain.close.str"/> - </xsl:when> - <xsl:when test="$choice='req'"> - <xsl:value-of select="$arg.choice.req.close.str"/> - </xsl:when> - <xsl:when test="$choice='opt'"> - <xsl:value-of select="$arg.choice.opt.close.str"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$arg.choice.def.close.str"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="group/arg"> - <xsl:variable name="choice" select="@choice"/> - <xsl:variable name="rep" select="@rep"/> - <xsl:if test="position()>1"><xsl:value-of select="$arg.or.sep"/></xsl:if> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="sbr"> - <br/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="synopfragmentref"> - <xsl:variable name="target" select="key('id',@linkend)"/> - <xsl:variable name="snum"> - <xsl:apply-templates select="$target" mode="synopfragment.number"/> - </xsl:variable> - <i> - <a href="#{@linkend}"> - <xsl:text>(</xsl:text> - <xsl:value-of select="$snum"/> - <xsl:text>)</xsl:text> - </a> - </i> -</xsl:template> - -<xsl:template match="synopfragment" mode="synopfragment.number"> - <xsl:number format="1"/> -</xsl:template> - -<xsl:template match="synopfragment"> - <xsl:variable name="snum"> - <xsl:apply-templates select="." mode="synopfragment.number"/> - </xsl:variable> - <p> - <a name="#{@id}"> - <xsl:text>(</xsl:text> - <xsl:value-of select="$snum"/> - <xsl:text>)</xsl:text> - </a> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - </p> -</xsl:template> - -<xsl:template match="funcsynopsis"> - <xsl:call-template name="informal.object"/> -</xsl:template> - -<xsl:template match="funcsynopsisinfo"> - <pre class="{name(.)}"><xsl:apply-templates/></pre> -</xsl:template> - -<xsl:template match="funcprototype"> - <p> - <code> - <xsl:apply-templates/> - <xsl:if test="$funcsynopsis.style='kr'"> - <xsl:apply-templates select="./paramdef" mode="kr-funcsynopsis-mode"/> - </xsl:if> - </code> - </p> -</xsl:template> - -<xsl:template match="funcdef"> - <code class="{name(.)}"> - <xsl:apply-templates/> - </code> -</xsl:template> - -<xsl:template match="funcdef/function"> - <xsl:choose> - <xsl:when test="$funcsynopsis.decoration != 0"> - <b class="fsfunc"><xsl:apply-templates/></b> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="void"> - <xsl:choose> - <xsl:when test="$funcsynopsis.style='ansi'"> - <xsl:text>(void);</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>();</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="varargs"> - <xsl:text>(...);</xsl:text> -</xsl:template> - -<xsl:template match="paramdef"> - <xsl:variable name="paramnum"> - <xsl:number count="paramdef" format="1"/> - </xsl:variable> - <xsl:if test="$paramnum=1">(</xsl:if> - <xsl:choose> - <xsl:when test="$funcsynopsis.style='ansi'"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="./parameter"/> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> - <xsl:when test="following-sibling::paramdef"> - <xsl:text>, </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>);</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="paramdef/parameter"> - <xsl:choose> - <xsl:when test="$funcsynopsis.decoration != 0"> - <var class="pdparam"> - <xsl:apply-templates/> - </var> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="following-sibling::parameter"> - <xsl:text>, </xsl:text> - </xsl:if> -</xsl:template> - -<xsl:template match="paramdef" mode="kr-funcsynopsis-mode"> - <br/> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> -</xsl:template> - -<xsl:template match="funcparams"> - <xsl:text>(</xsl:text> - <xsl:apply-templates/> - <xsl:text>)</xsl:text> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:variable name="default-classsynopsis-language">java</xsl:variable> - -<xsl:template match="classsynopsis - |fieldsynopsis - |methodsynopsis - |constructorsynopsis - |destructorsynopsis"> - <xsl:param name="language"> - <xsl:choose> - <xsl:when test="@language"> - <xsl:value-of select="@language"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$default-classsynopsis-language"/> - </xsl:otherwise> - </xsl:choose> - </xsl:param> - - <xsl:choose> - <xsl:when test="$language='java'"> - <xsl:apply-templates select="." mode="java"/> - </xsl:when> - <xsl:when test="$language='perl'"> - <xsl:apply-templates select="." mode="perl"/> - </xsl:when> - <xsl:when test="$language='idl'"> - <xsl:apply-templates select="." mode="idl"/> - </xsl:when> - <xsl:when test="$language='cpp'"> - <xsl:apply-templates select="." mode="cpp"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unrecognized language on </xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:text>: </xsl:text> - <xsl:value-of select="$language"/> - </xsl:message> - <xsl:apply-templates select="."> - <xsl:with-param name="language" - select="$default-classsynopsis-language"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="synop-break"> - <xsl:if test="parent::classsynopsis - or (following-sibling::fieldsynopsis - |following-sibling::methodsynopsis - |following-sibling::constructorsynopsis - |following-sibling::destructorsynopsis)"> - <br/> - </xsl:if> -</xsl:template> - - -<!-- ===== Java ======================================================== --> - -<xsl:template match="classsynopsis" mode="java"> - <pre class="{name(.)}"> - <xsl:apply-templates select="ooclass[1]" mode="java"/> - <xsl:if test="ooclass[position() > 1]"> - <xsl:text> extends</xsl:text> - <xsl:apply-templates select="ooclass[position() > 1]" mode="java"/> - <xsl:if test="oointerface|ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="oointerface"> - <xsl:text>implements</xsl:text> - <xsl:apply-templates select="oointerface" mode="java"/> - <xsl:if test="ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="ooexception"> - <xsl:text>throws</xsl:text> - <xsl:apply-templates select="ooexception" mode="java"/> - </xsl:if> - <xsl:text> {&RE;&RE;</xsl:text> - <xsl:apply-templates select="constructorsynopsis - |destructorsynopsis - |fieldsynopsis - |methodsynopsis - |classsynopsisinfo" mode="java"/> - <xsl:text>}</xsl:text> - </pre> -</xsl:template> - -<xsl:template match="classsynopsisinfo" mode="java"> - <xsl:apply-templates mode="java"/> -</xsl:template> - -<xsl:template match="ooclass|oointerface|ooexception" mode="java"> - <xsl:choose> - <xsl:when test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="modifier" mode="java"> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="classname" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="interfacename" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="exceptionname" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="fieldsynopsis" mode="java"> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates mode="java"/> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<xsl:template match="type" mode="java"> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="varname" mode="java"> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="initializer" mode="java"> - <span class="{name(.)}"> - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="void" mode="java"> - <span class="{name(.)}"> - <xsl:text>void </xsl:text> - </span> -</xsl:template> - -<xsl:template match="methodname" mode="java"> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="methodparam" mode="java"> - <xsl:param name="indent">0</xsl:param> - <xsl:if test="position() > 1"> - <xsl:text>,&RE;</xsl:text> - <xsl:if test="$indent > 0"> - <xsl:call-template name="copy-string"> - <xsl:with-param name="string"> </xsl:with-param> - <xsl:with-param name="count" select="$indent + 1"/> - </xsl:call-template> - </xsl:if> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template match="parameter" mode="java"> - <span class="{name(.)}"> - <xsl:apply-templates mode="java"/> - </span> -</xsl:template> - -<xsl:template mode="java" - match="constructorsynopsis|destructorsynopsis|methodsynopsis"> - <xsl:variable name="modifiers" select="modifier"/> - <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/> - <xsl:variable name="decl"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$modifiers" mode="java"/> - - <!-- type --> - <xsl:if test="name($notmod[1]) != 'methodname'"> - <xsl:apply-templates select="$notmod[1]" mode="java"/> - </xsl:if> - - <xsl:apply-templates select="methodname" mode="java"/> - </xsl:variable> - - <code class="{name(.)}"> - <xsl:copy-of select="$decl"/> - <xsl:text>(</xsl:text> - <xsl:apply-templates select="methodparam" mode="java"> - <xsl:with-param name="indent" select="string-length($decl)"/> - </xsl:apply-templates> - <xsl:text>)</xsl:text> - <xsl:if test="exceptionname"> - <xsl:text>&RE; throws </xsl:text> - <xsl:apply-templates select="exceptionname" mode="java"/> - </xsl:if> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<!-- ===== C++ ========================================================= --> - -<xsl:template match="classsynopsis" mode="cpp"> - <pre class="{name(.)}"> - <xsl:apply-templates select="ooclass[1]" mode="cpp"/> - <xsl:if test="ooclass[position() > 1]"> - <xsl:text>: </xsl:text> - <xsl:apply-templates select="ooclass[position() > 1]" mode="cpp"/> - <xsl:if test="oointerface|ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="oointerface"> - <xsl:text> implements</xsl:text> - <xsl:apply-templates select="oointerface" mode="cpp"/> - <xsl:if test="ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="ooexception"> - <xsl:text> throws</xsl:text> - <xsl:apply-templates select="ooexception" mode="cpp"/> - </xsl:if> - <xsl:text> {&RE;&RE;</xsl:text> - <xsl:apply-templates select="constructorsynopsis - |destructorsynopsis - |fieldsynopsis - |methodsynopsis - |classsynopsisinfo" mode="cpp"/> - <xsl:text>}</xsl:text> - </pre> -</xsl:template> - -<xsl:template match="classsynopsisinfo" mode="cpp"> - <xsl:apply-templates mode="cpp"/> -</xsl:template> - -<xsl:template match="ooclass|oointerface|ooexception" mode="cpp"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="modifier" mode="cpp"> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="classname" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="interfacename" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="exceptionname" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="fieldsynopsis" mode="cpp"> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates mode="cpp"/> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<xsl:template match="type" mode="cpp"> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="varname" mode="cpp"> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="initializer" mode="cpp"> - <span class="{name(.)}"> - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="void" mode="cpp"> - <span class="{name(.)}"> - <xsl:text>void </xsl:text> - </span> -</xsl:template> - -<xsl:template match="methodname" mode="cpp"> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="methodparam" mode="cpp"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template match="parameter" mode="cpp"> - <span class="{name(.)}"> - <xsl:apply-templates mode="cpp"/> - </span> -</xsl:template> - -<xsl:template mode="cpp" - match="constructorsynopsis|destructorsynopsis|methodsynopsis"> - <xsl:variable name="modifiers" select="modifier"/> - <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/> - <xsl:variable name="type"> - </xsl:variable> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$modifiers" mode="cpp"/> - - <!-- type --> - <xsl:if test="name($notmod[1]) != 'methodname'"> - <xsl:apply-templates select="$notmod[1]" mode="cpp"/> - </xsl:if> - - <xsl:apply-templates select="methodname" mode="cpp"/> - <xsl:text>(</xsl:text> - <xsl:apply-templates select="methodparam" mode="cpp"/> - <xsl:text>)</xsl:text> - <xsl:if test="exceptionname"> - <xsl:text>&RE; throws </xsl:text> - <xsl:apply-templates select="exceptionname" mode="cpp"/> - </xsl:if> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<!-- ===== IDL ========================================================= --> - -<xsl:template match="classsynopsis" mode="idl"> - <pre class="{name(.)}"> - <xsl:text>interface </xsl:text> - <xsl:apply-templates select="ooclass[1]" mode="idl"/> - <xsl:if test="ooclass[position() > 1]"> - <xsl:text>: </xsl:text> - <xsl:apply-templates select="ooclass[position() > 1]" mode="idl"/> - <xsl:if test="oointerface|ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="oointerface"> - <xsl:text> implements</xsl:text> - <xsl:apply-templates select="oointerface" mode="idl"/> - <xsl:if test="ooexception"> - <xsl:text>&RE; </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="ooexception"> - <xsl:text> throws</xsl:text> - <xsl:apply-templates select="ooexception" mode="idl"/> - </xsl:if> - <xsl:text> {&RE;&RE;</xsl:text> - <xsl:apply-templates select="constructorsynopsis - |destructorsynopsis - |fieldsynopsis - |methodsynopsis - |classsynopsisinfo" mode="idl"/> - <xsl:text>}</xsl:text> - </pre> -</xsl:template> - -<xsl:template match="classsynopsisinfo" mode="idl"> - <xsl:apply-templates mode="idl"/> -</xsl:template> - -<xsl:template match="ooclass|oointerface|ooexception" mode="idl"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="modifier" mode="idl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="classname" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="interfacename" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="exceptionname" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="fieldsynopsis" mode="idl"> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates mode="idl"/> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<xsl:template match="type" mode="idl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="varname" mode="idl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="initializer" mode="idl"> - <span class="{name(.)}"> - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="void" mode="idl"> - <span class="{name(.)}"> - <xsl:text>void </xsl:text> - </span> -</xsl:template> - -<xsl:template match="methodname" mode="idl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="methodparam" mode="idl"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template match="parameter" mode="idl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="idl"/> - </span> -</xsl:template> - -<xsl:template mode="idl" - match="constructorsynopsis|destructorsynopsis|methodsynopsis"> - <xsl:variable name="modifiers" select="modifier"/> - <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/> - <xsl:variable name="type"> - </xsl:variable> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$modifiers" mode="idl"/> - - <!-- type --> - <xsl:if test="name($notmod[1]) != 'methodname'"> - <xsl:apply-templates select="$notmod[1]" mode="idl"/> - </xsl:if> - - <xsl:apply-templates select="methodname" mode="idl"/> - <xsl:text>(</xsl:text> - <xsl:apply-templates select="methodparam" mode="idl"/> - <xsl:text>)</xsl:text> - <xsl:if test="exceptionname"> - <xsl:text>&RE; raises(</xsl:text> - <xsl:apply-templates select="exceptionname" mode="idl"/> - <xsl:text>)</xsl:text> - </xsl:if> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<!-- ===== Perl ======================================================== --> - -<xsl:template match="classsynopsis" mode="perl"> - <pre class="{name(.)}"> - <xsl:text>package </xsl:text> - <xsl:apply-templates select="ooclass[1]" mode="perl"/> - <xsl:text>;&RE;</xsl:text> - - <xsl:if test="ooclass[position() > 1]"> - <xsl:text>@ISA = (</xsl:text> - <xsl:apply-templates select="ooclass[position() > 1]" mode="perl"/> - <xsl:text>);&RE;</xsl:text> - </xsl:if> - - <xsl:apply-templates select="constructorsynopsis - |destructorsynopsis - |fieldsynopsis - |methodsynopsis - |classsynopsisinfo" mode="perl"/> - </pre> -</xsl:template> - -<xsl:template match="classsynopsisinfo" mode="perl"> - <xsl:apply-templates mode="perl"/> -</xsl:template> - -<xsl:template match="ooclass|oointerface|ooexception" mode="perl"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="modifier" mode="perl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="classname" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="interfacename" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="exceptionname" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="fieldsynopsis" mode="perl"> - <code class="{name(.)}"> - <xsl:text> </xsl:text> - <xsl:apply-templates mode="perl"/> - <xsl:text>;</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<xsl:template match="type" mode="perl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="varname" mode="perl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - </span> -</xsl:template> - -<xsl:template match="initializer" mode="perl"> - <span class="{name(.)}"> - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="void" mode="perl"> - <span class="{name(.)}"> - <xsl:text>void </xsl:text> - </span> -</xsl:template> - -<xsl:template match="methodname" mode="perl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="methodparam" mode="perl"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template match="parameter" mode="perl"> - <span class="{name(.)}"> - <xsl:apply-templates mode="perl"/> - </span> -</xsl:template> - -<xsl:template mode="perl" - match="constructorsynopsis|destructorsynopsis|methodsynopsis"> - <xsl:variable name="modifiers" select="modifier"/> - <xsl:variable name="notmod" select="*[name(.) != 'modifier']"/> - <xsl:variable name="type"> - </xsl:variable> - <code class="{name(.)}"> - <xsl:text>sub </xsl:text> - - <xsl:apply-templates select="methodname" mode="perl"/> - <xsl:text> { ... };</xsl:text> - </code> - <xsl:call-template name="synop-break"/> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/table.xsl b/stylesheets/docbook/html/table.xsl deleted file mode 100644 index ccd4fd19..00000000 --- a/stylesheets/docbook/html/table.xsl +++ /dev/null @@ -1,791 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table" - xmlns:xtbl="com.nwalsh.xalan.Table" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="doc stbl xtbl lxslt" - version='1.0'> - -<xsl:include href="../common/table.xsl"/> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xtbl" - functions="adjustColumnWidths"/> - -<xsl:template name="empty.table.cell"> - <xsl:param name="colnum" select="0"/> - - <xsl:variable name="rowsep"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'rowsep'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="colsep"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/> - <xsl:with-param name="colnum" select="$colnum"/> - <xsl:with-param name="attribute" select="'colsep'"/> - </xsl:call-template> - </xsl:variable> - - <td class="auto-generated"> - <xsl:if test="$table.borders.with.css != 0"> - <xsl:attribute name="style"> - <xsl:if test="$colsep > 0"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'right'"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="$rowsep > 0"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'bottom'"/> - </xsl:call-template> - </xsl:if> - </xsl:attribute> - </xsl:if> - <xsl:text> </xsl:text> - </td> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="border"> - <xsl:param name="side" select="'left'"/> - <xsl:param name="padding" select="0"/> - - <xsl:text>border-</xsl:text> - <xsl:value-of select="$side"/> - <xsl:text>: </xsl:text> - <xsl:value-of select="$table.border.thickness"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$table.border.style"/> - <xsl:text> </xsl:text> - <xsl:value-of select="$table.border.color"/> - <xsl:text>; </xsl:text> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="tgroup"> - <table> - <xsl:choose> - <!-- If there's a <?dbhtml table-summary="foo"?> PI, use it for - the HTML table summary attribute --> - <xsl:when test="processing-instruction('dbhtml')"> - <xsl:variable name="summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="processing-instruction('dbhtml')[1]"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> - </xsl:variable> - <xsl:if test="$summary != ''"> - <xsl:attribute name="summary"> - <xsl:value-of select="$summary"/> - </xsl:attribute> - </xsl:if> - </xsl:when> - <!-- Otherwise, if there's a title, use that --> - <xsl:when test="../title"> - <xsl:attribute name="summary"> - <xsl:value-of select="string(../title)"/> - </xsl:attribute> - </xsl:when> - <!-- Otherwise, forget the whole idea --> - <xsl:otherwise><!-- nevermind --></xsl:otherwise> - </xsl:choose> - - <xsl:if test="../@pgwide=1"> - <xsl:attribute name="width">100%</xsl:attribute> - </xsl:if> - - <xsl:choose> - <xsl:when test="../@frame='none'"> - <xsl:attribute name="border">0</xsl:attribute> - </xsl:when> - <xsl:when test="$table.borders.with.css != 0"> - <xsl:attribute name="border">0</xsl:attribute> - <xsl:choose> - <xsl:when test="../@frame='topbot' or ../@frame='top'"> - <xsl:attribute name="style"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'top'"/> - </xsl:call-template> - </xsl:attribute> - </xsl:when> - <xsl:when test="../@frame='sides'"> - <xsl:attribute name="style"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'left'"/> - </xsl:call-template> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'right'"/> - </xsl:call-template> - </xsl:attribute> - </xsl:when> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:attribute name="border">1</xsl:attribute> - </xsl:otherwise> - </xsl:choose> - - <xsl:variable name="colgroup"> - <colgroup> - <xsl:call-template name="generate.colgroup"> - <xsl:with-param name="cols" select="@cols"/> - </xsl:call-template> - </colgroup> - </xsl:variable> - - <xsl:variable name="explicit.table.width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="../processing-instruction('dbhtml')[1]"/> - <xsl:with-param name="attribute" select="'table-width'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="table.width"> - <xsl:choose> - <xsl:when test="$explicit.table.width != ''"> - <xsl:value-of select="$explicit.table.width"/> - </xsl:when> - <xsl:when test="$default.table.width = ''"> - <xsl:text>100%</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$default.table.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:if test="$default.table.width != '' - or $explicit.table.width != ''"> - <xsl:attribute name="width"> - <xsl:choose> - <xsl:when test="contains($table.width, '%')"> - <xsl:value-of select="$table.width"/> - </xsl:when> - <xsl:when test="$use.extensions != 0 - and $tablecolumns.extension != 0"> - <xsl:choose> - <xsl:when test="function-available('stbl:convertLength')"> - <xsl:value-of select="stbl:convertLength($table.width)"/> - </xsl:when> - <xsl:when test="function-available('xtbl:convertLength')"> - <xsl:value-of select="xtbl:convertLength($table.width)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No convertLength function available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$table.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:attribute> - </xsl:if> - - <xsl:choose> - <xsl:when test="$use.extensions != 0 - and $tablecolumns.extension != 0"> - <xsl:choose> - <xsl:when test="function-available('stbl:adjustColumnWidths')"> - <xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/> - </xsl:when> - <xsl:when test="function-available('xtbl:adjustColumnWidths')"> - <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No adjustColumnWidths function available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$colgroup"/> - </xsl:otherwise> - </xsl:choose> - - <xsl:apply-templates select="thead"/> - <xsl:apply-templates select="tbody"/> - <xsl:apply-templates select="tfoot"/> - - <xsl:if test=".//footnote"> - <tbody class="footnotes"> - <tr> - <td colspan="{@cols}"> - <xsl:apply-templates select=".//footnote" - mode="table.footnote.mode"/> - </td> - </tr> - </tbody> - </xsl:if> - </table> -</xsl:template> - -<xsl:template match="tgroup/processing-instruction('dbhtml')"> - <xsl:variable name="summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="."/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> - </xsl:variable> - - <!-- Suppress the table-summary PI --> - <xsl:if test="$summary = ''"> - <xsl:processing-instruction name="dbhtml"> - <xsl:value-of select="."/> - </xsl:processing-instruction> - </xsl:if> -</xsl:template> - -<xsl:template match="colspec"></xsl:template> - -<xsl:template match="spanspec"></xsl:template> - -<xsl:template match="thead|tfoot"> - <xsl:element name="{name(.)}"> - <xsl:if test="@align"> - <xsl:attribute name="align"> - <xsl:value-of select="@align"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@char"> - <xsl:attribute name="char"> - <xsl:value-of select="@char"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@charoff"> - <xsl:attribute name="charoff"> - <xsl:value-of select="@charoff"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@valign"> - <xsl:attribute name="valign"> - <xsl:value-of select="@valign"/> - </xsl:attribute> - </xsl:if> - - <xsl:apply-templates select="row[1]"> - <xsl:with-param name="spans"> - <xsl:call-template name="blank.spans"> - <xsl:with-param name="cols" select="../@cols"/> - </xsl:call-template> - </xsl:with-param> - </xsl:apply-templates> - - </xsl:element> -</xsl:template> - -<xsl:template match="tbody"> - <tbody> - <xsl:if test="@align"> - <xsl:attribute name="align"> - <xsl:value-of select="@align"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@char"> - <xsl:attribute name="char"> - <xsl:value-of select="@char"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@charoff"> - <xsl:attribute name="charoff"> - <xsl:value-of select="@charoff"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@valign"> - <xsl:attribute name="valign"> - <xsl:value-of select="@valign"/> - </xsl:attribute> - </xsl:if> - - <xsl:apply-templates select="row[1]"> - <xsl:with-param name="spans"> - <xsl:call-template name="blank.spans"> - <xsl:with-param name="cols" select="../@cols"/> - </xsl:call-template> - </xsl:with-param> - </xsl:apply-templates> - - </tbody> -</xsl:template> - -<xsl:template match="row"> - <xsl:param name="spans"/> - - <tr> - <xsl:if test="$table.borders.with.css != 0"> - <xsl:if test="@rowsep = 1"> - <xsl:attribute name="style"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'bottom'"/> - </xsl:call-template> - </xsl:attribute> - </xsl:if> - </xsl:if> - - <xsl:if test="@align"> - <xsl:attribute name="align"> - <xsl:value-of select="@align"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@char"> - <xsl:attribute name="char"> - <xsl:value-of select="@char"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@charoff"> - <xsl:attribute name="charoff"> - <xsl:value-of select="@charoff"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@valign"> - <xsl:attribute name="valign"> - <xsl:value-of select="@valign"/> - </xsl:attribute> - </xsl:if> - - <xsl:apply-templates select="entry[1]"> - <xsl:with-param name="spans" select="$spans"/> - </xsl:apply-templates> - </tr> - - <xsl:if test="following-sibling::row"> - <xsl:variable name="nextspans"> - <xsl:apply-templates select="entry[1]" mode="span"> - <xsl:with-param name="spans" select="$spans"/> - </xsl:apply-templates> - </xsl:variable> - - <xsl:apply-templates select="following-sibling::row[1]"> - <xsl:with-param name="spans" select="$nextspans"/> - </xsl:apply-templates> - </xsl:if> -</xsl:template> - -<xsl:template match="entry" name="entry"> - <xsl:param name="col" select="1"/> - <xsl:param name="spans"/> - - <xsl:variable name="cellgi"> - <xsl:choose> - <xsl:when test="ancestor::thead">th</xsl:when> - <xsl:when test="ancestor::tfoot">th</xsl:when> - <xsl:otherwise>td</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="empty.cell" select="count(node()) = 0"/> - - <xsl:variable name="named.colnum"> - <xsl:call-template name="entry.colnum"/> - </xsl:variable> - - <xsl:variable name="entry.colnum"> - <xsl:choose> - <xsl:when test="$named.colnum > 0"> - <xsl:value-of select="$named.colnum"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$col"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="entry.colspan"> - <xsl:choose> - <xsl:when test="@spanname or @namest"> - <xsl:call-template name="calculate.colspan"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="following.spans"> - <xsl:call-template name="calculate.following.spans"> - <xsl:with-param name="colspan" select="$entry.colspan"/> - <xsl:with-param name="spans" select="$spans"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="rowsep"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'rowsep'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="colsep"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'colsep'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="valign"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'valign'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="align"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'align'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="char"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'char'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="charoff"> - <xsl:call-template name="inherited.table.attribute"> - <xsl:with-param name="entry" select="."/> - <xsl:with-param name="colnum" select="$entry.colnum"/> - <xsl:with-param name="attribute" select="'charoff'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))"> - <xsl:call-template name="entry"> - <xsl:with-param name="col" select="$col+1"/> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$entry.colnum > $col"> - <xsl:call-template name="empty.table.cell"/> - <xsl:call-template name="entry"> - <xsl:with-param name="col" select="$col+1"/> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - </xsl:call-template> - </xsl:when> - - <xsl:otherwise> - <xsl:element name="{$cellgi}"> - <xsl:if test="$show.revisionflag and @revisionflag"> - <xsl:attribute name="class"> - <xsl:value-of select="@revisionflag"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$table.borders.with.css != 0"> - <xsl:attribute name="style"> - <xsl:if test="$colsep > 0"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'right'"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="$rowsep > 0"> - <xsl:call-template name="border"> - <xsl:with-param name="side" select="'bottom'"/> - </xsl:call-template> - </xsl:if> - </xsl:attribute> - </xsl:if> - - <xsl:if test="@morerows > 0"> - <xsl:attribute name="rowspan"> - <xsl:value-of select="1+@morerows"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$entry.colspan > 1"> - <xsl:attribute name="colspan"> - <xsl:value-of select="$entry.colspan"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$align != ''"> - <xsl:attribute name="align"> - <xsl:value-of select="$align"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$valign != ''"> - <xsl:attribute name="valign"> - <xsl:value-of select="$valign"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$char != ''"> - <xsl:attribute name="char"> - <xsl:value-of select="$char"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="$charoff != ''"> - <xsl:attribute name="charoff"> - <xsl:value-of select="$charoff"/> - </xsl:attribute> - </xsl:if> - - <xsl:if test="not(preceding-sibling::*) and ancestor::row/@id"> - <xsl:call-template name="anchor"> - <xsl:with-param name="node" select="ancestor::row[1]"/> - </xsl:call-template> - </xsl:if> - - <xsl:call-template name="anchor"/> - - <xsl:choose> - <xsl:when test="$empty.cell"> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:element> - - <xsl:choose> - <xsl:when test="following-sibling::entry"> - <xsl:apply-templates select="following-sibling::entry[1]"> - <xsl:with-param name="col" select="$col+$entry.colspan"/> - <xsl:with-param name="spans" select="$following.spans"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="finaltd"> - <xsl:with-param name="spans" select="$following.spans"/> - <xsl:with-param name="col" select="$col+$entry.colspan"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="entry" name="sentry" mode="span"> - <xsl:param name="col" select="1"/> - <xsl:param name="spans"/> - - <xsl:variable name="entry.colnum"> - <xsl:call-template name="entry.colnum"/> - </xsl:variable> - - <xsl:variable name="entry.colspan"> - <xsl:choose> - <xsl:when test="@spanname or @namest"> - <xsl:call-template name="calculate.colspan"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="following.spans"> - <xsl:call-template name="calculate.following.spans"> - <xsl:with-param name="colspan" select="$entry.colspan"/> - <xsl:with-param name="spans" select="$spans"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))"> - <xsl:value-of select="substring-before($spans,':')-1"/> - <xsl:text>:</xsl:text> - <xsl:call-template name="sentry"> - <xsl:with-param name="col" select="$col+1"/> - <xsl:with-param name="spans" select="substring-after($spans,':')"/> - </xsl:call-template> - </xsl:when> - - <xsl:when test="$entry.colnum > $col"> - <xsl:text>0:</xsl:text> - <xsl:call-template name="sentry"> - <xsl:with-param name="col" select="$col+$entry.colspan"/> - <xsl:with-param name="spans" select="$following.spans"/> - </xsl:call-template> - </xsl:when> - - <xsl:otherwise> - <xsl:call-template name="copy-string"> - <xsl:with-param name="count" select="$entry.colspan"/> - <xsl:with-param name="string"> - <xsl:choose> - <xsl:when test="@morerows"> - <xsl:value-of select="@morerows"/> - </xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> - <xsl:text>:</xsl:text> - </xsl:with-param> - </xsl:call-template> - - <xsl:choose> - <xsl:when test="following-sibling::entry"> - <xsl:apply-templates select="following-sibling::entry[1]" - mode="span"> - <xsl:with-param name="col" select="$col+$entry.colspan"/> - <xsl:with-param name="spans" select="$following.spans"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="sfinaltd"> - <xsl:with-param name="spans" select="$following.spans"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="generate.colgroup"> - <xsl:param name="cols" select="1"/> - <xsl:param name="count" select="1"/> - <xsl:choose> - <xsl:when test="$count > $cols"></xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.col"> - <xsl:with-param name="countcol" select="$count"/> - </xsl:call-template> - <xsl:call-template name="generate.colgroup"> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="generate.col"> - <xsl:param name="countcol">1</xsl:param> - <xsl:param name="colspecs" select="./colspec"/> - <xsl:param name="count">1</xsl:param> - <xsl:param name="colnum">1</xsl:param> - - <xsl:choose> - <xsl:when test="$count>count($colspecs)"> - <col/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="colspec" select="$colspecs[$count=position()]"/> - <xsl:variable name="colspec.colnum"> - <xsl:choose> - <xsl:when test="$colspec/@colnum"> - <xsl:value-of select="$colspec/@colnum"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$colnum"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$colspec.colnum=$countcol"> - <col> - <xsl:if test="$colspec/@colwidth - and $use.extensions != 0 - and $tablecolumns.extension != 0"> - <xsl:attribute name="width"> - <xsl:value-of select="$colspec/@colwidth"/> - </xsl:attribute> - </xsl:if> - - <xsl:choose> - <xsl:when test="$colspec/@align"> - <xsl:attribute name="align"> - <xsl:value-of select="$colspec/@align"/> - </xsl:attribute> - </xsl:when> - <!-- Suggested by Pavel ZAMPACH <zampach@nemcb.cz> --> - <xsl:when test="$colspecs/ancestor::tgroup/@align"> - <xsl:attribute name="align"> - <xsl:value-of select="$colspecs/ancestor::tgroup/@align"/> - </xsl:attribute> - </xsl:when> - </xsl:choose> - - <xsl:if test="$colspec/@char"> - <xsl:attribute name="char"> - <xsl:value-of select="$colspec/@char"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="$colspec/@charoff"> - <xsl:attribute name="charoff"> - <xsl:value-of select="$colspec/@charoff"/> - </xsl:attribute> - </xsl:if> - </col> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.col"> - <xsl:with-param name="countcol" select="$countcol"/> - <xsl:with-param name="colspecs" select="$colspecs"/> - <xsl:with-param name="count" select="$count+1"/> - <xsl:with-param name="colnum"> - <xsl:choose> - <xsl:when test="$colspec/@colnum"> - <xsl:value-of select="$colspec/@colnum + 1"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$colnum + 1"/> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - -</xsl:template> - -<xsl:template name="colspec.colwidth"> - <!-- when this macro is called, the current context must be an entry --> - <xsl:param name="colname"></xsl:param> - <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup --> - <xsl:param name="colspecs" select="../../../../tgroup/colspec"/> - <xsl:param name="count">1</xsl:param> - <xsl:choose> - <xsl:when test="$count>count($colspecs)"></xsl:when> - <xsl:otherwise> - <xsl:variable name="colspec" select="$colspecs[$count=position()]"/> - <xsl:choose> - <xsl:when test="$colspec/@colname=$colname"> - <xsl:value-of select="$colspec/@colwidth"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="colspec.colwidth"> - <xsl:with-param name="colname" select="$colname"/> - <xsl:with-param name="colspecs" select="$colspecs"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> - diff --git a/stylesheets/docbook/html/titlepage.templates.xml b/stylesheets/docbook/html/titlepage.templates.xml deleted file mode 100644 index 109389a7..00000000 --- a/stylesheets/docbook/html/titlepage.templates.xml +++ /dev/null @@ -1,635 +0,0 @@ -<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0" - xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - -<!-- ==================================================================== --> - -<t:titlepage element="article" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="set" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="book" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="part" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="partintro" wrapper="div"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="reference" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <hr/> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="refentry" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> -<!-- uncomment this if you want refentry titlepages - <title force="1" - named-template="refentry.title" - param:node="ancestor-or-self::refentry[1]"/> ---> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator/> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - - <t:titlepage element="dedication" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::dedication[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="preface" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="chapter" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="appendix" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="section" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect1" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect2" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect3" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect4" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="sect5" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<t:titlepage element="simplesect" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title/> - <subtitle/> - <corpauthor/> - <authorgroup/> - <author/> - <othercredit/> - <releaseinfo/> - <copyright/> - <legalnotice/> - <pubdate/> - <revision/> - <revhistory/> - <abstract/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - <xsl:if test="count(parent::*)='0'"><hr/></xsl:if> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="bibliography" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::bibliography[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="glossary" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::glossary[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -<t:titlepage element="index" wrapper="div" class="titlepage"> - <t:titlepage-content side="recto"> - <title - force="1" - named-template="component.title" - param:node="ancestor-or-self::index[1]"/> - <subtitle/> - </t:titlepage-content> - - <t:titlepage-content side="verso"> - </t:titlepage-content> - - <t:titlepage-separator> - </t:titlepage-separator> - - <t:titlepage-before side="recto"> - </t:titlepage-before> - - <t:titlepage-before side="verso"> - </t:titlepage-before> -</t:titlepage> - -<!-- ==================================================================== --> - -</t:templates> diff --git a/stylesheets/docbook/html/titlepage.templates.xsl b/stylesheets/docbook/html/titlepage.templates.xsl deleted file mode 100644 index e19d9708..00000000 --- a/stylesheets/docbook/html/titlepage.templates.xsl +++ /dev/null @@ -1,2718 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. --> - -<xsl:template name="article.titlepage.recto"> - <xsl:choose> - <xsl:when test="articleinfo/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/> - </xsl:when> - <xsl:when test="artheader/title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="articleinfo/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/> - </xsl:when> - <xsl:when test="artheader/subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/> - <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/> -</xsl:template> - -<xsl:template name="article.titlepage.verso"> -</xsl:template> - -<xsl:template name="article.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="article.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="article.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="article.titlepage"> - <div class="titlepage"> - <xsl:call-template name="article.titlepage.before.recto"/> - <xsl:call-template name="article.titlepage.recto"/> - <xsl:call-template name="article.titlepage.before.verso"/> - <xsl:call-template name="article.titlepage.verso"/> - <xsl:call-template name="article.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="article.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="article.titlepage.recto.style"> -<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="set.titlepage.recto"> - <xsl:choose> - <xsl:when test="setinfo/title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="setinfo/subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/> - <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/> -</xsl:template> - -<xsl:template name="set.titlepage.verso"> -</xsl:template> - -<xsl:template name="set.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="set.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="set.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="set.titlepage"> - <div class="titlepage"> - <xsl:call-template name="set.titlepage.before.recto"/> - <xsl:call-template name="set.titlepage.recto"/> - <xsl:call-template name="set.titlepage.before.verso"/> - <xsl:call-template name="set.titlepage.verso"/> - <xsl:call-template name="set.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="set.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="set.titlepage.recto.style"> -<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="book.titlepage.recto"> - <xsl:choose> - <xsl:when test="bookinfo/title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="bookinfo/subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/> - <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/> -</xsl:template> - -<xsl:template name="book.titlepage.verso"> -</xsl:template> - -<xsl:template name="book.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="book.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="book.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="book.titlepage"> - <div class="titlepage"> - <xsl:call-template name="book.titlepage.before.recto"/> - <xsl:call-template name="book.titlepage.recto"/> - <xsl:call-template name="book.titlepage.before.verso"/> - <xsl:call-template name="book.titlepage.verso"/> - <xsl:call-template name="book.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="book.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="book.titlepage.recto.style"> -<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="part.titlepage.recto"> - <xsl:choose> - <xsl:when test="partinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/> - <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="part.titlepage.verso"> -</xsl:template> - -<xsl:template name="part.titlepage.separator"> -</xsl:template> - -<xsl:template name="part.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="part.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="part.titlepage"> - <div class="titlepage"> - <xsl:call-template name="part.titlepage.before.recto"/> - <xsl:call-template name="part.titlepage.recto"/> - <xsl:call-template name="part.titlepage.before.verso"/> - <xsl:call-template name="part.titlepage.verso"/> - <xsl:call-template name="part.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="part.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="part.titlepage.recto.style"> -<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="partintro.titlepage.recto"> - <xsl:choose> - <xsl:when test="partintroinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="partintroinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/> - <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="partintro.titlepage.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage.separator"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="partintro.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="partintro.titlepage"> - <div> - <xsl:call-template name="partintro.titlepage.before.recto"/> - <xsl:call-template name="partintro.titlepage.recto"/> - <xsl:call-template name="partintro.titlepage.before.verso"/> - <xsl:call-template name="partintro.titlepage.verso"/> - <xsl:call-template name="partintro.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="partintro.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="partintro.titlepage.recto.style"> -<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="reference.titlepage.recto"> - <xsl:choose> - <xsl:when test="referenceinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="referenceinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/> - <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="reference.titlepage.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage.separator"><hr/> -</xsl:template> - -<xsl:template name="reference.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="reference.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="reference.titlepage"> - <div class="titlepage"> - <xsl:call-template name="reference.titlepage.before.recto"/> - <xsl:call-template name="reference.titlepage.recto"/> - <xsl:call-template name="reference.titlepage.before.verso"/> - <xsl:call-template name="reference.titlepage.verso"/> - <xsl:call-template name="reference.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="reference.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="reference.titlepage.recto.style"> -<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="refentry.titlepage.recto"> -</xsl:template> - -<xsl:template name="refentry.titlepage.verso"> -</xsl:template> - -<xsl:template name="refentry.titlepage.separator"> -</xsl:template> - -<xsl:template name="refentry.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="refentry.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="refentry.titlepage"> - <div class="titlepage"> - <xsl:call-template name="refentry.titlepage.before.recto"/> - <xsl:call-template name="refentry.titlepage.recto"/> - <xsl:call-template name="refentry.titlepage.before.verso"/> - <xsl:call-template name="refentry.titlepage.verso"/> - <xsl:call-template name="refentry.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="refentry.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="refentry.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template name="dedication.titlepage.recto"> - <div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="dedicationinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="dedication.titlepage.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage.separator"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="dedication.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="dedication.titlepage"> - <div class="titlepage"> - <xsl:call-template name="dedication.titlepage.before.recto"/> - <xsl:call-template name="dedication.titlepage.recto"/> - <xsl:call-template name="dedication.titlepage.before.verso"/> - <xsl:call-template name="dedication.titlepage.verso"/> - <xsl:call-template name="dedication.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="dedication.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="dedication.titlepage.recto.style"> -<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="preface.titlepage.recto"> - <xsl:choose> - <xsl:when test="prefaceinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="prefaceinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/> - <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="preface.titlepage.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage.separator"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="preface.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="preface.titlepage"> - <div class="titlepage"> - <xsl:call-template name="preface.titlepage.before.recto"/> - <xsl:call-template name="preface.titlepage.recto"/> - <xsl:call-template name="preface.titlepage.before.verso"/> - <xsl:call-template name="preface.titlepage.verso"/> - <xsl:call-template name="preface.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="preface.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="preface.titlepage.recto.style"> -<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="chapter.titlepage.recto"> - <xsl:choose> - <xsl:when test="chapterinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="chapterinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/> - <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="chapter.titlepage.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage.separator"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="chapter.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="chapter.titlepage"> - <div class="titlepage"> - <xsl:call-template name="chapter.titlepage.before.recto"/> - <xsl:call-template name="chapter.titlepage.recto"/> - <xsl:call-template name="chapter.titlepage.before.verso"/> - <xsl:call-template name="chapter.titlepage.verso"/> - <xsl:call-template name="chapter.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="chapter.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="chapter.titlepage.recto.style"> -<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="appendix.titlepage.recto"> - <xsl:choose> - <xsl:when test="appendixinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="appendixinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/> - <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="appendix.titlepage.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage.separator"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="appendix.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="appendix.titlepage"> - <div class="titlepage"> - <xsl:call-template name="appendix.titlepage.before.recto"/> - <xsl:call-template name="appendix.titlepage.recto"/> - <xsl:call-template name="appendix.titlepage.before.verso"/> - <xsl:call-template name="appendix.titlepage.verso"/> - <xsl:call-template name="appendix.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="appendix.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="appendix.titlepage.recto.style"> -<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="section.titlepage.recto"> - <xsl:choose> - <xsl:when test="sectioninfo/title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sectioninfo/subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/> - <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/> -</xsl:template> - -<xsl:template name="section.titlepage.verso"> -</xsl:template> - -<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="section.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="section.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="section.titlepage"> - <div class="titlepage"> - <xsl:call-template name="section.titlepage.before.recto"/> - <xsl:call-template name="section.titlepage.recto"/> - <xsl:call-template name="section.titlepage.before.verso"/> - <xsl:call-template name="section.titlepage.verso"/> - <xsl:call-template name="section.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="section.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="section.titlepage.recto.style"> -<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect1.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect1info/title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect1info/subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/> - <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/> -</xsl:template> - -<xsl:template name="sect1.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect1.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect1.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect1.titlepage.before.recto"/> - <xsl:call-template name="sect1.titlepage.recto"/> - <xsl:call-template name="sect1.titlepage.before.verso"/> - <xsl:call-template name="sect1.titlepage.verso"/> - <xsl:call-template name="sect1.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect1.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect1.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect2.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect2info/title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect2info/subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/> - <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/> -</xsl:template> - -<xsl:template name="sect2.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect2.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect2.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect2.titlepage.before.recto"/> - <xsl:call-template name="sect2.titlepage.recto"/> - <xsl:call-template name="sect2.titlepage.before.verso"/> - <xsl:call-template name="sect2.titlepage.verso"/> - <xsl:call-template name="sect2.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect2.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect2.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect3.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect3info/title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect3info/subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/> - <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/> -</xsl:template> - -<xsl:template name="sect3.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect3.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect3.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect3.titlepage.before.recto"/> - <xsl:call-template name="sect3.titlepage.recto"/> - <xsl:call-template name="sect3.titlepage.before.verso"/> - <xsl:call-template name="sect3.titlepage.verso"/> - <xsl:call-template name="sect3.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect3.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect3.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect4.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect4info/title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect4info/subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/> - <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/> -</xsl:template> - -<xsl:template name="sect4.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect4.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect4.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect4.titlepage.before.recto"/> - <xsl:call-template name="sect4.titlepage.recto"/> - <xsl:call-template name="sect4.titlepage.before.verso"/> - <xsl:call-template name="sect4.titlepage.verso"/> - <xsl:call-template name="sect4.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect4.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect4.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="sect5.titlepage.recto"> - <xsl:choose> - <xsl:when test="sect5info/title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="sect5info/subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/> - <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/> -</xsl:template> - -<xsl:template name="sect5.titlepage.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="sect5.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="sect5.titlepage"> - <div class="titlepage"> - <xsl:call-template name="sect5.titlepage.before.recto"/> - <xsl:call-template name="sect5.titlepage.recto"/> - <xsl:call-template name="sect5.titlepage.before.verso"/> - <xsl:call-template name="sect5.titlepage.verso"/> - <xsl:call-template name="sect5.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="sect5.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="sect5.titlepage.recto.style"> -<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="simplesect.titlepage.recto"> - <xsl:choose> - <xsl:when test="simplesectinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/> - </xsl:when> - <xsl:when test="docinfo/title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/> - </xsl:when> - <xsl:when test="title"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/> - </xsl:when> - </xsl:choose> - - <xsl:choose> - <xsl:when test="simplesectinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/> - <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/> -</xsl:template> - -<xsl:template name="simplesect.titlepage.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="simplesect.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="simplesect.titlepage"> - <div class="titlepage"> - <xsl:call-template name="simplesect.titlepage.before.recto"/> - <xsl:call-template name="simplesect.titlepage.recto"/> - <xsl:call-template name="simplesect.titlepage.before.verso"/> - <xsl:call-template name="simplesect.titlepage.verso"/> - <xsl:call-template name="simplesect.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="simplesect.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="simplesect.titlepage.recto.style"> -<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="bibliography.titlepage.recto"> - <div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="bibliographyinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="bibliography.titlepage.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.separator"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="bibliography.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="bibliography.titlepage"> - <div class="titlepage"> - <xsl:call-template name="bibliography.titlepage.before.recto"/> - <xsl:call-template name="bibliography.titlepage.recto"/> - <xsl:call-template name="bibliography.titlepage.before.verso"/> - <xsl:call-template name="bibliography.titlepage.verso"/> - <xsl:call-template name="bibliography.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="bibliography.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="bibliography.titlepage.recto.style"> -<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="glossary.titlepage.recto"> - <div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="glossaryinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="glossary.titlepage.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage.separator"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="glossary.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="glossary.titlepage"> - <div class="titlepage"> - <xsl:call-template name="glossary.titlepage.before.recto"/> - <xsl:call-template name="glossary.titlepage.recto"/> - <xsl:call-template name="glossary.titlepage.before.verso"/> - <xsl:call-template name="glossary.titlepage.verso"/> - <xsl:call-template name="glossary.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="glossary.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="glossary.titlepage.recto.style"> -<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/> -</div> -</xsl:template> - -<xsl:template name="index.titlepage.recto"> - <div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:call-template name="component.title"> -<xsl:with-param name="node" select="ancestor-or-self::index[1]"/> -</xsl:call-template></div> - <xsl:choose> - <xsl:when test="indexinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/> - </xsl:when> - <xsl:when test="docinfo/subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/> - </xsl:when> - <xsl:when test="subtitle"> - <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/> - </xsl:when> - </xsl:choose> - -</xsl:template> - -<xsl:template name="index.titlepage.verso"> -</xsl:template> - -<xsl:template name="index.titlepage.separator"> -</xsl:template> - -<xsl:template name="index.titlepage.before.recto"> -</xsl:template> - -<xsl:template name="index.titlepage.before.verso"> -</xsl:template> - -<xsl:template name="index.titlepage"> - <div class="titlepage"> - <xsl:call-template name="index.titlepage.before.recto"/> - <xsl:call-template name="index.titlepage.recto"/> - <xsl:call-template name="index.titlepage.before.verso"/> - <xsl:call-template name="index.titlepage.verso"/> - <xsl:call-template name="index.titlepage.separator"/> - </div> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.recto.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="*" mode="index.titlepage.verso.mode"> - <!-- if an element isn't found in this mode, --> - <!-- try the generic titlepage.mode --> - <xsl:apply-templates select="." mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode"> -<div xsl:use-attribute-sets="index.titlepage.recto.style"> -<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/> -</div> -</xsl:template> - -</xsl:stylesheet>
\ No newline at end of file diff --git a/stylesheets/docbook/html/titlepage.xsl b/stylesheets/docbook/html/titlepage.xsl deleted file mode 100644 index 5b712a18..00000000 --- a/stylesheets/docbook/html/titlepage.xsl +++ /dev/null @@ -1,725 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:attribute-set name="book.titlepage.recto.style"/> -<xsl:attribute-set name="book.titlepage.verso.style"/> - -<xsl:attribute-set name="article.titlepage.recto.style"/> -<xsl:attribute-set name="article.titlepage.verso.style"/> - -<xsl:attribute-set name="set.titlepage.recto.style"/> -<xsl:attribute-set name="set.titlepage.verso.style"/> - -<xsl:attribute-set name="part.titlepage.recto.style"/> -<xsl:attribute-set name="part.titlepage.verso.style"/> - -<xsl:attribute-set name="partintro.titlepage.recto.style"/> -<xsl:attribute-set name="partintro.titlepage.verso.style"/> - -<xsl:attribute-set name="reference.titlepage.recto.style"/> -<xsl:attribute-set name="reference.titlepage.verso.style"/> - -<xsl:attribute-set name="refentry.titlepage.recto.style"/> -<xsl:attribute-set name="refentry.titlepage.verso.style"/> - -<xsl:attribute-set name="dedication.titlepage.recto.style"/> -<xsl:attribute-set name="dedication.titlepage.verso.style"/> - -<xsl:attribute-set name="preface.titlepage.recto.style"/> -<xsl:attribute-set name="preface.titlepage.verso.style"/> - -<xsl:attribute-set name="chapter.titlepage.recto.style"/> -<xsl:attribute-set name="chapter.titlepage.verso.style"/> - -<xsl:attribute-set name="appendix.titlepage.recto.style"/> -<xsl:attribute-set name="appendix.titlepage.verso.style"/> - -<xsl:attribute-set name="bibliography.titlepage.recto.style"/> -<xsl:attribute-set name="bibliography.titlepage.verso.style"/> - -<xsl:attribute-set name="glossary.titlepage.recto.style"/> -<xsl:attribute-set name="glossary.titlepage.verso.style"/> - -<xsl:attribute-set name="index.titlepage.recto.style"/> -<xsl:attribute-set name="index.titlepage.verso.style"/> - -<xsl:attribute-set name="section.titlepage.recto.style"/> -<xsl:attribute-set name="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect1.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect1.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect2.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect2.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect3.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect3.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect4.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect4.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="sect5.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="sect5.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="simplesect.titlepage.recto.style" - use-attribute-sets="section.titlepage.recto.style"/> -<xsl:attribute-set name="simplesect.titlepage.verso.style" - use-attribute-sets="section.titlepage.verso.style"/> - -<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/> -<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/> - -<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/> -<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="titlepage.mode"> - <!-- if an element isn't found in this mode, try the default mode --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="abbrev" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="abstract" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="abstract/title" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="address" mode="titlepage.mode"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <div class="{name(.)}"> - <p> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:when> - - <xsl:otherwise> - <div class="{name(.)}"> - <p> - <xsl:apply-templates mode="titlepage.mode"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="affiliation" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="artpagenums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="author" mode="titlepage.mode"> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> - <xsl:apply-templates mode="titlepage.mode" select="./contrib"/> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> -</xsl:template> - -<xsl:template match="authorblurb" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="authorgroup" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="authorinitials" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="bibliomisc" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="bibliomset" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="collab" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confgroup" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="confdates" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="conftitle" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="confnum" mode="titlepage.mode"> - <!-- suppress --> -</xsl:template> - -<xsl:template match="contractnum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contractsponsor" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="contrib" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> -</xsl:template> - -<xsl:template match="copyright" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Copyright'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">copyright</xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="copyright.years"> - <xsl:with-param name="years" select="year"/> - <xsl:with-param name="print.ranges" select="$make.year.ranges"/> - <xsl:with-param name="single.year.ranges" - select="$make.single.year.ranges"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="holder" mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="year" mode="titlepage.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="year[position()=last()]" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="holder" mode="titlepage.mode"> - <xsl:apply-templates/><xsl:text>, </xsl:text> -</xsl:template> - -<xsl:template match="holder[position()=last()]" mode="titlepage.mode"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="corpauthor" mode="titlepage.mode"> - <h3 class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </h3> -</xsl:template> - -<xsl:template match="corpname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="date" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="edition" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Edition'"/> - </xsl:call-template> - </p> -</xsl:template> - -<xsl:template match="editor" mode="titlepage.mode"> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> -</xsl:template> - -<xsl:template match="editor[position()=1]" mode="titlepage.mode"> - <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4> - <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3> -</xsl:template> - -<xsl:template match="firstname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="graphic" mode="titlepage.mode"> - <!-- use the normal graphic handling code --> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="honorific" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="isbn" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issn" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="itermset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="invpartnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="issuenum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="jobtitle" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="keywordset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="legalnotice " mode="titlepage.mode"> - <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable> - <xsl:choose> - <xsl:when test="$generate.legalnotice.link != 0"> - <xsl:variable name="filename"> - <xsl:call-template name="make-relative-filename"> - <xsl:with-param name="base.dir" select="$base.dir"/> - <xsl:with-param name="base.name" select="concat('ln-',$id,$html.ext)"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="title.markup"/> - </xsl:variable> - - <a href="{$filename}"> - <xsl:copy-of select="$title"/> - </a> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="filename" select="$filename"/> - <xsl:with-param name="content"> - <html> - <head> - <title><xsl:value-of select="$title"/></title> - </head> - <body> - <xsl:call-template name="body.attributes"/> - <div class="{local-name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> - </body> - </html> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <div class="{local-name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="legalnotice/title" mode="titlepage.mode"> - <p class="legalnotice-title"><b><xsl:apply-templates/></b></p> -</xsl:template> - -<xsl:template match="lineage" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="modespec" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="orgdiv" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="orgname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.mode"> - <xsl:variable name="contrib" select="string(contrib)"/> - <xsl:choose> - <xsl:when test="contrib"> - <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode" select="contrib"/> - <xsl:text>: </xsl:text> - <xsl:call-template name="person.name"/> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/> - </p> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <p class="{name(.)}"><xsl:call-template name="person.name"/></p> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="othercredit" mode="titlepage.othercredits"> - <xsl:text>, </xsl:text> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="othername" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pagenums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="printhistory" mode="titlepage.mode"> - <div class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </div> -</xsl:template> - -<xsl:template match="productname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="productnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubdate" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="publisher" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="publishername" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="pubsnumber" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="releaseinfo" mode="titlepage.mode"> - <p class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </p> -</xsl:template> - -<xsl:template match="revhistory" mode="titlepage.mode"> - <xsl:variable name="numcols"> - <xsl:choose> - <xsl:when test="//authorinitials">3</xsl:when> - <xsl:otherwise>2</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <div class="{name(.)}"> - <table border="1" width="100%" summary="Revision history"> - <tr> - <th align="left" valign="top" colspan="{$numcols}"> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'RevHistory'"/> - </xsl:call-template> - </b> - </th> - </tr> - <xsl:apply-templates mode="titlepage.mode"> - <xsl:with-param name="numcols" select="$numcols"/> - </xsl:apply-templates> - </table> - </div> -</xsl:template> - -<xsl:template match="revhistory/revision" mode="titlepage.mode"> - <xsl:param name="numcols" select="'3'"/> - <xsl:variable name="revnumber" select=".//revnumber"/> - <xsl:variable name="revdate" select=".//date"/> - <xsl:variable name="revauthor" select=".//authorinitials"/> - <xsl:variable name="revremark" select=".//revremark|.//revdescription"/> - <tr> - <td align="left"> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Revision'"/> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/> - </xsl:if> - </td> - <td align="left"> - <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/> - </td> - <xsl:choose> - <xsl:when test="$revauthor"> - <td align="left"> - <xsl:apply-templates select="$revauthor[1]" mode="titlepage.mode"/> - </td> - </xsl:when> - <xsl:when test="$numcols > 2"> - <td> </td> - </xsl:when> - <xsl:otherwise></xsl:otherwise> - </xsl:choose> - </tr> - <xsl:if test="$revremark"> - <tr> - <td align="left" colspan="{$numcols}"> - <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/> - </td> - </tr> - </xsl:if> -</xsl:template> - -<xsl:template match="revision/revnumber" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/date" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/authorinitials" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revremark" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="revision/revdescription" mode="titlepage.mode"> - <xsl:apply-templates mode="titlepage.mode"/> -</xsl:template> - -<xsl:template match="seriesvolnums" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="shortaffil" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="subjectset" mode="titlepage.mode"> -</xsl:template> - -<xsl:template match="subtitle" mode="titlepage.mode"> - <h2 class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - </h2> -</xsl:template> - -<xsl:template match="surname" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<xsl:template match="title" mode="titlepage.mode"> - <xsl:variable name="id"> - <xsl:choose> - <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="contains(local-name(..), 'info')"> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select="../.."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="object.id"> - <xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <h1 class="{name(.)}"> - <a name="{$id}"/> - <xsl:choose> - <xsl:when test="$show.revisionflag and @revisionflag"> - <span class="{@revisionflag}"> - <xsl:apply-templates mode="titlepage.mode"/> - </span> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="titlepage.mode"/> - </xsl:otherwise> - </xsl:choose> - </h1> -</xsl:template> - -<xsl:template match="titleabbrev" mode="titlepage.mode"> - <!-- nop; title abbreviations don't belong on the title page! --> -</xsl:template> - -<xsl:template match="volumenum" mode="titlepage.mode"> - <span class="{name(.)}"> - <xsl:apply-templates mode="titlepage.mode"/> - <br/> - </span> -</xsl:template> - -<!-- ==================================================================== --> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/toc.xsl b/stylesheets/docbook/html/toc.xsl deleted file mode 100644 index f2f6b511..00000000 --- a/stylesheets/docbook/html/toc.xsl +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="toc"> - <xsl:choose> - <xsl:when test="*"> - <xsl:if test="$process.source.toc != 0"> - <!-- if the toc isn't empty, process it --> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates/> - </xsl:element> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$process.empty.source.toc != 0"> - <xsl:choose> - <xsl:when test="parent::section - or parent::sect1 - or parent::sect2 - or parent::sect3 - or parent::sect4 - or parent::sect5"> - <xsl:apply-templates select="parent::*" - mode="toc.for.section"/> - </xsl:when> - <xsl:when test="parent::article"> - <xsl:apply-templates select="parent::*" - mode="toc.for.component"/> - </xsl:when> - <xsl:when test="parent::book - or parent::part"> - <xsl:apply-templates select="parent::*" - mode="toc.for.division"/> - </xsl:when> - <xsl:when test="parent::set"> - <xsl:apply-templates select="parent::*" - mode="toc.for.set"/> - </xsl:when> - <!-- there aren't any other contexts that allow toc --> - <xsl:otherwise> - <xsl:message> - <xsl:text>I don't know how to make a TOC in this context!</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocpart|tocchap - |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:variable name="sub-toc"> - <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dd> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </dd> - </xsl:when> - <xsl:otherwise> - <xsl:element name="{$toc.list.type}"> - <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - </xsl:element> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - </xsl:variable> - - <xsl:apply-templates select="tocentry[position() != last()]"/> - - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:apply-templates select="tocentry[position() = last()]"/> - </dt> - <xsl:copy-of select="$sub-toc"/> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:apply-templates select="tocentry[position() = last()]"/> - <xsl:copy-of select="$sub-toc"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry|tocfront|tocback"> - <xsl:choose> - <xsl:when test="$toc.list.type = 'dl'"> - <dt> - <xsl:call-template name="tocentry-content"/> - </dt> - </xsl:when> - <xsl:otherwise> - <li> - <xsl:call-template name="tocentry-content"/> - </li> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="tocentry[position() = last()]" priority="2"> - <xsl:call-template name="tocentry-content"/> -</xsl:template> - -<xsl:template name="tocentry-content"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:choose> - <xsl:when test="@linkend"> - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:apply-templates/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="toc.for.section"> - <xsl:call-template name="section.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.component"> - <xsl:call-template name="component.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.section"> - <xsl:call-template name="section.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.division"> - <xsl:call-template name="division.toc"/> -</xsl:template> - -<xsl:template match="*" mode="toc.for.set"> - <xsl:call-template name="set.toc"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="lot|lotentry"> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/html/verbatim.xsl b/stylesheets/docbook/html/verbatim.xsl deleted file mode 100644 index 6bec5c29..00000000 --- a/stylesheets/docbook/html/verbatim.xsl +++ /dev/null @@ -1,302 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" - xmlns:xverb="com.nwalsh.xalan.Verbatim" - xmlns:lxslt="http://xml.apache.org/xslt" - exclude-result-prefixes="sverb xverb lxslt" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<lxslt:component prefix="xverb" - functions="numberLines"/> - -<xsl:template match="programlisting|screen|synopsis"> - <xsl:param name="suppress-numbers" select="'0'"/> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <xsl:call-template name="anchor"/> - - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - <pre class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </pre> - </xsl:when> - <xsl:otherwise> - <pre class="{name(.)}"> - <xsl:apply-templates/> - </pre> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$shade.verbatim != 0"> - <table xsl:use-attribute-sets="shade.verbatim.style"> - <tr> - <td> - <xsl:copy-of select="$content"/> - </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$content"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:variable name="content"> - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre class="{name(.)}"> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </pre> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <p> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@class='monospaced'"> - <pre class="{name(.)}"> - <xsl:copy-of select="$rtf"/> - </pre> - </xsl:when> - <xsl:otherwise> - <div class="{name(.)}"> - <p> - <xsl:copy-of select="$rtf"/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$shade.verbatim != 0 and @class='monospaced'"> - <table xsl:use-attribute-sets="shade.verbatim.style"> - <tr> - <td> - <xsl:copy-of select="$content"/> - </td> - </tr> - </table> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$content"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="literallayout[not(@class) - or @class != 'monospaced']//text()"> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="translate(.,' ',' ')"/> - </xsl:call-template> -</xsl:template> - -<xsl:template match="address"> - <xsl:param name="suppress-numbers" select="'0'"/> - - <xsl:variable name="rtf"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$suppress-numbers = '0' - and @linenumbering = 'numbered' - and $use.extensions != '0' - and $linenumbering.extension != '0'"> - <div class="{name(.)}"> - <p> - <xsl:call-template name="number.rtf.lines"> - <xsl:with-param name="rtf" select="$rtf"/> - </xsl:call-template> - </p> - </div> - </xsl:when> - - <xsl:otherwise> - <div class="{name(.)}"> - <p> - <xsl:apply-templates/> - </p> - </div> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="number.rtf.lines"> - <xsl:param name="rtf" select="''"/> - <xsl:param name="pi.context" select="."/> - - <!-- Save the global values --> - <xsl:variable name="global.linenumbering.everyNth" - select="$linenumbering.everyNth"/> - - <xsl:variable name="global.linenumbering.separator" - select="$linenumbering.separator"/> - - <xsl:variable name="global.linenumbering.width" - select="$linenumbering.width"/> - - <!-- Extract the <?dbhtml linenumbering.*?> PI values --> - <xsl:variable name="pi.linenumbering.everyNth"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.separator"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.separator'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:variable name="pi.linenumbering.width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" - select="$pi.context/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'linenumbering.width'"/> - </xsl:call-template> - </xsl:variable> - - <!-- Construct the 'in-context' values --> - <xsl:variable name="linenumbering.everyNth"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.everyNth != ''"> - <xsl:value-of select="$pi.linenumbering.everyNth"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.everyNth"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.separator"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.separator != ''"> - <xsl:value-of select="$pi.linenumbering.separator"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.separator"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="linenumbering.width"> - <xsl:choose> - <xsl:when test="$pi.linenumbering.width != ''"> - <xsl:value-of select="$pi.linenumbering.width"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$global.linenumbering.width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="function-available('sverb:numberLines')"> - <xsl:copy-of select="sverb:numberLines($rtf)"/> - </xsl:when> - <xsl:when test="function-available('xverb:numberLines')"> - <xsl:copy-of select="xverb:numberLines($rtf)"/> - </xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes"> - <xsl:text>No numberLines function available.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="address//text()"> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="translate(.,' ',' ')"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="make-verbatim"> - <xsl:param name="text" select="''"/> - <xsl:choose> - <xsl:when test="not(contains($text, '
'))"> - <xsl:value-of select="$text"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="len" select="string-length($text)"/> - <xsl:choose> - <xsl:when test="$len = 1"> - <br/><xsl:text>
</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="half" select="$len div 2"/> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" select="substring($text, 1, -$half)"/> - </xsl:call-template> - <xsl:call-template name="make-verbatim"> - <xsl:with-param name="text" - select="substring($text, ($half + 1), $len)"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> - - - - - diff --git a/stylesheets/docbook/html/xref.xsl b/stylesheets/docbook/html/xref.xsl deleted file mode 100644 index 3591190a..00000000 --- a/stylesheets/docbook/html/xref.xsl +++ /dev/null @@ -1,653 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - ******************************************************************** --> - -<!-- ==================================================================== --> - -<xsl:template match="anchor"> - <xsl:call-template name="anchor"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="xref" name="xref"> - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:variable name="refelem" select="local-name($target)"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <xsl:call-template name="anchor"/> - - <xsl:choose> - <xsl:when test="count($target) = 0"> - <xsl:message> - <xsl:text>XRef to nonexistent id: </xsl:text> - <xsl:value-of select="@linkend"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - - <xsl:when test="$target/@xreflabel"> - <a> - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </a> - </xsl:when> - - <xsl:otherwise> - <xsl:variable name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="key('id',@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <a href="{$href}"> - <xsl:text>???</xsl:text> - </a> - </xsl:when> - <xsl:otherwise> - <a href="{$href}"> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </a> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:apply-templates select="$target" mode="xref-to-prefix"/> - - <a href="{$href}"> - <xsl:attribute name="title"> - <xsl:apply-templates select="$target" mode="xref-title"/> - </xsl:attribute> - <xsl:apply-templates select="$target" mode="xref-to"/> - </a> - - <xsl:apply-templates select="$target" mode="xref-to-suffix"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="endterm"> - <!-- Process the children of the endterm element --> - <xsl:apply-templates select="child::node()"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-to-prefix"/> -<xsl:template match="*" mode="xref-to-suffix"/> - -<xsl:template match="*" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - - <xsl:message> - <xsl:text>Don't know what gentext to create for xref to: "</xsl:text> - <xsl:value-of select="$refelem"/> - <xsl:text>", ("</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>")</xsl:text> - </xsl:message> - <xsl:text>???</xsl:text> -</xsl:template> - -<xsl:template match="author" mode="xref-to"> - <xsl:call-template name="person.name"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-to"> - <xsl:call-template name="person.name.list"/> -</xsl:template> - -<xsl:template match="figure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="example" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="table" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="equation" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="procedure" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-to"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> -</xsl:template> - -<xsl:template match="dedication" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="preface" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="chapter" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="appendix" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="bibliography" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix"> - <xsl:text>[</xsl:text> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix"> - <xsl:text>]</xsl:text> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-to"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:choose> - <xsl:when test="string(.) = ''"> - <xsl:variable name="bib" select="document($bibliography.collection)"/> - <xsl:variable name="id" select="@id"/> - <xsl:variable name="entry" select="$bib/bibliography/*[@id=$id][1]"/> - <xsl:choose> - <xsl:when test="$entry"> - <xsl:choose> - <xsl:when test="local-name($entry/*[1]) = 'abbrev'"> - <xsl:apply-templates select="$entry/*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>No bibliography entry: </xsl:text> - <xsl:value-of select="$id"/> - <xsl:text> found in </xsl:text> - <xsl:value-of select="$bibliography.collection"/> - </xsl:message> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="glossary" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="index" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="listitem" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="section|simplesect - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="bridgehead" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> - <!-- What about "in Chapter X"? --> -</xsl:template> - -<xsl:template match="qandaset" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandadiv" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="qandaentry" mode="xref-to"> - <xsl:apply-templates select="question[1]" mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="question" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="answer" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="part" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="reference" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<xsl:template match="refentry" mode="xref-to"> - <xsl:choose> - <xsl:when test="refmeta/refentrytitle"> - <xsl:apply-templates select="refmeta/refentrytitle"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="refnamediv/refname[1]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="refmeta/manvolnum"/> -</xsl:template> - -<xsl:template match="step" mode="xref-to"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="varlistentry" mode="xref-to"> - <xsl:apply-templates select="term[1]" mode="xref-to"/> -</xsl:template> - -<xsl:template match="varlistentry/term" mode="xref-to"> - <!-- to avoid the comma that will be generated if there are several terms --> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="co" mode="xref-to"> - <xsl:apply-templates select="." mode="callout-bug"/> -</xsl:template> - -<xsl:template match="book" mode="xref-to"> - <xsl:apply-templates select="." mode="object.xref.markup"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="*" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="author" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="authorgroup" mode="xref-title"> - <xsl:variable name="title"> - <xsl:call-template name="person.name.list"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="cmdsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//command)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="funcsynopsis" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="(.//function)[1]" mode="xref"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="biblioentry|bibliomixed" mode="xref-title"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:variable name="title"> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="local-name(*[1]) = 'abbrev'"> - <xsl:apply-templates select="*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<xsl:template match="step" mode="xref-title"> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'Step'"/> - </xsl:call-template> - <xsl:text> </xsl:text> - <xsl:apply-templates select="." mode="number"/> -</xsl:template> - -<xsl:template match="co" mode="xref-title"> - <xsl:variable name="title"> - <xsl:apply-templates select="." mode="callout-bug"/> - </xsl:variable> - - <xsl:value-of select="$title"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="link" name="link"> - <xsl:param name="a.target"/> - - <xsl:variable name="targets" select="key('id',@linkend)"/> - <xsl:variable name="target" select="$targets[1]"/> - - <xsl:call-template name="check.id.unique"> - <xsl:with-param name="linkend" select="@linkend"/> - </xsl:call-template> - - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - - <xsl:if test="$a.target"> - <xsl:attribute name="target"><xsl:value-of select="$a.target"/></xsl:attribute> - </xsl:if> - - <xsl:attribute name="href"> - <xsl:call-template name="href.target"> - <xsl:with-param name="object" select="$target"/> - </xsl:call-template> - </xsl:attribute> - - <!-- FIXME: is there a better way to tell what elements have a title? --> - <xsl:if test="local-name($target) = 'book' - or local-name($target) = 'set' - or local-name($target) = 'chapter' - or local-name($target) = 'preface' - or local-name($target) = 'appendix' - or local-name($target) = 'bibliography' - or local-name($target) = 'glossary' - or local-name($target) = 'index' - or local-name($target) = 'part' - or local-name($target) = 'refentry' - or local-name($target) = 'reference' - or local-name($target) = 'example' - or local-name($target) = 'equation' - or local-name($target) = 'table' - or local-name($target) = 'figure' - or local-name($target) = 'simplesect' - or starts-with(local-name($target),'sect') - or starts-with(local-name($target),'refsect')"> - <xsl:attribute name="title"> - <xsl:apply-templates select="$target" - mode="object.title.markup.textonly"/> - </xsl:attribute> - </xsl:if> - - <xsl:choose> - <xsl:when test="count(child::node()) > 0"> - <!-- If it has content, use it --> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <!-- else look for an endterm --> - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="key('id',@endterm)"/> - <xsl:variable name="etarget" select="$etargets[1]"/> - <xsl:choose> - <xsl:when test="count($etarget) = 0"> - <xsl:message> - <xsl:value-of select="count($etargets)"/> - <xsl:text>Endterm points to nonexistent ID: </xsl:text> - <xsl:value-of select="@endterm"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$etarget" mode="endterm"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - - <xsl:otherwise> - <xsl:message> - <xsl:text>Link element has no content and no Endterm. </xsl:text> - <xsl:text>Nothing to show in the link to </xsl:text> - <xsl:value-of select="$target"/> - </xsl:message> - <xsl:text>???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="ulink" name="ulink"> - <a> - <xsl:if test="@id"> - <xsl:attribute name="name"> - <xsl:value-of select="@id"/> - </xsl:attribute> - </xsl:if> - <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute> - <xsl:if test="$ulink.target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$ulink.target"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="@url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="olink" name="olink"> - <xsl:call-template name="anchor"/> - <xsl:variable name="localinfo" select="@localinfo"/> - - <xsl:variable name="href"> - <xsl:choose> - <xsl:when test="@linkmode"> - <!-- use the linkmode to get the base URI, use localinfo as fragid --> - <xsl:variable name="modespec" select="key('id',@linkmode)"/> - <xsl:if test="count($modespec) != 1 - or local-name($modespec) != 'modespec'"> - <xsl:message>Warning: olink linkmode pointer is wrong.</xsl:message> - </xsl:if> - <xsl:value-of select="$modespec"/> - <xsl:if test="@localinfo"> - <xsl:text>#</xsl:text> - <xsl:value-of select="@localinfo"/> - </xsl:if> - </xsl:when> - <xsl:when test="@type = 'href'"> - <xsl:call-template name="olink.outline"> - <xsl:with-param name="outline.base.uri" - select="unparsed-entity-uri(@targetdocent)"/> - <xsl:with-param name="localinfo" select="@localinfo"/> - <xsl:with-param name="return" select="'href'"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$olink.resolver"/> - <xsl:text>?</xsl:text> - <xsl:value-of select="$olink.sysid"/> - <xsl:value-of select="unparsed-entity-uri(@targetdocent)"/> - <!-- XSL gives no access to the public identifier (grumble...) --> - <xsl:if test="@localinfo"> - <xsl:text>&</xsl:text> - <xsl:value-of select="$olink.fragid"/> - <xsl:value-of select="@localinfo"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <a href="{$href}"> - <xsl:choose> - <xsl:when test="count(node()) > 0"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="olink.outline"> - <xsl:with-param name="outline.base.uri" - select="unparsed-entity-uri(@targetdocent)"/> - <xsl:with-param name="localinfo" select="@localinfo"/> - <xsl:with-param name="return" select="'xref'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template name="olink.outline"> - <xsl:param name="outline.base.uri"/> - <xsl:param name="localinfo"/> - <xsl:param name="return" select="href"/> - - <xsl:variable name="outline-file" - select="concat($outline.base.uri, - $olink.outline.ext)"/> - - <xsl:variable name="outline" select="document($outline-file,.)/div"/> - - <xsl:variable name="node-href"> - <xsl:choose> - <xsl:when test="$localinfo != ''"> - <xsl:variable name="node" select="$outline//*[@id=$localinfo]"/> - <xsl:value-of select="$node/@href"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$outline/@href"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="node-xref"> - <xsl:choose> - <xsl:when test="$localinfo != ''"> - <xsl:variable name="node" select="$outline//*[@id=$localinfo]"/> - <xsl:copy-of select="$node/xref"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$outline/xref"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$return = 'href'"> - <xsl:value-of select="$node-href"/> - </xsl:when> - <xsl:when test="$return = 'xref'"> - <xsl:value-of select="$node-xref"/> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$node-xref"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template name="xref.xreflabel"> - <!-- called to process an xreflabel...you might use this to make --> - <!-- xreflabels come out in the right font for different targets, --> - <!-- for example. --> - <xsl:param name="target" select="."/> - <xsl:value-of select="$target/@xreflabel"/> -</xsl:template> - -<!-- ==================================================================== --> - -<xsl:template match="title" mode="xref"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="command" mode="xref"> - <xsl:call-template name="inline.boldseq"/> -</xsl:template> - -<xsl:template match="function" mode="xref"> - <xsl:call-template name="inline.monoseq"/> -</xsl:template> - -<xsl:template match="*" mode="pagenumber.markup"> - <xsl:message> - <xsl:text>Page numbers make no sense in HTML! (Don't use %p in templates)</xsl:text> - </xsl:message> -</xsl:template> - -</xsl:stylesheet> diff --git a/stylesheets/docbook/images/blank.png b/stylesheets/docbook/images/blank.png Binary files differdeleted file mode 100644 index 764bf4f0..00000000 --- a/stylesheets/docbook/images/blank.png +++ /dev/null diff --git a/stylesheets/docbook/images/home.png b/stylesheets/docbook/images/home.png Binary files differdeleted file mode 100644 index 17003611..00000000 --- a/stylesheets/docbook/images/home.png +++ /dev/null diff --git a/stylesheets/docbook/images/next.png b/stylesheets/docbook/images/next.png Binary files differdeleted file mode 100644 index 92832e3a..00000000 --- a/stylesheets/docbook/images/next.png +++ /dev/null diff --git a/stylesheets/docbook/images/prev.png b/stylesheets/docbook/images/prev.png Binary files differdeleted file mode 100644 index 2d05b3d5..00000000 --- a/stylesheets/docbook/images/prev.png +++ /dev/null diff --git a/stylesheets/docbook/images/up.png b/stylesheets/docbook/images/up.png Binary files differdeleted file mode 100644 index 85b3e2a2..00000000 --- a/stylesheets/docbook/images/up.png +++ /dev/null diff --git a/stylesheets/docbook/lib/lib.xsl b/stylesheets/docbook/lib/lib.xsl deleted file mode 100644 index b5d7825f..00000000 --- a/stylesheets/docbook/lib/lib.xsl +++ /dev/null @@ -1,292 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" - version='1.0'> - -<!-- ******************************************************************** - $Id$ - ******************************************************************** - - This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://nwalsh.com/docbook/xsl/ for copyright - and other information. - - This module implements DTD-independent functions - - ******************************************************************** --> - -<doc:reference xmlns=""> -<referenceinfo> -<releaseinfo role="meta"> -$Id$ -</releaseinfo> -<author><surname>Walsh</surname> -<firstname>Norman</firstname></author> -<copyright><year>1999</year><year>2000</year> -<holder>Norman Walsh</holder> -</copyright> -</referenceinfo> -<title>Library Template Reference</title> - -<partintro> -<section><title>Introduction</title> - -<para>This is technical reference documentation for the DocBook XSL -Stylesheets; it documents (some of) the parameters, templates, and -other elements of the stylesheets.</para> - -<para>This is not intended to be <quote>user</quote> documentation. -It is provided for developers writing customization layers for the -stylesheets, and for anyone who's interested in <quote>how it -works</quote>.</para> - -<para>Although I am trying to be thorough, this documentation is known -to be incomplete. Don't forget to read the source, too :-)</para> -</section> -</partintro> -</doc:reference> - -<xsl:template name="dot.count"> - <!-- Returns the number of "." characters in a string --> - <xsl:param name="string"></xsl:param> - <xsl:param name="count" select="0"/> - <xsl:choose> - <xsl:when test="contains($string, '.')"> - <xsl:call-template name="dot.count"> - <xsl:with-param name="string" select="substring-after($string, '.')"/> - <xsl:with-param name="count" select="$count+1"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$count"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ================================================================== --> - -<xsl:template name="copy-string"> - <!-- returns 'count' copies of 'string' --> - <xsl:param name="string"></xsl:param> - <xsl:param name="count" select="0"/> - <xsl:param name="result"></xsl:param> - - <xsl:choose> - <xsl:when test="$count>0"> - <xsl:call-template name="copy-string"> - <xsl:with-param name="string" select="$string"/> - <xsl:with-param name="count" select="$count - 1"/> - <xsl:with-param name="result"> - <xsl:value-of select="$result"/> - <xsl:value-of select="$string"/> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$result"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<doc:template name="string.subst" xmlns=""> -<refpurpose>Substitute one text string for another in a string</refpurpose> -<refdescription> -<para>The <function>string.subst</function> template replaces all -occurances of <parameter>target</parameter> in <parameter>string</parameter> -with <parameter>replacement</parameter> and returns the result. -</para> -</refdescription> -</doc:template> - -<xsl:template name="string.subst"> - <xsl:param name="string"></xsl:param> - <xsl:param name="target"></xsl:param> - <xsl:param name="replacement"></xsl:param> - - <xsl:choose> - <xsl:when test="contains($string, $target)"> - <xsl:variable name="rest"> - <xsl:call-template name="string.subst"> - <xsl:with-param name="string" - select="substring-after($string, $target)"/> - <xsl:with-param name="target" select="$target"/> - <xsl:with-param name="replacement" select="$replacement"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="concat(substring-before($string, $target), - $replacement, - $rest)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ================================================================== --> - -<doc:template name="xpointer.idref" xmlns=""> -<refpurpose>Extract IDREF from an XPointer</refpurpose> -<refdescription> -<para>The <function>xpointer.idref</function> template returns the -ID portion of an XPointer which is a pointer to an ID within the current -document, or the empty string if it is not.</para> -<para>In other words, <function>xpointer.idref</function> returns -<quote>foo</quote> when passed either <literal>#foo</literal> -or <literal>#xpointer(id('foo'))</literal>, otherwise it returns -the empty string.</para> -</refdescription> -</doc:template> - -<xsl:template name="xpointer.idref"> - <xsl:param name="xpointer">http://...</xsl:param> - <xsl:choose> - <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> - <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"/> - <xsl:variable name="quote" select="substring($rest, 1, 1)"/> - <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/> - </xsl:when> - <xsl:when test="starts-with($xpointer, '#')"> - <xsl:value-of select="substring-after($xpointer, '#')"/> - </xsl:when> - <!-- otherwise it's a pointer to some other document --> - </xsl:choose> -</xsl:template> - -<!-- ================================================================== --> - -<doc:template name="length-magnitude" xmlns=""> -<refpurpose>Return the unqualified dimension from a length specification</refpurpose> -<refdescription> -<para>The <function>length-magnitude</function> template returns the -unqualified length ("20" for "20pt") from a dimension. -</para> -</refdescription> -</doc:template> - -<xsl:template name="length-magnitude"> - <xsl:param name="length" select="'0pt'"/> - - <xsl:choose> - <xsl:when test="string-length($length) = 0"/> - <xsl:when test="substring($length,1,1) = '0' - or substring($length,1,1) = '1' - or substring($length,1,1) = '2' - or substring($length,1,1) = '3' - or substring($length,1,1) = '4' - or substring($length,1,1) = '5' - or substring($length,1,1) = '6' - or substring($length,1,1) = '7' - or substring($length,1,1) = '8' - or substring($length,1,1) = '9' - or substring($length,1,1) = '.'"> - <xsl:value-of select="substring($length,1,1)"/> - <xsl:call-template name="length-magnitude"> - <xsl:with-param name="length" select="substring($length,2)"/> - </xsl:call-template> - </xsl:when> - </xsl:choose> -</xsl:template> - -<!-- ================================================================== --> - -<doc:template name="length-spec" xmlns=""> -<refpurpose>Return a fully qualified length specification</refpurpose> -<refdescription> -<para>The <function>length-spec</function> template returns the -qualified length from a dimension. If an unqualified length is given, -the <parameter>default.units</parameter> will be added to it. -</para> -</refdescription> -</doc:template> - -<xsl:template name="length-spec"> - <xsl:param name="length" select="'0pt'"/> - <xsl:param name="default.units" select="'pt'"/> - <xsl:variable name="magnitude"> - <xsl:call-template name="length-magnitude"> - <xsl:with-param name="length" select="$length"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="units"> - <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> - </xsl:variable> - - <xsl:value-of select="$magnitude"/> - <xsl:choose> - <xsl:when test="$units='cm' - or $units='mm' - or $units='in' - or $units='pt' - or $units='pc' - or $units='px' - or $units='em'"> - <xsl:value-of select="$units"/> - </xsl:when> - <xsl:when test="$units = ''"> - <xsl:value-of select="$default.units"/> - </xsl:when> - <xsl:otherwise> - <xsl:message> - <xsl:text>Unrecognized unit of measure: </xsl:text> - <xsl:value-of select="$units"/> - <xsl:text>.</xsl:text> - </xsl:message> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ================================================================== --> - -<doc:template name="pi-attribute" xmlns=""> -<refpurpose>Extract a pseudo-attribute from a PI</refpurpose> -<refdescription> -<para>The <function>pi-attribute</function> template extracts a pseudo-attribute -from a processing instruction. For example, given the PI -<quote><literal><?foo bar="1" baz='red'?></literal></quote>,</para> -<programlisting><![CDATA[<xsl:call-template name="pi-attribute"> - <xsl:with-param name="pis" select="processing-instruction('foo')"/> - <xsl:with-param name="attribute" select="'baz'"/> -</xsl:call-template>]]></programlisting> -<para>will return <quote>red</quote>. This template returns the first matching -attribute that it finds. Presented with processing instructions that -contain badly formed pseudo-attributes (missing or unbalanced quotes, -for example), the template may silently return erroneous results.</para> -</refdescription> -</doc:template> - -<xsl:template name="pi-attribute"> - <xsl:param name="pis" select="processing-instruction('')"/> - <xsl:param name="attribute">filename</xsl:param> - <xsl:param name="count">1</xsl:param> - - <xsl:choose> - <xsl:when test="$count>count($pis)"> - <!-- not found --> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="pi"> - <xsl:value-of select="$pis[$count]"/> - </xsl:variable> - <xsl:choose> - <xsl:when test="contains($pi,concat($attribute, '='))"> - <xsl:variable name="rest" select="substring-after($pi,concat($attribute,'='))"/> - <xsl:variable name="quote" select="substring($rest,1,1)"/> - <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="pi-attribute"> - <xsl:with-param name="pis" select="$pis"/> - <xsl:with-param name="attribute" select="$attribute"/> - <xsl:with-param name="count" select="$count + 1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/test/testdoc1/testdoc1.xml b/test/testdoc1/testdoc1.xml index 07e918b8..0034bf88 100644 --- a/test/testdoc1/testdoc1.xml +++ b/test/testdoc1/testdoc1.xml @@ -1,6 +1,6 @@ <?xml version="1.0"?> -<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2.2//EN" -"http://www.oasis-open.org/docbook/xml/4.2.2/docbookx.dtd" [ +<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2.0//EN" +"http://www.oasis-open.org/docbook/xml/4.2.0/docbookx.dtd" [ <!ENTITY legal SYSTEM "legal.xml"> <!ENTITY yelp "<application>Yelp</application>"> ]> @@ -57,9 +57,9 @@ </caution> <para> - Here we have an <sgmltag>important</sgmltag> and a <sgmltag>important</sgmltag> - right next to each other. This is a nice thing to test, but it should generally - be considered bad style. + Here we have an <sgmltag>important</sgmltag> and a <sgmltag>note</sgmltag> + right next to each other. This is a nice thing to test, but it should + generally be considered bad style. </para> <important> @@ -80,6 +80,19 @@ </note> <para> + Next, we have a tip. + </para> + + <tip> + <title>$2.24</title> + <para> + If your meal costs $11.20, you should tip $2.24, or 20%. Of course, + you should not feal obliged to give a full 20% tip if your service + wasn't up to par. + </para> + </tip> + + <para> And finally, we'll have a <sgmltag>warning</sgmltag>. Just to mix things up a bit, we'll put this one <emph>inside</emph> the paragraph. |