% tex-ini-files 2016-04-15: xetex.ini % Public domain. Originally by Jonathan Kew. %% Disable the \font\preloaded=... entries from plain.tex %% as XeTeX is primarily intended for use with other fonts \catcode`\{=1 \catcode`\}=2 \catcode`\#=6 \catcode`\^=7 \catcode`\@=11 \scrollmode % General Unicode set up \input load-unicode-data.tex % % Classes that have always been defined by the XeTeX format \input load-unicode-xetex-classes.tex % % Let etex.src handle things if eTeX is not enabled! \ifx\XeTeXinterchartoks\undefined \else % basic line-breaking support for CJK etc; override for more sophisticated spacing, % automatic font changes, etc. \gdef\xtxHanGlue{\hskip0pt plus 0.1em\relax} % between ideographs \gdef\xtxHanSpace{\hskip0.2em plus 0.2em minus 0.1em\relax} % before/after runs of CJK \global\XeTeXinterchartoks 0 1 = {\xtxHanSpace} \global\XeTeXinterchartoks 0 2 = {\xtxHanSpace} \global\XeTeXinterchartoks 0 3 = {\nobreak\xtxHanSpace} \global\XeTeXinterchartoks 1 0 = {\xtxHanSpace} \global\XeTeXinterchartoks 2 0 = {\nobreak\xtxHanSpace} \global\XeTeXinterchartoks 3 0 = {\xtxHanSpace} \global\XeTeXinterchartoks 1 1 = {\xtxHanGlue} \global\XeTeXinterchartoks 1 2 = {\xtxHanGlue} \global\XeTeXinterchartoks 1 3 = {\nobreak\xtxHanGlue} \global\XeTeXinterchartoks 2 1 = {\nobreak\xtxHanGlue} \global\XeTeXinterchartoks 2 2 = {\nobreak\xtxHanGlue} \global\XeTeXinterchartoks 2 3 = {\xtxHanGlue} \global\XeTeXinterchartoks 3 1 = {\xtxHanGlue} \global\XeTeXinterchartoks 3 2 = {\xtxHanGlue} \global\XeTeXinterchartoks 3 3 = {\nobreak\xtxHanGlue} \fi \let\s@vef@nt=\font \let\preloaded=2 \def\font{\futurelet\next\d@ntpreload} \def\d@ntpreload{\ifx\next\preloaded \let\next\sk@pf@nt \begingroup \catcode`\%=12 \catcode13=12 \else \let\next\s@vef@nt \fi \next} \lccode1=13 \lowercase{\def\sk@pf@nt\preloaded=#1^^A{\endgroup}} \input etex.src % Restore the \font command and undefine other stuff \catcode`\@=11 \let\font=\s@vef@nt \let\d@ntpreload=\und@fined \let\sk@pf@nt=\und@fined \let\s@vef@nt=\und@fined % % 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\XeTeXcharclass\chardef\xe@charclass@boundary} % The limit for character class has been enlarged from 256 to 4096 since XeTeX 0.99994. % So the boundary of character class is changed from 255 to 4095. % Primitive \XeTeXinterwordspaceshaping is introduced by XeTeX 0.99994. % We can use it as a flag. \ifx\XeTeXinterwordspaceshaping\und@fined \chardef\xe@charclass@boundary=\@cclv \else \chardef\xe@charclass@boundary=4095 % \fi % Primitives in pdfTeX and LuaTeX, we'll just use macros here. % Since we are generating a whatsit, not 100% compatible, % but hopefully close enough. \protected\def\pdfmapfile#1{\special{pdf:mapfile #1}} \protected\def\pdfmapline#1{\special{pdf:mapline #1}} \catcode`\@=12 \XeTeXuseglyphmetrics=1 \XeTeXdashbreakstate=1 \errorstopmode % START MaYoR % ============================================================= % % %%%%%%%%%%%%% MaYoR %%%%%%%%%%%%%% % % ============================================================= % \message{MaYoR} \input rotate \newbox\rotbox \newbox\rotboxA \newbox\rotboxB \newbox\mezonev \newbox\doboz \nopagenumbers % átkerültek a font definíciók a generatePDF függvénybe!! %\font\kicsi=ecrm0500 %\font\nagy=ecbx1200 %\font\vastag=ecsx0800 %\font\nagyss=ecsx1200 %\font\normal=ecss0800 %\font\dolt=ecsi0800 % osztályozóban volt \parindent=0pt % ======================================================================= % % Makrók % ======================================================================= % \def\doboz#1#2#3{\vbox to #2{\hsize=#1{\vfill\noindent #3 \vfill}}} % ============================================================= % \def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\hfil #3\hfil\vfill}} % ============================================================= % \def\tetejen#1#2#3{\vbox to #2{\hsize=#1\noindent\hfil #3\hfil\vfill}} % ============================================================= % \def\dupla#1{\vbox to 68pt{% \hbox to 68.8pt{\vbox to 30pt{\hsize=68.8pt\vfil\noindent\hfil#1\hfil\vfil}}% \hrule\hbox{% \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% \vrule width0.8pt depth3pt height39.2pt% \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% }}} % ============================================================= % \def\tripla#1{\vbox to 68pt{% \hbox to 103.6pt{\vbox to 30pt{\hsize=103.6pt\vfil\noindent\hfil#1\hfil\vfil}}% \hrule\hbox{% \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil1\hfil\vfil}% \vrule width0.8pt depth3pt height39.2pt% \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil2\hfil\vfil}% \vrule width0.8pt depth3pt height39.2pt% \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil3\hfil\vfil}% }}} % ============================================================= % \newdimen\vonalszelesseg\vonalszelesseg=0.8pt% \newdimen\szelesseg\szelesseg=34pt% \newcount\szam% \newcount\vonalszam% \def\ennes#1#2{\szam=1% \vonalszam=#2% \advance\vonalszam by -1% \multiply\vonalszelesseg by \vonalszam% \multiply\szelesseg by #2% \advance\szelesseg by \vonalszelesseg% \vbox to 68pt{% \hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% \hrule\hbox{% \loop \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% \advance\szam by 1% \vrule width0.8pt depth3pt height39.2pt% \ifnum\szam<#2\break% \repeat \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil#2\hfil\vfil}% }}} % ============================================================= % % ============================================================= % \def\emmes#1#2#3{\szam=#3% \vonalszam=#2% \advance\vonalszam by -1% \multiply\vonalszelesseg by \vonalszam% \advance\vonalszam by #3% \multiply\szelesseg by #2% \advance\szelesseg by \vonalszelesseg% \vbox to 68pt{% \hbox to \szelesseg{\vbox to 30pt{\hsize=\szelesseg\vfil\noindent\hfil#1\hfil\vfil}}% \hrule\hbox{% \loop \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\szam\hfil\vfil}% \advance\szam by 1% \vrule width0.8pt depth3pt height39.2pt% \ifnum\szam<\vonalszam\break% \repeat \vbox to 36pt{\hsize=34pt\vfil\noindent\hfil\the\vonalszam\hfil\vfil}% }}} % ============================================================= % \def\oraszam#1{% \hbox to 34pt{\hfill{% \vbox{\halign{% \vrule width0.8pt height21.2pt##&\vbox to 21.2pt{\vfil\hbox to 21.2pt{\hfil##\hfil}\vfil}\cr% \noalign{\hrule height0.8pt}% \cr% }}}}} % ============================================================= % \def\tanitasi{\setbox\mezonev=\kozepen{75pt}{20pt}{\doboz{69pt}{19pt}{\hfil A tanítási nap\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% % ============================================================= % \def\megjegyzes#1#2{\setbox\mezonev=\kozepen{90pt}{20pt}{\doboz{89pt}{19pt}{\hfil \centerline{#1} \centerline{#2}\hfil}}\lower3.5pt\vbox{\rotl\mezonev}}% % ============================================================= % \def\datum#1#2#3{% \setbox\mezonev=\hbox{\vbox to 22pt{\hrule height2pt\hsize=105pt\vfil\noindent\hfil#3\hfil\vfil}\vrule width2pt}% \lower3pt\vbox to 166pt{% \vss\hbox{\vbox to 168pt{\vfil% \hbox to 22pt{\hss\vrule height63pt width2pt\vbox to 63.2pt{\hsize=31pt% \hrule width31.5pt height2pt\vfil\noindent\centerline{#1}\vfil% \hrule width31.5pt height0.8pt\noindent\vfil\centerline{#2}\vfil% \hrule width31.5pt height2pt}}% \hbox{\vbox to 104pt{\vss\rotl\mezonev}}% }}}} % ============================================================= % %5.1cm=145pt 343=1.4 136.6 = 4.8 1.3 = 37pt 41.25 = 1.45 6 = 170.7 % ============================================================= % \def\tananyag#1#2{\setbox\mezonev=\kozepen{140pt}{34pt}{\doboz{133pt}{33pt}{\raggedright#1}}\lower3pt\vbox{\rotl\mezonev\oraszam{#2}}} \def\mayor{% \font\mayorfnt=cmsl8% \font\Mayorfnt=cmsl12 {\mayorfnt\lower0.5ex\hbox{\lower-0.5ex\hbox{Ma}\kern-0.3em\lower0.25ex\hbox{\Mayorfnt Y}\kern-0.2em\hbox{o}\lower0ex\hbox{R}}}} % ============================================================= % % \def\kozepenK#1#2#3{\vrule\vbox to #2{\hsize=#1\hrule\vfill\noindent\hfil #3\hfil\vfill\hrule}\vrule} % \def\kozepen#1#2#3{\vbox to #2{\hsize=#1\vfill\noindent\centerline{#3}\vfill}} %%%%\normal % END MaYoR \dump \endinput