diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 03:11:56 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 03:11:56 +0000 |
commit | b968848a1697dfc7216e1802883b5f7e55025111 (patch) | |
tree | 05d30dcd1daed7575cba09aa7308747b50ad66f8 | |
parent | 99bde6889d3d8b7a9e950c86c30e82662e1dacdd (diff) | |
download | samba-b968848a1697dfc7216e1802883b5f7e55025111.tar.gz samba-b968848a1697dfc7216e1802883b5f7e55025111.tar.bz2 samba-b968848a1697dfc7216e1802883b5f7e55025111.zip |
removing files not in 3.0
(This used to be commit d5c32f8881f33667c9bfa067cb7f2113bd55c724)
158 files changed, 6 insertions, 37763 deletions
diff --git a/docs/announce b/docs/announce deleted file mode 100644 index 7310bdd737..0000000000 --- a/docs/announce +++ /dev/null @@ -1,153 +0,0 @@ -This document is out of date - - - Announcing Samba version 2.2 - ============================ - -What is Samba? --------------- - -Samba is a SMB file server that runs on Unix and other operating -systems. It allows these operating systems (currently Unix, Netware, -OS/2 and AmigaDOS) to act as a file and print server for SMB and CIFS -clients. There are many Lan-Manager compatible clients such as -LanManager for DOS, Windows for Workgroups, Windows NT, Windows 95, -Linux smbfs, OS/2, Pathworks and more. - -The package also includes a SMB client for accessing other SMB servers, -and an advanced netbios/WINS nameserver for browsing support. - - -What can it do for me? ----------------------- - -If you have any PCs running SMB clients, such as a PC running Windows -for Workgroups, then you can mount file space or printers on a Samba -host, so that directories, files and printers on the host are -available on the PC. - -If you have any SMB servers such as Windows NT Server, Warp Server or -Pathworks you may be able to replace them by or supplement them with -Samba. One of Samba's big strengths is integration, so you can use it -to tie together your Unix (or VMS etc) hosts and PC clients. If you -are tired of the insecurity, expense and instability of PCNFS then Samba -may be for you. - -The client part of the package will also allow you to attach to other -SMB-based servers (such as windows NT and windows for workgroups) so -that you can copy files to and from your unix host. The client also -allows you to access a SMB printer (such as one attached to an OS/2 or -WfWg server) from Unix, using an entry in /etc/printcap, or by -explicitly specifying the command used to print files. - - -What are its features? ------------------------- - -Samba supports many features that are not supported in other SMB -implementations (all of which are commercial). These include host as -well as username/password security, a client, automatic home directory -exporting, automatic printer exporting, dead connection timeouts, -umask support, guest connections, name mangling and hidden and system -attribute mapping. Look at the FAQs included with the package for -a full list of features. - - -What's new since 2.0? ---------------------- - -Lots of stuff. See the change log and man pages for details. -In particular, please check the WHATSNEW.txt file in the root directory -of each release. This file has current change/update information. - - -Where can I get a client for my PC? ------------------------------------ - -There is a free client for MS-DOS based PCs available from -ftp.microsoft.com in the directory bussys/Clients/MSCLIENT/. Please -read the licencing information before downloading. The add-on 32-bit -TCP/IP Windows for Workgroups client is also very good. Windows 95/98/ME, -Windows NT/2000 and OS/2 come with suitable clients by default. - - -What network protocols are supported? -------------------------------------- - -Currently only TCP/IP is supported. There has been some discussion -about ports to other protocols but nothing is yet available. - -There is a free TCP/IP implementation for Windows for Workgroups -available from ftp.microsoft.com (it's small, fast and quite reliable). - - -How much does it cost? ----------------------- - -Samba software is free software. It is available under the -GNU Public licence in source code form at no cost. Please read the -file COPYING that comes with the package for more information. - - -What operating systems does it support? ---------------------------------------- - -The code has been written to be as portable as possible. It has been -"ported" to many unixes, which mostly required changing only a few -lines of code. It has been run (to my knowledge) on at least these -unixes: - -Linux, SunOS, Solaris, SVR4, Ultrix, OSF1, AIX, BSDI, NetBSD, -Sequent, HP-UX, SGI, FreeBSD, NeXT, ISC, A/UX, SCO, Intergraph, -Silicon Graphics Inc., Domain/OS and DGUX. - -Some of these have received more testing than others. If it doesn't -work with your unix then it should be easy to fix. It has also been ported -to Netware, OS/2 and the Amiga. A VMS port is available too. See the web site -for more details. - - -Who wrote it? -------------- - -Many people on the internet have contributed to the development of -Samba. The maintainer and original author is Andrew Tridgell, but -large parts of the package were contributed by several people from all -over the world. Please look at the file `change-log' for information -on who did what bits. - - -Where can I get it? -------------------- - -The package is available via anonymous ftp from samba.org in -the directory pub/samba/. - - -What about SMBServer? ---------------------- - -Samba used to be known as SMBServer, until it was pointed out that -Syntax, who make a commercial Unix SMB based server, have trademarked -that name. The name was then changed to Samba. Also, in 1992 a very -early incarnation of Samba was distributed as nbserver. - -If you see any copies of nbserver or smbserver on ftp sites please let -me or the ftp archive maintainer know, as I want to get them deleted. - - -Where can I get more info? ---------------------------- - -Please join the mailing list if you want to discuss the development or -use of Samba. To join the mailing list, please read the instructions -at http://lists.samba.org/ - -There is also often quite a bit of discussion about Samba on the -newsgroup comp.protocols.smb. - -A WWW site with lots of Samba info can be found at -http://samba.org/samba/ - -The Samba Team (Contact: samba@samba.org) -March 2001 diff --git a/docs/docbook/faq/config.xml b/docs/docbook/faq/config.xml deleted file mode 100644 index 2c17c86c4e..0000000000 --- a/docs/docbook/faq/config.xml +++ /dev/null @@ -1,37 +0,0 @@ -<chapter id="FAQ-Config"> -<title>Configuration problems</title> - -<sect1> -<title>I have set 'force user' and samba still makes 'root' the owner of all the files I touch!</title> -<para> -When you have a user in 'admin users', samba will always do file operations for -this user as 'root', even if 'force user' has been set. -</para> -</sect1> - -<sect1> -<title>I have just installed samba and I'm trying to log in from Windows, but samba refuses all logins!</title> - -<para> -Newer windows clients(NT4, 2000, XP) send encrypted passwords. Samba can't compare these -passwords to the unix password database, so it needs it's own user database. You can -add users to this database using "smbpasswd -a user-name". -</para> - -<para> -See also the "User database" chapter of the samba HOWTO Collection. -</para> -</sect1> - -<sect1> -<title>How can I make samba use netbios scope ID's</title> - -<para>By default Samba uses a blank scope ID. This means -all your windows boxes must also have a blank scope ID. -If you really want to use a non-blank scope ID then you will -need to use the 'netbios scope' smb.conf option. -All your PCs will need to have the same setting for -this to work. Scope ID's are not recommended.</para> -</sect1> - -</chapter> diff --git a/docs/docbook/faq/printing.xml b/docs/docbook/faq/printing.xml deleted file mode 100644 index be2acbd905..0000000000 --- a/docs/docbook/faq/printing.xml +++ /dev/null @@ -1,38 +0,0 @@ -<chapter id="FAQ-Printing"> -<!-- Kurt Pfeifle's HOWTO chapter on printing should make this obsolete --> -<chapterinfo> -<author> - <firstname>Ronan</firstname><surname>Waide</surname> -</author> -</chapterinfo> - -<title>Printing problems</title> - -<sect1> -<title>setdriver or cupsaddsmb failes</title> -<para> -setdriver expects the following setup: - -<simplelist> -<member>you are a printer admin, or root. this is the smb.conf printer admin group, not the Printer Operators group in NT. I've not tried the latter, but I don't believe it will work based on the current code.</member> -<member>printer admins has to be defined in [global]</member> -<member>upload the driver files to \\server\print$\w32x86 and win40 as appropriate. DON'T put them in the 0 or 2 subdirectories.</member> -<member>Make sure that the user you're connecting as is able to write to the print$ directories</member> -<member>Use adddriver (with appropriate parameters) to create the driver. note, this will not just update samba's notion of drivers, it will also move the files from the w32x86 and win40 directories to an appropriate subdirectory (based on driver version, I think, but not important enough for me to find out)</member> -<member>Use setdriver to associate the driver with a printer</member> -</simplelist> -</para> - -<para> -The setdriver call will fail if the printer doesn't already exist in -samba's view of the world. Either create the printer in cups and -restart samba, or create an add printer command (see smb.conf doco) -and use RPC calls to create a printer. NB the add printer command MUST -return a single line of text indicating which port the printer was -added on. If it doesn't, Samba won't reload the printer -definitions. Although samba doesn't really support the notion of -ports, suitable add printer command and enumport command settings can -allow you pretty good remote control of the samba printer setup. -</para> -</sect1> -</chapter> diff --git a/docs/docbook/manpages/profiles.1.sgml b/docs/docbook/manpages/profiles.1.sgml deleted file mode 100644 index 6fd2b6fd86..0000000000 --- a/docs/docbook/manpages/profiles.1.sgml +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ -<!ENTITY % globalentities SYSTEM '../global.ent'> %globalentities; -]> -<refentry id="profiles.1"> - -<refmeta> - <refentrytitle>profiles</refentrytitle> - <manvolnum>1</manvolnum> -</refmeta> - - -<refnamediv> - <refname>profiles</refname> - <refpurpose>A utility to report and change SIDs in registry files - </refpurpose> -</refnamediv> - -<refsynopsisdiv> - <cmdsynopsis> - <command>profiles</command> - <arg choice="opt">-v</arg> - <arg choice="opt">-c SID</arg> - <arg choice="opt">-n SID</arg> - <arg choice="req">file</arg> - </cmdsynopsis> -</refsynopsisdiv> - -<refsect1> - <title>DESCRIPTION</title> - - <para>This tool is part of the <citerefentry><refentrytitle>Samba</refentrytitle> - <manvolnum>7</manvolnum></citerefentry> suite.</para> - - <para><command>profiles</command> is a utility that - reports and changes SIDs in windows registry files. It currently only - supports NT. - </para> -</refsect1> - - -<refsect1> - <title>OPTIONS</title> - - <variablelist> - <varlistentry> - <term>file</term> - <listitem><para>Registry file to view or edit. </para></listitem> - </varlistentry> - - - <varlistentry> - <term>-v,--verbose</term> - <listitem><para>Increases verbosity of messages. - </para></listitem> - </varlistentry> - - <varlistentry> - <term>-c SID1 -n SID2</term> - <listitem><para>Change all occurences of SID1 in <filename>file</filename> by SID2. - </para></listitem> - </varlistentry> - - &stdarg.help; - - </variablelist> -</refsect1> - -<refsect1> - <title>VERSION</title> - - <para>This man page is correct for version 3.0 of the Samba - suite.</para> -</refsect1> - -<refsect1> - <title>AUTHOR</title> - - <para>The original Samba software and related utilities - were created by Andrew Tridgell. Samba is now developed - by the Samba Team as an Open Source project similar - to the way the Linux kernel is developed.</para> - - <para>The profiles man page was written by Jelmer Vernooij. </para> -</refsect1> - -</refentry> diff --git a/docs/docbook/smbdotconf/base/adsserver.xml b/docs/docbook/smbdotconf/base/adsserver.xml deleted file mode 100644 index 4dd2a4b635..0000000000 --- a/docs/docbook/smbdotconf/base/adsserver.xml +++ /dev/null @@ -1,15 +0,0 @@ -<samba:parameter name="ads server" - context="G" - basic="1" advanced="1" wizard="1" developer="1" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>If this option is specified, samba does not try to figure out what - ads server to use itself, but uses the specified ads server. Either one - DNS name or IP address can be used.</para> - - <para>Default: <command moreinfo="none">ads server = </command></para> - - <para>Example: <command moreinfo="none">ads server = 192.168.1.2</command></para> -</listitem> - -</samba:parameter> diff --git a/docs/docbook/smbdotconf/expand-smb.conf.xsl b/docs/docbook/smbdotconf/expand-smb.conf.xsl deleted file mode 100644 index 62fc4a9ccf..0000000000 --- a/docs/docbook/smbdotconf/expand-smb.conf.xsl +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version='1.0'?> -<!-- vim:set sts=2 shiftwidth=2 syntax=xml: --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:exsl="http://exslt.org/common" - xmlns:samba="http://samba.org/common" - version="1.1" - extension-element-prefixes="exsl"> - -<xsl:output method="xml"/> - -<!-- Generates one big XML file for smb.conf --> - -<xsl:param name="xmlSambaNsUri" select="'http://samba.org/common'"/> - -<xsl:template match="refentry"> -<xsl:text disable-output-escaping="yes"> -<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" - "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ - -<!ENTITY % globalentities SYSTEM './../global.ent'> %globalentities; -]> -</xsl:text> -<xsl:element name="refentry"> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - <xsl:apply-templates/> -</xsl:element> -</xsl:template> - -<!-- This is needed to copy content unchanged --> -<xsl:template match="@*|node()"> - <xsl:copy> - <xsl:apply-templates select="@*|node()"/> - </xsl:copy> -</xsl:template> - - -<xsl:template match="//samba:parameter"> - <!-- reconstruct varlistentry - not all of them will go into separate files - and also we must repair the main varlistentry itself. - --> - <xsl:message> - <xsl:text>Processing samba:parameter (</xsl:text> - <xsl:value-of select="@name"/> - <xsl:text>)</xsl:text> - </xsl:message> - - <xsl:variable name="name"><xsl:value-of select="translate(translate(string(@name),' ',''), - 'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> - </xsl:variable> - - <xsl:variable name="anchor"> - <xsl:element name="anchor"> - <xsl:attribute name="id"> - <xsl:value-of select="$name"/> - </xsl:attribute> - </xsl:element> - </xsl:variable> - - <xsl:variable name="context"> - <xsl:text> (</xsl:text> - <xsl:value-of select="@context"/> - <xsl:text>)</xsl:text> - </xsl:variable> - - <xsl:variable name="term"> - <xsl:element name="term"> - <xsl:copy-of select="$anchor"/> - <xsl:value-of select="@name"/> - <xsl:value-of select="$context"/> - </xsl:element> - </xsl:variable> - - <xsl:variable name="content"> - <xsl:apply-templates/> - </xsl:variable> - - <xsl:element name="varlistentry"> - <xsl:text> </xsl:text> - <xsl:copy-of select="$term"/> - <xsl:copy-of select="$content"/> - <xsl:text> -</xsl:text> - </xsl:element> - -</xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/smbdotconf/ldap/ldaptrustids.xml b/docs/docbook/smbdotconf/ldap/ldaptrustids.xml deleted file mode 100644 index 36bbcb2fb4..0000000000 --- a/docs/docbook/smbdotconf/ldap/ldaptrustids.xml +++ /dev/null @@ -1,23 +0,0 @@ -<samba:parameter name="ldap trust ids" - context="G" - advanced="1" developer="1" - xmlns:samba="http://samba.org/common"> -<listitem> - - <para>Normally, Samba validates each entry in the LDAP server - against getpwnam(). This allows LDAP to be used for Samba with - the unix system using NIS (for example) and also ensures that - Samba does not present accounts that do not otherwise exist. - </para> - - <para>This option is used to disable this functionality, and - instead to rely on the presence of the appropriate attributes - in LDAP directly, which can result in a significant performance - boost in some situations. Setting this option to yes effectivly - assumes that the local machine is running <command - moreinfo="none">nss_ldap</command> against the same LDAP - server.</para> - - <para>Default: <command moreinfo="none">ldap trust ids = No</command></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/smbdotconf/printing/totalprintjobs.xml b/docs/docbook/smbdotconf/printing/totalprintjobs.xml deleted file mode 100644 index ccdb137a69..0000000000 --- a/docs/docbook/smbdotconf/printing/totalprintjobs.xml +++ /dev/null @@ -1,22 +0,0 @@ -<samba:parameter name="total print jobs" - context="G" - print="1" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>This parameter accepts an integer value which defines - a limit on the maximum number of print jobs that will be accepted - system wide at any given time. If a print job is submitted - by a client which will exceed this number, then <citerefentry><refentrytitle>smbd</refentrytitle> - <manvolnum>8</manvolnum></citerefentry> will return an - error indicating that no space is available on the server. The - default value of 0 means that no such limit exists. This parameter - can be used to prevent a server from exceeding its capacity and is - designed as a printing throttle. See also <link linkend="MAXPRINTJOBS"> - <parameter moreinfo="none">max print jobs</parameter></link>. - </para> - - <para>Default: <command moreinfo="none">total print jobs = 0</command></para> - - <para>Example: <command moreinfo="none">total print jobs = 5000</command></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/smbdotconf/security/nonunixaccountrange.xml b/docs/docbook/smbdotconf/security/nonunixaccountrange.xml deleted file mode 100644 index 4004af2d94..0000000000 --- a/docs/docbook/smbdotconf/security/nonunixaccountrange.xml +++ /dev/null @@ -1,25 +0,0 @@ -<samba:parameter name="non unix account range" - context="G" - advanced="1" developer="1" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>The non unix account range parameter specifies - the range of 'user ids' that are allocated by the various 'non unix - account' passdb backends. These backends allow - the storage of passwords for users who don't exist in /etc/passwd. - This is most often used for machine account creation. - This range of ids should have no existing local or NIS users within - it as strange conflicts can occur otherwise.</para> - - <note> - <para>These userids never appear on the system and Samba will never - 'become' these users. They are used only to ensure that the algorithmic - RID mapping does not conflict with normal users. - </para> - </note> - - <para>Default: <command moreinfo="none">non unix account range = <empty string></command></para> - - <para>Example: <command moreinfo="none">non unix account range = 10000-20000</command></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/smbdotconf/smb.conf.5.xml b/docs/docbook/smbdotconf/smb.conf.5.xml index db8eb81c28..2a5d190f69 100644 --- a/docs/docbook/smbdotconf/smb.conf.5.xml +++ b/docs/docbook/smbdotconf/smb.conf.5.xml @@ -396,10 +396,10 @@ alias|alias|alias|alias... <listitem><para>the architecture of the remote machine. Only some are recognized, and those may not be 100% reliable. It currently recognizes Samba, WfWg, Win95, - WinNT, Win2k, WinXP, and Win2K3. Anything else will be known as + WinNT and Win2k. Anything else will be known as "UNKNOWN". If it gets it wrong then sending a level - 3 log to <ulink url="mailto:samba-technical@samba.org">samba-technical@samba.org</ulink> - should allow it to be fixed.</para></listitem> + 3 log to <ulink url="mailto:samba@samba.org">samba@samba.org + </ulink> should allow it to be fixed.</para></listitem> </varlistentry> <varlistentry> @@ -507,11 +507,9 @@ alias|alias|alias|alias... <varlistentry> <term>case sensitive = yes/no</term> - <listitem><para>controls whether filenames are case sensitive. - Windows clients <emphasis>will</emphasis> break if you enable - this parameter. It is only included for case insentive - file systems (such as VFAT) and performance testing. - Default <emphasis>no</emphasis>.</para></listitem> + <listitem><para>controls whether filenames are case sensitive. If + they aren't then Samba must do a filename search and match on passed + names. Default <emphasis>no</emphasis>.</para></listitem> </varlistentry> <varlistentry> diff --git a/docs/docbook/smbdotconf/tuning/statcachesize.xml b/docs/docbook/smbdotconf/tuning/statcachesize.xml deleted file mode 100644 index 0c8d4e0c72..0000000000 --- a/docs/docbook/smbdotconf/tuning/statcachesize.xml +++ /dev/null @@ -1,12 +0,0 @@ -<samba:parameter name="stat cache size" - context="G" - developer="1" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>This parameter determines the number of - entries in the <parameter moreinfo="none">stat cache</parameter>. You should - never need to change this parameter.</para> - - <para>Default: <command moreinfo="none">stat cache size = 50</command></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/smbdotconf/vfs/vfsoptions.xml b/docs/docbook/smbdotconf/vfs/vfsoptions.xml deleted file mode 100644 index d07ec461e2..0000000000 --- a/docs/docbook/smbdotconf/vfs/vfsoptions.xml +++ /dev/null @@ -1,12 +0,0 @@ -<samba:parameter name="vfs options" - context="S" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>This parameter allows parameters to be passed - to the vfs layer at initialization time. - See also <link linkend="VFSOBJECT"><parameter moreinfo="none"> - vfs object</parameter></link>.</para> - - <para>Default: <emphasis>no value</emphasis></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/smbdotconf/vfs/vfspath.xml b/docs/docbook/smbdotconf/vfs/vfspath.xml deleted file mode 100644 index c6718a0076..0000000000 --- a/docs/docbook/smbdotconf/vfs/vfspath.xml +++ /dev/null @@ -1,13 +0,0 @@ -<samba:parameter name="vfs path" - context="S" - xmlns:samba="http://samba.org/common"> -<listitem> - <para>This parameter specifies the directory - to look in for vfs modules. The name of every <command moreinfo="none">vfs object - </command> will be prepended by this directory.</para> - - <para>Default: <command moreinfo="none">vfs path = </command></para> - - <para>Example: <command moreinfo="none">vfs path = /usr/lib/samba/vfs</command></para> -</listitem> -</samba:parameter> diff --git a/docs/docbook/xslt/db2latex/VERSION.xml b/docs/docbook/xslt/db2latex/VERSION.xml deleted file mode 100644 index 70bbf95e88..0000000000 --- a/docs/docbook/xslt/db2latex/VERSION.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - + ############################################################################## --> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> -<xsl:variable name="VERSION">0.7.1</xsl:variable> -<xsl:variable name="LASTRELEASE">0.7</xsl:variable> -<xsl:variable name="TAG"> - <xsl:variable name="RCSTAG" select="substring-before(substring-after('$Name: $',concat('$','Name: ')),'$')"/> - <xsl:choose> - <xsl:when test="normalize-space($RCSTAG)=''">HEAD</xsl:when> - <xsl:otherwise><xsl:value-of select="$RCSTAG" /></xsl:otherwise> - </xsl:choose> -</xsl:variable> - - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/abstract.mod.xsl b/docs/docbook/xslt/db2latex/abstract.mod.xsl deleted file mode 100644 index a9bc2e02ce..0000000000 --- a/docs/docbook/xslt/db2latex/abstract.mod.xsl +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="abstract" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><firstname>Ramon</firstname> <surname>Casellas</surname></author> - <author><firstname>James</firstname> <surname>Devenish</surname></author> - </authorgroup> - <copyright> - <year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Abstract <filename>abstract.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>This file <filename>abstract.mod.xsl</filename> contains a single - XSL template for <sgmltag>abstract</sgmltag>.</para> - <itemizedlist> - <listitem><para>Calls <literal>map.begin</literal>.</para></listitem> - <listitem><para>Processes children with <sgmltag>xsl:apply-templates</sgmltag>.</para></listitem> - <listitem><para>Calls <literal>map.end</literal></para></listitem> - <listitem><para>The abstract/title template is empty.</para></listitem> - </itemizedlist> - </section> - </partintro> - </doc:reference> - - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="abstract" xmlns=""> - <refpurpose> Abstract XSL template. </refpurpose> - <refdescription> - <para>Calls template <xref linkend="map.begin"/>(<literal>map.begin</literal>), - to output the opening command (by default):</para> - <screen> - % -------------------------------------------- - % Abstract - % -------------------------------------------- - \begin{abstract} - </screen> - <para> Calls "apply-templates" for all the children, and calls template - <xref linkend="map.end"/>(<literal>map.end</literal>) to output the closing - command.</para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para> The title of the abstract is lost.</para></listitem> - <listitem><para> The template for abstract/title is defined EMPTY.</para></listitem> - </itemizedlist> - </formalpara> - - <formalpara><title>Default Behaviour</title> - <screen> - Fill - </screen> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <!-- TEMPLATE --> - <xsl:template match="abstract"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:template> - - <xsl:template match="abstract/title"/> - -</xsl:stylesheet> - - diff --git a/docs/docbook/xslt/db2latex/admonition.mod.xsl b/docs/docbook/xslt/db2latex/admonition.mod.xsl deleted file mode 100644 index 56042a610e..0000000000 --- a/docs/docbook/xslt/db2latex/admonition.mod.xsl +++ /dev/null @@ -1,222 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Admonition templates. -+ ############################################################################## --> -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference name="admonition" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><firstname>Ramon</firstname> <surname>Casellas</surname></author> - <author><firstname>James</firstname> <surname>Devenish</surname></author> - </authorgroup> - <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Admonition XSL Variables and Templates <filename>admonition.mod.xsl</filename></title> - - <partintro> - <section><title>Introduction</title> - <para>DocBook includes admonitions, which are set off from the main text.</para> - </section> - <formalpara><title>Pertinent Variables</title> - <itemizedlist> - <listitem><simpara><xref linkend="param.latex.use.fancybox"/></simpara></listitem> - <listitem><simpara><xref linkend="param.latex.admonition.path"/></simpara></listitem> - <listitem><simpara><xref linkend="param.latex.admonition.imagesize"/></simpara></listitem> - <listitem><simpara><xref linkend="param.latex.apply.title.templates.admonitions"/></simpara></listitem> - </itemizedlist> - </formalpara> - </partintro> - </doc:reference> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:param name="latex.admonition.environment" xmlns=""> - <refpurpose> - Declares a new environment to be used for admonitions - (warning, tip, important, caution, note). - </refpurpose> - <refdescription> - <para> - A LaTeX environment is emitted. That environment has two mandatory parameters. - Instances of the environment are customised for each admonition via those parameters. - Instances will be typeset as boxed areas in the document flow. - </para> - <para> - The first argument is the filename for graphics (e.g $latex.admonition.path/warning). - The second argument is the admonition title or the associated generic text. - </para> - <para> - It requires the LaTeX <link linkend="param.latex.use.fancybox">fancybox package</link>. - It also uses graphics, by default. - </para> - <example> - <title>Processing the <sgmltag class="element">warning</sgmltag> admonition</title> - <para> When processing the admonition, the following code is generated: </para> - <programlisting><![CDATA[ - \begin{admonition}{figures/warning}{My WARNING} - ... - \end{admonition}]]> - </programlisting> - </example> - </refdescription> - </doc:param> - -<!--############################################################################# --> -<xsl:variable name="latex.admonition.environment"> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>% Define a new LaTeX environment (adminipage) </xsl:text> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>\newenvironment{admminipage}% </xsl:text> -<xsl:text>{ % this code corresponds to the \begin{adminipage} command </xsl:text> -<xsl:text> \begin{Sbox}% </xsl:text> -<xsl:text> \begin{minipage}% </xsl:text> -<xsl:text>} %done </xsl:text> -<xsl:text>{ % this code corresponds to the \end{adminipage} command </xsl:text> -<xsl:text> \end{minipage} </xsl:text> -<xsl:text> \end{Sbox} </xsl:text> -<xsl:text> \fbox{\TheSbox} </xsl:text> -<xsl:text>} %done </xsl:text> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>% Define a new LaTeX length (admlength) </xsl:text> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>\newlength{\admlength} </xsl:text> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>% Define a new LaTeX environment (admonition) </xsl:text> -<xsl:text>% With 2 parameters: </xsl:text> -<xsl:text>% #1 The file (e.g. note.pdf) </xsl:text> -<xsl:text>% #2 The caption </xsl:text> -<xsl:text>% ---------------------------------------------- </xsl:text> -<xsl:text>\newenvironment{admonition}[2] </xsl:text> -<xsl:text>{ % this code corresponds to the \begin{admonition} command </xsl:text> -<xsl:text> \hspace{0mm}\newline\hspace*\fill\newline </xsl:text> -<xsl:text> \noindent </xsl:text> -<xsl:text> \setlength{\fboxsep}{5pt} </xsl:text> -<xsl:text> \setlength{\admlength}{\linewidth} </xsl:text> -<xsl:text> \addtolength{\admlength}{-10\fboxsep} </xsl:text> -<xsl:text> \addtolength{\admlength}{-10\fboxrule} </xsl:text> -<xsl:text> \admminipage{\admlength} </xsl:text> -<xsl:text> {\bfseries \sc\large{#2}}</xsl:text> -<xsl:text> \newline </xsl:text> -<xsl:text> \\[1mm] </xsl:text> -<xsl:text> \sffamily </xsl:text> -<!-- -If we cannot find the latex.admonition.path; -Comment out the next line (\includegraphics). -This tactic is to avoid deleting the \includegraphics -altogether, as that could confuse a person trying to -find the use of parameter #1 in the environment. ---> -<xsl:if test="$latex.admonition.path=''"> - <xsl:text>%</xsl:text> -</xsl:if> -<xsl:text> \includegraphics[</xsl:text> <xsl:value-of select="$latex.admonition.imagesize" /> <xsl:text>]{#1} </xsl:text> -<xsl:text> \addtolength{\admlength}{-1cm} </xsl:text> -<xsl:text> \addtolength{\admlength}{-20pt} </xsl:text> -<xsl:text> \begin{minipage}[lt]{\admlength} </xsl:text> -<xsl:text> \parskip=0.5\baselineskip \advance\parskip by 0pt plus 2pt </xsl:text> -<xsl:text>} %done </xsl:text> -<xsl:text>{ % this code corresponds to the \end{admonition} command </xsl:text> -<xsl:text> \vspace{5mm} </xsl:text> -<xsl:text> \end{minipage} </xsl:text> -<xsl:text> \endadmminipage </xsl:text> -<xsl:text> \vspace{.5em} </xsl:text> -<xsl:text> \par </xsl:text> -<xsl:text>} </xsl:text> -</xsl:variable> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template name="admon.graphic" xmlns=""> - <refpurpose> Choose an admonition graphic </refpurpose> - <refdescription> - <para> For each admonition element (note, warning, caution, top, important), - this template chooses the graphics filename. If the admonition element is - not known, the <sgmltag class="element">note</sgmltag> graphic is used. - </para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template name="admon.graphic"> - <xsl:param name="node" select="."/> - <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:template> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template name="admonitions" match="note|important|warning|caution|tip" xmlns=""> - <refpurpose> XSL Template for admonitions </refpurpose> - <refdescription> - <para> Uses the <xref linkend="param.latex.admonition.environment"/>. - </para> - <note><para>An admonition will look something like this.</para></note> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem> - <para> - There can be <quote>excessive</quote> whitespace between - the bottom of the admonition area and a subsequent paragraph. - </para> - </listitem> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="note|important|warning|caution|tip"> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword">admonition</xsl:with-param> - <xsl:with-param name="string"> - <xsl:text>{</xsl:text> - <xsl:value-of select="$latex.admonition.path"/><xsl:text>/</xsl:text> - <xsl:call-template name="admon.graphic"/> - <xsl:text>}{</xsl:text> - <xsl:choose> - <xsl:when test="title and $latex.apply.title.templates.admonitions='1'"> - <xsl:call-template name="extract.object.title"> - <xsl:with-param name="object" select="."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext.element.name"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - </xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - <xsl:call-template name="map.end"> - <xsl:with-param name="keyword">admonition</xsl:with-param> - </xsl:call-template> - </xsl:template> - - <!-- Empty title template --> - <xsl:template match="note/title|important/title|warning/title|caution/title|tip/title"/> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/authorgroup.mod.xsl b/docs/docbook/xslt/db2latex/authorgroup.mod.xsl deleted file mode 100644 index 6ec7460def..0000000000 --- a/docs/docbook/xslt/db2latex/authorgroup.mod.xsl +++ /dev/null @@ -1,78 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Manage Authorgroups -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="authorgroup" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><firstname>Ramon</firstname> <surname>Casellas</surname></author> - <author><firstname>James</firstname> <surname>Devenish</surname></author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Authorgroup <filename>authorgroup.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <formalpara><title>Pertinent Variables</title> - <itemizedlist> - <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem> - </itemizedlist> - </formalpara> - </section> - </partintro> - </doc:reference> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="authorgroup" xmlns=""> - <refpurpose> Authorgroup XSL template. </refpurpose> - <refdescription> - </refdescription> - </doc:template> - - <xsl:template match="authorgroup"> - <xsl:for-each select="author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:template> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="authorinitials" xmlns=""> - <refpurpose> AuthorInitials XSL template. </refpurpose> - <refdescription> - </refdescription> - </doc:template> - - <xsl:template match="authorinitials"> - <xsl:apply-templates/> - <xsl:value-of select="$biblioentry.item.separator"/> - </xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/biblio.mod.xsl b/docs/docbook/xslt/db2latex/biblio.mod.xsl deleted file mode 100644 index 9524015b1e..0000000000 --- a/docs/docbook/xslt/db2latex/biblio.mod.xsl +++ /dev/null @@ -1,605 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Manage Bibliography. -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="biblio" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Bibliography related XSL Variables and Templates <filename>biblio.mod.xsl</filename></title> - - <partintro> - <section><title>Introduction</title> - <para>This reference describes the templates and parameters relevant - to formatting DocBook bibliography markup.</para> - </section> - <section><title>All Vs. Cited mode</title> - <para> Using this option, only the biblioentries that have been - cited somewhere in the document are output. Otherwise (in All mode) - all bibentries found are output (as the HTML stylesheets do).</para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - <!--############################################################################# - | BIBLIOGRAPHY - |- ############################################################################# - | - | - | - + ############################################################################## --> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="bibliography" xmlns=""> - <refpurpose> bibliography XSL template </refpurpose> - <refdescription> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="bibliography"> - <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY</xsl:message> - <xsl:message>DB2LaTeX: Output Mode : <xsl:value-of select="$latex.biblio.output"/></xsl:message> - <xsl:text>% ------------------------------------------- </xsl:text> - <xsl:text>% </xsl:text> - <xsl:text>% Bibliography </xsl:text> - <xsl:text>% </xsl:text> - <xsl:text>% ------------------------------------------- </xsl:text> - <xsl:text>\bibliography{</xsl:text><xsl:value-of select="$latex.bibfiles"/><xsl:text>} </xsl:text> - <xsl:if test="biblioentry or bibliodiv"> - <xsl:text>\begin{thebibliography}{</xsl:text> - <xsl:value-of select="$latex.bibwidelabel"/> - <xsl:text>} </xsl:text> - <xsl:choose> - <xsl:when test="$latex.biblio.output ='cited'"> - <xsl:apply-templates select="biblioentry" mode="bibliography.cited"> - <xsl:sort select="./abbrev"/> - <xsl:sort select="./@xreflabel"/> - <xsl:sort select="./@id"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="$latex.biblio.output ='all'"> - <xsl:apply-templates select="biblioentry" mode="bibliography.all"> - <xsl:sort select="./abbrev"/> - <xsl:sort select="./@xreflabel"/> - <xsl:sort select="./@id"/> - </xsl:apply-templates> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="biblioentry"> - <xsl:sort select="./abbrev"/> - <xsl:sort select="./@xreflabel"/> - <xsl:sort select="./@id"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - <!-- <xsl:apply-templates select="child::*[name(.)!='biblioentry']"/> --> - <xsl:apply-templates select="bibliodiv"/> - <xsl:text> \end{thebibliography} </xsl:text> - </xsl:if> - </xsl:template> - - <xsl:template match="bibliography/title"/> - <xsl:template match="bibliography/subtitle"/> - <xsl:template match="bibliography/titleabbrev"/> - - - - <!--############################################################################# - | BIBLIODIV - |- ############################################################################# - | - | - | - + ############################################################################## --> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="bibliodiv" xmlns=""> - <refpurpose> bibliography XSL template </refpurpose> - <refdescription> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="bibliodiv"> - <xsl:message>DB2LaTeX: Processing BIBLIOGRAPHY - BIBLIODIV</xsl:message> - <!-- - <xsl:call-template name="label.id"/> - <xsl:text> </xsl:text> - <xsl:text>\vspace{1cm}</xsl:text> - <xsl:text>\noindent{\Large {\sc </xsl:text><xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> </xsl:call-template> - <xsl:text>}}\\ </xsl:text> - --> - <xsl:choose> - <xsl:when test="$latex.biblio.output ='cited'"> - <xsl:apply-templates select="biblioentry" mode="bibliography.cited"> - <xsl:sort select="./abbrev"/> - <xsl:sort select="./@xreflabel"/> - <xsl:sort select="./@id"/> - </xsl:apply-templates> - </xsl:when> - <xsl:when test="$latex.biblio.output ='all'"> - <xsl:apply-templates select="biblioentry"> - <xsl:sort select="./abbrev"/> - <xsl:sort select="./@xreflabel"/> - <xsl:sort select="./@id"/> - </xsl:apply-templates> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="bibliodiv/title"/> - - - - <!--############################################################################# - | BIBLIOENTRY - - ############################################################################# - | - | - | - + ############################################################################## --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="biblioentry" mode="bibliography.cited" xmlns=""> - <refpurpose> bibliography XSL template </refpurpose> - <refdescription> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="biblioentry" mode="bibliography.cited"> - <xsl:param name="bibid" select="@id"/> - <xsl:param name="ab" select="abbrev"/> - <xsl:variable name="nx" select="//xref[@linkend=$bibid]"/> - <xsl:variable name="nc" select="//citation[text()=$ab]"/> - <xsl:if test="count($nx) > 0 or count($nc) > 0"> - <xsl:call-template name="biblioentry.output"/> - </xsl:if> - </xsl:template> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="biblioentry" mode="bibliography.all" xmlns=""> - <refpurpose> bibliography XSL template </refpurpose> - <refdescription> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="biblioentry" mode="bibliography.all"> - <xsl:call-template name="biblioentry.output"/> - </xsl:template> - - <xsl:template match="biblioentry"> - <xsl:call-template name="biblioentry.output"/> - </xsl:template> - - <xsl:template name="biblioentry.output"> - <xsl:variable name="biblioentry.label"> - <xsl:choose> - <xsl:when test="@xreflabel"> - <xsl:value-of select="normalize-space(@xreflabel)"/> - </xsl:when> - <xsl:when test="abbrev"> - <xsl:apply-templates select="abbrev" mode="bibliography.mode"/> - </xsl:when> - <xsl:when test="@id"> - <xsl:value-of select="normalize-space(@id)"/> - </xsl:when> - <xsl:otherwise> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="biblioentry.id"> - <xsl:choose> - <xsl:when test="abbrev"> - <xsl:apply-templates select="abbrev" mode="bibliography.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.label.id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text> </xsl:text> - <xsl:text>% -------------- biblioentry </xsl:text> - <xsl:choose> - <xsl:when test="$biblioentry.label=''"> - <xsl:text>\bibitem</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\bibitem[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="$biblioentry.label"/> - </xsl:call-template> - <xsl:text>]</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>{</xsl:text> - <xsl:value-of select="$biblioentry.id"/> - <xsl:text>}\docbooktolatexbibaux{</xsl:text> - <xsl:call-template name="generate.label.id"/> - <xsl:text>}{</xsl:text> - <xsl:value-of select="$biblioentry.id"/> - <xsl:text>} \hypertarget{</xsl:text> - <xsl:call-template name="generate.label.id"/> - <xsl:text>}{\emph{</xsl:text> <xsl:apply-templates select="title" mode="bibliography.mode"/> <xsl:text>}}</xsl:text> - <xsl:value-of select="$biblioentry.item.separator"/> - <xsl:apply-templates select="author|authorgroup" mode="bibliography.mode"/> - <xsl:for-each select="child::copyright|child::publisher|child::pubdate|child::pagenums|child::isbn|child::editor|child::releaseinfo"> - <xsl:value-of select="$biblioentry.item.separator"/> - <xsl:apply-templates select="." mode="bibliography.mode"/> - </xsl:for-each> - <xsl:text>.</xsl:text> - <xsl:text> </xsl:text> - </xsl:template> - - <!-- EMPTY templates --> - <xsl:template match="abstract" mode="bibliography.mode"/> - <xsl:template match="authorblurb" mode="bibliography.mode"/> - - - - <xsl:template match="abbrev" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="address" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="affiliation" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="shortaffil" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="jobtitle" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="artheader" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="artpagenums" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="author" mode="bibliography.mode"> - <xsl:variable name="authorsstring"> - <xsl:call-template name="person.name"/> - </xsl:variable> - <xsl:value-of select="normalize-space($authorsstring)"/> - </xsl:template> - - - - <xsl:template match="author[position()=last()]" mode="bibliography.mode"> - <xsl:variable name="authorsstring"> - <xsl:call-template name="person.name"/> - </xsl:variable> - <xsl:value-of select="normalize-space($authorsstring)"/> - </xsl:template> - - - <!-- - Authorgroup - calls person.name.list in ../common/common.xsl in order to get a - formatted string. We need to return to "normalized-space(.) of it - --> - - <xsl:template match="authorgroup" mode="bibliography.mode"> - <xsl:variable name="authorsstring"> - <xsl:call-template name="person.name.list"/> - </xsl:variable> - <xsl:value-of select="normalize-space($authorsstring)"/> - </xsl:template> - - <xsl:template match="authorinitials" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="bibliomisc" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="bibliomset" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="bibliomixed" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - - - - - - - <xsl:template match="biblioset" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </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'"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">ldquo</xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">rdquo</xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="bookbiblio" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="citetitle" mode="bibliography.mode"> - <I><xsl:apply-templates mode="bibliography.mode"/></I> - </xsl:template> - - <xsl:template match="collab" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="collabname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="confgroup" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="confdates" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="conftitle" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="confnum" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="confsponsor" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="contractnum" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="contractsponsor" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="contrib" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="copyright" mode="bibliography.mode"> - <xsl:call-template name="gentext.element.name"/> - <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:call-template name="gentext.space"/> - <xsl:apply-templates select="holder" mode="bibliography.mode"/> - </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"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="corpname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="date" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="edition" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="editor" mode="bibliography.mode"> - <xsl:call-template name="person.name"/> - </xsl:template> - - <xsl:template match="firstname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="honorific" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="indexterm" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="invpartnumber" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="isbn" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="issn" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="issuenum" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="lineage" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="orgname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="orgdiv" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="othercredit" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="othername" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="pagenums" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="printhistory" mode="bibliography.mode"> - <!-- suppressed --> - </xsl:template> - - <xsl:template match="productname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="productnumber" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="pubdate" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="publisher" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="publishername" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="pubsnumber" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="releaseinfo" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="revhistory" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="seriesinfo" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="seriesvolnums" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="subtitle" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="surname" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="title" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="titleabbrev" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="volumenum" mode="bibliography.mode"> - <xsl:apply-templates mode="bibliography.mode"/> - </xsl:template> - - <xsl:template match="*" mode="bibliography.mode"> - <xsl:apply-templates select="."/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/block.mod.xsl b/docs/docbook/xslt/db2latex/block.mod.xsl deleted file mode 100644 index 49aba64ca2..0000000000 --- a/docs/docbook/xslt/db2latex/block.mod.xsl +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="block" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><firstname>Ramon</firstname> <surname>Casellas</surname></author> - <author><firstname>James</firstname> <surname>Devenish</surname></author> - </authorgroup> - <copyright> - <year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Block Objects <filename>block.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>Sundry block-formatted objects.</para> - </section> - </partintro> - </doc:reference> - - - - <doc:template name="block.object" xmlns=""> - <refpurpose> - Generic handler for block-formatted objects. - </refpurpose> - <refdescription> - <para> - Calls <xref linkend="template.label.id"/> and then applies templates. - </para> - </refdescription> - </doc:template> - - <xsl:template name="block.object"> - <xsl:call-template name="label.id"/> - <xsl:apply-templates/> - </xsl:template> - - <doc:template match="blockquote" xmlns=""> - <refpurpose> - A quotation set off from the main text (not inline). - </refpurpose> - <refdescription> - <para> - Uses the LaTeX <literal>quote</literal> environment. - If an attribution is present, it will be set at the end. - </para> - </refdescription> - </doc:template> - - <xsl:template match="blockquote"> - <xsl:text>\begin{quote}</xsl:text> - <xsl:apply-templates/> - <xsl:apply-templates select="attribution" mode="block.attribution"/> - <xsl:text>\end{quote} </xsl:text> - </xsl:template> - - <doc:template match="epigraph" xmlns=""> - <refpurpose> - A short inscription that occurs at the beginning of a section, chapter, or document. - </refpurpose> - <refdescription> - <para> - Uses the LaTeX <literal>quote</literal> environment. - If an attribution is present, it will be set at the end. - </para> - </refdescription> - </doc:template> - - <xsl:template match="epigraph"> - <xsl:text>\begin{quote}</xsl:text> - <xsl:apply-templates/> - <xsl:apply-templates select="attribution" mode="block.attribution"/> - <xsl:text>\end{quote} </xsl:text> - </xsl:template> - - <doc:template match="attribution" xmlns=""> - <refpurpose> - This template produces no output. - </refpurpose> - <refdescription> - <para> - The <sgmltag class="element">attribution</sgmltag> element only occurs within - <xref linkend="template.blockquote"/> and <xref linkend="template.epigraph"/>. - However, the templates for those elements use a <quote>mode</quote> mechanism. - Therefore, this template is intentionally suppressed and a replacement exists. - See <xref linkend="template.attribution-block.attribution"/> instead. - </para> - </refdescription> - </doc:template> - - <xsl:template match="attribution"/> - - <doc:template match="attribution" mode="block.attribution" xmlns=""> - <refpurpose> - The source of a block quote or epigraph. - </refpurpose> - <refdescription> - <para> - Starts a new line with right-aligned text preceded by an em dash. - </para> - </refdescription> - </doc:template> - - <xsl:template match="attribution" mode="block.attribution"> - <xsl:text> \hspace*\fill---</xsl:text> - <xsl:apply-templates/> - </xsl:template> - - <doc:template match="sidebar" xmlns=""> - <refpurpose> - A block of text that is isolated from the main flow. - </refpurpose> - <refdescription> - <para> - This is formatted as a plain block. - </para> - </refdescription> - </doc:template> - - <xsl:template match="sidebar"> - <xsl:call-template name="block.object"/> - </xsl:template> - - <doc:template match="sidebar/title|blockquote/title" xmlns=""> - <refpurpose> - Title lines for sundry block elements. - </refpurpose> - <refdescription> - <para> - This is formatted as a line on its own. - </para> - </refdescription> - </doc:template> - - <xsl:template match="sidebar/title|blockquote/title"> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - <doc:template match="ackno" xmlns=""> - <refpurpose> - Acknowledgements in an Article. - </refpurpose> - <refdescription> - <para> - This is formatted as a plain block. - </para> - </refdescription> - </doc:template> - - <xsl:template match="ackno"> - <xsl:apply-templates/> - </xsl:template> - - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/book-article.mod.xsl b/docs/docbook/xslt/db2latex/book-article.mod.xsl deleted file mode 100644 index 042ec556aa..0000000000 --- a/docs/docbook/xslt/db2latex/book-article.mod.xsl +++ /dev/null @@ -1,540 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -| This template matches a book / article -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="book-article" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Books and Articles <filename>book-article.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="book" xmlns=""> - <refpurpose>Book XSL Template</refpurpose> - <refdescription> - <para> Most DocBook documents are either articles or books, so the book - XSL template <xref linkend="template.book"/> is one classical entry point - when processign docbook documents.</para> - - <formalpara><title>Tasks</title> - <itemizedlist> - <listitem><para></para></listitem> - </itemizedlist> - </formalpara> - - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - <refparameter> - <variablelist> - <varlistentry> - <term>colwidth</term> - <listitem> - <para>The CALS column width specification.</para> - </listitem> - </varlistentry> - </variablelist> - </refparameter> - <refreturn> - :<para>Outputs the LaTeX Code corresponding to a book.</para> - </refreturn> - </doc:template> - - - - - <!--############################################################################# --> - <!-- XSL TEMPLATE book --> - <!-- --> - <!-- Main entry point for a DocBook "book" --> - <!--############################################################################# --> - <xsl:template match="book"> - <!-- book:1: generate.latex.book.preamble --> - <xsl:call-template name="generate.latex.book.preamble"/> - <!-- book:2: output title information --> - <xsl:text>\title{</xsl:text> - <xsl:choose> - <xsl:when test="./title"> - <xsl:apply-templates select="title" mode="maketitle.mode"/> - <xsl:apply-templates select="subtitle" mode="maketitle.mode"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="bookinfo/title" mode="maketitle.mode"/> - <xsl:apply-templates select="bookinfo/subtitle" mode="maketitle.mode"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <!-- book:3: output author information --> - <xsl:text>\author{</xsl:text> - <xsl:choose> - <xsl:when test="bookinfo/authorgroup"> - <xsl:apply-templates select="bookinfo/authorgroup"/> - </xsl:when> - <xsl:otherwise> - <xsl:for-each select="bookinfo/author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <!-- book:4: dump any preamble after author --> - <xsl:value-of select="$latex.book.afterauthor"/> - <!-- book:5: set some counters --> - <xsl:text> \setcounter{tocdepth}{</xsl:text><xsl:value-of select="$toc.section.depth"/><xsl:text>} </xsl:text> - <xsl:text> \setcounter{secnumdepth}{</xsl:text><xsl:value-of select="$section.depth"/><xsl:text>} </xsl:text> - <!-- book:6: dump the begin document command --> - <xsl:value-of select="$latex.book.begindocument"/> - - <!-- book:7: include external Cover page if specified --> - <xsl:if test="$latex.titlepage.file != ''"> - <xsl:text> \InputIfFileExists{</xsl:text><xsl:value-of select="$latex.titlepage.file"/> - <xsl:text>}{\typeout{WARNING: Using cover page</xsl:text> - <xsl:value-of select="$latex.titlepage.file"/> - <xsl:text>}}</xsl:text> - </xsl:if> - - <!-- book:7b: maketitle and set up pagestyle --> - <xsl:value-of select="$latex.maketitle"/> - <!-- book:8: - APPLY TEMPLATES --> - <xsl:apply-templates/> - <!-- book:9: call map.end --> - <xsl:call-template name="map.end"/> - </xsl:template> - - - <!-- Titles/subtitles --> - <!-- Empty templates --> - - <xsl:template match="book/title"/> - <xsl:template match="book/subtitle"/> - <xsl:template match="book/titleabbrev"/> - <xsl:template match="book/bookinfo/title"/> - <xsl:template match="book/bookinfo/subtitle"/> - <xsl:template match="book/bookinfo/titleabbrev"/> - - <xsl:template match="book/title" mode="maketitle.mode">\bfseries <xsl:apply-templates /></xsl:template> - <xsl:template match="book/subtitle" mode="maketitle.mode">\\[12pt]\normalsize <xsl:apply-templates /></xsl:template> - <xsl:template match="book/bookinfo/title" mode="maketitle.mode">\bfseries <xsl:apply-templates /></xsl:template> - <xsl:template match="book/bookinfo/subtitle" mode="maketitle.mode">\\[12pt]\normalsize <xsl:apply-templates /></xsl:template> - - <xsl:template match="book/bookinfo"> - <xsl:apply-templates select="revhistory" /> - <xsl:apply-templates select="abstract" /> - <xsl:apply-templates select="keywordset" /> - <xsl:apply-templates select="copyright" /> - <xsl:apply-templates select="legalnotice" /> - </xsl:template> - - - - <!--############################################################################# - | Template : article - + ############################################################################# --> - - <!-- DOCUMENTATION --> - <doc:template match="article" xmlns=""> - <refpurpose>Article XSL Template</refpurpose> - <refdescription> - <para> Most DocBook documents are either articles or books, so the article - XSL template <xref linkend="template.article"/> is one classical entry point - when processign docbook documents.</para> - - <formalpara><title>Tasks</title> - <itemizedlist> - <listitem><para>Calls <literal>generate.latex.article.preamble</literal>.</para></listitem> - <listitem><para>Outputs \title, \author, \date, getting the information from its children.</para></listitem> - <listitem><para>Calls <literal>latex.article.begindocument</literal>.</para></listitem> - <listitem><para>Calls <literal>latex.article.maketitle.</literal></para></listitem> - <listitem><para>Applies templates.</para></listitem> - <listitem><para>Calls <literal>latex.article.end</literal> template.</para></listitem> - </itemizedlist> - </formalpara> - - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para> EMPTY templates: article/title and article/subtitle</para></listitem> - </itemizedlist> - </formalpara> - </refdescription> - <refparameter> - <variablelist> - <varlistentry> - <term>colwidth</term> - <listitem> - <para>The CALS column width specification.</para> - </listitem> - </varlistentry> - </variablelist> - </refparameter> - <refreturn> - <para>Outputs the LaTeX Code corresponding to an article.</para> - </refreturn> - </doc:template> - <!--############################################################################# --> - - - <xsl:template match="book/article"> - <xsl:text> \makeatletter\if@openright\cleardoublepage\else\clearpage\fi</xsl:text> - <xsl:call-template name="generate.latex.pagestyle"/> - <xsl:text>\makeatother </xsl:text> - <!-- Get and output article title --> - <xsl:variable name="article.title"> - <xsl:choose> - <xsl:when test="./title"> - <xsl:apply-templates select="./title"/> - </xsl:when> - <xsl:when test="./articleinfo/title"> - <xsl:apply-templates select="./articleinfo/title"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="./artheader/title"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\begin{center}{</xsl:text> - <xsl:value-of select="$latex.book.article.title.style"/> - <xsl:text>{</xsl:text> - <xsl:value-of select="$article.title"/> - <xsl:text>}}\par </xsl:text> - <!-- Display author information --> - <xsl:choose> - <xsl:when test="artheader/author"> - <xsl:text>\textsf{</xsl:text> - <xsl:for-each select="artheader/author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - <xsl:text>}\par </xsl:text> - </xsl:when> - <xsl:when test="artheader/authorgroup"> - <xsl:text>\textsf{</xsl:text> - <xsl:apply-templates select="artheader/authorgroup"/> - <xsl:text>}\par </xsl:text> - </xsl:when> - <xsl:when test="articleinfo/author"> - <xsl:text>\textsf{</xsl:text> - <xsl:for-each select="articleinfo/author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - <xsl:text>}\par </xsl:text> - </xsl:when> - <xsl:when test="articleinfo/authorgroup"> - <xsl:text>\textsf{</xsl:text> - <xsl:apply-templates select="articleinfo/authorgroup"/> - <xsl:text>}\par </xsl:text> - </xsl:when> - <xsl:when test="author"> - <xsl:text>\textsf{</xsl:text> - <xsl:for-each select="author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - <xsl:text>}\par </xsl:text> - </xsl:when> - </xsl:choose> - <xsl:apply-templates select="artheader|articleinfo" mode="article.within.book"/> - <xsl:text>\end{center} </xsl:text> - <xsl:apply-templates select="*[not(self::title)]"/> - </xsl:template> - - <xsl:template match="artheader|articleinfo" mode="article.within.book"> - <xsl:value-of select="."/> - </xsl:template> - - - - <!-- ARTICLE TEMPLATE --> - <xsl:template match="article"> - <!-- Output LaTeX preamble --> - <xsl:call-template name="generate.latex.article.preamble"/> - <!-- Get and output article title --> - <xsl:variable name="article.title"> - <xsl:choose> - <xsl:when test="./title"> - <xsl:apply-templates select="./title"/> - </xsl:when> - <xsl:when test="./articleinfo/title"> - <xsl:apply-templates select="./articleinfo/title"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="./artheader/title"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>\title{</xsl:text> - <xsl:value-of select="$latex.article.title.style"/> - <xsl:text>{</xsl:text> - <xsl:value-of select="$article.title"/> - <xsl:text>}} </xsl:text> - <!-- Display date and author information --> - <xsl:variable name="article.date"> - <xsl:apply-templates select="./artheader/date|./articleinfo/date"/> - </xsl:variable> - <xsl:if test="$article.date!=''"> - <xsl:text>\date{</xsl:text> - <xsl:value-of select="$article.date"/> - <xsl:text>} </xsl:text> - </xsl:if> - <xsl:text>\author{</xsl:text> - <xsl:choose> - <xsl:when test="artheader/authorgroup"> - <xsl:apply-templates select="artheader/authorgroup"/> - </xsl:when> - <xsl:when test="articleinfo/authorgroup"> - <xsl:apply-templates select="articleinfo/authorgroup"/> - </xsl:when> - <xsl:when test="artheader/author"> - <xsl:for-each select="artheader/author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:when> - <xsl:when test="articleinfo/author"> - <xsl:for-each select="articleinfo/author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:when> - <xsl:otherwise> - <xsl:for-each select="author"> - <xsl:apply-templates select="."/> - <xsl:if test="not(position()=last())"> - <xsl:text> \and </xsl:text> - </xsl:if> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <!-- Display begindocument command --> - <xsl:value-of select="$latex.article.begindocument"/> - <xsl:value-of select="$latex.maketitle"/> - <xsl:apply-templates select="*[not(self::title)]"/> - <xsl:value-of select="$latex.article.end"/> - </xsl:template> - - - <xsl:template match="article/title|articleinfo/title|articleinfo/date|artheader/date"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="article/artheader|article/articleinfo"> - <xsl:apply-templates select="legalnotice" /> - <xsl:apply-templates select="abstract"/> - </xsl:template> - - <!-- EMPTY TEMPLATES --> - <xsl:template match="article/subtitle"/> - - - - - <!--############################################################################# - | Template: copyright - |- ############################################################################# --> - <xsl:template match="copyright"> - <xsl:call-template name="gentext.element.name"/> - <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"/> - <xsl:call-template name='gentext.space'/> - <xsl:apply-templates select="holder"/> - </xsl:template> - - <xsl:template match="copyright/holder"> - <xsl:apply-templates /> - </xsl:template> - <xsl:template match="copyright/year[position()<last()-1]"> - <xsl:apply-templates /> - <xsl:text>, </xsl:text> - </xsl:template> - - <!-- RCAS 2003/03/11 FIXME : "and" --> - <xsl:template match="copyright/year[position()=last()-1]"> - <xsl:apply-templates /> - <xsl:text>, </xsl:text> - </xsl:template> - - <xsl:template match="copyright/year[position()=last()]"> - <xsl:apply-templates /> - </xsl:template> - - - - - <!--############################################################################# - | Template: name legalnotice.caption - |- ############################################################################# --> - <xsl:template name="legalnotice.caption"> - <xsl:choose> - <xsl:when test="./title"> - <xsl:apply-templates select="./title"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">legalnotice</xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - <!--############################################################################# - | Template: legalnotice - |- ############################################################################# --> -<xsl:template match="legalnotice"> - <!-- Support for legalnotice. --> - <xsl:text>\vspace{-.3em} </xsl:text> - <xsl:text>\if@twocolumn </xsl:text> - <xsl:text>\noindent\small{\itshape </xsl:text> - <xsl:call-template name="legalnotice.caption"/> - <xsl:text>}\/\bfseries---$\!$% </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\noindent\begin{center}\small\bfseries </xsl:text> - <xsl:call-template name="legalnotice.caption"/> - <xsl:text>\end{center}\quotation\small </xsl:text> - <xsl:text>\fi </xsl:text> - <xsl:apply-templates select="*[not(self::title)]"/> - <xsl:text>\vspace{0.6em}\par\if@twocolumn\else\endquotation\fi </xsl:text> - <xsl:text>\normalsize\rmfamily </xsl:text> -</xsl:template> - - - <xsl:template match="legalnotice/title"> - <xsl:apply-templates/> - </xsl:template> - - - - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: Table of Contents, Figures, ... - + ############################################################################## --> - - <xsl:template match="toc"> - <xsl:text> </xsl:text> - <xsl:text>\tableofcontents </xsl:text> - </xsl:template> - - <xsl:template match="lot"> - <xsl:choose> - <xsl:when test="@label"> - <xsl:choose> - <xsl:when test="@label='figures'"> - <xsl:text>\listoffigures </xsl:text> - </xsl:when> - <xsl:when test="@label='tables'"> - <xsl:text>\listoftables </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\listoffigures </xsl:text> - <xsl:text>\listoftables </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>\listoffigures </xsl:text> - <xsl:text>\listoftables </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - <xsl:template match="lotentry"> - </xsl:template> - - <xsl:template match="lotentry"/> - <xsl:template match="tocpart|tocchap|tocfront|tocback|tocentry"/> - <xsl:template match="toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/> - - <doc:template name="generate.latex.pagestyle" xmlns=""> - <refpurpose> Choose the preferred page style for document body </refpurpose> - <refdescription> - <para> - If no page style is preferred by the user, the defaults will be - "empty" for articles, "plain" for books, or "fancy" (if the - fancyhdr packages is permitted). - </para> - <formalpara><title>Pertinent Variables</title> - <itemizedlist> - <listitem><simpara><xref linkend="param.pagestyle"/></simpara></listitem> - <listitem><simpara><xref linkend="param.use.fancyhdr"/></simpara></listitem> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <xsl:template name="generate.latex.pagestyle"> - <xsl:text>\pagestyle{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.pagestyle!=''"><xsl:value-of select="$latex.pagestyle"/></xsl:when> - <xsl:when test="count(//book)>0"> - <xsl:choose> - <xsl:when test="$latex.use.fancyhdr=1"><xsl:text>fancy</xsl:text></xsl:when> - <xsl:otherwise><xsl:text>plain</xsl:text></xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise><xsl:text>empty</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - </xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/bridgehead.mod.xsl b/docs/docbook/xslt/db2latex/bridgehead.mod.xsl deleted file mode 100644 index a09ca15dda..0000000000 --- a/docs/docbook/xslt/db2latex/bridgehead.mod.xsl +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="bridgehead" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><firstname>Ramon</firstname> <surname>Casellas</surname></author> - <author><firstname>James</firstname> <surname>Devenish</surname></author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>BridgeHead <filename>bridgehead.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>Handle the <sgmltag class="element">bridgehead</sgmltag> element.</para> - </section> - </partintro> - </doc:reference> - - - <doc:template match="bridgehead" xmlns=""> - <refpurpose> - A free-floating heading. - </refpurpose> - <refdescription> - <para> - Renders un-numbered section headings. - For <literal>renderas</literal> values of sect1, sect2, and sect3, LaTeX <quote>star</quote> commands (such as <literal>\section*</literal>) are used. - Otherwise, a bold heading is put on a line of its own. - </para> - </refdescription> - </doc:template> - - <xsl:template match="bridgehead"> - <xsl:choose> - <xsl:when test="@renderas='sect1' or @renderas='sect2' or @renderas='sect3'"> - <xsl:text> \</xsl:text> - <xsl:if test="@renderas='sect2'"><xsl:text>sub</xsl:text></xsl:if> - <xsl:if test="@renderas='sect3'"><xsl:text>subsub</xsl:text></xsl:if> - <xsl:text>section*{</xsl:text> - <xsl:apply-templates/> - <xsl:text>}</xsl:text> - <xsl:call-template name="label.id"/> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> </xsl:text> - <xsl:text> \noindent{\bfseries </xsl:text><xsl:apply-templates/><xsl:text>} \\ </xsl:text> - <xsl:call-template name="label.id"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/callout.mod.xsl b/docs/docbook/xslt/db2latex/callout.mod.xsl deleted file mode 100644 index ab67cf8e23..0000000000 --- a/docs/docbook/xslt/db2latex/callout.mod.xsl +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="callout" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Callout <filename>callout.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template match="programlistingco|screenco"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="areaspec|areaset|area"> - </xsl:template> - - <xsl:template match="co"> - <xsl:apply-templates select="." mode="callout-bug"/> - </xsl:template> - - <xsl:template match="co" mode="callout-bug"> - <xsl:variable name="conum"> - <xsl:number count="co" format="1"/> - </xsl:variable> - - <xsl:text>(</xsl:text> - <xsl:value-of select="$conum"/> - <xsl:text>)</xsl:text> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/citation.mod.xsl b/docs/docbook/xslt/db2latex/citation.mod.xsl deleted file mode 100644 index 46c69af0eb..0000000000 --- a/docs/docbook/xslt/db2latex/citation.mod.xsl +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="citation" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Citation <filename>citation.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>This file contais a single (and simple!) XSL template, that maps the - <sgmltag>citation</sgmltag> SGML tag to the LaTeX <literal>\cite{}</literal> - command.</para> - </section> - </partintro> - </doc:reference> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="citation" xmlns=""> - <refpurpose> Citation XSL template. </refpurpose> - <refdescription> - <para> Outputs a simple <literal>\cite{ }</literal> Command, - containing the result of processing the citation's children - </para> - </refdescription> - </doc:template> - - - - <xsl:template match="citation"> - <!-- todo: biblio-citation-check --> - <xsl:text>\docbooktolatexcite{</xsl:text> - <xsl:value-of select="."/> - <xsl:text>}{}</xsl:text> - </xsl:template> - -</xsl:stylesheet> - - diff --git a/docs/docbook/xslt/db2latex/common/ca.xml b/docs/docbook/xslt/db2latex/common/ca.xml deleted file mode 100644 index fec3efff1a..0000000000 --- a/docs/docbook/xslt/db2latex/common/ca.xml +++ /dev/null @@ -1,100 +0,0 @@ -<localization language="ca"> - -<gentext key="abstract" text="Resum"/> -<gentext key="appendix" text="Apèndix"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Llibre"/> -<gentext key="caution" text="ATENCIÓ"/> -<gentext key="caution" text="Atenció"/> -<gentext key="chapter" text="Capítol"/> -<gentext key="copyright" text="Dret de reproducció"/> -<gentext key="dedication" text="Dedicatòria"/> -<gentext key="edition" text="Edició"/> -<gentext key="equation" text="Equació"/> -<gentext key="example" text="Exemple"/> -<gentext key="figure" text="Figura"/> -<gentext key="glosssee" text="Veure"/> -<gentext key="glossseealso" text="Veure també"/> -<gentext key="glossary" text="Glossari"/> -<gentext key="important" text="IMPORTANT"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Important"/> -<gentext key="index" text="Índex alfabètic"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Audiència"/> -<gentext key="msglevel" text="Nivell"/> -<gentext key="msgorig" text="Origen"/> -<gentext key="note" text="NOTA"/> -<gentext key="note" text="Nota"/> -<gentext key="part" text="Part"/> -<gentext key="preface" text="Prefaci"/> -<gentext key="procedure" text="Procediment"/> -<gentext key="pubdate" text="Data de publicació"/> -<gentext key="published" text="Data de publicació"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Referència"/> -<gentext key="refname" text="Nom"/> -<gentext key="revision" text="Revisió"/> -<gentext key="revhistory" text="Historial de revisions"/> -<gentext key="section" text="Secció"/> -<gentext key="see" text="Veure"/> -<gentext key="seealso" text="Veure tambié"/> -<gentext key="set" text="Conjunt"/> -<gentext key="setindex" text="Índex del conjunt"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Pas"/> -<gentext key="tip" text="SUGGERIMENT"/> -<gentext key="table" text="Taula"/> -<gentext key="tip" text="Suggeriment"/> -<gentext key="warning" text="AVÍS"/> -<gentext key="warning" text="Avís"/> -<gentext key="appendix" text="apèndex"/> -<gentext key="chapter" text="capítol"/> -<gentext key="section" text="secció"/> -<gentext key="sidebar" text="glossa"/> -<gentext key="step" text="pas"/> -<gentext key="seealso" text="Veure també"/> - -<gentext key="TableofContents" text="Sumari"/> -<gentext key="in" text="a"/> -<gentext key="by" text="per"/> -<gentext key="Edited" text="Editat"/> -<gentext key="Editedby" text="Editat per"/> -<gentext key="and" text="i"/> -<gentext key="Notes" text="Notes"/> -<gentext key="TableNotes" text="Notes"/> -<gentext key="nonexistantelement" text="element inexistent"/> -<gentext key="Pgs" text="Pàgs."/> -<gentext key="unsupported" text="no reconeguda"/> -<gentext key="xrefto" text="xref a"/> -<gentext key="unexpectedelementname" text="Nom d'element no esperat"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Índex de taules"/> -<gentext key="ListofExamples" text="Índex d'exemples"/> -<gentext key="ListofFigures" text="Índex de figures"/> -<gentext key="ListofEquations" text="Índex d'equacions"/> -<gentext key="ListofUnknown" text="Índex de desconegut ?"/> - -<gentext key="nav-prev" text="Anterior"/> -<gentext key="nav-prev-sibling" text="Retrocedir"/> -<gentext key="nav-next-sibling" text="Avancar"/> -<gentext key="nav-next" text="Seguent"/> -<gentext key="nav-up" text="Pujar"/> -<gentext key="nav-home" text="Inici"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/common.xsl b/docs/docbook/xslt/db2latex/common/common.xsl deleted file mode 100644 index 2506bd71ed..0000000000 --- a/docs/docbook/xslt/db2latex/common/common.xsl +++ /dev/null @@ -1,1927 +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'> - -<!-- ******************************************************************** - ******************************************************************** - - Derived from the official DocBook XSL Stylesheets - See 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> -<author> - <surname>Ramon</surname> - <firstname>Casellas</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)='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="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> - <!-- 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: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: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:if test="$count<$person.count"> - <xsl:if test="$person.count>2">,</xsl:if> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:if test="$count+1=$person.count">and </xsl:if> - <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> - -<!-- ====================================================================== --> -<!-- label content --> - -<doc:mode mode="label.content" xmlns=""> -<refpurpose>Provides access to element labels</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">label.content</literal> mode produces the -element label.</para> -<para>If the label is non-null, either because the -<sgmltag class="attribute">label</sgmltag> attribute was present on the -element or the stylesheet automatically generated a label, trailing -punctuation is automatically added.</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="label.content"> - <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.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> -</xsl:template> - -<xsl:template match="part" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="part" format="I"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="preface" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$preface.autolabel != 0"> - <xsl:number from="book" count="preface" format="1" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="chapter" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:number from="book" count="chapter" format="1" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="appendix" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:number from="book" count="appendix" format="A" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="article" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> -</xsl:template> - -<xsl:template match="dedication|colophon" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> -</xsl:template> - -<xsl:template match="reference" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="reference" format="I" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="refentry" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> -</xsl:template> - -<xsl:template match="section" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <!-- if this is a nested section, label the parent --> - <xsl:if test="local-name(..) = 'section'"> - <xsl:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </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:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$label != 0"> - <xsl:number count="section"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="sect1" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <!-- 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:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number count="sect1"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="sect2|sect3|sect4|sect5" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <!-- label the parent --> - <xsl:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </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.content: this can't happen!</xsl:message> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="refsect1|refsect2|refsect3" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number level="multiple" count="refsect1|refsect2|refsect3"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="simplesect" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number level="multiple" count="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |simplesect"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="qandadiv" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <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:if test="count($lparent)>0"> - <xsl:apply-templates select="$lparent" mode="label.content"/> - </xsl:if> - </xsl:if> - </xsl:variable> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="$prefix"/> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$qandadiv.autolabel != 0"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandadiv" format="1"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="question|answer" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <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 - |ancestor::qandadiv)[last()]"/> - <xsl:if test="count($lparent)>0"> - <xsl:apply-templates select="$lparent" mode="label.content"/> - </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:value-of select="$prefix"/> - <xsl:apply-templates select="$label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - - <xsl:when test="$deflabel = 'qanda'"> - <xsl:call-template name="gentext.element.name"/> - </xsl:when> - - <xsl:when test="$deflabel = 'number'"> - <xsl:if test="name(.) = 'question'"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandaentry" format="1"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template match="bibliography|glossary|index" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> -</xsl:template> - -<xsl:template match="figure|table|example|equation" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="pchap" - select="ancestor::chapter|ancestor::appendix"/> - <xsl:choose> - <xsl:when test="count($pchap)>0"> - <xsl:apply-templates select="$pchap" mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - <xsl:number format="1" from="chapter|appendix" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:otherwise> - <xsl:number format="1" from="book|article" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="abstract" mode="label.content"> - <xsl:param name="punct">.</xsl:param> -</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> - -<!-- ====================================================================== --> -<!-- title content --> - -<doc:mode mode="title.content" xmlns=""> -<refpurpose>Provides access to element titles</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">title.content</literal> mode produces the -title of the element. This does not include the label. If -<parameter>text-only</parameter> is true, the text of the title -is returned, without inline markup, otherwise inline markup is processed -(in the default mode). By default, <parameter>text-only</parameter> -is false. -</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title[1]" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </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="*" mode="no.anchor.mode"> - <xsl:apply-templates select="."/> -</xsl:template> - -<xsl:template match="anchor" mode="no.anchor.mode"> - <!-- nop, suppressed --> -</xsl:template> - -<xsl:template match="title" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="$text-only != 0"> - <xsl:value-of select="."/> - </xsl:when> - <xsl:otherwise> - <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:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="set" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(setinfo/title|title)[1]" - mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="book" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(bookinfo/title|title)[1]" - mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="part" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(partinfo/title|docinfo/title|title)[1]" - mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="preface|chapter|appendix" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:variable name="title" select="(docinfo/title - |prefaceinfo/title - |chapterinfo/title - |appendixinfo/title - |title)[1]"/> - <xsl:choose> - <xsl:when test="$title"> - <xsl:apply-templates select="$title" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <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="dedication|colophon" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <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="article" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <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.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="reference" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(referenceinfo/title|docinfo/title|title)[1]" - mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refentry" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <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.content"/> - </xsl:when> - <xsl:when test="$refname"> - <xsl:apply-templates select="$refname[1]" mode="title.content"/> - </xsl:when> - <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$text-only != 0"> - <xsl:value-of select="$title"/> - </xsl:when> - <xsl:otherwise><xsl:copy-of select="$title"/></xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="refentrytitle|refname" mode="title.content"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |simplesect" - mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <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.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="bibliography|glossary|index" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <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="figure|table|example|equation" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="title" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="abstract" mode="title.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title" mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <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> - -<!-- ====================================================================== --> -<!-- subtitle content --> - -<doc:mode mode="subtitle.content" xmlns=""> -<refpurpose>Provides access to element subtitles</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">subtitle.content</literal> mode produces the -subtitle of the element. If -<parameter>text-only</parameter> is true, the text of the title -is returned, without inline markup, otherwise inline markup is processed -(in the default mode). By default, <parameter>text-only</parameter> -is false. -</para> -</refdescription> -</doc:mode> - -<xsl:template match="*" mode="subtitle.content"> - <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.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:choose> - <xsl:when test="$text-only != 0"> - <xsl:value-of select="."/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="set" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(setinfo/subtitle|subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="book" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(bookinfo/subtitle|subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="part" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(partinfo/subtitle - |docinfo/subtitle - |subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="preface|chapter|appendix" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(docinfo/subtitle - |prefaceinfo/subtitle - |chapterinfo/subtitle - |appendixinfo/subtitle - |subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="dedication|colophon" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="subtitle" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="reference" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(referenceinfo/subtitle - |docinfo/subtitle - |subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<xsl:template match="refentry" mode="subtitle.content"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:apply-templates select="(refentryinfo/subtitle - |docinfo/subtitle)[1]" - mode="subtitle.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <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.content"> - <xsl:param name="text-only" select="'0'"/> - <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.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> -</xsl:template> - -<!-- ====================================================================== --> -<!-- title reference (label + title) --> - -<doc:mode mode="title.ref" xmlns=""> -<refpurpose>Provides reference text for an element</refpurpose> -<refdescription> -<para>Processing an element in the -<literal role="mode">title.ref</literal> mode produces the -label and title of the element. -</para> -</refdescription> -<refparameter> -<variablelist> -<varlistentry><term>text-only</term> -<listitem> -<para> If -<parameter>text-only</parameter> is true, the text of the title -is returned, without inline markup, otherwise inline markup is processed -(in the default mode). By default, <parameter>text-only</parameter> -is false.</para> -</listitem> -</varlistentry> -<varlistentry><term>label-wrapper</term> -<listitem> -<para>If <parameter>label-wrapper</parameter> is not the emtpy string, -it must be the name of an element. The element so named will be wrapped -around labels on output.</para> -</listitem> -</varlistentry> -<varlistentry><term>title-wrapper</term> -<listitem> -<para>If <parameter>title.wrapper</parameter> is not the emtpy string, -it must be the name of an element. The element so named will be wrapped -around titles on output.</para> -</listitem> -</varlistentry> -<varlistentry><term>label-wrapper-class</term> -<listitem> -<para>If a <parameter>label-wrapper</parameter> is provided and -<parameter>label-wrapper-class</parameter> is not the emtpy string, -it be used as the value for a <sgmltag class="attribute">class</sgmltag> -attribute on the <parameter>label-wrapper</parameter> element.</para> -<para>This is a dirty hack because it only makes sense for the HTML -stylesheet (there's no <sgmltag class="attribute">class</sgmltag> attribute -on the FO elements). What I'd really like to do is pass an attribute -set as a parameter, but I can't.</para> -</listitem> -</varlistentry> -<varlistentry><term>title-wrapper-class</term> -<listitem> -<para>If a <parameter>title-wrapper</parameter> is provided and -<parameter>title-wrapper-class</parameter> is not the emtpy string, -it be used as the value for a <sgmltag class="attribute">class</sgmltag> -attribute on the <parameter>title-wrapper</parameter> element.</para> -<para>This is a dirty hack because it only makes sense for the HTML -stylesheet (there's no <sgmltag class="attribute">class</sgmltag> attribute -on the FO elements). What I'd really like to do is pass an attribute -set as a parameter, but I can't.</para> -</listitem> -</varlistentry> -</variablelist> -</refparameter> -</doc:mode> - -<xsl:template match="*" mode="title.ref"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:param name="label-wrapper" select="''"/> - <xsl:param name="title-wrapper" select="''"/> - <!-- Dirty hack --> - <xsl:param name="label-wrapper-class" select="''"/> - <xsl:param name="title-wrapper-class" select="''"/> - - <xsl:variable name="label"> - <xsl:apply-templates select="." mode="label.content"/> - </xsl:variable> - - <xsl:if test="$label != ''"> - <xsl:choose> - <xsl:when test="$text-only = 0"> - <xsl:choose> - <xsl:when test="$label-wrapper != ''"> - <xsl:element name="{$label-wrapper}"> - <xsl:if test="$label-wrapper-class != ''"> - <xsl:attribute name="class"> - <xsl:value-of select="$label-wrapper-class"/> - </xsl:attribute> - </xsl:if> - <xsl:copy-of select="$label"/> - </xsl:element> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$label"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$label"/> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - - <xsl:choose> - <xsl:when test="$text-only = 0"> - <xsl:choose> - <xsl:when test="$title-wrapper != ''"> - <xsl:element name="{$title-wrapper}"> - <xsl:if test="$title-wrapper-class != ''"> - <xsl:attribute name="class"> - <xsl:value-of select="$title-wrapper-class"/> - </xsl:attribute> - </xsl:if> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:element> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="figure|table|example|equation - |chapter|appendix" mode="title.ref"> - <xsl:param name="text-only" select="'0'"/> - <xsl:param name="allow-anchors" select="'0'"/> - <xsl:param name="label-wrapper" select="''"/> - <xsl:param name="title-wrapper" select="''"/> - <!-- Dirty hack --> - <xsl:param name="label-wrapper-class" select="''"/> - <xsl:param name="title-wrapper-class" select="''"/> - - <xsl:variable name="label"> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name"> - <xsl:value-of select="name(.)"/> - </xsl:with-param> - </xsl:call-template> - <xsl:call-template name="gentext.space"/> - <xsl:apply-templates select="." mode="label.content"/> - </xsl:variable> - - <xsl:if test="$label != ''"> - <xsl:choose> - <xsl:when test="$text-only = 0"> - <xsl:choose> - <xsl:when test="$label-wrapper != ''"> - <xsl:element name="{$label-wrapper}"> - <xsl:if test="$label-wrapper-class != ''"> - <xsl:attribute name="class"> - <xsl:value-of select="$label-wrapper-class"/> - </xsl:attribute> - </xsl:if> - <xsl:copy-of select="$label"/> - </xsl:element> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="$label"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$label"/> - <xsl:text> </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:if> - - <xsl:choose> - <xsl:when test="$text-only = 0"> - <xsl:choose> - <xsl:when test="$title-wrapper != ''"> - <xsl:element name="{$title-wrapper}"> - <xsl:if test="$title-wrapper-class != ''"> - <xsl:attribute name="class"> - <xsl:value-of select="$title-wrapper-class"/> - </xsl:attribute> - </xsl:if> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:element> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="." mode="title.content"> - <xsl:with-param name="text-only" select="$text-only"/> - <xsl:with-param name="allow-anchors" select="$allow-anchors"/> - </xsl:apply-templates> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<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'"> - <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="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 name="mediaobject.filename"> - <xsl:param name="object"></xsl:param> - - <xsl:variable name="data" select="$object/videodata - |$object/imagedata - |$object/audiodata"/> - - <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="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: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="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> - -<!-- ====================================================================== --> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/common/cs.xml b/docs/docbook/xslt/db2latex/common/cs.xml deleted file mode 100644 index 81c9c5a9cb..0000000000 --- a/docs/docbook/xslt/db2latex/common/cs.xml +++ /dev/null @@ -1,110 +0,0 @@ -<localization language="cs"> - -<!-- Contributors: - Martin Perina <docbk@ataco.cz> - Jirka Kosek <jirka@kosek.cz> ---> - -<gentext key="abstract" text="Abstrakt"/> -<gentext key="answer" text="Otázka:"/> -<gentext key="appendix" text="Příloha"/> -<gentext key="article" text="Článek"/> -<gentext key="bibliography" text="Bibliografie"/> -<gentext key="book" text="Kniha"/> -<gentext key="caution" text="Výstraha"/> -<gentext key="chapter" text="Kapitola"/> -<gentext key="colophon" text="Tiráž"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Věnování"/> -<gentext key="edition" text="Vydání"/> -<gentext key="equation" text="Rovnice"/> -<gentext key="example" text="Příklad"/> -<gentext key="figure" text="Obrázek"/> -<gentext key="glossary" text="Slovník"/> -<gentext key="glosssee" text="Viz"/> -<gentext key="glossseealso" text="Viz též"/> -<gentext key="important" text="Důležité"/> -<gentext key="index" text="Rejstřík"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="keywordset" text="Klíčovíslova"/> -<gentext key="keyword" text="Klíčovéslovo"/> -<gentext key="legalnotice" text="Právní poznámka"/> -<gentext key="msgaud" text="Publikum"/> -<gentext key="msglevel" text="Úroveň"/> -<gentext key="msgorig" text="Původ"/> -<gentext key="note" text="Poznámka"/> -<gentext key="part" text="Část"/> -<gentext key="preface" text="Předmluva"/> -<gentext key="procedure" text="Postup"/> -<gentext key="published" text="Vydáno"/> -<gentext key="question" text="Otázka:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Odkaz"/> -<gentext key="refname" text="Jméno"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Přehled"/> -<gentext key="revhistory" text="Přehled revizí"/> -<gentext key="revision" text="Revize"/> -<gentext key="section" text="Oddíl"/> -<gentext key="sect1" text="Oddíl"/> -<gentext key="sect2" text="Oddíl"/> -<gentext key="sect3" text="Oddíl"/> -<gentext key="sect4" text="Oddíl"/> -<gentext key="sect5" text="Oddíl"/> -<gentext key="see" text="Viz"/> -<gentext key="seealso" text="Viz též"/> -<gentext key="set" text="Sada"/> -<gentext key="setindex" text="Rejstřík sady"/> -<gentext key="sidebar" text="Marginálie"/> -<gentext key="step" text="Krok"/> -<gentext key="table" text="Tabulka"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="Varování"/> - -<gentext key="TableofContents" text="Obsah"/> -<gentext key="in" text="v"/> -<gentext key="by" text=" "/> -<gentext key="Edited" text="Vydáno"/> -<gentext key="Editedby" text="Sestavil"/> -<gentext key="and" text="a"/> -<gentext key="Notes" text="Poznámky"/> -<gentext key="TableNotes" text="Poznámky"/> -<gentext key="nonexistantelement" text="neexistující prvek"/> -<gentext key="Pgs" text="Str."/> -<gentext key="unsupported" text="nepodporovaný"/> -<gentext key="xrefto" text="xref k"/> -<gentext key="unexpectedelementname" text="Neočekávané jméno prvku"/> -<gentext key="Revisedby" text="Revidoval: "/> - -<gentext key="ListofTables" text="Seznam tabulek"/> -<gentext key="ListofExamples" text="Seznam příkladů"/> -<gentext key="ListofFigures" text="Seznam obrázků"/> -<gentext key="ListofEquations" text="Seznam rovnic"/> -<gentext key="ListofUnknown" text="Seznam neznámého"/> - -<gentext key="nav-prev" text="Předcházející"/> -<gentext key="nav-prev-sibling" text="Rychle zpět"/> -<gentext key="nav-next-sibling" text="Rychle dopředu"/> -<gentext key="nav-next" text="Další"/> -<gentext key="nav-up" text="Nahoru"/> -<gentext key="nav-home" text="Domů"/> - -<gentext key="the section called" text="oddíl nazvaný"/> - -<dingbat key="startquote" text="„"/> -<dingbat key="endquote" text="“"/> -<dingbat key="nestedstartquote" text="‚"/> -<dingbat key="nestedendquote" text="‘"/> -<dingbat key="bullet" text="•"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> -<xref element="figure" text="%n"/> -<xref element="example" text="%n"/> -<xref element="table" text="%n"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/da.xml b/docs/docbook/xslt/db2latex/common/da.xml deleted file mode 100644 index 959050230f..0000000000 --- a/docs/docbook/xslt/db2latex/common/da.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="da"> - -<gentext key="abstract" text="Abstract"/> -<gentext key="appendix" text="Appendiks"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliografi"/> -<gentext key="book" text="Book"/> -<gentext key="caution" text="BEMÆRK"/> -<gentext key="caution" text="Bemærk"/> -<gentext key="chapter" text="Kapitel"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Tilegnet"/> -<gentext key="edition" text="Udgave"/> -<gentext key="equation" text="Ligning"/> -<gentext key="example" text="Eksempel"/> -<gentext key="figure" text="Figur"/> -<gentext key="glosssee" text="Se"/> -<gentext key="glossseealso" text="Se også"/> -<gentext key="glossary" text="Stikordregister"/> -<gentext key="important" text="VIGTIGT"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Vigtigt"/> -<gentext key="index" text="Index"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Målgruppe"/> -<gentext key="msglevel" text="Niveau"/> -<gentext key="msgorig" text="Grundlag"/> -<gentext key="note" text="NOTE"/> -<gentext key="note" text="Note"/> -<gentext key="part" text="Del"/> -<gentext key="preface" text="Forord"/> -<gentext key="procedure" text="Procedure"/> -<gentext key="pubdate" text="Udgivet"/> -<gentext key="published" text="Published"/> -<gentext key="refname" text="Navn"/> -<gentext key="reference" text="Reference"/> -<gentext key="revision" text="Revision"/> -<gentext key="revhistory" text="Revision historie"/> -<gentext key="section" text="Afsnit"/> -<gentext key="see" text="Se"/> -<gentext key="seealso" text="Se også"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Skridt"/> -<gentext key="tip" text="TIP"/> -<gentext key="table" text="Tabel"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="ADVARSEL"/> -<gentext key="warning" text="Advarsel"/> -<gentext key="appendix" text="appendiks"/> -<gentext key="chapter" text="kapitel"/> -<gentext key="section" text="sektion"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="skridt"/> -<gentext key="seealso" text="Se også"/> - -<gentext key="TableofContents" text="Indholdsfortegnelse"/> -<gentext key="by" text="af"/> -<gentext key="Edited" text="Redigeret"/> -<gentext key="Editedby" text="Redigeret af"/> -<gentext key="and" text="og"/> -<gentext key="Notes" text="Slutbemærkning:"/> -<gentext key="TableNotes" text="Noter:"/> -<gentext key="nonexistantelement" text="non-existant element"/> -<gentext key="Pgs" text="siderne"/> -<gentext key="unsupported" text="unsupported"/> -<gentext key="xrefto" text="xref to"/> -<gentext key="unexpectedelementname" text="Unexpected element name"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Liste over alle tabeller"/> -<gentext key="ListofExamples" text="Liste over alle eksempler"/> -<gentext key="ListofFigures" text="Liste over alle figurer"/> -<gentext key="ListofEquations" text="Liste over alle ligninger"/> -<gentext key="ListofUnknown" text="Liste over alle ????"/> - -<gentext key="nav-prev" text="Forrige"/> -<gentext key="nav-prev-sibling" text="Hurtigt tilbage"/> -<gentext key="nav-next-sibling" text="Hurtigt fremad"/> -<gentext key="nav-next" text="Næste"/> -<gentext key="nav-up" text="Op"/> -<gentext key="nav-home" text="Hjem"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/de.xml b/docs/docbook/xslt/db2latex/common/de.xml deleted file mode 100644 index 8c458b0f5e..0000000000 --- a/docs/docbook/xslt/db2latex/common/de.xml +++ /dev/null @@ -1,102 +0,0 @@ -<localization language="de"> -<!-- - Contributions by: Michael Burschik, burschik@id-pro.de ---> - -<gentext key="abstract" text="Zusammenfassung"/> -<gentext key="appendix" text="Anhang"/> -<gentext key="article" text="Artikel"/> -<gentext key="bibliography" text="Literaturverzeichnis"/> -<gentext key="book" text="Buch"/> -<gentext key="caution" text="Achtung"/> -<gentext key="chapter" text="Kapitel"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Widmung"/> -<gentext key="edition" text="Ausgabe"/> -<gentext key="equation" text="Gleichung"/> -<gentext key="example" text="Beispiel"/> -<gentext key="figure" text="Abbildung"/> -<gentext key="glosssee" text="Siehe"/> -<gentext key="glossseealso" text="Siehe auch"/> -<gentext key="glossary" text="Glossar"/> -<gentext key="important" text="WICHTIG"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="keyword" text="Stichwort"/> -<gentext key="keywords" text="Stichwörter"/> -<gentext key="keywordset" text="Stichwörter"/> -<gentext key="important" text="Wichtig"/> -<gentext key="index" text="Stichwortverzeichnis"/> -<gentext key="legalnotice" text="Rechtlicher Hinweis"/> -<gentext key="msgaud" text="Zielgruppe"/> -<gentext key="msglevel" text="Dringlichkeit"/> -<gentext key="msgorig" text="Ursprung"/> -<gentext key="note" text="Anmerkung"/> -<gentext key="part" text="Teil"/> -<gentext key="preface" text="Vorwort"/> -<gentext key="procedure" text="Prozedur"/> -<gentext key="published" text="Veröffentlicht"/> -<gentext key="refname" text="Name"/> -<gentext key="reference" text="Verweis"/> -<gentext key="refsection" text="Abschnitt"/> -<gentext key="refsynopsisdiv" text="Synopsis"/> <!--en--> -<gentext key="revhistory" text="Versionsgeschichte"/> -<gentext key="revision" text="Version"/> -<gentext key="section" text="Abschnitt"/> -<gentext key="see" text="Siehe"/> -<gentext key="seealso" text="Siehe auch"/> -<gentext key="seealso" text="Siehe auch"/> -<gentext key="set" text="Satz"/> -<gentext key="setindex" text="Stichwortverzeichnis"/> -<gentext key="sidebar" text="Randnotiz"/> -<gentext key="step" text="Schritt"/> -<gentext key="tip" text="TIP"/> -<gentext key="table" text="Tabelle"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="WARNUNG"/> -<gentext key="appendix" text="Anhang"/> -<gentext key="chapter" text="Kapitel"/> -<gentext key="section" text="Abschnitt"/> -<gentext key="step" text="Schritt"/> - -<gentext key="TableofContents" text="Inhaltsverzeichnis"/> -<gentext key="in" text="in"/> -<gentext key="by" text="von"/> -<gentext key="Edited" text="Herausgegeben"/> -<gentext key="Editedby" text="Herausgegeben von"/> -<gentext key="and" text="und"/> -<gentext key="Notes" text="Fußnoten"/> -<gentext key="TableNotes" text="Bemerkungen"/> -<gentext key="nonexistantelement" text="nicht existierendes Element"/> -<gentext key="Pgs" text="Seiten"/> -<gentext key="unsupported" text="wird nicht unterstützt"/> -<gentext key="xrefto" text="xref auf"/> -<gentext key="unexpectedelementname" text="Unerwarteter Elementname"/> -<gentext key="Revisedby" text="Geändert durch: "/> - -<gentext key="ListofTables" text="Tabellenverzeichnis"/> -<gentext key="ListofExamples" text="Beispiele"/> -<gentext key="ListofFigures" text="Abbildungsverzeichnis"/> -<gentext key="ListofEquations" text="Gleichungen"/> -<gentext key="ListofUnknown" text="???-Verzeichnis"/> - -<gentext key="nav-prev" text="Zurück"/> -<gentext key="nav-prev-sibling" text="Schnell zurück"/> -<gentext key="nav-next-sibling" text="Schnell vor"/> -<gentext key="nav-next" text="Vor"/> -<gentext key="nav-up" text="Hoch"/> -<gentext key="nav-home" text="Anfang"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/el.xml b/docs/docbook/xslt/db2latex/common/el.xml deleted file mode 100644 index ad93032047..0000000000 --- a/docs/docbook/xslt/db2latex/common/el.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="el"> - -<gentext key="abstract" text="Ðåñßëçøç"/> -<gentext key="answer" text="Á:"/> -<gentext key="appendix" text="ÐáñÜñôçìá"/> -<gentext key="article" text="¶ñèñï"/> -<gentext key="bibliography" text="Âéâëéïãñáößá"/> -<gentext key="book" text="Âéâëßï"/> -<gentext key="caution" text="ÐÑÏÓÏ×Ç"/> -<gentext key="caution" text="Ðñïóï÷Þ"/> -<gentext key="chapter" text="ÊåöÜëáéï"/> -<gentext key="colophon" text="Êïñùíßäá"/> -<gentext key="copyright" text="ÐíåõìáôéêÜ Äéêáéþìáôá"/> -<gentext key="dedication" text="ÁöéÝñùóç"/> -<gentext key="edition" text="¸êäïóç"/> -<gentext key="equation" text="Åîßóùóç"/> -<gentext key="example" text="ÐáñÜäåéãìá"/> -<gentext key="figure" text="Ó÷Þìá"/> -<gentext key="glosssee" text="Äåßôå"/> -<gentext key="glossseealso" text="Äåßôå Åðßóçò"/> -<gentext key="glossary" text="ÃëùóóÜñéï"/> -<gentext key="important" text="ÓÇÌÁÍÔÉÊÏ"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Óçìáíôéêü"/> -<gentext key="index" text="ÅõñåôÞñéï"/> -<gentext key="legalnotice" text="ÍïìéêÞ Óçìåßùóç"/> -<gentext key="msgaud" text="ÁêñïáôÞñéï"/> -<gentext key="msglevel" text="Åðßðåäï"/> -<gentext key="msgorig" text="ÐçãÞ"/> -<gentext key="note" text="ÓÇÌÅÉÙÓÇ"/> -<gentext key="note" text="Óçìåßùóç"/> -<gentext key="part" text="ÌÝñïò"/> -<gentext key="preface" text="ÅéóáãùãÞ"/> -<gentext key="procedure" text="Äéáäéêáóßá"/> -<gentext key="published" text="ÄçìïóéåõìÝíï"/> -<gentext key="question" text="Å:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="ÁíáöïñÜ"/> -<gentext key="refname" text="¼íïìá"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Óýíïøç"/> -<gentext key="revision" text="Áíáèåþñçóç"/> -<gentext key="revhistory" text="Éóôïñéêü ÁíáèåùñÞóåùí"/> -<gentext key="section" text="ÔìÞìá"/> -<gentext key="see" text="Äåßôå"/> -<gentext key="seealso" text="Äåßôå Åðßóçò"/> -<gentext key="set" text="Óýíïëï"/> -<gentext key="setindex" text="ÅõñåôÞñéï Óõíüëùí"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="ÖÜóç"/> -<gentext key="tip" text="ÕÐÏÄÅÉÎÇ"/> -<gentext key="table" text="Ðßíáêáò"/> -<gentext key="tip" text="Õðüäåéîç"/> -<gentext key="warning" text="ÐÑÏÅÉÄÏÐÏÉÇÓÇ"/> -<gentext key="warning" text="Ðñïåéäïðïßçóç"/> -<gentext key="appendix" text="ðáñÜñôçìá"/> -<gentext key="chapter" text="êåöÜëáéï"/> -<gentext key="section" text="ôìÞìá"/> -<gentext key="sidebar" text="åðåîçãçìáôéêü ðëåõñéêü áñèñßäéï"/> -<gentext key="step" text="öÜóç"/> -<gentext key="seealso" text="Äåßôå åðßóçò"/> - -<gentext key="TableofContents" text="Ðßíáêáò Ðåñéå÷ïìÝíùí"/> -<gentext key="in" text="óå"/> -<gentext key="by" text="áðü"/> -<gentext key="Edited" text="ÅðéìÝëåéá"/> -<gentext key="Editedby" text="ÅðéìÝëåéá áðü"/> -<gentext key="and" text="êáé"/> -<gentext key="Notes" text="Óçìåéþóåéò"/> -<gentext key="TableNotes" text="Ðßíáêáò Óçìåéþóåùí"/> -<gentext key="nonexistantelement" text="ìç-õðáñêôü óôïé÷åßï"/> -<gentext key="Pgs" text="Óëäò."/> -<gentext key="unsupported" text="ìç õðïóôçñéæüìåíï"/> -<gentext key="xrefto" text="áíôéðáñáðïìðÞ óå"/> -<gentext key="unexpectedelementname" text="Ìç áíáìåíüìåíï üíïìá óôïé÷åßïõ"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="ÊáôÜëïãïò ÐéíÜêùí"/> -<gentext key="ListofExamples" text="ÊáôÜëïãïò ÐáñáäåéãìÜôùí"/> -<gentext key="ListofFigures" text="ÊáôÜëïãïò Ó÷çìÜôùí"/> -<gentext key="ListofEquations" text="ÊáôÜëïãïò Åîéóþóåùí"/> -<gentext key="ListofUnknown" text="ÊáôÜëïãïò Áãíþóôùí"/> - -<gentext key="nav-prev" text="Ðñïçã"/> -<gentext key="nav-prev-sibling" text="Ðñïò ôçí áñ÷Þ"/> -<gentext key="nav-next-sibling" text="Ðñïò ôï ôÝëïò"/> -<gentext key="nav-next" text="Åðüìåíï"/> -<gentext key="nav-up" text="ÐÜíù"/> -<gentext key="nav-home" text="Áñ÷Þ"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/en.xml b/docs/docbook/xslt/db2latex/common/en.xml deleted file mode 100644 index 2e8500135f..0000000000 --- a/docs/docbook/xslt/db2latex/common/en.xml +++ /dev/null @@ -1,107 +0,0 @@ -<localization language="en"> - -<gentext key="abstract" text="Abstract"/> -<gentext key="answer" text="A:"/> -<gentext key="appendix" text="Appendix"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliography"/> -<gentext key="book" text="Book"/> -<gentext key="caution" text="Caution"/> -<gentext key="chapter" text="Chapter"/> -<gentext key="colophon" text="Colophon"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedication"/> -<gentext key="edition" text="Edition"/> -<gentext key="equation" text="Equation"/> -<gentext key="example" text="Example"/> -<gentext key="figure" text="Figure"/> -<gentext key="formalpara" text="Paragraph"/> -<gentext key="glossary" text="Glossary"/> -<gentext key="glosssee" text="See"/> -<gentext key="glossseealso" text="See also"/> -<gentext key="important" text="Important"/> -<gentext key="index" text="Index"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="keyword" text="Keyword"/> -<gentext key="keywords" text="Keywords"/> -<gentext key="keywordset" text="Keywords"/> -<gentext key="legalnotice" text="Legal Notice"/> -<gentext key="msgaud" text="Audience"/> -<gentext key="msglevel" text="Level"/> -<gentext key="msgorig" text="Origin"/> -<gentext key="note" text="Note"/> -<gentext key="part" text="Part"/> -<gentext key="preface" text="Preface"/> -<gentext key="procedure" text="Procedure"/> -<gentext key="published" text="Published"/> -<gentext key="question" text="Q:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Reference"/> -<gentext key="refname" text="Name"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Synopsis"/> -<gentext key="revhistory" text="Revision History"/> -<gentext key="revision" text="Revision"/> -<gentext key="section" text="Section"/> -<gentext key="sect1" text="Section"/> -<gentext key="sect2" text="Section"/> -<gentext key="sect3" text="Section"/> -<gentext key="sect4" text="Section"/> -<gentext key="sect5" text="Section"/> -<gentext key="see" text="See"/> -<gentext key="seealso" text="See Also"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text="Sidebar"/> -<gentext key="step" text="Step"/> -<gentext key="table" text="Table"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="Warning"/> - -<gentext key="TableofContents" text="Table of Contents"/> -<gentext key="in" text="in"/> -<gentext key="by" text="by"/> -<gentext key="Edited" text="Edited"/> -<gentext key="Editedby" text="Edited by"/> -<gentext key="and" text="and"/> -<gentext key="Notes" text="Notes"/> -<gentext key="TableNotes" text="Notes"/> -<gentext key="nonexistantelement" text="non-existant element"/> -<gentext key="Pgs" text="Pgs."/> -<gentext key="unsupported" text="unsupported"/> -<gentext key="xrefto" text="xref to"/> -<gentext key="unexpectedelementname" text="Unexpected element name"/> -<gentext key="Revisedby" text="Revised by:"/> - -<gentext key="ListofTables" text="List of Tables"/> -<gentext key="ListofExamples" text="List of Examples"/> -<gentext key="ListofFigures" text="List of Figures"/> -<gentext key="ListofEquations" text="List of Equations"/> -<gentext key="ListofUnknown" text="List of Unknown"/> - -<gentext key="nav-prev" text="Prev"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Next"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<gentext key="the section called" text="the section called"/> - -<gentext key="index symbols" text="Symbols"/> - -<dingbat key="startquote" text="``"/> -<dingbat key="endquote" text="''"/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="\textbullet{}"/> - -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="preface" text="%t"/> -<xref element="bibliography" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="page.citation" text=" on page %p"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/es.xml b/docs/docbook/xslt/db2latex/common/es.xml deleted file mode 100644 index 78483dfb65..0000000000 --- a/docs/docbook/xslt/db2latex/common/es.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="es"> - -<gentext key="abstract" text="Resumen"/> -<gentext key="appendix" text="Apéndice"/> -<gentext key="article" text="Artículo"/> -<gentext key="bibliography" text="Bibliografía"/> -<gentext key="book" text="Libro"/> -<gentext key="caution" text="ATENCIÓN"/> -<gentext key="caution" text="Atención"/> -<gentext key="chapter" text="Capítulo"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedicado"/> -<gentext key="edition" text="Edición"/> -<gentext key="equation" text="Ecuación"/> -<gentext key="example" text="Ejemplo"/> -<gentext key="figure" text="Figura"/> -<gentext key="glosssee" text="Ver"/> -<gentext key="glossseealso" text="Ver también"/> -<gentext key="glossary" text="Glosario"/> -<gentext key="important" text="IMPORTANTE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Importante"/> -<gentext key="index" text="Índice"/> -<gentext key="legalnotice" text="Aviso Legal"/> -<gentext key="msgaud" text="Audiencia"/> -<gentext key="msglevel" text="Nivel"/> -<gentext key="msgorig" text="Origen"/> -<gentext key="note" text="NOTA"/> -<gentext key="note" text="Nota"/> -<gentext key="part" text="Parte"/> -<gentext key="preface" text="Prefacio"/> -<gentext key="procedure" text="Procedimiento"/> -<gentext key="pubdate" text="Fecha de publicación"/> -<gentext key="published" text="Publicado"/> -<gentext key="refname" text="Nombre"/> -<gentext key="reference" text="Referencia"/> -<gentext key="revision" text="Revisión"/> -<gentext key="revhistory" text="Historial de revisiones"/> -<gentext key="section" text="Sección"/> -<gentext key="see" text="Ver"/> -<gentext key="seealso" text="Ver También"/> -<gentext key="set" text="Conjunto"/> -<gentext key="setindex" text="Índice del conjunto"/> -<gentext key="sidebar" text="Sidebar"/> -<gentext key="step" text="Paso"/> -<gentext key="tip" text="SUGERENCIA"/> -<gentext key="table" text="Tabla"/> -<gentext key="tip" text="Sugerencia"/> -<gentext key="warning" text="AVISO"/> -<gentext key="warning" text="Aviso"/> -<gentext key="appendix" text="apéndice"/> -<gentext key="chapter" text="capítulo"/> -<gentext key="section" text="sección"/> -<gentext key="step" text="paso"/> -<gentext key="seealso" text="Ver También"/> - -<gentext key="TableofContents" text="Tabla de contenidos"/> -<gentext key="in" text="en"/> -<gentext key="by" text="por"/> -<gentext key="Edited" text="Editado"/> -<gentext key="Editedby" text="Editado por"/> -<gentext key="and" text="y"/> -<gentext key="Notes" text="Notas"/> -<gentext key="TableNotes" text="Notas"/> -<gentext key="nonexistantelement" text="elemento inexistente"/> -<gentext key="Pgs" text="Pags."/> -<gentext key="unsupported" text="no soportado"/> -<gentext key="xrefto" text="referido a"/> -<gentext key="unexpectedelementname" text="Nombre de elemento inesperado"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Lista de tablas"/> -<gentext key="ListofExamples" text="Tabla de ejemplos"/> -<gentext key="ListofFigures" text="Tabla de figuras"/> -<gentext key="ListofEquations" text="Tabla de ecuaciones"/> -<gentext key="ListofUnknown" text="Lista de ???"/> - -<gentext key="nav-prev" text="Anterior"/> -<gentext key="nav-prev-sibling" text="Retroceder"/> -<gentext key="nav-next-sibling" text="Avanzar"/> -<gentext key="nav-next" text="Siguiente"/> -<gentext key="nav-up" text="Subir"/> -<gentext key="nav-home" text="Inicio"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/et.xml b/docs/docbook/xslt/db2latex/common/et.xml deleted file mode 100644 index 4c63adbe7a..0000000000 --- a/docs/docbook/xslt/db2latex/common/et.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="et"> - -<gentext key="abstract" text="Ülevaade"/> -<gentext key="answer" text="V:"/> -<gentext key="appendix" text="Lisa"/> -<gentext key="article" text="Artikkel"/> -<gentext key="bibliography" text="Bibliograafia"/> -<gentext key="book" text="Raamat"/> -<gentext key="caution" text="ETTEVAATUST"/> -<gentext key="caution" text="Ettevaatust"/> -<gentext key="chapter" text="Peatükk"/> -<gentext key="colophon" text="Lõpumärgis"/> -<gentext key="copyright" text="Autoriõigus"/> -<gentext key="dedication" text="Pühendus"/> -<gentext key="edition" text="Väljaanne"/> -<gentext key="equation" text="Valem"/> -<gentext key="example" text="Näide"/> -<gentext key="figure" text="Joonis"/> -<gentext key="glosssee" text="Vt."/> -<gentext key="glossseealso" text="Vt. ka"/> -<gentext key="glossary" text="Sõnastik"/> -<gentext key="important" text="OLULINE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Oluline"/> -<gentext key="index" text="Aineregister"/> -<gentext key="legalnotice" text="Autoriõiguse märge"/> -<gentext key="msgaud" text="Auditoorium"/> -<gentext key="msglevel" text="Tase"/> -<gentext key="msgorig" text="Algallikas"/> -<gentext key="note" text="MÄRKUS"/> -<gentext key="note" text="Märkus"/> -<gentext key="part" text="Osa"/> -<gentext key="preface" text="Eessõna"/> -<gentext key="procedure" text="Protseduur"/> -<gentext key="published" text="Avaldatud"/> -<gentext key="question" text="K:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Viide"/> -<gentext key="refname" text="Nimi"/> -<gentext key="refsection" text="Lõik"/> -<gentext key="refsynopsisdiv" text="Sünopsis"/> -<gentext key="revision" text="Vigade parandus"/> -<gentext key="revhistory" text="Vigade paranduste ajalugu"/> -<gentext key="section" text="Sektsioon"/> -<gentext key="see" text="Vt."/> -<gentext key="seealso" text="Vt. ka"/> -<gentext key="set" text="Sea"/> -<gentext key="setindex" text="Sea indeks"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Samm"/> -<gentext key="tip" text="VIHJE"/> -<gentext key="table" text="Tabel"/> -<gentext key="tip" text="Vihje"/> -<gentext key="warning" text="HOIATUS"/> -<gentext key="warning" text="Hoiatus"/> -<gentext key="appendix" text="lisa"/> -<gentext key="chapter" text="peatükk"/> -<gentext key="section" text="lõik"/> -<gentext key="sidebar" text="külgriba"/> -<gentext key="step" text="samm"/> -<gentext key="seealso" text="Vt. ka"/> - -<gentext key="TableofContents" text="Sisukord"/> -<gentext key="in" text=""/> -<gentext key="by" text=""/> -<gentext key="Edited" text="Redaktsioon"/> -<gentext key="Editedby" text="Redaktsiooni autor(id)"/> -<gentext key="and" text="ja"/> -<gentext key="Notes" text="Märkused"/> -<gentext key="TableNotes" text="Märkused"/> -<gentext key="nonexistantelement" text="mitte eksisteeriv element"/> -<gentext key="Pgs" text="Lk."/> -<gentext key="unsupported" text="toetuseta"/> -<gentext key="xrefto" text="viide"/> -<gentext key="unexpectedelementname" text="Ootamatu elemendi nimi"/> -<gentext key="Revisedby" text="Üle vaadanud: "/> - -<gentext key="ListofTables" text="Tabelite nimekiri"/> -<gentext key="ListofExamples" text="Näidete nimekiri"/> -<gentext key="ListofFigures" text="Jooniste nimekiri"/> -<gentext key="ListofEquations" text="Valemite nimekiri"/> -<gentext key="ListofUnknown" text="Tundmatute nimekiri"/> - -<gentext key="nav-prev" text="Eelmine"/> -<gentext key="nav-prev-sibling" text="Kiiresti tagasi"/> -<gentext key="nav-next-sibling" text="Kiiresti edasi"/> -<gentext key="nav-next" text="Järgmine"/> -<gentext key="nav-up" text="Üles"/> -<gentext key="nav-home" text="Koju"/> - -<dingbat key="startquote" text='“'/> -<dingbat key="endquote" text='”'/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/fi.xml b/docs/docbook/xslt/db2latex/common/fi.xml deleted file mode 100644 index 5d25725512..0000000000 --- a/docs/docbook/xslt/db2latex/common/fi.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="fi"> - -<gentext key="abstract" text="Lyhennelmä"/> -<gentext key="appendix" text="Liite"/> -<gentext key="article" text="Artikkeli"/> -<gentext key="bibliography" text="Lähteet"/> -<gentext key="book" text="Kirja"/> -<gentext key="caution" text="VARO"/> -<gentext key="caution" text="Varo"/> -<gentext key="chapter" text="Luku"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Omistus"/> -<gentext key="edition" text="Edition"/> -<gentext key="equation" text="Kaava"/> -<gentext key="example" text="Esimerkki"/> -<gentext key="figure" text="Kuva"/> -<gentext key="glosssee" text="Katso"/> -<gentext key="glossseealso" text="Katso myös"/> -<gentext key="glossary" text="Sanasto"/> -<gentext key="important" text="TÄRKEÄÄ"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Tärkeää"/> -<gentext key="index" text="Indeksi"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Yleisö"/> -<gentext key="msglevel" text="Taso"/> -<gentext key="msgorig" text="Alkuperä"/> -<gentext key="note" text="HUOMAA"/> -<gentext key="note" text="Huomaa"/> -<gentext key="part" text="Osa"/> -<gentext key="preface" text="Esipuhe"/> -<gentext key="procedure" text="Aliohjelma"/> -<gentext key="published" text="Julkaistu"/> -<gentext key="refname" text="Nimi"/> -<gentext key="reference" text="Lähdeluettelo"/> -<gentext key="revision" text="Versio"/> -<gentext key="revhistory" text="Versiohistoria"/> -<gentext key="section" text="Kohta"/> -<gentext key="see" text="Katso"/> -<gentext key="seealso" text="Katso myös"/> -<gentext key="set" text="Kokoelma"/> -<gentext key="setindex" text="Kokoelman indeksi"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Step"/> -<gentext key="tip" text="VIHJE"/> -<gentext key="table" text="Taulu"/> -<gentext key="tip" text="Vihje"/> -<gentext key="warning" text="VAROITUS"/> -<gentext key="warning" text="Varoitus"/> -<gentext key="appendix" text="liite"/> -<gentext key="chapter" text="luku"/> -<gentext key="section" text="kohta"/> -<gentext key="sidebar" text="sivupalkki"/> -<gentext key="step" text="step"/> -<gentext key="seealso" text="Katso myös"/> - -<gentext key="TableofContents" text="Sisällys"/> -<gentext key="in" text="teoksessa"/> -<gentext key="by" text=""/> -<gentext key="Edited" text="Toim."/> -<gentext key="Editedby" text="Toimittanut"/> -<gentext key="and" text="ja"/> -<gentext key="Notes" text=""/> -<gentext key="TableNotes" text=""/> -<gentext key="nonexistantelement" text="elementtiä ei ole olemassa"/> -<gentext key="Pgs" text="Sivut"/> -<gentext key="unsupported" text="ei tueta"/> -<gentext key="xrefto" text="xref johonkin"/> -<gentext key="unexpectedelementname" text="Odottamaton elementin nimi"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Luettelo tauluista"/> -<gentext key="ListofExamples" text="Luettelo esimerkeistä"/> -<gentext key="ListofFigures" text="Luettelo kuvista"/> -<gentext key="ListofEquations" text="Luettelo esimerkeistä"/> -<gentext key="ListofUnknown" text="Luettelo tuntemattomista"/> - -<gentext key="nav-prev" text="Edellinen"/> -<gentext key="nav-prev-sibling" text="Nopeasti taaksepäin"/> -<gentext key="nav-next-sibling" text="Nopeasti eteenpäin"/> -<gentext key="nav-next" text="Seuraava"/> -<gentext key="nav-up" text="Ylös"/> -<gentext key="nav-home" text="Alkuun"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/fr.xml b/docs/docbook/xslt/db2latex/common/fr.xml deleted file mode 100644 index bf53bc57d6..0000000000 --- a/docs/docbook/xslt/db2latex/common/fr.xml +++ /dev/null @@ -1,114 +0,0 @@ -<localization language="fr"> - -<gentext key="abstract" text="Résumé"/> -<gentext key="answer" text="R:"/> -<gentext key="appendix" text="annexe"/> -<gentext key="article" text="article"/> -<gentext key="bibliography" text="bibliographie"/> -<gentext key="book" text="Livre"/> -<gentext key="caution" text="Attention"/> -<gentext key="chapter" text="chapitre"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dédicace"/> -<gentext key="edition" text="Édition"/> -<gentext key="equation" text="Équation"/> -<gentext key="example" text="Exemple"/> -<gentext key="figure" text="figure"/> -<gentext key="formalpara" text="paragraphe"/> -<gentext key="glosssee" text="Voir"/> -<gentext key="glossseealso" text="Voir aussi"/> -<gentext key="glossary" text="Glossaire"/> -<gentext key="important" text="IMPORTANT"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Important"/> -<gentext key="index" text="Index"/> -<gentext key="keyword" text="Mot Clé"/> -<gentext key="keywords" text="Mots Clés"/> -<gentext key="keywordset" text="Mots Clés"/> -<gentext key="legalnotice" text="Note légale"/> -<gentext key="msgaud" text="Public visé"/> -<gentext key="msglevel" text="Niveau"/> -<gentext key="msgorig" text="Origine"/> -<gentext key="note" text="Note"/> -<gentext key="part" text="Partie"/> -<gentext key="preface" text="Préface"/> -<gentext key="procedure" text="Procédure"/> -<gentext key="published" text="Publié"/> -<gentext key="question" text="Q:"/> -<gentext key="refentry" text=""/> -<gentext key="refname" text="Nom"/> -<gentext key="refsection" text=""/> -<gentext key="reference" text="Référence"/> -<gentext key="revhistory" text="Historique des versions"/> -<gentext key="revision" text="Version"/> -<gentext key="section" text="section"/> -<gentext key="see" text="Voir"/> -<gentext key="seealso" text="Voir Aussi"/> -<gentext key="seealso" text="Voir aussi"/> -<gentext key="set" text="Ensemble"/> -<gentext key="setindex" text="Index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Étape"/> -<gentext key="tip" text="TUYAU"/> -<gentext key="table" text="Tableau"/> -<gentext key="tip" text="Tuyau"/> -<gentext key="warning" text="Avertissement"/> -<gentext key="appendix" text="annexe"/> -<gentext key="chapter" text="chapitre"/> -<gentext key="sidebar" text=""/> -<gentext key="section" text="section"/> -<gentext key="sect1" text="section"/> -<gentext key="sect2" text="section"/> -<gentext key="sect3" text="section"/> -<gentext key="sect4" text="section"/> -<gentext key="sect5" text="section"/> -<gentext key="step" text="étape"/> - -<gentext key="TableofContents" text="Table des matières"/> -<gentext key="in" text="dans"/> -<gentext key="by" text="par"/> -<gentext key="Edited" text="Publié"/> -<gentext key="Editedby" text="Publié par"/> -<gentext key="and" text="et"/> -<gentext key="Notes" text="Notes"/> -<gentext key="TableNotes" text="Remarques"/> -<gentext key="nonexistantelement" text="Cet élément n'existe pas"/> -<gentext key="Pgs" text="Pages"/> -<gentext key="unsupported" text="Non reconnu par le système"/> -<gentext key="xrefto" text="Référence vers"/> -<gentext key="unexpectedelementname" text="Nom d'élément non attendu"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Liste des tableaux"/> -<gentext key="ListofExamples" text="Liste des exemples"/> -<gentext key="ListofFigures" text="Liste des illustrations"/> -<gentext key="ListofEquations" text="Liste des équations"/> -<gentext key="ListofUnknown" text="Liste des inconnues"/> - -<gentext key="nav-prev" text="Précédent"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Suivant"/> -<gentext key="nav-up" text="Niveau supérieur"/> -<gentext key="nav-home" text="Sommaire"/> - - - -<gentext key="mathproposition" text="proposition"/> -<gentext key="mathlemma" text="lemme"/> -<gentext key="maththeorem" text="théorème"/> -<dingbat key="startquote" text="«"/> -<dingbat key="endquote" text="»"/> -<dingbat key="nestedstartquote" text="«"/> -<dingbat key="nestedendquote" text="»"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -<xref element="appendix" text="%g %n, %t"/> -</localization> diff --git a/docs/docbook/xslt/db2latex/common/hu.xml b/docs/docbook/xslt/db2latex/common/hu.xml deleted file mode 100644 index d37e06ff8a..0000000000 --- a/docs/docbook/xslt/db2latex/common/hu.xml +++ /dev/null @@ -1,94 +0,0 @@ -<localization language="hu"> - -<gentext key="abstract" text="Kivonat"/> -<gentext key="answer" text="V:"/> -<gentext key="appendix" text="Fűggelék"/> -<gentext key="article" text="Cikk"/> -<gentext key="bibliography" text="Irodalomjegyzék"/> -<gentext key="book" text="Kőnyv"/> -<gentext key="caution" text="Figyelem"/> -<gentext key="chapter" text="Fejezet"/> -<gentext key="colophon" text="Végszó"/> -<gentext key="copyright" text="Vࣩdjegy"/> -<gentext key="dedication" text="Ajánlás"/> -<gentext key="edition" text="Kiadás"/> -<gentext key="equation" text="Egyenlet"/> -<gentext key="example" text="Példa"/> -<gentext key="figure" text="Ábra"/> -<gentext key="glosssee" text="Lásd"/> -<gentext key="glossseealso" text="Lásd még"/> -<gentext key="glossary" text="Szójegyzék"/> -<gentext key="important" text="FONTOS"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Fontos"/> -<gentext key="index" text="Tárgymutató"/> -<gentext key="legalnotice" text="Jogi kőzlemény"/> -<gentext key="msgaud" text="Célkőzőnség"/> -<gentext key="msglevel" text="Szint"/> -<gentext key="msgorig" text="Eredet"/> -<gentext key="note" text="Megjegyzés"/> -<gentext key="part" text="Rész"/> -<gentext key="preface" text="Előszó"/> -<gentext key="procedure" text="Eljárás"/> -<gentext key="published" text="Megjelent"/> -<gentext key="question" text="K:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Referencia"/> -<gentext key="refname" text="Név"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Áttekintés"/> -<gentext key="revision" text="Verzió"/> -<gentext key="revhistory" text="Verziók tőrténete"/> -<gentext key="section" text="Szakasz"/> -<gentext key="see" text="Lásd"/> -<gentext key="seealso" text="Lásd még"/> -<gentext key="set" text="Set"/> <!-- en --> -<gentext key="setindex" text="Set Index"/> <!-- en --> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Lépés"/> -<gentext key="table" text="Táblázat"/> -<gentext key="tip" text="Tipp"/> -<gentext key="warning" text="Figyelem"/> - -<gentext key="TableofContents" text="Tartalom"/> -<gentext key="in" text=""/> -<gentext key="by" text=""/> -<gentext key="Edited" text="Szerk."/> -<gentext key="Editedby" text="Szerkesztette"/> -<gentext key="and" text="és"/> -<gentext key="Notes" text="Megjegyzések"/> -<gentext key="TableNotes" text="Megjegyzések"/> -<gentext key="nonexistantelement" text="nem létezo elem"/> -<gentext key="Pgs" text="Lsz."/> -<gentext key="unsupported" text="nem támogatott"/> -<gentext key="xrefto" text="keresztref:"/> -<gentext key="unexpectedelementname" text="Nem várt elemnév"/> -<gentext key="Revisedby" text="Megvizsgálva: "/> - -<gentext key="ListofTables" text="Táblázatok listája"/> -<gentext key="ListofExamples" text="Példák listája"/> -<gentext key="ListofFigures" text="Ábrák listája"/> -<gentext key="ListofEquations" text="Egyenletek listája"/> -<gentext key="ListofUnknown" text="Egyéb elemek listája"/> - -<gentext key="nav-prev" text="Vissza"/> -<gentext key="nav-prev-sibling" text="Gyors vissza"/> -<gentext key="nav-next-sibling" text="Gyors Tovább"/> -<gentext key="nav-next" text="Tovább"/> -<gentext key="nav-up" text="Fel"/> -<gentext key="nav-home" text="Tartalom"/> - -<dingbat key="startquote" text='“'/> -<dingbat key="endquote" text='”'/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%n %g %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/id.xml b/docs/docbook/xslt/db2latex/common/id.xml deleted file mode 100644 index f85b02154b..0000000000 --- a/docs/docbook/xslt/db2latex/common/id.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="id"> - -<gentext key="abstract" text="Abstrak"/> -<gentext key="answer" text="Jawab:"/> -<gentext key="appendix" text="Lampiran"/> -<gentext key="article" text="Artikel"/> -<gentext key="bibliography" text="Bibliografi"/> -<gentext key="book" text="Buku"/> -<gentext key="caution" text="PERHATIAN"/> -<gentext key="caution" text="Perhatian"/> -<gentext key="chapter" text="Bab"/> -<gentext key="colophon" text="Kolofon"/> -<gentext key="copyright" text="Hak Cipta"/> -<gentext key="dedication" text="Dedikasi"/> -<gentext key="edition" text="Edisi"/> -<gentext key="equation" text="Persamaan"/> -<gentext key="example" text="Teladan"/> -<gentext key="figure" text="Gambar"/> -<gentext key="glosssee" text="Lihat"/> -<gentext key="glossseealso" text="Lihat Juga"/> -<gentext key="glossary" text="Daftar Istilah"/> -<gentext key="important" text="PENTING"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Penting"/> -<gentext key="index" text="Indeks"/> -<gentext key="legalnotice" text="Aspek Hukum"/> -<gentext key="msgaud" text="Pemirsa"/> -<gentext key="msglevel" text="Tingkatan"/> -<gentext key="msgorig" text="Asal"/> -<gentext key="note" text="CATATAN"/> -<gentext key="note" text="Catatan"/> -<gentext key="part" text="Bagian"/> -<gentext key="preface" text="Kata Pengantar"/> -<gentext key="procedure" text="Prosedur"/> -<gentext key="published" text="Diterbitkan"/> -<gentext key="question" text="Tanya:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Referensi"/> -<gentext key="refname" text="Nama"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Sinopsis"/> -<gentext key="revision" text="Revisi"/> -<gentext key="revhistory" text="Catatan Revisi"/> -<gentext key="section" text="Bagian"/> -<gentext key="see" text="Lihat"/> -<gentext key="seealso" text="Lihat Juga"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Tahap"/> -<gentext key="tip" text="TIP"/> -<gentext key="table" text="Tabel"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="AWAS"/> -<gentext key="warning" text="Awas"/> -<gentext key="appendix" text="lampiran"/> -<gentext key="chapter" text="bab"/> -<gentext key="section" text="bagian"/> -<gentext key="sidebar" text="sidebar"/> -<gentext key="step" text="tahap"/> -<gentext key="seealso" text="Lihat juga"/> - -<gentext key="TableofContents" text="Daftar Isi"/> -<gentext key="in" text="di"/> -<gentext key="by" text="oleh"/> -<gentext key="Edited" text="disunting"/> -<gentext key="Editedby" text="disunting oleh"/> -<gentext key="and" text="dan"/> -<gentext key="Notes" text="Catatan"/> -<gentext key="TableNotes" text="Catatan"/> -<gentext key="nonexistantelement" text="elemen tak tampak"/> -<gentext key="Pgs" text="Hal."/> -<gentext key="unsupported" text="tidak didukung"/> -<gentext key="xrefto" text="xref ke"/> -<gentext key="unexpectedelementname" text="Nama Elemen seharusnya tidak ada"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Daftar Tabel"/> -<gentext key="ListofExamples" text="Daftar Teladan"/> -<gentext key="ListofFigures" text="Daftar Gambar"/> -<gentext key="ListofEquations" text="Daftar Persamaan"/> -<gentext key="ListofUnknown" text="Daftar Gaib"/> - -<gentext key="nav-prev" text="Prev"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Next"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<dingbat key="startquote" text='“'/> -<dingbat key="endquote" text='”'/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/it.xml b/docs/docbook/xslt/db2latex/common/it.xml deleted file mode 100644 index a7e1063ef4..0000000000 --- a/docs/docbook/xslt/db2latex/common/it.xml +++ /dev/null @@ -1,103 +0,0 @@ -<localization language="it"> -<!-- updates from camille@mandrakesoft.com --> - -<gentext key="abstract" text="Estratto"/> -<gentext key="appendix" text="Appendice"/> -<gentext key="article" text="Articolo"/> -<gentext key="audience" text="Pubblico"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Libro"/> -<gentext key="caution" text="CAUTELA"/> -<gentext key="caution" text="Cautela"/> -<gentext key="chapter" text="Capitolo"/> -<gentext key="colophon" text="Colophon"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedica"/> -<gentext key="edition" text="Edizione"/> -<gentext key="equation" text="Equazione"/> -<gentext key="example" text="Esempio"/> -<gentext key="figure" text="Figura"/> -<gentext key="glossary" text="Glossario"/> -<gentext key="glosssee" text="Vedi"/> -<gentext key="glossseealso" text="Vedi anche"/> -<gentext key="important" text="IMPORTANTE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Importante"/> -<gentext key="index" text="Indice"/> -<gentext key="legalnotice" text="Note legali"/> -<gentext key="level" text="Livello"/> -<gentext key="note" text="NOTA"/> -<gentext key="name" text="Nome"/> -<gentext key="note" text="Nota"/> -<gentext key="origin" text="Origine"/> -<gentext key="part" text="Parte"/> -<gentext key="preface" text="Prefazione"/> -<gentext key="procedure" text="Procedura"/> -<gentext key="published" text="Pubblicato"/> -<gentext key="reference" text="Riferimento"/> -<gentext key="revision" text="Revisione"/> -<gentext key="history" text="Diario"/> -<gentext key="refsynopsisdiv" text="Sinossi"/> -<gentext key="revisionhistory" text="Diario delle revisioni"/> -<gentext key="section" text="Sezione"/> -<gentext key="see" text="Vd."/> -<gentext key="seealso" text="Vd. Anche"/> -<gentext key="seealso" text="Vd. anche"/> -<gentext key="set" text="Raccolta"/> -<gentext key="setindex" text="Indice Raccolta"/> -<gentext key="sidebar" text="Nota a margine"/> -<gentext key="step" text="Passaggio"/> -<gentext key="tip" text="SUGGERIMENTO"/> -<gentext key="table" text="Tabella"/> -<gentext key="tip" text="Suggerimento"/> -<gentext key="warning" text="ATTENZIONE"/> -<gentext key="warning" text="Attenzione"/> -<gentext key="appendix" text="appendice"/> -<gentext key="chapter" text="capitolo"/> -<gentext key="section" text="sezione"/> -<gentext key="step" text="passaggio"/> - -<gentext key="TableofContents" text="Sommario"/> -<gentext key="called" text="intitolato"/> -<gentext key="in" text="in"/> -<gentext key="by" text="di"/> -<gentext key="Edited" text="A cura"/> -<gentext key="Editedby" text="A cura di"/> -<gentext key="and" text="e"/> -<gentext key="Notes" text="Note"/> -<gentext key="TableNotes" text="Note"/> -<gentext key="nonexistantelement" text="elemento non esistente"/> -<gentext key="the" text="il"/> -<gentext key="Pgs" text="pp."/> -<gentext key="unsupported" text="non supportato"/> -<gentext key="xrefto" text="riferimento a"/> -<gentext key="unexpectedelementname" text="Nome elemento inaspettato"/> -<gentext key="Revisedby" text="Modificato da:"/> - -<gentext key="ListofTables" text="Lista delle Tabelle"/> -<gentext key="ListofExamples" text="Lista degli Esempi"/> -<gentext key="ListofFigures" text="Lista delle Figure"/> -<gentext key="ListofEquations" text="Lista delle Equazioni"/> -<gentext key="ListofUnknown" text="Lista Sconosciuti"/> - -<gentext key="nav-prev" text="Indietro"/> -<gentext key="nav-prev-sibling" text="Salta indietro"/> -<gentext key="nav-next-sibling" text="Salta avanti"/> -<gentext key="nav-next" text="Avanti"/> -<gentext key="nav-up" text="Risali"/> -<gentext key="nav-home" text="Partenza"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/ja.xml b/docs/docbook/xslt/db2latex/common/ja.xml deleted file mode 100644 index 9180e8e186..0000000000 --- a/docs/docbook/xslt/db2latex/common/ja.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="ja"> - -<!-- -;; Contributors: -;; Karl Critz, kcritz@mathworks.com, contributed the original dbl1ja.ent file -;; Ralf Schleitzer, ralf.schleitzer@ixos.de ---> - -<gentext key="abstract" text="概要"/> -<gentext key="appendix" text="付録"/> -<gentext key="article" text="項目"/> -<gentext key="bibliography" text="参考文献"/> -<gentext key="book" text="ブック"/> -<gentext key="caution" text="注意"/> -<gentext key="caution" text="注意"/> -<gentext key="chapter" text="章"/> -<gentext key="copyright" text="製作著作"/> -<gentext key="dedication" text="謝辞"/> -<gentext key="edition" text="編集"/> -<gentext key="equation" text="式"/> -<gentext key="example" text="例"/> -<gentext key="figure" text="図"/> -<gentext key="glosssee" text="参考"/> -<gentext key="glossseealso" text="参考"/> -<gentext key="glossary" text="用語集"/> -<gentext key="important" text="重要項目"/> -<gentext key="isbn" text="䥓䉎"/> -<gentext key="important" text="重要項目"/> -<gentext key="index" text="目次"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="䅵摩敮捥"/> -<gentext key="msglevel" text="レベル"/> -<gentext key="msgorig" text="オリジナル"/> -<gentext key="note" text="注意"/> -<gentext key="note" text="注意"/> -<gentext key="part" text="パート"/> -<gentext key="preface" text="序文"/> -<gentext key="procedure" text="手順"/> -<gentext key="published" text="発行"/> -<gentext key="refname" text="名前"/> -<gentext key="reference" text="参考"/> -<gentext key="revision" text="改訂"/> -<gentext key="revhistory" text="改訂履歴"/> -<gentext key="section" text="節"/> -<gentext key="see" text="参考"/> -<gentext key="seealso" text="参考"/> -<gentext key="set" text="設定"/> -<gentext key="setindex" text="目次設定"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="ステップ"/> -<gentext key="tip" text="ティップ"/> -<gentext key="table" text="表"/> -<gentext key="tip" text="ティップ"/> -<gentext key="warning" text="警告"/> -<gentext key="warning" text="警告"/> -<gentext key="appendix" text="付録"/> -<gentext key="chapter" text="章"/> -<gentext key="section" text="節"/> -<gentext key="sidebar" text="サイドバー"/> -<gentext key="step" text="ステップ"/> -<gentext key="seealso" text="参考"/> - -<gentext key="TableofContents" text="目次"/> -<gentext key="in" text="日付"/> -<gentext key="by" text=":"/> -<gentext key="Edited" text="作者"/> -<gentext key="Editedby" text="26䕤楴㬠♢礻"/> -<gentext key="and" text="、"/> -<gentext key="Notes" text="注意"/> -<gentext key="TableNotes" text="注意"/> -<gentext key="nonexistantelement" text="要素が存在しません"/> -<gentext key="Pgs" text="偧献"/> -<gentext key="unsupported" text="サポートしません"/> -<gentext key="xrefto" text="78牥映瑯"/> -<gentext key="unexpectedelementname" text="不明な要素名"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="表リスト"/> -<gentext key="ListofExamples" text="例題リスト"/> -<gentext key="ListofFigures" text="Figureリスト"/> -<gentext key="ListofEquations" text="式リスト"/> -<gentext key="ListofUnknown" text="不明リスト"/> - -<gentext key="nav-prev" text="前のページ"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="次のページ"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/ko.xml b/docs/docbook/xslt/db2latex/common/ko.xml deleted file mode 100644 index 06dd7cb217..0000000000 --- a/docs/docbook/xslt/db2latex/common/ko.xml +++ /dev/null @@ -1,96 +0,0 @@ -<localization language="ko"> - -<!-- ;; by Park Yong Joo (yongjoo@kldp.org) --> - -<gentext key="abstract" text="초록"/> -<gentext key="answer" text="답변:"/> -<gentext key="appendix" text="부록"/> -<gentext key="article" text="문서"/> -<gentext key="bibliography" text="서지사항"/> -<gentext key="book" text="책"/> -<gentext key="caution" text="경고!"/> -<gentext key="chapter" text=""/> -<gentext key="colophon" text="판권"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="바치는 글"/> -<gentext key="edition" text="개정판"/> -<gentext key="equation" text="수식"/> -<gentext key="example" text="예"/> -<gentext key="figure" text="그림"/> -<gentext key="glosssee" text="살펴볼 내용"/> -<gentext key="glossseealso" text="다른 살펴볼 내용"/> -<gentext key="glossary" text="용어해설"/> -<gentext key="important" text="[중요]"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="중요"/> -<gentext key="index" text="색인"/> -<gentext key="legalnotice" text="법적 공지"/> -<gentext key="msgaud" text="듣기"/> -<gentext key="msglevel" text="레벨"/> -<gentext key="msgorig" text="원천"/> -<gentext key="note" text="참고"/> -<gentext key="part" text="부분"/> -<gentext key="preface" text="서문"/> -<gentext key="procedure" text="순서"/> -<gentext key="published" text="출판"/> -<gentext key="question" text="답변:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="참고문헌"/> -<gentext key="refname" text="제목"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="요약"/> -<gentext key="revision" text="교정"/> -<gentext key="revhistory" text="교정 과정"/> -<gentext key="section" text=""/> -<gentext key="see" text="살펴볼 내용"/> -<gentext key="seealso" text="[살펴볼 다른 내용]"/> -<gentext key="set" text="전집"/> -<gentext key="setindex" text="전집 색인"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="단계"/> -<gentext key="table" text="표"/> -<gentext key="tip" text="작은 정보"/> -<gentext key="warning" text="주의"/> - -<gentext key="TableofContents" text="차례"/> -<gentext key="in" text="-"/> -<gentext key="by" text="글쓴이 : "/> -<gentext key="Edited" text="편집"/> -<gentext key="Editedby" text="편집 : "/> -<gentext key="and" text="그리고"/> -<gentext key="Notes" text="주석"/> -<gentext key="TableNotes" text="참고"/> -<gentext key="nonexistantelement" text="존재하지 않는 기초요소입니다"/> -<gentext key="Pgs" text="Pgs."/> -<gentext key="unsupported" text="지원되지 않습니다"/> -<gentext key="xrefto" text="이 곳을 참조하세요 : "/> -<gentext key="unexpectedelementname" text="알 수 없는 기초요소 이름입니다"/> -<gentext key="Revisedby" text="교정 : "/> - -<gentext key="ListofTables" text="표 목록"/> -<gentext key="ListofExamples" text="예 목록"/> -<gentext key="ListofFigures" text="그림 목록"/> -<gentext key="ListofEquations" text="수식 목록"/> -<gentext key="ListofUnknown" text="기타 목록"/> - -<gentext key="nav-prev" text="Prev"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Next"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<dingbat key="startquote" text='“'/> -<dingbat key="endquote" text='”'/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/l10n.dtd b/docs/docbook/xslt/db2latex/common/l10n.dtd deleted file mode 100644 index 0336baf208..0000000000 --- a/docs/docbook/xslt/db2latex/common/l10n.dtd +++ /dev/null @@ -1,25 +0,0 @@ -<!ELEMENT internationalization (localization+)> - -<!ELEMENT localization (gentext|dingbat|xref)*> -<!ATTLIST localization - 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 xref EMPTY> -<!ATTLIST xref - element CDATA #REQUIRED - text CDATA #REQUIRED -> - diff --git a/docs/docbook/xslt/db2latex/common/l10n.xml b/docs/docbook/xslt/db2latex/common/l10n.xml deleted file mode 100644 index a7ef90e905..0000000000 --- a/docs/docbook/xslt/db2latex/common/l10n.xml +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE internationalization SYSTEM "l10n.dtd" [ -<!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 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 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 sv SYSTEM "sv.xml"> -<!ENTITY zh_cn SYSTEM "zh_cn.xml"> -<!ENTITY zh_tw SYSTEM "zh_tw.xml"> -]> -<internationalization> -&ca; -&cs; -&da; -&de; -⪙ -&en; -&es; -&et; -&fi; -&fr; -&hu; -&id; -⁢ -&ja; -&ko; -&nl; -&no; -&pl; -&pt; -&pt_br; -&ro; -&ru; -&sk; -&sl; -&sv; -&zh_cn; -&zh_tw; -</internationalization> diff --git a/docs/docbook/xslt/db2latex/common/l10n.xsl b/docs/docbook/xslt/db2latex/common/l10n.xsl deleted file mode 100644 index a8b526fc60..0000000000 --- a/docs/docbook/xslt/db2latex/common/l10n.xsl +++ /dev/null @@ -1,248 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version='1.0'> - -<!-- ******************************************************************** - ******************************************************************** - - Derived from the official XSL DocBook Stylesheet distribution. - See 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="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: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:template> - -<xsl:template name="gentext.xref.text"> - <xsl:param name="element.name" select="name(.)"/> - <xsl:param name="default"></xsl:param> - <xsl:param name="lang"> - <xsl:call-template name="l10n.language"/> - </xsl:param> - - <xsl:variable name="l10n.text"> - <xsl:value-of select="($l10n.xml/internationalization/localization[@language=$lang]/xref[@element=$element.name])[1]/@text"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$l10n.text=''"> - <xsl:choose> - <xsl:when test="$default=''"> - <xsl:message> - <xsl:text>No "</xsl:text> - <xsl:value-of select="$lang"/> - <xsl:text>" cross reference text for "</xsl:text> - <xsl:value-of select="$element.name"/> - <xsl:text>" exists and no default specified.</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$default"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$l10n.text"/> - </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="l10n.gentext" - select="($l10n.xml/internationalization/localization[@language=$lang]/gentext[@key=$key])[1]"/> - - <xsl:variable name="l10n.name"> - <xsl:value-of select="$l10n.gentext/@text"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="count($l10n.gentext)=0"> - <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; using "en".</xsl:text> - </xsl:message> - - <xsl:value-of select="($l10n.xml/internationalization/localization[@language='en']/gentext[@key=$key])[1]/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$l10n.name"/> - </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.element.name"> - <xsl:with-param name="element.name">Editedby</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.by"> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">by</xsl:with-param> - </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="l10n.dingbat"> - <xsl:value-of select="($l10n.xml/internationalization/localization[@language=$lang]/dingbat[@key=$dingbat])[1]/@text"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$l10n.dingbat=''"> - <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/internationalization/localization[@language='en']/dingbat[@key=$dingbat])[1]/@text"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$l10n.dingbat"/> - </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.element.name"> - <xsl:with-param name="element.name">nav-prev</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.next"> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">nav-next</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.home"> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">nav-home</xsl:with-param> - </xsl:call-template> -</xsl:template> - -<xsl:template name="gentext.nav.up"> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">nav-up</xsl:with-param> - </xsl:call-template> -</xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/common/nl.xml b/docs/docbook/xslt/db2latex/common/nl.xml deleted file mode 100644 index 56ead54d30..0000000000 --- a/docs/docbook/xslt/db2latex/common/nl.xml +++ /dev/null @@ -1,105 +0,0 @@ -<localization language="nl"> - -<!-- Updated by Frederik Fouvry, fouvry@essex.ac.uk --> -<!-- Vincent Partington, vincent.partington@graddelt.com --> -<!-- Updated by Erwin Bolwidt, ejb@tryllian.com, august 2000 --> - -<gentext key="abstract" text="Overzicht"/> -<gentext key="answer" text="A:"/> -<gentext key="appendix" text="Aanhangsel"/> -<gentext key="article" text="Artikel"/> -<gentext key="bibliography" text="Bibliografie"/> -<gentext key="book" text="Boek"/> -<gentext key="caution" text="Waarschuwing"/> -<gentext key="chapter" text="Hoofdstuk"/> -<gentext key="colophon" text="Colofon"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Opdracht"/> -<gentext key="edition" text="Uitgave"/> -<gentext key="equation" text="Vergelijking"/> -<gentext key="example" text="Voorbeeld"/> -<gentext key="figure" text="Figuur"/> -<gentext key="glossary" text="Woordenlijst"/> -<gentext key="glosssee" text="Zie"/> -<gentext key="glossseealso" text="Zie ook"/> -<gentext key="important" text="Belangrijk"/> -<gentext key="index" text="Index"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="legalnotice" text="Juridische mededeling"/> -<gentext key="msgaud" text="Doelgroep"/> -<gentext key="msglevel" text="Ernst"/> -<gentext key="msgorig" text="Afkomst"/> -<gentext key="note" text="N.B."/> -<gentext key="part" text="Deel"/> -<gentext key="preface" text="Inleiding"/> -<gentext key="procedure" text="Procedure"/> -<gentext key="published" text="Gepubliceerd"/> -<gentext key="pubdate" text="Gepubliceerd"/> -<gentext key="question" text="V:"/> -<gentext key="refentry" text="Referentielemma"/> -<gentext key="reference" text="Referentie"/> -<gentext key="refname" text="Referentienaam"/> -<gentext key="refsection" text="Referentieparagraaf"/> -<gentext key="refsynopsisdiv" text="Samenvatting"/> -<gentext key="revhistory" text="Revisie verloop"/> -<gentext key="revision" text="Revisie"/> -<gentext key="section" text="Sectie"/> -<gentext key="sect1" text="Sectie"/> -<gentext key="sect2" text="Sectie"/> -<gentext key="sect3" text="Sectie"/> -<gentext key="sect4" text="Sectie"/> -<gentext key="sect5" text="Sectie"/> -<gentext key="see" text="Zie"/> -<gentext key="seealso" text="Zie ook"/> -<gentext key="set" text="Verzameling"/> -<gentext key="setindex" text="Hoofdindex"/> -<gentext key="sidebar" text="Excursie"/> -<gentext key="step" text="Stap"/> -<gentext key="table" text="Tabel"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="Waarschuwing"/> - -<gentext key="TableofContents" text="Inhoudsopgave"/> -<gentext key="in" text="in"/> -<gentext key="by" text="door"/> -<gentext key="Edited" text="Redactie"/> -<gentext key="Editedby" text="Redactie door"/> -<gentext key="and" text="en"/> -<gentext key="Notes" text="Opmerkingen"/> -<gentext key="TableNotes" text="Opmerkingen"/> -<gentext key="nonexistantelement" text="niet-bestaand element"/> -<gentext key="Pgs" text="blz."/> -<gentext key="unsupported" text="niet ondersteund"/> -<gentext key="xrefto" text="verwijzing naar"/> -<gentext key="unexpectedelementname" text="Onverwachte naam van element"/> -<gentext key="Revisedby" text="Herzien door:"/> - -<gentext key="ListofTables" text="Lijst van Tabellen"/> -<gentext key="ListofExamples" text="Lijst van Voorbeelden"/> -<gentext key="ListofFigures" text="Lijst van Figuren"/> -<gentext key="ListofEquations" text="Lijst van Vergelijkingen"/> -<gentext key="ListofUnknown" text="Lijst van Onbekends"/> - -<gentext key="nav-prev" text="Vorige"/> -<gentext key="nav-prev-sibling" text="Snel terug"/> -<gentext key="nav-next-sibling" text="Snel vooruit"/> -<gentext key="nav-next" text="Volgende"/> -<gentext key="nav-up" text="Omhoog"/> -<gentext key="nav-home" text="Begin"/> - -<gentext key="the section called" text="de sectie genaamd"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="preface" text="%t"/> -<xref element="bibliography" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/no.xml b/docs/docbook/xslt/db2latex/common/no.xml deleted file mode 100644 index b3aba44fde..0000000000 --- a/docs/docbook/xslt/db2latex/common/no.xml +++ /dev/null @@ -1,97 +0,0 @@ -<localization language="no"> - -<gentext key="abstract" text="Abstract"/> -<gentext key="appendix" text="Tillegg"/> -<gentext key="article" text=""/> -<gentext key="bibliography" text="Bibliografi"/> -<gentext key="book" text=""/> -<gentext key="caution" text="OBS"/> -<gentext key="caution" text="Obs"/> -<gentext key="chapter" text="Kapittel"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedikasjon"/> -<gentext key="edition" text=""/> -<gentext key="equation" text="Formel"/> -<gentext key="example" text="Eksempel"/> -<gentext key="figure" text="Figur"/> -<gentext key="glosssee" text="Se"/> -<gentext key="glossseealso" text="Se Også"/> -<gentext key="glossary" text="Ordliste"/> -<gentext key="important" text="VIKTIG"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Viktig"/> -<gentext key="index" text="Indeks"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Publikum"/> -<gentext key="msglevel" text="Nivå"/> -<gentext key="msgorig" text="Opphav"/> -<gentext key="note" text="NOTAT"/> -<gentext key="note" text="Notat"/> -<gentext key="part" text="Del"/> -<gentext key="preface" text="Forord"/> -<gentext key="procedure" text="Prosedyre"/> -<gentext key="published" text=""/> -<gentext key="refname" text="Navn"/> -<gentext key="reference" text="Referanse"/> -<gentext key="revision" text="Revisjon"/> -<gentext key="revhistory" text="Revisjonshistorie"/> -<gentext key="section" text="Seksjon"/> -<gentext key="see" text="Se"/> -<gentext key="seealso" text="Se Også"/> -<gentext key="set" text=""/> -<gentext key="setindex" text="Indeks"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Steg"/> -<gentext key="tip" text="TIPS"/> -<gentext key="table" text="Tabell"/> -<gentext key="tip" text="Tips"/> -<gentext key="warning" text="ADVARSEL"/> -<gentext key="warning" text="Advarsel"/> -<gentext key="appendix" text="Tillegg"/> -<gentext key="chapter" text="Kapittel"/> -<gentext key="section" text="seksjon"/> -<gentext key="step" text="steg"/> -<gentext key="seealso" text="Se også"/> - -<gentext key="TableofContents" text="Innholdsfortegnelse"/> -<gentext key="in" text="i"/> -<gentext key="by" text="av"/> -<gentext key="Edited" text="Redigert"/> -<gentext key="Editedby" text="Redigert av"/> -<gentext key="and" text="og"/> -<gentext key="Notes" text="Sluttnotater"/> -<gentext key="TableNotes" text="Notater"/> -<gentext key="nonexistantelement" text="ikke-eksisterende element"/> -<gentext key="Pgs" text="Sdr."/> -<gentext key="unsupported" text="ikke st⊘ttet"/> -<gentext key="xrefto" text="xref til"/> -<gentext key="unexpectedelementname" text="UVENTET-ELEMENTNAVN"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Tabelloversikt"/> -<gentext key="ListofExamples" text="Eksempeloversikt"/> -<gentext key="ListofFigures" text="Figuroversikt"/> -<gentext key="ListofEquations" text="Formeloversikt"/> -<gentext key="ListofUnknown" text="???-oversikt"/> - -<gentext key="nav-prev" text="Forrige"/> -<gentext key="nav-prev-sibling" text="Raskt Bakover"/> -<gentext key="nav-next-sibling" text="Raskt Fremover"/> -<gentext key="nav-next" text="Neste"/> -<gentext key="nav-up" text="Opp"/> -<gentext key="nav-home" text="Hjem"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/pl.xml b/docs/docbook/xslt/db2latex/common/pl.xml deleted file mode 100644 index 8582bbebe8..0000000000 --- a/docs/docbook/xslt/db2latex/common/pl.xml +++ /dev/null @@ -1,96 +0,0 @@ -<localization language="pl"> - -<gentext key="abstract" text="Abstrakt"/> -<gentext key="appendix" text="Dodatek"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Book"/> -<gentext key="caution" text="PRZYPADEK"/> -<gentext key="caution" text="Przypadek"/> -<gentext key="chapter" text="Rozdzia³"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedykacja"/> -<gentext key="edition" text="Wydanie"/> -<gentext key="equation" text="Równanie"/> -<gentext key="example" text="Przyk³ad"/> -<gentext key="figure" text="Rysunek"/> -<gentext key="glosssee" text="Patrz"/> -<gentext key="glossseealso" text="Patrz te¿"/> -<gentext key="glossary" text="Glossary"/> -<gentext key="important" text="WA¯NE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="WA¯NE"/> -<gentext key="index" text="Indeks"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Odbiorcy"/> -<gentext key="msglevel" text="Poziom"/> -<gentext key="msgorig" text="Nadawca"/> -<gentext key="note" text="NOTATKA"/> -<gentext key="note" text="Notatka"/> -<gentext key="part" text="Czê¶æ"/> -<gentext key="preface" text="Przedmowa"/> -<gentext key="procedure" text="Procedura"/> -<gentext key="published" text="Data wydania"/> -<gentext key="refname" text="Nazwa"/> -<gentext key="reference" text="Materia³y ¼ród³owe"/> -<gentext key="revision" text="Zmiana"/> -<gentext key="revhistory" text="Historia zmian"/> -<gentext key="section" text="Sekcja"/> -<gentext key="see" text="Patrz"/> -<gentext key="seealso" text="Patrz Te¿"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Indeks"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="krok"/> -<gentext key="tip" text="Podpowied¼"/> -<gentext key="table" text="Tabela"/> -<gentext key="tip" text="Podpowied¼"/> -<gentext key="warning" text="Ostrze¿enie"/> -<gentext key="warning" text="Ostrze¿enie"/> -<gentext key="appendix" text="dodatek"/> -<gentext key="chapter" text="rozdzia³"/> -<gentext key="section" text="sekcja"/> -<gentext key="step" text="krok"/> -<gentext key="seealso" text="Patrz te¿"/> - -<gentext key="TableofContents" text="Spis tre¶ci"/> -<gentext key="in" text="w"/> -<gentext key="by" text=""/> -<gentext key="Editedby" text="Redakcja: "/> -<gentext key="and" text="i"/> -<gentext key="Notes" text="Przypisy"/> -<gentext key="TableNotes" text="Przypisy"/> -<gentext key="nonexistantelement" text="nie istniej±cy element"/> -<gentext key="Pgs" text="stron"/> -<gentext key="unsupported" text="nie wspierany"/> -<gentext key="xrefto" text="xref to"/> -<gentext key="unexpectedelementname" text="Unexpected element name"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Spis tabel"/> -<gentext key="ListofExamples" text="Spis przyk³adów"/> -<gentext key="ListofFigures" text="Spis rysunków"/> -<gentext key="ListofEquations" text="Spis równañ"/> -<gentext key="ListofUnknown" text="Spis ???"/> - -<gentext key="nav-prev" text="Poprzedni"/> -<gentext key="nav-prev-sibling" text="Poprzedni rozdzia³"/> -<gentext key="nav-next-sibling" text="Nastêpny rozdzia³"/> -<gentext key="nav-next" text="Nastêpny"/> -<gentext key="nav-up" text="Pocz±tek rozdzia³u"/> -<gentext key="nav-home" text="Spis tre¶ci"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/pt.xml b/docs/docbook/xslt/db2latex/common/pt.xml deleted file mode 100644 index af0c22f4b4..0000000000 --- a/docs/docbook/xslt/db2latex/common/pt.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="pt"> - -<gentext key="abstract" text="Resumo"/> -<gentext key="appendix" text="Apêndice"/> -<gentext key="article" text="Article"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Book"/> -<gentext key="caution" text="CAUTELA"/> -<gentext key="caution" text="Cautela"/> -<gentext key="chapter" text="Capítulo"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedicatória"/> -<gentext key="edition" text="Edição"/> -<gentext key="equation" text="Equação"/> -<gentext key="example" text="Exemplo"/> -<gentext key="figure" text="Figura"/> -<gentext key="glosssee" text="Ver"/> -<gentext key="glossseealso" text="Ver Também"/> -<gentext key="glossary" text="Glossario"/> -<gentext key="important" text="IMPORTANTE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Importante"/> -<gentext key="index" text="Index"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text="Audiência"/> -<gentext key="msglevel" text="Nível"/> -<gentext key="msgorig" text="Origem"/> -<gentext key="note" text="NOTA"/> -<gentext key="note" text="Nota"/> -<gentext key="part" text="Parte"/> -<gentext key="preface" text="Prefácio"/> -<gentext key="procedure" text="Procedimento"/> -<gentext key="pubdate" text="Editado"/> -<gentext key="published" text="Published"/> -<gentext key="refname" text="Nome"/> -<gentext key="reference" text="Referência"/> -<gentext key="revision" text="Revisão"/> -<gentext key="revhistory" text="Hitorial de Revisões"/> -<gentext key="section" text="Secção"/> -<gentext key="see" text="Ver"/> -<gentext key="seealso" text="Ver Também"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text="Sidebar"/> -<gentext key="step" text="Passo"/> -<gentext key="tip" text="DICA"/> -<gentext key="table" text="Tabela"/> -<gentext key="tip" text="Dica"/> -<gentext key="warning" text="ATENÇÃO"/> -<gentext key="warning" text="Atenção"/> -<gentext key="appendix" text="apêndice"/> -<gentext key="chapter" text="capítulo"/> -<gentext key="section" text="secção"/> -<gentext key="step" text="passo"/> -<gentext key="seealso" text="ver também"/> - -<gentext key="TableofContents" text="Índice"/> -<gentext key="in" text=""/> -<gentext key="by" text="por"/> -<gentext key="Edited" text="Editado"/> -<gentext key="Editedby" text="Editado por"/> -<gentext key="and" text="e"/> -<gentext key="Notes" text="Notas"/> -<gentext key="TableNotes" text="Notas"/> -<gentext key="nonexistantelement" text="non-existant element"/> -<gentext key="Pgs" text="Páginas"/> -<gentext key="unsupported" text="unsupported"/> -<gentext key="xrefto" text="xref to"/> -<gentext key="unexpectedelementname" text="Unexpected element name"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Lista de Tabelas"/> -<gentext key="ListofExamples" text="Lista de Exemplos"/> -<gentext key="ListofFigures" text="Lista de Figuras"/> -<gentext key="ListofEquations" text="Lista de Equações"/> -<gentext key="ListofUnknown" text="List of ???"/> - -<gentext key="nav-prev" text="Prev"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Next"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/pt_br.xml b/docs/docbook/xslt/db2latex/common/pt_br.xml deleted file mode 100644 index cf63d1ebf2..0000000000 --- a/docs/docbook/xslt/db2latex/common/pt_br.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="pt_br"> - -<gentext key="abstract" text="Resumo"/> -<gentext key="appendix" text="Apêndice"/> -<gentext key="article" text="Artigo"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Livro"/> -<gentext key="caution" text="CUIDADO"/> -<gentext key="caution" text="Cuidado"/> -<gentext key="chapter" text="Capítulo"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedicatória"/> -<gentext key="edition" text="Edição"/> -<gentext key="equation" text="Equação"/> -<gentext key="example" text="Exemplo"/> -<gentext key="figure" text="Figura"/> -<gentext key="glosssee" text="Ver"/> -<gentext key="glossseealso" text="Ver Também"/> -<gentext key="glossary" text="Glossário"/> -<gentext key="important" text="IMPORTANTE"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Importante"/> -<gentext key="index" text="Índice Remissivo"/> -<gentext key="legalnotice" text="Nota Legal"/> -<gentext key="msgaud" text="Audiência"/> -<gentext key="msglevel" text="Nível"/> -<gentext key="msgorig" text="Origem"/> -<gentext key="note" text="NOTA"/> -<gentext key="note" text="Nota"/> -<gentext key="part" text="Parte"/> -<gentext key="preface" text="Prefácio"/> -<gentext key="procedure" text="Procedimento"/> -<gentext key="pubdate" text="Data de Publicação"/> -<gentext key="published" text="Publicado"/> -<gentext key="refname" text="Nome"/> -<gentext key="reference" text="Referência"/> -<gentext key="revision" text="Revisão"/> -<gentext key="revhistory" text="Histórico de Revisões"/> -<gentext key="section" text="Secção"/> -<gentext key="see" text="Ver"/> -<gentext key="seealso" text="Ver Também"/> -<gentext key="set" text="Conjunto"/> -<gentext key="setindex" text="Índice do Conjunto"/> -<gentext key="sidebar" text="Quadro Lateral"/> -<gentext key="step" text="Passo"/> -<gentext key="tip" text="DICA"/> -<gentext key="table" text="Tabela"/> -<gentext key="tip" text="Dica"/> -<gentext key="warning" text="ATENÇÃO"/> -<gentext key="warning" text="Atenção"/> -<gentext key="appendix" text="apêndice"/> -<gentext key="chapter" text="capítulo"/> -<gentext key="section" text="secção"/> -<gentext key="step" text="passo"/> -<gentext key="seealso" text="ver também"/> - -<gentext key="TableofContents" text="Índice"/> -<gentext key="in" text=""/> -<gentext key="by" text="por"/> -<gentext key="Edited" text="Editado"/> -<gentext key="Editedby" text="Editado por"/> -<gentext key="Revisedby" text="Revised by: "/> <!-- en --> -<gentext key="and" text="e"/> -<gentext key="Notes" text="Notas"/> -<gentext key="TableNotes" text="Notas"/> -<gentext key="nonexistantelement" text="elemento inexistente"/> -<gentext key="Pgs" text="Páginas"/> -<gentext key="unsupported" text="não suportado"/> -<gentext key="xrefto" text="referência para"/> -<gentext key="unexpectedelementname" text="Nome de elemento inesperado"/> - -<gentext key="ListofTables" text="Lista de Tabelas"/> -<gentext key="ListofExamples" text="Lista de Exemplos"/> -<gentext key="ListofFigures" text="Lista de Figuras"/> -<gentext key="ListofEquations" text="Lista de Equações"/> -<gentext key="ListofUnknown" text="Lista de ???"/> - -<gentext key="nav-prev" text="Anterior"/> -<gentext key="nav-prev-sibling" text="Início"/> -<gentext key="nav-next-sibling" text="Fim"/> -<gentext key="nav-next" text="Próxima"/> -<gentext key="nav-up" text="Acima"/> -<gentext key="nav-home" text="Principal"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/ro.xml b/docs/docbook/xslt/db2latex/common/ro.xml deleted file mode 100644 index a59ffd8217..0000000000 --- a/docs/docbook/xslt/db2latex/common/ro.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="ro"> - -<gentext key="abstract" text="Rezumat"/> -<gentext key="appendix" text="Anexa"/> -<gentext key="article" text="Articol"/> -<gentext key="bibliography" text="Bibliografie"/> -<gentext key="book" text="Carte"/> -<gentext key="caution" text="ATENÞIE"/> -<gentext key="caution" text="Atenþie"/> -<gentext key="chapter" text="Cap."/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedicaþie"/> -<gentext key="edition" text="Ediþie"/> -<gentext key="equation" text="ecuaþia"/> -<gentext key="example" text="Exemplu"/> -<gentext key="figure" text="Fig."/> -<gentext key="glossary" text="Glosar"/> -<gentext key="glosssee" text="Vezi"/> -<gentext key="glossseealso" text="Vezi şi"/> -<gentext key="important" text="IMPORTANT"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Important"/> -<gentext key="index" text="Index"/> -<gentext key="legalnotice" text=""/> -<gentext key="msgaud" text=""/> -<gentext key="msglevel" text="Nivel"/> -<gentext key="msgorig" text="Origine"/> -<gentext key="note" text="NOTÃ"/> -<gentext key="note" text="Notã"/> -<gentext key="refname" text="Nume"/> -<gentext key="note" text="Notã"/> -<gentext key="part" text="Parte"/> -<gentext key="preface" text="Prefaþã"/> -<gentext key="procedure" text="Procedurã"/> -<gentext key="published" text="Publicat"/> -<gentext key="reference" text="Referinþã"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Referinþã"/> -<gentext key="refname" text="Name"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Rezumat"/> -<gentext key="revision" text="Versiune"/> -<gentext key="revhistory" text="Istoricul versiunilor"/> -<gentext key="section" text="Secþiune"/> -<gentext key="see" text="Vezi"/> -<gentext key="seealso" text="Vezi şi"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Operaþie"/> -<gentext key="tip" text="INDICAÞIE"/> -<gentext key="table" text="Tabel"/> -<gentext key="tip" text="Indicaþie"/> -<gentext key="warning" text="AVERTISMENT"/> -<gentext key="warning" text="Avertisment"/> -<gentext key="appendix" text="anexa"/> -<gentext key="sidebar" text="sidebar"/> -<gentext key="chapter" text="cap."/> -<gentext key="section" text="sec."/> -<gentext key="step" text="operaþiune"/> -<gentext key="seealso" text="Vezi şi"/> - -<gentext key="TableofContents" text="Cuprins"/> -<gentext key="in" text="în"/> -<gentext key="by" text="de"/> -<gentext key="Edited" text="Publicat"/> -<gentext key="Editedby" text="Publicat de"/> -<gentext key="and" text="şi"/> -<gentext key="Notes" text="Note"/> -<gentext key="TableNotes" text="Remarci"/> -<gentext key="nonexistantelement" text="element inexistent"/> -<gentext key="Pgs" text="Pagini"/> -<gentext key="unsupported" text="nerecunoscut de sisitem"/> -<gentext key="xrefto" text="referinþã cãtre"/> -<gentext key="unexpectedelementname" text="Nume de element neaşteptat"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Listã de tabele"/> -<gentext key="ListofExamples" text="Listã de exemple"/> -<gentext key="ListofFigures" text="Listã de figuri"/> -<gentext key="ListofEquations" text="Listã de ecuaþii"/> -<gentext key="ListofUnknown" text="Listã de necunoscute"/> - -<gentext key="nav-prev" text="Prev"/> -<gentext key="nav-prev-sibling" text="Fast Backward"/> -<gentext key="nav-next-sibling" text="Fast Forward"/> -<gentext key="nav-next" text="Next"/> -<gentext key="nav-up" text="Up"/> -<gentext key="nav-home" text="Home"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/ru.xml b/docs/docbook/xslt/db2latex/common/ru.xml deleted file mode 100644 index a097cd419b..0000000000 --- a/docs/docbook/xslt/db2latex/common/ru.xml +++ /dev/null @@ -1,113 +0,0 @@ -<localization language="ru"> - -<gentext key="abstract" text="Аннотация"/> -<gentext key="appendix" text="Приложение"/> -<gentext key="appendix.abr" text="Прил."/> -<gentext key="article" text="Статья"/> -<gentext key="audience" text="Аудитория"/> -<gentext key="bibliography" text="Литература"/> -<gentext key="book" text="Книга"/> -<gentext key="caution" text="ПРЕДОСТЕРЕЖЕНИЕ"/> -<gentext key="caution" text="Предостережение"/> -<gentext key="chapter" text="Глава"/> -<gentext key="chapter.abr" text="Гл."/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Посвящение"/> -<gentext key="edition" text="Редакция"/> -<gentext key="equation" text="Формула"/> -<gentext key="equation.abr" text="Ф."/> -<gentext key="example" text="Пример"/> -<gentext key="example.abr" text="Прим."/> -<gentext key="figure" text="Рисунок"/> -<gentext key="figure.abr" text="Рис."/> -<gentext key="glossary" text="Глоссарий"/> -<gentext key="important" text="ВАЖНО"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Важно"/> -<gentext key="index" text="Предметный указатель"/> -<gentext key="legalnotice" text="Авторские права"/> -<gentext key="level" text="Уровень"/> -<gentext key="note" text="ЗАМЕЧАНИЕ"/> -<gentext key="name" text="Имя"/> -<gentext key="note" text="Замечание"/> -<gentext key="origin" text="Источник"/> -<gentext key="part" text="Часть"/> -<gentext key="part.abr" text="Ч."/> -<gentext key="preface" text="Предисловие"/> -<gentext key="procedure" text="Процедура"/> -<gentext key="procedure.abr" text="Проц."/> -<gentext key="published" text="Опубликовано"/> -<gentext key="reference" text="Ссылка"/> -<gentext key="revision" text="Издание"/> -<gentext key="history" text="История"/> -<gentext key="revisionhistory" text="История переиздания"/> -<gentext key="section" text="Раздел"/> -<gentext key="section.abr" text="Разд."/> -<gentext key="see" text="См."/> -<gentext key="seealso" text="См. также"/> -<gentext key="seealso" text="См. также"/> -<gentext key="set" text="Подборка"/> -<gentext key="setindex" text="Индекс подборки"/> -<gentext key="sidebar" text="Выделение"/> -<gentext key="step" text="Шаг"/> -<gentext key="tip" text="ПОДСКАЗКА"/> -<gentext key="table" text="Таблица"/> -<gentext key="table.abr" text="Табл."/> -<gentext key="tip" text="Подсказка"/> -<gentext key="warning" text="ВНИМАНИЕ"/> -<gentext key="warning" text="Внимание"/> -<gentext key="appendix" text="приложение"/> -<gentext key="chapter" text="глава"/> -<gentext key="section" text="раздел"/> -<gentext key="step" text="шаг"/> - -<gentext key="TableofContents" text="Содержание"/> -<gentext key="called" text=""/> -<gentext key="in" text="в"/> -<gentext key="by" text=""/> -<gentext key="Edited" text="Под редакцией"/> -<gentext key="Editedby" text="Под редакцией"/> -<gentext key="and" text=""/> -<!-- the list of author names, but "and" in such - lists of Russian books is not traditionally - used (I. Kouznetsov) --> -<gentext key="Notes" text="Примечания"/> -<gentext key="TableNotes" text="Примечания"/> - -<!-- Suggestion of I. Kouznetsov: Error messages are better in English --> - -<gentext key="nonexistantelement" text="non-existant element"/> -<gentext key="the" text=""/> -<gentext key="Pgs" text="Стр."/> -<gentext key="unsupported" text="unsupported"/> -<gentext key="xrefto" text="xref to"/> -<gentext key="unexpectedelementname" text="unexpected element name"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Список таблиц"/> -<gentext key="ListofExamples" text="Список примеров"/> -<gentext key="ListofFigures" text="Список иллюстраций"/> -<gentext key="ListofEquations" text="Список формул"/> -<gentext key="ListofUnknown" text="Неопределенный список"/> - -<gentext key="nav-prev" text="Пред."/> -<gentext key="nav-prev-sibling" text="Пред. Подраздел"/> -<gentext key="nav-next-sibling" text="След. Подраздел"/> -<gentext key="nav-next" text="След."/> -<gentext key="nav-up" text="Уровень выше"/> -<gentext key="nav-home" text="начало"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/sk.xml b/docs/docbook/xslt/db2latex/common/sk.xml deleted file mode 100644 index 0c2fbc85fb..0000000000 --- a/docs/docbook/xslt/db2latex/common/sk.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="sk"> - -<gentext key="abstract" text="Obsah"/> -<gentext key="answer" text="A:"/> -<gentext key="appendix" text="Dodatok"/> -<gentext key="article" text="Článok"/> -<gentext key="bibliography" text="Bibliografia"/> -<gentext key="book" text="Kniha"/> -<gentext key="caution" text="VÝSTRAHA"/> -<gentext key="caution" text="Výstraha"/> -<gentext key="chapter" text="Kapitola"/> -<gentext key="colophon" text="Tiráž"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Venovanie"/> -<gentext key="edition" text="Vydanie"/> -<gentext key="equation" text="Rovnice"/> -<gentext key="example" text="Príklad"/> -<gentext key="figure" text="Obrázok"/> -<gentext key="glosssee" text="Pozri"/> -<gentext key="glossseealso" text="Pozri tiež"/> -<gentext key="glossary" text="Slovník"/> -<gentext key="important" text="DÔLEŽITÉ"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Dôležité"/> -<gentext key="index" text="Zoznam"/> -<gentext key="legalnotice" text="Právna poznámka"/> -<gentext key="msgaud" text="Publikum"/> -<gentext key="msglevel" text="Úroveň"/> -<gentext key="msgorig" text="Pôvod"/> -<gentext key="note" text="POZNÁMKA"/> -<gentext key="note" text="Poznámka"/> -<gentext key="part" text="Časť"/> -<gentext key="preface" text="Úvod"/> -<gentext key="procedure" text="Postup"/> -<gentext key="published" text="Vydané"/> -<gentext key="question" text="Q:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Odkaz"/> -<gentext key="refname" text="Meno"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Prehľad"/> -<gentext key="revision" text="Revízia"/> -<gentext key="revhistory" text="Prehľad revízií"/> -<gentext key="section" text="Oddiel"/> -<gentext key="see" text="Pozri"/> -<gentext key="seealso" text="Pozri tiež"/> -<gentext key="set" text="Nastaviť"/> -<gentext key="setindex" text="Nastaviť index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Krok"/> -<gentext key="tip" text="TIP"/> -<gentext key="table" text="Tabuľka"/> -<gentext key="tip" text="Tip"/> -<gentext key="warning" text="VAROVANIE"/> -<gentext key="warning" text="Varovanie"/> -<gentext key="appendix" text="dodatok"/> -<gentext key="chapter" text="kapitola"/> -<gentext key="section" text="oddiel"/> -<gentext key="sidebar" text="boční lišta"/> -<gentext key="step" text="krok"/> -<gentext key="seealso" text="Pozri tiež"/> - -<gentext key="TableofContents" text="Obsah"/> -<gentext key="in" text="v"/> -<gentext key="by" text=""/> -<gentext key="Edited" text="Vydané"/> -<gentext key="Editedby" text="Vydané"/> -<gentext key="and" text="a"/> -<gentext key="Notes" text="Poznámky"/> -<gentext key="TableNotes" text="Poznámky"/> -<gentext key="nonexistantelement" text="neexistujúci prvok"/> -<gentext key="Pgs" text="Str."/> -<gentext key="unsupported" text="nepodporovaný"/> -<gentext key="xrefto" text="xref k"/> -<gentext key="unexpectedelementname" text="Neočakávané meno prvku"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Zoznam tabuliek"/> -<gentext key="ListofExamples" text="Zoznam príkladov"/> -<gentext key="ListofFigures" text="Zoznam obrázkov"/> -<gentext key="ListofEquations" text="Zoznam rovníc"/> -<gentext key="ListofUnknown" text="Zoznam neznámeho"/> - -<gentext key="nav-prev" text="Predchádzajúci"/> -<gentext key="nav-prev-sibling" text="Rýchlo nazpät"/> -<gentext key="nav-next-sibling" text="Rýchlo dopredu"/> -<gentext key="nav-next" text="Ďalší"/> -<gentext key="nav-up" text="Hore"/> -<gentext key="nav-home" text="Domov"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/sl.xml b/docs/docbook/xslt/db2latex/common/sl.xml deleted file mode 100644 index fca0f5e348..0000000000 --- a/docs/docbook/xslt/db2latex/common/sl.xml +++ /dev/null @@ -1,104 +0,0 @@ -<localization language="sl"> - -<gentext key="abstract" text="Povzetek"/> -<gentext key="answer" text="O:"/> -<gentext key="appendix" text="Dodatek"/> -<gentext key="article" text="Članek"/> -<gentext key="bibliography" text="Literatura"/> -<gentext key="book" text="Knjiga"/> -<gentext key="caution" text="OPOZORILO"/> -<gentext key="caution" text="Opozorilo"/> -<gentext key="chapter" text="Poglavje"/> -<gentext key="colophon" text="Kolofon"/> -<gentext key="copyright" text="Pravna zaščita"/> -<gentext key="dedication" text="Posvetilo"/> -<gentext key="edition" text="Izdaja"/> -<gentext key="equation" text="Enačba"/> -<gentext key="example" text="Primer"/> -<gentext key="figure" text="Slika"/> -<gentext key="glosssee" text="glej"/> -<gentext key="glossseealso" text="glej tudi"/> -<gentext key="glossary" text="Slovarček"/> -<gentext key="important" text="POMEMBNO"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Pomembno"/> -<gentext key="index" text="Stvarno kazalo"/> -<gentext key="legalnotice" text="Pravno sporočilo"/> -<gentext key="msgaud" text="Občinstvo"/> -<gentext key="msglevel" text="Raven"/> -<gentext key="msgorig" text="Izvor"/> -<gentext key="note" text="OPOMBA"/> -<gentext key="note" text="Opomba"/> -<gentext key="part" text="Del"/> -<gentext key="preface" text="Predgovor"/> -<gentext key="procedure" text="Postopek"/> -<gentext key="published" text="Izdano"/> -<gentext key="question" text="V:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="Sklic"/> -<gentext key="refname" text="Ime"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="Sinopsis"/> -<gentext key="revision" text="Različica"/> -<gentext key="revhistory" text="Zgodovina različic"/> -<gentext key="section" text="Razdelek"/> -<gentext key="see" text="glej"/> -<gentext key="seealso" text="glej tudi"/> -<gentext key="set" text="Postavi"/> <!-- ? --> -<gentext key="setindex" text="Postavi stvarno kazalo"/> <!-- ? --> -<gentext key="sidebar" text=""/> -<gentext key="step" text="Korak"/> -<gentext key="tip" text="NAMIG"/> -<gentext key="table" text="Tabela"/> -<gentext key="tip" text="Namig"/> -<gentext key="warning" text="POZOR"/> -<gentext key="warning" text="Pozor"/> -<gentext key="appendix" text="dodatek"/> -<gentext key="chapter" text="poglavje"/> -<gentext key="section" text="razdelek"/> -<gentext key="sidebar" text="sidebar"/> <!-- ? --> -<gentext key="step" text="korak"/> -<gentext key="seealso" text="Glej tudi"/> - -<gentext key="TableofContents" text="Kazalo"/> -<gentext key="in" text="v"/> -<gentext key="by" text="od"/> <!-- ? --> -<gentext key="Edited" text="Urejeno"/> <!-- ? --> -<gentext key="Editedby" text="Urejeno od"/> <!-- ? --> -<gentext key="and" text="in"/> -<gentext key="Notes" text="Notes"/> <!-- ? --> -<gentext key="TableNotes" text="Notes"/> <!-- ? --> -<gentext key="nonexistantelement" text="neobstoječi element"/> -<gentext key="Pgs" text="Str."/> -<gentext key="unsupported" text="nepodprto"/> -<gentext key="xrefto" text="xref na"/> <!-- ? --> -<gentext key="unexpectedelementname" text="Nepričakovano ime elementa"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Seznam tabel"/> -<gentext key="ListofExamples" text="Seznam primerov"/> -<gentext key="ListofFigures" text="Seznam slik"/> -<gentext key="ListofEquations" text="Seznam enačb"/> -<gentext key="ListofUnknown" text="Seznam neznanih stvari"/> <!-- ? --> - -<gentext key="nav-prev" text="Nazaj"/> -<gentext key="nav-prev-sibling" text="Hitro nazaj"/> -<gentext key="nav-next-sibling" text="Hitro naprej"/> -<gentext key="nav-next" text="Naprej"/> -<gentext key="nav-up" text="Gor"/> -<gentext key="nav-home" text="Domov"/> - -<dingbat key="startquote" text='“'/> -<dingbat key="endquote" text='”'/> -<dingbat key="nestedstartquote" text="`"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/sv.xml b/docs/docbook/xslt/db2latex/common/sv.xml deleted file mode 100644 index 27b45cce15..0000000000 --- a/docs/docbook/xslt/db2latex/common/sv.xml +++ /dev/null @@ -1,99 +0,0 @@ -<localization language="sv"> - -<gentext key="abstract" text="Abstrakt"/> -<gentext key="appendix" text="Appendix"/> -<gentext key="article" text="Artikel"/> -<gentext key="bibliography" text="Bibliografi"/> -<gentext key="book" text="Bok"/> -<gentext key="caution" text="OBSERVERA"/> -<gentext key="caution" text="Observera"/> -<gentext key="chapter" text="Kapitel"/> -<gentext key="copyright" text="Copyright"/> -<gentext key="dedication" text="Dedikation"/> -<gentext key="edition" text="Edition"/> -<gentext key="equation" text="Ekvation"/> -<gentext key="example" text="Exempel"/> -<gentext key="figure" text="Figur"/> -<gentext key="glosssee" text="Se"/> -<gentext key="glossseealso" text="Se Även"/> -<gentext key="glossary" text="Gloslista"/> -<gentext key="important" text="VIKTIGT"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="important" text="Viktigt"/> -<gentext key="index" text="Index"/> -<gentext key="legalnotice" text="Legal Notice"/> -<gentext key="msgaud" text="Målgrupp"/> -<gentext key="msglevel" text="Nivå"/> -<gentext key="msgorig" text="Ursprung"/> -<gentext key="note" text="NOT"/> -<gentext key="note" text="Not"/> -<gentext key="part" text="Del"/> -<gentext key="preface" text="Företal"/> -<gentext key="procedure" text="Procedur"/> -<gentext key="published" text="Publicerad"/> -<gentext key="refname" text="Namn"/> -<gentext key="reference" text="Referens"/> -<gentext key="revision" text="Revision"/> -<gentext key="revhistory" text="Revisions Historik;"/> -<gentext key="section" text="Sektion"/> -<gentext key="see" text="Se"/> -<gentext key="seealso" text="Se Även"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text="Sidebar"/> -<gentext key="step" text="Steg"/> -<gentext key="tip" text="TIPS"/> -<gentext key="table" text="Tabell"/> -<gentext key="tip" text="Tips"/> -<gentext key="warning" text="VARNING"/> -<gentext key="warning" text="Varning"/> -<gentext key="appendix" text="appendix"/> -<gentext key="chapter" text="kapitel"/> -<gentext key="section" text="sektion"/> -<gentext key="step" text="steg"/> -<gentext key="seealso" text="Se även"/> - -<gentext key="TableofContents" text="Innehållsförteckning"/> -<gentext key="called" text="kallas"/> -<gentext key="in" text="i"/> -<gentext key="by" text="av"/> -<gentext key="Edited" text="Utgiven"/> -<gentext key="Editedby" text="Utgiven av"/> -<gentext key="and" text="och"/> -<gentext key="Notes" text="Noter"/> -<gentext key="TableNotes" text="Noter"/> -<gentext key="nonexistantelement" text="non-existant element"/> -<gentext key="the" text=""/> -<gentext key="Pgs" text="Sid."/> -<gentext key="unsupported" text="unsupported"/> -<gentext key="xrefto" text="xref till"/> -<gentext key="unexpectedelementname" text="Unexpected element name"/> -<gentext key="Revisedby" text="Revised by: "/> - -<gentext key="ListofTables" text="Tabellförteckning"/> -<gentext key="ListofExamples" text="Exempelförteckning"/> -<gentext key="ListofFigures" text="Figurförteckning"/> -<gentext key="ListofEquations" text="Ekvationsförteckning"/> -<gentext key="ListofUnknown" text="Förteckning av okända"/> - -<gentext key="nav-prev" text="Förutgående"/> -<gentext key="nav-prev-sibling" text="Snabbt frammåt"/> -<gentext key="nav-next-sibling" text="Snabbt bakåt"/> -<gentext key="nav-next" text="Nästa"/> -<gentext key="nav-up" text="Upp"/> -<gentext key="nav-home" text="Hem"/> - -<dingbat key="startquote" text="“"/> -<dingbat key="endquote" text="”"/> -<dingbat key="nestedstartquote" text="‘"/> -<dingbat key="nestedendquote" text="’"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="bibliography" text="%t"/> -<xref element="chapter" text="%g %n, %t"/> -<xref element="dedication" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> -<xref element="preface" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/zh_cn.xml b/docs/docbook/xslt/db2latex/common/zh_cn.xml deleted file mode 100644 index ef373b4a33..0000000000 --- a/docs/docbook/xslt/db2latex/common/zh_cn.xml +++ /dev/null @@ -1,95 +0,0 @@ -<localization language="zh_cn"> - -<gentext key="abstract" text="摘要"/> -<gentext key="answer" text="答:"/> -<gentext key="appendix" text="附录"/> -<gentext key="article" text="文章"/> -<gentext key="bibliography" text="参考书目"/> -<gentext key="book" text="书目"/> -<gentext key="caution" text="注意"/> -<gentext key="chapter" text="章"/> -<gentext key="colophon" text="Colophon"/> -<gentext key="copyright" text="版权"/> -<gentext key="dedication" text="奉献"/> -<gentext key="edition" text="版"/> -<gentext key="equation" text="方程"/> -<gentext key="example" text="例子"/> -<gentext key="figure" text="图形"/> -<gentext key="glossary" text="术语表"/> -<gentext key="glosssee" text="见"/> -<gentext key="glossseealso" text="另见"/> -<gentext key="important" text="重要"/> -<gentext key="index" text="索引"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="legalnotice" text="法律布告"/> -<gentext key="msgaud" text="读者"/> -<gentext key="msglevel" text="难度"/> -<gentext key="msgorig" text="出处"/> -<gentext key="note" text="注"/> -<gentext key="part" text="部分"/> -<gentext key="preface" text="前言"/> -<gentext key="procedure" text="过程"/> -<gentext key="published" text="出版"/> -<gentext key="question" text="问:"/> -<gentext key="refentry" text=""/> -<gentext key="reference" text="参考"/> -<gentext key="refname" text="名字"/> -<gentext key="refsection" text=""/> -<gentext key="refsynopsisdiv" text="大纲"/> -<gentext key="revhistory" text="修订历史"/> -<gentext key="revision" text="修订"/> -<gentext key="section" text="节"/> -<gentext key="see" text="见"/> -<gentext key="seealso" text="另见"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text="sidebar"/> -<gentext key="step" text="步骤"/> -<gentext key="table" text="表格"/> -<gentext key="tip" text="提示"/> -<gentext key="tip" text="提示"/> -<gentext key="warning" text="警告"/> - -<gentext key="TableofContents" text="目录"/> -<gentext key="in" text="在"/> -<gentext key="by" text="由"/> -<gentext key="Edited" text="编辑"/> -<gentext key="Editedby" text="编辑"/> -<gentext key="and" text="和"/> -<gentext key="Notes" text="注"/> -<gentext key="TableNotes" text="注"/> -<gentext key="nonexistantelement" text="不存在的元素"/> -<gentext key="Pgs" text="页"/> -<gentext key="unsupported" text="不支持"/> -<gentext key="xrefto" text="参照"/> -<gentext key="unexpectedelementname" text="未预料到的元素名"/> -<gentext key="Revisedby" text="修订"/> - -<gentext key="ListofTables" text="表格列表"/> -<gentext key="ListofExamples" text="示例列表"/> -<gentext key="ListofFigures" text="图形列表"/> -<gentext key="ListofEquations" text="方程式列表"/> -<gentext key="ListofUnknown" text="其他内容列表"/> - -<gentext key="nav-prev" text="后退"/> -<gentext key="nav-prev-sibling" text="快速后退"/> -<gentext key="nav-next-sibling" text="快速前进"/> -<gentext key="nav-next" text="前进"/> -<gentext key="nav-up" text="上一级"/> -<gentext key="nav-home" text="起点"/> - -<dingbat key="startquote" text='"'/> -<dingbat key="endquote" text='"'/> -<dingbat key="nestedstartquote" text="'"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="appendix" text="%g %n"/> -<xref element="chapter" text="%g %n"/> -<xref element="dedication" text="%t"/> -<xref element="preface" text="%t"/> -<xref element="bibliography" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/common/zh_tw.xml b/docs/docbook/xslt/db2latex/common/zh_tw.xml deleted file mode 100644 index 7168114f49..0000000000 --- a/docs/docbook/xslt/db2latex/common/zh_tw.xml +++ /dev/null @@ -1,98 +0,0 @@ -<localization language="zh_tw"> - -<gentext key="abstract" text="摘要"/> -<gentext key="answer" text="答:"/> -<gentext key="appendix" text="附錄"/> -<gentext key="article" text="文章"/> -<gentext key="bibliography" text="參考文獻"/> -<gentext key="book" text="書目"/> -<gentext key="caution" text="注意"/> -<gentext key="chapter" text="章"/> -<gentext key="colophon" text="版本記錄"/> -<gentext key="copyright" text="版權"/> -<gentext key="dedication" text="奉獻"/> -<gentext key="edition" text="版"/> -<gentext key="equation" text="方程式"/> -<gentext key="example" text="範例"/> -<gentext key="figure" text="圖形"/> -<gentext key="glossary" text="小辭彙"/> -<gentext key="glosssee" text="參見"/> -<gentext key="glossseealso" text="另參見"/> -<gentext key="important" text="重要"/> -<gentext key="index" text="索引"/> -<gentext key="isbn" text="ISBN"/> -<gentext key="legalnotice" text="法律聲明"/> -<gentext key="msgaud" text="讀者"/> -<gentext key="msglevel" text="程度"/> -<gentext key="msgorig" text="出處"/> -<gentext key="note" text="注"/> -<gentext key="part" text="部"/> -<gentext key="preface" text="序言"/> -<gentext key="procedure" text="過程"/> -<gentext key="published" text="出版"/> -<gentext key="question" text="問:"/> -<gentext key="refentry" text="參照項目"/> -<gentext key="reference" text="參考"/> -<gentext key="refname" text="參考名"/> -<gentext key="refsection" text="參照章節"/> -<gentext key="refsynopsisdiv" text="大綱"/> -<gentext key="revhistory" text="修訂記錄"/> -<gentext key="revision" text="修訂"/> -<gentext key="section" text="節"/> -<gentext key="see" text="見"/> -<gentext key="seealso" text="另見"/> -<gentext key="set" text="Set"/> -<gentext key="setindex" text="Set Index"/> -<gentext key="sidebar" text=""/> -<gentext key="step" text="步驟"/> -<gentext key="table" text="表格"/> -<gentext key="tip" text="提示"/> -<gentext key="tip" text="提示"/> -<gentext key="warning" text="警告"/> - -<gentext key="TableofContents" - text="內容目錄"/> -<gentext key="in" text="在"/> -<gentext key="by" text="由"/> -<gentext key="Edited" text="編輯"/> -<gentext key="Editedby" text="編輯"/> -<gentext key="and" text="且"/> -<gentext key="Notes" text="注"/> -<gentext key="TableNotes" text="注釋"/> -<gentext key="nonexistantelement" - text="不存在的元素"/> -<gentext key="Pgs" text="頁"/> -<gentext key="unsupported" text="未支援"/> -<gentext key="xrefto" text="參照"/> -<gentext key="unexpectedelementname" - text="非預期的元素名"/> -<gentext key="Revisedby" text="修訂"/> - -<gentext key="ListofTables" text="附表目錄"/> -<gentext key="ListofExamples" text="範例目錄"/> -<gentext key="ListofFigures" text="附圖目錄"/> -<gentext key="ListofEquations" text="公式目錄"/> -<gentext key="ListofUnknown" text="其它內容目錄"/> - -<gentext key="nav-prev" text="前一頁"/> -<gentext key="nav-prev-sibling" text="快速向前"/> -<gentext key="nav-next-sibling" text="快速向後"/> -<gentext key="nav-next" text="下一頁"/> -<gentext key="nav-up" text="上一層"/> -<gentext key="nav-home" text="內容"/> - -<dingbat key="startquote" text="""/> -<dingbat key="endquote" text="""/> -<dingbat key="nestedstartquote" text="'"/> -<dingbat key="nestedendquote" text="'"/> -<dingbat key="bullet" text="ߦ"/> - -<xref element="appendix" text="%g %n"/> -<xref element="chapter" text="%g %n"/> -<xref element="dedication" text="%t"/> -<xref element="preface" text="%t"/> -<xref element="bibliography" text="%t"/> -<xref element="glossary" text="%t"/> -<xref element="index" text="%t"/> - -</localization> diff --git a/docs/docbook/xslt/db2latex/component.mod.xsl b/docs/docbook/xslt/db2latex/component.mod.xsl deleted file mode 100644 index aedcadb550..0000000000 --- a/docs/docbook/xslt/db2latex/component.mod.xsl +++ /dev/null @@ -1,91 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="component" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Component <filename>component.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template name="component.title"> - <xsl:variable name="id"> - <xsl:call-template name="label.id"><xsl:with-param name="object" select="."/></xsl:call-template> - </xsl:variable> - <xsl:text> {\sc </xsl:text><xsl:apply-templates select="." mode="title.ref"/><xsl:text>}</xsl:text> - </xsl:template> - - - - <xsl:template name="component.subtitle"> - <xsl:variable name="subtitle"><xsl:apply-templates select="." mode="subtitle.content"/></xsl:variable> - <xsl:if test="$subtitle != ''"> - <xsl:text> {\sc </xsl:text><xsl:copy-of select="$subtitle"/><xsl:text>}</xsl:text> - </xsl:if> - </xsl:template> - - - - <xsl:template name="component.separator"> - </xsl:template> - - - - <xsl:template match="colophon"> - <xsl:variable name="id"><xsl:call-template name="label.id"/></xsl:variable> - <xsl:call-template name="component.separator"/> - <xsl:call-template name="component.title"/> - <xsl:call-template name="component.subtitle"/> - <xsl:apply-templates/> - </xsl:template> - - - <xsl:template match="colophon/title"/> - - - - <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:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/dedication.mod.xsl b/docs/docbook/xslt/db2latex/dedication.mod.xsl deleted file mode 100644 index d8150bdd7f..0000000000 --- a/docs/docbook/xslt/db2latex/dedication.mod.xsl +++ /dev/null @@ -1,126 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="dedication" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Dedication <filename>dedication.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - -<!--############################################################################# - | XSL Parameters - +- ############################################################################# --> -<xsl:param name="latex.dedication.title.style">\sc</xsl:param> - - - -<!--############################################################################# - | Dedication Template - +- ############################################################################# --> -<xsl:template match="dedication"> -<xsl:text>\newpage </xsl:text> -<xsl:text>% ------------------------------------------------------------- </xsl:text> -<xsl:text>% Dedication </xsl:text> -<xsl:text>% ------------------------------------------------------------- </xsl:text> -<xsl:call-template name="label.id"/> -<xsl:call-template name="dedication.title"/> -<xsl:call-template name="dedication.subtitle"/> -<!-- except title, titleabbrev and subtitle --> -<xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'subtitle' and name(.) != 'titleabbrev']"/> -</xsl:template> - - -<!--############################################################################# - | Dedication Title - +- ############################################################################# --> -<xsl:template name="dedication.title"> -<!-- Output dedication title or generic text --> -<xsl:text>{</xsl:text> -<xsl:value-of select="$latex.dedication.title.style"/> -<xsl:text> </xsl:text> -<xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">dedication</xsl:with-param> - </xsl:call-template> - </xsl:otherwise> -</xsl:choose> -<xsl:text>} </xsl:text> -<!-- done with title --> -</xsl:template> - - -<xsl:template match="dedication/title"> -<xsl:apply-templates/> -</xsl:template> - - - -<!--############################################################################# - | Dedication Subtitle - +- ############################################################################# --> -<xsl:template name="dedication.subtitle"> -<xsl:variable name="subtitle"> - <xsl:apply-templates select="." mode="subtitle.content"/> -</xsl:variable> -<xsl:if test="$subtitle != ''"> - <xsl:text>{</xsl:text> - <xsl:value-of select="$latex.dedication.title.style"/> - <xsl:text> </xsl:text> - <xsl:copy-of select="$subtitle"/> - <xsl:text>} </xsl:text> -</xsl:if> -</xsl:template> - - -<xsl:template match="dedication/subtitle"> -<xsl:apply-templates/> -</xsl:template> - -<xsl:template match="dedication/titleabbrev"/> - - -<!--############################################################################# - | Special treatment for dedication paragraphs - +- ############################################################################# --> -<xsl:template match="dedication/para"> -<xsl:text> \paragraph*{} </xsl:text> <!-- This is a fixme !! --> -<xsl:apply-templates/> -</xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/dingbat.mod.xsl b/docs/docbook/xslt/db2latex/dingbat.mod.xsl deleted file mode 100644 index 84b579515a..0000000000 --- a/docs/docbook/xslt/db2latex/dingbat.mod.xsl +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -| -+ ############################################################################## --> - - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="dingbat" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Dingbats <filename>dingbat.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - </section> - </partintro> - </doc:reference> - - - - <xsl:template name="dingbat"> - <xsl:param name="dingbat">bullet</xsl:param> - <xsl:call-template name="dingbat.characters"> - <xsl:with-param name="dingbat" select="$dingbat"/> - </xsl:call-template> - </xsl:template> - - <xsl:template name="dingbat.characters"> - <xsl:param name="dingbat">bullet</xsl:param> - <xsl:choose> - <xsl:when test="$dingbat='bullet'"> $\bullet$ </xsl:when> - <xsl:when test="$dingbat='copyright'">\copyright{}</xsl:when> - <xsl:when test="$dingbat='trademark'">\texttrademark{}</xsl:when> - <xsl:when test="$dingbat='registered'">\textregistered{}</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> [dingbat?] </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/docbook.xsl b/docs/docbook/xslt/db2latex/docbook.xsl deleted file mode 100644 index 56e000cd02..0000000000 --- a/docs/docbook/xslt/db2latex/docbook.xsl +++ /dev/null @@ -1,149 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -| This is the "parent" stylesheet. The used "modules" are included here. -| output encoding text in ISO-8859-1 indented. -+ ############################################################################## --> - -<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="text" encoding="ISO-8859-1" indent="yes"/> - - <xsl:include href="common/l10n.xsl"/> - <xsl:include href="common/common.xsl"/> - - <xsl:include href="VERSION.xml"/> - <xsl:include href="vars.mod.xsl"/> - <xsl:include href="latex.mapping.xsl"/> - <xsl:include href="preamble.mod.xsl"/> - <xsl:include href="font.mod.xsl"/> - <xsl:include href="labelid.mod.xsl"/> - - <xsl:include href="book-article.mod.xsl"/> - - <xsl:include href="dedication.mod.xsl"/> - <xsl:include href="preface.mod.xsl"/> - - <xsl:include href="part-chap-app.mod.xsl"/> - - <xsl:include href="sections.mod.xsl"/> - <xsl:include href="bridgehead.mod.xsl"/> - - <xsl:include href="abstract.mod.xsl"/> - <xsl:include href="biblio.mod.xsl"/> - <xsl:include href="revision.mod.xsl"/> - - <xsl:include href="admonition.mod.xsl"/> - <xsl:include href="verbatim.mod.xsl"/> - <xsl:include href="email.mod.xsl"/> - <xsl:include href="sgmltag.mod.xsl"/> - <xsl:include href="citation.mod.xsl"/> - <xsl:include href="qandaset.mod.xsl"/> - <xsl:include href="procedure.mod.xsl"/> - <xsl:include href="lists.mod.xsl"/> - <xsl:include href="callout.mod.xsl"/> - - - <xsl:include href="figure.mod.xsl"/> - <xsl:include href="graphic.mod.xsl"/> - <xsl:include href="mediaobject.mod.xsl"/> - - <xsl:include href="index.mod.xsl"/> - - - <xsl:include href="xref.mod.xsl"/> - <xsl:include href="formal.mod.xsl"/> - <xsl:include href="example.mod.xsl"/> - <xsl:include href="table.mod.xsl"/> - <xsl:include href="inline.mod.xsl"/> - <xsl:include href="authorgroup.mod.xsl"/> - <xsl:include href="dingbat.mod.xsl"/> - <xsl:include href="info.mod.xsl"/> - <xsl:include href="keywords.mod.xsl"/> - <xsl:include href="refentry.mod.xsl"/> - <xsl:include href="component.mod.xsl"/> - <xsl:include href="glossary.mod.xsl"/> - <xsl:include href="block.mod.xsl"/> - - - <xsl:include href="synop-oop.mod.xsl"/> - <xsl:include href="synop-struct.mod.xsl"/> - - <xsl:include href="pi.mod.xsl"/> - - <xsl:include href="footnote.mod.xsl"/> - - <xsl:include href="texmath.mod.xsl"/> - <xsl:include href="mathelem.mod.xsl"/> - <xsl:include href="mathml/mathml.mod.xsl"/> - <xsl:include href="mathml/mathml.presentation.mod.xsl"/> - <xsl:include href="mathml/mathml.content.mod.xsl"/> - <xsl:include href="mathml/mathml.content.token.mod.xsl"/> - <xsl:include href="mathml/mathml.content.functions.mod.xsl"/> - <xsl:include href="mathml/mathml.content.constsymb.mod.xsl"/> - - <xsl:include href="para.mod.xsl"/> - <xsl:include href="msgset.mod.xsl"/> - <xsl:include href="errors.mod.xsl"/> - - <xsl:include href="normalize-scape.mod.xsl"/> - - - - <xsl:template match="/"> - <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/> - <xsl:message>################################################################################</xsl:message> - <xsl:message> XSLT stylesheets DocBook - LaTeX 2e </xsl:message> - <xsl:message> Reqs: LaTeX 2e installation common packages </xsl:message> - <xsl:message>################################################################################</xsl:message> - <xsl:message> WWW : http://db2latex.sourceforge.net </xsl:message> - <xsl:message> SUMMARY : http://www.sourceforge.net/projects/db2latex </xsl:message> - <xsl:message> AUTHOR : Ramon Casellas casellas@infres.enst.fr </xsl:message> - <xsl:message> AUTHOR : James Devenish j-devenish@users.sf.net </xsl:message> - <xsl:message> USING : <xsl:call-template name="set-vendor"/> </xsl:message> - <xsl:message>################################################################################</xsl:message> - <xsl:apply-templates/> - </xsl:template> - - - <!--############################################################################# --> - <!-- XSL Processor Vendor --> - <!-- XSL Mailing Lists http://www.dpawson.co.uk/xsl/N10378.html --> - <!--############################################################################# --> - <xsl:template name="set-vendor"> - <xsl:variable name="xsl-vendor" select="system-property('xsl:vendor')"/> - <xsl:choose> - <xsl:when test="contains($xsl-vendor, 'SAXON 6.4')"> - <xsl:text>SAXON 6.4.X</xsl:text> - </xsl:when> - <xsl:when test="contains($xsl-vendor, 'SAXON 6.2')"> - <xsl:text>SAXON 6.2.X</xsl:text> - </xsl:when> - <xsl:when test="starts-with($xsl-vendor,'SAXON')"> - <xsl:text>SAXON</xsl:text> - </xsl:when> - <xsl:when test="contains($xsl-vendor,'Apache')"> - <xsl:text>XALAN</xsl:text> - </xsl:when> - <xsl:when test="contains($xsl-vendor,'Xalan')"> - <xsl:text>XALAN</xsl:text> - </xsl:when> - <xsl:when test="contains($xsl-vendor,'libxslt')"> - <xsl:text>libxslt/xsltproc</xsl:text> - </xsl:when> - <xsl:when test="contains($xsl-vendor,'Clark')"> - <xsl:text>XT</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>UNKNOWN</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/email.mod.xsl b/docs/docbook/xslt/db2latex/email.mod.xsl deleted file mode 100644 index 6461334ac8..0000000000 --- a/docs/docbook/xslt/db2latex/email.mod.xsl +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="email" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Email <filename>email.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="email" xmlns=""> - <refpurpose> XSL template for email </refpurpose> - <refdescription> - <para>Outputs the mail in {\texttt }. Calls the normalize-scape template in order to get a - normalized email string. It does not process email content model.</para> - <formalpara><title>Remarks and Bugs</title> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - - <xsl:template match="email"> - <xsl:text>\texttt{<</xsl:text> - <xsl:call-template name="ulink"> - <xsl:with-param name="url" select="concat('mailto:',.)"/> - </xsl:call-template> - <xsl:text>>}</xsl:text> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/errors.mod.xsl b/docs/docbook/xslt/db2latex/errors.mod.xsl deleted file mode 100644 index 37b273c01d..0000000000 --- a/docs/docbook/xslt/db2latex/errors.mod.xsl +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - + ############################################################################## --> - - - <xsl:template match="*"> - <xsl:message>DB2LaTeX: Need to process XPath match <xsl:value-of select="concat(name(..),'/',name(.))"/></xsl:message> - <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> - </xsl:template> -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/example.mod.xsl b/docs/docbook/xslt/db2latex/example.mod.xsl deleted file mode 100644 index fb973a27e7..0000000000 --- a/docs/docbook/xslt/db2latex/example.mod.xsl +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="example" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Example <filename>example.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <xsl:template match="example"> - <xsl:variable name="placement"> - <xsl:call-template name="generate.formal.title.placement"> - <xsl:with-param name="object" select="local-name(.)" /> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="caption"> - <xsl:text>\caption{</xsl:text> - <xsl:apply-templates select="title" mode="caption.mode"/> - <xsl:text>} </xsl:text> - </xsl:variable> - <xsl:call-template name="map.begin"/> - <xsl:if test="$placement='before'"> - <xsl:text>\captionswapskip{}</xsl:text> - <xsl:value-of select="$caption" /> - <xsl:text>\captionswapskip{}</xsl:text> - </xsl:if> - <xsl:apply-templates /> - <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if> - <xsl:call-template name="map.end"/> - </xsl:template> - - - - <xsl:template match="example/title"></xsl:template> - - - - - <xsl:template match="informalexample"> - <xsl:call-template name="informal.object"/> - </xsl:template> - - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/figure.mod.xsl b/docs/docbook/xslt/db2latex/figure.mod.xsl deleted file mode 100644 index 823877aa17..0000000000 --- a/docs/docbook/xslt/db2latex/figure.mod.xsl +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Template for figure tag. -+ ############################################################################## --> - -<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'> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="figure" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Figures and InformalFigures <filename>figure.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - - <!--############################################################################# --> - <doc:template match="figure|informalfigure" xmlns=""> - <refpurpose> XSL template for figure|informalfigure </refpurpose> - <refdescription> - <para>Outputs <literal>\begin{figure}</literal>, - applies templates and outputs <literal>\end{figure}</literal>. </para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para>The <literal>figure.title</literal> can be typset in italics by specifying <literal>$latex.figure.title.style</literal> (<literal>\itshape</literal> would be common).</para></listitem> - <listitem><para>If a <literal>figure.mediaobject.caption</literal> exists, it will be typeset after the <literal>figure.title</literal> (but only if there is a single <literal>figure.mediaobject.caption</literal>).</para></listitem> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - -<!-- Auxiliary template to output a figure caption.--> -<xsl:template name="aux.figure.caption"> -<xsl:text>\caption{{</xsl:text> -<xsl:value-of select="$latex.figure.title.style"/> -<xsl:text>{</xsl:text> -<xsl:apply-templates select="title"/> -<xsl:text>}}</xsl:text> -<xsl:if test="count(child::mediaobject/caption)=1"> - <xsl:text>. </xsl:text> - <xsl:apply-templates select="mediaobject/caption" /> -</xsl:if> -<xsl:text>} </xsl:text> -</xsl:template> - -<xsl:template match="figure|informalfigure"> - <xsl:variable name="placement"> - <xsl:call-template name="generate.formal.title.placement"> - <xsl:with-param name="object" select="local-name(.)" /> - </xsl:call-template> - </xsl:variable> - <xsl:call-template name="map.begin"/> - <xsl:if test="$placement='before'"> - <xsl:text>\captionswapskip{}</xsl:text> - <xsl:call-template name="aux.figure.caption" /> - <xsl:text>\captionswapskip{}</xsl:text> - </xsl:if> - <xsl:apply-templates select="*[name(.) != 'title']"/> - <xsl:if test="$placement!='before'"> - <xsl:call-template name="aux.figure.caption" /> - </xsl:if> - <xsl:call-template name="map.end"/> -</xsl:template> - - - - <!--############################################################################# --> - <!-- - <doc:template match="figure[programlisting]" xmlns=""> - <refpurpose> XSL template for programlisting within a figure </refpurpose> - <refdescription> - <para>Outputs <literal>\begin{figure}</literal>, - applies templates and outputs <literal>\end{abstract}</literal>. </para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - --> - <!--############################################################################# --> - - <!-- - <xsl:template match="figure[programlisting]"> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="programlisting"/> - </xsl:call-template> - <xsl:apply-templates /> - <xsl:call-template name="map.end"> - <xsl:with-param name="keyword" select="programlisting"/> - </xsl:call-template> - </xsl:template> - --> - - <xsl:template match="figure/title"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="informalfigure/title"> - </xsl:template> -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/font.mod.xsl b/docs/docbook/xslt/db2latex/font.mod.xsl deleted file mode 100644 index 20e2814520..0000000000 --- a/docs/docbook/xslt/db2latex/font.mod.xsl +++ /dev/null @@ -1,55 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="font" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Font <filename>font.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <doc:param name="latex.document.font" xmlns=""> - <refpurpose> Document Font </refpurpose> - <refdescription> - Possible values: default, times, palatcm, charter, helvet, palatino, avant, newcent, bookman - </refdescription> - </doc:param> - - - <xsl:param name="latex.document.font">palatino</xsl:param> - - <!-- - If you want to change explicitly to a certain font, use the command \fontfamily{XYZ}\selectfont whereby XYZ can be set to: pag for Adobe AvantGarde, pbk for Adobe Bookman, pcr for Adobe Courier, phv for Adobe Helvetica, pnc for Adobe NewCenturySchoolbook, ppl for Adobe Palatino, ptm for Adobe Times Roman, pzc for Adobe ZapfChancery - --> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/footnote.mod.xsl b/docs/docbook/xslt/db2latex/footnote.mod.xsl deleted file mode 100644 index 6e7d39a36a..0000000000 --- a/docs/docbook/xslt/db2latex/footnote.mod.xsl +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="footnote" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>FootNotes <filename>footnote.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - <xsl:template match="footnote"> - <xsl:call-template name="label.id"/> - <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text> - <xsl:apply-templates/> - <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text> - <xsl:call-template name="generate.label.id"/> - <xsl:text>}</xsl:text> - </xsl:template> - - <doc:template name="footnote"> - <refpurpose>Construct a footnote that copes with URLs</refpurpose> - <refdescription><para>This template exists in this file so that all - the footnote-generating templates are close to each other. However, - it is actually a part of the ulink template in xref.mod.xsl</para></refdescription> - </doc:template> - <xsl:template name="footnote"> - <xsl:param name="hyphenation"/> - <xsl:param name="url"/> - <xsl:call-template name="label.id"/> - <xsl:text>\begingroup\catcode`\#=12\footnote{</xsl:text> - <xsl:call-template name="generate.typeset.url"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="url" select="$url"/> - </xsl:call-template> - <xsl:text>}\endgroup\docbooktolatexmakefootnoteref{</xsl:text> - <xsl:call-template name="generate.label.id"/> - <xsl:text>}</xsl:text> - </xsl:template> - - <xsl:template match="footnote/para"> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - - <xsl:template match="footnoteref"> - <xsl:variable name="footnote" select="id(@linkend)"/> - <xsl:text>\docbooktolatexusefootnoteref{</xsl:text> - <xsl:value-of select="@linkend"/> - <xsl:text>}</xsl:text> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/formal.mod.xsl b/docs/docbook/xslt/db2latex/formal.mod.xsl deleted file mode 100644 index 6908119225..0000000000 --- a/docs/docbook/xslt/db2latex/formal.mod.xsl +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="formal" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Formal Objects <filename>formal.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template name="formal.object"> - <xsl:call-template name="formal.object.heading"> - <xsl:with-param name="title"><xsl:apply-templates select="." mode="title.ref"/></xsl:with-param> - </xsl:call-template> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template name="formal.object.heading"> - <xsl:param name="title"></xsl:param> - <xsl:call-template name="label.id"/> - <xsl:copy-of select="$title"/> - </xsl:template> - - <xsl:template name="informal.object"> - <xsl:call-template name="label.id"/> - <xsl:apply-templates/> - </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 name="generate.formal.title.placement"> - <xsl:param name="object" select="figure" /> - <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),concat($object, ' '))"/> - <xsl:choose> - <xsl:when test="contains($param.placement, ' ')"> - <xsl:value-of select="substring-before($param.placement, ' ')"/> - </xsl:when> - <xsl:when test="$param.placement = ''">before</xsl:when> - <xsl:otherwise> - <xsl:value-of select="$param.placement"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - -<!-- ======================================== --> -<!-- XSL Template for DocBook Equation Element --> -<!-- 2003/07/04 Applied patches from J.Pavlovic --> -<!-- ======================================== --> -<xsl:template match="equation"> -<!-- Equation title placement --> -<xsl:variable name="placement"> - <xsl:call-template name="generate.formal.title.placement"> - <xsl:with-param name="object" select="local-name(.)" /> - </xsl:call-template> -</xsl:variable> -<!-- Equation caption --> -<xsl:variable name="caption"> - <xsl:text>\caption{</xsl:text> - <xsl:apply-templates select="title" mode="caption.mode"/> - <xsl:text>} </xsl:text> -</xsl:variable> -<xsl:call-template name="map.begin"/> -<xsl:if test="$placement='before'"> - <xsl:text>\captionswapskip{}</xsl:text> - <xsl:value-of select="$caption" /> - <xsl:text>\captionswapskip{}</xsl:text> -</xsl:if> -<xsl:choose> - <xsl:when test="informalequation"> - <xsl:apply-templates select="informalequation"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|mediaobject/textobject[@role='tex' or @role='latex']|mediaobject/textobject/phrase[@role='tex' or @role='latex']"/> - <xsl:choose> - <xsl:when test="$tex"> - <xsl:apply-templates select="$tex"/> - </xsl:when> - <xsl:when test="alt and $latex.alt.is.preferred='1'"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:when test="mediaobject"> - <xsl:apply-templates select="mediaobject"/> - </xsl:when> - <xsl:when test="alt"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="graphic"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> -</xsl:choose> -<xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if> -<xsl:call-template name="map.end"/> -</xsl:template> - - -<xsl:template match="equation/title"/> - - - - - -<xsl:template match="informalequation"> -<xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|mediaobject/textobject[@role='tex' or @role='latex']|mediaobject/textobject/phrase[@role='tex' or @role='latex']"/> -<xsl:text> </xsl:text> -<xsl:choose> - <xsl:when test="$tex"> - <xsl:apply-templates select="$tex"/> - </xsl:when> - <xsl:when test="alt and $latex.alt.is.preferred='1'"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:when test="mediaobject"> - <xsl:apply-templates select="mediaobject"/> - </xsl:when> - <xsl:when test="alt"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="graphic"/> - </xsl:otherwise> -</xsl:choose> -<xsl:text> </xsl:text> -</xsl:template> - - - - - - - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/glossary.mod.xsl b/docs/docbook/xslt/db2latex/glossary.mod.xsl deleted file mode 100644 index f429187aee..0000000000 --- a/docs/docbook/xslt/db2latex/glossary.mod.xsl +++ /dev/null @@ -1,218 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="glossary" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Glossary <filename>glossary.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>This reference applies to the glossary element name. Altough LaTeX - provides some glossary support, the better glossary management support - motivates the bypass of the LaTeX <literal>\makeglossary</literal> - command.</para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="glossary" xmlns=""> - <refpurpose> Glossary XSL template / entry point </refpurpose> - <refdescription><para>The <sgmltag>glossary</sgmltag> element is the entry point - to a docbook glossary. The DB2LaTeX processing of the element is quite straight- - forward. First thing is to check whether the document is a book or article. In - both cases two new LaTeX commands are defined. <literal>\dbglossary</literal> - and <literal>\dbglossdiv</literal>. In the former case, they are mapped to - <literal>\chapter*</literal> and <literal>\section*</literal>. In the second - case to <literal>\section*</literal> and <literal>\subsection*</literal>.</para> - </refdescription> - <itemizedlist> - <listitem><para>Call template map.begin.</para></listitem> - <listitem><para>Apply Templates for Preamble, GlossDivs and GlossEntries (serial).</para></listitem> - <listitem><para>Call template map.end.</para></listitem> - </itemizedlist> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para>Template for glossary/glossaryinfo is EMPTY.</para></listitem> - <listitem><para>Template for glossary/title | glossary/subtitle is EMPTY.</para></listitem> - <listitem><para>Template for glossary/titleabbrev is EMPTY.</para></listitem> - </itemizedlist> - </formalpara> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="glossary"> - <xsl:variable name="divs" select="glossdiv"/> - <xsl:variable name="entries" select="glossentry"/> - <xsl:variable name="preamble" select="*[not(self::title or self::subtitle or self::glossdiv or self::glossentry)]"/> - <xsl:choose> - <xsl:when test="local-name(..)='book' or local-name(..)='part'"> - <xsl:text>\newcommand{\dbglossary}[1]{\chapter*{#1}}% </xsl:text> - <xsl:text>\newcommand{\dbglossdiv}[1]{\section*{#1}}% </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\newcommand{\dbglossary}[1]{\section*{#1}}% </xsl:text> - <xsl:text>\newcommand{\dbglossdiv}[1]{\subsection*{#1}}% </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="map.begin"/> - <xsl:if test="./subtitle"><xsl:apply-templates select="./subtitle" mode="component.title.mode"/> </xsl:if> - <xsl:if test="$preamble"> <xsl:apply-templates select="$preamble"/> </xsl:if> - <xsl:if test="$divs"> <xsl:apply-templates select="$divs"/> </xsl:if> - <xsl:if test="$entries"> <xsl:apply-templates select="$entries"/></xsl:if> - <xsl:call-template name="map.end"/> - </xsl:template> - - <xsl:template match="glossary/glossaryinfo"/> - <xsl:template match="glossary/title"/> - <xsl:template match="glossary/subtitle"/> - <xsl:template match="glossary/titleabbrev"/> - <xsl:template match="glossary/title" mode="component.title.mode"> <xsl:apply-templates/> </xsl:template> - <xsl:template match="glossary/subtitle" mode="component.title.mode"> <xsl:apply-templates/> </xsl:template> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="glossdiv|glosslist" xmlns=""> - <refpurpose> Glossary Division and Glossary Lists XSL templates. </refpurpose> - <refdescription><para>T.B.D</para> - </refdescription> - <itemizedlist> - <listitem><para>Call template map.begin.</para></listitem> - <listitem><para>Apply Templates.</para></listitem> - <listitem><para>Call template map.end.</para></listitem> - </itemizedlist> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para>Template for glossdiv/glossaryinfo is EMPTY.</para></listitem> - </itemizedlist> - </formalpara> - </doc:template> - <!--############################################################################# --> - <xsl:template match="glossdiv|glosslist"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:template> - - <xsl:template match="glossdiv/title" /> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="glossentry" xmlns=""> - <refpurpose> Glossary Entry XSL template / entry point </refpurpose> - <refdescription> - <para>T.B.D.</para> - </refdescription> - <itemizedlist> - <listitem><para>Apply Templates.</para></listitem> - </itemizedlist> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para>Explicit Templates for <literal>glossentry/glossterm</literal></para></listitem> - <listitem><para>Explicit Templates for <literal>glossentry/acronym</literal></para></listitem> - <listitem><para>Explicit Templates for <literal>glossentry/abbrev</literal></para></listitem> - <listitem><para>Explicit Templates for <literal>glossentry/glossdef</literal></para></listitem> - <listitem><para>Explicit Templates for <literal>glossentry/glosssee</literal></para></listitem> - <listitem><para>Explicit Templates for <literal>glossentry/glossseealso</literal></para></listitem> - <listitem><para>Template for glossentry/revhistory is EMPTY.</para></listitem> - </itemizedlist> - </formalpara> - </doc:template> - <!--############################################################################# --> - - - <xsl:template match="glossentry"> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - <xsl:template match="glossentry/glossterm"> - <xsl:text>\item[</xsl:text> - <xsl:if test="../@id!=''"> - <xsl:text>\hypertarget{</xsl:text> - <xsl:value-of select="../@id"/> - <xsl:text>}</xsl:text> - </xsl:if> - <xsl:text>{</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - <xsl:text>}] </xsl:text> - </xsl:template> - - <xsl:template match="glossentry/acronym"> - <xsl:text> ( \texttt {</xsl:text> <xsl:apply-templates/> <xsl:text>} ) </xsl:text> - </xsl:template> - - <xsl:template match="glossentry/abbrev"> - <xsl:text> [ </xsl:text> <xsl:apply-templates/> <xsl:text> ] </xsl:text> - </xsl:template> - - <xsl:template match="glossentry/revhistory"/> - - <xsl:template match="glossentry/glossdef"> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="glossseealso|glossentry/glosssee"> - <xsl:variable name="otherterm" select="@otherterm"/> - <xsl:variable name="targets" select="//node()[@id=$otherterm]"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:call-template name="gentext.element.name"/> - <xsl:call-template name="gentext.space"/> - <xsl:call-template name="gentext.startquote"/> - <xsl:choose> - <xsl:when test="@otherterm"> - <xsl:text>\hyperlink{</xsl:text><xsl:value-of select="@otherterm"/> - <xsl:text>}{</xsl:text><xsl:apply-templates select="$target" mode="xref"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="gentext.endquote"/> - <xsl:text>. </xsl:text> - </xsl:template> - - <xsl:template match="glossentry" mode="xref"> - <xsl:apply-templates select="./glossterm" mode="xref"/> - </xsl:template> - - <xsl:template match="glossterm" mode="xref"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/graphic.mod.xsl b/docs/docbook/xslt/db2latex/graphic.mod.xsl deleted file mode 100644 index 1c9845c93e..0000000000 --- a/docs/docbook/xslt/db2latex/graphic.mod.xsl +++ /dev/null @@ -1,87 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="graphic" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Graphics <filename>graphic.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template match="screenshot"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="screeninfo"> - </xsl:template> - - - <xsl:template match="graphic[@fileref]"> - <xsl:text>\includegraphics{</xsl:text> <xsl:value-of select="normalize-space(@fileref)"/>} - </xsl:template> - - <xsl:template match="graphic[@entityref]"> - <xsl:text>\includegraphics{</xsl:text> <xsl:value-of select="unparsed-entity-uri(@entityref)"/>} - </xsl:template> - - - <xsl:template match="inlinegraphic[@fileref]"> - <xsl:choose> - <xsl:when test="@format='linespecific'"> - <a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>\includegraphics{</xsl:text> - <xsl:if test="@align"> - <!-- <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute> --> - </xsl:if> - <xsl:value-of select="normalize-space(@fileref)"/>} - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="inlinegraphic[@entityref]"> - <xsl:choose> - <xsl:when test="@format='linespecific'"> - <a xml:link="simple" show="embed" actuate="auto" href="{@fileref}"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>\includegraphics{</xsl:text> - <xsl:if test="@align"> - <!-- <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute> --> - </xsl:if> - <xsl:value-of select="unparsed-entity-uri(@entityref)"/>} - </xsl:otherwise> - </xsl:choose> - </xsl:template> -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/html.mod.xsl b/docs/docbook/xslt/db2latex/html.mod.xsl deleted file mode 100644 index a94ac3c80f..0000000000 --- a/docs/docbook/xslt/db2latex/html.mod.xsl +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - | - + ############################################################################## --> - - - <xsl:template name="html"> - </xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/index.mod.xsl b/docs/docbook/xslt/db2latex/index.mod.xsl deleted file mode 100644 index 0ca975bd50..0000000000 --- a/docs/docbook/xslt/db2latex/index.mod.xsl +++ /dev/null @@ -1,213 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="index" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Index <filename>index.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - -<!-- This parameter is for enabeling or disabling of indexterms --> -<xsl:param name="latex.generate.indexterm">1</xsl:param> - -<!-- Our key for ranges --> -<xsl:key name="indexterm-range" match="indexterm[@class='startofrange']" use="@id"/> - - - - -<!-- ############################################################### --> -<!-- Index --> -<!-- --> -<!-- ############################################################### --> -<xsl:template match="index|setindex"> - <xsl:call-template name="label.id"/> - <xsl:text>\printindex </xsl:text> -</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"> - <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template> -</xsl:template> - -<xsl:template match="index/subtitle" mode="component.title.mode"/> - - -<!-- ############################################################### --> -<!-- IndexDiv --> -<!-- --> -<!-- ############################################################### --> -<xsl:template match="indexdiv"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="indexdiv/title"> - <xsl:call-template name="label.id"> <xsl:with-param name="object" select=".."/> </xsl:call-template> -</xsl:template> - - -<!-- INDEX TERM CONTENT MODEL -IndexTerm ::= -(Primary, -((Secondary, -((Tertiary, -(See|SeeAlso+)?)| -See|SeeAlso+)?)| -See|SeeAlso+)?) ---> -<!-- ############################################################### --> -<!-- IndexDiv --> -<!-- --> -<!-- ############################################################### --> -<xsl:template match="indexterm"> -<xsl:if test="$latex.generate.indexterm != 0"> -<!-- - <xsl:text>\index{</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(./primary)"/> - </xsl:call-template> - <xsl:if test="./secondary"> - <xsl:text>!</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(./secondary)"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="./tertiary"> - <xsl:text>!</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(./tertiary)"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="./see"> - <xsl:text>|see{</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(./see)"/> - </xsl:call-template> - <xsl:text>}</xsl:text> - </xsl:if> - <xsl:if test="./seealso"> - <xsl:text>|see{</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(./seealso)"/> - </xsl:call-template> - <xsl:text>}</xsl:text> - </xsl:if> - <xsl:text>}</xsl:text> ---> - <xsl:variable name="idxterm"> - <xsl:apply-templates mode="indexterm"/> - </xsl:variable> - - <xsl:if test="@class and @zone"> - <xsl:message terminate="yes">Error: Only one attribut (@class or @zone) is in indexterm possible!</xsl:message> - </xsl:if> - - <xsl:choose> - <xsl:when test="@class='startofrange'"> - <xsl:text>\index{</xsl:text> - <xsl:value-of select="normalize-space($idxterm)"/> - <xsl:text>|(}</xsl:text> - </xsl:when> - <xsl:when test="@class='endofrange'"> - <xsl:choose> - <xsl:when test="count(key('indexterm-range',@startref)) = 0"> - <xsl:message terminate="yes"><xsl:text>Error: No indexterm with </xsl:text> - <xsl:text>id='</xsl:text><xsl:value-of select="@startref"/> - <xsl:text>' found!</xsl:text> - <xsl:text> Check your attributs id/startref in your indexterms!</xsl:text> - </xsl:message> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="thekey" select="key('indexterm-range',@startref)"/> - <xsl:text>\index{</xsl:text> - <xsl:apply-templates select="$thekey/*" mode="indexterm"/> - <xsl:text>|)}</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>\index{</xsl:text> - <xsl:message terminate="no"><xsl:text>Simple case:</xsl:text></xsl:message> - <xsl:value-of select="normalize-space($idxterm)"/> - <xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:if> -</xsl:template> - - -<!-- ================================================ --> -<xsl:template match="*" mode="indexterm"> - <xsl:message>WARNING: Element '<xsl:value-of select="local-name()"/>' in indexterm not supported!</xsl:message> -</xsl:template> - - - -<!-- ================================================ --> -<xsl:template match="primary" mode="indexterm"> -<xsl:apply-templates mode="indexterm"/> -</xsl:template> - -<xsl:template match="secondary" mode="indexterm"> -<xsl:text>!</xsl:text> -<xsl:apply-templates mode="indexterm"/> -</xsl:template> - -<xsl:template match="tertiary" mode="indexterm"> -<xsl:text>!</xsl:text> -<xsl:apply-templates mode="indexterm"/> -</xsl:template> - -<xsl:template match="see|seealso" mode="indexterm"> -<xsl:text>|see{</xsl:text> -<xsl:apply-templates mode="indexterm"/> -<xsl:text>} </xsl:text> -</xsl:template> - - -<!-- ================================================ --> -<!-- A simple example of what can be in an primary, --> -<!-- secondary or tertiary. --> -<!-- ================================================ --> -<xsl:template match="acronym" mode="indexterm"> -<xsl:apply-templates mode="indexterm"/> -</xsl:template> - - -<xsl:template match="primary|secondary|tertiary|see|seealso"/> -<xsl:template match="indexentry"/> -<xsl:template match="primaryie|secondaryie|tertiaryie|seeie|seealsoie"/> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/info.mod.xsl b/docs/docbook/xslt/db2latex/info.mod.xsl deleted file mode 100644 index a2a35d4629..0000000000 --- a/docs/docbook/xslt/db2latex/info.mod.xsl +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="info" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Info <filename>info.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <!-- 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) --> - - - <xsl:template match="corpauthor"> - <xsl:apply-templates/> - </xsl:template> - - - <xsl:template match="jobtitle"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="orgname"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="orgdiv"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/inline.mod.xsl b/docs/docbook/xslt/db2latex/inline.mod.xsl deleted file mode 100644 index 5a6d8cc214..0000000000 --- a/docs/docbook/xslt/db2latex/inline.mod.xsl +++ /dev/null @@ -1,523 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="inline" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Inline <filename>inline.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - - <xsl:template name="inline.charseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:copy-of select="$content"/> - </xsl:template> - - <xsl:template name="inline.monoseq"> - <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>{\texttt{</xsl:text> - <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if> - <xsl:text>{</xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}}}</xsl:text> - </xsl:template> - - <xsl:template name="inline.boldseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>{\bfseries </xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}</xsl:text> - </xsl:template> - - <xsl:template name="inline.italicseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>{\em </xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}</xsl:text> - </xsl:template> - - <xsl:template name="inline.boldmonoseq"> - <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>{\texttt\bfseries{</xsl:text> - <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if> - <xsl:text>{</xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}}}</xsl:text> - </xsl:template> - - <xsl:template name="inline.italicmonoseq"> - <xsl:param name="hyphenation">\docbookhyphenatedot</xsl:param> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>{\texttt\itshape{</xsl:text> - <xsl:if test="$latex.hyphenation.tttricks='1'"><xsl:value-of select="$hyphenation" /></xsl:if> - <xsl:text>{</xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}}}</xsl:text> - </xsl:template> - - <xsl:template name="inline.superscriptseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>$^\text{</xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}$</xsl:text> - </xsl:template> - - <xsl:template name="inline.subscriptseq"> - <xsl:param name="content"> - <xsl:apply-templates/> - </xsl:param> - <xsl:text>$_\text{</xsl:text> - <xsl:copy-of select="$content"/> - <xsl:text>}$</xsl:text> - </xsl:template> - - - - - - - <!-- ==================================================================== --> - <!-- some special cases --> - - <xsl:template match="author"> - <xsl:call-template name="person.name"/> - </xsl:template> - - <xsl:template match="editor"> - <xsl:call-template name="person.name"/> - </xsl:template> - - <xsl:template match="othercredit"> - <xsl:call-template name="person.name"/> - </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:with-param name="hyphenation">\docbookhyphenatefilename</xsl:with-param></xsl:call-template> - </xsl:template> - - - - <xsl:template match="function"> - <xsl:choose> - <xsl:when test="$function.parens != '0' - or parameter or function or replaceable"> <xsl:variable name="nodes" select="text()|*"/> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:apply-templates select="$nodes[1]"/> - </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|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"> - <xsl:text>{\sffamily \bfseries </xsl:text> - <xsl:call-template name="inline.charseq" /> - <xsl:text>}</xsl:text> - </xsl:template> - - <xsl:template match="hardware"> - <xsl:call-template name="inline.charseq"/> - </xsl:template> - - <xsl:template match="interfacedefinition"> - <xsl:call-template name="inline.charseq"/> - </xsl:template> - - <xsl:template match="keycap|keysym"> - <xsl:call-template name="inline.boldseq" /> - </xsl:template> - - <xsl:template match="keycode"> - <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:apply-templates/> - </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" priority="1"> - <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:call-template name="inline.charseq"/> - </xsl:template> - - <xsl:template match="citetitle"> - <xsl:call-template name="inline.italicseq"/> - </xsl:template> - - <xsl:template match="emphasis"> - <xsl:call-template name="inline.italicseq"/> - </xsl:template> - - <xsl:template match="emphasis[@role='bold']"> - <xsl:call-template name="inline.boldseq"/> - </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> - - <doc:template match="phrase"> - <refpurpose> A span of text </refpurpose> - <refdescription><para> - This is a regular inline sequence. - However, if the role attribute is 'tex' or 'latex', the content - will be output without LaTeX active-character escaping. - </para></refdescription> - </doc:template> - <xsl:template match="phrase"> - <xsl:choose> - <xsl:when test="@role='tex' or @role='latex'"> - <xsl:value-of select="."/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.charseq"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="quote"> - <xsl:call-template name="gentext.nestedstartquote"/> - <xsl:call-template name="inline.charseq"/> - <xsl:call-template name="gentext.nestedendquote"/> - </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:call-template name="dingbat"> - <xsl:with-param name="dingbat">trademark</xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="firstterm"> - <xsl:call-template name="inline.italicseq"/> - </xsl:template> - - <xsl:template match="glossterm"> - <xsl:call-template name="inline.charseq"/> - </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> $\to$ </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="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:template> - - <xsl:template match="productnumber"> - <xsl:call-template name="inline.charseq"/> - </xsl:template> - - <!-- ==================================================================== --> - - <xsl:template match="pob|street|city|state|postcode|country|phone|fax|otheraddr"> - <xsl:call-template name="inline.charseq"/> - </xsl:template> - - <!-- ==================================================================== --> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/keywords.mod.xsl b/docs/docbook/xslt/db2latex/keywords.mod.xsl deleted file mode 100644 index 80d5457199..0000000000 --- a/docs/docbook/xslt/db2latex/keywords.mod.xsl +++ /dev/null @@ -1,59 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="keywords" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Keywords <filename>keywords.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - -<xsl:template match="keywordset"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> -</xsl:template> - -<xsl:template match="keyword"> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="normalize-space(.)"/> - </xsl:call-template> - <xsl:if test="following-sibling::keyword">, </xsl:if> -</xsl:template> - - - - - -<xsl:template match="subjectset"></xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/labelid.mod.xsl b/docs/docbook/xslt/db2latex/labelid.mod.xsl deleted file mode 100644 index 5305e07c5a..0000000000 --- a/docs/docbook/xslt/db2latex/labelid.mod.xsl +++ /dev/null @@ -1,476 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: When this template is called, it marks the object with a label -| and an hypertarget. -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="labelid" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Labels <filename>labelid.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <doc:template name="label.id" xmlns=""> - <refpurpose>Marks the current object with a label.</refpurpose> - <refdescription> - <para>This template marks the current object with a <literal> - \label{.}</literal>. The passed argument indicates the object whose - <literal>id attribute</literal> is used to generate the label. - In this sense, in most cases its the current node itself. - If the used object has not an id attribute, a unique id is - obtained by means of the <literal>generate-id</literal> function. - Moreover, if we are using the hyperref package, a hypertarget is - also defined for this object. </para> - </refdescription> - <refparameter> - <variablelist> - <varlistentry><term>object</term> - <listitem><para>The node whose id is to be used.</para></listitem> - </varlistentry> - </variablelist> - </refparameter> - <refreturn> - <para>This template returns the id that has been used to label the - object.</para> - </refreturn> - </doc:template> - - <xsl:template name="label.id"> - <xsl:text>\label{</xsl:text> - <xsl:call-template name="generate.label.id"/> - <xsl:text>}</xsl:text> - </xsl:template> - - <xsl:template name="generate.label.id"> - <xsl:param name="object" select="."/> - <xsl:variable name="id"> - <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:variable> - <xsl:value-of select="normalize-space($id)"/> - </xsl:template> - - - - - <!-- - <xsl:template match="*" mode="label.content"> - <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.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:template> - - <xsl:template match="part" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="part" format="I"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - - <xsl:template match="preface" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$preface.autolabel != 0"> - <xsl:number from="book" count="preface" format="1" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="chapter" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:number from="book" count="chapter" format="1" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="appendix" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$chapter.autolabel != 0"> - <xsl:number from="book" count="appendix" format="A" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="article" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:template> - - - <xsl:template match="dedication|colophon" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:template> - - <xsl:template match="reference" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$part.autolabel != 0"> - <xsl:number from="book" count="reference" format="I" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="refentry" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:template> - - <xsl:template match="section" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <xsl:if test="local-name(..) = 'section'"> - <xsl:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - - <xsl:variable name="parent.is.component"> - <xsl:call-template name="is.component"> - <xsl:with-param name="node" select=".."/> - </xsl:call-template> - </xsl:variable> - - <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:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$label != 0"> - <xsl:number count="section"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="sect1" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <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:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - </xsl:if> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number count="sect1"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="sect2|sect3|sect4|sect5" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - - <xsl:apply-templates select=".." mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </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.content: this can't happen!</xsl:message> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - <xsl:template match="refsect1|refsect2|refsect3" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number level="multiple" count="refsect1|refsect2|refsect3"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="simplesect" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$section.autolabel != 0"> - <xsl:number level="multiple" count="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |simplesect"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="qandadiv" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <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:if test="count($lparent)>0"> - <xsl:apply-templates select="$lparent" mode="label.content"/> - </xsl:if> - </xsl:if> - </xsl:variable> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="$prefix"/> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:when test="$qandadiv.autolabel != 0"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandadiv" format="1"/> - <xsl:value-of select="$punct"/> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="question|answer" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:variable name="prefix"> - <xsl:if test="$qanda.inherit.numeration != 0"> - <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 - |ancestor::qandadiv)[last()]"/> - <xsl:if test="count($lparent)>0"> - <xsl:apply-templates select="$lparent" mode="label.content"/> - </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:value-of select="$prefix"/> - <xsl:apply-templates select="$label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - - <xsl:when test="$deflabel = 'qanda'"> - <xsl:call-template name="gentext.element.name"/> - </xsl:when> - - <xsl:when test="$deflabel = 'number'"> - <xsl:if test="name(.) = 'question'"> - <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandaentry" format="1"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:when> - </xsl:choose> - </xsl:template> - - <xsl:template match="bibliography|glossary|index" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:if test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:if> - </xsl:template> - - <xsl:template match="figure|table|example|equation" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - <xsl:choose> - <xsl:when test="@label"> - <xsl:value-of select="@label"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="pchap" - select="ancestor::chapter|ancestor::appendix"/> - <xsl:choose> - <xsl:when test="count($pchap)>0"> - <xsl:apply-templates select="$pchap" mode="label.content"> - <xsl:with-param name="punct">.</xsl:with-param> - </xsl:apply-templates> - <xsl:number format="1" from="chapter|appendix" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:when> - <xsl:otherwise> - <xsl:number format="1" from="book|article" level="any"/> - <xsl:value-of select="$punct"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="abstract" mode="label.content"> - <xsl:param name="punct">.</xsl:param> - </xsl:template> - --> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/latex.mapping.dtd b/docs/docbook/xslt/db2latex/latex.mapping.dtd deleted file mode 100644 index 361ce5a18d..0000000000 --- a/docs/docbook/xslt/db2latex/latex.mapping.dtd +++ /dev/null @@ -1,13 +0,0 @@ -<!ELEMENT latexbindings (latexmapping+)> -<!ELEMENT latexmapping (mapping+)> -<!ELEMENT mapping (line*)> -<!ELEMENT line (#PCDATA)> - -<!ATTLIST latexmapping -role CDATA #REQUIRED -> -<!ATTLIST mapping -key CDATA #REQUIRED -text CDATA #REQUIRED -> - diff --git a/docs/docbook/xslt/db2latex/latex.mapping.xml b/docs/docbook/xslt/db2latex/latex.mapping.xml deleted file mode 100644 index 1616774046..0000000000 --- a/docs/docbook/xslt/db2latex/latex.mapping.xml +++ /dev/null @@ -1,290 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE latexbindings SYSTEM "latex.mapping.dtd" []> - -<latexbindings> - - <!-- - ################################################################ - Keywords - %id - %title - ################################################################ --> - - - <!-- LaTeX mapping, role, BEGIN --> - <latexmapping role="begin"> - - <mapping key="abstract" text=""> - <line> </line> - <line>% -------------------------------------------- </line> - <line>% Abstract </line> - <line>% -------------------------------------------- </line> - <line>\begin{abstract} </line> - </mapping> - - <mapping key="admonition" text=""> - <line> </line> - <line>\begin{admonition}%title% NOTICE: see the db2latex FAQ w.r.t db2latex variable $latex.admonition.path </line> - </mapping> - - <mapping key="appendixes" text=""> - <line>% ------------------------------------------------------------- </line> - <line>% Appendixes start here </line> - <line>% ------------------------------------------------------------- </line> - <line>\appendix </line> - </mapping> - - <mapping key="appendix" text=""> - <line> </line> - <line>% ------------------------------------------------------------- </line> - <line>% appendix: %title </line> - <line>% ------------------------------------------------------------- </line> - <line>\dbappendix{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="chapter" text=""> - <line> </line> - <line>% ------------------------------------------------------------- </line> - <line>% Chapter %title </line> - <line>% ------------------------------------------------------------- </line> - <line>\chapter{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="figure" text=""> - <line> </line> - <line>% figure ------------------------------------------------------ </line> - <line>\begin{figure}[hbt] </line> - <line>\begin{center}% </line> - <line>\hypertarget{%id}{}% </line> - </mapping> - - - <mapping key="keywordset" text=""> - <line> </line> - <line>% keywords ------------------------------------------------------ </line> - <line>\begin{keywords} </line> - </mapping> - - <mapping key="table" text=""> - <line> </line> - <line>% table ------------------------------------------------------ </line> - <line>\begin{table}[hbt] </line> - <line>\begin{center}% </line> - <line>\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="informaltable" text=""> - <line> </line> - <line>% tabular ------------------------------------------------------ </line> - <line>\begin{center} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="equation" text=""> - <line> \begin{dbequation} </line> - <line>\begin{center} </line> - </mapping> - - <mapping key="glossary" text=""> - <line>% ------------------------------------------------------------- </line> - <line>% </line> - <line>% GLOSSARY %title </line> - <line>% </line> - <line>% ------------------------------------------------------------- </line> - <line>\dbglossary{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="glossdiv" text=""> - <line>% </line> - <line>% ------------------------------------------------------------- </line> - <line>\dbglossdiv{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - <line>\noindent% </line> - <line>\begin{description}% </line> - </mapping> - - <mapping key="part" text=""> - <line>% ------------------------------------------------------------- </line> - <line>% </line> - <line>% PART %title </line> - <line>% </line> - <line>% ------------------------------------------------------------- </line> - <line>\part{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="refentry" text=""> - <line>% </line> - <line>% ------------------------------------------------------------- </line> - <line>% Refentry </line> - <line>% ------------------------------------------------------------- </line> - <line>\section*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="reference" text=""> - <line>% </line> - <line>% ------------------------------------------------------------- </line> - <line>% Reference </line> - <line>% ------------------------------------------------------------- </line> - <line>\chapter*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="revhistory" text=""> - <line> </line> - <line>% ------------------------ </line> - <line>% RevHistory </line> - <line>% ------------------------ </line> - <line>\pagebreak </line> - <line>\section*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - <line>\begin{center} </line> - <line>\begin{tt} </line> - <line>\begin{tabular}{|l||l|l|} \hline </line> - </mapping> - - <mapping key="example" text=" \begin{example}% "/> - - <mapping key="programlisting" text=" \begin{program}% "/> - - <mapping key="sect1" text=""> - <line> </line> - <line>% ------------------------ </line> - <line>% Section </line> - <line>\section{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="sect2" text=""> - <line>\subsection{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="sect3" text=""> - <line>\subsubsection{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="sect4" text=""> - <line>\subparagraph*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="sect5" text=""> - <line>\subparagraph*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="sect6" text=""> - <line>\subparagraph*{%title} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="formalpara" text=""> - <line>\subsubsection*{\small{%title}} </line> - <line>\label{%id}\hypertarget{%id}{}% </line> - </mapping> - - <mapping key="refentry" text=" \section*{%title} \label{%id} "/> - <mapping key="refsect1" text=" \subsection*{%title} \label{%id} "/> - <mapping key="refsect2" text=" \subsubsection*{%title} \label{%id} "/> - <mapping key="refsect3" text=" \paragraph*{%title} \label{%id} "/> - - </latexmapping> - - - - <!-- LaTeX mapping, role, END --> - - <latexmapping role="end"> - - <mapping key="abstract" text=""> - <line>\end{abstract} </line> - <line> </line> - </mapping> - - <mapping key="admonition" text=""> - <line>\end{admonition} </line> - <line> </line> - </mapping> - - <mapping key="book" text=""> - <line> </line> - <line>\end{document} </line> - <line> </line> - </mapping> - - <mapping key="chapter" text=""/> - - <mapping key="example" text=""> - <line>\label{%id}\hypertarget{%id}{}% </line> - <line>\end{example} </line> - <line> </line> - </mapping> - - <mapping key="figure" text=""> - <line>\label{%id} </line> - <line>\end{center} </line> - <line>\end{figure} </line> - <line> </line> - </mapping> - <mapping key="equation" text=""> - <line>\label{%id}\hypertarget{%id}{}% </line> - <line>\end{center} </line> - <line>\end{dbequation} </line> - <line> </line> - </mapping> - - <mapping key="glossary" text=""> - </mapping> - - <mapping key="glossdiv" text=""> - <line>\end{description}% </line> - </mapping> - - - <mapping key="keywordset" text=""> - <line>\end{keywords} </line> - </mapping> - - <mapping key="part" text=""> - </mapping> - - <mapping key="table" text=""> - <line>\label{%id} </line> - <line>\end{center} </line> - <line>\end{table} </line> - <line> </line> - </mapping> - - <mapping key="informaltable" text=""> - <line>\end{center} </line> - <line> </line> - </mapping> - - <mapping key="programlisting" text=""> - <line>\label{%id}\hypertarget{%id}{}% </line> - <line>\end{center} </line> - <line>\end{program} </line> - <line> </line> - </mapping> - - <mapping key="revhistory" text=""> - <line>\end{tabular} </line> - <line>\end{tt} </line> - <line>\end{center} </line> - <line>% ------------------------ </line> - <line>% End RevHistory </line> - <line>% ------------------------ </line> - </mapping> - </latexmapping> - - <latexmapping role="entities"> - <mapping key="∞" text=" \infty "/> - </latexmapping> - -</latexbindings> diff --git a/docs/docbook/xslt/db2latex/latex.mapping.xsl b/docs/docbook/xslt/db2latex/latex.mapping.xsl deleted file mode 100644 index 2ab53de9bf..0000000000 --- a/docs/docbook/xslt/db2latex/latex.mapping.xsl +++ /dev/null @@ -1,174 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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:variable name="latex.mapping.xml" select="document('latex.mapping.xml')"/> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="glossary" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <author> - <firstname>Ramon</firstname><surname>Casellas</surname> - </author> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>The DB2LaTeX mapping system <filename>latex.mapping.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para>The DB2LaTeX mapping system centralizes mapping docbook tags (e.g. <sgmltag>chapter</sgmltag>) - to LaTeX commands <literal>\chapter</literal>. It used an auxiliary file, <filename>latex.mapping.xml</filename> - that defines how the mapping is to be done.</para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template name="latex.mapping" xmlns=""> - <refpurpose></refpurpose> - <refdescription> - <para></para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - <formalpara><title>Default Behaviour</title> - <screen></screen> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - - - <xsl:template name="latex.mapping"> - <xsl:param name="object" select="."/> - <xsl:param name="keyword" select="local-name($object)"/> - <xsl:param name="role" select="begin"/> - <xsl:param name="string"> - <xsl:call-template name="extract.object.title"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:param> - <xsl:param name="use.label" select="1"/> - <xsl:param name="use.hypertarget" select="1"/> - <xsl:variable name="id"> - <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:variable> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$string=''"> - <xsl:call-template name="gentext.element.name"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="normalize-space($string)"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="latex.mapping.node" - select="($latex.mapping.xml/latexbindings/latexmapping[@role=$role]/mapping[@key=$keyword])"/> - <xsl:choose> - <xsl:when test="$latex.mapping.node/@text!=''"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param> - <xsl:with-param name="from">%id</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param> - <xsl:with-param name="from">%title</xsl:with-param> - <xsl:with-param name="string"> - <xsl:value-of select="$latex.mapping.node/@text"/> - </xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:for-each select="$latex.mapping.node/line"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to"><xsl:value-of select="$id"/></xsl:with-param> - <xsl:with-param name="from">%id</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to"><xsl:value-of select="$title"/></xsl:with-param> - <xsl:with-param name="from">%title</xsl:with-param> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:for-each> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - <xsl:template name="map.begin"> - <xsl:param name="object" select="."/> - <xsl:param name="keyword" select="local-name($object)"/> - <xsl:param name="string"> - <xsl:call-template name="extract.object.title"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:param> - <xsl:call-template name="latex.mapping"> - <xsl:with-param name="keyword" select="$keyword"/> - <xsl:with-param name="role">begin</xsl:with-param> - <xsl:with-param name="string" select="$string"/> - </xsl:call-template> - </xsl:template> - - <xsl:template name="map.end"> - <xsl:param name="object" select="."/> - <xsl:param name="keyword" select="local-name($object)"/> - <xsl:param name="role" select="begin"/> - <xsl:param name="string"> - <xsl:call-template name="extract.object.title"> - <xsl:with-param name="object" select="$object"/> - </xsl:call-template> - </xsl:param> - <xsl:call-template name="latex.mapping"> - <xsl:with-param name="keyword" select="$keyword"/> - <xsl:with-param name="string" select="$string"/> - <xsl:with-param name="role">end</xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="title" mode="latex"><xsl:apply-templates/></xsl:template> - - <xsl:template name="extract.object.title"> - <xsl:param name="object" select="."/> - <xsl:choose> - <xsl:when test="$latex.apply.title.templates='1'"> - <xsl:apply-templates select="$object/title" mode="latex"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="$object/title"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/lists.mod.xsl b/docs/docbook/xslt/db2latex/lists.mod.xsl deleted file mode 100644 index cdd093b3d0..0000000000 --- a/docs/docbook/xslt/db2latex/lists.mod.xsl +++ /dev/null @@ -1,452 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="lists" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Lists <filename>lists.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <xsl:template match="variablelist/title| orderedlist/title | itemizedlist/title | simplelist/title"> - <xsl:text> {\sc </xsl:text> - <xsl:apply-templates/> - <xsl:text>} </xsl:text> - </xsl:template> - - - <xsl:template match="itemizedlist"> - <xsl:if test="title"> <xsl:apply-templates select="title"/></xsl:if> - <xsl:text> \begin{itemize} </xsl:text> - <xsl:apply-templates select="listitem"/> - <xsl:text> \end{itemize} </xsl:text> - </xsl:template> - - - <xsl:template match="orderedlist"> - <xsl:variable name="numeration"> - <xsl:choose> - <xsl:when test="@numeration"> - <xsl:value-of select="@numeration"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="arabic"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="title"> <xsl:apply-templates select="title"/></xsl:if> - <xsl:text> \begin{enumerate}</xsl:text> - <xsl:if test="@numeration"> - <xsl:choose> - <xsl:when test="@numeration='arabic'"> <xsl:text>[1]</xsl:text> </xsl:when> - <xsl:when test="@numeration='upperalpha'"><xsl:text>[A]</xsl:text> </xsl:when> - <xsl:when test="@numeration='loweralpha'"><xsl:text>[a]</xsl:text> </xsl:when> - <xsl:when test="@numeration='upperroman'"><xsl:text>[I]</xsl:text> </xsl:when> - <xsl:when test="@numeration='lowerroman'"><xsl:text>[i]</xsl:text> </xsl:when> - </xsl:choose> - </xsl:if> - <xsl:apply-templates select="listitem"/> - \end{enumerate} - </xsl:template> - - - - <xsl:template match="variablelist"> - <xsl:if test="title"> - <xsl:apply-templates select="title"/> - </xsl:if> - <xsl:text> \noindent </xsl:text> - <xsl:text> \begin{description} </xsl:text> - <xsl:apply-templates select="varlistentry"/> - <xsl:text> \end{description} </xsl:text> - </xsl:template> - - - <xsl:template match="listitem"> - <xsl:text> %--- Item </xsl:text> - <xsl:text>\item </xsl:text> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - - <xsl:template match="varlistentry"> - <xsl:variable name="id"> - <xsl:call-template name="label.id"/> - </xsl:variable> - <xsl:text>\item[</xsl:text><xsl:apply-templates select="term"/><xsl:text>]\mbox{} % mbox is a trick to induce different typesetting decisions</xsl:text> - <xsl:apply-templates select="listitem"/> - </xsl:template> - - - <xsl:template match="varlistentry/term"> - <xsl:apply-templates/><xsl:text>, </xsl:text> - </xsl:template> - - <xsl:template match="varlistentry/term[position()=last()]"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="varlistentry/listitem"> - <xsl:apply-templates/> - </xsl:template> - - - <xsl:template name="tabular.string"> - <xsl:param name="cols" select="1"/> - <xsl:param name="i" select="1"/> - <xsl:choose> - <xsl:when test="$i > $cols"></xsl:when> - <xsl:otherwise> - <xsl:text>l</xsl:text> - <xsl:call-template name="tabular.string"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - <!--========================================================================== - | Inline simplelist. It is rendered as a list of comma separated values. - | We make the difference between the last member and the rest. XSL easily - | allows this. - +============================================================================--> - - <xsl:template match="simplelist[@type='inline']"> - <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()]"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="simplelist[@type='horiz']"> - <xsl:variable name="cols"> - <xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text> </xsl:text> - <xsl:text>\begin{tabular*}{\linewidth}{</xsl:text> - <xsl:call-template name="tabular.string"> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - <xsl:text>} </xsl:text> - <xsl:call-template name="simplelist.horiz"> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - <xsl:text> \end{tabular*} </xsl:text> - </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)"> - <xsl:text> </xsl:text> - <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> - <xsl:text> \\</xsl:text> - <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"> - <xsl:choose> - <xsl:when test="$members[position()=$cell]"> - <xsl:apply-templates select="$members[position()=$cell]"/> - <xsl:text> </xsl:text> - <xsl:if test="$curcol < $cols"> - <xsl:call-template name="generate.latex.cell.separator"/> - </xsl:if> - </xsl:when> - </xsl:choose> - <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 match="simplelist|simplelist[@type='vert']"> - <xsl:variable name="cols"> - <xsl:choose> - <xsl:when test="@columns"> - <xsl:value-of select="@columns"/> - </xsl:when> - <xsl:otherwise>1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text> </xsl:text> - <!--<xsl:text>\vspace{1cm} </xsl:text>--> - <xsl:text>\begin{tabular*}{\linewidth}{</xsl:text> - <xsl:call-template name="tabular.string"> - <xsl:with-param name="i" select="1"/> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - <xsl:text>}</xsl:text> - <xsl:call-template name="simplelist.vert"> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - <xsl:text> \end{tabular*} </xsl:text> - <!--<xsl:text>\vspace{1cm} </xsl:text>--> - </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"> - <xsl:text> </xsl:text> - <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> - <xsl:text> \\</xsl:text> - <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"> - <xsl:choose> - <xsl:when test="$members[position()=$cell]"> - <xsl:apply-templates select="$members[position()=$cell]"/> - <xsl:text> </xsl:text> - <xsl:if test="$curcol < $cols"> - <xsl:call-template name="generate.latex.cell.separator"/> - </xsl:if> - </xsl:when> - <xsl:otherwise> - </xsl:otherwise> - </xsl:choose> - <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="segmentedlist"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="segmentedlist/title"> - <xsl:text> {\sc </xsl:text> - <xsl:apply-templates/> - <xsl:text>} \\ </xsl:text> - </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: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="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 - --> - - <xsl:text>{ \em </xsl:text> - <xsl:apply-templates select="$segtitles[$segnum=position()]" mode="segtitle-in-seg"/> - <xsl:text>:} </xsl:text> - <xsl:apply-templates/> - </xsl:template> - - - - - - - - - - - <!-- ==================================================================== --> - - <xsl:template match="calloutlist"> - <xsl:if test="./title"> - <xsl:apply-templates select="./title" mode="calloutlist.title.mode"/> - </xsl:if> - <xsl:apply-templates/> - </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"> - <dt> - <xsl:call-template name="callout.arearefs"> - <xsl:with-param name="arearefs" select="@arearefs"/> - </xsl:call-template> - </dt> - <dl><xsl:apply-templates/></dl> - </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="//node()[@id=$arearef]"/> - <xsl:variable name="target" select="$targets[1]"/> - <xsl:choose> - <xsl:when test="count($target)=0"> - <xsl:value-of select="$arearef"/> - <xsl:text>callout ???</xsl:text> - </xsl:when> - <xsl:when test="local-name($target)='co'"> - <!-- FIXME --> - <xsl:text>\href{ </xsl:text> - <xsl:value-of select="$target/@id"/> - <xsl:text>}{</xsl:text> - <xsl:value-of select="$target/@id"/><xsl:text>} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>callout ???</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathelem.mod.xsl b/docs/docbook/xslt/db2latex/mathelem.mod.xsl deleted file mode 100644 index 2b085aa98d..0000000000 --- a/docs/docbook/xslt/db2latex/mathelem.mod.xsl +++ /dev/null @@ -1,222 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Math Elements as theorems, lemmas, propositions, etc. -| Note: these elements are not part of the DocBook DTD. I have extended -| the docbook DTD in order to support this tags, so that's why I have these -| templates here. -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="mathelems" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Math Elements <filename>mathelems.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template match="mathelement"> - <xsl:apply-templates/> - </xsl:template> - - - <!-- - ########################################## - # - # \begin{hypothesis}[title] - # - # \end{hypothesis} - # - ########################################## - --> - <xsl:template match="mathelement/mathhypothesis"> - <xsl:text>\begin{hypothesis}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{rem} </xsl:text> - </xsl:template> - - <!-- - ########################################## - # - # \begin{rem}[title] - # - # \end{rem} - # - ########################################## - --> - <xsl:template match="mathelement/mathremark"> - <xsl:text>\begin{rem}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{rem} </xsl:text> - </xsl:template> - - - <!-- - ########################################## - # - # \begin{exm}[title] - # - # \end{exm} - # - ########################################## - --> - <xsl:template match="mathelement/mathexample"> - <xsl:text>\begin{exm}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{exm} </xsl:text> - </xsl:template> - - - <!-- - ########################################## - # - # \begin{prop}[title] - # - # \end{prop} - # - ########################################## - --> - <xsl:template match="mathelement/mathproposition"> - <xsl:text>\begin{prop}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{prop} </xsl:text> - </xsl:template> - - - <!-- - ########################################## - # - # \begin{thm}[title] - # - # \end{thm} - # - ########################################## - --> - <xsl:template match="mathelement/maththeorem"> - <xsl:text>\begin{thm}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{thm} </xsl:text> - </xsl:template> - - - - <!-- - ########################################## - # - # \begin{defn}[definition title] - # - # \end{defn} - # - ########################################## - --> - <xsl:template match="mathelement/mathdefinition"> - <xsl:text>\begin{defn}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{defn} </xsl:text> - </xsl:template> - - - - <!-- - ########################################## - # - # \begin{lem}[lemma title] - # - # \end{lem} - # - ########################################## - --> - <xsl:template match="mathelement/mathlemma"> - <xsl:text>\begin{lem}[</xsl:text> - <xsl:call-template name="normalize-scape"> - <xsl:with-param name="string" select="title"/> - </xsl:call-template> - <xsl:text>] </xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{lem} </xsl:text> - </xsl:template> - - - <!-- - ########################################## - # - # \begin{proof} - # - # \end{proof} - # - ########################################## - --> - <xsl:template match="mathproof"> - <xsl:text>\begin{proof}</xsl:text> - <xsl:variable name="id"> <xsl:call-template name="label.id"/> </xsl:variable> - <xsl:apply-templates/> - <xsl:text>\end{proof} </xsl:text> - </xsl:template> - - - <xsl:template match="mathphrase|mathcondition|mathassertion"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="mathelement/*/title"> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent deleted file mode 100644 index 5ecf4db216..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsa.ent +++ /dev/null @@ -1,173 +0,0 @@ - -<!-- - File isoamsa.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY angzarr "⍼" ><!--angle with down zig-zag arrow --> -<!ENTITY cirmid "⫯" ><!--circle, mid below --> -<!ENTITY cudarrl "⤸" ><!--left, curved, down arrow --> -<!ENTITY cudarrr "⤵" ><!--right, curved, down arrow --> -<!ENTITY cularr "↶" ><!--/curvearrowleft A: left curved arrow --> -<!ENTITY cularrp "⤽" ><!--curved left arrow with plus --> -<!ENTITY curarr "↷" ><!--/curvearrowright A: rt curved arrow --> -<!ENTITY curarrm "⤼" ><!--curved right arrow with minus --> -<!ENTITY dArr "⇓" ><!--/Downarrow A: down dbl arrow --> -<!ENTITY Darr "↡" ><!--down two-headed arrow --> -<!ENTITY ddarr "⇊" ><!--/downdownarrows A: two down arrows --> -<!ENTITY DDotrahd "⤑" ><!--right arrow with dotted stem --> -<!ENTITY dfisht "⥿" ><!--down fish tail --> -<!ENTITY dHar "⥥" ><!--down harpoon-left, down harpoon-right --> -<!ENTITY dharl "⇃" ><!--/downharpoonleft A: dn harpoon-left --> -<!ENTITY dharr "⇂" ><!--/downharpoonright A: down harpoon-rt --> -<!ENTITY duarr "⇵" ><!--down arrow, up arrow --> -<!ENTITY duhar "⥯" ><!--down harp, up harp --> -<!ENTITY dzigrarr "⇝" ><!--right long zig-zag arrow --> -<!ENTITY erarr "⥱" ><!--equal, right arrow below --> -<!ENTITY harr "↔" ><!--/leftrightarrow A: l&r arrow --> -<!ENTITY hArr "⇔" ><!--/Leftrightarrow A: l&r dbl arrow --> -<!ENTITY harrcir "⥈" ><!--left and right arrow with a circle --> -<!ENTITY harrw "↭" ><!--/leftrightsquigarrow A: l&r arr-wavy --> -<!ENTITY hoarr "⇿" ><!--horizontal open arrow --> -<!ENTITY imof "⊷" ><!--image of --> -<!ENTITY lAarr "⇚" ><!--/Lleftarrow A: left triple arrow --> -<!ENTITY Larr "↞" ><!--/twoheadleftarrow A: --> -<!ENTITY larrbfs "⤟" ><!--left arrow-bar, filled square --> -<!ENTITY larrfs "⤝" ><!--left arrow, filled square --> -<!ENTITY larrhk "↩" ><!--/hookleftarrow A: left arrow-hooked --> -<!ENTITY larrlp "↫" ><!--/looparrowleft A: left arrow-looped --> -<!ENTITY larrpl "⤹" ><!--left arrow, plus --> -<!ENTITY larrsim "⥳" ><!--left arrow, similar --> -<!ENTITY larrtl "↢" ><!--/leftarrowtail A: left arrow-tailed --> -<!ENTITY latail "⤙" ><!--left arrow-tail --> -<!ENTITY lAtail "⤛" ><!--left double arrow-tail --> -<!ENTITY lbarr "⤌" ><!--left broken arrow --> -<!ENTITY lBarr "⤎" ><!--left doubly broken arrow --> -<!ENTITY ldca "⤶" ><!--left down curved arrow --> -<!ENTITY ldrdhar "⥧" ><!--left harpoon-down over right harpoon-down --> -<!ENTITY ldrushar "⥋" ><!--left-down-right-up harpoon --> -<!ENTITY ldsh "↲" ><!--left down angled arrow --> -<!ENTITY lfisht "⥼" ><!--left fish tail --> -<!ENTITY lHar "⥢" ><!--left harpoon-up over left harpoon-down --> -<!ENTITY lhard "↽" ><!--/leftharpoondown A: l harpoon-down --> -<!ENTITY lharu "↼" ><!--/leftharpoonup A: left harpoon-up --> -<!ENTITY lharul "⥪" ><!--left harpoon-up over long dash --> -<!ENTITY llarr "⇇" ><!--/leftleftarrows A: two left arrows --> -<!ENTITY llhard "⥫" ><!--left harpoon-down below long dash --> -<!ENTITY loarr "⇽" ><!--left open arrow --> -<!ENTITY lrarr "⇆" ><!--/leftrightarrows A: l arr over r arr --> -<!ENTITY lrhar "⇋" ><!--/leftrightharpoons A: l harp over r --> -<!ENTITY lrhard "⥭" ><!--right harpoon-down below long dash --> -<!ENTITY lsh "↰" ><!--/Lsh A: --> -<!ENTITY lurdshar "⥊" ><!--left-up-right-down harpoon --> -<!ENTITY luruhar "⥦" ><!--left harpoon-up over right harpoon-up --> -<!ENTITY map "↦" ><!--/mapsto A: --> -<!ENTITY Map "⤅" ><!--twoheaded mapsto --> -<!ENTITY midcir "⫰" ><!--mid, circle below --> -<!ENTITY mumap "⊸" ><!--/multimap A: --> -<!ENTITY nearhk "⤤" ><!--NE arrow-hooked --> -<!ENTITY nearr "↗" ><!--/nearrow A: NE pointing arrow --> -<!ENTITY neArr "⇗" ><!--NE pointing dbl arrow --> -<!ENTITY nesear "⤨" ><!--/toea A: NE & SE arrows --> -<!ENTITY nharr "↮" ><!--/nleftrightarrow A: not l&r arrow --> -<!ENTITY nhArr "⇎" ><!--/nLeftrightarrow A: not l&r dbl arr --> -<!ENTITY nlarr "↚" ><!--/nleftarrow A: not left arrow --> -<!ENTITY nlArr "⇍" ><!--/nLeftarrow A: not implied by --> -<!ENTITY nrarr "↛" ><!--/nrightarrow A: not right arrow --> -<!ENTITY nrArr "⇏" ><!--/nRightarrow A: not implies --> -<!ENTITY nrarrc "⤳̸" ><!--not right arrow-curved --> -<!ENTITY nrarrw "↝̸" ><!--not right arrow-wavy --> -<!ENTITY nvHarr "⇎" ><!--not, vert, left and right double arrow --> -<!ENTITY nvlArr "⇍" ><!--not, vert, left double arrow --> -<!ENTITY nvrArr "⇏" ><!--not, vert, right double arrow --> -<!ENTITY nwarhk "⤣" ><!--NW arrow-hooked --> -<!ENTITY nwarr "↖" ><!--/nwarrow A: NW pointing arrow --> -<!ENTITY nwArr "⇖" ><!--NW pointing dbl arrow --> -<!ENTITY nwnear "⤧" ><!--NW & NE arrows --> -<!ENTITY olarr "↺" ><!--/circlearrowleft A: l arr in circle --> -<!ENTITY orarr "↻" ><!--/circlearrowright A: r arr in circle --> -<!ENTITY origof "⊶" ><!--original of --> -<!ENTITY rAarr "⇛" ><!--/Rrightarrow A: right triple arrow --> -<!ENTITY Rarr "↠" ><!--/twoheadrightarrow A: --> -<!ENTITY rarrap "⥵" ><!--approximate, right arrow above --> -<!ENTITY rarrbfs "⤠" ><!--right arrow-bar, filled square --> -<!ENTITY rarrc "⤳" ><!--right arrow-curved --> -<!ENTITY rarrfs "⤞" ><!--right arrow, filled square --> -<!ENTITY rarrhk "↪" ><!--/hookrightarrow A: rt arrow-hooked --> -<!ENTITY rarrlp "↬" ><!--/looparrowright A: rt arrow-looped --> -<!ENTITY rarrpl "⥅" ><!--right arrow, plus --> -<!ENTITY rarrsim "⥴" ><!--right arrow, similar --> -<!ENTITY rarrtl "↣" ><!--/rightarrowtail A: rt arrow-tailed --> -<!ENTITY Rarrtl "⤖" ><!--right two-headed arrow with tail --> -<!ENTITY rarrw "⇝" ><!--/rightsquigarrow A: rt arrow-wavy --> -<!ENTITY ratail "↣" ><!--right arrow-tail --> -<!ENTITY rAtail "⤜" ><!--right double arrow-tail --> -<!ENTITY rbarr "⤍" ><!--/bkarow A: right broken arrow --> -<!ENTITY rBarr "⤏" ><!--/dbkarow A: right doubly broken arrow --> -<!ENTITY RBarr "⤐" ><!--/drbkarow A: twoheaded right broken arrow --> -<!ENTITY rdca "⤷" ><!--right down curved arrow --> -<!ENTITY rdldhar "⥩" ><!--right harpoon-down over left harpoon-down --> -<!ENTITY rdsh "↳" ><!--right down angled arrow --> -<!ENTITY rfisht "⥽" ><!--right fish tail --> -<!ENTITY rHar "⥤" ><!--right harpoon-up over right harpoon-down --> -<!ENTITY rhard "⇁" ><!--/rightharpoondown A: rt harpoon-down --> -<!ENTITY rharu "⇀" ><!--/rightharpoonup A: rt harpoon-up --> -<!ENTITY rharul "⥬" ><!--right harpoon-up over long dash --> -<!ENTITY rlarr "⇄" ><!--/rightleftarrows A: r arr over l arr --> -<!ENTITY rlhar "⇌" ><!--/rightleftharpoons A: r harp over l --> -<!ENTITY roarr "⇾" ><!--right open arrow --> -<!ENTITY rrarr "⇉" ><!--/rightrightarrows A: two rt arrows --> -<!ENTITY rsh "↱" ><!--/Rsh A: --> -<!ENTITY ruluhar "⥨" ><!--right harpoon-up over left harpoon-up --> -<!ENTITY searhk "⤥" ><!--/hksearow A: SE arrow-hooken --> -<!ENTITY searr "↘" ><!--/searrow A: SE pointing arrow --> -<!ENTITY seArr "⇘" ><!--SE pointing dbl arrow --> -<!ENTITY seswar "⤩" ><!--/tosa A: SE & SW arrows --> -<!ENTITY simrarr "⥲" ><!--similar, right arrow below --> -<!ENTITY slarr "←⁣" ><!--short left arrow --> -<!ENTITY srarr "→⁣" ><!--short right arrow --> -<!ENTITY swarhk "⤦" ><!--/hkswarow A: SW arrow-hooked --> -<!ENTITY swarr "↙" ><!--/swarrow A: SW pointing arrow --> -<!ENTITY swArr "⇙" ><!--SW pointing dbl arrow --> -<!ENTITY swnwar "⤪" ><!--SW & NW arrows --> -<!ENTITY uArr "⇑" ><!--/Uparrow A: up dbl arrow --> -<!ENTITY Uarr "↟" ><!--up two-headed arrow --> -<!ENTITY Uarrocir "⥉" ><!--up two-headed arrow above circle --> -<!ENTITY udarr "⇅" ><!--up arrow, down arrow --> -<!ENTITY udhar "⥮" ><!--up harp, down harp --> -<!ENTITY ufisht "⥾" ><!--up fish tail --> -<!ENTITY uHar "⥣" ><!--up harpoon-left, up harpoon-right --> -<!ENTITY uharl "↿" ><!--/upharpoonleft A: up harpoon-left --> -<!ENTITY uharr "↾" ><!--/upharpoonright /restriction A: up harp-r --> -<!ENTITY uuarr "⇈" ><!--/upuparrows A: two up arrows --> -<!ENTITY varr "↕" ><!--/updownarrow A: up&down arrow --> -<!ENTITY vArr "⇕" ><!--/Updownarrow A: up&down dbl arrow --> -<!ENTITY xharr "↔" ><!--/longleftrightarrow A: long l&r arr --> -<!ENTITY xhArr "⇔" ><!--/Longleftrightarrow A: long l&r dbl arr --> -<!ENTITY xlarr "←" ><!--/longleftarrow A: long left arrow --> -<!ENTITY xlArr "⇐" ><!--/Longleftarrow A: long l dbl arrow --> -<!ENTITY xmap "↦" ><!--/longmapsto A: --> -<!ENTITY xrarr "→" ><!--/longrightarrow A: long right arrow --> -<!ENTITY xrArr "⇒" ><!--/Longrightarrow A: long rt dbl arr --> -<!ENTITY zigrarr "⇝" ><!--right zig-zag arrow --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent deleted file mode 100644 index 08e646c2bd..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsb.ent +++ /dev/null @@ -1,146 +0,0 @@ - -<!-- - File isoamsb.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY ac "⤏" ><!--most positive --> -<!ENTITY acE "⧛" ><!--most positive, two lines below --> -<!ENTITY amalg "⨿" ><!--/amalg B: amalgamation or coproduct --> -<!ENTITY barvee "⊽" ><!--bar, vee --> -<!ENTITY barwed "⊼" ><!--/barwedge B: logical and, bar above --> -<!ENTITY Barwed "⌆" ><!--/doublebarwedge B: log and, dbl bar above --> -<!ENTITY bsolb "⧅" ><!--reverse solidus in square --> -<!ENTITY Cap "⋒" ><!--/Cap /doublecap B: dbl intersection --> -<!ENTITY capand "⩄" ><!--intersection, and --> -<!ENTITY capbrcup "⩉" ><!--intersection, bar, union --> -<!ENTITY capcap "⩋" ><!--intersection, intersection, joined --> -<!ENTITY capcup "⩇" ><!--intersection above union --> -<!ENTITY capdot "⩀" ><!--intersection, with dot --> -<!ENTITY caps "∩⁣" ><!--intersection, serifs --> -<!ENTITY ccaps "⩍" ><!--closed intersection, serifs --> -<!ENTITY ccups "⩌" ><!--closed union, serifs --> -<!ENTITY ccupssm "⩐" ><!--closed union, serifs, smash product --> -<!ENTITY coprod "∐" ><!--/coprod L: coproduct operator --> -<!ENTITY Cup "⋓" ><!--/Cup /doublecup B: dbl union --> -<!ENTITY cupbrcap "⩈" ><!--union, bar, intersection --> -<!ENTITY cupcap "⩆" ><!--union above intersection --> -<!ENTITY cupcup "⩊" ><!--union, union, joined --> -<!ENTITY cupdot "⊍" ><!--union, with dot --> -<!ENTITY cupor "⩅" ><!--union, or --> -<!ENTITY cups "∪⁣" ><!--union, serifs --> -<!ENTITY cuvee "⋎" ><!--/curlyvee B: curly logical or --> -<!ENTITY cuwed "⋏" ><!--/curlywedge B: curly logical and --> -<!ENTITY dagger "†" ><!--/dagger B: dagger relation --> -<!ENTITY Dagger "‡" ><!--/ddagger B: double dagger relation --> -<!ENTITY diam "⋄" ><!--/diamond B: open diamond --> -<!ENTITY divonx "⋇" ><!--/divideontimes B: division on times --> -<!ENTITY eplus "⩱" ><!--equal, plus --> -<!ENTITY hercon "⊹" ><!--hermitian conjugate matrix --> -<!ENTITY intcal "⊺" ><!--/intercal B: intercal --> -<!ENTITY iprod "⨼" ><!--/intprod --> -<!ENTITY loplus "⨭" ><!--plus sign in left half circle --> -<!ENTITY lotimes "⨴" ><!--multiply sign in left half circle --> -<!ENTITY lthree "⋋" ><!--/leftthreetimes B: --> -<!ENTITY ltimes "⋉" ><!--/ltimes B: times sign, left closed --> -<!ENTITY midast "*" ><!--/ast B: asterisk --> -<!ENTITY minusb "⊟" ><!--/boxminus B: minus sign in box --> -<!ENTITY minusd "∸" ><!--/dotminus B: minus sign, dot above --> -<!ENTITY minusdu "⨪" ><!--minus sign, dot below --> -<!ENTITY ncap "⩃" ><!--bar, intersection --> -<!ENTITY ncup "⩂" ><!--bar, union --> -<!ENTITY oast "⊛" ><!--/circledast B: asterisk in circle --> -<!ENTITY ocir "⊚" ><!--/circledcirc B: small circle in circle --> -<!ENTITY odash "⊝" ><!--/circleddash B: hyphen in circle --> -<!ENTITY odiv "⨸" ><!--divide in circle --> -<!ENTITY odot "⊙" ><!--/odot B: middle dot in circle --> -<!ENTITY odsold "⦼" ><!--dot, solidus, dot in circle --> -<!ENTITY ofcir "⦿" ><!--filled circle in circle --> -<!ENTITY ogt "⧁" ><!--greater-than in circle --> -<!ENTITY ohbar "⦵" ><!--circle with horizontal bar --> -<!ENTITY olcir "⦾" ><!--large circle in circle --> -<!ENTITY olt "⧀" ><!--less-than in circle --> -<!ENTITY omid "⦶" ><!--vertical bar in circle --> -<!ENTITY ominus "⊖" ><!--/ominus B: minus sign in circle --> -<!ENTITY opar "⦷" ><!--parallel in circle --> -<!ENTITY operp "⦹" ><!--perpendicular in circle --> -<!ENTITY oplus "⊕" ><!--/oplus B: plus sign in circle --> -<!ENTITY osol "⊘" ><!--/oslash B: solidus in circle --> -<!ENTITY otimes "⊗" ><!--/otimes B: multiply sign in circle --> -<!ENTITY Otimes "⨷" ><!--multiply sign in double circle --> -<!ENTITY otimesas "⨶" ><!--multiply sign in circle, circumflex accent --> -<!ENTITY ovbar "⌽" ><!--circle with vertical bar --> -<!ENTITY plusacir "⨣" ><!--plus, circumflex accent above --> -<!ENTITY plusb "⊞" ><!--/boxplus B: plus sign in box --> -<!ENTITY pluscir "⨢" ><!--plus, small circle above --> -<!ENTITY plusdo "∔" ><!--/dotplus B: plus sign, dot above --> -<!ENTITY plusdu "⨥" ><!--plus sign, dot below --> -<!ENTITY pluse "⩲" ><!--plus, equals --> -<!ENTITY plussim "⨦" ><!--plus, similar below --> -<!ENTITY plustwo "⨧" ><!--plus, two; Nim-addition --> -<!ENTITY prod "∏" ><!--/prod L: product operator --> -<!ENTITY race "⧚" ><!--reverse most positive, line below --> -<!ENTITY roplus "⨮" ><!--plus sign in right half circle --> -<!ENTITY rotimes "⨵" ><!--multiply sign in right half circle --> -<!ENTITY rthree "⋌" ><!--/rightthreetimes B: --> -<!ENTITY rtimes "⋊" ><!--/rtimes B: times sign, right closed --> -<!ENTITY sdot "⋅" ><!--/cdot B: small middle dot --> -<!ENTITY sdotb "⊡" ><!--/dotsquare /boxdot B: small dot in box --> -<!ENTITY setmn "∖" ><!--/setminus B: reverse solidus --> -<!ENTITY simplus "⨤" ><!--plus, similar above --> -<!ENTITY smashp "⨳" ><!--smash product --> -<!ENTITY solb "⧄" ><!--solidus in square --> -<!ENTITY sqcap "⊓" ><!--/sqcap B: square intersection --> -<!ENTITY sqcaps "⊓⁣" ><!--square intersection, serifs --> -<!ENTITY sqcup "⊔" ><!--/sqcup B: square union --> -<!ENTITY sqcups "⊔⁣" ><!--square union, serifs --> -<!ENTITY ssetmn "∖" ><!--/smallsetminus B: sm reverse solidus --> -<!ENTITY sstarf "⋆" ><!--/star B: small star, filled --> -<!ENTITY subdot "⪽" ><!--subset, with dot --> -<!ENTITY sum "∑" ><!--/sum L: summation operator --> -<!ENTITY supdot "⪾" ><!--superset, with dot --> -<!ENTITY timesb "⊠" ><!--/boxtimes B: multiply sign in box --> -<!ENTITY timesbar "⨱" ><!--multiply sign, bar below --> -<!ENTITY timesd "⨰" ><!--times, dot --> -<!ENTITY tridot "◬" ><!--dot in triangle --> -<!ENTITY triminus "⨺" ><!--minus in triangle --> -<!ENTITY triplus "⨹" ><!--plus in triangle --> -<!ENTITY trisb "⧍" ><!--triangle, serifs at bottom --> -<!ENTITY tritime "⨻" ><!--multiply in triangle --> -<!ENTITY uplus "⊎" ><!--/uplus B: plus sign in union --> -<!ENTITY veebar "⊻" ><!--/veebar B: logical or, bar below --> -<!ENTITY wedbar "⩟" ><!--wedge, bar below --> -<!ENTITY wreath "≀" ><!--/wr B: wreath product --> -<!ENTITY xcap "⋂" ><!--/bigcap L: intersection operator --> -<!ENTITY xcirc "◯" ><!--/bigcirc B: large circle --> -<!ENTITY xcup "⋃" ><!--/bigcup L: union operator --> -<!ENTITY xdtri "▽" ><!--/bigtriangledown B: big dn tri, open --> -<!ENTITY xodot "⊙" ><!--/bigodot L: circle dot operator --> -<!ENTITY xoplus "⊕" ><!--/bigoplus L: circle plus operator --> -<!ENTITY xotime "⊗" ><!--/bigotimes L: circle times operator --> -<!ENTITY xsqcup "⊔" ><!--/bigsqcup L: square union operator --> -<!ENTITY xuplus "⊎" ><!--/biguplus L: --> -<!ENTITY xutri "△" ><!--/bigtriangleup B: big up tri, open --> -<!ENTITY xvee "⋁" ><!--/bigvee L: logical and operator --> -<!ENTITY xwedge "⋀" ><!--/bigwedge L: logical or operator --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent deleted file mode 100644 index cce399cf9d..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsc.ent +++ /dev/null @@ -1,49 +0,0 @@ - -<!-- - File isoamsc.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY dlcorn "⌞" ><!--/llcorner O: lower left corner --> -<!ENTITY drcorn "⌟" ><!--/lrcorner C: lower right corner --> -<!ENTITY gtlPar "⦕" ><!--dbl left parenthesis, greater --> -<!ENTITY langd "⦑" ><!--left angle, dot --> -<!ENTITY lbrke "⦋" ><!--left bracket, equal --> -<!ENTITY lbrksld "⦏" ><!--left bracket, solidus bottom corner --> -<!ENTITY lbrkslu "⦍" ><!--left bracket, solidus top corner --> -<!ENTITY lceil "⌈" ><!--/lceil O: left ceiling --> -<!ENTITY lfloor "⌊" ><!--/lfloor O: left floor --> -<!ENTITY lmoust "⦘" ><!--/lmoustache --> -<!ENTITY lparlt "⦓" ><!--O: left parenthesis, lt --> -<!ENTITY ltrPar "⦖" ><!--dbl right parenthesis, less --> -<!ENTITY rangd "⦒" ><!--right angle, dot --> -<!ENTITY rbrke "⦌" ><!--right bracket, equal --> -<!ENTITY rbrksld "⦎" ><!--right bracket, solidus bottom corner --> -<!ENTITY rbrkslu "⦐" ><!--right bracket, solidus top corner --> -<!ENTITY rceil "⌉" ><!--/rceil C: right ceiling --> -<!ENTITY rfloor "⌋" ><!--/rfloor C: right floor --> -<!ENTITY rmoust "⦗" ><!--/rmoustache --> -<!ENTITY rpargt "⦔" ><!--C: right paren, gt --> -<!ENTITY ulcorn "⌜" ><!--/ulcorner O: upper left corner --> -<!ENTITY urcorn "⌝" ><!--/urcorner C: upper right corner --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent deleted file mode 100644 index cddeba066e..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsn.ent +++ /dev/null @@ -1,117 +0,0 @@ - -<!-- - File isoamsn.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY gnap "⪊" ><!--/gnapprox N: greater, not approximate --> -<!ENTITY gne "≩" ><!--/gneq N: greater, not equals --> -<!ENTITY gnE "≩" ><!--/gneqq N: greater, not dbl equals --> -<!ENTITY gnsim "⋧" ><!--/gnsim N: greater, not similar --> -<!ENTITY gvnE "≩̸" ><!--/gvertneqq N: gt, vert, not dbl eq --> -<!ENTITY lnap "⪉" ><!--/lnapprox N: less, not approximate --> -<!ENTITY lne "≨" ><!--/lneq N: less, not equals --> -<!ENTITY lnE "≨" ><!--/lneqq N: less, not double equals --> -<!ENTITY lnsim "⋦" ><!--/lnsim N: less, not similar --> -<!ENTITY lvnE "≨̸" ><!--/lvertneqq N: less, vert, not dbl eq --> -<!ENTITY nap "≉" ><!--/napprox N: not approximate --> -<!ENTITY napE "⩰̸" ><!--not approximately equal or equal to --> -<!ENTITY napid "≋̸" ><!--not approximately identical to --> -<!ENTITY ncong "≇" ><!--/ncong N: not congruent with --> -<!ENTITY ncongdot "⩭̸" ><!--not congruent, dot --> -<!ENTITY nequiv "≢" ><!--/nequiv N: not identical with --> -<!ENTITY nge "≱⃥" ><!--/ngeq N: not greater-than-or-equal --> -<!ENTITY ngE "≱" ><!--/ngeqq N: not greater, dbl equals --> -<!ENTITY nges "≱" ><!--/ngeqslant N: not gt-or-eq, slanted --> -<!ENTITY nGg "⋙̸" ><!--not triple greater than --> -<!ENTITY ngsim "≵" ><!--not greater, similar --> -<!ENTITY ngt "≯" ><!--/ngtr N: not greater-than --> -<!ENTITY nGt "≫̸" ><!--not, vert, much greater than --> -<!ENTITY nGtv "≫̸⁣" ><!--not much greater than, variant --> -<!ENTITY nle "≰⃥" ><!--/nleq N: not less-than-or-equal --> -<!ENTITY nlE "≰" ><!--/nleqq N: not less, dbl equals --> -<!ENTITY nles "≰" ><!--/nleqslant N: not less-or-eq, slant --> -<!ENTITY nLl "⋘̸" ><!--not triple less than --> -<!ENTITY nlsim "≴" ><!--not less, similar --> -<!ENTITY nlt "≮" ><!--/nless N: not less-than --> -<!ENTITY nLt "≪̸" ><!--not, vert, much less than --> -<!ENTITY nltri "⋪" ><!--/ntriangleleft N: not left triangle --> -<!ENTITY nltrie "⋬" ><!--/ntrianglelefteq N: not l tri, eq --> -<!ENTITY nLtv "≪̸⁣" ><!--not much less than, variant --> -<!ENTITY nmid "∤" ><!--/nmid --> -<!ENTITY npar "∦" ><!--/nparallel N: not parallel --> -<!ENTITY npr "⊀" ><!--/nprec N: not precedes --> -<!ENTITY nprcue "⋠" ><!--not curly precedes, eq --> -<!ENTITY npre "⪯̸" ><!--/npreceq N: not precedes, equals --> -<!ENTITY nrtri "⋫" ><!--/ntriangleright N: not rt triangle --> -<!ENTITY nrtrie "⋭" ><!--/ntrianglerighteq N: not r tri, eq --> -<!ENTITY nsc "⊁" ><!--/nsucc N: not succeeds --> -<!ENTITY nsccue "⋡" ><!--not succeeds, curly eq --> -<!ENTITY nsce "⪰̸" ><!--/nsucceq N: not succeeds, equals --> -<!ENTITY nsim "≁" ><!--/nsim N: not similar --> -<!ENTITY nsime "≄" ><!--/nsimeq N: not similar, equals --> -<!ENTITY nsmid "∤⁣" ><!--/nshortmid --> -<!ENTITY nspar "∦⁣" ><!--/nshortparallel N: not short par --> -<!ENTITY nsqsube "⋢" ><!--not, square subset, equals --> -<!ENTITY nsqsupe "⋣" ><!--not, square superset, equals --> -<!ENTITY nsub "⊄" ><!--not subset --> -<!ENTITY nsube "⊈" ><!--/nsubseteq N: not subset, equals --> -<!ENTITY nsubE "⊈" ><!--/nsubseteqq N: not subset, dbl eq --> -<!ENTITY nsup "⊅" ><!--not superset --> -<!ENTITY nsupe "⊉" ><!--/nsupseteq N: not superset, equals --> -<!ENTITY nsupE "⊉" ><!--/nsupseteqq N: not superset, dbl eq --> -<!ENTITY ntgl "≹" ><!--not greater, less --> -<!ENTITY ntlg "≸" ><!--not less, greater --> -<!ENTITY nvap "≉̸" ><!--not, vert, approximate --> -<!ENTITY nvdash "⊬" ><!--/nvdash N: not vertical, dash --> -<!ENTITY nvDash "⊭" ><!--/nvDash N: not vertical, dbl dash --> -<!ENTITY nVdash "⊮" ><!--/nVdash N: not dbl vertical, dash --> -<!ENTITY nVDash "⊯" ><!--/nVDash N: not dbl vert, dbl dash --> -<!ENTITY nvge "≱" ><!--not, vert, greater-than-or-equal --> -<!ENTITY nvgt "≯" ><!--not, vert, greater-than --> -<!ENTITY nvle "≰" ><!--not, vert, less-than-or-equal --> -<!ENTITY nvlt "≮" ><!--not, vert, less-than --> -<!ENTITY nvltrie "⋬̸" ><!--not, vert, left triangle, equals --> -<!ENTITY nvrtrie "⋭̸" ><!--not, vert, right triangle, equals --> -<!ENTITY nvsim "≁̸" ><!--not, vert, similar --> -<!ENTITY parsim "⫳" ><!--parallel, similar --> -<!ENTITY prnap "⋨" ><!--/precnapprox N: precedes, not approx --> -<!ENTITY prnE "⪵" ><!--/precneqq N: precedes, not dbl eq --> -<!ENTITY prnsim "⋨" ><!--/precnsim N: precedes, not similar --> -<!ENTITY rnmid "⫮" ><!--reverse /nmid --> -<!ENTITY scnap "⋩" ><!--/succnapprox N: succeeds, not approx --> -<!ENTITY scnE "⪶" ><!--/succneqq N: succeeds, not dbl eq --> -<!ENTITY scnsim "⋩" ><!--/succnsim N: succeeds, not similar --> -<!ENTITY simne "≆" ><!--similar, not equals --> -<!ENTITY solbar "⌿" ><!--solidus, bar through --> -<!ENTITY subne "⊊" ><!--/subsetneq N: subset, not equals --> -<!ENTITY subnE "⊊" ><!--/subsetneqq N: subset, not dbl eq --> -<!ENTITY supne "⊋" ><!--/supsetneq N: superset, not equals --> -<!ENTITY supnE "⊋" ><!--/supsetneqq N: superset, not dbl eq --> -<!ENTITY vnsub "⊄" ><!--/nsubset N: not subset, var --> -<!ENTITY vnsup "⊅" ><!--/nsupset N: not superset, var --> -<!ENTITY vsubne "⊊⁣" ><!--/varsubsetneq N: subset, not eq, var --> -<!ENTITY vsubnE "⊊⁣" ><!--/varsubsetneqq N: subset not dbl eq, var --> -<!ENTITY vsupne "⊋⁣" ><!--/varsupsetneq N: superset, not eq, var --> -<!ENTITY vsupnE "⊋⁣" ><!--/varsupsetneqq N: super not dbl eq, var --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent deleted file mode 100644 index 8ac4bdb619..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamso.ent +++ /dev/null @@ -1,77 +0,0 @@ - -<!-- - File isoamso.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY ang "∠" ><!--/angle - angle --> -<!ENTITY ange "⦤" ><!--angle, equal --> -<!ENTITY angmsd "∡" ><!--/measuredangle - angle-measured --> -<!ENTITY angmsdaa "⦨" ><!--angle-measured, arrow, up, right --> -<!ENTITY angmsdab "⦩" ><!--angle-measured, arrow, up, left --> -<!ENTITY angmsdac "⦪" ><!--angle-measured, arrow, down, right --> -<!ENTITY angmsdad "⦫" ><!--angle-measured, arrow, down, left --> -<!ENTITY angmsdae "⦬" ><!--angle-measured, arrow, right, up --> -<!ENTITY angmsdaf "⦭" ><!--angle-measured, arrow, left, up --> -<!ENTITY angmsdag "⦮" ><!--angle-measured, arrow, right, down --> -<!ENTITY angmsdah "⦯" ><!--angle-measured, arrow, left, down --> -<!ENTITY angrtvb "⦝⁣" ><!--right angle-measured --> -<!ENTITY angrtvbd "⦝" ><!--right angle-measured, dot --> -<!ENTITY bbrk "⎵" ><!--bottom square bracket --> -<!ENTITY bemptyv "⦰" ><!--reversed circle, slash --> -<!ENTITY beth "ℶ" ><!--/beth - beth, Hebrew --> -<!ENTITY boxbox "⧉" ><!--two joined squares --> -<!ENTITY bprime "‵" ><!--/backprime - reverse prime --> -<!ENTITY bsemi "⁏" ><!--reverse semi-colon --> -<!ENTITY cemptyv "⦲" ><!--circle, slash, small circle above --> -<!ENTITY cirE "⧃" ><!--circle, two horizontal stroked to the right --> -<!ENTITY cirscir "⧂" ><!--circle, small circle to the right --> -<!ENTITY comp "∁" ><!--/complement - complement sign --> -<!ENTITY daleth "ℸ" ><!--/daleth - daleth, Hebrew --> -<!ENTITY demptyv "⦱" ><!--circle, slash, bar above --> -<!ENTITY ell "ℓ" ><!--/ell - cursive small l --> -<!ENTITY empty "∅⁣" ><!--/emptyset - zero, slash --> -<!ENTITY emptyv "∅" ><!--/varnothing - circle, slash --> -<!ENTITY gimel "ℷ" ><!--/gimel - gimel, Hebrew --> -<!ENTITY iiota "℩" ><!--inverted iota --> -<!ENTITY image "ℑ" ><!--/Im - imaginary --> -<!ENTITY imath "ı" ><!--/imath - small i, no dot --> -<!ENTITY jmath "j⁣" ><!--/jmath - small j, no dot --> -<!ENTITY laemptyv "⦴" ><!--circle, slash, left arrow above --> -<!ENTITY lltri "◺" ><!--lower left triangle --> -<!ENTITY lrtri "⊿" ><!--lower right triangle --> -<!ENTITY mho "℧" ><!--/mho - conductance --> -<!ENTITY nang "∠̸" ><!--not, vert, angle --> -<!ENTITY nexist "∄" ><!--/nexists - negated exists --> -<!ENTITY oS "Ⓢ" ><!--/circledS - capital S in circle --> -<!ENTITY plank "ℏ" ><!--/hbar - Planck's over 2pi --> -<!ENTITY plankv "ℏ" ><!--/hslash - variant Planck's over 2pi --> -<!ENTITY raemptyv "⦳" ><!--circle, slash, right arrow above --> -<!ENTITY range "⦥" ><!--reverse angle, equal --> -<!ENTITY real "ℜ" ><!--/Re - real --> -<!ENTITY tbrk "⎴" ><!--top square bracket --> -<!ENTITY ultri "◸" ><!--upper left triangle --> -<!ENTITY urtri "◹" ><!--upper right triangle --> -<!ENTITY vzigzag "⦚" ><!--vertical zig-zag line --> -<!ENTITY weierp "℘" ><!--/wp - Weierstrass p --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent b/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent deleted file mode 100644 index 7fec582555..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isoamsr.ent +++ /dev/null @@ -1,205 +0,0 @@ - -<!-- - File isoamsr.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY ape "≊" ><!--/approxeq R: approximate, equals --> -<!ENTITY apE "≊" ><!--approximately equal or equal to --> -<!ENTITY apid "≋" ><!--approximately identical to --> -<!ENTITY asymp "≍" ><!--/asymp R: asymptotically equal to --> -<!ENTITY Barv "⫧" ><!--vert, dbl bar (over) --> -<!ENTITY bcong "≌" ><!--/backcong R: reverse congruent --> -<!ENTITY bepsi "ℼ" ><!--/backepsilon R: such that --> -<!ENTITY bowtie "⋈" ><!--/bowtie R: --> -<!ENTITY bsim "∽" ><!--/backsim R: reverse similar --> -<!ENTITY bsime "⋍" ><!--/backsimeq R: reverse similar, eq --> -<!ENTITY bsolhsub "\⊂" ><!--reverse solidus, subset --> -<!ENTITY bump "≎" ><!--/Bumpeq R: bumpy equals --> -<!ENTITY bumpe "≏" ><!--/bumpeq R: bumpy equals, equals --> -<!ENTITY bumpE "⪮" ><!--bump, equals --> -<!ENTITY cire "≗" ><!--/circeq R: circle, equals --> -<!ENTITY Colon "∷" ><!--/Colon, two colons --> -<!ENTITY colone "≔" ><!--/coloneq R: colon, equals --> -<!ENTITY Colone "⩴" ><!--double colon, equals --> -<!ENTITY congdot "⩭" ><!--congruent, dot --> -<!ENTITY csub "⫏" ><!--subset, closed --> -<!ENTITY csube "⫑" ><!--subset, closed, equals --> -<!ENTITY csup "⫐" ><!--superset, closed --> -<!ENTITY csupe "⫒" ><!--superset, closed, equals --> -<!ENTITY cuepr "⋞" ><!--/curlyeqprec R: curly eq, precedes --> -<!ENTITY cuesc "⋟" ><!--/curlyeqsucc R: curly eq, succeeds --> -<!ENTITY dashv "⊣" ><!--/dashv R: dash, vertical --> -<!ENTITY Dashv "⫤" ><!--dbl dash, vertical --> -<!ENTITY easter "≛" ><!--equal, asterisk above --> -<!ENTITY ecir "≖" ><!--/eqcirc R: circle on equals sign --> -<!ENTITY ecolon "≕" ><!--/eqcolon R: equals, colon --> -<!ENTITY eDDot "⩷" ><!--/ddotseq R: equal with four dots --> -<!ENTITY eDot "≑" ><!--/doteqdot /Doteq R: eq, even dots --> -<!ENTITY efDot "≒" ><!--/fallingdotseq R: eq, falling dots --> -<!ENTITY eg "⪚" ><!--equal-or-greater --> -<!ENTITY egs "⋝" ><!--/eqslantgtr R: equal-or-gtr, slanted --> -<!ENTITY egsdot "⪘" ><!--equal-or-greater, slanted, dot inside --> -<!ENTITY el "⪙" ><!--equal-or-less --> -<!ENTITY els "⋜" ><!--/eqslantless R: eq-or-less, slanted --> -<!ENTITY elsdot "⪗" ><!--equal-or-less, slanted, dot inside --> -<!ENTITY equest "≟" ><!--/questeq R: equal with questionmark --> -<!ENTITY equivDD "⩸" ><!--equivalent, four dots above --> -<!ENTITY erDot "≓" ><!--/risingdotseq R: eq, rising dots --> -<!ENTITY esdot "≐" ><!--/doteq R: equals, single dot above --> -<!ENTITY esim "≂" ><!--/esim R: equals, similar --> -<!ENTITY Esim "⩳" ><!--equal, similar --> -<!ENTITY fork "⋔" ><!--/pitchfork R: pitchfork --> -<!ENTITY forkv "⫙" ><!--fork, variant --> -<!ENTITY frown "⌢" ><!--/frown R: down curve --> -<!ENTITY gap "≳" ><!--/gtrapprox R: greater, approximate --> -<!ENTITY gE "≧" ><!--/geqq R: greater, double equals --> -<!ENTITY gel "⋛" ><!--/gtreqless R: greater, equals, less --> -<!ENTITY gEl "⋛" ><!--/gtreqqless R: gt, dbl equals, less --> -<!ENTITY ges "⩾" ><!--/geqslant R: gt-or-equal, slanted --> -<!ENTITY gescc "⪩" ><!--greater than, closed by curve, equal, slanted --> -<!ENTITY gesdot "⪀" ><!--greater-than-or-equal, slanted, dot inside --> -<!ENTITY gesdoto "⪂" ><!--greater-than-or-equal, slanted, dot above --> -<!ENTITY gesdotol "⪄" ><!--greater-than-or-equal, slanted, dot above left --> -<!ENTITY gesl "⋛⁣" ><!--greater, equal, slanted, less --> -<!ENTITY gesles "⪔" ><!--greater, equal, slanted, less, equal, slanted --> -<!ENTITY Gg "⋙" ><!--/ggg /Gg /gggtr R: triple gtr-than --> -<!ENTITY gl "≷" ><!--/gtrless R: greater, less --> -<!ENTITY gla "⪥" ><!--greater, less, apart --> -<!ENTITY glE "⪒" ><!--greater, less, equal --> -<!ENTITY glj "⪤" ><!--greater, less, overlapping --> -<!ENTITY gsim "≳" ><!--/gtrsim R: greater, similar --> -<!ENTITY gsime "⪎" ><!--greater, similar, equal --> -<!ENTITY gsiml "⪐" ><!--greater, similar, less --> -<!ENTITY Gt "≫" ><!--/gg R: dbl greater-than sign --> -<!ENTITY gtcc "⪧" ><!--greater than, closed by curve --> -<!ENTITY gtcir "⩺" ><!--greater than, circle inside --> -<!ENTITY gtdot "⋗" ><!--/gtrdot R: greater than, with dot --> -<!ENTITY gtquest "⩼" ><!--greater than, questionmark above --> -<!ENTITY gtrarr "⥸" ><!--greater than, right arrow --> -<!ENTITY homtht "∻" ><!--homothetic --> -<!ENTITY lap "≲" ><!--/lessapprox R: less, approximate --> -<!ENTITY lat "⪫" ><!--larger than --> -<!ENTITY late "⪭" ><!--larger than or equal --> -<!ENTITY lates "⪭⁣" ><!--larger than or equal, slanted --> -<!ENTITY lE "≦" ><!--/leqq R: less, double equals --> -<!ENTITY leg "⋚" ><!--/lesseqgtr R: less, eq, greater --> -<!ENTITY lEg "⋚" ><!--/lesseqqgtr R: less, dbl eq, greater --> -<!ENTITY les "⩽" ><!--/leqslant R: less-than-or-eq, slant --> -<!ENTITY lescc "⪨" ><!--less than, closed by curve, equal, slanted --> -<!ENTITY lesdot "⩿" ><!--less-than-or-equal, slanted, dot inside --> -<!ENTITY lesdoto "⪁" ><!--less-than-or-equal, slanted, dot above --> -<!ENTITY lesdotor "⪃" ><!--less-than-or-equal, slanted, dot above right --> -<!ENTITY lesg "⋚⁣" ><!--less, equal, slanted, greater --> -<!ENTITY lesges "⪓" ><!--less, equal, slanted, greater, equal, slanted --> -<!ENTITY lg "≶" ><!--/lessgtr R: less, greater --> -<!ENTITY lgE "⪑" ><!--less, greater, equal --> -<!ENTITY Ll "⋘" ><!--/Ll /lll /llless R: triple less-than --> -<!ENTITY lsim "≲" ><!--/lesssim R: less, similar --> -<!ENTITY lsime "⪍" ><!--less, similar, equal --> -<!ENTITY lsimg "⪏" ><!--less, similar, greater --> -<!ENTITY Lt "≪" ><!--/ll R: double less-than sign --> -<!ENTITY ltcc "⪦" ><!--less than, closed by curve --> -<!ENTITY ltcir "⩹" ><!--less than, circle inside --> -<!ENTITY ltdot "⋖" ><!--/lessdot R: less than, with dot --> -<!ENTITY ltlarr "⥶" ><!--less than, left arrow --> -<!ENTITY ltquest "⩻" ><!--less than, questionmark above --> -<!ENTITY ltrie "⊴" ><!--/trianglelefteq R: left triangle, eq --> -<!ENTITY mcomma "⨩" ><!--minus, comma above --> -<!ENTITY mDDot "∺" ><!--minus with four dots, geometric properties --> -<!ENTITY mid "∣" ><!--/mid R: --> -<!ENTITY mlcp "⫛" ><!--/mlcp --> -<!ENTITY models "⊧" ><!--/models R: --> -<!ENTITY mstpos "∾" ><!--most positive --> -<!ENTITY pr "≺" ><!--/prec R: precedes --> -<!ENTITY Pr "⪻" ><!--dbl precedes --> -<!ENTITY prap "≾" ><!--/precapprox R: precedes, approximate --> -<!ENTITY prcue "≼" ><!--/preccurlyeq R: precedes, curly eq --> -<!ENTITY pre "⪯" ><!--/preceq R: precedes, equals --> -<!ENTITY prE "⪯" ><!--precedes, dbl equals --> -<!ENTITY prsim "≾" ><!--/precsim R: precedes, similar --> -<!ENTITY prurel "⊰" ><!--element precedes under relation --> -<!ENTITY ratio "∶" ><!--/ratio --> -<!ENTITY rtrie "⊵" ><!--/trianglerighteq R: right tri, eq --> -<!ENTITY rtriltri "⧎" ><!--right triangle above left triangle --> -<!ENTITY sc "≻" ><!--/succ R: succeeds --> -<!ENTITY Sc "⪼" ><!--dbl succeeds --> -<!ENTITY scap "≿" ><!--/succapprox R: succeeds, approximate --> -<!ENTITY sccue "≽" ><!--/succcurlyeq R: succeeds, curly eq --> -<!ENTITY sce "≽" ><!--/succeq R: succeeds, equals --> -<!ENTITY scE "≾" ><!--succeeds, dbl equals --> -<!ENTITY scsim "≿" ><!--/succsim R: succeeds, similar --> -<!ENTITY sdote "⩦" ><!--equal, dot below --> -<!ENTITY simg "⪞" ><!--similar, greater --> -<!ENTITY simgE "⪠" ><!--similar, greater, equal --> -<!ENTITY siml "⪝" ><!--similar, less --> -<!ENTITY simlE "⪟" ><!--similar, less, equal --> -<!ENTITY smid "∣⁣" ><!--/shortmid R: --> -<!ENTITY smile "⌣" ><!--/smile R: up curve --> -<!ENTITY smt "⪪" ><!--smaller than --> -<!ENTITY smte "⪬" ><!--smaller than or equal --> -<!ENTITY smtes "⪬⁣" ><!--smaller than or equal, slanted --> -<!ENTITY spar "∥⁣" ><!--/shortparallel R: short parallel --> -<!ENTITY sqsub "⊏" ><!--/sqsubset R: square subset --> -<!ENTITY sqsube "⊑" ><!--/sqsubseteq R: square subset, equals --> -<!ENTITY sqsup "⊐" ><!--/sqsupset R: square superset --> -<!ENTITY sqsupe "⊒" ><!--/sqsupseteq R: square superset, eq --> -<!ENTITY Sub "⋐" ><!--/Subset R: double subset --> -<!ENTITY subE "⊆" ><!--/subseteqq R: subset, dbl equals --> -<!ENTITY subedot "⫃" ><!--subset, equals, dot --> -<!ENTITY submult "⫁" ><!--subset, multiply --> -<!ENTITY subplus "⪿" ><!--subset, plus --> -<!ENTITY subrarr "⥹" ><!--subset, right arrow --> -<!ENTITY subsim "⫇" ><!--subset, similar --> -<!ENTITY subsub "⫕" ><!--subset above subset --> -<!ENTITY subsup "⫓" ><!--subset above superset --> -<!ENTITY Sup "⋑" ><!--/Supset R: dbl superset --> -<!ENTITY supdsub "⫘" ><!--superset, subset, dash joining them --> -<!ENTITY supE "⊇" ><!--/supseteqq R: superset, dbl equals --> -<!ENTITY supedot "⫄" ><!--superset, equals, dot --> -<!ENTITY suphsol "⊃/" ><!--superset, solidus --> -<!ENTITY suphsub "⫗" ><!--superset, subset --> -<!ENTITY suplarr "⥻" ><!--superset, left arrow --> -<!ENTITY supmult "⫂" ><!--superset, multiply --> -<!ENTITY supplus "⫀" ><!--superset, plus --> -<!ENTITY supsim "⫈" ><!--superset, similar --> -<!ENTITY supsub "⫔" ><!--superset above subset --> -<!ENTITY supsup "⫖" ><!--superset above superset --> -<!ENTITY thkap "≈⁣" ><!--/thickapprox R: thick approximate --> -<!ENTITY thksim "∼" ><!--/thicksim R: thick similar --> -<!ENTITY topfork "⫚" ><!--fork with top --> -<!ENTITY trie "≜" ><!--/triangleq R: triangle, equals --> -<!ENTITY twixt "≬" ><!--/between R: between --> -<!ENTITY vBar "⫨" ><!--vert, dbl bar (under) --> -<!ENTITY Vbar "⫫" ><!--dbl vert, bar (under) --> -<!ENTITY vBarv "⫩" ><!--dbl bar, vert over and under --> -<!ENTITY vdash "⊢" ><!--/vdash R: vertical, dash --> -<!ENTITY vDash "⊨" ><!--/vDash R: vertical, dbl dash --> -<!ENTITY Vdash "⊩" ><!--/Vdash R: dbl vertical, dash --> -<!ENTITY VDash "⊫" ><!--dbl vert, dbl dash --> -<!ENTITY Vdashl "⫦" ><!--vertical, dash (long) --> -<!ENTITY vltri "⊲" ><!--/vartriangleleft R: l tri, open, var --> -<!ENTITY vprop "∝" ><!--/varpropto R: proportional, variant --> -<!ENTITY vrtri "⊳" ><!--/vartriangleright R: r tri, open, var --> -<!ENTITY Vvdash "⊪" ><!--/Vvdash R: triple vertical, dash --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent b/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent deleted file mode 100644 index 630edc5597..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isobox.ent +++ /dev/null @@ -1,67 +0,0 @@ - -<!-- - File isobox.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY boxdl "┐" ><!--lower left quadrant --> -<!ENTITY boxdL "╕" ><!--lower left quadrant --> -<!ENTITY boxDl "╖" ><!--lower left quadrant --> -<!ENTITY boxDL "╗" ><!--lower left quadrant --> -<!ENTITY boxdr "┌" ><!--lower right quadrant --> -<!ENTITY boxdR "╒" ><!--lower right quadrant --> -<!ENTITY boxDr "╓" ><!--lower right quadrant --> -<!ENTITY boxDR "╔" ><!--lower right quadrant --> -<!ENTITY boxh "─" ><!--horizontal line --> -<!ENTITY boxH "═" ><!--horizontal line --> -<!ENTITY boxhd "┬" ><!--lower left and right quadrants --> -<!ENTITY boxhD "╥" ><!--lower left and right quadrants --> -<!ENTITY boxHd "╤" ><!--lower left and right quadrants --> -<!ENTITY boxHD "╦" ><!--lower left and right quadrants --> -<!ENTITY boxhu "┴" ><!--upper left and right quadrants --> -<!ENTITY boxhU "╨" ><!--upper left and right quadrants --> -<!ENTITY boxHu "╧" ><!--upper left and right quadrants --> -<!ENTITY boxHU "╩" ><!--upper left and right quadrants --> -<!ENTITY boxul "┘" ><!--upper left quadrant --> -<!ENTITY boxuL "╛" ><!--upper left quadrant --> -<!ENTITY boxUl "╜" ><!--upper left quadrant --> -<!ENTITY boxUL "╝" ><!--upper left quadrant --> -<!ENTITY boxur "└" ><!--upper right quadrant --> -<!ENTITY boxuR "╘" ><!--upper right quadrant --> -<!ENTITY boxUr "╙" ><!--upper right quadrant --> -<!ENTITY boxUR "╚" ><!--upper right quadrant --> -<!ENTITY boxv "│" ><!--vertical line --> -<!ENTITY boxV "║" ><!--vertical line --> -<!ENTITY boxvh "┼" ><!--all four quadrants --> -<!ENTITY boxvH "╪" ><!--all four quadrants --> -<!ENTITY boxVh "╫" ><!--all four quadrants --> -<!ENTITY boxVH "╬" ><!--all four quadrants --> -<!ENTITY boxvl "┤" ><!--upper and lower left quadrants --> -<!ENTITY boxvL "╡" ><!--upper and lower left quadrants --> -<!ENTITY boxVl "╢" ><!--upper and lower left quadrants --> -<!ENTITY boxVL "╣" ><!--upper and lower left quadrants --> -<!ENTITY boxvr "├" ><!--upper and lower right quadrants --> -<!ENTITY boxvR "╞" ><!--upper and lower right quadrants --> -<!ENTITY boxVr "╟" ><!--upper and lower right quadrants --> -<!ENTITY boxVR "╠" ><!--upper and lower right quadrants --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent deleted file mode 100644 index 4bcc9e416e..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isocyr1.ent +++ /dev/null @@ -1,94 +0,0 @@ - -<!-- - File isocyr1.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY acy "а" ><!--=small a, Cyrillic --> -<!ENTITY Acy "А" ><!--=capital A, Cyrillic --> -<!ENTITY bcy "б" ><!--=small be, Cyrillic --> -<!ENTITY Bcy "Б" ><!--=capital BE, Cyrillic --> -<!ENTITY chcy "ч" ><!--=small che, Cyrillic --> -<!ENTITY CHcy "Ч" ><!--=capital CHE, Cyrillic --> -<!ENTITY dcy "д" ><!--=small de, Cyrillic --> -<!ENTITY Dcy "Д" ><!--=capital DE, Cyrillic --> -<!ENTITY ecy "э" ><!--=small e, Cyrillic --> -<!ENTITY Ecy "Э" ><!--=capital E, Cyrillic --> -<!ENTITY fcy "ф" ><!--=small ef, Cyrillic --> -<!ENTITY Fcy "Ф" ><!--=capital EF, Cyrillic --> -<!ENTITY gcy "г" ><!--=small ghe, Cyrillic --> -<!ENTITY Gcy "Г" ><!--=capital GHE, Cyrillic --> -<!ENTITY hardcy "ъ" ><!--=small hard sign, Cyrillic --> -<!ENTITY HARDcy "Ъ" ><!--=capital HARD sign, Cyrillic --> -<!ENTITY icy "и" ><!--=small i, Cyrillic --> -<!ENTITY Icy "И" ><!--=capital I, Cyrillic --> -<!ENTITY iecy "е" ><!--=small ie, Cyrillic --> -<!ENTITY IEcy "Е" ><!--=capital IE, Cyrillic --> -<!ENTITY iocy "ё" ><!--=small io, Russian --> -<!ENTITY IOcy "Ё" ><!--=capital IO, Russian --> -<!ENTITY jcy "й" ><!--=small short i, Cyrillic --> -<!ENTITY Jcy "Й" ><!--=capital short I, Cyrillic --> -<!ENTITY kcy "к" ><!--=small ka, Cyrillic --> -<!ENTITY Kcy "К" ><!--=capital KA, Cyrillic --> -<!ENTITY khcy "х" ><!--=small ha, Cyrillic --> -<!ENTITY KHcy "Х" ><!--=capital HA, Cyrillic --> -<!ENTITY lcy "л" ><!--=small el, Cyrillic --> -<!ENTITY Lcy "Л" ><!--=capital EL, Cyrillic --> -<!ENTITY mcy "м" ><!--=small em, Cyrillic --> -<!ENTITY Mcy "М" ><!--=capital EM, Cyrillic --> -<!ENTITY ncy "н" ><!--=small en, Cyrillic --> -<!ENTITY Ncy "Н" ><!--=capital EN, Cyrillic --> -<!ENTITY numero "№" ><!--=numero sign --> -<!ENTITY ocy "о" ><!--=small o, Cyrillic --> -<!ENTITY Ocy "О" ><!--=capital O, Cyrillic --> -<!ENTITY pcy "п" ><!--=small pe, Cyrillic --> -<!ENTITY Pcy "П" ><!--=capital PE, Cyrillic --> -<!ENTITY rcy "р" ><!--=small er, Cyrillic --> -<!ENTITY Rcy "Р" ><!--=capital ER, Cyrillic --> -<!ENTITY scy "с" ><!--=small es, Cyrillic --> -<!ENTITY Scy "С" ><!--=capital ES, Cyrillic --> -<!ENTITY shchcy "щ" ><!--=small shcha, Cyrillic --> -<!ENTITY SHCHcy "Щ" ><!--=capital SHCHA, Cyrillic --> -<!ENTITY shcy "ш" ><!--=small sha, Cyrillic --> -<!ENTITY SHcy "Ш" ><!--=capital SHA, Cyrillic --> -<!ENTITY softcy "ь" ><!--=small soft sign, Cyrillic --> -<!ENTITY SOFTcy "Ь" ><!--=capital SOFT sign, Cyrillic --> -<!ENTITY tcy "т" ><!--=small te, Cyrillic --> -<!ENTITY Tcy "Т" ><!--=capital TE, Cyrillic --> -<!ENTITY tscy "ц" ><!--=small tse, Cyrillic --> -<!ENTITY TScy "Ц" ><!--=capital TSE, Cyrillic --> -<!ENTITY ucy "у" ><!--=small u, Cyrillic --> -<!ENTITY Ucy "У" ><!--=capital U, Cyrillic --> -<!ENTITY vcy "в" ><!--=small ve, Cyrillic --> -<!ENTITY Vcy "В" ><!--=capital VE, Cyrillic --> -<!ENTITY yacy "я" ><!--=small ya, Cyrillic --> -<!ENTITY YAcy "Я" ><!--=capital YA, Cyrillic --> -<!ENTITY ycy "ы" ><!--=small yeru, Cyrillic --> -<!ENTITY Ycy "Ы" ><!--=capital YERU, Cyrillic --> -<!ENTITY yucy "ю" ><!--=small yu, Cyrillic --> -<!ENTITY YUcy "Ю" ><!--=capital YU, Cyrillic --> -<!ENTITY zcy "з" ><!--=small ze, Cyrillic --> -<!ENTITY Zcy "З" ><!--=capital ZE, Cyrillic --> -<!ENTITY zhcy "ж" ><!--=small zhe, Cyrillic --> -<!ENTITY ZHcy "Ж" ><!--=capital ZHE, Cyrillic --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent deleted file mode 100644 index 67c477b24d..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isocyr2.ent +++ /dev/null @@ -1,53 +0,0 @@ - -<!-- - File isocyr2.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY djcy "ђ" ><!--=small dje, Serbian --> -<!ENTITY DJcy "Ђ" ><!--=capital DJE, Serbian --> -<!ENTITY dscy "ѕ" ><!--=small dse, Macedonian --> -<!ENTITY DScy "Ѕ" ><!--=capital DSE, Macedonian --> -<!ENTITY dzcy "џ" ><!--=small dze, Serbian --> -<!ENTITY DZcy "Џ" ><!--=capital dze, Serbian --> -<!ENTITY gjcy "ѓ" ><!--=small gje, Macedonian --> -<!ENTITY GJcy "Ѓ" ><!--=capital GJE Macedonian --> -<!ENTITY iukcy "і" ><!--=small i, Ukrainian --> -<!ENTITY Iukcy "І" ><!--=capital I, Ukrainian --> -<!ENTITY jsercy "ј" ><!--=small je, Serbian --> -<!ENTITY Jsercy "Ј" ><!--=capital JE, Serbian --> -<!ENTITY jukcy "є" ><!--=small je, Ukrainian --> -<!ENTITY Jukcy "Є" ><!--=capital JE, Ukrainian --> -<!ENTITY kjcy "ќ" ><!--=small kje Macedonian --> -<!ENTITY KJcy "Ќ" ><!--=capital KJE, Macedonian --> -<!ENTITY ljcy "љ" ><!--=small lje, Serbian --> -<!ENTITY LJcy "Љ" ><!--=capital LJE, Serbian --> -<!ENTITY njcy "њ" ><!--=small nje, Serbian --> -<!ENTITY NJcy "Њ" ><!--=capital NJE, Serbian --> -<!ENTITY tshcy "ћ" ><!--=small tshe, Serbian --> -<!ENTITY TSHcy "Ћ" ><!--=capital TSHE, Serbian --> -<!ENTITY ubrcy "ў" ><!--=small u, Byelorussian --> -<!ENTITY Ubrcy "Ў" ><!--=capital U, Byelorussian --> -<!ENTITY yicy "ї" ><!--=small yi, Ukrainian --> -<!ENTITY YIcy "Ї" ><!--=capital YI, Ukrainian --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent b/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent deleted file mode 100644 index ba6496300f..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isodia.ent +++ /dev/null @@ -1,41 +0,0 @@ - -<!-- - File isodia.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY acute "´" ><!--=acute accent --> -<!ENTITY breve "˘" ><!--=breve --> -<!ENTITY caron "ˇ" ><!--=caron --> -<!ENTITY cedil "¸" ><!--=cedilla --> -<!ENTITY circ "^" ><!--circumflex accent --> -<!ENTITY dblac "˝" ><!--=double acute accent --> -<!ENTITY die "¨" ><!--=dieresis --> -<!ENTITY dot "˙" ><!--=dot above --> -<!ENTITY grave "`" ><!--=grave accent --> -<!ENTITY macr "¯" ><!--=macron --> -<!ENTITY ogon "˛" ><!--=ogonek --> -<!ENTITY ring "˚" ><!--=ring --> -<!ENTITY tilde "˜" ><!--=tilde --> -<!ENTITY uml "¨" ><!--=umlaut mark --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent deleted file mode 100644 index 63b9f14ce8..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk1.ent +++ /dev/null @@ -1,75 +0,0 @@ -<!-- - - File isogrk1.ent produced by the dsssl script ent.dsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments in the STIX proposal for characters - for Mathematics. - - The STIX assignments are temporary and will change if - the proposal or some variant of it is adopted by the - Unicode Consortium. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. ---> - -<!ENTITY agr "α" ><!--U03B1 =small alpha, Greek --> -<!ENTITY Agr "Α" ><!--U0391 =capital Alpha, Greek --> -<!ENTITY bgr "β" ><!--U03B2 =small beta, Greek --> -<!ENTITY Bgr "Β" ><!--U0392 =capital Beta, Greek --> -<!ENTITY dgr "δ" ><!--U03B4 =small delta, Greek --> -<!ENTITY Dgr "Δ" ><!--U0394 =capital Delta, Greek --> -<!ENTITY eegr "η" ><!--U03B7 =small eta, Greek --> -<!ENTITY egr "ε" ><!--U03B5 =small epsilon, Greek --> -<!ENTITY EEgr "Η" ><!--U0397 =capital Eta, Greek --> -<!ENTITY Egr "Ε" ><!--U0395 =capital Epsilon, Greek --> -<!ENTITY ggr "γ" ><!--U03B3 =small gamma, Greek --> -<!ENTITY Ggr "Γ" ><!--U0393 =capital Gamma, Greek --> -<!ENTITY igr "ι" ><!--U03B9 =small iota, Greek --> -<!ENTITY Igr "Ι" ><!--U0399 =capital Iota, Greek --> -<!ENTITY kgr "κ" ><!--U03BA =small kappa, Greek --> -<!ENTITY khgr "χ" ><!--U03C7 =small chi, Greek --> -<!ENTITY Kgr "Κ" ><!--U039A =capital Kappa, Greek --> -<!ENTITY KHgr "Χ" ><!--U03A7 =capital Chi, Greek --> -<!ENTITY lgr "λ" ><!--U03BB =small lambda, Greek --> -<!ENTITY Lgr "Λ" ><!--U039B =capital Lambda, Greek --> -<!ENTITY mgr "μ" ><!--U03BC =small mu, Greek --> -<!ENTITY Mgr "Μ" ><!--U039C =capital Mu, Greek --> -<!ENTITY ngr "ν" ><!--U03BD =small nu, Greek --> -<!ENTITY Ngr "Ν" ><!--U039D =capital Nu, Greek --> -<!ENTITY ogr "ο" ><!--U03BF =small omicron, Greek --> -<!ENTITY ohgr "ω" ><!--U03C9 =small omega, Greek --> -<!ENTITY Ogr "Ο" ><!--U039F =capital Omicron, Greek --> -<!ENTITY OHgr "Ω" ><!--U03A9 =capital Omega, Greek --> -<!ENTITY pgr "π" ><!--U03C0 =small pi, Greek --> -<!ENTITY phgr "φ" ><!--U03C6 =small phi, Greek --> -<!ENTITY psgr "ψ" ><!--U03C8 =small psi, Greek --> -<!ENTITY Pgr "Π" ><!--U03A0 =capital Pi, Greek --> -<!ENTITY PHgr "Φ" ><!--U03A6 =capital Phi, Greek --> -<!ENTITY PSgr "Ψ" ><!--U03A8 =capital Psi, Greek --> -<!ENTITY rgr "ρ" ><!--U03C1 =small rho, Greek --> -<!ENTITY Rgr "Ρ" ><!--U03A1 =capital Rho, Greek --> -<!ENTITY sfgr "ς" ><!--U03C2 =final small sigma, Greek --> -<!ENTITY sgr "σ" ><!--U03C3 =small sigma, Greek --> -<!ENTITY Sgr "Σ" ><!--U03A3 =capital Sigma, Greek --> -<!ENTITY tgr "τ" ><!--U03C4 =small tau, Greek --> -<!ENTITY thgr "θ" ><!--U03B8 =small theta, Greek --> -<!ENTITY Tgr "Τ" ><!--U03A4 =capital Tau, Greek --> -<!ENTITY THgr "Θ" ><!--U0398 =capital Theta, Greek --> -<!ENTITY ugr "υ" ><!--U03C5 =small upsilon, Greek --> -<!ENTITY Ugr "Υ" ><!--U03A5 =capital Upsilon, Greek --> -<!ENTITY xgr "ξ" ><!--U03BE =small xi, Greek --> -<!ENTITY Xgr "Ξ" ><!--U039E =capital Xi, Greek --> -<!ENTITY zgr "ζ" ><!--U03B6 =small zeta, Greek --> -<!ENTITY Zgr "Ζ" ><!--U0396 =capital Zeta, Greek --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent deleted file mode 100644 index 424786cabb..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk2.ent +++ /dev/null @@ -1,46 +0,0 @@ -<!-- - - File isogrk2.ent produced by the dsssl script ent.dsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments in the STIX proposal for characters - for Mathematics. - - The STIX assignments are temporary and will change if - the proposal or some variant of it is adopted by the - Unicode Consortium. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. ---> - -<!ENTITY aacgr "ά" ><!--U03AC =small alpha, accent, Greek --> -<!ENTITY Aacgr "Ά" ><!--U0386 =capital Alpha, accent, Greek --> -<!ENTITY eacgr "έ" ><!--U03AD =small epsilon, accent, Greek --> -<!ENTITY eeacgr "ή" ><!--U03AE =small eta, accent, Greek --> -<!ENTITY Eacgr "Έ" ><!--U0388 =capital Epsilon, accent, Greek --> -<!ENTITY EEacgr "Ή" ><!--U0389 =capital Eta, accent, Greek --> -<!ENTITY iacgr "ί" ><!--U03AF =small iota, accent, Greek --> -<!ENTITY idiagr "ΐ" ><!--U0390 =small iota, dieresis, accent, Greek --> -<!ENTITY idigr "ϊ" ><!--U03CA =small iota, dieresis, Greek --> -<!ENTITY Iacgr "Ί" ><!--U038A =capital Iota, accent, Greek --> -<!ENTITY Idigr "Ϊ" ><!--U03AA =capital Iota, dieresis, Greek --> -<!ENTITY oacgr "ό" ><!--U03CC =small omicron, accent, Greek --> -<!ENTITY ohacgr "ώ" ><!--U03CE =small omega, accent, Greek --> -<!ENTITY Oacgr "Ό" ><!--U038C =capital Omicron, accent, Greek --> -<!ENTITY OHacgr "Ώ" ><!--U038F =capital Omega, accent, Greek --> -<!ENTITY uacgr "ύ" ><!--U03CD =small upsilon, accent, Greek --> -<!ENTITY udiagr "ΰ" ><!--U03B0 =small upsilon, dieresis, accent, Greek --> -<!ENTITY udigr "ϋ" ><!--U03CB =small upsilon, dieresis, Greek --> -<!ENTITY Uacgr "Ύ" ><!--U038E =capital Upsilon, accent, Greek --> -<!ENTITY Udigr "Ϋ" ><!--U03AB =capital Upsilon, dieresis, Greek --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent deleted file mode 100644 index fa03355048..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk3.ent +++ /dev/null @@ -1,70 +0,0 @@ - -<!-- - File isogrk3.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY alpha "α" ><!--/alpha small alpha, Greek --> -<!ENTITY beta "β" ><!--/beta small beta, Greek --> -<!ENTITY chi "χ" ><!--/chi small chi, Greek --> -<!ENTITY delta "δ" ><!--/delta small delta, Greek --> -<!ENTITY Delta "Δ" ><!--/Delta capital Delta, Greek --> -<!ENTITY epsi "ε" ><!--/straightepsilon, small epsilon, Greek --> -<!ENTITY epsiv "ɛ" ><!--/varepsilon --> -<!ENTITY eta "η" ><!--/eta small eta, Greek --> -<!ENTITY gamma "γ" ><!--/gamma small gamma, Greek --> -<!ENTITY Gamma "Γ" ><!--/Gamma capital Gamma, Greek --> -<!ENTITY gammad "Ϝ" ><!--/digamma --> -<!ENTITY Gammad "Ϝ" ><!--capital digamma --> -<!ENTITY iota "ι" ><!--/iota small iota, Greek --> -<!ENTITY kappa "κ" ><!--/kappa small kappa, Greek --> -<!ENTITY kappav "ϰ" ><!--/varkappa --> -<!ENTITY lambda "λ" ><!--/lambda small lambda, Greek --> -<!ENTITY Lambda "Λ" ><!--/Lambda capital Lambda, Greek --> -<!ENTITY mu "μ" ><!--/mu small mu, Greek --> -<!ENTITY nu "ν" ><!--/nu small nu, Greek --> -<!ENTITY omega "ω" ><!--/omega small omega, Greek --> -<!ENTITY Omega "Ω" ><!--/Omega capital Omega, Greek --> -<!ENTITY phi "φ" ><!--/straightphi - small phi, Greek --> -<!ENTITY Phi "Φ" ><!--/Phi capital Phi, Greek --> -<!ENTITY phiv "ϕ" ><!--/varphi - curly or open phi --> -<!ENTITY pi "π" ><!--/pi small pi, Greek --> -<!ENTITY Pi "Π" ><!--/Pi capital Pi, Greek --> -<!ENTITY piv "ϖ" ><!--/varpi --> -<!ENTITY psi "ψ" ><!--/psi small psi, Greek --> -<!ENTITY Psi "Ψ" ><!--/Psi capital Psi, Greek --> -<!ENTITY rho "ρ" ><!--/rho small rho, Greek --> -<!ENTITY rhov "ϱ" ><!--/varrho --> -<!ENTITY sigma "σ" ><!--/sigma small sigma, Greek --> -<!ENTITY Sigma "Σ" ><!--/Sigma capital Sigma, Greek --> -<!ENTITY sigmav "ς" ><!--/varsigma --> -<!ENTITY tau "τ" ><!--/tau small tau, Greek --> -<!ENTITY theta "θ" ><!--/theta straight theta, small theta, Greek --> -<!ENTITY Theta "Θ" ><!--/Theta capital Theta, Greek --> -<!ENTITY thetav "ϑ" ><!--/vartheta - curly or open theta --> -<!ENTITY upsi "υ" ><!--/upsilon small upsilon, Greek --> -<!ENTITY Upsi "ϒ" ><!--/Upsilon capital Upsilon, Greek --> -<!ENTITY xi "ξ" ><!--/xi small xi, Greek --> -<!ENTITY Xi "Ξ" ><!--/Xi capital Xi, Greek --> -<!ENTITY zeta "ζ" ><!--/zeta small zeta, Greek --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent b/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent deleted file mode 100644 index 71f834042b..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isogrk4.ent +++ /dev/null @@ -1,69 +0,0 @@ -<!-- - - File isogrk4.ent produced by the dsssl script ent.dsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments in the STIX proposal for characters - for Mathematics. - - The STIX assignments are temporary and will change if - the proposal or some variant of it is adopted by the - Unicode Consortium. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. ---> - -<!ENTITY b.alpha "" ><!--UE700 small alpha, Greek --> -<!ENTITY b.beta "" ><!--UE701 small beta, Greek --> -<!ENTITY b.chi "" ><!--UE727 small chi, Greek --> -<!ENTITY b.delta "" ><!--UE706 small delta, Greek --> -<!ENTITY b.Delta "" ><!--UE707 capital delta, Greek --> -<!ENTITY b.epsi "" ><!--UE708 small epsilon, Greek --> -<!ENTITY b.epsiv "" ><!--UE709 varepsilion --> -<!ENTITY b.eta "" ><!--UE70C small eta, Greek --> -<!ENTITY b.gamma "" ><!--UE702 small gamma, Greek --> -<!ENTITY b.gammad "" ><!--UE704 digamma, Greek --> -<!ENTITY b.Gamma "" ><!--UE703 capital gamma, Greek --> -<!ENTITY b.Gammad "" ><!--UE705 capital digamma, Greek --> -<!ENTITY b.iota "" ><!--UE710 small iota, Greek --> -<!ENTITY b.kappa "" ><!--UE711 small kappa, Greek --> -<!ENTITY b.kappav "" ><!--UE712 var kappa, Greek --> -<!ENTITY b.lambda "" ><!--UE713 small lambda, Greek --> -<!ENTITY b.Lambda "" ><!--UE714 capital lambda, Greek --> -<!ENTITY b.mu "" ><!--UE715 small mu, Greek --> -<!ENTITY b.nu "" ><!--UE716 small nu, Greek --> -<!ENTITY b.omega "" ><!--UE72A small omega, Greek --> -<!ENTITY b.Omega "" ><!--UE72B capital Omega, Greek --> -<!ENTITY b.phis "" ><!--UE724 straight phi, Greek --> -<!ENTITY b.phiv "" ><!--UE726 varphi --> -<!ENTITY b.pi "" ><!--UE719 small pi, Greek --> -<!ENTITY b.piv "" ><!--UE71B varpi --> -<!ENTITY b.psi "" ><!--UE728 small psi, Greek --> -<!ENTITY b.Phi "" ><!--UE725 capital Phi, Greek --> -<!ENTITY b.Pi "" ><!--UE71A capital pi, Greek --> -<!ENTITY b.Psi "" ><!--UE729 capital Psi, Greek --> -<!ENTITY b.rho "" ><!--UE71C small rho, Greek --> -<!ENTITY b.rhov "" ><!--UE71D varrho --> -<!ENTITY b.sigma "" ><!--UE71E small sigma, Greek --> -<!ENTITY b.sigmav "" ><!--UE720 varsigma --> -<!ENTITY b.Sigma "" ><!--UE71F capital sigma, Greek --> -<!ENTITY b.tau "" ><!--UE721 small tau, Greek --> -<!ENTITY b.thetas "" ><!--UE70D straight theta, Greek --> -<!ENTITY b.thetav "" ><!--UE70F var theta, Greek --> -<!ENTITY b.Theta "" ><!--UE70E capital theta, Greek --> -<!ENTITY b.upsi "" ><!--UE722 small upsilon, Greek --> -<!ENTITY b.Upsilon "" ><!--UE723 capital upsilon, Greek --> -<!ENTITY b.xi "" ><!--UE717 small xi, Greek --> -<!ENTITY b.Xi "" ><!--UE718 capital xi, Greek --> -<!ENTITY b.zeta "" ><!--UE70B small zeta, Greek --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent b/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent deleted file mode 100644 index 849d360aea..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isolat1.ent +++ /dev/null @@ -1,89 +0,0 @@ - -<!-- - File isolat1.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY aacute "á" ><!--=small a, acute accent --> -<!ENTITY Aacute "Á" ><!--=capital A, acute accent --> -<!ENTITY acirc "â" ><!--=small a, circumflex accent --> -<!ENTITY Acirc "Â" ><!--=capital A, circumflex accent --> -<!ENTITY aelig "æ" ><!--=small ae diphthong (ligature) --> -<!ENTITY AElig "Æ" ><!--=capital AE diphthong (ligature) --> -<!ENTITY agrave "à" ><!--=small a, grave accent --> -<!ENTITY Agrave "À" ><!--=capital A, grave accent --> -<!ENTITY aring "å" ><!--=small a, ring --> -<!ENTITY Aring "Å" ><!--=capital A, ring --> -<!ENTITY atilde "ã" ><!--=small a, tilde --> -<!ENTITY Atilde "Ã" ><!--=capital A, tilde --> -<!ENTITY auml "ä" ><!--=small a, dieresis or umlaut mark --> -<!ENTITY Auml "Ä" ><!--=capital A, dieresis or umlaut mark --> -<!ENTITY ccedil "ç" ><!--=small c, cedilla --> -<!ENTITY Ccedil "Ç" ><!--=capital C, cedilla --> -<!ENTITY eacute "é" ><!--=small e, acute accent --> -<!ENTITY Eacute "É" ><!--=capital E, acute accent --> -<!ENTITY ecirc "ê" ><!--=small e, circumflex accent --> -<!ENTITY Ecirc "Ê" ><!--=capital E, circumflex accent --> -<!ENTITY egrave "è" ><!--=small e, grave accent --> -<!ENTITY Egrave "È" ><!--=capital E, grave accent --> -<!ENTITY eth "ð" ><!--=small eth, Icelandic --> -<!ENTITY ETH "Ð" ><!--=capital Eth, Icelandic --> -<!ENTITY euml "ë" ><!--=small e, dieresis or umlaut mark --> -<!ENTITY Euml "Ë" ><!--=capital E, dieresis or umlaut mark --> -<!ENTITY iacute "í" ><!--=small i, acute accent --> -<!ENTITY Iacute "Í" ><!--=capital I, acute accent --> -<!ENTITY icirc "î" ><!--=small i, circumflex accent --> -<!ENTITY Icirc "Î" ><!--=capital I, circumflex accent --> -<!ENTITY igrave "ì" ><!--=small i, grave accent --> -<!ENTITY Igrave "Ì" ><!--=capital I, grave accent --> -<!ENTITY iuml "ï" ><!--=small i, dieresis or umlaut mark --> -<!ENTITY Iuml "Ï" ><!--=capital I, dieresis or umlaut mark --> -<!ENTITY ntilde "ñ" ><!--=small n, tilde --> -<!ENTITY Ntilde "Ñ" ><!--=capital N, tilde --> -<!ENTITY oacute "ó" ><!--=small o, acute accent --> -<!ENTITY Oacute "Ó" ><!--=capital O, acute accent --> -<!ENTITY ocirc "ô" ><!--=small o, circumflex accent --> -<!ENTITY Ocirc "Ô" ><!--=capital O, circumflex accent --> -<!ENTITY ograve "ò" ><!--=small o, grave accent --> -<!ENTITY Ograve "Ò" ><!--=capital O, grave accent --> -<!ENTITY oslash "ø" ><!--latin small letter o with stroke --> -<!ENTITY Oslash "Ø" ><!--=capital O, slash --> -<!ENTITY otilde "õ" ><!--=small o, tilde --> -<!ENTITY Otilde "Õ" ><!--=capital O, tilde --> -<!ENTITY ouml "ö" ><!--=small o, dieresis or umlaut mark --> -<!ENTITY Ouml "Ö" ><!--=capital O, dieresis or umlaut mark --> -<!ENTITY szlig "ß" ><!--=small sharp s, German (sz ligature) --> -<!ENTITY thorn "þ" ><!--=small thorn, Icelandic --> -<!ENTITY THORN "Þ" ><!--=capital THORN, Icelandic --> -<!ENTITY uacute "ú" ><!--=small u, acute accent --> -<!ENTITY Uacute "Ú" ><!--=capital U, acute accent --> -<!ENTITY ucirc "û" ><!--=small u, circumflex accent --> -<!ENTITY Ucirc "Û" ><!--=capital U, circumflex accent --> -<!ENTITY ugrave "ù" ><!--=small u, grave accent --> -<!ENTITY Ugrave "Ù" ><!--=capital U, grave accent --> -<!ENTITY uuml "ü" ><!--=small u, dieresis or umlaut mark --> -<!ENTITY Uuml "Ü" ><!--=capital U, dieresis or umlaut mark --> -<!ENTITY yacute "ý" ><!--=small y, acute accent --> -<!ENTITY Yacute "Ý" ><!--=capital Y, acute accent --> -<!ENTITY yuml "ÿ" ><!--=small y, dieresis or umlaut mark --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent b/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent deleted file mode 100644 index 3049be7f1f..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isolat2.ent +++ /dev/null @@ -1,148 +0,0 @@ - -<!-- - File isolat2.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY abreve "ă" ><!--=small a, breve --> -<!ENTITY Abreve "Ă" ><!--=capital A, breve --> -<!ENTITY amacr "ā" ><!--=small a, macron --> -<!ENTITY Amacr "Ā" ><!--=capital A, macron --> -<!ENTITY aogon "ą" ><!--=small a, ogonek --> -<!ENTITY Aogon "Ą" ><!--=capital A, ogonek --> -<!ENTITY cacute "ć" ><!--=small c, acute accent --> -<!ENTITY Cacute "Ć" ><!--=capital C, acute accent --> -<!ENTITY ccaron "č" ><!--=small c, caron --> -<!ENTITY Ccaron "Č" ><!--=capital C, caron --> -<!ENTITY ccirc "ĉ" ><!--=small c, circumflex accent --> -<!ENTITY Ccirc "Ĉ" ><!--=capital C, circumflex accent --> -<!ENTITY cdot "ċ" ><!--=small c, dot above --> -<!ENTITY Cdot "Ċ" ><!--=capital C, dot above --> -<!ENTITY dcaron "ď" ><!--=small d, caron --> -<!ENTITY Dcaron "Ď" ><!--=capital D, caron --> -<!ENTITY dstrok "đ" ><!--=small d, stroke --> -<!ENTITY Dstrok "Đ" ><!--=capital D, stroke --> -<!ENTITY ecaron "ě" ><!--=small e, caron --> -<!ENTITY Ecaron "Ě" ><!--=capital E, caron --> -<!ENTITY edot "ė" ><!--=small e, dot above --> -<!ENTITY Edot "Ė" ><!--=capital E, dot above --> -<!ENTITY emacr "ē" ><!--=small e, macron --> -<!ENTITY Emacr "Ē" ><!--=capital E, macron --> -<!ENTITY eng "ŋ" ><!--=small eng, Lapp --> -<!ENTITY ENG "Ŋ" ><!--=capital ENG, Lapp --> -<!ENTITY eogon "ę" ><!--=small e, ogonek --> -<!ENTITY Eogon "Ę" ><!--=capital E, ogonek --> -<!ENTITY gacute "ǵ" ><!--=small g, acute accent --> -<!ENTITY gbreve "ğ" ><!--=small g, breve --> -<!ENTITY Gbreve "Ğ" ><!--=capital G, breve --> -<!ENTITY Gcedil "Ģ" ><!--=capital G, cedilla --> -<!ENTITY gcirc "ĝ" ><!--=small g, circumflex accent --> -<!ENTITY Gcirc "Ĝ" ><!--=capital G, circumflex accent --> -<!ENTITY gdot "ġ" ><!--=small g, dot above --> -<!ENTITY Gdot "Ġ" ><!--=capital G, dot above --> -<!ENTITY hcirc "ĥ" ><!--=small h, circumflex accent --> -<!ENTITY Hcirc "Ĥ" ><!--=capital H, circumflex accent --> -<!ENTITY hstrok "ħ" ><!--=small h, stroke --> -<!ENTITY Hstrok "Ħ" ><!--=capital H, stroke --> -<!ENTITY Idot "İ" ><!--=capital I, dot above --> -<!ENTITY ijlig "ij" ><!--=small ij ligature --> -<!ENTITY IJlig "IJ" ><!--=capital IJ ligature --> -<!ENTITY imacr "ī" ><!--=small i, macron --> -<!ENTITY Imacr "Ī" ><!--=capital I, macron --> -<!ENTITY inodot "ı" ><!--=small i without dot --> -<!ENTITY iogon "į" ><!--=small i, ogonek --> -<!ENTITY Iogon "Į" ><!--=capital I, ogonek --> -<!ENTITY itilde "ĩ" ><!--=small i, tilde --> -<!ENTITY Itilde "Ĩ" ><!--=capital I, tilde --> -<!ENTITY jcirc "ĵ" ><!--=small j, circumflex accent --> -<!ENTITY Jcirc "Ĵ" ><!--=capital J, circumflex accent --> -<!ENTITY kcedil "ķ" ><!--=small k, cedilla --> -<!ENTITY Kcedil "Ķ" ><!--=capital K, cedilla --> -<!ENTITY kgreen "ĸ" ><!--=small k, Greenlandic --> -<!ENTITY lacute "ĺ" ><!--=small l, acute accent --> -<!ENTITY Lacute "Ĺ" ><!--=capital L, acute accent --> -<!ENTITY lcaron "ľ" ><!--=small l, caron --> -<!ENTITY Lcaron "Ľ" ><!--=capital L, caron --> -<!ENTITY lcedil "ļ" ><!--=small l, cedilla --> -<!ENTITY Lcedil "Ļ" ><!--=capital L, cedilla --> -<!ENTITY lmidot "ŀ" ><!--=small l, middle dot --> -<!ENTITY Lmidot "Ŀ" ><!--=capital L, middle dot --> -<!ENTITY lstrok "ł" ><!--=small l, stroke --> -<!ENTITY Lstrok "Ł" ><!--=capital L, stroke --> -<!ENTITY nacute "ń" ><!--=small n, acute accent --> -<!ENTITY Nacute "Ń" ><!--=capital N, acute accent --> -<!ENTITY napos "ʼn" ><!--=small n, apostrophe --> -<!ENTITY ncaron "ň" ><!--=small n, caron --> -<!ENTITY Ncaron "Ň" ><!--=capital N, caron --> -<!ENTITY ncedil "ņ" ><!--=small n, cedilla --> -<!ENTITY Ncedil "Ņ" ><!--=capital N, cedilla --> -<!ENTITY odblac "ő" ><!--=small o, double acute accent --> -<!ENTITY Odblac "Ő" ><!--=capital O, double acute accent --> -<!ENTITY oelig "œ" ><!--=small oe ligature --> -<!ENTITY OElig "Œ" ><!--=capital OE ligature --> -<!ENTITY omacr "ō" ><!--=small o, macron --> -<!ENTITY Omacr "Ō" ><!--=capital O, macron --> -<!ENTITY racute "ŕ" ><!--=small r, acute accent --> -<!ENTITY Racute "Ŕ" ><!--=capital R, acute accent --> -<!ENTITY rcaron "ř" ><!--=small r, caron --> -<!ENTITY Rcaron "Ř" ><!--=capital R, caron --> -<!ENTITY rcedil "ŗ" ><!--=small r, cedilla --> -<!ENTITY Rcedil "Ŗ" ><!--=capital R, cedilla --> -<!ENTITY sacute "ś" ><!--=small s, acute accent --> -<!ENTITY Sacute "Ś" ><!--=capital S, acute accent --> -<!ENTITY scaron "š" ><!--=small s, caron --> -<!ENTITY Scaron "Š" ><!--=capital S, caron --> -<!ENTITY scedil "ş" ><!--=small s, cedilla --> -<!ENTITY Scedil "Ş" ><!--=capital S, cedilla --> -<!ENTITY scirc "ŝ" ><!--=small s, circumflex accent --> -<!ENTITY Scirc "Ŝ" ><!--=capital S, circumflex accent --> -<!ENTITY tcaron "ť" ><!--=small t, caron --> -<!ENTITY Tcaron "Ť" ><!--=capital T, caron --> -<!ENTITY tcedil "ţ" ><!--=small t, cedilla --> -<!ENTITY Tcedil "Ţ" ><!--=capital T, cedilla --> -<!ENTITY tstrok "ŧ" ><!--=small t, stroke --> -<!ENTITY Tstrok "Ŧ" ><!--=capital T, stroke --> -<!ENTITY ubreve "ŭ" ><!--=small u, breve --> -<!ENTITY Ubreve "Ŭ" ><!--=capital U, breve --> -<!ENTITY udblac "ű" ><!--=small u, double acute accent --> -<!ENTITY Udblac "Ű" ><!--=capital U, double acute accent --> -<!ENTITY umacr "ū" ><!--=small u, macron --> -<!ENTITY Umacr "Ū" ><!--=capital U, macron --> -<!ENTITY uogon "ų" ><!--=small u, ogonek --> -<!ENTITY Uogon "Ų" ><!--=capital U, ogonek --> -<!ENTITY uring "ů" ><!--=small u, ring --> -<!ENTITY Uring "Ů" ><!--=capital U, ring --> -<!ENTITY utilde "ũ" ><!--=small u, tilde --> -<!ENTITY Utilde "Ũ" ><!--=capital U, tilde --> -<!ENTITY wcirc "ŵ" ><!--=small w, circumflex accent --> -<!ENTITY Wcirc "Ŵ" ><!--=capital W, circumflex accent --> -<!ENTITY ycirc "ŷ" ><!--=small y, circumflex accent --> -<!ENTITY Ycirc "Ŷ" ><!--=capital Y, circumflex accent --> -<!ENTITY Yuml "Ÿ" ><!--=capital Y, dieresis or umlaut mark --> -<!ENTITY zacute "ź" ><!--=small z, acute accent --> -<!ENTITY Zacute "Ź" ><!--=capital Z, acute accent --> -<!ENTITY zcaron "ž" ><!--=small z, caron --> -<!ENTITY Zcaron "Ž" ><!--=capital Z, caron --> -<!ENTITY zdot "ż" ><!--=small z, dot above --> -<!ENTITY Zdot "Ż" ><!--=capital Z, dot above --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent deleted file mode 100644 index 397212a643..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isomfrk.ent +++ /dev/null @@ -1,79 +0,0 @@ - -<!-- - File isomfrk.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY afr "𝔞" ><!--/frak a, lower case a --> -<!ENTITY Afr "𝔄" ><!--/frak A, upper case a --> -<!ENTITY bfr "𝔟" ><!--/frak b, lower case b --> -<!ENTITY Bfr "𝔅" ><!--/frak B, upper case b --> -<!ENTITY cfr "𝔠" ><!--/frak c, lower case c --> -<!ENTITY Cfr "𝔆" ><!--/frak C, upper case c --> -<!ENTITY dfr "𝔡" ><!--/frak d, lower case d --> -<!ENTITY Dfr "𝔇" ><!--/frak D, upper case d --> -<!ENTITY efr "𝔢" ><!--/frak e, lower case e --> -<!ENTITY Efr "𝔈" ><!--/frak E, upper case e --> -<!ENTITY ffr "𝔣" ><!--/frak f, lower case f --> -<!ENTITY Ffr "𝔉" ><!--/frak F, upper case f --> -<!ENTITY gfr "𝔤" ><!--/frak g, lower case g --> -<!ENTITY Gfr "𝔊" ><!--/frak G, upper case g --> -<!ENTITY hfr "𝔥" ><!--/frak h, lower case h --> -<!ENTITY Hfr "𝔋" ><!--/frak H, upper case h --> -<!ENTITY ifr "𝔦" ><!--/frak i, lower case i --> -<!ENTITY Ifr "𝔌" ><!--/frak I, upper case i --> -<!ENTITY jfr "𝔧" ><!--/frak j, lower case j --> -<!ENTITY Jfr "𝔍" ><!--/frak J, upper case j --> -<!ENTITY kfr "𝔨" ><!--/frak k, lower case k --> -<!ENTITY Kfr "𝔎" ><!--/frak K, upper case k --> -<!ENTITY lfr "𝔩" ><!--/frak l, lower case l --> -<!ENTITY Lfr "𝔏" ><!--/frak L, upper case l --> -<!ENTITY mfr "𝔪" ><!--/frak m, lower case m --> -<!ENTITY Mfr "𝔐" ><!--/frak M, upper case m --> -<!ENTITY nfr "𝔫" ><!--/frak n, lower case n --> -<!ENTITY Nfr "𝔑" ><!--/frak N, upper case n --> -<!ENTITY ofr "𝔬" ><!--/frak o, lower case o --> -<!ENTITY Ofr "𝔒" ><!--/frak O, upper case o --> -<!ENTITY pfr "𝔭" ><!--/frak p, lower case p --> -<!ENTITY Pfr "𝔓" ><!--/frak P, upper case p --> -<!ENTITY qfr "𝔮" ><!--/frak q, lower case q --> -<!ENTITY Qfr "𝔔" ><!--/frak Q, upper case q --> -<!ENTITY rfr "𝔯" ><!--/frak r, lower case r --> -<!ENTITY Rfr "𝔕" ><!--/frak R, upper case r --> -<!ENTITY sfr "𝔰" ><!--/frak s, lower case s --> -<!ENTITY Sfr "𝔖" ><!--/frak S, upper case s --> -<!ENTITY tfr "𝔱" ><!--/frak t, lower case t --> -<!ENTITY Tfr "𝔗" ><!--/frak T, upper case t --> -<!ENTITY ufr "𝔲" ><!--/frak u, lower case u --> -<!ENTITY Ufr "𝔘" ><!--/frak U, upper case u --> -<!ENTITY vfr "𝔳" ><!--/frak v, lower case v --> -<!ENTITY Vfr "𝔙" ><!--/frak V, upper case v --> -<!ENTITY wfr "𝔴" ><!--/frak w, lower case w --> -<!ENTITY Wfr "𝔚" ><!--/frak W, upper case w --> -<!ENTITY xfr "𝔵" ><!--/frak x, lower case x --> -<!ENTITY Xfr "𝔛" ><!--/frak X, upper case x --> -<!ENTITY yfr "𝔶" ><!--/frak y, lower case y --> -<!ENTITY Yfr "𝔜" ><!--/frak Y, upper case y --> -<!ENTITY zfr "𝔷" ><!--/frak z, lower case z --> -<!ENTITY Zfr "𝔝" ><!--/frak Z, upper case z --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent deleted file mode 100644 index 806b2fb4fe..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isomopf.ent +++ /dev/null @@ -1,53 +0,0 @@ - -<!-- - File isomopf.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY Aopf "𝔸" ><!--/Bbb A, open face A --> -<!ENTITY Bopf "𝔹" ><!--/Bbb B, open face B --> -<!ENTITY Copf "𝔺" ><!--/Bbb C, open face C --> -<!ENTITY Dopf "𝔻" ><!--/Bbb D, open face D --> -<!ENTITY Eopf "𝔼" ><!--/Bbb E, open face E --> -<!ENTITY Fopf "𝔽" ><!--/Bbb F, open face F --> -<!ENTITY Gopf "𝔾" ><!--/Bbb G, open face G --> -<!ENTITY Hopf "𝔿" ><!--/Bbb H, open face H --> -<!ENTITY Iopf "𝕀" ><!--/Bbb I, open face I --> -<!ENTITY Jopf "𝕁" ><!--/Bbb J, open face J --> -<!ENTITY Kopf "𝕂" ><!--/Bbb K, open face K --> -<!ENTITY Lopf "𝕃" ><!--/Bbb L, open face L --> -<!ENTITY Mopf "𝕄" ><!--/Bbb M, open face M --> -<!ENTITY Nopf "𝕅" ><!--/Bbb N, open face N --> -<!ENTITY Oopf "𝕆" ><!--/Bbb O, open face O --> -<!ENTITY Popf "𝕇" ><!--/Bbb P, open face P --> -<!ENTITY Qopf "𝕈" ><!--/Bbb Q, open face Q --> -<!ENTITY Ropf "𝕉" ><!--/Bbb R, open face R --> -<!ENTITY Sopf "𝕊" ><!--/Bbb S, open face S --> -<!ENTITY Topf "𝕋" ><!--/Bbb T, open face T --> -<!ENTITY Uopf "𝕌" ><!--/Bbb U, open face U --> -<!ENTITY Vopf "𝕍" ><!--/Bbb V, open face V --> -<!ENTITY Wopf "𝕎" ><!--/Bbb W, open face W --> -<!ENTITY Xopf "𝕏" ><!--/Bbb X, open face X --> -<!ENTITY Yopf "𝕐" ><!--/Bbb Y, open face Y --> -<!ENTITY Zopf "𝕑" ><!--/Bbb Z, open face Z --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent b/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent deleted file mode 100644 index a1bb39c36c..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isomscr.ent +++ /dev/null @@ -1,79 +0,0 @@ - -<!-- - File isomscr.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY ascr "𝒶" ><!--/scr a, script letter a --> -<!ENTITY Ascr "𝒜" ><!--/scr A, script letter A --> -<!ENTITY bscr "𝒷" ><!--/scr b, script letter b --> -<!ENTITY Bscr "𝒝" ><!--/scr B, script letter B --> -<!ENTITY cscr "𝒸" ><!--/scr c, script letter c --> -<!ENTITY Cscr "𝒞" ><!--/scr C, script letter C --> -<!ENTITY dscr "𝒹" ><!--/scr d, script letter d --> -<!ENTITY Dscr "𝒟" ><!--/scr D, script letter D --> -<!ENTITY escr "𝒺" ><!--/scr e, script letter e --> -<!ENTITY Escr "𝒠" ><!--/scr E, script letter E --> -<!ENTITY fscr "𝒻" ><!--/scr f, script letter f --> -<!ENTITY Fscr "𝒡" ><!--/scr F, script letter F --> -<!ENTITY gscr "𝒼" ><!--/scr g, script letter g --> -<!ENTITY Gscr "𝒢" ><!--/scr G, script letter G --> -<!ENTITY hscr "𝒽" ><!--/scr h, script letter h --> -<!ENTITY Hscr "𝒣" ><!--/scr H, script letter H --> -<!ENTITY iscr "𝒾" ><!--/scr i, script letter i --> -<!ENTITY Iscr "𝒤" ><!--/scr I, script letter I --> -<!ENTITY jscr "𝒿" ><!--/scr j, script letter j --> -<!ENTITY Jscr "𝒥" ><!--/scr J, script letter J --> -<!ENTITY kscr "𝓀" ><!--/scr k, script letter k --> -<!ENTITY Kscr "𝒦" ><!--/scr K, script letter K --> -<!ENTITY lscr "𝓁" ><!--/scr l, script letter l --> -<!ENTITY Lscr "𝒧" ><!--/scr L, script letter L --> -<!ENTITY mscr "𝓂" ><!--/scr m, script letter m --> -<!ENTITY Mscr "𝒨" ><!--/scr M, script letter M --> -<!ENTITY nscr "𝓃" ><!--/scr n, script letter n --> -<!ENTITY Nscr "𝒩" ><!--/scr N, script letter N --> -<!ENTITY oscr "𝓄" ><!--/scr o, script letter o --> -<!ENTITY Oscr "𝒪" ><!--/scr O, script letter O --> -<!ENTITY pscr "𝓅" ><!--/scr p, script letter p --> -<!ENTITY Pscr "𝒫" ><!--/scr P, script letter P --> -<!ENTITY qscr "𝓆" ><!--/scr q, script letter q --> -<!ENTITY Qscr "𝒬" ><!--/scr Q, script letter Q --> -<!ENTITY rscr "𝓇" ><!--/scr r, script letter r --> -<!ENTITY Rscr "𝒭" ><!--/scr R, script letter R --> -<!ENTITY sscr "𝓈" ><!--/scr s, script letter s --> -<!ENTITY Sscr "𝒮" ><!--/scr S, script letter S --> -<!ENTITY tscr "𝓉" ><!--/scr t, script letter t --> -<!ENTITY Tscr "𝒯" ><!--/scr T, script letter T --> -<!ENTITY uscr "𝓊" ><!--/scr u, script letter u --> -<!ENTITY Uscr "𝒰" ><!--/scr U, script letter U --> -<!ENTITY vscr "𝓋" ><!--/scr v, script letter v --> -<!ENTITY Vscr "𝒱" ><!--/scr V, script letter V --> -<!ENTITY wscr "𝓌" ><!--/scr w, script letter w --> -<!ENTITY Wscr "𝒲" ><!--/scr W, script letter W --> -<!ENTITY xscr "𝓍" ><!--/scr x, script letter x --> -<!ENTITY Xscr "𝒳" ><!--/scr X, script letter X --> -<!ENTITY yscr "𝓎" ><!--/scr y, script letter y --> -<!ENTITY Yscr "𝒴" ><!--/scr Y, script letter Y --> -<!ENTITY zscr "𝓏" ><!--/scr z, script letter z --> -<!ENTITY Zscr "𝒵" ><!--/scr Z, script letter Z --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent b/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent deleted file mode 100644 index e5a7002fb4..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isonum.ent +++ /dev/null @@ -1,103 +0,0 @@ - -<!-- - File isonum.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY amp "&&" ><!--=ampersand --> -<!ENTITY apos "'" ><!--=apostrophe --> -<!ENTITY ast "*" ><!--/ast B: =asterisk --> -<!ENTITY brvbar "¦" ><!--=broken (vertical) bar --> -<!ENTITY bsol "\" ><!--/backslash =reverse solidus --> -<!ENTITY cent "¢" ><!--=cent sign --> -<!ENTITY colon ":" ><!--/colon P: --> -<!ENTITY comma "," ><!--P: =comma --> -<!ENTITY commat "@" ><!--=commercial at --> -<!ENTITY copy "©" ><!--=copyright sign --> -<!ENTITY curren "¤" ><!--=general currency sign --> -<!ENTITY darr "↓" ><!--/downarrow A: =downward arrow --> -<!ENTITY deg "°" ><!--=degree sign --> -<!ENTITY divide "÷" ><!--/div B: =divide sign --> -<!ENTITY dollar "$" ><!--=dollar sign --> -<!ENTITY equals "=" ><!--=equals sign R: --> -<!ENTITY excl "!" ><!--=exclamation mark --> -<!ENTITY frac12 "½" ><!--=fraction one-half --> -<!ENTITY frac14 "¼" ><!--=fraction one-quarter --> -<!ENTITY frac18 "⅛" ><!--=fraction one-eighth --> -<!ENTITY frac34 "¾" ><!--=fraction three-quarters --> -<!ENTITY frac38 "⅜" ><!--=fraction three-eighths --> -<!ENTITY frac58 "⅝" ><!--=fraction five-eighths --> -<!ENTITY frac78 "⅞" ><!--=fraction seven-eighths --> -<!ENTITY gt ">" ><!--=greater-than sign R: --> -<!ENTITY half "½" ><!--=fraction one-half --> -<!ENTITY horbar "―" ><!--=horizontal bar --> -<!ENTITY hyphen "‐" ><!--=hyphen --> -<!ENTITY iexcl "¡" ><!--=inverted exclamation mark --> -<!ENTITY iquest "¿" ><!--=inverted question mark --> -<!ENTITY laquo "«" ><!--=angle quotation mark, left --> -<!ENTITY larr "←" ><!--/leftarrow /gets A: =leftward arrow --> -<!ENTITY lcub "{" ><!--/lbrace O: =left curly bracket --> -<!ENTITY ldquo "“" ><!--=double quotation mark, left --> -<!ENTITY lowbar "_" ><!--=low line --> -<!ENTITY lpar "(" ><!--O: =left parenthesis --> -<!ENTITY lsqb "[" ><!--/lbrack O: =left square bracket --> -<!ENTITY lsquo "‘" ><!--=single quotation mark, left --> -<!ENTITY lt "&<" ><!--=less-than sign R: --> -<!ENTITY micro "µ" ><!--=micro sign --> -<!ENTITY middot "·" ><!--/centerdot B: =middle dot --> -<!ENTITY nbsp " " ><!--=no break (required) space --> -<!ENTITY not "¬" ><!--/neg /lnot =not sign --> -<!ENTITY num "#" ><!--=number sign --> -<!ENTITY ohm "Ω" ><!--=ohm sign --> -<!ENTITY ordf "ª" ><!--=ordinal indicator, feminine --> -<!ENTITY ordm "º" ><!--=ordinal indicator, masculine --> -<!ENTITY para "¶" ><!--=pilcrow (paragraph sign) --> -<!ENTITY percnt "%" ><!--=percent sign --> -<!ENTITY period "." ><!--=full stop, period --> -<!ENTITY plus "+" ><!--=plus sign B: --> -<!ENTITY plusmn "±" ><!--/pm B: =plus-or-minus sign --> -<!ENTITY pound "£" ><!--=pound sign --> -<!ENTITY quest "?" ><!--=question mark --> -<!ENTITY quot """ ><!--=quotation mark --> -<!ENTITY raquo "»" ><!--=angle quotation mark, right --> -<!ENTITY rarr "→" ><!--/rightarrow /to A: =rightward arrow --> -<!ENTITY rcub "}" ><!--/rbrace C: =right curly bracket --> -<!ENTITY rdquo "”" ><!--=double quotation mark, right --> -<!ENTITY reg "®" ><!--/circledR =registered sign --> -<!ENTITY rpar ")" ><!--C: =right parenthesis --> -<!ENTITY rsqb "]" ><!--/rbrack C: =right square bracket --> -<!ENTITY rsquo "’" ><!--=single quotation mark, right --> -<!ENTITY sect "§" ><!--=section sign --> -<!ENTITY semi ";" ><!--=semicolon P: --> -<!ENTITY shy "­" ><!--=soft hyphen --> -<!ENTITY sol "/" ><!--=solidus --> -<!ENTITY sung "♪" ><!--=music note (sung text sign) --> -<!ENTITY sup1 "¹" ><!--=superscript one --> -<!ENTITY sup2 "²" ><!--=superscript two --> -<!ENTITY sup3 "³" ><!--=superscript three --> -<!ENTITY times "×" ><!--/times B: =multiply sign --> -<!ENTITY trade "™" ><!--=trade mark sign --> -<!ENTITY uarr "↑" ><!--/uparrow A: =upward arrow --> -<!ENTITY verbar "|" ><!--/vert =vertical bar --> -<!ENTITY yen "¥" ><!--/yen =yen sign --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent b/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent deleted file mode 100644 index 5591fc390e..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isopub.ent +++ /dev/null @@ -1,111 +0,0 @@ - -<!-- - File isopub.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1986 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY blank "␣" ><!--=significant blank symbol --> -<!ENTITY blk12 "▒" ><!--=50% shaded block --> -<!ENTITY blk14 "░" ><!--=25% shaded block --> -<!ENTITY blk34 "▓" ><!--=75% shaded block --> -<!ENTITY block "█" ><!--=full block --> -<!ENTITY bull "•" ><!--/bullet B: =round bullet, filled --> -<!ENTITY caret "⁁" ><!--=caret (insertion mark) --> -<!ENTITY check "✓" ><!--/checkmark =tick, check mark --> -<!ENTITY cir "○" ><!--/circ B: =circle, open --> -<!ENTITY clubs "♣" ><!--/clubsuit =club suit symbol --> -<!ENTITY copysr "℗" ><!--=sound recording copyright sign --> -<!ENTITY cross "✗" ><!--=ballot cross --> -<!ENTITY dagger "†" ><!--/dagger B: =dagger --> -<!ENTITY Dagger "‡" ><!--/ddagger B: =double dagger --> -<!ENTITY dash "‐" ><!--=hyphen (true graphic) --> -<!ENTITY diams "♦" ><!--/diamondsuit =diamond suit symbol --> -<!ENTITY dlcrop "⌍" ><!--downward left crop mark --> -<!ENTITY drcrop "⌌" ><!--downward right crop mark --> -<!ENTITY dtri "▿" ><!--/triangledown =down triangle, open --> -<!ENTITY dtrif "▾" ><!--/blacktriangledown =dn tri, filled --> -<!ENTITY emsp " " ><!--=em space --> -<!ENTITY emsp13 " " ><!--=1/3-em space --> -<!ENTITY emsp14 " " ><!--=1/4-em space --> -<!ENTITY ensp " " ><!--=en space (1/2-em) --> -<!ENTITY female "♀" ><!--=female symbol --> -<!ENTITY ffilig "ffi" ><!--small ffi ligature --> -<!ENTITY fflig "ff" ><!--small ff ligature --> -<!ENTITY ffllig "ffl" ><!--small ffl ligature --> -<!ENTITY filig "fi" ><!--small fi ligature --> -<!ENTITY flat "♭" ><!--/flat =musical flat --> -<!ENTITY fllig "fl" ><!--small fl ligature --> -<!ENTITY frac13 "⅓" ><!--=fraction one-third --> -<!ENTITY frac15 "⅕" ><!--=fraction one-fifth --> -<!ENTITY frac16 "⅙" ><!--=fraction one-sixth --> -<!ENTITY frac23 "⅔" ><!--=fraction two-thirds --> -<!ENTITY frac25 "⅖" ><!--=fraction two-fifths --> -<!ENTITY frac35 "⅗" ><!--=fraction three-fifths --> -<!ENTITY frac45 "⅘" ><!--=fraction four-fifths --> -<!ENTITY frac56 "⅚" ><!--=fraction five-sixths --> -<!ENTITY hairsp " " ><!--=hair space --> -<!ENTITY hearts "♡" ><!--/heartsuit =heart suit symbol --> -<!ENTITY hellip "…" ><!--=ellipsis (horizontal) --> -<!ENTITY hybull "⁃" ><!--rectangle, filled (hyphen bullet) --> -<!ENTITY incare "℅" ><!--=in-care-of symbol --> -<!ENTITY ldquor "„" ><!--=rising dbl quote, left (low) --> -<!ENTITY lhblk "▄" ><!--=lower half block --> -<!ENTITY loz "◊" ><!--/lozenge - lozenge or total mark --> -<!ENTITY lozf "⧫" ><!--/blacklozenge - lozenge, filled --> -<!ENTITY lsquor "‚" ><!--=rising single quote, left (low) --> -<!ENTITY ltri "◃" ><!--/triangleleft B: l triangle, open --> -<!ENTITY ltrif "◂" ><!--/blacktriangleleft R: =l tri, filled --> -<!ENTITY male "♂" ><!--=male symbol --> -<!ENTITY malt "✠" ><!--/maltese =maltese cross --> -<!ENTITY marker "▮" ><!--=histogram marker --> -<!ENTITY mdash "—" ><!--=em dash --> -<!ENTITY mldr "…" ><!--em leader --> -<!ENTITY natur "♮" ><!--/natural - music natural --> -<!ENTITY ndash "–" ><!--=en dash --> -<!ENTITY nldr "‥" ><!--=double baseline dot (en leader) --> -<!ENTITY numsp " " ><!--=digit space (width of a number) --> -<!ENTITY phone "☎" ><!--=telephone symbol --> -<!ENTITY puncsp " " ><!--=punctuation space (width of comma) --> -<!ENTITY rdquor "”" ><!--rising dbl quote, right (high) --> -<!ENTITY rect "▭" ><!--=rectangle, open --> -<!ENTITY rsquor "’" ><!--rising single quote, right (high) --> -<!ENTITY rtri "▹" ><!--/triangleright B: r triangle, open --> -<!ENTITY rtrif "▸" ><!--/blacktriangleright R: =r tri, filled --> -<!ENTITY rx "℞" ><!--pharmaceutical prescription (Rx) --> -<!ENTITY sext "✶" ><!--sextile (6-pointed star) --> -<!ENTITY sharp "♯" ><!--/sharp =musical sharp --> -<!ENTITY spades "♠" ><!--/spadesuit =spades suit symbol --> -<!ENTITY squ "□" ><!--=square, open --> -<!ENTITY squf "▪" ><!--/blacksquare =sq bullet, filled --> -<!ENTITY star "⋆" ><!--=star, open --> -<!ENTITY starf "★" ><!--/bigstar - star, filled --> -<!ENTITY target "⌖" ><!--register mark or target --> -<!ENTITY telrec "⌕" ><!--=telephone recorder symbol --> -<!ENTITY thinsp " " ><!--=thin space (1/6-em) --> -<!ENTITY uhblk "▀" ><!--=upper half block --> -<!ENTITY ulcrop "⌏" ><!--upward left crop mark --> -<!ENTITY urcrop "⌎" ><!--upward right crop mark --> -<!ENTITY utri "▵" ><!--/triangle =up triangle, open --> -<!ENTITY utrif "▴" ><!--/blacktriangle =up tri, filled --> -<!ENTITY vellip "⋮" ><!--vertical ellipsis --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent b/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent deleted file mode 100644 index dc1fc01354..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/isotech.ent +++ /dev/null @@ -1,183 +0,0 @@ - -<!-- - File isotech.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - - Entity names in this file are derived from files carrying the - following notice: - - (C) International Organization for Standardization 1991 - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - ---> - -<!ENTITY acd "∿" ><!--ac current --> -<!ENTITY aleph "ℵ" ><!--/aleph aleph, Hebrew --> -<!ENTITY and "∧" ><!--/wedge /land B: logical and --> -<!ENTITY And "⩓" ><!--dbl logical and --> -<!ENTITY andand "⩕" ><!--two logical and --> -<!ENTITY andd "⩜" ><!--and, horizontal dash --> -<!ENTITY andslope "⩘" ><!--sloping large and --> -<!ENTITY andv "⩚" ><!--and with middle stem --> -<!ENTITY angrt "∟" ><!--right (90 degree) angle --> -<!ENTITY angsph "∢" ><!--/sphericalangle angle-spherical --> -<!ENTITY angst "Å" ><!--Angstrom capital A, ring --> -<!ENTITY ap "≈" ><!--/approx R: approximate --> -<!ENTITY apacir "⩯" ><!--approximate, circumflex accent --> -<!ENTITY awconint "∳" ><!--contour integral, anti-clockwise --> -<!ENTITY awint "⨑" ><!--anti clock-wise integration --> -<!ENTITY becaus "∵" ><!--/because R: because --> -<!ENTITY bernou "ℬ" ><!--Bernoulli function (script capital B) --> -<!ENTITY bne "=⃥" ><!--reverse not equal --> -<!ENTITY bnequiv "≡⃥" ><!--reverse not equivalent --> -<!ENTITY bnot "⌐" ><!--reverse not --> -<!ENTITY bNot "⫭" ><!--reverse not with two horizontal strokes --> -<!ENTITY bottom "⊥" ><!--/bot bottom --> -<!ENTITY cap "∩" ><!--/cap B: intersection --> -<!ENTITY Cconint "∰" ><!--triple contour integral operator --> -<!ENTITY cirfnint "⨐" ><!--circulation function --> -<!ENTITY compfn "∘" ><!--/circ B: composite function (small circle) --> -<!ENTITY cong "≅" ><!--/cong R: congruent with --> -<!ENTITY conint "∮" ><!--/oint L: contour integral operator --> -<!ENTITY Conint "∯" ><!--double contour integral operator --> -<!ENTITY ctdot "⋯" ><!--/cdots, three dots, centered --> -<!ENTITY cup "∪" ><!--/cup B: union or logical sum --> -<!ENTITY cwconint "∲" ><!--contour integral, clockwise --> -<!ENTITY cwint "∱" ><!--clockwise integral --> -<!ENTITY cylcty "⌭" ><!--cylindricity --> -<!ENTITY disin "⋲" ><!--set membership, long horizontal stroke --> -<!ENTITY Dot "¨" ><!--dieresis or umlaut mark --> -<!ENTITY DotDot "⃜" ><!--four dots above --> -<!ENTITY dsol "⁒" ><!--solidus, bar above --> -<!ENTITY dtdot "⋱" ><!--/ddots, three dots, descending --> -<!ENTITY dwangle "⦦" ><!--large downward pointing angle --> -<!ENTITY epar "⋕" ><!--parallel, equal; equal or parallel --> -<!ENTITY eparsl "⧣" ><!--parallel, slanted, equal; homothetically congruent to --> -<!ENTITY equiv "≡" ><!--/equiv R: identical with --> -<!ENTITY eqvparsl "⧥" ><!--equivalent, equal; congruent and parallel --> -<!ENTITY exist "∃" ><!--/exists at least one exists --> -<!ENTITY fnof "ƒ" ><!--function of (italic small f) --> -<!ENTITY forall "∀" ><!--/forall for all --> -<!ENTITY fpartint "⨍" ><!--finite part integral --> -<!ENTITY ge "≥" ><!--/geq /ge R: greater-than-or-equal --> -<!ENTITY hamilt "ℋ" ><!--Hamiltonian (script capital H) --> -<!ENTITY iff "⇔" ><!--/iff if and only if --> -<!ENTITY iinfin "⧜" ><!--infinity sign, incomplete --> -<!ENTITY imped "𝕃" ><!--impedance --> -<!ENTITY infin "∞" ><!--/infty infinity --> -<!ENTITY int "∫" ><!--/int L: integral operator --> -<!ENTITY Int "∬" ><!--double integral operator --> -<!ENTITY intlarhk "⨗" ><!--integral, left arrow with hook --> -<!ENTITY isin "∈" ><!--/in R: set membership --> -<!ENTITY isindot "⋵" ><!--set membership, dot above --> -<!ENTITY isinE "⋹" ><!--set membership, two horizontal strokes --> -<!ENTITY isins "⋴" ><!--set membership, vertical bar on horizontal stroke --> -<!ENTITY isinsv "⋳" ><!--large set membership, vertical bar on horizontal stroke --> -<!ENTITY isinv "∈" ><!--set membership, variant --> -<!ENTITY lagran "ℒ" ><!--Lagrangian (script capital L) --> -<!ENTITY lang "〈" ><!--/langle O: left angle bracket --> -<!ENTITY Lang "《" ><!--left angle bracket, double --> -<!ENTITY lArr "⇐" ><!--/Leftarrow A: is implied by --> -<!ENTITY lbbrk "〔" ><!--left broken bracket --> -<!ENTITY le "≤" ><!--/leq /le R: less-than-or-equal --> -<!ENTITY loang "〘" ><!--left open angular bracket --> -<!ENTITY lobrk "〚" ><!--left open bracket --> -<!ENTITY lopar "⦅" ><!--left open parenthesis --> -<!ENTITY lowast "∗" ><!--low asterisk --> -<!ENTITY minus "−" ><!--B: minus sign --> -<!ENTITY mnplus "∓" ><!--/mp B: minus-or-plus sign --> -<!ENTITY nabla "∇" ><!--/nabla del, Hamilton operator --> -<!ENTITY ne "≠" ><!--/ne /neq R: not equal --> -<!ENTITY nedot "≠⁣" ><!--not equal, dot --> -<!ENTITY nhpar "⫲" ><!--not, horizontal, parallel --> -<!ENTITY ni "∋" ><!--/ni /owns R: contains --> -<!ENTITY nis "⋼" ><!--contains, vertical bar on horizontal stroke --> -<!ENTITY nisd "⋺" ><!--contains, long horizontal stroke --> -<!ENTITY niv "∋" ><!--contains, variant --> -<!ENTITY Not "⫬" ><!--not with two horizontal strokes --> -<!ENTITY notin "∉" ><!--/notin N: negated set membership --> -<!ENTITY notindot "⋶⁣" ><!--negated set membership, dot above --> -<!ENTITY notinva "∉̸" ><!--negated set membership, variant --> -<!ENTITY notinvb "⋷" ><!--negated set membership, variant --> -<!ENTITY notinvc "⋶" ><!--negated set membership, variant --> -<!ENTITY notni "∌" ><!--negated contains --> -<!ENTITY notniva "∌" ><!--negated contains, variant --> -<!ENTITY notnivb "⋾" ><!--contains, variant --> -<!ENTITY notnivc "⋽" ><!--contains, variant --> -<!ENTITY nparsl "∥⁣⃥" ><!--not parallel, slanted --> -<!ENTITY npart "∂̸" ><!--not partial differential --> -<!ENTITY npolint "⨔" ><!--line integration, not including the pole --> -<!ENTITY nvinfin "⧞" ><!--not, vert, infinity --> -<!ENTITY olcross "⦻" ><!--circle, cross --> -<!ENTITY or "∨" ><!--/vee /lor B: logical or --> -<!ENTITY Or "⩔" ><!--dbl logical or --> -<!ENTITY ord "⩝" ><!--or, horizontal dash --> -<!ENTITY order "ℴ" ><!--order of (script small o) --> -<!ENTITY oror "⩖" ><!--two logical or --> -<!ENTITY orslope "⩗" ><!--sloping large or --> -<!ENTITY orv "⩛" ><!--or with middle stem --> -<!ENTITY par "∥" ><!--/parallel R: parallel --> -<!ENTITY parsl "∥⁣" ><!--parallel, slanted --> -<!ENTITY part "∂" ><!--/partial partial differential --> -<!ENTITY permil "‰" ><!--per thousand --> -<!ENTITY perp "⊥" ><!--/perp R: perpendicular --> -<!ENTITY pertenk "‱" ><!--per 10 thousand --> -<!ENTITY phmmat "ℳ" ><!--physics M-matrix (script capital M) --> -<!ENTITY pointint "⨕" ><!--integral around a point operator --> -<!ENTITY prime "′" ><!--/prime prime or minute --> -<!ENTITY Prime "″" ><!--double prime or second --> -<!ENTITY profalar "⌮" ><!--all-around profile --> -<!ENTITY profline "⌒" ><!--profile of a line --> -<!ENTITY profsurf "⌓" ><!--profile of a surface --> -<!ENTITY prop "∝" ><!--/propto R: is proportional to --> -<!ENTITY qint "⨌" ><!--/iiiint quadruple integral operator --> -<!ENTITY qprime "⁗" ><!--quadruple prime --> -<!ENTITY quatint "⨖" ><!--quaternion integral operator --> -<!ENTITY radic "√" ><!--/surd radical --> -<!ENTITY rang "〉" ><!--/rangle C: right angle bracket --> -<!ENTITY Rang "》" ><!--right angle bracket, double --> -<!ENTITY rArr "⇒" ><!--/Rightarrow A: implies --> -<!ENTITY rbbrk "〕" ><!--right broken bracket --> -<!ENTITY roang "〙" ><!--right open angular bracket --> -<!ENTITY robrk "〛" ><!--right open bracket --> -<!ENTITY ropar "⦆" ><!--right open parenthesis --> -<!ENTITY rppolint "⨒" ><!--line integration, rectangular path around pole --> -<!ENTITY scpolint "⨓" ><!--line integration, semi-circular path around pole --> -<!ENTITY sim "∼" ><!--/sim R: similar --> -<!ENTITY simdot "⩪" ><!--similar, dot --> -<!ENTITY sime "≃" ><!--/simeq R: similar, equals --> -<!ENTITY smeparsl "⧤" ><!--similar, parallel, slanted, equal --> -<!ENTITY square "□" ><!--/square, square --> -<!ENTITY squarf "▪" ><!--/blacksquare, square, filled --> -<!ENTITY sub "⊂" ><!--/subset R: subset or is implied by --> -<!ENTITY sube "⊆" ><!--/subseteq R: subset, equals --> -<!ENTITY sup "⊃" ><!--/supset R: superset or implies --> -<!ENTITY supe "⊇" ><!--/supseteq R: superset, equals --> -<!ENTITY tdot "⃛" ><!--three dots above --> -<!ENTITY there4 "∴" ><!--/therefore R: therefore --> -<!ENTITY tint "∭" ><!--/iiint triple integral operator --> -<!ENTITY top "⊤" ><!--/top top --> -<!ENTITY topbot "⌶" ><!--top and bottom --> -<!ENTITY topcir "⫱" ><!--top, circle below --> -<!ENTITY tprime "‴" ><!--triple prime --> -<!ENTITY utdot "⋰" ><!--three dots, ascending --> -<!ENTITY uwangle "⦧" ><!--large upward pointing angle --> -<!ENTITY vangrt "⊾" ><!--right angle, variant --> -<!ENTITY veeeq "≚" ><!--logical or, equals --> -<!ENTITY Verbar "‖" ><!--/Vert dbl vertical bar --> -<!ENTITY wedgeq "≙" ><!--/wedgeq R: corresponds to (wedge, equals) --> -<!ENTITY xnis "⋻" ><!--large contains, vertical bar on horizontal stroke --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent b/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent deleted file mode 100644 index f5901b3846..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/mmlalias.ent +++ /dev/null @@ -1,529 +0,0 @@ - -<!-- - File mmlalias.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - ---> - -<!ENTITY angle "∠" ><!--alias ISOAMSO ang --> -<!ENTITY approx "≈" ><!--alias ISOTECH ap --> -<!ENTITY approxeq "≊" ><!--alias ISOAMSR ape --> -<!ENTITY backcong "≌" ><!--alias ISOAMSR bcong --> -<!ENTITY backepsilon "ℼ" ><!--alias ISOAMSR bepsi --> -<!ENTITY backprime "‵" ><!--alias ISOAMSO bprime --> -<!ENTITY backsim "∽" ><!--alias ISOAMSR bsim --> -<!ENTITY backsimeq "⋍" ><!--alias ISOAMSR bsime --> -<!ENTITY Backslash "∖" ><!--alias ISOAMSB setmn --> -<!ENTITY barwedge "⊼" ><!--alias ISOAMSB barwed --> -<!ENTITY because "∵" ><!--alias ISOTECH becaus --> -<!ENTITY Because "∵" ><!--alias ISOTECH becaus --> -<!ENTITY Bernoullis "ℬ" ><!--alias ISOTECH bernou --> -<!ENTITY between "≬" ><!--alias ISOAMSR twixt --> -<!ENTITY bigcap "⋂" ><!--alias ISOAMSB xcap --> -<!ENTITY bigcirc "◯" ><!--alias ISOAMSB xcirc --> -<!ENTITY bigcup "⋃" ><!--alias ISOAMSB xcup --> -<!ENTITY bigodot "⊙" ><!--alias ISOAMSB xodot --> -<!ENTITY bigoplus "⊕" ><!--alias ISOAMSB xoplus --> -<!ENTITY bigotimes "⊗" ><!--alias ISOAMSB xotime --> -<!ENTITY bigsqcup "⊔" ><!--alias ISOAMSB xsqcup --> -<!ENTITY bigstar "★" ><!--ISOPUB starf --> -<!ENTITY bigtriangledown "▽" ><!--alias ISOAMSB xdtri --> -<!ENTITY bigtriangleup "△" ><!--alias ISOAMSB xutri --> -<!ENTITY biguplus "⊎" ><!--alias ISOAMSB xuplus --> -<!ENTITY bigvee "⋁" ><!--alias ISOAMSB xvee --> -<!ENTITY bigwedge "⋀" ><!--alias ISOAMSB xwedge --> -<!ENTITY bkarow "⤍" ><!--alias ISOAMSA rbarr --> -<!ENTITY blacklozenge "⧫" ><!--alias ISOPUB lozf --> -<!ENTITY blacksquare "▪" ><!--ISOTECH squarf --> -<!ENTITY blacktriangle "▴" ><!--alias ISOPUB utrif --> -<!ENTITY blacktriangledown "▾" ><!--alias ISOPUB dtrif --> -<!ENTITY blacktriangleleft "◂" ><!--alias ISOPUB ltrif --> -<!ENTITY blacktriangleright "▸" ><!--alias ISOPUB rtrif --> -<!ENTITY bot "⊥" ><!--alias ISOTECH bottom --> -<!ENTITY boxminus "⊟" ><!--alias ISOAMSB minusb --> -<!ENTITY boxplus "⊞" ><!--alias ISOAMSB plusb --> -<!ENTITY boxtimes "⊠" ><!--alias ISOAMSB timesb --> -<!ENTITY Breve "˘" ><!--alias ISODIA breve --> -<!ENTITY bullet "•" ><!--alias ISOPUB bull --> -<!ENTITY bumpeq "≏" ><!--alias ISOAMSR bumpe --> -<!ENTITY Bumpeq "≎" ><!--alias ISOAMSR bump --> -<!ENTITY Cedilla "¸" ><!--alias ISODIA cedil --> -<!ENTITY centerdot "·" ><!--alias ISONUM middot --> -<!ENTITY CenterDot "·" ><!--alias ISONUM middot --> -<!ENTITY checkmark "✓" ><!--alias ISOPUB check --> -<!ENTITY circeq "≗" ><!--alias ISOAMSR cire --> -<!ENTITY circlearrowleft "↺" ><!--alias ISOAMSA olarr --> -<!ENTITY circlearrowright "↻" ><!--alias ISOAMSA orarr --> -<!ENTITY circledast "⊛" ><!--alias ISOAMSB oast --> -<!ENTITY circledcirc "⊚" ><!--alias ISOAMSB ocir --> -<!ENTITY circleddash "⊝" ><!--alias ISOAMSB odash --> -<!ENTITY CircleDot "⊙" ><!--alias ISOAMSB odot --> -<!ENTITY circledR "®" ><!--alias ISONUM reg --> -<!ENTITY circledS "Ⓢ" ><!--alias ISOAMSO oS --> -<!ENTITY CircleMinus "⊖" ><!--alias ISOAMSB ominus --> -<!ENTITY CirclePlus "⊕" ><!--alias ISOAMSB oplus --> -<!ENTITY CircleTimes "⊗" ><!--alias ISOAMSB otimes --> -<!ENTITY ClockwiseContourIntegral "∲" ><!--alias ISOTECH cwconint --> -<!ENTITY CloseCurlyDoubleQuote "”" ><!--alias ISONUM rdquo --> -<!ENTITY CloseCurlyQuote "’" ><!--alias ISONUM rsquo --> -<!ENTITY clubsuit "♣" ><!--ISOPUB clubs --> -<!ENTITY coloneq "≔" ><!--alias ISOAMSR colone --> -<!ENTITY complement "∁" ><!--alias ISOAMSO comp --> -<!ENTITY Congruent "≡" ><!--alias ISOTECH equiv --> -<!ENTITY ContourIntegral "∮" ><!--alias ISOTECH conint --> -<!ENTITY Coproduct "∐" ><!--alias ISOAMSB coprod --> -<!ENTITY CounterClockwiseContourIntegral "∳" ><!--alias ISOTECH awconint --> -<!ENTITY CupCap "≍" ><!--alias ISOAMSR asymp --> -<!ENTITY curlyeqprec "⋞" ><!--alias ISOAMSR cuepr --> -<!ENTITY curlyeqsucc "⋟" ><!--alias ISOAMSR cuesc --> -<!ENTITY curlyvee "⋎" ><!--alias ISOAMSB cuvee --> -<!ENTITY curlywedge "⋏" ><!--alias ISOAMSB cuwed --> -<!ENTITY curvearrowleft "↶" ><!--alias ISOAMSA cularr --> -<!ENTITY curvearrowright "↷" ><!--alias ISOAMSA curarr --> -<!ENTITY dbkarow "⤏" ><!--alias ISOAMSA rBarr --> -<!ENTITY ddagger "‡" ><!--alias ISOPUB Dagger --> -<!ENTITY ddotseq "⩷" ><!--alias ISOAMSR eDDot --> -<!ENTITY Del "∇" ><!--alias ISOTECH nabla --> -<!ENTITY DiacriticalAcute "´" ><!--alias ISODIA acute --> -<!ENTITY DiacriticalDot "˙" ><!--alias ISODIA dot --> -<!ENTITY DiacriticalDoubleAcute "˝" ><!--alias ISODIA dblac --> -<!ENTITY DiacriticalGrave "`" ><!--alias ISODIA grave --> -<!ENTITY DiacriticalTilde "˜" ><!--alias ISODIA tilde --> -<!ENTITY diamond "⋄" ><!--alias ISOAMSB diam --> -<!ENTITY Diamond "⋄" ><!--alias ISOAMSB diam --> -<!ENTITY diamondsuit "♦" ><!--ISOPUB diams --> -<!ENTITY digamma "Ϝ" ><!--alias ISOGRK3 gammad --> -<!ENTITY div "÷" ><!--alias ISONUM divide --> -<!ENTITY divideontimes "⋇" ><!--alias ISOAMSB divonx --> -<!ENTITY doteq "≐" ><!--alias ISOAMSR esdot --> -<!ENTITY doteqdot "≑" ><!--alias ISOAMSR eDot --> -<!ENTITY DotEqual "≐" ><!--alias ISOAMSR esdot --> -<!ENTITY dotminus "∸" ><!--alias ISOAMSB minusd --> -<!ENTITY dotplus "∔" ><!--alias ISOAMSB plusdo --> -<!ENTITY dotsquare "⊡" ><!--alias ISOAMSB sdotb --> -<!ENTITY doublebarwedge "⌆" ><!--alias ISOAMSB Barwed --> -<!ENTITY DoubleContourIntegral "∯" ><!--alias ISOTECH Conint --> -<!ENTITY DoubleDot "¨" ><!--alias ISODIA die --> -<!ENTITY DoubleDownArrow "⇓" ><!--alias ISOAMSA dArr --> -<!ENTITY DoubleLeftArrow "⇐" ><!--alias ISOTECH lArr --> -<!ENTITY DoubleLeftRightArrow "⇔" ><!--alias ISOAMSA hArr --> -<!ENTITY DoubleLeftTee "⫤" ><!--alias for ⫤ --> -<!ENTITY DoubleLongLeftArrow "⇐" ><!--alias ISOAMSA xlArr --> -<!ENTITY DoubleLongLeftRightArrow "⇔" ><!--alias ISOAMSA xhArr --> -<!ENTITY DoubleLongRightArrow "⇒" ><!--alias ISOAMSA xrArr --> -<!ENTITY DoubleRightArrow "⇒" ><!--alias ISOTECH rArr --> -<!ENTITY DoubleRightTee "⊨" ><!--alias ISOAMSR vDash --> -<!ENTITY DoubleUpArrow "⇑" ><!--alias ISOAMSA uArr --> -<!ENTITY DoubleUpDownArrow "⇕" ><!--alias ISOAMSA vArr --> -<!ENTITY DoubleVerticalBar "∥" ><!--alias ISOTECH par --> -<!ENTITY downarrow "↓" ><!--alias ISONUM darr --> -<!ENTITY Downarrow "⇓" ><!--alias ISOAMSA dArr --> -<!ENTITY DownArrow "↓" ><!--alias ISONUM darr --> -<!ENTITY DownArrowUpArrow "⇵" ><!--alias ISOAMSA duarr --> -<!ENTITY downdownarrows "⇊" ><!--alias ISOAMSA ddarr --> -<!ENTITY downharpoonleft "⇃" ><!--alias ISOAMSA dharl --> -<!ENTITY downharpoonright "⇂" ><!--alias ISOAMSA dharr --> -<!ENTITY DownLeftVector "↽" ><!--alias ISOAMSA lhard --> -<!ENTITY DownRightVector "⇁" ><!--alias ISOAMSA rhard --> -<!ENTITY DownTee "⊤" ><!--alias ISOTECH top --> -<!ENTITY drbkarow "⤐" ><!--alias ISOAMSA RBarr --> -<!ENTITY Element "∈" ><!--alias ISOTECH isinv --> -<!ENTITY emptyset "∅⁣" ><!--alias ISOAMSO empty --> -<!ENTITY eqcirc "≖" ><!--alias ISOAMSR ecir --> -<!ENTITY eqcolon "≕" ><!--alias ISOAMSR ecolon --> -<!ENTITY eqsim "≂" ><!--alias ISOAMSR esim --> -<!ENTITY eqslantgtr "⋝" ><!--alias ISOAMSR egs --> -<!ENTITY eqslantless "⋜" ><!--alias ISOAMSR els --> -<!ENTITY EqualTilde "≂" ><!--alias ISOAMSR esim --> -<!ENTITY Equilibrium "⇌" ><!--alias ISOAMSA rlhar --> -<!ENTITY Exists "∃" ><!--alias ISOTECH exist --> -<!ENTITY fallingdotseq "≒" ><!--alias ISOAMSR efDot --> -<!ENTITY ForAll "∀" ><!--alias ISOTECH forall --> -<!ENTITY geq "≥" ><!--alias ISOTECH ge --> -<!ENTITY geqq "≧" ><!--alias ISOAMSR gE --> -<!ENTITY geqslant "⩾" ><!--alias ISOAMSR ges --> -<!ENTITY gg "≫" ><!--alias ISOAMSR Gt --> -<!ENTITY ggg "⋙" ><!--alias ISOAMSR Gg --> -<!ENTITY gnapprox "⪊" ><!--alias ISOAMSN gnap --> -<!ENTITY gneq "≩" ><!--alias ISOAMSN gne --> -<!ENTITY gneqq "≩" ><!--alias ISOAMSN gnE --> -<!ENTITY GreaterEqual "≥" ><!--alias ISOTECH ge --> -<!ENTITY GreaterEqualLess "⋛" ><!--alias ISOAMSR gel --> -<!ENTITY GreaterFullEqual "≧" ><!--alias ISOAMSR gE --> -<!ENTITY GreaterLess "≷" ><!--alias ISOAMSR gl --> -<!ENTITY GreaterSlantEqual "⩾" ><!--alias ISOAMSR ges --> -<!ENTITY GreaterTilde "≳" ><!--alias ISOAMSR gsim --> -<!ENTITY gtrapprox "≳" ><!--alias ISOAMSR gap --> -<!ENTITY gtrdot "⋗" ><!--alias ISOAMSR gtdot --> -<!ENTITY gtreqless "⋛" ><!--alias ISOAMSR gel --> -<!ENTITY gtreqqless "⋛" ><!--alias ISOAMSR gEl --> -<!ENTITY gtrless "≷" ><!--alias ISOAMSR gl --> -<!ENTITY gtrsim "≳" ><!--alias ISOAMSR gsim --> -<!ENTITY gvertneqq "≩̸" ><!--alias ISOAMSN gvnE --> -<!ENTITY Hacek "ˇ" ><!--alias ISODIA caron --> -<!ENTITY Hat "̂" ><!--circumflex accent (circ in ISODIA) --> -<!ENTITY hbar "ℏ" ><!--alias ISOAMSO plank --> -<!ENTITY heartsuit "♡" ><!--ISOPUB hearts --> -<!ENTITY hksearow "⤥" ><!--alias ISOAMSA searhk --> -<!ENTITY hkswarow "⤦" ><!--alias ISOAMSA swarhk --> -<!ENTITY hookleftarrow "↩" ><!--alias ISOAMSA larrhk --> -<!ENTITY hookrightarrow "↪" ><!--alias ISOAMSA rarrhk --> -<!ENTITY hslash "ℏ" ><!--alias ISOAMSO plankv --> -<!ENTITY HumpDownHump "≎" ><!--alias ISOAMSR bump --> -<!ENTITY HumpEqual "≏" ><!--alias ISOAMSR bumpe --> -<!ENTITY iiiint "⨌" ><!--alias ISOTECH qint --> -<!ENTITY iiint "∭" ><!--alias ISOTECH tint --> -<!ENTITY Im "ℑ" ><!--alias ISOAMSO image --> -<!ENTITY imagpart "ℑ" ><!--alias ISOAMSO image --> -<!ENTITY Implies "⇒" ><!--alias ISOTECH rArr --> -<!ENTITY in "∈" ><!--ISOTECH isin --> -<!ENTITY Integral "∫" ><!--alias ISOTECH int --> -<!ENTITY intercal "⊺" ><!--alias ISOAMSB intcal --> -<!ENTITY Intersection "⋂" ><!--alias ISOAMSB xcap --> -<!ENTITY intprod "⨼" ><!--alias ISOAMSB iprod --> -<!ENTITY langle "〈" ><!--alias ISOTECH lang --> -<!ENTITY lbrace "{" ><!--alias ISONUM lcub --> -<!ENTITY lbrack "[" ><!--alias ISONUM lsqb --> -<!ENTITY LeftAngleBracket "〈" ><!--alias ISOTECH lang --> -<!ENTITY leftarrow "←" ><!--alias ISONUM larr --> -<!ENTITY Leftarrow "⇐" ><!--alias ISOTECH lArr --> -<!ENTITY LeftArrow "←" ><!--alias ISONUM larr --> -<!ENTITY LeftArrowRightArrow "⇆" ><!--alias ISOAMSA lrarr --> -<!ENTITY leftarrowtail "↢" ><!--alias ISOAMSA larrtl --> -<!ENTITY LeftCeiling "⌈" ><!--alias ISOAMSC lceil --> -<!ENTITY LeftDoubleBracket "〚" ><!--left double bracket delimiter --> -<!ENTITY LeftDownVector "⇃" ><!--alias ISOAMSA dharl --> -<!ENTITY LeftFloor "⌊" ><!--alias ISOAMSC lfloor --> -<!ENTITY leftharpoondown "↽" ><!--alias ISOAMSA lhard --> -<!ENTITY leftharpoonup "↼" ><!--alias ISOAMSA lharu --> -<!ENTITY leftleftarrows "⇇" ><!--alias ISOAMSA llarr --> -<!ENTITY leftrightarrow "↔" ><!--alias ISOAMSA harr --> -<!ENTITY Leftrightarrow "⇔" ><!--alias ISOAMSA hArr --> -<!ENTITY LeftRightArrow "↔" ><!--alias ISOAMSA harr --> -<!ENTITY leftrightarrows "⇆" ><!--alias ISOAMSA lrarr --> -<!ENTITY leftrightharpoons "⇋" ><!--alias ISOAMSA lrhar --> -<!ENTITY leftrightsquigarrow "↭" ><!--alias ISOAMSA harrw --> -<!ENTITY LeftTee "⊣" ><!--alias ISOAMSR dashv --> -<!ENTITY leftthreetimes "⋋" ><!--alias ISOAMSB lthree --> -<!ENTITY LeftTriangle "⊲" ><!--alias ISOAMSR vltri --> -<!ENTITY LeftTriangleEqual "⊴" ><!--alias ISOAMSR ltrie --> -<!ENTITY LeftUpVector "↿" ><!--alias ISOAMSA uharl --> -<!ENTITY LeftVector "↼" ><!--alias ISOAMSA lharu --> -<!ENTITY leq "≤" ><!--alias ISOTECH le --> -<!ENTITY leqq "≦" ><!--alias ISOAMSR lE --> -<!ENTITY leqslant "⩽" ><!--alias ISOAMSR les --> -<!ENTITY lessapprox "≲" ><!--alias ISOAMSR lap --> -<!ENTITY lessdot "⋖" ><!--alias ISOAMSR ltdot --> -<!ENTITY lesseqgtr "⋚" ><!--alias ISOAMSR leg --> -<!ENTITY lesseqqgtr "⋚" ><!--alias ISOAMSR lEg --> -<!ENTITY LessEqualGreater "⋚" ><!--alias ISOAMSR leg --> -<!ENTITY LessFullEqual "≦" ><!--alias ISOAMSR lE --> -<!ENTITY LessGreater "≶" ><!--alias ISOAMSR lg --> -<!ENTITY lessgtr "≶" ><!--alias ISOAMSR lg --> -<!ENTITY lesssim "≲" ><!--alias ISOAMSR lsim --> -<!ENTITY LessSlantEqual "⩽" ><!--alias ISOAMSR les --> -<!ENTITY LessTilde "≲" ><!--alias ISOAMSR lsim --> -<!ENTITY ll "≪" ><!--alias ISOAMSR Lt --> -<!ENTITY llcorner "⌞" ><!--alias ISOAMSC dlcorn --> -<!ENTITY Lleftarrow "⇚" ><!--alias ISOAMSA lAarr --> -<!ENTITY lmoustache "⦘" ><!--alias ISOAMSC lmoust --> -<!ENTITY lnapprox "⪉" ><!--alias ISOAMSN lnap --> -<!ENTITY lneq "≨" ><!--alias ISOAMSN lne --> -<!ENTITY lneqq "≨" ><!--alias ISOAMSN lnE --> -<!ENTITY longleftarrow "←" ><!--alias ISOAMSA xlarr --> -<!ENTITY Longleftarrow "⇐" ><!--alias ISOAMSA xlArr --> -<!ENTITY LongLeftArrow "←" ><!--alias ISOAMSA xlarr --> -<!ENTITY longleftrightarrow "↔" ><!--alias ISOAMSA xharr --> -<!ENTITY Longleftrightarrow "⇔" ><!--alias ISOAMSA xhArr --> -<!ENTITY LongLeftRightArrow "↔" ><!--alias ISOAMSA xharr --> -<!ENTITY longmapsto "↦" ><!--alias ISOAMSA xmap --> -<!ENTITY longrightarrow "→" ><!--alias ISOAMSA xrarr --> -<!ENTITY Longrightarrow "⇒" ><!--alias ISOAMSA xrArr --> -<!ENTITY LongRightArrow "→" ><!--alias ISOAMSA xrarr --> -<!ENTITY looparrowleft "↫" ><!--alias ISOAMSA larrlp --> -<!ENTITY looparrowright "↬" ><!--alias ISOAMSA rarrlp --> -<!ENTITY LowerLeftArrow "↙" ><!--alias ISOAMSA swarr --> -<!ENTITY LowerRightArrow "↘" ><!--alias ISOAMSA searr --> -<!ENTITY lozenge "◊" ><!--alias ISOPUB loz --> -<!ENTITY lrcorner "⌟" ><!--alias ISOAMSC drcorn --> -<!ENTITY Lsh "↰" ><!--alias ISOAMSA lsh --> -<!ENTITY lvertneqq "≨̸" ><!--alias ISOAMSN lvnE --> -<!ENTITY maltese "✠" ><!--alias ISOPUB malt --> -<!ENTITY mapsto "↦" ><!--alias ISOAMSA map --> -<!ENTITY measuredangle "∡" ><!--alias ISOAMSO angmsd --> -<!ENTITY MinusPlus "∓" ><!--alias ISOTECH mnplus --> -<!ENTITY mp "∓" ><!--alias ISOTECH mnplus --> -<!ENTITY multimap "⊸" ><!--alias ISOAMSA mumap --> -<!ENTITY napprox "≉" ><!--alias ISOAMSN nap --> -<!ENTITY natural "♮" ><!--alias ISOPUB natur --> -<!ENTITY nearrow "↗" ><!--alias ISOAMSA nearr --> -<!ENTITY NestedGreaterGreater "≫" ><!--alias ISOAMSR Gt --> -<!ENTITY NestedLessLess "≪" ><!--alias ISOAMSR Lt --> -<!ENTITY nexists "∄" ><!--alias ISOAMSO nexist --> -<!ENTITY ngeq "≱⃥" ><!--alias ISOAMSN nge --> -<!ENTITY ngeqq "≱" ><!--alias ISOAMSN ngE --> -<!ENTITY ngeqslant "≱" ><!--alias ISOAMSN nges --> -<!ENTITY ngtr "≯" ><!--alias ISOAMSN ngt --> -<!ENTITY nleftarrow "↚" ><!--alias ISOAMSA nlarr --> -<!ENTITY nLeftarrow "⇍" ><!--alias ISOAMSA nlArr --> -<!ENTITY nleftrightarrow "↮" ><!--alias ISOAMSA nharr --> -<!ENTITY nLeftrightarrow "⇎" ><!--alias ISOAMSA nhArr --> -<!ENTITY nleq "≰⃥" ><!--alias ISOAMSN nle --> -<!ENTITY nleqq "≰" ><!--alias ISOAMSN nlE --> -<!ENTITY nleqslant "≰" ><!--alias ISOAMSN nles --> -<!ENTITY nless "≮" ><!--alias ISOAMSN nlt --> -<!ENTITY NotCongruent "≢" ><!--alias ISOAMSN nequiv --> -<!ENTITY NotDoubleVerticalBar "∦" ><!--alias ISOAMSN npar --> -<!ENTITY NotElement "∉" ><!--alias ISOTECH notin --> -<!ENTITY NotEqual "≠" ><!--alias ISOTECH ne --> -<!ENTITY NotExists "∄" ><!--alias ISOAMSO nexist --> -<!ENTITY NotGreater "≯" ><!--alias ISOAMSN ngt --> -<!ENTITY NotGreaterEqual "≱⃥" ><!--alias ISOAMSN nge --> -<!ENTITY NotGreaterFullEqual "≰" ><!--alias ISOAMSN nlE --> -<!ENTITY NotGreaterGreater "≫̸⁣" ><!--alias ISOAMSN nGtv --> -<!ENTITY NotGreaterLess "≹" ><!--alias ISOAMSN ntvgl --> -<!ENTITY NotGreaterSlantEqual "≱" ><!--alias ISOAMSN nges --> -<!ENTITY NotGreaterTilde "≵" ><!--alias ISOAMSN ngsim --> -<!ENTITY NotLeftTriangle "⋪" ><!--alias ISOAMSN nltri --> -<!ENTITY NotLeftTriangleEqual "⋬" ><!--alias ISOAMSN nltrie --> -<!ENTITY NotLess "≮" ><!--alias ISOAMSN nlt --> -<!ENTITY NotLessEqual "≰⃥" ><!--alias ISOAMSN nle --> -<!ENTITY NotLessGreater "≸" ><!--alias ISOAMSN ntvlg --> -<!ENTITY NotLessLess "≪̸⁣" ><!--alias ISOAMSN nLtv --> -<!ENTITY NotLessSlantEqual "≰" ><!--alias ISOAMSN nles --> -<!ENTITY NotLessTilde "≴" ><!--alias ISOAMSN nlsim --> -<!ENTITY NotPrecedes "⊀" ><!--alias ISOAMSN npr --> -<!ENTITY NotPrecedesEqual "⪯̸" ><!--alias ISOAMSN npre --> -<!ENTITY NotPrecedesSlantEqual "⋠" ><!--alias ISOAMSN nprcue --> -<!ENTITY NotReverseElement "∌" ><!--alias ISOTECH notniva --> -<!ENTITY NotRightTriangle "⋫" ><!--alias ISOAMSN nrtri --> -<!ENTITY NotRightTriangleEqual "⋭" ><!--alias ISOAMSN nrtrie --> -<!ENTITY NotSquareSubsetEqual "⋢" ><!--alias ISOAMSN nsqsube --> -<!ENTITY NotSquareSupersetEqual "⋣" ><!--alias ISOAMSN nsqsupe --> -<!ENTITY NotSubset "⊄" ><!--alias ISOAMSN vnsub --> -<!ENTITY NotSubsetEqual "⊈" ><!--alias ISOAMSN nsube --> -<!ENTITY NotSucceeds "⊁" ><!--alias ISOAMSN nsc --> -<!ENTITY NotSucceedsEqual "⪰̸" ><!--alias ISOAMSN nsce --> -<!ENTITY NotSucceedsSlantEqual "⋡" ><!--alias ISOAMSN nsccue --> -<!ENTITY NotSuperset "⊅" ><!--alias ISOAMSN vnsup --> -<!ENTITY NotSupersetEqual "⊉" ><!--alias ISOAMSN nsupe --> -<!ENTITY NotTilde "≁" ><!--alias ISOAMSN nsim --> -<!ENTITY NotTildeEqual "≄" ><!--alias ISOAMSN nsime --> -<!ENTITY NotTildeFullEqual "≇" ><!--alias ISOAMSN ncong --> -<!ENTITY NotTildeTilde "≉" ><!--alias ISOAMSN nap --> -<!ENTITY NotVerticalBar "∤" ><!--alias ISOAMSN nmid --> -<!ENTITY nparallel "∦" ><!--alias ISOAMSN npar --> -<!ENTITY nprec "⊀" ><!--alias ISOAMSN npr --> -<!ENTITY npreceq "⪯̸" ><!--alias ISOAMSN npre --> -<!ENTITY nrightarrow "↛" ><!--alias ISOAMSA nrarr --> -<!ENTITY nRightarrow "⇏" ><!--alias ISOAMSA nrArr --> -<!ENTITY nshortmid "∤⁣" ><!--alias ISOAMSN nsmid --> -<!ENTITY nshortparallel "∦⁣" ><!--alias ISOAMSN nspar --> -<!ENTITY nsimeq "≄" ><!--alias ISOAMSN nsime --> -<!ENTITY nsubset "⊄" ><!--alias ISOAMSN vnsub --> -<!ENTITY nsubseteq "⊈" ><!--alias ISOAMSN nsube --> -<!ENTITY nsubseteqq "⊈" ><!--alias ISOAMSN nsubE --> -<!ENTITY nsucc "⊁" ><!--alias ISOAMSN nsc --> -<!ENTITY nsucceq "⪰̸" ><!--alias ISOAMSN nsce --> -<!ENTITY nsupset "⊅" ><!--alias ISOAMSN vnsup --> -<!ENTITY nsupseteq "⊉" ><!--alias ISOAMSN nsupe --> -<!ENTITY nsupseteqq "⊉" ><!--alias ISOAMSN nsupE --> -<!ENTITY ntriangleleft "⋪" ><!--alias ISOAMSN nltri --> -<!ENTITY ntrianglelefteq "⋬" ><!--alias ISOAMSN nltrie --> -<!ENTITY ntriangleright "⋫" ><!--alias ISOAMSN nrtri --> -<!ENTITY ntrianglerighteq "⋭" ><!--alias ISOAMSN nrtrie --> -<!ENTITY nwarrow "↖" ><!--alias ISOAMSA nwarr --> -<!ENTITY oint "∮" ><!--alias ISOTECH conint --> -<!ENTITY OpenCurlyDoubleQuote "“" ><!--alias ISONUM ldquo --> -<!ENTITY OpenCurlyQuote "‘" ><!--alias ISONUM lsquo --> -<!ENTITY orderof "ℴ" ><!--alias ISOTECH order --> -<!ENTITY parallel "∥" ><!--alias ISOTECH par --> -<!ENTITY PartialD "∂" ><!--alias ISOTECH part --> -<!ENTITY pitchfork "⋔" ><!--alias ISOAMSR fork --> -<!ENTITY PlusMinus "±" ><!--alias ISONUM plusmn --> -<!ENTITY pm "±" ><!--alias ISONUM plusmn --> -<!ENTITY prec "≺" ><!--alias ISOAMSR pr --> -<!ENTITY precapprox "≾" ><!--alias ISOAMSR prap --> -<!ENTITY preccurlyeq "≼" ><!--alias ISOAMSR prcue --> -<!ENTITY Precedes "≺" ><!--alias ISOAMSR pr --> -<!ENTITY PrecedesEqual "⪯" ><!--alias ISOAMSR pre --> -<!ENTITY PrecedesSlantEqual "≼" ><!--alias ISOAMSR prcue --> -<!ENTITY PrecedesTilde "≾" ><!--alias ISOAMSR prsim --> -<!ENTITY preceq "⪯" ><!--alias ISOAMSR pre --> -<!ENTITY precnapprox "⋨" ><!--alias ISOAMSN prnap --> -<!ENTITY precneqq "⪵" ><!--alias ISOAMSN prnE --> -<!ENTITY precnsim "⋨" ><!--alias ISOAMSN prnsim --> -<!ENTITY precsim "≾" ><!--alias ISOAMSR prsim --> -<!ENTITY Proportion "∷" ><!--alias ISOAMSR Colon --> -<!ENTITY Proportional "∝" ><!--alias ISOTECH prop --> -<!ENTITY propto "∝" ><!--alias ISOTECH prop --> -<!ENTITY questeq "≟" ><!--alias ISOAMSR equest --> -<!ENTITY rangle "〉" ><!--alias ISOTECH rang --> -<!ENTITY rbrace "}" ><!--alias ISONUM rcub --> -<!ENTITY rbrack "]" ><!--alias ISONUM rsqb --> -<!ENTITY Re "ℜ" ><!--alias ISOAMSO real --> -<!ENTITY realpart "ℜ" ><!--alias ISOAMSO real --> -<!ENTITY ReverseElement "∋" ><!--alias ISOTECH niv --> -<!ENTITY ReverseEquilibrium "⇋" ><!--alias ISOAMSA lrhar --> -<!ENTITY ReverseUpEquilibrium "⥯" ><!--alias ISOAMSA duhar --> -<!ENTITY RightAngleBracket "〉" ><!--alias ISOTECH rang --> -<!ENTITY rightarrow "→" ><!--alias ISONUM rarr --> -<!ENTITY Rightarrow "⇒" ><!--alias ISOTECH rArr --> -<!ENTITY RightArrow "→" ><!--alias ISONUM rarr --> -<!ENTITY RightArrowLeftArrow "⇄" ><!--alias ISOAMSA rlarr --> -<!ENTITY rightarrowtail "↣" ><!--alias ISOAMSA rarrtl --> -<!ENTITY RightCeiling "⌉" ><!--alias ISOAMSC rceil --> -<!ENTITY RightDoubleBracket "〛" ><!--right double bracket delimiter --> -<!ENTITY RightDownVector "⇂" ><!--alias ISOAMSA dharr --> -<!ENTITY RightFloor "⌋" ><!--alias ISOAMSC rfloor --> -<!ENTITY rightharpoondown "⇁" ><!--alias ISOAMSA rhard --> -<!ENTITY rightharpoonup "⇀" ><!--alias ISOAMSA rharu --> -<!ENTITY rightleftarrows "⇄" ><!--alias ISOAMSA rlarr --> -<!ENTITY rightleftharpoons "⇌" ><!--alias ISOAMSA rlhar --> -<!ENTITY rightrightarrows "⇉" ><!--alias ISOAMSA rrarr --> -<!ENTITY rightsquigarrow "⇝" ><!--alias ISOAMSA rarrw --> -<!ENTITY RightTee "⊢" ><!--alias ISOAMSR vdash --> -<!ENTITY RightTeeArrow "↦" ><!--alias ISOAMSA map --> -<!ENTITY rightthreetimes "⋌" ><!--alias ISOAMSB rthree --> -<!ENTITY RightTriangle "⊳" ><!--alias ISOAMSR vrtri --> -<!ENTITY RightTriangleEqual "⊵" ><!--alias ISOAMSR rtrie --> -<!ENTITY RightUpVector "↾" ><!--alias ISOAMSA uharr --> -<!ENTITY RightVector "⇀" ><!--alias ISOAMSA rharu --> -<!ENTITY risingdotseq "≓" ><!--alias ISOAMSR erDot --> -<!ENTITY rmoustache "⦗" ><!--alias ISOAMSC rmoust --> -<!ENTITY Rrightarrow "⇛" ><!--alias ISOAMSA rAarr --> -<!ENTITY Rsh "↱" ><!--alias ISOAMSA rsh --> -<!ENTITY searrow "↘" ><!--alias ISOAMSA searr --> -<!ENTITY setminus "∖" ><!--alias ISOAMSB setmn --> -<!ENTITY ShortLeftArrow "←⁣" ><!--alias ISOAMSA slarr --> -<!ENTITY shortmid "∣⁣" ><!--alias ISOAMSR smid --> -<!ENTITY shortparallel "∥⁣" ><!--alias ISOAMSR spar --> -<!ENTITY ShortRightArrow "→⁣" ><!--alias ISOAMSA srarr --> -<!ENTITY simeq "≃" ><!--alias ISOTECH sime --> -<!ENTITY SmallCircle "∘" ><!--alias ISOTECH compfn --> -<!ENTITY smallsetminus "∖" ><!--alias ISOAMSB ssetmn --> -<!ENTITY spadesuit "♠" ><!--ISOPUB spades --> -<!ENTITY Sqrt "√" ><!--alias ISOTECH radic --> -<!ENTITY sqsubset "⊏" ><!--alias ISOAMSR sqsub --> -<!ENTITY sqsubseteq "⊑" ><!--alias ISOAMSR sqsube --> -<!ENTITY sqsupset "⊐" ><!--alias ISOAMSR sqsup --> -<!ENTITY sqsupseteq "⊒" ><!--alias ISOAMSR sqsupe --> -<!ENTITY Square "□" ><!--alias for square --> -<!ENTITY SquareIntersection "⊓" ><!--alias ISOAMSB sqcap --> -<!ENTITY SquareSubset "⊏" ><!--alias ISOAMSR sqsub --> -<!ENTITY SquareSubsetEqual "⊑" ><!--alias ISOAMSR sqsube --> -<!ENTITY SquareSuperset "⊐" ><!--alias ISOAMSR sqsup --> -<!ENTITY SquareSupersetEqual "⊒" ><!--alias ISOAMSR sqsupe --> -<!ENTITY SquareUnion "⊔" ><!--alias ISOAMSB sqcup --> -<!ENTITY Star "⋆" ><!--alias ISOAMSB sstarf --> -<!ENTITY straightepsilon "ε" ><!--alias ISOGRK3 epsi --> -<!ENTITY straightphi "φ" ><!--alias ISOGRK3 phi --> -<!ENTITY subset "⊂" ><!--alias ISOTECH sub --> -<!ENTITY Subset "⋐" ><!--alias ISOAMSR Sub --> -<!ENTITY subseteq "⊆" ><!--alias ISOTECH sube --> -<!ENTITY subseteqq "⊆" ><!--alias ISOAMSR subE --> -<!ENTITY SubsetEqual "⊆" ><!--alias ISOTECH sube --> -<!ENTITY subsetneq "⊊" ><!--alias ISOAMSN subne --> -<!ENTITY subsetneqq "⊊" ><!--alias ISOAMSN subnE --> -<!ENTITY succ "≻" ><!--alias ISOAMSR sc --> -<!ENTITY succapprox "≿" ><!--alias ISOAMSR scap --> -<!ENTITY succcurlyeq "≽" ><!--alias ISOAMSR sccue --> -<!ENTITY Succeeds "≻" ><!--alias ISOAMSR sc --> -<!ENTITY SucceedsEqual "≽" ><!--alias ISOAMSR sce --> -<!ENTITY SucceedsSlantEqual "≽" ><!--alias ISOAMSR sccue --> -<!ENTITY SucceedsTilde "≿" ><!--alias ISOAMSR scsim --> -<!ENTITY succeq "≽" ><!--alias ISOAMSR sce --> -<!ENTITY succnapprox "⋩" ><!--alias ISOAMSN scnap --> -<!ENTITY succneqq "⪶" ><!--alias ISOAMSN scnE --> -<!ENTITY succnsim "⋩" ><!--alias ISOAMSN scnsim --> -<!ENTITY succsim "≿" ><!--alias ISOAMSR scsim --> -<!ENTITY SuchThat "∋" ><!--ISOTECH ni --> -<!ENTITY Sum "∑" ><!--alias ISOAMSB sum --> -<!ENTITY Superset "⊃" ><!--alias ISOTECH sup --> -<!ENTITY SupersetEqual "⊇" ><!--alias ISOTECH supe --> -<!ENTITY supset "⊃" ><!--alias ISOTECH sup --> -<!ENTITY Supset "⋑" ><!--alias ISOAMSR Sup --> -<!ENTITY supseteq "⊇" ><!--alias ISOTECH supe --> -<!ENTITY supseteqq "⊇" ><!--alias ISOAMSR supE --> -<!ENTITY supsetneq "⊋" ><!--alias ISOAMSN supne --> -<!ENTITY supsetneqq "⊋" ><!--alias ISOAMSN supnE --> -<!ENTITY swarrow "↙" ><!--alias ISOAMSA swarr --> -<!ENTITY therefore "∴" ><!--alias ISOTECH there4 --> -<!ENTITY Therefore "∴" ><!--alias ISOTECH there4 --> -<!ENTITY thickapprox "≈⁣" ><!--ISOAMSR thkap --> -<!ENTITY thicksim "∼" ><!--ISOAMSR thksim --> -<!ENTITY ThinSpace " " ><!--space of width 3/18 em alias ISOPUB thinsp --> -<!ENTITY Tilde "∼" ><!--alias ISOTECH sim --> -<!ENTITY TildeEqual "≃" ><!--alias ISOTECH sime --> -<!ENTITY TildeFullEqual "≅" ><!--alias ISOTECH cong --> -<!ENTITY TildeTilde "≈" ><!--alias ISOTECH ap --> -<!ENTITY toea "⤨" ><!--alias ISOAMSA nesear --> -<!ENTITY tosa "⤩" ><!--alias ISOAMSA seswar --> -<!ENTITY triangle "▵" ><!--alias ISOPUB utri --> -<!ENTITY triangledown "▿" ><!--alias ISOPUB dtri --> -<!ENTITY triangleleft "◃" ><!--alias ISOPUB ltri --> -<!ENTITY trianglelefteq "⊴" ><!--alias ISOAMSR ltrie --> -<!ENTITY triangleq "≜" ><!--alias ISOAMSR trie --> -<!ENTITY triangleright "▹" ><!--alias ISOPUB rtri --> -<!ENTITY trianglerighteq "⊵" ><!--alias ISOAMSR rtrie --> -<!ENTITY TripleDot "⃛" ><!--alias ISOTECH tdot --> -<!ENTITY twoheadleftarrow "↞" ><!--alias ISOAMSA Larr --> -<!ENTITY twoheadrightarrow "↠" ><!--alias ISOAMSA Rarr --> -<!ENTITY ulcorner "⌜" ><!--alias ISOAMSC ulcorn --> -<!ENTITY Union "⋃" ><!--alias ISOAMSB xcup --> -<!ENTITY UnionPlus "⊎" ><!--alias ISOAMSB uplus --> -<!ENTITY uparrow "↑" ><!--alias ISONUM uarr --> -<!ENTITY Uparrow "⇑" ><!--alias ISOAMSA uArr --> -<!ENTITY UpArrow "↑" ><!--alias ISONUM uarr --> -<!ENTITY UpArrowDownArrow "⇅" ><!--alias ISOAMSA udarr --> -<!ENTITY updownarrow "↕" ><!--alias ISOAMSA varr --> -<!ENTITY Updownarrow "⇕" ><!--alias ISOAMSA vArr --> -<!ENTITY UpDownArrow "↕" ><!--alias ISOAMSA varr --> -<!ENTITY UpEquilibrium "⥮" ><!--alias ISOAMSA udhar --> -<!ENTITY upharpoonleft "↿" ><!--alias ISOAMSA uharl --> -<!ENTITY upharpoonright "↾" ><!--alias ISOAMSA uharr --> -<!ENTITY UpperLeftArrow "↖" ><!--alias ISOAMSA nwarr --> -<!ENTITY UpperRightArrow "↗" ><!--alias ISOAMSA nearr --> -<!ENTITY upsilon "υ" ><!--alias ISOGRK3 upsi --> -<!ENTITY Upsilon "ϒ" ><!--alias ISOGRK3 Upsi --> -<!ENTITY UpTee "⊥" ><!--alias ISOTECH perp --> -<!ENTITY upuparrows "⇈" ><!--alias ISOAMSA uuarr --> -<!ENTITY urcorner "⌝" ><!--alias ISOAMSC urcorn --> -<!ENTITY varepsilon "ɛ" ><!--alias ISOGRK3 epsiv --> -<!ENTITY varkappa "ϰ" ><!--alias ISOGRK3 kappav --> -<!ENTITY varnothing "∅" ><!--alias ISOAMSO emptyv --> -<!ENTITY varphi "ϕ" ><!--alias ISOGRK3 phiv --> -<!ENTITY varpi "ϖ" ><!--alias ISOGRK3 piv --> -<!ENTITY varpropto "∝" ><!--alias ISOAMSR vprop --> -<!ENTITY varrho "ϱ" ><!--alias ISOGRK3 rhov --> -<!ENTITY varsigma "ς" ><!--alias ISOGRK3 sigmav --> -<!ENTITY varsubsetneq "⊊⁣" ><!--alias ISOAMSN vsubne --> -<!ENTITY varsubsetneqq "⊊⁣" ><!--alias ISOAMSN vsubnE --> -<!ENTITY varsupsetneq "⊋⁣" ><!--alias ISOAMSN vsupne --> -<!ENTITY varsupsetneqq "⊋⁣" ><!--alias ISOAMSN vsupnE --> -<!ENTITY vartheta "ϑ" ><!--alias ISOGRK3 thetav --> -<!ENTITY vartriangleleft "⊲" ><!--alias ISOAMSR vltri --> -<!ENTITY vartriangleright "⊳" ><!--alias ISOAMSR vrtri --> -<!ENTITY vee "∨" ><!--alias ISOTECH or --> -<!ENTITY Vee "⋁" ><!--alias ISOAMSB xvee --> -<!ENTITY vert "|" ><!--alias ISONUM verbar --> -<!ENTITY Vert "‖" ><!--alias ISOTECH Verbar --> -<!ENTITY VerticalBar "∣" ><!--alias ISOAMSR mid --> -<!ENTITY VerticalTilde "≀" ><!--alias ISOAMSB wreath --> -<!ENTITY VeryThinSpace " " ><!--space of width 1/18 em alias ISOPUB hairsp --> -<!ENTITY wedge "∧" ><!--alias ISOTECH and --> -<!ENTITY Wedge "⋀" ><!--alias ISOAMSB xwedge --> -<!ENTITY wp "℘" ><!--alias ISOAMSO weierp --> -<!ENTITY wr "≀" ><!--alias ISOAMSB wreath --> diff --git a/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent b/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent deleted file mode 100644 index e76de448cc..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/ent/mmlextra.ent +++ /dev/null @@ -1,134 +0,0 @@ - -<!-- - File mmlextra.ent produced by the XSL script mmldtd.xsl - from input data in unicode.xml. - - Please report any errors to - David Carlisle <davidc@nag.co.uk>. - - The numeric character values assigned to each entity - (should) match either official Unicode assignments - or assignments provisionally allocated by the - Unicode Consortium based on the characters in the `STIX' - propsal for mathematics. Note that these assignments - have not been ratified by the corresponding ISO - committee and thus should be considered liable to - change. - ---> - -<!ENTITY af "⁡" ><!--short form of ⁡ --> -<!ENTITY ApplyFunction "⁡" ><!--character showing function application in presentation tagging --> -<!ENTITY Assign "≔" ><!--assignment operator --> -<!ENTITY CapitalDifferentialD "ⅅ" ><!--D for use in differentials, e.g., within integrals --> -<!ENTITY Cayleys "ℭ" ><!--the non-associative ring of octonions or Cayley numbers --> -<!ENTITY complexes "ℂ" ><!--the field of complex numbers --> -<!ENTITY Cross "⨯" ><!--cross or vector product --> -<!ENTITY dd "ⅆ" ><!--short form of ⅆ --> -<!ENTITY DD "ⅅ" ><!--short form of CapitalDifferentialD --> -<!ENTITY DifferentialD "ⅆ" ><!--d for use in differentials, e.g., within integrals --> -<!ENTITY DownArrowBar "⤓" ><!--down arrow to bar --> -<!ENTITY DownBreve "̑" ><!--breve, inverted (non-spacing) --> -<!ENTITY DownLeftRightVector "⥐" ><!--left-down-right-down harpoon --> -<!ENTITY DownLeftTeeVector "⥞" ><!--left-down harpoon from bar --> -<!ENTITY DownLeftVectorBar "⥖" ><!--left-down harpoon to bar --> -<!ENTITY DownRightTeeVector "⥟" ><!--right-down harpoon from bar --> -<!ENTITY DownRightVectorBar "⥗" ><!--right-down harpoon to bar --> -<!ENTITY DownTeeArrow "↧" ><!--alias for mapstodown --> -<!ENTITY ee "ⅇ" ><!--short form of ⅇ --> -<!ENTITY EmptySmallSquare "◽" ><!--empty small square --> -<!ENTITY EmptyVerySmallSquare "◽" ><!--empty small square --> -<!ENTITY Equal "⩵" ><!--two consecutive equal signs --> -<!ENTITY expectation "ℰ" ><!--expectation (operator) --> -<!ENTITY exponentiale "ℯ" ><!--base of the Napierian logarithms --> -<!ENTITY ExponentialE "ⅇ" ><!--e use for the exponential base of the natural logarithms --> -<!ENTITY FilledSmallSquare "◾" ><!--filled small square --> -<!ENTITY FilledVerySmallSquare "◾" ><!--filled very small square --> -<!ENTITY Fouriertrf "ℱ" ><!--Fourier transform --> -<!ENTITY GreaterGreater "⪢" ><!--alias for GT --> -<!ENTITY HilbertSpace "ℋ" ><!--Hilbert space --> -<!ENTITY HorizontalLine "─" ><!--short horizontal line --> -<!ENTITY ic "​" ><!--short form of ⁣ --> -<!ENTITY ii "ⅈ" ><!--short form of ⅈ --> -<!ENTITY ImaginaryI "ⅈ" ><!--i for use as a square root of -1 --> -<!ENTITY imagline "ℐ" ><!--the geometric imaginary line --> -<!ENTITY integers "ℤ" ><!--the ring of integers --> -<!ENTITY InvisibleComma "​" ><!--used as a separator, e.g., in indices --> -<!ENTITY InvisibleTimes "⁢" ><!--marks multiplication when it is understood without a mark --> -<!ENTITY it "⁢" ><!--short form of ⁢ --> -<!ENTITY Laplacetrf "ℒ" ><!--Laplace transform --> -<!ENTITY larrb "⇤" ><!--leftwards arrow to bar --> -<!ENTITY LeftArrowBar "⇤" ><!--alias for larrb --> -<!ENTITY LeftDownTeeVector "⥡" ><!--down-left harpoon from bar --> -<!ENTITY LeftDownVectorBar "⥙" ><!--down-left harpoon to bar --> -<!ENTITY LeftRightVector "⥎" ><!--left-up-right-up harpoon --> -<!ENTITY LeftTeeArrow "↤" ><!--alias for mapstoleft --> -<!ENTITY LeftTeeVector "⥚" ><!--left-up harpoon from bar --> -<!ENTITY LeftTriangleBar "⧏" ><!--not left triangle, vertical bar --> -<!ENTITY LeftUpDownVector "⥑" ><!--up-left-down-left harpoon --> -<!ENTITY LeftUpTeeVector "⥠" ><!--up-left harpoon from bar --> -<!ENTITY LeftUpVectorBar "⥘" ><!--up-left harpoon to bar --> -<!ENTITY LeftVectorBar "⥒" ><!--left-up harpoon to bar --> -<!ENTITY LessLess "⪡" ><!--alias for Lt --> -<!ENTITY mapstodown "↧" ><!--downwards arrow from bar --> -<!ENTITY mapstoleft "↤" ><!--leftwards arrow from bar --> -<!ENTITY mapstoup "↥" ><!--upwards arrow from bar --> -<!ENTITY Mellintrf "ℳ" ><!--Mellin transform --> -<!ENTITY naturals "ℕ" ><!--the semi-ring of natural numbers --> -<!ENTITY nbump "≎̸" ><!--not bumpy equals --> -<!ENTITY nbumpe "≏̸" ><!--not bumpy single equals --> -<!ENTITY NegativeMediumSpace " ⁣" ><!--space of width -4/18 em --> -<!ENTITY NegativeThickSpace " ⁣" ><!--space of width -5/18 em --> -<!ENTITY NegativeThinSpace " ⁣" ><!--space of width -3/18 em --> -<!ENTITY NegativeVeryThinSpace " ⁣" ><!--space of width -1/18 em --> -<!ENTITY nesim "≂̸" ><!--not equal or similar --> -<!ENTITY NewLine "
" ><!--force a line break; line feed --> -<!ENTITY NoBreak "" ><!--never break line here --> -<!ENTITY NotCupCap "≭" ><!--alias for &nasymp; --> -<!ENTITY NotEqualTilde "≂̸" ><!--alias for ≂̸ --> -<!ENTITY NotHumpDownHump "≎̸" ><!--alias for ≎̸ --> -<!ENTITY NotHumpEqual "≏̸" ><!--alias for ≏̸ --> -<!ENTITY NotLeftTriangleBar "⧏̸" ><!--not left triangle, vertical bar --> -<!ENTITY NotNestedGreaterGreater "⒢̸" ><!--not double greater-than sign --> -<!ENTITY NotNestedLessLess "⒡̸" ><!--not double less-than sign --> -<!ENTITY NotRightTriangleBar "⧐̸" ><!--not vertical bar, right triangle --> -<!ENTITY NotSquareSubset "⊏̸" ><!--square not subset --> -<!ENTITY NotSquareSuperset "⊐̸" ><!--negated set-like partial order operator --> -<!ENTITY NotSucceedsTilde "≿̸" ><!--not succeeds or similar --> -<!ENTITY OverBar "¯" ><!--over bar --> -<!ENTITY OverBrace "︷" ><!--over brace --> -<!ENTITY OverBracket "⎴" ><!--over bracket --> -<!ENTITY OverParenthesis "︵" ><!--over parenthesis --> -<!ENTITY planckh "ℎ" ><!--the ring (skew field) of quaternions --> -<!ENTITY Poincareplane "ℌ" ><!--the Poincare upper half-plane --> -<!ENTITY primes "ℙ" ><!--the prime natural numbers --> -<!ENTITY Product "∏" ><!--alias for &prod --> -<!ENTITY quaternions "ℍ" ><!--the ring (skew field) of quaternions --> -<!ENTITY rarrb "⇥" ><!--leftwards arrow to bar --> -<!ENTITY rationals "ℚ" ><!--the field of rational numbers --> -<!ENTITY realine "ℛ" ><!--the geometric real line --> -<!ENTITY reals "ℝ" ><!--the field of real numbers --> -<!ENTITY RightArrowBar "⇥" ><!--alias for rarrb --> -<!ENTITY RightDownTeeVector "⥝" ><!--down-right harpoon from bar --> -<!ENTITY RightDownVectorBar "⥕" ><!--down-right harpoon to bar --> -<!ENTITY RightTeeVector "⥛" ><!--right-up harpoon from bar --> -<!ENTITY RightTriangleBar "⧐" ><!--vertical bar, right triangle --> -<!ENTITY RightUpDownVector "⥏" ><!--up-right-down-right harpoon --> -<!ENTITY RightUpTeeVector "⥜" ><!--up-right harpoon from bar --> -<!ENTITY RightUpVectorBar "⥔" ><!--up-right harpoon to bar --> -<!ENTITY RightVectorBar "⥓" ><!--up-right harpoon to bar --> -<!ENTITY RoundImplies "⥰" ><!--round implies --> -<!ENTITY RuleDelayed "⧴" ><!--rule-delayed (colon right arrow) --> -<!ENTITY ShortDownArrow "⌄⁣" ><!--short down arrow --> -<!ENTITY ShortUpArrow "⌃⁣" ><!--short up arrow --> -<!ENTITY Tab "	" ><!--tabulator stop; horizontal tabulation --> -<!ENTITY ThickSpace " " ><!--space of width 5/18 em --> -<!ENTITY UnderBar "̲" ><!--combining low line --> -<!ENTITY UnderBrace "︸" ><!--under brace --> -<!ENTITY UnderBracket "⎵" ><!--under bracket --> -<!ENTITY UpArrowBar "⤒" ><!--up arrow to bar --> -<!ENTITY UpTeeArrow "↥" ><!--Alias mapstoup --> -<!ENTITY VerticalLine "❘" ><!--short vertical line --> -<!ENTITY VerticalSeparator "❘" ><!--vertical separating operator --> -<!ENTITY zeetrf "ℨ" ><!--zee transform --> -<!ENTITY ZeroWidthSpace "​" ><!--zero width space --> diff --git a/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd b/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd deleted file mode 100644 index 7ec703e2c7..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/latex.entities.dtd +++ /dev/null @@ -1,7 +0,0 @@ -<!ELEMENT character (#PCDATA)> - -<!ATTLIST character -entity CDATA #REQUIRED -arguments CDATA #IMPLIED -> - diff --git a/docs/docbook/xslt/db2latex/mathml/latex.entities.xml b/docs/docbook/xslt/db2latex/mathml/latex.entities.xml deleted file mode 100644 index e5290aba10..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/latex.entities.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE latex SYSTEM "latex.entities.dtd" []> - -<latex> - <character entity="δ">\delta</character> - <character entity="κ">\kappa</character> - <character entity="π">\pi</character> - <character entity="−">-</character> - <character entity="β">\beta</character> - <character entity="̂">\sphat</character><!-- superscript=""--> - <character entity="̂" arguments="1">\hat</character> -</latex> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl deleted file mode 100644 index 585c744109..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.content.constsymb.mod.xsl +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML content markup, constants and symbols, 4.4.12. - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<!-- integer numbers --> -<xsl:template match="mml:integers"> - <xsl:text>\bbold Z </xsl:text> -</xsl:template> - -<!-- real numbers --> -<xsl:template match="mml:reals"> - <xsl:text>\bbold R </xsl:text> -</xsl:template> - -<!-- rational numbers --> -<xsl:template match="mml:rationals"> - <xsl:text>\bbold Q </xsl:text> -</xsl:template> - -<!-- natural numbers --> -<xsl:template match="mml:naturalnumbers"> - <xsl:text>\bbold N </xsl:text> -</xsl:template> - -<!-- complex numbers --> -<xsl:template match="mml:complexes"> - <xsl:text>\bbold C </xsl:text> -</xsl:template> - -<!-- prime numbers --> -<xsl:template match="mml:primes"> - <xsl:text>\bbold P </xsl:text> - <mi><xsl:text disable-output-escaping='yes'>&#x1D547;</xsl:text></mi> <!-- open face P --> <!-- UNICODE char does not work --> -</xsl:template> - - - - - - - -<!-- exponential base --> -<xsl:template match="mml:exponentiale"> - <xsl:text>\textrm{e} </xsl:text> -</xsl:template> - -<!-- square root of -1 --> -<xsl:template match="mml:imaginaryi"> - <xsl:text>\textrm{i} </xsl:text> -</xsl:template> - -<xsl:template match="mml:notanumber"> - <xsl:text>\NaN </xsl:text> -</xsl:template> - -<!-- logical constant for truth --> -<xsl:template match="mml:true"> - <xsl:text>true</xsl:text> -</xsl:template> - -<!-- logical constant for falsehood --> -<xsl:template match="mml:false"> - <xsl:text>false</xsl:text> -</xsl:template> - -<!-- empty set --> -<xsl:template match="mml:emptyset"> - <xsl:text>\empty</xsl:text> -</xsl:template> - -<!-- ratio of a circle's circumference to its diameter --> -<xsl:template match="mml:pi"> - <xsl:text>\pi</xsl:text> -</xsl:template> - -<!-- Euler's constant --> -<xsl:template match="mml:eulergamma"> - <xsl:text>\Gamma</xsl:text> -</xsl:template> - -<!-- Infinity --> -<xsl:template match="mml:infinity"> - <xsl:text>\infty</xsl:text> -</xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl deleted file mode 100644 index f197ca1924..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.content.functions.mod.xsl +++ /dev/null @@ -1,723 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML content markup. - | Note: these elements are not part of the DocBook DTD. I have extended - | the docbook DTD in order to support this tags, so that's why I have these - | templates here. - | - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<xsl:template match="mml:fn"> -</xsl:template> - -<!-- -<xsl:template match="mml:apply/lowlimit"> -<xsl:variable name="first" select="../child::*[1]"/> -</xsl:template> - -<xsl:template match="mml:apply/uplimit"> -<xsl:variable name="first" select="../child::*[1]"/> -</xsl:template> - -<xsl:template match="mml:apply/degree"> -<xsl:variable name="first" select="../child::*[1]"/> -</xsl:template> ---> - - -<!-- conditions --> -<!-- no support for deprecated reln--> -<xsl:template match="mml:condition"> - <xsl:text>{</xsl:text><xsl:apply-templates/><xsl:text>}</xsl:text> -</xsl:template> - - - - - - -<!--UNARY - unary arithmetic exp, factorial, minus, abs, conjugate, arg, real, imaginary - unary logical not - unary functional inverse, ident - unary elementary classical - functions sin, cos, tan, sec, csc, cot, sinh, cosh, tanh, sech, csch, coth, arcsin, - arccos, arctan, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsinh, - arctanh, exp, ln, log - unary linear algebra determinant, transpose - unary calculus and vector calculus - divergence, grad, curl, laplacian - unary set-theoretic card ---> - -<!-- BINARY - binary arithmetic quotient, divide, minus, power, rem - binary logical implies, equivalent, approx - binary set operators setdiff - binary linear algebra vectorproduct, scalarproduct, outerproduct ---> - -<!-- N-ARY and OTHER - n-ary statistical mean, sdev, variance, median, mode - n-ary logical and, or, xor - n-ary linear algebra selector - n-ary set operator union, intersect - n-ary functional fn, compose - integral, sum, product operators int, sum, product - differential operator diff, partialdiff - quantifier forall, exists ---> -<!-- Get the first child (operator), and check if its name is a fn , or operator--> -<!-- Is the operator taking qualifiers? --> -<!-- Operators : int, sum, product, root, diff, partialdiff, limit, log, moment, min, max, forall, exists --> -<!-- Qualifiers : lowlimit, uplimit, bvar, degree, logbase, interval, condition --> - - -<!-- apply/apply --> -<xsl:template match="mml:apply[mml:apply]"> <!-- when the function itself is defined by other functions: (F+G)(x) --> - <xsl:choose> - <xsl:when test="count(child::*)>=2"> - <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()=1]"/><xsl:text>}</xsl:text> - <xsl:text>{</xsl:text><xsl:apply-templates select="child::*[position()!=1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- apply only contains apply, no operand--> - <xsl:text>{</xsl:text><xsl:apply-templates select="child::*"/><xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - - -<!-- force function or operator MathML 1.0 deprecated--> -<!-- partial support for func/operators defined using presentation markup--> -<xsl:template match="mml:apply[mml:fn]"> -<mrow> -<xsl:choose> -<xsl:when test="*[position()=1 and self::mml:fn]/mml:mo/mml:mchar/@name='PlusMinus'"> - <!--if operator is infix (we assume this to be the default when we have mchars(for instance PlusMinus); perhaps we should test further the name attribute)--> - <xsl:choose> - <xsl:when test="count(child::*)>=3"> - <mrow> - <xsl:for-each select="child::*[position()!=last() and position()!=1]"> - <xsl:apply-templates select="."/><xsl:copy-of select="preceding-sibling::mml:fn/*"/> - </xsl:for-each> - <xsl:apply-templates select="child::*[position()!=1 and position()=last()]"/> - </mrow> - </xsl:when> - <xsl:when test="count(child::*)=2"> - <mrow><xsl:copy-of select="child::mml:fn[position()=1]/*"/><xsl:apply-templates select="child::*[position()=2]"/></mrow> - </xsl:when> - <xsl:otherwise> <!-- apply only contains fn, no operand--> - <mrow><xsl:apply-templates select="child::mml:fn/*"/></mrow> - </xsl:otherwise> - </xsl:choose> -</xsl:when> -<xsl:otherwise> <!-- if operator is prefix (common case)--> - <xsl:choose> - <xsl:when test="name(mml:fn/*[position()=1])='apply'"> <!-- fn definition is complex, surround with brackets, but only one child--> - <mfenced separators=""><mrow><xsl:apply-templates select="mml:fn/*"/></mrow></mfenced> - </xsl:when> - <xsl:otherwise> - <mi><xsl:apply-templates select="mml:fn/*"/></mi> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="count(*)>1"> <!-- if no operands, don't put empty parentheses--> - <mo><mchar name="ApplyFunction"/></mo> - <mfenced> - <xsl:apply-templates select="*[position()!=1]"/> - </mfenced> - </xsl:if> -</xsl:otherwise> -</xsl:choose> -</mrow> -</xsl:template> - - - - -<!-- quotient --> -<xsl:template match="mml:apply[mml:quotient]"> - <mrow> <!-- the third notation uses UNICODE chars x0230A and x0230B --> - <mo>integer part of</mo> - <mrow> - <xsl:choose> <!-- surround with brackets if operands are composed--> - <xsl:when test="child::*[position()=2] and name()='mml:apply'"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <mo>/</mo> - <xsl:choose> - <xsl:when test="child::*[position()=3] and name()='mml:apply'"> - <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=3]"/> - </xsl:otherwise> - </xsl:choose> - </mrow> - </mrow> -</xsl:template> - - -<!-- factorial --> -<xsl:template match="mml:apply[mml:factorial]"> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="name(*[position()=2])='mml:apply'"> - <xsl:text>{</xsl:text><xsl:apply-templates select="*[position()=2]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>!(fact)</xsl:text> - <xsl:text>}</xsl:text> -</xsl:template> - - -<!-- divide --> -<xsl:template match="mml:apply[mml:divide]"> - <xsl:text>{ \frac</xsl:text> - <xsl:text>{ </xsl:text> - <xsl:apply-templates select="child::*[position()=2]"/> - <xsl:text>}</xsl:text> - <xsl:text>{ </xsl:text> - <xsl:apply-templates select="child::*[position()=3]"/> - <xsl:text>}</xsl:text> - <xsl:text>}</xsl:text> -</xsl:template> - - -<!-- APPLY CONTAINING MAX --> -<xsl:template match="mml:apply/mml:max"/> -<xsl:template match="mml:apply[mml:max]"> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="mml:bvar"> <!-- if there are bvars--> - <xsl:text>\max_{</xsl:text> - <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)--> - <xsl:for-each select="mml:bvar[position()!=last()]"> - <xsl:apply-templates select="."/><xsl:text>,</xsl:text> - </xsl:for-each> - <xsl:apply-templates select="mml:bvar[position()=last()]"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- No bvars, no underscore... --> - <xsl:text>\max</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>\left\{</xsl:text> - <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()!=last()]"> - <xsl:apply-templates select="."/><xsl:text>,</xsl:text> - <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message> - </xsl:for-each> - <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:max' and position()=last()]"/> - <!-- If there is a condition, do not close... --> - <xsl:if test="mml:condition"> - <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/> - </xsl:if> - <xsl:text>\right\}</xsl:text> - <xsl:text>}</xsl:text> -</xsl:template> - - -<!-- APPLY CONTAINING MIN --> -<xsl:template match="mml:apply/mml:min"/> -<xsl:template match="mml:apply[mml:min]"> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="mml:bvar"> <!-- if there are bvars--> - <xsl:text>\min_{</xsl:text> - <!-- Select every bvar except the last one (position() only counts bvars, not the other siblings)--> - <xsl:for-each select="mml:bvar[position()!=last()]"> - <xsl:apply-templates select="."/><xsl:text>,</xsl:text> - </xsl:for-each> - <xsl:apply-templates select="mml:bvar[position()=last()]"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- No bvars, no underscore... --> - <xsl:text>\min</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>\left\{</xsl:text> - <xsl:for-each select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()!=last()]"> - <xsl:message>RCAS: MathML mml:apply[mml:min] Applying templates to <xsl:copy-of select="name(.)"/></xsl:message> - <xsl:apply-templates select="."/> - <xsl:text>,</xsl:text> - </xsl:for-each> - <xsl:apply-templates select="child::*[name()!='mml:condition' and name()!='mml:bvar' and name()!='mml:min' and position()=last()]"/> - <!-- If there is a condition, do not close... --> - <xsl:if test="mml:condition"> - <xsl:text>|</xsl:text><xsl:apply-templates select="mml:condition"/> - </xsl:if> - <xsl:text>\right\}</xsl:text> - <xsl:text>}</xsl:text> -</xsl:template> - - - - - - - - -<!-- APPLY CONTAINING substraction(minus) --> -<!-- unary or binary operator --> -<xsl:template match="mml:apply[mml:minus]"> -<xsl:text>{</xsl:text> -<xsl:choose> <!-- binary --> - <xsl:when test="count(child::*)=3"> - <xsl:apply-templates select="child::*[position()=2]"/> - <xsl:text>-</xsl:text> - <xsl:choose> - <xsl:when test="((name(*[position()=3])='mml:ci' or name(*[position()=3])='mml:cn') and contains(*[position()=3]/text(),'-')) or (name(*[position()=3])='mml:apply')"> - <xsl:text>\left(</xsl:text> <xsl:apply-templates select="*[position()=3]"/><xsl:text>\right)</xsl:text> - <!-- surround negative or complex things with brackets --> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=3]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> <!-- unary --> - <xsl:text>-</xsl:text> - <xsl:choose> - <xsl:when test= - "((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (name(*[position()=2])='mml:apply')"> - <xsl:text>\left(</xsl:text> - <xsl:apply-templates select="child::*[position()=last()]"/> - <xsl:text>\right)</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="child::*[position()=last()]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> -</xsl:choose> -<xsl:text>}</xsl:text> -</xsl:template> - - -<!-- addition --> -<xsl:template match="mml:apply[mml:plus]"> - <xsl:choose> - <xsl:when test="count(child::*)>=3"> - <mrow> - <xsl:choose> - <xsl:when test="((name(*[position()=2])='mml:ci' or name(*[position()=2])='mml:cn') and contains(*[position()=2]/text(),'-')) or (*[position()=2 and self::mml:apply and child::mml:minus])"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> <!-- surround negative things with brackets --> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:for-each select="child::*[position()!=1 and position()!=2]"> - <xsl:choose> - <xsl:when test="((name(.)='mml:ci' or name(.)='mml:cn') and contains(./text(),'-')) or (self::mml:apply and child::mml:minus)"> <!-- surround negative things with brackets --> - <mo>+</mo><mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:otherwise> - <mo>+</mo><xsl:apply-templates select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </mrow> - </xsl:when> - <xsl:when test="count(child::*)=2"> - <mrow> - <mo>+</mo><xsl:apply-templates select="child::*[position()=2]"/> - </mrow> - </xsl:when> - <xsl:otherwise> - <mo>+</mo> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- power --> -<xsl:template match="mml:apply[mml:power]"> - <xsl:text> {</xsl:text> - <xsl:choose> - <xsl:when test="name(*[position()=2])='mml:apply'"> - <xsl:text>\left(</xsl:text> - <xsl:apply-templates select="child::*[position()=2]"/> - <xsl:text>\rigth)</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="child::*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}^{</xsl:text> - <xsl:apply-templates select="child::*[position()=3]"/> - <xsl:text>} </xsl:text> -</xsl:template> - -<!-- remainder --> -<xsl:template match="mml:apply[mml:rem]"> - <mrow> - <xsl:choose> <!-- surround with brackets if operands are composed--> - <xsl:when test="name(*[position()=2])='mml:apply'"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <mo>mod</mo> - <xsl:choose> - <xsl:when test="name(*[position()=3])='mml:apply'"> - <mfenced separators=""><xsl:apply-templates select="*[position()=3]"/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=3]"/> - </xsl:otherwise> - </xsl:choose> - </mrow> -</xsl:template> - -<!-- multiplication --> -<xsl:template match="mml:apply[mml:times]"> -<xsl:choose> -<xsl:when test="count(child::*)>=3"> - <mrow> - <xsl:for-each select="child::*[position()!=last() and position()!=1]"> - <xsl:choose> - <xsl:when test="mml:plus"> <!--add brackets around + children for priority purpose--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo> - </xsl:when> - <xsl:when test="mml:minus"> <!--add brackets around - children for priority purpose--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo> - </xsl:when> - <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="InvisibleTimes"/></mo> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="."/><mo><mchar name="InvisibleTimes"/></mo> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - <xsl:for-each select="child::*[position()=last()]"> - <xsl:choose> - <xsl:when test="mml:plus"> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:when test="mml:minus"> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:when test="(name(.)='mml:ci' or name(.)='mml:cn') and contains(text(),'-')"> <!-- have to do it using contains because starts-with doesn't seem to work well in XT--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </mrow> -</xsl:when> -<xsl:when test="count(child::*)=2"> <!-- unary --> - <mrow> - <mo><mchar name="InvisibleTimes"/></mo> - <xsl:choose> - <xsl:when test="mml:plus"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> - </xsl:when> - <xsl:when test="mml:minus"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> - </xsl:when> - <xsl:when test="(*[position()=2 and self::mml:ci] or *[position()=2 and self::mml:cn]) and contains(*[position()=2]/text(),'-')"> - <mfenced separators=""><xsl:apply-templates select="*[position()=2]"/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - </mrow> -</xsl:when> -<xsl:otherwise> <!-- no operand --> - <mo><mchar name="InvisibleTimes"/></mo> -</xsl:otherwise> -</xsl:choose> -</xsl:template> - -<!-- root --> -<xsl:template match="mml:apply[mml:root]"> - <xsl:choose> - <xsl:when test="mml:degree"> - <xsl:choose> - <xsl:when test="mml:degree/mml:cn/text()='2'"> <!--if degree=2 display a standard square root--> - <msqrt> - <xsl:apply-templates select="child::*[position()=3]"/> - </msqrt> - </xsl:when> - <xsl:otherwise> - <mroot> - <xsl:apply-templates select="child::*[position()=3]"/> - <mrow><xsl:apply-templates select="mml:degree/*"/></mrow> - </mroot> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> <!-- no degree specified--> - <msqrt> - <xsl:apply-templates select="child::*[position()=2]"/> - </msqrt> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- greatest common divisor --> -<xsl:template match="mml:apply[mml:gcd]"> - <mrow> - <mi>gcd</mi><mo><mchar name="ApplyFunction"/></mo> - <mfenced> - <xsl:apply-templates select="child::*[position()!=1]"/> - </mfenced> - </mrow> -</xsl:template> - -<!-- AND --> -<xsl:template match="mml:apply[mml:and]"> -<mrow> - <xsl:choose> - <xsl:when test="count(*)>=3"> <!-- at least two operands (common case)--> - <xsl:for-each select="child::*[position()!=last() and position()!=1]"> - <xsl:choose> - <xsl:when test="mml:or"> <!--add brackets around OR children for priority purpose--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo> - </xsl:when> - <xsl:when test="mml:xor"> <!--add brackets around XOR children for priority purpose--> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced><mo><mchar name="And"/></mo> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="."/><mo><mchar name="And"/></mo> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - <xsl:for-each select="child::*[position()=last()]"> - <xsl:choose> - <xsl:when test="mml:or"> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:when test="mml:xor"> - <mfenced separators=""><xsl:apply-templates select="."/></mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </xsl:when> - <xsl:when test="count(*)=2"> - <mo><mchar name="And"/></mo><xsl:apply-templates select="*[position()=last()]"/> - </xsl:when> - <xsl:otherwise> - <mo><mchar name="And"/></mo> - </xsl:otherwise> - </xsl:choose> -</mrow> -</xsl:template> - -<!-- OR --> -<xsl:template match="mml:apply[mml:or]"> -<mrow> - <xsl:choose> - <xsl:when test="count(*)>=3"> - <xsl:for-each select="child::*[position()!=last() and position()!=1]"> - <xsl:apply-templates select="."/><mo><mchar name="Or"/></mo> - </xsl:for-each> - <xsl:apply-templates select="child::*[position()=last()]"/> - </xsl:when> - <xsl:when test="count(*)=2"> - <mo><mchar name="Or"/></mo><xsl:apply-templates select="*[position()=last()]"/> - </xsl:when> - <xsl:otherwise> - <mo><mchar name="Or"/></mo> - </xsl:otherwise> - </xsl:choose> -</mrow> -</xsl:template> - -<!-- XOR --> -<xsl:template match="mml:apply[mml:xor]"> -<mrow> - <xsl:choose> - <xsl:when test="count(*)>=3"> - <xsl:for-each select="child::*[position()!=last() and position()!=1]"> - <xsl:apply-templates select="."/><mo>xor</mo> - </xsl:for-each> - <xsl:apply-templates select="child::*[position()=last()]"/> - </xsl:when> - <xsl:when test="count(*)=2"> - <mo>xor</mo><xsl:apply-templates select="*[position()=last()]"/> - </xsl:when> - <xsl:otherwise> - <mo>xor</mo> - </xsl:otherwise> - </xsl:choose> -</mrow> -</xsl:template> - -<!-- NOT --> -<xsl:template match="mml:apply[mml:not]"> - <mrow> - <mo><mchar name="Not"/></mo> - <xsl:choose> - <xsl:when test="child::mml:apply"><!--add brackets around OR,AND,XOR children for priority purpose--> - <mfenced separators=""> - <xsl:apply-templates select="child::*[position()=2]"/> - </mfenced> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="child::*[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - </mrow> -</xsl:template> - -<!-- implies --> -<xsl:template match="mml:apply[mml:implies]"> - <mrow> - <xsl:apply-templates select="child::*[position()=2]"/> - <mo><mchar name="DoubleRightArrow"/></mo> - <xsl:apply-templates select="child::*[position()=3]"/> - </mrow> -</xsl:template> - -<xsl:template match="mml:reln[mml:implies]"> - <mrow> - <xsl:apply-templates select="child::*[position()=2]"/> - <mo><mchar name="DoubleRightArrow"/></mo> - <xsl:apply-templates select="child::*[position()=3]"/> - </mrow> -</xsl:template> - -<!-- for all--> -<xsl:template match="mml:apply[mml:forall]"> - <mrow> - <mo><mchar name="ForAll"/></mo> - <mrow> - <xsl:for-each select="mml:bvar[position()!=last()]"> - <xsl:apply-templates select="."/><mo>,</mo> - </xsl:for-each> - <xsl:apply-templates select="mml:bvar[position()=last()]"/> - </mrow> - <xsl:if test="mml:condition"> - <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow> - </xsl:if> - <xsl:choose> - <xsl:when test="mml:apply"> - <mo>:</mo><xsl:apply-templates select="mml:apply"/> - </xsl:when> - <xsl:when test="mml:reln"> - <mo>:</mo><xsl:apply-templates select="mml:reln"/> - </xsl:when> - </xsl:choose> - </mrow> -</xsl:template> - -<!-- in --> -<xsl:template match="mml:apply[mml:in]"> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="child::*[position()=2]"/> - <xsl:text>\in</xsl:text> - <xsl:apply-templates select="child::*[position()=3]"/> - <xsl:text>}</xsl:text> -</xsl:template> - -<!-- notin --> -<xsl:template match="mml:apply[mml:notin]"> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="child::*[position()=2]"/> - <xsl:text>\notin</xsl:text> - <xsl:apply-templates select="child::*[position()=3]"/> - <xsl:text>}</xsl:text> -</xsl:template> - -<!-- exist--> -<xsl:template match="mml:apply[mml:exists]"> - <mrow> - <mo><mchar name="Exists"/></mo> - <mrow> - <xsl:for-each select="mml:bvar[position()!=last()]"> - <xsl:apply-templates select="."/><mo>,</mo> - </xsl:for-each> - <xsl:apply-templates select="mml:bvar[position()=last()]"/> - </mrow> - <xsl:if test="mml:condition"> - <mrow><mo>,</mo><xsl:apply-templates select="mml:condition"/></mrow> - </xsl:if> - <xsl:choose> - <xsl:when test="mml:apply"> - <mo>:</mo><xsl:apply-templates select="mml:apply"/> - </xsl:when> - <xsl:when test="mml:reln"> - <mo>:</mo><xsl:apply-templates select="mml:reln"/> - </xsl:when> - </xsl:choose> - </mrow> -</xsl:template> - -<!-- absolute value --> -<xsl:template match="mml:apply[mml:abs]"> - <mrow><mo>|</mo><xsl:apply-templates select="child::*[position()=last()]"/><mo>|</mo></mrow> -</xsl:template> - -<!-- conjugate --> -<xsl:template match="mml:apply[mml:conjugate]"> - <mover> - <xsl:apply-templates select="child::*[position()=2]"/> - <mo><mchar name="ovbar"/></mo> <!-- does not work, UNICODE x0233D or perhaps OverBar--> - </mover> -</xsl:template> - -<!-- argument of complex number --> -<xsl:template match="mml:apply[mml:arg]"> - <mrow> - <mi>arg</mi><mo><mchar name="ApplyFunction"/></mo><mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced> - </mrow> -</xsl:template> - -<!-- real part of complex number --> -<xsl:template match="mml:apply[mml:real]"> - <mrow> - <mi><xsl:text disable-output-escaping='yes'>&#x0211C;</xsl:text><!-- mchar Re or realpart should work--></mi> - <mo><mchar name="ApplyFunction"/></mo> - <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced> - </mrow> -</xsl:template> - -<!-- imaginary part of complex number --> -<xsl:template match="mml:apply[mml:imaginary]"> - <mrow> - <mi><xsl:text disable-output-escaping='yes'>&#x02111;</xsl:text><!-- mchar Im or impart should work--></mi> - <mo><mchar name="ApplyFunction"/></mo> - <mfenced separators=""><xsl:apply-templates select="child::*[position()=2]"/></mfenced> - </mrow> -</xsl:template> - -<!-- lowest common multiple --> -<xsl:template match="mml:apply[mml:lcm]"> - <mrow> - <mi>lcm</mi><mo><mchar name="ApplyFunction"/></mo> - <mfenced> - <xsl:apply-templates select="child::*[position()!=1]"/> - </mfenced> - </mrow> -</xsl:template> - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl deleted file mode 100644 index d93ea22393..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.content.mod.xsl +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML content markup. - | Note: these elements are not part of the DocBook DTD. I have extended - | the docbook DTD in order to support this tags, so that's why I have these - | templates here. - | - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<xsl:template match="mml:semantics"> -</xsl:template> - - -<xsl:template match="mml:set|mml:list"> -</xsl:template> - - -<xsl:template match="mml:matrix"> -</xsl:template> - -<xsl:template match="mml:reln"> -</xsl:template> - -<xsl:template match="mml:lambda"> -</xsl:template> - - - - - - -<!-- Interval --> -<!-- att. closure : open, closed, open-closed, or closed-open, with a default value of closed. --> -<xsl:template match="mml:interval"> -<xsl:choose> - <xsl:when test="@closure = 'open'"> - <xsl:call-template name="interval.render"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="fst">\left( </xsl:with-param> - <xsl:with-param name="scd">\right) </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="@closure = 'open-closed'"> - <xsl:call-template name="interval.render"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="fst">\left( </xsl:with-param> - <xsl:with-param name="scd">\right] </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="@closure = 'closed-open'"> - <xsl:call-template name="interval.render"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="fst">\left[ </xsl:with-param> - <xsl:with-param name="scd">\right) </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="interval.render"> - <xsl:with-param name="node" select="."/> - <xsl:with-param name="fst">\left[ </xsl:with-param> - <xsl:with-param name="scd">\right] </xsl:with-param> - </xsl:call-template> - </xsl:otherwise> -</xsl:choose> -</xsl:template> - -<xsl:template name="interval.render"> -<xsl:param name="node"/> -<xsl:param name="fst"/> -<xsl:param name="scd"/> -<xsl:choose> - <!-- Two real numbers define the interval --> - <xsl:when test="count(child::*) = 2"> - <xsl:value-of select="$fst"/> - <xsl:apply-templates select="$node/child::*[1]"/> - <xsl:text> , </xsl:text> - <xsl:apply-templates select="$node/child::*[2]"/> - <xsl:value-of select="$scd"/> - </xsl:when> - <!-- A condition defines the interval --> - <xsl:otherwise> </xsl:otherwise> -</xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl deleted file mode 100644 index 1f3f566763..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.content.token.mod.xsl +++ /dev/null @@ -1,230 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML Content Markup, tokens (ci, cn, csymbol) - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<xsl:strip-space elements="mml:math mml:mrow"/> - - -<!-- Content Number --> -<!-- support for bases and types--> -<xsl:template match="mml:cn"> - <xsl:text>{</xsl:text> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="./@type='complex-cartesian' or ./@type='complex'"> - <mn><xsl:value-of select="text()[position()=1]"/></mn> - <xsl:choose> - <xsl:when test="contains(text()[position()=2],'-')"> - <xsl:text>-</xsl:text><xsl:value-of select="substring-after(text()[position()=2],'-')"/> - <!-- substring-after does not seem to work well in XT : - if imaginary part is expressed with at least one space char - before the minus sign, then it does not work (we end up with - two minus sign since the one in the text is kept)--> - </xsl:when> - <xsl:otherwise> - <xsl:text>+</xsl:text> <xsl:value-of select="text()[position()=2]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>\dot\textrm{i}</xsl:text> - </xsl:when> - <xsl:when test="./@type='complex-polar'"> - <xsl:text>\textrm{Polar}(</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>,</xsl:text> - <xsl:value-of select="text()[position()=2]"/> - <xsl:text>)</xsl:text> - </xsl:when> - <xsl:when test="./@type='rational'"> - <xsl:text>\frac{</xsl:text><xsl:value-of select="text()[position()=1]"/><xsl:text>}{</xsl:text> - <xsl:value-of select="text()[position()=2]"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="."/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - <xsl:if test="@base and @base!=10"> <!-- base specified and different from 10 ; if base = 10 we do not display it --> - <xsl:text>_{</xsl:text><xsl:value-of select="@base"/><xsl:text>}</xsl:text> - </xsl:if> - <xsl:text>}</xsl:text> -</xsl:template> - - - -<!-- Content Identifier --> -<!-- identifier --> -<!--support for presentation markup--> -<xsl:template match="mml:ci"> -<xsl:choose> -<xsl:when test="./@type='complex-cartesian' or ./@type='complex'"> - <xsl:choose> - <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts--> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="*[self::mml:mchar and position()=1]"> <!-- if real part is an mchar --> - <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- if real part is simple text --> - <xsl:text>\textrm{</xsl:text><xsl:copy-of select="*[position()=1]"/><xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:choose> <!-- im part is negative--> - <xsl:when test="contains(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')"> - <xsl:text>-\textrm{</xsl:text> - <xsl:choose> - <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]"><!-- if im part is an mchar --> - <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/> - </xsl:when> - <xsl:otherwise><!-- if im part is simple text --> - <xsl:value-of select="substring-after(text()[preceding-sibling::*[position()=1 and self::mml:sep]],'-')"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - <xsl:text>\dot\textrm{i}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- im part is not negative--> - <xsl:text>+\textrm{</xsl:text> - <xsl:choose><!-- if im part is an mchar --> - <xsl:when test="mml:mchar[preceding-sibling::*[self::mml:sep]]"> - <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/> - </xsl:when> - <xsl:otherwise><!-- if im part is simple text --> - <xsl:value-of select="text()[preceding-sibling::*[position()=1 and self::mml:sep]]"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - <xsl:text>\dot\textrm{i}</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- if identifier is composed only of one text child--> - <xsl:text>\dot\textrm{</xsl:text><xsl:value-of select="."/><xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:when> -<xsl:when test="./@type='complex-polar'"> - <xsl:choose> - <xsl:when test="count(*)>0"> <!--if identifier is composed of real+imag parts--> - <xsl:text>{</xsl:text> - <mi>Polar</mi> - <mfenced><mi> - <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/> - <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]"> - <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/> - </xsl:if> - </mi> - <mi> - <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/> - <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]"> - <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/> - </xsl:if> - </mi></mfenced> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- if identifier is composed only of one text child--> - <mi><xsl:value-of select="."/></mi> - </xsl:otherwise> - </xsl:choose> -</xsl:when> -<xsl:when test="./@type='rational'"> - <xsl:choose> - <xsl:when test="count(*)>0"> <!--if identifier is composed of two parts--> - <xsl:text>{</xsl:text><mi> - <xsl:value-of select="text()[following-sibling::*[self::mml:sep]]"/> - <xsl:if test="mml:mchar[following-sibling::*[self::mml:sep]]"> - <xsl:copy-of select="mml:mchar[following-sibling::*[self::mml:sep]]"/> - </xsl:if> - </mi> - <mo>/</mo> - <mi> - <xsl:value-of select="text()[preceding-sibling::*[self::mml:sep]]"/> - <xsl:if test="mml:mchar[preceding-sibling::*[self::mml:sep]]"> - <xsl:copy-of select="mml:mchar[preceding-sibling::*[self::mml:sep]]"/> - </xsl:if> - </mi><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- if identifier is composed only of one text child--> - <mi><xsl:value-of select="."/></mi> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="./@type='vector'"> - <mi fontweight="bold"> - <xsl:value-of select="text()"/> - <xsl:if test="mml:mchar"> - <xsl:copy-of select="mml:mchar"/> - </xsl:if> - </mi> -</xsl:when> - <!-- type 'set' seems to be deprecated (use 4.4.12 instead); besides, there is no easy way to translate set identifiers to chars in ISOMOPF --> -<xsl:otherwise> <!-- no type attribute provided --> - <xsl:choose> - <xsl:when test="mml:mchar"> <!-- test if identifier is expressed using mchar nodes --> - <mi><xsl:value-of select="text()"/><xsl:copy-of select="mml:mchar"/></mi> - </xsl:when> - <xsl:when test="count(node()) != count(text())"> - <!--test if children are not all text nodes, meaning there is markup assumed - to be presentation markup (the case where there are mchar nodes has been tested just before)--> - <xsl:text>{</xsl:text><xsl:copy-of select="child::*"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> <!-- common case --> - <mi><xsl:value-of select="."/></mi> - </xsl:otherwise> - </xsl:choose> -</xsl:otherwise> -</xsl:choose> -</xsl:template> - - - - - - -<!-- externally defined symbols--> -<xsl:template match="mml:apply[mml:csymbol]"> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="mml:csymbol[position()=1]"/> - <xsl:text>\left(</xsl:text> - <xsl:for-each select="child::*[position()!=1]"> - <xsl:apply-templates select="."/> - </xsl:for-each> - <xsl:text>\right)</xsl:text> - <xsl:text>}</xsl:text> -</xsl:template> - - -<xsl:template match="mml:csymbol"> -<xsl:choose> - <!--test if children are not all text nodes, meaning there is markup assumed to be presentation markup--> - <!--perhaps it would be sufficient to test if there is more than one node or text node--> - <xsl:when test="count(node()) != count(text())"> - <xsl:text>{</xsl:text> <xsl:copy-of select="child::*"/> <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="."/> <xsl:text>}</xsl:text> - </xsl:otherwise> -</xsl:choose> -</xsl:template> - -<xsl:template match="mml:mchar"> - <xsl:copy-of select="."/> -</xsl:template> -<!-- -<xsl:template match="mml:mtext"> - <xsl:copy-of select="."/> -</xsl:template> ---> -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl deleted file mode 100644 index f37edfb4ed..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.mod.xsl +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML presentation and content markup. - | Note: these elements are not part of the DocBook DTD. I have extended - | the docbook DTD in order to support this tags, so that's why I have these - | templates here. - | - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<xsl:strip-space elements="mml:math mml:mrow"/> - - -<xsl:template match="mml:math"> - <xsl:text>
\begin{displaymath}
</xsl:text> - <xsl:apply-templates/> - <xsl:text>
\end{displaymath}
</xsl:text> -</xsl:template> - -<xsl:template match="mml:math[@mode='inline']"> - <xsl:text> \begin{math} </xsl:text> - <xsl:apply-templates/> - <xsl:text> \end{math} </xsl:text> -</xsl:template> - -<xsl:template match="mml:math[@mode='display']"> - <xsl:text>
\begin{displaymath}
</xsl:text> - <xsl:apply-templates/> - <xsl:text>
\end{displaymath}
</xsl:text> -</xsl:template> - - -<xsl:template match="p"> - <xsl:text>\section{</xsl:text> <xsl:value-of select="normalize-space(.)"/> <xsl:text>}
</xsl:text> -</xsl:template> - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl b/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl deleted file mode 100644 index ce3c7c9a4d..0000000000 --- a/docs/docbook/xslt/db2latex/mathml/mathml.presentation.mod.xsl +++ /dev/null @@ -1,491 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet -[ - <!ENTITY % mmlalias PUBLIC "MathML alias" "ent/mmlalias.ent"> %mmlalias; - <!ENTITY % mmlextra PUBLIC "MathML extra" "ent/mmlextra.ent"> %mmlextra; -]> -<!--############################################################################# - |- ############################################################################# - | - | PURPOSE: MathML presentation markup. - | Note: these elements are not part of the DocBook DTD. I have extended - | the docbook DTD in order to support this tags, so that's why I have these - | templates here. - | - | MathML namespace used -> mml - + ############################################################################## --> - -<xsl:stylesheet version='1.0' - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1998/Math/MathML"> - -<xsl:template match="mml:mrow"> - <xsl:text>{</xsl:text> <xsl:apply-templates/> <xsl:text>}</xsl:text> -</xsl:template> - -<xsl:variable name="latex.entities.xml" select="document('latex.entities.xml')"/> - - -<!-- TOKENS --> -<!-- Math Identifier --> -<xsl:template match="mml:mi"> - <xsl:variable name="fontstyle" select="@fontstyle"/> - <xsl:variable name="identifier" select="normalize-space(.)"/> - <xsl:variable name="equivalent"> - <xsl:if test="string-length($identifier)=1"> - <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$identifier]"/> - </xsl:if> - </xsl:variable> - <xsl:choose> - <xsl:when test="$identifier='ⅇ'"> - <xsl:text>\textrm{e}</xsl:text> - </xsl:when> - <xsl:when test="$identifier='ⅈ'"> - <xsl:text>\textrm{i}</xsl:text> - </xsl:when> - <xsl:when test="$identifier='∞'"><!--/infty infinity --> - <xsl:text>\infty</xsl:text> - </xsl:when> - <!-- currently tries to map single-character identifiers only --> - <xsl:when test="$equivalent!=''"> - <xsl:text>{</xsl:text> - <xsl:copy-of select="$equivalent"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$fontstyle='normal' or string-length($identifier)>1"> - <xsl:text>\textrm</xsl:text> - </xsl:if> - <xsl:text>{</xsl:text> - <xsl:copy-of select="$identifier"/> - <xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- Math Number --> -<xsl:template match="mml:mn"> - <xsl:copy-of select="normalize-space(.)"/> -</xsl:template> - -<!-- Math Phantom --> -<xsl:template match="mml:mphantom"> - <xsl:apply-templates/> -</xsl:template> - -<!-- Empty unless $character is a single character --> -<xsl:template name="generate.equivalent"> - <xsl:param name="arguments" select="0"/> - <xsl:param name="character"/> - <xsl:if test="string-length($character)=1"> - <xsl:choose> - <xsl:when test="$arguments>0"> - <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$character and @arguments=$arguments]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$latex.entities.xml/latex/character[@entity=$character and @arguments='']"/> - </xsl:otherwise> - </xsl:choose> - </xsl:if> -</xsl:template> - -<!-- Math Operator --> -<xsl:template match="mml:mo"> - <xsl:variable name="operator" select="normalize-space(.)"/> - <xsl:variable name="equivalent"> - <xsl:call-template name="generate.equivalent"> - <xsl:with-param name="character" select="$operator"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$operator='⁡'"> - <xsl:text></xsl:text> - </xsl:when> - <xsl:when test="$operator='⁣'"> - <xsl:text>\thinspace</xsl:text> - </xsl:when> - <xsl:when test="$operator='⁢'"> - <xsl:text>\thinspace</xsl:text> - </xsl:when> - <xsl:when test="$operator='∫'"> - <xsl:text>\int</xsl:text> - </xsl:when> - <xsl:when test="$operator='∏'"> - <xsl:text>\prod</xsl:text> - </xsl:when> - <xsl:when test="$operator='∑'"> - <xsl:text>\sum</xsl:text> - </xsl:when> - <xsl:when test="$operator='^'"> - <xsl:text>\sphat</xsl:text> - </xsl:when> - <xsl:when test="$operator='→'"> - <xsl:text>\longrightarrow</xsl:text> - </xsl:when> - <xsl:when test="$operator='∈'"> - <xsl:text>\in</xsl:text> - </xsl:when> - <xsl:when test="$operator='∣'"> - <xsl:text>|</xsl:text> - </xsl:when> - <xsl:when test="$operator='ⅆ'"> - <xsl:text>\textrm{d}</xsl:text> - </xsl:when> - <xsl:when test="$operator='('"> - <xsl:text> {\left( </xsl:text> - </xsl:when> - <xsl:when test="$operator=')'"> - <xsl:text> \right)} </xsl:text> - </xsl:when> - <xsl:when test="$operator='{'"> - <xsl:text> {\left\{ </xsl:text> - </xsl:when> - <xsl:when test="$operator='}'"> - <xsl:text> \right\}} </xsl:text> - </xsl:when> - <xsl:when test="$operator='['"> - <xsl:text> {\left[ </xsl:text> - </xsl:when> - <xsl:when test="$operator=']'"> - <xsl:text> \right]} </xsl:text> - </xsl:when> - <xsl:when test="$operator='max'"> - <xsl:text> \max </xsl:text> - </xsl:when> - <xsl:when test="$operator='min'"> - <xsl:text> \min </xsl:text> - </xsl:when> - <xsl:when test="$operator='+' or $operator='-' or $operator='/' or $operator='*'"> - <xsl:value-of select="$operator"/> - </xsl:when> - <xsl:when test="$equivalent"> - <xsl:value-of select="$equivalent"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>\operatorname{</xsl:text> - <xsl:value-of select="$operator" /> - <xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- Math String --> -<xsl:template match="mml:ms"> - <xsl:text>\textrm{</xsl:text> - <xsl:copy-of select="normalize-space(.)" /> - <xsl:text>}</xsl:text> -</xsl:template> - -<!-- Math Text --> -<xsl:template match="mml:mtext"> - <xsl:message>RCAS mtext, <xsl:copy-of select="."/> </xsl:message> - <xsl:text>\textrm{</xsl:text> - <xsl:copy-of select="." /> - <xsl:text>}</xsl:text> -</xsl:template> - -<!-- Math Space --> -<xsl:template match="mml:mspace"> - <xsl:if test="@width!='' and not(contains(@width,'%'))"> - <xsl:text>\textrm{\hspace{</xsl:text><!-- kludge! --> - <xsl:value-of select="@width"/> - <xsl:text>}}</xsl:text> - </xsl:if> - <xsl:if test="@height!='' or @depth!=''"> - <xsl:message>Warning: mspace support does not include height or depth.</xsl:message> - </xsl:if> -</xsl:template> - - - - - -<xsl:template match="mml:msup"> - <xsl:apply-templates select="*[1]"/> - <xsl:text>^{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text> -</xsl:template> - -<xsl:template match="mml:msub"> - <xsl:apply-templates select="*[1]"/> - <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text> -</xsl:template> - -<xsl:template match="mml:msubsup"> -<xsl:choose> - <xsl:when test="name(*[1])='mo'"> - <xsl:apply-templates select="*[1]"/> - <!-- sub --> - <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text> - <!-- super --> - <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <!-- base --> - <xsl:text>{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - <!-- sub --> - <xsl:text>_{</xsl:text><xsl:apply-templates select="*[2]"/><xsl:text>}</xsl:text> - <!-- super --> - <xsl:text>^{</xsl:text><xsl:apply-templates select="*[3]"/><xsl:text>}</xsl:text> - </xsl:otherwise> -</xsl:choose> -</xsl:template> - -<xsl:template match="mml:mmultiscripts"> -</xsl:template> - -<xsl:template match="mml:munder"> -<!-- -<xsl:choose> - <xsl:when test="*[2] = ̲"> - <xsl:text>\underline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="normalize-space(*[2]) = ︸"> - <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="normalize-space(*[2]) = ⎵"> - <xsl:text>\underbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\underset{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>}</xsl:text> ---> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>_{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}}</xsl:text> -<!-- - </xsl:otherwise> -</xsl:choose> ---> -</xsl:template> -<xsl:template match="mml:mover"> -<!--<xsl:choose> - <xsl:when test="normalize-space(*[2]) = ¯"> - <xsl:text>\overline{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="normalize-space(*[2]) = ︷"> - <xsl:text>\overbrace{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="normalize-space(*[2]) = ︵"> - <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="normalize-space(*[2]) = ⎴"> - <xsl:text>\widehat{</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - </xsl:otherwise> -</xsl:choose>--> - <xsl:choose> - <xsl:when test="@accent='true' or ( local-name(*[2])='mo' and not(@accent='false'))"> - <xsl:variable name="equivalent"> - <xsl:call-template name="generate.equivalent"> - <xsl:with-param name="arguments" select="1"/> - <xsl:with-param name="character" select="normalize-space(*[2])"/> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$equivalent!=''"> - <xsl:text>{</xsl:text> - <xsl:value-of select="$equivalent"/> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>}}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>^{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}}</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>^{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - - - -<!-- Math UnderOver --> -<xsl:template match="mml:munderover"> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>_{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}</xsl:text> - <xsl:text>^{</xsl:text> - <xsl:apply-templates select="*[3]"/> - <xsl:text>}}</xsl:text> - <!-- - <xsl:text>\overset{</xsl:text> - <xsl:apply-templates select="*[3]"/> - <xsl:text>}{\underset{</xsl:text> - <xsl:apply-templates select="*[2]"/> - <xsl:text>}{</xsl:text> - <xsl:apply-templates select="*[1]"/> - <xsl:text>}}</xsl:text> - --> -</xsl:template> - - - -<!-- Math Fenced --> -<xsl:template match="mml:mfenced"> -<!-- get open,close, separators att --> - <xsl:choose> - <xsl:when test="@open='('"> - <xsl:text> {\left( </xsl:text> - </xsl:when> - <xsl:when test="@open='{'"> - <xsl:text> {\left\{ </xsl:text> - </xsl:when> - <xsl:when test="@open='['"> - <xsl:text> {\left[\, </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> {\left( </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="*[1]"/> - <xsl:choose> - <xsl:when test="@close=')'"> - <xsl:text> \right)} </xsl:text> - </xsl:when> - <xsl:when test="@close='}'"> - <xsl:text> \right\}} </xsl:text> - </xsl:when> - <xsl:when test="@close=']'"> - <xsl:text> \,\right]} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> \right)} </xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - - - -<!-- Math frac --> -<xsl:template match="mml:mfrac"> -<xsl:choose> -<xsl:when test="@linethickness"> - <xsl:choose> - <xsl:when test="@linethickness='thin'"> - <xsl:text> \frac[1pt]{ </xsl:text> - </xsl:when> - <xsl:when test="@linethickness='medium'"> - <xsl:text> \frac[1.1pt]{ </xsl:text> - </xsl:when> - <xsl:when test="@linethickness='thick'"> - <xsl:text> \frac[1.2pt]{ </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> \frac[</xsl:text><xsl:value-of select="@linethickness"/><xsl:text>]{ </xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:when> -<xsl:otherwise> - <xsl:text> \frac{ </xsl:text> -</xsl:otherwise> -</xsl:choose> -<!-- <xsl:value-of select="*[1]"/> --> -<xsl:apply-templates select="*[1]"/> -<xsl:text> }{ </xsl:text> -<!-- <xsl:value-of select="*[2]"/> --> -<xsl:apply-templates select="*[2]"/> -<xsl:text> }</xsl:text> -</xsl:template> - - -<!-- Math msqrt --> -<xsl:template match="mml:msqrt"> - <xsl:text> \sqrt{ </xsl:text> - <xsl:apply-templates/> - <xsl:text> }</xsl:text> -</xsl:template> - - -<!-- Math mroot --> -<xsl:template match="mml:mroot"> - <xsl:text> \sqrt[</xsl:text><xsl:apply-templates select="*[1]"/><xsl:text>]{</xsl:text> - <xsl:apply-templates select="*[2]"/><xsl:text> }</xsl:text> -</xsl:template> - - - -<xsl:template name="mtable.format.tabular"> - <xsl:param name="cols" select="1"/> - <xsl:param name="i" select="1"/> - <xsl:choose> - <!-- Out of the recursive iteration --> - <xsl:when test="$i > $cols"></xsl:when> - <!-- There are still columns to count --> - <xsl:otherwise> - <xsl:text>c</xsl:text> - <!-- Recursive for next column --> - <xsl:call-template name="mtable.format.tabular"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - - -<xsl:template match="mml:mtable"> -<xsl:variable name="rows" select="mml:mtr"/> -\begin{array}{<xsl:text></xsl:text> -<xsl:call-template name="mtable.format.tabular"><xsl:with-param name="cols" select="count($rows)"/></xsl:call-template> -<xsl:text>}\hline </xsl:text> - <xsl:apply-templates/> -<xsl:text>\end{array} </xsl:text> -</xsl:template> - -<xsl:template match="mml:mtr"> -<!-- Row starts here --> -<xsl:apply-templates/> -<!-- End Row here --> -</xsl:template> - -<xsl:template match="mml:mtd"> - <xsl:apply-templates/><xsl:text> & </xsl:text> -</xsl:template> - -<xsl:template match="mml:mtd[position()=last()]"> - <xsl:apply-templates/>\\ \hline -</xsl:template> - -<xsl:template match="mml:mtd[position()=last()]"> - <xsl:apply-templates/>\\ \hline -</xsl:template> - -<xsl:template match="mml:mphantom"> - <xsl:apply-templates mode="phantom"/> -</xsl:template> - -<xsl:template match="mml:mi" mode="phantom"> - <xsl:variable name="fontstyle" select="@fontstyle"/> - <xsl:variable name="identifier" select="normalize-space(.)"/> - <xsl:choose> - <xsl:when test="$identifier='ⅇ'"> - <xsl:text>\textrm{e}</xsl:text> - </xsl:when> - <xsl:when test="$identifier='ⅈ'"> - <xsl:text>\textrm{i}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\textrm{</xsl:text> <xsl:copy-of select="$identifier"/> <xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/mediaobject.mod.xsl b/docs/docbook/xslt/db2latex/mediaobject.mod.xsl deleted file mode 100644 index bfdd2c8c87..0000000000 --- a/docs/docbook/xslt/db2latex/mediaobject.mod.xsl +++ /dev/null @@ -1,224 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Manage Imageobject related tags. -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="mediaobject" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>MediaObjects <filename>mediaobject.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <xsl:template match="videoobject"> - <xsl:apply-templates select="videodata"/> - </xsl:template> - <xsl:template match="audioobject"> - <xsl:apply-templates select="audiodata"/> - </xsl:template> - <xsl:template match="textobject"> - <!-- TODO if mixed in with imageobjects, use subfigure (if appropriate) --> - <xsl:apply-templates/> - </xsl:template> - - - <xsl:template match="mediaobject"> - <xsl:if test="local-name(preceding-sibling::*[1])!='mediaobject'"> - <xsl:text> </xsl:text> - </xsl:if> - <xsl:call-template name="mediacontent"/> - <xsl:text> </xsl:text> - </xsl:template> - - <xsl:template match="inlinemediaobject"> - <xsl:call-template name="mediacontent"/> - </xsl:template> - - <xsl:template name="mediacontent"> - <xsl:choose> - <xsl:when test="count(imageobject)<1"> - <xsl:apply-templates select="textobject[1]"/> - </xsl:when> - <xsl:when test="$use.role.for.mediaobject='1' and $preferred.mediaobject.role!='' and count(imageobject[@role='$preferred.mediaobject.role'])!=0"> - <xsl:apply-templates select="imageobject[@role=$preferred.mediaobject.role]"/> - </xsl:when> - <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject[@role='latex'])!=0"> - <xsl:apply-templates select="imageobject[@role='latex']"/> - </xsl:when> - <xsl:when test="$use.role.for.mediaobject='1' and count(imageobject[@role='tex'])!=0"> - <xsl:apply-templates select="imageobject[@role='tex']"/> - </xsl:when> - <xsl:when test="$latex.graphics.formats!='' and count(imageobject/imagedata[@format!=''])!=0"> - <!-- this is not really the right method: formats to the left of $latex.graphics.formats - should be given higher 'priority' than those to the right in a command-separated list --> - <xsl:variable name="formats" select="concat(',',$latex.graphics.formats,',')"/> - <xsl:variable name="candidates" select="imageobject/imagedata[contains($formats,concat(',',@format,','))]"/> - <xsl:choose> - <xsl:when test="count($candidates)!=0"> - <xsl:apply-templates select="$candidates[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:variable name="fallbacks" select="imageobject/imagedata[@format='']"/> - <xsl:choose> - <xsl:when test="count($fallbacks)!=0"> - <xsl:apply-templates select="$fallbacks[1]"/> - </xsl:when> - <xsl:when test="count(textobject)!=0"> - <xsl:apply-templates select="textobject[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="imageobject[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="imageobject[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="imageobject"> - <xsl:apply-templates select="imagedata"/> - </xsl:template> - - - - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="imagedata" xmlns=""> - <refpurpose>XSL template for images.</refpurpose> - <refdescription> - <para></para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para>If both <literal>@width</literal> and <literal>@scale</literal> are given but <literal>@scalefit='0'</literal>, whitespace is added to the left and right in order to match the specified width.</para></listitem> - <listitem><para>If <literal>@width</literal> is given and either <literal>@scalefit=1</literal> or no <literal>@scale</literal> is given, then the image is scale to <literal>@width</literal>. Otherwise, <literal>@scale</literal> is used, if it is present.</para></listitem> - <listitem><para>If this is not the only <literal>imagedata</literal> within the figure, this will be rendered as a 'subfigure', including the <literal>caption</literal> of its enclosing <literal>mediaobject</literal>.</para></listitem> - </itemizedlist> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - <xsl:template match="imagedata"> - <xsl:variable name="filename" select="@fileref"/> - <xsl:variable name="ext"> - <xsl:call-template name="filename-extension"> - <xsl:with-param name="filename" select="$filename"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="imageobjectscnt" select="count(../../..//imageobject)"/> - <xsl:variable name="width"> - <xsl:choose> - <xsl:when test="contains(@width, '%') and substring-after(@width, '%')=''"> - <xsl:value-of select="number(substring-before(@width, '%')) div 100"/> - <xsl:text>\textwidth</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@width"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="$width!='' and (@scalefit='0' or count(@scale)>0)"> - <xsl:text>\makebox[</xsl:text><xsl:value-of select='$width' /><xsl:text>]</xsl:text> - </xsl:if> - <xsl:text>{</xsl:text> - <!-- TODO this logic actually needs to make decisions based on the ALLOWED imagedata, - not all the imagedata present in the source file. --> - <xsl:if test="$imageobjectscnt > 1 and $latex.use.subfigure='1' and count(ancestor::figure) > 0"> - <xsl:text>\subfigure[</xsl:text> - <xsl:if test="count(../../..//caption)>1"> - <xsl:value-of select="../../caption"/> - </xsl:if> - <xsl:text>]</xsl:text> - </xsl:if> - <xsl:text>{\includegraphics[</xsl:text> - <xsl:choose> - <xsl:when test="@scale"> - <xsl:text>scale=</xsl:text> - <xsl:value-of select="number(@scale) div 100"/> - </xsl:when> - <xsl:when test="$width!='' and @scalefit='1'"> - <xsl:text>width=</xsl:text><xsl:value-of select="normalize-space($width)"/> - </xsl:when> - <xsl:when test="@depth!='' and @scalefit='1'"> - <xsl:text>height=</xsl:text><xsl:value-of select="normalize-space(@depth)"/> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="@format = 'PRN'"><xsl:text>,angle=270</xsl:text></xsl:when> - </xsl:choose> - <xsl:text>]{</xsl:text> - <xsl:choose><!-- package graphicx and DeclareGraphicExtensions will take care of this --> - <xsl:when test="$ext != ''"> - <xsl:value-of select="$filename"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$filename"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}}}</xsl:text> - </xsl:template> - - - - <xsl:template match="videodata"> - <xsl:variable name="filename"> - <xsl:call-template name="mediaobject.filename"><xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="alt"> - <xsl:apply-templates select="(../../textobject/phrase)[1]"/> - </xsl:variable> - </xsl:template> - - <xsl:template match="audiodata"> - <xsl:variable name="filename"> - <xsl:call-template name="mediaobject.filename"><xsl:with-param name="object" select=".."/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="alt"> - <xsl:apply-templates select="(../../textobject/phrase)[1]"/> - </xsl:variable> - </xsl:template> - - - <xsl:template match="caption"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/msgset.mod.xsl b/docs/docbook/xslt/db2latex/msgset.mod.xsl deleted file mode 100644 index 52ad63a87c..0000000000 --- a/docs/docbook/xslt/db2latex/msgset.mod.xsl +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - + ############################################################################## --> - - - <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|msgorig|msgaud"> - <p> - <b> - <xsl:call-template name="gentext.element.name"/> - <xsl:text>: </xsl:text> - </b> - <xsl:apply-templates/> - </p> - </xsl:template> - - <xsl:template match="msgexplan"> - <xsl:call-template name="block.object"/> - </xsl:template> - - <xsl:template match="msgexplan/title"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl b/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl deleted file mode 100644 index 058695d71d..0000000000 --- a/docs/docbook/xslt/db2latex/normalize-scape.mod.xsl +++ /dev/null @@ -1,398 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -| Escape LaTeX and normalize-space templates. -| < > # $ % & ~ _ ^ \ { } -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="normalize-scape" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Normalize and Scape strings.</title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template name="normalize-scape" xmlns=""> - <refpurpose> Abstract XSL template. </refpurpose> - <refdescription> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="text()"> - <xsl:call-template name="trim-outer"> - <xsl:with-param name="string"> - <xsl:choose> - <xsl:when test="ancestor::literal|ancestor::email|ancestor::sgmltag"> - <xsl:call-template name="scape-verbatim"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="scape"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="text()" mode="xref.text"> - <xsl:call-template name="trim-outer"> - <xsl:with-param name="string"> - <xsl:call-template name="scape"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="text()" mode="xref-to"> - <xsl:call-template name="trim-outer"> - <xsl:with-param name="string"> - <xsl:call-template name="scape"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template match="text()" mode="latex.verbatim"> - <!-- - <xsl:call-template name="trim-outer"> - <xsl:with-param name="string"> - --> - <xsl:value-of select="."/> - <!-- - </xsl:with-param> - </xsl:call-template> - --> - </xsl:template> - - <!-- this template is noly used by xref.mod.xsl and only when - $latex.hyphenation.tttricks != 1. --> - <xsl:template match="text()" mode="slash.hyphen"> - <xsl:call-template name="trim-outer"> - <xsl:with-param name="string"> - <xsl:call-template name="scape.slash.hyphen"> - <xsl:with-param name="string" select="." /> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template name="trim-outer"> - <xsl:param name="string"/> - <xsl:variable name="trimleft" select="position()=1"/> - <xsl:variable name="trimright" select="position()=last()"/> - <xsl:choose> - <xsl:when test="$trimleft and not($trimright)"> - <xsl:value-of select="substring-before(normalize-space(concat($string,'$$')),'$$')"/> - </xsl:when> - <xsl:when test="$trimright and not($trimleft)"> - <xsl:value-of select="substring-after(normalize-space(concat('$$',$string)),'$$')"/> - </xsl:when> - <xsl:when test="$trimleft and $trimright"> - <xsl:value-of select="normalize-space($string)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="scape.slash.hyphen"> - <xsl:param name="string" /> - <xsl:choose> - <xsl:when test="contains($string,'://')"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">/\-</xsl:with-param> - <xsl:with-param name="from">/</xsl:with-param> - <xsl:with-param name="string"> - <xsl:value-of select="substring-before($string,'://')"/> - <xsl:value-of select="'://'"/> - <xsl:call-template name="scape"> - <xsl:with-param name="string" select="substring-after($string,'://')"/> - </xsl:call-template></xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">/\-</xsl:with-param> - <xsl:with-param name="from">/</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="scape"> - <xsl:with-param name="string" select="$string"/> - </xsl:call-template></xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="normalize-scape" > - <xsl:param name="string"/> - <xsl:variable name="result"> - <xsl:call-template name="scape"><xsl:with-param name="string" select="$string"/></xsl:call-template> - </xsl:variable> - <xsl:value-of select="normalize-space($result)"/> - </xsl:template> - - - <xsl:template name="scape" > - <xsl:param name="string"/> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textless{}</xsl:with-param> - <xsl:with-param name="from"><</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textgreater{}</xsl:with-param> - <xsl:with-param name="from">></xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textasciitilde{}</xsl:with-param> - <xsl:with-param name="from">~</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\^{}</xsl:with-param> - <xsl:with-param name="from">^</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\&</xsl:with-param> - <xsl:with-param name="from">&</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\#</xsl:with-param> - <xsl:with-param name="from">#</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\_</xsl:with-param> - <xsl:with-param name="from">_</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\$</xsl:with-param> - <xsl:with-param name="from">$</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\%</xsl:with-param> - <xsl:with-param name="from">%</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\{</xsl:with-param> - <xsl:with-param name="from">{</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\}</xsl:with-param> - <xsl:with-param name="from">}</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textbackslash \ </xsl:with-param> - <xsl:with-param name="from">\textbackslash </xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textbackslash </xsl:with-param> - <xsl:with-param name="from">\</xsl:with-param> - <xsl:with-param name="string" select="$string"></xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template name="scape-verbatim" > - <xsl:param name="string"/> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\textasciitilde{}</xsl:with-param> - <xsl:with-param name="from">~</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\^{}</xsl:with-param> - <xsl:with-param name="from">^</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\&</xsl:with-param> - <xsl:with-param name="from">&</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\#</xsl:with-param> - <xsl:with-param name="from">#</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\_</xsl:with-param> - <xsl:with-param name="from">_</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\$</xsl:with-param> - <xsl:with-param name="from">$</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\%</xsl:with-param> - <xsl:with-param name="from">%</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\docbooktolatexgobble\string\{</xsl:with-param> - <xsl:with-param name="from">{</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\docbooktolatexgobble\string\}</xsl:with-param> - <xsl:with-param name="from">}</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\docbooktolatexgobble\string\\</xsl:with-param> - <xsl:with-param name="from">\</xsl:with-param> - <xsl:with-param name="string" select="$string"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template></xsl:with-param> - </xsl:call-template> - </xsl:template> - - <xsl:template name="scape-href" > - <xsl:param name="string"/> - <!-- maybe we should warn when there are invalid characters --> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\&</xsl:with-param> - <xsl:with-param name="from">&</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\%</xsl:with-param> - <xsl:with-param name="from">%</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\{</xsl:with-param> - <xsl:with-param name="from">{</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\{</xsl:with-param> - <xsl:with-param name="from">{</xsl:with-param> - <xsl:with-param name="string"> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">\docbooktolatexgobble\string\\</xsl:with-param> - <xsl:with-param name="from">\</xsl:with-param> - <xsl:with-param name="string" select="$string"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:template> - - <doc:template name="scape-optionalarg" xmlns=""> - <refpurpose> Escape the ] character in LaTeX optional arguments (experimental) </refpurpose> - <refdescription> - </refdescription> - </doc:template> - <xsl:template name="scape-optionalarg" > - <xsl:param name="string"/> - <xsl:call-template name="string-replace"> - <xsl:with-param name="to">{\rbrack}</xsl:with-param> - <xsl:with-param name="from">]</xsl:with-param> - <xsl:with-param name="string" select="$string"/> - </xsl:call-template> - </xsl:template> - - - - - <xsl:template name="string-replace"> - <xsl:param name="string"/> - <xsl:param name="from"/> - <xsl:param name="to"/> - - <xsl:choose> - <xsl:when test="contains($string, $from)"> - - <xsl:variable name="before" select="substring-before($string, $from)"/> - <xsl:variable name="after" select="substring-after($string, $from)"/> - <xsl:variable name="prefix" select="concat($before, $to)"/> - - <xsl:value-of select="$before"/> - <xsl:value-of select="$to"/> - <xsl:call-template name="string-replace"> - <xsl:with-param name="string" select="$after"/> - <xsl:with-param name="from" select="$from"/> - <xsl:with-param name="to" select="$to"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - <!-- - (c) David Carlisle - replace all occurences of the character(s) `from' - by the string `to' in the string `string'. - <xsl:template name="string-replace" > - <xsl:param name="string"/> - <xsl:param name="from"/> - <xsl:param name="to"/> - <xsl:choose> - <xsl:when test="contains($string,$from)"> - <xsl:value-of select="substring-before($string,$from)"/> - <xsl:value-of select="$to"/> - <xsl:call-template name="string-replace"> - <xsl:with-param name="string" select="substring-after($string,$from)"/> - <xsl:with-param name="from" select="$from"/> - <xsl:with-param name="to" select="$to"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - --> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/para.mod.xsl b/docs/docbook/xslt/db2latex/para.mod.xsl deleted file mode 100644 index 64d6d8f01d..0000000000 --- a/docs/docbook/xslt/db2latex/para.mod.xsl +++ /dev/null @@ -1,74 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -| $Id: para.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $ -|- ############################################################################# -| $Author: ab $ -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="para" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - $Id: para.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $ - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Paragraphs <filename>para.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <xsl:template match="para"> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - <xsl:template match="simpara"> - <xsl:text> </xsl:text> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - </xsl:template> - - <xsl:template match="formalpara"> - <xsl:text> \textbf{</xsl:text> - <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="title"/></xsl:call-template> - <xsl:text>} </xsl:text> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - <xsl:text> </xsl:text> - </xsl:template> - - <xsl:template match="formalpara/title"/> - - <!--========================================================================== - | Especial Cases Do not add Linefeed - +============================================================================--> - - <xsl:template match="textobject/para"> <xsl:apply-templates/> </xsl:template> - <xsl:template match="step/para"> <xsl:apply-templates/> </xsl:template> - <xsl:template match="entry/para"> <xsl:apply-templates/> </xsl:template> - <xsl:template match="question/para"> <xsl:apply-templates/> </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl b/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl deleted file mode 100644 index 38c15e9331..0000000000 --- a/docs/docbook/xslt/db2latex/part-chap-app.mod.xsl +++ /dev/null @@ -1,132 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Part -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="part-chap-app" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Parts, Chapters and Appendixes <filename>part-chap-app.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - - <xsl:template match="part"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="part/docinfo"/> - <xsl:template match="part/title"/> - <xsl:template match="part/subtitle"/> - <xsl:template match="partintro"/> - <xsl:template match="partintro/title"/> - <xsl:template match="partintro/subtitle"/> - <xsl:template match="partintro/titleabbrev"/> - - - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: Chapter - + ############################################################################## --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="chapter" xmlns=""> - <refpurpose> XSL template for Chapters.</refpurpose> - <refdescription> - <para> This is the main entry point for a <sgmltag class="start">chapter</sgmltag> subtree. - This template processes any chapter. Outputs <literal>\chapter{title}</literal>, calls - templates and apply-templates. Since chapters only apply in books, - some assumptions could be done in order to optimize the stylesheet behaviour.</para> - - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - <listitem><para> - EMPTY templates: chapter/title, - chapter/titleabbrev, - chapter/subtitle, - chapter/docinfo|chapterinfo.</para></listitem> - </itemizedlist> - </formalpara> - - <formalpara><title>Affected by</title> map. - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="chapter"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:template> - - <xsl:template match="chapter/title"/> - <xsl:template match="chapter/titleabbrev"/> - <xsl:template match="chapter/subtitle"/> - <xsl:template match="chapter/docinfo|chapterinfo"/> - - - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - + ############################################################################## --> - - <xsl:template match="appendix"> - <xsl:if test="not (preceding-sibling::appendix)"> - <xsl:text> </xsl:text> - <xsl:choose> - <xsl:when test="local-name(..)='book' or local-name(..)='part'"> - <xsl:text>\newcommand{\dbappendix}[1]{\chapter{#1}}% </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\newcommand{\dbappendix}[1]{\section{#1}}% </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword">appendixes</xsl:with-param> - </xsl:call-template> - </xsl:if> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:template> - - - <xsl:template match="appendix/title"/> - <xsl:template match="appendix/titleabbrev"/> - <xsl:template match="appendix/subtitle"/> - <xsl:template match="appendix/docinfo|appendixinfo"/> -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/pi.mod.xsl b/docs/docbook/xslt/db2latex/pi.mod.xsl deleted file mode 100644 index a4409583c8..0000000000 --- a/docs/docbook/xslt/db2latex/pi.mod.xsl +++ /dev/null @@ -1,181 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="abstract" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Processing Instructions</title> - - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - <doc:template match="processing-instruction()" xmlns=""> - <refpurpose> Processing Instruction XSL template. </refpurpose> - <refdescription> - </refdescription> - </doc:template> - - - <xsl:template match="processing-instruction()"> - </xsl:template> - - <xsl:template match="processing-instruction('rcas')"> - <xsl:processing-instruction name="dbhtml"> - <xsl:value-of select="."/> - </xsl:processing-instruction> - </xsl:template> - - <xsl:template match="processing-instruction('db2latex')"> - </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="label.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> - <!-- RCAS Fixme - <xsl:call-template name="xref.cmdsynopsis"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:call-template>--> - </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="label.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> - <!-- RCAS Fixme - <xsl:call-template name="xref.funcsynopsis"> - <xsl:with-param name="target" select="$cmdsyn"/> - </xsl:call-template> - --> - </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/docs/docbook/xslt/db2latex/preamble.mod.xsl b/docs/docbook/xslt/db2latex/preamble.mod.xsl deleted file mode 100644 index ec9e5a8afc..0000000000 --- a/docs/docbook/xslt/db2latex/preamble.mod.xsl +++ /dev/null @@ -1,810 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Variables and templates to manage LaTeX preamble. -+ ############################################################################## --> - -<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'> - - - <doc:reference id="preamble" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright><year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Variables and Templates used in LaTeX Preamble Generation</title> - - <partintro> - <section><title>Introduction</title> - <para> This section described the variables and templates that are used in the generation of - the outtput LaTeX preamble. Basically, the LaTeX preamble depends on the XML document, that is, - on whether it is an article or a book.</para> - </section> - - <section><title>Flow</title> - <section><title>Articles</title> - <para></para> - </section> - <section><title>Books</title> - <para></para> - </section> - </section> - </partintro> - </doc:reference> - - - - <!--############################################################################# - | generate.latex.article.preamble and generate.latex.book.preamble - |- ############################################################################# - | Top-level named templates. - | LaTeX Preamble. - | - + ############################################################################## --> - - <!-- DOCUMENTATION --> - <doc:template name="generate.latex.article.preamble" xmlns=""> - <refpurpose> Top level template, called by article template, - responsible of generating the LaTeX preamble according to user - XSL variables and templates. - </refpurpose> - <refdescription> - <formalpara><title>Overview</title> - If the xsl:variable <literal>latex.override</literal> - is empty, the template outputs <literal>latex.article.preamblestart</literal> - and calls <literal>generate.latex.common.preamble</literal>. Otherwise, - it outputs the value of <literal>latex.override</literal> and - exists. - </formalpara> - </refdescription> - <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor> - </doc:template> - - <!-- TEMPLATE --> - <xsl:template name="generate.latex.article.preamble"> - <xsl:choose> - <xsl:when test="$latex.override = ''"> - <xsl:value-of select="$latex.article.preamblestart"/> - <xsl:value-of select="$latex.article.preamble.pre"/> - <xsl:call-template name="label.id"/> - <xsl:call-template name="generate.latex.common.preamble"/> - <xsl:call-template name="generate.latex.essential.preamble"/> - <xsl:value-of select="$latex.article.preamble.post"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$latex.override"/> - <xsl:call-template name="generate.latex.essential.preamble"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <!-- DOCUMENTATION --> - <doc:template name="generate.latex.book.preamble" xmlns=""> - <refpurpose> Top level template, called by book template, - responsible of generating the LaTeX preamble according to user - XSL variables and templates. - </refpurpose> - <refdescription> - <formalpara><title>Overview</title> - If the xsl:variable <literal>latex.override</literal> - is empty, the template outputs <literal>latex.book.preamblestart</literal> - and calls <literal>generate.latex.common.preamble</literal>. Otherwise, - it outputs the value of <literal>latex.override</literal> and - exists. - </formalpara> - </refdescription> - <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor> - </doc:template> - - <!-- TEMPLATE --> - <xsl:template name="generate.latex.book.preamble"> - <xsl:choose> - <xsl:when test="$latex.override = ''"> - <xsl:value-of select="$latex.book.preamblestart"/> - <xsl:value-of select="$latex.book.preamble.pre"/> - <xsl:call-template name="label.id"/> - <xsl:call-template name="generate.latex.common.preamble"/> - <xsl:call-template name="generate.latex.essential.preamble"/> - <xsl:value-of select="$latex.book.preamble.post"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$latex.override"/> - <xsl:call-template name="generate.latex.essential.preamble"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - - - <!--############################################################################# - | latex.article.preamblestart and latex.book.preamblestart - |- ############################################################################# - | - + ############################################################################## --> - - <doc:variable name="latex.article.preamblestart" xmlns=""> - <refpurpose> Generated Document class for articles. </refpurpose> - <refdescription> - </refdescription> - <refreturn> - <screen> - % -------------------------------------------- - % Autogenerated LaTeX file for articles - % -------------------------------------------- - \ifx\pdfoutput\undefined - \documentclass[spanish,french,english,a4paper,10pt,twoside,twocolumn]{article} - \else - \documentclass[pdftex,spanish,french,english,a4paper,10pt,twoside,twocolumn]{article} - \fi - </screen> - </refreturn> - </doc:variable> - - <xsl:variable name="latex.article.preamblestart"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Autogenerated LaTeX file for articles </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\ifx\pdfoutput\undefined </xsl:text> - <xsl:text>\documentclass[</xsl:text> - <xsl:value-of select='$latex.documentclass.common' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.article' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.pdftex' /> - <xsl:text>]{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when> - <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\documentclass[pdftex,</xsl:text> - <xsl:value-of select='$latex.documentclass.common' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.article' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.dvips' /> - <xsl:text>]{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when> - <xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <xsl:text>\fi </xsl:text> - </xsl:variable> - - <doc:variable name="latex.book.preamblestart" xmlns=""> - <refpurpose>Generated Document class for books. </refpurpose> - <refdescription> - </refdescription> - <refreturn> - <screen> - % ------------------------------------------------------------ - % Autogenerated LaTeX file for books - % ------------------------------------------------------------ - \ifx\pdfoutput\undefined - \documentclass[spanish,french,english,a4paper,twoside,openright,10pt,final]{report} - \else - \documentclass[pdftex,spanish,french,english,a4paper,twoside,openright,10pt,final]{report} - \fi - </screen> - </refreturn> - </doc:variable> - - <xsl:variable name="latex.book.preamblestart"> - <xsl:text>% ------------------------------------------------------------ </xsl:text> - <xsl:text>% Autogenerated LaTeX file for books </xsl:text> - <xsl:text>% ------------------------------------------------------------ </xsl:text> - <xsl:text>\ifx\pdfoutput\undefined </xsl:text> - <xsl:text>\documentclass[</xsl:text> - <xsl:value-of select='$latex.documentclass.common' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.book' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.pdftex' /> - <xsl:text>]{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when> - <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\documentclass[pdftex,</xsl:text> - <xsl:value-of select='$latex.documentclass.common' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.book' /> - <xsl:text>,</xsl:text> - <xsl:value-of select='$latex.documentclass.dvips' /> - <xsl:text>]{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass" /></xsl:when> - <xsl:otherwise><xsl:text>report</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <xsl:text>\fi </xsl:text> - </xsl:variable> - - <!--############################################################################# - | generate.latex.common.preamble - |- ############################################################################# - | - + ############################################################################## --> - - <doc:variable name="generate.latex.common.preamble" xmlns=""> - <refpurpose> Common LaTeX preamble shared by articles and books, and other - document classes. Most of the packages and package options are managed here </refpurpose> - <refdescription> - </refdescription> - <refreturn> - The LaTeX preamble, after the document class and before the <literal>\begin{document}</literal> - command. - </refreturn> - </doc:variable> - - - - <xsl:template name="generate.latex.common.preamble"> - <xsl:choose> - <xsl:when test="$latex.pdf.support=1"><xsl:value-of select="$latex.pdf.preamble"/></xsl:when> - <xsl:otherwise><xsl:text>\usepackage{graphicx} </xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:if test="local-name(.)='article'"> - <xsl:value-of select="$latex.article.varsets"/> - </xsl:if> - <xsl:if test="local-name(.)='book'"> - <xsl:value-of select="$latex.book.varsets"/> - </xsl:if> - <xsl:if test="$latex.use.fancyhdr=1"> - <xsl:text>\usepackage{fancyhdr} </xsl:text> - <xsl:call-template name="generate.latex.pagestyle"/> - <!-- - Add dollar... - <xsl:if test="latex.fancyhdr.lh !=''"><xsl:text>\lhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.lh"/><xsl:text>} </xsl:text></xsl:if> - <xsl:if test="latex.fancyhdr.ch !=''"><xsl:text>\chead{</xsl:text><xsl:value-of select="$latex.fancyhdr.ch"/><xsl:text>} </xsl:text></xsl:if> - <xsl:if test="latex.fancyhdr.rh !=''"><xsl:text>\rhead{</xsl:text><xsl:value-of select="$latex.fancyhdr.rh"/><xsl:text>} </xsl:text></xsl:if> - <xsl:if test="latex.fancyhdr.lf !=''"><xsl:text>\lfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.lf"/><xsl:text>} </xsl:text></xsl:if> - <xsl:if test="latex.fancyhdr.cf !=''"><xsl:text>\cfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.cf"/><xsl:text>} </xsl:text></xsl:if> - <xsl:if test="latex.fancyhdr.rf !=''"><xsl:text>\rfoot{</xsl:text><xsl:value-of select="$latex.fancyhdr.rf"/><xsl:text>} </xsl:text></xsl:if> - --> - - <xsl:text>\renewcommand{\headrulewidth}{0.4pt} </xsl:text> - <xsl:text>\renewcommand{\footrulewidth}{0.4pt} </xsl:text> - </xsl:if> - - <xsl:text>% ---------------------- </xsl:text> - <xsl:text>% Most Common Packages </xsl:text> - <xsl:text>% ---------------------- </xsl:text> - <xsl:if test="$latex.use.makeidx=1"><xsl:text>\usepackage{makeidx} </xsl:text></xsl:if> - <xsl:text>\usepackage{varioref} </xsl:text> - <xsl:text>\usepackage{latexsym} </xsl:text> - <xsl:text>\usepackage{enumerate} </xsl:text> - <xsl:if test="$latex.use.fancybox=1"> - <!-- must be before \usepackage{fancyvrb} --> - <xsl:text>\usepackage{fancybox} </xsl:text> - </xsl:if> - <xsl:text>\usepackage{float} </xsl:text> - <xsl:text>\usepackage{ragged2e} </xsl:text> - <xsl:if test="$latex.babel.language!=''"> - <xsl:text>\usepackage[</xsl:text><xsl:value-of select="$latex.babel.language" /><xsl:text>]{babel} </xsl:text> - </xsl:if> - <xsl:if test="$latex.use.fancyvrb=1"> - <!-- must be after \usepackage{fancybox} --> - <xsl:text>\usepackage{fancyvrb} </xsl:text> - <xsl:text>\makeatletter\@namedef{FV@fontfamily@default}{\def\FV@FontScanPrep{}\def\FV@FontFamily{}}\makeatother </xsl:text> - <xsl:if test="$latex.fancyvrb.tabsize!=''"> - <xsl:text>\fvset{obeytabs=true,tabsize=</xsl:text> - <xsl:value-of select="$latex.fancyvrb.tabsize"/> - <xsl:text>} </xsl:text> - </xsl:if> - </xsl:if> - <xsl:if test="$latex.use.isolatin1=1"><xsl:text>\usepackage{isolatin1} </xsl:text></xsl:if> - <xsl:if test="$latex.use.parskip=1"><xsl:text>\usepackage{parskip} </xsl:text></xsl:if> - <xsl:if test="$latex.use.rotating=1"><xsl:text>\usepackage{rotating} </xsl:text></xsl:if> - <xsl:if test="$latex.use.subfigure=1"><xsl:text>\usepackage{subfigure} </xsl:text></xsl:if> - <xsl:if test="$latex.use.tabularx=1"><xsl:text>\usepackage{tabularx} </xsl:text></xsl:if> - <xsl:if test="$latex.use.umoline=1"><xsl:text>\usepackage{umoline} </xsl:text></xsl:if> - <xsl:if test="$latex.use.url=1"><xsl:text>\usepackage{url} </xsl:text></xsl:if> - - <!-- Configure document font. --> - <xsl:if test="$latex.document.font != 'default'"> - <xsl:text>% --------------- </xsl:text> - <xsl:text>% Document Font </xsl:text> - <xsl:text>% --------------- </xsl:text> - <xsl:text>\usepackage{</xsl:text><xsl:value-of select="$latex.document.font"/><xsl:text>} </xsl:text> - </xsl:if> - <!-- Support for keywords. --> - <xsl:text> \def\keywords{\vspace{-.3em} </xsl:text> - <xsl:text> \if@twocolumn </xsl:text> - <xsl:text> \small{\itshape </xsl:text> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">keywords</xsl:with-param> - </xsl:call-template> - <xsl:text> }\/\bfseries---$\!$% </xsl:text> - <xsl:text> \else </xsl:text> - <xsl:text> \begin{center}\small\bfseries </xsl:text> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">keywords</xsl:with-param> - </xsl:call-template> - <xsl:text> \end{center}\quotation\small </xsl:text> - <xsl:text> \fi} </xsl:text> - <xsl:text> \def\endkeywords{\vspace{0.6em}\par\if@twocolumn\else\endquotation\fi </xsl:text> - <xsl:text> \normalsize\rmfamily} </xsl:text> - - <xsl:if test="$latex.math.support=1"><xsl:value-of select="$latex.math.preamble"/></xsl:if> - <xsl:if test="$latex.use.hyperref=1"> - <xsl:call-template name="latex.hyperref.preamble"/> - </xsl:if> - <xsl:value-of select="$latex.admonition.environment"/> - <xsl:call-template name="latex.float.preamble"/> - <xsl:call-template name="latex.graphicext"/> - <xsl:choose> - <xsl:when test='$latex.caption.swapskip=1'> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% $latex.caption.swapskip enabled for $formal.title.placement support </xsl:text> - <xsl:text>\newlength{\docbooktolatextempskip} </xsl:text> - <xsl:text>\newcommand{\captionswapskip}{\setlength{\docbooktolatextempskip}{\abovecaptionskip}</xsl:text> - <xsl:text>\setlength{\abovecaptionskip}{\belowcaptionskip}</xsl:text> - <xsl:text>\setlength{\belowcaptionskip}{\docbooktolatextempskip}} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\newcommand{\captionswapskip}{} </xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:if test='$latex.hyphenation.tttricks=1'> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Better linebreaks </xsl:text> - <xsl:text>\newcommand{\docbookhyphenatedot}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}} </xsl:text> - <xsl:text>\newcommand{\docbookhyphenatefilename}[1]{{\hyphenchar\font=`\.\relax #1\hyphenchar\font=`\-}} </xsl:text> - <xsl:text>\newcommand{\docbookhyphenateurl}[1]{{\hyphenchar\font=`\/\relax #1\hyphenchar\font=`\-}} </xsl:text> - </xsl:if> - </xsl:template> - - <doc:variable name="generate.latex.essential.preamble" xmlns=""> - <refpurpose> Unavoidable LaTeX preamble shared by articles and books </refpurpose> - <refdescription> - <para>Contains custom commands <emphasis>that you just can't get rid of!</emphasis></para> - </refdescription> - </doc:variable> - <xsl:template name="generate.latex.essential.preamble"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\makeatletter </xsl:text> - <xsl:if test="$latex.use.hyperref!='1'"> - <xsl:text>\newcommand{\href}[1]{{}} </xsl:text> - <xsl:text>\newcommand{\hyperlink}[1]{{}} </xsl:text> - <xsl:text>\newcommand{\hypertarget}[2]{#2} </xsl:text> - </xsl:if> - <xsl:if test="$latex.use.ucs='1'"> - <xsl:text>\usepackage[</xsl:text> - <xsl:value-of select="$latex.ucs.options"/> - <xsl:text>]{ucs} </xsl:text> - </xsl:if> - <xsl:if test="$latex.entities='catcode'"> - <xsl:text>\catcode`\&=\active\def&{\@ifnextchar##{\@docbooktolatexunicode\@gobble}{\&}} </xsl:text> - <xsl:if test="$latex.use.ucs!='1'"> - <xsl:text><![CDATA[ -% A few example Unicode characters. -% For full support, use the unicode pacakge from Dominique Unruh/CTAN. -\newcommand{\unichar}[1]{% - \ifnum#1=8212---% - \else\&\##1;\fi% -} -]]></xsl:text> - </xsl:if> - <xsl:text>\def\@docbooktolatexunicode#1;{\edef\@dbtemp{#1}\unichar{\@dbtemp}} </xsl:text> - </xsl:if> - <xsl:if test="$latex.entities='unicode'"> - <xsl:text>\usepackage[utf8]{inputenc} </xsl:text> - </xsl:if> - <xsl:text><![CDATA[ -\def\docbooktolatexgobble{\expandafter\@gobble} -% Facilitate use of \cite with \label -\newcommand{\docbooktolatexbibaux}[2]{% - \protected@write\@auxout{}{\string\global\string\@namedef{docbooktolatexcite@#1}{#2}} -} -\newcommand{\docbooktolatexcite}[2]{% - \@ifundefined{docbooktolatexcite@#1}% - {\cite{#1}}% - {\def\@docbooktolatextemp{#2}\ifx\@docbooktolatextemp\@empty% - \cite{\@nameuse{docbooktolatexcite@#1}}% - \else\cite[#2]{\@nameuse{docbooktolatexcite@#1}}% - \fi% - }% -} -\newcommand{\docbooktolatexbackcite}[1]{% - \ifx\Hy@backout\@undefined\else% - \@ifundefined{docbooktolatexcite@#1}{% - % emit warning? - }{% - \ifBR@verbose% - \PackageInfo{backref}{back cite \string`#1\string' as \string`\@nameuse{docbooktolatexcite@#1}\string'}% - \fi% - \Hy@backout{\@nameuse{docbooktolatexcite@#1}}% - }% - \fi% -} -% -------------------------------------------- -% A way to honour <footnoteref>s -% Blame j-devenish (at) users.sourceforge.net -% In any other LaTeX context, this would probably go into a style file. -\newcommand{\docbooktolatexusefootnoteref}[1]{\@ifundefined{@fn@label@#1}% - {\hbox{\@textsuperscript{\normalfont ?}}% - \@latex@warning{Footnote label `#1' was not defined}}% - {\@nameuse{@fn@label@#1}}} -\newcommand{\docbooktolatexmakefootnoteref}[1]{% - \protected@write\@auxout{}% - {\global\string\@namedef{@fn@label@#1}{\@makefnmark}}% - \@namedef{@fn@label@#1}{\hbox{\@textsuperscript{\normalfont ?}}}% - } -% -------------------------------------------- -% Hacks for honouring row/entry/@align -% (\hspace not effective when in paragraph mode) -% Naming convention for these macros is: -% 'docbooktolatex' 'align' {alignment-type} {position-within-entry} -% where r = right, l = left, c = centre -\newcommand{\docbooktolatexalignrl}{\protect\ifvmode\raggedleft\else\hfill\fi} -\newcommand{\docbooktolatexalignrr}{\protect} -\newcommand{\docbooktolatexalignll}{\protect\ifvmode\raggedright\else\fi} -\newcommand{\docbooktolatexalignlr}{\protect\ifvmode\else\hspace*\fill\fi} -\newcommand{\docbooktolatexaligncl}{\protect\ifvmode\centering\else\hfill\fi} -\newcommand{\docbooktolatexaligncr}{\protect\ifvmode\else\hspace*\fill\fi} -\ifx\captionswapskip\@undefined\newcommand{\captionswapskip}{}\fi -\makeatother -]]></xsl:text> - </xsl:template> - - - - <!--############################################################################# - | Auxiliary templates and variables - |- ############################################################################# - | - + ############################################################################## --> - - <doc:template name="latex.float.preamble" xmlns=""> - <refpurpose> - </refpurpose> - <refdescription> - </refdescription> - </doc:template> - <xsl:template name="latex.float.preamble"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Commands to manage/style/create floats </xsl:text> - <xsl:text>% figures, tables, algorithms, examples, eqn </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text> \floatstyle{ruled} </xsl:text> - <xsl:text> \restylefloat{figure} </xsl:text> - <xsl:text> \floatstyle{ruled} </xsl:text> - <xsl:text> \restylefloat{table} </xsl:text> - <xsl:text> \floatstyle{ruled} </xsl:text> - <xsl:text> \newfloat{program}{ht}{lop}[section] </xsl:text> - <xsl:text> \floatstyle{ruled} </xsl:text> - <xsl:text> \newfloat{example}{ht}{loe}[section] </xsl:text> - <xsl:text> \floatname{example}{</xsl:text> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">example</xsl:with-param> - </xsl:call-template> - <xsl:text>} </xsl:text> - <xsl:text> \floatstyle{ruled} </xsl:text> - <xsl:text> \newfloat{dbequation}{ht}{loe}[section] </xsl:text> - <xsl:text> \floatname{dbequation}{</xsl:text> - <xsl:call-template name="gentext.element.name"> - <xsl:with-param name="element.name">equation</xsl:with-param> - </xsl:call-template> - <xsl:text>} </xsl:text> - <xsl:text> \floatstyle{boxed} </xsl:text> - <xsl:text> \newfloat{algorithm}{ht}{loa}[section] </xsl:text> - <xsl:text> \floatname{algorithm}{Algorithm} </xsl:text> - </xsl:template> - - - - - <!-- DOCUMENTATION --> - <doc:variable name="latex.pdf.preamble" xmlns=""> - <refpurpose> - </refpurpose> - <refdescription> - <formalpara><title>Default Value:</title> - <screen> - \usepackage{ifthen} - % -------------------------------------------- - % Check for PDFLaTeX/LaTeX - % -------------------------------------------- - \newif\ifpdf - \ifx\pdfoutput\undefined - \pdffalse % we are not running PDFLaTeX - \else - \pdfoutput=1 % we are running PDFLaTeX - \pdftrue - \fi - % -------------------------------------------- - % Load graphicx package with pdf if needed - % -------------------------------------------- - \ifpdf - \usepackage[pdftex]{graphicx} - \pdfcompresslevel=9 - \else - \usepackage{graphicx} - \fi - </screen> - </formalpara> - </refdescription> - <refauthor>Ramon Casellas <email>casellas@aist.enst.fr</email></refauthor> - </doc:variable> - - <!-- VARIABLE --> - <xsl:variable name="latex.pdf.preamble"> - <xsl:text>\usepackage{ifthen} </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Check for PDFLaTeX/LaTeX </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\newif\ifpdf </xsl:text> - <xsl:text>\ifx\pdfoutput\undefined </xsl:text> - <xsl:text>\pdffalse % we are not running PDFLaTeX </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\pdfoutput=1 % we are running PDFLaTeX </xsl:text> - <xsl:text>\pdftrue </xsl:text> - <xsl:text>\fi </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Load graphicx package with pdf if needed </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\ifpdf </xsl:text> - <xsl:text>\usepackage[pdftex]{graphicx} </xsl:text> - <xsl:text>\pdfcompresslevel=9 </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\usepackage{graphicx} </xsl:text> - <xsl:text>\fi </xsl:text> - </xsl:variable> - - - - <!-- DOCUMENTATION --> - <doc:template name="latex.hyperref.preamble" xmlns=""> - <refpurpose> Manage the part of the preamble that handles the hyperref package.</refpurpose> - <refdescription> - <para> This template outputs the LaTeX code <literal>\usepackage[...]{hyperref}</literal> - in order to use hyperlinks, backrefs and other goodies. If PDF support is activated, - outputs laTeX code to detect whether the document is being compiled with - <filename>pdflatex</filename> or <filename>latex</filename> to supply the - right parameters (pdftex, dvips, etc). </para> - <formalpara><title>To Do</title> The package options should be optained - from XSL variables.</formalpara> - <formalpara><title>Default Value with PDF support</title> - <screen> - % -------------------------------------------- - % Load hyperref package with pdf if needed - % -------------------------------------------- - \ifpdf - \usepackage[pdftex,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref} - \else - \usepackage[dvips,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref} - \fi - % -------------------------------------------- - </screen> - </formalpara> - <formalpara><title>Default Value without PDF support</title> - <screen> - % -------------------------------------------- - % Load hyperref package - % -------------------------------------------- - \usepackage[dvips,bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage]{hyperref} - </screen> - </formalpara> - </refdescription> - </doc:template> - <!-- TEMPLATE --> - <xsl:template name="latex.hyperref.preamble"> - <xsl:choose> - <xsl:when test="$latex.pdf.support=1"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Load hyperref package with pdf if needed </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\ifpdf </xsl:text> - <xsl:text>\usepackage[pdftex,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.common" /> - <xsl:text>,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.pdftex" /> - <xsl:text>]{hyperref} </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\usepackage[dvips,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.common" /> - <xsl:text>,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.dvips" /> - <xsl:text>]{hyperref} </xsl:text> - <xsl:text>\fi </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Load hyperref package </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\usepackage[dvips,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.common" /> - <xsl:text>,</xsl:text> - <xsl:value-of select="$latex.hyperref.param.dvips" /> - <xsl:text>]{hyperref} </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - - - - - - - - - - <!--############################################################################# - | latex.math.preamble - |- ############################################################################# - | This "preamble chunk" declares usage of most common AMS packages. - | Defines new useful commands. - + ############################################################################## --> - - <!-- DOCUMENTATION --> - <doc:variable name="latex.math.preamble" xmlns=""> - <refpurpose> Manage the math related preamble</refpurpose> - <refdescription> - </refdescription> - </doc:variable> - - <!-- VARIABLE --> - <xsl:variable name="latex.math.preamble"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% Math support </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra,amsopn} </xsl:text> - <xsl:text>%\newtheorem{thm}{Theorem}[section] </xsl:text> - <xsl:text>%\newtheorem{cor}[section]{Corollary} </xsl:text> - <xsl:text>%\newtheorem{lem}[section]{Lemma} </xsl:text> - <xsl:text>%\newtheorem{defn}[section]{Definition} </xsl:text> - <xsl:text>%\newtheorem{prop}[section]{Proposition} </xsl:text> - <xsl:text>%\newtheorem{ax}{Axiom} </xsl:text> - <xsl:text>%\newtheorem{theorem}[section]{Theorem} </xsl:text> - <xsl:text>%\newtheorem{corollary}{Corollary} </xsl:text> - <xsl:text>%\newtheorem{lemma}{Lemma} </xsl:text> - <xsl:text>%\newtheorem{proposition}{Proposition} </xsl:text> - <xsl:text>%\theoremstyle{definition} </xsl:text> - <xsl:text>%\newtheorem{definition}{Definition} </xsl:text> - <xsl:text>%\theoremstyle{remark} </xsl:text> - <xsl:text>%\newtheorem{rem}{Remark} </xsl:text> - <xsl:text>%\newtheorem*{notation}{Notation} </xsl:text> - <xsl:text>%\newcommand{\ntt}{\normalfont\ttfamily} </xsl:text> - <xsl:text>%\newcommand{\thmref}[1]{Theorem~\ref{#1}} </xsl:text> - <xsl:text>%\newcommand{\secref}[1]{\S\ref{#1}} </xsl:text> - <xsl:text>%\newcommand{\lemref}[1]{Lemma~\ref{#1}} </xsl:text> - <xsl:text> \newcommand{\bysame}{\mbox{\rule{3em}{.4pt}}\,} </xsl:text> - <xsl:text> \newcommand{\A}{\mathcal{A}} </xsl:text> - <xsl:text> \newcommand{\B}{\mathcal{B}} </xsl:text> - <xsl:text> \newcommand{\XcY}{{(X,Y)}} </xsl:text> - <xsl:text> \newcommand{\SX}{{S_X}} </xsl:text> - <xsl:text> \newcommand{\SY}{{S_Y}} </xsl:text> - <xsl:text> \newcommand{\SXY}{{S_{X,Y}}} </xsl:text> - <xsl:text> \newcommand{\SXgYy}{{S_{X|Y}(y)}} </xsl:text> - <xsl:text> \newcommand{\Cw}[1]{{\hat C_#1(X|Y)}} </xsl:text> - <xsl:text> \newcommand{\G}{{G(X|Y)}} </xsl:text> - <xsl:text> \newcommand{\PY}{{P_{\mathcal{Y}}}} </xsl:text> - <xsl:text> \newcommand{\X}{\mathcal{X}} </xsl:text> - <xsl:text> \newcommand{\wt}{\widetilde} </xsl:text> - <xsl:text> \newcommand{\wh}{\widehat} </xsl:text> - <xsl:text> % -------------------------------------------- </xsl:text> - <xsl:text> %\DeclareMathOperator{\per}{per} </xsl:text> - <xsl:text> \DeclareMathOperator{\cov}{cov} </xsl:text> - <xsl:text> \DeclareMathOperator{\non}{non} </xsl:text> - <xsl:text> \DeclareMathOperator{\cf}{cf} </xsl:text> - <xsl:text> \DeclareMathOperator{\add}{add} </xsl:text> - <xsl:text> \DeclareMathOperator{\Cham}{Cham} </xsl:text> - <xsl:text> \DeclareMathOperator{\IM}{Im} </xsl:text> - <xsl:text> \DeclareMathOperator{\esssup}{ess\,sup} </xsl:text> - <xsl:text> \DeclareMathOperator{\meas}{meas} </xsl:text> - <xsl:text> \DeclareMathOperator{\seg}{seg} </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - </xsl:variable> - - - - -<!--############################################################################# -| latex.graphicext -|- ############################################################################# -| -+ ############################################################################## --> - -<doc:template name="latex.graphicext" xmlns=""> -<refpurpose> Declared graphic extensions </refpurpose> -<refdescription> -This template checks whether the user has overriden <command>grafic.default.extension</command> -Otherwise, declares .pdf, .png, .jpg if using pdflatex and .eps if using latex. -<programlisting><![CDATA[ -<xsl:template name="latex.graphicext"> -<xsl:choose> -<xsl:when test="$graphic.default.extension !=''"> - <xsl:text>\DeclareGraphicsExtensions{</xsl:text> - <xsl:if test="not(contains($graphic.default.extension,'.'))"> - <xsl:text>.</xsl:text> - </xsl:if> - <xsl:value-of select="$graphic.default.extension"/> - <xsl:text>} </xsl:text> -</xsl:when> -<xsl:otherwise> - <xsl:choose> - <xsl:when test="$latex.pdf.support=1"> - <xsl:text>\ifpdf </xsl:text> - <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg} </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\DeclareGraphicsExtensions{.eps} </xsl:text> - <xsl:text>\fi </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\DeclareGraphicsExtensions{.eps} </xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:otherwise> -</xsl:choose> -</xsl:template> - - -]]></programlisting> -</refdescription> -<refreturn> -</refreturn> -</doc:template> - -<xsl:template name="latex.graphicext"> -<xsl:choose> -<xsl:when test="$graphic.default.extension !=''"> - <xsl:text>\DeclareGraphicsExtensions{</xsl:text> - <xsl:if test="not(contains($graphic.default.extension,'.'))"> - <xsl:text>.</xsl:text> - </xsl:if> - <xsl:value-of select="$graphic.default.extension"/> - <xsl:text>} </xsl:text> -</xsl:when> -<xsl:otherwise> - <xsl:choose> - <xsl:when test="$latex.pdf.support=1"> - <xsl:text>\ifpdf </xsl:text> - <xsl:text>\DeclareGraphicsExtensions{.pdf,.png,.jpg} </xsl:text> - <xsl:text>\else </xsl:text> - <xsl:text>\DeclareGraphicsExtensions{.eps} </xsl:text> - <xsl:text>\fi </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\DeclareGraphicsExtensions{.eps} </xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:otherwise> -</xsl:choose> -</xsl:template> - - <xsl:template name="generate.latex.cell.separator"> - <xsl:choose> - <xsl:when test="$latex.entities='catcode'"> - <xsl:text> \catcode`\&=4 &\catcode`\&=\active </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> & </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/preface.mod.xsl b/docs/docbook/xslt/db2latex/preface.mod.xsl deleted file mode 100644 index d56c0ec5cb..0000000000 --- a/docs/docbook/xslt/db2latex/preface.mod.xsl +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="preface" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Preface <filename>preface.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - -<!--############################################################################# - | Preface - +- ############################################################################# --> -<xsl:template match="preface"> -<xsl:text>\newpage </xsl:text> -<xsl:text>% ------------------------------------------------------------- </xsl:text> -<xsl:text>% Preface </xsl:text> -<xsl:text>% ------------------------------------------------------------- </xsl:text> -<xsl:text>\chapter*{</xsl:text> -<!-- Output preface title or generic text --> -<xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">preface</xsl:with-param> - </xsl:call-template> - </xsl:otherwise> -</xsl:choose> -<xsl:text>} </xsl:text> -<!-- done with title. Tag it. --> -<xsl:call-template name="label.id"/> -<!-- except title, titleabbrev and subtitle --> -<xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'subtitle' and name(.) != 'titleabbrev']"/> -</xsl:template> - - -<!--############################################################################# - | Preface Title - +- ############################################################################# --> -<xsl:template match="preface/title"> -<xsl:apply-templates/> -</xsl:template> - - -<!--############################################################################# - | Other Preface Elements - +- ############################################################################# --> -<xsl:template match="preface/titleabbrev"/> -<xsl:template match="preface/subtitle"/> -<xsl:template match="preface/docinfo|prefaceinfo"/> - - -<xsl:template match="preface/sect1|preface/simplesect"> -<xsl:text> \section*{</xsl:text> -<xsl:apply-templates select="title"/> -<xsl:text>} </xsl:text> -<xsl:apply-templates select="*[name(.) != 'title']"/> -</xsl:template> - - -<xsl:template match="preface/sect1/sect2"> -<xsl:text> \subsection*{</xsl:text> -<xsl:apply-templates select="title"/> -<xsl:text>} </xsl:text> -<xsl:apply-templates select="*[name(.) != 'title']"/> -</xsl:template> - - -<xsl:template match="preface/sect1/sect2/sect3"> -<xsl:text> \subsubsection*{</xsl:text> -<xsl:apply-templates select="title"/> -<xsl:text>} </xsl:text> -<xsl:apply-templates select="*[name(.) != 'title']"/> -</xsl:template> - - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/procedure.mod.xsl b/docs/docbook/xslt/db2latex/procedure.mod.xsl deleted file mode 100644 index c53cf39c68..0000000000 --- a/docs/docbook/xslt/db2latex/procedure.mod.xsl +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="procedure" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Procedures <filename>procedure.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - -<!--############################################################################# --> -<doc:template match="procedure" xmlns=""> -<refpurpose>Procedure XSL Template.</refpurpose> -<refdescription> -<para></para> -<programlisting><![CDATA[ -]]></programlisting> -</refdescription> -</doc:template> -<!--############################################################################# --> - -<xsl:template match="procedure"> - <xsl:variable name="placement"> - <xsl:call-template name="generate.formal.title.placement"> - <xsl:with-param name="object" select="local-name(.)" /> - </xsl:call-template> - </xsl:variable> - <xsl:choose> - <xsl:when test="$placement='before' or $placement=''"> - <xsl:apply-templates select="title" mode="procedure.title"/> - <xsl:text>\begin{enumerate} </xsl:text> - <xsl:apply-templates/> - <xsl:text>\end{enumerate} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\begin{enumerate} </xsl:text> - <xsl:apply-templates/> - <xsl:text>\end{enumerate} </xsl:text> - <xsl:apply-templates select="title" mode="procedure.title"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - - -<xsl:template match="procedure/title"> -</xsl:template> - -<xsl:template match="procedure/title" mode="procedure.title"> - <xsl:text> {</xsl:text> - <xsl:value-of select="$latex.procedure.title.style"/> - <xsl:text>{</xsl:text> - <xsl:choose> - <xsl:when test="$latex.apply.title.templates=1"> - <xsl:apply-templates/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="."/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}} </xsl:text> -</xsl:template> - - - - -<!--############################################################################# --> -<doc:template match="step" xmlns=""> -<refpurpose>Step XSL Template.</refpurpose> -<refdescription> -<para></para> -<programlisting><![CDATA[ -]]></programlisting> -</refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template match="step"> - <xsl:choose> - <xsl:when test="title"> - <xsl:text> \item{{</xsl:text> - <xsl:value-of select="$latex.step.title.style"/> <!-- by default \sc --> - <xsl:text>{</xsl:text> - <xsl:apply-templates select="title"/> - <xsl:text>}} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> \item{</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates select="*[not(self::title)]"/> - <xsl:text>} </xsl:text> - </xsl:template> - -<!-- step/title, just apply templates ########################################### --> - <xsl:template match="step/title"> - <xsl:apply-templates/> - </xsl:template> - - - - - - - - - -<!--############################################################################# --> -<doc:template match="substeps" xmlns=""> -<refpurpose>SubSteps XSL Template.</refpurpose> -<refdescription> -<para></para> -<programlisting><![CDATA[ -<xsl:template match="substeps"> - <xsl:text>\begin{enumerate} </xsl:text> - <xsl:apply-templates/> - <xsl:text>\end{enumerate} </xsl:text> -</xsl:template> -]]></programlisting> -</refdescription> -</doc:template> -<!--############################################################################# --> - -<xsl:template match="substeps"> - <xsl:text>\begin{enumerate} </xsl:text> - <xsl:apply-templates/> - <xsl:text>\end{enumerate} </xsl:text> -</xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/qandaset.mod.xsl b/docs/docbook/xslt/db2latex/qandaset.mod.xsl deleted file mode 100644 index c93d56e6b3..0000000000 --- a/docs/docbook/xslt/db2latex/qandaset.mod.xsl +++ /dev/null @@ -1,406 +0,0 @@ -<?xml version="1.0"?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -| Portions (c) Norman Walsh, official DocBook XSL stylesheets. -| See docbook.sf.net -+ ############################################################################## --> - -<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"> - - -<!--############################################################################# --> -<!-- DOCUMENTATION --> - <doc:reference xmlns="" id="qandaset"> - <referenceinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>QandaSet <filename>qandaset.mod.xsl</filename></title> - <partintro> - <section> - <title>Introduction</title> - </section> - </partintro> - </doc:reference> - - - - -<!--############################################################################# -| qandaset -|- ############################################################################# -| -+ ############################################################################# --> - -<xsl:template match="qandaset"> - <!-- get all children that are not the following --> - <xsl:variable name="preamble" select="*[name(.) != 'title' - and name(.) != 'titleabbrev' - and name(.) != 'qandadiv' - and name(.) != 'qandaentry']"/> - <xsl:variable name="label-width"/> - <xsl:variable name="table-summary"/> - <xsl:variable name="cellpadding"/> - <xsl:variable name="cellspacing"/> - <xsl:variable name="toc"/> - <xsl:variable name="toc.params"/> - <xsl:variable name="qalevel"> - <xsl:call-template name="qanda.section.level"/> - </xsl:variable> - <xsl:text>% ------------------------------------------------------------- </xsl:text> - <xsl:text>% QandASet </xsl:text> - <xsl:text>% ------------------------------------------------------------- </xsl:text> - <xsl:choose> - <xsl:when test="ancestor::sect2"> - <xsl:text>\subsubsection*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::sect1"> - <xsl:text>\subsection*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::article | ancestor::appendix"> - <xsl:text>\section*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::book"> - <xsl:text>\chapter*{</xsl:text> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>F.A.Q.</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>} </xsl:text> - <xsl:call-template name="label.id"/> - <xsl:text> </xsl:text> - - <!-- process toc --> - <xsl:if test="contains($toc.params, 'toc') and $toc != '0'"> - <xsl:call-template name="process.qanda.toc"/> - </xsl:if> - <!-- process preamble --> - <xsl:apply-templates select="$preamble"/> - <!-- process divs and entries --> - <xsl:apply-templates select="qandaentry|qandadiv"/> -</xsl:template> - - -<xsl:template match="qandaset/title"> -<xsl:apply-templates/> -</xsl:template> - - - - -<!--############################################################################# -| qandadiv -|- ############################################################################# -| -+ ############################################################################# --> - - -<xsl:template match="qandadiv"> - <!-- get the preamble --> - <xsl:variable name="preamble" select="*[name(.) != 'title' - and name(.) != 'titleabbrev' - and name(.) != 'qandadiv' - and name(.) != 'qandaentry']"/> - <xsl:variable name="qalevel"> - <xsl:call-template name="qandadiv.section.level"/> - </xsl:variable> - <!-- process the title if it exists --> - <xsl:text>% ----------- </xsl:text> - <xsl:text>% QandADiv </xsl:text> - <xsl:text>% ----------- </xsl:text> - <xsl:text>\noindent\begin{minipage}{\linewidth} </xsl:text> - <xsl:text>\vspace{0.25em}\hrule\vspace{0.25em} </xsl:text> - <xsl:choose> - <xsl:when test="ancestor::sect2"> - <xsl:text>\paragraph*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::sect1"> - <xsl:text>\subsubsection*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::article | ancestor::appendix"> - <xsl:text>\subsection*{</xsl:text> - </xsl:when> - <xsl:when test="ancestor::book"> - <xsl:text>\section*{</xsl:text> - </xsl:when> - </xsl:choose> - <xsl:choose> - <xsl:when test="title"> - <xsl:apply-templates select="title"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>F.A.Q. Part</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:text>}</xsl:text> - <xsl:call-template name="label.id"/> - <xsl:text> </xsl:text> - <xsl:text>\hrule\vspace{0.25em} </xsl:text> - <xsl:text>\end{minipage} </xsl:text> - -<!-- - <xsl:variable name="toc.params"> - </xsl:variable> - <xsl:if test="contains($toc.params, 'toc')"> - <xsl:call-template name="process.qanda.toc"/> - </xsl:if> - <xsl:if test="$preamble"> - <xsl:apply-templates select="$preamble"/> - </xsl:if> ---> -<!-- - <xsl:text>\begin{toc} </xsl:text> - <xsl:for-each select="qandaentry"> - <xsl:text>\tocref{</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>} </xsl:text> - </xsl:for-each> - <xsl:text>\end{toc} </xsl:text> ---> - -<!-- pseudo table of contents --> - <!-- - <xsl:choose> - <xsl:when test="title"> - <xsl:text>\caption{</xsl:text> - <xsl:apply-templates select="title"/> - <xsl:text>} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\caption{</xsl:text> - <xsl:text>F.A.Q. Part</xsl:text> - <xsl:text>} </xsl:text> - </xsl:otherwise> - </xsl:choose> - --> - <xsl:for-each select="qandaentry"> - <xsl:text>\noindent{}</xsl:text> - <xsl:value-of select="position()"/> - <xsl:text>.~</xsl:text> - <xsl:apply-templates select="question"/> - <xsl:if test="position()!=last()"><xsl:text>\newline </xsl:text></xsl:if> - </xsl:for-each> - <xsl:text>\vspace{0.25em}\hrule </xsl:text> - - <xsl:for-each select="qandaentry"> - <xsl:text>\vspace{1em} </xsl:text> - <xsl:text>\noindent{}</xsl:text> - <xsl:value-of select="position()"/> - <xsl:text>.~</xsl:text> - <xsl:apply-templates select="question"/> - <xsl:text>\newline </xsl:text> - <xsl:apply-templates select="answer"/> - </xsl:for-each> -<!-- <xsl:apply-templates select="qandadiv|qandaentry"/> --> -<!-- <xsl:apply-templates/> --> - <xsl:text>\vspace{1em} </xsl:text> -</xsl:template> - - - - - - - - -<!--############################################################################# -| qandadiv/title -|- ############################################################################# -| -+ ############################################################################# --> - -<xsl:template match="qandadiv/title"> - <!-- <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/> --> - <xsl:apply-templates/> -</xsl:template> - - - - -<!--############################################################################# -| question -|- ############################################################################# -| -+ ############################################################################# --> - -<xsl:template match="question"> -<!-- get the default 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="latex.qanda.defaultlabel"/> - </xsl:otherwise> - </xsl:choose> -</xsl:variable> -<!-- process the question itself -<xsl:apply-templates select="." mode="label.markup"/> -<xsl:choose> - <xsl:when test="$deflabel = 'none' and not(label)"> - <xsl:apply-templates select="*[name(.) != 'label']"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="*[name(.) != 'label']"/> - </xsl:otherwise> -</xsl:choose> ---> -<xsl:text>\textbf{Q:}~\textit{</xsl:text> -<xsl:apply-templates/> -<xsl:text>} </xsl:text> -</xsl:template> - - - - - - - - -<!--############################################################################# -| answer -|- ############################################################################# -| -+ ############################################################################# --> - -<xsl:template match="answer"> -<xsl:text>\noindent\textbf{A:}~</xsl:text> -<xsl:apply-templates/> -<xsl:text> </xsl:text> -</xsl:template> - - - - - - - -<!--############################################################################# -| label -|- ############################################################################# -| -+ ############################################################################# --> - -<xsl:template match="label"> - <xsl:apply-templates/> -</xsl:template> - - -<xsl:template name="process.qanda.toc"> - <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/> - <xsl:apply-templates select="qandaentry" mode="qandatoc.mode"/> -</xsl:template> - -<xsl:template match="qandadiv" mode="qandatoc.mode"> - <xsl:apply-templates select="title" mode="qandatoc.mode"/> - <xsl:call-template name="process.qanda.toc"/> -</xsl:template> - - - - - - -<xsl:template match="qandadiv/title" mode="qandatoc.mode"> -<xsl:variable name="qalevel"> - <xsl:call-template name="qandadiv.section.level"/> -</xsl:variable> -<xsl:call-template name="label.id"> - <xsl:with-param name="object" select="parent::*"/> -</xsl:call-template> -<xsl:apply-templates select="parent::qandadiv" mode="label.markup"/> -<xsl:value-of select="$autotoc.label.separator"/> -<xsl:apply-templates/> -</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]"/> - <xsl:apply-templates select="." mode="label.markup"/> - <xsl:text> </xsl:text> -</xsl:template> - - -<xsl:template match="answer|revhistory" mode="qandatoc.mode"> - <!-- nop --> -</xsl:template> - - - - -<xsl:template name="question.answer.label"> - <!-- variable: deflabel --> - <xsl:variable name="deflabel"> - <!-- chck whether someone has a defaultlabel attribute --> - <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="latex.qanda.defaultlabel"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - - <xsl:variable name="label" select="@label"/> - <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:stylesheet> diff --git a/docs/docbook/xslt/db2latex/refentry.mod.xsl b/docs/docbook/xslt/db2latex/refentry.mod.xsl deleted file mode 100644 index 52d2b297d5..0000000000 --- a/docs/docbook/xslt/db2latex/refentry.mod.xsl +++ /dev/null @@ -1,184 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="refentry" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authogroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authogroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>References and Entries <filename>refentry.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <!--############################################################################# - | REFERENCE - |- ############################################################################# - | - + ############################################################################## --> - <xsl:template match="reference"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates select="partintro"/> - <xsl:apply-templates select="*[local-name(.) != 'partintro']"/> - </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 match="reference/title"/> - <xsl:template match="reference/subtitle"/> - - - - <!--############################################################################# - | REFENTRY - |- ############################################################################# - | - + ############################################################################## --> - <xsl:template match="refentry"> - <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:call-template name="map.begin"> - <xsl:with-param name="string" select="$title"/> - </xsl:call-template> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="refentrytitle|refname" mode="title"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="refentry/docinfo|refentry/refentryinfo"/> - <xsl:template match="refmeta"/> - - <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 match="refentrytitle"> - <xsl:call-template name="inline.charseq"/> - </xsl:template> - - <xsl:template match="refnamediv"> - <xsl:call-template name="block.object"/> - </xsl:template> - - <xsl:template match="refname"> - <xsl:apply-templates/> - <xsl:if test="not (preceding-sibling::refname)"> - <xsl:text> \subsection*{</xsl:text> - <xsl:if test="$refentry.generate.name != 0"> - <xsl:call-template name="gentext.element.name"/> - </xsl:if> - <xsl:text>} </xsl:text> - </xsl:if> - <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:apply-templates/> - </xsl:template> - - <xsl:template match="refdescriptor"> - <!-- todo: finish this --> - </xsl:template> - - <xsl:template match="refclass"> - <xsl:if test="@role"> - <xsl:value-of select="@role"/> - <xsl:text>: </xsl:text> - </xsl:if> - <xsl:apply-templates/> - </xsl:template> - - - - <!--############################################################################# - | REFSYNOPSIS - |- ############################################################################# - | - + ############################################################################## --> - - <xsl:template match="refsynopsisdiv"> - <xsl:call-template name="label.id"/> - <xsl:text> \subsection*{Synopsis} </xsl:text> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="refsynopsisdivinfo"></xsl:template> - <xsl:template match="refsynopsisdiv/title"></xsl:template> - - - <!--############################################################################# - | REFSECTS - |- ############################################################################# - | - + ############################################################################## --> - - <xsl:template match="refsect1|refsect2|refsect3"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="refsect1/title"/> - <xsl:template match="refsect2/title"/> - <xsl:template match="refsect3/title"/> - <xsl:template match="refsect1info"/> - <xsl:template match="refsect2info"/> - <xsl:template match="refsect3info"/> - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/revision.mod.xsl b/docs/docbook/xslt/db2latex/revision.mod.xsl deleted file mode 100644 index a041aed5c3..0000000000 --- a/docs/docbook/xslt/db2latex/revision.mod.xsl +++ /dev/null @@ -1,215 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="revision" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Revision Management <filename>revision.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para> - This file defines the DB2LaTeX XSL templates for <sgmltag>revision</sgmltag> - and its children. The basic mapping is to output a LaTeX table and a table - row for each revision. - </para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revhistory" xmlns=""> - <refpurpose> revhistory XSL template </refpurpose> - <refdescription> - <formalpara><title>User variables</title> - <itemizedlist> - <listitem><para><literal>latex.output.revhistory</literal></para></listitem> - </itemizedlist> - </formalpara> - <para>This XSL template depends on the value of <literal>latex.output.revhistory</literal>. - If this variable is "1", the XSL template calls <command>map.begin</command>, then - applies templates and finally calls <command>map.end</command></para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revhistory"> - <xsl:message>RCAS: Processing Revision History </xsl:message> - <xsl:if test="$latex.output.revhistory=1"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:if> - </xsl:template> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revhistory/revision" xmlns=""> - <refpurpose> revhistory/revision XSL template </refpurpose> - <refdescription> - <para>Each revhistory/revision corresponds to a LaTeX table row (see revhistory) - containing the revision number, the date, author initials and the description/ - remarks of the revision.</para> - </refdescription> - </doc: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"/> - <!-- Row starts here --> - <xsl:if test="$revnumber"> - <xsl:call-template name="gentext.element.name"/> - <xsl:text> </xsl:text> - <xsl:apply-templates select="$revnumber"/> - </xsl:if> - <xsl:text> & </xsl:text> - <xsl:apply-templates select="$revdate"/> - <xsl:text> & </xsl:text> - <xsl:choose> - <xsl:when test="count($revauthor)=0"> - <xsl:call-template name="dingbat"> - <xsl:with-param name="dingbat">nbsp</xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$revauthor"/> - </xsl:otherwise> - </xsl:choose> - <!-- End Row here --> - <xsl:text> \\ \hline </xsl:text> - <!-- Add Remark Row if exists--> - <xsl:if test="$revremark"> - <xsl:text>\multicolumn{3}{|l|}{</xsl:text> - <xsl:apply-templates select="$revremark"/> - <!-- End Row here --> - <xsl:text>} \\ \hline </xsl:text> - </xsl:if> - </xsl:template> - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revision/authorinitials" xmlns=""> - <refpurpose> revision/authorinitials XSL template </refpurpose> - <refdescription> - <para>Applies templates and outputs a "comma" if the node position is not - last()</para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revision/authorinitials"> - <xsl:apply-templates/> - <xsl:if test="position()!=last()"> - <xsl:text>, </xsl:text> - </xsl:if> - </xsl:template> - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revision/revnumber" xmlns=""> - <refpurpose> revision/revnumber XSL template </refpurpose> - <refdescription> - <para>Applies templates.</para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revision/revnumber"> - <xsl:apply-templates/> - </xsl:template> - - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revision/date" xmlns=""> - <refpurpose> revision/date XSL template </refpurpose> - <refdescription> - <para>Applies templates.</para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revision/date"> - <xsl:apply-templates/> - </xsl:template> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revision/revremark" xmlns=""> - <refpurpose> revision/revremark XSL template </refpurpose> - <refdescription> - <para>Applies templates.</para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revision/revremark"> - <xsl:apply-templates/> - </xsl:template> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="revision/revdescription" xmlns=""> - <refpurpose> revision/revdescription XSL template </refpurpose> - <refdescription> - <para>Applies templates.</para> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="revision/revdescription"> - <xsl:apply-templates/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/sections.mod.xsl b/docs/docbook/xslt/db2latex/sections.mod.xsl deleted file mode 100644 index 2e74ce3890..0000000000 --- a/docs/docbook/xslt/db2latex/sections.mod.xsl +++ /dev/null @@ -1,147 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: sections. -| PENDING: -| - Nested section|simplesect > 3 mapped to subsubsection* -| - No sectinfo (!) -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="sections" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authogroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authogroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Sections <filename>sections.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - - <xsl:template match="sect1|sect2|sect3|sect4|sect5"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="sect1/title"/> - <xsl:template match="sect2/title"/> - <xsl:template match="sect3/title"/> - <xsl:template match="sect4/title"/> - <xsl:template match="sect5/title"/> - - - <xsl:template match="section"> - <xsl:text> </xsl:text> - <xsl:variable name="level" select="count(ancestor::section)+1"/> - <xsl:choose> - <xsl:when test='$level=1'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect1'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=2'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect2'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=3'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect3'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=4'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect4'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=5'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect5'"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:message>DB2LaTeX: recursive section|simplesect > 5 Not well Supported</xsl:message> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect6'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates/> - </xsl:template> - - - <xsl:template match="simplesect"> - <xsl:text> </xsl:text> - <xsl:variable name="level" select="count(ancestor::section) + 1"/> - <xsl:choose> - <xsl:when test='$level=1'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect1'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=2'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect2'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=3'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect3'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=4'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect4'"/> - </xsl:call-template> - </xsl:when> - <xsl:when test='$level=5'> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect5'"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:message>DB2LaTeX: recursive section|simplesect > 5 Not well Supported</xsl:message> - <xsl:call-template name="map.begin"> - <xsl:with-param name="keyword" select="'sect6'"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="section/title"/> - <xsl:template match="simplesect/title"/> - - <xsl:template match="sectioninfo"/> - <xsl:template match="sect1info"/> - <xsl:template match="sect2info"/> - <xsl:template match="sect3info"/> - <xsl:template match="sect4info"/> - <xsl:template match="sect5info"/> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/set.mod.xsl b/docs/docbook/xslt/db2latex/set.mod.xsl deleted file mode 100644 index 8f87fb1071..0000000000 --- a/docs/docbook/xslt/db2latex/set.mod.xsl +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="set" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Sets <filename>set.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - <xsl:template match="set"> - <xsl:call-template name="label.id"/> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="set/setinfo"></xsl:template> - <xsl:template match="set/title"></xsl:template> - <xsl:template match="set/subtitle"></xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/sgmltag.mod.xsl b/docs/docbook/xslt/db2latex/sgmltag.mod.xsl deleted file mode 100644 index 893a2b6d4d..0000000000 --- a/docs/docbook/xslt/db2latex/sgmltag.mod.xsl +++ /dev/null @@ -1,154 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="sgmltag" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authogroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authogroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>SGML Tags <filename>sgmltag.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <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="normalize-space(@class)"/> - </xsl:when> - <xsl:otherwise>element</xsl:otherwise> - </xsl:choose> - </xsl:param> - - <xsl:choose> - <xsl:when test="$class='attribute'"> - <xsl:call-template name="inline.charseq"/> - </xsl:when> - <xsl:when test="$class='attvalue'"> - <xsl:call-template name="inline.monoseq"/> - </xsl:when> - <xsl:when test="$class='element'"> - <xsl:call-template name="inline.monoseq"/> - </xsl:when> - <xsl:when test="$class='endtag'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text></</xsl:text> - <xsl:apply-templates/> - <xsl:text>></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='genentity'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text>\&</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='numcharref'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text>\&\#</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='paramentity'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text>\%</xsl:text> - <xsl:apply-templates/> - <xsl:text>;</xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='pi'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><?</xsl:text> - <xsl:apply-templates/> - <xsl:text>?></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='xmlpi'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><?</xsl:text> - <xsl:apply-templates/> - <xsl:text>?></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='starttag'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><</xsl:text> - <xsl:apply-templates/> - <xsl:text>></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='emptytag'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><</xsl:text> - <xsl:apply-templates/> - <xsl:text>/></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:when test="$class='sgmlcomment'"> - <xsl:call-template name="inline.monoseq"> - <xsl:with-param name="content"> - <xsl:text><!--</xsl:text> - <xsl:apply-templates/> - <xsl:text>--></xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="inline.charseq"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/synop-oop.mod.xsl b/docs/docbook/xslt/db2latex/synop-oop.mod.xsl deleted file mode 100644 index 93b29c1229..0000000000 --- a/docs/docbook/xslt/db2latex/synop-oop.mod.xsl +++ /dev/null @@ -1,689 +0,0 @@ -<?xml version='1.0'?> -<!DOCTYPE xsl:stylesheet [ <!ENTITY RE " "> ]> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> - <!--############################################################################# - |- ############################################################################# - | - | PURPOSE: - + ############################################################################## --> - - - - <xsl:template match="classsynopsis"> - <!-- PARAM language : --> - <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>Unrecognized language on classsynopsis: <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> - - - - - - <!-- ===== 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> - - <xsl:apply-templates mode="java"/> - - </xsl:template> - - <xsl:template match="modifier" mode="java"> - - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="classname" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="java"/> - - </xsl:template> - - <xsl:template match="interfacename" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="java"/> - - </xsl:template> - - <xsl:template match="exceptionname" mode="java"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="java"/> - - </xsl:template> - - <xsl:template match="fieldsynopsis" mode="java"> - - <xsl:text> </xsl:text> - <xsl:apply-templates mode="java"/> - <xsl:text>;</xsl:text> - - </xsl:template> - - <xsl:template match="type" mode="java"> - - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="varname" mode="java"> - - <xsl:apply-templates mode="java"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="initializer" mode="java"> - - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="java"/> - - </xsl:template> - - <xsl:template match="void" mode="java"> - - <xsl:text>void </xsl:text> - - </xsl:template> - - <xsl:template match="methodname" mode="java"> - - <xsl:apply-templates mode="java"/> - </xsl:template> - - - - - <xsl:template match="methodparam" mode="java"> - <!-- PARAM: indent := 0 --> - <xsl:param name="indent">0</xsl:param> - <xsl:if test="position() > 1"> - <xsl:text>,&RE;</xsl:text> - <xsl:if test="$indent > 0"> - <!-- RCAS FIXME: copy-string does not exist - <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> - <xsl:apply-templates mode="java"/> - </xsl:template> - - - - <xsl:template match="parameter" mode="java"> - <xsl:apply-templates mode="java"/> - </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> - - - <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> - - </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> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="modifier" mode="cpp"> - - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="classname" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="interfacename" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="exceptionname" mode="cpp"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="fieldsynopsis" mode="cpp"> - - <xsl:text> </xsl:text> - <xsl:apply-templates mode="cpp"/> - <xsl:text>;</xsl:text> - - </xsl:template> - - <xsl:template match="type" mode="cpp"> - - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="varname" mode="cpp"> - - <xsl:apply-templates mode="cpp"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="initializer" mode="cpp"> - - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="void" mode="cpp"> - - <xsl:text>void </xsl:text> - - </xsl:template> - - <xsl:template match="methodname" mode="cpp"> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="methodparam" mode="cpp"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="cpp"/> - - </xsl:template> - - <xsl:template match="parameter" mode="cpp"> - - <xsl:apply-templates mode="cpp"/> - - </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> - - <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> - - </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> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="modifier" mode="idl"> - - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="classname" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="interfacename" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="exceptionname" mode="idl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="fieldsynopsis" mode="idl"> - - <xsl:text> </xsl:text> - <xsl:apply-templates mode="idl"/> - <xsl:text>;</xsl:text> - - </xsl:template> - - <xsl:template match="type" mode="idl"> - - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="varname" mode="idl"> - - <xsl:apply-templates mode="idl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="initializer" mode="idl"> - - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="void" mode="idl"> - - <xsl:text>void </xsl:text> - - </xsl:template> - - <xsl:template match="methodname" mode="idl"> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="methodparam" mode="idl"> - <xsl:if test="position() > 1"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="idl"/> - - </xsl:template> - - <xsl:template match="parameter" mode="idl"> - - <xsl:apply-templates mode="idl"/> - - </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> - - <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> - - </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> - - <xsl:apply-templates mode="perl"/> - - </xsl:template> - - <xsl:template match="modifier" mode="perl"> - - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="classname" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'classname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="perl"/> - - </xsl:template> - - <xsl:template match="interfacename" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'interfacename'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="perl"/> - - </xsl:template> - - <xsl:template match="exceptionname" mode="perl"> - <xsl:if test="name(preceding-sibling::*[1]) = 'exceptionname'"> - <xsl:text>, </xsl:text> - </xsl:if> - - <xsl:apply-templates mode="perl"/> - - </xsl:template> - - <xsl:template match="fieldsynopsis" mode="perl"> - - <xsl:text> </xsl:text> - <xsl:apply-templates mode="perl"/> - <xsl:text>;</xsl:text> - - </xsl:template> - - <xsl:template match="type" mode="perl"> - - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="varname" mode="perl"> - - <xsl:apply-templates mode="perl"/> - <xsl:text> </xsl:text> - - </xsl:template> - - <xsl:template match="initializer" mode="perl"> - - <xsl:text>= </xsl:text> - <xsl:apply-templates mode="perl"/> - - </xsl:template> - - <xsl:template match="void" mode="perl"> - - <xsl:text>void </xsl:text> - - </xsl:template> - - - - <xsl:template match="methodname" mode="perl"> - <xsl:apply-templates mode="perl"/> - </xsl:template> - - <xsl:template match="methodparam" mode="perl"> - <xsl:if test="position() > 1"> <xsl:text>, </xsl:text> </xsl:if> - <xsl:apply-templates mode="perl"/> - </xsl:template> - - - <xsl:template match="parameter" mode="perl"> - <xsl:apply-templates mode="perl"/> - </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> - - <xsl:text>sub </xsl:text> - - <xsl:apply-templates select="methodname" mode="perl"/> - <xsl:text> { ... };</xsl:text> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/synop-struct.mod.xsl b/docs/docbook/xslt/db2latex/synop-struct.mod.xsl deleted file mode 100644 index 1ffe2fc463..0000000000 --- a/docs/docbook/xslt/db2latex/synop-struct.mod.xsl +++ /dev/null @@ -1,246 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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="synopsis"> - <xsl:call-template name="label.id"/> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="cmdsynopsis"> - <xsl:call-template name="label.id"/> - <xsl:text> \begin{list}{}{\setlength{\itemindent}{-\leftmargin}\setlength{\parsep}{0mm}} </xsl:text> - <xsl:if test="@label!=''"> - <xsl:text>\item\textbf{</xsl:text> - <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="@label"/></xsl:call-template> - <xsl:text>} </xsl:text> - </xsl:if> - <xsl:text>\item\raggedright\texttt{</xsl:text> - <xsl:apply-templates/> - <xsl:text>} </xsl:text> - <xsl:text>\end{list} </xsl:text> - </xsl:template> - - - <xsl:template match="cmdsynopsis/command"> - <xsl:apply-templates /> - </xsl:template> - - - <xsl:template match="cmdsynopsis//replaceable" priority="2"> - <xsl:text>{\itshape </xsl:text> - <xsl:apply-templates /> - <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"> - <xsl:text> </xsl:text> - </xsl:template> - - <!-- ==================================================================== --> - - <xsl:template match="synopfragmentref"> - <!-- VAR target : --> - <xsl:variable name="target" select="id(@linkend)"/> - <!-- VAR snum : --> - <xsl:variable name="snum"> - <xsl:apply-templates select="$target" mode="synopfragment.number"/> - </xsl:variable> - - <xsl:text> {\em (</xsl:text> <xsl:value-of select="$snum"/> <xsl:text>) }</xsl:text> - </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"> - <xsl:call-template name="verbatim.apply.templates"/> - </xsl:template> - - - <xsl:template match="funcprototype"> - <xsl:apply-templates/> - <xsl:if test="$funcsynopsis.style='kr'"> - <xsl:apply-templates select="./paramdef" mode="kr-funcsynopsis-mode"/> - </xsl:if> - </xsl:template> - - <xsl:template match="funcdef"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="funcdef/function"> - <xsl:choose> - <xsl:when test="$funcsynopsis.decoration != 0"> - <xsl:text>\textbf{ </xsl:text><xsl:apply-templates/><xsl:text> } </xsl:text> - </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"> - <!-- VAR paramnum --> - <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"> - <xsl:apply-templates/> - </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"> - \newline - <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:stylesheet> diff --git a/docs/docbook/xslt/db2latex/table.mod.xsl b/docs/docbook/xslt/db2latex/table.mod.xsl deleted file mode 100644 index 0edb4ad2cc..0000000000 --- a/docs/docbook/xslt/db2latex/table.mod.xsl +++ /dev/null @@ -1,743 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="table" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <firstname>Ramon</firstname> <surname>Casellas</surname> - <firstname>James</firstname> <surname>Devenish</surname> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>Tables <filename>table.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="table|informaltable" xmlns=""> - <refpurpose>XSL template for docbook tables. </refpurpose> - <refdescription> - <para></para> - <formalpara><title>Remarks and Bugs</title> - <itemizedlist> - </itemizedlist> - </formalpara> - <formalpara><title>Default Behaviour</title> - <screen></screen> - </formalpara> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="table"> - <xsl:variable name="placement"> - <xsl:call-template name="generate.formal.title.placement"> - <xsl:with-param name="object" select="local-name(.)" /> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="caption"> - <xsl:text>\caption{</xsl:text> - <xsl:apply-templates select="title" mode="caption.mode"/> - <xsl:text>} </xsl:text> - </xsl:variable> - <xsl:call-template name="map.begin"/> - <xsl:if test="$placement='before'"> - <xsl:text>\captionswapskip{}</xsl:text> - <xsl:value-of select="$caption" /> - <xsl:text>\captionswapskip{}</xsl:text> - </xsl:if> - <xsl:apply-templates/> - <xsl:if test="$placement!='before'"><xsl:value-of select="$caption" /></xsl:if> - <xsl:call-template name="map.end"/> - </xsl:template> - - <xsl:template match="table/title"/> - <xsl:template match="table/title" mode="caption.mode"><xsl:apply-templates /></xsl:template> - - <xsl:template match="informaltable"> - <xsl:call-template name="map.begin"/> - <xsl:apply-templates/> - <xsl:call-template name="map.end"/> - </xsl:template> - - - <xsl:template name="table.format.tabularx"> - <xsl:param name="cols" select="1"/> - <xsl:param name="i" select="1"/> - <xsl:param name="colsep" select="1"/> - <!-- sum of numeric portions in 1*-like colwidths --> - <xsl:param name="starfactor" select="0"/> - <xsl:choose> - <!-- Out of the recursive iteration --> - <xsl:when test="$i > $cols"></xsl:when> - <!-- There are still columns to count --> - <xsl:otherwise> - <xsl:variable name="width"> - <xsl:variable name="userchoice" select="colspec[@colnum=$i]/@colwidth"/> - <xsl:variable name="cells" select="thead/row/entry[$i]|tbody/row/entry[$i]"/> - <xsl:choose> - <xsl:when test="string-length($userchoice)=0 and count($cells//itemizedlist|$cells//orderedlist|$cells//variablelist)>0"> - <!-- In these specific circumstances, we MUST use a line-wrapped column - and yet the user hasn't specified one. --> - <xsl:value-of select="'1*'"/> - </xsl:when> - <xsl:otherwise> - <!-- In the general case, we just do what the user wants (may even - have no pre-specified width). --> - <xsl:value-of select="$userchoice"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <!-- Try to take heed of colspecs --> - <xsl:choose> - <xsl:when test="$width!=''"> - <xsl:text>>{</xsl:text> - <xsl:if test="contains($width,'*')"> - <!-- see tabularx documentation --> - <xsl:text>\hsize=</xsl:text> - <xsl:value-of select="substring-before($width,'*') * $starfactor" /> - <xsl:text>\hsize</xsl:text> - </xsl:if> - <xsl:choose> - <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>\RaggedRight</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>\RaggedLeft</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>\Centering</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when> - </xsl:choose> - <xsl:text>}</xsl:text> - <xsl:choose> - <xsl:when test="contains($width,'*')"> - <xsl:text>X</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>p{</xsl:text><xsl:value-of select="$width" /><xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="$i<$cols and $colsep='1'"> - <xsl:text>|</xsl:text> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>l</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>r</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>c</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='justify'"><xsl:text>X</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:text>c</xsl:text><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when> - <xsl:otherwise><xsl:text>c</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:if test="$i<$cols and $colsep='1'"> - <xsl:text>|</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - <!-- Recursive for next column --> - <xsl:call-template name="table.format.tabularx"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="starfactor" select="$starfactor"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - <!-- FIX THIS --> - <xsl:template name="table.format.tabular"> - <xsl:param name="cols" select="1"/> - <xsl:param name="i" select="1"/> - <xsl:param name="colsep" select="1"/> - <xsl:choose> - <!-- Out of the recursive iteration --> - <xsl:when test="$i > $cols"></xsl:when> - <!-- There are still columns to count --> - <xsl:otherwise> - <!-- Try to take heed of colspecs --> - <xsl:choose> - <!-- RC 2003/03/19 : Added first 'test' : colspec[@colnum=$i] for xsltproc - Before this patch, parsing the doc with xsltproc the xsl:when clause - was evaluated to 'true' even if there was no colspec for the column - --> - <xsl:when test="colspec[@colnum=$i] and colspec[@colnum=$i]/@colwidth!='' and not(contains(colspec[@colnum=$i]/@colwidth,'*'))"> - <xsl:choose> - <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>>{\RaggedRight}</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>>{\RaggedLeft}</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>>{\Centering}</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when> - </xsl:choose> - <xsl:text>p{</xsl:text><xsl:value-of select="colspec[@colnum=$i]/@colwidth" /><xsl:text>}</xsl:text> - <xsl:if test="$i<$cols and $colsep='1'"> - <xsl:text>|</xsl:text> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="colspec[@colnum=$i]/@align='left'"><xsl:text>l</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='right'"><xsl:text>r</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='center'"><xsl:text>c</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='justify'"><xsl:text>l</xsl:text></xsl:when> - <xsl:when test="colspec[@colnum=$i]/@align='char'"><xsl:text>c</xsl:text><xsl:message>Table column char alignment is not supported.</xsl:message></xsl:when> - <xsl:otherwise><xsl:text>c</xsl:text></xsl:otherwise> - </xsl:choose> - <xsl:if test="$i<$cols and $colsep='1'"> - <xsl:text>|</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - <!-- Recursive for next column --> - <xsl:call-template name="table.format.tabular"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - <!-- See tabularx documentation. --> - <!-- For example, if we have a 1* column and a 3* column, then the - the hsizes for each column are (1/(1+3)*2) and (3/(1+3)*2). - The ratio of these to the star values (star values being 1 and 3) - is 2/(1+3). - BUT it is now very complicated because it takes into account columns - where the user has not specified a width but LaTeX requires a - fixed-width column (i.e. specialcols may vary). - Relies on there being (a) colspecs for every column or (b) no - colspecs. - --> - <xsl:template name="generate.starfactor"> - <xsl:param name="i" select="1"/> - <xsl:param name="cols" select="count(colspec)"/> - <xsl:param name="sum" select="0"/> - <xsl:param name="specialcols" select="count(colspec[contains(@colwidth,'*')])"/> - <xsl:choose> - <xsl:when test="$i<=$cols and colspec[position()=$i and contains(@colwidth,'*')]"> - <!-- a * column --> - <xsl:call-template name="generate.starfactor"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="sum" select="$sum+substring-before(colspec[$i]/@colwidth,'*')"/> - <xsl:with-param name="specialcols" select="$specialcols"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$i<=$cols"> - <!-- not a * column, but we are going to pretend that it is --> - <xsl:variable name="cells" select="thead/row/entry[$i]|tbody/row/entry[$i]"/> - <xsl:variable name="problems" select="count($cells//itemizedlist|$cells//orderedlist|$cells//variablelist)"/> - <xsl:choose> - <xsl:when test="$problems > 0"> - <xsl:call-template name="generate.starfactor"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="sum" select="$sum+1"/> - <xsl:with-param name="specialcols" select="$specialcols+1"/> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.starfactor"> - <xsl:with-param name="i" select="$i+1"/> - <xsl:with-param name="cols" select="$cols"/> - <xsl:with-param name="sum" select="$sum"/> - <xsl:with-param name="specialcols" select="$specialcols"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$specialcols div $sum"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - <xsl:template match="tgroup"> - <xsl:variable name="align" select="@align"/> - <xsl:variable name="frame"> - <xsl:choose> - <xsl:when test="string-length(../@frame)<1">all</xsl:when> - <xsl:otherwise> - <xsl:value-of select="../@frame"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="colspecs" select="./colspec"/> - <xsl:variable name="usex"> - <xsl:choose> - <!-- if there are lists within cells, we need tabularx --> - <xsl:when test="$latex.use.tabularx=1 and (descendant::itemizedlist|descendant::orderedlist|descendant::variablelist)"> - <xsl:text>1</xsl:text> - </xsl:when> - <!-- if there are instances of 1*-style colwidths, we need tabularx --> - <xsl:when test="$latex.use.tabularx=1 and contains(colspec/@colwidth,'*')"> - <xsl:text>1</xsl:text> - </xsl:when> - <!-- if there are colspecs with 'justify' alignment and no explicit width, we need tabularx --> - <xsl:when test="$latex.use.tabularx=1 and count(colspec[@align='justify'])>0"> - <xsl:text>1</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>0</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="useminipage"> - <!-- Hack to get around LaTeX issue with tabular (not necessary with tabularx). - This is NOT a good solution, and has problems of its own, but at least the footnotes - do not actually disappear (which is what would otherwise happen). --> - <xsl:if test="count(.//footnote)!=0">1</xsl:if> - </xsl:variable> - <xsl:choose> - <xsl:when test="$usex='1'"> - <xsl:text>\begin{tabularx}{\linewidth}{</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$useminipage='1'"><xsl:text>\begin{minipage}{\linewidth} </xsl:text></xsl:if> - <xsl:text>\begin{tabular}{</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="$frame='all' or $frame='sides'"> - <xsl:text>|</xsl:text> - </xsl:if> - <xsl:choose> - <xsl:when test="$usex=1"> - <xsl:call-template name="table.format.tabularx"> - <xsl:with-param name="cols" select="@cols"/> - <xsl:with-param name="starfactor"> - <xsl:call-template name="generate.starfactor"> - <xsl:with-param name="cols" select="@cols"/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="table.format.tabular"> - <xsl:with-param name="cols" select="@cols"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="$frame='all' or $frame='sides'"> - <xsl:text>|</xsl:text> - </xsl:if> - <xsl:text>} </xsl:text> - <xsl:if test="$frame!='sides' and $frame!='none' and $frame!='bottom'"> - <xsl:text>\hline </xsl:text> - </xsl:if> - <!-- APPLY TEMPLATES --> - <xsl:apply-templates/> - <!-- --> - <xsl:if test="$frame!='sides' and $frame!='none' and $frame!='top'"> - <xsl:text>\hline </xsl:text> - </xsl:if> - <xsl:choose> - <xsl:when test="$usex=1"> - <xsl:text>\end{tabularx} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\end{tabular} </xsl:text> - <xsl:if test="$useminipage='1'"><xsl:text>\end{minipage} </xsl:text></xsl:if> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - <!-- - <xsl:template name="generate.col"> - <xsl:param name="countcol">1</xsl:param> - </xsl:template> - --> - - <xsl:template match="colspec"></xsl:template> - <xsl:template match="spanspec"></xsl:template> - - - - - <xsl:template match="thead|tfoot"> - <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/> - </xsl:template> - - <xsl:template match="thead/row/entry|tfoot/row/entry"> - <xsl:call-template name="latex.entry.prealign"/> - <xsl:call-template name="latex.thead.row.entry"/> - <xsl:call-template name="latex.entry.postalign"/> - <xsl:choose> - <xsl:when test="position()=last()"><xsl:text> \tabularnewline </xsl:text></xsl:when> - <xsl:otherwise><xsl:call-template name="generate.latex.cell.separator"/></xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="tbody"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="row"> - <xsl:apply-templates/> - </xsl:template> - - <xsl:template match="tbody/row|thead/row|tfoot/row"> - <xsl:apply-templates/> - <!-- The rule below the last row in the table is controlled by the - Frame attribute of the enclosing Table or InformalTable and the RowSep - of the last row is ignored. If unspecified, this attribute is - inherited from enclosing elements, rowsep=1 by default. --> - <xsl:variable name="parent_position" select="count(../preceding-sibling::node())+1"/> - <xsl:variable name="grandparent_children" select="count(../../child::node())"/> - <xsl:if test="(count(@rowsep)=0 or @rowsep='1') and (position() != last() or $parent_position < $grandparent_children)"> - <xsl:text> \hline </xsl:text> - </xsl:if> - </xsl:template> - - - <xsl:template match="tbody/row/entry"> - <xsl:call-template name="latex.entry.prealign"/> - <xsl:apply-templates/> - <xsl:call-template name="latex.entry.postalign"/> - <xsl:choose> - <xsl:when test="position()=last()"><xsl:text> \tabularnewline </xsl:text></xsl:when> - <xsl:otherwise><xsl:call-template name="generate.latex.cell.separator"/></xsl:otherwise> - </xsl:choose> - </xsl:template> - - - <xsl:template name="latex.entry.prealign"> - <xsl:variable name="span"> - <xsl:choose> - <xsl:when test="@spanname!=''"> - <xsl:call-template name="calculate.colspan"> - <xsl:with-param name="namest" select="../../../spanspec[@spanname=@spanname]/@namest"/> - <xsl:with-param name="nameend" select="../../../spanspec[@spanname=@spanname]/@nameend"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="@namest!=''"> - <xsl:call-template name="calculate.colspan"/> - </xsl:when> - <xsl:otherwise>-1</xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:if test="$span > 1"> - <xsl:text>\multicolumn{</xsl:text> - <xsl:value-of select="$span"/> - <xsl:text>|}{</xsl:text><!-- TODO take heed of @colsep --> - <xsl:choose> - <xsl:when test="@align='left'"><xsl:text>l</xsl:text></xsl:when> - <xsl:when test="@align='right'"><xsl:text>r</xsl:text></xsl:when> - <xsl:when test="@align='center'"><xsl:text>c</xsl:text></xsl:when> - <xsl:when test="@align='char'">c<xsl:message>Table entry char alignment is not supported.</xsl:message></xsl:when> - <xsl:otherwise>c</xsl:otherwise> - </xsl:choose> - <!-- use this as a hook for some general warnings --> - <xsl:text>}</xsl:text> - </xsl:if> - <!-- this is used when the entry's align spec wants to override the column default --> - <xsl:if test="$span < 1"> - <xsl:choose> - <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignll </xsl:text></xsl:when> - <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrl </xsl:text></xsl:when> - <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncl </xsl:text></xsl:when> - <xsl:when test="@align='char'"><xsl:message>Table entry char alignment is not supported.</xsl:message></xsl:when> - </xsl:choose> - </xsl:if> - <xsl:text>{</xsl:text> - <xsl:if test="@rotate='1'"> - <xsl:text>\rotatebox{90}</xsl:text> - <xsl:if test="@align!=''"><xsl:message>entry[@rotate='1' and @align!=''] probably doesn't work.</xsl:message></xsl:if> - </xsl:if> - <xsl:text>{</xsl:text> - <!-- use this as a hook for some general warnings --> - <xsl:if test="@morerows!=''"><xsl:message>The morerows attribute is not supported.</xsl:message></xsl:if> - </xsl:template> - - <xsl:template name="latex.entry.postalign"> - <xsl:text>}}</xsl:text> - <!-- this is used when the entry's align spec wants to override the column default --> - <xsl:if test="@namest='' and @spanspec=''"><!-- TODO improve --> - <xsl:choose> - <xsl:when test="@align='left'"><xsl:text>\docbooktolatexalignlr </xsl:text></xsl:when> - <xsl:when test="@align='right'"><xsl:text>\docbooktolatexalignrr </xsl:text></xsl:when> - <xsl:when test="@align='center'"><xsl:text>\docbooktolatexaligncr </xsl:text></xsl:when> - </xsl:choose> - </xsl:if> - </xsl:template> - - - - - - - - - - - - - - <xsl:template name="process.cell"> - <xsl:param name="cellgi">td</xsl:param> - <xsl:variable name="empty.cell" select="count(node()) = 0"/> - - <xsl:element name="{$cellgi}"> - <xsl:if test="@morerows"> - <xsl:attribute name="rowspan"> - <xsl:value-of select="@morerows+1"/> - </xsl:attribute> - </xsl:if> - <xsl:if test="@namest"> - <xsl:attribute name="colspan"> - <xsl:call-template name="calculate.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="@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:choose> - <xsl:when test="$empty.cell"> - <xsl:text> </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:element> - </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/@align"> - <xsl:attribute name="align"> - <xsl:value-of select="$colspec/@align"/> - </xsl:attribute> - </xsl:if> - <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.colnum"> - <!-- 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:param name="colnum">1</xsl:param> - <xsl:choose> - <xsl:when test="$count>count($colspecs)"></xsl:when> - <xsl:otherwise> - <xsl:variable name="colspec" select="$colspecs[$count=position()]"/> - <!-- - <xsl:value-of select="$count"/>: - <xsl:value-of select="$colspec/@colname"/>= - <xsl:value-of select="$colnum"/> - --> - <xsl:choose> - <xsl:when test="$colspec/@colname=$colname"> - <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:when> - <xsl:otherwise> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colname" select="$colname"/> - <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:template name="calculate.colspan"> - <xsl:param name="namest" select="@namest"/> - <xsl:param name="nameend" select="@nameend"/> - <xsl:variable name="scol"> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colname" select="$namest"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="ecol"> - <xsl:call-template name="colspec.colnum"> - <xsl:with-param name="colname" select="$nameend"/> - </xsl:call-template> - </xsl:variable> - <xsl:value-of select="$ecol - $scol + 1"/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/texmath.mod.xsl b/docs/docbook/xslt/db2latex/texmath.mod.xsl deleted file mode 100644 index 47036c56ac..0000000000 --- a/docs/docbook/xslt/db2latex/texmath.mod.xsl +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - - -<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'> - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="texmath" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>LaTeX Only Commands <filename>texmath.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - - <xsl:template match="alt"> - <xsl:choose> - <xsl:when test="ancestor::inlineequation and (@role='tex' or @role='latex' or $latex.alt.is.latex='1')"> - <xsl:text>\ensuremath{</xsl:text> - <xsl:value-of select="."/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="ancestor::equation|ancestor::informalequation and (@role='tex' or @role='latex' or $latex.alt.is.latex='1')"> - <xsl:text>\begin{displaymath}</xsl:text> - <xsl:call-template name="label.id"/> - <xsl:value-of select="."/> - <xsl:text>\end{displaymath} </xsl:text> - </xsl:when> - <xsl:when test="$latex.alt.is.latex='1'"> - <xsl:value-of select="."/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template match="latex|tex"> - <xsl:value-of select="."/> - </xsl:template> - - <xsl:template match="latex[@fileref]"> - <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>} </xsl:text> - </xsl:template> - - <xsl:template match="tex[@fileref]"> - <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>} </xsl:text> - </xsl:template> - - - <xsl:template match="tm[@fileref]"> - <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>} </xsl:text> - </xsl:template> - - <xsl:template match="tm[@tex]"> - <xsl:value-of select="@tex"/> - </xsl:template> - - <xsl:template match="inlinetm[@fileref]"> - <xsl:text>\input{</xsl:text><xsl:value-of select="@fileref"/><xsl:text>} </xsl:text> - </xsl:template> - - <xsl:template match="inlinetm[@tex]"> - <xsl:value-of select="@tex"/> - </xsl:template> - - - <xsl:template match="inlineequation"> - <xsl:variable name="tex" select="alt[@role='tex' or @role='latex']|inlinemediaobject/textobject[@role='tex' or @role='latex']|inlinemediaobject/textobject/phrase[@role='tex' or @role='latex']" /> - <xsl:choose> - <xsl:when test="$tex"> - <xsl:apply-templates select="$tex"/> - </xsl:when> - <xsl:when test="alt and $latex.alt.is.preferred='1'"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:when test="inlinemediaobject"> - <xsl:apply-templates select="inlinemediaobject"/> - </xsl:when> - <xsl:when test="alt"> - <xsl:apply-templates select="alt"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="graphic"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/vars.mod.xsl b/docs/docbook/xslt/db2latex/vars.mod.xsl deleted file mode 100644 index e20fb59ce2..0000000000 --- a/docs/docbook/xslt/db2latex/vars.mod.xsl +++ /dev/null @@ -1,937 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: User and stylesheets XSL variables -+ ############################################################################## --> - -<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'> - - - <doc:reference id="vars" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author><surname>Casellas</surname><firstname>Ramon</firstname></author> - <author><surname>Devenish</surname><firstname>James</firstname></author> - </authorgroup> - <copyright> - <year>2000</year><year>2001</year><year>2002</year><year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - - <title>XSL Variables and Parameters</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> - </section> - </partintro> - </doc:reference> - - - <!--############################################################################# - | COMMON VARIABLES - |- ############################################################################# - | - + ############################################################################## --> - <xsl:variable name="default-classsynopsis-language">java</xsl:variable> - - <xsl:variable name="author.othername.in.middle" select="1"/> - <xsl:variable name="refentry.xref.manvolnum" select="1"/> - <xsl:variable name="funcsynopsis.style">kr</xsl:variable> - <xsl:variable name="funcsynopsis.decoration" select="1"/> - <xsl:variable name="function.parens">0</xsl:variable> - <xsl:variable name="refentry.generate.name" select="1"/> - - <doc:param name="show.comments" xmlns=""> - <refpurpose> Display <sgmltag class="element">comment</sgmltag> elements? </refpurpose> - <refdescription> - <para>Control the display of <sgmltag class="element">comment</sgmltag>s and <sgmltag class="element">remark</sgmltag>s.</para> - </refdescription> - </doc:param> - <xsl:param name="show.comments" select="1"/> - - <xsl:variable name="section.autolabel" select="1"/> - <xsl:variable name="section.label.includes.component.label" select="0"/> - <xsl:variable name="chapter.autolabel" select="1"/> - <xsl:variable name="preface.autolabel" select="0"/> - <xsl:variable name="part.autolabel" select="1"/> - <xsl:variable name="qandadiv.autolabel" select="1"/> - <xsl:variable name="autotoc.label.separator" select="'. '"/> - <xsl:variable name="qanda.inherit.numeration" select="1"/> - <xsl:variable name="qanda.defaultlabel">number</xsl:variable> - <xsl:param name="biblioentry.item.separator">, </xsl:param> - <doc:param name="toc.section.depth" xmlns=""> - <refpurpose> Cull table-of-contents entries that are deeply nested </refpurpose> - <refdescription> - <para>Specifies the maximum depth before sections are omitted from the table of contents.</para> - </refdescription> - </doc:param> - <xsl:param name="toc.section.depth">4</xsl:param> - - <doc:param name="section.depth" xmlns=""> - <refpurpose> Control the automatic numbering of section, parts, and chapters </refpurpose> - <refdescription> - <para> - Specifies the maximum depth before sections cease to be uniquely numbered. - This is passed to LaTeX using the <literal>secnumdepth</literal> counter. - Therefore, it is possible to use a value of <quote>0</quote> (zero) to disable section numbering. - A value of <quote>-1</quote> will disable the numbering of parts and chapters, too. - </para> - </refdescription> - </doc:param> - <xsl:param name="section.depth">4</xsl:param> - <xsl:variable name="graphic.default.extension"></xsl:variable> - <xsl:variable name="check.idref">1</xsl:variable> - <!-- - <xsl:variable name="link.mailto.url"></xsl:variable> - <xsl:variable name="toc.list.type">dl</xsl:variable> - --> - - <doc:param name="use.role.for.mediaobject" xmlns=""> - <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose> - <refdescription> - <para>This controls how DB2LaTeX behaves when a <sgmltag class="element">figure</sgmltag> contains - multiple <sgmltag class="element">mediaobject</sgmltag>s. When enabled, DB2LaTeX will choose - the mediaobject with the "LaTeX" or "TeX" role, if present. Otherwise, the first mediaobject - is chosen.</para> - </refdescription> - </doc:param> - <xsl:param name="use.role.for.mediaobject">1</xsl:param> - - <doc:param name="preferred.mediaobject.role" xmlns=""> - <refpurpose> Control <sgmltag class="element">mediaobject</sgmltag> selection methods </refpurpose> - <refdescription> - <para>When <xref linkend="param.use.role.for.mediaobject"/> is enabled, this variable - can be used to specify the mediaobject role that your document uses for LaTeX output. - DB2LaTeX will try to use this role before using the "LaTeX" or "TeX" roles. - For example, some authors may choose to set this to "PDF".</para> - </refdescription> - </doc:param> - <xsl:param name="preferred.mediaobject.role"></xsl:param> - - <doc:param name="formal.title.placement" xmlns=""> - <refpurpose> Specifies where formal object titles should occur </refpurpose> - <refdescription> - <para> - Titles for the formal object types (figure, example, quation, table, and procedure) - can be placed before or after those objects. The keyword <quote>before</quote> - is recognised. All other strings qualify as <quote>after</quote>. - </para> - </refdescription> - </doc:param> - <xsl:param name="formal.title.placement"> - figure not_before - example before - equation not_before - table before - procedure before - </xsl:param> - - <doc:param name="insert.xref.page.number" xmlns=""> - <refpurpose> Control the appearance of page numbers in cross references </refpurpose> - <refdescription> - <para> - When enabled, <sgmltag class="element">xref</sgmltag>s will include page - numbers after their generated cross-reference text. - </para> - </refdescription> - </doc:param> - <xsl:param name="insert.xref.page.number">0</xsl:param> - - <doc:param name="ulink.show" xmlns=""> - <refpurpose> Control the display of URLs after ulinks </refpurpose> - <refdescription> - <para> - When this option is enabled, and a ulink has a URL that is different - from the displayed content, the URL will be typeset after the content. - If the URL and content are identical, only one of them will appear. - Otherwise, the URL is hyperlinked and the content is not. - </para> - </refdescription> - </doc:param> - <xsl:param name="ulink.show">0</xsl:param> - - <doc:param name="ulink.footnotes" xmlns=""> - <refpurpose> Control the generation of footnotes for ulinks </refpurpose> - <refdescription> - <para> - When this option is enabled, a ulink that has content different to its - URL will have an associated footnote. The contents of the footnote - will be the URL. If the ulink is within a footnote, the URL is shown - after the content. - </para> - </refdescription> - </doc:param> - <xsl:param name="ulink.footnotes">0</xsl:param> - - <!--############################################################################# - | LaTeX VARIABLES - |- ############################################################################# - | - | PURPOSE: User and stylesheets XSL variables - + ############################################################################## --> - - <doc:param name="latex.override" xmlns=""> - <refpurpose> Override DB2LaTeX's preamble with a custom preamble. </refpurpose> - <refdescription> - <para> - When this variable is set, the entire DB2LaTeX premable will be superseded. - <emphasis>You should not normally need or want to use this.</emphasis> - It may cause LaTeX typesetting problems. This is a last resort or - <quote>expert</quote> feature. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.override"></xsl:param> - - <doc:param name="latex.entities" xmlns=""> - <refpurpose> Control Unicode character handling. </refpurpose> - <refdescription> - <para> - Normally, XSLT processors will convert SGML character entities into - Unicode characters and DB2LaTeX doesn't have much chance to do anything - toward converting them to LaTeX equivalents. We do not yet know how we - can solve this problem best. - </para> - <para> - Proposed values: 'catcode', 'unicode', 'extension'. - Currently only 'catcode' is supported. All other values will - cause no special handling except for certain mappings in MathML. - In future, perhaps the 'unicode' LaTeX package could be of assistance. - 'Extension' could be an XSLT extension that handles the characters - using a mapping table. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.entities"></xsl:param> - - <doc:param name="latex.alt.is.latex" xmlns=""> - <refpurpose> Control the escaping of <sgmltag class="element">alt</sgmltag> text </refpurpose> - <refdescription> - <para> - Text within <sgmltag class="element">alt</sgmltag> elements is assumed to - be valid LaTeX and is passed through unescaped by default. If this is not - appropriate for your document, set this variable to something other than - '1'. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.alt.is.latex">1</xsl:param> - - <doc:param name="latex.alt.is.preferred" xmlns=""> - <refpurpose> Control the use of <sgmltag class="element">alt</sgmltag> text </refpurpose> - <refdescription> - <para> - By default, DB2LaTeX assumes that <sgmltag class="element">alt</sgmltag> - text should be typeset in preference to any - <sgmltag class="element">mediaobject</sgmltag>s. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.alt.is.preferred">1</xsl:param> - - <!-- - <doc:variable name="latex.figure.position" xmlns=""> - <refpurpose> How to place floats. </refpurpose> - <refdescription> - <para> - This variable is used as the positioning argument for floats. - In future, this may be replaced by a dynamic mechanism that can - honour DocBook placement attributes. - </para> - </refdescription> - </doc:variable> - <xsl:variable name="latex.figure.position">[hbt]</xsl:variable> - --> - - <doc:param name="latex.apply.title.templates" xmlns=""> - <refpurpose> Whether to apply templates for section titles. </refpurpose> - <refdescription> - <para> - Controls whether section titles will be generated by - applying templates or by conversion to string values. - When enabled, templates will be applied. This enables template - expression in titles but may have problematic side-effects such - as nested links. - </para> - <note> - <para> - This variable does not influence all <sgmltag class="element">title</sgmltag> - elements. Some may have their own variables or not be configurable. - </para> - </note> - </refdescription> - </doc:param> - <xsl:param name="latex.apply.title.templates">1</xsl:param> - - - - - - <doc:param name="latex.apply.title.templates.admonitions" xmlns=""> - <refpurpose> Whether to apply templates for admonition titles. </refpurpose> - <refdescription> - <para> - Controls whether admonition titles will be generated by - applying templates or by conversion to string values. - When enabled, templates will be applied. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.apply.title.templates.admonitions">1</xsl:param> - - - - - - - <doc:param name="latex.graphics.formats" xmlns=""> - <refpurpose> Control <sgmltag class="element">imagedata</sgmltag> selection. </refpurpose> - <refdescription> - <para>This controls how DB2LaTeX behaves when a <sgmltag class="element">mediaobject</sgmltag> contains - multiple <sgmltag class="element">imagedata</sgmltag>. When non-empty, DB2LaTeX will exclude - imagedata that have a format no listed within this variable.</para> - </refdescription> - </doc:param> - <xsl:param name="latex.graphics.formats"></xsl:param> - - - - - - - <doc:param name="latex.caption.swapskip" xmlns=""> - <refpurpose> Improved typesetting of captions </refpurpose> - <refdescription> - <para> - DB2LaTeX supports <link linkend="param.formal.title.placement">$formal.title.placement</link> - as a mechanism for choosing whether captions will appear above or below the objects they describe. - <!-- - ($formal.title.placement is described in the <ulink - url="http://docbook.sourceforge.net/release/xsl/current/doc/html/formal.title.placement.html">DocBook - XSL Stylesheet HTML Parameter Reference</ulink>.) - --> - However, LaTeX will often produce an ugly result when captions occur - above their corresponding content. This usually arises because of - unsuitable \abovecaptionskip and \belowcaptionskip. - </para> - <para> - This variable, when set to '1', authorises DB2LaTeX to swap the caption - 'skip' lengths when a caption is placed <emphasis>above</emphasis> its - corresponding content. This is enabled by default. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.caption.swapskip">1</xsl:param> - - - - - - <doc:param name="latex.titlepage.file" xmlns=""> - <refpurpose> DB2LaTeX allows using an (externally generated) cover page </refpurpose> - <refdescription> - <para> - You may supply a LaTeX file that will supersede DB2LaTeX's default - cover page or title. If the value of this variable is non-empty, the - generated LaTeX code includes \input{filename}. Otherwise, it uses the - \maketitle command. - </para> - <warning><para> - Bear in mind that using an external cover page breaks the - "encapsulation" of DocBook. Further revisions of these stylesheets - will add chunking support, and the automation of the cover file - generation. - </para></warning> - </refdescription> - </doc:param> - <xsl:param name="latex.titlepage.file">title</xsl:param> - - - - - <doc:param name="latex.documentclass" xmlns=""> - <refpurpose> DB2LaTeX document class </refpurpose> - <refdescription> - <para> - This variable is normally empty and the stylesheets will determine - the correct document class according to whether the document is a - book or an article. If you wish to use your own document class, - put its non-empty value in this variable. It will apply for both - books and articles. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass"></xsl:param> - - <doc:param name="latex.documentclass.common" xmlns=""> - <refpurpose> DB2LaTeX document class options </refpurpose> - <refdescription> - <para> - These are the first options to be passed to <literal>\documentclass</literal> - The common options are set to <literal>french,english</literal> by default. - They will be augmented or superseded by article/book options (see $latex.documentclass.article and $latex.documentclass.book) and pdftex/dvips options (see $latex.documentclass.pdftex and $latex.documentclass.dvips). - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass.common">french,english</xsl:param> - - <doc:param name="latex.documentclass.article" xmlns=""> - <refpurpose> DB2LaTeX document class options for articles</refpurpose> - <refdescription> - <para> - The article options are set to <literal>a4paper,10pt,twoside,twocolumn</literal> by default. - These are the intermediate options to be passed to <literal>\documentclass</literal>, - between the common options and the pdftex/dvips options. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass.article">a4paper,10pt,twoside,twocolumn</xsl:param> - - <doc:param name="latex.documentclass.book" xmlns=""> - <refpurpose> DB2LaTeX document class options for books</refpurpose> - <refdescription> - <para> - The book options are set to <literal>a4paper,10pt,twoside,openright</literal> by default. - These are the intermediate options to be passed to <literal>\documentclass</literal>, - between the common options and the pdftex/dvips options. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass.book">a4paper,10pt,twoside,openright</xsl:param> - - <doc:param name="latex.documentclass.pdftex" xmlns=""> - <refpurpose> DB2LaTeX document class options for pdfTeX output</refpurpose> - <refdescription> - <para> - The pdfTeX options are empty by default. - These are the last options to be passed to <literal>\documentclass</literal> - and override the common/article/book options. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass.pdftex"></xsl:param> - - <doc:param name="latex.documentclass.dvips" xmlns=""> - <refpurpose> DB2LaTeX document class options for dvips output</refpurpose> - <refdescription> - <para> - The dvips options are empty by default. - These are the last options to be passed to <literal>\documentclass</literal> - and override the common/article/book options. - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.documentclass.dvips"></xsl:param> - - <doc:param name="latex.admonition.path" xmlns=""> - <refpurpose> LaTeX location for admonition graphics </refpurpose> - <refdescription> - <para>The file path that will be passed to LaTeX in order to find admonition graphics.</para> - <para>An empty value suppresses the use of admonition graphics.</para> - <para>If your figures are in <quote>the current directory</quote> then use a value of - <quote>.</quote> (i.e. the full stop or period on its own) to signify this.</para> - </refdescription> - </doc:param> - <xsl:param name="latex.admonition.path">figures</xsl:param> - - - <doc:param name="latex.admonition.imagesize" xmlns=""> - <refpurpose> DB2LaTeX graphics admonitions size</refpurpose> - <refdescription> - <para> - Is passed as an optional parameter for <literal>\includegraphics</literal> and - can take on any such legal values (or be empty). - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.admonition.imagesize">width=1cm</xsl:param> - - - <!-- - <xsl:param name="latex.chapter.label">1</xsl:param> - - <doc:param name="latex.chapter.hypertarget" xmlns=""> - <refpurpose> Hypertarget Chapters </refpurpose> - <refdescription> - <para> - </para> - </refdescription> - </doc:param> - <xsl:param name="latex.chapter.hypertarget">1</xsl:param> - --> - - - <doc:param name="latex.biblio.output" xmlns=""> - <refpurpose> Control which references are cited in the bibliography </refpurpose> - <refdescription> - <para> - The DB2LaTeX generated bibliography (bibitems) may either - include all biblioentries found in the document, or only thee ones explicitly - cited with <sgmltag class="element">citation</sgmltag>. - </para> - <para>Two values are possible: <quote>all</quote> or <quote>cited</quote>.</para> - </refdescription> - </doc:param> - <xsl:param name="latex.biblio.output">all</xsl:param> - - - <doc:param name="latex.bibfiles" xmlns=""> - <refpurpose> - Control the output of the \bibliography{.bib}. - </refpurpose> - <refdescription> - <para>The value of this parameter is output.</para> - <para>An example is <quote><filename>citations.bib</filename></quote>, - if your BibTeX file has that name.</para> - </refdescription> - </doc:param> - <xsl:param name="latex.bibfiles"></xsl:param> - - - <doc:param name="latex.bibwidelabel" xmlns=""> - <refpurpose> Adjust bibliography formatting </refpurpose> - <refdescription> - <para>The environment bibliography accepts a parameter that indicates - the widest label, which is used to correctly format the bibliography - output. The value of this parameter is output inside the - <literal>\begin{thebibliography[]}</literal> LaTeX command.</para> - </refdescription> - </doc:param> - <xsl:param name="latex.bibwidelabel">WIDELABEL</xsl:param> - - <!-- - <xsl:variable name="latex.dont.label">0</xsl:variable> - <xsl:variable name="latex.dont.hypertarget">0</xsl:variable> - --> - - <doc:param name="latex.use.ucs" xmlns=""> - <refpurpose> Choose whether to use the <productname>unicode</productname> LaTeX package</refpurpose> - <refdescription><para>See the <productname>unicode</productname> documentation for details.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.ucs">0</xsl:param> - - <doc:param name="latex.ucs.options" xmlns=""> - <refpurpose>Select the optional parameter(s) for the <productname>unicode</productname> LaTeX package</refpurpose> - <refdescription><para>See the <productname>unicode</productname> documentation for details.</para></refdescription> - </doc:param> - <xsl:param name="latex.ucs.options"></xsl:param> - - <doc:param name="latex.babel.language" xmlns=""> - <refpurpose>Select the optional parameter for the <productname>babel</productname> LaTeX package</refpurpose> - <refdescription><para>See the <productname>babel</productname> documentation for details.</para></refdescription> - </doc:param> - <xsl:param name="latex.babel.language">french</xsl:param> - - <doc:param name="latex.use.isolatin1" xmlns=""> - <refpurpose>Toggle the use of the <productname>isolatin1</productname> LaTeX package</refpurpose> - </doc:param> - <xsl:variable name="latex.use.isolatin1">1</xsl:variable> - - <doc:param name="latex.use.hyperref" xmlns=""> - <refpurpose>Toggle the use of the <productname>hyperref</productname> LaTeX package</refpurpose> - <refdescription><para>This is used extensively for hyperlinking within documents.</para></refdescription> - </doc:param> - <xsl:variable name="latex.use.hyperref">1</xsl:variable> - - <doc:param name="latex.use.fancybox" xmlns=""> - <refpurpose>Toggle the use of the <productname>fancybox</productname> LaTeX package</refpurpose> - <refdescription><para>This is essential for admonitions.</para></refdescription> - </doc:param> - <xsl:variable name="latex.use.fancybox">1</xsl:variable> - - <doc:param name="latex.use.fancyvrb" xmlns=""> - <refpurpose>Toggle the use of the <productname>fancyvrb</productname> LaTeX package</refpurpose> - <refdescription><para>Provides support for tabbed whitespace in verbatim environments. - See also <xref linkend="param.latex.fancyvrb.tabsize"/>.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.fancyvrb">1</xsl:param> - - <doc:param name="latex.fancyvrb.tabsize" xmlns=""> - <refpurpose>Choose indentation for tabs in verbatim environments</refpurpose> - <refdescription><para>When <xref linkend="param.latex.use.fancyvrb"/> is enabled, - this variable sets the width of a tab in terms of an equivalent number of spaces.</para></refdescription> - </doc:param> - <xsl:param name="latex.fancyvrb.tabsize">3</xsl:param> - - <doc:param name="latex.use.fancyhdr" xmlns=""> - <refpurpose>Toggle the use of the <productname>fancyhdr</productname> LaTeX package</refpurpose> - <refdescription><para>Provides page headers and footers. Disabling support for - this package will make headers and footer go away.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.fancyhdr">1</xsl:param> - - <doc:param name="latex.use.parskip" xmlns=""> - <refpurpose>Toggle the use of the <productname>parskip</productname> LaTeX package</refpurpose> - <refdescription><para>Support a <quote>block</quote> paragraph style as opposed to - <quote>indented</quote>.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.parskip">0</xsl:param> - - <doc:param name="latex.use.subfigure" xmlns=""> - <refpurpose>Toggle the use of the <productname>subfigure</productname> LaTeX package</refpurpose> - <refdescription><para>Used to provide nice layout of multiple mediaobjects in figures.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.subfigure">1</xsl:param> - - <doc:param name="latex.use.rotating" xmlns=""> - <refpurpose>Toggle the use of the <productname>rotating</productname> LaTeX package</refpurpose> - </doc:param> - <xsl:param name="latex.use.rotating">1</xsl:param> - - <doc:param name="latex.use.tabularx" xmlns=""> - <refpurpose>Toggle the use of the <productname>tabularx</productname> LaTeX package</refpurpose> - <refdescription><para>Used to provide certain table features. Has some incompatabilities - with packages, but also solves some conflicts that the regular tabular - environment has.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.tabularx">1</xsl:param> - - <doc:param name="latex.use.umoline" xmlns=""> - <refpurpose>Toggle the use of the <productname>umoline</productname> LaTeX package</refpurpose> - <refdescription><para>Provide underlining.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.umoline">0</xsl:param> - - <doc:param name="latex.use.url" xmlns=""> - <refpurpose>Toggle the use of the <productname>url</productname> LaTeX package</refpurpose> - <refdescription><para>Provide partial support for hyperlinks.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.url">1</xsl:param> - - <doc:param name="latex.use.makeidx" xmlns=""> - <refpurpose>Toggle the use of the <productname>makeidx</productname> LaTeX package</refpurpose> - <refdescription><para>Support index generation.</para></refdescription> - </doc:param> - <xsl:param name="latex.use.makeidx">1</xsl:param> - - <doc:param name="latex.hyphenation.tttricks" xmlns=""> - <refpurpose> DB2LaTeX hyphenation linebreak tricks </refpurpose> - <refdescription> - <para> - Usually, LaTeX does not perform hyphenation in <quote>teletype</quote> (monospace) - text. This can lead to formatting problems. But certain monospace texts, such as - URLs and filenames, have <quote>natural</quote> breakpoints such as full stops - and slashes. DB2LaTeX's <quote>tttricks</quote> exploit a hyphenation trick in - order to provide line wrapping in the middle of monospace text. Set this to '1' - to enable these tricks (they are not enabled by default). See also the FAQ. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.hyphenation.tttricks">0</xsl:variable> - - <doc:param name="latex.hyperref.param.common" xmlns=""> - <refpurpose> DB2LaTeX hyperref options</refpurpose> - <refdescription> - <para> - The hyperref options are set to <literal>bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage</literal> by default. - You may wish to specify additional options using <literal>latex.hyperref.param.pdftex</literal> - or <literal>latex.hyperref.param.dvips</literal>. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.hyperref.param.common">bookmarksnumbered,colorlinks,backref, bookmarks, breaklinks, linktocpage</xsl:variable> - - <doc:param name="latex.hyperref.param.pdftex" xmlns=""> - <refpurpose> DB2LaTeX hyperref options for pdfTeX output</refpurpose> - <refdescription> - <para> - This variable is empty by default. See the hyperref documentation for further information. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.hyperref.param.pdftex">pdfstartview=FitH</xsl:variable> - - <doc:param name="latex.hyperref.param.dvips" xmlns=""> - <refpurpose> DB2LaTeX hyperref options for dvips output</refpurpose> - <refdescription> - <para> - This variable is empty by default. See the hyperref documentation for further information. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.hyperref.param.dvips"></xsl:variable> - - <xsl:variable name="latex.fancyhdr.lh">Left Header</xsl:variable> - <xsl:variable name="latex.fancyhdr.ch">Center Header</xsl:variable> - <xsl:variable name="latex.fancyhdr.rh">Right Header</xsl:variable> - <xsl:variable name="latex.fancyhdr.lf">Left Footer</xsl:variable> - <xsl:variable name="latex.fancyhdr.cf">Center Footer</xsl:variable> - <xsl:variable name="latex.fancyhdr.rf">Right Footer</xsl:variable> - - <doc:param name="latex.step.title.style" xmlns=""> - <refpurpose> Control the style of step titles </refpurpose> - <refdescription> - <para>Step titles are typeset in small caps but if - this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then - that command will precede the title and it will be typeset accordingly.</para> - </refdescription> - </doc:param> - <xsl:variable name="latex.step.title.style">\bf</xsl:variable> - - <doc:param name="latex.book.article.title.style" xmlns=""> - <refpurpose> Control the style of article titles within books </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.book.article.title.style">\Large\textbf</xsl:variable> - - <doc:param name="latex.article.title.style" xmlns=""> - <refpurpose> Control the style of article titles </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.article.title.style">\textbf</xsl:variable> - - <doc:param name="latex.pagestyle" xmlns=""> - <refpurpose> Override DB2LaTeX's choice of LaTeX page numbering style </refpurpose> - <refdescription> - <para>By default, DB2LaTeX will choose the 'plain' or 'fancy' page styles, - depending on <xref linkend="param.latex.use.fancyhdr"/>. If non-empty, this - variable overrides the automatic selection. An example would be the literal - string 'empty', to eliminate headers and page numbers.</para> - </refdescription> - </doc:param> - <xsl:variable name="latex.pagestyle"></xsl:variable> - - <doc:param name="latex.procedure.title.style" xmlns=""> - <refpurpose> Control the style of procedure titles </refpurpose> - <refdescription> - <para>Procedure titles are typeset in small caps but if - this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then - that command will precede the title and it will be typeset accordingly.</para> - </refdescription> - </doc:param> - <xsl:variable name="latex.procedure.title.style">\sc</xsl:variable> - - <doc:param name="latex.figure.title.style" xmlns=""> - <refpurpose> Control the style of figure titles </refpurpose> - <refdescription> - <para>Figure titles are typeset in the default typeface (usually 'roman') but if - this option is set to a LaTeX command, such as <literal>\itshape{}</literal>, then - that command will precede the title and it will be typeset accordingly.</para> - </refdescription> - </doc:param> - <xsl:variable name="latex.figure.title.style"></xsl:variable> - - <doc:param name="latex.pdf.support" xmlns=""> - <refpurpose> Controls the output of LaTeX commands to support the generation - of PDF files.</refpurpose> - <refdescription> - <para>If this parameter is set to 1, the stylesheets generate code to - detect if it is either <literal>latex</literal> or <literal>pdflatex</literal> - the shell command that is being used to compile the LaTeX text file. Some - packages (<literal>graphicx</literal>, <literal>hyperref</literal>) are used - with the right parameters. Finally, the graphic extensions declared, to use in - <literal>\includegraphics</literal> commands depends also on which command is - being used. If this parameter is set to zero, such code is not generated (which - does not mean that the file cannot compile with pdflatex, but some strange issues - may appear). <emphasis>DEFAULT: 1</emphasis> Only more code is generated. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.pdf.support">1</xsl:variable> - - - - <doc:param name="latex.thead.row.entry" xmlns=""> - <refpurpose> Format the output of tabular headings. </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:template name="latex.thead.row.entry"> - <xsl:apply-templates/> - </xsl:template> - - - - <doc:param name="latex.math.support" xmlns=""> - <refpurpose> Controls the output of LaTeX packages and commands to support - documents with math commands and environments..</refpurpose> - <refdescription> - <para>If this parameter is set to 1, the stylesheets generate code to - <emphasis>DEFAULT: 1</emphasis> Only more code is generated. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.math.support">1</xsl:variable> - - - - <doc:param name="latex.output.revhistory" xmlns=""> - <refpurpose> Controls if the revision history table is generated as the first document - table. - </refpurpose> - <refdescription> - <para>If this parameter is set to 1, the stylesheets generate code to - <emphasis>DEFAULT: 1</emphasis> Only more code is generated. - </para> - </refdescription> - </doc:param> - <xsl:variable name="latex.output.revhistory">1</xsl:variable> - - - - - <xsl:variable name="latex.book.preamble.pre"> - </xsl:variable> - - <xsl:variable name="latex.book.preamble.post"> - </xsl:variable> - - <doc:param name="latex.book.varsets" xmlns=""> - <refpurpose> - All purpose commands to change text width, height, counters, etc. - Defaults to a two-sided margin layout. - </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.book.varsets"> - <xsl:text>\usepackage{anysize} </xsl:text> - <xsl:text>\marginsize{3cm}{2cm}{1.25cm}{1.25cm} </xsl:text> - </xsl:variable> - - <doc:param name="latex.book.begindocument" xmlns=""> - <refpurpose> - Begin document command - </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.book.begindocument"> - <xsl:text>\begin{document} </xsl:text> - </xsl:variable> - - - - - - <doc:param name="latex.book.afterauthor" xmlns=""> - <refpurpose> - LaTeX code that is output after the author (e.g. - <literal>\makeindex, \makeglossary</literal> - </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.book.afterauthor"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\makeindex </xsl:text> - <xsl:text>\makeglossary </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - </xsl:variable> - - - - - <doc:param name="latex.book.end" xmlns=""> - <refpurpose> - LaTeX code that is output at the end of the document - <literal>\end{document}</literal> - </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.book.end"> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% End of document </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\end{document} </xsl:text> - </xsl:variable> - - - - <!--############################################################################# - | XSL VARIABLES FOR ARTICLES - |- ############################################################################# - | - + ############################################################################## --> - - - - <xsl:variable name="latex.article.preamble.pre"> - </xsl:variable> - - <xsl:variable name="latex.article.preamble.post"> - </xsl:variable> - - <doc:param name="latex.article.begindocument" xmlns=""> - <refpurpose> The begin document </refpurpose> - <refdescription>The value of this variable is output from the article template - <xref linkend="template.article"/> after the author command. The default value - (shown below) is just the begin document command. Users of the XSL LaTeX - stylesheet may override this parameter in order to output what they want. - </refdescription> - <refreturn><literal>\begin{document}</literal></refreturn> - </doc:param> - <xsl:variable name="latex.article.begindocument"> - <xsl:text>\begin{document} </xsl:text> - </xsl:variable> - - - <doc:param name="latex.article.varsets" xmlns=""> - <refpurpose> Controls what is output after the LaTeX preamble. </refpurpose> - <refdescription> - <para>Default values decrease edge margins and allow a large quantity of figures to be set on each page. </para> - </refdescription> - </doc:param> - - <xsl:variable name="latex.article.varsets"> - <xsl:text> - \usepackage{anysize} - \marginsize{2cm}{2cm}{2cm}{2cm} - \renewcommand\floatpagefraction{.9} - \renewcommand\topfraction{.9} - \renewcommand\bottomfraction{.9} - \renewcommand\textfraction{.1} - </xsl:text> - </xsl:variable> - - - - - <doc:param name="latex.maketitle" xmlns=""> - <refpurpose> The <literal>\maketitle</literal> for books and articles. </refpurpose> - <refdescription> - <para>Some users may wish to override or eliminate <literal>\maketitle</literal>.</para> - <note><para>Does not apply to <sgmltag class="element">article</sgmltag>s within <sgmltag class="element">book</sgmltag>s.</para></note> - <para>By default, uses LaTeX <literal>\maketitle</literal> with the 'empty' pagestyle - for the first page. The page style of subsequent pages is determined by - <xref linkend="template.generate.latex.pagestyle"/>.</para> - </refdescription> - </doc:param> - <xsl:variable name="latex.maketitle"> - <xsl:text>{\maketitle</xsl:text> - <xsl:call-template name="generate.latex.pagestyle"/> - <xsl:text>\thispagestyle{empty}} </xsl:text> - </xsl:variable> - - - <doc:param name="latex.article.end" xmlns=""> - <refpurpose> Controls what is output at the end of the article. Basically the <literal>\end{document}</literal> - command, with some markup comments. </refpurpose> - <refdescription> - </refdescription> - </doc:param> - <xsl:variable name="latex.article.end"> - <xsl:text> </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>% End of document </xsl:text> - <xsl:text>% -------------------------------------------- </xsl:text> - <xsl:text>\end{document} </xsl:text> - </xsl:variable> - - - -</xsl:stylesheet> - diff --git a/docs/docbook/xslt/db2latex/verbatim.mod.xsl b/docs/docbook/xslt/db2latex/verbatim.mod.xsl deleted file mode 100644 index 549883869b..0000000000 --- a/docs/docbook/xslt/db2latex/verbatim.mod.xsl +++ /dev/null @@ -1,144 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: -+ ############################################################################## --> - -<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'> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:reference id="verbatim" xmlns=""> - <referenceinfo> - <releaseinfo role="meta"> - </releaseinfo> - <authorgroup> - <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author> - <author> <firstname>James</firstname> <surname>Devenish</surname> </author> - </authorgroup> - <copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> - </copyright> - </referenceinfo> - <title>Verbatim <filename>verbatim.mod.xsl</filename></title> - <partintro> - <section><title>Introduction</title> - <para></para> - </section> - </partintro> - </doc:reference> - <!--############################################################################# --> - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template match="literal" xmlns=""> - <refpurpose>Template for <sgmltag>literal</sgmltag></refpurpose> - <refdescription> - Template for literal template - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template match="literal" mode="latex.verbatim"> - <xsl:text>{\verb </xsl:text> - <xsl:apply-templates mode="latex.verbatim"/> - <xsl:text>}</xsl:text> - </xsl:template> - - - - - - <!--############################################################################# --> - <!-- DOCUMENTATION --> - <doc:template name="verbatim.apply.templates" xmlns=""> - <refpurpose> Auxiliary template to output verbatim LaTeX code in verbatim mode </refpurpose> - <refdescription> - <para> Takes into account whether the user is using fancyvrb or not. It allows - veratim line numbering and other fancy stuff. </para> - <para> In order to use a small or large font, you may also wanto to use - the <literal>role</literal> attribute : </para> - <screen><![CDATA[ - <programlisting role="small"> - </programlisting> - <programlisting role="large"> - </programlisting> - ]]></screen> - </refdescription> - </doc:template> - <!--############################################################################# --> - - <xsl:template name="verbatim.apply.templates"> - <xsl:choose> - <xsl:when test="ancestor::entry"> - <xsl:message>Problem with <xsl:value-of select="local-name(.)"/> inside table entries.</xsl:message> - <xsl:text>\texttt{</xsl:text> - <xsl:apply-templates mode="latex.verbatim"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:when test="$latex.use.fancyvrb='1'"> - <xsl:variable name="not_monospaced" select="local-name(.)='literallayout' and @format!='monospaced'"/> - <xsl:text> \begin{Verbatim}[</xsl:text> - <xsl:if test="@linenumbering='numbered'"> - <xsl:text>,numbers=left</xsl:text> - </xsl:if> - <xsl:if test="$not_monospaced"> - <xsl:text>,fontfamily=default</xsl:text> - </xsl:if> - <xsl:if test="@role"> - <xsl:choose> - <xsl:when test="@role='small'"> - <xsl:text>,fontsize=\small</xsl:text> - </xsl:when> - <xsl:when test="@role='large'"> - <xsl:text>,fontsize=\large</xsl:text> - </xsl:when> - </xsl:choose> - </xsl:if> - <xsl:text>] </xsl:text> - <xsl:choose> - <xsl:when test="$not_monospaced"> - <!-- Needs to be changed to cope with regular characterset! --> - <xsl:apply-templates mode="latex.verbatim"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates mode="latex.verbatim"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text> \end{Verbatim} </xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text> \begin{verbatim} </xsl:text> - <xsl:apply-templates mode="latex.verbatim"/> - <xsl:text> \end{verbatim} </xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - <xsl:template match="address"> - <xsl:call-template name="verbatim.apply.templates"/> - </xsl:template> - - <doc:template name="verbatim" match="screen|programlisting|literallayout" xmlns=""> - <refpurpose>Environments in which whitespace is significant</refpurpose> - <refdescription> - <itemizedlist> - <title>Known Bugs</title> - <listitem><simpara>Templates are not applied within programlistings.</simpara></listitem> - </itemizedlist> - </refdescription> - </doc:template> - <xsl:template match="screen|programlisting|literallayout"> - <xsl:call-template name="verbatim.apply.templates"/> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/docbook/xslt/db2latex/xref.mod.xsl b/docs/docbook/xslt/db2latex/xref.mod.xsl deleted file mode 100644 index 82289b19df..0000000000 --- a/docs/docbook/xslt/db2latex/xref.mod.xsl +++ /dev/null @@ -1,657 +0,0 @@ -<?xml version='1.0'?> -<!--############################################################################# -|- ############################################################################# -| -| PURPOSE: Manage XREFs -+ ############################################################################## --> - -<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'> - - - -<!--############################################################################# --> -<!-- DOCUMENTATION --> -<doc:reference id="xref" xmlns=""> -<referenceinfo> -<releaseinfo role="meta"> -</releaseinfo> -<authorgroup> -<author> <surname>Casellas</surname><firstname>Ramon</firstname> </author> -<author> <surname>James</surname><firstname>Devenish</firstname> </author> -</authorgroup> -<copyright> - <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year> - <holder>Ramon Casellas</holder> -</copyright> -</referenceinfo> - -<title>Xref, Cross References <filename>xref.mod.xsl</filename></title> -<partintro> -<section><title>Introduction</title> -<para></para> -</section> -</partintro> -</doc:reference> - - - - -<!--############################################################################# --> -<doc:template match="anchor" xmlns=""> - <refpurpose>Anchor XSL template</refpurpose> - <refdescription> - <para>The <sgmltag>anchor</sgmltag> element - The DB2LaTeX processing of the element is quite straightforward : - Map to a <literal>\label</literal>.</para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template match="anchor"> - <xsl:text>\hypertarget{</xsl:text> - <xsl:value-of select="@id"/> - <xsl:text>}{}</xsl:text> - </xsl:template> - - - - - -<!--############################################################################# --> -<doc:template name="id.is.xrefed" xmlns=""> - <refpurpose>Auxiliary named template</refpurpose> - <refdescription> - <para>This template returns 1 if there exists somewhere an xref - whose linkend is the target's id.</para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template name="id.is.xrefed"> - <xsl:param name="i" select="1"/> - <xsl:param name="target" select="."/> - <xsl:param name="xrefs" select="//xref"/> - <xsl:choose> - <xsl:when test="xrefs[i]/@linkend = 'target/@id'"> - <xsl:value-of select="1"/> - </xsl:when> - <xsl:when test="i = count(xrefs)"> - <xsl:value-of select="0"/> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="id.is.xrefed"> - <xsl:with-param name="i" select="i+1"/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - -<!--############################################################################# --> -<doc:template name="xref.xreflabel" xmlns=""> - <refpurpose>Auxiliary named template</refpurpose> - <refdescription> - <para> Called to process an xreflabel...you might use this to make - xreflabels come out in the right font for different targets, - for example.</para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template name="xref.xreflabel"> - <xsl:param name="target" select="."/> - <xsl:value-of select="$target/@xreflabel"/> - </xsl:template> - - - - - - -<!--############################################################################# --> -<doc:template match="xref|link" xmlns=""> - <refpurpose>Xref and Link XSL Template</refpurpose> - <refdescription> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template match="xref|link"> - <xsl:variable name="targets" select="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:choose> - <xsl:when test="$refelem=''"> - <xsl:message><xsl:text>XRef to nonexistent id: </xsl:text><xsl:value-of select="@linkend"/></xsl:message> - <xsl:text>XrefId[?</xsl:text> - <xsl:if test="local-name(.)='link'"><xsl:apply-templates/></xsl:if> - <xsl:text>?]</xsl:text> - </xsl:when> - - <!-- This is a link with content ... --> - <xsl:when test="local-name(.)='link' and .!=''"> - <xsl:call-template name="generate.hyperlink"> - <xsl:with-param name="target" select="$target"/> - <xsl:with-param name="text"><xsl:apply-templates/></xsl:with-param> - </xsl:call-template> - </xsl:when> - - <xsl:otherwise> - <xsl:choose> - <xsl:when test="@endterm"> - <xsl:variable name="etargets" select="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>[NONEXISTENT ID]</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.hyperlink"> - <xsl:with-param name="target" select="$target"/> - <xsl:with-param name="text"><xsl:apply-templates select="$etarget" mode="xref.text"/></xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <!-- If an xreflabel has been specified for the target ... --> - <xsl:when test="local-name(.)='xref' and $target/@xreflabel"> - <xsl:call-template name="generate.hyperlink"> - <xsl:with-param name="target" select="$target"/> - <xsl:with-param name="text"> - <xsl:text>{[</xsl:text> - <xsl:call-template name="xref.xreflabel"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - <xsl:text>]}</xsl:text> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="generate.hyperlink"> - <xsl:with-param name="target" select="$target"/> - <xsl:with-param name="text"><xsl:apply-templates select="$target" mode="xref-to"/></xsl:with-param> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - <xsl:if test="$insert.xref.page.number=1 and $refelem!='' and local-name(.)='xref'"> - <xsl:call-template name="xref.p.subst"> - <xsl:with-param name="string"> - <xsl:call-template name="gentext.xref.text"> - <xsl:with-param name="element.name" select="'page.citation'"/> - <xsl:with-param name="default"> [%p]</xsl:with-param> - </xsl:call-template> - </xsl:with-param> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:if> - </xsl:template> - - <doc:template name="generate.hyperlink" xmlns=""> - <refpurpose> Choose hyperlink syntax </refpurpose> - <refdescription> - <para>Will use hyperref, if it is available. Otherwise, just outputs - unlinked text. If the destination is a citation, a backreference is - emitted (even though it is technically a hyperlink, not a citation). - If the 'text' arises from an @endterm, then the 'optional argument' - syntax of <literal>\cite</literal> is used.</para> - </refdescription> - </doc:template> - <xsl:template name="generate.hyperlink"> - <xsl:param name="target"/> - <xsl:param name="text"/> - <xsl:variable name="element" select="local-name($target)"/> - <xsl:variable name="citation" select="$element='biblioentry' or $element='bibliomixed'"/> - <xsl:choose> - <xsl:when test="$citation and @endterm!=''"> - <xsl:text>\docbooktolatexcite</xsl:text> - <xsl:text>{</xsl:text> - <xsl:value-of select="$target/@id"/> - <xsl:text>}{</xsl:text> - <xsl:call-template name="scape-optionalarg"> - <xsl:with-param name="string" select="$text"/> - </xsl:call-template> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:if test="$latex.use.hyperref=1"> - <xsl:text>\hyperlink{</xsl:text> - <xsl:value-of select="$target/@id"/> - <xsl:text>}</xsl:text> - </xsl:if> - <xsl:text>{</xsl:text> - <xsl:if test="$citation"> - <xsl:text>\docbooktolatexbackcite{</xsl:text> - <xsl:value-of select="$target/@id"/> - <xsl:text>}</xsl:text> - </xsl:if> - <xsl:value-of select="$text"/> - <xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <doc:template name="xref.p.subst" xmlns=""> - <refpurpose>Insert page number into xrefs</refpurpose> - <refdescription><para></para></refdescription> - </doc:template> - <xsl:template name="xref.p.subst"> - <xsl:param name="string"></xsl:param> - <xsl:param name="target" select="."/> - <xsl:variable name="subst">%p</xsl:variable> - <xsl:choose> - <xsl:when test="contains($string, $subst)"> - <xsl:value-of select="substring-before($string, $subst)"/> - <xsl:text>\pageref*{</xsl:text> - <xsl:value-of select="$target/@id"/> - <xsl:text>}</xsl:text> - <xsl:value-of select="substring-after($string, $subst)"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$string"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - - - - -<!--############################################################################# --> -<doc:template name="number.xref" xmlns=""> - <refpurpose>Numbering template</refpurpose> - <refdescription> - <para> - Let LaTeX manage the numbering. Otherwise sty files that - do specify another numberic (e.g I,II) get messed - </para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template name="number.xref"> - <xsl:text>{\ref*{</xsl:text><xsl:value-of select="@id"/><xsl:text>}}</xsl:text> - </xsl:template> - - - - - - - - -<!--############################################################################# --> -<doc:template name="cross-reference" xmlns=""> - <refpurpose>FIXME</refpurpose> - <refdescription> - <para> - FIXME - </para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template name="cross-reference"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:param name="xref.text"> - <xsl:call-template name="gentext.xref.text"> - <xsl:with-param name="element.name" select="$refelem"/> - <xsl:with-param name="default">%g %n</xsl:with-param> - </xsl:call-template> - </xsl:param> - <xsl:call-template name="subst.xref.text"> - <xsl:with-param name="xref.text" select="$xref.text"/> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - - - - - <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:message> - <xsl:text>UNKGENTEXT</xsl:text><xsl:value-of select="$refelem"/> - </xsl:template> - - - - - - <xsl:template match="formalpara" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - - <xsl:template match="figure|example|table|equation" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - - <xsl:template match="dedication|preface|part|chapter|appendix" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - <xsl:template match="cmdsynopsis" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:variable name="command" select="($target//command)[1]"/> - <xsl:apply-templates select="$command" mode="xref"/> - </xsl:template> - - <xsl:template match="funcsynopsis" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:variable name="func" select="($target//function)[1]"/> - <xsl:apply-templates select="$func" mode="xref"/> - </xsl:template> - - - <xsl:template match="biblioentry" mode="xref-to"> - <!-- handles both biblioentry and bibliomixed --> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:text>[</xsl:text> - <xsl:choose> - <xsl:when test="local-name($target/*[1]) = 'abbrev'"> - <xsl:apply-templates select="$target/*[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="@id"/> - </xsl:otherwise> - </xsl:choose> - <xsl:text>]</xsl:text> - </xsl:template> - - - - <xsl:template match="bibliography|glossary|index" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - - <xsl:template match="section|simplesect - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - <xsl:template match="question|answer" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - <xsl:template match="reference" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:call-template name="cross-reference"> - <xsl:with-param name="target" select="$target"/> - </xsl:call-template> - </xsl:template> - - <xsl:template match="co" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:apply-templates select="$target" mode="callout-bug"/> - </xsl:template> - - <xsl:template match="co" mode="conumber"> - <xsl:number from="literallayout|programlisting|screen|synopsis" - level="single" - format="1"/> - </xsl:template> - - - <xsl:template match="book" mode="xref-to"> - <xsl:param name="target" select="."/> - <xsl:param name="refelem" select="local-name($target)"/> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="$target/title"> - <xsl:apply-templates select="$target/title" mode="xref"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates select="$target/bookinfo/title" mode="xref"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:text>{\em </xsl:text> <xsl:copy-of select="$title"/> <xsl:text>}</xsl:text> - </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> - - - - -<!--############################################################################# --> -<doc:template match="ulink" xmlns=""> - <refpurpose>A link that addresses its target by means of a URL (Uniform Resource Locator)</refpurpose> - <refdescription> - <formalpara> - <title>Pertinent Variables</title> - <itemizedlist> - <listitem><simpara><xref linkend="param.ulink.show"/></simpara></listitem> - <listitem><simpara><xref linkend="param.ulink.footnotes"/></simpara></listitem> - <listitem><simpara><xref linkend="latex.hyphenation.tttricks"/></simpara></listitem> - </itemizedlist> - </formalpara> - </refdescription> -</doc:template> -<!--############################################################################# --> - - - <xsl:template match="ulink" name="ulink"> - <xsl:param name="hyphenation">\docbookhyphenateurl</xsl:param> - <xsl:param name="url" select="@url"/> - <xsl:choose> - <xsl:when test=". = '' or . = $url"> - <xsl:call-template name="generate.typeset.url"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="url" select="$url"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$latex.use.tabularx=1 and count(ancestor::table)>0"> - <xsl:apply-templates/> - <xsl:text> </xsl:text> - <xsl:call-template name="generate.typeset.url"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="url" select="$url"/> - </xsl:call-template> - </xsl:when> - <xsl:when test="$ulink.footnotes='1' or $ulink.show='1'"> - <xsl:apply-templates/> - <xsl:if test="$ulink.footnotes='1' and count(ancestor::footnote)=0"> - <xsl:call-template name="footnote"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="url" select="$url"/> - </xsl:call-template> - </xsl:if> - <xsl:if test="$ulink.show='1' or ($ulink.footnotes='1' and ancestor::footnote)"> - <xsl:text> </xsl:text> - <xsl:call-template name="generate.typeset.url"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="url" select="$url"/> - </xsl:call-template> - </xsl:if> - </xsl:when> - <xsl:otherwise> - <xsl:text>\href{</xsl:text> - <xsl:call-template name="scape-href"> - <xsl:with-param name="string" select="$url"/> - </xsl:call-template> - <xsl:text>}</xsl:text> - <xsl:text>{</xsl:text> - <xsl:apply-templates/> - <xsl:text>}</xsl:text><!-- End Of second argument of \href --> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - - - -<!--############################################################################# --> -<doc:template match="olink" xmlns=""> - <refpurpose>OLink XSL template</refpurpose> - <refdescription> - <para></para> - </refdescription> -</doc:template> -<!--############################################################################# --> - - <xsl:template match="olink"> - <xsl:apply-templates/> - </xsl:template> - - - - - - - -<!--############################################################################# --> - <xsl:template name="title.xref"> - <xsl:param name="target" select="."/> - <xsl:choose> - <xsl:when test="name($target) = 'figure' - or name($target) = 'example' - or name($target) = 'equation' - or name($target) = 'table' - or name($target) = 'dedication' - or name($target) = 'preface' - or name($target) = 'bibliography' - or name($target) = 'glossary' - or name($target) = 'index' - or name($target) = 'setindex' - or name($target) = 'colophon'"> - <xsl:call-template name="gentext.startquote"/> - <xsl:apply-templates select="$target" mode="title.content"/> - <xsl:call-template name="gentext.endquote"/> - </xsl:when> - <xsl:otherwise> - <xsl:text>{\em </xsl:text><xsl:apply-templates select="$target" mode="title.content"/><xsl:text>}</xsl:text> - </xsl:otherwise> - </xsl:choose> - </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 name="generate.typeset.url"> - <xsl:param name="hyphenation"/> - <xsl:param name="url" select="@url"/> - <xsl:choose> - <xsl:when test="$latex.use.url='1'"> - <xsl:text>\url{</xsl:text> - <xsl:value-of select="$url"/> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>\href{</xsl:text> - <xsl:call-template name="scape-href"> - <xsl:with-param name="string" select="$url"/> - </xsl:call-template> - <xsl:text>}{\texttt{</xsl:text> - <xsl:call-template name="generate.string.url"> - <xsl:with-param name="hyphenation" select="$hyphenation"/> - <xsl:with-param name="string" select="$url"/> - </xsl:call-template> - <xsl:text>}}</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -<!--############################################################################# --> - <doc:template name="generate.string.url" xmlns=""> - <refpurpose>Escape and hyphenate a string as a teletype URL.</refpurpose> - <refdescription> - <para> - This template typsets teletype text using slash.hyphen if - $latex.hyphenation.tttricks is disabled. - Has two parameters: 'hyphenation' and 'string'. - </para> - </refdescription> - </doc:template> -<!--############################################################################# --> - <xsl:template name="generate.string.url"> - <xsl:param name="hyphenation" /> - <xsl:param name="string" /> - <xsl:param name="url" select="$string"/> - <xsl:choose> - <xsl:when test="$latex.hyphenation.tttricks=1"> - <xsl:value-of select="$hyphenation" /> - <xsl:text>{</xsl:text> - <xsl:call-template name="normalize-scape"><xsl:with-param name="string" select="$string"/></xsl:call-template> - <xsl:text>}</xsl:text> - </xsl:when> - <xsl:otherwise> - <!-- LaTeX chars are scaped. Each / except the :// is mapped to a /\- --> - <xsl:call-template name="scape.slash.hyphen"><xsl:with-param name="string" select="$url"/></xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - -</xsl:stylesheet> diff --git a/docs/faq/FAQ-Config.html b/docs/faq/FAQ-Config.html deleted file mode 100644 index 785522ec4e..0000000000 --- a/docs/faq/FAQ-Config.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 3. Configuration problems</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"><link rel="home" href="samba-faq.html" title="Samba FAQ"><link rel="up" href="samba-faq.html" title="Samba FAQ"><link rel="previous" href="FAQ-Install.html" title="Chapter 2. Compiling and installing Samba on a Unix host"><link rel="next" href="FAQ-ClientApp.html" title="Chapter 4. Specific client application problems"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Configuration problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FAQ-Install.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="FAQ-ClientApp.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="FAQ-Config"></a>Chapter 3. Configuration problems</h2></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="FAQ-Config.html#id2811370">I have set 'force user' and samba still makes 'root' the owner of all the files I touch!</a></dt><dt><a href="FAQ-Config.html#id2811387">I have just installed samba and I'm trying to log in from Windows, but samba refuses all logins!</a></dt><dt><a href="FAQ-Config.html#id2811409">How can I make samba use netbios scope ID's</a></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2811370"></a>I have set 'force user' and samba still makes 'root' the owner of all the files I touch!</h2></div></div><p> -When you have a user in 'admin users', samba will always do file operations for -this user as 'root', even if 'force user' has been set. -</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2811387"></a>I have just installed samba and I'm trying to log in from Windows, but samba refuses all logins!</h2></div></div><p> -Newer windows clients(NT4, 2000, XP) send encrypted passwords. Samba can't compare these -passwords to the unix password database, so it needs it's own user database. You can -add users to this database using "smbpasswd -a user-name". -</p><p> -See also the "User database" chapter of the samba HOWTO Collection. -</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2811409"></a>How can I make samba use netbios scope ID's</h2></div></div><p>By default Samba uses a blank scope ID. This means -all your windows boxes must also have a blank scope ID. -If you really want to use a non-blank scope ID then you will -need to use the 'netbios scope' smb.conf option. -All your PCs will need to have the same setting for -this to work. Scope ID's are not recommended.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FAQ-Install.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="samba-faq.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="FAQ-ClientApp.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Compiling and installing Samba on a Unix host </td><td width="20%" align="center"><a accesskey="h" href="samba-faq.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. Specific client application problems</td></tr></table></div></body></html> diff --git a/docs/faq/FAQ-Printing.html b/docs/faq/FAQ-Printing.html deleted file mode 100644 index a924d40cd5..0000000000 --- a/docs/faq/FAQ-Printing.html +++ /dev/null @@ -1,16 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 7. Printing problems</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"><link rel="home" href="samba-faq.html" title="Samba FAQ"><link rel="up" href="samba-faq.html" title="Samba FAQ"><link rel="previous" href="FAQ-features.html" title="Chapter 6. Features"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 7. Printing problems</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="FAQ-features.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="FAQ-Printing"></a>Chapter 7. Printing problems</h2></div><div><div class="author"><h3 class="author">Ronan Waide</h3></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="FAQ-Printing.html#id2875214">setdriver or cupsaddsmb failes</a></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2875214"></a>setdriver or cupsaddsmb failes</h2></div></div><p> -setdriver expects the following setup: - -</p><table class="simplelist" border="0" summary="Simple list"><tr><td>you are a printer admin, or root. this is the smb.conf printer admin group, not the Printer Operators group in NT. I've not tried the latter, but I don't believe it will work based on the current code.</td></tr><tr><td>printer admins has to be defined in [global]</td></tr><tr><td>upload the driver files to \\server\print$\w32x86 and win40 as appropriate. DON'T put them in the 0 or 2 subdirectories.</td></tr><tr><td>Make sure that the user you're connecting as is able to write to the print$ directories</td></tr><tr><td>Use adddriver (with appropriate parameters) to create the driver. note, this will not just update samba's notion of drivers, it will also move the files from the w32x86 and win40 directories to an appropriate subdirectory (based on driver version, I think, but not important enough for me to find out)</td></tr><tr><td>Use setdriver to associate the driver with a printer</td></tr></table><p> -</p><p> -The setdriver call will fail if the printer doesn't already exist in -samba's view of the world. Either create the printer in cups and -restart samba, or create an add printer command (see smb.conf doco) -and use RPC calls to create a printer. NB the add printer command MUST -return a single line of text indicating which port the printer was -added on. If it doesn't, Samba won't reload the printer -definitions. Although samba doesn't really support the notion of -ports, suitable add printer command and enumport command settings can -allow you pretty good remote control of the samba printer setup. -</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="FAQ-features.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="samba-faq.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Chapter 6. Features </td><td width="20%" align="center"><a accesskey="h" href="samba-faq.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> diff --git a/docs/htmldocs/ads.html b/docs/htmldocs/ads.html deleted file mode 100644 index b7468eb091..0000000000 --- a/docs/htmldocs/ads.html +++ /dev/null @@ -1,467 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Samba as a ADS domain member</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Type of installation" -HREF="type.html"><LINK -REL="PREVIOUS" -TITLE="Samba Backup Domain Controller to Samba Domain Control" -HREF="samba-bdc.html"><LINK -REL="NEXT" -TITLE="Samba as a NT4 or Win2k domain member" -HREF="domain-member.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="samba-bdc.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="domain-member.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="ADS" -></A ->Chapter 9. Samba as a ADS domain member</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->9.1. <A -HREF="ads.html#AEN1363" ->Setup your <TT -CLASS="FILENAME" ->smb.conf</TT -></A -></DT -><DT ->9.2. <A -HREF="ads.html#AEN1376" ->Setup your <TT -CLASS="FILENAME" ->/etc/krb5.conf</TT -></A -></DT -><DT ->9.3. <A -HREF="ads.html#ADS-CREATE-MACHINE-ACCOUNT" ->Create the computer account</A -></DT -><DT ->9.4. <A -HREF="ads.html#ADS-TEST-SERVER" ->Test your server setup</A -></DT -><DT ->9.5. <A -HREF="ads.html#ADS-TEST-SMBCLIENT" ->Testing with <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -></A -></DT -><DT ->9.6. <A -HREF="ads.html#AEN1424" ->Notes</A -></DT -></DL -></DIV -><P ->This is a rough guide to setting up Samba 3.0 with kerberos authentication against a -Windows2000 KDC. </P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN1363" ->9.1. Setup your <TT -CLASS="FILENAME" ->smb.conf</TT -></A -></H1 -><P ->You must use at least the following 3 options in smb.conf:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> realm = YOUR.KERBEROS.REALM - security = ADS - encrypt passwords = yes</PRE -></P -><P ->In case samba can't figure out your ads server using your realm name, use the -<B -CLASS="COMMAND" ->ads server</B -> option in <TT -CLASS="FILENAME" ->smb.conf</TT ->: -<PRE -CLASS="PROGRAMLISTING" -> ads server = your.kerberos.server</PRE -></P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->You do *not* need a smbpasswd file, and older clients will - be authenticated as if <B -CLASS="COMMAND" ->security = domain</B ->, - although it won't do any harm - and allows you to have local users not in the domain. - I expect that the above required options will change soon when we get better - active directory integration.</P -></TD -></TR -></TABLE -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN1376" ->9.2. Setup your <TT -CLASS="FILENAME" ->/etc/krb5.conf</TT -></A -></H1 -><P ->The minimal configuration for <TT -CLASS="FILENAME" ->krb5.conf</TT -> is:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->[realms] - YOUR.KERBEROS.REALM = { - kdc = your.kerberos.server - }</PRE -></P -><P ->Test your config by doing a <KBD -CLASS="USERINPUT" ->kinit <VAR -CLASS="REPLACEABLE" ->USERNAME</VAR ->@<VAR -CLASS="REPLACEABLE" ->REALM</VAR -></KBD -> and making sure that - your password is accepted by the Win2000 KDC. </P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->The realm must be uppercase. </P -></TD -></TR -></TABLE -></DIV -><P ->You also must ensure that you can do a reverse DNS lookup on the IP -address of your KDC. Also, the name that this reverse lookup maps to -must either be the netbios name of the KDC (ie. the hostname with no -domain attached) or it can alternatively be the netbios name -followed by the realm. </P -><P ->The easiest way to ensure you get this right is to add a -<TT -CLASS="FILENAME" ->/etc/hosts</TT -> entry mapping the IP address of your KDC to -its netbios name. If you don't get this right then you will get a -"local error" when you try to join the realm.</P -><P ->If all you want is kerberos support in <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -> then you can skip -straight to <A -HREF="ads.html#ADS-TEST-SMBCLIENT" ->Test with <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -></A -> now. -<A -HREF="ads.html#ADS-CREATE-MACHINE-ACCOUNT" ->Creating a computer account</A -> -and <A -HREF="ads.html#ADS-TEST-SERVER" ->testing your servers</A -> -is only needed if you want kerberos -support for <SPAN -CLASS="APPLICATION" ->smbd</SPAN -> and <SPAN -CLASS="APPLICATION" ->winbindd</SPAN ->.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="ADS-CREATE-MACHINE-ACCOUNT" ->9.3. Create the computer account</A -></H1 -><P ->As a user that has write permission on the Samba private directory -(usually root) run: -<KBD -CLASS="USERINPUT" ->net ads join</KBD -></P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN1404" ->9.3.1. Possible errors</A -></H2 -><P -><P -></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT ->"ADS support not compiled in"</DT -><DD -><P ->Samba must be reconfigured (remove config.cache) and recompiled (make clean all install) after the kerberos libs and headers are installed.</P -></DD -></DL -></DIV -></P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="ADS-TEST-SERVER" ->9.4. Test your server setup</A -></H1 -><P ->On a Windows 2000 client try <KBD -CLASS="USERINPUT" ->net use * \\server\share</KBD ->. You should -be logged in with kerberos without needing to know a password. If -this fails then run <KBD -CLASS="USERINPUT" ->klist tickets</KBD ->. Did you get a ticket for the -server? Does it have an encoding type of DES-CBC-MD5 ? </P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="ADS-TEST-SMBCLIENT" ->9.5. Testing with <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -></A -></H1 -><P ->On your Samba server try to login to a Win2000 server or your Samba -server using <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -> and kerberos. Use <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -> as usual, but -specify the <VAR -CLASS="PARAMETER" ->-k</VAR -> option to choose kerberos authentication.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN1424" ->9.6. Notes</A -></H1 -><P ->You must change administrator password at least once after DC -install, to create the right encoding types</P -><P ->w2k doesn't seem to create the _kerberos._udp and _ldap._tcp in - their defaults DNS setup. Maybe fixed in service packs?</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="samba-bdc.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="domain-member.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Samba Backup Domain Controller to Samba Domain Control</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="type.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Samba as a NT4 or Win2k domain member</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/advancednetworkmanagement.html b/docs/htmldocs/advancednetworkmanagement.html deleted file mode 100644 index b55eed16bc..0000000000 --- a/docs/htmldocs/advancednetworkmanagement.html +++ /dev/null @@ -1,555 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Advanced Network Manangement</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Unified Logons between Windows NT and UNIX using Winbind" -HREF="winbind.html"><LINK -REL="NEXT" -TITLE="System and Account Policies" -HREF="policymgmt.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="winbind.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="policymgmt.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="ADVANCEDNETWORKMANAGEMENT" -></A ->Chapter 16. Advanced Network Manangement</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->16.1. <A -HREF="advancednetworkmanagement.html#AEN2869" ->Configuring Samba Share Access Controls</A -></DT -><DT ->16.2. <A -HREF="advancednetworkmanagement.html#AEN2907" ->Remote Server Administration</A -></DT -><DT ->16.3. <A -HREF="advancednetworkmanagement.html#AEN2924" ->Network Logon Script Magic</A -></DT -></DL -></DIV -><P ->This section attempts to document peripheral issues that are of great importance to network -administrators who want to improve network resource access control, to automate the user -environment, and to make their lives a little easier.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2869" ->16.1. Configuring Samba Share Access Controls</A -></H1 -><P ->This section deals with how to configure Samba per share access control restrictions. -By default samba sets no restrictions on the share itself. Restrictions on the share itself -can be set on MS Windows NT4/200x/XP shares. This can be a very effective way to limit who can -connect to a share. In the absence of specific restrictions the default setting is to allow -the global user <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Everyone</I -></SPAN -> Full Control (ie: Full control, Change and Read).</P -><P ->At this time Samba does NOT provide a tool for configuring access control setting on the Share -itself. Samba does have the capacity to store and act on access control settings, but the only -way to create those settings is to use either the NT4 Server Manager or the Windows 200x MMC for -Computer Management.</P -><P ->Samba stores the per share access control settings in a file called <TT -CLASS="FILENAME" ->share_info.tdb</TT ->. -The location of this file on your system will depend on how samba was compiled. The default location -for samba's tdb files is under <TT -CLASS="FILENAME" ->/usr/local/samba/var</TT ->. If the <TT -CLASS="FILENAME" ->tdbdump</TT -> -utility has been compiled and installed on your system then you can examine the contents of this file -by: <KBD -CLASS="USERINPUT" ->tdbdump share_info.tdb</KBD ->.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN2879" ->16.1.1. Share Permissions Management</A -></H2 -><P ->The best tool for the task is platform dependant. Choose the best tool for your environmemt.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN2882" ->16.1.1.1. Windows NT4 Workstation/Server</A -></H3 -><P ->The tool you need to use to manage share permissions on a Samba server is the NT Server Manager. -Server Manager is shipped with Windows NT4 Server products but not with Windows NT4 Workstation. -You can obtain the NT Server Manager for MS Windows NT4 Workstation from Microsoft - see details below.</P -><DIV -CLASS="PROCEDURE" -><P -><B ->Instructions</B -></P -><OL -TYPE="1" -><LI -><P ->Launch the NT4 Server Manager, click on the Samba server you want to administer, then from the menu -select Computer, then click on the Shared Directories entry.</P -></LI -><LI -><P -> Now click on the share that you wish to manage, then click on the Properties tab, next click on - the Permissions tab. Now you can Add or change access control settings as you wish.</P -></LI -></OL -></DIV -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN2891" ->16.1.1.2. Windows 200x/XP</A -></H3 -><P ->On MS Windows NT4/200x/XP system access control lists on the share itself are set using native -tools, usually from filemanager. For example, in Windows 200x: right click on the shared folder, -then select 'Sharing', then click on 'Permissions'. The default Windows NT4/200x permission allows -<SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Everyone</I -></SPAN -> Full Control on the Share.</P -><P ->MS Windows 200x and later all comes with a tool called the 'Computer Management' snap-in for the -Microsoft Management Console (MMC). This tool is located by clicking on <TT -CLASS="FILENAME" ->Control Panel -> -Administrative Tools -> Computer Management</TT ->.</P -><DIV -CLASS="PROCEDURE" -><P -><B ->Instructions</B -></P -><OL -TYPE="1" -><LI -><P -> After launching the MMC with the Computer Management snap-in, click on the menu item 'Action', - select 'Connect to another computer'. If you are not logged onto a domain you will be prompted - to enter a domain login user identifier and a password. This will authenticate you to the domain. - If you where already logged in with administrative privilidge this step is not offered.</P -></LI -><LI -><P ->If the Samba server is not shown in the Select Computer box, then type in the name of the target -Samba server in the field 'Name:'. Now click on the [+] next to 'System Tools', then on the [+] -next to 'Shared Folders' in the left panel.</P -></LI -><LI -><P ->Now in the right panel, double-click on the share you wish to set access control permissions on. -Then click on the tab 'Share Permissions'. It is now possible to add access control entities -to the shared folder. Do NOT forget to set what type of access (full control, change, read) you -wish to assign for each entry.</P -></LI -></OL -></DIV -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/warning.gif" -HSPACE="5" -ALT="Warning"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Be careful. If you take away all permissions from the Everyone user without removing this user -then effectively no user will be able to access the share. This is a result of what is known as -ACL precidence. ie: Everyone with NO ACCESS means that MaryK who is part of the group Everyone -will have no access even if this user is given explicit full control access.</P -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2907" ->16.2. Remote Server Administration</A -></H1 -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->How do I get 'User Manager' and 'Server Manager'?</I -></SPAN -></P -><P ->Since I don't need to buy an NT4 Server, how do I get the 'User Manager for Domains', -the 'Server Manager'?</P -><P ->Microsoft distributes a version of these tools called nexus for installation on Windows 9x / Me -systems. The tools set includes:</P -><P -></P -><UL -><LI -><P ->Server Manager</P -></LI -><LI -><P ->User Manager for Domains</P -></LI -><LI -><P ->Event Viewer</P -></LI -></UL -><P ->Click here to download the archived file <A -HREF="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" -TARGET="_top" ->ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE</A -></P -><P ->The Windows NT 4.0 version of the 'User Manager for -Domains' and 'Server Manager' are available from Microsoft via ftp -from <A -HREF="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" -TARGET="_top" ->ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE</A -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2924" ->16.3. Network Logon Script Magic</A -></H1 -><P ->This section needs work. Volunteer contributions most welcome. Please send your patches or updates -to <A -HREF="mailto:jht@samba.org" -TARGET="_top" ->John Terpstra</A ->.</P -><P ->There are several opportunities for creating a custom network startup configuration environment.</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->No Logon Script</TD -></TR -><TR -><TD ->Simple universal Logon Script that applies to all users</TD -></TR -><TR -><TD ->Use of a conditional Logon Script that applies per user or per group attirbutes</TD -></TR -><TR -><TD ->Use of Samba's Preexec and Postexec functions on access to the NETLOGON share to create - a custom Logon Script and then execute it.</TD -></TR -><TR -><TD ->User of a tool such as KixStart</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->The Samba source code tree includes two logon script generation/execution tools. See <TT -CLASS="FILENAME" ->examples</TT -> directory <TT -CLASS="FILENAME" ->genlogon</TT -> and <TT -CLASS="FILENAME" ->ntlogon</TT -> subdirectories.</P -><P ->The following listings are from the genlogon directory.</P -><P ->This is the genlogon.pl file: - -<PRE -CLASS="PROGRAMLISTING" -> #!/usr/bin/perl - # - # genlogon.pl - # - # Perl script to generate user logon scripts on the fly, when users - # connect from a Windows client. This script should be called from smb.conf - # with the %U, %G and %L parameters. I.e: - # - # root preexec = genlogon.pl %U %G %L - # - # The script generated will perform - # the following: - # - # 1. Log the user connection to /var/log/samba/netlogon.log - # 2. Set the PC's time to the Linux server time (which is maintained - # daily to the National Institute of Standard's Atomic clock on the - # internet. - # 3. Connect the user's home drive to H: (H for Home). - # 4. Connect common drives that everyone uses. - # 5. Connect group-specific drives for certain user groups. - # 6. Connect user-specific drives for certain users. - # 7. Connect network printers. - - # Log client connection - #($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); - ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); - open LOG, ">>/var/log/samba/netlogon.log"; - print LOG "$mon/$mday/$year $hour:$min:$sec - User $ARGV[0] logged into $ARGV[1]\n"; - close LOG; - - # Start generating logon script - open LOGON, ">/shared/netlogon/$ARGV[0].bat"; - print LOGON "\@ECHO OFF\r\n"; - - # Connect shares just use by Software Development group - if ($ARGV[1] eq "SOFTDEV" || $ARGV[0] eq "softdev") - { - print LOGON "NET USE M: \\\\$ARGV[2]\\SOURCE\r\n"; - } - - # Connect shares just use by Technical Support staff - if ($ARGV[1] eq "SUPPORT" || $ARGV[0] eq "support") - { - print LOGON "NET USE S: \\\\$ARGV[2]\\SUPPORT\r\n"; - } - - # Connect shares just used by Administration staff - If ($ARGV[1] eq "ADMIN" || $ARGV[0] eq "admin") - { - print LOGON "NET USE L: \\\\$ARGV[2]\\ADMIN\r\n"; - print LOGON "NET USE K: \\\\$ARGV[2]\\MKTING\r\n"; - } - - # Now connect Printers. We handle just two or three users a little - # differently, because they are the exceptions that have desktop - # printers on LPT1: - all other user's go to the LaserJet on the - # server. - if ($ARGV[0] eq 'jim' - || $ARGV[0] eq 'yvonne') - { - print LOGON "NET USE LPT2: \\\\$ARGV[2]\\LJET3\r\n"; - print LOGON "NET USE LPT3: \\\\$ARGV[2]\\FAXQ\r\n"; - } - else - { - print LOGON "NET USE LPT1: \\\\$ARGV[2]\\LJET3\r\n"; - print LOGON "NET USE LPT3: \\\\$ARGV[2]\\FAXQ\r\n"; - } - - # All done! Close the output file. - close LOGON;</PRE -></P -><P ->Those wishing to use more elaborate or capable logon processing system should check out the following sites:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->http://www.craigelachie.org/rhacer/ntlogon</TD -></TR -><TR -><TD ->http://www.kixtart.org</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="winbind.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="policymgmt.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Unified Logons between Windows NT and UNIX using Winbind</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->System and Account Policies</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/appendixes.html b/docs/htmldocs/appendixes.html deleted file mode 100644 index 8015702c51..0000000000 --- a/docs/htmldocs/appendixes.html +++ /dev/null @@ -1,140 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Appendixes</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="PREVIOUS" -TITLE="Unicode/Charsets" -HREF="unicode.html"><LINK -REL="NEXT" -TITLE="How to compile SAMBA" -HREF="compiling.html"></HEAD -><BODY -CLASS="PART" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="unicode.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="compiling.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="PART" -><A -NAME="APPENDIXES" -></A -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" ->IV. Appendixes</H1 -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="unicode.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="compiling.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Unicode/Charsets</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->How to compile SAMBA</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/browsing-quick.html b/docs/htmldocs/browsing-quick.html deleted file mode 100644 index 4611db7195..0000000000 --- a/docs/htmldocs/browsing-quick.html +++ /dev/null @@ -1,805 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="General installation" -HREF="introduction.html"><LINK -REL="PREVIOUS" -TITLE="How to Install and Test SAMBA" -HREF="install.html"><LINK -REL="NEXT" -TITLE="User information database" -HREF="passdb.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="install.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="passdb.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="BROWSING-QUICK" -></A ->Chapter 3. Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->3.1. <A -HREF="browsing-quick.html#AEN305" ->Discussion</A -></DT -><DT ->3.2. <A -HREF="browsing-quick.html#AEN326" ->How browsing functions and how to deploy stable and -dependable browsing using Samba</A -></DT -><DT ->3.3. <A -HREF="browsing-quick.html#AEN340" ->Use of the <B -CLASS="COMMAND" ->Remote Announce</B -> parameter</A -></DT -><DT ->3.4. <A -HREF="browsing-quick.html#AEN363" ->Use of the <B -CLASS="COMMAND" ->Remote Browse Sync</B -> parameter</A -></DT -><DT ->3.5. <A -HREF="browsing-quick.html#AEN374" ->Use of WINS</A -></DT -><DD -><DL -><DT ->3.5.1. <A -HREF="browsing-quick.html#AEN391" ->WINS Replication</A -></DT -><DT ->3.5.2. <A -HREF="browsing-quick.html#AEN395" ->Static WINS Entries</A -></DT -></DL -></DD -><DT ->3.6. <A -HREF="browsing-quick.html#AEN400" ->Do NOT use more than one (1) protocol on MS Windows machines</A -></DT -><DT ->3.7. <A -HREF="browsing-quick.html#AEN408" ->Name Resolution Order</A -></DT -></DL -></DIV -><P ->This document should be read in conjunction with Browsing and may -be taken as the fast track guide to implementing browsing across subnets -and / or across workgroups (or domains). WINS is the best tool for resolution -of NetBIOS names to IP addesses. WINS is NOT involved in browse list handling -except by way of name to address mapping.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->MS Windows 2000 and later can be configured to operate with NO NetBIOS -over TCP/IP. Samba-3 and later also supports this mode of operation.</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN305" ->3.1. Discussion</A -></H1 -><P ->Firstly, all MS Windows networking is based on SMB (Server Message -Block) based messaging. SMB messaging may be implemented using NetBIOS or -without NetBIOS. Samba implements NetBIOS by encapsulating it over TCP/IP. -MS Windows products can do likewise. NetBIOS based networking uses broadcast -messaging to affect browse list management. When running NetBIOS over -TCP/IP this uses UDP based messaging. UDP messages can be broadcast or unicast.</P -><P ->Normally, only unicast UDP messaging can be forwarded by routers. The -<B -CLASS="COMMAND" ->remote announce</B -> -parameter to smb.conf helps to project browse announcements -to remote network segments via unicast UDP. Similarly, the -<B -CLASS="COMMAND" ->remote browse sync</B -> parameter of <TT -CLASS="FILENAME" ->smb.conf</TT -> -implements browse list collation using unicast UDP.</P -><P ->Secondly, in those networks where Samba is the only SMB server technology -wherever possible <SPAN -CLASS="APPLICATION" ->nmbd</SPAN -> should be configured on one (1) machine as the WINS -server. This makes it easy to manage the browsing environment. If each network -segment is configured with it's own Samba WINS server, then the only way to -get cross segment browsing to work is by using the -<B -CLASS="COMMAND" ->remote announce</B -> and the <B -CLASS="COMMAND" ->remote browse sync</B -> -parameters to your <TT -CLASS="FILENAME" ->smb.conf</TT -> file.</P -><P ->If only one WINS server is used for an entire multi-segment network then -the use of the <B -CLASS="COMMAND" ->remote announce</B -> and the -<B -CLASS="COMMAND" ->remote browse sync</B -> parameters should NOT be necessary.</P -><P ->As of Samba 3 WINS replication is being worked on. The bulk of the code has -been committed, but it still needs maturation.</P -><P ->Right now samba WINS does not support MS-WINS replication. This means that -when setting up Samba as a WINS server there must only be one <SPAN -CLASS="APPLICATION" ->nmbd</SPAN -> configured -as a WINS server on the network. Some sites have used multiple Samba WINS -servers for redundancy (one server per subnet) and then used -<B -CLASS="COMMAND" ->remote browse sync</B -> and <B -CLASS="COMMAND" ->remote announce</B -> -to affect browse list collation across all -segments. Note that this means clients will only resolve local names, -and must be configured to use DNS to resolve names on other subnets in -order to resolve the IP addresses of the servers they can see on other -subnets. This setup is not recommended, but is mentioned as a practical -consideration (ie: an 'if all else fails' scenario).</P -><P ->Lastly, take note that browse lists are a collection of unreliable broadcast -messages that are repeated at intervals of not more than 15 minutes. This means -that it will take time to establish a browse list and it can take up to 45 -minutes to stabilise, particularly across network segments.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN326" ->3.2. How browsing functions and how to deploy stable and -dependable browsing using Samba</A -></H1 -><P ->As stated above, MS Windows machines register their NetBIOS names -(i.e.: the machine name for each service type in operation) on start -up. Also, as stated above, the exact method by which this name registration -takes place is determined by whether or not the MS Windows client/server -has been given a WINS server address, whether or not LMHOSTS lookup -is enabled, or if DNS for NetBIOS name resolution is enabled, etc.</P -><P ->In the case where there is no WINS server all name registrations as -well as name lookups are done by UDP broadcast. This isolates name -resolution to the local subnet, unless LMHOSTS is used to list all -names and IP addresses. In such situations Samba provides a means by -which the samba server name may be forcibly injected into the browse -list of a remote MS Windows network (using the -<B -CLASS="COMMAND" ->remote announce</B -> parameter).</P -><P ->Where a WINS server is used, the MS Windows client will use UDP -unicast to register with the WINS server. Such packets can be routed -and thus WINS allows name resolution to function across routed networks.</P -><P ->During the startup process an election will take place to create a -local master browser if one does not already exist. On each NetBIOS network -one machine will be elected to function as the domain master browser. This -domain browsing has nothing to do with MS security domain control. -Instead, the domain master browser serves the role of contacting each local -master browser (found by asking WINS or from LMHOSTS) and exchanging browse -list contents. This way every master browser will eventually obtain a complete -list of all machines that are on the network. Every 11-15 minutes an election -is held to determine which machine will be the master browser. By the nature of -the election criteria used, the machine with the highest uptime, or the -most senior protocol version, or other criteria, will win the election -as domain master browser.</P -><P ->Clients wishing to browse the network make use of this list, but also depend -on the availability of correct name resolution to the respective IP -address/addresses. </P -><P ->Any configuration that breaks name resolution and/or browsing intrinsics -will annoy users because they will have to put up with protracted -inability to use the network services.</P -><P ->Samba supports a feature that allows forced synchonisation -of browse lists across routed networks using the <B -CLASS="COMMAND" ->remote -browse sync</B -> parameter in the <TT -CLASS="FILENAME" ->smb.conf</TT -> file. -This causes Samba to contact the local master browser on a remote network and -to request browse list synchronisation. This effectively bridges -two networks that are separated by routers. The two remote -networks may use either broadcast based name resolution or WINS -based name resolution, but it should be noted that the <B -CLASS="COMMAND" ->remote -browse sync</B -> parameter provides browse list synchronisation - and -that is distinct from name to address resolution, in other -words, for cross subnet browsing to function correctly it is -essential that a name to address resolution mechanism be provided. -This mechanism could be via DNS, <TT -CLASS="FILENAME" ->/etc/hosts</TT ->, -and so on.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN340" ->3.3. Use of the <B -CLASS="COMMAND" ->Remote Announce</B -> parameter</A -></H1 -><P ->The <B -CLASS="COMMAND" ->remote announce</B -> parameter of -<TT -CLASS="FILENAME" ->smb.conf</TT -> can be used to forcibly ensure -that all the NetBIOS names on a network get announced to a remote network. -The syntax of the <B -CLASS="COMMAND" ->remote announce</B -> parameter is: -<PRE -CLASS="PROGRAMLISTING" -> remote announce = <VAR -CLASS="REPLACEABLE" ->a.b.c.d [e.f.g.h]</VAR -> ...</PRE -> -_or_ -<PRE -CLASS="PROGRAMLISTING" -> remote announce = <VAR -CLASS="REPLACEABLE" ->a.b.c.d/WORKGROUP [e.f.g.h/WORKGROUP]</VAR -> ...</PRE -> - -where: -<P -></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT -><VAR -CLASS="REPLACEABLE" ->a.b.c.d</VAR -> and -<VAR -CLASS="REPLACEABLE" ->e.f.g.h</VAR -></DT -><DD -><P ->is either the LMB (Local Master Browser) IP address -or the broadcst address of the remote network. -ie: the LMB is at 192.168.1.10, or the address -could be given as 192.168.1.255 where the netmask -is assumed to be 24 bits (255.255.255.0). -When the remote announcement is made to the broadcast -address of the remote network every host will receive -our announcements. This is noisy and therefore -undesirable but may be necessary if we do NOT know -the IP address of the remote LMB.</P -></DD -><DT -><VAR -CLASS="REPLACEABLE" ->WORKGROUP</VAR -></DT -><DD -><P ->is optional and can be either our own workgroup -or that of the remote network. If you use the -workgroup name of the remote network then our -NetBIOS machine names will end up looking like -they belong to that workgroup, this may cause -name resolution problems and should be avoided.</P -></DD -></DL -></DIV -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN363" ->3.4. Use of the <B -CLASS="COMMAND" ->Remote Browse Sync</B -> parameter</A -></H1 -><P ->The <B -CLASS="COMMAND" ->remote browse sync</B -> parameter of -<TT -CLASS="FILENAME" ->smb.conf</TT -> is used to announce to -another LMB that it must synchronise it's NetBIOS name list with our -Samba LMB. It works ONLY if the Samba server that has this option is -simultaneously the LMB on it's network segment.</P -><P ->The syntax of the <B -CLASS="COMMAND" ->remote browse sync</B -> parameter is: - -<PRE -CLASS="PROGRAMLISTING" ->remote browse sync = <VAR -CLASS="REPLACEABLE" ->a.b.c.d</VAR -></PRE -> - -where <VAR -CLASS="REPLACEABLE" ->a.b.c.d</VAR -> is either the IP address of the remote LMB or else is the network broadcast address of the remote segment.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN374" ->3.5. Use of WINS</A -></H1 -><P ->Use of WINS (either Samba WINS _or_ MS Windows NT Server WINS) is highly -recommended. Every NetBIOS machine registers it's name together with a -name_type value for each of of several types of service it has available. -eg: It registers it's name directly as a unique (the type 0x03) name. -It also registers it's name if it is running the lanmanager compatible -server service (used to make shares and printers available to other users) -by registering the server (the type 0x20) name.</P -><P ->All NetBIOS names are up to 15 characters in length. The name_type variable -is added to the end of the name - thus creating a 16 character name. Any -name that is shorter than 15 characters is padded with spaces to the 15th -character. ie: All NetBIOS names are 16 characters long (including the -name_type information).</P -><P ->WINS can store these 16 character names as they get registered. A client -that wants to log onto the network can ask the WINS server for a list -of all names that have registered the NetLogon service name_type. This saves -broadcast traffic and greatly expedites logon processing. Since broadcast -name resolution can not be used across network segments this type of -information can only be provided via WINS _or_ via statically configured -<TT -CLASS="FILENAME" ->lmhosts</TT -> files that must reside on all clients in the -absence of WINS.</P -><P ->WINS also serves the purpose of forcing browse list synchronisation by all -LMB's. LMB's must synchronise their browse list with the DMB (domain master -browser) and WINS helps the LMB to identify it's DMB. By definition this -will work only within a single workgroup. Note that the domain master browser -has NOTHING to do with what is referred to as an MS Windows NT Domain. The -later is a reference to a security environment while the DMB refers to the -master controller for browse list information only.</P -><P ->Use of WINS will work correctly only if EVERY client TCP/IP protocol stack -has been configured to use the WINS server/s. Any client that has not been -configured to use the WINS server will continue to use only broadcast based -name registration so that WINS may NEVER get to know about it. In any case, -machines that have not registered with a WINS server will fail name to address -lookup attempts by other clients and will therefore cause workstation access -errors.</P -><P ->To configure Samba as a WINS server just add -<B -CLASS="COMMAND" ->wins support = yes</B -> to the <TT -CLASS="FILENAME" ->smb.conf</TT -> -file [globals] section.</P -><P ->To configure Samba to register with a WINS server just add -"wins server = a.b.c.d" to your smb.conf file [globals] section.</P -><DIV -CLASS="IMPORTANT" -><P -></P -><TABLE -CLASS="IMPORTANT" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/important.gif" -HSPACE="5" -ALT="Important"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Never use both <B -CLASS="COMMAND" ->wins support = yes</B -> together -with <B -CLASS="COMMAND" ->wins server = a.b.c.d</B -> -particularly not using it's own IP address. -Specifying both will cause <SPAN -CLASS="APPLICATION" ->nmbd</SPAN -> to refuse to start!</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN391" ->3.5.1. WINS Replication</A -></H2 -><P ->Samba-3 permits WINS replication through the use of the <TT -CLASS="FILENAME" ->wrepld</TT -> utility. -This tool is not currently capable of being used as it is still in active development. -As soon as this tool becomes moderately functional we will prepare man pages and enhance this -section of the documentation to provide usage and technical details.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN395" ->3.5.2. Static WINS Entries</A -></H2 -><P ->New to Samba-3 is a tool called <TT -CLASS="FILENAME" ->winsedit</TT -> that may be used to add -static WINS entries to the WINS database. This tool can be used also to modify entries -existing in the WINS database.</P -><P ->The development of the winsedit tool was made necessary due to the migration -of the older style wins.dat file into a new tdb binary backend data store.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN400" ->3.6. Do NOT use more than one (1) protocol on MS Windows machines</A -></H1 -><P ->A very common cause of browsing problems results from installing more than -one protocol on an MS Windows machine.</P -><P ->Every NetBIOS machine takes part in a process of electing the LMB (and DMB) -every 15 minutes. A set of election criteria is used to determine the order -of precidence for winning this election process. A machine running Samba or -Windows NT will be biased so that the most suitable machine will predictably -win and thus retain it's role.</P -><P ->The election process is "fought out" so to speak over every NetBIOS network -interface. In the case of a Windows 9x machine that has both TCP/IP and IPX -installed and has NetBIOS enabled over both protocols the election will be -decided over both protocols. As often happens, if the Windows 9x machine is -the only one with both protocols then the LMB may be won on the NetBIOS -interface over the IPX protocol. Samba will then lose the LMB role as Windows -9x will insist it knows who the LMB is. Samba will then cease to function -as an LMB and thus browse list operation on all TCP/IP only machines will -fail.</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Windows 95, 98, 98se, Me are referred to generically as Windows 9x. -The Windows NT4, 2000, XP and 2003 use common protocols. These are roughly -referred to as the WinNT family, but it should be recognised that 2000 and -XP/2003 introduce new protocol extensions that cause them to behave -differently from MS Windows NT4. Generally, where a server does NOT support -the newer or extended protocol, these will fall back to the NT4 protocols.</I -></SPAN -></P -><P ->The safest rule of all to follow it this - USE ONLY ONE PROTOCOL!</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN408" ->3.7. Name Resolution Order</A -></H1 -><P ->Resolution of NetBIOS names to IP addresses can take place using a number -of methods. The only ones that can provide NetBIOS name_type information -are:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->WINS: the best tool!</TD -></TR -><TR -><TD ->LMHOSTS: is static and hard to maintain.</TD -></TR -><TR -><TD ->Broadcast: uses UDP and can not resolve names across remote segments.</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->Alternative means of name resolution includes:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->/etc/hosts: is static, hard to maintain, and lacks name_type info</TD -></TR -><TR -><TD ->DNS: is a good choice but lacks essential name_type info.</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->Many sites want to restrict DNS lookups and want to avoid broadcast name -resolution traffic. The "name resolve order" parameter is of great help here. -The syntax of the "name resolve order" parameter is: -<PRE -CLASS="PROGRAMLISTING" ->name resolve order = wins lmhosts bcast host</PRE -> -_or_ -<PRE -CLASS="PROGRAMLISTING" ->name resolve order = wins lmhosts (eliminates bcast and host)</PRE -> -The default is: -<PRE -CLASS="PROGRAMLISTING" ->name resolve order = host lmhost wins bcast</PRE ->. -where "host" refers the the native methods used by the Unix system -to implement the gethostbyname() function call. This is normally -controlled by <TT -CLASS="FILENAME" ->/etc/host.conf</TT ->, <TT -CLASS="FILENAME" ->/etc/nsswitch.conf</TT -> and <TT -CLASS="FILENAME" ->/etc/resolv.conf</TT ->.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="install.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="passdb.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->How to Install and Test SAMBA</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="introduction.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->User information database</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/cups-printing.html b/docs/htmldocs/cups-printing.html deleted file mode 100644 index 8dd4a94f4f..0000000000 --- a/docs/htmldocs/cups-printing.html +++ /dev/null @@ -1,2773 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->CUPS Printing Support</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Printing Support" -HREF="printing.html"><LINK -REL="NEXT" -TITLE="Unified Logons between Windows NT and UNIX using Winbind" -HREF="winbind.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="printing.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="winbind.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="CUPS-PRINTING" -></A ->Chapter 14. CUPS Printing Support</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->14.1. <A -HREF="cups-printing.html#AEN2034" ->Introduction</A -></DT -><DT ->14.2. <A -HREF="cups-printing.html#AEN2041" ->Configuring <TT -CLASS="FILENAME" ->smb.conf</TT -> for CUPS</A -></DT -><DT ->14.3. <A -HREF="cups-printing.html#AEN2061" ->CUPS - RAW Print Through Mode</A -></DT -><DT ->14.4. <A -HREF="cups-printing.html#AEN2118" ->CUPS as a network PostScript RIP -- CUPS drivers working on server, Adobe -PostScript driver with CUPS-PPDs downloaded to clients</A -></DT -><DT ->14.5. <A -HREF="cups-printing.html#AEN2139" ->Windows Terminal Servers (WTS) as CUPS clients</A -></DT -><DT ->14.6. <A -HREF="cups-printing.html#AEN2143" ->Setting up CUPS for driver download</A -></DT -><DT ->14.7. <A -HREF="cups-printing.html#AEN2156" ->Sources of CUPS drivers / PPDs</A -></DT -><DT ->14.8. <A -HREF="cups-printing.html#AEN2212" ->The CUPS Filter Chains</A -></DT -><DT ->14.9. <A -HREF="cups-printing.html#AEN2251" ->CUPS Print Drivers and Devices</A -></DT -><DT ->14.10. <A -HREF="cups-printing.html#AEN2328" ->Limiting the number of pages users can print</A -></DT -><DT ->14.11. <A -HREF="cups-printing.html#AEN2424" ->Advanced Postscript Printing from MS Windows</A -></DT -><DT ->14.12. <A -HREF="cups-printing.html#AEN2439" ->Auto-Deletion of CUPS spool files</A -></DT -></DL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2034" ->14.1. Introduction</A -></H1 -><P ->The Common Unix Print System (CUPS) has become very popular, but to many it is -a very mystical tool. There is a great deal of uncertainty regarding CUPS and how -it works. The result is seen in a large number of posting on the samba mailing lists -expressing frustration when MS Windows printers appear not to work with a CUPS -backr-end.</P -><P ->This is a good time to point out how CUPS can be used and what it does. CUPS is more -than just a print spooling system - it is a complete printer management system that -complies with HTTP and IPP protocols. It can be managed remotely via a web browser -and it can print using http and ipp protocols.</P -><P ->CUPS allows to creation of RAW printers (ie: NO file format translation) as well as -SMART printers (ie: CUPS does file format conversion as required for the printer). In -many ways this gives CUPS similar capabilities to the MS Windows print monitoring -system. Of course, if you are a CUPS advocate, you would agrue that CUPS is better! -In any case, let us now move on to explore how one may configure CUPS for interfacing -with MS Windows print clients via Samba.</P -><P -><A -HREF="http://www.cups.org/" -TARGET="_top" ->CUPS</A -> is a newcomer in the UNIX printing scene, -which has convinced many people upon first trial already. However, it has quite a few -new features, which make it different from other, more traditional printing systems.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2041" ->14.2. Configuring <TT -CLASS="FILENAME" ->smb.conf</TT -> for CUPS</A -></H1 -><P ->Printing with CUPS in the most basic <TT -CLASS="FILENAME" ->smb.conf</TT -> -setup in Samba-3 only needs two settings: <B -CLASS="COMMAND" ->printing = cups</B -> and -<B -CLASS="COMMAND" ->printcap = cups</B ->. While CUPS itself doesn't need a printcap -anymore, the <TT -CLASS="FILENAME" ->cupsd.conf</TT -> configuration file knows two directives -(example: <B -CLASS="COMMAND" ->Printcap /etc/printcap</B -> and <B -CLASS="COMMAND" ->PrintcapFormat -BSD</B ->), which control if such a file should be created for the -convenience of third party applications. Make sure it is set! For details see -<B -CLASS="COMMAND" ->man cupsd.conf</B -> and other CUPS-related documentation.</P -><P ->If SAMBA is compiled against libcups, then <B -CLASS="COMMAND" ->printcap = cups</B -> uses the -CUPS API to list printers, submit jobs, etc. Otherwise it maps to the System V commands -with an additional <VAR -CLASS="PARAMETER" ->-oraw</VAR -> option for printing. On a Linux system, -you can use the <B -CLASS="COMMAND" ->ldd</B -> command to find out details (ldd may not be -present on other OS platforms, or its function may be embodied by a different command):</P -><P -><PRE -CLASS="PROGRAMLISTING" ->transmeta:/home/kurt # ldd `which smbd` - libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x4002d000) - libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x4005a000) - libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000) - libdl.so.2 => /lib/libdl.so.2 (0x401e8000) - libnsl.so.1 => /lib/libnsl.so.1 (0x401ec000) - libpam.so.0 => /lib/libpam.so.0 (0x40202000) - libc.so.6 => /lib/libc.so.6 (0x4020b000) - /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)</PRE -></P -><P ->The line "libcups.so.2 => /usr/lib/libcups.so.2 -(0x40123000)" shows there is CUPS support compiled into this version of -Samba. If this is the case, and <B -CLASS="COMMAND" ->printing = cups</B -> is set, then any -otherwise manually set print command in <TT -CLASS="FILENAME" ->smb.conf</TT -> is ignored.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2061" ->14.3. CUPS - RAW Print Through Mode</A -></H1 -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->When used in raw print through mode is will be necessary to use the printer -vendor's drivers in each Windows client PC.</P -></TD -></TR -></TABLE -></DIV -><P ->When CUPS printers are configured for RAW print-through mode operation it is the -responsibility of the Samba client to fully render the print job (file) in a format -that is suitable for direct delivery to the printer. In this case CUPS will NOT -do any print file format conversion work.</P -><P ->The CUPS files that need to be correctly set for RAW mode printers to work are: - -<P -></P -><UL -><LI -><P -><TT -CLASS="FILENAME" ->/etc/cups/mime.types</TT -></P -></LI -><LI -><P -><TT -CLASS="FILENAME" ->/etc/cups/mime.convs</TT -></P -></LI -></UL -> - -Both contain entries that must be uncommented to allow <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->RAW</I -></SPAN -> mode -operation.</P -><P ->Firstly, to enable CUPS based printing from Samba the following options must be -enabled in your <TT -CLASS="FILENAME" ->smb.conf</TT -> file [globals] section: - -<P -></P -><UL -><LI -><P ->printing = CUPS</P -></LI -><LI -><P ->printcap = CUPS</P -></LI -></UL -> - -When these parameters are specified the print directives in <TT -CLASS="FILENAME" ->smb.conf</TT -> (as well as in -samba itself) will be ignored because samba will directly interface with CUPS through -it's application program interface (API) - so long as Samba has been compiled with -CUPS library (libcups) support. If samba has NOT been compiled with CUPS support then -printing will use the System V AT&T command set with the <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->-oraw</I -></SPAN -> -option automatically passing through.</P -><P ->Cupsomatic (an enhanced printing utility that is part of some CUPS implementations) -on the Samba/CUPS server does *not* add any features if a file is really -printed "raw". However, if you have loaded the driver for the Windows client from -the CUPS server, using the "cupsaddsmb" utility, and if this driver is one using -a "Foomatic" PPD, the PJL header in question is already added on the Windows client, -at the time when the driver initially generated the PostScript data and CUPS in true -"-oraw" manner doesn't remove this PJL header and passes the file "as is" to its -printer communication backend.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->NOTE: editing in the "mime.convs" and the "mime.types" file does not *enforce* -"raw" printing, it only *allows* it.</P -></TD -></TR -></TABLE -></DIV -><P ->Print files that arrive from MS Windows printing are "auto-typed" by CUPS. This aids -the process of determining proper treatment while in the print queue system. - -<P -></P -><UL -><LI -><P -> Files generated by PCL drivers and directed at PCK printers get auto-typed as - <TT -CLASS="FILENAME" ->application/octet-stream</TT ->. Unknown file format types also - get auto-typed with this tag. - </P -></LI -><LI -><P -> Files generated by a Postscript driver and directed at a Postscript printer - are auto-typed depending on the auto-detected most suitable MIME type as: - - <P -></P -><UL -><LI -><P ->* application/postscript</P -></LI -><LI -><P ->* application/vnd.cups-postscript</P -></LI -></UL -> - </P -></LI -></UL -></P -><P ->"application/postscript" first goes thru the "pstops" filter (where the page counting -and accounting takes place). The outcome will be of MIME type -"application/vnd.cups-postscript". The pstopsfilter reads and uses information from -the PPD and inserts user-provided options into the PostScript file. As a consequence, -the filtered file could possibly have an unwanted PJL header.</P -><P ->"application/postscript" will be all files with a ".ps", ".ai", ".eps" suffix or which -have as their first character string one of "%!" or ">04<%".</P -><P ->"application/vnd.cups-postscript" will files which contain the string -"LANGUAGE=POSTSCRIPT" (or similar variations with different capitalization) in the -first 512 bytes, and also contain the "PJL super escape code" in the first 128 bytes -(">1B<%-12345X"). Very likely, most PostScript files generated on Windows using a CUPS -or other PPD, will have to be auto-typed as "vnd.cups-postscript". A file produced -with a "Generic PostScript driver" will just be tagged "application/postscript".</P -><P ->Once the file is in "application/vnd.cups-postscript" format, either "pstoraster" -or "cupsomatic" will take over (depending on the printer configuration, as -determined by the PPD in use).</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->A printer queue with *no* PPD associated to it is a "raw" printer and all files -will go directly there as received by the spooler. The exeptions are file types -"application/octet-stream" which need "passthrough feature" enabled. -"Raw" queues don't do any filtering at all, they hand the file directly to the -CUPS backend. This backend is responsible for the sending of the data to the device -(as in the "device URI" notation as lpd://, socket://, smb://, ipp://, http://, -parallel:/, serial:/, usb:/ etc.)</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->"cupsomatic"/Foomatic are *not* native CUPS drivers and they don't ship with CUPS. -They are a Third Party add-on, developed at Linuxprinting.org. As such, they are -a brilliant hack to make all models (driven by Ghostscript drivers/filters in -traditional spoolers) also work via CUPS, with the same (good or bad!) quality -as in these other spoolers. "cupsomatic" is only a vehicle to execute a ghostscript -commandline at that stage in the CUPS filtering chain, where "normally" the native -CUPS "pstoraster" filter would kick in. cupsomatic by-passes pstoraster, "kidnaps" -the printfile from CUPS away and re-directs it to go through Ghostscipt. CUPS accepts this, -because the associated CUPS-O-Matic-/Foomatic-PPD specifies:</P -><PRE -CLASS="PROGRAMLISTING" -> *cupsFilter: "application/vnd.cups-postscript 0 cupsomatic"</PRE -><P ->This line persuades CUPS to hand the file to cupsomatic, once it has successfully -converted it to the MIME type "application/vnd.cups-postscript". This conversion will not -happen for Jobs arriving from Windows which are auto-typed "application/octet-stream", -with the according changes in "/etc/cups/mime.types" in place.</P -></TD -></TR -></TABLE -></DIV -><P ->CUPS is widely configurable and flexible, even regarding its filtering mechanism. -Another workaround in some situations would be to have -in "/etc/cups/mime.types" entries as follows:</P -><PRE -CLASS="PROGRAMLISTING" -> application/postscript application/vnd.cups-raw 0 - - application/vnd.cups-postscript application/vnd.cups-raw 0 -</PRE -><P ->This would prevent all Postscript files from being filtered (rather, they will go -thru the virtual "nullfilter" denoted with "-"). This could only be useful for -PS printers. If you want to print PS code on non-PS printers an entry as follows -could be useful:</P -><PRE -CLASS="PROGRAMLISTING" -> */* application/vnd.cups-raw 0 -</PRE -><P ->and would effectively send *all* files to the backend without further processing.</P -><P ->Lastly, you could have the following entry:</P -><PRE -CLASS="PROGRAMLISTING" -> application/vnd.cups-postscript application/vnd.cups-raw 0 my_PJL_stripping_filter</PRE -><P ->You will need to write a "my_PJL_stripping_filter" (could be a shellscript) that -parses the PostScript and removes the unwanted PJL. This would need to conform to -CUPS filter design (mainly, receive and pass the parameters printername, job-id, -username, jobtitle, copies, print options and possibly the filename). It would -be installed as world executable into "/usr/lib/cups/filters/" and will be called -by CUPS if it encounters a MIME type "application/vnd.cups-postscript".</P -><P ->CUPS can handle "-o job-hold-until=indefinite". This keeps the job in the queue -"on hold". It will only be printed upon manual release by the printer operator. -This is a requirement in many "central reproduction departments", where a few -operators manage the jobs of hundreds of users on some big machine, where no -user is allowed to have direct access. (The operators often need to load the -proper paper type before running the 10.000 page job requested by marketing -for the mailing, etc.).</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2118" ->14.4. CUPS as a network PostScript RIP -- CUPS drivers working on server, Adobe -PostScript driver with CUPS-PPDs downloaded to clients</A -></H1 -><P ->CUPS is perfectly able to use PPD files (PostScript -Printer Descriptions). PPDs can control all print device options. They -are usually provided by the manufacturer -- if you own a PostSript printer, -that is. PPD files are always a component of PostScript printer drivers on MS -Windows or Apple Mac OS systems. They are ASCII files containing -user-selectable print options, mapped to appropriate PostScript, PCL or PJL -commands for the target printer. Printer driver GUI dialogs translate these -options "on-the-fly" into buttons and drop-down lists for the user to -select.</P -><P ->CUPS can load, without any conversions, the PPD file from -any Windows (NT is recommended) PostScript driver and handle the options. -There is a web browser interface to the print options (select -http://localhost:631/printers/ and click on one "Configure Printer" button -to see it), a commandline interface (see <B -CLASS="COMMAND" ->man lpoptions</B -> or -try if you have <B -CLASS="COMMAND" ->lphelp</B -> on your system) plus some different GUI frontends on Linux -UNIX, which can present PPD options to the users. PPD options are normally -meant to become evaluated by the PostScript RIP on the real PostScript -printer.</P -><P ->CUPS doesn't stop at "real" PostScript printers in its -usage of PPDs. The CUPS developers have extended the PPD concept, to also -describe available device and driver options for non-PostScript printers -through CUPS-PPDs.</P -><P ->This is logical, as CUPS includes a fully featured -PostScript interpreter (RIP). This RIP is based on Ghostscript. It can -process all received PostScript (and additionally many other file formats) -from clients. All CUPS-PPDs geared to non-PostScript printers contain an -additional line, starting with the keyword <VAR -CLASS="PARAMETER" ->*cupsFilter</VAR ->. -This line -tells the CUPS print system which printer-specific filter to use for the -interpretation of the accompanying PostScript. Thus CUPS lets all its -printers appear as PostScript devices to its clients, because it can act as a -PostScript RIP for those printers, processing the received PostScript code -into a proper raster print format.</P -><P ->CUPS-PPDs can also be used on Windows-Clients, on top of a -PostScript driver (recommended is the Adobe one).</P -><P ->This feature enables CUPS to do a few tricks no other -spooler can do:</P -><P -></P -><UL -><LI -><P ->act as a networked PostScript RIP (Raster Image Processor), handling - printfiles from all client platforms in a uniform way;</P -></LI -><LI -><P ->act as a central accounting and billing server, as all files are passed - through the <B -CLASS="COMMAND" ->pstops</B -> Filter and are therefor logged in - the CUPS <TT -CLASS="FILENAME" ->page_log</TT ->. - <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->NOTE: </I -></SPAN ->this - can not happen with "raw" print jobs, which always remain unfiltered - per definition;</P -></LI -><LI -><P ->enable clients to consolidate on a single PostScript driver, even for - many different target printers.</P -></LI -></UL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2139" ->14.5. Windows Terminal Servers (WTS) as CUPS clients</A -></H1 -><P ->This setup may be of special interest to people -experiencing major problems in WTS environments. WTS need often a multitude -of non-PostScript drivers installed to run their clients' variety of -different printer models. This often imposes the price of much increased -instability. In many cases, in an attempt to overcome this problem, site -administrators have resorted to restrict the allowed drivers installed on -their WTS to one generic PCL- and one PostScript driver. This however -restricts the clients in the amount of printer options available for them -- -often they can't get out more then simplex prints from one standard paper -tray, while their devices could do much better, if driven by a different -driver!</P -><P ->Using an Adobe PostScript driver, enabled with a CUPS-PPD, -seems to be a very elegant way to overcome all these shortcomings. The -PostScript driver is not known to cause major stability problems on WTS (even -if used with many different PPDs). The clients will be able to (again) chose -paper trays, duplex printing and other settings. However, there is a certain -price for this too: a CUPS server acting as a PostScript RIP for its clients -requires more CPU and RAM than just to act as a "raw spooling" device. Plus, -this setup is not yet widely tested, although the first feedbacks look very -promising...</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2143" ->14.6. Setting up CUPS for driver download</A -></H1 -><P ->The <B -CLASS="COMMAND" ->cupsadsmb</B -> utility (shipped with all current -CUPS versions) makes the sharing of any (or all) installed CUPS printers very -easy. Prior to using it, you need the following settings in <TT -CLASS="FILENAME" ->smb.conf</TT ->:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->[global] - load printers = yes - printing = cups - printcap name = cups - - [printers] - comment = All Printers - path = /var/spool/samba - browseable = no - public = yes - guest ok = yes - writable = no - printable = yes - printer admin = root - - [print$] - comment = Printer Drivers - path = /etc/samba/drivers - browseable = yes - guest ok = no - read only = yes - write list = root - </PRE -></P -><P ->For licensing reasons the necessary files of the Adobe -Postscript driver can not be distributed with either Samba or CUPS. You need -to download them yourself from the Adobe website. Once extracted, create a -<TT -CLASS="FILENAME" ->drivers</TT -> directory in the CUPS data directory (usually -<TT -CLASS="FILENAME" ->/usr/share/cups/</TT ->). Copy the Adobe files using -UPPERCASE filenames, to this directory as follows:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> ADFONTS.MFM - ADOBEPS4.DRV - ADOBEPS4.HLP - ADOBEPS5.DLL - ADOBEPSU.DLL - ADOBEPSU.HLP - DEFPRTR2.PPD - ICONLIB.DLL - </PRE -></P -><P ->Users of the ESP Print Pro software are able to install -their "Samba Drivers" package for this purpose with no problem.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2156" ->14.7. Sources of CUPS drivers / PPDs</A -></H1 -><P ->On the internet you can find now many thousand CUPS-PPD -files (with their companion filters), in many national languages, -supporting more than 1.000 non-PostScript models.</P -><P -></P -><UL -><LI -><P -><A -HREF="http://wwwl.easysw.com/printpro/" -TARGET="_top" ->ESP PrintPro - (http://wwwl.easysw.com/printpro/)</A -> - (commercial, non-Free) is packaged with more than 3.000 PPDs, ready for - successful usage "out of the box" on Linux, IBM-AIX, HP-UX, Sun-Solaris, - SGI-IRIX, Compaq Tru64, Digital Unix and some more commercial Unices (it - is written by the CUPS developers themselves and its sales help finance - the further development of CUPS, as they feed their creators)</P -></LI -><LI -><P ->the <A -HREF="http://gimp-print.sourceforge.net/" -TARGET="_top" ->Gimp-Print-Project - (http://gimp-print.sourceforge.net/)</A -> - (GPL, Free Software) provides around 120 PPDs (supporting nearly 300 - printers, many driven to photo quality output), to be used alongside the - Gimp-Print CUPS filters;</P -></LI -><LI -><P -><A -HREF="http://www.turboprint.com/" -TARGET="_top" ->TurboPrint - (http://www.turboprint.com/)</A -> - (Shareware, non-Freee) supports roughly the same amount of printers in - excellent quality;</P -></LI -><LI -><P -><A -HREF="http://www-124.ibm.com/developerworks/oss/linux/projects/omni/" -TARGET="_top" ->OMNI - (http://www-124.ibm.com/developerworks/oss/linux/projects/omni/)</A -> - (LPGL, Free) is a package made by IBM, now containing support for more - than 400 printers, stemming from the inheritance of IBM OS/2 KnowHow - ported over to Linux (CUPS support is in a Beta-stage at present);</P -></LI -><LI -><P -><A -HREF="http://hpinkjet.sourceforge.net/" -TARGET="_top" ->HPIJS - (http://hpinkjet.sourceforge.net/)</A -> - (BSD-style licnes, Free) supports around 120 of HP's own printers and is - also providing excellent print quality now;</P -></LI -><LI -><P -><A -HREF="http://www.linuxprinting.org/" -TARGET="_top" ->Foomatic/cupsomatic (http://www.linuxprinting.org/)</A -> - (LPGL, Free) from Linuxprinting.org are providing PPDs for practically every - Ghostscript filter known to the world, now usable with CUPS.</P -></LI -></UL -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->NOTE: </I -></SPAN ->the cupsomatic trick from Linuxprinting.org is -working different from the other drivers. While the other drivers take the -generic CUPS raster (produced by CUPS' own pstoraster PostScript RIP) as -their input, cupsomatic "kidnaps" the PostScript inside CUPS, before -RIP-ping, deviates it to an external Ghostscript installation (which now -becomes the RIP) and gives it back to a CUPS backend once Ghostscript is -finished. -- CUPS versions from 1.1.15 and later will provide their pstoraster -PostScript RIP function again inside a system-wide Ghostscript -installation rather than in "their own" pstoraster filter. (This -CUPS-enabling Ghostscript version may be installed either as a -patch to GNU or AFPL Ghostscript, or as a complete ESP Ghostscript package). -However, this will not change the cupsomatic approach of guiding the printjob -along a different path through the filtering system than the standard CUPS -way...</P -><P ->Once you installed a printer inside CUPS with one of the -recommended methods (the lpadmin command, the web browser interface or one of -the available GUI wizards), you can use <B -CLASS="COMMAND" ->cupsaddsmb</B -> to share the -printer via Samba. <B -CLASS="COMMAND" ->cupsaddsmb</B -> prepares the driver files for -comfortable client download and installation upon their first contact with -this printer share.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN2183" ->14.7.1. <B -CLASS="COMMAND" ->cupsaddsmb</B -></A -></H2 -><P ->The <B -CLASS="COMMAND" ->cupsaddsmb</B -> command copies the needed files -for convenient Windows client installations from the previously prepared CUPS -data directory to your [print$] share. Additionally, the PPD -associated with this printer is copied from <TT -CLASS="FILENAME" ->/etc/cups/ppd/</TT -> to -[print$].</P -><P -><PRE -CLASS="PROGRAMLISTING" -><SAMP -CLASS="PROMPT" ->root# </SAMP -> <B -CLASS="COMMAND" ->cupsaddsmb -U root infotec_IS2027</B -> -Password for root required to access localhost via SAMBA: <KBD -CLASS="USERINPUT" ->[type in password 'secret']</KBD -></PRE -></P -><P ->To share all printers and drivers, use the <VAR -CLASS="PARAMETER" ->-a</VAR -> -parameter instead of a printer name.</P -><P ->Probably you want to see what's going on. Use the -<VAR -CLASS="PARAMETER" ->-v</VAR -> parameter to get a more verbose output:</P -><P ->Probably you want to see what's going on. Use the -<VAR -CLASS="PARAMETER" ->-v</VAR -> parameter to get a more verbose output:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Note: The following line shave been wrapped so that information is not lost. - -<SAMP -CLASS="PROMPT" ->root# </SAMP -> cupsaddsmb -v -U root infotec_IS2027 - Password for root required to access localhost via SAMBA: - Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir W32X86;put - /var/spool/cups/tmp/3cd1cc66376c0 W32X86/infotec_IS2027.PPD;put /usr/share/cups/drivers/ - ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLLr - W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' - added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 - added interface ip=192.168.182.1 bcast=192.168.182.255 nmask=255.255.255.0 - added interface ip=172.16.200.1 bcast=172.16.200.255 nmask=255.255.255.0 - Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.3a.200204262025cvs] - NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 - putting file /var/spool/cups/tmp/3cd1cc66376c0 as \W32X86/infotec_IS2027.PPD (17394.6 kb/s) - (average 17395.2 kb/s) - putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (10877.4 kb/s) - (average 11343.0 kb/s) - putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (5095.2 kb/s) - (average 9260.4 kb/s) - putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (8828.7 kb/s) - (average 9247.1 kb/s) - - Running command: smbclient //localhost/print\$ -N -U'root%secret' -c 'mkdir WIN40;put - /var/spool/cups/tmp/3cd1cc66376c0 WIN40/infotec_IS2027.PPD;put - /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put - /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put - /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put - /usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put - /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put - /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' - added interface ip=10.160.16.45 bcast=10.160.31.255 nmask=255.255.240.0 - added interface ip=192.168.182.1 bcast=192.168.182.255 nmask=255.255.255.0 - added interface ip=172.16.200.1 bcast=172.16.200.255 nmask=255.255.255.0 - Domain=[TUX-NET] OS=[Unix] Server=[Samba 2.2.3a.200204262025cvs] - NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 - putting file /var/spool/cups/tmp/3cd1cc66376c0 as \WIN40/infotec_IS2027.PPD (26091.5 kb/s) - (average 26092.8 kb/s) - putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (11241.6 kb/s) - (average 11812.9 kb/s) - putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (16640.6 kb/s) - (average 14679.3 kb/s) - putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (11285.6 kb/s) - (average 14281.5 kb/s) - putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (823.5 kb/s) - (average 12944.0 kb/s) - putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (19226.2 kb/s) - (average 13169.7 kb/s) - putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (18666.1 kb/s) - (average 13266.7 kb/s) - - Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver "Windows NT x86" - "infotec_IS2027:ADOBEPS5.DLL:infotec_IS2027.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"' - cmd = adddriver "Windows NT x86" "infotec_IS2027:ADOBEPS5.DLL:infotec_IS2027.PPD:ADOBEPSU.DLL: - ADOBEPSU.HLP:NULL:RAW:NULL" - Printer Driver infotec_IS2027 successfully installed. - - Running command: rpcclient localhost -N -U'root%secret' -c 'adddriver "Windows 4.0" - "infotec_IS2027:ADOBEPS4.DRV:infotec_IS2027.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW: - ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"' - cmd = adddriver "Windows 4.0" "infotec_IS2027:ADOBEPS4.DRV:infotec_IS2027.PPD:NULL: - ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL" - Printer Driver infotec_IS2027 successfully installed. - - Running command: rpcclient localhost -N -U'root%secret' - -c 'setdriver infotec_IS2027 infotec_IS2027' - cmd = setdriver infotec_IS2027 infotec_IS2027 - Succesfully set infotec_IS2027 to driver infotec_IS2027. - - <SAMP -CLASS="PROMPT" ->root# </SAMP -></PRE -></P -><P ->If you look closely, you'll discover your root password was transfered unencrypted over -the wire, so beware! Also, if you look further her, you'll discover error messages like -<CODE -CLASS="CONSTANT" ->NT_STATUS_OBJECT_NAME_COLLISION</CODE -> in between. They occur, because -the directories <TT -CLASS="FILENAME" ->WIN40</TT -> and <TT -CLASS="FILENAME" ->W32X86</TT -> already -existed in the [print$] driver download share (from a previous driver -installation). They are harmless here.</P -><P ->Now your printer is prepared for the clients to use. From -a client, browse to the CUPS/Samba server, open the "Printers" -share, right-click on this printer and select "Install..." or -"Connect..." (depending on the Windows version you use). Now their -should be a new printer in your client's local "Printers" folder, -named (in my case) "infotec_IS2027 on kdebitshop"</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->NOTE: </I -></SPAN -> -<B -CLASS="COMMAND" ->cupsaddsmb</B -> will only reliably work i -with CUPS version 1.1.15 or higher -and Samba from 2.2.4. If it doesn't work, or if the automatic printer -driver download to the clients doesn't succeed, you can still manually -install the CUPS printer PPD on top of the Adobe PostScript driver on -clients and then point the client's printer queue to the Samba printer -share for connection, should you desire to use the CUPS networked -PostScript RIP functions.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2212" ->14.8. The CUPS Filter Chains</A -></H1 -><P ->The following diagrams reveal how CUPS handles print jobs.</P -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# CUPS in and of itself has this (general) filter chain (CAPITAL -# letters are FILE-FORMATS or MIME types, other are filters (this is -# true for pre-1.1.15 of pre-4.3 versions of CUPS and ESP PrintPro): -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT -# | -# | -# V -# pstoraster # as shipped with CUPS, independent from any Ghostscipt -# | # installation on the system -# | (= "postscipt interpreter") -# | -# V -# APPLICATION/VND.CUPS-RASTER -# | -# | -# V -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> (f.e. Gimp-Print filters may be plugged in here) -# | (= "raster driver") -# | -# V -# SOMETHING-DEVICE-SPECIFIC -# | -# | -# V -# backend -# -# -# ESP PrintPro has some enhanced "rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR ->" filters as compared to -# CUPS, and also a somewhat improved "pstoraster" filter. -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -#########################################################################</PRE -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# This is how "cupsomatic" comes into play: -# ========================================= -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT ----------------+ -# | | -# | V -# V cupsomatic -# pstoraster (constructs complicated -# | (= "postscipt interpreter") Ghostscript commandline -# | to let the file be -# V processed by a -# APPLICATION/VND.CUPS-RASTER "-sDEVICE=<VAR -CLASS="REPLACEABLE" ->s.th.</VAR ->" -# | call...) -# | | -# V | -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> V -# | (= "raster driver") +-------------------------+ -# | | Ghostscript at work.... | -# V | | -# SOMETHING-DEVICE-SPECIFIC *-------------------------+ -# | | -# | | -# V | -# backend >------------------------------------+ -# | -# | -# V -# THE PRINTER -# -# -# Note, that cupsomatic "kidnaps" the printfile after the -# "APPLICATION/VND.CUPS-POSTSCRPT" stage and deviates it through -# the CUPS-external, systemwide Ghostscript installation, bypassing the -# "pstoraster" filter (therefor also bypassing the CUPS-raster-drivers -# "rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR ->", and hands the rasterized file directly to the CUPS -# backend... -# -# cupsomatic is not made by the CUPS developers. It is an independent -# contribution to printing development, made by people from -# Linuxprinting.org. (see also http://www.cups.org/cups-help.html) -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -#########################################################################</PRE -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# And this is how it works for ESP PrintPro from 4.3: -# =================================================== -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT -# | -# | -# V -# gsrip -# | (= "postscipt interpreter") -# | -# V -# APPLICATION/VND.CUPS-RASTER -# | -# | -# V -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> (f.e. Gimp-Print filters may be plugged in here) -# | (= "raster driver") -# | -# V -# SOMETHING-DEVICE-SPECIFIC -# | -# | -# V -# backend -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -#########################################################################</PRE -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# This is how "cupsomatic" would come into play with ESP PrintPro: -# ================================================================ -# -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT ----------------+ -# | | -# | V -# V cupsomatic -# gsrip (constructs complicated -# | (= "postscipt interpreter") Ghostscript commandline -# | to let the file be -# V processed by a -# APPLICATION/VND.CUPS-RASTER "-sDEVICE=<VAR -CLASS="REPLACEABLE" ->s.th.</VAR ->" -# | call...) -# | | -# V | -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> V -# | (= "raster driver") +-------------------------+ -# | | Ghostscript at work.... | -# V | | -# SOMETHING-DEVICE-SPECIFIC *-------------------------+ -# | | -# | | -# V | -# backend >------------------------------------+ -# | -# | -# V -# THE PRINTER -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -#########################################################################</PRE -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# And this is how it works for CUPS from 1.1.15: -# ============================================== -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT-----+ -# | -# +------------------v------------------------------+ -# | Ghostscript | -# | at work... | -# | (with | -# | "-sDEVICE=cups") | -# | | -# | (= "postscipt interpreter") | -# | | -# +------------------v------------------------------+ -# | -# | -# APPLICATION/VND.CUPS-RASTER >-------+ -# | -# | -# V -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> -# | (= "raster driver") -# | -# V -# SOMETHING-DEVICE-SPECIFIC -# | -# | -# V -# backend -# -# -# NOTE: since version 1.1.15 CUPS "outsourced" the pstoraster process to -# Ghostscript. GNU Ghostscript needs to be patched to handle the -# CUPS requirement; ESP Ghostscript has this builtin. In any case, -# "gs -h" needs to show up a "cups" device. pstoraster is now a -# calling an appropriate "gs -sDEVICE=cups..." commandline to do -# the job. It will output "application/vnd.cup-raster", which will -# be finally processed by a CUPS raster driver "rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR ->" -# Note the difference to "cupsomatic", which will *not* output -# CUPS-raster, but a final version of the printfile, ready to be -# sent to the printer. cupsomatic also doesn't use the "cups" -# devicemode in Ghostscript, but one of the classical devicemodes.... -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -#########################################################################</PRE -><PRE -CLASS="PROGRAMLISTING" ->######################################################################### -# -# And this is how it works for CUPS from 1.1.15, with cupsomatic included: -# ======================================================================== -# -# <VAR -CLASS="REPLACEABLE" ->SOMETHNG</VAR ->-FILEFORMAT -# | -# | -# V -# <VAR -CLASS="REPLACEABLE" ->something</VAR ->tops -# | -# | -# V -# APPLICATION/POSTSCRIPT -# | -# | -# V -# pstops -# | -# | -# V -# APPLICATION/VND.CUPS-POSTSCRIPT-----+ -# | -# +------------------v------------------------------+ -# | Ghostscript . Ghostscript at work.... | -# | at work... . (with "-sDEVICE= | -# | (with . <VAR -CLASS="REPLACEABLE" ->s.th.</VAR ->" | -# | "-sDEVICE=cups") . | -# | . | -# | (CUPS standard) . (cupsomatic) | -# | . | -# | (= "postscript interpreter") | -# | . | -# +------------------v--------------v---------------+ -# | | -# | | -# APPLICATION/VND.CUPS-RASTER >-------+ | -# | | -# | | -# V | -# rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> | -# | (= "raster driver") | -# | | -# V | -# SOMETHING-DEVICE-SPECIFIC >------------------------+ -# | -# | -# V -# backend -# -# -# NOTE: Gimp-Print and some other 3rd-Party-Filters (like TurboPrint) to -# CUPS and ESP PrintPro plug-in where rasterto<VAR -CLASS="REPLACEABLE" ->something</VAR -> is noted. -# -##########################################################################</PRE -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2251" ->14.9. CUPS Print Drivers and Devices</A -></H1 -><P ->CUPS ships with good support for HP LaserJet type printers. You can install -the driver as follows: - -<P -></P -><UL -><LI -><P -> lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E -m laserjet.ppd - </P -></LI -></UL -> - -(The "-m" switch will retrieve the "laserjet.ppd" from the standard repository -for not-yet-installed-PPDs, which CUPS typically stores in -<TT -CLASS="FILENAME" ->/usr/share/cups/model</TT ->. Alternatively, you may use -"-P /absolute/filesystem/path/to/where/there/is/PPD/your.ppd").</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN2258" ->14.9.1. Further printing steps</A -></H2 -><P ->Always also consult the database on linuxprinting.org for all recommendations -about which driver is best used for each printer:</P -><P -><A -HREF="http://www.linuxprinting.org/printer_list.cgi" -TARGET="_top" ->http://www.linuxprinting.org/printer_list.cgi</A -></P -><P ->There select your model and click on "Show". You'll arrive at a page listing -all drivers working with your model. There will always be *one* -<SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->recommended</I -></SPAN -> one. Try this one first. In your case -("HP LaserJet 4 Plus"), you'll arrive here:</P -><P -><A -HREF="http://www.linuxprinting.org/show_printer.cgi?recnum=75104" -TARGET="_top" ->http://www.linuxprinting.org/show_printer.cgi?recnum=75104</A -></P -><P ->The recommended driver is "ljet4". It has a link to the page for the ljet4 -driver too:</P -><P -><A -HREF="http://www.linuxprinting.org/show_driver.cgi?driver=ljet4" -TARGET="_top" ->http://www.linuxprinting.org/show_driver.cgi?driver=ljet4</A -></P -><P ->On the driver's page, you'll find important and detailed info about how to use -that driver within the various available spoolers. You can generate a PPD for -CUPS. The PPD contains all the info about how to use your model and the driver; -this is, once installed, working transparently for the user -- you'll only -need to choose resolution, paper size etc. from the web-based menu or from -the print dialog GUI or from the commandline...</P -><P ->On the driver's page, choose to use the "PPD-O-Matic" online PPD generator -program. Select your model and click "Generate PPD file". When you safe the -appearing ASCII text file, don't use "cut'n'past" (as it could possiblly corrupt -line endings and tabs), but use "Save as..." in your browser's menu. Save it -at "/some/path/on/your/filesystem/somewhere/my-name-for-my-printer.ppd"</P -><P ->Then install the printer:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> "lpadmin -p laserjet4plus -v parallel:/dev/lp0 -E \ - -P /some/path/on/your/filesystem/somewhere/my-name-for-my-printer.ppd"</PRE -></P -><P ->Note, that for all the "Foomatic-PPDs" from Linuxprinting.org, you also need -a special "CUPS filter" named "cupsomatic". Get the latest version of -"cupsomatic" from:</P -><P -><A -HREF="http://www.linuxprinting.org/cupsomatic" -TARGET="_top" ->http://www.linuxprinting.org/cupsomatic</A -></P -><P ->This needs to be copied to <TT -CLASS="FILENAME" ->/usr/lib/cups/filter/cupsomatic</TT -> -and be made world executable. This filter is needed to read and act upon the -specially encoded Foomatic comments, embedded in the printfile, which in turn -are used to construct (transparently for you, the user) the complicated -ghostscript command line needed for your printer/driver combo.</P -><P ->You can have a look at all the options for the Ghostscript commandline supported -by your printer and the ljet4 driver by going to the section "Execution details", -selecting your model (Laserjet 4 Plus) and clicking on "Show execution details". -This will bring up this web page:</P -><P -><A -HREF="http://www.linuxprinting.org/execution.cgi?driver=ljet4&printer=75104&.submit=Show+execution+details" -TARGET="_top" ->http://www.linuxprinting.org/execution.cgi?driver=ljet4&printer=75104&.submit=Show+execution+details</A -></P -><P ->The ingenious thing is that the database is kept current. If there -is a bug fix and an improvement somewhere in the database, you will -always get the most current and stable and feature-rich driver by following -the steps described above.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Till Kamppeter from MandrakeSoft is doing an excellent job here that too few -people are aware of. (So if you use it often, please send him a note showing -your appreciation).</P -></TD -></TR -></TABLE -></DIV -><P ->The latest and greatest improvement now is support for "custom page sizes" -for all those printers which support it.</P -><P ->"cupsomatic" is documented here:</P -><P -><A -HREF="http://www.linuxprinting.org/cups-doc.html" -TARGET="_top" ->http://www.linuxprinting.org/cups-doc.html</A -></P -><P ->More printing tutorial info may be found here:</P -><P -><A -HREF="http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/" -TARGET="_top" ->http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/</A -></P -><P ->Note, that *all* the Foomatic drivers listed on Linuxprinting.org (now -approaching the "all-time high" number of 1.000 for the supported models) -are using a special filtering chain involving Ghostscript, as described -in this document.</P -><P ->Summary - You need:</P -><P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->A "foomatic+<VAR -CLASS="REPLACEABLE" ->something</VAR ->" PPD is not enough to print with CUPS (but it is *one* important component)</TD -></TR -><TR -><TD ->The "cupsomatic" filter script (Perl) in <TT -CLASS="FILENAME" ->/usr/lib/cups/filters/</TT -></TD -></TR -><TR -><TD ->Perl to make cupsomatic run</TD -></TR -><TR -><TD ->Ghostscript (because it is called and controlled by the PPD/cupsomatic combo in a way to fit your printermodel/driver combo.</TD -></TR -><TR -><TD ->Ghostscript *must*, depending on the driver/model, contain support for a certain "device" (as shown by "gs -h")</TD -></TR -></TBODY -></TABLE -><P -></P -></P -><P ->In the case of the "hpijs" driver, you need a Ghostscript version, which -has "ijs" amongst its supported devices in "gs -h". In the case of -"hpijs+foomatic", a valid ghostscript commandline would be reading like this:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs \ - -sIjsServer=hpijs<VAR -CLASS="REPLACEABLE" ->PageSize</VAR -> -dDuplex=<VAR -CLASS="REPLACEABLE" ->Duplex</VAR -> <VAR -CLASS="REPLACEABLE" ->Model</VAR -> \ - -r<VAR -CLASS="REPLACEABLE" ->Resolution</VAR ->,PS:MediaPosition=<VAR -CLASS="REPLACEABLE" ->InputSlot</VAR -> -dIjsUseOutputFD \ - -sOutputFile=- -</PRE -></P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Note, that with CUPS and the "hpijs+foomatic" PPD (plus Perl and cupsomatic) -you don't need to remember this. You can choose the available print options -thru a GUI print command (like "glp" from ESP's commercially supported -PrintPro software, or KDE's "kprinter", or GNOME's "gtklp" or the independent -"xpp") or the CUPS web interface via human-readable drop-down selection -menus.</P -></TD -></TR -></TABLE -></DIV -><P ->If you use "ESP Ghostscript" (also under the GPL, provided by Easy Software -Products, the makers of CUPS, downloadable from -<A -HREF="http://www.cups.org/software.html" -TARGET="_top" ->http://www.cups.org/software.html</A ->, -co-maintained by the developers of linuxprinting.org), you are guaranteed to -have in use the most uptodate, bug-fixed, enhanced and stable version of a Free -Ghostscript. It contains support for ~300 devices, whereas plain vanilla -GNU Ghostscript 7.05 only has ~200.</P -><P ->If you print only one CUPS test page, from the web interface and when you try to -print a windows test page, it acts like the job was never sent: - -<P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Can you print "standard" jobs from the CUPS machine?</TD -></TR -><TR -><TD ->Are the jobs from Windows visible in the Web interface on CUPS (http://localhost:631/)?</TD -></TR -><TR -><TD -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Most important:</I -></SPAN -> What kind of printer driver are you using on the Windows clients?</TD -></TR -></TBODY -></TABLE -><P -></P -> - -You can try to get a more detailed debugging info by setting "LogLevel debug" in -<TT -CLASS="FILENAME" ->/etc/cups/cupsd.conf</TT ->, re-start cupsd and investigate <TT -CLASS="FILENAME" ->/var/log/cups/error_log</TT -> -for the whereabouts of your Windows-originating printjobs:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->what does the "auto-typing" line say? which is the "MIME type" CUPS thinks is arriving from the Windows clients?</TD -></TR -><TR -><TD ->are there "filter" available for this MIME type?</TD -></TR -><TR -><TD ->are there "filter rules" defined in "/etc/cups/mime.convs" for this MIME type?</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2328" ->14.10. Limiting the number of pages users can print</A -></H1 -><P ->The feature you want is dependent on the real print subsystem you're using. -Samba's part is always to receive the job files from the clients (filtered -*or* unfiltered) and hand it over to this printing subsystem.</P -><P ->Of course one could "hack" things with one's own scripts.</P -><P ->But there is CUPS (Common Unix Printing System). CUPS supports "quotas". -Quotas can be based on sizes of jobs or on the number of pages or both, -and are spanning any time period you want.</P -><P ->This is an example command how root would set a print quota in CUPS, -assuming an existing printer named "quotaprinter":</P -><PRE -CLASS="PROGRAMLISTING" -> lpadmin -p quotaprinter -o job-quota-period=604800 -o job-k-limit=1024 \ - -o job-page-limit=100</PRE -><P ->This would limit every single user to print 100 pages or 1024 KB of -data (whichever comes first) within the last 604.800 seconds ( = 1 week).</P -><P ->For CUPS to count correctly, the printfile needs to pass the CUPS "pstops" filter, -otherwise it uses a "dummy" count of "1". Some printfiles don't pass it -(eg: image files) but then those are mostly 1 page jobs anyway. This also means, -proprietary drivers for the target printer running on the client computers and -CUPS/Samba then spooling these files as "raw" (i.e. leaving them untouched, not -filtering them), will be counted as "1-pagers" too!</P -><P ->You need to send PostScript from the clients (i.e. run a PostScript driver there) -for having the chance to get accounting done. If the printer is a non-PostScript model, -you need to let CUPS do the job to convert the file to a print-ready format for the -target printer. This will be working for currently ~1.000 different printer models, see</P -><PRE -CLASS="PROGRAMLISTING" -> http://www.linuxprinting.org/printer_list.cgi</PRE -><P ->Before CUPS-1.1.16 your only option was to use the Adobe PostScript -Driver on the Windows clients. The output of this driver was not always -passed thru the "pstops" filter on the CUPS/Samba side, and therefor was -not counted correctly (the reason is that it often --- depending on the -"PPD" being used --- did write a "PJL"-header in front of the real -PostScript which made CUPS to skip the pstops and go directy to -the "pstoraster" stage).</P -><P ->From CUPS-1.1.16 onward you can use the "CUPS PostScript Driver -for Windows NT/2K/XP clients" (it is tagged in the download area of -http://www.cups.org/ as the "cups-samba-1.1.16.tar.gz" package). -It is *not* working for Win9x/ME clients. But it:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->it guarantees to not write an PJL-header</TD -></TR -><TR -><TD ->it guarantees to still read and support all PJL-options named in the driver PPD with its own means</TD -></TR -><TR -><TD ->it guarantees the file going thru the "pstops" filter on the CUPS/Samba server</TD -></TR -><TR -><TD ->it guarantees to page-count correctly the printfile</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->You can read more about the setup of this combination in the -manpage for "cupsaddsmb" (only present with CUPS installed, only -current with CUPS 1.1.16).</P -><P ->These are the items CUPS logs in the "page_log" for every single *page* of a job:</P -><P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Printer name</TD -></TR -><TR -><TD ->User name</TD -></TR -><TR -><TD ->Job ID</TD -></TR -><TR -><TD ->Time of printing</TD -></TR -><TR -><TD ->the page number</TD -></TR -><TR -><TD ->the number of copies</TD -></TR -><TR -><TD ->a billing info string (optional)</TD -></TR -></TBODY -></TABLE -><P -></P -></P -><P ->Here is an extract of my CUPS server's page_log file to illustrate -the format and included items:</P -><P -><SAMP -CLASS="COMPUTEROUTPUT" -> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 1 2 #marketing - infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 2 2 #marketing - infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 3 2 #marketing - infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 4 2 #marketing - infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 5 2 #marketing - infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 6 2 #marketing</SAMP -></P -><P ->This was Job ID "40", printed on "infotec_IS2027" by user "kurt", a 6-page job -printed in 2 copies and billed to "#marketing"...</P -><P ->What flaws or shortcomings are there?</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->the ones named above</TD -></TR -><TR -><TD -> CUPS really counts the job pages being *processsed in software* - (going thru the "RIP") rather than the physical sheets successfully - leaving the printing device -- if there is a jam while printing - the 5th sheet out of 1000 and the job is aborted by the printer, - the "page count" will still show the figure of 1000 for that job - </TD -></TR -><TR -><TD -> all quotas are the same for all users (no flexibility to give the - boss a higher quota than the clerk) no support for groups - </TD -></TR -><TR -><TD -> no means to read out the current balance or "used-up" number of current quota - </TD -></TR -><TR -><TD -> a user having used up 99 sheets of 100 quota will still be able to send and print a 1.000 sheet job - </TD -></TR -><TR -><TD -> a user being denied a job because of a filled-up quota doesn't get a meaningful - error message from CUPS other than "client-error-not-possible". - </TD -></TR -></TBODY -></TABLE -><P -></P -><P ->But this is the best system out there currently. And there are -huge improvements under development:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->page counting will go into the "backends" (these talk - directly to the printer and will increase the count in sync with the - actual printing process -- a jam at the 5th sheet will lead to a stop in the counting)</TD -></TR -><TR -><TD ->quotas will be handled more flexibly</TD -></TR -><TR -><TD ->probably there will be support for users to inquire their "accounts" in advance</TD -></TR -><TR -><TD ->probably there will be support for some other tools around this topic</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->Other than the current stage of the CUPS development, I don't -know any other ready-to-use tool which you could consider.</P -><P ->You can download the driver files from -<A -HREF="http://www.cups.org/software.html" -TARGET="_top" ->http://www.cups.org/software.html</A ->. -It is a separate package from the CUPS base software files, tagged as "CUPS 1.1.16 -Windows NT/2k/XP Printer Driver for SAMBA (tar.gz, 192k)". The filename to -download is "cups-samba-1.1.16.tar.gz". Upon untar-/unzip-ping it will reveal -the files:</P -><P -> <SAMP -CLASS="COMPUTEROUTPUT" -> cups-samba.install - cups-samba.license - cups-samba.readme - cups-samba.remove - cups-samba.ss - </SAMP -> - </P -><P ->These have been packaged with the ESP meta packager software "EPM". The -*.install and *.remove files are simple shell script, which untars the -*.ss (which is nothing else than a tar-archive) and puts its contents -into <TT -CLASS="FILENAME" ->/usr/share/cups/drivers/</TT ->. Its contents are 3 files:</P -><P -> <SAMP -CLASS="COMPUTEROUTPUT" -> cupsdrvr.dll - cupsui.dll - cups.hlp - </SAMP -> - </P -><DIV -CLASS="CAUTION" -><P -></P -><TABLE -CLASS="CAUTION" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/caution.gif" -HSPACE="5" -ALT="Caution"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Due to a bug one CUPS release puts the <TT -CLASS="FILENAME" ->cups.hlp</TT -> -into <TT -CLASS="FILENAME" ->/usr/share/drivers/</TT -> instead of -<TT -CLASS="FILENAME" ->/usr/share/cups/drivers/</TT ->. To work around this, copy/move -the file after running the "./cups-samba.install" script manually to the right place:</P -><P -> <KBD -CLASS="USERINPUT" -> cp /usr/share/drivers/cups.hlp /usr/share/cups/drivers/ - </KBD -> - </P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->This new CUPS PostScript driver is currently binary-only, but free -no source code is provided (yet). The reason is this: it has -been developed with the help of the Microsoft Driver Developer Kit (DDK) -and compiled with Microsoft Visual Studio 6. It is not clear to the driver -developers if they are allowed to distribute the whole of the source code -as Free Software. However, they will likely release the "diff" in source -code under the GPL, so anybody with a license of Visual Studio and a DDK -will be able to compile for him/herself.</P -><P ->Once you have run the install script (and possibly manually moved the -"cups.hlp" file to "/usr/share/cups/drivers/"), the driver is ready to be -put into Samba's [print$] share (which often maps to "/etc/samba/drivers/" -and contains a subdir tree with WIN40 and W32X86 branches), by running -"cupsaddsmb" (see also "man cupsaddsmb" for CUPS 1.1.16). [Don't forget to -put root into the smbpasswd file by running "smbpasswd" should you run -this whole procedure for the first time.] Once the driver files are in the -[print$] share, they are ready to be downloaded and installed by the -Win NT/2k/XP clients.</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> Win 9x/ME clients won't work with this driver. For these you'd - still need to use the ADOBE*.* drivers as previously. - </P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> It is not harming if you've still the ADOBE*.* driver files from - previous installations in the "/usr/share/cups/drivers/" directory. - The new cupsaddsmb (from 1.1.16) will automatically use the - "newest" installed driver (which here then is the CUPS drivers). - </P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> Should your Win clients have had the old ADOBE*.* files and the - Adobe PostScript drivers installed, the download and installation - of the new CUPS PostScript driver for Windows NT/2k/XP will fail - at first. - </P -><P -> It is not enough to "delete" the printer (as the driver files - will still be kept by the clients and re-used if you try to - re-install the printer). To really get rid of the Adobe driver - files on the clients, open the "Printers" folder (possibly via - "Start --> Settings --> Control Panel --> Printers"), right-click - onto the folder background and select "Server Properties". A - new dialog opens; select the "Drivers" tab; on the list select - the driver you want to delete and click on the "Delete" button. - (This will only work if there is no single printer left which - uses that particular driver -- you need to "delete" all printers - using this driver in the "Printers" folder first.) - </P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> Once you have successfully downloaded the CUPS PostScript driver - to a client, you can easily switch all printers to this one - by proceeding as described elsewhere in the "Samba HOWTO - Collection" to change a driver for an existing printer. - </P -></TD -></TR -></TABLE -></DIV -><P ->What are the benefits with the "CUPS PostScript driver for Windows NT/2k/XP" -as compared to the Adobe drivers?</P -><P -><P -></P -><UL -><LI -><P -> no hassle with the Adobe EULA - </P -></LI -><LI -><P -> no hassle with the question "where do I get the ADOBE*.* driver files from?" - </P -></LI -><LI -><P -> the Adobe drivers (depending on the printer PPD associated with them) - often put a PJL header in front of the core PostScript part of the print - file (thus the file starts with "<VAR -CLASS="REPLACEABLE" ->1B</VAR ->%-12345X" or "<VAR -CLASS="REPLACEABLE" ->escape</VAR ->%-12345X" - instead of "%!PS"). This leads to the CUPS daemon autotyping the - arriving file as a print-ready file, not requiring a pass thru the - "pstops" filter (to speak more technical, it is not regarded as the - generic MIME type "application/postscript", but as the more special - MIME type "application/cups.vnd-postscript"), which therefore also - leads to the page accounting in "/var/log/cups/page_log" not receiving - the exact mumber of pages; instead the dummy page number of "1" is - logged in a standard setup) - </P -></LI -><LI -><P -> the Adobe driver has more options to "mis-configure" the PostScript - generated by it (like setting it inadvertedly to "Optimize for Speed", - instead of "Optimize for Portability", which could lead to CUPS being - unable to process it) - </P -></LI -><LI -><P -> the CUPS PostScript driver output sent by Windows clients to the CUPS - server will be guaranteed to be auto-typed as generic MIME type - "application/postscript", thusly passing thru the CUPS "pstops" filter - and logging the correct number of pages in the page_log for accounting - and quota purposes - </P -></LI -><LI -><P -> the CUPS PostScript driver supports the sending of additional print - options by the Win NT/2k/XP clients, such as naming the CUPS standard - banner pages (or the custom ones, should they be installed at the time - of driver download), using the CUPS "page-label" option, setting a - job-priority and setting the scheduled time of printing (with the option - to support additional useful IPP job attributes in the future). - </P -></LI -><LI -><P -> the CUPS PostScript driver supports the inclusion of the new - "*cupsJobTicket" comments at the beginnig of the PostScript file (which - could be used in the future for all sort of beneficial extensions on - the CUPS side, but which will not disturb any other application as those - will regard it as a comment and simply ignore it). - </P -></LI -><LI -><P -> the CUPS PostScript driver will be the heart of the fully fledged CUPS - IPP client for Windows NT/2k/XP to be released soon (probably alongside - the first Beta release for CUPS 1.2). - </P -></LI -></UL -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2424" ->14.11. Advanced Postscript Printing from MS Windows</A -></H1 -><P ->Let the Windows Clients use a PostScript driver to deliver poistscript to -the samba print server (just like any Linux or Unix Client would also use -PostScript to send to the server)</P -><P ->Make the Unix printing subsystem to which Samba sends the job convert the -incoming PostScript files to the native print format of the target printers -(would be PCL if you have an HP printer)</P -><P ->Now if you are afraid that this would just mean using a *Generic* PostScript -driver for the clients that has no Simplex/Duplex selection, and no paper tray -choice, but you need them to be able to set up print jobs, with all the bells -and whistles of your printers:-</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Not possible with traditional spooling systems</TD -></TR -><TR -><TD -> But perfectly supported by CUPS (which uses "PPD" files to - describe how to control the print options for PostScript and - non-PostScript devices alike... - </TD -></TR -></TBODY -></TABLE -><P -></P -><P ->CUPS PPDs are working perfectly on Windows clients who use Adobe PostScript -drivers (or the new CUPS PostScript driver for Windows NT/2K/XP). Clients can use -them to setup the job to their liking and CUPS will use the received job options -to make the (PCL-, ESC/P- or PostScript-) printer behave as required.</P -><P ->If you want to have the additional benefit of page count logging and accounting -then the CUPS PostScript driver is the best choice (better than the Adobe one).</P -><P ->If you want to make the drivers downloadable for the clients then "cupsaddsmb" is -your friend. It will setup the [print$] share on the Samba host to be ready to serve -the clients for a "point and print" driver installation.</P -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/warning.gif" -HSPACE="5" -ALT="Warning"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->What strings are attached?</P -></TD -></TR -></TABLE -></DIV -><P ->There are some. But, given the sheer CPU power you can buy nowadays, -these can be overcome easily. The strings:</P -><P ->Well, if the CUPS/Samba side will have to print to many printers serving many users, -you probably will need to set up a second server (which can do automatic load balancing -with the first one, plus a degree of fail-over mechanism). Converting the incoming -PostScript jobs, "interpreting" them for non-PostScript printers, amounts to the work -of a "RIP" (Raster Image Processor) done in software. This requires more CPU and RAM -than for the mere "raw spooling" task your current setup is solving. It all depends -on the avarage and peak printing load the server should be able to handle.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2439" ->14.12. Auto-Deletion of CUPS spool files</A -></H1 -><P ->Samba print files pass thru two "spool" directories. One the incoming directory -managed by Samba, (set eg: in the <B -CLASS="COMMAND" ->path = /var/spool/samba</B -> directive in the [printers] -section of <TT -CLASS="FILENAME" ->smb.conf</TT ->). Second is the spool directory of your UNIX print subsystem. -For CUPS it is normally "/var/spool/cups/", as set by the cupsd.conf directive -"RequestRoot /var/spool/cups".</P -><P ->I am not sure, which one of your directories keeps the files. From what you say, -it is most likely the Samba part.</P -><P ->For the CUPS part, you may want to consult:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->http://localhost:631/sam.html#PreserveJobFiles</TD -></TR -><TR -><TD ->http://localhost:631/sam.html#PreserveJobHistory</TD -></TR -><TR -><TD ->http://localhost:631/sam.html#MaxJobs</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->There are the settings described for your CUPS daemon, which could lead to completed -job files not being deleted.</P -><P ->"PreserveJobHistory Yes" -- keeps some details of jobs in -cupsd's mind (well it keeps the "c12345", "c12346" etc. files -in the CUPS spool directory, which do a similar job as the -old-fashioned BSD-LPD control files). This is set to "Yes" -as a default.</P -><P ->"PreserveJobFiles Yes" -- keeps the job files themselves in -cupsd's mind (well it keeps the "d12345", "d12346" etc. files -in the CUPS spool directory...). This is set to "No" as the -CUPS default.</P -><P ->"MaxJobs 500" -- this directive controls the maximum number -of jobs that are kept in memory. Once the number of jobs -reaches the limit, the oldest completed job is automatically -purged from the system to make room for the new one. If all -of the known jobs are still pending or active then the new -job will be rejected. Setting the maximum to 0 disables this -functionality. The default setting is 0.</P -><P ->(There are also additional settings for "MaxJobsPerUser" and -"MaxJobsPerPrinter"...)</P -><P ->For everything to work as announced, you need to have three things:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD -> a Samba-<SPAN -CLASS="APPLICATION" ->smbd</SPAN -> which is compiled against "libcups" (Check on Linux by running <KBD -CLASS="USERINPUT" ->ldd `which smbd`</KBD ->) - </TD -></TR -><TR -><TD -> a Samba-<TT -CLASS="FILENAME" ->smb.conf</TT -> setting of <B -CLASS="COMMAND" ->printing = cups</B -> - </TD -></TR -><TR -><TD -> another Samba-<TT -CLASS="FILENAME" ->smb.conf</TT -> setting of <B -CLASS="COMMAND" ->printcap = cups</B -> - </TD -></TR -></TBODY -></TABLE -><P -></P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Note, that in this case all other manually set printing-related -commands (like "print command", "lpq command", "lprm command", -"lppause command" or "lpresume command") are ignored and they -should normally have no influence what-so-ever on your printing.</P -></TD -></TR -></TABLE -></DIV -><P ->If you want to do things manually, replace the "printing = cups" -by "printing = bsd". Then your manually set commands may work -(haven't tested this), and a "print command = lp -d %P %s; rm %s" -may do what you need.</P -><P ->You forgot to mention the CUPS version you're using. If you did -set things up as described in the man pages, then the Samba -spool files should be deleted. Otherwise it may be a bug. On -the CUPS side, you can control the behaviour as described -above.</P -><P ->If you have more problems, post the output of these commands:</P -><P -><KBD -CLASS="USERINPUT" -> grep -v ^# /etc/cups/cupsd.conf | grep -v ^$ - grep -v ^# /etc/samba/smb.conf | grep -v ^$ | grep -v "^;"</KBD -></P -><P ->(adapt paths as needed). These commands sanitize the files -and cut out the empty lines and lines with comments, providing -the "naked settings" in a compact way.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="printing.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="winbind.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Printing Support</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Unified Logons between Windows NT and UNIX using Winbind</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/domain-security.html b/docs/htmldocs/domain-security.html deleted file mode 100644 index ddbc4624b8..0000000000 --- a/docs/htmldocs/domain-security.html +++ /dev/null @@ -1,427 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Samba as a NT4 or Win2k domain member</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Type of installation" -HREF="type.html"><LINK -REL="PREVIOUS" -TITLE="Samba as a ADS domain member" -HREF="ads.html"><LINK -REL="NEXT" -TITLE="Advanced Configuration" -HREF="optional.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="ads.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="optional.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="DOMAIN-SECURITY" -></A ->Chapter 9. Samba as a NT4 or Win2k domain member</H1 -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN1439" ->9.1. Joining an NT Domain with Samba 3.0</A -></H1 -><P ->Assume you have a Samba 3.0 server with a NetBIOS name of - <CODE -CLASS="CONSTANT" ->SERV1</CODE -> and are joining an or Win2k NT domain called - <CODE -CLASS="CONSTANT" ->DOM</CODE ->, which has a PDC with a NetBIOS name - of <CODE -CLASS="CONSTANT" ->DOMPDC</CODE -> and two backup domain controllers - with NetBIOS names <CODE -CLASS="CONSTANT" ->DOMBDC1</CODE -> and <CODE -CLASS="CONSTANT" ->DOMBDC2 - </CODE ->.</P -><P ->Firstly, you must edit your <TT -CLASS="FILENAME" ->smb.conf</TT -> file to tell Samba it should - now use domain security.</P -><P ->Change (or add) your <A -HREF="smb.conf.5.html#SECURITY" -TARGET="_top" -> <VAR -CLASS="PARAMETER" ->security =</VAR -></A -> line in the [global] section - of your <TT -CLASS="FILENAME" ->smb.conf</TT -> to read:</P -><P -><B -CLASS="COMMAND" ->security = domain</B -></P -><P ->Next change the <A -HREF="smb.conf.5.html#WORKGROUP" -TARGET="_top" -><VAR -CLASS="PARAMETER" -> workgroup =</VAR -></A -> line in the [global] section to read: </P -><P -><B -CLASS="COMMAND" ->workgroup = DOM</B -></P -><P ->as this is the name of the domain we are joining. </P -><P ->You must also have the parameter <A -HREF="smb.conf.5.html#ENCRYPTPASSWORDS" -TARGET="_top" -> <VAR -CLASS="PARAMETER" ->encrypt passwords</VAR -></A -> set to <CODE -CLASS="CONSTANT" ->yes - </CODE -> in order for your users to authenticate to the NT PDC.</P -><P ->Finally, add (or modify) a <A -HREF="smb.conf.5.html#PASSWORDSERVER" -TARGET="_top" -> <VAR -CLASS="PARAMETER" ->password server =</VAR -></A -> line in the [global] - section to read: </P -><P -><B -CLASS="COMMAND" ->password server = DOMPDC DOMBDC1 DOMBDC2</B -></P -><P ->These are the primary and backup domain controllers Samba - will attempt to contact in order to authenticate users. Samba will - try to contact each of these servers in order, so you may want to - rearrange this list in order to spread out the authentication load - among domain controllers.</P -><P ->Alternatively, if you want smbd to automatically determine - the list of Domain controllers to use for authentication, you may - set this line to be :</P -><P -><B -CLASS="COMMAND" ->password server = *</B -></P -><P ->This method, allows Samba to use exactly the same - mechanism that NT does. This - method either broadcasts or uses a WINS database in order to - find domain controllers to authenticate against.</P -><P ->In order to actually join the domain, you must run this - command:</P -><P -><SAMP -CLASS="PROMPT" ->root# </SAMP -><KBD -CLASS="USERINPUT" ->net rpc join -S DOMPDC - -U<VAR -CLASS="REPLACEABLE" ->Administrator%password</VAR -></KBD -></P -><P ->as we are joining the domain DOM and the PDC for that domain - (the only machine that has write access to the domain SAM database) - is DOMPDC. The <VAR -CLASS="REPLACEABLE" ->Administrator%password</VAR -> is - the login name and password for an account which has the necessary - privilege to add machines to the domain. If this is successful - you will see the message:</P -><P -><SAMP -CLASS="COMPUTEROUTPUT" ->Joined domain DOM.</SAMP -> - or <SAMP -CLASS="COMPUTEROUTPUT" ->Joined 'SERV1' to realm 'MYREALM'</SAMP -> - </P -><P ->in your terminal window. See the <A -HREF="net.8.html" -TARGET="_top" -> net(8)</A -> man page for more details.</P -><P ->This process joins the server to thedomain - without having to create the machine trust account on the PDC - beforehand.</P -><P ->This command goes through the machine account password - change protocol, then writes the new (random) machine account - password for this Samba server into a file in the same directory - in which an smbpasswd file would be stored - normally :</P -><P -><TT -CLASS="FILENAME" ->/usr/local/samba/private/secrets.tdb</TT -></P -><P ->This file is created and owned by root and is not - readable by any other user. It is the key to the domain-level - security for your system, and should be treated as carefully - as a shadow password file.</P -><P ->Finally, restart your Samba daemons and get ready for - clients to begin using domain security!</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN1493" ->9.2. Why is this better than security = server?</A -></H1 -><P ->Currently, domain security in Samba doesn't free you from - having to create local Unix users to represent the users attaching - to your server. This means that if domain user <CODE -CLASS="CONSTANT" ->DOM\fred - </CODE -> attaches to your domain security Samba server, there needs - to be a local Unix user fred to represent that user in the Unix - filesystem. This is very similar to the older Samba security mode - <A -HREF="smb.conf.5.html#SECURITYEQUALSSERVER" -TARGET="_top" ->security = server</A ->, - where Samba would pass through the authentication request to a Windows - NT server in the same way as a Windows 95 or Windows 98 server would. - </P -><P ->Please refer to the <A -HREF="winbind.html" -TARGET="_top" ->Winbind - paper</A -> for information on a system to automatically - assign UNIX uids and gids to Windows NT Domain users and groups. - This code is available in development branches only at the moment, - but will be moved to release branches soon.</P -><P ->The advantage to domain-level security is that the - authentication in domain-level security is passed down the authenticated - RPC channel in exactly the same way that an NT server would do it. This - means Samba servers now participate in domain trust relationships in - exactly the same way NT servers do (i.e., you can add Samba servers into - a resource domain and have the authentication passed on from a resource - domain PDC to an account domain PDC.</P -><P ->In addition, with <B -CLASS="COMMAND" ->security = server</B -> every Samba - daemon on a server has to keep a connection open to the - authenticating server for as long as that daemon lasts. This can drain - the connection resources on a Microsoft NT server and cause it to run - out of available connections. With <B -CLASS="COMMAND" ->security = domain</B ->, - however, the Samba daemons connect to the PDC/BDC only for as long - as is necessary to authenticate the user, and then drop the connection, - thus conserving PDC connection resources.</P -><P ->And finally, acting in the same manner as an NT server - authenticating to a PDC means that as part of the authentication - reply, the Samba server gets the user identification information such - as the user SID, the list of NT groups the user belongs to, etc. </P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> Much of the text of this document - was first published in the Web magazine <A -HREF="http://www.linuxworld.com" -TARGET="_top" -> - LinuxWorld</A -> as the article <A -HREF="http://www.linuxworld.com/linuxworld/lw-1998-10/lw-10-samba.html" -TARGET="_top" ->Doing - the NIS/NT Samba</A ->.</P -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="ads.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Samba as a ADS domain member</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="type.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Advanced Configuration</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/groupprofiles.html b/docs/htmldocs/groupprofiles.html deleted file mode 100644 index 9c25717238..0000000000 --- a/docs/htmldocs/groupprofiles.html +++ /dev/null @@ -1,568 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Creating Group Prolicy Files</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Optional configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Samba performance issues" -HREF="speed.html"><LINK -REL="NEXT" -TITLE="Securing Samba" -HREF="securing-samba.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="speed.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="securing-samba.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="GROUPPROFILES" -></A ->Chapter 21. Creating Group Prolicy Files</H1 -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3410" ->21.1. Windows '9x</A -></H1 -><P ->You need the Win98 Group Policy Editor to -set Group Profiles up under Windows '9x. It can be found on the Original -full product Win98 installation CD under -<TT -CLASS="FILENAME" ->tools/reskit/netadmin/poledit</TT ->. You install this -using the Add/Remove Programs facility and then click on the 'Have Disk' -tab.</P -><P ->Use the Group Policy Editor to create a policy file that specifies the -location of user profiles and/or the <TT -CLASS="FILENAME" ->My Documents</TT -> etc. -stuff. You then save these settings in a file called -<TT -CLASS="FILENAME" ->Config.POL</TT -> that needs to be placed in -the root of the [NETLOGON] share. If your Win98 is configured to log onto -the Samba Domain, it will automatically read this file and update the -Win9x/Me registry of the machine that is logging on.</P -><P ->All of this is covered in the Win98 Resource Kit documentation.</P -><P ->If you do not do it this way, then every so often Win9x/Me will check the -integrity of the registry and will restore it's settings from the back-up -copy of the registry it stores on each Win9x/Me machine. Hence, you will -occasionally notice things changing back to the original settings.</P -><P ->The following all refers to Windows NT/200x profile migration - not to policies. -We need a separate section on policies (NTConfig.Pol) for NT4/200x.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3420" ->21.2. Windows NT 4</A -></H1 -><P ->Unfortunately, the Resource Kit info is Win NT4 or 200x specific.</P -><P ->Here is a quick guide:</P -><P -></P -><UL -><LI -><P ->On your NT4 Domain Controller, right click on 'My Computer', then -select the tab labelled 'User Profiles'.</P -></LI -><LI -><P ->Select a user profile you want to migrate and click on it.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="90%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->I am using the term "migrate" lossely. You can copy a profile to -create a group profile. You can give the user 'Everyone' rights to the -profile you copy this to. That is what you need to do, since your samba -domain is not a member of a trust relationship with your NT4 PDC.</P -></TD -></TR -></TABLE -></DIV -></LI -><LI -><P ->Click the 'Copy To' button.</P -></LI -><LI -><P ->In the box labelled 'Copy Profile to' add your new path, eg: -<TT -CLASS="FILENAME" ->c:\temp\foobar</TT -></P -></LI -><LI -><P ->Click on the button labelled 'Change' in the "Permitted to use" box.</P -></LI -><LI -><P ->Click on the group 'Everyone' and then click OK. This closes the -'chose user' box.</P -></LI -><LI -><P ->Now click OK.</P -></LI -></UL -><P ->Follow the above for every profile you need to migrate.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3443" ->21.2.1. Side bar Notes</A -></H2 -><P ->You should obtain the SID of your NT4 domain. You can use smbpasswd to do -this. Read the man page.</P -><P ->With Samba-3.0.0 alpha code you can import all you NT4 domain accounts -using the net samsync method. This way you can retain your profile -settings as well as all your users.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3447" ->21.2.2. Mandatory profiles</A -></H2 -><P ->The above method can be used to create mandatory profiles also. To convert -a group profile into a mandatory profile simply locate the NTUser.DAT file -in the copied profile and rename it to NTUser.MAN.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3450" ->21.2.3. moveuser.exe</A -></H2 -><P ->The W2K professional resource kit has moveuser.exe. moveuser.exe changes -the security of a profile from one user to another. This allows the account -domain to change, and/or the user name to change.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3453" ->21.2.4. Get SID</A -></H2 -><P ->You can identify the SID by using GetSID.exe from the Windows NT Server 4.0 -Resource Kit.</P -><P ->Windows NT 4.0 stores the local profile information in the registry under -the following key: -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</P -><P ->Under the ProfileList key, there will be subkeys named with the SIDs of the -users who have logged on to this computer. (To find the profile information -for the user whose locally cached profile you want to move, find the SID for -the user with the GetSID.exe utility.) Inside of the appropriate user's -subkey, you will see a string value named ProfileImagePath.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3458" ->21.3. Windows 2000/XP</A -></H1 -><P ->You must first convert the profile from a local profile to a domain -profile on the MS Windows workstation as follows:</P -><P -></P -><UL -><LI -><P ->Log on as the LOCAL workstation administrator.</P -></LI -><LI -><P ->Right click on the 'My Computer' Icon, select 'Properties'</P -></LI -><LI -><P ->Click on the 'User Profiles' tab</P -></LI -><LI -><P ->Select the profile you wish to convert (click on it once)</P -></LI -><LI -><P ->Click on the button 'Copy To'</P -></LI -><LI -><P ->In the "Permitted to use" box, click on the 'Change' button.</P -></LI -><LI -><P ->Click on the 'Look in" area that lists the machine name, when you click -here it will open up a selection box. Click on the domain to which the -profile must be accessible.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="90%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->You will need to log on if a logon box opens up. Eg: In the connect -as: MIDEARTH\root, password: mypassword.</P -></TD -></TR -></TABLE -></DIV -></LI -><LI -><P ->To make the profile capable of being used by anyone select 'Everyone'</P -></LI -><LI -><P ->Click OK. The Selection box will close.</P -></LI -><LI -><P ->Now click on the 'Ok' button to create the profile in the path you -nominated.</P -></LI -></UL -><P ->Done. You now have a profile that can be editted using the samba-3.0.0 -profiles tool.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Under NT/2K the use of mandotory profiles forces the use of MS Exchange -storage of mail data. That keeps desktop profiles usable.</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -></P -><UL -><LI -><P ->This is a security check new to Windows XP (or maybe only -Windows XP service pack 1). It can be disabled via a group policy in -Active Directory. The policy is:</P -><P ->"Computer Configuration\Administrative Templates\System\User -Profiles\Do not check for user ownership of Roaming Profile Folders"</P -><P ->...and it should be set to "Enabled". -Does the new version of samba have an Active Directory analogue? If so, -then you may be able to set the policy through this.</P -><P ->If you cannot set group policies in samba, then you may be able to set -the policy locally on each machine. If you want to try this, then do -the following (N.B. I don't know for sure that this will work in the -same way as a domain group policy):</P -></LI -><LI -><P ->On the XP workstation log in with an Administrator account.</P -></LI -><LI -><P ->Click: "Start", "Run"</P -></LI -><LI -><P ->Type: "mmc"</P -></LI -><LI -><P ->Click: "OK"</P -></LI -><LI -><P ->A Microsoft Management Console should appear.</P -></LI -><LI -><P ->Click: File, "Add/Remove Snap-in...", "Add"</P -></LI -><LI -><P ->Double-Click: "Group Policy"</P -></LI -><LI -><P ->Click: "Finish", "Close"</P -></LI -><LI -><P ->Click: "OK"</P -></LI -><LI -><P ->In the "Console Root" window:</P -></LI -><LI -><P ->Expand: "Local Computer Policy", "Computer Configuration",</P -></LI -><LI -><P ->"Administrative Templates", "System", "User Profiles"</P -></LI -><LI -><P ->Double-Click: "Do not check for user ownership of Roaming Profile</P -></LI -><LI -><P ->Folders"</P -></LI -><LI -><P ->Select: "Enabled"</P -></LI -><LI -><P ->Click: OK"</P -></LI -><LI -><P ->Close the whole console. You do not need to save the settings (this -refers to the console settings rather than the policies you have -changed).</P -></LI -><LI -><P ->Reboot</P -></LI -></UL -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="speed.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="securing-samba.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Samba performance issues</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Securing Samba</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/improved-browsing.html b/docs/htmldocs/improved-browsing.html deleted file mode 100644 index 209dfaaf54..0000000000 --- a/docs/htmldocs/improved-browsing.html +++ /dev/null @@ -1,1094 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Improved browsing in samba</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Integrating MS Windows networks with Samba" -HREF="integrate-ms-networks.html"><LINK -REL="NEXT" -TITLE="Securing Samba" -HREF="securing-samba.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="integrate-ms-networks.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="securing-samba.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="IMPROVED-BROWSING" -></A ->Chapter 24. Improved browsing in samba</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->24.1. <A -HREF="improved-browsing.html#AEN3874" ->Overview of browsing</A -></DT -><DT ->24.2. <A -HREF="improved-browsing.html#AEN3880" ->Browsing support in samba</A -></DT -><DT ->24.3. <A -HREF="improved-browsing.html#AEN3895" ->Problem resolution</A -></DT -><DT ->24.4. <A -HREF="improved-browsing.html#AEN3907" ->Browsing across subnets</A -></DT -><DT ->24.5. <A -HREF="improved-browsing.html#AEN3948" ->Setting up a WINS server</A -></DT -><DT ->24.6. <A -HREF="improved-browsing.html#AEN3971" ->Setting up Browsing in a WORKGROUP</A -></DT -><DT ->24.7. <A -HREF="improved-browsing.html#AEN3997" ->Setting up Browsing in a DOMAIN</A -></DT -><DT ->24.8. <A -HREF="improved-browsing.html#BROWSE-FORCE-MASTER" ->Forcing samba to be the master</A -></DT -><DT ->24.9. <A -HREF="improved-browsing.html#AEN4032" ->Making samba the domain master</A -></DT -><DT ->24.10. <A -HREF="improved-browsing.html#AEN4054" ->Note about broadcast addresses</A -></DT -><DT ->24.11. <A -HREF="improved-browsing.html#AEN4057" ->Multiple interfaces</A -></DT -></DL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3874" ->24.1. Overview of browsing</A -></H1 -><P ->SMB networking provides a mechanism by which clients can access a list -of machines in a network, a so-called <B -CLASS="COMMAND" ->browse list</B ->. This list -contains machines that are ready to offer file and/or print services -to other machines within the network. Thus it does not include -machines which aren't currently able to do server tasks. The browse -list is heavily used by all SMB clients. Configuration of SMB -browsing has been problematic for some Samba users, hence this -document.</P -><P ->MS Windows 2000 and later, as with Samba 3 and later, can be -configured to not use NetBIOS over TCP/IP. When configured this way -it is imperative that name resolution (using DNS/LDAP/ADS) be correctly -configured and operative. Browsing will NOT work if name resolution -from SMB machine names to IP addresses does not function correctly.</P -><P ->Where NetBIOS over TCP/IP is enabled use of a WINS server is highly -recommended to aid the resolution of NetBIOS (SMB) names to IP addresses. -WINS allows remote segment clients to obtain NetBIOS name_type information -that can NOT be provided by any other means of name resolution.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3880" ->24.2. Browsing support in samba</A -></H1 -><P ->Samba facilitates browsing. The browsing is supported by <SPAN -CLASS="APPLICATION" ->nmbd</SPAN -> -and is also controlled by options in the <TT -CLASS="FILENAME" ->smb.conf</TT -> file. -Samba can act as a local browse master for a workgroup and the ability -for samba to support domain logons and scripts is now available.</P -><P ->Samba can also act as a domain master browser for a workgroup. This -means that it will collate lists from local browse masters into a -wide area network server list. In order for browse clients to -resolve the names they may find in this list, it is recommended that -both samba and your clients use a WINS server.</P -><P ->Note that you should NOT set Samba to be the domain master for a -workgroup that has the same name as an NT Domain: on each wide area -network, you must only ever have one domain master browser per workgroup, -regardless of whether it is NT, Samba or any other type of domain master -that is providing this service.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Nmbd can be configured as a WINS server, but it is not -necessary to specifically use samba as your WINS server. MS Windows -NT4, Server or Advanced Server 2000 or 2003 can be configured as -your WINS server. In a mixed NT/2000/2003 server and samba environment on -a Wide Area Network, it is recommended that you use the Microsoft -WINS server capabilities. In a samba-only environment, it is -recommended that you use one and only one Samba server as your WINS server.</P -></TD -></TR -></TABLE -></DIV -><P ->To get browsing to work you need to run nmbd as usual, but will need -to use the <B -CLASS="COMMAND" ->workgroup</B -> option in <TT -CLASS="FILENAME" ->smb.conf</TT -> -to control what workgroup Samba becomes a part of.</P -><P ->Samba also has a useful option for a Samba server to offer itself for -browsing on another subnet. It is recommended that this option is only -used for 'unusual' purposes: announcements over the internet, for -example. See <B -CLASS="COMMAND" ->remote announce</B -> in the -<TT -CLASS="FILENAME" ->smb.conf</TT -> man page. </P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3895" ->24.3. Problem resolution</A -></H1 -><P ->If something doesn't work then hopefully the log.nmb file will help -you track down the problem. Try a debug level of 2 or 3 for finding -problems. Also note that the current browse list usually gets stored -in text form in a file called <TT -CLASS="FILENAME" ->browse.dat</TT ->.</P -><P ->Note that if it doesn't work for you, then you should still be able to -type the server name as <TT -CLASS="FILENAME" ->\\SERVER</TT -> in filemanager then -hit enter and filemanager should display the list of available shares.</P -><P ->Some people find browsing fails because they don't have the global -<B -CLASS="COMMAND" ->guest account</B -> set to a valid account. Remember that the -IPC$ connection that lists the shares is done as guest, and thus you must -have a valid guest account.</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->MS Windows 2000 and upwards (as with Samba) can be configured to disallow -anonymous (ie: Guest account) access to the IPC$ share. In that case, the -MS Windows 2000/XP/2003 machine acting as an SMB/CIFS client will use the -name of the currently logged in user to query the IPC$ share. MS Windows -9X clients are not able to do this and thus will NOT be able to browse -server resources.</I -></SPAN -></P -><P ->The other big problem people have is that their broadcast address, -netmask or IP address is wrong (specified with the "interfaces" option -in <TT -CLASS="FILENAME" ->smb.conf</TT ->)</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3907" ->24.4. Browsing across subnets</A -></H1 -><P ->Since the release of Samba 1.9.17(alpha1) Samba has been -updated to enable it to support the replication of browse lists -across subnet boundaries. New code and options have been added to -achieve this. This section describes how to set this feature up -in different settings.</P -><P ->To see browse lists that span TCP/IP subnets (ie. networks separated -by routers that don't pass broadcast traffic) you must set up at least -one WINS server. The WINS server acts as a DNS for NetBIOS names, allowing -NetBIOS name to IP address translation to be done by doing a direct -query of the WINS server. This is done via a directed UDP packet on -port 137 to the WINS server machine. The reason for a WINS server is -that by default, all NetBIOS name to IP address translation is done -by broadcasts from the querying machine. This means that machines -on one subnet will not be able to resolve the names of machines on -another subnet without using a WINS server.</P -><P ->Remember, for browsing across subnets to work correctly, all machines, -be they Windows 95, Windows NT, or Samba servers must have the IP address -of a WINS server given to them by a DHCP server, or by manual configuration -(for Win95 and WinNT, this is in the TCP/IP Properties, under Network -settings) for Samba this is in the <TT -CLASS="FILENAME" ->smb.conf</TT -> file.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3913" ->24.4.1. How does cross subnet browsing work ?</A -></H2 -><P ->Cross subnet browsing is a complicated dance, containing multiple -moving parts. It has taken Microsoft several years to get the code -that achieves this correct, and Samba lags behind in some areas. -Samba is capable of cross subnet browsing when configured correctly.</P -><P ->Consider a network set up as follows :</P -><P -><PRE -CLASS="PROGRAMLISTING" -> (DMB) - N1_A N1_B N1_C N1_D N1_E - | | | | | - ------------------------------------------------------- - | subnet 1 | - +---+ +---+ - |R1 | Router 1 Router 2 |R2 | - +---+ +---+ - | | - | subnet 2 subnet 3 | - -------------------------- ------------------------------------ - | | | | | | | | - N2_A N2_B N2_C N2_D N3_A N3_B N3_C N3_D - (WINS)</PRE -></P -><P ->Consisting of 3 subnets (1, 2, 3) connected by two routers -(R1, R2) - these do not pass broadcasts. Subnet 1 has 5 machines -on it, subnet 2 has 4 machines, subnet 3 has 4 machines. Assume -for the moment that all these machines are configured to be in the -same workgroup (for simplicities sake). Machine N1_C on subnet 1 -is configured as Domain Master Browser (ie. it will collate the -browse lists for the workgroup). Machine N2_D is configured as -WINS server and all the other machines are configured to register -their NetBIOS names with it.</P -><P ->As all these machines are booted up, elections for master browsers -will take place on each of the three subnets. Assume that machine -N1_C wins on subnet 1, N2_B wins on subnet 2, and N3_D wins on -subnet 3 - these machines are known as local master browsers for -their particular subnet. N1_C has an advantage in winning as the -local master browser on subnet 1 as it is set up as Domain Master -Browser.</P -><P ->On each of the three networks, machines that are configured to -offer sharing services will broadcast that they are offering -these services. The local master browser on each subnet will -receive these broadcasts and keep a record of the fact that -the machine is offering a service. This list of records is -the basis of the browse list. For this case, assume that -all the machines are configured to offer services so all machines -will be on the browse list.</P -><P ->For each network, the local master browser on that network is -considered 'authoritative' for all the names it receives via -local broadcast. This is because a machine seen by the local -master browser via a local broadcast must be on the same -network as the local master browser and thus is a 'trusted' -and 'verifiable' resource. Machines on other networks that -the local master browsers learn about when collating their -browse lists have not been directly seen - these records are -called 'non-authoritative'.</P -><P ->At this point the browse lists look as follows (these are -the machines you would see in your network neighborhood if -you looked in it on a particular network right now).</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D</PRE -></P -><P ->Note that at this point all the subnets are separate, no -machine is seen across any of the subnets.</P -><P ->Now examine subnet 2. As soon as N2_B has become the local -master browser it looks for a Domain master browser to synchronize -its browse list with. It does this by querying the WINS server -(N2_D) for the IP address associated with the NetBIOS name -WORKGROUP>1B<. This name was registerd by the Domain master -browser (N1_C) with the WINS server as soon as it was booted.</P -><P ->Once N2_B knows the address of the Domain master browser it -tells it that is the local master browser for subnet 2 by -sending a MasterAnnouncement packet as a UDP port 138 packet. -It then synchronizes with it by doing a NetServerEnum2 call. This -tells the Domain Master Browser to send it all the server -names it knows about. Once the domain master browser receives -the MasterAnnouncement packet it schedules a synchronization -request to the sender of that packet. After both synchronizations -are done the browse lists look like :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->At this point users looking in their network neighborhood on -subnets 1 or 2 will see all the servers on both, users on -subnet 3 will still only see the servers on their own subnet.</P -><P ->The same sequence of events that occured for N2_B now occurs -for the local master browser on subnet 3 (N3_D). When it -synchronizes browse lists with the domain master browser (N1_A) -it gets both the server entries on subnet 1, and those on -subnet 2. After N3_D has synchronized with N1_C and vica-versa -the browse lists look like.</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*), - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->At this point users looking in their network neighborhood on -subnets 1 or 3 will see all the servers on all sunbets, users on -subnet 2 will still only see the servers on subnets 1 and 2, but not 3.</P -><P ->Finally, the local master browser for subnet 2 (N2_B) will sync again -with the domain master browser (N1_C) and will recieve the missing -server entries. Finally - and as a steady state (if no machines -are removed or shut off) the browse lists will look like :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->Subnet Browse Master List ------- ------------- ---- -Subnet1 N1_C N1_A, N1_B, N1_C, N1_D, N1_E, - N2_A(*), N2_B(*), N2_C(*), N2_D(*), - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet2 N2_B N2_A, N2_B, N2_C, N2_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*) - N3_A(*), N3_B(*), N3_C(*), N3_D(*) - -Subnet3 N3_D N3_A, N3_B, N3_C, N3_D - N1_A(*), N1_B(*), N1_C(*), N1_D(*), N1_E(*), - N2_A(*), N2_B(*), N2_C(*), N2_D(*) - -Servers with a (*) after them are non-authoritative names.</PRE -></P -><P ->Synchronizations between the domain master browser and local -master browsers will continue to occur, but this should be a -steady state situation.</P -><P ->If either router R1 or R2 fails the following will occur:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> Names of computers on each side of the inaccessible network fragments - will be maintained for as long as 36 minutes, in the network neighbourhood - lists. - </P -></LI -><LI -><P -> Attempts to connect to these inaccessible computers will fail, but the - names will not be removed from the network neighbourhood lists. - </P -></LI -><LI -><P -> If one of the fragments is cut off from the WINS server, it will only - be able to access servers on its local subnet, by using subnet-isolated - broadcast NetBIOS name resolution. The effects are similar to that of - losing access to a DNS server. - </P -></LI -></OL -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3948" ->24.5. Setting up a WINS server</A -></H1 -><P ->Either a Samba machine or a Windows NT Server machine may be set up -as a WINS server. To set a Samba machine to be a WINS server you must -add the following option to the <TT -CLASS="FILENAME" ->smb.conf</TT -> file on the selected machine : -in the [globals] section add the line </P -><P -><B -CLASS="COMMAND" -> wins support = yes</B -></P -><P ->Versions of Samba prior to 1.9.17 had this parameter default to -yes. If you have any older versions of Samba on your network it is -strongly suggested you upgrade to a recent version, or at the very -least set the parameter to 'no' on all these machines.</P -><P ->Machines with <B -CLASS="COMMAND" ->wins support = yes</B -> will keep a list of -all NetBIOS names registered with them, acting as a DNS for NetBIOS names.</P -><P ->You should set up only ONE wins server. Do NOT set the -<B -CLASS="COMMAND" ->wins support = yes</B -> option on more than one Samba -server.</P -><P ->To set up a Windows NT Server as a WINS server you need to set up -the WINS service - see your NT documentation for details. Note that -Windows NT WINS Servers can replicate to each other, allowing more -than one to be set up in a complex subnet environment. As Microsoft -refuse to document these replication protocols Samba cannot currently -participate in these replications. It is possible in the future that -a Samba->Samba WINS replication protocol may be defined, in which -case more than one Samba machine could be set up as a WINS server -but currently only one Samba server should have the -<B -CLASS="COMMAND" ->wins support = yes</B -> parameter set.</P -><P ->After the WINS server has been configured you must ensure that all -machines participating on the network are configured with the address -of this WINS server. If your WINS server is a Samba machine, fill in -the Samba machine IP address in the "Primary WINS Server" field of -the "Control Panel->Network->Protocols->TCP->WINS Server" dialogs -in Windows 95 or Windows NT. To tell a Samba server the IP address -of the WINS server add the following line to the [global] section of -all <TT -CLASS="FILENAME" ->smb.conf</TT -> files :</P -><P -><B -CLASS="COMMAND" ->wins server = >name or IP address<</B -></P -><P ->where >name or IP address< is either the DNS name of the WINS server -machine or its IP address.</P -><P ->Note that this line MUST NOT BE SET in the <TT -CLASS="FILENAME" ->smb.conf</TT -> file of the Samba -server acting as the WINS server itself. If you set both the -<B -CLASS="COMMAND" ->wins support = yes</B -> option and the -<B -CLASS="COMMAND" ->wins server = <name></B -> option then -nmbd will fail to start.</P -><P ->There are two possible scenarios for setting up cross subnet browsing. -The first details setting up cross subnet browsing on a network containing -Windows 95, Samba and Windows NT machines that are not configured as -part of a Windows NT Domain. The second details setting up cross subnet -browsing on networks that contain NT Domains.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3971" ->24.6. Setting up Browsing in a WORKGROUP</A -></H1 -><P ->To set up cross subnet browsing on a network containing machines -in up to be in a WORKGROUP, not an NT Domain you need to set up one -Samba server to be the Domain Master Browser (note that this is *NOT* -the same as a Primary Domain Controller, although in an NT Domain the -same machine plays both roles). The role of a Domain master browser is -to collate the browse lists from local master browsers on all the -subnets that have a machine participating in the workgroup. Without -one machine configured as a domain master browser each subnet would -be an isolated workgroup, unable to see any machines on any other -subnet. It is the presense of a domain master browser that makes -cross subnet browsing possible for a workgroup.</P -><P ->In an WORKGROUP environment the domain master browser must be a -Samba server, and there must only be one domain master browser per -workgroup name. To set up a Samba server as a domain master browser, -set the following option in the [global] section of the <TT -CLASS="FILENAME" ->smb.conf</TT -> file :</P -><P -><B -CLASS="COMMAND" ->domain master = yes</B -></P -><P ->The domain master browser should also preferrably be the local master -browser for its own subnet. In order to achieve this set the following -options in the [global] section of the <TT -CLASS="FILENAME" ->smb.conf</TT -> file :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->domain master = yes -local master = yes -preferred master = yes -os level = 65</PRE -></P -><P ->The domain master browser may be the same machine as the WINS -server, if you require.</P -><P ->Next, you should ensure that each of the subnets contains a -machine that can act as a local master browser for the -workgroup. Any MS Windows NT/2K/XP/2003 machine should be -able to do this, as will Windows 9x machines (although these -tend to get rebooted more often, so it's not such a good idea -to use these). To make a Samba server a local master browser -set the following options in the [global] section of the -<TT -CLASS="FILENAME" ->smb.conf</TT -> file :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->domain master = no -local master = yes -preferred master = yes -os level = 65</PRE -></P -><P ->Do not do this for more than one Samba server on each subnet, -or they will war with each other over which is to be the local -master browser.</P -><P ->The <B -CLASS="COMMAND" ->local master</B -> parameter allows Samba to act as a -local master browser. The <B -CLASS="COMMAND" ->preferred master</B -> causes nmbd -to force a browser election on startup and the <B -CLASS="COMMAND" ->os level</B -> -parameter sets Samba high enough so that it should win any browser elections.</P -><P ->If you have an NT machine on the subnet that you wish to -be the local master browser then you can disable Samba from -becoming a local master browser by setting the following -options in the <B -CLASS="COMMAND" ->[global]</B -> section of the -<TT -CLASS="FILENAME" ->smb.conf</TT -> file :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->domain master = no -local master = no -preferred master = no -os level = 0</PRE -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3997" ->24.7. Setting up Browsing in a DOMAIN</A -></H1 -><P ->If you are adding Samba servers to a Windows NT Domain then -you must not set up a Samba server as a domain master browser. -By default, a Windows NT Primary Domain Controller for a Domain -name is also the Domain master browser for that name, and many -things will break if a Samba server registers the Domain master -browser NetBIOS name (<VAR -CLASS="REPLACEABLE" ->DOMAIN</VAR -><1B>) -with WINS instead of the PDC.</P -><P ->For subnets other than the one containing the Windows NT PDC -you may set up Samba servers as local master browsers as -described. To make a Samba server a local master browser set -the following options in the <B -CLASS="COMMAND" ->[global]</B -> section -of the <TT -CLASS="FILENAME" ->smb.conf</TT -> file :</P -><P -><PRE -CLASS="PROGRAMLISTING" ->domain master = no -local master = yes -preferred master = yes -os level = 65</PRE -></P -><P ->If you wish to have a Samba server fight the election with machines -on the same subnet you may set the <B -CLASS="COMMAND" ->os level</B -> parameter -to lower levels. By doing this you can tune the order of machines that -will become local master browsers if they are running. For -more details on this see the section <A -HREF="improved-browsing.html#BROWSE-FORCE-MASTER" ->Forcing samba to be the master browser</A -> -below.</P -><P ->If you have Windows NT machines that are members of the domain -on all subnets, and you are sure they will always be running then -you can disable Samba from taking part in browser elections and -ever becoming a local master browser by setting following options -in the <B -CLASS="COMMAND" ->[global]</B -> section of the <TT -CLASS="FILENAME" ->smb.conf</TT -> -file :</P -><P -><B -CLASS="COMMAND" -> domain master = no - local master = no - preferred master = no - os level = 0</B -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="BROWSE-FORCE-MASTER" ->24.8. Forcing samba to be the master</A -></H1 -><P ->Who becomes the <B -CLASS="COMMAND" ->master browser</B -> is determined by an election -process using broadcasts. Each election packet contains a number of parameters -which determine what precedence (bias) a host should have in the -election. By default Samba uses a very low precedence and thus loses -elections to just about anyone else.</P -><P ->If you want Samba to win elections then just set the <B -CLASS="COMMAND" ->os level</B -> global -option in <TT -CLASS="FILENAME" ->smb.conf</TT -> to a higher number. It defaults to 0. Using 34 -would make it win all elections over every other system (except other -samba systems!)</P -><P ->A <B -CLASS="COMMAND" ->os level</B -> of 2 would make it beat WfWg and Win95, but not MS Windows -NT/2K Server. A MS Windows NT/2K Server domain controller uses level 32.</P -><P ->The maximum os level is 255</P -><P ->If you want samba to force an election on startup, then set the -<B -CLASS="COMMAND" ->preferred master</B -> global option in <TT -CLASS="FILENAME" ->smb.conf</TT -> to "yes". Samba will -then have a slight advantage over other potential master browsers -that are not preferred master browsers. Use this parameter with -care, as if you have two hosts (whether they are windows 95 or NT or -samba) on the same local subnet both set with <B -CLASS="COMMAND" ->preferred master</B -> to -"yes", then periodically and continually they will force an election -in order to become the local master browser.</P -><P ->If you want samba to be a <B -CLASS="COMMAND" ->domain master browser</B ->, then it is -recommended that you also set <B -CLASS="COMMAND" ->preferred master</B -> to "yes", because -samba will not become a domain master browser for the whole of your -LAN or WAN if it is not also a local master browser on its own -broadcast isolated subnet.</P -><P ->It is possible to configure two samba servers to attempt to become -the domain master browser for a domain. The first server that comes -up will be the domain master browser. All other samba servers will -attempt to become the domain master browser every 5 minutes. They -will find that another samba server is already the domain master -browser and will fail. This provides automatic redundancy, should -the current domain master browser fail.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4032" ->24.9. Making samba the domain master</A -></H1 -><P ->The domain master is responsible for collating the browse lists of -multiple subnets so that browsing can occur between subnets. You can -make samba act as the domain master by setting <B -CLASS="COMMAND" ->domain master = yes</B -> -in <TT -CLASS="FILENAME" ->smb.conf</TT ->. By default it will not be a domain master.</P -><P ->Note that you should NOT set Samba to be the domain master for a -workgroup that has the same name as an NT Domain.</P -><P ->When samba is the domain master and the master browser it will listen -for master announcements (made roughly every twelve minutes) from local -master browsers on other subnets and then contact them to synchronise -browse lists.</P -><P ->If you want samba to be the domain master then I suggest you also set -the <B -CLASS="COMMAND" ->os level</B -> high enough to make sure it wins elections, and set -<B -CLASS="COMMAND" ->preferred master</B -> to "yes", to get samba to force an election on -startup.</P -><P ->Note that all your servers (including samba) and clients should be -using a WINS server to resolve NetBIOS names. If your clients are only -using broadcasting to resolve NetBIOS names, then two things will occur:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> your local master browsers will be unable to find a domain master - browser, as it will only be looking on the local subnet. - </P -></LI -><LI -><P -> if a client happens to get hold of a domain-wide browse list, and - a user attempts to access a host in that list, it will be unable to - resolve the NetBIOS name of that host. - </P -></LI -></OL -><P ->If, however, both samba and your clients are using a WINS server, then:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> your local master browsers will contact the WINS server and, as long as - samba has registered that it is a domain master browser with the WINS - server, your local master browser will receive samba's ip address - as its domain master browser. - </P -></LI -><LI -><P -> when a client receives a domain-wide browse list, and a user attempts - to access a host in that list, it will contact the WINS server to - resolve the NetBIOS name of that host. as long as that host has - registered its NetBIOS name with the same WINS server, the user will - be able to see that host. - </P -></LI -></OL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4054" ->24.10. Note about broadcast addresses</A -></H1 -><P ->If your network uses a "0" based broadcast address (for example if it -ends in a 0) then you will strike problems. Windows for Workgroups -does not seem to support a 0's broadcast and you will probably find -that browsing and name lookups won't work.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4057" ->24.11. Multiple interfaces</A -></H1 -><P ->Samba now supports machines with multiple network interfaces. If you -have multiple interfaces then you will need to use the <B -CLASS="COMMAND" ->interfaces</B -> -option in <TT -CLASS="FILENAME" ->smb.conf</TT -> to configure them. </P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="integrate-ms-networks.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="securing-samba.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Integrating MS Windows networks with Samba</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Securing Samba</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/index.html b/docs/htmldocs/index.html deleted file mode 100755 index f7bc47b7c8..0000000000 --- a/docs/htmldocs/index.html +++ /dev/null @@ -1,76 +0,0 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>SAMBA Project Documentation</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"><meta name="description" content=" -This book is a collection of HOWTOs added to Samba documentation over the years. -Samba is always under development, and so is its' documentation. This release of the -documentation represents a major revision or layout as well as contents. -The most recent version of this document can be found at -http://www.samba.org/ -on the "Documentation" page. Please send updates to -Jelmer Vernooij, -John H. Terpstra or -Gerald (Jerry) Carter. - -The Samba-Team would like to express sincere thanks to the many people who have with -or without their knowledge contributed to this update. The size and scope of this -project would not have been possible without significant community contribution. A not -insignificant number of ideas for inclusion (if not content itself) has been obtained -from a number of Unofficial HOWTOs - to each such author a big "Thank-you" is also offered. -Please keep publishing your Unofficial HOWTOs - they are a source of inspiration and -application knowledge that is most to be desired by many Samba users and administrators. -"><link rel="home" href="index.html" title="SAMBA Project Documentation"><link rel="next" href="introduction.html" title="Part I. General Installation"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SAMBA Project Documentation</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="Samba-HOWTO-Collection"></a>SAMBA Project Documentation</h1></div><div><div class="authorgroup"><h4 class="editedby">Edited by</h4><h3 class="editor"><span class="firstname">Jelmer</span> <span class="othername">R.</span> <span class="surname">Vernooij</span></h3><h3 class="editor"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><h3 class="editor"><span class="firstname">Gerald</span> <span class="othername">(Jerry)</span> <span class="surname">Carter</span></h3></div></div><div><div class="legalnotice"><p> -This documentation is distributed under the GNU General Public License (GPL) -version 2. A copy of the license is included with the Samba source -distribution. A copy can be found on-line at <a href="http://www.fsf.org/licenses/gpl.txt" target="_top">http://www.fsf.org/licenses/gpl.txt</a> -</p><p><b>Attributions. </b> - </p><div class="variablelist"><dl><dt><span class="term"><a href="IntroSMB.html" title="Chapter 1. Introduction to Samba">Introduction to Samba</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>David Lechnyr <<a href="mailto:david@lechnyr.com" target="_top">david@lechnyr.com</a>></p></li></ul></div></dd><dt><span class="term"><a href="install.html" title="Chapter 2. How to Install and Test SAMBA">How to Install and Test SAMBA</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Karl Auer</p></li></ul></div></dd><dt><span class="term"><a href="FastStart.html" title="Chapter 3. Fast Start for the Impatient">Fast Start for the Impatient</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="ServerType.html" title="Chapter 4. Server Types and Security Modes">Server Types and Security Modes</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="samba-pdc.html" title="Chapter 5. Domain Control">Domain Control</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li><li><p>David Bannon <<a href="mailto:dbannon@samba.org" target="_top">dbannon@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="samba-bdc.html" title="Chapter 6. Backup Domain Control">Backup Domain Control</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Volker Lendecke <<a href="mailto:Volker.Lendecke@SerNet.DE" target="_top">Volker.Lendecke@SerNet.DE</a>></p></li></ul></div></dd><dt><span class="term"><a href="domain-member.html" title="Chapter 7. Domain Membership">Domain Membership</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Jeremy Allison <<a href="mailto:jra@samba.org" target="_top">jra@samba.org</a>></p></li><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="StandAloneServer.html" title="Chapter 8. Stand-Alone Servers">Stand-Alone Servers</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="ClientConfig.html" title="Chapter 9. MS Windows Network Configuration Guide">MS Windows Network Configuration Guide</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="NetworkBrowsing.html" title="Chapter 10. Samba / MS Windows Network Browsing Guide">Samba / MS Windows Network Browsing Guide</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="passdb.html" title="Chapter 11. Account Information Databases">Account Information Databases</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li><li><p>Jeremy Allison <<a href="mailto:jra@samba.org" target="_top">jra@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Olivier (lem) Lemaire <<a href="mailto:olem@IDEALX.org" target="_top">olem@IDEALX.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="groupmapping.html" title="Chapter 12. Mapping MS Windows and Unix Groups">Mapping MS Windows and Unix Groups</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jean François Micouleau</p></li><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="AccessControls.html" title="Chapter 13. File, Directory and Share Access Controls">File, Directory and Share Access Controls</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Jeremy Allison <<a href="mailto:jra@samba.org" target="_top">jra@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="locking.html" title="Chapter 14. File and Record Locking">File and Record Locking</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jeremy Allison <<a href="mailto:jra@samba.org" target="_top">jra@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Eric Roseme <<a href="mailto:eric.roseme@hp.com" target="_top">eric.roseme@hp.com</a>></p></li></ul></div></dd><dt><span class="term"><a href="securing-samba.html" title="Chapter 15. Securing Samba">Securing Samba</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="InterdomainTrusts.html" title="Chapter 16. Interdomain Trust Relationships">Interdomain Trust Relationships</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Rafal Szczesniak <<a href="mailto:mimir@samba.org" target="_top">mimir@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="msdfs.html" title="Chapter 17. Hosting a Microsoft Distributed File System tree on Samba">Hosting a Microsoft Distributed File System tree on Samba</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Shirish Kalele <<a href="mailto:samba@samba.org" target="_top">samba@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="printing.html" title="Chapter 18. Classical Printing Support">Classical Printing Support</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle <<a href="mailto:kpfeifle@danka.de" target="_top">kpfeifle@danka.de</a>></p></li><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="CUPS-printing.html" title="Chapter 19. CUPS Printing Support in Samba 3.0">CUPS Printing Support in Samba 3.0</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Kurt Pfeifle <<a href="mailto:kpfeifle@danka.de" target="_top">kpfeifle@danka.de</a>></p></li><li><p>Ciprian Vizitiu <<a href="mailto:CVizitiu@gbif.org" target="_top">CVizitiu@gbif.org</a>> (drawings) </p></li></ul></div></dd><dt><span class="term"><a href="VFS.html" title="Chapter 20. Stackable VFS modules">Stackable VFS modules</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Tim Potter</p></li><li><p>Simo Sorce (original vfs_skel README) </p></li><li><p>Alexander Bokovoy (original vfs_netatalk docs) </p></li><li><p>Stefan Metzmacher (Update for multiple modules) </p></li></ul></div></dd><dt><span class="term"><a href="winbind.html" title="Chapter 21. Integrated Logon Support using Winbind">Integrated Logon Support using Winbind</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Tim Potter <<a href="mailto:tpot@linuxcare.com.au" target="_top">tpot@linuxcare.com.au</a>></p></li><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>Naag Mummaneni <<a href="mailto:getnag@rediffmail.com" target="_top">getnag@rediffmail.com</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="AdvancedNetworkManagement.html" title="Chapter 22. Advanced Network Management">Advanced Network Management</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="PolicyMgmt.html" title="Chapter 23. System and Account Policies">System and Account Policies</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="ProfileMgmt.html" title="Chapter 24. Desktop Profile Management">Desktop Profile Management</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="pam.html" title="Chapter 25. PAM based Distributed Authentication">PAM based Distributed Authentication</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li><li><p>Stephen Langasek <<a href="mailto:vorlon@netexpress.net" target="_top">vorlon@netexpress.net</a>></p></li></ul></div></dd><dt><span class="term"><a href="integrate-ms-networks.html" title="Chapter 26. Integrating MS Windows networks with Samba">Integrating MS Windows networks with Samba</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="unicode.html" title="Chapter 27. Unicode/Charsets">Unicode/Charsets</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>TAKAHASHI Motonobu <<a href="mailto:monyo@home.monyo.com" target="_top">monyo@home.monyo.com</a>></p></li></ul></div></dd><dt><span class="term"><a href="Backup.html" title="Chapter 28. Samba Backup Techniques">Samba Backup Techniques</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="SambaHA.html" title="Chapter 29. High Availability Options">High Availability Options</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="upgrading-to-3.0.html" title="Chapter 30. Upgrading from Samba-2.x to Samba-3.0.0">Upgrading from Samba-2.x to Samba-3.0.0</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="NT4Migration.html" title="Chapter 31. Migration from NT4 PDC to Samba-3 PDC">Migration from NT4 PDC to Samba-3 PDC</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="SWAT.html" title="Chapter 32. SWAT - The Samba Web Administration Tool">SWAT - The Samba Web Administration Tool</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="diagnosis.html" title="Chapter 33. The Samba checklist">The Samba checklist</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Andrew Tridgell <<a href="mailto:tridge@samba.org" target="_top">tridge@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="problems.html" title="Chapter 34. Analysing and solving samba problems">Analysing and solving samba problems</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Gerald Carter <<a href="mailto:jerry@samba.org" target="_top">jerry@samba.org</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>David Bannon <<a href="mailto:dbannon@samba.org" target="_top">dbannon@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="bugreport.html" title="Chapter 35. Reporting Bugs">Reporting Bugs</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p> Someone; Tridge or Karl Auer perhaps?</p></li></ul></div></dd><dt><span class="term"><a href="compiling.html" title="Chapter 36. How to compile SAMBA">How to compile SAMBA</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p> Someone; Jerry perhaps?</p></li></ul></div></dd><dt><span class="term"><a href="Portability.html" title="Chapter 37. Portability">Portability</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="Other-Clients.html" title="Chapter 38. Samba and other CIFS clients">Samba and other CIFS clients</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jim McDonough <<a href="mailto:jmcd@us.ibm.com" target="_top">jmcd@us.ibm.com</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="speed.html" title="Chapter 39. Samba Performance Tuning">Samba Performance Tuning</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Paul Cochrane <<a href="mailto:paulc@dth.scot.nhs.uk" target="_top">paulc@dth.scot.nhs.uk</a>></p></li><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="DNSDHCP.html" title="Chapter 40. DNS and DHCP Configuration Guide">DNS and DHCP Configuration Guide</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>John Terpstra <<a href="mailto:jht@samba.org" target="_top">jht@samba.org</a>></p></li></ul></div></dd><dt><span class="term"><a href="Further-Resources.html" title="Chapter 41. Further Resources">Further Resources</a></span></dt><dd><div class="itemizedlist"><ul type="disc"><li><p>Jelmer Vernooij <<a href="mailto:jelmer@samba.org" target="_top">jelmer@samba.org</a>></p></li><li><p>David Lechnyr <<a href="mailto:david@lechnyr.com" target="_top">david@lechnyr.com</a>></p></li></ul></div></dd></dl></div><p> - - </p></div></div><div><p class="pubdate">Monday April 21, 2003</p></div><div><div class="abstract"><p class="title"><b>Abstract</b></p><p> -This book is a collection of HOWTOs added to Samba documentation over the years. -Samba is always under development, and so is its' documentation. This release of the -documentation represents a major revision or layout as well as contents. -The most recent version of this document can be found at -<a href="http://www.samba.org/" target="_top">http://www.samba.org/</a> -on the "Documentation" page. Please send updates to -<a href="mailto:jelmer@samba.org" target="_top">Jelmer Vernooij</a>, -<a href="mailto:jht@samba.org" target="_top">John H. Terpstra</a> or -<a href="mailto:jerry@samba.org" target="_top">Gerald (Jerry) Carter</a>. -</p><p> -The Samba-Team would like to express sincere thanks to the many people who have with -or without their knowledge contributed to this update. The size and scope of this -project would not have been possible without significant community contribution. A not -insignificant number of ideas for inclusion (if not content itself) has been obtained -from a number of Unofficial HOWTOs - to each such author a big "Thank-you" is also offered. -Please keep publishing your Unofficial HOWTOs - they are a source of inspiration and -application knowledge that is most to be desired by many Samba users and administrators. -</p></div></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt>I. <a href="introduction.html">General Installation</a></dt><dd><dl><dt>1. <a href="IntroSMB.html">Introduction to Samba</a></dt><dd><dl><dt><a href="IntroSMB.html#id2885613">Background</a></dt><dt><a href="IntroSMB.html#id2885824">Terminology</a></dt><dt><a href="IntroSMB.html#id2885978">Related Projects</a></dt><dt><a href="IntroSMB.html#id2886047">SMB Methodology</a></dt><dt><a href="IntroSMB.html#id2886135">Epilogue</a></dt><dt><a href="IntroSMB.html#id2886209">Miscellaneous</a></dt></dl></dd><dt>2. <a href="install.html">How to Install and Test SAMBA</a></dt><dd><dl><dt><a href="install.html#id2886868">Obtaining and installing samba</a></dt><dt><a href="install.html#id2886909">Configuring samba (smb.conf)</a></dt><dd><dl><dt><a href="install.html#id2886946">Example Configuration</a></dt><dt><a href="install.html#id2887096">SWAT</a></dt></dl></dd><dt><a href="install.html#id2887140">Try listing the shares available on your - server</a></dt><dt><a href="install.html#id2887191">Try connecting with the unix client</a></dt><dt><a href="install.html#id2887292">Try connecting from a DOS, WfWg, Win9x, WinNT, - Win2k, OS/2, etc... client</a></dt><dt><a href="install.html#id2887355">What If Things Don't Work?</a></dt><dt><a href="install.html#id2887388">Common Errors</a></dt><dd><dl><dt><a href="install.html#id2887401">Why are so many smbd processes eating memory?</a></dt><dt><a href="install.html#id2887617">I'm getting "open_oplock_ipc: Failed to get local UDP socket for address 100007f. Error was Cannot assign requested" in the logs</a></dt></dl></dd></dl></dd><dt>3. <a href="FastStart.html">Fast Start for the Impatient</a></dt><dd><dl><dt><a href="FastStart.html#id2886744">Note</a></dt></dl></dd></dl></dd><dt>II. <a href="type.html">Server Configuration Basics</a></dt><dd><dl><dt>4. <a href="ServerType.html">Server Types and Security Modes</a></dt><dd><dl><dt><a href="ServerType.html#id2888767">Features and Benefits</a></dt><dt><a href="ServerType.html#id2888862">Server Types</a></dt><dt><a href="ServerType.html#id2888947">Samba Security Modes</a></dt><dd><dl><dt><a href="ServerType.html#id2889062">User Level Security</a></dt><dt><a href="ServerType.html#id2889195">Share Level Security</a></dt><dt><a href="ServerType.html#id2889317">Domain Security Mode (User Level Security)</a></dt><dt><a href="ServerType.html#id2889568">ADS Security Mode (User Level Security)</a></dt><dt><a href="ServerType.html#id2889655">Server Security (User Level Security)</a></dt></dl></dd><dt><a href="ServerType.html#id2889880">Seamless Windows Network Integration</a></dt><dt><a href="ServerType.html#id2890056">Common Errors</a></dt><dd><dl><dt><a href="ServerType.html#id2890084">What makes Samba a SERVER?</a></dt><dt><a href="ServerType.html#id2890117">What makes Samba a Domain Controller?</a></dt><dt><a href="ServerType.html#id2890146">What makes Samba a Domain Member?</a></dt><dt><a href="ServerType.html#id2890179">Constantly Losing Connections to Password Server</a></dt></dl></dd></dl></dd><dt>5. <a href="samba-pdc.html">Domain Control</a></dt><dd><dl><dt><a href="samba-pdc.html#id2891986">Features and Benefits</a></dt><dt><a href="samba-pdc.html#id2892290">Basics of Domain Control</a></dt><dd><dl><dt><a href="samba-pdc.html#id2892306">Domain Controller Types</a></dt><dt><a href="samba-pdc.html#id2892517">Preparing for Domain Control</a></dt></dl></dd><dt><a href="samba-pdc.html#id2892837">Domain Control - Example Configuration</a></dt><dt><a href="samba-pdc.html#id2893136">Samba ADS Domain Control</a></dt><dt><a href="samba-pdc.html#id2893157">Domain and Network Logon Configuration</a></dt><dd><dl><dt><a href="samba-pdc.html#id2893173">Domain Network Logon Service</a></dt><dt><a href="samba-pdc.html#id2893499">Security Mode and Master Browsers</a></dt></dl></dd><dt><a href="samba-pdc.html#id2893607">Common Problems and Errors</a></dt><dd><dl><dt><a href="samba-pdc.html#id2893614">I cannot include a '$' in a machine name</a></dt><dt><a href="samba-pdc.html#id2893653">I get told "You already have a connection to the Domain...." -or "Cannot join domain, the credentials supplied conflict with an -existing set.." when creating a machine trust account.</a></dt><dt><a href="samba-pdc.html#id2893703">The system can not log you on (C000019B)....</a></dt><dt><a href="samba-pdc.html#id2893773">The machine trust account for this computer either does not -exist or is not accessible.</a></dt><dt><a href="samba-pdc.html#id2893836">When I attempt to login to a Samba Domain from a NT4/W2K workstation, -I get a message about my account being disabled.</a></dt><dt><a href="samba-pdc.html#id2893863">Until a few minutes after Samba has started, clients get the error "Domain Controller Unavailable"</a></dt></dl></dd></dl></dd><dt>6. <a href="samba-bdc.html">Backup Domain Control</a></dt><dd><dl><dt><a href="samba-bdc.html#id2896028">Features And Benefits</a></dt><dt><a href="samba-bdc.html#id2896201">Essential Background Information</a></dt><dd><dl><dt><a href="samba-bdc.html#id2896230">MS Windows NT4 Style Domain Control</a></dt><dt><a href="samba-bdc.html#id2896450">Active Directory Domain Control</a></dt><dt><a href="samba-bdc.html#id2896471">What qualifies a Domain Controller on the network?</a></dt><dt><a href="samba-bdc.html#id2896497">How does a Workstation find its domain controller?</a></dt></dl></dd><dt><a href="samba-bdc.html#id2896542">Backup Domain Controller Configuration</a></dt><dd><dl><dt><a href="samba-bdc.html#id2896645">Example Configuration</a></dt></dl></dd><dt><a href="samba-bdc.html#id2896706">Common Errors</a></dt><dd><dl><dt><a href="samba-bdc.html#id2896719">Machine Accounts keep expiring, what can I do?</a></dt><dt><a href="samba-bdc.html#id2896750">Can Samba be a Backup Domain Controller to an NT4 PDC?</a></dt><dt><a href="samba-bdc.html#id2896783">How do I replicate the smbpasswd file?</a></dt><dt><a href="samba-bdc.html#id2896828">Can I do this all with LDAP?</a></dt></dl></dd></dl></dd><dt>7. <a href="domain-member.html">Domain Membership</a></dt><dd><dl><dt><a href="domain-member.html#id2897897">Features and Benefits</a></dt><dt><a href="domain-member.html#id2898012">MS Windows Workstation/Server Machine Trust Accounts</a></dt><dd><dl><dt><a href="domain-member.html#id2898188">Manual Creation of Machine Trust Accounts</a></dt><dt><a href="domain-member.html#id2898440">Using NT4 Server Manager to Add Machine Accounts to the Domain</a></dt><dt><a href="domain-member.html#id2898636">"On-the-Fly" Creation of Machine Trust Accounts</a></dt><dt><a href="domain-member.html#id2898699">Making an MS Windows Workstation or Server a Domain Member</a></dt></dl></dd><dt><a href="domain-member.html#domain-member-server">Domain Member Server</a></dt><dd><dl><dt><a href="domain-member.html#id2898901">Joining an NT4 type Domain with Samba-3</a></dt><dt><a href="domain-member.html#id2899283">Why is this better than security = server?</a></dt></dl></dd><dt><a href="domain-member.html#ads-member">Samba ADS Domain Membership</a></dt><dd><dl><dt><a href="domain-member.html#id2899424">Setup your smb.conf</a></dt><dt><a href="domain-member.html#id2899508">Setup your /etc/krb5.conf</a></dt><dt><a href="domain-member.html#ads-create-machine-account">Create the computer account</a></dt><dt><a href="domain-member.html#ads-test-server">Test your server setup</a></dt><dt><a href="domain-member.html#ads-test-smbclient">Testing with smbclient</a></dt><dt><a href="domain-member.html#id2899872">Notes</a></dt></dl></dd><dt><a href="domain-member.html#id2899892">Common Errors</a></dt><dd><dl><dt><a href="domain-member.html#id2899919">Can Not Add Machine Back to Domain</a></dt><dt><a href="domain-member.html#id2899951">Adding Machine to Domain Fails</a></dt></dl></dd></dl></dd><dt>8. <a href="StandAloneServer.html">Stand-Alone Servers</a></dt><dd><dl><dt><a href="StandAloneServer.html#id2902304">Features and Benefits</a></dt><dt><a href="StandAloneServer.html#id2902501">Background</a></dt><dt><a href="StandAloneServer.html#id2902573">Example Configuration</a></dt><dd><dl><dt><a href="StandAloneServer.html#id2902588">Reference Documentation Server</a></dt><dt><a href="StandAloneServer.html#id2902638">Central Print Serving</a></dt></dl></dd><dt><a href="StandAloneServer.html#id2902852">Common Errors</a></dt></dl></dd><dt>9. <a href="ClientConfig.html">MS Windows Network Configuration Guide</a></dt><dd><dl><dt><a href="ClientConfig.html#id2901966">Note</a></dt></dl></dd></dl></dd><dt>III. <a href="optional.html">Advanced Configuration</a></dt><dd><dl><dt>10. <a href="NetworkBrowsing.html">Samba / MS Windows Network Browsing Guide</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2903558">Features and Benefits</a></dt><dt><a href="NetworkBrowsing.html#id2903637">What is Browsing?</a></dt><dt><a href="NetworkBrowsing.html#id2903747">Discussion</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2903764">NetBIOS over TCP/IP</a></dt><dt><a href="NetworkBrowsing.html#id2903926">TCP/IP - without NetBIOS</a></dt><dt><a href="NetworkBrowsing.html#id2904058">DNS and Active Directory</a></dt></dl></dd><dt><a href="NetworkBrowsing.html#id2904194">How Browsing Functions</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2904320">Setting up WORKGROUP Browsing</a></dt><dt><a href="NetworkBrowsing.html#id2904541">Setting up DOMAIN Browsing</a></dt><dt><a href="NetworkBrowsing.html#browse-force-master">Forcing Samba to be the master</a></dt><dt><a href="NetworkBrowsing.html#id2904811">Making Samba the domain master</a></dt><dt><a href="NetworkBrowsing.html#id2904967">Note about broadcast addresses</a></dt><dt><a href="NetworkBrowsing.html#id2904984">Multiple interfaces</a></dt><dt><a href="NetworkBrowsing.html#id2905013">Use of the Remote Announce parameter</a></dt><dt><a href="NetworkBrowsing.html#id2905122">Use of the Remote Browse Sync parameter</a></dt></dl></dd><dt><a href="NetworkBrowsing.html#id2905183">WINS - The Windows Internetworking Name Server</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2905341">Setting up a WINS server</a></dt><dt><a href="NetworkBrowsing.html#id2905540">WINS Replication</a></dt><dt><a href="NetworkBrowsing.html#id2905565">Static WINS Entries</a></dt></dl></dd><dt><a href="NetworkBrowsing.html#id2905650">Helpful Hints</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2905663">Windows Networking Protocols</a></dt><dt><a href="NetworkBrowsing.html#id2905730">Name Resolution Order</a></dt></dl></dd><dt><a href="NetworkBrowsing.html#id2905867">Technical Overview of browsing</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2905914">Browsing support in Samba</a></dt><dt><a href="NetworkBrowsing.html#id2906021">Problem resolution</a></dt><dt><a href="NetworkBrowsing.html#id2906100">Browsing across subnets</a></dt></dl></dd><dt><a href="NetworkBrowsing.html#id2906720">Common Errors</a></dt><dd><dl><dt><a href="NetworkBrowsing.html#id2906735">How can one flush the Samba NetBIOS name cache without restarting Samba?</a></dt><dt><a href="NetworkBrowsing.html#id2906764">My client reports "This server is not configured to list shared resources"</a></dt></dl></dd></dl></dd><dt>11. <a href="passdb.html">Account Information Databases</a></dt><dd><dl><dt><a href="passdb.html#id2910308">Features and Benefits</a></dt><dt><a href="passdb.html#id2910636">Technical Information</a></dt><dd><dl><dt><a href="passdb.html#id2910700">Important Notes About Security</a></dt><dt><a href="passdb.html#id2910954">Mapping User Identifiers between MS Windows and Unix</a></dt></dl></dd><dt><a href="passdb.html#id2911009">Account Management Tools</a></dt><dd><dl><dt><a href="passdb.html#id2911041">The smbpasswd Command</a></dt><dt><a href="passdb.html#id2911306">The pdbedit Command</a></dt></dl></dd><dt><a href="passdb.html#id2911458">Password Backends</a></dt><dd><dl><dt><a href="passdb.html#id2911494">Plain Text</a></dt><dt><a href="passdb.html#id2911534">smbpasswd - Encrypted Password Database</a></dt><dt><a href="passdb.html#id2911641">tdbsam</a></dt><dt><a href="passdb.html#id2911668">ldapsam</a></dt><dt><a href="passdb.html#id2913185">MySQL</a></dt><dt><a href="passdb.html#XMLpassdb">XML</a></dt></dl></dd><dt><a href="passdb.html#id2913989">Common Errors</a></dt><dd><dl><dt><a href="passdb.html#id2913997">Users can not logon - Users not in Samba SAM</a></dt><dt><a href="passdb.html#id2914012">Users are being added to the wrong backend database</a></dt><dt><a href="passdb.html#id2914072">auth methods does not work</a></dt></dl></dd></dl></dd><dt>12. <a href="groupmapping.html">Mapping MS Windows and Unix Groups</a></dt><dd><dl><dt><a href="groupmapping.html#id2921449">Features and Benefits</a></dt><dt><a href="groupmapping.html#id2921551">Discussion</a></dt><dd><dl><dt><a href="groupmapping.html#id2921742">Example Configuration</a></dt></dl></dd><dt><a href="groupmapping.html#id2921806">Configuration Scripts</a></dt><dd><dl><dt><a href="groupmapping.html#id2921820">Sample smb.conf add group script</a></dt><dt><a href="groupmapping.html#id2921889">Script to configure Group Mapping</a></dt></dl></dd><dt><a href="groupmapping.html#id2921981">Common Errors</a></dt><dd><dl><dt><a href="groupmapping.html#id2921997">Adding Groups Fails</a></dt><dt><a href="groupmapping.html#id2922057">Adding MS Windows Groups to MS Windows Groups Fails</a></dt></dl></dd></dl></dd><dt>13. <a href="AccessControls.html">File, Directory and Share Access Controls</a></dt><dd><dl><dt><a href="AccessControls.html#id2920271">Features and Benefits</a></dt><dt><a href="AccessControls.html#id2920308">File System Access Controls</a></dt><dd><dl><dt><a href="AccessControls.html#id2920326">MS Windows NTFS Comparison with Unix File Systems</a></dt><dt><a href="AccessControls.html#id2920583">Managing Directories</a></dt><dt><a href="AccessControls.html#id2920678">File and Directory Access Control</a></dt></dl></dd><dt><a href="AccessControls.html#id2920894">Share Definition Access Controls</a></dt><dd><dl><dt><a href="AccessControls.html#id2922074">User and Group Based Controls</a></dt><dt><a href="AccessControls.html#id2922346">File and Directory Permissions Based Controls</a></dt><dt><a href="AccessControls.html#id2922591">Miscellaneous Controls</a></dt></dl></dd><dt><a href="AccessControls.html#id2922807">Access Controls on Shares</a></dt><dd><dl><dt><a href="AccessControls.html#id2922879">Share Permissions Management</a></dt></dl></dd><dt><a href="AccessControls.html#id2923178">MS Windows Access Control Lists and Unix Interoperability</a></dt><dd><dl><dt><a href="AccessControls.html#id2923186">Managing UNIX permissions Using NT Security Dialogs</a></dt><dt><a href="AccessControls.html#id2923224">Viewing File Security on a Samba Share</a></dt><dt><a href="AccessControls.html#id2923303">Viewing file ownership</a></dt><dt><a href="AccessControls.html#id2923425">Viewing File or Directory Permissions</a></dt><dt><a href="AccessControls.html#id2923653">Modifying file or directory permissions</a></dt><dt><a href="AccessControls.html#id2923805">Interaction with the standard Samba create mask - parameters</a></dt><dt><a href="AccessControls.html#id2924134">Interaction with the standard Samba file attribute - mapping</a></dt></dl></dd><dt><a href="AccessControls.html#id2924210">Common Errors</a></dt><dd><dl><dt><a href="AccessControls.html#id2924224">Users can not write to a public share</a></dt><dt><a href="AccessControls.html#id2924604">I have set force user and Samba still makes root the owner of all the files - I touch!</a></dt></dl></dd></dl></dd><dt>14. <a href="locking.html">File and Record Locking</a></dt><dd><dl><dt><a href="locking.html#id2928216">Features and Benefits</a></dt><dt><a href="locking.html#id2928272">Discussion</a></dt><dd><dl><dt><a href="locking.html#id2928403">Opportunistic Locking Overview</a></dt></dl></dd><dt><a href="locking.html#id2929049">Samba Opportunistic Locking Control</a></dt><dd><dl><dt><a href="locking.html#id2929159">Example Configuration</a></dt></dl></dd><dt><a href="locking.html#id2929419">MS Windows Opportunistic Locking and Caching Controls</a></dt><dd><dl><dt><a href="locking.html#id2929649">Workstation Service Entries</a></dt><dt><a href="locking.html#id2929676">Server Service Entries</a></dt></dl></dd><dt><a href="locking.html#id2929755">Persistent Data Corruption</a></dt><dt><a href="locking.html#id2929785">Common Errors</a></dt><dd><dl><dt><a href="locking.html#id2929859">locking.tdb error messages</a></dt></dl></dd><dt><a href="locking.html#id2929890">Additional Reading</a></dt></dl></dd><dt>15. <a href="securing-samba.html">Securing Samba</a></dt><dd><dl><dt><a href="securing-samba.html#id2931943">Introduction</a></dt><dt><a href="securing-samba.html#id2931976">Features and Benefits</a></dt><dt><a href="securing-samba.html#id2932050">Technical Discussion of Protective Measures and Issues</a></dt><dd><dl><dt><a href="securing-samba.html#id2932069">Using host based protection</a></dt><dt><a href="securing-samba.html#id2932140">User based protection</a></dt><dt><a href="securing-samba.html#id2932191">Using interface protection</a></dt><dt><a href="securing-samba.html#id2932244">Using a firewall</a></dt><dt><a href="securing-samba.html#id2932300">Using a IPC$ share deny</a></dt><dt><a href="securing-samba.html#id2932362">NTLMv2 Security</a></dt></dl></dd><dt><a href="securing-samba.html#id2932402">Upgrading Samba</a></dt><dt><a href="securing-samba.html#id2932426">Common Errors</a></dt><dd><dl><dt><a href="securing-samba.html#id2932444">Smbclient works on localhost, but the network is dead</a></dt><dt><a href="securing-samba.html#id2932469">Why can users access home directories of other users?</a></dt></dl></dd></dl></dd><dt>16. <a href="InterdomainTrusts.html">Interdomain Trust Relationships</a></dt><dd><dl><dt><a href="InterdomainTrusts.html#id2933376">Features and Benefits</a></dt><dt><a href="InterdomainTrusts.html#id2933404">Trust Relationship Background</a></dt><dt><a href="InterdomainTrusts.html#id2933488">Native MS Windows NT4 Trusts Configuration</a></dt><dd><dl><dt><a href="InterdomainTrusts.html#id2933501">NT4 as the Trusting Domain (ie. creating the trusted account)</a></dt><dt><a href="InterdomainTrusts.html#id2933586">NT4 as the Trusted Domain (ie. creating trusted account's password)</a></dt></dl></dd><dt><a href="InterdomainTrusts.html#id2933622">Configuring Samba NT-style Domain Trusts</a></dt><dd><dl><dt><a href="InterdomainTrusts.html#id2933649">Samba-3 as the Trusting Domain</a></dt><dt><a href="InterdomainTrusts.html#id2933790">Samba-3 as the Trusted Domain</a></dt></dl></dd><dt><a href="InterdomainTrusts.html#id2933922">Common Errors</a></dt><dd><dl><dt><a href="InterdomainTrusts.html#id2933937">Tell me about Trust Relationships using Samba</a></dt></dl></dd></dl></dd><dt>17. <a href="msdfs.html">Hosting a Microsoft Distributed File System tree on Samba</a></dt><dd><dl><dt><a href="msdfs.html#id2933279">Features and Benefits</a></dt><dt><a href="msdfs.html#id2934931">Common Errors</a></dt></dl></dd><dt>18. <a href="printing.html">Classical Printing Support</a></dt><dd><dl><dt><a href="printing.html#id2934522">Features and Benefits</a></dt><dt><a href="printing.html#id2934590">Technical Introduction</a></dt><dd><dl><dt><a href="printing.html#id2934627">What happens if you send a Job from a Client</a></dt><dt><a href="printing.html#id2934698">Printing Related Configuration Parameters</a></dt><dt><a href="printing.html#id2935615">Parameters Recommended for Use</a></dt><dt><a href="printing.html#id2935946">Parameters for Backwards Compatibility</a></dt><dt><a href="printing.html#id2936054">Parameters no longer in use</a></dt></dl></dd><dt><a href="printing.html#id2936147">A simple Configuration to Print with Samba-3</a></dt><dd><dl><dt><a href="printing.html#id2936216">Verification of "Settings in Use" with testparm</a></dt><dt><a href="printing.html#id2936305">A little Experiment to warn you</a></dt></dl></dd><dt><a href="printing.html#id2936612">Extended Sample Configuration to Print with Samba-3</a></dt><dt><a href="printing.html#id2936715">Detailed Explanation of the Example's Settings</a></dt><dd><dl><dt><a href="printing.html#id2936728">The [global] Section</a></dt><dt><a href="printing.html#id2937111">The [printers] Section</a></dt><dt><a href="printing.html#id2937440">Any [my_printer_name] Section</a></dt><dt><a href="printing.html#id2937660">Print Commands</a></dt><dt><a href="printing.html#id2937711">Default Print Commands for various Unix Print Subsystems</a></dt><dt><a href="printing.html#id2938236">Setting up your own Print Commands</a></dt></dl></dd><dt><a href="printing.html#id2938516">Innovations in Samba Printing since 2.2</a></dt><dd><dl><dt><a href="printing.html#id2938681">Client Drivers on Samba Server for Point'n'Print</a></dt><dt><a href="printing.html#id2938833">The [printer$] Section is removed from Samba-3</a></dt><dt><a href="printing.html#id2938945">Creating the [print$] Share</a></dt><dt><a href="printing.html#id2939016">Parameters in the [print$] Section</a></dt><dt><a href="printing.html#id2939247">Subdirectory Structure in [print$]</a></dt></dl></dd><dt><a href="printing.html#id2939408">Installing Drivers into [print$]</a></dt><dd><dl><dt><a href="printing.html#id2939503">Setting Drivers for existing Printers with a Client GUI</a></dt><dt><a href="printing.html#id2939686">Setting Drivers for existing Printers with -rpcclient</a></dt></dl></dd><dt><a href="printing.html#id2941408">"The Proof of the Pudding lies in the Eating" (Client Driver Install -Procedure)</a></dt><dd><dl><dt><a href="printing.html#id2941428">The first Client Driver Installation</a></dt><dt><a href="printing.html#id2941626">IMPORTANT! Setting Device Modes on new Printers</a></dt><dt><a href="printing.html#id2941915">Further Client Driver Install Procedures</a></dt><dt><a href="printing.html#id2942010">Always make first Client Connection as root or "printer admin"</a></dt></dl></dd><dt><a href="printing.html#id2942152">Other Gotchas</a></dt><dd><dl><dt><a href="printing.html#id2942185">Setting Default Print Options for the Client Drivers</a></dt><dt><a href="printing.html#id2942622">Supporting large Numbers of Printers</a></dt><dt><a href="printing.html#id2942924">Adding new Printers with the Windows NT APW</a></dt><dt><a href="printing.html#id2943168">Weird Error Message Cannot connect under a -different Name</a></dt><dt><a href="printing.html#id2943267">Be careful when assembling Driver Files</a></dt><dt><a href="printing.html#id2943612">Samba and Printer Ports</a></dt><dt><a href="printing.html#id2943683">Avoiding the most common Misconfigurations of the Client Driver</a></dt></dl></dd><dt><a href="printing.html#id2943705">The Imprints Toolset</a></dt><dd><dl><dt><a href="printing.html#id2943751">What is Imprints?</a></dt><dt><a href="printing.html#id2943792">Creating Printer Driver Packages</a></dt><dt><a href="printing.html#id2943811">The Imprints Server</a></dt><dt><a href="printing.html#id2943835">The Installation Client</a></dt></dl></dd><dt><a href="printing.html#id2943987">Add Network Printers at Logon without User Interaction</a></dt><dt><a href="printing.html#id2944316">The addprinter command</a></dt><dt><a href="printing.html#id2944362">Migration of "Classical" printing to Samba-3</a></dt><dt><a href="printing.html#id2944531">Publishing Printer Information in Active Directory or LDAP</a></dt><dt><a href="printing.html#id2944545">Common Errors and Problems</a></dt><dd><dl><dt><a href="printing.html#id2944558">I give my root password but I don't get access</a></dt><dt><a href="printing.html#id2944591">My printjobs get spooled into the spooling directory, but then get lost</a></dt></dl></dd></dl></dd><dt>19. <a href="CUPS-printing.html">CUPS Printing Support in Samba 3.0</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2953785">Introduction</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2953792">Features and Benefits</a></dt><dt><a href="CUPS-printing.html#id2953845">Overview</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2953900">Basic Configuration of CUPS support</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2953979">Linking of smbd with libcups.so</a></dt><dt><a href="CUPS-printing.html#id2954122">Simple smb.conf Settings for CUPS</a></dt><dt><a href="CUPS-printing.html#id2954205">More complex smb.conf Settings for -CUPS</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2954322">Advanced Configuration</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2954343">Central spooling vs. "Peer-to-Peer" printing</a></dt><dt><a href="CUPS-printing.html#id2954370">CUPS/Samba as a "spooling-only" Print Server; "raw" printing -with Vendor Drivers on Windows Clients</a></dt><dt><a href="CUPS-printing.html#id2954406">Driver Installation Methods on Windows Clients</a></dt><dt><a href="CUPS-printing.html#id2954465">Explicitly enable "raw" printing for -application/octet-stream!</a></dt><dt><a href="CUPS-printing.html#id2954626">Three familiar Methods for driver upload plus a new one</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2954719">Using CUPS/Samba in an advanced Way -- intelligent printing -with PostScript Driver Download</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2954794">GDI on Windows -- PostScript on Unix</a></dt><dt><a href="CUPS-printing.html#id2954839">Windows Drivers, GDI and EMF</a></dt><dt><a href="CUPS-printing.html#id2954940">Unix Printfile Conversion and GUI Basics</a></dt><dt><a href="CUPS-printing.html#id2955028">PostScript and Ghostscript</a></dt><dt><a href="CUPS-printing.html#id2955125">Ghostscript -- the Software RIP for non-PostScript Printers</a></dt><dt><a href="CUPS-printing.html#id2955238">PostScript Printer Description (PPD) Specification</a></dt><dt><a href="CUPS-printing.html#id2955308">CUPS can use all Windows-formatted Vendor PPDs</a></dt><dt><a href="CUPS-printing.html#id2955397">CUPS also uses PPDs for non-PostScript Printers</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2955420">The CUPS Filtering Architecture</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2955560">MIME types and CUPS Filters</a></dt><dt><a href="CUPS-printing.html#id2955747">MIME type Conversion Rules</a></dt><dt><a href="CUPS-printing.html#id2955864">Filter Requirements</a></dt><dt><a href="CUPS-printing.html#id2956034">Prefilters</a></dt><dt><a href="CUPS-printing.html#id2956120">pstops</a></dt><dt><a href="CUPS-printing.html#id2956222">pstoraster</a></dt><dt><a href="CUPS-printing.html#id2956377">imagetops and imagetoraster</a></dt><dt><a href="CUPS-printing.html#id2956434">rasterto [printers specific]</a></dt><dt><a href="CUPS-printing.html#id2956519">CUPS Backends</a></dt><dt><a href="CUPS-printing.html#id2956831">cupsomatic/Foomatic -- how do they fit into the Picture?</a></dt><dt><a href="CUPS-printing.html#id2956944">The Complete Picture</a></dt><dt><a href="CUPS-printing.html#id2956960">mime.convs</a></dt><dt><a href="CUPS-printing.html#id2957012">"Raw" printing</a></dt><dt><a href="CUPS-printing.html#id2957066">"application/octet-stream" printing</a></dt><dt><a href="CUPS-printing.html#id2957282">PostScript Printer Descriptions (PPDs) for non-PS Printers</a></dt><dt><a href="CUPS-printing.html#id2957510">Difference between cupsomatic/foomatic-rip and -native CUPS printing</a></dt><dt><a href="CUPS-printing.html#id2957666">Examples for filtering Chains</a></dt><dt><a href="CUPS-printing.html#id2957897">Sources of CUPS drivers / PPDs</a></dt><dt><a href="CUPS-printing.html#id2958024">Printing with Interface Scripts</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2958100">Network printing (purely Windows)</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2958116">From Windows Clients to an NT Print Server</a></dt><dt><a href="CUPS-printing.html#id2958155">Driver Execution on the Client</a></dt><dt><a href="CUPS-printing.html#id2958227">Driver Execution on the Server</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2958289">Network Printing (Windows clients -- UNIX/Samba Print -Servers)</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2958310">From Windows Clients to a CUPS/Samba Print Server</a></dt><dt><a href="CUPS-printing.html#id2958474">Samba receiving Jobfiles and passing them to CUPS</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2958550">Network PostScript RIP: CUPS Filters on Server -- clients use -PostScript Driver with CUPS-PPDs</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2958605">PPDs for non-PS Printers on UNIX</a></dt><dt><a href="CUPS-printing.html#id2958646">PPDs for non-PS Printers on Windows</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2958712">Windows Terminal Servers (WTS) as CUPS Clients</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2958729">Printer Drivers running in "Kernel Mode" cause many -Problems</a></dt><dt><a href="CUPS-printing.html#id2958763">Workarounds impose Heavy Limitations</a></dt><dt><a href="CUPS-printing.html#id2958784">CUPS: a "Magical Stone"?</a></dt><dt><a href="CUPS-printing.html#id2958811">PostScript Drivers with no major problems -- even in Kernel -Mode</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2958865"> Setting up CUPS for driver Download</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2958884">cupsaddsmb: the unknown Utility</a></dt><dt><a href="CUPS-printing.html#id2958976">Prepare your smb.conf for -cupsaddsmb</a></dt><dt><a href="CUPS-printing.html#id2959022">CUPS Package of "PostScript Driver for WinNT/2k/XP"</a></dt><dt><a href="CUPS-printing.html#id2959220">Recognize the different Driver Files</a></dt><dt><a href="CUPS-printing.html#id2959278">Acquiring the Adobe Driver Files</a></dt><dt><a href="CUPS-printing.html#id2959310">ESP Print Pro Package of "PostScript Driver for -WinNT/2k/XP"</a></dt><dt><a href="CUPS-printing.html#id2959360">Caveats to be considered</a></dt><dt><a href="CUPS-printing.html#id2959582">What are the Benefits of using the "CUPS PostScript Driver for -Windows NT/2k/XP" as compared to the Adobe Driver?</a></dt><dt><a href="CUPS-printing.html#id2959764">Run "cupsaddsmb" (quiet Mode)</a></dt><dt><a href="CUPS-printing.html#id2959865">Run "cupsaddsmb" with verbose Output</a></dt><dt><a href="CUPS-printing.html#id2960092">Understanding cupsaddsmb</a></dt><dt><a href="CUPS-printing.html#id2960186">How to recognize if cupsaddsm completed successfully</a></dt><dt><a href="CUPS-printing.html#id2960273">cupsaddsmb with a Samba PDC</a></dt><dt><a href="CUPS-printing.html#id2960308">cupsaddsmb Flowchart</a></dt><dt><a href="CUPS-printing.html#id2960361">Installing the PostScript Driver on a Client</a></dt><dt><a href="CUPS-printing.html#id2960474">Avoiding critical PostScript Driver Settings on the -Client</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2960608">Installing PostScript Driver Files manually (using -rpcclient)</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2960723">A Check of the rpcclient man Page</a></dt><dt><a href="CUPS-printing.html#id2960836">Understanding the rpcclient man Page</a></dt><dt><a href="CUPS-printing.html#id2960925">Producing an Example by querying a Windows Box</a></dt><dt><a href="CUPS-printing.html#id2961015">What is required for adddriver and setdriver to succeed</a></dt><dt><a href="CUPS-printing.html#id2961177">Manual Commandline Driver Installation in 15 little Steps</a></dt><dt><a href="CUPS-printing.html#id2961830">Troubleshooting revisited</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2961930">The printing *.tdb Files</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2962033">Trivial DataBase Files</a></dt><dt><a href="CUPS-printing.html#id2962103">Binary Format</a></dt><dt><a href="CUPS-printing.html#id2962165">Losing *.tdb Files</a></dt><dt><a href="CUPS-printing.html#id2962224">Using tdbbackup</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2962290">CUPS Print Drivers from Linuxprinting.org</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2962398">foomatic-rip and Foomatic explained</a></dt><dt><a href="CUPS-printing.html#id2963027">foomatic-rip and Foomatic-PPD Download and Installation</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2963488">Page Accounting with CUPS</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2963519">Setting up Quotas</a></dt><dt><a href="CUPS-printing.html#id2963551">Correct and incorrect Accounting</a></dt><dt><a href="CUPS-printing.html#id2963592">Adobe and CUPS PostScript Drivers for Windows Clients</a></dt><dt><a href="CUPS-printing.html#id2963663">The page_log File Syntax</a></dt><dt><a href="CUPS-printing.html#id2963765">Possible Shortcomings</a></dt><dt><a href="CUPS-printing.html#id2963836">Future Developments</a></dt><dt><a href="CUPS-printing.html#id2963884">Other Accounting Tools</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2963899">Additional Material</a></dt><dt><a href="CUPS-printing.html#id2964092">Auto-Deletion or Preservation of CUPS Spool Files</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2964138">CUPS Configuration Settings explained</a></dt><dt><a href="CUPS-printing.html#id2964221">Pre-conditions</a></dt><dt><a href="CUPS-printing.html#id2964281">Manual Configuration</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2964299">When not to use Samba to print to -CUPS</a></dt><dt><a href="CUPS-printing.html#id2964316">In Case of Trouble.....</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2964352">Where to find Documentation</a></dt><dt><a href="CUPS-printing.html#id2964364">How to ask for Help</a></dt><dt><a href="CUPS-printing.html#id2964377">Where to find Help</a></dt></dl></dd><dt><a href="CUPS-printing.html#id2964391">Appendix</a></dt><dd><dl><dt><a href="CUPS-printing.html#id2964398">Printing from CUPS to Windows attached -Printers</a></dt><dt><a href="CUPS-printing.html#id2964612">More CUPS filtering Chains</a></dt><dt><a href="CUPS-printing.html#id2964919">Trouble Shooting Guidelines to fix typical Samba printing -Problems</a></dt><dt><a href="CUPS-printing.html#id2966041">An Overview of the CUPS Printing Processes</a></dt></dl></dd></dl></dd><dt>20. <a href="VFS.html">Stackable VFS modules</a></dt><dd><dl><dt><a href="VFS.html#id2978211">Features and Benefits</a></dt><dt><a href="VFS.html#id2978229">Discussion</a></dt><dt><a href="VFS.html#id2978320">Included modules</a></dt><dd><dl><dt><a href="VFS.html#id2978327">audit</a></dt><dt><a href="VFS.html#id2978365">extd_audit</a></dt><dt><a href="VFS.html#id2978489">fake_perms</a></dt><dt><a href="VFS.html#id2978508">recycle</a></dt><dt><a href="VFS.html#id2978645">netatalk</a></dt></dl></dd><dt><a href="VFS.html#id2978690">VFS modules available elsewhere</a></dt><dd><dl><dt><a href="VFS.html#id2978712">DatabaseFS</a></dt><dt><a href="VFS.html#id2978768">vscan</a></dt></dl></dd><dt><a href="VFS.html#id2978797">Common Errors</a></dt></dl></dd><dt>21. <a href="winbind.html">Integrated Logon Support using Winbind</a></dt><dd><dl><dt><a href="winbind.html#id2979695">Features and Benefits</a></dt><dt><a href="winbind.html#id2979724">Introduction</a></dt><dt><a href="winbind.html#id2979795">What Winbind Provides</a></dt><dd><dl><dt><a href="winbind.html#id2979856">Target Uses</a></dt></dl></dd><dt><a href="winbind.html#id2979886">How Winbind Works</a></dt><dd><dl><dt><a href="winbind.html#id2979914">Microsoft Remote Procedure Calls</a></dt><dt><a href="winbind.html#id2979949">Microsoft Active Directory Services</a></dt><dt><a href="winbind.html#id2979971">Name Service Switch</a></dt><dt><a href="winbind.html#id2980108">Pluggable Authentication Modules</a></dt><dt><a href="winbind.html#id2980179">User and Group ID Allocation</a></dt><dt><a href="winbind.html#id2980214">Result Caching</a></dt></dl></dd><dt><a href="winbind.html#id2980242">Installation and Configuration</a></dt><dd><dl><dt><a href="winbind.html#id2980271">Introduction</a></dt><dt><a href="winbind.html#id2980346">Requirements</a></dt><dt><a href="winbind.html#id2980438">Testing Things Out</a></dt></dl></dd><dt><a href="winbind.html#id2982058">Conclusion</a></dt><dt><a href="winbind.html#id2982077">Common Errors</a></dt></dl></dd><dt>22. <a href="AdvancedNetworkManagement.html">Advanced Network Management</a></dt><dd><dl><dt><a href="AdvancedNetworkManagement.html#id2984570">Features and Benefits</a></dt><dt><a href="AdvancedNetworkManagement.html#id2984759">Remote Server Administration</a></dt><dt><a href="AdvancedNetworkManagement.html#id2984858">Remote Desktop Management</a></dt><dd><dl><dt><a href="AdvancedNetworkManagement.html#id2984876">Remote Management from NoMachines.Com</a></dt></dl></dd><dt><a href="AdvancedNetworkManagement.html#id2985087">Network Logon Script Magic</a></dt><dd><dl><dt><a href="AdvancedNetworkManagement.html#id2985283">Adding printers without user intervention</a></dt></dl></dd><dt><a href="AdvancedNetworkManagement.html#id2985316">Common Errors</a></dt></dl></dd><dt>23. <a href="PolicyMgmt.html">System and Account Policies</a></dt><dd><dl><dt><a href="PolicyMgmt.html#id2984380">Features and Benefits</a></dt><dt><a href="PolicyMgmt.html#id2984435">Creating and Managing System Policies</a></dt><dd><dl><dt><a href="PolicyMgmt.html#id2986217">Windows 9x/Me Policies</a></dt><dt><a href="PolicyMgmt.html#id2986312">Windows NT4 Style Policy Files</a></dt><dt><a href="PolicyMgmt.html#id2986445">MS Windows 200x / XP Professional Policies</a></dt></dl></dd><dt><a href="PolicyMgmt.html#id2986697">Managing Account/User Policies</a></dt><dd><dl><dt><a href="PolicyMgmt.html#id2986798">Samba Editreg Toolset</a></dt><dt><a href="PolicyMgmt.html#id2986819">Windows NT4/200x</a></dt><dt><a href="PolicyMgmt.html#id2986839">Samba PDC</a></dt></dl></dd><dt><a href="PolicyMgmt.html#id2986883">System Startup and Logon Processing Overview</a></dt><dt><a href="PolicyMgmt.html#id2987030">Common Errors</a></dt><dd><dl><dt><a href="PolicyMgmt.html#id2987044">Policy Does Not Work</a></dt></dl></dd></dl></dd><dt>24. <a href="ProfileMgmt.html">Desktop Profile Management</a></dt><dd><dl><dt><a href="ProfileMgmt.html#id2988251">Features and Benefits</a></dt><dt><a href="ProfileMgmt.html#id2988285">Roaming Profiles</a></dt><dd><dl><dt><a href="ProfileMgmt.html#id2988326">Samba Configuration for Profile Handling</a></dt><dt><a href="ProfileMgmt.html#id2988731">Windows Client Profile Configuration Information</a></dt><dt><a href="ProfileMgmt.html#id2989902">Sharing Profiles between W9x/Me and NT4/200x/XP workstations</a></dt><dt><a href="ProfileMgmt.html#id2989967">Profile Migration from Windows NT4/200x Server to Samba</a></dt></dl></dd><dt><a href="ProfileMgmt.html#id2990232">Mandatory profiles</a></dt><dt><a href="ProfileMgmt.html#id2990290">Creating/Managing Group Profiles</a></dt><dt><a href="ProfileMgmt.html#id2990336">Default Profile for Windows Users</a></dt><dd><dl><dt><a href="ProfileMgmt.html#id2990356">MS Windows 9x/Me</a></dt><dt><a href="ProfileMgmt.html#id2990504">MS Windows NT4 Workstation</a></dt><dt><a href="ProfileMgmt.html#id2991058">MS Windows 200x/XP</a></dt></dl></dd><dt><a href="ProfileMgmt.html#id2991562">Common Errors</a></dt><dd><dl><dt><a href="ProfileMgmt.html#id2991575">How does one set up roaming profiles for just one (or a few) user/s or group/s?</a></dt><dt><a href="ProfileMgmt.html#id2991638">Can NOT use Roaming Profiles</a></dt><dt><a href="ProfileMgmt.html#id2991859">Changing the default profile</a></dt></dl></dd></dl></dd><dt>25. <a href="pam.html">PAM based Distributed Authentication</a></dt><dd><dl><dt><a href="pam.html#id2995804">Features and Benefits</a></dt><dt><a href="pam.html#id2996071">Technical Discussion</a></dt><dd><dl><dt><a href="pam.html#id2996089">PAM Configuration Syntax</a></dt><dt><a href="pam.html#id2996760">Example System Configurations</a></dt><dt><a href="pam.html#id2997062">smb.conf PAM Configuration</a></dt><dt><a href="pam.html#id2997119">Remote CIFS Authentication using winbindd.so</a></dt><dt><a href="pam.html#id2997203">Password Synchronization using pam_smbpass.so</a></dt></dl></dd><dt><a href="pam.html#id2997570">Common Errors</a></dt><dd><dl><dt><a href="pam.html#id2997583">pam_winbind problem</a></dt></dl></dd></dl></dd><dt>26. <a href="integrate-ms-networks.html">Integrating MS Windows networks with Samba</a></dt><dd><dl><dt><a href="integrate-ms-networks.html#id2999705">Features and Benefits</a></dt><dt><a href="integrate-ms-networks.html#id2999730">Background Information</a></dt><dt><a href="integrate-ms-networks.html#id2999775">Name Resolution in a pure Unix/Linux world</a></dt><dd><dl><dt><a href="integrate-ms-networks.html#id2999831">/etc/hosts</a></dt><dt><a href="integrate-ms-networks.html#id2999956">/etc/resolv.conf</a></dt><dt><a href="integrate-ms-networks.html#id3000000">/etc/host.conf</a></dt><dt><a href="integrate-ms-networks.html#id3000042">/etc/nsswitch.conf</a></dt></dl></dd><dt><a href="integrate-ms-networks.html#id3000130">Name resolution as used within MS Windows networking</a></dt><dd><dl><dt><a href="integrate-ms-networks.html#id3000278">The NetBIOS Name Cache</a></dt><dt><a href="integrate-ms-networks.html#id3000323">The LMHOSTS file</a></dt><dt><a href="integrate-ms-networks.html#id3000567">HOSTS file</a></dt><dt><a href="integrate-ms-networks.html#id3000600">DNS Lookup</a></dt><dt><a href="integrate-ms-networks.html#id3000624">WINS Lookup</a></dt></dl></dd><dt><a href="integrate-ms-networks.html#id3000695">Common Errors</a></dt><dd><dl><dt><a href="integrate-ms-networks.html#id3000711">My Boomerang Won't Come Back</a></dt><dt><a href="integrate-ms-networks.html#id3000742">Very Slow Network Connections</a></dt><dt><a href="integrate-ms-networks.html#id3000794">Samba server name change problem</a></dt></dl></dd></dl></dd><dt>27. <a href="unicode.html">Unicode/Charsets</a></dt><dd><dl><dt><a href="unicode.html#id3001913">Features and Benefits</a></dt><dt><a href="unicode.html#id3002114">What are charsets and unicode?</a></dt><dt><a href="unicode.html#id3002184">Samba and charsets</a></dt><dt><a href="unicode.html#id3002284">Conversion from old names</a></dt><dt><a href="unicode.html#id3002329">Japanese charsets</a></dt></dl></dd><dt>28. <a href="Backup.html">Samba Backup Techniques</a></dt><dd><dl><dt><a href="Backup.html#id3001533">Note</a></dt><dt><a href="Backup.html#id3001557">Features and Benefits</a></dt></dl></dd><dt>29. <a href="SambaHA.html">High Availability Options</a></dt><dd><dl><dt><a href="SambaHA.html#id3003099">Note</a></dt></dl></dd></dl></dd><dt>IV. <a href="migration.html">Migration and Updating</a></dt><dd><dl><dt>30. <a href="upgrading-to-3.0.html">Upgrading from Samba-2.x to Samba-3.0.0</a></dt><dd><dl><dt><a href="upgrading-to-3.0.html#id3001684">Charsets</a></dt><dt><a href="upgrading-to-3.0.html#id3001709">Obsolete configuration options</a></dt><dt><a href="upgrading-to-3.0.html#id3003319">Password Backend</a></dt></dl></dd><dt>31. <a href="NT4Migration.html">Migration from NT4 PDC to Samba-3 PDC</a></dt><dd><dl><dt><a href="NT4Migration.html#id3001339">Planning and Getting Started</a></dt><dd><dl><dt><a href="NT4Migration.html#id3001368">Objectives</a></dt><dt><a href="NT4Migration.html#id3004043">Steps In Migration Process</a></dt></dl></dd><dt><a href="NT4Migration.html#id3004381">Migration Options</a></dt><dd><dl><dt><a href="NT4Migration.html#id3004462">Planning for Success</a></dt><dt><a href="NT4Migration.html#id3004704">Samba Implementation Choices</a></dt></dl></dd></dl></dd><dt>32. <a href="SWAT.html">SWAT - The Samba Web Administration Tool</a></dt><dd><dl><dt><a href="SWAT.html#id3003929">Features and Benefits</a></dt><dd><dl><dt><a href="SWAT.html#id3003963">Enabling SWAT for use</a></dt><dt><a href="SWAT.html#id3006322">Securing SWAT through SSL</a></dt><dt><a href="SWAT.html#id3006435">The SWAT Home Page</a></dt><dt><a href="SWAT.html#id3006499">Global Settings</a></dt><dt><a href="SWAT.html#id3006604">Share Settings</a></dt><dt><a href="SWAT.html#id3006669">Printers Settings</a></dt><dt><a href="SWAT.html#id3006733">The SWAT Wizard</a></dt><dt><a href="SWAT.html#id3006781">The Status Page</a></dt><dt><a href="SWAT.html#id3006833">The View Page</a></dt><dt><a href="SWAT.html#id3006856">The Password Change Page</a></dt></dl></dd></dl></dd></dl></dd><dt>V. <a href="troubleshooting.html">Troubleshooting</a></dt><dd><dl><dt>33. <a href="diagnosis.html">The Samba checklist</a></dt><dd><dl><dt><a href="diagnosis.html#id3006072">Introduction</a></dt><dt><a href="diagnosis.html#id3007931">Assumptions</a></dt><dt><a href="diagnosis.html#id3008108">The tests</a></dt><dt><a href="diagnosis.html#id3009283">Still having troubles?</a></dt></dl></dd><dt>34. <a href="problems.html">Analysing and solving samba problems</a></dt><dd><dl><dt><a href="problems.html#id3010907">Diagnostics tools</a></dt><dt><a href="problems.html#id3011048">Installing 'Network Monitor' on an NT Workstation or a Windows 9x box</a></dt><dt><a href="problems.html#id3011333">Useful URLs</a></dt><dt><a href="problems.html#id3011378">Getting help from the mailing lists</a></dt><dt><a href="problems.html#id3011530">How to get off the mailing lists</a></dt></dl></dd><dt>35. <a href="bugreport.html">Reporting Bugs</a></dt><dd><dl><dt><a href="bugreport.html#id3012269">Introduction</a></dt><dt><a href="bugreport.html#id3012491">General info</a></dt><dt><a href="bugreport.html#id3012528">Debug levels</a></dt><dt><a href="bugreport.html#id3012670">Internal errors</a></dt><dt><a href="bugreport.html#id3012778">Attaching to a running process</a></dt><dt><a href="bugreport.html#id3012825">Patches</a></dt></dl></dd></dl></dd><dt>VI. <a href="Appendixes.html">Appendixes</a></dt><dd><dl><dt>36. <a href="compiling.html">How to compile SAMBA</a></dt><dd><dl><dt><a href="compiling.html#id3012145">Access Samba source code via CVS</a></dt><dd><dl><dt><a href="compiling.html#id3012152">Introduction</a></dt><dt><a href="compiling.html#id3012182">CVS Access to samba.org</a></dt></dl></dd><dt><a href="compiling.html#id3013701">Accessing the samba sources via rsync and ftp</a></dt><dt><a href="compiling.html#id3013750">Verifying Samba's PGP signature</a></dt><dt><a href="compiling.html#id3013886">Building the Binaries</a></dt><dd><dl><dt><a href="compiling.html#id3014023">Compiling samba with Active Directory support</a></dt></dl></dd><dt><a href="compiling.html#id3014188">Starting the smbd and nmbd</a></dt><dd><dl><dt><a href="compiling.html#id3014280">Starting from inetd.conf</a></dt><dt><a href="compiling.html#id3014484">Alternative: starting it as a daemon</a></dt></dl></dd><dt><a href="compiling.html#id3014579">Common Errors</a></dt></dl></dd><dt>37. <a href="Portability.html">Portability</a></dt><dd><dl><dt><a href="Portability.html#id3013478">HPUX</a></dt><dt><a href="Portability.html#id3016009">SCO Unix</a></dt><dt><a href="Portability.html#id3016039">DNIX</a></dt><dt><a href="Portability.html#id3016210">RedHat Linux Rembrandt-II</a></dt><dt><a href="Portability.html#id3016254">AIX</a></dt><dd><dl><dt><a href="Portability.html#id3016261">Sequential Read Ahead</a></dt></dl></dd><dt><a href="Portability.html#id3016287">Solaris</a></dt><dd><dl><dt><a href="Portability.html#id3016294">Locking improvements</a></dt><dt><a href="Portability.html#winbind-solaris9">Winbind on Solaris 9</a></dt></dl></dd></dl></dd><dt>38. <a href="Other-Clients.html">Samba and other CIFS clients</a></dt><dd><dl><dt><a href="Other-Clients.html#id3015663">Macintosh clients?</a></dt><dt><a href="Other-Clients.html#id3017016">OS2 Client</a></dt><dd><dl><dt><a href="Other-Clients.html#id3017023">How can I configure OS/2 Warp Connect or - OS/2 Warp 4 as a client for Samba?</a></dt><dt><a href="Other-Clients.html#id3017102">How can I configure OS/2 Warp 3 (not Connect), - OS/2 1.2, 1.3 or 2.x for Samba?</a></dt><dt><a href="Other-Clients.html#id3017164">How do I get printer driver download working - for OS/2 clients?</a></dt></dl></dd><dt><a href="Other-Clients.html#id3017260">Windows for Workgroups</a></dt><dd><dl><dt><a href="Other-Clients.html#id3017268">Use latest TCP/IP stack from Microsoft</a></dt><dt><a href="Other-Clients.html#id3017357">Delete .pwl files after password change</a></dt><dt><a href="Other-Clients.html#id3017388">Configure WfW password handling</a></dt><dt><a href="Other-Clients.html#id3017433">Case handling of passwords</a></dt><dt><a href="Other-Clients.html#id3017464">Use TCP/IP as default protocol</a></dt><dt><a href="Other-Clients.html#id3017481">Speed improvement</a></dt></dl></dd><dt><a href="Other-Clients.html#id3017528">Windows '95/'98</a></dt><dd><dl><dt><a href="Other-Clients.html#id3017601">Speed improvement</a></dt></dl></dd><dt><a href="Other-Clients.html#id3017625">Windows 2000 Service Pack 2</a></dt><dt><a href="Other-Clients.html#id3017736">Windows NT 3.1</a></dt></dl></dd><dt>39. <a href="speed.html">Samba Performance Tuning</a></dt><dd><dl><dt><a href="speed.html#id3018768">Comparisons</a></dt><dt><a href="speed.html#id3018812">Socket options</a></dt><dt><a href="speed.html#id3018887">Read size</a></dt><dt><a href="speed.html#id3018931">Max xmit</a></dt><dt><a href="speed.html#id3018984">Log level</a></dt><dt><a href="speed.html#id3019007">Read raw</a></dt><dt><a href="speed.html#id3019064">Write raw</a></dt><dt><a href="speed.html#id3019106">Slow Logins</a></dt><dt><a href="speed.html#id3019127">Client tuning</a></dt><dt><a href="speed.html#id3019154">Samba performance problem due changing kernel</a></dt><dt><a href="speed.html#id3019185">Corrupt tdb Files</a></dt></dl></dd><dt>40. <a href="DNSDHCP.html">DNS and DHCP Configuration Guide</a></dt><dd><dl><dt><a href="DNSDHCP.html#id3018605">Note</a></dt></dl></dd><dt>41. <a href="Further-Resources.html">Further Resources</a></dt><dd><dl><dt><a href="Further-Resources.html#id3018765">Websites</a></dt><dt><a href="Further-Resources.html#id3020416">Related updates from Microsoft</a></dt><dt><a href="Further-Resources.html#id3020431">Books</a></dt></dl></dd></dl></dd><dt><a href="ix01.html">Index</a></dt></dl></div><div class="list-of-figures"><p><b>List of Figures</b></p><dl><dt>19.1. <a href="CUPS-printing.html#id2954904">Windows Printing to a local Printer</a></dt><dt>19.2. <a href="CUPS-printing.html#id2955075">Printing to a Postscript Printer</a></dt><dt>19.3. <a href="CUPS-printing.html#id2955155">Ghostscript as a RIP for non-postscript printers</a></dt><dt>19.4. <a href="CUPS-printing.html#id2956084">Prefiltering in CUPS to form Postscript</a></dt><dt>19.5. <a href="CUPS-printing.html#id2956149">Adding Device-specific Print Options</a></dt><dt>19.6. <a href="CUPS-printing.html#id2956251">Postscript to intermediate Raster format</a></dt><dt>19.7. <a href="CUPS-printing.html#id2956304">CUPS-raster production using Ghostscript</a></dt><dt>19.8. <a href="CUPS-printing.html#id2956398">Image format to CUPS-raster format conversion</a></dt><dt>19.9. <a href="CUPS-printing.html#id2956484">Raster to Printer Specific formats</a></dt><dt>19.10. <a href="CUPS-printing.html#id2957561">cupsomatic/foomatic processing versus Native CUPS</a></dt><dt>19.11. <a href="CUPS-printing.html#id2958191">Print Driver execution on the Client</a></dt><dt>19.12. <a href="CUPS-printing.html#id2958249">Print Driver execution on the Server</a></dt><dt>19.13. <a href="CUPS-printing.html#id2958439">Printing via CUPS/samba server</a></dt><dt>19.14. <a href="CUPS-printing.html#id2960326">cupsaddsmb flowchart</a></dt><dt>19.15. <a href="CUPS-printing.html#id2966052">CUPS Printing Overview</a></dt></dl></div><div class="list-of-tables"><p><b>List of Tables</b></p><dl><dt>7.1. <a href="domain-member.html#id2898912">Assumptions</a></dt><dt>10.1. <a href="NetworkBrowsing.html#id2906267">Browse subnet example 1</a></dt><dt>10.2. <a href="NetworkBrowsing.html#id2906382">Browse subnet example 2</a></dt><dt>10.3. <a href="NetworkBrowsing.html#id2906481">Browse subnet example 3</a></dt><dt>10.4. <a href="NetworkBrowsing.html#id2906581">Browse subnet example 4</a></dt><dt>11.1. <a href="passdb.html#id2912659">Attributes in the sambaSamAccount objectclass (LDAP)</a></dt><dt>11.2. <a href="passdb.html#id2913346">Basic smb.conf options for MySQL passdb backend</a></dt><dt>11.3. <a href="passdb.html#id2913471">MySQL field names for MySQL passdb backend</a></dt><dt>13.1. <a href="AccessControls.html#id2920603">Managing directories with unix and windows</a></dt><dt>13.2. <a href="AccessControls.html#id2922134">User and Group Based Controls</a></dt><dt>13.3. <a href="AccessControls.html#id2922367">File and Directory Permission Based Controls</a></dt><dt>13.4. <a href="AccessControls.html#id2922614">Other Controls</a></dt><dt>20.1. <a href="VFS.html#id2978406">Extended Auditing Log Information</a></dt><dt>24.1. <a href="ProfileMgmt.html#id2990854">User Shell Folder registry keys default values</a></dt><dt>24.2. <a href="ProfileMgmt.html#id2990998">Defaults of profile settings registry keys</a></dt><dt>24.3. <a href="ProfileMgmt.html#id2991253">Defaults of default user profile paths registry keys</a></dt><dt>25.1. <a href="pam.html#id2997236">Options recognized by pam_smbpass</a></dt><dt>31.1. <a href="NT4Migration.html#id3004398">The 3 Major Site Types</a></dt><dt>31.2. <a href="NT4Migration.html#id3004535">Nature of the Conversion Choices</a></dt></dl></div><div class="list-of-examples"><p><b>List of Examples</b></p><dl><dt>12.1. <a href="groupmapping.html#id2921843">smbgrpadd.sh</a></dt><dt>13.1. <a href="AccessControls.html#id2920816">Example File</a></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="introduction.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Part I. General Installation</td></tr></table></div></body></html> diff --git a/docs/htmldocs/interdomaintrusts.html b/docs/htmldocs/interdomaintrusts.html deleted file mode 100644 index c9fe4a533f..0000000000 --- a/docs/htmldocs/interdomaintrusts.html +++ /dev/null @@ -1,451 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Interdomain Trust Relationships</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Desktop Profile Management" -HREF="profilemgmt.html"><LINK -REL="NEXT" -TITLE="PAM Configuration for Centrally Managed Authentication" -HREF="pam.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="profilemgmt.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="pam.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="INTERDOMAINTRUSTS" -></A ->Chapter 19. Interdomain Trust Relationships</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->19.1. <A -HREF="interdomaintrusts.html#AEN3446" ->Trust Relationship Background</A -></DT -><DT ->19.2. <A -HREF="interdomaintrusts.html#AEN3455" ->Native MS Windows NT4 Trusts Configuration</A -></DT -><DD -><DL -><DT ->19.2.1. <A -HREF="interdomaintrusts.html#AEN3458" ->NT4 as the Trusting Domain (ie. creating the trusted account)</A -></DT -><DT ->19.2.2. <A -HREF="interdomaintrusts.html#AEN3461" ->NT4 as the Trusted Domain (ie. creating trusted account's password)</A -></DT -></DL -></DD -><DT ->19.3. <A -HREF="interdomaintrusts.html#AEN3464" ->Configuring Samba NT-style Domain Trusts</A -></DT -><DD -><DL -><DT ->19.3.1. <A -HREF="interdomaintrusts.html#AEN3468" ->Samba-3 as the Trusting Domain</A -></DT -><DT ->19.3.2. <A -HREF="interdomaintrusts.html#AEN3480" ->Samba-3 as the Trusted Domain</A -></DT -></DL -></DD -></DL -></DIV -><P ->Samba-3 supports NT4 style domain trust relationships. This is feature that many sites -will want to use if they migrate to Samba-3 from and NT4 style domain and do NOT want to -adopt Active Directory or an LDAP based authentication back end. This section explains -some background information regarding trust relationships and how to create them. It is now -possible for Samba-3 to NT4 trust (and vice versa), as well as Samba3 to Samba3 trusts.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3446" ->19.1. Trust Relationship Background</A -></H1 -><P ->MS Windows NT3.x/4.0 type security domains employ a non-hierarchical security structure. -The limitations of this architecture as it affects the scalability of MS Windows networking -in large organisations is well known. Additionally, the flat-name space that results from -this design significantly impacts the delegation of administrative responsibilities in -large and diverse organisations.</P -><P ->Microsoft developed Active Directory Service (ADS), based on Kerberos and LDAP, as a means -of circumventing the limitations of the older technologies. Not every organisation is ready -or willing to embrace ADS. For small companies the older NT4 style domain security paradigm -is quite adequate, there thus remains an entrenched user base for whom there is no direct -desire to go through a disruptive change to adopt ADS.</P -><P ->Microsoft introduced with MS Windows NT the ability to allow differing security domains -to affect a mechanism so that users from one domain may be given access rights and privileges -in another domain. The language that describes this capability is couched in terms of -<SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Trusts</I -></SPAN ->. Specifically, one domain will <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->trust</I -></SPAN -> the users -from another domain. The domain from which users are available to another security domain is -said to be a trusted domain. The domain in which those users have assigned rights and privileges -is the trusting domain. With NT3.x/4.0 all trust relationships are always in one direction only, -thus if users in both domains are to have privileges and rights in each others' domain, then it is -necessary to establish two (2) relationships, one in each direction.</P -><P ->In an NT4 style MS security domain, all trusts are non-transitive. This means that if there -are three (3) domains (let's call them RED, WHITE, and BLUE) where RED and WHITE have a trust -relationship, and WHITE and BLUE have a trust relationship, then it holds that there is no -implied trust between the RED and BLUE domains. ie: Relationships are explicit and not -transitive.</P -><P ->New to MS Windows 2000 ADS security contexts is the fact that trust relationships are two-way -by default. Also, all inter-ADS domain trusts are transitive. In the case of the RED, WHITE and BLUE -domains above, with Windows 2000 and ADS the RED and BLUE domains CAN trust each other. This is -an inherent feature of ADS domains. Samba-3 implements MS Windows NT4 -style Interdomain trusts and interoperates with MS Windows 200x ADS -security domains in similar manner to MS Windows NT4 style domains.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3455" ->19.2. Native MS Windows NT4 Trusts Configuration</A -></H1 -><P ->There are two steps to creating an interdomain trust relationship.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3458" ->19.2.1. NT4 as the Trusting Domain (ie. creating the trusted account)</A -></H2 -><P ->For MS Windows NT4, all domain trust relationships are configured using the Domain User Manager. -To affect a two way trust relationship it is necessary for each domain administrator to make -available (for use by an external domain) it's security resources. This is done from the Domain -User Manager Policies entry on the menu bar. From the Policy menu, select Trust Relationships, then -next to the lower box that is labelled "Permitted to Trust this Domain" are two buttons, "Add" and -"Remove". The "Add" button will open a panel in which needs to be entered the remote domain that -will be able to assign user rights to your domain. In addition it is necessary to enter a password -that is specific to this trust relationship. The password needs to be -typed twice (for standard confirmation).</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3461" ->19.2.2. NT4 as the Trusted Domain (ie. creating trusted account's password)</A -></H2 -><P ->A trust relationship will work only when the other (trusting) domain makes the appropriate connections -with the trusted domain. To consumate the trust relationship the administrator will launch the -Domain User Manager, from the menu select Policies, then select Trust Relationships, then click on the -"Add" button that is next to the box that is labelled "Trusted Domains". A panel will open in -which must be entered the name of the remote domain as well as the password assigned to that trust.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3464" ->19.3. Configuring Samba NT-style Domain Trusts</A -></H1 -><P ->This description is meant to be a fairly short introduction about how to set up a Samba server so -that it could participate in interdomain trust relationships. Trust relationship support in Samba -is in its early stage, so lot of things don't work yet.</P -><P ->Each of the procedures described below is treated as they were performed with Windows NT4 Server on -one end. The remote end could just as well be another Samba-3 domain. It can be clearly seen, after -reading this document, that combining Samba-specific parts of what's written below leads to trust -between domains in purely Samba environment.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3468" ->19.3.1. Samba-3 as the Trusting Domain</A -></H2 -><P ->In order to set Samba PDC to be trusted party of the relationship first you need -to create special account for the domain that will be the trusting party. To do that, -you can use the 'smbpasswd' utility. Creating the trusted domain account is very -similiar to creating a trusted machine account. Suppose, your domain is -called SAMBA, and the remote domain is called RUMBA. The first step -will be to issue this command from your favourite shell:</P -><P -><PRE -CLASS="SCREEN" -> <SAMP -CLASS="PROMPT" ->deity#</SAMP -> <KBD -CLASS="USERINPUT" ->smbpasswd -a -i rumba</KBD -> - New SMB password: XXXXXXXX - Retype SMB password: XXXXXXXX - Added user rumba$</PRE -> - -where <VAR -CLASS="PARAMETER" ->-a</VAR -> means to add a new account into the -passdb database and <VAR -CLASS="PARAMETER" ->-i</VAR -> means: ''create this -account with the InterDomain trust flag''</P -><P ->The account name will be 'rumba$' (the name of the remote domain)</P -><P ->After issuing this command you'll be asked to enter the password for -the account. You can use any password you want, but be aware that Windows NT will -not change this password until 7 days following account creation. -After the command returns successfully, you can look at the entry for new account -(in the way depending on your configuration) and see that account's name is -really RUMBA$ and it has 'I' flag in the flags field. Now you're ready to confirm -the trust by establishing it from Windows NT Server.</P -><P ->Open 'User Manager for Domains' and from menu 'Policies' select 'Trust Relationships...'. -Right beside 'Trusted domains' list box press 'Add...' button. You will be prompted for -the trusted domain name and the relationship password. Type in SAMBA, as this is -your domain name, and the password used at the time of account creation. -Press OK and, if everything went without incident, you will see 'Trusted domain relationship -successfully established' message.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3480" ->19.3.2. Samba-3 as the Trusted Domain</A -></H2 -><P ->This time activities are somewhat reversed. Again, we'll assume that your domain -controlled by the Samba PDC is called SAMBA and NT-controlled domain is called RUMBA.</P -><P ->The very first thing requirement is to add an account for the SAMBA domain on RUMBA's PDC.</P -><P ->Launch the Domain User Manager, then from the menu select 'Policies', 'Trust Relationships'. -Now, next to 'Trusted Domains' box press the 'Add' button, and type in the name of the trusted -domain (SAMBA) and password securing the relationship.</P -><P ->The password can be arbitrarily chosen. It is easy to change it the password -from Samba server whenever you want. After confirming the password your account is -ready for use. Now it's Samba's turn.</P -><P ->Using your favourite shell while being logged in as root, issue this command:</P -><P -><SAMP -CLASS="PROMPT" ->deity# </SAMP -><KBD -CLASS="USERINPUT" ->net rpc trustdom establish rumba</KBD -></P -><P ->You will be prompted for the password you just typed on your Windows NT4 Server box. -Don not worry if you see an error message that mentions a returned code of -<SPAN -CLASS="ERRORNAME" ->NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT</SPAN ->. It means the -password you gave is correct and the NT4 Server says the account is -ready for interdomain connection and not for ordinary -connection. After that, be patient it can take a while (especially -in large networks), you should see the 'Success' message. Congratulations! Your trust -relationship has just been established.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Note that you have to run this command as root because you must have write access to -the <TT -CLASS="FILENAME" ->secrets.tdb</TT -> file.</P -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="profilemgmt.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="pam.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Desktop Profile Management</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->PAM Configuration for Centrally Managed Authentication</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/introsmb.html b/docs/htmldocs/introsmb.html deleted file mode 100644 index 52db6a8a95..0000000000 --- a/docs/htmldocs/introsmb.html +++ /dev/null @@ -1,659 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Introduction to Samba</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="General installation" -HREF="introduction.html"><LINK -REL="PREVIOUS" -TITLE="General installation" -HREF="introduction.html"><LINK -REL="NEXT" -TITLE="How to Install and Test SAMBA" -HREF="install.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="introduction.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="install.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="INTROSMB" -></A ->Chapter 1. Introduction to Samba</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->1.1. <A -HREF="introsmb.html#AEN61" ->Background</A -></DT -><DT ->1.2. <A -HREF="introsmb.html#AEN67" ->Terminology</A -></DT -><DT ->1.3. <A -HREF="introsmb.html#AEN91" ->Related Projects</A -></DT -><DT ->1.4. <A -HREF="introsmb.html#AEN100" ->SMB Methodology</A -></DT -><DT ->1.5. <A -HREF="introsmb.html#AEN115" ->Additional Resources</A -></DT -><DT ->1.6. <A -HREF="introsmb.html#AEN151" ->Epilogue</A -></DT -><DT ->1.7. <A -HREF="introsmb.html#AEN162" ->Miscellaneous</A -></DT -></DL -></DIV -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->"If you understand what you're doing, you're not learning anything." --- Anonymous</I -></SPAN -></P -><P ->Samba is a file and print server for Windows-based clients using TCP/IP as the underlying -transport protocol. In fact, it can support any SMB/CIFS-enabled client. One of Samba's big -strengths is that you can use it to blend your mix of Windows and Linux machines together -without requiring a separate Windows NT/2000/2003 Server. Samba is actively being developed -by a global team of about 30 active programmers and was originally developed by Andrew Tridgell.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN61" ->1.1. Background</A -></H1 -><P ->Once long ago, there was a buzzword referred to as DCE/RPC. This stood for Distributed -Computing Environment/Remote Procedure Calls and conceptually was a good idea. It was -originally developed by Apollo/HP as NCA 1.0 (Network Computing Architecture) and only -ran over UDP. When there was a need to run it over TCP so that it would be compatible -with DECnet 3.0, it was redesigned, submitted to The Open Group, and officially became -known as DCE/RPC. Microsoft came along and decided, rather than pay $20 per seat to -license this technology, to reimplement DCE/RPC themselves as MSRPC. From this, the -concept continued in the form of SMB (Server Message Block, or the "what") using the -NetBIOS (Network Basic Input/Output System, or the "how") compatibility layer. You can -run SMB (i.e., transport) over several different protocols; many different implementations -arose as a result, including NBIPX (NetBIOS over IPX, NwLnkNb, or NWNBLink) and NBT -(NetBIOS over TCP/IP, or NetBT). As the years passed, NBT became the most common form -of implementation until the advance of "Direct-Hosted TCP" -- the Microsoft marketing -term for eliminating NetBIOS entirely and running SMB by itself across TCP port 445 -only. As of yet, direct-hosted TCP has yet to catch on.</P -><P ->Perhaps the best summary of the origins of SMB are voiced in the 1997 article titled, CIFS: -Common Insecurities Fail Scrutiny:</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Several megabytes of NT-security archives, random whitepapers, RFCs, the CIFS spec, the Samba -stuff, a few MS knowledge-base articles, strings extracted from binaries, and packet dumps have -been dutifully waded through during the information-gathering stages of this project, and there -are *still* many missing pieces... While often tedious, at least the way has been generously -littered with occurrences of clapping hand to forehead and muttering 'crikey, what are they -thinking?</I -></SPAN -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN67" ->1.2. Terminology</A -></H1 -><P -></P -><UL -><LI -><P -> SMB: Acronym for "Server Message Block". This is Microsoft's file and printer sharing protocol. - </P -></LI -><LI -><P -> CIFS: Acronym for "Common Internet File System". Around 1996, Microsoft apparently - decided that SMB needed the word "Internet" in it, so they changed it to CIFS. - </P -></LI -><LI -><P -> Direct-Hosted: A method of providing file/printer sharing services over port 445/tcp - only using DNS for name resolution instead of WINS. - </P -></LI -><LI -><P -> IPC: Acronym for "Inter-Process Communication". A method to communicate specific - information between programs. - </P -></LI -><LI -><P -> Marshalling: - A method of serializing (i.e., sequential ordering of) variable data - suitable for transmission via a network connection or storing in a file. The source - data can be re-created using a similar process called unmarshalling. - </P -></LI -><LI -><P -> NetBIOS: Acronym for "Network Basic Input/Output System". This is not a protocol; - it is a method of communication across an existing protocol. This is a standard which - was originally developed for IBM by Sytek in 1983. To exaggerate the analogy a bit, - it can help to think of this in comparison your computer's BIOS -- it controls the - essential functions of your input/output hardware -- whereas NetBIOS controls the - essential functions of your input/output traffic via the network. Again, this is a bit - of an exaggeration but it should help that paradigm shift. What is important to realize - is that NetBIOS is a transport standard, not a protocol. Unfortunately, even technically - brilliant people tend to interchange NetBIOS with terms like NetBEUI without a second - thought; this will cause no end (and no doubt) of confusion. - </P -></LI -><LI -><P -> NetBEUI: Acronym for the "NetBIOS Extended User Interface". Unlike NetBIOS, NetBEUI - is a protocol, not a standard. It is also not routable, so traffic on one side of a - router will be unable to communicate with the other side. Understanding NetBEUI is - not essential to deciphering SMB; however it helps to point out that it is not the - same as NetBIOS and to improve your score in trivia at parties. NetBEUI was originally - referred to by Microsoft as "NBF", or "The Windows NT NetBEUI Frame protocol driver". - It is not often heard from these days. - </P -></LI -><LI -><P -> NBT: Acronym for "NetBIOS over TCP"; also known as "NetBT". Allows the continued use - of NetBIOS traffic proxied over TCP/IP. As a result, NetBIOS names are made - to IP addresses and NetBIOS name types are conceptually equivalent to TCP/IP ports. - This is how file and printer sharing are accomplished in Windows 95/98/ME. They - traditionally rely on three ports: NetBIOS Name Service (nbname) via UDP port 137, - NetBIOS Datagram Service (nbdatagram) via UDP port 138, and NetBIOS Session Service - (nbsession) via TCP port 139. All name resolution is done via WINS, NetBIOS broadcasts, - and DNS. NetBIOS over TCP is documented in RFC 1001 (Concepts and methods) and RFC 1002 - (Detailed specifications). - </P -></LI -><LI -><P -> W2K: Acronym for Windows 2000 Professional or Server - </P -></LI -><LI -><P -> W3K: Acronym for Windows 2003 Server - </P -></LI -></UL -><P ->If you plan on getting help, make sure to subscribe to the Samba Mailing List (available at -http://www.samba.org). Optionally, you could just search mailing.unix.samba at http://groups.google.com</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN91" ->1.3. Related Projects</A -></H1 -><P ->Currently, there are two projects that are directly related to Samba: SMBFS and CIFS network -client file systems for Linux, both available in the Linux kernel itself.</P -><P -></P -><UL -><LI -><P -> SMBFS (Server Message Block File System) allows you to mount SMB shares (the protocol - that Microsoft Windows and OS/2 Lan Manager use to share files and printers - over local networks) and access them just like any other Unix directory. This is useful - if you just want to mount such filesystems without being a SMBFS server. - </P -></LI -><LI -><P -> CIFS (Common Internet File System) is the successor to SMB, and is actively being worked - on in the upcoming version of the Linux kernel. The intent of this module is to - provide advanced network file system functionality including support for dfs (heirarchical - name space), secure per-user session establishment, safe distributed caching (oplock), - optional packet signing, Unicode and other internationalization improvements, and optional - Winbind (nsswitch) integration. - </P -></LI -></UL -><P ->Again, it's important to note that these are implementations for client filesystems, and have -nothing to do with acting as a file and print server for SMB/CIFS clients.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN100" ->1.4. SMB Methodology</A -></H1 -><P ->Traditionally, SMB uses UDP port 137 (NetBIOS name service, or netbios-ns), -UDP port 138 (NetBIOS datagram service, or netbios-dgm), and TCP port 139 (NetBIOS -session service, or netbios-ssn). Anyone looking at their network with a good -packet sniffer will be amazed at the amount of traffic generated by just opening -up a single file. In general, SMB sessions are established in the following order:</P -><P -></P -><UL -><LI -><P -> "TCP Connection" - establish 3-way handshake (connection) to port 139/tcp - or 445/tcp. - </P -></LI -><LI -><P -> "NetBIOS Session Request" - using the following "Calling Names": The local - machine's NetBIOS name plus the 16th character 0x00; The server's NetBIOS - name plus the 16th character 0x20 - </P -></LI -><LI -><P -> "SMB Negotiate Protocol" - determine the protocol dialect to use, which will - be one of the following: PC Network Program 1.0 (Core) - share level security - mode only; Microsoft Networks 1.03 (Core Plus) - share level security - mode only; Lanman1.0 (LAN Manager 1.0) - uses Challenge/Response - Authentication; Lanman2.1 (LAN Manager 2.1) - uses Challenge/Response - Authentication; NT LM 0.12 (NT LM 0.12) - uses Challenge/Response - Authentication - </P -></LI -><LI -><P -> SMB Session Startup. Passwords are encrypted (or not) according to one of - the following methods: Null (no encryption); Cleartext (no encryption); LM - and NTLM; NTLM; NTLMv2 - </P -></LI -><LI -><P -> SMB Tree Connect: Connect to a share name (e.g., \\servername\share); Connect - to a service type (e.g., IPC$ named pipe) - </P -></LI -></UL -><P ->A good way to examine this process in depth is to try out SecurityFriday's SWB program -at http://www.securityfriday.com/ToolDownload/SWB/swb_doc.html. It allows you to -walk through the establishment of a SMB/CIFS session step by step.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN115" ->1.5. Additional Resources</A -></H1 -><P -></P -><UL -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->CIFS: Common Insecurities Fail Scrutiny</I -></SPAN -> by "Hobbit", - http://hr.uoregon.edu/davidrl/cifs.txt - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Doing the Samba on Windows</I -></SPAN -> by Financial Review, - http://afr.com/it/2002/10/01/FFXDF43AP6D.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Implementing CIFS</I -></SPAN -> by Christopher R. Hertel, - http://ubiqx.org/cifs/ - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Just What Is SMB?</I -></SPAN -> by Richard Sharpe, - http://samba.anu.edu.au/cifs/docs/what-is-smb.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Opening Windows Everywhere</I -></SPAN -> by Mike Warfield, - http://www.linux-mag.com/1999-05/samba_01.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->SMB HOWTO</I -></SPAN -> by David Wood, - http://www.tldp.org/HOWTO/SMB-HOWTO.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->SMB/CIFS by The Root</I -></SPAN -> by "ledin", - http://www.phrack.org/phrack/60/p60-0x0b.txt - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->The Story of Samba</I -></SPAN -> by Christopher R. Hertel, - http://www.linux-mag.com/1999-09/samba_01.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->The Unofficial Samba HOWTO</I -></SPAN -> by David Lechnyr, - http://hr.uoregon.edu/davidrl/samba/ - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Understanding the Network Neighborhood</I -></SPAN -> by Christopher R. Hertel, - http://www.linux-mag.com/2001-05/smb_01.html - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Using Samba as a PDC</I -></SPAN -> by Andrew Bartlett, - http://www.linux-mag.com/2002-02/samba_01.html - </P -></LI -></UL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN151" ->1.6. Epilogue</A -></H1 -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->"What's fundamentally wrong is that nobody ever had any taste when they -did it. Microsoft has been very much into making the user interface look good, -but internally it's just a complete mess. And even people who program for Microsoft -and who have had years of experience, just don't know how it works internally. -Worse, nobody dares change it. Nobody dares to fix bugs because it's such a -mess that fixing one bug might just break a hundred programs that depend on -that bug. And Microsoft isn't interested in anyone fixing bugs -- they're interested -in making money. They don't have anybody who takes pride in Windows 95 as an -operating system.</I -></SPAN -></P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->People inside Microsoft know it's a bad operating system and they still -continue obviously working on it because they want to get the next version out -because they want to have all these new features to sell more copies of the -system.</I -></SPAN -></P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->The problem with that is that over time, when you have this kind of approach, -and because nobody understands it, because nobody REALLY fixes bugs (other than -when they're really obvious), the end result is really messy. You can't trust -it because under certain circumstances it just spontaneously reboots or just -halts in the middle of something that shouldn't be strange. Normally it works -fine and then once in a blue moon for some completely unknown reason, it's dead, -and nobody knows why. Not Microsoft, not the experienced user and certainly -not the completely clueless user who probably sits there shivering thinking -"What did I do wrong?" when they didn't do anything wrong at all.</I -></SPAN -></P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->That's what's really irritating to me."</I -></SPAN -></P -><P ->-- Linus Torvalds, from an interview with BOOT Magazine, Sept 1998 -(http://hr.uoregon.edu/davidrl/boot.txt)</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN162" ->1.7. Miscellaneous</A -></H1 -><P ->This chapter was lovingly handcrafted on a Dell Latitude C400 laptop running Slackware Linux 9.0, -in case anyone asks.</P -><P ->This chapter is Copyright © 2003 David Lechnyr (david at lechnyr dot com). -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. A copy of the license is available at http://www.gnu.org/licenses/fdl.txt.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="introduction.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="install.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->General installation</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="introduction.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->How to Install and Test SAMBA</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/nt4migration.html b/docs/htmldocs/nt4migration.html deleted file mode 100644 index 2079c1b6c4..0000000000 --- a/docs/htmldocs/nt4migration.html +++ /dev/null @@ -1,356 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Migration from NT4 PDC to Samba-3 PDC</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Appendixes" -HREF="appendixes.html"><LINK -REL="PREVIOUS" -TITLE="How to compile SAMBA" -HREF="compiling.html"><LINK -REL="NEXT" -TITLE="Portability" -HREF="portability.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="compiling.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="portability.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="NT4MIGRATION" -></A ->Chapter 28. Migration from NT4 PDC to Samba-3 PDC</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->28.1. <A -HREF="nt4migration.html#AEN4396" ->Planning and Getting Started</A -></DT -><DD -><DL -><DT ->28.1.1. <A -HREF="nt4migration.html#AEN4400" ->Objectives</A -></DT -><DT ->28.1.2. <A -HREF="nt4migration.html#AEN4426" ->Steps In Migration Process</A -></DT -></DL -></DD -><DT ->28.2. <A -HREF="nt4migration.html#AEN4429" ->Managing Samba-3 Domain Control</A -></DT -></DL -></DIV -><P ->This is a rough guide to assist those wishing to migrate from NT4 domain control to -Samba-3 based domain control.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4396" ->28.1. Planning and Getting Started</A -></H1 -><P ->In the IT world there is often a saying that all problems are encountered because of -poor planning. The corrollary to this saying is that not all problems can be anticpated -and planned for. Then again, good planning will anticpate most show stopper type situations.</P -><P ->Those wishing to migrate from MS Windows NT4 domain control to a Samba-3 domain control -environment would do well to develop a detailed migration plan. So here are a few pointers to -help migration get under way.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4400" ->28.1.1. Objectives</A -></H2 -><P ->The key objective for most organisations will be to make the migration from MS Windows NT4 -to Samba-3 domain control as painless as possible. One of the challenges you may experience -in your migration process may well be one of convincing management that the new environment -should remain in place. Many who have introduced open source technologies have experienced -pressure to return to a Microsoft based platform solution at the first sign of trouble. </P -><P ->It is strongly advised that before attempting a migration to a Samba-3 controlled network -that every possible effort be made to gain all-round commitment to the change. Firstly, you -should know precisely <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->why</I -></SPAN -> the change is important for the organisation. -Possible motivations to make a change include:</P -><P -></P -><UL -><LI -><P ->Improve network manageability</P -></LI -><LI -><P ->Obtain better user level functionality</P -></LI -><LI -><P ->Reduce network operating costs</P -></LI -><LI -><P ->Reduce exposure caused by Microsoft withdrawal of NT4 support</P -></LI -><LI -><P ->Avoid MS License 6 implications</P -></LI -><LI -><P ->Reduce organisation's dependency on Microsoft</P -></LI -></UL -><P ->It is vital that oit be well recognised that Samba-3 is NOT MS Windows NT4. Samba-3 offers -an alternative solution that is both different from MS Windows NT4 and that offers some -advantages compared with it. It should also be recognised that Samba-3 lacks many of the -features that Microsoft has promoted as core values in migration from MS Windows NT4 to -MS Windows 2000 and beyond (with or without Active Directory services).</P -><P ->What are the features the Samba-3 can NOT provide?</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Active Directory Server</TD -></TR -><TR -><TD ->Group Policy Objects (in Active Direcrtory)</TD -></TR -><TR -><TD ->Machine Policy objects</TD -></TR -><TR -><TD ->Logon Scripts in Active Directorty</TD -></TR -><TR -><TD ->Software Application and Access Controls in Active Directory</TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4426" ->28.1.2. Steps In Migration Process</A -></H2 -><P ->This is not a definitive ste-by-step process yet - just a place holder so the info -is not lost. - -1. You will have an NT4 PDC that has the users, groups, policies and profiles to be migrated - -2. Samba-3 set up as a DC with netlogon share, profile share, etc. - -3. Process: - a. Create a BDC account for the samba server using NT Server Manager - - Samba must NOT be running - - b. rpcclient NT4PDC -U Administrator%passwd - lsaquery - - Note the SID returned by step b. - - c. net getsid -S NT4PDC -w DOMNAME -U Administrator%passwd - - Note the SID in step c. - - d. net getlocalsid - - Note the SID, now check that all three SIDS reported are the same! - - e. net rpc join -S NT4PDC -w DOMNAME -U Administrator%passwd - - f. net rpc vampire -S NT4PDC -U administrator%passwd - - g. pdbedit -l - - Note - did the users migrate? - - h. initGrps.sh DOMNAME - - i. smbgroupedit -v - - Now check that all groups are recognised - - j. net rpc campire -S NT4PDC -U administrator%passwd - - k. pdbedit -lv - - Note - check that all group membership has been migrated. - - -Now it is time to migrate all the profiles, then migrate all policy files. - -Moe later.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4429" ->28.2. Managing Samba-3 Domain Control</A -></H1 -><P ->Lots of blah blah here.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="compiling.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="portability.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->How to compile SAMBA</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="appendixes.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Portability</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/other-clients.html b/docs/htmldocs/other-clients.html deleted file mode 100644 index 36513c672a..0000000000 --- a/docs/htmldocs/other-clients.html +++ /dev/null @@ -1,734 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Samba and other CIFS clients</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Appendixes" -HREF="appendixes.html"><LINK -REL="PREVIOUS" -TITLE="Portability" -HREF="portability.html"><LINK -REL="NEXT" -TITLE="SWAT - The Samba Web Admininistration Tool" -HREF="swat.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="portability.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="swat.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="OTHER-CLIENTS" -></A ->Chapter 30. Samba and other CIFS clients</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->30.1. <A -HREF="other-clients.html#AEN4522" ->Macintosh clients?</A -></DT -><DT ->30.2. <A -HREF="other-clients.html#AEN4531" ->OS2 Client</A -></DT -><DD -><DL -><DT ->30.2.1. <A -HREF="other-clients.html#AEN4533" ->How can I configure OS/2 Warp Connect or - OS/2 Warp 4 as a client for Samba?</A -></DT -><DT ->30.2.2. <A -HREF="other-clients.html#AEN4548" ->How can I configure OS/2 Warp 3 (not Connect), - OS/2 1.2, 1.3 or 2.x for Samba?</A -></DT -><DT ->30.2.3. <A -HREF="other-clients.html#AEN4557" ->Are there any other issues when OS/2 (any version) - is used as a client?</A -></DT -><DT ->30.2.4. <A -HREF="other-clients.html#AEN4561" ->How do I get printer driver download working - for OS/2 clients?</A -></DT -></DL -></DD -><DT ->30.3. <A -HREF="other-clients.html#AEN4571" ->Windows for Workgroups</A -></DT -><DD -><DL -><DT ->30.3.1. <A -HREF="other-clients.html#AEN4573" ->Use latest TCP/IP stack from Microsoft</A -></DT -><DT ->30.3.2. <A -HREF="other-clients.html#AEN4578" ->Delete .pwl files after password change</A -></DT -><DT ->30.3.3. <A -HREF="other-clients.html#AEN4583" ->Configure WfW password handling</A -></DT -><DT ->30.3.4. <A -HREF="other-clients.html#AEN4587" ->Case handling of passwords</A -></DT -><DT ->30.3.5. <A -HREF="other-clients.html#AEN4592" ->Use TCP/IP as default protocol</A -></DT -></DL -></DD -><DT ->30.4. <A -HREF="other-clients.html#AEN4595" ->Windows '95/'98</A -></DT -><DT ->30.5. <A -HREF="other-clients.html#AEN4611" ->Windows 2000 Service Pack 2</A -></DT -><DT ->30.6. <A -HREF="other-clients.html#AEN4628" ->Windows NT 3.1</A -></DT -></DL -></DIV -><P ->This chapter contains client-specific information.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4522" ->30.1. Macintosh clients?</A -></H1 -><P ->Yes. <A -HREF="http://www.thursby.com/" -TARGET="_top" ->Thursby</A -> now have a CIFS Client / Server called DAVE - see</P -><P ->They test it against Windows 95, Windows NT and samba for -compatibility issues. At the time of writing, DAVE was at version -1.0.1. The 1.0.0 to 1.0.1 update is available as a free download from -the Thursby web site (the speed of finder copies has been greatly -enhanced, and there are bug-fixes included).</P -><P -> -Alternatives - There are two free implementations of AppleTalk for -several kinds of UNIX machnes, and several more commercial ones. -These products allow you to run file services and print services -natively to Macintosh users, with no additional support required on -the Macintosh. The two free omplementations are -<A -HREF="http://www.umich.edu/~rsug/netatalk/" -TARGET="_top" ->Netatalk</A ->, and -<A -HREF="http://www.cs.mu.oz.au/appletalk/atalk.html" -TARGET="_top" ->CAP</A ->. -What Samba offers MS -Windows users, these packages offer to Macs. For more info on these -packages, Samba, and Linux (and other UNIX-based systems) see -<A -HREF="http://www.eats.com/linux_mac_win.html" -TARGET="_top" ->http://www.eats.com/linux_mac_win.html</A -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4531" ->30.2. OS2 Client</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4533" ->30.2.1. How can I configure OS/2 Warp Connect or - OS/2 Warp 4 as a client for Samba?</A -></H2 -><P ->A more complete answer to this question can be - found on <A -HREF="http://carol.wins.uva.nl/~leeuw/samba/warp.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/samba/warp.html</A ->.</P -><P ->Basically, you need three components:</P -><P -></P -><UL -><LI -><P ->The File and Print Client ('IBM Peer') - </P -></LI -><LI -><P ->TCP/IP ('Internet support') - </P -></LI -><LI -><P ->The "NetBIOS over TCP/IP" driver ('TCPBEUI') - </P -></LI -></UL -><P ->Installing the first two together with the base operating - system on a blank system is explained in the Warp manual. If Warp - has already been installed, but you now want to install the - networking support, use the "Selective Install for Networking" - object in the "System Setup" folder.</P -><P ->Adding the "NetBIOS over TCP/IP" driver is not described - in the manual and just barely in the online documentation. Start - MPTS.EXE, click on OK, click on "Configure LAPS" and click - on "IBM OS/2 NETBIOS OVER TCP/IP" in 'Protocols'. This line - is then moved to 'Current Configuration'. Select that line, - click on "Change number" and increase it from 0 to 1. Save this - configuration.</P -><P ->If the Samba server(s) is not on your local subnet, you - can optionally add IP names and addresses of these servers - to the "Names List", or specify a WINS server ('NetBIOS - Nameserver' in IBM and RFC terminology). For Warp Connect you - may need to download an update for 'IBM Peer' to bring it on - the same level as Warp 4. See the webpage mentioned above.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4548" ->30.2.2. How can I configure OS/2 Warp 3 (not Connect), - OS/2 1.2, 1.3 or 2.x for Samba?</A -></H2 -><P ->You can use the free Microsoft LAN Manager 2.2c Client - for OS/2 from - <A -HREF="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/" -TARGET="_top" -> ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/</A ->. - See <A -HREF="http://carol.wins.uva.nl/~leeuw/lanman.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/lanman.html</A -> for - more information on how to install and use this client. In - a nutshell, edit the file \OS2VER in the root directory of - the OS/2 boot partition and add the lines:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> 20=setup.exe - 20=netwksta.sys - 20=netvdd.sys - </PRE -></P -><P ->before you install the client. Also, don't use the - included NE2000 driver because it is buggy. Try the NE2000 - or NS2000 driver from - <A -HREF="ftp://ftp.cdrom.com/pub/os2/network/ndis/" -TARGET="_top" -> ftp://ftp.cdrom.com/pub/os2/network/ndis/</A -> instead. - </P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4557" ->30.2.3. Are there any other issues when OS/2 (any version) - is used as a client?</A -></H2 -><P ->When you do a NET VIEW or use the "File and Print - Client Resource Browser", no Samba servers show up. This can - be fixed by a patch from <A -HREF="http://carol.wins.uva.nl/~leeuw/samba/fix.html" -TARGET="_top" -> http://carol.wins.uva.nl/~leeuw/samba/fix.html</A ->. - The patch will be included in a later version of Samba. It also - fixes a couple of other problems, such as preserving long - filenames when objects are dragged from the Workplace Shell - to the Samba server. </P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4561" ->30.2.4. How do I get printer driver download working - for OS/2 clients?</A -></H2 -><P ->First, create a share called [PRINTDRV] that is - world-readable. Copy your OS/2 driver files there. Note - that the .EA_ files must still be separate, so you will need - to use the original install files, and not copy an installed - driver from an OS/2 system.</P -><P ->Install the NT driver first for that printer. Then, - add to your smb.conf a parameter, os2 driver map = - <VAR -CLASS="REPLACEABLE" ->filename</VAR ->". Then, in the file - specified by <VAR -CLASS="REPLACEABLE" ->filename</VAR ->, map the - name of the NT driver name to the OS/2 driver name as - follows:</P -><P -><B -CLASS="COMMAND" ->nt driver name = os2 "driver - name"."device name"</B ->, e.g.: - HP LaserJet 5L = LASERJET.HP LaserJet 5L</P -><P ->You can have multiple drivers mapped in this file.</P -><P ->If you only specify the OS/2 driver name, and not the - device name, the first attempt to download the driver will - actually download the files, but the OS/2 client will tell - you the driver is not available. On the second attempt, it - will work. This is fixed simply by adding the device name - to the mapping, after which it will work on the first attempt. - </P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4571" ->30.3. Windows for Workgroups</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4573" ->30.3.1. Use latest TCP/IP stack from Microsoft</A -></H2 -><P ->Use the latest TCP/IP stack from microsoft if you use Windows -for workgroups.</P -><P ->The early TCP/IP stacks had lots of bugs.</P -><P -> -Microsoft has released an incremental upgrade to their TCP/IP 32-Bit -VxD drivers. The latest release can be found on their ftp site at -ftp.microsoft.com, located in /peropsys/windows/public/tcpip/wfwt32.exe. -There is an update.txt file there that describes the problems that were -fixed. New files include WINSOCK.DLL, TELNET.EXE, WSOCK.386, VNBT.386, -WSTCP.386, TRACERT.EXE, NETSTAT.EXE, and NBTSTAT.EXE.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4578" ->30.3.2. Delete .pwl files after password change</A -></H2 -><P ->WfWg does a lousy job with passwords. I find that if I change my -password on either the unix box or the PC the safest thing to do is to -delete the .pwl files in the windows directory. The PC will complain about not finding the files, but will soon get over it, allowing you to enter the new password.</P -><P -> -If you don't do this you may find that WfWg remembers and uses the old -password, even if you told it a new one.</P -><P -> -Often WfWg will totally ignore a password you give it in a dialog box.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4583" ->30.3.3. Configure WfW password handling</A -></H2 -><P ->There is a program call admincfg.exe -on the last disk (disk 8) of the WFW 3.11 disk set. To install it -type EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE Then add an icon -for it via the "Progam Manager" "New" Menu. This program allows you -to control how WFW handles passwords. ie disable Password Caching etc -for use with <B -CLASS="COMMAND" ->security = user</B -></P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4587" ->30.3.4. Case handling of passwords</A -></H2 -><P ->Windows for Workgroups uppercases the password before sending it to the server. Unix passwords can be case-sensitive though. Check the <A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5)</A -> information on <B -CLASS="COMMAND" ->password level</B -> to specify what characters samba should try to uppercase when checking.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4592" ->30.3.5. Use TCP/IP as default protocol</A -></H2 -><P ->To support print queue reporting you may find -that you have to use TCP/IP as the default protocol under -WfWg. For some reason if you leave Netbeui as the default -it may break the print queue reporting on some systems. -It is presumably a WfWg bug.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4595" ->30.4. Windows '95/'98</A -></H1 -><P ->When using Windows 95 OEM SR2 the following updates are recommended where Samba -is being used. Please NOTE that the above change will affect you once these -updates have been installed.</P -><P -> -There are more updates than the ones mentioned here. You are referred to the -Microsoft Web site for all currently available updates to your specific version -of Windows 95.</P -><P -></P -><OL -TYPE="1" -><LI -><P ->Kernel Update: KRNLUPD.EXE</P -></LI -><LI -><P ->Ping Fix: PINGUPD.EXE</P -></LI -><LI -><P ->RPC Update: RPCRTUPD.EXE</P -></LI -><LI -><P ->TCP/IP Update: VIPUPD.EXE</P -></LI -><LI -><P ->Redirector Update: VRDRUPD.EXE</P -></LI -></OL -><P ->Also, if using MS OutLook it is desirable to install the OLEUPD.EXE fix. This -fix may stop your machine from hanging for an extended period when exiting -OutLook and you may also notice a significant speedup when accessing network -neighborhood services.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4611" ->30.5. Windows 2000 Service Pack 2</A -></H1 -><P -> -There are several annoyances with Windows 2000 SP2. One of which -only appears when using a Samba server to host user profiles -to Windows 2000 SP2 clients in a Windows domain. This assumes -that Samba is a member of the domain, but the problem will -likely occur if it is not.</P -><P -> -In order to server profiles successfully to Windows 2000 SP2 -clients (when not operating as a PDC), Samba must have -<B -CLASS="COMMAND" ->nt acl support = no</B -> -added to the file share which houses the roaming profiles. -If this is not done, then the Windows 2000 SP2 client will -complain about not being able to access the profile (Access -Denied) and create multiple copies of it on disk (DOMAIN.user.001, -DOMAIN.user.002, etc...). See the -<A -HREF="smb.conf.5.html" -TARGET="_top" ->smb.conf(5)</A -> man page -for more details on this option. Also note that the -<B -CLASS="COMMAND" ->nt acl support</B -> parameter was formally a global parameter in -releases prior to Samba 2.2.2.</P -><P -> -The following is a minimal profile share:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> [profile] - path = /export/profile - create mask = 0600 - directory mask = 0700 - nt acl support = no - read only = no</PRE -></P -><P ->The reason for this bug is that the Win2k SP2 client copies -the security descriptor for the profile which contains -the Samba server's SID, and not the domain SID. The client -compares the SID for SAMBA\user and realizes it is -different that the one assigned to DOMAIN\user. Hence the reason -for the "access denied" message.</P -><P ->By disabling the <B -CLASS="COMMAND" ->nt acl support</B -> parameter, Samba will send -the Win2k client a response to the QuerySecurityDescriptor -trans2 call which causes the client to set a default ACL -for the profile. This default ACL includes </P -><P -><B -CLASS="COMMAND" ->DOMAIN\user "Full Control"</B -></P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->This bug does not occur when using winbind to -create accounts on the Samba host for Domain users.</P -></TD -></TR -></TABLE -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4628" ->30.6. Windows NT 3.1</A -></H1 -><P ->If you have problems communicating across routers with Windows -NT 3.1 workstations, read <A -HREF="http://support.microsoft.com/default.aspx?scid=kb;[LN];Q103765" -TARGET="_top" ->this Microsoft Knowledge Base article</A ->. </P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="portability.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="swat.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Portability</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="appendixes.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->SWAT - The Samba Web Admininistration Tool</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/policymgmt.html b/docs/htmldocs/policymgmt.html deleted file mode 100644 index 5d0c9b19f9..0000000000 --- a/docs/htmldocs/policymgmt.html +++ /dev/null @@ -1,758 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->System and Account Policies</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="Advanced Network Manangement" -HREF="advancednetworkmanagement.html"><LINK -REL="NEXT" -TITLE="Desktop Profile Management" -HREF="profilemgmt.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="advancednetworkmanagement.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="profilemgmt.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="POLICYMGMT" -></A ->Chapter 17. System and Account Policies</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->17.1. <A -HREF="policymgmt.html#AEN2958" ->Creating and Managing System Policies</A -></DT -><DD -><DL -><DT ->17.1.1. <A -HREF="policymgmt.html#AEN2972" ->Windows 9x/Me Policies</A -></DT -><DT ->17.1.2. <A -HREF="policymgmt.html#AEN2984" ->Windows NT4 Style Policy Files</A -></DT -><DT ->17.1.3. <A -HREF="policymgmt.html#AEN3002" ->MS Windows 200x / XP Professional Policies</A -></DT -></DL -></DD -><DT ->17.2. <A -HREF="policymgmt.html#AEN3030" ->Managing Account/User Policies</A -></DT -><DD -><DL -><DT ->17.2.1. <A -HREF="policymgmt.html#AEN3045" ->With Windows NT4/200x</A -></DT -><DT ->17.2.2. <A -HREF="policymgmt.html#AEN3048" ->With a Samba PDC</A -></DT -></DL -></DD -><DT ->17.3. <A -HREF="policymgmt.html#AEN3052" ->System Startup and Logon Processing Overview</A -></DT -></DL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN2958" ->17.1. Creating and Managing System Policies</A -></H1 -><P ->Under MS Windows platforms, particularly those following the release of MS Windows -NT4 and MS Windows 95) it is possible to create a type of file that would be placed -in the NETLOGON share of a domain controller. As the client logs onto the network -this file is read and the contents initiate changes to the registry of the client -machine. This file allows changes to be made to those parts of the registry that -affect users, groups of users, or machines.</P -><P ->For MS Windows 9x/Me this file must be called <TT -CLASS="FILENAME" ->Config.POL</TT -> and may -be generated using a tool called <TT -CLASS="FILENAME" ->poledit.exe</TT ->, better known as the -Policy Editor. The policy editor was provided on the Windows 98 installation CD, but -dissappeared again with the introduction of MS Windows Me (Millenium Edition). From -comments from MS Windows network administrators it would appear that this tool became -a part of the MS Windows Me Resource Kit.</P -><P ->MS Windows NT4 Server products include the <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->System Policy Editor</I -></SPAN -> -under the <TT -CLASS="FILENAME" ->Start -> Programs -> Administrative Tools</TT -> menu item. -For MS Windows NT4 and later clients this file must be called <TT -CLASS="FILENAME" ->NTConfig.POL</TT ->.</P -><P ->New with the introduction of MS Windows 2000 was the Microsoft Management Console -or MMC. This tool is the new wave in the ever changing landscape of Microsoft -methods for management of network access and security. Every new Microsoft product -or technology seems to obsolete the old rules and to introduce newer and more -complex tools and methods. To Microsoft's credit though, the MMC does appear to -be a step forward, but improved functionality comes at a great price.</P -><P ->Before embarking on the configuration of network and system policies it is highly -advisable to read the documentation available from Microsoft's web site regarding -<A -HREF="http://www.microsoft.com/ntserver/management/deployment/planguide/prof_policies.asp" -TARGET="_top" ->Implementing Profiles and Policies in Windows NT 4.0 from http://www.microsoft.com/ntserver/management/deployment/planguide/prof_policies.asp</A -> available from Microsoft. -There are a large number of documents in addition to this old one that should also -be read and understood. Try searching on the Microsoft web site for "Group Policies".</P -><P ->What follows is a very brief discussion with some helpful notes. The information provided -here is incomplete - you are warned.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN2972" ->17.1.1. Windows 9x/Me Policies</A -></H2 -><P ->You need the Win98 Group Policy Editor to set Group Profiles up under Windows 9x/Me. -It can be found on the Original full product Win98 installation CD under -<TT -CLASS="FILENAME" ->tools/reskit/netadmin/poledit</TT ->. Install this using the -Add/Remove Programs facility and then click on the 'Have Disk' tab.</P -><P ->Use the Group Policy Editor to create a policy file that specifies the location of -user profiles and/or the <TT -CLASS="FILENAME" ->My Documents</TT -> etc. stuff. Then -save these settings in a file called <TT -CLASS="FILENAME" ->Config.POL</TT -> that needs to -be placed in the root of the [NETLOGON] share. If Win98 is configured to log onto -the Samba Domain, it will automatically read this file and update the Win9x/Me registry -of the machine as it logs on.</P -><P ->Further details are covered in the Win98 Resource Kit documentation.</P -><P ->If you do not take the right steps, then every so often Win9x/Me will check the -integrity of the registry and will restore it's settings from the back-up -copy of the registry it stores on each Win9x/Me machine. Hence, you will -occasionally notice things changing back to the original settings.</P -><P ->Install the group policy handler for Win9x to pick up group policies. Look on the -Win98 CD in <TT -CLASS="FILENAME" ->\tools\reskit\netadmin\poledit</TT ->. -Install group policies on a Win9x client by double-clicking -<TT -CLASS="FILENAME" ->grouppol.inf</TT ->. Log off and on again a couple of times and see -if Win98 picks up group policies. Unfortunately this needs to be done on every -Win9x/Me machine that uses group policies.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN2984" ->17.1.2. Windows NT4 Style Policy Files</A -></H2 -><P ->To create or edit <TT -CLASS="FILENAME" ->ntconfig.pol</TT -> you must use the NT Server -Policy Editor, <B -CLASS="COMMAND" ->poledit.exe</B -> which is included with NT4 Server -but <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->not NT Workstation</I -></SPAN ->. There is a Policy Editor on a NT4 -Workstation but it is not suitable for creating <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Domain Policies</I -></SPAN ->. -Further, although the Windows 95 Policy Editor can be installed on an NT4 -Workstation/Server, it will not work with NT clients. However, the files from -the NT Server will run happily enough on an NT4 Workstation.</P -><P ->You need <TT -CLASS="FILENAME" ->poledit.exe, common.adm</TT -> and <TT -CLASS="FILENAME" ->winnt.adm</TT ->. -It is convenient to put the two *.adm files in the <TT -CLASS="FILENAME" ->c:\winnt\inf</TT -> -directory which is where the binary will look for them unless told otherwise. Note also that that -directory is normally 'hidden'.</P -><P ->The Windows NT policy editor is also included with the Service Pack 3 (and -later) for Windows NT 4.0. Extract the files using <B -CLASS="COMMAND" ->servicepackname /x</B ->, -i.e. that's <B -CLASS="COMMAND" ->Nt4sp6ai.exe /x</B -> for service pack 6a. The policy editor, -<B -CLASS="COMMAND" ->poledit.exe</B -> and the associated template files (*.adm) should -be extracted as well. It is also possible to downloaded the policy template -files for Office97 and get a copy of the policy editor. Another possible -location is with the Zero Administration Kit available for download from Microsoft.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN2999" ->17.1.2.1. Registry Tattoos</A -></H3 -><P -> With NT4 style registry based policy changes, a large number of settings are not - automatically reversed as the user logs off. Since the settings that were in the - NTConfig.POL file were applied to the client machine registry and that apply to the - hive key HKEY_LOCAL_MACHINE are permanent until explicitly reversed. This is known - as tattooing. It can have serious consequences down-stream and the administrator must - be extremely careful not to lock out the ability to manage the machine at a later date. - </P -></DIV -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3002" ->17.1.3. MS Windows 200x / XP Professional Policies</A -></H2 -><P ->Windows NT4 System policies allows setting of registry parameters specific to -users, groups and computers (client workstations) that are members of the NT4 -style domain. Such policy file will work with MS Windows 2000 / XP clients also.</P -><P ->New to MS Windows 2000 Microsoft introduced a new style of group policy that confers -a superset of capabilities compared with NT4 style policies. Obviously, the tool used -to create them is different, and the mechanism for implementing them is much changed.</P -><P ->The older NT4 style registry based policies are known as <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Administrative Templates</I -></SPAN -> -in MS Windows 2000/XP Group Policy Objects (GPOs). The later includes ability to set various security -configurations, enforce Internet Explorer browser settings, change and redirect aspects of the -users' desktop (including: the location of <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->My Documents</I -></SPAN -> files (directory), as -well as intrinsics of where menu items will appear in the Start menu). An additional new -feature is the ability to make available particular software Windows applications to particular -users and/or groups.</P -><P ->Remember: NT4 policy files are named <TT -CLASS="FILENAME" ->NTConfig.POL</TT -> and are stored in the root -of the NETLOGON share on the domain controllers. A Windows NT4 user enters a username, a password -and selects the domain name to which the logon will attempt to take place. During the logon -process the client machine reads the NTConfig.POL file from the NETLOGON share on the authenticating -server, modifies the local registry values according to the settings in this file.</P -><P ->Windows 2K GPOs are very feature rich. They are NOT stored in the NETLOGON share, rather part of -a Windows 200x policy file is stored in the Active Directory itself and the other part is stored -in a shared (and replicated) volume called the SYSVOL folder. This folder is present on all Active -Directory domain controllers. The part that is stored in the Active Directory itself is called the -group policy container (GPC), and the part that is stored in the replicated share called SYSVOL is -known as the group policy template (GPT).</P -><P ->With NT4 clients the policy file is read and executed upon only aas each user log onto the network. -MS Windows 200x policies are much more complex - GPOs are processed and applied at client machine -startup (machine specific part) and when the user logs onto the network the user specific part -is applied. In MS Windows 200x style policy management each machine and/or user may be subject -to any number of concurently applicable (and applied) policy sets (GPOs). Active Directory allows -the administrator to also set filters over the policy settings. No such equivalent capability -exists with NT4 style policy files.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3013" ->17.1.3.1. Administration of Win2K / XP Policies</A -></H3 -><DIV -CLASS="PROCEDURE" -><P -><B ->Instructions</B -></P -><P ->Instead of using the tool called "The System Policy Editor", commonly called Poledit (from the -executable name poledit.exe), GPOs are created and managed using a Microsoft Management Console -(MMC) snap-in as follows:</P -><OL -TYPE="1" -><LI -><P ->Go to the Windows 200x / XP menu <TT -CLASS="FILENAME" ->Start->Programs->Administrative Tools</TT -> - and select the MMC snap-in called "Active Directory Users and Computers"</P -></LI -><LI -><P ->Select the domain or organizational unit (OU) that you wish to manage, then right click -to open the context menu for that object, select the properties item.</P -></LI -><LI -><P ->Now left click on the Group Policy tab, then left click on the New tab. Type a name -for the new policy you will create.</P -></LI -><LI -><P ->Now left click on the Edit tab to commence the steps needed to create the GPO.</P -></LI -></OL -></DIV -><P ->All policy configuration options are controlled through the use of policy administrative -templates. These files have a .adm extension, both in NT4 as well as in Windows 200x / XP. -Beware however, since the .adm files are NOT interchangible across NT4 and Windows 200x. -The later introduces many new features as well as extended definition capabilities. It is -well beyond the scope of this documentation to explain how to program .adm files, for that -the adminsitrator is referred to the Microsoft Windows Resource Kit for your particular -version of MS Windows.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->The MS Windows 2000 Resource Kit contains a tool called gpolmig.exe. This tool can be used -to migrate an NT4 NTConfig.POL file into a Windows 200x style GPO. Be VERY careful how you -use this powerful tool. Please refer to the resource kit manuals for specific usage information.</P -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3030" ->17.2. Managing Account/User Policies</A -></H1 -><P ->Policies can define a specific user's settings or the settings for a group of users. The resulting -policy file contains the registry settings for all users, groups, and computers that will be using -the policy file. Separate policy files for each user, group, or computer are not not necessary.</P -><P ->If you create a policy that will be automatically downloaded from validating domain controllers, -you should name the file NTconfig.POL. As system administrator, you have the option of renaming the -policy file and, by modifying the Windows NT-based workstation, directing the computer to update -the policy from a manual path. You can do this by either manually changing the registry or by using -the System Policy Editor. This path can even be a local path such that each machine has its own policy file, -but if a change is necessary to all machines, this change must be made individually to each workstation.</P -><P ->When a Windows NT4/200x/XP machine logs onto the network the NETLOGON share on the authenticating domain -controller for the presence of the NTConfig.POL file. If one exists it is downloaded, parsed and then -applied to the user's part of the registry.</P -><P ->MS Windows 200x/XP clients that log onto an MS Windows Active Directory security domain may additionally, -acquire policy settings through Group Policy Objects (GPOs) that are defined and stored in Active Directory -itself. The key benefit of using AS GPOs is that they impose no registry <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->tatooing</I -></SPAN -> effect. -This has considerable advanage compared with the use of NTConfig.POL (NT4) style policy updates.</P -><P ->Inaddition to user access controls that may be imposed or applied via system and/or group policies -in a manner that works in conjunction with user profiles, the user management environment under -MS Windows NT4/200x/XP allows per domain as well as per user account restrictions to be applied. -Common restrictions that are frequently used includes:</P -><P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Logon Hours</TD -></TR -><TR -><TD ->Password Aging</TD -></TR -><TR -><TD ->Permitted Logon from certain machines only</TD -></TR -><TR -><TD ->Account type (Local or Global)</TD -></TR -><TR -><TD ->User Rights</TD -></TR -></TBODY -></TABLE -><P -></P -></P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3045" ->17.2.1. With Windows NT4/200x</A -></H2 -><P ->The tools that may be used to configure these types of controls from the MS Windows environment are: -The NT4 User Manager for domains, the NT4 System and Group Policy Editor, the registry editor (regedt32.exe). -Under MS Windows 200x/XP this is done using the Microsoft Managment Console (MMC) with approapriate -"snap-ins", the registry editor, and potentially also the NT4 System and Group Policy Editor.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3048" ->17.2.2. With a Samba PDC</A -></H2 -><P ->With a Samba Domain Controller, the new tools for managing of user account and policy information includes: -<TT -CLASS="FILENAME" ->smbpasswd, pdbedit, smbgroupedit, net, rpcclient.</TT ->. The administrator should read the -man pages for these tools and become familiar with their use.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3052" ->17.3. System Startup and Logon Processing Overview</A -></H1 -><P ->The following attempts to document the order of processing of system and user policies following a system -reboot and as part of the user logon:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> Network starts, then Remote Procedure Call System Service (RPCSS) and Multiple Universal Naming - Convention Provider (MUP) start - </P -></LI -><LI -><P -> Where Active Directory is involved, an ordered list of Group Policy Objects (GPOs) is downloaded - and applied. The list may include GPOs that: -<P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Apply to the location of machines in a Directory</TD -></TR -><TR -><TD ->Apply only when settings have changed</TD -></TR -><TR -><TD ->Depend on configuration of scope of applicability: local, site, domain, organizational unit, etc.</TD -></TR -></TBODY -></TABLE -><P -></P -> - No desktop user interface is presented until the above have been processed. - </P -></LI -><LI -><P -> Execution of start-up scripts (hidden and synchronous by defaut). - </P -></LI -><LI -><P -> A keyboard action to affect start of logon (Ctrl-Alt-Del). - </P -></LI -><LI -><P -> User credentials are validated, User profile is loaded (depends on policy settings). - </P -></LI -><LI -><P -> An ordered list of User GPOs is obtained. The list contents depends on what is configured in respsect of: - -<P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Is user a domain member, thus subject to particular policies</TD -></TR -><TR -><TD ->Loopback enablement, and the state of the loopback policy (Merge or Replace)</TD -></TR -><TR -><TD ->Location of the Active Directory itself</TD -></TR -><TR -><TD ->Has the list of GPOs changed. No processing is needed if not changed.</TD -></TR -></TBODY -></TABLE -><P -></P -> - </P -></LI -><LI -><P -> User Policies are applied from Active Directory. Note: There are several types. - </P -></LI -><LI -><P -> Logon scripts are run. New to Win2K and Active Directory, logon scripts may be obtained based on Group - Policy objects (hidden and executed synchronously). NT4 style logon scripts are then run in a normal - window. - </P -></LI -><LI -><P -> The User Interface as determined from the GPOs is presented. Note: In a Samba domain (like and NT4 - Domain) machine (system) policies are applied at start-up, User policies are applied at logon. - </P -></LI -></OL -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="advancednetworkmanagement.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="profilemgmt.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Advanced Network Manangement</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Desktop Profile Management</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/portability.html b/docs/htmldocs/portability.html deleted file mode 100644 index ac3e5b9adb..0000000000 --- a/docs/htmldocs/portability.html +++ /dev/null @@ -1,418 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Portability</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Appendixes" -HREF="appendixes.html"><LINK -REL="PREVIOUS" -TITLE="Migration from NT4 PDC to Samba-3 PDC" -HREF="nt4migration.html"><LINK -REL="NEXT" -TITLE="Samba and other CIFS clients" -HREF="other-clients.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="nt4migration.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="other-clients.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="PORTABILITY" -></A ->Chapter 29. Portability</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->29.1. <A -HREF="portability.html#AEN4444" ->HPUX</A -></DT -><DT ->29.2. <A -HREF="portability.html#AEN4450" ->SCO Unix</A -></DT -><DT ->29.3. <A -HREF="portability.html#AEN4454" ->DNIX</A -></DT -><DT ->29.4. <A -HREF="portability.html#AEN4483" ->RedHat Linux Rembrandt-II</A -></DT -><DT ->29.5. <A -HREF="portability.html#AEN4489" ->AIX</A -></DT -><DT ->29.6. <A -HREF="portability.html#AEN4495" ->Solaris</A -></DT -></DL -></DIV -><P ->Samba works on a wide range of platforms but the interface all the -platforms provide is not always compatible. This chapter contains -platform-specific information about compiling and using samba.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4444" ->29.1. HPUX</A -></H1 -><P ->HP's implementation of supplementary groups is, er, non-standard (for -hysterical reasons). There are two group files, /etc/group and -/etc/logingroup; the system maps UIDs to numbers using the former, but -initgroups() reads the latter. Most system admins who know the ropes -symlink /etc/group to /etc/logingroup (hard link doesn't work for reasons -too stupid to go into here). initgroups() will complain if one of the -groups you're in in /etc/logingroup has what it considers to be an invalid -ID, which means outside the range [0..UID_MAX], where UID_MAX is (I think) -60000 currently on HP-UX. This precludes -2 and 65534, the usual 'nobody' -GIDs.</P -><P ->If you encounter this problem, make sure that the programs that are failing -to initgroups() be run as users not in any groups with GIDs outside the -allowed range.</P -><P ->This is documented in the HP manual pages under setgroups(2) and passwd(4).</P -><P ->On HPUX you must use gcc or the HP Ansi compiler. The free compiler -that comes with HP-UX is not Ansi compliant and cannot compile -Samba.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4450" ->29.2. SCO Unix</A -></H1 -><P -> -If you run an old version of SCO Unix then you may need to get important -TCP/IP patches for Samba to work correctly. Without the patch, you may -encounter corrupt data transfers using samba.</P -><P ->The patch you need is UOD385 Connection Drivers SLS. It is available from -SCO (ftp.sco.com, directory SLS, files uod385a.Z and uod385a.ltr.Z).</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4454" ->29.3. DNIX</A -></H1 -><P ->DNIX has a problem with seteuid() and setegid(). These routines are -needed for Samba to work correctly, but they were left out of the DNIX -C library for some reason.</P -><P ->For this reason Samba by default defines the macro NO_EID in the DNIX -section of includes.h. This works around the problem in a limited way, -but it is far from ideal, some things still won't work right.</P -><P -> -To fix the problem properly you need to assemble the following two -functions and then either add them to your C library or link them into -Samba.</P -><P -> -put this in the file <TT -CLASS="FILENAME" ->setegid.s</TT ->:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> .globl _setegid -_setegid: - moveq #47,d0 - movl #100,a0 - moveq #1,d1 - movl 4(sp),a1 - trap #9 - bccs 1$ - jmp cerror -1$: - clrl d0 - rts</PRE -></P -><P ->put this in the file <TT -CLASS="FILENAME" ->seteuid.s</TT ->:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> .globl _seteuid -_seteuid: - moveq #47,d0 - movl #100,a0 - moveq #0,d1 - movl 4(sp),a1 - trap #9 - bccs 1$ - jmp cerror -1$: - clrl d0 - rts</PRE -></P -><P ->after creating the above files you then assemble them using</P -><P -><B -CLASS="COMMAND" ->as seteuid.s</B -></P -><P -><B -CLASS="COMMAND" ->as setegid.s</B -></P -><P ->that should produce the files <TT -CLASS="FILENAME" ->seteuid.o</TT -> and -<TT -CLASS="FILENAME" ->setegid.o</TT -></P -><P ->then you need to add these to the LIBSM line in the DNIX section of -the Samba Makefile. Your LIBSM line will then look something like this:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->LIBSM = setegid.o seteuid.o -ln</PRE -></P -><P -> -You should then remove the line:</P -><P -><PRE -CLASS="PROGRAMLISTING" ->#define NO_EID</PRE -></P -><P ->from the DNIX section of <TT -CLASS="FILENAME" ->includes.h</TT -></P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4483" ->29.4. RedHat Linux Rembrandt-II</A -></H1 -><P ->By default RedHat Rembrandt-II during installation adds an -entry to /etc/hosts as follows: -<PRE -CLASS="PROGRAMLISTING" -> 127.0.0.1 loopback "hostname"."domainname"</PRE -></P -><P ->This causes Samba to loop back onto the loopback interface. -The result is that Samba fails to communicate correctly with -the world and therefor may fail to correctly negotiate who -is the master browse list holder and who is the master browser.</P -><P ->Corrective Action: Delete the entry after the word loopback - in the line starting 127.0.0.1</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4489" ->29.5. AIX</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4491" ->29.5.1. Sequential Read Ahead</A -></H2 -><P ->Disabling Sequential Read Ahead using <KBD -CLASS="USERINPUT" ->vmtune -r 0</KBD -> improves -samba performance significally.</P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4495" ->29.6. Solaris</A -></H1 -><P ->Some people have been experiencing problems with F_SETLKW64/fcntl -when running samba on solaris. The built in file locking mechanism was -not scalable. Performance would degrade to the point where processes would -get into loops of trying to lock a file. It woul try a lock, then fail, -then try again. The lock attempt was failing before the grant was -occurring. So the visible manifestation of this would be a handful of -processes stealing all of the CPU, and when they were trussed they would -be stuck if F_SETLKW64 loops.</P -><P ->Sun released patches for Solaris 2.6, 8, and 9. The patch for Solaris 7 -has not been released yet.</P -><P ->The patch revision for 2.6 is 105181-34 -for 8 is 108528-19 -and for 9 is 112233-04</P -><P ->After the install of these patches it is recommended to reconfigure -and rebuild samba.</P -><P ->Thanks to Joe Meslovich for reporting</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="nt4migration.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="other-clients.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Migration from NT4 PDC to Samba-3 PDC</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="appendixes.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Samba and other CIFS clients</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/profilemgmt.html b/docs/htmldocs/profilemgmt.html deleted file mode 100644 index 7357336193..0000000000 --- a/docs/htmldocs/profilemgmt.html +++ /dev/null @@ -1,1753 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Desktop Profile Management</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="System and Account Policies" -HREF="policymgmt.html"><LINK -REL="NEXT" -TITLE="Interdomain Trust Relationships" -HREF="interdomaintrusts.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="policymgmt.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="interdomaintrusts.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="PROFILEMGMT" -></A ->Chapter 18. Desktop Profile Management</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->18.1. <A -HREF="profilemgmt.html#AEN3095" ->Roaming Profiles</A -></DT -><DD -><DL -><DT ->18.1.1. <A -HREF="profilemgmt.html#AEN3102" ->Samba Configuration for Profile Handling</A -></DT -><DD -><DL -><DT ->18.1.1.1. <A -HREF="profilemgmt.html#AEN3105" ->NT4/200x User Profiles</A -></DT -><DT ->18.1.1.2. <A -HREF="profilemgmt.html#AEN3115" ->Windows 9x / Me User Profiles</A -></DT -><DT ->18.1.1.3. <A -HREF="profilemgmt.html#AEN3130" ->Mixed Windows 9x / Me and Windows NT4/200x User Profiles</A -></DT -></DL -></DD -><DT ->18.1.2. <A -HREF="profilemgmt.html#AEN3137" ->Windows Client Profile Configuration Information</A -></DT -><DD -><DL -><DT ->18.1.2.1. <A -HREF="profilemgmt.html#AEN3139" ->Windows 9x / Me Profile Setup</A -></DT -><DT ->18.1.2.2. <A -HREF="profilemgmt.html#AEN3175" ->Windows NT4 Workstation</A -></DT -><DT ->18.1.2.3. <A -HREF="profilemgmt.html#AEN3184" ->Windows 2000/XP Professional</A -></DT -></DL -></DD -><DT ->18.1.3. <A -HREF="profilemgmt.html#AEN3257" ->Sharing Profiles between W9x/Me and NT4/200x/XP workstations</A -></DT -><DT ->18.1.4. <A -HREF="profilemgmt.html#AEN3264" ->Profile Migration from Windows NT4/200x Server to Samba</A -></DT -><DD -><DL -><DT ->18.1.4.1. <A -HREF="profilemgmt.html#AEN3267" ->Windows NT4 Profile Management Tools</A -></DT -><DT ->18.1.4.2. <A -HREF="profilemgmt.html#AEN3290" ->Side bar Notes</A -></DT -><DT ->18.1.4.3. <A -HREF="profilemgmt.html#AEN3294" ->moveuser.exe</A -></DT -><DT ->18.1.4.4. <A -HREF="profilemgmt.html#AEN3297" ->Get SID</A -></DT -></DL -></DD -></DL -></DD -><DT ->18.2. <A -HREF="profilemgmt.html#AEN3302" ->Mandatory profiles</A -></DT -><DT ->18.3. <A -HREF="profilemgmt.html#AEN3309" ->Creating/Managing Group Profiles</A -></DT -><DT ->18.4. <A -HREF="profilemgmt.html#AEN3315" ->Default Profile for Windows Users</A -></DT -><DD -><DL -><DT ->18.4.1. <A -HREF="profilemgmt.html#AEN3318" ->MS Windows 9x/Me</A -></DT -><DT ->18.4.2. <A -HREF="profilemgmt.html#AEN3330" ->MS Windows NT4 Workstation</A -></DT -><DT ->18.4.3. <A -HREF="profilemgmt.html#AEN3384" ->MS Windows 200x/XP</A -></DT -></DL -></DD -></DL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3095" ->18.1. Roaming Profiles</A -></H1 -><DIV -CLASS="WARNING" -><P -></P -><TABLE -CLASS="WARNING" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/warning.gif" -HSPACE="5" -ALT="Warning"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Roaming profiles support is different for Win9x / Me and Windows NT4/200x.</P -></TD -></TR -></TABLE -></DIV -><P ->Before discussing how to configure roaming profiles, it is useful to see how -Windows 9x / Me and Windows NT4/200x clients implement these features.</P -><P ->Windows 9x / Me clients send a NetUserGetInfo request to the server to get the user's -profiles location. However, the response does not have room for a separate -profiles location field, only the user's home share. This means that Win9X/Me -profiles are restricted to being stored in the user's home directory.</P -><P ->Windows NT4/200x clients send a NetSAMLogon RPC request, which contains many fields, -including a separate field for the location of the user's profiles.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3102" ->18.1.1. Samba Configuration for Profile Handling</A -></H2 -><P ->This section documents how to configure Samba for MS Windows client profile support.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3105" ->18.1.1.1. NT4/200x User Profiles</A -></H3 -><P ->To support Windowns NT4/200x clients, in the [global] section of smb.conf set the -following (for example):</P -><P -><PRE -CLASS="PROGRAMLISTING" -> logon path = \\profileserver\profileshare\profilepath\%U\moreprofilepath</PRE -> - - This is typically implemented like: - -<PRE -CLASS="PROGRAMLISTING" -> logon path = \\%L\Profiles\%u</PRE -> -where %L translates to the name of the Samba server and %u translates to the user name</P -><P ->The default for this option is \\%N\%U\profile, namely \\sambaserver\username\profile. -The \\N%\%U service is created automatically by the [homes] service. If you are using -a samba server for the profiles, you _must_ make the share specified in the logon path -browseable. Please refer to the man page for smb.conf in respect of the different -symantics of %L and %N, as well as %U and %u.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->MS Windows NT/2K clients at times do not disconnect a connection to a server -between logons. It is recommended to NOT use the <B -CLASS="COMMAND" ->homes</B -> -meta-service name as part of the profile share path.</P -></TD -></TR -></TABLE -></DIV -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3115" ->18.1.1.2. Windows 9x / Me User Profiles</A -></H3 -><P ->To support Windows 9x / Me clients, you must use the "logon home" parameter. Samba has -now been fixed so that <KBD -CLASS="USERINPUT" ->net use /home</KBD -> now works as well, and it, too, relies -on the <B -CLASS="COMMAND" ->logon home</B -> parameter.</P -><P ->By using the logon home parameter, you are restricted to putting Win9x / Me -profiles in the user's home directory. But wait! There is a trick you -can use. If you set the following in the <B -CLASS="COMMAND" ->[global]</B -> section of your <TT -CLASS="FILENAME" ->smb.conf</TT -> file:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> logon home = \\%L\%U\.profiles</PRE -></P -><P ->then your Windows 9x / Me clients will dutifully put their clients in a subdirectory -of your home directory called <TT -CLASS="FILENAME" ->.profiles</TT -> (thus making them hidden).</P -><P ->Not only that, but <KBD -CLASS="USERINPUT" ->net use/home</KBD -> will also work, because of a feature in -Windows 9x / Me. It removes any directory stuff off the end of the home directory area -and only uses the server and share portion. That is, it looks like you -specified \\%L\%U for <B -CLASS="COMMAND" ->logon home</B ->.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3130" ->18.1.1.3. Mixed Windows 9x / Me and Windows NT4/200x User Profiles</A -></H3 -><P ->You can support profiles for both Win9X and WinNT clients by setting both the -<B -CLASS="COMMAND" ->logon home</B -> and <B -CLASS="COMMAND" ->logon path</B -> parameters. For example:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> logon home = \\%L\%u\.profiles - logon path = \\%L\profiles\%u</PRE -></P -></DIV -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3137" ->18.1.2. Windows Client Profile Configuration Information</A -></H2 -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3139" ->18.1.2.1. Windows 9x / Me Profile Setup</A -></H3 -><P ->When a user first logs in on Windows 9X, the file user.DAT is created, -as are folders "Start Menu", "Desktop", "Programs" and "Nethood". -These directories and their contents will be merged with the local -versions stored in c:\windows\profiles\username on subsequent logins, -taking the most recent from each. You will need to use the [global] -options "preserve case = yes", "short preserve case = yes" and -"case sensitive = no" in order to maintain capital letters in shortcuts -in any of the profile folders.</P -><P ->The user.DAT file contains all the user's preferences. If you wish to -enforce a set of preferences, rename their user.DAT file to user.MAN, -and deny them write access to this file.</P -><P -></P -><OL -TYPE="1" -><LI -><P -> On the Windows 9x / Me machine, go to Control Panel -> Passwords and - select the User Profiles tab. Select the required level of - roaming preferences. Press OK, but do _not_ allow the computer - to reboot. - </P -></LI -><LI -><P -> On the Windows 9x / Me machine, go to Control Panel -> Network -> - Client for Microsoft Networks -> Preferences. Select 'Log on to - NT Domain'. Then, ensure that the Primary Logon is 'Client for - Microsoft Networks'. Press OK, and this time allow the computer - to reboot. - </P -></LI -></OL -><P ->Under Windows 9x / Me Profiles are downloaded from the Primary Logon. -If you have the Primary Logon as 'Client for Novell Networks', then -the profiles and logon script will be downloaded from your Novell -Server. If you have the Primary Logon as 'Windows Logon', then the -profiles will be loaded from the local machine - a bit against the -concept of roaming profiles, it would seem!</P -><P ->You will now find that the Microsoft Networks Login box contains -[user, password, domain] instead of just [user, password]. Type in -the samba server's domain name (or any other domain known to exist, -but bear in mind that the user will be authenticated against this -domain and profiles downloaded from it, if that domain logon server -supports it), user name and user's password.</P -><P ->Once the user has been successfully validated, the Windows 9x / Me machine -will inform you that 'The user has not logged on before' and asks you -if you wish to save the user's preferences? Select 'yes'.</P -><P ->Once the Windows 9x / Me client comes up with the desktop, you should be able -to examine the contents of the directory specified in the "logon path" -on the samba server and verify that the "Desktop", "Start Menu", -"Programs" and "Nethood" folders have been created.</P -><P ->These folders will be cached locally on the client, and updated when -the user logs off (if you haven't made them read-only by then). -You will find that if the user creates further folders or short-cuts, -that the client will merge the profile contents downloaded with the -contents of the profile directory already on the local client, taking -the newest folders and short-cuts from each set.</P -><P ->If you have made the folders / files read-only on the samba server, -then you will get errors from the Windows 9x / Me machine on logon and logout, as -it attempts to merge the local and the remote profile. Basically, if -you have any errors reported by the Windows 9x / Me machine, check the Unix file -permissions and ownership rights on the profile directory contents, -on the samba server.</P -><P ->If you have problems creating user profiles, you can reset the user's -local desktop cache, as shown below. When this user then next logs in, -they will be told that they are logging in "for the first time".</P -><P -></P -><OL -TYPE="1" -><LI -><P -> instead of logging in under the [user, password, domain] dialog, - press escape. - </P -></LI -><LI -><P -> run the regedit.exe program, and look in: - </P -><P -> HKEY_LOCAL_MACHINE\Windows\CurrentVersion\ProfileList - </P -><P -> you will find an entry, for each user, of ProfilePath. Note the - contents of this key (likely to be c:\windows\profiles\username), - then delete the key ProfilePath for the required user. - - [Exit the registry editor]. - - </P -></LI -><LI -><P -> <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->WARNING</I -></SPAN -> - before deleting the contents of the - directory listed in the ProfilePath (this is likely to be - <TT -CLASS="FILENAME" ->c:\windows\profiles\username)</TT ->, ask them if they - have any important files stored on their desktop or in their start menu. - Delete the contents of the directory ProfilePath (making a backup if any - of the files are needed). - </P -><P -> This will have the effect of removing the local (read-only hidden - system file) user.DAT in their profile directory, as well as the - local "desktop", "nethood", "start menu" and "programs" folders. - </P -></LI -><LI -><P -> search for the user's .PWL password-caching file in the c:\windows - directory, and delete it. - </P -></LI -><LI -><P -> log off the windows 9x / Me client. - </P -></LI -><LI -><P -> check the contents of the profile path (see "logon path" described - above), and delete the user.DAT or user.MAN file for the user, - making a backup if required. - </P -></LI -></OL -><P ->If all else fails, increase samba's debug log levels to between 3 and 10, -and / or run a packet trace program such as ethereal or netmon.exe, and -look for error messages.</P -><P ->If you have access to an Windows NT4/200x server, then first set up roaming profiles -and / or netlogons on the Windows NT4/200x server. Make a packet trace, or examine -the example packet traces provided with Windows NT4/200x server, and see what the -differences are with the equivalent samba trace.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3175" ->18.1.2.2. Windows NT4 Workstation</A -></H3 -><P ->When a user first logs in to a Windows NT Workstation, the profile -NTuser.DAT is created. The profile location can be now specified -through the "logon path" parameter.</P -><P ->There is a parameter that is now available for use with NT Profiles: -"logon drive". This should be set to <TT -CLASS="FILENAME" ->H:</TT -> or any other drive, and -should be used in conjunction with the new "logon home" parameter.</P -><P ->The entry for the NT4 profile is a _directory_ not a file. The NT -help on profiles mentions that a directory is also created with a .PDS -extension. The user, while logging in, must have write permission to -create the full profile path (and the folder with the .PDS extension -for those situations where it might be created.)</P -><P ->In the profile directory, Windows NT4 creates more folders than Windows 9x / Me. -It creates "Application Data" and others, as well as "Desktop", "Nethood", -"Start Menu" and "Programs". The profile itself is stored in a file -NTuser.DAT. Nothing appears to be stored in the .PDS directory, and -its purpose is currently unknown.</P -><P ->You can use the System Control Panel to copy a local profile onto -a samba server (see NT Help on profiles: it is also capable of firing -up the correct location in the System Control Panel for you). The -NT Help file also mentions that renaming NTuser.DAT to NTuser.MAN -turns a profile into a mandatory one.</P -><P ->The case of the profile is significant. The file must be called -NTuser.DAT or, for a mandatory profile, NTuser.MAN.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3184" ->18.1.2.3. Windows 2000/XP Professional</A -></H3 -><P ->You must first convert the profile from a local profile to a domain -profile on the MS Windows workstation as follows:</P -><P -></P -><UL -><LI -><P -> Log on as the LOCAL workstation administrator. - </P -></LI -><LI -><P -> Right click on the 'My Computer' Icon, select 'Properties' - </P -></LI -><LI -><P -> Click on the 'User Profiles' tab - </P -></LI -><LI -><P -> Select the profile you wish to convert (click on it once) - </P -></LI -><LI -><P -> Click on the button 'Copy To' - </P -></LI -><LI -><P -> In the "Permitted to use" box, click on the 'Change' button. - </P -></LI -><LI -><P -> Click on the 'Look in" area that lists the machine name, when you click - here it will open up a selection box. Click on the domain to which the - profile must be accessible. - </P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="90%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->You will need to log on if a logon box opens up. Eg: In the connect - as: MIDEARTH\root, password: mypassword.</P -></TD -></TR -></TABLE -></DIV -></LI -><LI -><P -> To make the profile capable of being used by anyone select 'Everyone' - </P -></LI -><LI -><P -> Click OK. The Selection box will close. - </P -></LI -><LI -><P -> Now click on the 'Ok' button to create the profile in the path you - nominated. - </P -></LI -></UL -><P ->Done. You now have a profile that can be editted using the samba-3.0.0 -<TT -CLASS="FILENAME" ->profiles</TT -> tool.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Under NT/2K the use of mandotory profiles forces the use of MS Exchange -storage of mail data. That keeps desktop profiles usable.</P -></TD -></TR -></TABLE -></DIV -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -></P -><UL -><LI -><P ->This is a security check new to Windows XP (or maybe only -Windows XP service pack 1). It can be disabled via a group policy in -Active Directory. The policy is:</P -><P ->"Computer Configuration\Administrative Templates\System\User -Profiles\Do not check for user ownership of Roaming Profile Folders"</P -><P ->...and it should be set to "Enabled". -Does the new version of samba have an Active Directory analogue? If so, -then you may be able to set the policy through this.</P -><P ->If you cannot set group policies in samba, then you may be able to set -the policy locally on each machine. If you want to try this, then do -the following (N.B. I don't know for sure that this will work in the -same way as a domain group policy):</P -></LI -><LI -><P ->On the XP workstation log in with an Administrator account.</P -></LI -><LI -><P ->Click: "Start", "Run"</P -></LI -><LI -><P ->Type: "mmc"</P -></LI -><LI -><P ->Click: "OK"</P -></LI -><LI -><P ->A Microsoft Management Console should appear.</P -></LI -><LI -><P ->Click: File, "Add/Remove Snap-in...", "Add"</P -></LI -><LI -><P ->Double-Click: "Group Policy"</P -></LI -><LI -><P ->Click: "Finish", "Close"</P -></LI -><LI -><P ->Click: "OK"</P -></LI -><LI -><P ->In the "Console Root" window:</P -></LI -><LI -><P ->Expand: "Local Computer Policy", "Computer Configuration",</P -></LI -><LI -><P ->"Administrative Templates", "System", "User Profiles"</P -></LI -><LI -><P ->Double-Click: "Do not check for user ownership of Roaming Profile</P -></LI -><LI -><P ->Folders"</P -></LI -><LI -><P ->Select: "Enabled"</P -></LI -><LI -><P ->Click: OK"</P -></LI -><LI -><P ->Close the whole console. You do not need to save the settings (this - refers to the console settings rather than the policies you have - changed).</P -></LI -><LI -><P ->Reboot</P -></LI -></UL -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3257" ->18.1.3. Sharing Profiles between W9x/Me and NT4/200x/XP workstations</A -></H2 -><P ->Sharing of desktop profiles between Windows versions is NOT recommended. -Desktop profiles are an evolving phenomenon and profiles for later versions -of MS Windows clients add features that may interfere with earlier versions -of MS Windows clients. Probably the more salient reason to NOT mix profiles -is that when logging off an earlier version of MS Windows the older format -of profile contents may overwrite information that belongs to the newer -version resulting in loss of profile information content when that user logs -on again with the newer version of MS Windows.</P -><P ->If you then want to share the same Start Menu / Desktop with W9x/Me, you will -need to specify a common location for the profiles. The smb.conf parameters -that need to be common are <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->logon path</I -></SPAN -> and -<SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->logon home</I -></SPAN ->.</P -><P ->If you have this set up correctly, you will find separate user.DAT and -NTuser.DAT files in the same profile directory.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3264" ->18.1.4. Profile Migration from Windows NT4/200x Server to Samba</A -></H2 -><P ->There is nothing to stop you specifying any path that you like for the -location of users' profiles. Therefore, you could specify that the -profile be stored on a samba server, or any other SMB server, as long as -that SMB server supports encrypted passwords.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3267" ->18.1.4.1. Windows NT4 Profile Management Tools</A -></H3 -><P ->Unfortunately, the Resource Kit information is specific to the version of MS Windows -NT4/200x. The correct resource kit is required for each platform.</P -><P ->Here is a quick guide:</P -><P -></P -><UL -><LI -><P ->On your NT4 Domain Controller, right click on 'My Computer', then -select the tab labelled 'User Profiles'.</P -></LI -><LI -><P ->Select a user profile you want to migrate and click on it.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="90%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->I am using the term "migrate" lossely. You can copy a profile to -create a group profile. You can give the user 'Everyone' rights to the -profile you copy this to. That is what you need to do, since your samba -domain is not a member of a trust relationship with your NT4 PDC.</P -></TD -></TR -></TABLE -></DIV -></LI -><LI -><P ->Click the 'Copy To' button.</P -></LI -><LI -><P ->In the box labelled 'Copy Profile to' add your new path, eg: - <TT -CLASS="FILENAME" ->c:\temp\foobar</TT -></P -></LI -><LI -><P ->Click on the button labelled 'Change' in the "Permitted to use" box.</P -></LI -><LI -><P ->Click on the group 'Everyone' and then click OK. This closes the - 'chose user' box.</P -></LI -><LI -><P ->Now click OK.</P -></LI -></UL -><P ->Follow the above for every profile you need to migrate.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3290" ->18.1.4.2. Side bar Notes</A -></H3 -><P ->You should obtain the SID of your NT4 domain. You can use smbpasswd to do -this. Read the man page.</P -><P ->With Samba-3.0.0 alpha code you can import all you NT4 domain accounts -using the net samsync method. This way you can retain your profile -settings as well as all your users.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3294" ->18.1.4.3. moveuser.exe</A -></H3 -><P ->The W2K professional resource kit has moveuser.exe. moveuser.exe changes -the security of a profile from one user to another. This allows the account -domain to change, and/or the user name to change.</P -></DIV -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3297" ->18.1.4.4. Get SID</A -></H3 -><P ->You can identify the SID by using GetSID.exe from the Windows NT Server 4.0 -Resource Kit.</P -><P ->Windows NT 4.0 stores the local profile information in the registry under -the following key: -HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</P -><P ->Under the ProfileList key, there will be subkeys named with the SIDs of the -users who have logged on to this computer. (To find the profile information -for the user whose locally cached profile you want to move, find the SID for -the user with the GetSID.exe utility.) Inside of the appropriate user's -subkey, you will see a string value named ProfileImagePath.</P -></DIV -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3302" ->18.2. Mandatory profiles</A -></H1 -><P ->A Mandatory Profile is a profile that the user does NOT have the ability to overwrite. -During the user's session it may be possible to change the desktop environment, but -as the user logs out all changes made will be lost. If it is desired to NOT allow the -user any ability to change the desktop environment then this must be done through -policy settings. See previous chapter.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P ->Under NO circumstances should the profile directory (or it's contents) be made read-only -as this may render the profile un-usable.</P -></TD -></TR -></TABLE -></DIV -><P ->For MS Windows NT4/200x/XP the above method can be used to create mandatory profiles -also. To convert a group profile into a mandatory profile simply locate the NTUser.DAT -file in the copied profile and rename it to NTUser.MAN.</P -><P ->For MS Windows 9x / Me it is the User.DAT file that must be renamed to User.MAN to -affect a mandatory profile.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3309" ->18.3. Creating/Managing Group Profiles</A -></H1 -><P ->Most organisations are arranged into departments. There is a nice benenfit in -this fact since usually most users in a department will require the same desktop -applications and the same desktop layout. MS Windows NT4/200x/XP will allow the -use of Group Profiles. A Group Profile is a profile that is created firstly using -a template (example) user. Then using the profile migration tool (see above) the -profile is assigned access rights for the user group that needs to be given access -to the group profile.</P -><P ->The next step is rather important. PLEASE NOTE: Instead of assigning a group profile -to users (ie: Using User Manager) on a "per user" basis, the group itself is assigned -the now modified profile.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> Be careful with group profiles, if the user who is a member of a group also - has a personal profile, then the result will be a fusion (merge) of the two. - </P -></TD -></TR -></TABLE -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3315" ->18.4. Default Profile for Windows Users</A -></H1 -><P ->MS Windows 9x / Me and NT4/200x/XP will use a default profile for any user for whom -a profile does not already exist. Armed with a knowledge of where the default profile -is located on the Windows workstation, and knowing which registry keys affect the path -from which the default profile is created, it is possible to modify the default profile -to one that has been optimised for the site. This has significant administrative -advantages.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3318" ->18.4.1. MS Windows 9x/Me</A -></H2 -><P ->To enable default per use profiles in Windows 9x / Me you can either use the Windows 98 System -Policy Editor or change the registry directly.</P -><P ->To enable default per user profiles in Windows 9x / Me, launch the System Policy Editor, then -select File -> Open Registry, then click on the Local Computer icon, click on Windows 98 System, -select User Profiles, click on the enable box. Do not forget to save the registry changes.</P -><P ->To modify the registry directly, launch the Registry Editor (regedit.exe), select the hive -<TT -CLASS="FILENAME" ->HKEY_LOCAL_MACHINE\Network\Logon</TT ->. Now add a DWORD type key with the name -"User Profiles", to enable user profiles set the value to 1, to disable user profiles set it to 0.</P -><DIV -CLASS="SECT3" -><H3 -CLASS="SECT3" -><A -NAME="AEN3324" ->18.4.1.1. How User Profiles Are Handled in Windows 9x / Me?</A -></H3 -><P ->When a user logs on to a Windows 9x / Me machine, the local profile path, -<TT -CLASS="FILENAME" ->HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\ProfileList</TT ->, is checked -for an existing entry for that user:</P -><P ->If the user has an entry in this registry location, Windows 9x / Me checks for a locally cached -version of the user profile. Windows 9x / Me also checks the user's home directory (or other -specified directory if the location has been modified) on the server for the User Profile. -If a profile exists in both locations, the newer of the two is used. If the User Profile exists -on the server, but does not exist on the local machine, the profile on the server is downloaded -and used. If the User Profile only exists on the local machine, that copy is used.</P -><P ->If a User Profile is not found in either location, the Default User Profile from the Windows 9x / Me -machine is used and is copied to a newly created folder for the logged on user. At log off, any -changes that the user made are written to the user's local profile. If the user has a roaming -profile, the changes are written to the user's profile on the server.</P -></DIV -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3330" ->18.4.2. MS Windows NT4 Workstation</A -></H2 -><P ->On MS Windows NT4 the default user profile is obtained from the location -<TT -CLASS="FILENAME" ->%SystemRoot%\Profiles</TT -> which in a default installation will translate to -<TT -CLASS="FILENAME" ->C:\WinNT\Profiles</TT ->. Under this directory on a clean install there will be -three (3) directories: <TT -CLASS="FILENAME" ->Administrator, All Users, Default User</TT ->.</P -><P ->The <TT -CLASS="FILENAME" ->All Users</TT -> directory contains menu settings that are common across all -system users. The <TT -CLASS="FILENAME" ->Default User</TT -> directory contains menu entries that are -customisable per user depending on the profile settings chosen/created.</P -><P ->When a new user first logs onto an MS Windows NT4 machine a new profile is created from:</P -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->All Users settings</TD -></TR -><TR -><TD ->Default User settings (contains the default NTUser.DAT file)</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->When a user logs onto an MS Windows NT4 machine that is a member of a Microsoft security domain -the following steps are followed in respect of profile handling:</P -><P -></P -><OL -TYPE="1" -><LI -><P -> The users' account information which is obtained during the logon process contains - the location of the users' desktop profile. The profile path may be local to the - machine or it may be located on a network share. If there exists a profile at the location - of the path from the user account, then this profile is copied to the location - <TT -CLASS="FILENAME" ->%SystemRoot%\Profiles\%USERNAME%</TT ->. This profile then inherits the - settings in the <TT -CLASS="FILENAME" ->All Users</TT -> profile in the <TT -CLASS="FILENAME" ->%SystemRoot%\Profiles</TT -> - location. - </P -></LI -><LI -><P -> If the user account has a profile path, but at it's location a profile does not exist, - then a new profile is created in the <TT -CLASS="FILENAME" ->%SystemRoot%\Profiles\%USERNAME%</TT -> - directory from reading the <TT -CLASS="FILENAME" ->Default User</TT -> profile. - </P -></LI -><LI -><P -> If the NETLOGON share on the authenticating server (logon server) contains a policy file - (<TT -CLASS="FILENAME" ->NTConfig.POL</TT ->) then it's contents are applied to the <TT -CLASS="FILENAME" ->NTUser.DAT</TT -> - which is applied to the <TT -CLASS="FILENAME" ->HKEY_CURRENT_USER</TT -> part of the registry. - </P -></LI -><LI -><P -> When the user logs out, if the profile is set to be a roaming profile it will be written - out to the location of the profile. The <TT -CLASS="FILENAME" ->NTuser.DAT</TT -> file is then - re-created from the contents of the <TT -CLASS="FILENAME" ->HKEY_CURRENT_USER</TT -> contents. - Thus, should there not exist in the NETLOGON share an <TT -CLASS="FILENAME" ->NTConfig.POL</TT -> at the - next logon, the effect of the provious <TT -CLASS="FILENAME" ->NTConfig.POL</TT -> will still be held - in the profile. The effect of this is known as <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->tatooing</I -></SPAN ->. - </P -></LI -></OL -><P ->MS Windows NT4 profiles may be <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Local</I -></SPAN -> or <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Roaming</I -></SPAN ->. A Local profile -will stored in the <TT -CLASS="FILENAME" ->%SystemRoot%\Profiles\%USERNAME%</TT -> location. A roaming profile will -also remain stored in the same way, unless the following registry key is created:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\winlogon\ - "DeleteRoamingCache"=dword:00000001</PRE -> - -In which case, the local copy (in <TT -CLASS="FILENAME" ->%SystemRoot%\Profiles\%USERNAME%</TT ->) will be -deleted on logout.</P -><P ->Under MS Windows NT4 default locations for common resources (like <TT -CLASS="FILENAME" ->My Documents</TT -> -may be redirected to a network share by modifying the following registry keys. These changes may be affected -via use of the System Policy Editor (to do so may require that you create your owns template extension -for the policy editor to allow this to be done through the GUI. Another way to do this is by way of first -creating a default user profile, then while logged in as that user, run regedt32 to edit the key settings.</P -><P ->The Registry Hive key that affects the behaviour of folders that are part of the default user profile -are controlled by entries on Windows NT4 is:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> HKEY_CURRENT_USER - \Software - \Microsoft - \Windows - \CurrentVersion - \Explorer - \User Shell Folders\</PRE -></P -><P ->The above hive key contains a list of automatically managed folders. The default entries are:</P -><P -> <PRE -CLASS="PROGRAMLISTING" -> Name Default Value - -------------- ----------------------------------------- - AppData %USERPROFILE%\Application Data - Desktop %USERPROFILE%\Desktop - Favorites %USERPROFILE%\Favorites - NetHood %USERPROFILE%\NetHood - PrintHood %USERPROFILE%\PrintHood - Programs %USERPROFILE%\Start Menu\Programs - Recent %USERPROFILE%\Recent - SendTo %USERPROFILE%\SendTo - Start Menu %USERPROFILE%\Start Menu - Startup %USERPROFILE%\Start Menu\Programs\Startup - </PRE -> - </P -><P ->The registry key that contains the location of the default profile settings is: - -<PRE -CLASS="PROGRAMLISTING" -> HKEY_LOCAL_MACHINE - \SOFTWARE - \Microsoft - \Windows - \CurrentVersion - \Explorer - \User Shell Folders</PRE -> - -The default entries are: - -<PRE -CLASS="PROGRAMLISTING" -> Common Desktop %SystemRoot%\Profiles\All Users\Desktop - Common Programs %SystemRoot%\Profiles\All Users\Programs - Common Start Menu %SystemRoot%\Profiles\All Users\Start Menu - Common Startu p %SystemRoot%\Profiles\All Users\Start Menu\Progams\Startup</PRE -></P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3384" ->18.4.3. MS Windows 200x/XP</A -></H2 -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> MS Windows XP Home Edition does use default per user profiles, but can not participate - in domain security, can not log onto an NT/ADS style domain, and thus can obtain the profile - only from itself. While there are benefits in doing this the beauty of those MS Windows - clients that CAN participate in domain logon processes allows the administrator to create - a global default profile and to enforce it through the use of Group Policy Objects (GPOs). - </P -></TD -></TR -></TABLE -></DIV -><P ->When a new user first logs onto MS Windows 200x/XP machine the default profile is obtained from -<TT -CLASS="FILENAME" ->C:\Documents and Settings\Default User</TT ->. The administrator can modify (or change -the contents of this location and MS Windows 200x/XP will gladly user it. This is far from the optimum -arrangement since it will involve copying a new default profile to every MS Windows 200x/XP client -workstation. </P -><P ->When MS Windows 200x/XP participate in a domain security context, and if the default user -profile is not found, then the client will search for a default profile in the NETLOGON share -of the authenticating server. ie: In MS Windows parlance: -<TT -CLASS="FILENAME" ->%LOGONSERVER%\NETLOGON\Default User</TT -> and if one exits there it will copy this -to the workstation to the <TT -CLASS="FILENAME" ->C:\Documents and Settings\</TT -> under the Windows -login name of the user.</P -><DIV -CLASS="NOTE" -><P -></P -><TABLE -CLASS="NOTE" -WIDTH="100%" -BORDER="0" -><TR -><TD -WIDTH="25" -ALIGN="CENTER" -VALIGN="TOP" -><IMG -SRC="/usr/share/sgml/docbook/stylesheet/dsssl/modular/images/note.gif" -HSPACE="5" -ALT="Note"></TD -><TD -ALIGN="LEFT" -VALIGN="TOP" -><P -> This path translates, in Samba parlance, to the smb.conf [NETLOGON] share. The directory - should be created at the root of this share and msut be called <TT -CLASS="FILENAME" ->Default Profile</TT ->. - </P -></TD -></TR -></TABLE -></DIV -><P ->If a default profile does not exist in this location then MS Windows 200x/XP will use the local -default profile.</P -><P ->On loging out, the users' desktop profile will be stored to the location specified in the registry -settings that pertain to the user. If no specific policies have been created, or passed to the client -during the login process (as Samba does automatically), then the user's profile will be written to -the local machine only under the path <TT -CLASS="FILENAME" ->C:\Documents and Settings\%USERNAME%</TT ->.</P -><P ->Those wishing to modify the default behaviour can do so through up to three methods:</P -><P -></P -><UL -><LI -><P -> Modify the registry keys on the local machine manually and place the new default profile in the - NETLOGON share root - NOT recommended as it is maintenance intensive. - </P -></LI -><LI -><P -> Create an NT4 style NTConfig.POL file that specified this behaviour and locate this file - in the root of the NETLOGON share along with the new default profile. - </P -></LI -><LI -><P -> Create a GPO that enforces this through Active Directory, and place the new default profile - in the NETLOGON share. - </P -></LI -></UL -><P ->The Registry Hive key that affects the behaviour of folders that are part of the default user profile -are controlled by entries on Windows 200x/XP is:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> HKEY_CURRENT_USER - \Software - \Microsoft - \Windows - \CurrentVersion - \Explorer - \User Shell Folders\</PRE -></P -><P ->The above hive key contains a list of automatically managed folders. The default entries are:</P -><P -> <PRE -CLASS="PROGRAMLISTING" -> Name Default Value - -------------- ----------------------------------------- - AppData %USERPROFILE%\Application Data - Cache %USERPROFILE%\Local Settings\Temporary Internet Files - Cookies %USERPROFILE%\Cookies - Desktop %USERPROFILE%\Desktop - Favorites %USERPROFILE%\Favorites - History %USERPROFILE%\Local Settings\History - Local AppData %USERPROFILE%\Local Settings\Application Data - Local Settings %USERPROFILE%\Local Settings - My Pictures %USERPROFILE%\My Documents\My Pictures - NetHood %USERPROFILE%\NetHood - Personal %USERPROFILE%\My Documents - PrintHood %USERPROFILE%\PrintHood - Programs %USERPROFILE%\Start Menu\Programs - Recent %USERPROFILE%\Recent - SendTo %USERPROFILE%\SendTo - Start Menu %USERPROFILE%\Start Menu - Startup %USERPROFILE%\Start Menu\Programs\Startup - Templates %USERPROFILE%\Templates - </PRE -> - </P -><P ->There is also an entry called "Default" that has no value set. The default entry is of type REG_SZ, all -the others are of type REG_EXPAND_SZ.</P -><P ->It makes a huge difference to the speed of handling roaming user profiles if all the folders are -stored on a dedicated location on a network server. This means that it will NOT be necessary to -write Outlook PST file over the network for every login and logout.</P -><P ->To set this to a network location you could use the following examples: - -<PRE -CLASS="PROGRAMLISTING" -> %LOGONSERVER%\%USERNAME%\Default Folders</PRE -> - -This would store the folders in the user's home directory under a directory called "Default Folders" - -You could also use: - -<PRE -CLASS="PROGRAMLISTING" -> \\SambaServer\FolderShare\%USERNAME%</PRE -> - -in which case the default folders will be stored in the server named <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->SambaServer</I -></SPAN -> -in the share called <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->FolderShare</I -></SPAN -> under a directory that has the name of the MS Windows -user as seen by the Linux/Unix file system.</P -><P ->Please note that once you have created a default profile share, you MUST migrate a user's profile -(default or custom) to it.</P -><P ->MS Windows 200x/XP profiles may be <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Local</I -></SPAN -> or <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Roaming</I -></SPAN ->. -A roaming profile will be cached locally unless the following registry key is created:</P -><P -><PRE -CLASS="PROGRAMLISTING" -> HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\Windows NT\CurrentVersion\winlogon\ - "DeleteRoamingCache"=dword:00000001</PRE -> - -In which case, the local cache copy will be deleted on logout.</P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="policymgmt.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="interdomaintrusts.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->System and Account Policies</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Interdomain Trust Relationships</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/samba-howto-collection.html b/docs/htmldocs/samba-howto-collection.html deleted file mode 100644 index 3d2a95873e..0000000000 --- a/docs/htmldocs/samba-howto-collection.html +++ /dev/null @@ -1,1394 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->SAMBA Project Documentation</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="NEXT" -TITLE="General installation" -HREF="introduction.html"></HEAD -><BODY -CLASS="BOOK" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="BOOK" -><A -NAME="SAMBA-HOWTO-COLLECTION" -></A -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="TITLE" -><A -NAME="SAMBA-HOWTO-COLLECTION" ->SAMBA Project Documentation</A -></H1 -><H3 -CLASS="AUTHOR" -><A -NAME="AEN4" -></A ->SAMBA Team</H3 -><DIV -CLASS="AFFILIATION" -><DIV -CLASS="ADDRESS" -><P -CLASS="ADDRESS" -><CODE -CLASS="EMAIL" -><<A -HREF="mailto:samba@samba.org" ->samba@samba.org</A ->></CODE -></P -></DIV -></DIV -><H4 -CLASS="EDITEDBY" ->Edited by</H4 -><H3 -CLASS="EDITOR" ->Jelmer R. Vernooij</H3 -><H3 -CLASS="EDITOR" ->John H. Terpstra</H3 -><H3 -CLASS="EDITOR" ->Gerald (Jerry) Carter</H3 -><DIV -><DIV -CLASS="ABSTRACT" -><P -></P -><A -NAME="AEN34" -></A -><P ->This book is a collection of HOWTOs added to Samba documentation over the years. -Samba is always under development, and so is it's documentation. -The most recent version of this document -can be found at <A -HREF="http://www.samba.org/" -TARGET="_top" ->http://www.samba.org/</A -> -on the "Documentation" page. Please send updates to <A -HREF="mailto:jerry@samba.org" -TARGET="_top" ->jerry@samba.org</A -> or -<A -HREF="mailto:jelmer@samba.org" -TARGET="_top" ->jelmer@samba.org</A ->.</P -><P -></P -></DIV -></DIV -><DIV -CLASS="LEGALNOTICE" -><P -></P -><A -NAME="AEN39" -></A -><P ->This documentation is distributed under the GNU General Public License (GPL) -version 2. A copy of the license is included with the Samba source -distribution. A copy can be found on-line at <A -HREF="http://www.fsf.org/licenses/gpl.txt" -TARGET="_top" ->http://www.fsf.org/licenses/gpl.txt</A -></P -><P -></P -></DIV -><HR></DIV -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->I. <A -HREF="introduction.html" ->General installation</A -></DT -><DD -><DL -><DT ->1. <A -HREF="introsmb.html" ->Introduction to Samba</A -></DT -><DD -><DL -><DT ->1.1. <A -HREF="introsmb.html#AEN61" ->Background</A -></DT -><DT ->1.2. <A -HREF="introsmb.html#AEN67" ->Terminology</A -></DT -><DT ->1.3. <A -HREF="introsmb.html#AEN91" ->Related Projects</A -></DT -><DT ->1.4. <A -HREF="introsmb.html#AEN100" ->SMB Methodology</A -></DT -><DT ->1.5. <A -HREF="introsmb.html#AEN115" ->Additional Resources</A -></DT -><DT ->1.6. <A -HREF="introsmb.html#AEN151" ->Epilogue</A -></DT -><DT ->1.7. <A -HREF="introsmb.html#AEN162" ->Miscellaneous</A -></DT -></DL -></DD -><DT ->2. <A -HREF="install.html" ->How to Install and Test SAMBA</A -></DT -><DD -><DL -><DT ->2.1. <A -HREF="install.html#AEN187" ->Obtaining and installing samba</A -></DT -><DT ->2.2. <A -HREF="install.html#AEN193" ->Configuring samba</A -></DT -><DT ->2.3. <A -HREF="install.html#AEN229" ->Try listing the shares available on your - server</A -></DT -><DT ->2.4. <A -HREF="install.html#AEN238" ->Try connecting with the unix client</A -></DT -><DT ->2.5. <A -HREF="install.html#AEN259" ->Try connecting from a DOS, WfWg, Win9x, WinNT, - Win2k, OS/2, etc... client</A -></DT -><DT ->2.6. <A -HREF="install.html#AEN272" ->What If Things Don't Work?</A -></DT -></DL -></DD -><DT ->3. <A -HREF="browsing-quick.html" ->Quick Cross Subnet Browsing / Cross Workgroup Browsing guide</A -></DT -><DD -><DL -><DT ->3.1. <A -HREF="browsing-quick.html#AEN305" ->Discussion</A -></DT -><DT ->3.2. <A -HREF="browsing-quick.html#AEN326" ->How browsing functions and how to deploy stable and -dependable browsing using Samba</A -></DT -><DT ->3.3. <A -HREF="browsing-quick.html#AEN340" ->Use of the <B -CLASS="COMMAND" ->Remote Announce</B -> parameter</A -></DT -><DT ->3.4. <A -HREF="browsing-quick.html#AEN363" ->Use of the <B -CLASS="COMMAND" ->Remote Browse Sync</B -> parameter</A -></DT -><DT ->3.5. <A -HREF="browsing-quick.html#AEN374" ->Use of WINS</A -></DT -><DT ->3.6. <A -HREF="browsing-quick.html#AEN400" ->Do NOT use more than one (1) protocol on MS Windows machines</A -></DT -><DT ->3.7. <A -HREF="browsing-quick.html#AEN408" ->Name Resolution Order</A -></DT -></DL -></DD -><DT ->4. <A -HREF="passdb.html" ->User information database</A -></DT -><DD -><DL -><DT ->4.1. <A -HREF="passdb.html#AEN468" ->Introduction</A -></DT -><DT ->4.2. <A -HREF="passdb.html#AEN475" ->Important Notes About Security</A -></DT -><DT ->4.3. <A -HREF="passdb.html#AEN513" ->The smbpasswd Command</A -></DT -><DT ->4.4. <A -HREF="passdb.html#AEN544" ->Plain text</A -></DT -><DT ->4.5. <A -HREF="passdb.html#AEN549" ->TDB</A -></DT -><DT ->4.6. <A -HREF="passdb.html#AEN552" ->LDAP</A -></DT -><DT ->4.7. <A -HREF="passdb.html#AEN765" ->MySQL</A -></DT -><DT ->4.8. <A -HREF="passdb.html#AEN807" ->XML</A -></DT -></DL -></DD -></DL -></DD -><DT ->II. <A -HREF="type.html" ->Type of installation</A -></DT -><DD -><DL -><DT ->5. <A -HREF="servertype.html" ->Nomenclature of Server Types</A -></DT -><DD -><DL -><DT ->5.1. <A -HREF="servertype.html#AEN846" ->Stand Alone Server</A -></DT -><DT ->5.2. <A -HREF="servertype.html#AEN853" ->Domain Member Server</A -></DT -><DT ->5.3. <A -HREF="servertype.html#AEN859" ->Domain Controller</A -></DT -></DL -></DD -><DT ->6. <A -HREF="securitylevels.html" ->Samba as Stand-Alone Server</A -></DT -><DD -><DL -><DT ->6.1. <A -HREF="securitylevels.html#AEN896" ->User and Share security level</A -></DT -></DL -></DD -><DT ->7. <A -HREF="samba-pdc.html" ->Samba as an NT4 or Win2k Primary Domain Controller</A -></DT -><DD -><DL -><DT ->7.1. <A -HREF="samba-pdc.html#AEN1009" ->Prerequisite Reading</A -></DT -><DT ->7.2. <A -HREF="samba-pdc.html#AEN1013" ->Background</A -></DT -><DT ->7.3. <A -HREF="samba-pdc.html#AEN1053" ->Configuring the Samba Domain Controller</A -></DT -><DT ->7.4. <A -HREF="samba-pdc.html#AEN1095" ->Creating Machine Trust Accounts and Joining Clients to the Domain</A -></DT -><DT ->7.5. <A -HREF="samba-pdc.html#AEN1211" ->Common Problems and Errors</A -></DT -><DT ->7.6. <A -HREF="samba-pdc.html#AEN1240" ->Domain Control for Windows 9x/ME</A -></DT -></DL -></DD -><DT ->8. <A -HREF="samba-bdc.html" ->Samba Backup Domain Controller to Samba Domain Control</A -></DT -><DD -><DL -><DT ->8.1. <A -HREF="samba-bdc.html#AEN1293" ->Prerequisite Reading</A -></DT -><DT ->8.2. <A -HREF="samba-bdc.html#AEN1297" ->Background</A -></DT -><DT ->8.3. <A -HREF="samba-bdc.html#AEN1305" ->What qualifies a Domain Controller on the network?</A -></DT -><DT ->8.4. <A -HREF="samba-bdc.html#AEN1314" ->Can Samba be a Backup Domain Controller to an NT PDC?</A -></DT -><DT ->8.5. <A -HREF="samba-bdc.html#AEN1319" ->How do I set up a Samba BDC?</A -></DT -></DL -></DD -><DT ->9. <A -HREF="ads.html" ->Samba as a ADS domain member</A -></DT -><DD -><DL -><DT ->9.1. <A -HREF="ads.html#AEN1363" ->Setup your <TT -CLASS="FILENAME" ->smb.conf</TT -></A -></DT -><DT ->9.2. <A -HREF="ads.html#AEN1376" ->Setup your <TT -CLASS="FILENAME" ->/etc/krb5.conf</TT -></A -></DT -><DT ->9.3. <A -HREF="ads.html#ADS-CREATE-MACHINE-ACCOUNT" ->Create the computer account</A -></DT -><DT ->9.4. <A -HREF="ads.html#ADS-TEST-SERVER" ->Test your server setup</A -></DT -><DT ->9.5. <A -HREF="ads.html#ADS-TEST-SMBCLIENT" ->Testing with <SPAN -CLASS="APPLICATION" ->smbclient</SPAN -></A -></DT -><DT ->9.6. <A -HREF="ads.html#AEN1424" ->Notes</A -></DT -></DL -></DD -><DT ->10. <A -HREF="domain-member.html" ->Samba as a NT4 or Win2k domain member</A -></DT -><DD -><DL -><DT ->10.1. <A -HREF="domain-member.html#AEN1447" ->Joining an NT Domain with Samba 3.0</A -></DT -><DT ->10.2. <A -HREF="domain-member.html#AEN1501" ->Why is this better than security = server?</A -></DT -></DL -></DD -></DL -></DD -><DT ->III. <A -HREF="optional.html" ->Advanced Configuration</A -></DT -><DD -><DL -><DT ->11. <A -HREF="unix-permissions.html" ->UNIX Permission Bits and Windows NT Access Control Lists</A -></DT -><DD -><DL -><DT ->11.1. <A -HREF="unix-permissions.html#AEN1533" ->Viewing and changing UNIX permissions using the NT - security dialogs</A -></DT -><DT ->11.2. <A -HREF="unix-permissions.html#AEN1539" ->How to view file security on a Samba share</A -></DT -><DT ->11.3. <A -HREF="unix-permissions.html#AEN1550" ->Viewing file ownership</A -></DT -><DT ->11.4. <A -HREF="unix-permissions.html#AEN1570" ->Viewing file or directory permissions</A -></DT -><DT ->11.5. <A -HREF="unix-permissions.html#AEN1606" ->Modifying file or directory permissions</A -></DT -><DT ->11.6. <A -HREF="unix-permissions.html#AEN1628" ->Interaction with the standard Samba create mask - parameters</A -></DT -><DT ->11.7. <A -HREF="unix-permissions.html#AEN1681" ->Interaction with the standard Samba file attribute - mapping</A -></DT -></DL -></DD -><DT ->12. <A -HREF="groupmapping.html" ->Configuring Group Mapping</A -></DT -><DT ->13. <A -HREF="printing.html" ->Printing Support</A -></DT -><DD -><DL -><DT ->13.1. <A -HREF="printing.html#AEN1744" ->Introduction</A -></DT -><DT ->13.2. <A -HREF="printing.html#AEN1766" ->Configuration</A -></DT -><DT ->13.3. <A -HREF="printing.html#AEN1878" ->The Imprints Toolset</A -></DT -><DT ->13.4. <A -HREF="printing.html#AEN1921" ->Diagnosis</A -></DT -></DL -></DD -><DT ->14. <A -HREF="cups-printing.html" ->CUPS Printing Support</A -></DT -><DD -><DL -><DT ->14.1. <A -HREF="cups-printing.html#AEN2034" ->Introduction</A -></DT -><DT ->14.2. <A -HREF="cups-printing.html#AEN2041" ->Configuring <TT -CLASS="FILENAME" ->smb.conf</TT -> for CUPS</A -></DT -><DT ->14.3. <A -HREF="cups-printing.html#AEN2061" ->CUPS - RAW Print Through Mode</A -></DT -><DT ->14.4. <A -HREF="cups-printing.html#AEN2118" ->CUPS as a network PostScript RIP -- CUPS drivers working on server, Adobe -PostScript driver with CUPS-PPDs downloaded to clients</A -></DT -><DT ->14.5. <A -HREF="cups-printing.html#AEN2139" ->Windows Terminal Servers (WTS) as CUPS clients</A -></DT -><DT ->14.6. <A -HREF="cups-printing.html#AEN2143" ->Setting up CUPS for driver download</A -></DT -><DT ->14.7. <A -HREF="cups-printing.html#AEN2156" ->Sources of CUPS drivers / PPDs</A -></DT -><DT ->14.8. <A -HREF="cups-printing.html#AEN2212" ->The CUPS Filter Chains</A -></DT -><DT ->14.9. <A -HREF="cups-printing.html#AEN2251" ->CUPS Print Drivers and Devices</A -></DT -><DT ->14.10. <A -HREF="cups-printing.html#AEN2328" ->Limiting the number of pages users can print</A -></DT -><DT ->14.11. <A -HREF="cups-printing.html#AEN2424" ->Advanced Postscript Printing from MS Windows</A -></DT -><DT ->14.12. <A -HREF="cups-printing.html#AEN2439" ->Auto-Deletion of CUPS spool files</A -></DT -></DL -></DD -><DT ->15. <A -HREF="winbind.html" ->Unified Logons between Windows NT and UNIX using Winbind</A -></DT -><DD -><DL -><DT ->15.1. <A -HREF="winbind.html#AEN2515" ->Abstract</A -></DT -><DT ->15.2. <A -HREF="winbind.html#AEN2519" ->Introduction</A -></DT -><DT ->15.3. <A -HREF="winbind.html#AEN2532" ->What Winbind Provides</A -></DT -><DT ->15.4. <A -HREF="winbind.html#AEN2543" ->How Winbind Works</A -></DT -><DT ->15.5. <A -HREF="winbind.html#AEN2586" ->Installation and Configuration</A -></DT -><DT ->15.6. <A -HREF="winbind.html#AEN2843" ->Limitations</A -></DT -><DT ->15.7. <A -HREF="winbind.html#AEN2853" ->Conclusion</A -></DT -></DL -></DD -><DT ->16. <A -HREF="advancednetworkmanagement.html" ->Advanced Network Manangement</A -></DT -><DD -><DL -><DT ->16.1. <A -HREF="advancednetworkmanagement.html#AEN2869" ->Configuring Samba Share Access Controls</A -></DT -><DT ->16.2. <A -HREF="advancednetworkmanagement.html#AEN2907" ->Remote Server Administration</A -></DT -><DT ->16.3. <A -HREF="advancednetworkmanagement.html#AEN2924" ->Network Logon Script Magic</A -></DT -></DL -></DD -><DT ->17. <A -HREF="policymgmt.html" ->System and Account Policies</A -></DT -><DD -><DL -><DT ->17.1. <A -HREF="policymgmt.html#AEN2958" ->Creating and Managing System Policies</A -></DT -><DT ->17.2. <A -HREF="policymgmt.html#AEN3030" ->Managing Account/User Policies</A -></DT -><DT ->17.3. <A -HREF="policymgmt.html#AEN3052" ->System Startup and Logon Processing Overview</A -></DT -></DL -></DD -><DT ->18. <A -HREF="profilemgmt.html" ->Desktop Profile Management</A -></DT -><DD -><DL -><DT ->18.1. <A -HREF="profilemgmt.html#AEN3095" ->Roaming Profiles</A -></DT -><DT ->18.2. <A -HREF="profilemgmt.html#AEN3302" ->Mandatory profiles</A -></DT -><DT ->18.3. <A -HREF="profilemgmt.html#AEN3309" ->Creating/Managing Group Profiles</A -></DT -><DT ->18.4. <A -HREF="profilemgmt.html#AEN3315" ->Default Profile for Windows Users</A -></DT -></DL -></DD -><DT ->19. <A -HREF="interdomaintrusts.html" ->Interdomain Trust Relationships</A -></DT -><DD -><DL -><DT ->19.1. <A -HREF="interdomaintrusts.html#AEN3446" ->Trust Relationship Background</A -></DT -><DT ->19.2. <A -HREF="interdomaintrusts.html#AEN3455" ->Native MS Windows NT4 Trusts Configuration</A -></DT -><DT ->19.3. <A -HREF="interdomaintrusts.html#AEN3464" ->Configuring Samba NT-style Domain Trusts</A -></DT -></DL -></DD -><DT ->20. <A -HREF="pam.html" ->PAM Configuration for Centrally Managed Authentication</A -></DT -><DD -><DL -><DT ->20.1. <A -HREF="pam.html#AEN3507" ->Samba and PAM</A -></DT -><DT ->20.2. <A -HREF="pam.html#AEN3558" ->Distributed Authentication</A -></DT -><DT ->20.3. <A -HREF="pam.html#AEN3563" ->PAM Configuration in smb.conf</A -></DT -></DL -></DD -><DT ->21. <A -HREF="vfs.html" ->Stackable VFS modules</A -></DT -><DD -><DL -><DT ->21.1. <A -HREF="vfs.html#AEN3600" ->Introduction and configuration</A -></DT -><DT ->21.2. <A -HREF="vfs.html#AEN3609" ->Included modules</A -></DT -><DT ->21.3. <A -HREF="vfs.html#AEN3667" ->VFS modules available elsewhere</A -></DT -></DL -></DD -><DT ->22. <A -HREF="msdfs.html" ->Hosting a Microsoft Distributed File System tree on Samba</A -></DT -><DD -><DL -><DT ->22.1. <A -HREF="msdfs.html#AEN3695" ->Instructions</A -></DT -></DL -></DD -><DT ->23. <A -HREF="integrate-ms-networks.html" ->Integrating MS Windows networks with Samba</A -></DT -><DD -><DL -><DT ->23.1. <A -HREF="integrate-ms-networks.html#AEN3758" ->Name Resolution in a pure Unix/Linux world</A -></DT -><DT ->23.2. <A -HREF="integrate-ms-networks.html#AEN3821" ->Name resolution as used within MS Windows networking</A -></DT -></DL -></DD -><DT ->24. <A -HREF="improved-browsing.html" ->Improved browsing in samba</A -></DT -><DD -><DL -><DT ->24.1. <A -HREF="improved-browsing.html#AEN3874" ->Overview of browsing</A -></DT -><DT ->24.2. <A -HREF="improved-browsing.html#AEN3880" ->Browsing support in samba</A -></DT -><DT ->24.3. <A -HREF="improved-browsing.html#AEN3895" ->Problem resolution</A -></DT -><DT ->24.4. <A -HREF="improved-browsing.html#AEN3907" ->Browsing across subnets</A -></DT -><DT ->24.5. <A -HREF="improved-browsing.html#AEN3948" ->Setting up a WINS server</A -></DT -><DT ->24.6. <A -HREF="improved-browsing.html#AEN3971" ->Setting up Browsing in a WORKGROUP</A -></DT -><DT ->24.7. <A -HREF="improved-browsing.html#AEN3997" ->Setting up Browsing in a DOMAIN</A -></DT -><DT ->24.8. <A -HREF="improved-browsing.html#BROWSE-FORCE-MASTER" ->Forcing samba to be the master</A -></DT -><DT ->24.9. <A -HREF="improved-browsing.html#AEN4032" ->Making samba the domain master</A -></DT -><DT ->24.10. <A -HREF="improved-browsing.html#AEN4054" ->Note about broadcast addresses</A -></DT -><DT ->24.11. <A -HREF="improved-browsing.html#AEN4057" ->Multiple interfaces</A -></DT -></DL -></DD -><DT ->25. <A -HREF="securing-samba.html" ->Securing Samba</A -></DT -><DD -><DL -><DT ->25.1. <A -HREF="securing-samba.html#AEN4073" ->Introduction</A -></DT -><DT ->25.2. <A -HREF="securing-samba.html#AEN4076" ->Using host based protection</A -></DT -><DT ->25.3. <A -HREF="securing-samba.html#AEN4086" ->Using interface protection</A -></DT -><DT ->25.4. <A -HREF="securing-samba.html#AEN4094" ->Using a firewall</A -></DT -><DT ->25.5. <A -HREF="securing-samba.html#AEN4101" ->Using a IPC$ share deny</A -></DT -><DT ->25.6. <A -HREF="securing-samba.html#AEN4110" ->Upgrading Samba</A -></DT -></DL -></DD -><DT ->26. <A -HREF="unicode.html" ->Unicode/Charsets</A -></DT -><DD -><DL -><DT ->26.1. <A -HREF="unicode.html#AEN4132" ->What are charsets and unicode?</A -></DT -><DT ->26.2. <A -HREF="unicode.html#AEN4141" ->Samba and charsets</A -></DT -><DT ->26.3. <A -HREF="unicode.html#AEN4160" ->Conversion from old names</A -></DT -><DT ->26.4. <A -HREF="unicode.html#AEN4168" ->Japanese charsets</A -></DT -></DL -></DD -></DL -></DD -><DT ->IV. <A -HREF="appendixes.html" ->Appendixes</A -></DT -><DD -><DL -><DT ->27. <A -HREF="compiling.html" ->How to compile SAMBA</A -></DT -><DD -><DL -><DT ->27.1. <A -HREF="compiling.html#AEN4204" ->Access Samba source code via CVS</A -></DT -><DT ->27.2. <A -HREF="compiling.html#AEN4247" ->Accessing the samba sources via rsync and ftp</A -></DT -><DT ->27.3. <A -HREF="compiling.html#AEN4253" ->Verifying Samba's PGP signature</A -></DT -><DT ->27.4. <A -HREF="compiling.html#AEN4265" ->Building the Binaries</A -></DT -><DT ->27.5. <A -HREF="compiling.html#AEN4322" ->Starting the smbd and nmbd</A -></DT -></DL -></DD -><DT ->28. <A -HREF="nt4migration.html" ->Migration from NT4 PDC to Samba-3 PDC</A -></DT -><DD -><DL -><DT ->28.1. <A -HREF="nt4migration.html#AEN4396" ->Planning and Getting Started</A -></DT -><DT ->28.2. <A -HREF="nt4migration.html#AEN4429" ->Managing Samba-3 Domain Control</A -></DT -></DL -></DD -><DT ->29. <A -HREF="portability.html" ->Portability</A -></DT -><DD -><DL -><DT ->29.1. <A -HREF="portability.html#AEN4444" ->HPUX</A -></DT -><DT ->29.2. <A -HREF="portability.html#AEN4450" ->SCO Unix</A -></DT -><DT ->29.3. <A -HREF="portability.html#AEN4454" ->DNIX</A -></DT -><DT ->29.4. <A -HREF="portability.html#AEN4483" ->RedHat Linux Rembrandt-II</A -></DT -><DT ->29.5. <A -HREF="portability.html#AEN4489" ->AIX</A -></DT -><DT ->29.6. <A -HREF="portability.html#AEN4495" ->Solaris</A -></DT -></DL -></DD -><DT ->30. <A -HREF="other-clients.html" ->Samba and other CIFS clients</A -></DT -><DD -><DL -><DT ->30.1. <A -HREF="other-clients.html#AEN4522" ->Macintosh clients?</A -></DT -><DT ->30.2. <A -HREF="other-clients.html#AEN4531" ->OS2 Client</A -></DT -><DT ->30.3. <A -HREF="other-clients.html#AEN4571" ->Windows for Workgroups</A -></DT -><DT ->30.4. <A -HREF="other-clients.html#AEN4595" ->Windows '95/'98</A -></DT -><DT ->30.5. <A -HREF="other-clients.html#AEN4611" ->Windows 2000 Service Pack 2</A -></DT -><DT ->30.6. <A -HREF="other-clients.html#AEN4628" ->Windows NT 3.1</A -></DT -></DL -></DD -><DT ->31. <A -HREF="swat.html" ->SWAT - The Samba Web Admininistration Tool</A -></DT -><DD -><DL -><DT ->31.1. <A -HREF="swat.html#AEN4645" ->SWAT Features and Benefits</A -></DT -></DL -></DD -><DT ->32. <A -HREF="speed.html" ->Samba performance issues</A -></DT -><DD -><DL -><DT ->32.1. <A -HREF="speed.html#AEN4687" ->Comparisons</A -></DT -><DT ->32.2. <A -HREF="speed.html#AEN4693" ->Socket options</A -></DT -><DT ->32.3. <A -HREF="speed.html#AEN4700" ->Read size</A -></DT -><DT ->32.4. <A -HREF="speed.html#AEN4705" ->Max xmit</A -></DT -><DT ->32.5. <A -HREF="speed.html#AEN4710" ->Log level</A -></DT -><DT ->32.6. <A -HREF="speed.html#AEN4713" ->Read raw</A -></DT -><DT ->32.7. <A -HREF="speed.html#AEN4718" ->Write raw</A -></DT -><DT ->32.8. <A -HREF="speed.html#AEN4722" ->Slow Clients</A -></DT -><DT ->32.9. <A -HREF="speed.html#AEN4726" ->Slow Logins</A -></DT -><DT ->32.10. <A -HREF="speed.html#AEN4729" ->Client tuning</A -></DT -></DL -></DD -><DT ->33. <A -HREF="diagnosis.html" ->The samba checklist</A -></DT -><DD -><DL -><DT ->33.1. <A -HREF="diagnosis.html#AEN4781" ->Introduction</A -></DT -><DT ->33.2. <A -HREF="diagnosis.html#AEN4786" ->Assumptions</A -></DT -><DT ->33.3. <A -HREF="diagnosis.html#AEN4805" ->The tests</A -></DT -><DT ->33.4. <A -HREF="diagnosis.html#AEN4972" ->Still having troubles?</A -></DT -></DL -></DD -><DT ->34. <A -HREF="problems.html" ->Analysing and solving samba problems</A -></DT -><DD -><DL -><DT ->34.1. <A -HREF="problems.html#AEN5004" ->Diagnostics tools</A -></DT -><DT ->34.2. <A -HREF="problems.html#AEN5019" ->Installing 'Network Monitor' on an NT Workstation or a Windows 9x box</A -></DT -><DT ->34.3. <A -HREF="problems.html#AEN5048" ->Useful URL's</A -></DT -><DT ->34.4. <A -HREF="problems.html#AEN5072" ->Getting help from the mailing lists</A -></DT -><DT ->34.5. <A -HREF="problems.html#AEN5102" ->How to get off the mailinglists</A -></DT -></DL -></DD -><DT ->35. <A -HREF="bugreport.html" ->Reporting Bugs</A -></DT -><DD -><DL -><DT ->35.1. <A -HREF="bugreport.html#AEN5125" ->Introduction</A -></DT -><DT ->35.2. <A -HREF="bugreport.html#AEN5135" ->General info</A -></DT -><DT ->35.3. <A -HREF="bugreport.html#AEN5141" ->Debug levels</A -></DT -><DT ->35.4. <A -HREF="bugreport.html#AEN5162" ->Internal errors</A -></DT -><DT ->35.5. <A -HREF="bugreport.html#AEN5176" ->Attaching to a running process</A -></DT -><DT ->35.6. <A -HREF="bugreport.html#AEN5184" ->Patches</A -></DT -></DL -></DD -></DL -></DD -></DL -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -> </TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="introduction.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -> </TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->General installation</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/securitylevels.html b/docs/htmldocs/securitylevels.html deleted file mode 100644 index ddfb22536b..0000000000 --- a/docs/htmldocs/securitylevels.html +++ /dev/null @@ -1,212 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Samba as Stand-Alone Server</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"><link rel="home" href="index.html" title="SAMBA Project Documentation"><link rel="up" href="type.html" title="Part II. Server Configuration Basics"><link rel="previous" href="ServerType.html" title="Chapter 3. Nomenclature of Server Types"><link rel="next" href="samba-pdc.html" title="Chapter 5. -Samba as an NT4 or Win2k Primary Domain Controller -"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Samba as Stand-Alone Server</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><th width="60%" align="center">Part II. Server Configuration Basics</th><td width="20%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="securitylevels"></a>Chapter 4. Samba as Stand-Alone Server</h2></div><div><div class="author"><h3 class="author">Andrew Tridgell</h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><tt><<a href="mailto:tridge@samba.org">tridge@samba.org</a>></tt></p></div></div></div></div><div><div class="author"><h3 class="author">Jelmer R. Vernooij</h3><div class="affiliation"><span class="orgname">The Samba Team<br></span><div class="address"><p><tt><<a href="mailto:jelmer@samba.org">jelmer@samba.org</a>></tt></p></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="securitylevels.html#id2807692">User and Share security level</a></dt><dd><dl><dt><a href="securitylevels.html#id2807727">User Level Security</a></dt><dt><a href="securitylevels.html#id2810322">Share Level Security</a></dt><dt><a href="securitylevels.html#id2812328">Server Level Security</a></dt><dt><a href="securitylevels.html#id2876991">Domain Level Security</a></dt><dt><a href="securitylevels.html#id2877129">ADS Level Security</a></dt></dl></dd></dl></div><p> -In this section the function and purpose of Samba's <span class="emphasis"><em>security</em></span> -modes are described. -</p><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2807692"></a>User and Share security level</h2></div></div><p> -A SMB server tells the client at startup what "security level" it is -running. There are two options "share level" and "user level". Which -of these two the client receives affects the way the client then tries -to authenticate itself. It does not directly affect (to any great -extent) the way the Samba server does security. I know this is -strange, but it fits in with the client/server approach of SMB. In SMB -everything is initiated and controlled by the client, and the server -can only tell the client what is available and whether an action is -allowed. -</p><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2807727"></a>User Level Security</h3></div></div><p> -I'll describe user level security first, as its simpler. In user level -security the client will send a "session setup" command directly after -the protocol negotiation. This contains a username and password. The -server can either accept or reject that username/password -combination. Note that at this stage the server has no idea what -share the client will eventually try to connect to, so it can't base -the "accept/reject" on anything other than: -</p><div class="orderedlist"><ol type="1"><li><p>the username/password</p></li><li><p>the machine that the client is coming from</p></li></ol></div><p> -If the server accepts the username/password then the client expects to -be able to mount any share (using a "tree connection") without -specifying a password. It expects that all access rights will be as -the username/password specified in the "session setup". -</p><p> -It is also possible for a client to send multiple "session setup" -requests. When the server responds it gives the client a "uid" to use -as an authentication tag for that username/password. The client can -maintain multiple authentication contexts in this way (WinDD is an -example of an application that does this) -</p></div><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2810322"></a>Share Level Security</h3></div></div><p> -Ok, now for share level security. In share level security the client -authenticates itself separately for each share. It will send a -password along with each "tree connection" (share mount). It does not -explicitly send a username with this operation. The client is -expecting a password to be associated with each share, independent of -the user. This means that samba has to work out what username the -client probably wants to use. It is never explicitly sent the -username. Some commercial SMB servers such as NT actually associate -passwords directly with shares in share level security, but samba -always uses the unix authentication scheme where it is a -username/password that is authenticated, not a "share/password". -</p><p> -Many clients send a "session setup" even if the server is in share -level security. They normally send a valid username but no -password. Samba records this username in a list of "possible -usernames". When the client then does a "tree connection" it also adds -to this list the name of the share they try to connect to (useful for -home directories) and any users listed in the <b>user =</b> <tt>smb.conf</tt> -line. The password is then checked in turn against these "possible -usernames". If a match is found then the client is authenticated as -that user. -</p></div><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2812328"></a>Server Level Security</h3></div></div><p> -Finally "server level" security. In server level security the samba -server reports to the client that it is in user level security. The -client then does a "session setup" as described earlier. The samba -server takes the username/password that the client sends and attempts -to login to the "password server" by sending exactly the same -username/password that it got from the client. If that server is in -user level security and accepts the password then samba accepts the -clients connection. This allows the samba server to use another SMB -server as the "password server". -</p><p> -You should also note that at the very start of all this, where the -server tells the client what security level it is in, it also tells -the client if it supports encryption. If it does then it supplies the -client with a random "cryptkey". The client will then send all -passwords in encrypted form. You have to compile samba with encryption -enabled to support this feature, and you have to maintain a separate -smbpasswd file with SMB style encrypted passwords. It is -cryptographically impossible to translate from unix style encryption -to SMB style encryption, although there are some fairly simple management -schemes by which the two could be kept in sync. -</p><p> -"security = server" means that Samba reports to clients that -it is running in "user mode" but actually passes off all authentication -requests to another "user mode" server. This requires an additional -parameter "password server =" that points to the real authentication server. -That real authentication server can be another Samba server or can be a -Windows NT server, the later natively capable of encrypted password support. -</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> -<span class="emphasis"><em>Server</em></span> level security is incompatible with what is known -as <span class="emphasis"><em>schannel</em></span> or "sign and seal" protocols. This means that -if you want to use <span class="emphasis"><em>server</em></span> level security you must disable -the use of "sign and seal" on all machines on your network. -</p></div><div class="sect3" lang="en"><div class="titlepage"><div><h4 class="title"><a name="id2876754"></a>Configuring Samba for Seemless Windows Network Integration</h4></div></div><p> -MS Windows clients may use encrypted passwords as part of a challenege/response -authentication model (a.k.a. NTLMv1) or alone, or clear text strings for simple -password based authentication. It should be realized that with the SMB protocol -the password is passed over the network either in plain text or encrypted, but -not both in the same authentication request. -</p><p> -When encrypted passwords are used a password that has been entered by the user -is encrypted in two ways: -</p><div class="itemizedlist"><ul type="disc"><li><p>An MD4 hash of the UNICODE of the password - string. This is known as the NT hash. - </p></li><li><p>The password is converted to upper case, - and then padded or trucated to 14 bytes. This string is - then appended with 5 bytes of NULL characters and split to - form two 56 bit DES keys to encrypt a "magic" 8 byte value. - The resulting 16 bytes for the LanMan hash. - </p></li></ul></div><p> -MS Windows 95 pre-service pack 1, MS Windows NT versions 3.x and version 4.0 -pre-service pack 3 will use either mode of password authentication. All -versions of MS Windows that follow these versions no longer support plain -text passwords by default. -</p><p> -MS Windows clients have a habit of dropping network mappings that have been idle -for 10 minutes or longer. When the user attempts to use the mapped drive -connection that has been dropped, the client re-establishes the connection using -a cached copy of the password. -</p><p> -When Microsoft changed the default password mode, support was dropped for caching -of the plain text password. This means that when the registry parameter is changed -to re-enable use of plain text passwords it appears to work, but when a dropped -service connection mapping attempts to revalidate it will fail if the remote -authentication server does not support encrypted passwords. This means that it -is definitely not a good idea to re-enable plain text password support in such clients. -</p><p> -The following parameters can be used to work around the issue of Windows 9x client -upper casing usernames and password before transmitting them to the SMB server -when using clear text authentication. -</p><pre class="programlisting"> - <a href="smb.conf.5.html#PASSWORDLEVEL" target="_top">passsword level</a> = <i><tt>integer</tt></i> - <a href="smb.conf.5.html#USERNAMELEVEL" target="_top">username level</a> = <i><tt>integer</tt></i> -</pre><p> -By default Samba will lower case the username before attempting to lookup the user -in the database of local system accounts. Because UNIX usernames conventionally -only contain lower case character, the <i><tt>username level</tt></i> parameter -is rarely needed. -</p><p> -However, passwords on UNIX systems often make use of mixed case characters. -This means that in order for a user on a Windows 9x client to connect to a Samba -server using clear text authentication, the <i><tt>password level</tt></i> -must be set to the maximum number of upper case letter which <span class="emphasis"><em>could</em></span> -appear is a password. Note that the server OS uses the traditional DES version -of crypt(), a <i><tt>password level</tt></i> of 8 will result in case -insensitive passwords as seen from Windows users. This will also result in longer -login times as Samba has to compute the permutations of the password string and -try them one by one until a match is located (or all combinations fail). -</p><p> -The best option to adopt is to enable support for encrypted passwords -where ever Samba is used. There are three configuration possibilities -for support of encrypted passwords: -</p></div><div class="sect3" lang="en"><div class="titlepage"><div><h4 class="title"><a name="id2876930"></a>Use MS Windows NT as an authentication server</h4></div></div><p> -This method involves the additions of the following parameters in the <tt>smb.conf</tt> file: -</p><pre class="programlisting"> - encrypt passwords = Yes - security = server - password server = "NetBIOS_name_of_PDC" -</pre><p> -There are two ways of identifying whether or not a username and -password pair was valid or not. One uses the reply information provided -as part of the authentication messaging process, the other uses -just an error code. -</p><p> -The down-side of this mode of configuration is the fact that -for security reasons Samba will send the password server a bogus -username and a bogus password and if the remote server fails to -reject the username and password pair then an alternative mode -of identification of validation is used. Where a site uses password -lock out after a certain number of failed authentication attempts -this will result in user lockouts. -</p><p> -Use of this mode of authentication does require there to be -a standard Unix account for the user, this account can be blocked -to prevent logons by other than MS Windows clients. -</p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2876991"></a>Domain Level Security</h3></div></div><p> -When samba is operating in <span class="emphasis"><em>security = domain</em></span> mode this means that -the Samba server has a domain security trust account (a machine account) and will cause -all authentication requests to be passed through to the domain controllers. -</p><div class="sect3" lang="en"><div class="titlepage"><div><h4 class="title"><a name="id2877011"></a>Samba as a member of an MS Windows NT security domain</h4></div></div><p> -This method involves addition of the following parameters in the <tt>smb.conf</tt> file: -</p><pre class="programlisting"> - encrypt passwords = Yes - security = domain - workgroup = "name of NT domain" - password server = * -</pre><p> -The use of the "*" argument to <b>password server</b> will cause samba to locate the -domain controller in a way analogous to the way this is done within MS Windows NT. -This is the default behaviour. -</p><p> -In order for this method to work the Samba server needs to join the -MS Windows NT security domain. This is done as follows: -</p><div class="itemizedlist"><ul type="disc"><li><p>On the MS Windows NT domain controller using - the Server Manager add a machine account for the Samba server. - </p></li><li><p>Next, on the Linux system execute: - <b>smbpasswd -r PDC_NAME -j DOMAIN_NAME</b> (samba 2.x) - - <b>net join -U administrator%password</b> (samba-3) - </p></li></ul></div><p> -Use of this mode of authentication does require there to be a standard Unix account -for the user in order to assign a uid once the account has been authenticated by -the remote Windows DC. This account can be blocked to prevent logons by clients other than -MS Windows through things such as setting an invalid shell in the -<tt>/etc/passwd</tt> entry. -</p><p> -An alternative to assigning UIDs to Windows users on a Samba member server is -presented in the <a href="winbind.html" title="Chapter 15. Unified Logons between Windows NT and UNIX using Winbind">Winbind Overview</a> chapter -in this HOWTO collection. -</p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2877129"></a>ADS Level Security</h3></div></div><p> -For information about the configuration option please refer to the entire section entitled -<span class="emphasis"><em>Samba as an ADS Domain Member.</em></span> -</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ServerType.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="type.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="samba-pdc.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Nomenclature of Server Types </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 5. -Samba as an NT4 or Win2k Primary Domain Controller -</td></tr></table></div></body></html> diff --git a/docs/htmldocs/servertype.html b/docs/htmldocs/servertype.html deleted file mode 100644 index 42a7604797..0000000000 --- a/docs/htmldocs/servertype.html +++ /dev/null @@ -1,368 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Nomenclature of Server Types</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Type of installation" -HREF="type.html"><LINK -REL="PREVIOUS" -TITLE="Type of installation" -HREF="type.html"><LINK -REL="NEXT" -TITLE="Samba as Stand-Alone Server" -HREF="securitylevels.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="type.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="securitylevels.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="SERVERTYPE" -></A ->Chapter 5. Nomenclature of Server Types</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->5.1. <A -HREF="servertype.html#AEN846" ->Stand Alone Server</A -></DT -><DT ->5.2. <A -HREF="servertype.html#AEN853" ->Domain Member Server</A -></DT -><DT ->5.3. <A -HREF="servertype.html#AEN859" ->Domain Controller</A -></DT -></DL -></DIV -><P ->Adminstrators of Microsoft networks often refer to there being three -different type of servers:</P -><P -></P -><UL -><LI -><P ->Stand Alone Server</P -></LI -><LI -><P ->Domain Member Server</P -></LI -><LI -><P ->Domain Controller</P -><P -></P -><UL -><LI -><P ->Primary Domain Controller</P -></LI -><LI -><P ->Backup Domain Controller</P -></LI -><LI -><P ->ADS Domain Controller</P -></LI -></UL -></LI -></UL -><P ->A network administrator who is familiar with these terms and who -wishes to migrate to or use Samba will want to know what these terms mean -within a Samba context.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN846" ->5.1. Stand Alone Server</A -></H1 -><P ->The term <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->stand alone server</I -></SPAN -> means that the server -will provide local authentication and access control for all resources -that are available from it. In general this means that there will be a -local user database. In more technical terms, it means that resources -on the machine will either be made available in either SHARE mode or in -USER mode. SHARE mode and USER mode security are documented under -discussions regarding "security mode". The smb.conf configuration parameters -that control security mode are: "security = user" and "security = share".</P -><P ->No special action is needed other than to create user accounts. Stand-alone -servers do NOT provide network logon services, meaning that machines that -use this server do NOT perform a domain logon but instead make use only of -the MS Windows logon which is local to the MS Windows workstation/server.</P -><P ->Samba tends to blur the distinction a little in respect of what is -a stand alone server. This is because the authentication database may be -local or on a remote server, even if from the samba protocol perspective -the samba server is NOT a member of a domain security context.</P -><P ->Through the use of PAM (Pluggable Authentication Modules) and nsswitch -(the name service switcher) the source of authentication may reside on -another server. We would be inclined to call this the authentication server. -This means that the samba server may use the local Unix/Linux system -password database (/etc/passwd or /etc/shadow), may use a local smbpasswd -file (/etc/samba/smbpasswd or /usr/local/samba/lib/private/smbpasswd), or -may use an LDAP back end, or even via PAM and Winbind another CIFS/SMB -server for authentication.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN853" ->5.2. Domain Member Server</A -></H1 -><P ->This mode of server operation involves the samba machine being made a member -of a domain security context. This means by definition that all user authentication -will be done from a centrally defined authentication regime. The authentication -regime may come from an NT3/4 style (old domain technology) server, or it may be -provided from an Active Directory server (ADS) running on MS Windows 2000 or later.</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Of course it should be clear that the authentication back end itself could be from any -distributed directory architecture server that is supported by Samba. This can be -LDAP (from OpenLDAP), or Sun's iPlanet, of NetWare Directory Server, etc.</I -></SPAN -></P -><P ->Please refer to the section on Howto configure Samba as a Primary Domain Controller -and for more information regarding how to create a domain machine account for a -domain member server as well as for information regading how to enable the samba -domain member machine to join the domain and to be fully trusted by it.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN859" ->5.3. Domain Controller</A -></H1 -><P ->Over the years public perceptions of what Domain Control really is has taken on an -almost mystical nature. Before we branch into a brief overview of what Domain Control -is the following types of controller are known:</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN862" ->5.3.1. Domain Controller Types</A -></H2 -><P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->Primary Domain Controller</TD -></TR -><TR -><TD ->Backup Domain Controller</TD -></TR -><TR -><TD ->ADS Domain Controller</TD -></TR -></TBODY -></TABLE -><P -></P -><P ->The <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Primary Domain Controller</I -></SPAN -> or PDC plays an important role in the MS -Windows NT3 and NT4 Domain Control architecture, but not in the manner that so many -expect. The PDC seeds the Domain Control database (a part of the Windows registry) and -it plays a key part in synchronisation of the domain authentication database. </P -><P ->New to Samba-3.0.0 is the ability to use a back-end file that holds the same type of data as -the NT4 style SAM (Security Account Manager) database (one of the registry files). -The samba-3.0.0 SAM can be specified via the smb.conf file parameter "passwd backend" and -valid options include <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" -> smbpasswd tdbsam ldapsam nisplussam plugin unixsam</I -></SPAN ->. -The smbpasswd, tdbsam and ldapsam options can have a "_nua" suffix to indicate that No Unix -Accounts need to be created. In other words, the Samba SAM will be independant of Unix/Linux -system accounts, provided a uid range is defined from which SAM accounts can be created.</P -><P ->The <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->Backup Domain Controller</I -></SPAN -> or BDC plays a key role in servicing network -authentication requests. The BDC is biased to answer logon requests so that on a network segment -that has a BDC and a PDC the BDC will be most likely to service network logon requests. The PDC will -answer network logon requests when the BDC is too busy (high load). A BDC can be promoted to -a PDC. If the PDC is on line at the time that the BDC is promoted to PDC the previous PDC is -automatically demoted to a BDC.</P -><P ->At this time Samba is NOT capable of acting as an <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->ADS Domain Controller</I -></SPAN ->.</P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="type.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="securitylevels.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Type of installation</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="type.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Samba as Stand-Alone Server</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/swat.html b/docs/htmldocs/swat.html deleted file mode 100644 index e70fac5403..0000000000 --- a/docs/htmldocs/swat.html +++ /dev/null @@ -1,233 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->SWAT - The Samba Web Admininistration Tool</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Appendixes" -HREF="appendixes.html"><LINK -REL="PREVIOUS" -TITLE="Samba and other CIFS clients" -HREF="other-clients.html"><LINK -REL="NEXT" -TITLE="Samba performance issues" -HREF="speed.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="other-clients.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="speed.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="SWAT" -></A ->Chapter 31. SWAT - The Samba Web Admininistration Tool</H1 -><P ->This is a rough guide to SWAT.</P -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN4645" ->31.1. SWAT Features and Benefits</A -></H1 -><P ->You must use at least the following ...</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4648" ->31.1.1. The SWAT Home Page</A -></H2 -><P ->Blah blah here.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4651" ->31.1.2. Global Settings</A -></H2 -><P ->Document steps right here!</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4654" ->31.1.3. The SWAT Wizard</A -></H2 -><P ->Lots of blah blah here.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4657" ->31.1.4. Share Settings</A -></H2 -><P ->Document steps right here!</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4660" ->31.1.5. Printing Settings</A -></H2 -><P ->Document steps right here!</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4663" ->31.1.6. The Status Page</A -></H2 -><P ->Document steps right here!</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN4666" ->31.1.7. The Password Change Page</A -></H2 -><P ->Document steps right here!</P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="other-clients.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="speed.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Samba and other CIFS clients</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="appendixes.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Samba performance issues</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/htmldocs/unix-permissions.html b/docs/htmldocs/unix-permissions.html deleted file mode 100644 index e9a3b5e671..0000000000 --- a/docs/htmldocs/unix-permissions.html +++ /dev/null @@ -1,194 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 11. UNIX Permission Bits and Windows NT Access Control Lists</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"><link rel="home" href="index.html" title="SAMBA Project Documentation"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="previous" href="passdb.html" title="Chapter 10. User information database"><link rel="next" href="groupmapping.html" title="Chapter 12. Configuring Group Mapping"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 11. UNIX Permission Bits and Windows NT Access Control Lists</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><h2 class="title"><a name="unix-permissions"></a>Chapter 11. UNIX Permission Bits and Windows NT Access Control Lists</h2></div><div><div class="author"><h3 class="author">Jeremy Allison</h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><tt><<a href="mailto:jra@samba.org">jra@samba.org</a>></tt></p></div></div></div></div><div><p class="pubdate">12 Apr 1999</p></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="unix-permissions.html#id2881950">Viewing and changing UNIX permissions using the NT - security dialogs</a></dt><dt><a href="unix-permissions.html#id2881832">How to view file security on a Samba share</a></dt><dt><a href="unix-permissions.html#id2885176">Viewing file ownership</a></dt><dt><a href="unix-permissions.html#id2885297">Viewing file or directory permissions</a></dt><dd><dl><dt><a href="unix-permissions.html#id2885379">File Permissions</a></dt><dt><a href="unix-permissions.html#id2885483">Directory Permissions</a></dt></dl></dd><dt><a href="unix-permissions.html#id2885533">Modifying file or directory permissions</a></dt><dt><a href="unix-permissions.html#id2885693">Interaction with the standard Samba create mask - parameters</a></dt><dt><a href="unix-permissions.html#id2886008">Interaction with the standard Samba file attribute - mapping</a></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2881950"></a>Viewing and changing UNIX permissions using the NT - security dialogs</h2></div></div><p>Windows NT clients can use their native security settings - dialog box to view and modify the underlying UNIX permissions.</p><p>Note that this ability is careful not to compromise - the security of the UNIX host Samba is running on, and - still obeys all the file permission rules that a Samba - administrator can set.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p> - All access to Unix/Linux system file via Samba is controlled at - the operating system file access control level. When trying to - figure out file access problems it is vitally important to identify - the identity of the Windows user as it is presented by Samba at - the point of file access. This can best be determined from the - Samba log files. - </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2881832"></a>How to view file security on a Samba share</h2></div></div><p>From an NT4/2000/XP client, single-click with the right - mouse button on any file or directory in a Samba mounted - drive letter or UNC path. When the menu pops-up, click - on the <span class="emphasis"><em>Properties</em></span> entry at the bottom of - the menu. This brings up the file properties dialog - box. Click on the tab <span class="emphasis"><em>Security</em></span> and you - will see three buttons, <span class="emphasis"><em>Permissions</em></span>, - <span class="emphasis"><em>Auditing</em></span>, and <span class="emphasis"><em>Ownership</em></span>. - The <span class="emphasis"><em>Auditing</em></span> button will cause either - an error message A requested privilege is not held - by the client to appear if the user is not the - NT Administrator, or a dialog which is intended to allow an - Administrator to add auditing requirements to a file if the - user is logged on as the NT Administrator. This dialog is - non-functional with a Samba share at this time, as the only - useful button, the <b>Add</b> button will not currently - allow a list of users to be seen.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2885176"></a>Viewing file ownership</h2></div></div><p>Clicking on the <b>"Ownership"</b> button - brings up a dialog box telling you who owns the given file. The - owner name will be of the form :</p><p><b>"SERVER\user (Long name)"</b></p><p>Where <i><tt>SERVER</tt></i> is the NetBIOS name of - the Samba server, <i><tt>user</tt></i> is the user name of - the UNIX user who owns the file, and <i><tt>(Long name)</tt></i> - is the descriptive string identifying the user (normally found in the - GECOS field of the UNIX password database). Click on the <b>Close - </b> button to remove this dialog.</p><p>If the parameter <i><tt>nt acl support</tt></i> - is set to <tt>false</tt> then the file owner will - be shown as the NT user <b>"Everyone"</b>.</p><p>The <b>Take Ownership</b> button will not allow - you to change the ownership of this file to yourself (clicking on - it will display a dialog box complaining that the user you are - currently logged onto the NT client cannot be found). The reason - for this is that changing the ownership of a file is a privileged - operation in UNIX, available only to the <span class="emphasis"><em>root</em></span> - user. As clicking on this button causes NT to attempt to change - the ownership of a file to the current user logged into the NT - client this will not work with Samba at this time.</p><p>There is an NT chown command that will work with Samba - and allow a user with Administrator privilege connected - to a Samba server as root to change the ownership of - files on both a local NTFS filesystem or remote mounted NTFS - or Samba drive. This is available as part of the <span class="emphasis"><em>Seclib - </em></span> NT security library written by Jeremy Allison of - the Samba Team, available from the main Samba ftp site.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2885297"></a>Viewing file or directory permissions</h2></div></div><p>The third button is the <b>"Permissions"</b> - button. Clicking on this brings up a dialog box that shows both - the permissions and the UNIX owner of the file or directory. - The owner is displayed in the form :</p><p><b>"SERVER\user (Long name)"</b></p><p>Where <i><tt>SERVER</tt></i> is the NetBIOS name of - the Samba server, <i><tt>user</tt></i> is the user name of - the UNIX user who owns the file, and <i><tt>(Long name)</tt></i> - is the descriptive string identifying the user (normally found in the - GECOS field of the UNIX password database).</p><p>If the parameter <i><tt>nt acl support</tt></i> - is set to <tt>false</tt> then the file owner will - be shown as the NT user <b>"Everyone"</b> and the - permissions will be shown as NT "Full Control".</p><p>The permissions field is displayed differently for files - and directories, so I'll describe the way file permissions - are displayed first.</p><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2885379"></a>File Permissions</h3></div></div><p>The standard UNIX user/group/world triple and - the corresponding "read", "write", "execute" permissions - triples are mapped by Samba into a three element NT ACL - with the 'r', 'w', and 'x' bits mapped into the corresponding - NT permissions. The UNIX world permissions are mapped into - the global NT group <b>Everyone</b>, followed - by the list of permissions allowed for UNIX world. The UNIX - owner and group permissions are displayed as an NT - <b>user</b> icon and an NT <b>local - group</b> icon respectively followed by the list - of permissions allowed for the UNIX user and group.</p><p>As many UNIX permission sets don't map into common - NT names such as <b>"read"</b>, <b> - "change"</b> or <b>"full control"</b> then - usually the permissions will be prefixed by the words <b> - "Special Access"</b> in the NT display list.</p><p>But what happens if the file has no permissions allowed - for a particular UNIX user group or world component ? In order - to allow "no permissions" to be seen and modified then Samba - overloads the NT <b>"Take Ownership"</b> ACL attribute - (which has no meaning in UNIX) and reports a component with - no permissions as having the NT <b>"O"</b> bit set. - This was chosen of course to make it look like a zero, meaning - zero permissions. More details on the decision behind this will - be given below.</p></div><div class="sect2" lang="en"><div class="titlepage"><div><h3 class="title"><a name="id2885483"></a>Directory Permissions</h3></div></div><p>Directories on an NT NTFS file system have two - different sets of permissions. The first set of permissions - is the ACL set on the directory itself, this is usually displayed - in the first set of parentheses in the normal <b>"RW"</b> - NT style. This first set of permissions is created by Samba in - exactly the same way as normal file permissions are, described - above, and is displayed in the same way.</p><p>The second set of directory permissions has no real meaning - in the UNIX permissions world and represents the <b> - "inherited"</b> permissions that any file created within - this directory would inherit.</p><p>Samba synthesises these inherited permissions for NT by - returning as an NT ACL the UNIX permission mode that a new file - created by Samba on this share would receive.</p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2885533"></a>Modifying file or directory permissions</h2></div></div><p>Modifying file and directory permissions is as simple - as changing the displayed permissions in the dialog box, and - clicking the <b>OK</b> button. However, there are - limitations that a user needs to be aware of, and also interactions - with the standard Samba permission masks and mapping of DOS - attributes that need to also be taken into account.</p><p>If the parameter <i><tt>nt acl support</tt></i> - is set to <tt>false</tt> then any attempt to set - security permissions will fail with an <b>"Access Denied" - </b> message.</p><p>The first thing to note is that the <b>"Add"</b> - button will not return a list of users in Samba (it will give - an error message of <b>"The remote procedure call failed - and did not execute"</b>). This means that you can only - manipulate the current user/group/world permissions listed in - the dialog box. This actually works quite well as these are the - only permissions that UNIX actually has.</p><p>If a permission triple (either user, group, or world) - is removed from the list of permissions in the NT dialog box, - then when the <b>"OK"</b> button is pressed it will - be applied as "no permissions" on the UNIX side. If you then - view the permissions again the "no permissions" entry will appear - as the NT <b>"O"</b> flag, as described above. This - allows you to add permissions back to a file or directory once - you have removed them from a triple component.</p><p>As UNIX supports only the "r", "w" and "x" bits of - an NT ACL then if other NT security attributes such as "Delete - access" are selected then they will be ignored when applied on - the Samba server.</p><p>When setting permissions on a directory the second - set of permissions (in the second set of parentheses) is - by default applied to all files within that directory. If this - is not what you want you must uncheck the <b>"Replace - permissions on existing files"</b> checkbox in the NT - dialog before clicking <b>"OK"</b>.</p><p>If you wish to remove all permissions from a - user/group/world component then you may either highlight the - component and click the <b>"Remove"</b> button, - or set the component to only have the special <b>"Take - Ownership"</b> permission (displayed as <b>"O" - </b>) highlighted.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2885693"></a>Interaction with the standard Samba create mask - parameters</h2></div></div><p>There are four parameters - to control interaction with the standard Samba create mask parameters. - These are :</p><p><i><tt>security mask</tt></i></p><p><i><tt>force security mode</tt></i></p><p><i><tt>directory security mask</tt></i></p><p><i><tt>force directory security mode</tt></i></p><p>Once a user clicks <b>"OK"</b> to apply the - permissions Samba maps the given permissions into a user/group/world - r/w/x triple set, and then will check the changed permissions for a - file against the bits set in the <a href="smb.conf.5.html#SECURITYMASK" target="_top"> - <i><tt>security mask</tt></i></a> parameter. Any bits that - were changed that are not set to '1' in this parameter are left alone - in the file permissions.</p><p>Essentially, zero bits in the <i><tt>security mask</tt></i> - mask may be treated as a set of bits the user is <span class="emphasis"><em>not</em></span> - allowed to change, and one bits are those the user is allowed to change. - </p><p>If not set explicitly this parameter is set to the same value as - the <a href="smb.conf.5.html#CREATEMASK" target="_top"><i><tt>create mask - </tt></i></a> parameter. To allow a user to modify all the - user/group/world permissions on a file, set this parameter - to 0777.</p><p>Next Samba checks the changed permissions for a file against - the bits set in the <a href="smb.conf.5.html#FORCESECURITYMODE" target="_top"> - <i><tt>force security mode</tt></i></a> parameter. Any bits - that were changed that correspond to bits set to '1' in this parameter - are forced to be set.</p><p>Essentially, bits set in the <i><tt>force security mode - </tt></i> parameter may be treated as a set of bits that, when - modifying security on a file, the user has always set to be 'on'.</p><p>If not set explicitly this parameter is set to the same value - as the <a href="smb.conf.5.html#FORCECREATEMODE" target="_top"><i><tt>force - create mode</tt></i></a> parameter. - To allow a user to modify all the user/group/world permissions on a file - with no restrictions set this parameter to 000.</p><p>The <i><tt>security mask</tt></i> and <i><tt>force - security mode</tt></i> parameters are applied to the change - request in that order.</p><p>For a directory Samba will perform the same operations as - described above for a file except using the parameter <i><tt> - directory security mask</tt></i> instead of <i><tt>security - mask</tt></i>, and <i><tt>force directory security mode - </tt></i> parameter instead of <i><tt>force security mode - </tt></i>.</p><p>The <i><tt>directory security mask</tt></i> parameter - by default is set to the same value as the <i><tt>directory mask - </tt></i> parameter and the <i><tt>force directory security - mode</tt></i> parameter by default is set to the same value as - the <i><tt>force directory mode</tt></i> parameter. </p><p>In this way Samba enforces the permission restrictions that - an administrator can set on a Samba share, whilst still allowing users - to modify the permission bits within that restriction.</p><p>If you want to set up a share that allows users full control - in modifying the permission bits on their files and directories and - doesn't force any particular bits to be set 'on', then set the following - parameters in the <tt>smb.conf</tt> file in that share specific section :</p><p><i><tt>security mask = 0777</tt></i></p><p><i><tt>force security mode = 0</tt></i></p><p><i><tt>directory security mask = 0777</tt></i></p><p><i><tt>force directory security mode = 0</tt></i></p></div><div class="sect1" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="id2886008"></a>Interaction with the standard Samba file attribute - mapping</h2></div></div><p>Samba maps some of the DOS attribute bits (such as "read - only") into the UNIX permissions of a file. This means there can - be a conflict between the permission bits set via the security - dialog and the permission bits set by the file attribute mapping. - </p><p>One way this can show up is if a file has no UNIX read access - for the owner it will show up as "read only" in the standard - file attributes tabbed dialog. Unfortunately this dialog is - the same one that contains the security info in another tab.</p><p>What this can mean is that if the owner changes the permissions - to allow themselves read access using the security dialog, clicks - <b>"OK"</b> to get back to the standard attributes tab - dialog, and then clicks <b>"OK"</b> on that dialog, then - NT will set the file permissions back to read-only (as that is what - the attributes still say in the dialog). This means that after setting - permissions and clicking <b>"OK"</b> to get back to the - attributes dialog you should always hit <b>"Cancel"</b> - rather than <b>"OK"</b> to ensure that your changes - are not overridden.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="passdb.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="optional.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="groupmapping.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. User information database </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 12. Configuring Group Mapping</td></tr></table></div></body></html> diff --git a/docs/htmldocs/vfs.html b/docs/htmldocs/vfs.html deleted file mode 100644 index fcaca133fe..0000000000 --- a/docs/htmldocs/vfs.html +++ /dev/null @@ -1,490 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Stackable VFS modules</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="SAMBA Project Documentation" -HREF="samba-howto-collection.html"><LINK -REL="UP" -TITLE="Advanced Configuration" -HREF="optional.html"><LINK -REL="PREVIOUS" -TITLE="PAM Configuration for Centrally Managed Authentication" -HREF="pam.html"><LINK -REL="NEXT" -TITLE="Hosting a Microsoft Distributed File System tree on Samba" -HREF="msdfs.html"></HEAD -><BODY -CLASS="CHAPTER" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->SAMBA Project Documentation</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="pam.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="msdfs.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="CHAPTER" -><H1 -><A -NAME="VFS" -></A ->Chapter 21. Stackable VFS modules</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->21.1. <A -HREF="vfs.html#AEN3600" ->Introduction and configuration</A -></DT -><DT ->21.2. <A -HREF="vfs.html#AEN3609" ->Included modules</A -></DT -><DD -><DL -><DT ->21.2.1. <A -HREF="vfs.html#AEN3611" ->audit</A -></DT -><DT ->21.2.2. <A -HREF="vfs.html#AEN3619" ->extd_audit</A -></DT -><DT ->21.2.3. <A -HREF="vfs.html#AEN3623" ->recycle</A -></DT -><DT ->21.2.4. <A -HREF="vfs.html#AEN3660" ->netatalk</A -></DT -></DL -></DD -><DT ->21.3. <A -HREF="vfs.html#AEN3667" ->VFS modules available elsewhere</A -></DT -><DD -><DL -><DT ->21.3.1. <A -HREF="vfs.html#AEN3671" ->DatabaseFS</A -></DT -><DT ->21.3.2. <A -HREF="vfs.html#AEN3679" ->vscan</A -></DT -></DL -></DD -></DL -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3600" ->21.1. Introduction and configuration</A -></H1 -><P ->Since samba 3.0, samba supports stackable VFS(Virtual File System) modules. -Samba passes each request to access the unix file system thru the loaded VFS modules. -This chapter covers all the modules that come with the samba source and references to -some external modules.</P -><P ->You may have problems to compile these modules, as shared libraries are -compiled and linked in different ways on different systems. -They currently have been tested against GNU/linux and IRIX.</P -><P ->To use the VFS modules, create a share similar to the one below. The -important parameter is the <B -CLASS="COMMAND" ->vfs object</B -> parameter which must point to -the exact pathname of the shared library objects. For example, to log all access -to files and use a recycle bin: - -<PRE -CLASS="PROGRAMLISTING" -> [audit] - comment = Audited /data directory - path = /data - vfs object = /path/to/audit.so /path/to/recycle.so - writeable = yes - browseable = yes</PRE -></P -><P ->The modules are used in the order they are specified.</P -><P ->Further documentation on writing VFS modules for Samba can be found in -the Samba Developers Guide.</P -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3609" ->21.2. Included modules</A -></H1 -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3611" ->21.2.1. audit</A -></H2 -><P ->A simple module to audit file access to the syslog -facility. The following operations are logged: -<P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->share</TD -></TR -><TR -><TD ->connect/disconnect</TD -></TR -><TR -><TD ->directory opens/create/remove</TD -></TR -><TR -><TD ->file open/close/rename/unlink/chmod</TD -></TR -></TBODY -></TABLE -><P -></P -></P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3619" ->21.2.2. extd_audit</A -></H2 -><P ->This module is identical with the <SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->audit</I -></SPAN -> module above except -that it sends audit logs to both syslog as well as the smbd log file/s. The -loglevel for this module is set in the smb.conf file. At loglevel = 0, only file -and directory deletions and directory and file creations are logged. At loglevel = 1 -file opens are renames and permission changes are logged , while at loglevel = 2 file -open and close calls are logged also.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3623" ->21.2.3. recycle</A -></H2 -><P ->A recycle-bin like modules. When used any unlink call -will be intercepted and files moved to the recycle -directory instead of beeing deleted.</P -><P ->Supported options: -<P -></P -><DIV -CLASS="VARIABLELIST" -><DL -><DT ->vfs_recycle_bin:repository</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:keeptree</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:versions</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:touch</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:maxsize</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:exclude</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:exclude_dir</DT -><DD -><P ->FIXME</P -></DD -><DT ->vfs_recycle_bin:noversions</DT -><DD -><P ->FIXME</P -></DD -></DL -></DIV -></P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3660" ->21.2.4. netatalk</A -></H2 -><P ->A netatalk module, that will ease co-existence of samba and -netatalk file sharing services.</P -><P ->Advantages compared to the old netatalk module: -<P -></P -><TABLE -BORDER="0" -><TBODY -><TR -><TD ->it doesn't care about creating of .AppleDouble forks, just keeps ones in sync</TD -></TR -><TR -><TD ->if share in smb.conf doesn't contain .AppleDouble item in hide or veto list, it will be added automatically</TD -></TR -></TBODY -></TABLE -><P -></P -></P -></DIV -></DIV -><DIV -CLASS="SECT1" -><H1 -CLASS="SECT1" -><A -NAME="AEN3667" ->21.3. VFS modules available elsewhere</A -></H1 -><P ->This section contains a listing of various other VFS modules that -have been posted but don't currently reside in the Samba CVS -tree for one reason ot another (e.g. it is easy for the maintainer -to have his or her own CVS tree).</P -><P ->No statemets about the stability or functionality any module -should be implied due to its presence here.</P -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3671" ->21.3.1. DatabaseFS</A -></H2 -><P ->URL: <A -HREF="http://www.css.tayloru.edu/~elorimer/databasefs/index.php" -TARGET="_top" ->http://www.css.tayloru.edu/~elorimer/databasefs/index.php</A -></P -><P ->By <A -HREF="mailto:elorimer@css.tayloru.edu" -TARGET="_top" ->Eric Lorimer</A ->.</P -><P ->I have created a VFS module which implements a fairly complete read-only -filesystem. It presents information from a database as a filesystem in -a modular and generic way to allow different databases to be used -(originally designed for organizing MP3s under directories such as -"Artists," "Song Keywords," etc... I have since applied it to a student -roster database very easily). The directory structure is stored in the -database itself and the module makes no assumptions about the database -structure beyond the table it requires to run.</P -><P ->Any feedback would be appreciated: comments, suggestions, patches, -etc... If nothing else, hopefully it might prove useful for someone -else who wishes to create a virtual filesystem.</P -></DIV -><DIV -CLASS="SECT2" -><H2 -CLASS="SECT2" -><A -NAME="AEN3679" ->21.3.2. vscan</A -></H2 -><P ->URL: <A -HREF="http://www.openantivirus.org/" -TARGET="_top" ->http://www.openantivirus.org/</A -></P -><P ->samba-vscan is a proof-of-concept module for Samba, which -uses the VFS (virtual file system) features of Samba 2.2.x/3.0 -alphaX. Of couse, Samba has to be compiled with VFS support. -samba-vscan supports various virus scanners and is maintained -by Rainer Link.</P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="pam.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="samba-howto-collection.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="msdfs.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->PAM Configuration for Centrally Managed Authentication</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="optional.html" -ACCESSKEY="U" ->Up</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Hosting a Microsoft Distributed File System tree on Samba</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file diff --git a/docs/textdocs/README.NOW b/docs/textdocs/README.NOW deleted file mode 100644 index dda607097b..0000000000 --- a/docs/textdocs/README.NOW +++ /dev/null @@ -1,6 +0,0 @@ -All old text documents have been converted to docbook. -To create ASCII versions of the official documentation -run the following command in ../docbook/: - - $ make txt - diff --git a/docs/textdocs/README.jis b/docs/textdocs/README.jis deleted file mode 100644 index 50ff0cced7..0000000000 --- a/docs/textdocs/README.jis +++ /dev/null @@ -1,149 +0,0 @@ -$B!|(B samba $BF|K\8lBP1~$K$D$$$F(B - -1. $BL\E*(B - - $BF|K\8lBP1~$O!"(B - - (1) MS-Windows $B>e$G!"4A;z%U%!%$%kL>$r$I$&$7$F$b07$&I,MW$N$"$k%"%W%j%1!<%7%g%s$,$A$c(B - $B$s$HF0:n$9$k!#Nc$($P!"(BMS-WORD 5 $B$J$I$O!"%$%s%9%H!<%k;~$K4A;z$N%U%!%$%kL>$r>!<j(B - $B$K$D$1$F$7$^$$$^$9!#$3$&$$$C$?>l9g$K$A$c$s$HBP1~$G$-$k$h$&$K$9$k!#(B - - (2) UNIX $B$O!":G6a$G$O$[$H$s$I$N$b$N$,(B 8 bits $B$N%U%!%$%kL>$r%5%]!<%H$7$F$$$^$9$,!"(B - $BCf$K$O!"$3$l$r%5%]!<%H$7$F$$$J$$$b$N$b$"$j$^$9!#$3$N$h$&$J>l9g$G$b!"(B(1)$B$NL\E*(B - $B$,K~B-$G$-$k$h$&$K$9$k!#(B - - $B$rL\E*$H$7$F$$$^$9!#$=$N$?$a!"F|K\8lBP1~$O!"I,MW:G>.8B$7$+9T$J$C$F$*$j$^$;$s!#(B - - $BF|K\8lBP1~$7$?(B samba $B$rMxMQ$9$k$?$a$K$O!"%3%s%Q%$%k$9$k;~$K!"I,$:!"(BKANJI $B$NDj5A$rDI(B - $B2C$7$F$/$@$5$$!#$3$N%*%W%7%g%s$r;XDj$7$F$$$J$$>l9g$O!"F|K\8l$N%U%!%$%kL>$r@5$7$/07(B - $B$&$3$H$O$G$-$^$;$s!#!J%3%s%Q%$%k$K$D$$$F$O!"2<5-(B 3. $B$r;2>H$7$F2<$5$$!K(B - -2. $BMxMQJ}K!(B - -(1) $BDI2C$7$?%Q%i%a!<%?(B - - smb.conf $B%U%!%$%k$N(B global $B%;%/%7%g%s$K0J2<$N%Q%i%a!<%?$r@_Dj$G$-$k$h$&$K$7$^$7$?!#(B - - [global] - .... - coding system = <$B%3!<%I7O(B> - - $B$3$3$G;XDj$5$l$?%3!<%I7O$,(B UNIX $B>e$N%U%!%$%k%7%9%F%`$N%U%!%$%kL>$N%3!<%I$K$J$j$^$9!#(B - $B@_Dj$G$-$k$b$N$O!"<!$N$h$&$K$J$C$F$$$^$9!#(B - - sjis: SHIFT JIS (MS $B4A;z%3!<%I(B) - euc: EUC $B%3!<%I(B - hex: 7 bits $B$N(B ASCII $B%3!<%I0J30$N%3!<%I$r0J2<$N7A<0$GI=$9J}<0$G$9!#Nc$($P!"(B - '$B%*%U%#%9(B' $B$H$$$&L>A0$O!"(B':83:49:83:74:83:42:83:58' $B$N$h$&$K!"(B':' $B$N8e$K#27e(B - $B$N(B16$B?J?t$rB3$1$k7A<0$K$J$j$^$9!#(B - $B$3$3$G!"(B':' $B$rB>$NJ8;z$KJQ99$7$?$$>l9g$O!"(Bhex $B$N8e$m$K$=$NJ8;z$r;XDj$7$^$9!#(B - $BNc$($P!"(B@$B$rJQ$o$j$K;H$$$?$$>l9g$O!"(B'hex@'$B$N$h$&$K;XDj$7$^$9!#(B - cap: 7 bits $B$N(B ASCII $B%3!<%I0J30$N%3!<%I$r0J2<$N7A<0$GI=$9J}<0$H$$$&E@$G$O(B - hex$B$HF1MM$G$9$,!"(BCAP (The Columbia AppleTalk Package)$B$H8_49@-$r;}$DJQ49(B - $BJ}<0$H$J$C$F$$$^$9!#(Bhex$B$H$N0c$$$O(B0x80$B0J>e$N%3!<%I$N$_(B':80'$B$N$h$&$KJQ49(B - $B$5$l!"$=$NB>$O(BASCII$B%3!<%I$G8=$5$l$^$9!#(B - $BNc$($P!"(B'$B%*%U%#%9(B'$B$H$$$&L>A0$O!"(B':83I:83t:83B:83X'$B$H$J$j$^$9!#(B - - JIS $B%3!<%I$K$D$$$F$O!"0J2<$NI=$r;2>H$7$F2<$5$$!#(B - $B(#(!(!(!(((!(!(!(!(((!(!(!(!(((!(!(!(!(((!(!(!(!(((!(!(!(!(((!(!(!(!(!(!(!(!(!($(B - $B(";XDj(B $B("4A;z3+;O("4A;z=*N;("%+%J3+;O("%+%J=*N;("1Q?t3+;O("Hw9M(B $B("(B - $B('(!(!(!(+(!(!(!(!(+(!(!(!(!(+(!(!(!(!(+(!(!(!(!(+(!(!(!(!(+(!(!(!(!(!(!(!(!(!()(B - $B("(Bjis7 $B("(B\E$B $B("(B\E(J $B("(B0x0e $B("(B0x0f $B("(B\E(J $B("(Bjis 7$BC10LId9f(B $B("(B - $B("(Bjunet $B("(B\E$B $B("(B\E(J $B("(B\E(I $B("(B\E(J $B("(B\E(J $B("(B7bits $B%3!<%I(B $B("(B - $B("(Bjis8 $B("(B\E$B $B("(B\E(J $B("(B-- $B("(B-- $B("(B\E(J $B("(Bjis 8$BC10LId9f(B $B("(B - $B("(Bj7bb $B("(B\E$B $B("(B\E(B $B("(B0x0e $B("(B0x0f $B("(B\E(B $B("(B $B("(B - $B("(Bj7bj $B("(B\E$B $B("(B\E(J $B("(B0x0e $B("(B0x0f $B("(B\E(J $B("(Bjis7$B$HF1$8(B $B("(B - $B("(Bj7bh $B("(B\E$B $B("(B\E(H $B("(B0x0e $B("(B0x0f $B("(B\E(H $B("(B $B("(B - $B("(Bj7@b $B("(B\E$@ $B("(B\E(B $B("(B0x0e $B("(B0x0f $B("(B\E(B $B("(B $B("(B - $B("(Bj7@j $B("(B\E$@ $B("(B\E(J $B("(B0x0e $B("(B0x0f $B("(B\E(J $B("(B $B("(B - $B("(Bj7@h $B("(B\E$@ $B("(B\E(H $B("(B0x0e $B("(B0x0f $B("(B\E(H $B("(B $B("(B - $B("(Bj8bb $B("(B\E$B $B("(B\E(B $B("(B-- $B("(B-- $B("(B\E(B $B("(B $B("(B - $B("(Bj8bj $B("(B\E$B $B("(B\E(J $B("(B-- $B("(B-- $B("(B\E(J $B("(Bjis8$B$HF1$8(B $B("(B - $B("(Bj8bh $B("(B\E$B $B("(B\E(H $B("(B-- $B("(B-- $B("(B\E(H $B("(B $B("(B - $B("(Bj8@b $B("(B\E@@ $B("(B\E(B $B("(B-- $B("(B-- $B("(B\E(B $B("(B $B("(B - $B("(Bj8@j $B("(B\E$@ $B("(B\E(J $B("(B-- $B("(B-- $B("(B\E(J $B("(B $B("(B - $B("(Bj8@h $B("(B\E$@ $B("(B\E(H $B("(B-- $B("(B-- $B("(B\E(H $B("(B $B("(B - $B("(Bjubb $B("(B\E$B $B("(B\E(B $B("(B\E(I $B("(B\E(B $B("(B\E(B $B("(B $B("(B - $B("(Bjubj $B("(B\E$B $B("(B\E(J $B("(B\E(I $B("(B\E(J $B("(B\E(J $B("(Bjunet$B$HF1$8(B $B("(B - $B("(Bjubh $B("(B\E$B $B("(B\E(H $B("(B\E(I $B("(B\E(H $B("(B\E(H $B("(B $B("(B - $B("(Bju@b $B("(B\E$@ $B("(B\E(B $B("(B\E(I $B("(B\E(B $B("(B\E(B $B("(B $B("(B - $B("(Bju@j $B("(B\E$@ $B("(B\E(J $B("(B\E(I $B("(B\E(J $B("(B\E(J $B("(B $B("(B - $B("(Bju@h $B("(B\E$@ $B("(B\E(H $B("(B\E(I $B("(B\E(H $B("(B\E(H $B("(B $B("(B - $B(&(!(!(!(*(!(!(!(!(*(!(!(!(!(*(!(!(!(!(*(!(!(!(!(*(!(!(!(!(*(!(!(!(!(!(!(!(!(!(%(B - - $B$$$:$l$N>l9g$b!"$9$G$KB8:_$7$F$$$kL>A0$KBP$7$F$O!"4A;z$N3+;O=*N;%7!<%1%s%9$O!"0J2<(B - $B$N$b$N$rG'<1$7$^$9!#(B - $B4A;z$N;O$^$j(B: \E$B $B$+(B \E$@ - $B4A;z$N=*$j(B: \E(J $B$+(B \E(B $B$+(B \E(H - -(2) smbclient $B$N%*%W%7%g%s(B - - $B%/%i%$%"%s%H%W%m%0%i%`$G$b!"4A;z$d2>L>$r4^$s$@%U%!%$%k$r07$($k$h$&$K!"<!$N%*%W%7%g%s(B - $B$rDI2C$7$^$7$?!#(B - - -t <$B%?!<%_%J%k%3!<%I7O(B> - - $B$3$3$G!"(B<$B%?!<%_%J%k%3!<%I7O(B>$B$K;XDj$G$-$k$b$N$O!">e$N(B<$B%3!<%I7O(B>$B$HF1$8$b$N$G$9!#(B - -(3) $B%G%U%)%k%H(B - - $B%G%U%)%k%H$N%3!<%I7O$O!"%3%s%Q%$%k;~$K7h$^$j$^$9!#(B - -3. $B%3%s%Q%$%k;~$N@_Dj(B - - Makefile $B$K@_Dj$9$k9`L\$r0J2<$K<($7$^$9!#(B - -(1) KANJI $B%U%i%0(B - - $B%3%s%Q%$%k%*%W%7%g%s$K(B -DKANJI=\"$B%3!<%I7O(B\" $B$r;XDj$7$^$9!#$3$N%3!<%I7O$O(B 2. $B$G;X(B - $BDj$9$k$b$N$HF1$8$G$9!#Nc$($P!"(B-DKANJI=\"euc\" $B$r(BFLAGSM $B$K@_Dj$9$k$H(B UNIX $B>e$N%U%!(B - $B%$%kL>$O!"(BEUC $B%3!<%I$K$J$j$^$9!#$3$3$G;XDj$7$?%3!<%I7O$O!"%5!<%P5Z$S%/%i%$%"%s%H(B - $B%W%m%0%i%`$N%G%U%)%k%H$KCM$J$j$^$9!#(B - - $B>0!"%*%W%7%g%sCf$N(B \ $B$d(B " $B$bK:$l$:$K;XDj$7$F2<$5$$!#(B - -3. $B@)8B;v9`(B - -(1) $B4A;z%3!<%I(B - smbd $B$rF0:n$5$;$k%[%9%H$N(B UNIX $B$,%5%]!<%H$7$F$$$J$$4A;z%3!<%I$O!"MxMQ$G$-$J$$$3$H$,(B - $B$"$j$^$9!#JQ$JF0:n$r$9$k$h$&$J$i(B hex $B$N;XDj$r$9$k$N$,NI$$$G$7$g$&!#(B - -(2) smbclient $B%3%^%s%I(B - $B%7%U%H%3!<%I$J$I$N4X78$G!"4A;z$d2>L>$r4^$s$@%U%!%$%kL>$N(B ls $B$NI=<($,Mp$l$k$3$H$,$"$j(B - $B$^$9!#(B - -(3) $B%o%$%k%I%+!<%I$K$D$$$F(B - $B$A$c$s$H$7$?%9%Z%C%/$,$h$/$o$+$i$J$+$C$?$N$G$9$,!"0l1~!"(BDOS/V $B$NF0:n$HF1$8F0:n$r9T$J(B - $B$&$h$&$K$J$C$F$$$^$9!#(B - -(4) $B%m%s%0%U%!%$%kL>$K$D$$$F(B - Windows NT/95 $B$G$O!"%m%s%0%U%!%$%kL>$,07$($^$9!#%m%s%0%U%!%$%kL>$r(B 8.3 $B%U%)!<%^%C%H(B - $B$G07$&$?$a$K!"(Bmangling $B$7$F$$$^$9$,!"$3$NJ}K!$O!"(BNT $B$d(B 95 $B$,9T$J$C$F$$$k(B mangling $B$H(B - $B$O0[$J$j$^$9$N$GCm0U$7$F2<$5$$!#(B - -4. $B>c32Ey$N%l%]!<%H$K$D$$$F(B - - $BF|K\8l$N%U%!%$%kL>$K4X$7$F!"J8;z2=$1Ey$N>c32$,$"$l$P!";d$K%l%]!<%H$7$FD:$1$l$P9,$$$G(B -$B$9!#$?$@$7!"%*%j%8%J%k$+$i$NLdBjE@$d<ALd$K$D$$$F$O!"%*%j%8%J%k$N:n<T$XD>@\Ld$$9g$o$;$k(B -$B$+!"$b$7$/$O%a!<%j%s%0%j%9%H$J$I$X%l%]!<%H$9$k$h$&$K$7$F2<$5$$!#(B - -$B%l%]!<%H$5$l$k>l9g!"MxMQ$5$l$F$$$k4D6-(B(UNIX $B5Z$S(B PC $BB&$N(BOS$B$J$I(B)$B$H$G$-$^$7$?$i@_Dj%U%!(B -$B%$%k$d%m%0$J$I$rE:IU$7$FD:$1$k$H9,$$$G$9!#(B - -5. $B$=$NB>(B - - $B%3!<%IJQ49$O0J2<$NJ}!9$,:n$i$l$?%W%m%0%i%`$rMxMQ$7$F$$$^$9!#(B - - hex $B7A<0(B $BBgLZ!wBgDM!&C^GH(B <ohki@gssm.otsuka.tsukuba.ac.jp>$B;a(B - cap $B7A<0(B $BI%ED(B $BF;O:(B (michiro@po.iijnet.or.jp)(michiro@dms.toppan.co.jp)$B;a(B - - $B$=$NB>!"$?$/$5$s$NJ}!9$+$i$$$m$$$m$H8f65<($$$?$@$-$"$j$,$H$&$4$6$$$^$7$?!#:#8e$H$b$h(B -$B$m$7$/$*4j$$CW$7$^$9!#(B - -1994$BG/(B10$B7n(B28$BF|(B $BBh#1HG(B -1995$BG/(B 8$B7n(B16$BF|(B $BBh#2HG(B -1995$BG/(B11$B7n(B24$BF|(B $BBh#3HG(B -1996$BG/(B 5$B7n(B13$BF|(B $BBh#4HG(B - -$BF#ED(B $B?r(B fujita@ainix.isac.co.jp - |