Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Build a PDF book index

by LanX (Cardinal)
on Mar 17, 2018 at 16:51 UTC ( #1211150=note: print w/replies, xml ) Need Help??


in reply to Re^3: Build a PDF book index
in thread Build a PDF book index

You're welcome!

Please note: The -xml switch gives you also the font-number and text- position in case you need to adjust characters like described.

I had to do this in the past.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^5: Build a PDF book index
by markong (Monk) on Mar 18, 2018 at 23:23 UTC

    I am curious to what are you referring to. Are you referring to the content of the XML file output-ed ? e.g.:

    <text top="78" left="108" width="540" height="21" font="3">The develop +er, on the other hand, feels like hes interrupted several times a da +y for</text>
    Or are you talking about some cli option to give to the command? In this case, I don't see anything related (pdftohtml version 0.24.3).
      > Are you referring to the content of the XML file output-ed

      yes, this includes

      • fontnumber font="3" some fonts may need special translations
      • box geometry top="78" left="108" width="540" height="21" if you want to exclude special areas (footnotes, pagenumber, ...)

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1211150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2020-12-03 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (50 votes). Check out past polls.

    Notices?