OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[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 10:54, Thomas Schraitle wrote:
Hi Markos,

On Tue, 10 Feb 2015 10:22:28 -0200
Markos<markos@c2o.pro.br>  wrote:

I use Docbook to write documents in Portuguese and English.

I would like to start using Esperanto with Docbook.

How to write the letters of Esperanto with diacritic marks, ĉ, ĝ, ĥ,
ĵ, ŝ, and ŭ?
As you would do with any other (European) language: use UTF-8 as your
main encoding and add the diacritic letters directly.

If that doesn't work, you have to find out the Unicode codepoint of
your letter. For example, the codepoint for "ĝ" would be U+011D which
you write in your text as&#x011d;.

You can use DuckDuckGo to get the above number, for example

Thanks for the tip.

I used the codes found in http://unicode-table.com/en/sets/esperanto/ page

<para>&#264; &#284; &#292; &#308; &#348; &#364; &#265; &#285; &#293; &#349; &#365; ?</para>

and generated:

Ĉ Ĝ Ĥ Ĵ Ŝ Ŭ ĉ ĝ ĥ ŝ ŭ

But just another question.

Doesn't matter if I use in the header:

<? xml version = "1.0" encoding = "ISO-8859-1"?>
<? xml version = "1.0" encoding = "utf-8"?>

And also don't makes any difference to use:

<article lang = "en">
<article lang = "pt-br">

The codes &#264; &#284; ... works fine.

But if I use:

<article lang = "eo">

Appears an error :


Thanks for your attention,

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: L10N ERROR: generate-toc-in-front openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:425:12:E: L10N ERROR: gentext-intra-label-sep openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:472:12:E: L10N ERROR: gentext-label-title-sep openjade:/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/../common/dbl10n.dsl:425:12:E: L10N ERROR: gentext-intra-label-sep
&#264; &#284; &#292; &#308; &#348; &#364; &#265; &#285; &#293; &#349;
&#365; </P

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]