1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
%------------------------------------------------------------------------
% Avinash Chopde: Ross Moore's itrans.sty for supporting ITRANS with
% LaTeX2HTML are now included with ITRANS (version 5.2 and beyond). June '98.
% This file is same as latex2html/IndicTeX-HTML/itrans.sty
%------------------------------------------------------------------------
% itrans.sty by Ross Moore <ross@mpce.mq.edu.au> $
%% $Log:
%
% LaTeX2e package interface for ...
%
% ITRANS pre-processor, and indic fonts, by Avinash Chopde
%
% The ITRANS system is *not* included with this package.
% Obtain if from: http://www.aczone.com/itrans/
%
% ===================================================================
% In LaTeX this package does little more than to load .
% However...
%
% ...the package has a corresponding implementation for LaTeX2HTML
% called: itrans.perl .
%
% With LaTeX2HTML the options on the \usepackage line specify
% pre-processor commands to be included automatically.
%
% Usage:
%
% \usepackage{itrans} %| for text already pre-processed
% \usepackage[itrans]{itrans} %| for all supported languages
% \usepackage[preprocess]{itrans}%| same as [itrans]
%
% options affecting Input-forms
%
% \usepackage[7bit]{itrans} %|
% \usepackage[8bit]{itrans} %|
% \usepackage[csx]{itrans} %| 8-bit Sanskrit extension of ISO 646
% \usepackage[csxx]{itrans} %| CSX+ transliteration (not ready yet)
% \usepackage[latex]{itrans} %| standardized LaTeX transcription form
% \usepackage[unicode]{itrans} %| ISO 10646-1 + Sinhalese extension
% \usepackage[ind]{itrans} %| Indian
%
% options specifyinging languages:
%
% \usepackage[ben]{itrans} %| Bengali
% \usepackage[guj]{itrans} %| Gujarati
% \usepackage[gur]{itrans} %| Gurmukhi
% \usepackage[hin]{itrans} %| Hindi
% \usepackage[kan]{itrans} %| Kannada
% \usepackage[mar]{itrans} %| Marathi
% \usepackage[ori]{itrans} %| Oriya
% \usepackage[pun]{itrans} %| Punjabi
% \usepackage[rom]{itrans} %| Roman
% \usepackage[san]{itrans} %| Sanskrit
% \usepackage[tam]{itrans} %| Tamil
% \usepackage[tel]{itrans} %| Telugu
%
%
% \usepackage[bengali]{itrans} %| Bengali
% \usepackage[gujarati]{itrans} %| Gujarati
% \usepackage[gurmukhi]{itrans} %| Gurmukhi
% \usepackage[hindi]{itrans} %| Hindi
% \usepackage[kannada]{itrans} %| Kannada
% \usepackage[marathi]{itrans} %| Marathi
% \usepackage[oriya]{itrans} %| Oriya
% \usepackage[punjabi]{itrans} %| Punjabi
% \usepackage[roman]{itrans} %| Roman
% \usepackage[sanskrit]{itrans} %| Sanskrit
% \usepackage[tamil]{itrans} %| Tamil
% \usepackage[telugu]{itrans} %| Telugu
%
%
% ===================================================================
%
\ProvidesFile{itrans.sty}[1998/6/12]
%
\NeedsTeXFormat{LaTeX2e}
%
\DeclareOption{preprocess}{\ds@itrans}
\DeclareOption{indica}{\ds@itrans}
\DeclareOption{html7}{\ds@itrans}
\DeclareOption{html8}{\ds@itrans}
\DeclareOption{csx}{\ds@itrans}
\DeclareOption{csxx}{\ds@notyetitrans{csxx}}
\DeclareOption{html}{\ds@itrans}
\DeclareOption{postscript}{\ds@itrans}
\DeclareOption{unicode}{\ds@itrans}
\DeclareOption{ben}{\ds@itrans} %| Bengali
\DeclareOption{dev}{\ds@itrans} %| Devanagari
\DeclareOption{guj}{\ds@itrans} %| Gujarati
\DeclareOption{gur}{\ds@itrans} %| Gurmukhi
\DeclareOption{hin}{\ds@itrans} %| Hindi
\DeclareOption{kan}{\ds@itrans} %| Kannada
\DeclareOption{mar}{\ds@itrans} %| Marathi
\DeclareOption{ori}{\ds@itrans} %| Oriya
\DeclareOption{pun}{\ds@itrans} %| Punjabi
\DeclareOption{rom}{\ds@itrans} %| Roman
\DeclareOption{san}{\ds@itrans} %| Sanskrit
\DeclareOption{tam}{\ds@itrans} %| Tamil
\DeclareOption{tel}{\ds@itrans} %| Telugu
\DeclareOption{bengali}{\ds@itrans} %| Bengali
\DeclareOption{devanagari}{\ds@itrans}%| Devanagari
\DeclareOption{gujarati}{\ds@itrans} %| Gujarati
\DeclareOption{gurmukhi}{\ds@itrans} %| Gurmukhi
\DeclareOption{hindi}{\ds@itrans} %| Hindi
\DeclareOption{kannada}{\ds@itrans} %| Kannada
\DeclareOption{marathi}{\ds@itrans} %| Marathi
\DeclareOption{oriya}{\ds@itrans} %| Oriya
\DeclareOption{punjabi}{\ds@itrans} %| Punjabi
\DeclareOption{roman}{\ds@itrans} %| Roman
\DeclareOption{sanskrit}{\ds@itrans} %| Sanskrit
\DeclareOption{tamil}{\ds@itrans} %| Tamil
\DeclareOption{telugu}{\ds@itrans\ds@itrans@telugu}%| Telugu
\DeclareOption*{\@latexerr{%
`\CurrentOption' is an invalid option, using `preprocess' instead}%
{Available Options:^^J^^J itrans,html7,html8,bengali,devanagari^^J
gujarati,gurmukhi,hindi,kannada,marathi,oriya,punjabi,roman,sanskrit,^^J
tamil,telugu, ben,dev,guj,gur,hin,kan,mar,ori,pun,rom,san,tam,tel^^J}%
\PassOptionsToPackage{preprocess}{itrans}}
\def\ds@itrans@telugu{%
\InputIfFileExists{itrnstlg.tex}{}{\@latexerr{%
Could not find the itrnstlg.tex macros file.}}}
\def\ds@itrans@devnag{%
\InputIfFileExists{idevn.tex}{}{\@latexerr{%
Could not find the idevn.tex macros file.}}}
% this lets you put the pagenumbers in devanaagarii
% by using \pagenumbering{itrans} in the preamble
\def\@itrans#1{{\fransdvng\number #1}}
\def\ds@notyetitrans#1{%
\typeout{** Sorry, the #1 option isn't implemented yet. **}%
}
\def\ds@itrans{\ds@itrans@devnag
\def\itransloaded{}}
\ProcessOptions*
\expandafter\ifx\csname itransloaded\endcsname\relax\expandafter\ds@itrans\fi
\endinput
|