(Courriels de diversion: <couder@loterie-canalisa.com> <appâtiez@grogneront-deteriorais.com> <bannir@delasseraient-agglomererions.com> <aveu@avalerent-tolees.com> <monologua@naufragee-laisserait.com> <voltages@rejouisse-vende.com> <bafouillerez@eraflures-stoppeur.com> <evacuees@visseraient-jaloux.com> <intermediaires@volontaire-mousseline.com> <troquee@fixais-baptisaient.com> )



Salut,

Je n'arrive pas à utiliser les DSSSL localisées sur ma Debian Slink.
La compilation par Jade fonctionne bien mais les entitées sont en anglais...
J'ai beau lire les docs, je ne vois pas pourquoi ça ne marcherait pas.
J'ai dû louper quelque chose. Il faut dire que je suis nul en Scheme.
Si l'un d'entre vous pouvait m'aider...

Voici les paquets que j'ai installé

 docbook         3.1-0.2        SGML DTD for software documentation
 docbook-doc     30d10-3        Documentation for the DocBook DTD.
 docbook-stylesh 1.38b-1        Modular DocBook stylesheets, for print and H...
 sgml-base       1.01           utilities to maintain the SGML catalog file
 sgml-data       0.16           common SGML DTDs and entities
 sgmlspm         1.03ii-8       Perl modules for processing SGML parser outp...
 jade            1.2.1-5        James Clark's DSSSL Engine
 jadetex         2.2-1          LaTeX macros for SGML to DVI/PS/PDF conversi...
 tetex-base      0.9.981113-1   basic teTeX library files
 tetex-bin       0.9.981113-2   teTeX binary files
 tetex-doc       0.9.981113-1   teTeX documentation
 tetex-extra     0.9.981113-1   extra teTeX library files
 tetex-nonfree   0.9.981113-1   non-free teTeX library files

J'invoque Jade de la façon suivante

 jade -G -t sgml -ihtml -d intro-a-qmail.dsl\#html intro-a-qmail.sgml
 jade -t tex -d intro-a-qmail.dsl\#printps intro-a-qmail.sgml
 jade -t tex -d intro-a-qmail.dsl\#printpdf intro-a-qmail.sgml

Et voici enfin le .dsl que j'utilise

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [

<!ENTITY % html "IGNORE">
<![%html;[
 <!ENTITY % print "IGNORE">
  <!ENTITY l10n
    SYSTEM "/usr/lib/dsssl/stylesheets/docbook/html/dbl1fr.dsl" CDATA DSSSL>
  <!ENTITY docbook
    SYSTEM "/usr/lib/dsssl/stylesheets/docbook/html/docbook.dsl" CDATA DSSSL>
]]>
<!ENTITY % print "INCLUDE">
<![%print;[
  <!ENTITY l10n
    SYSTEM "/usr/lib/dsssl/stylesheets/docbook/print/dbl1fr.dsl" CDATA DSSSL>
  <!ENTITY docbook
    SYSTEM "/usr/lib/dsssl/stylesheets/docbook/print/docbook.dsl" CDATA DSSSL>
]]>
]>

<style-sheet>
<style-specification id="printpdf" use="docbook l10n">
<style-specification-body> 
;; customize the print stylesheet
  (define %paper-type% "A4")
  (define %left-margin% 3pi)
  (define %right-margin% 3pi)
  (define %two-side% #t)
  (define %graphic-default-extension% "png")
  (element productname ($italic-seq$))
  (element application ($italic-seq$))
</style-specification-body>
</style-specification>

<style-specification id="printps" use="docbook l10n">
<style-specification-body> 
;; customize the print stylesheet
  (define %paper-type% "A4")
  (define %left-margin% 3pi)
  (define %right-margin% 3pi)
  (define %two-side% #t)
  (define %graphic-default-extension% "ps")
  (element productname ($italic-seq$))
  (element application ($italic-seq$))
</style-specification-body>
</style-specification>

<style-specification id="html" use="docbook l10n">
<style-specification-body> 
;; customize the html stylesheet
  (define %generate-book-titlepage% #t)
  (define %titlepage-in-info-order% #t)
  (define %admon-graphics-path% "./img/")
  (define %admon-graphics% #t)
  (define %generate-legalnotice-link% #f)
;  (define %legalnotice-link-file% "LICENCE")
  (define %graphic-default-extension% "gif")
  (define %html-ext% ".html")
  (define %use-id-as-filename% #t)
  (define %chapter-autolabel% #t)
  (define %section-autolabel% #t)
  (define %spacing-paras% #f)
  (define %shade-verbatim% #t)
  (define %html-manifest% #f)
  (element productname ($italic-seq$))
  (element application ($italic-seq$))
  (define %html-meta-tags%
   (list ;; Creator is handled automatically with %stylesheet-version%
         ;; (list "creator" "DSSSL DocBook to HTML Style Sheet")
         (list "form" "html")
         (list "Description" "Introduction to qmail in french")
         (list "Keywords" "qmail mta")
         (list "Keywords" "qmail mta")
         (list "Robot" "index,follow")
         (list "Author" "Djalil Chafai")))	 
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="docbook">
<external-specification id="l10n" document="l10n">
</style-sheet>

-- 
 Djèlil Chafaï, <URL:http://www-sv.cict.fr/lsp/Chafai/>
 « Think globally, act locally »

 _______________________________________________________________________
  Le CULTe sur le ouebe: http://savage.iut-blagnac.fr/