Reto
unread,Nov 12, 2011, 9:49:00 AM11/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chm2pdf
Hi Jeroen!
I just started using chm2pdf (and also ubuntu) and I am trying to
debug some problem I have.
But maybe I have a solution for you: what you ask is already possible!
If you run the chm2pdf with the --verbose --verbositylevel high
option, you'll see the invoke of htlmdoc.
Just for example, something like this;
htmldoc --book --duplex --format 'pdf14' --jpeg='100' --linkcolor
'blue' --header 'c C' --size 'a4' --no-duplex --linkstyle 'plain' --
embedfonts --bodyfont times --footer 'c C' "/tmp/tmpz5hkxw/Example/
temp0001.html" "/tmp/tmpz5hkxw/Example/temp0002.html" "/tmp/tmpz5hkxw/
Example/temp0003.html" "/tmp/tmpz5hkxw/Example/temp0004.html" "/tmp/
tmpz5hkxw/Example/temp0005.html" "/tmp/tmpz5hkxw/Example/
temp0006.html" "/tmp/tmpz5hkxw/Example/temp0007.html" "/tmp/tmpz5hkxw/
Example/temp0008.html" "/tmp/tmpz5hkxw/Example/temp0009.html" "/tmp/
tmpz5hkxw/Example/temp0010.html" "/tmp/tmpz5hkxw/Example/
temp0011.html" -f example.pdf > /dev/null
In the folder "/tmp/tmpz5hkxw/Example/ you have the prepared files for
htmldoc.
You can browse them with a browser and also edit them.
Then, when you are ready, just copy the invoke for htmldoc (with the
mouse) and paste it (also with the mouse) in the terminal to run it
again.
That should do it!
Ciao
Reto