diff options
author | Tammy Fox <tfox@redhat.com> | 2003-07-17 19:48:07 +0000 |
---|---|---|
committer | Tammy Fox <tfox@redhat.com> | 2003-07-17 19:48:07 +0000 |
commit | ebd12db1a16fb5a579f9ca2bab90ff7aa0544a27 (patch) | |
tree | 75468484e430de126cf80a7b102880de355f8ec6 | |
download | fedora-doc-utils-ebd12db1a16fb5a579f9ca2bab90ff7aa0544a27.tar.gz fedora-doc-utils-ebd12db1a16fb5a579f9ca2bab90ff7aa0544a27.tar.xz fedora-doc-utils-ebd12db1a16fb5a579f9ca2bab90ff7aa0544a27.zip |
Initial revision
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | common/legalnotice-en.xml | 73 | ||||
-rw-r--r-- | xsl/html-common.xsl | 29 | ||||
-rw-r--r-- | xsl/main-html.xsl | 46 | ||||
-rw-r--r-- | xsl/main-pdf.xsl | 22 | ||||
-rw-r--r-- | xsl/redhat.xsl | 57 |
6 files changed, 237 insertions, 0 deletions
@@ -0,0 +1,10 @@ +This module contains the docs for the Docs Project, part of the +Red Hat Linux Project. Except for the Installation Guide, all +docs must be tutorials written in DocBook XML article format using +the template in the example-tutorial directory. Each tutorial +*must* be in its own directory. No XML files should be in the +root directory except for files shared by all documents such +legalnotice.xml, which must be included in all docs so that the +FDL is used for all docs. + +Questions? Email rhl-docs-list@redhat.com. diff --git a/common/legalnotice-en.xml b/common/legalnotice-en.xml new file mode 100644 index 0000000..f7775c5 --- /dev/null +++ b/common/legalnotice-en.xml @@ -0,0 +1,73 @@ +<legalnotice id="legalnotice"> + + <para> + Permission is granted to copy, distribute, and/or modify this document under + the terms of the GNU Free Documentation License, Version 1.2 or any later + version published by the Free Software Foundation; with no Invariant + Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the + license is available at <ulink + url="http://www.gnu.org/licenses/fdl.html">http://www.gnu.org/licenses/fdl.html</ulink>. + </para> + + <para> + This document may be copied and distributed in any medium, either + commercially or noncommercially, provided that the GNU Free Documentation + License (FDL0, the copyright notices, and the license notice saying the GNU + FDL applies to the document are reproduced in all copies, and that you add + no other conditions whatsoever to those of th GNU FDL. + </para> + + <para> + &BOOKID; + </para> + + <para> + &RH;, &RHN;, the &RH; "Shadow Man" logo, RPM, Maximum RPM, the RPM logo, Linux + Library, PowerTools, Linux Undercover, RHmember, RHmember More, Rough Cuts, + Rawhide and all &RH;-based trademarks and logos are trademarks or registered + trademarks of &FORMAL-RHI; in the United States and other countries. + </para> + + <para> + Linux is a registered trademark of Linus Torvalds. + </para> + + <para> + Motif and UNIX are registered trademarks of The Open Group. + </para> + + <para> + Intel and Pentium are a registered trademarks of Intel Corporation. Itanium + and Celeron are trademarks of Intel Corporation. + </para> + + <para> + AMD, AMD Athlon, AMD Duron, and AMD K6 are trademarks of Advanced Micro + Devices, Inc. + </para> + + <para> + Windows is a registered trademark of Microsoft Corporation. + </para> + + <para> + SSH and Secure Shell are trademarks of SSH Communications Security, Inc. + </para> + + <para> + FireWire is a trademark of Apple Computer Corporation. + </para> + + <para> + All other trademarks and copyrights referred to are the property of their + respective owners. + </para> + + <para> + The GPG fingerprint of the security@redhat.com key is: + </para> + <para> + CA 20 86 86 2B D6 9D FC 65 F6 EC C4 21 91 80 CD DB 42 A6 0E + </para> + +</legalnotice> diff --git a/xsl/html-common.xsl b/xsl/html-common.xsl new file mode 100644 index 0000000..9d553ae --- /dev/null +++ b/xsl/html-common.xsl @@ -0,0 +1,29 @@ +<!-- created by Tammy Fox tfox@redhat.com for the RHL Project --> +<!-- License: GPL --> +<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<!-- Admonition Graphics --> + +<xsl:param name="admon.graphics" select="1"></xsl:param> +<xsl:param name="admon.graphics.path">/stylesheet-images/</xsl:param> + +<!-- titles after all elements --> + +<xsl:param name="formal.title.placement"> +figure after +example after +equation after +table after +procedure after +</xsl:param> + +<xsl:output method="html" indent="no"/> + +<xsl:param name="generate.legalnotice.link" select="1"></xsl:param> + +</xsl:stylesheet> diff --git a/xsl/main-html.xsl b/xsl/main-html.xsl new file mode 100644 index 0000000..588ade2 --- /dev/null +++ b/xsl/main-html.xsl @@ -0,0 +1,46 @@ +<!-- created by Tammy Fox tfox@redhat.com for the RHL Project --> +<!-- License: GPL --> +<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<xsl:import href="redhat.xsl"/> +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk-common.xsl"/> +<xsl:include href="/usr/share/sgml/docbook/xsl-stylesheets/html/manifest.xsl"/> + +<xsl:include href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk-code.xsl"/> + +<xsl:include href="html-common.xsl"/> + +<!-- TOC --> +<xsl:param name="toc.section.depth">3</xsl:param> +<xsl:param name="section.autolabel" select="1"/> +<xsl:param name="section.label.includes.component.label" select="1"></xsl:param> + +<xsl:param name="generate.toc"> +book toc +article toc +chapter nop +sect1 nop +sect2 nop +sect3 nop +sect4 nop +sect5 nop +section nop +</xsl:param> + +<!-- Navigation +<xsl:param name="navig.graphics" select="1"></xsl:param> +<xsl:param name="navig.graphics.extension" select="'.png'"></xsl:param> +<xsl:param name="navig.graphics.path">nav-images/</xsl:param> +<xsl:param name="navig.showtitles">1</xsl:param> +--> + +<!-- multiple pages --> + +<xsl:param name="onechunk" select="0"/> + +</xsl:stylesheet> diff --git a/xsl/main-pdf.xsl b/xsl/main-pdf.xsl new file mode 100644 index 0000000..d72f16d --- /dev/null +++ b/xsl/main-pdf.xsl @@ -0,0 +1,22 @@ +<!-- created by Tammy Fox tfox@redhat.com for the RHL Project --> +<!-- License: GPL --> +<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version='1.0' + xmlns="http://www.w3.org/TR/xhtml1/transitional" + exclude-result-prefixes="#default"> + +<xsl:import href="redhat.xsl"/> +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl"/> + +<xsl:param name="use.extensions" select="0"/> +<xsl:param name="tablecolumns.extensions" select="0"/> + +<xsl:param name="generate.toc"> +article toc +</xsl:param> +<xsl:param name="toc.section.depth">3</xsl:param> +<xsl:param name="section.autolabel" select="1"/> + +</xsl:stylesheet> diff --git a/xsl/redhat.xsl b/xsl/redhat.xsl new file mode 100644 index 0000000..d3a7f7c --- /dev/null +++ b/xsl/redhat.xsl @@ -0,0 +1,57 @@ +<!-- created by Tammy Fox tfox@redhat.com for the RHL Project --> +<!-- License: GPL --> +<!-- Copyright 2003 Tammy Fox, Red Hat, Inc. --> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:exsl="http://exslt.org/common" + version="1.0" + exclude-result-prefixes="exsl"> + +<xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl"/> + +<!-- This sets the extension for HTML files to ".html". --> +<!-- (The stylesheet's default for XHTML files is ".xhtm".) --> +<xsl:param name="html.ext" select="'.html'"/> + +<!-- This sets the filename based on the ID. --> +<xsl:param name="use.id.as.filename" select="'1'"/> + +<xsl:template match="command"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +<xsl:template match="application"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guibutton"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guiicon"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guilabel"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guimenu"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guimenuitem"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="guisubmenu"> + <xsl:call-template name="inline.boldseq"/> +</xsl:template> + +<xsl:template match="filename"> + <xsl:call-template name="inline.monoseq"/> +</xsl:template> + +</xsl:stylesheet> + + |