summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-uni8
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-16 22:27:39 +0000
committerKarl Berry <karl@freefriends.org>2019-01-16 22:27:39 +0000
commitc9a9749afe93ec038e88e295e3190c13d4ff2d07 (patch)
tree8f1a7bdaa6a399b3823419ccc892452f3b645eb4 /Master/texmf-dist/doc/latex/latex-uni8
parenta156fa469363be1d0b84e3da6bcbc475a9cf3940 (diff)
latex-uni8 (16jan19)
git-svn-id: svn://tug.org/texlive/trunk@49729 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-uni8')
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/README.txt122
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fl.tex27
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_flr.tex29
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fm.tex13
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fmr.tex13
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fu.tex27
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fur.tex28
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex27
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_futr.tex33
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pl.tex22
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_plr.tex24
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pm.tex13
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pmr.tex14
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex23
-rw-r--r--Master/texmf-dist/doc/latex/latex-uni8/example_pur.tex25
15 files changed, 440 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/README.txt b/Master/texmf-dist/doc/latex/latex-uni8/README.txt
new file mode 100644
index 00000000000..be78498c46f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/README.txt
@@ -0,0 +1,122 @@
+latex-uni8: Universal inputenc, fontenc and babel for pdflatex + lualatex
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+uni8.sty is a LaTeX style file which makes it easy to use input encoding
+(UTF-8 by default, can be changed), fontspec.sty (optional), font
+encoding (T1 if fontspec.sty is not used), babel (English language by
+default), hyphenation, underline (with soul.sty), default text and math
+fonts (Computer Modern or Times) and paper sizes correctly with both
+pdflatex and lualatex.
+
+How to use:
+
+ \documentclass{article}
+ \usepackage{uni8}
+ ...
+ \begin{document}
+ ...
+ \end{document}
+
+See the project page https://github.com/pts/latex-uni8 for example files
+and the latest updates.
+
+The name uni8 is an abbreviation of: universal UTF-8 and 8-bit input
+encoding. It indicates that uni8.sty can set up UTF-8 (utf8) and legacy
+8-bit input encodings (e.g. latin1, latin2) correctly in many environments
+(pdflatex or lualatex, with or without fontspec.sty, T1 or Unicode font
+encoding).
+
+Limitations:
+
+* \showhyphens doesn't display accented characters correctly in the console
+ log. With pdflatex on an UTF-8 console all non-ASCII characters are wrong.
+ With lualatex on an UTF-8 console with T1 font encoding some non-ASCII
+ characters (e.g. ő and ű) are wrong: the ones which are at a different
+ location in Unicode and T1 encoding.
+
+uni8.sty takes care of the following:
+
+* It sets up font families (text: main, sans and mono; also math): Computer
+ Modern (implemented using Latin Modern) by default, and it's possible to
+ select Times + Helvetica + Courier (implemented using TeX Gyre and mathptmx)
+ instead.
+* It sets up input encoding (UTF-8 is the default, it does
+ \usepackage[utf8]{inputenc} or a variation of that).
+* It sets the page size based on \documentclass[a4paper]{article} etc.
+* \usepackage[english]{babel} (this includes setting up hyphenation).
+ If you want a different language, then do someting like
+ \PassOptionsToPackage{hungarian}{babel} before \usepackage{uni8}.
+* \usepackage{soul} (or a variation of it, if available).
+* It makes the \ul command (as defined in soul.sty) should just work with
+ footnotes and automatic hyphenation as well.
+* It makes \hyphenation{...} exceptions work properly, even with accented
+ characters specified the usual way (encoded with the input encoding, UTF-8
+ by default). (For lualatex, it also makes \patterns{...} work similarly.)
+* It makes sure that magyar.ldf (if \PassOptionsToPackage{hungarian}{babel}
+ is used) doesn't print useless warnings about inputenc.sty or t1enc.sty.
+* It sets up font encoding (like T1 encoding with \usepackage{t1enc} if
+ needed).
+
+Usage recommendations and best practices:
+
+* Use \usepackage{uni8} with pdflatex it possible.
+* If you need lualatex, probaby you want to use Unicode fonts, thus use
+ \usepackage[fontspec]{uni8}. Configure fonts with \fontspec{...} and
+ \setmainfont{...} as usual. The default for for uni8 is cm (Latin Modern).
+* \usepackage{uni8} also works with lualatex without fontspec.sty
+ (tested on TeX Live 2019), but for simplicity and increased backwards
+ compatibility (especially for magyar.ldf), use pdflatex instead of
+ lualatex-without-fontspec.sty if possible. The most fragile part of how
+ uni8.sty uses lualatex without fontspec.sty is setting up hyphenation
+ patterns with the T1 encoding.
+
+Features:
+
+* The default font (\usepackage[font=cm]) families are Computer Modern
+ (implemented using Latin Modern) by default.
+* Use \usepackage[font=times] to use Times, Helvetica and Courier font
+ families (implemented using TeX Gyre and mathptmx).
+* Use \usepackage[font=old-times] to use Times, Helvetica and Courier as
+ text and math default fonts (rather than Latin Modern, which is based on
+ Computer Modern). This uses the new old URW-based text fonts with
+ times.sty.
+* Use \usepackage[inputenc=latin2] to use ISO-8859-2 input encoding. Most
+ users shouldn't need this nowaday, the UTF-8 default is better.
+* Use \usepackage[inputenc=latin1] to use ISO-8859-1 input encoding. Most
+ users shouldn't need this nowaday, the UTF-8 default is better.
+* uni8.sty is compatible with hyperref.sty, color.sty and xcolor.sty in both
+ pdflatex and lualatex.
+* uni8.sty works with pdflatex, lualatex and latex (with .dvi
+ output).
+
+How to install LaTeX on Debian Buster, with TeX Live 2019:
+
+* To get the pdflatex command, run:
+ sudo apt-get install texlive-latex-base
+* To get the lualatex command (and the minimal defaults for uni8.sty), run:
+ sudo apt-get install texlive-latex-base texlive-luatex
+* To make [fontspec] (eqivalent to \usepackage{fontspec}) work, run:
+ sudo apt-get install texlive-latex-base texlive-luatex texlive-latex-recommended
+* To make [font=times] work without [fontspec], run:
+ sudo apt-get install texlive-latex-base texlive-latex-recommended tex-gyre
+* To make [font=times] work with [fontspec], run:
+ sudo apt-get install texlive-latex-base texlive-luatex fonts-texgyre texlive-latex-recommended
+* To make \usepackage{soul} (automatically done by uni8.sty) work, run:
+ sudo apt-get install texlive-latex-base texlive-latex-extra
+* To make \usepackage{lmodern} (automatically done by uni8.sty) work, run:
+ sudo apt-get install texlive-latex-base
+* To make \PassOptionsToPackage{english,american,british}{babel} (and the
+ corresponding hyphenation) work, run:
+ sudo apt-get install texlive-latex-base
+* To make \PassOptionsToPackage{german}{babel} work, run:
+ sudo apt-get install texlive-latex-base texlive-lang-german
+* To make \PassOptionsToPackage{spanish}{babel} work, run:
+ sudo apt-get install texlive-latex-base texlive-lang-spanish
+* To make \PassOptionsToPackage{french}{babel} work, run:
+ sudo apt-get install texlive-latex-base texlive-lang-french
+* To make \PassOptionsToPackage{italian}{babel} work, run:
+ sudo apt-get install texlive-latex-base texlive-lang-italian
+* To make \PassOptionsToPackage{hungarian}{babel} (and the corresponding
+ hyphenation) work, run:
+ sudo apt-get install texlive-latex-base texlive-lang-european
+
+__END__
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fl.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fl.tex
new file mode 100644
index 00000000000..a0dc778d720
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fl.tex
@@ -0,0 +1,27 @@
+% -*- coding: iso-8859-2 -*-
+% example_fl.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is ISO-8859-2 (latin2).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage[fontspec,inputenc=latin2]{uni8}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{õ9y}
+\hyphenation{yõ-yõ-yõ-yõ-yõ-yõ-yõ}
+\showhyphens{yõyõyõyõyõyõyõ}
+\showhyphens{árvíztûrõ tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bõbõbõbõbõbõbõ\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yõyõyõyõyõyõyõ\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_flr.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_flr.tex
new file mode 100644
index 00000000000..3f62737068f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_flr.tex
@@ -0,0 +1,29 @@
+% -*- coding: iso-8859-2 -*-
+% example_flr.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is ISO-8859-2 (latin2).
+\documentclass{article}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\usepackage[latin2]{luainputenc} % Must be loaded after babel.sty.
+\usepackage{fontspec}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{õ9y}
+\hyphenation{yõ-yõ-yõ-yõ-yõ-yõ-yõ}
+\showhyphens{yõyõyõyõyõyõyõ}
+\showhyphens{árvíztûrõ tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bõbõbõbõbõbõbõ\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yõyõyõyõyõyõyõ\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fm.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fm.tex
new file mode 100644
index 00000000000..821daf64edf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fm.tex
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+% example_fm.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass[a5paper]{article}
+\def\magyarOptions{defaults=hu-min}
+\PassOptionsToPackage{magyar}{babel}
+\usepackage[fontspec]{uni8}
+\begin{document}
+\section{Első}\label{f1}
+\Aref{f2}.\ szakasz se érdekesebb ennél.
+\section{Második}\label{f2}
+\Aref{f1}.\ szakasz se érdekesebb ennél.
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fmr.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fmr.tex
new file mode 100644
index 00000000000..098d012303f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fmr.tex
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+% example_fmr.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass[a5paper]{article}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\usepackage{fontspec}
+\begin{document}
+\section{Első}\label{f1}
+\Aref{f2}.\ szakasz se érdekesebb ennél.
+\section{Második}\label{f2}
+\Aref{f1}.\ szakasz se érdekesebb ennél.
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fu.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fu.tex
new file mode 100644
index 00000000000..ac124bf8555
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fu.tex
@@ -0,0 +1,27 @@
+% -*- coding: utf-8 -*-
+% example_fu.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage[fontspec]{uni8}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fur.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fur.tex
new file mode 100644
index 00000000000..2d80e7b9dd3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fur.tex
@@ -0,0 +1,28 @@
+% -*- coding: utf-8 -*-
+% example_fur.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\usepackage{fontspec}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
new file mode 100644
index 00000000000..be93bcd0820
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_fut.tex
@@ -0,0 +1,27 @@
+% -*- coding: utf-8 -*-
+% example_fut.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage[fontspec,font=times]{uni8}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_futr.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_futr.tex
new file mode 100644
index 00000000000..52dd86c1159
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_futr.tex
@@ -0,0 +1,33 @@
+% -*- coding: utf-8 -*-
+% example_futr.tex, works with modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\usepackage{fontspec}
+\usepackage{unicode-math}
+\setmainfont{TeX Gyre Termes}
+\setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
+\setmonofont{TeX Gyre Cursor}[Scale=MatchLowercase]
+\setmathfont{TeX Gyre Termes Math}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vbox{\Huge\hsize9em\hrule\noindent$\sin^2\alpha+\cos^2\alpha=1$\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent Hel\texttt{lo}, \textsf{Wörld!}\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pl.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pl.tex
new file mode 100644
index 00000000000..544704dd775
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pl.tex
@@ -0,0 +1,22 @@
+% -*- coding: iso-8859-2 -*-
+% example_pl.tex, works with pdflatex and modern lualatex in TeX Live 2019.
+% The input encoding is ISO-8859-2 (latin2).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage[inputenc=latin2]{uni8}
+\begin{document}
+\hyphenation{yõ-yõ-yõ-yõ-yõ-yõ-yõ}
+\showhyphens{yõyõyõyõyõyõyõ}
+\showhyphens{árvíztûrõ tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bõbõbõbõbõbõbõ\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yõyõyõyõyõyõyõ\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_plr.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_plr.tex
new file mode 100644
index 00000000000..38c6d61eb3b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_plr.tex
@@ -0,0 +1,24 @@
+% -*- coding: iso-8859-2 -*-
+% example_plr.tex, works with pdflatex, but not with lualatex in TeX Live 2019.
+% The input encoding is ISO-8859-2 (latin2).
+\documentclass{article}
+\usepackage[latin2]{inputenc}
+\usepackage{t1enc}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\begin{document}
+\hyphenation{yõ-yõ-yõ-yõ-yõ-yõ-yõ}
+\showhyphens{yõyõyõyõyõyõyõ}
+\showhyphens{árvíztûrõ tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bõbõbõbõbõbõbõ\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yõyõyõyõyõyõyõ\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pm.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pm.tex
new file mode 100644
index 00000000000..fdd2018e78a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pm.tex
@@ -0,0 +1,13 @@
+% -*- coding: utf-8 -*-
+% example_pm.tex, works with pdflatex and modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass[a5paper]{article}
+\def\magyarOptions{defaults=hu-min}
+\PassOptionsToPackage{magyar}{babel}
+\usepackage{uni8}
+\begin{document}
+\section{Első}\label{f1}
+\Aref{f2}.\ szakasz se érdekesebb ennél.
+\section{Második}\label{f2}
+\Aref{f1}.\ szakasz se érdekesebb ennél.
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pmr.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pmr.tex
new file mode 100644
index 00000000000..b88ad8bcbb2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pmr.tex
@@ -0,0 +1,14 @@
+% -*- coding: utf-8 -*-
+% example_pmr.tex, works with pdflatex, but not with lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass[a5paper]{article}
+\usepackage[utf8]{inputenc}
+\usepackage{t1enc}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\begin{document}
+\section{Első}\label{f1}
+\Aref{f2}.\ szakasz se érdekesebb ennél.
+\section{Második}\label{f2}
+\Aref{f1}.\ szakasz se érdekesebb ennél.
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex
new file mode 100644
index 00000000000..563e614fba2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pu.tex
@@ -0,0 +1,23 @@
+% -*- coding: utf-8 -*-
+% example_pu.tex, works with pdflatex and modern lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\PassOptionsToPackage{hungarian}{babel}
+\usepackage{uni8}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/latex-uni8/example_pur.tex b/Master/texmf-dist/doc/latex/latex-uni8/example_pur.tex
new file mode 100644
index 00000000000..13839d45be7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-uni8/example_pur.tex
@@ -0,0 +1,25 @@
+% -*- coding: utf-8 -*-
+% example_pur.tex, works with pdflatex, but not with lualatex in TeX Live 2019.
+% The input encoding is UTF-8 (utf8).
+\documentclass{article}
+\usepackage[utf8]{inputenc}
+\usepackage{t1enc}
+\def\magyarOptions{defaults=hu-min}
+\usepackage[magyar]{babel}
+\begin{document}
+% Alternatively, this works in lualatex: \language99 \patterns{Å‘9y}
+\hyphenation{yő-yő-yő-yő-yő-yő-yő}
+\showhyphens{yőyőyőyőyőyőyő}
+\showhyphens{árvíztűrő tükörfúrógép}
+\hrule width \hsize
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bababababababa\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bábábábábábábá\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . bőbőbőbőbőbőbő\hrule}
+\bigskip
+\vbox{\Huge\hsize7em\hrule\noindent . . . . . yőyőyőyőyőyőyő\hrule}
+\bigskip
+\vfill\hrule width\hsize
+\end{document}