aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/print/module-naplo/xetex
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-naplo/print/module-naplo/xetex')
-rw-r--r--mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.cnf9
-rw-r--r--mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.fmtbin0 -> 1875490 bytes
-rw-r--r--mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.ini189
3 files changed, 198 insertions, 0 deletions
diff --git a/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.cnf b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.cnf
new file mode 100644
index 00000000..70d0a410
--- /dev/null
+++ b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.cnf
@@ -0,0 +1,9 @@
+# 10texlive-xetex.cnf
+# You can change/add entries to this file and changes will be preserved
+# over upgrades, even if you have removed the main package prior
+# (not if you purged it). You should leave the following pseudo comment
+# present in the file!
+# -_- DebPkgProvidedMaps -_-
+#
+
+mayor-xetex xetex language.def -etex mayor-xetex.ini
diff --git a/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.fmt b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.fmt
new file mode 100644
index 00000000..77bdaf40
--- /dev/null
+++ b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.fmt
Binary files differ
diff --git a/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.ini b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.ini
new file mode 100644
index 00000000..f5a72f32
--- /dev/null
+++ b/mayor-orig/mayor-naplo/print/module-naplo/xetex/mayor-xetex.ini
@@ -0,0 +1,189 @@
+% $Id: xetex.ini 26376 2012-05-14 18:25:55Z karl $
+% 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
+
+\input unicode-letters
+
+\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\XeTeXintercharclass\chardef\@cclv} %at most 254
+
+\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}%
+&#1\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