Michael Albert wrote:
>  
> Gotcha. I felt that after looking at the output of the generated PDF and
> saw just blank Xinclude statements, there was something that was missing
> :-)
> Thanks for the link as well to xsltproc.  Perhaps I can find a way to
> use it to automatically convert my documents to PDF and HTML...

I use gnu make. It is quite easy to define your own rules for how to use 
xsltproc etc. to convert between formats - including any necessary 
definitions and flags - in a makefile.

> ... The only
> other issue that's left is basically converting documents back from say
> PDF or rather RTF, to use in XXE.  I'll keep prodding around to see what
> I can find.  Any insight though is greatly appreciated.

If you can, you should strongly avoid having to work this way. I am not 
aware of any efforts but someone else may prove me wrong. This is a hard 
problem since these formats are oriented to the presentation of the text 
and make no attempt to separate presentation from content as Docbook does.

Having said that it will depend to some extent on the origin of the RTF 
and PDF documents - if they all come from a consistent source there may 
be some hope of a custom hack which would transform text into fairly 
basic docbook. Otherwise, I cannot envisage anything very much better 
than simply extracting a long sequence of docbook para elements.

Philip Nye

Reply via email to