type-imp-indic.mkxl /size: 18 Kb    last modification: 2024-01-16 10:22
1%D \module
2%D   [       file=type-imp-indic,
3%D        version=2022.02.02,
4%D          title=\CONTEXT\ Typescript Macros,
5%D       subtitle=A Collection of Indic Fonts,
6%D         author=Sreeram & Hans,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14%D This file is a compation to the other indic typescript that evolved out
15%D of a series of experiments with fonts and extensive research by Sreeram
16%D with respect to them either or not supporting level one and level two
17%D features. When there are issues, just ask on the mailing list.
18
19\definefilesynonym [type-imp-adishila.mkxl]                 [type-imp-devanagari.mkxl]
20\definefilesynonym [type-imp-adishila-semibold.mkxl]        [type-imp-devanagari.mkxl]
21\definefilesynonym [type-imp-adishila-heavy.mkxl]           [type-imp-devanagari.mkxl]
22\definefilesynonym [type-imp-adishila-dev.mkxl]             [type-imp-devanagari.mkxl]
23\definefilesynonym [type-imp-adishila-dev-guru.mkxl]        [type-imp-devanagari.mkxl]
24\definefilesynonym [type-imp-adishila-san.mkxl]             [type-imp-devanagari.mkxl]
25\definefilesynonym [type-imp-adishila-san-letterpress.mkxl] [type-imp-devanagari.mkxl]
26\definefilesynonym [type-imp-shobhika.mkxl]                 [type-imp-devanagari.mkxl]
27\definefilesynonym [type-imp-baloo-extrabold.mkxl]          [type-imp-devanagari.mkxl]
28\definefilesynonym [type-imp-baloo.mkxl]                    [type-imp-devanagari.mkxl]
29\definefilesynonym [type-imp-jaini.mkxl]                    [type-imp-devanagari.mkxl]
30\definefilesynonym [type-imp-jaini-purva.mkxl]              [type-imp-devanagari.mkxl]
31\definefilesynonym [type-imp-amita.mkxl]                    [type-imp-devanagari.mkxl]
32
33\definefilesynonym [type-imp-rit-rachana.mkxl]              [type-imp-malayalam.mkxl]
34\definefilesynonym [type-imp-panmana.mkxl]                  [type-imp-malayalam.mkxl]
35\definefilesynonym [type-imp-ezhuthu.mkxl]                  [type-imp-malayalam.mkxl]
36\definefilesynonym [type-imp-karumbi.mkxl]                  [type-imp-malayalam.mkxl]
37\definefilesynonym [type-imp-chilanka.mkxl]                 [type-imp-malayalam.mkxl]
38\definefilesynonym [type-imp-anjali-oldlipi.mkxl]           [type-imp-malayalam.mkxl]
39\definefilesynonym [type-imp-dyuthi.mkxl]                   [type-imp-malayalam.mkxl]
40\definefilesynonym [type-imp-tn-joy.mkxl]                   [type-imp-malayalam.mkxl]
41\definefilesynonym [type-imp-tn-joy-extrabold.mkxl]         [type-imp-malayalam.mkxl]
42\definefilesynonym [type-imp-gayathri.mkxl]                 [type-imp-malayalam.mkxl]
43\definefilesynonym [type-imp-gayathri-thin.mkxl]            [type-imp-malayalam.mkxl]
44\definefilesynonym [type-imp-manjari.mkxl]                  [type-imp-malayalam.mkxl]
45\definefilesynonym [type-imp-manjari-thin.mkxl]             [type-imp-malayalam.mkxl]
46\definefilesynonym [type-imp-baloo-chettan.mkxl]            [type-imp-malayalam.mkxl]
47\definefilesynonym [type-imp-baloo-chettan-extrabold.mkxl]  [type-imp-malayalam.mkxl]
48\definefilesynonym [type-imp-rit-sundar.mkxl]               [type-imp-malayalam.mkxl]
49
50\definefilesynonym [type-imp-baloo-tammudu.mkxl]            [type-imp-telugu.mkxl]
51\definefilesynonym [type-imp-baloo-tammudu-extrabold.mkxl]  [type-imp-telugu.mkxl]
52\definefilesynonym [type-imp-murty-telugu.mkxl]             [type-imp-telugu.mkxl]
53
54\definefilesynonym [type-imp-murty-kannada.mkxl]            [type-imp-kannada.mkxl]
55
56\definefilesynonym [type-imp-baloo-thambi.mkxl]             [type-imp-tamil.mkxl]
57\definefilesynonym [type-imp-baloo-thambi-extrabold.mkxl]   [type-imp-tamil.mkxl]
58
59\definefilesynonym [type-imp-baloo-bhai.mkxl]               [type-imp-gujarati.mkxl]
60\definefilesynonym [type-imp-baloo-bhai-extrabold.mkxl]     [type-imp-gujarati.mkxl]
61\definefilesynonym [type-imp-noto-serif-gujarati.mkxl]      [type-imp-gujarati.mkxl]
62
63\definefilesynonym [type-imp-baloo-da.mkxl]                 [type-imp-bengali.mkxl]
64\definefilesynonym [type-imp-baloo-da-extrabold.mkxl]       [type-imp-bengali.mkxl]
65\definefilesynonym [type-imp-murty-bangla.mkxl]             [type-imp-bengali.mkxl]
66
67\continueifinputfile{type-imp-indic.mkxl}
68
69% \usetypescriptfile[type-imp-indic]
70
71\usemodule[article-basics]
72
73\setupbodyfont
74  [pagella]
75
76\setuphead
77   [title]
78   [alternative=middle,
79    hidenumber=yes,
80    after={\blank[halfline]},
81    before={\blank[line]},
82    page=no,
83    style=\bfb]
84
85\definedescription
86  [fs]
87  [alternative=left,
88   title=yes,
89   width=3cm,
90   distance=0cm,
91   before=,
92   after=,
93   headstyle={\switchtobodyfont[pagella]}]
94
95\usetransliteration
96  [indic]
97
98\definetransliteration
99  [devatoiast]
100  [color=blue,
101   vector={deva to iast},
102   before=]
103
104\definetransliteration
105  [devatomlym]
106  [vector={deva to mlym}]
107
108\definetransliteration
109  [devatotlgu]
110  [vector={deva to tlgu}]
111
112\definetransliteration
113  [devatoknda]
114  [vector={deva to knda}]
115
116\definetransliteration
117  [devatogujr]
118  [vector={deva to gujr}]
119
120\definetransliteration
121  [devatobngl]
122  [vector={deva to bngl}]
123
124\definebuffer[words]
125\definebuffer[iastbuffer]
126
127\language[sa]
128
129\starttext
130
131\startbuffer[words]
132दंष्ट्रा श्रेयस्करी त्रेता विक्रेता तच्छ्री अङ्कित शृङ्गार क्व्य शार्ङ्ग निरृति
133क्रतुवित्त बर्हिस् प्रेप्सित अङ्घ्रि पङ्क्ति कर्त्तव्य कर्तव्य श्लाघ्यम्
134अवप्लुतम् युङ्क्ष्वा क्षेत्रज्ञ अग्निमीळे चँद्र हर्त्रे श्री आर्द्रं
135\stopbuffer
136
137\startbuffer
138\getbuffer[words]
139\stopbuffer
140
141
142% \startbuffer[iastbuffer]
143% \startdevatoiast[before=\blank,after=\blank]
144%     \getbuffer
145% \stopdevatoiast
146% \stopbuffer
147%
148% \getbuffer[iastbuffer]
149
150%
151%
152% Devanagari
153%
154%
155\starttitle[title={Adishila}]
156    \start
157        \switchtobodyfont[adishila]
158        \startfs{Regular}
159            \getbuffer
160        \stopfs
161        \startfs{Bold}
162            {\bf\getbuffer}
163        \stopfs
164        \startfs{Italic}
165            {\it\getbuffer}
166        \stopfs
167        \startfs{Bold Italic}
168            {\bi\getbuffer}
169        \stopfs
170    \stop
171\stoptitle
172
173\starttitle[title={Adishila Semibold}]
174    \start
175        \switchtobodyfont[adishila-semibold]
176        \startfs{Regular}
177            \getbuffer
178        \stopfs
179        \startfs{Italic}
180            {\it\getbuffer}
181        \stopfs
182    \stop
183\stoptitle
184
185\starttitle[title={Adishila Heavy}]
186    \start
187        \switchtobodyfont[adishila-heavy]
188        \startfs{Regular}
189            \getbuffer
190        \stopfs
191        \startfs{Italic}
192            {\it\getbuffer}
193        \stopfs
194    \stop
195\stoptitle
196
197\starttitle[title={Adishila Dev}]
198    \start
199        \switchtobodyfont[adishila-dev]
200        \startfs{Regular}
201            \getbuffer
202        \stopfs
203        \startfs{Bold}
204            {\bf\getbuffer}
205        \stopfs
206    \stop
207\stoptitle
208
209\starttitle[title={Adishila Dev}]
210    \start
211        \switchtobodyfont[adishila-dev-guru]
212        \startfs{Guru}
213            \getbuffer
214        \stopfs
215    \stop
216\stoptitle
217
218\starttitle[title={Adishila San}]
219    \start
220        \switchtobodyfont[adishila-san]
221        \startfs{Regular}
222            \getbuffer
223        \stopfs
224        \startfs{Bold}
225            {\bf\getbuffer}
226        \stopfs
227        \startfs{Italic}
228            {\it\getbuffer}
229        \stopfs
230        \startfs{Bold Italic}
231            {\bi\getbuffer}
232        \stopfs
233    \stop
234\stoptitle
235
236\starttitle[title={Adishila San Letterpress}]
237    \start
238        \switchtobodyfont[adishila-san-letterpress]
239        \startfs{Regular}
240            \getbuffer
241        \stopfs
242        \startfs{Bold}
243            {\bf\getbuffer}
244        \stopfs
245        \startfs{Italic}
246            {\it\getbuffer}
247        \stopfs
248        \startfs{Bold Italic}
249            {\bi\getbuffer}
250        \stopfs
251    \stop
252\stoptitle
253
254\starttitle[title={Shobhika}]
255    \start
256        \switchtobodyfont[shobhika]
257        \startfs{Regular}
258            \getbuffer
259        \stopfs
260        \startfs{Bold}
261            {\bf\getbuffer}
262        \stopfs
263    \stop
264\stoptitle
265
266\starttitle[title={Baloo 2 Extra Bold}]
267    \start
268        \switchtobodyfont[baloo-extrabold]
269        \startfs{Regular}
270            \getbuffer
271        \stopfs
272        \startfs{Bold}
273            {\bf\getbuffer}
274        \stopfs
275        \startfs{Italic}
276            {\it\getbuffer}
277        \stopfs
278        \startfs{Bold Italic}
279            {\bi\getbuffer}
280        \stopfs
281    \stop
282\stoptitle
283
284\starttitle[title={Baloo 2}]
285    \start
286        \switchtobodyfont[baloo]
287        \startfs{Regular}
288            \getbuffer
289        \stopfs
290        \startfs{Bold}
291            {\bf\getbuffer}
292        \stopfs
293        \startfs{Italic}
294            {\it\getbuffer}
295        \stopfs
296        \startfs{Bold Italic}
297            {\bi\getbuffer}
298        \stopfs
299    \stop
300\stoptitle
301
302\starttitle[title={Jaini}]
303    \start
304        \switchtobodyfont[jaini]
305        \startfs{Regular}
306            \getbuffer
307        \stopfs
308    \stop
309\stoptitle
310
311\starttitle[title={Jaini Purva}]
312    \start
313        \switchtobodyfont[jaini-purva]
314        \startfs{Regular}
315            \getbuffer
316        \stopfs
317    \stop
318\stoptitle
319
320\starttitle[title={Amita}]
321    \start
322        \switchtobodyfont[amita]
323        \startfs{Regular}
324            \getbuffer
325        \stopfs
326        \startfs{Bold}
327            {\bf\getbuffer}
328        \stopfs
329    \stop
330\stoptitle
331%
332%
333% Malayalam
334%
335%
336\startbuffer
337\startdevatomlym
338\getbuffer[words]
339\stopdevatomlym
340\stopbuffer
341
342\starttitle[title={RIT Rachana}]
343    \start
344        \switchtobodyfont[rit-rachana]
345        \startfs{Regular}
346            \getbuffer
347        \stopfs
348        \startfs{Bold}
349            {\bf\getbuffer}
350        \stopfs
351        \startfs{Italic}
352            {\it\getbuffer}
353        \stopfs
354        \startfs{Bold Italic}
355            {\bi\getbuffer}
356        \stopfs
357    \stop
358\stoptitle
359
360\starttitle[title={Panmana}]
361    \start
362        \switchtobodyfont[panmana]
363        \startfs{Regular}
364            \getbuffer
365        \stopfs
366        \startfs{Bold}
367            {\bf\getbuffer}
368        \stopfs
369    \stop
370\stoptitle
371
372\starttitle[title={Ezhuthu}]
373    \start
374        \switchtobodyfont[ezhuthu]
375        \startfs{Regular}
376            \getbuffer
377        \stopfs
378        \startfs{Bold}
379            {\bf\getbuffer}
380        \stopfs
381        \startfs{Slanted}
382            {\sl\getbuffer}
383        \stopfs
384        \startfs{Bold Slanted}
385            {\bs\getbuffer}
386        \stopfs
387    \stop
388\stoptitle
389
390\starttitle[title={Karumbi}]
391    \start
392        \switchtobodyfont[karumbi]
393        \startfs{Regular}
394            \getbuffer
395        \stopfs
396    \stop
397\stoptitle
398
399\starttitle[title={Chilanka}]
400    \start
401        \switchtobodyfont[chilanka]
402        \startfs{Regular}
403            \getbuffer
404        \stopfs
405    \stop
406\stoptitle
407
408\starttitle[title={Anjali Old Lipi}]
409    \start
410        \switchtobodyfont[anjali-oldlipi]
411        \startfs{Regular}
412            \getbuffer
413        \stopfs
414    \stop
415\stoptitle
416
417\starttitle[title={Dyuthi}]
418    \start
419        \switchtobodyfont[dyuthi]
420        \startfs{Regular}
421            \getbuffer
422        \stopfs
423    \stop
424\stoptitle
425
426\starttitle[title={TN Joy}]
427    \start
428        \switchtobodyfont[tn-joy]
429        \startfs{Regular}
430            \getbuffer
431        \stopfs
432        \startfs{Bold}
433            {\bf\getbuffer}
434        \stopfs
435    \stop
436\stoptitle
437
438\starttitle[title={TN Joy Extrabold}]
439    \start
440        \switchtobodyfont[tn-joy-extrabold]
441        \startfs{Regular}
442        \getbuffer
443        \stopfs
444        \startfs{Bold}
445        {\bf\getbuffer}
446        \stopfs
447    \stop
448\stoptitle
449
450\starttitle[title={Gayathri}]
451    \start
452        \switchtobodyfont[gayathri]
453        \startfs{Regular}
454            \getbuffer
455        \stopfs
456        \startfs{Bold}
457            {\sl\getbuffer}
458        \stopfs
459        \startfs{Bold}
460            {\bf\getbuffer}
461        \stopfs
462    \stop
463\stoptitle
464
465\starttitle[title={Gayathri Thin}]
466    \start
467        \switchtobodyfont[gayathri-thin]
468        \startfs{Thin (R)}
469            \getbuffer
470        \stopfs
471        \startfs{Bold*}
472            {\bf\getbuffer}
473        \stopfs
474    \stop
475\stoptitle
476
477\starttitle[title={Manjari}]
478    \start
479        \switchtobodyfont[manjari]
480        \startfs{Regular}
481            \getbuffer
482        \stopfs
483        \startfs{Bold}
484            {\bf\getbuffer}
485        \stopfs
486    \stop
487\stoptitle
488
489\starttitle[title={Manjari Thin}]
490    \start
491        \switchtobodyfont[manjari-thin]
492        \startfs{Regular}
493            \getbuffer
494        \stopfs
495        \startfs{Bold}
496            {\bf\getbuffer}
497        \stopfs
498    \stop
499\stoptitle
500
501\starttitle[title={Baloo Chettan 2}]
502    \start
503        \switchtobodyfont[baloo-chettan]
504        \startfs{Regular}
505            \getbuffer
506        \stopfs
507        \startfs{Bold}
508            {\bf\getbuffer}
509        \stopfs
510        \startfs{Medium \type{\sl}}
511            {\sl\getbuffer}
512        \stopfs
513        \startfs{Semibold \type{\bs}}
514            {\bs\getbuffer}
515        \stopfs
516    \stop
517\stoptitle
518
519\starttitle[title={Baloo Chettan 2 Extrabold}]
520    \start
521        \switchtobodyfont[baloo-chettan-extrabold]
522        \startfs{Medium \type{\tf}}
523            \getbuffer
524        \stopfs
525        \startfs{Extrabold \type{\bf}}
526            {\bf\getbuffer}
527        \stopfs
528        \startfs{Semibold \type{\sl}}
529            {\sl\getbuffer}
530        \stopfs
531        \startfs{Bold \type{\bs}}
532            {\bs\getbuffer}
533        \stopfs
534    \stop
535\stoptitle
536
537\starttitle[title={RIT Sundar}]
538    \start
539        \switchtobodyfont[rit-sundar]
540        \startfs{Regular}
541            \getbuffer
542        \stopfs
543        \startfs{Bold}
544            {\bf\getbuffer}
545        \stopfs
546    \stop
547\stoptitle
548%
549%
550% Telugu
551%
552%
553\startbuffer
554\startdevatotlgu
555\getbuffer[words]
556\stopdevatotlgu
557\stopbuffer
558
559\starttitle[title={Baloo Tammudu 2}]
560    \start
561        \switchtobodyfont[baloo-tammudu]
562        \startfs{Regular}
563            \getbuffer
564        \stopfs
565        \startfs{Bold}
566            {\bf\getbuffer}
567        \stopfs
568        \startfs{Slanted}
569            {\sl\getbuffer}
570        \stopfs
571        \startfs{Bold Slanted}
572            {\bs\getbuffer}
573        \stopfs
574    \stop
575\stoptitle
576
577\starttitle[title={Baloo Tammudu 2 Extrabold}]
578    \start
579        \switchtobodyfont[baloo-tammudu-extrabold]
580        \startfs{Regular}
581            \getbuffer
582        \stopfs
583        \startfs{Bold}
584            {\bf\getbuffer}
585        \stopfs
586        \startfs{Italic}
587            {\sl\getbuffer}
588        \stopfs
589        \startfs{Bold Italic}
590            {\bs\getbuffer}
591        \stopfs
592    \stop
593\stoptitle
594
595\starttitle[title={Murty Telugu}]
596    \start
597        \switchtobodyfont[murty-telugu]
598        \startfs{Regular}
599            \getbuffer
600        \stopfs
601        \startfs{Regular}
602            {\sl\getbuffer}
603        \stopfs
604        \startfs{Regular}
605            {\bf\getbuffer}
606        \stopfs
607        \startfs{Regular}
608            {\bs\getbuffer}
609        \stopfs
610    \stop
611\stoptitle
612%
613%
614% Kannada
615%
616%
617\startbuffer
618\startdevatoknda
619\getbuffer[words]
620\stopdevatoknda
621\stopbuffer
622
623\starttitle[title={Murty Kannada}]
624    \start
625        \switchtobodyfont[murty-kannada]
626        \startfs{Regular}
627            \getbuffer
628        \stopfs
629        \startfs{Regular}
630            {\bf\getbuffer}
631        \stopfs
632    \stop
633\stoptitle
634%
635%
636% Tamil
637%
638%
639\start
640\language[ta]
641\startbuffer
642சிற்றமபலம் புயல் காற்று முன்னர் அதே எதெ அதை ஔவையார்
643தொடர்கதை கிழால்லி அழைப்பு வாயிலாக  இயற்கை நுழைவாயில்
644இளமை காஞ்சி கச்சி இல்க்கியம் ஸ்ரீ
645\stopbuffer
646
647\starttitle[title={Baloo Thambi 2}]
648    \start
649        \switchtobodyfont[baloo-thambi]
650        \startfs{Regular}
651            \getbuffer
652        \stopfs
653        \startfs{ஂMedium \type{\sl}}
654            {\sl\getbuffer}
655        \stopfs
656        \startfs{Semibold \type{\bs}}
657            {\bs\getbuffer}
658        \stopfs
659        \startfs{Bold}
660            {\bf\getbuffer}
661        \stopfs
662    \stop
663\stoptitle
664
665\starttitle[title={Baloo Thambi 2 Extrabold}]
666    \start
667        \switchtobodyfont[baloo-thambi-extrabold]
668        \startfs{Medium}
669            \getbuffer
670        \stopfs
671        \startfs{Semibold \type{\sl}}
672            {\sl\getbuffer}
673        \stopfs
674        \startfs{Bold \type{\bs}}
675            {\bs\getbuffer}
676        \stopfs
677        \startfs{Extrabold}
678            {\bf\getbuffer}
679        \stopfs
680    \stop
681\stoptitle
682\stop
683%
684%
685% Gujarati
686%
687%
688\startbuffer
689\startdevatogujr
690\getbuffer[words]
691\stopdevatogujr
692\stopbuffer
693
694\starttitle[title={Baloo Bhai 2}]
695    \start
696        \switchtobodyfont[baloo-bhai]
697        \startfs{Regular}
698            \getbuffer
699        \stopfs
700        \startfs{ஂMedium \type{\sl}}
701            {\sl\getbuffer}
702        \stopfs
703        \startfs{Semibold \type{\bs}}
704            {\bs\getbuffer}
705        \stopfs
706        \startfs{Bold}
707            {\bf\getbuffer}
708        \stopfs
709    \stop
710\stoptitle
711
712\starttitle[title={Baloo Bhai 2 Extrabold}]
713    \start
714        \switchtobodyfont[baloo-bhai-extrabold]
715        \startfs{Medium}
716            \getbuffer
717        \stopfs
718        \startfs{Semibold \type{\sl}}
719            {\sl\getbuffer}
720        \stopfs
721        \startfs{Bold \type{\bs}}
722            {\bs\getbuffer}
723        \stopfs
724        \startfs{Extrabold}
725            {\bf\getbuffer}
726        \stopfs
727    \stop
728\stoptitle
729
730\starttitle[title={Noto Serif Gujarati}]
731    \start
732        \switchtobodyfont[noto-serif-gujarati]
733        \startfs{Medium}
734            \getbuffer
735        \stopfs
736        \startfs{Extrabold}
737            {\bf\getbuffer}
738        \stopfs
739    \stop
740\stoptitle
741%
742%
743% Bengali
744%
745%
746\startbuffer
747\startdevatobngl
748\getbuffer[words]
749\stopdevatobngl
750\stopbuffer
751
752\starttitle[title={Baloo Da 2}]
753    \start
754        \switchtobodyfont[baloo-da]
755        \startfs{Regular}
756            \getbuffer
757        \stopfs
758        \startfs{Medium \type{\sl}}
759            {\sl\getbuffer}
760        \stopfs
761        \startfs{Semibold \type{\bs}}
762            {\bs\getbuffer}
763        \stopfs
764        \startfs{Bold}
765            {\bf\getbuffer}
766        \stopfs
767    \stop
768\stoptitle
769
770\starttitle[title={Baloo Da 2 Extrabold}]
771    \start
772        \switchtobodyfont[baloo-da-extrabold]
773        \startfs{Medium}
774            \getbuffer
775        \stopfs
776        \startfs{Semibold \type{\sl}}
777            {\sl\getbuffer}
778        \stopfs
779        \startfs{Bold \type{\bs}}
780            {\bs\getbuffer}
781        \stopfs
782        \startfs{Extrabold}
783            {\bf\getbuffer}
784        \stopfs
785    \stop
786\stoptitle
787
788\starttitle[title={Murty Bengali}]
789    \start
790        \switchtobodyfont[murty-bangla]
791        \startfs{Regular}
792            \getbuffer
793        \stopfs
794        \startfs{Regular}
795            {\bf\getbuffer}
796        \stopfs
797    \stop
798\stoptitle
799
800\stoptext
801