blob: 56a6c41eff0186e09eb0a006a89d6eb5e0584f81 (
plain)
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
|
% xu-glhyph.tex
% Wrapper for XeTeX to read glhyph.tex
% Jonathan Kew, 2006-09-13
% Updated for glhyph 2.2, 2007-05-05
% Public domain
\begingroup
\expandafter\ifx\csname XeTeXrevision\endcsname\relax
\else
% at the first comment in the file, we will switch input encoding
\catcode`\$=14 % temporary comment char
\catcode`\%=\active $ make percent active
\catcode`\^^M=12 $
\def\gobbleline#1^^M{\catcode`\^^M=5 } $ macro to gobble line
\catcode`\^^M=5 $
\def%{\XeTeXinputencoding "iso-8859-1"
\catcode`\%=14 $ restore catcode of percent
\catcode`\^^M=12 $ prepare for gobbleline macro
\gobbleline} $ and ignore the rest of the line
\fi
\input glhyph.tex
\endgroup
\endinput
|