How to search a sanskrit word in pdf file?

223 views
Skip to first unread message

KN.Ramesh

unread,
Jun 28, 2018, 10:19:20 AM6/28/18
to samskrita
Dear all,

I usually search for  a word in acrobat reader with ctrl+f. then a dialog box comes.
There if I give the input in Devanagari, even though the word is available in front of me, acrobat is not recognising it.
I tried typing the word in English with KH notation, then also it is not recognising.

Hence the query , how to search a sanskrit word in pdf file which is in devanagari?

thanks
namaskarams


Taff Rivers

unread,
Jun 28, 2018, 4:14:23 PM6/28/18
to samskrita
KN Ramesh,

The Devnag font will need to be installed on your own particular computer device.

When displaying the content, the problem font will be embedded in the pdf file, along with its built- in hypertext tags to tell the pdf reader to switch language fonts.

To search the content for Devanagari -  you have to write in Devanagari - if your system is able to....

First you could try and copy a string of Devnag from the text and paste that into the search box.
If you see garbage characters,  you have some work to do....


Fonts?
    The reader will tell you:

For Foxit  Reader for example I access the its main menu:

File,  then  Properties, then Fonts.
    (Adobe is much the same)

   Voila!  all the required fonts are listed. 

It's up to you to find those fonts on the internet, download and  install  them.

Then, I assume you have a utility to switch keyboard language,
you must switch to a suitable font on your device before you can type away.

That's it!

Tecnical point, if you use a slow mobile or such. 
Embedded fonts contain only the characters that it actually uses, to reduce file size.
Downloaded fonts may be bi-, tri-  multi- lingual... and much bigger. 

Taff_Rivers

Anunad Singh

unread,
Jun 29, 2018, 2:33:29 PM6/29/18
to sams...@googlegroups.com
I use two methods to search Devanagari text in a pdf file (non-image).

(1) Suppose you see some word 'xyz' in front of you in the file, take
cursur there and copy it and paste into the search box. Do search
forward/backward as usual.

(2) Suppose you know the font of the Sanskrit text. Suppose it is
Krutidev10. (A very high fraction of Devanagari pdf files are in
Krutidev10). Open a Krutidev <==> Devanagari converter. Suppose you
want to search दण्डसंहिता in the pdf text. Convert दण्डसंहिता to
Krutidev. Copy the Krutidev text in the search box.....

This technique is very effective in searching devanagari material by
Google search too. Keep Krutidev <==> Devanagari converter in front
of you and convert the search results into devanagri using the
converter. reading few sentences of the search result, you can guess
which link you should follow.

On 6/29/18, Taff Rivers <eddie...@gmail.com> wrote:
> This message is eligible for Automatic Cleanup! (eddie...@gmail.com)
> Add cleanup rule:
> https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DNSR6WfueNA3c%252FjV8MB5gxF%252F7Q9BaCQk%252Fp5GCvfezjoU%253D%26token%3D3Y0Be4amzLinyiBQwGewyb7wJ991kvdmjW50OwrxKmzGglNkFFc8GSXBFwT9bWmwhFjx51DC9zvrWUlCXd%252BG0tZ%252BBxjDi1RMwEAQIijQ79lOyfOEopvQ9exy4bezxj3ymU0B2dZOSiK9KjrpB9IpIg%253D%253D&tc_serial=40640753792&tc_rand=1621113156&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
> More info:
> http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=40640753792&tc_rand=1621113156&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001
>

KN.Ramesh

unread,
Jul 2, 2018, 10:14:04 AM7/2/18
to samskrita
I tried the method in one of the pdfs, it worked..


Thanks Taff ji & Anunad ji

namaskarams
Reply all
Reply to author
Forward
0 new messages