summaryrefslogtreecommitdiff
path: root/language/polish/utf8mex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/polish/utf8mex
Initial commit
Diffstat (limited to 'language/polish/utf8mex')
-rw-r--r--language/polish/utf8mex/README53
-rw-r--r--language/polish/utf8mex/doc/Makefile29
-rw-r--r--language/polish/utf8mex/doc/examples/Makefile27
-rw-r--r--language/polish/utf8mex/doc/examples/catcode.tex10
-rw-r--r--language/polish/utf8mex/doc/examples/list.tex12
-rw-r--r--language/polish/utf8mex/doc/examples/tilde.tex8
-rw-r--r--language/polish/utf8mex/doc/examples/tilde2.tex17
-rw-r--r--language/polish/utf8mex/doc/test-math.utf8.tex227
-rw-r--r--language/polish/utf8mex/doc/test.utf8.tex23
-rw-r--r--language/polish/utf8mex/doc/utf8math.el312
-rw-r--r--language/polish/utf8mex/tex/utf8-pl.tex119
-rw-r--r--language/polish/utf8mex/tex/utf8mex.ini33
-rw-r--r--language/polish/utf8mex/tex/utf8plsq.tex65
13 files changed, 935 insertions, 0 deletions
diff --git a/language/polish/utf8mex/README b/language/polish/utf8mex/README
new file mode 100644
index 0000000000..6809b1b383
--- /dev/null
+++ b/language/polish/utf8mex/README
@@ -0,0 +1,53 @@
+UTF8MeX Wlodek Bzyl
+==================================================================
+June 2004
+
+Attention:
+ due to bugs in Web2C and EncTeX UTF8MeX requires the latest
+ teTeX-beta (at least tetex-src-beta-2.96.6.20040715.tar.gz).
+
+The UTF8MeX package is MeX based format which works with UTF-8
+encoded source files.
+
+------------------------------------------------------------------
+This package is free software, see COPYING for more details.
+The package consists of the following files:
+
+README ................................................. this file
+COPYING ............................... GNU GENERAL PUBLIC LICENSE
+
+utf8mex.ini .................. the ini files for making the format
+utf8-pl.tex ............................ the code tables for UTF-8
+utf8plsq.tex ................ the auxiliary files input by utf8-pl
+
+utf8math.el ............. Emacs lisp package for easier math input
+
+test.utf8.tex, test-math.utf8.tex .............. simple test files
+
+Makefile ............ contains commands to generate the format and
+ to compile the test files
+
+------------------------------------------------------------------
+
+MISCELLANEOUS INSTRUCTIONS
+
+1. To install `utf8mex.fmt' format, first run `make'.
+This should produce the format file named `utf8mex.fmt'.
+Copy this file to the place where other format files are
+stored and update the database file with `texhash'.
+
+[recommended method for current distributions:
+run texconfig, select menu Formats, add the following line
+to fmtutil.cnf
+utf8mex pdfetex mexconf.tex -enc *utf8mex.ini
+save the file and quit the editor; the format will be generated
+and placed in the proper directory]
+
+2. Run `make test'. This command creates `test.utf8.dvi' and
+`test-math.utf8.dvi'.
+
+3. To browse TeX sources start `xterm' with something like
+`xterm -en UTF-8 -fn -misc-fixed-medium-r-normal--18-*-iso10646-1'.
+Next, in the xterm window execute `less test-math.utf8.tex' or
+`less test.utf8.tex'.
+
diff --git a/language/polish/utf8mex/doc/Makefile b/language/polish/utf8mex/doc/Makefile
new file mode 100644
index 0000000000..071aff6496
--- /dev/null
+++ b/language/polish/utf8mex/doc/Makefile
@@ -0,0 +1,29 @@
+#
+# Wlodek Bzyl, <matwb@univ.gda.pl>
+#
+# 13.VI.2004
+
+# generate format
+
+utf8mex.fmt : utf8mex.ini utf8-pl.tex utf8plsq.tex
+ tex -enc -ini utf8mex.ini
+
+# do some tests
+
+test : test.utf8.dvi test-math.utf8.dvi
+
+test.utf8.dvi : test.utf8.tex
+ tex -fmt utf8mex test.utf8.tex
+
+test-math.utf8.dvi : test-math.utf8.tex
+ tex -fmt utf8mex test-math.utf8.tex
+
+
+%.ps : %.dvi
+ dvips $* -o
+
+clean :
+ rm -f *~ \#* *.{log,dvi,ps}
+
+xclean : clean
+ rm -f utf8mex.fmt
diff --git a/language/polish/utf8mex/doc/examples/Makefile b/language/polish/utf8mex/doc/examples/Makefile
new file mode 100644
index 0000000000..2beeede59b
--- /dev/null
+++ b/language/polish/utf8mex/doc/examples/Makefile
@@ -0,0 +1,27 @@
+#
+# Wlodek Bzyl, <matwb@univ.gda.pl>
+#
+# 13.VI.2004
+
+examples = catcode.tex list.tex tilde.tex tilde2.tex
+
+logfiles = $(examples:%.tex=%.log)
+dvifiles = $(examples:%.tex=%.dvi)
+psfiles = $(examples:%.tex=%.ps)
+pdffiles = $(examples:%.tex=%.pdf)
+
+.SUFFIXES:
+.SUFFIXES: .pdf .ps .dvi .tex
+
+%.pdf : %.ps
+ ps2pdf $<
+
+%.ps : %.dvi
+ dvips $< -o
+
+%.dvi : %.tex
+ tex -fmt utf8mex $<
+# utf8mex $<
+
+clean :
+ rm -f *~ \#* $(logfiles) $(dvifiles) $(psfiles) $(pdffiles)
diff --git a/language/polish/utf8mex/doc/examples/catcode.tex b/language/polish/utf8mex/doc/examples/catcode.tex
new file mode 100644
index 0000000000..409922ef2c
--- /dev/null
+++ b/language/polish/utf8mex/doc/examples/catcode.tex
@@ -0,0 +1,10 @@
+
+\begingroup
+\catcode`\&=12 \mubyte \& &\endmubyte
+\endgroup
+\mubyte \copyright (C)\endmubyte
+\mubyte \dots ...\endmubyte
+
+(C) ... &
+
+\end
diff --git a/language/polish/utf8mex/doc/examples/list.tex b/language/polish/utf8mex/doc/examples/list.tex
new file mode 100644
index 0000000000..971e20bb56
--- /dev/null
+++ b/language/polish/utf8mex/doc/examples/list.tex
@@ -0,0 +1,12 @@
+
+\begingroup
+\uccode`X=\endlinechar \uppercase{\def\echar{X}}
+\mubyte \myitem \echar*\endmubyte
+\endgroup
+\def\myitem{\item{$\bullet$}}
+
+* the first item
+* the second item *
+* the third item$^*$
+
+\end
diff --git a/language/polish/utf8mex/doc/examples/tilde.tex b/language/polish/utf8mex/doc/examples/tilde.tex
new file mode 100644
index 0000000000..9b1604b495
--- /dev/null
+++ b/language/polish/utf8mex/doc/examples/tilde.tex
@@ -0,0 +1,8 @@
+
+\catcode`~=12
+\mubyte \atilde a~\endmubyte
+\def\atilde{\~a}
+
+a~la ma kota o~la ma psa
+
+\end
diff --git a/language/polish/utf8mex/doc/examples/tilde2.tex b/language/polish/utf8mex/doc/examples/tilde2.tex
new file mode 100644
index 0000000000..aa3f4603bd
--- /dev/null
+++ b/language/polish/utf8mex/doc/examples/tilde2.tex
@@ -0,0 +1,17 @@
+
+\input polyset
+
+\catcode`~=12
+
+%\mubyte \addtilde #2a~\endmubyte
+%\mubyte \addtilde #2o~\endmubyte
+
+\def\setmubyte #1#2{\def\runseq##1{\mubyte #1 ##1~\endmubyte}\applyset{#2}}
+
+\def\letters{abcde}
+\setmubyte {\addtilde ##2} {{\letters}}
+\def\addtilde#1~{\~#1}
+
+a~la ma kota o~la ma psa
+
+\end
diff --git a/language/polish/utf8mex/doc/test-math.utf8.tex b/language/polish/utf8mex/doc/test-math.utf8.tex
new file mode 100644
index 0000000000..aae9c00849
--- /dev/null
+++ b/language/polish/utf8mex/doc/test-math.utf8.tex
@@ -0,0 +1,227 @@
+%% Note that this file is UTF-8 encoded -*- coding: utf-8 -*-
+
+%% -- modified manmac macros
+
+\outer\def\begindisplay{\obeylines\startdisplay}
+{\obeylines\gdef\startdisplay#1
+ {\catcode`\^^M=5$$#1\halign\bgroup\indent##\hfil&&\qquad##\hfil\cr}}
+
+\chardef\other=12
+\def\ttverbatim{\begingroup
+ \catcode`\\=\other
+ \catcode`\{=\other
+ \catcode`\}=\other
+ \catcode`\$=\other
+ \catcode`\&=\other
+ \catcode`\#=\other
+ \catcode`\%=\other
+ \catcode`\~=\other
+ \catcode`\_=\other
+ \catcode`\^=\other
+ \obeyspaces \obeylines \tt}
+
+\outer\def\begintt{$$\let\par=\endgraf \ttverbatim \parskip=\z@
+ \catcode`\|=0 \rightskip-5pc \ttfinish}
+{\catcode`\|=0 |catcode`|\=\other % | is temporary escape character
+ |obeylines % end of line is active
+ |gdef|ttfinish#1^^M#2\endtt{#1|vbox{#2}|endgroup$$}}
+
+\newskip\ttglue
+\ttglue=.5em plus.25em minus.15em
+
+\catcode`\|=\active
+{\obeylines \gdef|{\ttverbatim \spaceskip\ttglue \let^^M=\ \let|=\endgroup}}
+
+\def\beginsymbols{$$%\displayindent=16pt
+ \vbox\bgroup\halign\bgroup
+ &\qquad\hbox to10pt{\hss$##$\hss}\enspace&\hbox to80pt{##\hss}\cr}
+\outer\def\enddisplay{\crcr\egroup\egroup$$}
+\let\endsymbols=\enddisplay
+
+%% ---
+
+\centerline{{\TeX}book, Chapter 16: Typing Math Formulas}
+
+$$ x × y ⋅ z \quad x ∘ y ∙ z \quad x ∪ y ∩ z $$
+$$ x ⊔ y ⊓ z \quad x ∨ y ∧ z \quad x ± y ∓ z $$
+$$ g^∘ ↦ g^∙ \quad f^*(x) ∩ f_*(y) $$
+$$ x ≤ y ≠ z \quad x ∼ y ≃ z \quad x ≡ y \not≡ z $$
+$$ x ⊂ y ⊆ z \quad f\colon A → B $$
+
+\centerline{{\TeX}book, Chapter 17: More about Math}
+
+$$ ∑_{n=0}^∞ x_n = ∫_{-∞}^{∞} f(x)\,dx $$
+
+\centerline{{\TeX}book, Chapter 18: Fine Point of Mathematics Typing}
+
+$$ \sin2θ=2\sinθ\cosθ \quad ℏ = 1.0545 × 10^{-27}\,\rm erg\,sec$$
+$$ Γ_{\!2}+Δ^{\!2} \quad A_1 × A_2 × \cdots × A_n$$ % missing \cdots in u8tex.el
+$$ x_1x_2\ldots x_n $$
+
+\centerline{{\TeX}book, Appendix F: Font Tables}
+
+\bigbreak
+\centerline{\it Lowercase Greek letters}
+\beginsymbols
+α&|\alpha|&ι&|\iota|&ϱ&|\varrho|\cr
+β&|\beta|&κ&|\kappa|&σ&|\sigma|\cr
+γ&|\gamma|&λ&|\lambda|&ς&|\varsigma|\cr
+δ&|\delta|&μ&|\mu|&τ&|\tau|\cr
+ε&|\epsilon|&ν&|\nu|&υ&|\upsilon|\cr
+\varepsilon&|\varepsilon|&ξ&|\xi|&ϕ&|\phi|\cr
+ζ&|\zeta|&o&|o|&φ&|\varphi|\cr
+η&|\eta|&π&|\pi|&χ&|\chi|\cr
+θ&|\theta|&ϖ&|\varpi|&ψ&|\psi|\cr
+ϑ&|\vartheta|&ρ&|\rho|&ω&|\omega|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Uppercase Greek letters}
+\beginsymbols
+Γ&|\Gamma|&Ξ&|\Xi|&Φ&|\Phi|\cr
+Δ&|\Delta|&Π&|\Pi|&Ψ&|\Psi|\cr
+Θ&|\Theta|&Σ&|\Sigma|&Ω&|\Omega|\cr
+Λ&|\Lambda|&Υ&|\Upsilon|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Miscellaneous symbols of type Ord}
+\beginsymbols
+ℵ&|\aleph|&\prime&|\prime|&∀&|\forall|\cr
+ℏ&|\hbar|&∅&|\emptyset|&∃&|\exists|\cr
+ı&|\imath|&∇&|\nabla|&¬&|\neg|\cr
+\jmath&|\jmath|&√&|\surd|&♭&|\flat|\cr
+ℓ&|\ell|&⊤&|\top|&♮&|\natural|\cr
+℘&|\wp|&⊥&|\bot|&♯&|\sharp|\cr
+ℜ&|\Re|&∥&|\Vert|&♣&|\clubsuit|\cr
+%ℜ&|\Re|&∥&|\|\|&♣&|\clubsuit|\cr
+ℑ&|\Im|&∠&|\angle|&♢&|\diamondsuit|\cr
+∂&|\partial|&△&|\triangle|&♡&|\heartsuit|\cr
+∞&|\infty|&\backslash&|\backslash|&♠&|\spadesuit|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Large operators}
+$$\openup3pt
+\vbox{\halign{&\qquad\hbox to10pt{\hss$#$\hss}\enspace&
+ \hbox to10pt{\hss$\displaystyle#$\hss}\enspace&
+ \hbox to60pt{#\hss}\cr
+∑&∑&|\sum|&⋂&⋂&|\bigcap|&
+ \bigodot&\bigodot&|\bigodot|\cr
+∏&∏&|\prod|&⋃&⋃&|\bigcup|&
+ \bigotimes&\bigotimes&|\bigotimes|\cr
+∐&∐&|\coprod|&\bigsqcup&\bigsqcup&|\bigsqcup|&
+ \bigoplus&\bigoplus&|\bigoplus|\cr
+∫&∫&|\int|&⋁&⋁&|\bigvee|&
+ \biguplus&\biguplus&|\biguplus|\cr
+∮&∮&|\oint|&⋀&⋀&|\bigwedge|\cr
+}}$$
+
+\bigbreak
+\centerline{\it Binary operations}
+\beginsymbols
+±&|\pm|&∩&|\cap|&∨&|\vee|\cr
+∓&|\mp|&∪&|\cup|&∧&|\wedge|\cr
+∖&|\setminus|&⊎&|\uplus|&⊕&|\oplus|\cr
+⋅&|\cdot|&⊓&|\sqcap|&⊖&|\ominus|\cr
+×&|\times|&⊔&|\sqcup|&⊗&|\otimes|\cr
+∗&|\ast|&◃&|\triangleleft|&⊘&|\oslash|\cr
+⋆&|\star|&▹&|\triangleright|&⊙&|\odot|\cr
+⋄&|\diamond|&≀&|\wr|&†&|\dagger|\cr
+∘&|\circ|&\bigcirc&|\bigcirc|&‡&|\ddagger|\cr
+∙&|\bullet|&△&|\bigtriangleup|&∐&|\amalg|\cr
+÷&|\div|&▽&|\bigtriangledown|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Relations}
+\beginsymbols
+≤&|\leq|&≥&|\geq|&≡&|\equiv|\cr
+≺&|\prec|&≻&|\succ|&∼&|\sim|\cr
+≼&|\preceq|&≽&|\succeq|&≃&|\simeq|\cr
+≪&|\ll|&≫&|\gg|&≍&|\asymp|\cr
+⊂&|\subset|&⊃&|\supset|&≈&|\approx|\cr
+⊆&|\subseteq|&⊇&|\supseteq|&≅&|\cong|\cr
+⊑&|\sqsubseteq|&⊒&|\sqsupseteq|&⋈&|\bowtie|\cr
+∈&|\in|&∋&|\ni|&∝&|\propto|\cr
+⊢&|\vdash|&⊣&|\dashv|&⊧&|\models|\cr
+⌣&|\smile|&∣&|\mid|&≐&|\doteq|\cr
+⌢&|\frown|&∥&|\parallel|&⊥&|\perp|\cr
+\endsymbols
+
+%\bigbreak
+%\centerline{\it Negated relations}
+
+\bigbreak
+\centerline{Arrows}
+$$\vbox{\halign\bgroup
+ \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to75pt{#\hss}&
+ \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to85pt{#\hss}&
+ \qquad\hbox to10pt{\hss$#$\hss}\enspace&\hbox to80pt{#\hss}\cr
+←&|\leftarrow|&\longleftarrow&|\longleftarrow|&
+ ↑&|\uparrow|\cr
+⇐&|\Leftarrow|&\Longleftarrow&|\Longleftarrow|&
+ ⇑&|\Uparrow|\cr
+→&|\rightarrow|&\longrightarrow&|\longrightarrow|&
+ ↓&|\downarrow|\cr
+⇒&|\Rightarrow|&\Longrightarrow&|\Longrightarrow|&
+ ⇓&|\Downarrow|\cr
+↔&|\leftrightarrow|&\longleftrightarrow&|\longleftrightarrow|&
+ ↕&|\updownarrow|\cr
+⇔&|\Leftrightarrow|&\Longleftrightarrow&|\Longleftrightarrow|&
+ ⇕&|\Updownarrow|\cr
+↦&|\mapsto|&\longmapsto&|\longmapsto|&
+ ↗&|\nearrow|\cr
+↩&|\hookleftarrow|&\hookrightarrow&|\hookrightarrow|&
+ ↘&|\searrow|\cr
+↼&|\leftharpoonup|&\rightharpoonup&|\rightharpoonup|&
+ ↙&|\swarrow|\cr
+↽&|\leftharpoondown|&\rightharpoondown&|\rightharpoondown|&
+ ↖&|\nwarrow|\cr
+⇌&|\rightleftharpoons|\cr
+\enddisplay
+
+\bigbreak
+\centerline{\it Openings}
+\beginsymbols
+\lbrack&|\lbrack|&⌊&|\lfloor|&⌈&|\lceil|\cr
+\lbrace&|\lbrace|&⟨&|\langle|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Closings}
+\beginsymbols
+\rbrack&|\rbrack|&⌋&|\rfloor|&⌉&|\rceil|\cr
+\rbrace&|\rbrace|&⟩&|\rangle|\cr
+\endsymbols
+
+\bigbreak
+\centerline{\it Alternate names}
+$$\vbox{\halign{\indent$\hfil#\hfil$\enspace&#\hfil\enspace&
+ (same as #)\hfil\cr
+≠&|\ne| or |\neq|&|\not=|\cr
+≤&|\le|&|\leq|\cr
+≥&|\ge|&|\geq|\cr
+\{&|\{|&|\lbrace|\cr
+\}&|\}|&|\rbrace|\cr
+→&|\to|&|\rightarrow|\cr
+←&|\gets|&|\leftarrow|\cr
+∋&|\owns|&|\ni|\cr
+∧&|\land|&|\wedge|\cr
+∨&|\lor|&|\vee|\cr
+¬&|\lnot|&|\neg|\cr
+%\vert&|\vert|&\|\cr
+%\Vert&|\Vert|&|\|\|\cr
+}}$$
+
+\bigbreak
+\centerline{Non-math symbols}
+$$\vbox{\halign{\indent$\hfil#\hfil$\enspace&#\hfil\enspace\cr
+§&|\S|\cr
+¶&|\P|\cr
+†&|\dag|\cr
+‡&|\ddag|\cr
+}}$$
+
+
+\bye
diff --git a/language/polish/utf8mex/doc/test.utf8.tex b/language/polish/utf8mex/doc/test.utf8.tex
new file mode 100644
index 0000000000..935544aeaa
--- /dev/null
+++ b/language/polish/utf8mex/doc/test.utf8.tex
@@ -0,0 +1,23 @@
+%% Note that this file is UTF-8 encoded -*- coding: utf-8 -*-
+
+\nopagenumbers
+\baselineskip = 14pt
+\parindent = 0pt
+\parskip 6pt
+
+Polish diacritics:
+aogonek -- ą (uppercase Ą),
+cacute -- ć (Ć),
+eogonek -- ę (Ę),
+lslash -- ł (Ł),
+nacute -- ń (Ń),
+oacute -- ó (Ó),
+sacute -- ś (Ś),
+zdotaccent -- ż (Ż),
+zacute -- ź (Ź).
+
+Polish quotes: „Ala ma kota -- Ola ma psa”.
+
+French quotes: «Ala ma kota w biało\=czerwone kropki».
+
+\end
diff --git a/language/polish/utf8mex/doc/utf8math.el b/language/polish/utf8mex/doc/utf8math.el
new file mode 100644
index 0000000000..41f3c1f63d
--- /dev/null
+++ b/language/polish/utf8mex/doc/utf8math.el
@@ -0,0 +1,312 @@
+;; utf8math.el -*- coding: utf-8 -*-
+
+;; Copyright (C) 2004 Wlodek Bzyl
+
+
+;; This file aims to provide an intuitive input method `utf8math'
+;; to input UTF-8 encoded math symbols defined in plain TeX, LaTeX
+;; and other TeX macro files. To input `α' it suffices to write
+;; `/alpha', `⇔' -- /Leftrightarrow, etc.
+
+;; The code below was taken from `u8tex.el' by Sergei Pokrovsky
+;; (to be found on any CTAN server: support/emacs-modes/u8tex.el).
+;; It differs from the orignal code. The stuff not relevant
+;; to math was removed and several wrong UTF-8 codes were corrected.
+
+
+;; Author: W{\l}odek Bzyl
+;; Maintainer: matwb@univ.gda.pl
+;; Keywords: unicode, math, mule, input method, EncTeX
+
+
+;; This file is not a part of GNU Emacs.
+
+;; GNU Emacs 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 2, or (at your option)
+;; any later version.
+
+;; GNU Emacs 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 GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+
+;; Installation
+;;
+;; All you need to do is copy this file to any directory on your
+;; load-path (`C-h v load-path' shows all directories on the load-path)
+;; and add the following code:
+;;
+;; (register-input-method
+;; "utf8math" "utf-8" 'quail-use-package
+;; ""Unicode input using TeX macro names"
+;; "utf8math")
+;;
+;; to one of the Emacs initialization files, for example to `.emacs'
+;; or to `.../emacs/20.*/leim/leim-list.el'.
+;; After that you can switch to the utf8math input method
+;; in the usual way `C-x C-m C-\ utf8math' or by choosing input
+;; method from the menu:
+;; Options -> Mule -> Select Input Method utf8math
+
+
+;;; Code:
+
+(require 'quail)
+
+(quail-define-package
+ "utf8math" "utf-8" "∑∫" t
+ "Input Unicode characters using TeX macro names.
+Use slash (/) instead of backslash as Mule escape:
+to get `alpha' write /alpha, to get `integral' write `/int' etc.
+" nil t nil nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+
+ ;; Typographic symbols
+
+ ("''" ?”) ("``" ?“)
+ ("/lq" ?‘) ("/rq" ?’)
+ ("/flqq" ?«) ("/frqq" ?») ; French double quotes
+ ("/flq" ?‹) ("/frq" ?›) ; French double quotes
+ ("/glqq" ?„) ("/grqq" ?‟) ; German double quotes
+ ("/glq" ?‚) ("/grq" ?‛) ; German single quotes
+ ("/dots" ?…)
+ ("/plqq" ?„) ("/plrq" ?”) ; Polish double quotes
+
+ ("/--" ?–) ; 2013 (EN DASH)
+ ("/---" ?—) ; 2014 (EM DASH)
+
+ ("/cent" ?¢) ; after HTML and wasy
+ ("/pound" ?£) ; after HTML
+ ("/euro" ?€) ; \texteuro
+ ("/yen" ?¥) ; \textyen
+
+ ;; Lowercase Greek letters
+ ;; (the missing caps like \Alpha come first)
+
+ ("/Alpha" ?Α) ("/alpha" ?α)
+ ("/Beta" ?Β) ("/beta" ?β)
+ ("/gamma" ?γ) ("/Gamma" ?Γ)
+ ("/delta" ?δ) ("/Delta" ?Δ)
+ ("/Epsilon" ?Ε) ("/epsilon" ?ε)
+ ("/Zeta" ?Ζ) ("/zeta" ?ζ)
+ ("/Eta" ?Η) ("/eta" ?η)
+ ("/theta" ?θ) ("/vartheta" ?ϑ) ("/Theta" ?Θ)
+ ("/Iota" ?Ι) ("/iota" ?ι)
+ ("/Kappa" ?Κ) ("/kappa" ?κ)
+ ("/lambda" ?λ) ("/Lambda" ?Λ)
+ ("/Mu" ?Μ) ("/mu" ?μ)
+ ("/Nu" ?Ν) ("/nu" ?ν)
+ ("/Omicron" ?Ο) ("/omicron" ?ο)
+ ("/xi" ?ξ) ("/Xi" ?Ξ)
+ ("/pi" ?π) ("/varpi" ?ϖ) ("/Pi" ?Π)
+ ("/Rho" ?Ρ) ("/rho" ?ρ) ("/varrho" ?ϱ)
+ ("/sigma" ?σ) ("/varsigma" ?ς) ("/Sigma" ?Σ)
+ ("/Tau" ?Τ) ("/tau" ?τ)
+ ("/upsilon" ?υ) ("/Upsilon" ?Υ)
+ ("/phi" ?ϕ) ("/varphi" ?φ) ("/Phi" ?Φ)
+ ("/Chi" ?Χ) ("/chi" ?χ)
+ ("/psi" ?ψ) ("/Psi" ?Ψ)
+ ("/omega" ?ω) ("/Omega" ?Ω)
+
+ ;; Miscellaneous symbols
+
+ ("/aleph" ?ℵ) ("/beth" ?ℶ) ("/gimel" ?ℷ) ("/daleth" ?ℸ)
+ ("/hbar" ?ℏ)
+ ("/imath" ?ı)
+ ("/ell" ?ℓ)
+ ("/wp" ?℘)
+ ("/Re" ?ℜ) ("/Im" ?ℑ)
+ ("/partial" ?∂)
+ ("/infty" ?∞)
+ ("/prime" ?′)
+ ("/emptyset" ?∅)
+ ("/nabla" ?∇)
+ ("/surd" ?√)
+ ("/top" ?⊤)
+ ("/bot" ?⊥)
+ ("/|" ?∥)
+ ("/angle" ?∠)
+ ("/triangle" ?△)
+ ("/backslash" ?\\)
+ ("//" ?/) ; special !!
+ ("/forall" ?∀) ("/exists" ?∃)
+ ("/neg" ?¬)
+ ("/flat" ?♭) ("/natural" ?♮) ("/sharp" ?♯)
+ ("/clubsuit" ?♣) ("/diamondsuit" ?♢)
+ ("/heartsuit" ?♡) ("/spadesuit" ?♠)
+ ("/mho" ?℧) ("/complement" ?∁) ("/lozenge" ?◊) ; amssymb
+ ("/square" ?□) ("/blacksquare" ?■) ; amssymb
+ ("/barwedge" ?⊼) ("/veebar" ?⊻) ; amssymb
+
+ ;; “Large” operators
+
+ ("/sum" ?∑)
+ ("/prod" ?∏)
+ ("/coprod" ?∐)
+ ("/int" ?∫)
+ ("/oint" ?∮)
+ ("/bigcap" ?⋂)
+ ("/bigcup" ?⋃)
+ ("/bigvee" ?⋁)
+ ("/bigwedge" ?⋀)
+
+ ;; Binary operations
+
+ ("/pm" ?±) ("/mp" ?∓)
+ ("/setminus" ?∖)
+ ("/cdot" ?⋅) ("/times" ?×)
+ ("/ast" ?∗) ("/star" ?⋆)
+ ("/diamond" ?⋄)
+ ("/circ" ?∘)
+ ("/bullet" ?∙)
+ ("/div" ?÷)
+ ("/cap" ?∩) ("/cup" ?∪)
+ ("/uplus" ?⊎)
+ ("/sqcap" ?⊓) ("/sqcup" ?⊔)
+ ("/triangleleft" ?◃) ; changed on 10.VII.2004
+ ("/triangleright" ?▹) ; ditto
+ ("/wr" ?≀)
+ ("/bigcirc" ?◯)
+ ("/bigtriangleup" ?△) ("/bigtriangledown" ?▽)
+ ("/vee" ?∨) ("/wedge" ?∧)
+ ("/oplus" ?⊕) ("/ominus" ?⊖)
+ ("/otimes" ?⊗) ("/oslash" ?⊘)
+ ("/odot" ?⊙)
+ ("/dagger" ?†) ("/ddagger" ?‡)
+ ("/amalg" ?∐)
+
+ ;; Relations
+
+ ("/leq" ?≤)
+ ("/prec" ?≺) ("/preceq" ?≼)
+ ("/ll" ?≪)
+ ("/subset" ?⊂) ("/subseteq" ?⊆)
+ ("/sqsubseteq" ?⊑)
+ ("/in" ?∈)
+ ("/vdash" ?⊢)
+ ("/smile" ?⌣)
+ ("/frown" ?⌢)
+ ("/geq" ?≥)
+ ("/succ" ?≻) ("/succeq" ?≽)
+ ("/gg" ?≫)
+ ("/supset" ?⊃) ("/supseteq" ?⊇)
+ ("/sqsupseteq" ?⊒)
+ ("/ni" ?∋)
+ ("/dashv" ?⊣)
+ ("/mid" ?∣)
+ ("/parallel" ?∥)
+ ("/equiv" ?≡)
+ ("/sim" ?∼) ("/simeq" ?≃)
+ ("/asymp" ?≍)
+ ("/approx" ?≈)
+ ("/cong" ?≅)
+ ("/bowtie" ?⋈)
+ ("/propto" ?∝)
+ ("/models" ?⊧) ; changed on 10 July 2004
+ ("/doteq" ?≐)
+ ("/perp" ?⊥)
+
+ ;; Negated relations
+
+ ("/not<" ?≮)
+ ("/not/leq" ?≰)
+ ("/not/prec" ?⊀) ("/not/preceq" ?⋠)
+ ("/not/subset" ?⊄) ("/not/subseteq" ?⊈)
+ ("/not/sqsubseteq" ?⋢)
+ ("/not>" ?≯)
+ ("/not/geq" ?≱)
+ ("/not/succ" ?⊁) ("/not/succeq" ?⋡)
+ ("/not/supset" ?⊅) ("/not/supseteq" ?⊉)
+ ("/not/sqsupseteq" ?⋣)
+ ("/not=" ?≠)
+ ("/not/equiv" ?≢)
+ ("/not/sim" ?≁) ("/not/simeq" ?≄)
+ ("/not/approx" ?≉)
+ ("/not/cong" ?≇)
+ ("/not/asymp" ?≭)
+
+ ;; Arrows
+
+ ("/leftarrow" ?←) ("/Leftarrow" ?⇐)
+ ("/rightarrow" ?→) ("/Rightarrow" ?⇒)
+ ("/leftrightarrow" ?↔) ("/Leftrightarrow" ?⇔)
+ ("/mapsto" ?↦)
+ ("/hookleftarrow" ?↩)
+ ("/leftharpoonup" ?↼)
+ ("/leftharpoondown" ?↽)
+ ("/rightleftharpoons" ?⇌)
+ ("/hookrightarrow" ?↪)
+ ("/rightharpoonup" ?⇀)
+ ("/rightharpoondown" ?⇁)
+ ("/searrow" ?↘)
+ ("/swarrow" ?↙)
+ ("/nwarrow" ?↖)
+ ("/uparrow" ?↑) ("/Uparrow" ?⇑)
+ ("/downarrow" ?↓) ("/Downarrow" ?⇓)
+ ("/updownarrow" ?↕) ("/Updownarrow" ?⇕)
+ ("/nearrow" ?↗)
+
+ ;; Openings ;; Closings
+
+ ("/lfloor" ?⌊) ("/rfloor" ?⌋)
+ ("/langle" ?⟨) ("/rangle" ?⟩) ; changed on 10 July 2004
+ ("/lceil" ?⌈) ("/rceil" ?⌉)
+
+ ;; Alternate names
+
+ ("/ne" ?≠) ("/neq" ?≠)
+ ("/le" ?≤) ("/ge" ?≥)
+ ("/to" ?→)
+ ("/gets" ?←)
+ ("/owns" ?∋)
+ ("/land" ?∧)
+ ("/lor" ?∨)
+ ("/lnot" ?¬)
+ ("/vert" ?∣)
+ ("/Vert" ?∥)
+
+ ;; Non-math symbols
+
+ ("/S" ?§) ("/P" ?¶)
+ ("/dag" ?†) ("/ddag" ?‡)
+ ("/brokenbar" ?¦)
+ ("/brvbar" ?¦) ; like in HTML
+ ("/reg" ?®) ; like in HTML, unlike TeX's /registered
+ ("/trade" ?™) ; like in HTML
+ ("/frownie" ?☹)
+ ("/smiley" ?☺)
+ ("/blacksmiley" ?☻)
+
+ ;; Combining characters
+
+ ("/'{}" ?́)
+ ("/`{}" ?̀)
+ ("/^{}" ?̂)
+ ("/\"{}" ?̈)
+ ("/~{}" ?̃)
+ ("/={}" ?¯) ; or else COMBINING MACRON = ("/={}" ?̄) ?
+ ("/.{}" ?̇)
+ ("/u{}" ?̆)
+ ("/v{}" ?̌)
+ ("/H{}" ?̋)
+ ("/t{}" ?͡)
+ ("/c{}" ?̧)
+ ("/d{}" ?̣)
+ ("/b{}" ?̱)
+
+ ;; \mathbb
+
+ ("/bbC" ?ℂ) ("/bbH" ?ℍ) ("/bbN" ?ℕ) ("/bbP" ?ℙ)
+ ("/bbQ" ?ℚ) ("/bbR" ?ℝ) ("/bbZ" ?ℤ)
+
+)
+
+;;; utf8math.el ends here
diff --git a/language/polish/utf8mex/tex/utf8-pl.tex b/language/polish/utf8mex/tex/utf8-pl.tex
new file mode 100644
index 0000000000..d6aa7590a8
--- /dev/null
+++ b/language/polish/utf8mex/tex/utf8-pl.tex
@@ -0,0 +1,119 @@
+%
+% utf8-pl.tex
+%
+% This file implements the conversion from UTF8 to PL
+% encoding (used by PLR fonts).
+%
+% Copyright (C) 2004 Wlodek Bzyl, <matwb@univ.gda.pl>
+%
+% 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 2 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, write to the Free Software
+% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+\ifx\mubyte\undefined
+ \errhelp{Sorry, you can't use this file without encTeX ver. Jun. 2004.}
+ \errmessage{The encTeX extension of TeX is not found}
+ \endinput \fi
+
+% first, we set the identity mapping in xord/xchr:
+
+\count255=128
+\loop \xordcode\count255=\count255
+ \xchrcode\count255=\count255
+ \advance\count255 by 1
+\ifnum \count255<256 \repeat
+
+
+% next, we remove the current conversion table, if exists:
+
+{\catcode`\^^@=12
+\gdef\clearmubytes{\bgroup \count255=1
+ \loop \uccode`X=\count255
+ \uppercase{\mubyte XX\endmubyte}%
+ \advance\count255 by1
+ \ifnum\count255<256 \repeat
+ \mubyte ^^@^^@\endmubyte
+ \egroup}
+}
+\clearmubytes
+
+
+% include these files first, so we can redefine some characters later
+
+\input utf8math
+\input utf8unkn
+\input utf8plsq
+
+
+% create the conversion table:
+
+
+% uppercase letters
+
+\mubyte ^^81 ^^c4^^84\endmubyte % Aogonek
+\mubyte ^^82 ^^c4^^86\endmubyte % Cacute
+\mubyte ^^86 ^^c4^^98\endmubyte % Eogonek
+\mubyte ^^8a ^^c5^^81\endmubyte % Lslash
+\mubyte ^^8b ^^c5^^83\endmubyte % Nacute
+\mubyte ^^d3 ^^c3^^93\endmubyte % Oacute
+\mubyte ^^91 ^^c5^^9a\endmubyte % Sacute
+\mubyte ^^9b ^^c5^^bb\endmubyte % Zdotaccent
+\mubyte ^^99 ^^c5^^b9\endmubyte % Zacute
+
+% lowercase letters
+
+\mubyte ^^a1 ^^c4^^85\endmubyte % aogonek
+\mubyte ^^a2 ^^c4^^87\endmubyte % cacute
+\mubyte ^^a6 ^^c4^^99\endmubyte % eogonek
+\mubyte ^^aa ^^c5^^82\endmubyte % lslash
+\mubyte ^^ab ^^c5^^84\endmubyte % nacute
+\mubyte ^^f3 ^^c3^^b3\endmubyte % oacute
+\mubyte ^^b1 ^^c5^^9b\endmubyte % sacute
+\mubyte ^^bb ^^c5^^bc\endmubyte % zdotaccent
+\mubyte ^^b9 ^^c5^^ba\endmubyte % zacute
+
+% non-characters
+
+\chardef\erq="27
+\mubyte \erq ^^e2^^80^^99\endmubyte % right single quotation mark
+
+% there's no \elqq, \elq, they are the same
+% Unicode character as \crqq, \crq
+
+\chardef\endash="7B
+\chardef\emdash="7C
+\mubyte \endash ^^e2^^80^^93\endmubyte % en dash
+\mubyte \emdash ^^e2^^80^^94\endmubyte % em dash
+
+\chardef\utfinvexclamation="3C
+\chardef\utfinvquestion="3E
+\mubyte \utfinvexclamation ^^c2^^a1\endmubyte % inverted exclamation mark
+\mubyte \utfinvquestion ^^c2^^bf\endmubyte % inverted question mark
+
+\chardef\utfligatureff="0B
+\chardef\utfligaturefi="0C
+\chardef\utfligaturefl="0D
+\chardef\utfligatureffi="0E
+\chardef\utfligatureffl="0F
+\mubyte \utfligatureff ^^ef^^ac^^80\endmubyte % latin small ligature ff
+\mubyte \utfligaturefi ^^ef^^ac^^81\endmubyte % latin small ligature fi
+\mubyte \utfligaturefl ^^ef^^ac^^82\endmubyte % latin small ligature fl
+\mubyte \utfligatureffi ^^ef^^ac^^83\endmubyte % latin small ligature ffi
+\mubyte \utfligatureffl ^^ef^^ac^^84\endmubyte % latin small ligature ffl
+
+
+% finally, make the tables work
+
+\mubytein=1 \mubyteout=3
+
+\endinput
diff --git a/language/polish/utf8mex/tex/utf8mex.ini b/language/polish/utf8mex/tex/utf8mex.ini
new file mode 100644
index 0000000000..db7e045c8f
--- /dev/null
+++ b/language/polish/utf8mex/tex/utf8mex.ini
@@ -0,0 +1,33 @@
+%% June 2004 W\l{}odek Bzyl (public domain)
+%% UTF8MeX
+%% MeX format for UTF-8 encoded files
+%%
+%% Requires:
+%% - version 7.5.3 of Web2C implementation of TeX
+%% - `utf8math.tex', `utf8raw.tex, `utf8unkn.tex'
+%% (these files belong to the EncTeX package:
+%% ftp://math.feld.cvut.cz/pub/olsak/enctex/)
+%%
+\ifx\pdfoutput\undefined \else
+ \ifx\pdfoutput\relax \else
+ %
+ % We're building the Mex format with the pdfetex engine (started 2004).
+ \input pdftexconfig
+ \pdfoutput=0
+ %
+ % pdfTeX related primitives are no longer hidden by default
+ % (started 2005). Uncomment and recreate the format files by running
+ % "fmtutil --all" resp. "fmtutil-sys --all" to revert to the old
+ % (2004) behaviour.
+ % \input pdftex-dvi.tex
+ %
+ \fi
+\fi
+%
+% the usual format initialization.
+\input mex.tex
+\input utf8-pl
+%\input plaina4 % set \hsize and \vsize for A4 %not important, needs cslatex (SW)
+\everyjob=\expandafter{\the\everyjob
+ \message{This is UTF8MeX Version 0.1 13.VI.2004 (W. Bzyl)}}
+\dump
diff --git a/language/polish/utf8mex/tex/utf8plsq.tex b/language/polish/utf8mex/tex/utf8plsq.tex
new file mode 100644
index 0000000000..a8f1d99954
--- /dev/null
+++ b/language/polish/utf8mex/tex/utf8plsq.tex
@@ -0,0 +1,65 @@
+%
+% utf8plsq.tex
+%
+% UTF-8 characters expanding to control sequences which
+% are independent on internal TeX encoding.
+%
+% Note: the control sequences: \plqq, \prqq, \flqq, \frqq
+% are defined in mex1.tex.
+%
+% Copyright (C) 2004 Wlodek Bzyl, <matwb@univ.gda.pl>
+%
+% 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 2 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, write to the Free Software
+% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+% punctuation
+
+\let\nbsp~
+\mubyte \nbsp ^^c2^^a0\endmubyte % no-break space
+\mubyte \quad ^^e2^^80^^83\endmubyte % em space
+\mubyte \plqq ^^e2^^80^^9e\endmubyte % double low-9 quotation mark
+\mubyte \prqq ^^e2^^80^^9d\endmubyte % double high-9 quotation mark
+\mubyte \flqq ^^c2^^ab\endmubyte % left-pointing double angle quotation mark
+\mubyte \frqq ^^c2^^bb\endmubyte % right-pointing double angle quotation mark
+\mubyte \dots ^^e2^^80^^a6\endmubyte % horizontal ellipsis
+\mubyte \- ^^c2^^ad\endmubyte % soft hyphen
+\def\utfhyphen{\discretionary{-}{-}{-}} % hyphenchar?
+\mubyte \utfhyphen ^^e2^^80^^90\endmubyte % hyphen
+
+% latin 1 characters
+
+\mubyte \ss ^^c3^^9f\endmubyte % latin small letter sharp s
+\mubyte \AA ^^c3^^85\endmubyte % latin capital letter a with ring above
+\mubyte \aa ^^c3^^a5\endmubyte % latin small letter a with ring above
+\mubyte \AE ^^c3^^86\endmubyte % latin capital ligature ae
+\mubyte \ae ^^c3^^a6\endmubyte % latin small ligature ae
+\mubyte \OE ^^c5^^92\endmubyte % latin capital ligature oe
+\mubyte \oe ^^c5^^93\endmubyte % latin small ligature oe
+\mubyte \O ^^c3^^98\endmubyte % latin capital letter o slash
+\mubyte \o ^^c3^^b8\endmubyte % latin small letter o slash
+
+% other text symbols
+
+\mubyte \dag ^^e2^^80^^a0\endmubyte % dagger
+\mubyte \ddag ^^e2^^80^^a1\endmubyte % double dagger
+\mubyte \S ^^c2^^a7\endmubyte % section sign
+\mubyte \P ^^c2^^b6\endmubyte % pilcrow sign
+
+% control sequences for Polish \leq and \geq symbols
+
+\mubyte \xle ^^e2^^89^^a4\endmubyte % less-than or equal to
+\mubyte \xge ^^e2^^89^^a5\endmubyte % greater-than or equal to
+
+\endinput