Visit My Youtube Channel for Additional Resources....
I have written my own TeX preprocessor in which phonetic language is translated into kruti ramingaton form of hindi typing. Follow the given steps to install this package.
Create a root directory of any name. My TeX package directory has root directory `p2k'. `p2k' has all required files.
Now we are ready to install the package p2k in TeX distribution system. My system is MikTeX. Copy the package where you want to place it. Find the MikTeX Admin from MikTeX and open it. Select the Roots tab, use the Add button to add the package directory, move it to the top location by the Up button. Update database pushing the Refresh FNDB button. Find the updmap.cfg file and add the following line at the end of file:
MixedMap KDevPFB.map
Run following command to update mapped font list:
initexmf --mkmaps
Now, the package is ready to use. Each time you add new fonts, run initexmf --mkmaps command.
Go to the bin directory of the p2k root directory. Open p2k.exe. Give input file ./doc/input.hi and give output file ./doc/output.tex names. The phonetic contents is converted into the kruti contents. We can run this as commandline mode as
p2k.exe input.hi output.tex
Run above converted .tex file with following commands. The .pdf file shall show the result in english as well as devanagari scripts. The compilation commands are:
latex -interaction=nonstopmode hi.tex
dvips -u KDevPFB.map -o hi.ps hi.dvi
mgs -dALLOWPSTRANSPARENCY -sDEVICE=pdfwrite -o hi.pdf hi.ps
Download the utility from here. The output of this utility is shown in below figures.