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] | [Elist Home]


Subject: Re: DOCBOOK: entity reference into entity definition


Jorge Godoy a écrit :
> 
> On Tue, Feb 15, 2000 at 02:53:09PM -0400, Camille Begnis wrote:
> > Hello,
> >
> > I'm working on a document translated to many languages. While the
> > structure of the document is the same for each language, I would like to
> > have a unique "top" sgml document referencing the chapters of a single
> > language.
> >
> > My question is How do I parametrize the call to different languages?
> >
> > I tried something like that, but it doesn't work:
> >
> > <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
> > <!ENTITY Lang "en" >
> > <!ENTITY ch-a SYSTEM "&Lang;/legal_notice_chapter.sgml">
> > ...
> >
> > the different chapters being stored in en/ fr/ es/ ... directories
> > depending on the language.
> >
> > I want to  be able to change one single entity (Lang) in order to have
> > my target doc in french (for ex.)
> 
> How about using a parameter entities? You would have this main file with
> "sections" selected accordingly to these entities values.

Hola Jorge,

Thanks for your suggestion. I already thought about it, but I find it of
no advantage compared to one file per language.... Bigger and not easy
for maintenance: adding a new language is painfull. :(

Thanks anyway, Camille.



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


Powered by eList eXpress LLC