summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lollipop/xelollipop.ini
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-24 17:50:01 +0000
committerKarl Berry <karl@freefriends.org>2014-04-24 17:50:01 +0000
commitcbfc368620bf1ec89c0feff3230ec1c082999975 (patch)
tree5a5f99b91bb93f046950a9f4b48880c7b09de987 /Master/texmf-dist/tex/lollipop/xelollipop.ini
parent6e7d419dedc358b0393e9318e9b338168004bcd8 (diff)
lollipop, new format
git-svn-id: svn://tug.org/texlive/trunk@33658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lollipop/xelollipop.ini')
-rw-r--r--Master/texmf-dist/tex/lollipop/xelollipop.ini51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lollipop/xelollipop.ini b/Master/texmf-dist/tex/lollipop/xelollipop.ini
new file mode 100644
index 00000000000..2885acd55b0
--- /dev/null
+++ b/Master/texmf-dist/tex/lollipop/xelollipop.ini
@@ -0,0 +1,51 @@
+% copyright 2014 Vafa Khalighi
+%
+%
+% This program is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program. If not, see <http://www.gnu.org/licenses/>.
+%
+%
+\catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 \catcode`\@=11
+
+\scrollmode
+
+\input unicode-letters
+\input lollipop.tex
+
+\catcode`\@=11
+%
+% Allocator for \XeTeXintercharclass values, from Enrico Gregorio
+%
+\newcount\xe@alloc@intercharclass % allocates intercharclass
+\xe@alloc@intercharclass=\thr@@ % from 4 (1,2 and 3 are used by CJK, AFAIK)
+\def\xe@alloc@#1#2#3#4#5{\global\advance#1\@ne
+ \xe@ch@ck#1#4#2% make sure there's still room
+ \allocationnumber#1%
+ \global#3#5\allocationnumber
+ \wlog{\string#5=\string#2\the\allocationnumber}}
+\def\xe@ch@ck#1#2#3{%
+ \ifnum#1<#2\else
+ \errmessage{No room for a new #3}%
+ \fi}
+\def\newXeTeXintercharclass{%
+ \xe@alloc@\xe@alloc@intercharclass\XeTeXintercharclass\chardef\@cclv} %at most 254
+
+\catcode`\@=12
+
+\XeTeXuseglyphmetrics=1
+\XeTeXdashbreakstate=1
+
+\dump
+\endinput
+
+% xelollipop.fmt is generated by `xetex -ini -jobname=xelollipop -progname=xelollipop -etex xelollipop.ini' \ No newline at end of file