Home: Perl Programming Help: Intermediate:
Perl script to count Math equations in PDF



GopalK78
New User

Oct 25, 2018, 7:48 PM


Views: 281
Perl script to count Math equations in PDF

Hi,

I need to count the number of Math equations within a PDF page. Can anyone help me to identify the correct module.

Thanks,
Gopal


FishMonger
Veteran / Moderator

Oct 26, 2018, 12:15 PM


Views: 271
Re: [GopalK78] Perl script to count Math equations in PDF

I have not worked with PDF related scripts but the first step would be to review the various PDF modules. Once you find a short list of possibilities, post your list for us to help narrow it down.

https://metacpan.org/search?size=20&q=pdf

If you want more specific help, you'll need to post a sample PDF and your test script.


bulrush
User

Nov 7, 2018, 3:02 AM


Views: 157
Re: [GopalK78] Perl script to count Math equations in PDF

Use http://online-convert.com to convert the PDF to text and then see if Perl can scan the text file for equations. It's one of the best free all-around convertors out there I've found. And I've converted dozens of PDFs to text with it.

Dealing with PDF content, in PDF or text form, is usually a PITA though.
-----


GopalK78
New User

Nov 7, 2018, 7:26 AM


Views: 150
Re: [bulrush] Perl script to count Math equations in PDF

Thanks for the reply. I will check this.