This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RE: DOCBOOK: MS files included with elements?


"Prikryl,Petr" wrote:
> So, if I was forced to do it again, I would do it this way:
> 
>   1. Export the Word to HTML (manually).
>   2. Use HTML Tidy (off line) do convert the <font ...> and the like
>      tags into markup that uses CSS (automatically) and to
>      output the XML result.
>   3. Use ImageMagick to convert the images into the desired
>      format (off line).
>   4. Use some XSLT processor and write XSL file to prescribe
>      the conversion of that XML to DocBook XML (off line).
>   5. Perl may still be needed.
> 
> Well, I never did the third step (being very new to XSL), nor I know
> whether it is the best approach.  I guess that there could be some
> easier way.  Anyway, I think that "Word to HTML" is the first step
> to follow and I do not think that can be done off-line.
> 
> Any comments?  (I want to learn something better ;-)

Some commercial XML editors have quite good XML import filters. For
example Epic has import filter from Word to DocBook in standard
distribution. I think that similar feature is available also in XMetaL.

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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]