[FM Discuss] Importing DocBooks

Vito Smolej smolejv at gmx.net
Tue Jan 4 10:00:29 PST 2011


S, adam piše:
> On Tue, 2011-01-04 at 08:56 -0600, James Simmons wrote:
>> Vito,
>>
>> I believe that DocBook can be used to generate HTML.  If you do that,
>> you could set up a manual in Booki, create empty chapters, and copy
>> and paste each HTML chapter into the Booki chapter using a web
>> browser.  It would be tedious, but Booki would preserve your
>> formatting.  I have imported more than a few things into my Booki at
>> home and at work using this technique.
> if you can convert docbook to html then its not too big a step to write
> the plugin to do it automagically i think..
>
> adam
>
Of course I can generate the HTML targets. However, while DocBook > HTML
works, HTML > DocBook does not. In other words things,  put into the
DocBook code with a lot of care and syntax checking etc,  get
metabolized / thrown away. My concern is of course that I would have to
put them in again. Well, one way to check it ;)

Re plugin: I am using a batch command with half a dozen parameters -
saxon.jar etc -.  Writing it is above my experience level and time
budget. On the other hand I would help anybody with the same problem
find the source of it. 

As regards the subject, i.e. the book: it  is a complete book, 28 html
files (just rebuilt it). I'll start kicking tyres some time soon.

Thanks everybody for the answers!

Regards

smo



More information about the Discuss mailing list