9
5
I tried several online and offline tools but table of content ( TOC ) information was not preserved during the conversion.
I would like to convert a 5000 page Finnish dictionary which is in djvu format and has about 5000 TOC entries structured hierarchically for finding words quickly.
Any idea how is it possible to preserve the TOC information during DJVU to PDF conversion?
I had a DJVU file with non-numeric text in the bookmark page number fields, so the parser didn't read them. I replaced
j.split('#')[1]
with(int(re.findall(r'\d+', j.split('#')[1])[0])+1)
and it worked great. Debian Jessie needed:sudo apt-get install pdftk djvulibre-bin python-pip ruby ruby-dev libmagickwand-dev; sudo pip install sexpdata; sudo gem install iconv pdfbeads
– None – 2016-12-17T23:17:49.977