[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xsl-stylesheets/manpages
Le Lundi 19 Mai 2003 18:15, Tim Waugh a �crit : > On Mon, May 19, 2003 at 05:43:49PM +0200, Alain PORTAL wrote: > > <?xml version='1.0' encoding="ISO-8859-15"?> > > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" > > "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-8/docbookx.dtd"> > > I think you meant to use: > > <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" > "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> This is the directory where is the dtd from the RedHat rpm package docbook-dtds-1.0-8.noarch.rpm The original (from openjade.xml) is <?xml version='1.0'?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd"> > > <article lang="fr"> > > Your article contains no <refentry> elements. Yes, of course, I didn't send the whole source (30.1Kb), only the articleinfo. Here is a bigger piece of the source : <?xml version='1.0' encoding="ISO-8859-15"?> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/xml-dtd-4.1.2-1.0-8/docbookx.dtd"> <article lang="fr"> <articleinfo> <title>openjade</title> <author> <firstname>James</firstname> <surname>Clark</surname> </author> <author> <firstname>Ian</firstname> <surname>Castle</surname> <affiliation><email>ian.castle@looksystems.co.uk</email></affiliation> </author> <othercredit role="translation"> <firstname>Alain</firstname> <surname>PORTAL</surname> <affiliation><email>aportal AT univ-montp2 DOT fr</email></affiliation> <contrib><para> Je remercie infiniment �ric Bischoff sans lequel cette traduction aurait eu du mal � voir le jour.</para> </contrib> </othercredit> <othercredit role="reviewer"> <firstname>Robin</firstname> <surname>DUBOIS</surname> <affiliation><email>robin.hood AT nottingham DOT uk</email></affiliation> <contrib><para>Je remercie Alain de m'avoir permis de relire ce texte.</para></contrib> </othercredit> <copyright> <year>2002</year> <holder>OpenJade Project</holder> </copyright> <pubdate>14 mai 2003</pubdate> </articleinfo> <section> <title>Reference</title> <refentry> <refentryinfo> <date>Janvier 2002</date> <productname>OpenJade</productname> </refentryinfo> <refmeta> <refentrytitle>openjade</refentrytitle> <manvolnum>1</manvolnum> </refmeta> <refnamediv> <refname>openjade</refname> <refpurpose>applique une feuille de style DSSSL � un document SGML ou XML</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>openjade</command> <arg choice="opt"><option>-vCegG2s</option></arg> <arg choice="opt"><option>-b <replaceable>encodage</replaceable></option></arg> <arg choice="opt"><option>-f <replaceable>fichier_erreur</replaceable></option></arg> <arg choice="opt"><option>-c <replaceable>catalog_sysid</replaceable></option></arg> <arg choice="opt"><option>-D <replaceable>r�pertoire</replaceable></option></arg> <arg choice="opt"><option>-a <replaceable>type_lien</replaceable></option></arg> <arg choice="opt"><option>-A <replaceable>arch</replaceable></option></arg> <arg choice="opt"><option>-E <replaceable>erreurs_max</replaceable></option></arg> <arg choice="opt"><option>-i <replaceable>entit�</replaceable></option></arg> <arg choice="opt"><option>-w <replaceable>type_avertissement</replaceable></option></arg> <arg choice="opt"><option>-d <replaceable>dsssl_spec</replaceable></option></arg> <arg choice="opt"><option>-V <replaceable>variable<option>=<replaceable>valeur</replaceable></option></replaceable></option></arg> <arg choice="opt"><option>-t <replaceable>type_sortie</replaceable></option></arg> <arg choice="opt"><option>-o <replaceable>fichier_sortie</replaceable></option></arg> <arg choice="opt" rep="repeat"><option><replaceable>sysid</replaceable></option></arg> </cmdsynopsis> </refsynopsisdiv> <!-- openjade [-vCegG2s] [-b encoding] [-f error_file] [-c catalog_sysid] [-D dir] [-a link_type] [-A arch] [-E max_errors] [-i entity] [-w warning_type] [-d dsssl_spec] [-V variable[=value]] [-t (fot|rtf|tex|mif|sgml|xml)] [-o output_file] sysid... --> <refsect1> <title>Description</title> <para> <command>openjade</command> est une impl�mentation du langage DSSSL d�fini par la norme ISO/IEC 10179:1996. Le moteur DSSSL re�oit en entr�e un document SGML ou XML et le transforme en des formats tels que : </para> </refsect1> <refsect1> <title>Environnement</title> <para> OpenJade ignore les variables d'environnement SP_CHARSET_FIXED et SP_SYSTEM_CHARSET et utilise toujours Unicode comme jeu de caract�res interne, comme si SP_CHARSET_FIXED vallait 1 et SP_SYSTEM_CHARSET n'�tait pas fix�e. Par cons�quent, seule la variable d'environnement SP_ENCODING joue un r�le dans la gestion des jeux de caract�res de OpenJade. </para> </refsect1> <refsect1> <title>Extensions OpenJade</title> <para> Les proc�dures externes suivantes sont disponibles. Ces proc�dures externes sont d�finies par un prototype de la m�me mani�re que dans la norme. Pour utiliser l'une de ces proc�dures externes, vous devez utiliser la proc�dure standard � external-procedure �, utilisant un identificateur public "UNREGISTERED::James Clark//Procedure::name" o� � name � est le nom donn� ici, typiquement en incluant ce qui suit dans la sp�cification DSSSL : </para> </refsect1> <refsect1> <title>Limitations</title> <para> Cette section d�crit les limitations de l'interface d'entr�e (le moteur DSSSL universel) ; chaque interface de sortie a �galement ses propres limitations. </para> </refsect1> <refsect1> <title>Exemples</title> <para> Pour un fichier SGML <command>file.sgml</command> donn�, utiliser la feuille de style <command>file.dsl</command> et le publier au format rtf. </para> <para> openjade -t rtf file.sgml </para> </refsect1> <refsect1> <title>Voir aussi</title> <para> <command>onsgmls(1)</command> </para> </refsect1> </refentry> </section> </article> Regards, -- Alain PORTAL Service Commun de Microscopie Electronique Case Courrier 087 Universit� de Montpellier II Place Eug�ne Bataillon 34095 Montpellier Cedex 05 T�l. : 04 67 14 37 35 Fax. : 04 67 14 37 37 E-mail : aportal@univ-montp2.fr http://www.univ-montp2.fr/~micro-elec-web/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]