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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: DOCBOOK-APPS: Translating latex to docbook


Jens Emmerich wrote:

> Apart from sectioning and some kinds of lists, LaTeX/TeX's document markup
> mixing visual and locigal markup does not allow "correct" automatic
> translation into DocBook's more semantic markup.

I cann't agree with you. I have a lot of older documents in TeX. It's
not problem to use high-level macros to semanticaly markup your TeX
documents. If your documents use this approach it is quite easy to write
some script to convert them to DocBook. I personally used OmniMark
scripting engine for this purpose. It has unique output validating
parser - it means that result of transformation can be validated
on-the-fly and you can query current context in the XML/SGML output when
deciding how to convert something from TeX to XML/SGML. Even very simple
script can handle 99 % of TeX input. Rest can be turned to PIs and
cleaned manually.

But if your TeX source uses low-level formatting commands, nothing will
help you. ;-)

			Jirka
 
-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


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


Powered by eList eXpress LLC