Am 24.08.2021 um 01:55 schrieb flywire:
https://fivedots.coe.psu.ac.th/~ad/jlop/chaps/46.%20Addons.pdf contains
codeblocks identified by a change of font and no other fonts on those
lines. I'd like to insert control codes before and after them while I'm
extracting text.

I'm on Win10 using:

java -jar pdfbox-app-2.0.24.jar ExtractText %1

Required code before and after codeblocks is: %newline%```%newline%

I've never compiled java before so take it steady.


Each TextPosition object has its own font, so you could try to detect the font changes.

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to