OK
Heres what I did..for the Nuremberg.pdf file..
#!/bin/bash
filename="$1"
pdftohtml -xml "$NUREMBERG"
pdfreflow "${NUREMBERG%.pdf}.xml"
sed -i -e 'y//0123456789/' "${NUREMBERG%.pdf}.html"
ebook-convert "${NUREMBERG%.pdf}.html" "${NUREMBERG%.pdf}.epub"
But apparently I havent compiled the reflow thing right. I ran configure, then makefile.
Heres the output I got when I ran the above
-bash: ebook-convert: command not found
MacBookPro:~ wth$
My machine is called Macbookpro and wth of course is my home name.
Thanx for your help.
|