[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] Document in Esperanto with Docbook
On 10-02-2015 11:58, Thomas Schraitle wrote:
Hi Markos, On Tue, 10 Feb 2015 11:41:47 -0200 Markos<markos@c2o.pro.br> wrote:[...] Thanks for the tip. I used the codes found in http://unicode-table.com/en/sets/esperanto/ page <para>ĈĜĤĴŜŬĉĝĥ ŝŭ ?</para> and generated: Ĉ Ĝ Ĥ Ĵ Ŝ Ŭ ĉ ĝ ĥ ŝ ŭ But just another question. Doesn't matter if I use in the header: <? xml version = "1.0" encoding = "ISO-8859-1"?> or <? xml version = "1.0" encoding = "utf-8"?>In XML you have two options to add characters: directly or with the syntax&#xHEX_CODEPOINT;. If you used this notation throughout your document, your encoding will be just ASCII. ;) ASCII is a subset of the ISO and UTF-8 encodings so you won't see any difference as there are none. However, things are different, if you've inserted your characters directly. In that case, it IS important what encoding you've used. Of course, this should be added into the XML declaration.And also don't makes any difference to use: <article lang = "en"> or <article lang = "pt-br"> The codesĈĜ ... works fine. But if I use: <article lang = "eo"> Appears an error : Why? Thanks for your attention, Markos Error when I use lang = "eo" $ jw esperanto.xml Using catalogs: /etc/sgml/catalog Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#html Working on: esperanto.xml openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:280:10:E:I'm not sure, why this happened. Probably an encoding issue in esperanto.xml? However, from your output you use the DSSSL stylesheets. These are quite old. Have you any special reason why you use these instead of XSLT?
Hi Thomas, I don't know the technical details of DocBook.I just know the tags to generate the xml source files and use the script "jw" on Linux (Debian 6.0) to generate the html files.
Some info about jw script: The jw shell script allows to convert a DocBook file (or some otherSGML-based format) to other formats (including HTML, RTF, PS and PDF) with an easy-to-understand syntax. It hides most of Jade's or OpenJade
complexity and adds comfortable features. I just installed the docbook-utils package with the command: apt-get install docbook-utilsDo you suggest any tutorial for a user like me to be able to update the DocBook in Debian Squeeze?
Thanks for your attention. Markos
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]