diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/wntamil')
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/readme.doc | 91 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/tamdict.tex | 313 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/tamdict.txt | 313 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/tamilize.c | 323 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/tamilmax.tex | 369 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/wntamil/tmilize.c | 324 |
6 files changed, 1733 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/wntamil/readme.doc b/Master/texmf-dist/doc/fonts/wntamil/readme.doc new file mode 100644 index 00000000000..631aaea6749 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/readme.doc @@ -0,0 +1,91 @@ +\input tamilmax +4/20/90 + +** Brief notes on the use of the wntml Tamil-in-METAFONT font ** + +Wntml was developed for a bilingual dictionary project which +has now been in development for some six years. The project +was begun on PCs using a romanized transcription with no +attempts to represent Tamil script interactively. Existing +facilities for producing Tamil output are based entirely on this +less than optimal transcription of Tamil. + +Someone at liberty to begin anew, could use a much cleaner solution. +The transcription scheme we are using is illustrated by the following chart. +To view this chart in a meaningful way, run + tamilize readme.doc readme.tex +then TeX and print the results. (You will need to have +run METAFONT on wntml first, of course.) + + +~ a aa i ii u uu e ee o oo ai au + +ka kaa ki kii ku kuu ke kee ko koo kai kau + +nga ngaa ngi ngii ngu nguu nge ngee ngo ngoo ngai ngau + +ca caa ci cii cu cuu ce cee co coo cai cau + +5a 5aa 5i 5ii 5u 5uu 5e 5ee 5o 5oo 5ai 5au + +8a 8aa 8i 8ii 8u 8uu 8e 8ee 8o 8oo 8ai 8au + +3a 3aa 3i 3ii 3u 3uu 3e 3ee 3o 3oo 3ai 3au + +ta taa ti tii tu tuu te tee to too tai tau + +na naa ni nii nu nuu ne nee no noo nai nau + +pa paa pi pii pu puu pe pee po poo pai pau + +ma maa mi mii mu muu me mee mo moo mai mau + +ya yaa yi yii yu yuu ye yee yo yoo yai yau + +ra raa ri rii ru ruu re ree ro roo rai rau + +la laa li lii lu luu le lee lo loo lai lau + +va vaa vi vii vu vuu ve vee vo voo vai vau + +7a 7aa 7i 7ii 7u 7uu 7e 7ee 7o 7oo 7ai 7au + +9a 9aa 9i 9ii 9u 9uu 9e 9ee 9o 9oo 9ai 9au + +6a 6aa 6i 6ii 6u 6uu 6e 6ee 6o 6oo 6ai 6au + +2a 2aa 2i 2ii 2u 2uu 2e 2ee 2o 2oo 2ai 2au + +~ + +Tamilize converts the transcribed tamil (using the tilde +character as a delimiter for strings in Tamil script --- +text is assumed in Roman until the first tilde; the vertical +bar character is used to delimit strings which should be +output as romanized Tamil using the usual dots-under-letters +and other customary diacritics for Indic) into a series of +TeX macros, each of which prints a single +Tamil grapheme. Tamil graphemes generally correspond to +syllables, so essentially Tamilize is scanning its input +for syllables and invoking a predetermined macro for +each syllable. The current version of Tamilmax, in +which the syllable macros are defined, catcodes Ctrl-A +as equivalent to backslash, and Tamilize uses Ctrl-A as +the command character for all the Tamil syllable macros. +With an editor which can hide control characters, the +tamilized transliteration is still somewhat readable, +and is useful for debugging output. Extensive editing of text +should always take place in the un-tamilized transcription, +with subsequent tamilizing before running TeX --- otherwise +errors will almost certainly be introduced in the editing +process. + + +IF YOUR COPY OF WNTML INCLUDES A TAMDICT.TXT OR TAMDICT.TEX SAMPLE +FILE, PLEASE BE AWARE THAT THE SAMPLE IS FROM A WORK IN PROGRESS: +DO NOT QUOTE THE SAMPLE TEXT. + + +7/10/91 Some TeXs on PCs gag when they see the control-As which tamilize +introduces; users of such TeXs will prefer tmilize, which is just like +tamilize but uses '\' instead of '^A'. diff --git a/Master/texmf-dist/doc/fonts/wntamil/tamdict.tex b/Master/texmf-dist/doc/fonts/wntamil/tamdict.tex new file mode 100644 index 00000000000..f3275447cc3 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/tamdict.tex @@ -0,0 +1,313 @@ +\input tamilmax +\hsize=4in +\font\norm=cmr10 +\font\roman=cmr10 +\font\vclass=cmr7 +\font\glossy=cmti10 +\font\emphatic=cmb10 +\font\transcribe=cmss10 +\norm +\newif\ifnewentry +\def\hw#1{\par\medskip{\emphatic #1\hfil\break\newentrytrue}} +\def\md#1#2{{\emphatic\ifnewentry\hbox to 25pt{\hfil}\newentryfalse\fi(#1)} #2} +\def\rt#1{,\ {\transcribe #1}} +\def\vc#1{,\ {\vclass #1}} +\def\eg#1{,\ {\glossy #1}} +\def\syn#1#2{\ $\mapsto$ #1: #2} +\def\wtvc#1{,\ {\vclass #1}} +\hw{fascinated, be} + \md{1}{{\btam sokku}\etam }\rt{|sokku|}\vc{3 intr} + \eg{be charmed, enchanted or absorbed in} + \syn{1}{{\btam mayangku}\etam }\wtvc{3 i} + \md{2}{{\btam mayangku}\etam }\rt{|mayangu|}\vc{3 intr} + \eg{be charmed or enchanted; be enamoured; be confused} + \md{3}{{\btam vasappaTu}\etam }\rt{|vasa-pa8u|}\vc{4 intr} + \eg{be captivated or enchanted; come under the power or influence of; lose oneself in} + \syn{1}{{\btam vayappaTu}\etam }\wtvc{4i}. +\hw{fashion} + \md{1}{{\btam sey}\etam }\wtvc{1t}\rt{|seyyi|}\vc{2b tr} + \eg{make; form; shape s.t. out of s.t. else} + \syn{1}{{\btam puNai}\etam }\wtvc{2t} + \md{2}{{\btam amaittukkoL}\etam }\wtvc{1t}\rt{|a8p8 pa33u|}\vc{3 tr} + \eg{adapt}. +\hw{fashionable, be} + \md{1}{{\btam naakarikamaaka iru}\etam }\wtvc{7i} + \eg{be stylish, conforming to the fashion; be liked by people of fashion} + \syn{1}{{\btam xpaaSaNaaka iru}\etam }\rt{|fae4anaa iru|}\vc{7 intr} + \syn{2}{{\btam sTailaaka iru}\etam }\rt{|s8aylaa iru|}\vc{7 intr}. +\hw{fast} + \md{1}{{\btam saappiTaamal iru}\etam }\rt{|saappi8aame iru|}\vc{7 intr} + \eg{deliberately go without food; fast temporarily} + \md{2}{{\btam paTTiNi keTa}\etam }\rt{|pa8ni ke8a|}\vc{7 intr} + \eg{go without food; abstain from food} + \md{3}{{\btam uNNNNaaviratam iru}\etam }\rt{|u33aaviradam iru|}\vc{7 intr} + \eg{abstain from food, as a religious duty or for political and other reasons} + \md{4}{{\btam nooNpu iru}\etam }\wtvc{7i} + \eg{go without any or certain kinds of food, as a religious duty} + \syn{1}{{\btam upavaacam iru}\etam }\wtvc{7i}. +\hw{fast, be} + \md{1}{{\btam veekamaaka iru}\etam }\rt{|veehamaa iru|}\vc{7 intr} + \eg{be rapid, quick, speedy} + \syn{1}{{\btam virai}\etam }\wtvc{2i} + \md{2}{{\btam veekamaaka ooTu}\etam }\rt{|veehamaa oo8u|}\vc{3 intr} + \eg{(of a watch, clock) be in advance; be ahead of time; run rapidly or quickly} + \md{3}{{\btam uRutiyaaka iru}\etam }\wtvc{7i} + \eg{be firm; be firmly tied, as a knot; be strong or secure} + \md{4}{{\btam uutaariyaaka iru}\etam }\rt{|uudaariyaa iru|}\vc{7 intr} + \eg{be a spendthrift; lead a carefree, wild life}. +\hw{fast, become} + \md{1}{{\btam uRutiyaaku}\etam }\wtvc{3i} + \eg{become firm, strong or secure}. +\hw{fasten} + \md{1}{{\btam kaTTu}\etam }\rt{|ka88u|}\vc{3 tr} + \eg{bind; pack; tie up, as an animal to a peg} + \md{2}{{\btam muuTu}\etam }\rt{|muu8u|}\vc{3 tr} + \eg{close, as a window, a door, a box} + \md{3}{{\btam aTai}\etam }\rt{|a8e|}\vc{6 tr} + \eg{shut, as a window or door; shut animals up in a fold; put s.t. or s.o. in a cage or enclosure} + \md{4}{{\btam puuTTu}\etam }\rt{|puu88u|}\vc{3 tr} + \eg{lock up, as a door or a box} + \md{5}{{\btam pooTu}\etam }\rt{|poo8u|}\vc{4 tr} + \eg{make secure, as a shirt with buttons, a door with a bolt} + \syn{1}{{\btam maaTTu}\etam }\rt{|maa88u|}\vc{3 tr} + \eg{hook s.t.} + \md{6}{{\btam taaZ iTu}\etam }\wtvc{4t} + \eg{bolt, as the door, window, etc.} + \md{7}{{\btam poruttu}\etam }\wtvc{3t} + \eg{fix; attach firmly; attach s.t. to s.t. else, as sewing buttons on to a shirt, fixing a lock to a door, etc.; fix (one's eyes) on s.t. or s.o.} + \md{8}{{\btam toTuttuvai}\etam }\rt{|to8uttu vayyi|}\vc{6b tr} + \eg{tie or fasten lightly; string together, as garlands, flowers, etc.}. +\hw{fasten down} + \md{1}{{\btam kaTTu}\etam }\rt{|ka88u|}\vc{3 tr} + \eg{fasten to a horizontal surface; bind; tie; batten down}. +\hw{fasten off} + \md{1}{{\btam piNNai}\etam }\rt{|po3e, po3e|}\vc{6 tr} + \eg{tie, as two pieces of thread by knotting} + \syn{1}{{\btam muTi}\etam }\rt{|mu8i|}\vc{6b tr} + \eg{tie as two pieces of thread by rolling the ends together}. +\hw{fasten on} + \md{1}{{\btam piTittuk koL}\etam }\wtvc{1}\rt{|pi8iccikkoo|}\vc{4 tr} + \eg{seize; take a firm hold of; single s.t. or s.o. out for attack} + \st{{\btam naaN coNNataiyee avaN piTittuk koNNTaaN}\etam } + \sr{|naan sonnadayee aven pi{\d d}iccikki{\d t}{\d t}aan|} + \se{He fastened (or) seized upon what I said.}. +\hw{fasten one's eyes on} + \md{1}{{\btam veRittup paar}\etam }\rt{|vericci paaru|}\vc{6 tr} + \eg{gaze at; focus on; stare at} + \syn{1}{{\btam veRi}\etam }\wtvc{6t} + \md{2}{{\btam kaNNkaNNaip pa{\roman d}i}\etam }\rt{|ka33e padi|}\vc{6b ta} + \eg{fix one's eyes, as on s.o. or s.t.} + \st{{\btam avaN eN miitu kaNNkaNNaip patittaaN}\etam } + \sr{|avan en meele ka{\d n}{\d n}e padiccaan|} + \se{He fixed his eyes on me.}. +\hw{fasten up} + \md{1}{{\btam maaTTu}\etam }\rt{|maa88u|}\vc{3 tr} + \eg{fasten s.t. to a vertical surface} + \st{{\btam intap paTattai angkee maaTTu}\etam } + \sr{|indap pa{\d d}atte ange maa{\d t}{\d t}u|} + \se{Fasten this picture up there.}. +\hw{fasten upon} + \md{1}{{\btam pattikkoL}\etam }\wtvc{1t} + \eg{sieze; take hold of} + \st{cf. fasten on}. +\hw{fastened, be} + \md{1}{{\btam pati}\etam }\rt{|padi|}\vc{2b intr} + \eg{be fixed, as one's sight or attention upon s.t.; be coupled firmly, as two planks of wood in joining} + \md{2}{{\btam poruntu}\etam }\wtvc{3i} + \eg{be attached firmly; dovetail} + \md{3}{{\btam iNNai}\etam }\wtvc{2i} + \eg{be attached or joined; be tied or made fast}. +\hw{fat} + \md{1}{{\btam paruttuviTu}\etam }\rt{|paruttu8u|}\vc{4 intr} + \eg{become fleshy, stout or heavy} + \syn{1}{{\btam paru}\etam }\wtvc{6i} + \md{2}{{\btam cataipiTittiru}\etam }\rt{|sade pi8icc-iru|}\vc{7 intr + dat} + \eg{put on flesh; become plump or heavy} + \syn{1}{{\btam catai pooTTiru}\etam }\rt{|sade poo88iru|}\vc{7 intr} + \md{3}{{\btam eTai kuuTu}\etam }\rt{|e8e kuu8u|}\vc{3 intr + dat} + \eg{gain weight} + \md{4}{{\btam taTittuviTu}\etam }\rt{|ta8icc-i8u|}\vc{4 ta} + \eg{become heavy or stout} + \syn{1}{{\btam taTi}\etam }\wtvc{6i} + \md{5}{{\btam koZuttiru}\etam }\rt{|ko7utt-iru|}\vc{7 intr} + \eg{be very fat; be fattened, as a animal, etc.; be thick or well-filled as a purse} + \syn{1}{{\btam koZa}\etam }\wtvc{6i}. +\hw{fatal, be} + \md{1}{{\btam uyirukku aapattaaka iru}\etam }\rt{|uyirukku aabattaa iru|}\vc{7 intr} + \eg{be a danger or risk to one's life; cause danger to one's life} + \syn{1}{{\btam uyirukku aapattaaku}\etam }\rt{|uyirukku aabatt-aahu|}\vc{3b intr} + \syn{2}{{\btam uyirukku apaayam viNNaivi}\etam }\wtvc{6ta} + \syn{3}{{\btam uyirukku aapattu viNNaivi}\etam }\wtvc{6ta} + \md{2}{{\btam caavukkuk kaaraNNamaaka iru}\etam }\rt{|saavukku kaara3amaa iru|}\vc{7 intr} + \eg{bring about death; be the cause of s.o.'s death.} + \md{3}{{\btam naacamaakku}\etam }\rt{|naasam aakku|}\vc{3 tr} + \eg{destroy, ruin, cause misfortune} + \syn{1}{{\btam naacappaTuttu}\etam }\rt{|naasa-pa8uttu|}\vc{3 tr} + \syn{2}{{\btam naasamuTTu}\etam }\wtvc{3ta} + \md{4}{{\btam paaZaakku}\etam }\rt{|paa7-aakku|}\vc{3 tr} + \eg{cause ruin, destruction or failure} + \syn{1}{{\btam paaZpaTuttu}\etam }\rt{|paa7 pa8uttu|}\vc{3 tr} + \syn{2}{{\btam naasamaakku}\etam }\wtvc{3t} + \md{5}{{\btam vitivasamaaku}\etam }\rt{|vidivasam-aahu|}\vc{3b intr 3 pn} + \eg{be connected with fate or destiny; be fateful, as a meeting, an occurrence, a period} + \st{{\btam anta cantippu vitivacamaaNatu}\etam } + \sr{|anda sandippu vidivasamaanadu|} + \se{That meeting (or) encounter was fatal (fateful).} + \md{6}{{\btam talaivitiyaaku}\etam }\rt{|talevidi aahu|}\vc{3b intr 3pn} + \eg{be fated or destined; be so written} + \st{{\btam anta vipattu avaN talaiviti {\roman (}yaakum{\roman )}}\etam } + \sr{|anda vibattu avan talevidi (aahum)|} + \se{That accident occurred because of his fate; That accident was fated to occur to him. (both used usually in an unfavourable sense)} + \md{7}{{\btam keeTukaalam piTittiru}\etam }\rt{|kee8ukaalam pi8icc-iru|}\vc{7 intr + dat} + \eg{be in for a bad time; be on the road to ruin; be under bad stars} + \st{{\btam avaNukku keeTukaalam piTittirukkiRatu}\etam } + \sr{|avanukku kee{\d d}ukaalam pi{\d d}iccirukku|} + \se{Misfortune has caught up with him; (or) He is in for a bad time; he is jinxed.}. +\hw{fatalistic, be} + \md{1}{{\btam vitiyee eNRu iru}\etam }\rt{|vidiyee-33u iru|}\vc{7 intr} + \eg{hold the attitude of fatality or the doctrine of fatalism; be resigned; have a negative attitude about s.t.} + \syn{1}{{\btam uuZvali eNRu iru}\etam }\wtvc{7i} + \md{2}{{\btam naTappatu naTakkaTTum eNRu iru}\etam }\rt{|na8appadu na8akka88um-33u iru|}\vc{7 intr} + \eg{hold the attitude that whatever will be will be; submit to circumstances as inevitable; submit passively to misfortune, calamity, etc.} + \syn{1}{{\btam {\roman (}kaTavuL{\roman )} viTTavaZi eNRu iru}\etam }\rt{|(ka8avu9) vi88ava7i-33u iru|}\vc{7 intr}. +\hw{fateful, be} + \md{1}{{\btam vitivacamaaku}\etam }\rt{|vidivasam-aahu|}\vc{3b intr 3pn (pres \& fut only)} + \eg{be connected with fate or destiny; be fatal, as an event, a period, etc.} + \st{{\btam avaL taRkolai vitivacamaaTum}\etam } + \sr{|ava9 tarkolai vidivasam aahum|} + \se{Hers was a fateful suicide.} + \syn{1}{{\btam uuviNaiyaaku}\etam }\wtvc{3 3pn} + \md{2}{{\btam mukkiyamaaku}\etam }\rt{|mukkiyam aahu|}\vc{3b intr 3pn} + \eg{be important; be momentous} + \syn{1}{{\btam siRappaaku}\etam }\wtvc{3 3pn} + \syn{2}{{\btam viseevimaaku}\etam }\wtvc{3 3pn}. +\hw{father} + \md{1}{{\btam uruvaakku}\etam }\rt{|uruvakku|}\vc{3 tr} + \eg{found, originate, as a doctrine, a sect, etc.; propound as a theory, a practice, a way of life} + \syn{1}{{\btam tooRRuvi}\etam }\wtvc{6t} + \syn{2}{{\btam uNNTaakku}\etam }\rt{|u38-aakku|}\vc{3 tr}. +\hw{fathom} + \md{1}{{\btam aaZam kaNNTupiTi}\etam }\rt{|aa7am ka38u-pi8i|}\vc{6b ta} + \eg{find or measure the depth of river, sea, well, pit, crater, etc.} + \syn{1}{{\btam aaZam {\roman (}aaZattaik{\roman )} kaNNakkiTu}\etam }\wtvc{4ta} + \md{2}{{\btam aaZam paar}\etam }\rt{|aa7am paaru|}\vc{6 tr} + \eg{find or measure the depth of river, pit, etc.; test or examine s.o.'s learning, qualification, sincerity, etc.} + \md{3}{{\btam parintukoL}\etam }\wtvc{1t}\rt{|purinjikkoo|}\vc{4 tr} + \eg{understand, comprehend; get to the bottom of, as an event, a person's motive, etc.} + \syn{1}{{\btam aRi}\etam (or)? {\btam aaZankaRi}\etam }\wtvc{2t}. +\hw{fatigue} + \md{1}{{\btam kaLaippu uNNTaakku}\etam }\rt{|ka9eppe u38-aakku|}\vc{3 ta} + \eg{cause fatigue; cause to feel fatigued} + \syn{1}{{\btam coorvu uNNTaakku}\etam }\wtvc{3ta} + \md{2}{{\btam kaLaippaTaiyac cey}\etam }\wtvc{1t} + \eg{cause to fatigue; cause to feel tired or weary} + \syn{1}{{\btam coorvaTaiyac cey}\etam (or) {\btam coorv}\etam }\wtvc{1t}. % synonym truncated? +\hw{fatigued, be} + \md{1}{{\btam aluttup poo}\etam }\rt{|aluttup poo|}\vc{3b intr 3pn (usu + past only)} + \eg{become weary; become discouraged} + \st{{\btam eNakku aluttup pooyiRRu}\etam } + \sr{|enakku aluttu pooccu|} + \se{I am tired, fed up.} + \syn{1}{{\btam salittup poo}\etam }\wtvc{w. dat.}\rt{|saliccu poo|}\vc{3b intr (usu + past only)} + \syn{2}{{\btam aluttuviTu}\etam }\wtvc{4i 3 pn} + \syn{3}{{\btam salittuviTu}\etam }\wtvc{4i 3 pn} + \md{2}{{\btam kaLaittup poo}\etam }\rt{|ka9eccip poo|}\vc{3b intr 3pn + dat (usu + past} + \eg{become tired or wearied; become exhausted} + \syn{1}{{\btam soorntu poo}\etam }\rt{|soondu poo|}\vc{3 intr 3pn + dat (usu + past} + \syn{2}{{\btam ayarntu poo}\etam }\rt{|asandu poo|}\vc{3 intr 3pn + dat (usu past onl} + \md{3}{{\btam kaLaippaay iru}\etam }\rt{|ka9eppaa iru|}\vc{7 intr + dat} + \eg{be tired or exhausted; look or feel tired and weary} + \st{{\btam avaN kaLaippaay iruntaaN}\etam , {\btam avaNukku kaLaippaay iruntatu}\etam } + \sr{|avan ka9eppaa irundaan, avanukku ka9eppaa irundadu|} + \se{He was (or felt) fatigued.} + \syn{1}{{\btam coorvaay iru}\etam }\rt{|soorvaa iru|}\vc{7 intr + dat} + \md{4}{{\btam coorntuviTi}\etam }\rt{|soondu8u|}\vc{4 intr} + \eg{grow weary or exhausted; be tired and worn out} + \syn{1}{{\btam kaLaittuviTu}\etam }\rt{|ka9ecc-i8u|}\vc{4 ta} + \syn{2}{{\btam ayarntuviTu}\etam }\rt{|asandu8u|}\vc{4 intr} + \md{5}{{\btam ayarvuRu}\etam }\wtvc{1i} + \eg{be tired or weary} + \syn{1}{{\btam ayarvaTai}\etam }\wtvc{2i} + \syn{2}{{\btam kaLappaTai}\etam }\wtvc{2i} + \syn{3}{{\btam coorvaTai}\etam }\wtvc{2i} + \syn{4}{{\btam coorvuRu}\etam }\wtvc{1i} + \md{6}{{\btam iNaippaay iru}\etam }\wtvc{7i} + \eg{be short of breath or gasp because of over exhaustion; be weak and worn out}. +\hw{fatten} + \md{1}{{\btam koZu}\etam }\rt{|ko7u|}\vc{6 intr} + \eg{grow fat; become plump} + \syn{1}{{\btam paruttuviTu}\etam }\rt{|paattu8u|}\vc{4 intr} + \md{2}{{\btam koZukka vai}\etam }\rt{|ko7ukka vayyi|}\vc{6b tr} + \eg{make fat; fatten up, as sheep for slaughter} + \md{3}{{\btam seZikkas sey}\etam }\wtvc{1t} + \eg{help grow better; nourish, as crop, people, etc.; enrich, as soil, ideas, etc.} + \syn{1}{{\btam seZikka vai}\etam }\wtvc{6t}. +\hw{fatty, be} + \md{1}{{\btam kooZuppaay iru}\etam }\rt{|ko7uppaa iru|}\vc{7 intr} + \eg{contain excessive fat, as muscle, food, meat, soup, etc.} + \md{2}{{\btam koZuppas sattu uTaiyataay iru}\etam }\wtvc{7i} + \eg{contain nutrative fat, as foods etc.} + \syn{1}{{\btam koZuppus sattu noNNTiru }\etam }\wtvc{7i}. +\hw{fatuous, be} + \md{1}{{\btam maTattaNamaaka iru}\etam }\rt{|ma8attanamaa iru|}\vc{7 intr} + \eg{be silly; be inane} + \syn{1}{{\btam peetaitataNamaaka iru}\etam }\wtvc{7i} + \md{2}{{\btam muTTaaLtaNamaaka iru}\etam }\rt{|mu88aa9tanamaa iru|}\vc{7 intr} + \eg{be foolish; be silly} + \syn{1}{{\btam maTattaNamaaka iru}\etam }\wtvc{7i}. +\hw{fault} + \md{1}{{\btam tappu sol}\etam }\rt{|tappu sollu|}\vc{3c tr} + \eg{censure; blame; find fault with} + \syn{1}{{\btam tavaRu sol}\etam }\wtvc{3t} + \syn{2}{{\btam piZai sol}\etam }\wtvc{3t} + \md{2}{{\btam kuRRam sol}\etam }\rt{|kuttam sollu|}\vc{3c tr, ta} + \eg{find fault with; blame; criticise} + \syn{1}{{\btam kuRai sol}\etam }\rt{|kore sollu|}\vc{3c tr} + \syn{2}{{\btam piZai sol}\etam }\wtvc{3t}. +\hw{faulty, be} + \md{1}{{\btam tappaaka iru}\etam }\rt{|tappaa iru|}\vc{7 intr 3pn} + \eg{be wrong; contain faults, mistakes or errors} + \syn{1}{{\btam piZaiyaay iru}\etam (and) {\btam tavaruk}\etam }\wtvc{7 3pn} + \md{2}{{\btam piZaiyaaka iru}\etam }\wtvc{7i 3pn} + \eg{be full of faults or defects} + \md{3}{{\btam kuRaipaaTu koNNTiru}\etam }\wtvc{7i} + \eg{contain faults or blemishes; be defective}. +\hw{favour} + \md{1}{{\btam aatari}\etam }\rt{|aadari|}\vc{6b tr} + \eg{support, show favour to} + \syn{1}{{\btam aataravu kaaTTu}\etam }\rt{|aadaruvu kaa88u|}\vc{3 tr + dat} + \syn{2}{{\btam aataravu taa}\etam }\rt{|aadaravu taa|}\vc{2c ta + dat} + \st{{\btam avarkaL avaNai aakarittaarkaL}\etam , {\btam avarkaL avarukku aataravu koTuttaarkaL}\etam (or) {\btam tantaarkaL}\etam } + \sr{|avanga avane aadariccaanga, avanga avanukku aadaravu ku{\d d}uttaanga (or) tandaanga|} + \se{They gave him the benefit of the doubt; they favoured him.} + \md{2}{{\btam virumpu}\etam }\rt{|virumbu|}\vc{3 tr} + \eg{prefer; like; choose} + \st{{\btam naaN avaNai virumpukiReeN}\etam } + \sr{|naan avane virumbureen|} + \se{I like him.} + \syn{1}{{\btam piTi}\etam }\rt{|pi8i|}\vc{6b tr 3pn + dat} + \st{{\btam eNakku avaNNaip piTikkiRatu}\etam } + \sr{|enakku avane pi{\d d}ikkidu|} + \se{I like him.} + \md{3}{{\btam salukai kaaTTu}\etam }\rt{|saluhe kaa88u|}\vc{3 tr} + \eg{show partiality to; give unfair help or advantages to; give s.o. the benefit of the doubt} + \syn{1}{{\btam paTsa paatam kaaTTu}\etam }\rt{|pa8ca paadam kaa88u|}\vc{3 tr} + \syn{2}{{\btam ooravancaNai kaTTu}\etam }\wtvc{3ta} + \eg{act with partiality} + \syn{3}{{\btam ooravancaNai sey}\etam }\wtvc{1}\rt{|ooravanjane pa33u|}\vc{3 tr} + \md{4}{{\btam nalku}\etam }\wtvc{3t} + \eg{bestow, grant, give} + \syn{1}{{\btam aruL}\etam }\wtvc{3t} + \md{5}{{\btam aruLpuri}\etam }\wtvc{2ta} + \eg{patronise; grace; grant, as a prayer} + \syn{1}{{\btam aruL sey}\etam }\wtvc{1ta} + \md{6}{{\btam ottiru}\etam }\rt{|ott-iru|}\vc{7 tr} + \eg{resemble; be like or similar to} + \md{7}{{\btam caayalaaka iru}\etam }\rt{|saayalaa iru|}\vc{7 intr} + \eg{have the likeness of; show the same features of} + \syn{1}{{\btam caaTaiyaaka iru}\etam }\rt{|jaa8eyaa iru|}\vc{7 intr} + \st{{\btam antak kuZantai ammaaviN caayalaaka}\etam (or) {\btam caaTaiyaaka irukkiRatu}\etam } + \sr{|anda ko7ende ammaa(voo{\d d}a) saayalaa (or) jaadayaa irukku|} + \se{The baby favours her mother} +\bye + diff --git a/Master/texmf-dist/doc/fonts/wntamil/tamdict.txt b/Master/texmf-dist/doc/fonts/wntamil/tamdict.txt new file mode 100644 index 00000000000..caec2ed8fc8 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/tamdict.txt @@ -0,0 +1,313 @@ +\input tamilmax +\hsize=4in +\font\norm=cmr10 +\font\roman=cmr10 +\font\vclass=cmr7 +\font\glossy=cmti10 +\font\emphatic=cmb10 +\font\transcribe=cmss10 +\norm +\newif\ifnewentry +\def\hw#1{\par\medskip{\emphatic #1\hfil\break\newentrytrue}} +\def\md#1#2{{\emphatic\ifnewentry\hbox to 25pt{\hfil}\newentryfalse\fi(#1)} #2} +\def\rt#1{,\ {\transcribe #1}} +\def\vc#1{,\ {\vclass #1}} +\def\eg#1{,\ {\glossy #1}} +\def\syn#1#2{\ $\mapsto$ #1: #2} +\def\wtvc#1{,\ {\vclass #1}} +\hw{fascinated, be} + \md{1}{~sokku~}\rt{|sokku|}\vc{3 intr} + \eg{be charmed, enchanted or absorbed in} + \syn{1}{~mayangku~}\wtvc{3 i} + \md{2}{~mayangku~}\rt{|mayangu|}\vc{3 intr} + \eg{be charmed or enchanted; be enamoured; be confused} + \md{3}{~vasappa8u~}\rt{|vasa-pa8u|}\vc{4 intr} + \eg{be captivated or enchanted; come under the power or influence of; lose oneself in} + \syn{1}{~vayappa8u~}\wtvc{4i}. +\hw{fashion} + \md{1}{~sey~}\wtvc{1t}\rt{|seyyi|}\vc{2b tr} + \eg{make; form; shape s.t. out of s.t. else} + \syn{1}{~pu2ai~}\wtvc{2t} + \md{2}{~amaittukko9~}\wtvc{1t}\rt{|a8p8 pa33u|}\vc{3 tr} + \eg{adapt}. +\hw{fashionable, be} + \md{1}{~naakarikamaaka iru~}\wtvc{7i} + \eg{be stylish, conforming to the fashion; be liked by people of fashion} + \syn{1}{~xpaa4a2aaka iru~}\rt{|fae4anaa iru|}\vc{7 intr} + \syn{2}{~s8ailaaka iru~}\rt{|s8aylaa iru|}\vc{7 intr}. +\hw{fast} + \md{1}{~saappi8aamal iru~}\rt{|saappi8aame iru|}\vc{7 intr} + \eg{deliberately go without food; fast temporarily} + \md{2}{~pa88i2i ke8a~}\rt{|pa8ni ke8a|}\vc{7 intr} + \eg{go without food; abstain from food} + \md{3}{~u33aaviratam iru~}\rt{|u33aaviradam iru|}\vc{7 intr} + \eg{abstain from food, as a religious duty or for political and other reasons} + \md{4}{~noo2pu iru~}\wtvc{7i} + \eg{go without any or certain kinds of food, as a religious duty} + \syn{1}{~upavaacam iru~}\wtvc{7i}. +\hw{fast, be} + \md{1}{~veekamaaka iru~}\rt{|veehamaa iru|}\vc{7 intr} + \eg{be rapid, quick, speedy} + \syn{1}{~virai~}\wtvc{2i} + \md{2}{~veekamaaka oo8u~}\rt{|veehamaa oo8u|}\vc{3 intr} + \eg{(of a watch, clock) be in advance; be ahead of time; run rapidly or quickly} + \md{3}{~u6utiyaaka iru~}\wtvc{7i} + \eg{be firm; be firmly tied, as a knot; be strong or secure} + \md{4}{~uutaariyaaka iru~}\rt{|uudaariyaa iru|}\vc{7 intr} + \eg{be a spendthrift; lead a carefree, wild life}. +\hw{fast, become} + \md{1}{~u6utiyaaku~}\wtvc{3i} + \eg{become firm, strong or secure}. +\hw{fasten} + \md{1}{~ka88u~}\rt{|ka88u|}\vc{3 tr} + \eg{bind; pack; tie up, as an animal to a peg} + \md{2}{~muu8u~}\rt{|muu8u|}\vc{3 tr} + \eg{close, as a window, a door, a box} + \md{3}{~a8ai~}\rt{|a8e|}\vc{6 tr} + \eg{shut, as a window or door; shut animals up in a fold; put s.t. or s.o. in a cage or enclosure} + \md{4}{~puu88u~}\rt{|puu88u|}\vc{3 tr} + \eg{lock up, as a door or a box} + \md{5}{~poo8u~}\rt{|poo8u|}\vc{4 tr} + \eg{make secure, as a shirt with buttons, a door with a bolt} + \syn{1}{~maa88u~}\rt{|maa88u|}\vc{3 tr} + \eg{hook s.t.} + \md{6}{~taa7 i8u~}\wtvc{4t} + \eg{bolt, as the door, window, etc.} + \md{7}{~poruttu~}\wtvc{3t} + \eg{fix; attach firmly; attach s.t. to s.t. else, as sewing buttons on to a shirt, fixing a lock to a door, etc.; fix (one's eyes) on s.t. or s.o.} + \md{8}{~to8uttuvai~}\rt{|to8uttu vayyi|}\vc{6b tr} + \eg{tie or fasten lightly; string together, as garlands, flowers, etc.}. +\hw{fasten down} + \md{1}{~ka88u~}\rt{|ka88u|}\vc{3 tr} + \eg{fasten to a horizontal surface; bind; tie; batten down}. +\hw{fasten off} + \md{1}{~pi3ai~}\rt{|po3e, po3e|}\vc{6 tr} + \eg{tie, as two pieces of thread by knotting} + \syn{1}{~mu8i~}\rt{|mu8i|}\vc{6b tr} + \eg{tie as two pieces of thread by rolling the ends together}. +\hw{fasten on} + \md{1}{~pi8ittuk ko9~}\wtvc{1}\rt{|pi8iccikkoo|}\vc{4 tr} + \eg{seize; take a firm hold of; single s.t. or s.o. out for attack} + \st{~naa2 co22ataiyee ava2 pi8ittuk ko38aa2~} + \sr{|naan sonnadayee aven pi{\d d}iccikki{\d t}{\d t}aan|} + \se{He fastened (or) seized upon what I said.}. +\hw{fasten one's eyes on} + \md{1}{~ve6ittup paar~}\rt{|vericci paaru|}\vc{6 tr} + \eg{gaze at; focus on; stare at} + \syn{1}{~ve6i~}\wtvc{6t} + \md{2}{~ka3ka3aip padi~}\rt{|ka33e padi|}\vc{6b ta} + \eg{fix one's eyes, as on s.o. or s.t.} + \st{~ava2 e2 miitu ka3ka3aip patittaa2~} + \sr{|avan en meele ka{\d n}{\d n}e padiccaan|} + \se{He fixed his eyes on me.}. +\hw{fasten up} + \md{1}{~maa88u~}\rt{|maa88u|}\vc{3 tr} + \eg{fasten s.t. to a vertical surface} + \st{~intap pa8attai angkee maa88u~} + \sr{|indap pa{\d d}atte ange maa{\d t}{\d t}u|} + \se{Fasten this picture up there.}. +\hw{fasten upon} + \md{1}{~pattikko9~}\wtvc{1t} + \eg{sieze; take hold of} + \st{cf. fasten on}. +\hw{fastened, be} + \md{1}{~pati~}\rt{|padi|}\vc{2b intr} + \eg{be fixed, as one's sight or attention upon s.t.; be coupled firmly, as two planks of wood in joining} + \md{2}{~poruntu~}\wtvc{3i} + \eg{be attached firmly; dovetail} + \md{3}{~i3ai~}\wtvc{2i} + \eg{be attached or joined; be tied or made fast}. +\hw{fat} + \md{1}{~paruttuvi8u~}\rt{|paruttu8u|}\vc{4 intr} + \eg{become fleshy, stout or heavy} + \syn{1}{~paru~}\wtvc{6i} + \md{2}{~cataipi8ittiru~}\rt{|sade pi8icc-iru|}\vc{7 intr + dat} + \eg{put on flesh; become plump or heavy} + \syn{1}{~catai poo88iru~}\rt{|sade poo88iru|}\vc{7 intr} + \md{3}{~e8ai kuu8u~}\rt{|e8e kuu8u|}\vc{3 intr + dat} + \eg{gain weight} + \md{4}{~ta8ittuvi8u~}\rt{|ta8icc-i8u|}\vc{4 ta} + \eg{become heavy or stout} + \syn{1}{~ta8i~}\wtvc{6i} + \md{5}{~ko7uttiru~}\rt{|ko7utt-iru|}\vc{7 intr} + \eg{be very fat; be fattened, as a animal, etc.; be thick or well-filled as a purse} + \syn{1}{~ko7a~}\wtvc{6i}. +\hw{fatal, be} + \md{1}{~uyirukku aapattaaka iru~}\rt{|uyirukku aabattaa iru|}\vc{7 intr} + \eg{be a danger or risk to one's life; cause danger to one's life} + \syn{1}{~uyirukku aapattaaku~}\rt{|uyirukku aabatt-aahu|}\vc{3b intr} + \syn{2}{~ uyirukku apaayam vi3aivi~}\wtvc{6ta} + \syn{3}{~ uyirukku aapattu vi3aivi~}\wtvc{6ta} + \md{2}{~caavukkuk kaara3amaaka iru~}\rt{|saavukku kaara3amaa iru|}\vc{7 intr} + \eg{bring about death; be the cause of s.o.'s death.} + \md{3}{~naacamaakku~}\rt{|naasam aakku|}\vc{3 tr} + \eg{destroy, ruin, cause misfortune} + \syn{1}{~naacappa8uttu~}\rt{|naasa-pa8uttu|}\vc{3 tr} + \syn{2}{~naasamu88u~}\wtvc{3ta} + \md{4}{~paa7aakku~}\rt{|paa7-aakku|}\vc{3 tr} + \eg{cause ruin, destruction or failure} + \syn{1}{~paa7pa8uttu~}\rt{|paa7 pa8uttu|}\vc{3 tr} + \syn{2}{~naasamaakku~}\wtvc{3t} + \md{5}{~vitivasamaaku~}\rt{|vidivasam-aahu|}\vc{3b intr 3 pn} + \eg{be connected with fate or destiny; be fateful, as a meeting, an occurrence, a period} + \st{~anta cantippu vitivacamaa2atu~} + \sr{|anda sandippu vidivasamaanadu|} + \se{That meeting (or) encounter was fatal (fateful).} + \md{6}{~talaivitiyaaku~}\rt{|talevidi aahu|}\vc{3b intr 3pn} + \eg{be fated or destined; be so written} + \st{~anta vipattu ava2 talaiviti (yaakum)~} + \sr{|anda vibattu avan talevidi (aahum)|} + \se{That accident occurred because of his fate; That accident was fated to occur to him. (both used usually in an unfavourable sense)} + \md{7}{~kee8ukaalam pi8ittiru~}\rt{|kee8ukaalam pi8icc-iru|}\vc{7 intr + dat} + \eg{be in for a bad time; be on the road to ruin; be under bad stars} + \st{~ava2ukku kee8ukaalam pi8ittirukki6atu~} + \sr{|avanukku kee{\d d}ukaalam pi{\d d}iccirukku|} + \se{Misfortune has caught up with him; (or) He is in for a bad time; he is jinxed.}. +\hw{fatalistic, be} + \md{1}{~vitiyee e26u iru~}\rt{|vidiyee-33u iru|}\vc{7 intr} + \eg{hold the attitude of fatality or the doctrine of fatalism; be resigned; have a negative attitude about s.t.} + \syn{1}{~uu7vali e26u iru~}\wtvc{7i} + \md{2}{~na8appatu na8akka88um e26u iru~}\rt{|na8appadu na8akka88um-33u iru|}\vc{7 intr} + \eg{hold the attitude that whatever will be will be; submit to circumstances as inevitable; submit passively to misfortune, calamity, etc.} + \syn{1}{~(ka8avu9) vi88ava7i e26u iru~}\rt{|(ka8avu9) vi88ava7i-33u iru|}\vc{7 intr}. +\hw{fateful, be} + \md{1}{~vitivacamaaku~}\rt{|vidivasam-aahu|}\vc{3b intr 3pn (pres \& fut only)} + \eg{be connected with fate or destiny; be fatal, as an event, a period, etc.} + \st{~ava9 ta6kolai vitivacamaa8um~} + \sr{|ava9 tarkolai vidivasam aahum|} + \se{Hers was a fateful suicide.} + \syn{1}{~uuvi2aiyaaku~}\wtvc{3 3pn} + \md{2}{~mukkiyamaaku~}\rt{|mukkiyam aahu|}\vc{3b intr 3pn} + \eg{be important; be momentous} + \syn{1}{~si6appaaku~}\wtvc{3 3pn} + \syn{2}{~viseevimaaku~}\wtvc{3 3pn}. +\hw{father} + \md{1}{~uruvaakku~}\rt{|uruvakku|}\vc{3 tr} + \eg{found, originate, as a doctrine, a sect, etc.; propound as a theory, a practice, a way of life} + \syn{1}{~too66uvi~}\wtvc{6t} + \syn{2}{~u38aakku~}\rt{|u38-aakku|}\vc{3 tr}. +\hw{fathom} + \md{1}{~aa7am ka38upi8i~}\rt{|aa7am ka38u-pi8i|}\vc{6b ta} + \eg{find or measure the depth of river, sea, well, pit, crater, etc.} + \syn{1}{~aa7am (aa7attaik) ka3akki8u~}\wtvc{4ta} + \md{2}{~aa7am paar~}\rt{|aa7am paaru|}\vc{6 tr} + \eg{find or measure the depth of river, pit, etc.; test or examine s.o.'s learning, qualification, sincerity, etc.} + \md{3}{~parintuko9~}\wtvc{1t}\rt{|purinjikkoo|}\vc{4 tr} + \eg{understand, comprehend; get to the bottom of, as an event, a person's motive, etc.} + \syn{1}{~a6i~ (or)? ~aa7anka6i~}\wtvc{2t}. +\hw{fatigue} + \md{1}{~ka9aippu u38aakku~}\rt{|ka9eppe u38-aakku|}\vc{3 ta} + \eg{cause fatigue; cause to feel fatigued} + \syn{1}{~coorvu u38aakku~}\wtvc{3ta} + \md{2}{~ka9aippa8aiyac cey~}\wtvc{1t} + \eg{cause to fatigue; cause to feel tired or weary} + \syn{1}{~coorva8aiyac cey~ (or) ~coorv~}\wtvc{1t}. % synonym truncated? +\hw{fatigued, be} + \md{1}{~aluttup poo~}\rt{|aluttup poo|}\vc{3b intr 3pn (usu + past only)} + \eg{become weary; become discouraged} + \st{~e2akku aluttup pooyi66u~} + \sr{|enakku aluttu pooccu|} + \se{I am tired, fed up.} + \syn{1}{~salittup poo~}\wtvc{w. dat.}\rt{|saliccu poo|}\vc{3b intr (usu + past only)} + \syn{2}{~aluttuvi8u~}\wtvc{4i 3 pn} + \syn{3}{~salittuvi8u~}\wtvc{4i 3 pn} + \md{2}{~ka9aittup poo~}\rt{|ka9eccip poo|}\vc{3b intr 3pn + dat (usu + past} + \eg{become tired or wearied; become exhausted} + \syn{1}{~soorntu poo~}\rt{|soondu poo|}\vc{3 intr 3pn + dat (usu + past} + \syn{2}{~ayarntu poo~}\rt{|asandu poo|}\vc{3 intr 3pn + dat (usu past onl} + \md{3}{~ka9aippaay iru~}\rt{|ka9eppaa iru|}\vc{7 intr + dat} + \eg{be tired or exhausted; look or feel tired and weary} + \st{~ava2 ka9aippaay iruntaa2~, ~ava2ukku ka9aippaay iruntatu~} + \sr{|avan ka9eppaa irundaan, avanukku ka9eppaa irundadu|} + \se{He was (or felt) fatigued.} + \syn{1}{~coorvaay iru~}\rt{|soorvaa iru|}\vc{7 intr + dat} + \md{4}{~coorntuvi8i~}\rt{|soondu8u|}\vc{4 intr} + \eg{grow weary or exhausted; be tired and worn out} + \syn{1}{~ka9aittuvi8u~}\rt{|ka9ecc-i8u|}\vc{4 ta} + \syn{2}{~ayarntuvi8u~}\rt{|asandu8u|}\vc{4 intr} + \md{5}{~ayarvu6u~}\wtvc{1i} + \eg{be tired or weary} + \syn{1}{~ayarva8ai~}\wtvc{2i} + \syn{2}{~ka9appa8ai~}\wtvc{2i} + \syn{3}{~coorva8ai~}\wtvc{2i} + \syn{4}{~coorvu6u~}\wtvc{1i} + \md{6}{~i2aippaay iru~}\wtvc{7i} + \eg{be short of breath or gasp because of over exhaustion; be weak and worn out}. +\hw{fatten} + \md{1}{~ko7u~}\rt{|ko7u|}\vc{6 intr} + \eg{grow fat; become plump} + \syn{1}{~paruttuvi8u~}\rt{|paattu8u|}\vc{4 intr} + \md{2}{~ko7ukka vai~}\rt{|ko7ukka vayyi|}\vc{6b tr} + \eg{make fat; fatten up, as sheep for slaughter} + \md{3}{~se7ikkas sey~}\wtvc{1t} + \eg{help grow better; nourish, as crop, people, etc.; enrich, as soil, ideas, etc.} + \syn{1}{~se7ikka vai~}\wtvc{6t}. +\hw{fatty, be} + \md{1}{~koo7uppaay iru~}\rt{|ko7uppaa iru|}\vc{7 intr} + \eg{contain excessive fat, as muscle, food, meat, soup, etc.} + \md{2}{~ko7uppas sattu u8aiyataay iru~}\wtvc{7i} + \eg{contain nutrative fat, as foods etc.} + \syn{1}{~ko7uppus sattu no38iru ~}\wtvc{7i}. +\hw{fatuous, be} + \md{1}{~ma8atta2amaaka iru~}\rt{|ma8attanamaa iru|}\vc{7 intr} + \eg{be silly; be inane} + \syn{1}{~peetaitata2amaaka iru~}\wtvc{7i} + \md{2}{~mu88aa9ta2amaaka iru~}\rt{|mu88aa9tanamaa iru|}\vc{7 intr} + \eg{be foolish; be silly} + \syn{1}{~ma8atta2amaaka iru~}\wtvc{7i}. +\hw{fault} + \md{1}{~tappu sol~}\rt{|tappu sollu|}\vc{3c tr} + \eg{censure; blame; find fault with} + \syn{1}{~tava6u sol~}\wtvc{3t} + \syn{2}{~pi7ai sol~}\wtvc{3t} + \md{2}{~ku66am sol~}\rt{|kuttam sollu|}\vc{3c tr, ta} + \eg{find fault with; blame; criticise} + \syn{1}{~ku6ai sol~}\rt{|kore sollu|}\vc{3c tr} + \syn{2}{~pi7ai sol~}\wtvc{3t}. +\hw{faulty, be} + \md{1}{~tappaaka iru~}\rt{|tappaa iru|}\vc{7 intr 3pn} + \eg{be wrong; contain faults, mistakes or errors} + \syn{1}{~pi7aiyaay iru~ (and) ~tavaruk~}\wtvc{7 3pn} + \md{2}{~pi7aiyaaka iru~}\wtvc{7i 3pn} + \eg{be full of faults or defects} + \md{3}{~ku6aipaa8u ko38iru~}\wtvc{7i} + \eg{contain faults or blemishes; be defective}. +\hw{favour} + \md{1}{~aatari~}\rt{|aadari|}\vc{6b tr} + \eg{support, show favour to} + \syn{1}{~aataravu kaa88u~}\rt{|aadaruvu kaa88u|}\vc{3 tr + dat} + \syn{2}{~aataravu taa~}\rt{|aadaravu taa|}\vc{2c ta + dat} + \st{~avarka9 ava2ai aakarittaarka9~, ~avarka9 avarukku aataravu ko8uttaarka9~ (or) ~tantaarka9~} + \sr{|avanga avane aadariccaanga, avanga avanukku aadaravu ku{\d d}uttaanga (or) tandaanga|} + \se{They gave him the benefit of the doubt; they favoured him.} + \md{2}{~virumpu~}\rt{|virumbu|}\vc{3 tr} + \eg{prefer; like; choose} + \st{~naa2 ava2ai virumpuki6ee2~} + \sr{|naan avane virumbureen|} + \se{I like him.} + \syn{1}{~pi8i~}\rt{|pi8i|}\vc{6b tr 3pn + dat} + \st{~e2akku ava3aip pi8ikki6atu~} + \sr{|enakku avane pi{\d d}ikkidu|} + \se{I like him.} + \md{3}{~salukai kaa88u~}\rt{|saluhe kaa88u|}\vc{3 tr} + \eg{show partiality to; give unfair help or advantages to; give s.o. the benefit of the doubt} + \syn{1}{~pa8sa paatam kaa88u~}\rt{|pa8ca paadam kaa88u|}\vc{3 tr} + \syn{2}{~ooravanca2ai ka88u~}\wtvc{3ta} + \eg{act with partiality} + \syn{3}{~ooravanca2ai sey~}\wtvc{1}\rt{|ooravanjane pa33u|}\vc{3 tr} + \md{4}{~nalku~}\wtvc{3t} + \eg{bestow, grant, give} + \syn{1}{~aru9~}\wtvc{3t} + \md{5}{~aru9puri~}\wtvc{2ta} + \eg{patronise; grace; grant, as a prayer} + \syn{1}{~aru9 sey~}\wtvc{1ta} + \md{6}{~ottiru~}\rt{|ott-iru|}\vc{7 tr} + \eg{resemble; be like or similar to} + \md{7}{~caayalaaka iru~}\rt{|saayalaa iru|}\vc{7 intr} + \eg{have the likeness of; show the same features of} + \syn{1}{~caa8aiyaaka iru~}\rt{|jaa8eyaa iru|}\vc{7 intr} + \st{~antak ku7antai ammaavi2 caayalaaka~ (or) ~caa8aiyaaka irukki6atu~} + \sr{|anda ko7ende ammaa(voo{\d d}a) saayalaa (or) jaadayaa irukku|} + \se{The baby favours her mother} +\bye + diff --git a/Master/texmf-dist/doc/fonts/wntamil/tamilize.c b/Master/texmf-dist/doc/fonts/wntamil/tamilize.c new file mode 100644 index 00000000000..368bbd573b9 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/tamilize.c @@ -0,0 +1,323 @@ +/* Convert transliterated Tamil text to codes known to the Tamilmax.tex */ +/* set of macros using the wntml fonts */ + +#include <stdio.h> +#include <ctype.h> + + +/* globally accessible variables */ + +int tamilflag,t_errors,true,false,errorcount,transflag; +char switcher,tdelim; +char tspace[2]; +void changestate(); +FILE *input,*output; +char filename[128]; + + + +/* functions */ + +/* void bracket_err() +{ + printf("\nCharacter '}' read while scanning Tamil; need to edit file.\n"); + printf("Examine end of the output file to find location of problem."); + fclose(input); + fclose(output); + abort(); +} */ + +void haccbox() +{ + puts("Tamilize: Tamil to TeX converter v:0.97 of 4/24/90"); + puts("Humanities And Arts Computing Center, DR-10"); + puts("University of Washington"); + puts("Seattle, Washington, 98195 USA"); + puts("phone (206)-543-4218"); + puts("ridgeway@blake.u.washington.edu"); + puts("Copyright 1990 Humanities and Arts Computing Center"); + puts("You are welcome to use this work-in-progress, but please do not"); + puts("redistribute: rather, refer other interested parties to us."); + puts("Since this is a work in progress, we do not want uncontrolled"); + puts("proliferation of pre-release versions."); + return; +} + +FILE *getopen(char *access) +{ + int temp; + FILE *handle; + gets(filename); + handle=fopen(filename,access); + if (handle == (FILE *) NULL) { + printf("Can't open file %s",filename); + errorcount++; + if (errorcount > 9) { + printf("\n\n\n\n\nToo many errors!\n"); + abort(); + } + } + return handle; +} +FILE *get_file(char *access,char *prompt) +{ + puts(prompt); + return getopen(access); +} + +int isvowel(char thischar) +{ + switch (thischar) { + case 'a' : + case 'e' : + case 'i' : + case 'o' : + case 'u' : return true; + default : return false; + } +} + +void stringout(char *string) +{ + fputs(string,output); +} + +void charout(char thischar) +{ + putc(thischar,output); +} + +void romanout(char thischar) +{ + stringout("{\\roman "); + charout(thischar); + charout('}'); +} + +void transcribe_err(char thischar) +{ + printf("Character %c encountered in Tamil environment.\n",thischar); + romanout(thischar); +} + +void pushback(char thischar) +{ + ungetc(thischar,input); +} + +void processtamil() +{ + char ch; + int newsyl; + newsyl=true; + for (tamilflag=true; tamilflag==true; ) { + ch = getc(input); + if (ch == EOF) abort(); + if (ch == switcher) changestate(); + else if (isspace(ch)) { + stringout(tspace); + charout(ch); + for ( ch=getc(input); isspace(ch); ch=getc(input)) charout(ch); + pushback(ch); + newsyl=true; + } + else if (ispunct(ch) ) { + if (ch == 125) printf("\nCharacter } encountered while scanning tamil -- probable error.\n"); + romanout(ch); + newsyl=true; + } + else { + switch (ch) { + case 'a': + case 'e': + case 'i': + case 'o': + case 'u': if (newsyl==true) { + charout(tdelim); + newsyl=false; + } + charout(ch); + break; + case 'c': + case 't': + case 'p': + case 'm': + case 'y': + case 'r': + case 'l': + case 'v': + case 's': + case 'j': + case 'x': + case 'h': charout(tdelim); + charout(ch); + newsyl=false; + break; + case 'k': charout(tdelim); + ch=getc(input); + if (ch=='4') charout('X'); + else { + charout('k'); + pushback(ch); + } + newsyl=false; + break; + case '2': charout(tdelim); + charout('N'); + newsyl=false; + break; + case '3': charout(tdelim); + stringout("NN"); + newsyl=false; + break; + case '4': charout(tdelim); + charout('S'); + newsyl=false; + break; + case '5': charout(tdelim); + stringout("NY"); + newsyl=false; + break; + case '6': charout(tdelim); + charout('R'); + newsyl=false; + break; + case '7': charout(tdelim); + charout('Z'); + newsyl=false; + break; + case '8': charout(tdelim); + charout('T'); + newsyl=false; + break; + case '9': charout(tdelim); + charout('L'); + newsyl=false; + break; + case 'n': charout(tdelim); + ch=getc(input); + if (ch=='g') stringout("ng"); + else { + charout('n'); + pushback(ch); + } + newsyl=false; + break; + default : transcribe_err(ch); + newsyl=true; + } /* endcase */ + } /* endif */ + } /* endfor*/ +} + +void starttamil() +{ + stringout("{\\btam "); /* stringout("{\\starttamil\%\n"); */ + processtamil(); +} + +void endtamil() +{ + stringout("}\\etam{}"); /* stringout("}\\endtamil\%\n"); */ + tamilflag=false; +} + +void changestate() +{ + if (tamilflag==true) endtamil(); + else starttamil(); +} + +main(int argc, char *argv[]) +{ + int ch,err,notdone,vowflag,initflag; + errorcount=0; + switcher='~'; + true=1; + false=0; + tamilflag=false; + tdelim=1; /* i.e. control-a ::: if yah don't like it, change it */ + tspace[0]=tdelim; + tspace[1]=' '; + haccbox(); + vowflag=0; + if (argc > 1) input = fopen(argv[1],"rb"); + if (input == (FILE *) NULL) { + /* prompt for and open input file */ + for ( ; input == (FILE *) NULL ; input=get_file("rb","Enter name of input file: ")) ; + } + /* we are making these binary, as we have no guarantee what kind */ + /* of character may be in the transcription: we don't care about */ + /* ends of lines, as we are reading character by character */ + if (argc > 2) output = fopen(argv[2],"wb"); + if (output == (FILE *) NULL) { + for ( ; output == (FILE *) NULL ; output=get_file("wb","Enter name of output file: ")) ; + /* prompt for and open output file */ + } + while ((ch = getc(input)) != EOF) { + if (ch == switcher) changestate(); + else { + if (ch == '|') { + vowflag=1; + notdone=1; + initflag=2; + while (notdone) { + ch=getc(input); + if (isalnum(ch)) { + initflag--; + if (vowflag==0) { + if (! isvowel(ch)) stringout("\\-"); + } + if (isvowel(ch)) vowflag=1; + else vowflag=0; + } + else { + vowflag=1; + initflag=2; + } + if (ch==EOF) notdone=0; + else { + switch(ch) { + case '2': stringout("\\ndot{}"); + break; + case '3': stringout("\\nndot{}"); + break; + case '4': stringout("\\skts{}"); + break; + case '5': stringout("\\paln{}"); + break; + case '6': stringout("\\rdot{}"); + break; + case '7': stringout("\\rdotdot{}"); + break; + case 'T': stringout("\\tdot{}"); + break; + case 'D': stringout("\\dotd{}"); + break; + case '8': + if ( initflag > 0 ) stringout("\\tdot{}"); + else { + err=getc(input); + if (err == '8') stringout("\\tdot{}\\tdot{}"); + else { + stringout("\\dotd{}"); + pushback(err); + } + } + break; + case '9': stringout("\\dotl{}"); + break; + case '|': notdone=0; + break; + default: putc(ch,output); + } /* endcase */ + } /* end else */ + } /* endwhile */ + } /* endif */ + else putc(ch,output); + } /* endelse */ + } /* endwhile */ + fclose(input); + fclose(output); + puts("Tamilize is done."); +} diff --git a/Master/texmf-dist/doc/fonts/wntamil/tamilmax.tex b/Master/texmf-dist/doc/fonts/wntamil/tamilmax.tex new file mode 100644 index 00000000000..4d1ca5039f9 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/tamilmax.tex @@ -0,0 +1,369 @@ +\font\tmlfnt=wntml10 +\catcode`^^A=0 +\def\starttamil{\tmlfnt} +\def\endtamil{} +\def\thyph{\discretionary{}{}{}} +\def\btam{\starttamil} +\def\etam{\endtamil} +\def\viram{\accent241} +\def\C{\char} +\def\zaa{\C97} +\def\ze{\C22} +\def\zee{\C23} +\def\zai{\C17} +\def\zo#1{\ze#1\zaa} +\def\zoo#1{\zee#1\zaa} +\def\zau#1{\ze#1\La} +\def\a{\C0} +\def\aa{\C1} +\def\i{\C2} +\def\ii{\C3} +\def\u{\C4} +\def\uu{\C5} +\def\e{\C6} +\def\ai{\C7} +\def\au{\o\La} +\def\k{\viram\C8\thyph} +\def\ka{\C8} +\def\kaa{\C8\zaa} +\def\o{\C9} +\def\ki{\C10} +\def\kii{\C11} +\def\ku{\C12} +\def\kuu{\C13} +\def\ke{\ze\C8} +\def\kee{\zee\C8} +\def\kai{\zai\C8} +\def\ko{\zo{\C8}} +\def\koo{\zoo{\C8}} +\def\kau{\zau{\C8}} +\def\oo{\C14} +\def\ee{\C15} +\def\ng{\viram\C16\thyph} +\def\nga{\C16} +\def\ngaa{\C16\zaa} +\def\ngi{\C18} +\def\ngii{\C19} +\def\ngu{\C20} +\def\nguu{\C21} +\def\nge{\ze\C16} +\def\ngee{\zee\C16} +\def\ngai{\zai\C16} +\def\ngo{\zo{\C16}} +\def\ngoo{\zoo{\C16}} +\def\ngau{\zau{\C16}} +% +\def\c{\viram\C24\thyph} +\def\ca{\C24} +\def\caa{\C24\zaa} +\def\ci{\C26} +\def\cii{\C27} +\def\cu{\C28} +\def\cuu{\C29} +\def\ce{\ze\C24} +\def\cee{\zee\C24} +\def\cai{\zai\C24} +\def\co{\zo{\C24}} +\def\coo{\zoo{\C24}} +\def\cau{\zau{\C24}} +% +\def\NY{\viram\C32\thyph} +\def\NYa{\C32} +\def\NYaa{\C32\zaa} +\def\NYi{\C34} +\def\NYii{\C35} +\def\NYu{\C36} +\def\NYuu{\C37} +\def\NYe{\ze\C32} +\def\NYee{\zee\C32} +\def\NYai{\zai\C32} +\def\NYo{\zo{\C32}} +\def\NYoo{\zoo{\C32}} +\def\NYau{\zau{\C32}} +% +\def\T{\viram\C40\thyph} +\def\Ta{\C40} +\def\Taa{\C40\zaa} +\def\Ti{\C42} +\def\Tii{\C43} +\def\Tu{\C44} +\def\Tuu{\C45} +\def\Te{\ze\C40} +\def\Tee{\zee\C40} +\def\Tai{\zai\C40} +\def\To{\zo{\C40}} +\def\Too{\zoo{\C40}} +\def\Tau{\zau{\C40}} +% +\def\NN{\viram\C48\thyph} +\def\NNa{\C48} +\def\NNaa{\C49} +\def\NNi{\C50} +\def\NNii{\C51} +\def\NNu{\C52} +\def\NNuu{\C53} +\def\NNe{\ze\C48} +\def\NNee{\zee\C48} +\def\NNai{\C54} +\def\NNo{\ze{\C49}} +\def\NNoo{\zee{\C49}} +\def\NNau{\zau{\C48}} +% +\def\t{\viram\C56\thyph} +\def\ta{\C56} +\def\taa{\C56\zaa} +\def\ti{\C58} +\def\tii{\C59} +\def\tu{\C60} +\def\tuu{\C61} +\def\te{\ze\C56} +\def\tee{\zee\C56} +\def\tai{\zai\C56} +\def\to{\zo{\C56}} +\def\too{\zoo{\C56}} +\def\tau{\zau{\C56}} +% +\def\n{\viram\C64\thyph} +\def\na{\C64} +\def\naa{\C64\zaa} +\def\ni{\C66} +\def\nii{\C67} +\def\nu{\C68} +\def\nuu{\C69} +\def\ne{\ze\C64} +\def\nee{\zee\C64} +\def\nai{\zai\C64} +\def\no{\zo{\C64}} +\def\noo{\zoo{\C64}} +\def\nau{\zau{\C64}} +% +\def\p{\viram\C72\thyph} +\def\pa{\C72} +\def\paa{\C72\zaa} +\def\pi{\C74} +\def\pii{\C75} +\def\pu{\C76} +\def\puu{\C77} +\def\pe{\ze\C72} +\def\pee{\zee\C72} +\def\pai{\zai\C72} +\def\po{\zo{\C72}} +\def\poo{\zoo{\C72}} +\def\pau{\zau{\C72}} +% +\def\m{\viram\C80\thyph} +\def\ma{\C80} +\def\maa{\C80\zaa} +\def\mi{\C82} +\def\mii{\C83} +\def\mu{\C84} +\def\muu{\C85} +\def\me{\ze\C80} +\def\mee{\zee\C80} +\def\mai{\zai\C80} +\def\mo{\zo{\C80}} +\def\moo{\zoo{\C80}} +\def\mau{\zau{\C80}} +% +\def\y{\viram\C88\thyph} +\def\ya{\C88} +\def\yaa{\C88\zaa} +\def\yi{\C90} +\def\yii{\C91} +\def\yu{\C92} +\def\yuu{\C93} +\def\ye{\ze\C88} +\def\yee{\zee\C88} +\def\yai{\zai\C88} +\def\yo{\zo{\C88}} +\def\yoo{\zoo{\C88}} +\def\yau{\zau{\C88}} +% +\def\r{\viram\C96\thyph} +\def\ra{\C96} +\def\raa{\C96\zaa} +\def\ri{\C98} +\def\rii{\C99} +\def\ru{\C100} +\def\ruu{\C101} +\def\re{\ze\C96} +\def\ree{\zee\C96} +\def\rai{\zai\C96} +\def\ro{\zo{\C96}} +\def\roo{\zoo{\C96}} +\def\rau{\zau{\C96}} +% +\def\l{\viram\C104\thyph} +\def\la{\C104} +\def\laa{\C104\zaa} +\def\li{\C106} +\def\lii{\C107} +\def\lu{\C108} +\def\luu{\C109} +\def\le{\ze\C104} +\def\lee{\zee\C104} +\def\lai{\C110} +\def\lo{\zo{\C104}} +\def\loo{\zoo{\C104}} +\def\lau{\zau{\C104}} +% +\def\v{\viram\C112\thyph} +\def\va{\C112} +\def\vaa{\C112\zaa} +\def\vi{\C114} +\def\vii{\C115} +\def\vu{\C116} +\def\vuu{\C117} +\def\ve{\ze\C112} +\def\vee{\zee\C112} +\def\vai{\zai\C112} +\def\vo{\zo{\C112}} +\def\voo{\zoo{\C112}} +\def\vau{\zau{\C112}} +% +\def\Z{\viram\C120\thyph} +\def\Za{\C120} +\def\Zaa{\C120\zaa} +\def\Zi{\C122} +\def\Zii{\C123} +\def\Zu{\C124} +\def\Zuu{\C125} +\def\Ze{\ze\C120} +\def\Zee{\zee\C120} +\def\Zai{\zai\C120} +\def\Zo{\zo{\C120}} +\def\Zoo{\zoo{\C120}} +\def\Zau{\zau{\C120}} +% +\def\L{\viram\C128\thyph} +\def\La{\C128} +\def\Laa{\C128\zaa} +\def\Li{\C130} +\def\Lii{\C131} +\def\Lu{\C132} +\def\Luu{\C133} +\def\Le{\ze\C128} +\def\Lee{\zee\C128} +\def\Lai{\C134} +\def\Lo{\zo{\C128}} +\def\Loo{\zoo{\C128}} +\def\Lau{\zau{\C128}} +% +\def\R{\viram\C136\thyph} +\def\Ra{\C136} +\def\Raa{\C137} +\def\Ri{\C138} +\def\Rii{\C139} +\def\Ru{\C140} +\def\Ruu{\C141} +\def\Re{\ze\C136} +\def\Ree{\zee\C136} +\def\Rai{\zai\C136} +\def\Ro{\ze{\C137}} +\def\Roo{\zee{\C137}} +\def\Rau{\zau{\C136}} +% +\def\N{\viram\C144\thyph} +\def\Na{\C144} +\def\Naa{\C145} +\def\Ni{\C146} +\def\Nii{\C147} +\def\Nu{\C148} +\def\Nuu{\C149} +\def\Ne{\ze\C144} +\def\Nee{\zee\C144} +\def\Nai{\C150} +\def\No{\ze{\C145}} +\def\Noo{\zee{\C145}} +\def\Nau{\zau{\C144}} +% +\def\S{\viram\C176\thyph} +\def\Sa{\C176} +\def\Saa{\C176\zaa} +\def\Si{\C178} +\def\Sii{\C179} +\def\Su{\C176\C242} +\def\Suu{\C176\C243} +\def\Se{\ze\C176} +\def\See{\zee\C176} +\def\Sai{\zai\C176} +\def\So{\zo{\C176}} +\def\Soo{\zoo{\C176}} +\def\Sau{\zau{\C176}} +% +\def\s{\viram\C184\thyph} +\def\sa{\C184} +\def\saa{\C184\zaa} +\def\si{\C186} +\def\sii{\C187} +\def\su{\C184\C242} +\def\suu{\C184\C243} +\def\se{\ze\C184} +\def\see{\zee\C184} +\def\sai{\zai\C184} +\def\so{\zo{\C184}} +\def\soo{\zoo{\C184}} +\def\sau{\zau{\C184}} +% +\def\j{\viram\C192\thyph} +\def\ja{\C192} +\def\jaa{\C192\zaa} +\def\ji{\C194} +\def\jii{\C195} +\def\ju{\C192\C242} +\def\juu{\C192\C243} +\def\je{\ze\C192} +\def\jee{\zee\C192} +\def\jai{\zai\C192} +\def\jo{\zo{\C192}} +\def\joo{\zoo{\C192}} +\def\jau{\zau{\C192}} +% +\def\h{\viram\C200\thyph} +\def\ha{\C200} +\def\haa{\C200\zaa} +\def\hi{\C202} +\def\hii{\C203} +\def\hu{\C200\C242} +\def\huu{\C200\C243} +\def\he{\ze\C200} +\def\hee{\zee\C200} +\def\hai{\zai\C200} +\def\ho{\zo{\C200}} +\def\hoo{\zoo{\C200}} +\def\hau{\zau{\C200}} +% +\def\x{\viram\C208\thyph} +\def\xa{\C208} +\def\xaa{\C208\zaa} +\def\xi{\C210} +\def\xii{\C211} +\def\xu{\C208\C242} +\def\xuu{\C208\C243} +\def\xe{\ze\C208} +\def\xee{\zee\C208} +\def\xai{\zai\C208} +\def\xo{\zo{\C208}} +\def\xoo{\zoo{\C208}} +\def\xau{\zau{\C208}} +% +\newbox\wnbox +\newdimen\wndimen +\def\wnalign#1{\leavevmode\vtop to0pt{\baselineskip0pt\lineskip.25ex% + \ialign{##\crcr#1\crcr}}} % put characters over each other +\def\pstack#1#2{\leavevmode\setbox\wnbox=\hbox{#2}{\wnalign{#1\crcr\hidewidth\wndimen=\ht\wnbox\advance\wndimen by .25ex\lower\wndimen\hbox{\unhbox\wnbox}\hidewidth}}} +% +\def\ndot{n} +\def\nndot{\d n} +\def\skts{\'s} +\def\rdot{\d r} +\def\rdotdot{\pstack{r}{\char127}} +\def\tdot{\d t} +\def\dotd{\d d} +\def\dotl{\d l} +\def\paln{\~n} +% +% temporary place holders +\def\sr{\relax} +\def\st{\relax} +% end of file tamilmax diff --git a/Master/texmf-dist/doc/fonts/wntamil/tmilize.c b/Master/texmf-dist/doc/fonts/wntamil/tmilize.c new file mode 100644 index 00000000000..f717699a177 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/wntamil/tmilize.c @@ -0,0 +1,324 @@ +/* Convert transliterated Tamil text to codes known to the Tamilmax.tex */ +/* set of macros using the wntml fonts */ + +#include <stdio.h> +#include <ctype.h> + + +/* globally accessible variables */ + +int tamilflag,t_errors,true,false,errorcount,transflag; +char switcher,tdelim; +char tspace[2]; +void changestate(); +FILE *input,*output; +char filename[128]; + + + +/* functions */ + +/* void bracket_err() +{ + printf("\nCharacter '}' read while scanning Tamil; need to edit file.\n"); + printf("Examine end of the output file to find location of problem."); + fclose(input); + fclose(output); + abort(); +} */ + +void haccbox() +{ + puts("Tamilize: Tamil to TeX converter v:0.97 of 4/24/90"); + puts("Humanities And Arts Computing Center, DR-10"); + puts("University of Washington"); + puts("Seattle, Washington, 98195 USA"); + puts("phone (206)-543-4218"); + puts("ridgeway@blake.u.washington.edu"); + puts("Copyright 1990 Humanities and Arts Computing Center"); + puts("You are welcome to use this work-in-progress, but please do not"); + puts("redistribute: rather, refer other interested parties to us."); + puts("Since this is a work in progress, we do not want uncontrolled"); + puts("proliferation of pre-release versions."); + return; +} + +FILE *getopen(char *access) +{ + int temp; + FILE *handle; + gets(filename); + handle=fopen(filename,access); + if (handle == (FILE *) NULL) { + printf("Can't open file %s",filename); + errorcount++; + if (errorcount > 9) { + printf("\n\n\n\n\nToo many errors!\n"); + abort(); + } + } + return handle; +} +FILE *get_file(char *access,char *prompt) +{ + puts(prompt); + return getopen(access); +} + +int isvowel(char thischar) +{ + switch (thischar) { + case 'a' : + case 'e' : + case 'i' : + case 'o' : + case 'u' : return true; + default : return false; + } +} + +void stringout(char *string) +{ + fputs(string,output); +} + +void charout(char thischar) +{ + putc(thischar,output); +} + +void romanout(char thischar) +{ + stringout("{\\roman "); + charout(thischar); + charout('}'); +} + +void transcribe_err(char thischar) +{ + printf("Character %c encountered in Tamil environment.\n",thischar); + romanout(thischar); +} + +void pushback(char thischar) +{ + ungetc(thischar,input); +} + +void processtamil() +{ + char ch; + int newsyl; + newsyl=true; + for (tamilflag=true; tamilflag==true; ) { + ch = getc(input); + if (ch == EOF) abort(); + if (ch == switcher) changestate(); + else if (isspace(ch)) { + stringout(tspace); + charout(ch); + for ( ch=getc(input); isspace(ch); ch=getc(input)) charout(ch); + pushback(ch); + newsyl=true; + } + else if (ispunct(ch) ) { + if (ch == 125) printf("\nCharacter } encountered while scanning tamil -- probable error.\n"); + romanout(ch); + newsyl=true; + } + else { + switch (ch) { + case 'a': + case 'e': + case 'i': + case 'o': + case 'u': if (newsyl==true) { + charout(tdelim); + newsyl=false; + } + charout(ch); + break; + case 'c': + case 't': + case 'p': + case 'm': + case 'y': + case 'r': + case 'l': + case 'v': + case 's': + case 'j': + case 'x': + case 'h': charout(tdelim); + charout(ch); + newsyl=false; + break; + case 'k': charout(tdelim); + ch=getc(input); + if (ch=='4') charout('X'); + else { + charout('k'); + pushback(ch); + } + newsyl=false; + break; + case '2': charout(tdelim); + charout('N'); + newsyl=false; + break; + case '3': charout(tdelim); + stringout("NN"); + newsyl=false; + break; + case '4': charout(tdelim); + charout('S'); + newsyl=false; + break; + case '5': charout(tdelim); + stringout("NY"); + newsyl=false; + break; + case '6': charout(tdelim); + charout('R'); + newsyl=false; + break; + case '7': charout(tdelim); + charout('Z'); + newsyl=false; + break; + case '8': charout(tdelim); + charout('T'); + newsyl=false; + break; + case '9': charout(tdelim); + charout('L'); + newsyl=false; + break; + case 'n': charout(tdelim); + ch=getc(input); + if (ch=='g') stringout("ng"); + else { + charout('n'); + pushback(ch); + } + newsyl=false; + break; + default : transcribe_err(ch); + newsyl=true; + } /* endcase */ + } /* endif */ + } /* endfor*/ +} + +void starttamil() +{ + stringout("{\\btam "); /* stringout("{\\starttamil\%\n"); */ + processtamil(); +} + +void endtamil() +{ + stringout("}\\etam{}"); /* stringout("}\\endtamil\%\n"); */ + tamilflag=false; +} + +void changestate() +{ + if (tamilflag==true) endtamil(); + else starttamil(); +} + +main(int argc, char *argv[]) +{ + int ch,err,notdone,vowflag,initflag; + errorcount=0; + switcher='~'; + true=1; + false=0; + tamilflag=false; + tdelim=92; /* if we are in ASCII, that is a backslash */ + /* if we aren't in ASCII, we just bought the farm probably */ + tspace[0]=tdelim; + tspace[1]=' '; + haccbox(); + vowflag=0; + if (argc > 1) input = fopen(argv[1],"rb"); + if (input == (FILE *) NULL) { + /* prompt for and open input file */ + for ( ; input == (FILE *) NULL ; input=get_file("rb","Enter name of input file: ")) ; + } + /* we are making these binary, as we have no guarantee what kind */ + /* of character may be in the transcription: we don't care about */ + /* ends of lines, as we are reading character by character */ + if (argc > 2) output = fopen(argv[2],"wb"); + if (output == (FILE *) NULL) { + for ( ; output == (FILE *) NULL ; output=get_file("wb","Enter name of output file: ")) ; + /* prompt for and open output file */ + } + while ((ch = getc(input)) != EOF) { + if (ch == switcher) changestate(); + else { + if (ch == '|') { + vowflag=1; + notdone=1; + initflag=2; + while (notdone) { + ch=getc(input); + if (isalnum(ch)) { + initflag--; + if (vowflag==0) { + if (! isvowel(ch)) stringout("\\-"); + } + if (isvowel(ch)) vowflag=1; + else vowflag=0; + } + else { + vowflag=1; + initflag=2; + } + if (ch==EOF) notdone=0; + else { + switch(ch) { + case '2': stringout("\\ndot{}"); + break; + case '3': stringout("\\nndot{}"); + break; + case '4': stringout("\\skts{}"); + break; + case '5': stringout("\\paln{}"); + break; + case '6': stringout("\\rdot{}"); + break; + case '7': stringout("\\rdotdot{}"); + break; + case 'T': stringout("\\tdot{}"); + break; + case 'D': stringout("\\dotd{}"); + break; + case '8': + if ( initflag > 0 ) stringout("\\tdot{}"); + else { + err=getc(input); + if (err == '8') stringout("\\tdot{}\\tdot{}"); + else { + stringout("\\dotd{}"); + pushback(err); + } + } + break; + case '9': stringout("\\dotl{}"); + break; + case '|': notdone=0; + break; + default: putc(ch,output); + } /* endcase */ + } /* end else */ + } /* endwhile */ + } /* endif */ + else putc(ch,output); + } /* endelse */ + } /* endwhile */ + fclose(input); + fclose(output); + puts("Tamilize is done."); +} |