summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/CHANGES.md14
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa-doiapi.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-l3draw.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-pict2e.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-tikz.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.pdfbin711899 -> 528139 bytes
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex51
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/blxextdoiapi.lua49
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-common.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-common.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-biblatex-aux.def2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-dashed-common.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-standard.bbx4
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.cbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.bbx2
-rw-r--r--macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.cbx2
-rw-r--r--macros/latex/contrib/curve2e/README.txt41
-rw-r--r--macros/latex/contrib/curve2e/curve2e.dtx2692
-rw-r--r--macros/latex/contrib/curve2e/curve2e.pdfbin672221 -> 704965 bytes
-rw-r--r--macros/latex/contrib/epstopdf-pkg/epstopdf.dtx27
-rw-r--r--macros/latex/contrib/epstopdf-pkg/epstopdf.pdfbin366140 -> 366251 bytes
-rw-r--r--macros/latex/contrib/kvoptions/README.md7
-rw-r--r--macros/latex/contrib/kvoptions/kvoptions.dtx3376
-rw-r--r--macros/latex/contrib/kvoptions/kvoptions.pdfbin0 -> 488653 bytes
-rw-r--r--macros/latex/contrib/stringenc/README.md8
-rw-r--r--macros/latex/contrib/stringenc/stringenc.dtx6839
-rw-r--r--macros/latex/contrib/stringenc/stringenc.pdfbin0 -> 723365 bytes
-rw-r--r--macros/latex/contrib/transparent/README.md8
-rw-r--r--macros/latex/contrib/transparent/transparent.dtx611
-rw-r--r--macros/latex/contrib/transparent/transparent.pdfbin0 -> 266358 bytes
89 files changed, 12538 insertions, 1329 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/CHANGES.md b/macros/latex/contrib/biblatex-contrib/biblatex-ext/CHANGES.md
index bb9ac3a006..e2733ecc1a 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/CHANGES.md
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/CHANGES.md
@@ -1,11 +1,22 @@
# Changelog
+## Version 0.8c (2019-11-30)
+
+See <https://github.com/moewew/biblatex-ext/compare/v0.8b...v0.8c>
+
+### Changed
+- The Unpaywall API queries don't include a sanity check for
+ the DOI to DOI.org any more, since DOI.org only serves HTTPS
+ now and Lua(TeX) doesn't easily do SSL.
+ Fortunately, there were no user-level or even author-level
+ macros documented that would expose the answer of the DOI.org
+ query, so we can simply drop that function.
+
## Version 0.8b (2019-11-01)
See <https://github.com/moewew/biblatex-ext/compare/v0.8a...v0.8b>
### Fixed
-
- Call to removed option in `ext-verbose-trad2`.
## Version 0.8a (2019-10-31)
@@ -13,7 +24,6 @@ See <https://github.com/moewew/biblatex-ext/compare/v0.8a...v0.8b>
See <https://github.com/moewew/biblatex-ext/compare/v0.8...v0.8a>
### Fixed
-
- The default value of `\servoldelim` was documented as
and should be `\jourvoldelim`.
Previous versions had `\addspace` (the default value of
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa-doiapi.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa-doiapi.sty
index 919ca13bc7..8f67360f22 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa-doiapi.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa-doiapi.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-oa-doiapi}
- [2019/11/01 v0.8b Obtain open access information from DOI via
+ [2019/11/30 v0.8c Obtain open access information from DOI via
unpaywall.org and doi.org (MW)]
\RequirePackage{etoolbox}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa.sty
index f5104f43a8..6fd7d73301 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oa.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-oa}
- [2019/11/01 v0.8b mark open access in biblatex bibliographies (MW)]
+ [2019/11/30 v0.8c mark open access in biblatex bibliographies (MW)]
\protected\def\extblx@oa@error#1#2{%
\PackageError{biblatex-ext-oa}{#1}{#2.}}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-l3draw.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-l3draw.sty
index 7d27819da9..189be34ab6 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-l3draw.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-l3draw.sty
@@ -1,7 +1,7 @@
\RequirePackage{expl3}
\ProvidesExplPackage {biblatex-ext-oasymb-l3draw}
- {2019/11/01} {0.8b}
+ {2019/11/30} {0.8c}
{open access symbols with l3draw (MW)}
\RequirePackage{xparse}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-pict2e.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-pict2e.sty
index b01ed9c094..2d71d36aa2 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-pict2e.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-pict2e.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-oasymb-pict2e}
- [2019/11/01 v0.8b open access symbols with pict2e (MW)]
+ [2019/11/30 v0.8c open access symbols with pict2e (MW)]
\RequirePackage{etoolbox}
\RequirePackage{kvoptions}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-tikz.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-tikz.sty
index 61ba039f49..827aa659b5 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-tikz.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-oasymb-tikz.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-oasymb-tikz}
- [2019/11/01 v0.8b open access symbols with TikZ (MW)]
+ [2019/11/30 v0.8c open access symbols with TikZ (MW)]
\RequirePackage{etoolbox}
\RequirePackage{kvoptions}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
index b67f83fea6..7ffd71b79b 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext-tabular.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biblatex-ext-tabular}
- [2019/11/01 v0.8b tabular bibliographies for biblatex (MW)]
+ [2019/11/30 v0.8c tabular bibliographies for biblatex (MW)]
% Code based on Audrey's
% (https://tex.stackexchange.com/users/4483/audrey)
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.pdf
index de0918a8e9..a0a1d3fe8e 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.pdf
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.pdf
Binary files differ
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
index 5f2dc59e0c..9361fd6f06 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/biblatex-ext.tex
@@ -1,14 +1,6 @@
\documentclass[DIV=9]{scrartcl}
-\usepackage{ifxetex,ifluatex}
-\newif\iffontspec
-\ifxetex
- \fontspectrue
-\else\ifluatex
- \fontspectrue
-\else
- \fontspecfalse
-\fi\fi
-\iffontspec
+\usepackage{iftex}
+\iftutex
\usepackage{fontspec}
\else
\usepackage[T1]{fontenc}
@@ -19,11 +11,11 @@
\usepackage[french,ngerman,british]{babel}
\usepackage{csquotes}
\usepackage[useregional]{datetime2}
-\iffontspec\else
+\iftutex\else
\usepackage{lmodern}
\fi
\usepackage[mono=false]{libertinus}
-\iffontspec
+\iftutex
\setmonofont[Scale=0.78]{Bitstream Vera Sans Mono}
\usepackage{unicode-math}
\setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
@@ -196,7 +188,7 @@
colframe=red, colback=red!5!white,
underlay={%
\path[draw=none] (interior.south east)
- rectangle node{\warnsymbol}
+ rectangle node {\warnsymbol}
([xshift=15mm,yshift=.1cm]interior.north east);},
#1}
@@ -205,7 +197,7 @@
colframe=yellow, colback=yellow!5!white,
underlay={%
\path[draw=none] (interior.south east)
- rectangle node{\dbendsymbol}
+ rectangle node {\dbendsymbol}
([xshift=15mm,yshift=.1cm]interior.north east);},
#1}
@@ -463,7 +455,7 @@
\newcommand*{\ctan}{\mkbibacro{CTAN}}
\newcommand*{\gitbaseurl}{https://github.com/moewew/biblatex-ext}
-\newcommand*{\extblxversion}{0.8b}
+\newcommand*{\extblxversion}{0.8c}
\newcommand*{\biber}{Biber}
\newcommand*{\gitissuelink}[1]{%
\href{\gitbaseurl/issues/#1}{issue \##1 on github}}
@@ -476,7 +468,7 @@
\newcommand*{\mpdl}{$\langle$}
\newcommand*{\mpdr}{$\rangle$}
-\iffontspec
+\iftutex
\newcommand*{\hmpdl}{$\langle$}
\newcommand*{\hmpdr}{$\rangle$}
\else
@@ -511,14 +503,21 @@
\sbox{\dbendsymbol@box}{\dbendsymbol@tikz}
\newcommand*{\dbendsymbol}{\usebox{\dbendsymbol@box}}
-\newcommand{\warnsymbol}{%
- \makebox[2em][c]{%
- \makebox[0pt][c]{\raisebox{.26em}{\LARGE\bfseries!}}%
- \makebox[0pt][c]{%
- \fontsize{40}{40}\selectfont\color{red}$\bigtriangleup$}}}
+\newcommand*{\warnsymbol@tikz}{%
+ \begin{tikzpicture}[
+ line cap=but,
+ line join=round,
+ line width=2pt,
+ rounded corners=1.5pt,]
+ \node[regular polygon, regular polygon sides=3,
+ scale=1.2, inner sep=-.22em,
+ draw=red]
+ {\raisebox{.26em}{\LARGE\bfseries !}};
+ \end{tikzpicture}}
-\newcommand*{\marginwarn}{%
- \leavevmode\marginpar{\raisebox{-1.5em}{\warnsymbol}}}
+\newsavebox{\warnsymbol@box}
+\sbox{\warnsymbol@box}{\warnsymbol@tikz}
+\newcommand*{\warnsymbol}{\usebox{\warnsymbol@box}}
\makeatother
@@ -529,7 +528,7 @@
author = {Moritz Wemheuer},
link = {mwemheu@gmail.com},%
revision = {\extblxversion},
- date = {\DTMDate{2019-11-01}},
+ date = {\DTMDate{2019-11-30}},
}
\hypersetup{%
@@ -3177,6 +3176,10 @@ See also \filename{CHANGES.md}.
The numbers on the right indicate the relevant section of the manual.
\begin{changelog}
+\begin{release}{0.8c}{2019-11-30}
+ \item Stopped querying \url{https://doi.org} API for DOI
+ verification \hypersty{biblatex-ext-oa-doiapi}\see{sec:oa:doiapi}
+\end{release}
\begin{release}{0.8b}{2019-11-01}
\item Fixed bug in \blxstyle{ext-verbose-trad2}%
\see{sec:styles:standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/blxextdoiapi.lua b/macros/latex/contrib/biblatex-contrib/biblatex-ext/blxextdoiapi.lua
index 5cd1f7223d..53c80ee319 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/blxextdoiapi.lua
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/blxextdoiapi.lua
@@ -2,8 +2,8 @@ blxextdoiapi = blxextdoiapi or {}
local blxextdoiapi_module = {
name = "blxextdoiapi",
- version = "v0.8b",
- date = "2019/11/01",
+ version = "v0.8c",
+ date = "2019/11/30",
description = "Obtain open access information from DOI via unpaywall.org",
author = "Moritz Wemheuer",
license = "LPPL v1.3c",
@@ -119,8 +119,13 @@ local function query_json_api(req_url)
return nil, code
end
+-- DISABLED for now :-(
+-- doi.org only serves via HTTPS, but Lua(TeX) has no built-in
+-- support for SLL at the moment, so we can't query the API
+-- as we only get 301 response
+--[[
local function get_doi_info(doi)
- local req_url = "https://doi.org/api/handles/" .. url.escape(doi)
+ local req_url = "http://doi.org/api/handles/" .. url.escape(doi)
local doi_info, code = query_json_api(req_url)
if doi_info then
@@ -143,6 +148,7 @@ local function is_valid_doi(doi)
return get_doi_info(doi)
end
+]]--
-- email is required, error out if not given
-- Unfortunately, this gives a weird Lua dump as well and one has to scroll
@@ -150,16 +156,17 @@ end
-- a usual TeX error instead of the generic LuaTeX error provided by ltluatex.
-- Only makes sense if the DOI is valid.
local function get_unpaywall_info(doi)
- if not is_valid_doi(doi) then
- return nil
- elseif not blxextdoiapi.mail or blxextdoiapi.mail == "" then
+ -- if not is_valid_doi(doi) then
+ -- return nil
+ -- elseif not blxextdoiapi.mail or blxextdoiapi.mail == "" then
+ if not blxextdoiapi.mail or blxextdoiapi.mail == "" then
error("No mail address supplied.\n" ..
"You must give a valid email address\n" ..
"to be able to use the Unpaywall API\n")
return nil
end
- local req_url = "https://api.unpaywall.org/v2/" .. doi
+ local req_url = "http://api.unpaywall.org/v2/" .. doi
.. "?email=" .. blxextdoiapi.mail
local upw_info, code = query_json_api(req_url)
@@ -204,14 +211,17 @@ local function get_openaccess_url(doi)
return get_unpaywall_info(doi)
end
--- returns false if there is no open access URL since the RHS ~= nil
-local function openaccess_url_is_doi(doi)
- return get_openaccess_url(doi) == "https://doi.org/" .. doi
+-- Has \url hard-coded, people probably shouldn't be using this,
+-- but it's documented now
+local function get_openaccess_url_tex(doi)
+ local oa_url = get_openaccess_url(doi)
+ if oa_url then
+ texsprint("\\url{")
+ texwrite(oa_url)
+ texsprint("}")
+ end
end
-local function is_openaccess(doi)
- return get_openaccess_url(doi) ~= nil
-end
-- For TeX. I'd have liked this better in the .sty, but the whole \ escape
-- malarkey made that a pain, so the function is here now.
@@ -224,6 +234,16 @@ local function assign_openaccess_url_to(macro, doi)
end
end
+-- returns false if there is no open access URL since the RHS ~= nil
+local function openaccess_url_is_doi(doi)
+ return get_openaccess_url(doi) == "https://doi.org/" .. doi
+end
+
+local function is_openaccess(doi)
+ return get_openaccess_url(doi) ~= nil
+end
+
+
-- make conditionals usable as \<...>{<true>}{<false>} directly
local function texify_conditional(cond)
if cond then
@@ -237,9 +257,10 @@ end
return {
module = module,
cache_expire = cache_expire,
- is_valid_doi = is_valid_doi,
+ -- is_valid_doi = is_valid_doi,
is_openaccess = is_openaccess,
get_openaccess_url = get_openaccess_url,
+ get_openaccess_url_tex = get_openaccess_url_tex,
assign_openaccess_url_to = assign_openaccess_url_to,
openaccess_url_is_doi = openaccess_url_is_doi,
texify_conditional = texify_conditional,
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.bbx
index e780dfb726..f0d090e9b7 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic-verb.bbx}
- [2019/11/01 v0.8b extended biblatex alphabetic-verb
+ [2019/11/30 v0.8c extended biblatex alphabetic-verb
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.cbx
index 39fe0046c8..6e3d5abd24 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic-verb.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic-verb.cbx}
- [2019/11/01 v0.8b extended biblatex alphabetic-verb citation style
+ [2019/11/30 v0.8c extended biblatex alphabetic-verb citation style
(MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.bbx
index 576dfbc2dc..3760359aba 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic.bbx}
- [2019/11/01 v0.8b extended biblatex alphabetic bibliography style (MW)]
+ [2019/11/30 v0.8c extended biblatex alphabetic bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{alphabetic}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.cbx
index a00ef171eb..05e079ea76 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-alphabetic.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-alphabetic.cbx}
- [2019/11/01 v0.8b extended biblatex alphabetic citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex alphabetic citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-common.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-common.bbx
index 896a76714c..38f7035f16 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-common.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-common.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-common.bbx}
- [2019/11/01 v0.8b common files for extended biblatex
+ [2019/11/30 v0.8c common files for extended biblatex
authortitle bibliography styles (MW)]
\RequireBibliographyStyle{ext-dashed-common}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.bbx
index b98d0eaa7f..5195a16023 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-comp.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-comp
+ [2019/11/30 v0.8c extended biblatex authortitle-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.cbx
index be3ed3f405..dd3162a4af 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-comp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-comp.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-comp
+ [2019/11/30 v0.8c extended biblatex authortitle-comp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.bbx
index b13f4eb628..039b30edab 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ibid.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-ibid
+ [2019/11/30 v0.8c extended biblatex authortitle-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.cbx
index 54a03f99c4..6b3ef59a1b 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ibid.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ibid.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-ibid
+ [2019/11/30 v0.8c extended biblatex authortitle-ibid
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.bbx
index 394e3e6ada..bc734bc063 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-icomp.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-icomp
+ [2019/11/30 v0.8c extended biblatex authortitle-icomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.cbx
index f8c57afeeb..3ab3384d5f 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-icomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-icomp.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-icomp
+ [2019/11/30 v0.8c extended biblatex authortitle-icomp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.bbx
index 50e18491a7..0bfaef52b3 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-tcomp.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-tcomp
+ [2019/11/30 v0.8c extended biblatex authortitle-tcomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.cbx
index b5f335a60d..d4f2ca530d 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-tcomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-tcomp.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-tcomp
+ [2019/11/30 v0.8c extended biblatex authortitle-tcomp
citation style (MW)]
\RequireCitationStyle{ext-authortitle-comp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.bbx
index b21263abae..744a0ce05b 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-terse.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-terse
+ [2019/11/30 v0.8c extended biblatex authortitle-terse
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.cbx
index 219a4ba02a..ece3445148 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-terse.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-terse.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-terse
+ [2019/11/30 v0.8c extended biblatex authortitle-terse
citation style (MW)]
\RequireCitationStyle{ext-authortitle}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.bbx
index 175042b3b9..1c4e410f49 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ticomp.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle-ticomp
+ [2019/11/30 v0.8c extended biblatex authortitle-ticomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.cbx
index e86f1c3958..25c8f55a61 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle-ticomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle-ticomp.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle-ticomp citation style
+ [2019/11/30 v0.8c extended biblatex authortitle-ticomp citation style
(MW)]
\RequireCitationStyle{ext-authortitle-icomp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.bbx
index e96389247d..b3f402f166 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle.bbx}
- [2019/11/01 v0.8b extended biblatex authortitle
+ [2019/11/30 v0.8c extended biblatex authortitle
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.cbx
index 73e937f664..7838fccf57 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authortitle.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authortitle.cbx}
- [2019/11/01 v0.8b extended biblatex authortitle citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex authortitle citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-common.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-common.bbx
index ea8b7fd234..28ec13dafb 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-common.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-common.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-common.bbx}
- [2019/11/01 v0.8b common files for extended biblatex
+ [2019/11/30 v0.8c common files for extended biblatex
authoryear bibliography styles (MW)]
\RequireBibliographyStyle{ext-dashed-common}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.bbx
index d76e361106..7b3c90af87 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-comp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-comp
+ [2019/11/30 v0.8c extended biblatex authoryear-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.cbx
index d9a048610e..7c7d1e4e81 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-comp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-comp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-comp
+ [2019/11/30 v0.8c extended biblatex authoryear-comp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.bbx
index cb80aade93..78cca6c2ef 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ecomp.bbx}
- [2019/11/01 v0.8b biblatex authoryear-ecomp
+ [2019/11/30 v0.8c biblatex authoryear-ecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.cbx
index 9a18ff4aaa..7c2ca3c251 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ecomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ecomp.cbx}
- [2019/11/01 v0.8b biblatex authoryear-ecomp
+ [2019/11/30 v0.8c biblatex authoryear-ecomp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.bbx
index bd12ffd63e..db1a53a0a7 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ibid.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-ibid
+ [2019/11/30 v0.8c extended biblatex authoryear-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.cbx
index f069d84266..b094e28138 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ibid.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ibid.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-ibid
+ [2019/11/30 v0.8c extended biblatex authoryear-ibid
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.bbx
index 8f4c96c228..5e6737b256 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-icomp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-icomp
+ [2019/11/30 v0.8c extended biblatex authoryear-icomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.cbx
index 4565888182..97b60e02c8 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-icomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-icomp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-icomp
+ [2019/11/30 v0.8c extended biblatex authoryear-icomp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.bbx
index 0661392738..49bdd95cd1 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-iecomp.bbx}
- [2019/11/01 v0.8b biblatex authoryear-iecomp
+ [2019/11/30 v0.8c biblatex authoryear-iecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.cbx
index 7344711272..f547f89589 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-iecomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-iecomp.cbx}
- [2019/11/01 v0.8b biblatex authoryear-iecomp
+ [2019/11/30 v0.8c biblatex authoryear-iecomp
citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.bbx
index 2856eaa812..80ea4b6d2e 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tcomp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tcomp
+ [2019/11/30 v0.8c extended biblatex authoryear-tcomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.cbx
index af28a2fb72..86b23c4e43 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tcomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tcomp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tcomp
+ [2019/11/30 v0.8c extended biblatex authoryear-tcomp
citation style (MW)]
\RequireCitationStyle{ext-authoryear-comp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.bbx
index 5fbad208f9..17f775a8b2 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tecomp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tecomp
+ [2019/11/30 v0.8c extended biblatex authoryear-tecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.cbx
index 6d2a5684ad..42a508b694 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tecomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tecomp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tecomp
+ [2019/11/30 v0.8c extended biblatex authoryear-tecomp
citation style (MW)]
\RequireCitationStyle{ext-authoryear-ecomp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.bbx
index efd1ed9bde..6a4aa515c8 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-terse.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-terse
+ [2019/11/30 v0.8c extended biblatex authoryear-terse
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.cbx
index b61bb15d52..2c498b3547 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-terse.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-terse.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-terse
+ [2019/11/30 v0.8c extended biblatex authoryear-terse
citation style (MW)]
\RequireCitationStyle{ext-authoryear}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.bbx
index 8e9a120c97..da62448b8c 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ticomp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-ticomp
+ [2019/11/30 v0.8c extended biblatex authoryear-ticomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.cbx
index 5750cf0912..3518b16c5f 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-ticomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-ticomp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-ticomp citation style
+ [2019/11/30 v0.8c extended biblatex authoryear-ticomp citation style
(MW)]
\RequireCitationStyle{ext-authoryear-icomp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.bbx
index afcdb7ddb8..0d95445d36 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tiecomp.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tiecomp
+ [2019/11/30 v0.8c extended biblatex authoryear-tiecomp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.cbx
index b5cfbea925..028916f975 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear-tiecomp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear-tiecomp.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear-tiecomp citation style
+ [2019/11/30 v0.8c extended biblatex authoryear-tiecomp citation style
(MW)]
\RequireCitationStyle{ext-authoryear-iecomp}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.bbx
index 84c056b435..5d2661476c 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear.bbx}
- [2019/11/01 v0.8b extended biblatex authoryear bibliography style (MW)]
+ [2019/11/30 v0.8c extended biblatex authoryear bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{authoryear}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.cbx
index ed12262ffb..d1b21cc36e 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-authoryear.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-authoryear.cbx}
- [2019/11/01 v0.8b extended biblatex authoryear citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex authoryear citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-biblatex-aux.def b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-biblatex-aux.def
index 406c4208d3..e4a5b909f2 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-biblatex-aux.def
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-biblatex-aux.def
@@ -1,5 +1,5 @@
\ProvidesFile{ext-biblatex-aux.def}
- [2019/11/01 v0.8b auxiliaries for extended biblatex citation style
+ [2019/11/30 v0.8c auxiliaries for extended biblatex citation style
(MW)]
\def\extblx@requiredbiblatexversion{3.13a}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-dashed-common.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-dashed-common.bbx
index 5684ce02e0..80cac50719 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-dashed-common.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-dashed-common.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-dashed-common.bbx}
- [2019/11/01 v0.8b common files for extended biblatex
+ [2019/11/30 v0.8c common files for extended biblatex
dashed bibliography styles (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.bbx
index 7790baab3e..20f4f1facb 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-comp.bbx}
- [2019/11/01 v0.8b extended biblatex numeric-comp
+ [2019/11/30 v0.8c extended biblatex numeric-comp
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.cbx
index fce37f6a15..cc0dadec83 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-comp.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-comp.cbx}
- [2019/11/01 v0.8b extended biblatex numeric-comp citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex numeric-comp citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.bbx
index a7ae5e2992..081c056afc 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-verb.bbx}
- [2019/11/01 v0.8b extended biblatex numeric-verb
+ [2019/11/30 v0.8c extended biblatex numeric-verb
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.cbx
index e0da7df8a5..1d51d83ac5 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric-verb.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric-verb.cbx}
- [2019/11/01 v0.8b extended biblatex numeric-verb citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex numeric-verb citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.bbx
index 6ce7d77a13..b20100fe0f 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric.bbx}
- [2019/11/01 v0.8b extended biblatex numeric bibliography style (MW)]
+ [2019/11/30 v0.8c extended biblatex numeric bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
\RequireBibliographyStyle{numeric}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.cbx
index cad27257c7..76bc8543e1 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-numeric.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-numeric.cbx}
- [2019/11/01 v0.8b extended biblatex numeric citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex numeric citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-standard.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-standard.bbx
index 7bae59e7c9..eaea493bd4 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-standard.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-standard.bbx
@@ -1,9 +1,9 @@
-% biblatex-ext v0.8b (2019-11-01)
+% biblatex-ext v0.8c (2019-11-30)
% Maintainer: Moritz Wemheuer
% Licence: LaTeX Project Public License v1.3c or later
%
\ProvidesFile{ext-standard.bbx}
- [2019/11/01 v0.8b extended biblatex standard style (MW)]
+ [2019/11/30 v0.8c extended biblatex standard style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.bbx
index a11cd6522b..510db28bf5 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-ibid.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-ibid
+ [2019/11/30 v0.8c extended biblatex verbose-ibid
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.cbx
index cf8126bd16..edfff4f63a 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-ibid.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-ibid.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-ibid citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-ibid citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.bbx
index c1f475f89b..e55d414ad2 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-inote.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-inote
+ [2019/11/30 v0.8c extended biblatex verbose-inote
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.cbx
index 2c0b675904..fc254381a3 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-inote.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-inote.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-inote citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-inote citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.bbx
index d1fb391a7d..3e1c64352f 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-note.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-note
+ [2019/11/30 v0.8c extended biblatex verbose-note
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.cbx
index fe47c02544..33f97dbe96 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-note.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-note.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-note citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-note citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.bbx
index 86b6b74deb..5a6c4a62f9 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad1.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad1
+ [2019/11/30 v0.8c extended biblatex verbose-trad1
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.cbx
index c6899f41f4..074743f605 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad1.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad1.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad1 citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-trad1 citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.bbx
index d550c6ea58..dbf16a731d 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad2.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad2
+ [2019/11/30 v0.8c extended biblatex verbose-trad2
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.cbx
index 0e6ad983d0..85d01f8238 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad2.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad2.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad2 citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-trad2 citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.bbx
index 5d808dc741..de23b2c3c4 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad3.bbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad3
+ [2019/11/30 v0.8c extended biblatex verbose-trad3
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.cbx
index 366dba0e84..b7f322b2e5 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose-trad3.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose-trad3.cbx}
- [2019/11/01 v0.8b extended biblatex verbose-trad3 citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose-trad3 citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.bbx
index 4cd21a9fae..cf176b729c 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.bbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.bbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose.bbx}
- [2019/11/01 v0.8b extended biblatex verbose
+ [2019/11/30 v0.8c extended biblatex verbose
bibliography style (MW)]
\RequireBibliographyStyle{ext-standard}
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.cbx
index e0cf427550..f8e7e02d62 100644
--- a/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.cbx
+++ b/macros/latex/contrib/biblatex-contrib/biblatex-ext/ext-verbose.cbx
@@ -1,5 +1,5 @@
\ProvidesFile{ext-verbose.cbx}
- [2019/11/01 v0.8b extended biblatex verbose citation style (MW)]
+ [2019/11/30 v0.8c extended biblatex verbose citation style (MW)]
\blx@inputonce{ext-biblatex-aux.def}{auxiliary code for ext-biblatex}
{}{}{}{}
diff --git a/macros/latex/contrib/curve2e/README.txt b/macros/latex/contrib/curve2e/README.txt
index ae0202fb22..d3f4a120f7 100644
--- a/macros/latex/contrib/curve2e/README.txt
+++ b/macros/latex/contrib/curve2e/README.txt
@@ -10,7 +10,7 @@
%% License information appended
%%
File README.txt for package curve2e
- [2019-10-21 v.2.0.4 Extension package for pict2e]
+ [2019-11-30 v.2.0.6 Extension package for pict2e]
@@ -19,30 +19,29 @@ The package bundle curve2e is composed of the following files
curve2e.dtx
curve2e.pdf
README.txt
-curve2e-v161.sty
ltxdoc.cfg
curve2e.dtx is the documented TeX source file of file curve2e.sty; you
-get both curve2e.sty and curve2e.pdf by running pdflatex on curve2e.dtx.
-The ltxdoc.cfg file customises the way the documentation file is typeset.
-This .cfg file is not subject to the LPPL licence.
+get curve2e.sty, curve2e.pdf, and curve2e-v161.sty by running pdflatex
+on curve2e.dtx. The ltxdoc.cfg file customises the way the documentation
+file is typeset. This specific .cfg file is part of the ltxdoc package functionality and it is supposed to be configured for each specifica other bundle.
README.txt, this file, contains general information.
-Curve2e-v161.sty contains the previous version of the package; see below
+Curve2e-v161.sty contains a previous version of the package; see below
why the older version might become necessary for the end user.
Curve2e.sty is an extension of the package pict2e.sty which extends the
standard picture LaTeX environment according to what Leslie Lamport
-specified in the second edition of his LaTeX manual.
-
-This further extension allows to draw lines and vectors with any non
-integer slope parameters, to draw dashed lines of any slope, to draw arcs
-and curved vectors, to draw curves where just the interpolating nodes are
-specified together with the slopes at the nodes; closed paths of any
-shape can be filled with color; all coordinates are treated as ordered
-pairs, i.e. 'complex numbers'; coordinates may be expressed also in
-polar form.
+specified in the second edition of his LaTeX manual (1994).
+
+This further extension curve2e.sty allows to draw lines and vectors
+with any non integer slope parameters, to draw dashed lines of any
+slope, to draw arcs and curved vectors, to draw curves where just
+the interpolating nodes are specified together with the slopes at
+the nodes; closed paths of any shape can be filled with color; all
+coordinates are treated as ordered pairs, i.e. 'complex numbers';
+coordinates may be expressed also in polar form.
Some of these features have been incorporated in the 2011 version of
pict2e; therefore this package avoids any modification to the original
pict2e commands.
@@ -50,14 +49,14 @@ pict2e commands.
Curve2e now accepts polar coordinates in addition to the usual cartesian
ones; several macros have been upgraded and a new macro for tracing cubic
Bezier splines with their control nodes specified in polar form is
-available. The same applies to quadratic Bezier splines. The multiput
+available. The same applies to quadratic Bezier splines. The \multiput
command has been completely modified in a backwards compatible way, as
-to manipulate the increment components.
+to manipulate the increment components in a configurable way.
This version solves a conflict with package eso-pic.
This version of curve2e is almost fully compatible with pict2e dated
-2014/01/12 version 0.2z.
+2014/01/12 version 0.2z and later.
If you specify
@@ -67,7 +66,7 @@ the package pict2e is automatically invoked with the specified options.
The -almost compatible- frase is necessary to explain that this version
of curve2e uses some `functions' of the LaTeX3 language that were made
-available to the LaTeX developer by mid October 2018. Should the user
+available to the LaTeX developers by mid October 2018. Should the user
have an older or a basic/incomplete installation of the TeX system,
such L3 functions might not be available. This is why this
package checks the presence of the developer interface; in case
@@ -84,8 +83,8 @@ as long as you fulfil the few conditions set forth by the Licence.
Nevertheless this package is an extension to the standard LaTeX package
pict2e (2014). Therefore any change must be controlled on the
-parent package pict2e, so as to avoid redefining what has already been
-incorporated in the official package.
+parent package pict2e, so as to avoid redefining or interfering with
+what is already contained in the official package.
If you prefer sending me your modifications, as long as I will maintain
this package, I will possibly include every (documented) suggestion or
diff --git a/macros/latex/contrib/curve2e/curve2e.dtx b/macros/latex/contrib/curve2e/curve2e.dtx
index 9f8a34835a..b8e7c519c1 100644
--- a/macros/latex/contrib/curve2e/curve2e.dtx
+++ b/macros/latex/contrib/curve2e/curve2e.dtx
@@ -39,7 +39,7 @@ README.txt and curve2e-v161.sty.
%
% \iffalse
%<*package>
-%<package>\NeedsTeXFormat{LaTeX2e}[2016/01/01]
+%<package>\NeedsTeXFormat{LaTeX2e}[2019/01/01]
%</package>
%<*driver>
\ProvidesFile{curve2e.dtx}%
@@ -47,7 +47,7 @@ README.txt and curve2e-v161.sty.
%<+package>\ProvidesPackage{curve2e}%
%<+readme>File README.txt for package curve2e
%<*package|readme>
- [2019-10-21 v.2.0.4 Extension package for pict2e]
+ [2019-11-30 v.2.0.6 Extension package for pict2e]
%</package|readme>
%<*driver>
\documentclass{ltxdoc}\errorcontextlines=9
@@ -55,7 +55,7 @@ README.txt and curve2e-v161.sty.
\usepackage[utf8]{inputenc}
\usepackage{lmodern,textcomp}
\usepackage{mflogo}
-\usepackage{multicol,amsmath,fancyvrb,trace}
+\usepackage{multicol,amsmath,fancyvrb,graphics,trace}
\usepackage{xcolor,curve2e}
\GetFileInfo{curve2e.dtx}
\title{The extension package \textsf{curve2e}}
@@ -63,30 +63,36 @@ README.txt and curve2e-v161.sty.
\date{Version \fileversion~--~Last revised \filedate.}
\providecommand*\diff{\mathop{}\!\mathrm{d}}
\renewcommand\meta[1]{{\normalfont\textlangle\textit{#1}\textrangle}}
-\renewcommand\marg[1]{\texttt{\char123\meta{#1}\char125}}
+\renewcommand\marg[1]{\texttt{\{\meta{#1}\}}}
+\providecommand\Marg{}
+\renewcommand\Marg[1]{\texttt{\{#1\}}}
\providecommand\oarg{}
\renewcommand\oarg[1]{\texttt{[\meta{#1}]}}
+\providecommand\Oarg{}
+\renewcommand\Oarg[1]{\texttt{[#1]}}
\providecommand\aarg{}
\renewcommand*\aarg[1]{\texttt{<\meta{#1}>}}
+\providecommand\Aarg{}
+\renewcommand\Aarg[1]{\texttt{<#1>}}
\providecommand\parg{}
\renewcommand\parg[1]{\texttt{(\meta{#1})}}
+\providecommand\Parg{}
+\renewcommand\Parg[1]{\texttt{(#1)}}
+
\makeatletter
-\newcommand*\Pall[1][1.5]{\def\circdiam{#1}\@Pall}
- \def\@Pall(#1){\put(#1){\circle*{\circdiam}}}
+%\newcommand*\Pall[1][1.5]{\def\circdiam{#1}\@Pall}
+% \def\@Pall(#1){\put(#1){\circle*{\circdiam}}}
+\NewDocumentCommand\Pall{O{1.5} R(){0,0}}{\put(#2){\circle*{#1}}}
\def\legenda(#1)#2{\put(#1){\setbox3333\hbox{$#2$}%
\dimen3333\dimexpr\wd3333*\p@/\unitlength +3\p@\relax
\edef\@tempA{\strip@pt\dimen3333}%
\framebox(\@tempA,7){\box3333}}}
-\def\Zbox(#1){\bgroup\edef\@tempA{#1}\@Zbox}
+\NewDocumentCommand\Zbox{R(){0,0} O{cc} m O{1}}{%
+\put(#1){\makebox(0,0)[#2]{\fboxrule=0pt\fboxsep=3pt\fbox{$#3$}}\makebox(0,0)[cc]{\circle*{#4}}}}
-\newcommand*\@Zbox[2][]{\fboxrule\z@\fboxsep=0.75ex\def\@tempB{#1}%
-\setbox2575\hbox{\fbox{$\relax\rule[-0.5ex]{0pt}{2.5ex}#2\relax$}}\relax
-\ifx\@tempB\empty
-\put(\@tempA){\makebox(0,0){\box2575}}\else
-\put(\@tempA){\makebox(0,0)[#1]{\box2575}}\fi\egroup\ignorespaces}
\providecommand\setfontsize{}
\DeclareRobustCommand\setfontsize[2][1.2]{%
@@ -104,63 +110,63 @@ README.txt and curve2e-v161.sty.
%</driver>
% \fi
%
-% \CheckSum{5569}
+% \CheckSum{5593}
% \begin{abstract}
% This file documents the |curve2e| extension package to the |pict2e|
-% bundle implementation that has been described by Lamport
+% bundle implementation; the latter was described by Lamport
% himself in the 1994 second edition of his \LaTeX\ handbook.
%
-% Please take notice that in April 2011 a new updated version of the
+% Please take notice that on April 2011 a new updated version of the
% package |pict2e| has been released that incorporates some of the
% commands defined in early versions of this package; apparently there
% are no conflicts, but only the advanced features of |curve2e| remain
% available for extending the above package.
%
-% This extension redefines a couple of commands and introduces some more
-% drawing facilities that allow to draw circular arcs and arbitrary curves
-% with the minimum of user intervention. This version is open to the
-% contribution of other users as well as it may be incorporated in other
-% people's packages. Please cite the original author and the chain of
-% contributors.
+% This extension redefines some commands and introduces some more
+% drawing facilities that allow to draw circular arcs and arbitrary
+% curves with the minimum of user intervention. This version is open to
+% the contribution of other users as well as it may be incorporated in
+% other people's packages. Please cite the original author and the chain
+% of contributors.
% \end{abstract}
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\section{The configuration file}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This package |curve2e| is distributed with a |ltxdoc.cfg| configuration
-% file that contains, besides the preamble and the postamble comment lines,
-% the following code line:
+% file that contains, besides the preamble and the postamble comment
+% lines, the following line of code:
%\begin{verbatim}
%\AtBeginDocument{\OnlyDescription}
%\end{verbatim}
%
% If you want to type the whole documentation, comment out that code line
-% in the |ltxdoc.cfg| file. This is the only modification allowed by the
+% in the |ltxdoc.cfg| file. This is the only modification allowed by the
% LPPL licence that does not require to change the file name.
%
-% For your information the initial part is about 20~pages long; the whole
-% documentation is about 80~pages long.
+% For your information, the initial part is about 20~pages long; the
+% whole documentation is about 80~pages long.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Package \texttt{pict2e} and this extension \texttt{curve2e}}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Package \texttt{pict2e} was announced in issue 15 of \texttt{latexnews}
-% around December 2003; it was declared that the new package would replace
-% the dummy one that has been accompanying every release of \LaTeXe\ since
-% its beginnings in 1994. The dummy package was just issuing an info
-% message that simply announced the temporary unavailability of the real
-% package.
+% around December 2003; it was declared that the new package would
+% replace the dummy one that has been accompanying every release of
+% \LaTeXe\ since its beginnings in 1994. The dummy package was just
+% issuing an info message that simply announced the temporary
+% unavailability of the real package.
%
% Eventually Gäßlein and Niepraschk implemented what Lamport himself had
-% already documented in the second edition of his \LaTeX\ handbook, that is
-% a \LaTeX\ package that contained the macros capable of removing all the
-% limitations contained in the standard commands of the original
+% already documented in the second edition of his \LaTeX\ handbook, that
+% is a \LaTeX\ package that contained the macros capable of removing all
+% the limitations contained in the standard commands of the original
% \texttt{picture} environment; specifically what follows.
% \begin{enumerate}
% \item The line and vector slopes were limited to the ratios of relative
-% prime one-digit integers of magnitude not exceeding 6 for lines and 4 for
-% vectors.
+% prime one-digit integers of magnitude not exceeding 6 for lines and 4
+% for vectors.
%^^A
% \item Filled and unfilled full circles were limited by the necessarily
% limited number of specific glyphs contained in the special \LaTeX\
@@ -170,10 +176,10 @@ README.txt and curve2e-v161.sty.
% reason.
%^^A
% \item Ovals (rectangles with rounded corners) could not be too small
-% because of the unavailability of small radius quarter circles, nor could
-% be too large, in the sense that after a certain radius the rounded
-% corners remained the same and would not increase proportionally to the
-% oval size.
+% because of the unavailability of small radius quarter circles, nor
+% could be too large, in the sense that after a certain radius the
+% rounded corners remained the same and would not increase proportionally
+% to the oval size.
%^^A
% \item Vector arrows had only one possible shape and matched the limited
% number of vector slopes.
@@ -185,22 +191,23 @@ README.txt and curve2e-v161.sty.
% The package \texttt{pict2e} removes most if not all the above
% limitations.
% \begin{enumerate}
-% \item Line and vector slopes are virtually unlimited; the only remaining
-% limitation is that the direction coefficients must be three-digit integer
-% numbers; they need not be relatively prime; with the 2009 upgrade even
-% this limitation was removed and now slope coefficients can be any
-% fractional number whose magnitude does not exceed 16\,384, the maximum
-% dimension in points that \TeX\ can handle.
+% \item Line and vector slopes are virtually unlimited; the only
+% remaining limitation is that the direction coefficients must be
+% three-digit integer numbers; they need not be relatively prime; with
+% the 2009 upgrade even this limitation was removed and now slope
+% coefficients can be any fractional number whose magnitude does not
+% exceed 16\,384, the maximum dimension in points that \TeX\ can handle.
%^^A
% \item Filled and unfilled circles can be of any size.
%^^A
-% \item Ovals can be designed with any specified corner curvature and there
-% is virtually no limitation to such curvatures; of course corner radii
-% should not exceed half the lower value between the base and the height of
-% the oval.
+% \item Ovals can be designed with any specified corner curvature and
+% there is virtually no limitation to such curvatures; of course corner
+% radii should not exceed half the lower value between the base and the
+% height of the oval.
%^^A
% \item There are two shapes for the arrow tips; the triangular one
-% traditional with \LaTeX\ vectors, or the arrow tip with PostScript style.
+% traditional with \LaTeX\ vectors, or the arrow tip with PostScript
+% style.
%^^A
% \item The |\linethickness| command changes the thickness of all lines,
% straight, curved, vertical, horizontal, arrow tipped, et cetera.
@@ -208,157 +215,190 @@ README.txt and curve2e-v161.sty.
%
% This specific extension package |curve2e| adds the following features.
% \begin{enumerate}
-% \item Point coordinates my be specified in both cartesian and polar form:
-% internally they are handeld as cartesian coordinates, but the user can
-% specify his/her points also in polar form. In order to avoid confusion
-% with other grapgic packages, |curve2e| uses the usual comma separated
-% couple of integer or fractional numebrs for cartesian coordinates, and
-% the couple \texttt{\meta{angle}:\meta{radius}} for polar coordinates.
-% All graphic object commands accept polar or cartesian coordinates at the
-% choice of the user who may use for each object the formalism he/she
+% \item Point coordinates my be specified in both cartesian and polar
+% form: internally they are handled as cartesian coordinates, but the
+% user can specify his/her points also in polar form. In order to avoid
+% confusion with other graphic packages, |curve2e| uses the usual comma
+% separated couple \meta{$x,y$} of integer or fractional numbers for
+% cartesian coordinates, and the couple \meta{$\theta$}:\meta{$\rho$} for
+% polar coordinates (the angle preceding the radius).
+% All graphic object commands accept polar or cartesian coordinates at
+% the choice of the user who may use for each object the formalism s/he
% prefers. Also the |put| and |\multiput| commands have been redefined so
% as to accept cartesian or polar coordinates.
+%
+% Of course the user must pay attention to the meaning of cartesian
+% vs. polar coordinates. Both imply a displacement with respect the
+% actual origin of the axes. So when a circle is placed at coordinates
+% $a,b$ with a normal |\put| command, the circle is placed exactly in
+% that point; with a normal |\put| command the same happens if
+% coordinates $\alpha{:}\rho$ are specified.
+% But if the |\put| command is nested into another |\put| command, the
+% current origin of the axes is displaced — this is obvious and the
+% purpose of nesting |\put| commands is exactly that. But if a segment
+% is specified so that its ending point is at a specific distance and in
+% specific direction form its starting point, polar coordinates appear to
+% be the most convenient to use; in this case, though, the origin of the
+% axes become the stating point of the segment, therefore the segment
+% might be drawn in a strange way. Attention has been
+% paid to avoid such misinterpretation, but maybe some unusual
+% situation may not have come to my mind; feedback is very welcome.
+% Meanwhile pay attention when you use polar coordinates.
%^^A
%\item Most if not all cartesian coordinate pairs and slope pairs are
% treated as \emph{ordered pairs}, that is \emph{complex numbers}; in
-% practice the user does not notice any difference from what he/she was
+% practice the user does not notice any difference from what s/he was
% used to, but all the mathematical treatment to be applied to these
-% entities is coded as complex number operations, since complex numbers may
-% be viewed non only as ordered pairs, but also as vectors or as
+% entities is coded as complex number operations, since complex numbers
+% may be viewed non only as ordered pairs, but also as vectors or as
% roto-amplification operators.
%^^A
-% \item Commands for setting the line terminations are introduced; the user
-% can chose between square or rounded caps; the default is set to rounded
-% caps (now this original feature is directly available also with
-% |pict2e|).
+% \item Commands for setting the line terminations were introduced; the
+% user can chose between square or rounded caps; the default is set to
+% rounded caps; now this feature is directly available with |pict2e|.
%^^A
% \item Commands for specifying the way two lines or curves join to one
% another.
% ^^A
-% \item originally the |\line| macro is redefined so as to allow integer
-% and fractional direction coefficients, but maintaining the same syntax as
-% in the original \texttt{picture} environment; now this functionality
-% available directly with |pict2e|.
+% \item Originally the |\line| macro was redefined so as to allow large
+% (up to three digits) integer direction coefficients, but maintaining
+% the same syntax as in the original \texttt{picture} environment; now
+% |pict2e| removes the integer number limitations and allows fractional
+% values, initially implemented by |curve2e|.
% ^^A
-% \item A new macro |\Line| was originally defined so as to avoid the need
-% to specify the horizontal projection of inclined lines; now this
-% functionality id available directly with |pict2e|; but this macro name
-% now conflicts with |pict2e| 2009 version; therefore its name is changed
-% to |\LIne| and supposedly it will not be used very often, if ever,
-% by the end user (but it is used within this package macros).
+% \item A new macro |\Line| was originally by |curve2e| defined so as to
+% avoid the need to specify the horizontal projection of inclined lines;
+% now this functionality is available directly with |pict2e|; but this
+% |curve2e| macro name now conflicts with |pict2e| 2009 version;
+% therefore its name is changed to |\LIne| and supposedly it will not be
+% used very often, if ever, by the end user (but it is used within this
+% package macros).
% ^^A
% \item A new macro |\LINE| was defined in order to join two points
-% specified with their coordinates; this is now the normal behavior of the
-% |\Line| macro of |pict2e| so that in this package |\LINE| is now renamed
-% |\segment|; there is no need to use the |\put| command with this line
-% specification.
+% specified with their coordinates; this is now the normal behaviour of
+% the |\Line| macro of |pict2e| so that in this package |\LINE| is now
+% renamed |\segment|; there is no need to use the |\put| command with
+% this line specification.
% ^^A
-% \item A new macro |\DLine| is defined in order to draw dashed lines
-% joining any two given points; the dash length and gap (equal to one another) get specified through one of the macro arguments.
+% \item A new macro |\DashLine| (alias: |\Dline|) is defined in order to
+% draw dashed lines joining any two given points; the dash length and
+% gap (equal to one another) get specified through one of the macro
+% arguments.The stating point mai be specified in cartesiano or polar
+% form; the end point in cartesian format specifies the desired end
+% point; while if the second point is in polar form it is meant
+% \emph{relative to the starting point}, not as an absolute end point.
+% See the examples further on.
% ^^A
-% \item A new macro |\Dotline| is defined in order to draw dotted straight
-% lines as a sequence of equally spaced dots, where the gap can be
-% specified by the user; such straight line may have any inclination, as
-% well as the above dashed lines.
+% \item A similar new macro |\Dotline| is defined in order to draw dotted
+% straight lines as a sequence of equally spaced dots, where the gap can
+% be specified by the user; such straight line may have any inclination,
+% as well as the above dashed lines.Polar coordinates for the second
+% point have the same relative meaning as specified for the |\Dashline|
+% macro.
% ^^A
% \item Similar macros are redefined for vectors; |\vector| redefines the
% original macro but with the vector slope limitations removed; |\Vector|
-% gets specified with its two horizontal and vertical components in analogy
-% with |\LIne|; |\VECTOR| joins two specified points (without using the
-% |\put| command) with the arrow pointing to the second point.
+% gets specified with its two horizontal and vertical components in
+% analogy with |\LIne|; |\VECTOR| joins two specified points (without
+% using the |\put| command) with the arrow pointing to the second point.
%^^A
-% \item A new macro |\polyline| for drawing polygonal lines is defined that
-% accepts from two vertices up to an arbitrary (reasonably limited) number
-% of them (available now also in |pict2e|); here it is redefined so as to
-% allow an optional specification of the way segments for the polyline are
-% joined to one another. Vertices may be specified with polar coordinates
+% \item A new macro |\polyline| for drawing polygonal lines is defined
+% that accepts from two vertices up to an arbitrary (reasonably limited)
+% number of them (available now also in |pict2e|); here it is redefined
+% so as to allow an optional specification of the way segments for the
+% polyline are joined to one another. Vertices may be specified with
+% polar coordinates and are always relative to the preceding point.
%^^A
-% \item The |pict2e| |polygon| macro to draw closed polylines, in practice
-% general polygons, has been redefined in such a way that it can accept the
-% various vertices specified with polar coordinates. The |polygon*| macro
-% produces a color filled polygon; the default color is black, but a
-% different color may be specified with the usual |\color| command given
-% within the same group where |\polygon*| is enclosed.
+% \item The |pict2e| |polygon| macro to draw closed polylines (in
+% practice general polygons) has been redefined in such a way that it
+% can accept the various vertices specified with (relative) polar
+% coordinates. The |polygon*| macro produces a color filled polygon; the
+% default color is black, but a different color may be specified with the
+% usual |\color| command given within the same group where |\polygon*| is
+% enclosed.
%^^A
% \item A new macro |\Arc| is defined in order to draw an arc with
-% arbitrary radius and arbitrary aperture (angle amplitude); this amplitude
-% is specified in sexagesimal degrees, not in radians; a similar
-% functionality is now achieved with the |\arc| macro of |pict2e|, which
-% provides also the starred version |\arc*| that fills up the interior of
-% the generated circular arc with the current color. It must be noticed
-% that the syntax is slightly different, so that it's reasonable that these
-% commands, in spite of producing identical arcs, might be more comfortable
-% with this or that syntax.
+% arbitrary radius and arbitrary aperture (angle amplitude); this
+% amplitude is specified in sexagesimal degrees, not in radians; a
+% similar functionality is now achieved with the |\arc| macro of
+% |pict2e|, which provides also the starred version |\arc*| that fills
+% up the interior of the generated circular arc with the current color.
+% It must be noticed that the syntax is slightly different, so that it's
+% reasonable that these commands, in spite of producing identical arcs,
+% might be more comfortable with this or that syntax.
%^^A
% \item Two new macros |\VectorArc| and |\VectorARC| are defined in order
% to draw circular arcs with an arrow at one or both ends.
%^^A
% \item A new macro |\Curve| is defined so as to draw arbitrary curved
-% lines by means of cubic Bézier splines; the |\Curve| macro requires only
-% the curve nodes and the directions of the tangents at each node.The
-% starred version fills up the interior of the curve with the current
-% color.
+% lines by means of cubic Bézier splines; the |\Curve| macro requires
+% only the curve nodes and the directions of the tangents at each
+% node. The starred version fills up the interior of the curve with the
+% current color.
%^^A
-% \item |\Curve| is a recursive macro that can draw an unlimited
-% (reasonably limited) number of connected Bézier spline arcs with
-% continuous tangents except for cusps; these arcs require only the
-% specification of the tangent direction at the interpolation nodes. It is
-% possible to use a lower level macro |\CbezierTo| that does the same but
-% lets the user specify the control points of each arc; it is more
-% difficult to use but it is more performant.
+% \item the above |\Curve| macro is a recursive macro that can draw an
+% unlimited (reasonably limited) number of connected Bézier spline arcs
+% with% continuous tangents except for cusps; these arcs require only the
+% specification of the tangent direction at the interpolation nodes.
+% It is possible to use a lower level macro |\CbezierTo| that does the
+% same but lets the user specify the control points of each arc; it is
+% more difficult to use but it is more performant.
%^^A
% \item The basic macros used within the cumulative |\Curve| macro can be
-% used individually in order to draw any curve, one cubic arc at the time;
-% but they are intended for internal use, even if it is not prohibited to
-% use them; by themselves such arcs are not different form those used by
-% |Curve|, but the final command, |\FillCurve|, should be used in place of
-% |\CurveFinish|, so as to fill up the closed path with the locally
-% specified color; see figure~\ref{fig:colored-curve}. It is much more
-% convenient to use the starred version of the |\Curve| macro.
+% used individually in order to draw any curve, one cubic arc at the
+% time; but they are intended for internal use, even if it is not
+% prohibited to use them; by themselves such arcs are not different form
+% those used by |Curve|, but the final command, |\FillCurve|, should be
+% used in place of |\CurveFinish|, so as to fill up the closed path with
+% the locally specified color; see figure~\ref{fig:colored-curve}.
+% It is much more convenient to use the starred version of the |\Curve|
+% macro.
% \end{enumerate}
%
-% The |pict2e| package already defines macros such as |\moveto|, |\lineto|,
-% |\curveto|, |\closepath|, |\fillpath|, and |\strokepath|; of course these
-% macros can be used by the end user, and sometimes they perform better
-% than the macros defined in this package, because the user has a better
-% control on the position of the Bézier splines control points, while here
-% the control points are sort of rigid. It would be very useful to resort
-% to the |hobby| package, but its macros are conforming with those of the
-% |tikz| and |pgf| packages, not with |curve2e|; an interface should be
-% created in order to deal with the |hobby| package, but this has not been
-% done yet.
-%
-% In order to make the necessary calculations many macros have been defined
-% so as to use complex number arithmetics to manipulate point coordinates,
-% directions (unit vectors, also known as `versors'), rotations and the
-% like. In the first versions of this package the trigonometric functions
-% were also been defined in a way that the author believed to be more
-% efficient than those defined by the \texttt{trig} package; in any case
-% the macro names were sufficiently different to accommodate both
-% definition sets in the same \LaTeX\ run. With the progress of the
-% \LaTeX\,3 language, the |xfp| has recently become available, by which any
-% sort of calculations can be done with floating point numbers; therefore
-% the most common algebraic, irrational and transcendental functions can
-% be computed in the background with the stable internal floating point
-% facilities. We maintain some computation with complex number algebra,
-% but use the |xfp| functionalities for other computations.
+% The |pict2e| package already defines macros such as |\moveto|,
+% |\lineto|, |\curveto|, |\closepath|, |\fillpath|, and |\strokepath|;
+% of course these macros can be used by the end user, and sometimes they
+% perform better than the macros defined in this package, because the
+% user has a better control on the position of the Bézier splines
+% control points, while here the control points are sort of rigid. It
+% would be very useful to resort to the |hobby| package, but its macros
+% are compatible with those of the |tikz| and |pgf| packages, not with
+% |curve2e|; an interface should be created in order to deal with the
+% |hobby| package, but this has not been done yet.
+% In any case they are redefined so as to accept symbolic names for the
+% point coordinates in both the cartesian and polar form.
+%
+% In order to make the necessary calculations many macros have been
+% defined so as to use complex number arithmetics to manipulate point
+% coordinates, directions (unit vectors, also known as `versors'),
+% rotations and the like. In the first versions of this package the
+% trigonometric functions were also defined in a way that the author
+% believed to be more efficient than those defined by the \texttt{trig}
+% package; in any case the macro names were sufficiently different to
+% accommodate both definition sets in the same \LaTeX\ run. With the
+% progress of the \LaTeX\,3 language, the |xfp| has recently become
+% available, by which any sort of calculations can be done with floating
+% point decimal numbers; therefore the most common algebraic, irrational
+% and transcendental functions can be computed in the background with the
+% stable internal floating point facilities. We maintain some computation
+% with complex number algebra, but use the |xfp| functionalities for
+% other computations.
%
% Many aspects of this extension could be fine tuned for better
% performance; many new commands could be defined in order to further
% extend this extension. If the new service macros are accepted by other
-% \TeX\ and \LaTeX\ programmers, this version could become the start for a
-% real extension of the \texttt{pict2e} package or even become a part of
-% it. Actually some macros have already been included in the
-% \texttt{pict2e} package. The |\Curve| algorithm, as I said before, might
-% be redefined so as to use the macros introduced in the \texttt{hobby}
-% package, that implements for the |tikz| and |pgf| packages the same
-% functionalities that John Hobby implemented for the \MF\ and \MP\
-% programs.
-%
-% For these reasons I suppose that every enhancement should be submitted to
-% Gäßlein, Niepraschk, and Tkadlec who are the prime maintainers of
-% \texttt{pict2e}; they are the only ones who can decide whether or not to
-% incorporate new macros in their package.
+% \TeX\ and \LaTeX\ programmers, this version could become the start for
+% a real extension of the |pict2e| package or even become a part of
+% it. Actually some macros have already been included in the |pict2e|
+% package. The |\Curve| algorithm, as I said before, might be redefined
+% so as to use the macros introduced in the |hobby| package, that
+% implements for the |tikz| and |pgf| packages the same functionalities
+% that John Hobby implemented for the \MF\ and \MP\ programs.
+%
+% For these reasons I suppose that every enhancement should be submitted
+% to Gäßlein, Niepraschk, and Tkadlec who are the prime maintainers of
+% \texttt{pict2e}; they are the only ones who can decide whether or not
+% to incorporate new macros in their package.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Summary and examples of new commands}
@@ -369,11 +409,13 @@ README.txt and curve2e-v161.sty.
% \begin{enumerate}
% \item This package |curve2e| calls directly the \LaTeX\ packages
% |color| and |pict2e| to which it passes any possible option that the
-% latter can receive; actually the only options that make sense are
-% those concerning the arrow tips, either \LaTeX\ or PostScript styled,
-% because it is assumed that if you use this package you are not
-% interested in using the original \LaTeX\ commands. See the |pict2e|
-% documentation in order to see the correct options |pict2e| can receive.
+% latter can receive; actually the only options that make sense for
+% |pict2e| are those concerning the arrow tips, either \LaTeX\ or
+% PostScript styled, because it is assumed that if you use this package
+% you are not interested in using the original \LaTeX\ commands. See the
+% |pict2e| documentation in order to see the correct options |pict2e|
+% can receive. If the user wants to use the |xcolor| package, it has to
+% load this one before |curve2e|.
%^^A
% \item The user is offered new commands in order to control the line
% terminators and the line joins; specifically:
@@ -384,15 +426,15 @@ README.txt and curve2e-v161.sty.
% \item |\beveljoin|: two lines are joined with a bevel join;
% \item |\miterjoin|: two lines are joined with a miter join.
% \end{itemize}
-% All the above commands should respect the intended range; but since they
-% act at the PostScript or PDF level, not at \TeX\ level, it might be
-% necessary to issue the necessary command in order to restore the previous
-% terminator or join.
+% All the above commands should respect the intended range; but since
+% they act at the PostScript or PDF level, not at \TeX\ level, it might
+% be necessary to issue the necessary command in order to restore the
+% previous terminator or join.
%^^A
-% \item The commands |\linethickness|, |\thicklines|, |\thinlines| together
-% with |\defaultlinethickness| always redefine the internal |\@wholewidth|
-% and |\@halfwidth| so that the latter always refer to a full width and to
-% a half of it in this way: if you issue the command
+% \item The commands |\linethickness|, |\thicklines|, |\thinlines|
+% together with |\defaultlinethickness| always redefine the internal
+% |\@wholewidth| and |\@halfwidth| so that the latter always refer to a
+% full width and to a half of it in this way: if you issue the command
% |\defaultlinewidth{2pt}| all thin lines will be drawn with a thickness
% of 1\,pt while, if a drawing command directly refers to the internal
% value |\@wholewidth|, its line will be drawn with a thickness of 2\,pt.
@@ -402,29 +444,31 @@ README.txt and curve2e-v161.sty.
% command |\linethickness| redefines the above internals but does not
% change the default width value; all these width specifications apply to
% all lines, straight ones, curved ones, circles, ovals, vectors, dashed,
-% et cetera. It's better to recall that |\thinlines| and |\thicklines| are
-% declarations that do not take arguments; on the opposite the other two
-% commands follow the standard syntax:
+% et cetera. It's better to recall that |\thinlines| and |\thicklines|
+% are declarations that do not take arguments; on the opposite the other
+% two commands follow the standard syntax:
% \begin{flushleft}
% |\linethickness|\marg{dimensioned value}\\
% |\defaultlinewidth|\marg{dimensioned value}
% \end{flushleft}
% where \meta{dimensioned value} means a length specification complete of
-% its units or a dimensional expression.
+% its units, or a dimensional expression.
%^^A
% \item Straight lines and vectors are redefined in such a way that
-% fractional slope coefficients may be specified; the zero length line does
-% not produce errors and is ignored; the zero length vectors draw only the
-% arrow tips.
+% fractional slope coefficients may be specified; the zero length line
+% does not produce errors and is ignored; the zero length vectors draw
+% only the arrow tips.
%^^A
-% \item New line and vector macros are defined that avoid the necessity of
-% specifying the horizontal component; |\put(3,4){\LIne(25,15)}| specifies
-% a segment that starts at point $(3,4)$ and goes to point $(3+25,4+15)$;
-% the command |\segment(3,4)(28,19)| achieves the same result without the
-% need of using command |\put|.
+% \item New line and vector macros are defined that avoid the necessity
+% of specifying the horizontal component; |\put(3,4){\LIne(25,15)}|
+% specifies a segment that starts at point $(3,4)$ and goes to point
+% $(3+25,4+15)$; the command |\segment(3,4)(28,19)| achieves the same
+% result without the need of using command |\put|.
+%
% The same applies to the vector commands |\Vector| and |\VECTOR| and
% |\VVECTOR|; the latter command behaves as |\VECTOR| but draws a vector
-% with arrow tips at both ends; furthermore this command is available only with this new release of the |curve2e| package.
+% with arrow tips at both ends; furthermore this command is available
+% only with this new release of the |curve2e| package.
% Experience has shown that the commands intended to join two specified
% points are particularly useful.
% \begin{figure}
@@ -463,7 +507,8 @@ README.txt and curve2e-v161.sty.
%\cs{polyline}\oarg{optional join style}\parg{$P_1$}\parg{$P_2$}\texttt{...}\parg{$P_n$}
% \end{flushleft}
% See figure~\ref{fig:polyline} where a regular pentagon is drawn; usage
-% of polar coordinates is also shown.
+% of polar coordinates is also shown; please notice how relative polar
+% coordinates act in this figure.
%
% \begin{figure}[!ht]
% \begin{minipage}{.48\linewidth}
@@ -494,14 +539,10 @@ README.txt and curve2e-v161.sty.
%\begin{verbatim}
%\begin{picture}(40,30)
%\put(0,0){\GraphGrid(40,30)}
-%\put(40,0){\circle*{1.5}}
-% \put(41,0){\makebox(0,0)[bl]{40,0}}
-%\put(90:30){\circle*{1.5}}
-% \put(90:31){\makebox(0,0)[bl]{90:30}}
-%\put(60:30){\circle*{1.5}}
-% \put(60:31){\makebox(0,0)[bl]{60:30}}
-%\put(30,30){\circle*{1.5}}
-% \put(30.7,30.7){\makebox(0,0)[bl]{30,30}}
+%\Zbox(40,0)[l]{40,0}[1]
+%\Zbox(90:30)[bc]{90{:}30}[1]
+%\Zbox(60:30)[bc]{60{:}30}[1]
+%\Zbox(30,30)[bc]{30,30}[1]
%\multiput(0,0)(30:10){5}%
% {\makebox(0,0){\rule{1.5mm}{1.5mm}}}
%\end{picture}
@@ -511,14 +552,18 @@ README.txt and curve2e-v161.sty.
%\begin{minipage}{0.4\textwidth}
%\begin{picture}(40,30)
%\put(0,0){\GraphGrid(40,30)}
-%\put(40,0){\circle*{1.5}}\put(41,0){\makebox(0,0)[l]{40,0}}
-%\put(90:30){\circle*{1.5}}\put(90:31){\makebox(0,0)[bc]{90:30}}
-%\put(60:30){\circle*{1.5}}\put(60:3){\Zbox(60:27)[bc]{60{:}30}}
-%\put(30,30){\circle*{1.5}}\put(30.7,30.7){\makebox(0,0)[bc]{30,30}}
+%\Zbox(40,0)[l]{40,0}[1]
+%\Zbox(90:30)[bc]{90{:}30}[1]
+%\Zbox(60:30)[bc]{60{:}30}[1]
+%\Zbox(30,30)[bc]{30,30}[1]
%\multiput(0,0)(30:10){5}{\makebox(0,0){\rule{1.5mm}{1.5mm}}}
%\end{picture}
%\end{minipage}
-%\caption{Use of cartesian and polar coordinates}
+%\caption[Use of cartesian and absolute polar coordinates]{Use of
+% cartesian and absolute polar coordinates. The \texttt{\string\Zbox}
+% macro is just a shortcut to set a small dot with a (math) legend close
+% to it; its definition by means of the \texttt{xparse} functionalities
+% is straightforward.}
%\label{fig:polar}
%\end{figure}
%
@@ -545,7 +590,7 @@ README.txt and curve2e-v161.sty.
% \end{picture}\hspace*{2em}
% \end{minipage}
% \caption{A pentagon obtained by means of the \texttt{\string\polygon*}
-% command; vertex coordinates are in polar form.}
+% command; vertex coordinates are in relative polar form.}
% \label{fig:polygon}
% \end{figure}
%
@@ -558,8 +603,8 @@ README.txt and curve2e-v161.sty.
% as specified, and separated by a gap exactly the same size; actually,
% in order to make an even gap-dash sequence, the desired dash length is
% used to do some computations in order to find a suitable length, close
-% to the one specified, such that the distance of the end points is evenly
-% divided in equally sized dashes and gaps.
+% to the one specified, such that the distance of the end points is
+% evenly divided in equally sized dashes and gaps.
% The end points may be anywhere in the drawing area, without any
% constraint on the slope of the joining segment. The desired dash length
% is specified as a fractional multiple of |\unitlength|; see
@@ -600,9 +645,10 @@ README.txt and curve2e-v161.sty.
% \end{minipage}
% \caption{Dashed lines and graph grid}\label{fig:dashline}
% \end{figure}
+%
% Another example of usage of cartesian and polar coordinates usage is
% shown in figure~\ref{fig:polar} together with its code.
-%
+%
%\begin{figure}\unitlength=0.007\textwidth
%\begin{minipage}{0.55\textwidth}
%\begin{verbatim}
@@ -612,10 +658,10 @@ README.txt and curve2e-v161.sty.
%\Dashline(0,0)(40,30){2}\Dashline(0,0)(30,30){2}
%\Dashline(0,0)(20,30){2}\Dashline(0,0)(10,30){2}
%{\color{blue}%
-%\Dashline*(40,0)(108:30){2}
-%\Dashline*(40,0)(126:30){2}
-%\Dashline*(40,0)(144:30){2}
-%\Dashline*(40,0)(162:30){2}}
+%\Dashline(40,0)(108:30){2}
+%\Dashline(40,0)(126:30){2}
+%\Dashline(40,0)(144:30){2}
+%\Dashline(40,0)(162:30){2}}
%\end{picture}
%\end{verbatim}
%\end{minipage}
@@ -630,16 +676,19 @@ README.txt and curve2e-v161.sty.
%\Dashline(0,0)(20,30){2}
%\Dashline(0,0)(10,30){2}
%{\color{blue}%
-%\Dashline*(40,0)(108:30){2}
-%\Dashline*(40,0)(126:30){2}
-%\Dashline*(40,0)(144:30){2}
-%\Dashline*(40,0)(162:30){2}}%
+%\Dashline(40,0)(108:30){2}
+%\Dashline(40,0)(126:30){2}
+%\Dashline(40,0)(144:30){2}
+%\Dashline(40,0)(162:30){2}}%
%\end{picture}
%\end{minipage}
-%\caption{Different length dashed lines with the same nominal dash length}
+%\caption{Different length dashed lines with the same nominal dash
+% length; notice the relative polar coordinates used for the dashed
+% lines starting at the grid lower right vertex.}
%\label{fig:dashedlines}
%\end{figure}
%
+% Another
%^^A
%\item Analogous to |\Dashline|, a new command |\Dotline| draws a dotted
% line with the syntax:
@@ -656,10 +705,10 @@ README.txt and curve2e-v161.sty.
%\Dotline(0,0)(40,10){1.5}\Dotline(0,0)(40,20){1.5}
%\Dotline(0,0)(40,30){1.5}\Dotline(0,0)(30,30){1.5}
%\Dotline(0,0)(20,30){1.5}\Dotline(0,0)(10,30){1.5}
-%{\color{red}\Dotline*(40,0)(108:30){1.5}
-%\Dotline*(40,0)(126:30){1.5}
-%\Dotline*(40,0)(144:30){1.5}
-%\Dotline*(40,0)(162:30){1.5}}%
+%{\color{red}\Dotline(40,0)(108:30){1.5}
+%\Dotline(40,0)(126:30){1.5}
+%\Dotline(40,0)(144:30){1.5}
+%\Dotline(40,0)(162:30){1.5}}%
%\end{picture}
%\end{verbatim}
%\end{minipage}
@@ -674,49 +723,50 @@ README.txt and curve2e-v161.sty.
%\Dotline(0,0)(20,30){1.5}
%\Dotline(0,0)(10,30){1.5}
%{\color{red}%
-%\Dotline*(40,0)(108:30){1.5}
-%\Dotline*(40,0)(126:30){1.5}
-%\Dotline*(40,0)(144:30){1.5}
-%\Dotline*(40,0)(162:30){1.5}}%
+%\Dotline(40,0)(108:30){1.5}
+%\Dotline(40,0)(126:30){1.5}
+%\Dotline(40,0)(144:30){1.5}
+%\Dotline(40,0)(162:30){1.5}}%
%\end{picture}
%\end{minipage}
-%\caption{Different length dotted lines with the same nominal dot gap}
+%\caption{Different length dotted lines with the same nominal dot gap;
+% again notice the relative polar coordinates for the dotted lines
+% starting at thhe grid lower right vertex.}
%\label{fig:dottedlines}
%\end{figure}
%^^A
% \item |\GraphGrid| is a command that draws a red grid under the drawing
-% with lines separated |10\unitlength|s apart; it is described only with a
-% comma separated couple of numbers, representing the base and the height
-% of the grid, see figure~\ref{fig:dashline}; it's better to specify
-% multiples of ten and the grid can be placed anywhere in the drawing
-% canvas by means of |\put|, whose cartesian coordinates are multiples of
-% 10; nevertheless the grid line distance is rounded to the nearest
-% multiple of 10, while the point coordinates specified to |\put| are not
-% rounded at all; therefore some care should be used to place the working
-% grid on the drawing canvas. This grid is intended as an aid while
-% drawing; even if you sketch your drawing on millimetre paper, the
-% drawing grid turns out to be very useful; one must only delete or comment
-% out the command when the drawing is finished. Several examples of usage of such grid are shown in several figures.
+% with lines separated |10\unitlength|s apart; it is described only with
+% a comma separated couple of numbers, representing the base and the
+% height of the grid, see figure~\ref{fig:dashline}; it's better to
+% specify multiples of ten and the grid can be placed anywhere in the
+% drawing canvas by means of |\put|, whose cartesian coordinates are
+% multiples of 10; nevertheless the grid line distance is rounded to the
+% nearest multiple of 10, while the point coordinates specified to |\put|
+% are not rounded at all; therefore some care should be used to place the
+% working grid on the drawing canvas. This grid is intended as an aid
+% while drawing; even if you sketch your drawing on millimetre paper, the
+% drawing grid turns out to be very useful; one must only delete or
+% comment out the command when the drawing is finished. Several examples
+% of usage of such grid are shown in several figures.
%^^A
% \item New trigonometric function macros have been computed by means of
-% the functionalities of the |xfp| package. The compared to the other
+% the functionalities of the |xfp| package. The difference woth the other
% existing macros is that angles are specified in sexagesimal degrees, so
-% that the user needs not transform to radians. The computations are done
-% taking into account that abnormal values can occasionally be avoided,
+% that the users need not transform to radians. The computations are done
+% taking into account that “abnormal” values can occasionally be avoided,
% for example $\tan90^\circ$ must be avoided and replaced with a suitably
% large number, because the TeX\ system does not handle “infinity”.
%
-% These trigonometric functions are used within the complex number macros;
-% but if the user wants to use them the syntax is the following:
+% These trigonometric functions are used within the complex number
+% macros; but if the user wants to use them the syntax is the following:
%\begin{flushleft}
-% \cs{SinOf}\meta{angle}\texttt{to}\meta{control sequence}
-%\\
-% \cs{CosOf}\meta{angle}\texttt{to}\meta{control sequence}
-%\\
+% \cs{SinOf}\meta{angle}\texttt{to}\meta{control sequence}\\
+% \cs{CosOf}\meta{angle}\texttt{to}\meta{control sequence}\\
% \cs{TanOf}\meta{angle}\texttt{to}\meta{control sequence}
%\end{flushleft}
-% The \meta{control sequence} may then be used as a multiplying factor of a
-% length.
+% The \meta{control sequence} may then be used, for example, as a
+% multiplying factor of a length.
%
%^^A
% \item Arcs can be drawn as simple circular arcs, or with one or two
@@ -765,74 +815,79 @@ README.txt and curve2e-v161.sty.
% complex numbers; actually complex numbers are represented as a comma
% separated pair of fractional numbers (here we use only cartesian
% coordinates). They are used to address specific points in the drawing
-% plane, but also as operators so as to scale and rotate other objects. In
-% the following \meta{vector} means a comma separated pair of fractional
-% numbers, \meta{vector macro} means a macro that contains a comma
-% separated pair of fractional numbers; \meta{angle macro} means a macro
-% that contains the angle of a vector in sexagesimal degrees;
+% plane, but also as operators so as to scale and rotate other objects.
+% In the following \meta{vector} means a comma separated pair of
+% fractional numbers, \meta{vector macro} means a macro that contains a
+% comma separated pair of fractional numbers; \meta{angle macro} means a
+% macro that contains the angle of a vector in sexagesimal degrees;
% \meta{argument} means a brace delimited numeric value, even a macro;
+% \meta{numeric macro} means a macro that contains a fractional number;
% \textit{macro} is a valid macro name, i.e.~a backslash followed by
% letters, or anything else that can receive a definition. A
-% \emph{direction} of a vector is its versor;% the angle of a vector is
+% \emph{direction} of a vector is its versor; the angle of a vector is
% the angle between the vector and the positive $x$ axis in
-% counterclockwise direction, as generally directly used in the
+% counterclockwise direction, as it is used in the
% Euler formula $ \vec{v} = Me^{\mathrm{j}\varphi}$.
%
% {\footnotesize\begin{itemize}
-% \item |\MakeVectorFrom|\meta{two arguments}|to|\meta{vector macro}
+% \item |\MakeVectorFrom|\meta{numeric macro}\meta{numeric macro}|to|\meta{vector macro}
% \item |\CopyVect|\meta{first vector}|to|\meta{second vector macro}
-% \item |\ModOfVect|\meta{vector}|to|\meta{macro}
+% \item |\ModOfVect|\meta{vector}|to|\meta{modulus macro}
% \item |\DirOfvect|\meta{vector}|to|\meta{versor macro}
-% \item |\ModAndDirOfVect|\meta{vector}|to|\meta{1st macro}|and|\meta{2nd macro}
-% \item |\DistanceAndDirOfVect|\meta{1st vector}|minus|\meta{2nd vector}|to|\meta{1st macro}|and|\meta{2nd macro}
+% \item |\ModAndDirOfVect|\meta{vector}|to|\meta{modulus macro}|and|\meta{versor macro}
+% \item |\ModAndAngleOfVect|\meta{vector}|to|\meta{modulus macro}|and|\meta{angle macro}
+% \item |\DistanceAndDirOfVect|\meta{1st vector}|minus|\meta{2nd vector}|to|\meta{distance macro}|and|\meta{versor macro}
% \item |\XpartOfVect|\meta{vector}|to|\meta{macro}
% \item |\YpartOfVect|\meta{vector}|to|\meta{macro}
% \item |\DirFromAngle|\meta{angle}|to|\meta{versor macro}
% \item |\ArgOfVect|\meta{vector}|to|\meta{angle macro}
% \item |\ScaleVect|\meta{vector}|by|\meta{scaling factor}|to|\meta{vector macro}
% \item |\ConjVect|\meta{vector}|to|\meta{conjugate vector macro}
-% \item |\SubVect|\meta{first vector}|from|\meta{second vector}|to|\meta{vector macro}
+% \item |\SubVect|\meta{subtrahend vector}|from|\meta{minuend vector}|to|\meta{vector macro}
% \item |\AddVect|\meta{first vector}|and|\meta{second vector}|to|\meta{vector macro}
-% \item |\MultVect|\meta{first vector}|by|\meta{second vector}|to|\meta{vector macro}
-% \item |\MultVect|\meta{first vector}|by*|\meta{second vector}|to|\meta{vector macro}
-% \item |\DivVect|\meta{first vector}|by|\meta{second vector}|to|\meta{vector macro}
+% \item |\Multvect|\marg{first vector}*\marg{second vector}*\marg{vector macro} (the asterisks are optional; either one changes the second vector into its complex conjugate)
+% \item |\MultVect|\meta{first vector}|by|\meta{second vector}|to|\meta{vector macro} (discouraged; maintained for backwards compatibility)
+% \item |\MultVect|\meta{first vector}|by*|\meta{second vector}|to|\meta{vector macro} (discouraged; maintained for backwards compatibility)
+% \item |\Divvect|\marg{dividend vector}\marg{divisor vector}\marg{ vector macro}
+% \item |\DivVect|\meta{dividend vector}|by|\meta{divisor vector}|to|\meta{vector macro} (maintained for backwards compatibility)
% \end{itemize}}
%^^A
-% \item General curves can be drawn with the |pict2e| macro |\curve| but it
-% requires the specification of the third-order Bézier-spline control
-% points; sometimes it's better to be very specific with the control points
-% and there is no other means to do a decent graph; sometimes the curves to
-% be drawn are not so tricky and a general set of macros can be defined so
-% as to compute the control points, while letting the user specify only the
-% nodes through which the curve must pass, and the tangent direction of the
-% curve in such nodes. Such commands are the following:
+% \item General curves can be drawn with the |pict2e| macro |\curve| but
+% it requires the specification of the third-order Bézier-spline control
+% points; sometimes it's better to be very specific with the control
+% points and there is no other means to do a decent graph; sometimes the
+% curves to be drawn are not so tricky and a general set of macros can be
+% defined so as to compute the control points, while letting the user
+% specify only the nodes through which the curve must pass, and the
+% tangent direction of the curve in such nodes. Such commands are the
+% following:
%\begin{itemize}
%
%\item \cs{Curve} to draw a sequence of arcs as explained above, using
% third order (cubic) Bézier splines. The starred version of this command
-% fills the internal part of the curve with the current color; if the last
-% arc finishes where the fist arc starts, it is clear what is the interior;
-% if it does not, the driver (not the code of this package, but the
-% driver between this code and the physical representation on paper or
-% screen) assumes a straight line closure of the whole path.
+% fills the internal part of the curve with the current color; if the
+% last arc finishes where the fist arc starts, it is clear what is the
+% interior; if it does not, the driver (not the code of this package,
+% but the driver between this code and the physical representation on
+% paper or screen) assumes a straight line closure of the whole path.
%
%\item \cs{Qurve} similar to |\Curve|, but with second order (quadratic)
% Bézier splines. The starred version fills the interior with the current
-% color
+% color.
%
%\item \cs{CurveBetween} draws a single cubic Bézier spline between two
% given nodes and with two given directions vectors.
%
-%\item \cs{CBezierBetween} draws a single cubic Bézier spline between two
-% given nodes, with two given directions versors along which the
+%\item \cs{CBezierBetween} draws a single cubic Bézier spline between
+% two given nodes, with two given directions versors along which the
% control node distances are specified. This is the most general macro
% (rather difficult to use) with which not only the arc end points are
% specified but also the control nodes coordinates are given.
%
%\end{itemize}
%
-% The main macro is |\Curve| and must be followed by an
-% ``unlimited'' sequence of node-direction coordinates as a quadruple
+% The main macro is |\Curve| and must be followed by an “unlimited”
+% sequence of node-direction coordinates as a quadruple
% defined as
%\[
% \parg{node coordinates}\aarg{direction vector}
@@ -843,40 +898,40 @@ README.txt and curve2e-v161.sty.
% \mbox{\dots\parg{...}\aarg{...}\oarg{new direction vector}\parg{...}\aarg{...}\dots}
%\]
%
-% Possibly it is necessary to specifiy the “tension” or the “looseness”
+% Possibly it is necessary to specify the “tension” or the “looseness”
% of a specific Bézier arc; such tension parameters range from 0 (zero)
% to~4; the zero value implies a very stiff arc, as if it was a string
% subject to a high tension (i.e. with zero looseness); a value of~4
-% implies a very low tension (very high looseness), almost as if the string
-% was not subject to any tension. In \MF\ or \MP\ language such a concept
-% is used very often; in this package, where the Hobby algorithms are
-% not used, the parameter value appears to mean the opposite of tension.
+% implies a very low tension (very high looseness), almost as if the
+% string was not subject to any tension. In \MF\ or \MP\ language such a
+% concept is used very often; in this package, where the Hobby
+% algorithms are not used, the parameter value appears to mean the
+% opposite of tension.
% A couple of comma separated tension values may be optionally used, they
% are separated with a semicolon form the direction vector,
% and they apply to the arc terminating with the last node; their
-% specification must
-% precede any possible change of tangent according to this
-% syntax\footnote{The tension may be specified only for cubic splines,
-% because the quadratic ones do not use enough parameters to control the
-% tension; not all commands for drawing cubic splines accept this
-% optional tension specification.}:
+% specification must precede any possible change of tangent according to
+% this syntax\footnote{The tension may be specified only for cubic
+% splines, because the quadratic ones do not use enough parameters to
+% control the tension; not all commands for drawing cubic splines accept
+% this optional tension specification.}:
%\[
%\mbox{\dots\parg{...}\aarg{\upshape{\em direction vector}\texttt{;}{\em start tension}|,|{\em end tension}}\parg{...}\aarg{...}\dots}
%\]
%
-% The |\Curve| macro does not (still) have facilities for cycling the path,
-% that is to close the path from the last specified node-direction to the
-% first specified node-direction; but, as already mentioned, if the ending
-% node of the last arc does not coincide with the stating node of the
-% first arc, a straight line is assumed to join such nodes; this line does
-% not get drawn, but with starred commands no lines are drawn because only
-% the interior is coloured.
-% The tangent direction need not be specified with a unit vector, although
-% only its direction is relevant; the scaling of the specified direction
-% vector to a unit vector is performed by the macro itself.
-% Therefore one cannot specify the fine tuning of the curve convexity as it
-% can be done with other programs or commands, as for example with \MF\
-% or the |pgf/tikz| package and environment. See figure~\ref{fig:curve} for
+% The |\Curve| macro does not (still) have facilities for cycling the
+% path, that is to close the path from the last specified node-direction
+% to the first specified node-direction; but, as already mentioned, if
+% the ending node of the last arc does not coincide with the starting
+% node of the first arc, a straight line is assumed to join such nodes;
+% this line does not get drawn, but with starred commands no lines are
+% drawn because only the interior is coloured.
+% The tangent direction need not be specified with a unit vector,
+% although only its direction is relevant; the scaling of the specified
+% direction vector to a unit vector is performed by the macro itself.
+% Therefore one cannot specify the fine tuning of the curve convexity as
+% it can be done with other programs or commands, as, for example, with
+% \MF\ or the |pgf/tikz| package and environment. See figure~\ref{fig:curve} for
% an example.
% \begin{figure}[htb]
% \begin{minipage}{.48\textwidth}
@@ -933,7 +988,10 @@ README.txt and curve2e-v161.sty.
% the macro fills up the contour with the selected current color,
% figure~\ref{fig:colored-curve}.
%
-% Figure~\ref{fig:arcspline} shows a geometric construction that contains the geometric elements and symbols used to determine the parameters of a cubic spline required to draw a quarter circle. This construction containa many of the commands described so far.
+% Figure~\ref{fig:arcspline} shows a geometric construction that
+% contains the geometric elements and symbols used to determine the
+% parameters of a cubic spline required to draw a quarter circle. This
+% construction contains many of the commands described so far.
%
%\begin{figure}[p]
%\begin{minipage}{\linewidth}\small
@@ -995,14 +1053,17 @@ README.txt and curve2e-v161.sty.
%\put(32,13){\makebox(0,0)[br]{$K$}}%
%\end{picture}
%\end{minipage}
-%\caption{The code to display the Nodes and control points for an arc to
+%\caption{The code to display the nodes and control points for an arc to
% be approximated with a cubic Bézier spline}
%\label{fig:arcspline}
%\end{figure}
%
%
% To show what you can do with |\CurveBetween| see the code and result
-% shown in figure~\ref{fig:curva-due-punti}. Notice the effect of changing the directions at both or a the end nodes os a single cubic spline. The directions are conveniently expressed with unit vectors described by polar coordinates.
+% shown in figure~\ref{fig:curva-due-punti}. Notice the effect of
+% changing the directions at both or a the end nodes of a single cubic
+% spline. The directions are conveniently expressed with unit vectors
+% described by polar coordinates.
%\begin{figure}\centering\unitlength=0.004\textwidth
%\begin{picture}(220,120)(-50,-20)
@@ -1045,9 +1106,10 @@ README.txt and curve2e-v161.sty.
% figure~\ref{fig:Cbezier}. The directions are specified with unit
% vectors in polar form; the control points are specified by adding their
% distances from their neighbouring nodes; actually the right distance
-% is maintained to the value~1, while the left one increases from~4 to~10.
+% is maintained to the value~1, while the left one increases from~4
+% to~10.
% The black line corresponds to the standard |\CurveBetween| where the
-% default distance is computed by default to trace an arc of a circle and
+% default distance is computed to trace an arc of a circle and
% is approximately~3.5.
%
%\begin{figure}[!tb]
@@ -1087,11 +1149,11 @@ README.txt and curve2e-v161.sty.
% shown. The red line corresponds to the default tension, since the
% tension values are not specified. The black lines correspond to the
% various values used in the various commands to the |\Curve| macro.
-% With a tension of zero, the spline is almost coincident wit the
-% horizontal base line of the frame. Increasing the tension value
+% With a tension of zero, the spline is almost coincident with the
+% horizontal base line of the frame. Increasing the parameter value
% to~4.5, the curved becomes taller and taller, until it wraps itself
% displaying an evident loop. We would say that the value of ~2 is a
-% reasonable maximum and increasing that tension value is just to
+% reasonable maximum and increasing that value is just to
% obtain special effects.
%
%\begin{figure}[!htb]\centering
@@ -1130,14 +1192,14 @@ README.txt and curve2e-v161.sty.
% Figure~\ref{fig:sinewave} displays two approximations of a sine wave;
% Bézier splines can approximate transcendental curves, but the
% approximation may be a poor one, depending on the approximated curve,
-% if few arcs are used to draw it. With arcs specified with more
+% when few arcs are used to draw it. With arcs specified with more
% complicated macros the approximation is better even with a lower number
% of arcs. With many arcs it is possible to approximate almost anything.
% On the left side a modest approximation is obtained with just three
% standard arcs obtained with |\Curve| and four node specifications;
% on the right we have just two arcs created with |CBezierBetween|
% with tension specification and control point distances; this drawing
-%is almost undistinguishable from a real sinusoid.
+% is almost undistinguishable from a real sinusoid.
%
%\begin{figure}[!htb]
%\begin{minipage}{\linewidth}
@@ -1177,18 +1239,18 @@ README.txt and curve2e-v161.sty.
%\label{fig:sinewave}
%\end{figure}
%
-% In figure~\ref{fig:quadratic-arcs} some lines drawn with quadratic
-% splines by means of the |\Qurve| macro are shown. In the left there are
-% some open and closed curves inscribed within a square. On the right a
-% “real" circle is compared to a quadratic spline circle; the word “real”
-% is emphasised because it actually is an approximation with four
-% quarter-circle cubic splines that, in spite of being drawn with third
-% degree parametric polynomials, approximate very well a real circle; on
-% the opposite the quadratic spline circle is clearly a poor
+% In figure~\ref{fig:quadratic-arcs} some lines drawn are shown; they are
+% drawn with quadratic splines by means of the |\Qurve| macro. In the
+% left there are some open and closed curves inscribed within a square.
+% On the right a “real" circle is compared to a quadratic spline circle;
+% the word “real” is emphasised because it actually is an approximation
+% with four quarter-circle cubic splines that, in spite of being drawn
+% with third degree parametric polynomials, approximate very well a real
+% circle; on the opposite the quadratic spline circle is clearly a poor
% approximation even if the maximum radial error amounts just to about
% 6\% of the radius.
%
-%\begin{figure}[p]
+%\begin{figure}[!htb]
%\begin{minipage}{\linewidth}
%\begin{Verbatim}[fontsize=\setfontsize{7.75}]
%\unitlength=0.0045\textwidth
@@ -1252,37 +1314,42 @@ README.txt and curve2e-v161.sty.
% although the latter one performed correctly for everything else except
% for color-filled quadratic paths.
% ^^A
-% \item The new version of |\mulpiput| is backwards compatibile with
-% the original version contained in the \LaTeX\ kernel. The new part
-% consists into the handling of the coordinate increments from one
-% position to the next for the \meta{object} to include in the drawing.
+% \item The new version of |\multiput| is backwards compatibile with
+% the original version contained in the \LaTeX\ kernel. The new macro
+% adds the handling of the coordinate increments from one position to
+% the next for the \meta{object} to include in the drawing.
+%
% On page~\pageref{pag:multiput} we show the code for the figure shown
-% there. The red grid is nothing new, except that id demonstrate the the
-% traditional |\multiput| used in tis code, shown in a previous example,
-% produces exactly the same result. But the for “graphs” on the grid,
+% there. The red grid is nothing new, except that it displays the
+% traditional |\multiput| used in this code, shown in a previous example,
+% produces exactly the same result. But the for “graphs” on the grid, it
% display an alignment of black dots along the diagonal of the grid
% (again traditional |\multiput| rendered with the new version);
% a number of blue dots along a parabola; another number of magenta
% dots alined along a half sine wave; a number of little green squares
-% aligned along a $-15~\circ$ line starting from the center of the grid.
+% aligned along a $-15~\circ$ line starting from the center of the grid;
+% notice the polar values that are used as polar relative coordinate
+% increments.
%
-%\noindent
+%\noindent\begin{figure}[!htb]
%\begin{minipage}{0.45\linewidth}
-%\begin{Verbatim}[fontsize=\setfontsize{8.25}]
+%\begin{Verbatim}[fontsize=\setfontsize{8}]
%\unitlength=0.01\linewidth
%\begin{picture}(100,100)
%\put(0,0){\GraphGrid(100,100)}
%\multiput(0,0)(10,10){11}{\circle*{2}}
%\color{blue!70!white}
-%\multiput(0,0)(10,0){11}{%
-% \circle*{2}}%
-% [\edef\X{\fpeval{\X+10}}%
-% \edef\Y{\fpeval{((\X/10)**2)}}]
+%\multiput(0,0)(10,0){11}{\circle*{2}}%
+% [\GetCoord(\R)\X\Y
+% \edef\X{\fpeval{\X+10}}
+% \edef\Y{\fpeval{(\X/10)**2}}
+% \CopyVect\X,\Y to\R]
%\color{magenta}
-%\multiput(0,0)(10,1){11}{%
-%\circle*{2}}%
-% [\edef\X{\fpeval{\X+10}}%
-% \edef\Y{\fpeval{sind(\X*1.8)*100}}]
+%\multiput(0,0)(10,1){11}{\circle*{2}}%
+% [\GetCoord(\R)\X\Y
+% \edef\X{\fpeval{\X+10}}
+% \edef\Y{\fpeval{sind(\X*1.8)*100}}
+% \CopyVect\X\Y to\R]
%\color{green!60!black}
%\multiput(50,50)(-15:5){11}}{%
%\polygon*(-1,-1)(1,-1)(1,1)(-1,1)}
@@ -1297,15 +1364,71 @@ README.txt and curve2e-v161.sty.
%\multiput(0,0)(10,10){11}{\circle*{2}}
%\color{blue!70!white}
%\multiput(0,0)(10,0){11}{\circle*{2}}%
-%[\edef\X{\fpeval{\X+10}}\edef\Y{\fpeval{((\X/10)**2)}}]
+% [\GetCoord(\R)\X\Y
+% \edef\X{\fpeval{\X+10}}
+% \edef\Y{\fpeval{(\X/10)**2}}
+% \CopyVect\X,\Y to\R]
%\color{magenta}
%\multiput(0,0)(10,1){11}{\circle*{2}}%
-%[\edef\X{\fpeval{\X+10}}\edef\Y{\fpeval{sind(\X*1.8)*100}}]
+% [\GetCoord(\R)\X\Y
+% \edef\X{\fpeval{\X+10}}
+% \edef\Y{\fpeval{sind(\X*1.8)*100}}
+% \CopyVect\X,\Y to\R]
%\color{green!60!black}
%\multiput(50,50)(-15:5){11}{\polygon*(-1,-1)(1,-1)(1,1)(-1,1)}
-%\end{picture}\label{pag:multiput}
+%\end{picture}
%\end{minipage}
+%\caption{Some examples of the \meta{handler} optional argument}%\label{pag:multiput}
+%\end{figure}
+%
+% A new command |\xmultiput| (not available with the previous versions
+% of |curve2e|) extended with respect to the original |\multiput| is
+% defined by using some L3 functions; in particular the cycling
+% counter is accessible to the \LaTeX\ commands and it is stepped
+% forward from~1 to the value specified in the proper command argument
+% (in the original command it starts from that value and is stepped down
+% to zero). See the figure on page~\ref{pag:orologio} to inspect its
+% usage. It is important to notice that if the command|\rotatebox|
+% has to be used, as in the example of figure~\ref{pag:orologio}, the
+% package |graphics| should be also loaded, because |curve2e| does not
+% do it.
%
+%\begin{figure}[!htb]
+%\begin{minipage}{0.45\textwidth}
+%\begin{verbatim}
+%\unitlength=0.0095\linewidth
+%\begin{picture}(100,100)
+%\put(0,0){\GraphGrid(100,100)}
+%\put(50,50){\thicklines\circle{100}}
+%\xmultiput[50,50](60:40)(-30:1){12}%
+% {\makebox(0,0){\circle*{2}}}%
+% [\MultVect\R by\D to\R]%
+%\xmultiput[50,50](60:46)(-30:1){12}%
+% {\ArgOfVect\R to\Ang
+% \rotatebox{\fpeval{\Ang-90}}%
+% {\makebox(0,0)[b]{\Roman{multicnt}}}}%
+% [\Multvect{\R}{\D}\R]
+%\end{picture}
+%\end{verbatim}
+%\end{minipage}
+%\hfill
+%\begin{minipage}{0.45\textwidth}\raggedleft
+%\unitlength=0.0095\linewidth
+%\begin{picture}(100,100)
+%\put(0,0){\GraphGrid(100,100)}
+%\put(50,50){\thicklines\circle{100}}
+%\xmultiput[50,50](60:40)(-30:1){12}%
+% {\makebox(0,0){\circle*{2}}}[\MultVect\R by\D to\R]%
+%\xmultiput[50,50](60:43)(-30:1){12}%
+% {\ArgOfVect\R to\Ang\rotatebox{\fpeval{\Ang-90}}%
+% {\makebox(0,0)[b]{\Roman{multicnt}}}}%
+% [\Multvect{\R}{\D}\R]
+%\end{picture}
+%\end{minipage}
+%\caption{Usage example of the \texttt{\string\xmultiput} command}
+%\label{pag:orologio}\hfill
+%\end{figure}
+%
% \end{enumerate}
%
%
@@ -1316,10 +1439,10 @@ README.txt and curve2e-v161.sty.
% Lamport himself announced an extension to his environment when \LaTeXe\
% was first released in 1994; in the |latexnews| news-letter of December
% 2003; the first implementation was announced; the first version of this
-% package was issued in 2006. It was time to have a better drawing
-% environment; this package is a simple attempt to follow the initial
-% path while extending the drawing facilities; but Till Tantau's |pgf|
-% package has gone much farther.
+% package |curve2e| was issued in 2006. It was time to have a better
+% drawing environment; this package is a simple attempt to follow the
+% initial path while extending the drawing facilities; but Till Tantau's
+% |pgf| package has gone much farther.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Remark}
@@ -1329,18 +1452,19 @@ README.txt and curve2e-v161.sty.
% tracing curves of various kinds. |PSTricks| and |tikz/pgf| are the most
% powerful ones.
% But there is also the package |curves| that is intended to draw almost
-% anything by using little dots or other symbols partially superimposed to
-% one another. It uses only quadratic Bézier curves and the curve tracing
-% is eased by specifying only the curve nodes, without specifying the
-% control nodes; with a suitable option to the package call it is possible
-% to reduce the memory usage by using short straight segments drawn with
-% the PostScript facilities offered by the |dvips| driver.
-%
-% Another package |ebezier| performs about the same as |curve2e| but draws
-% its Bézier curves by using little dots partially superimposed to one
-% another. The documentation is quite interesting but since it explains
-% very clearly what exactly are the Bézier splines. Apparently |ebezier|
-% should be used only for dvi output without recourse to PostScript machinery.
+% anything by using little dots or other symbols partially superimposed
+% to one another. It uses only quadratic Bézier curves and the curve
+% tracing is eased by specifying only the curve nodes, without specifying
+% the control nodes; with a suitable option to the package call it is
+% possible to reduce the memory usage by using short straight segments
+% drawn with the PostScript facilities offered by the |dvips| driver.
+%
+% Another package |ebezier| performs about the same as |curve2e| but
+% draws its Bézier curves by using little dots partially superimposed to
+% one another. The documentation is quite interesting since it
+% explains very clearly what exactly are the Bézier splines. Apparently
+% |ebezier| should be used only for DVI output without recourse to
+% PostScript or PDF machinery.
%
% The |picture| package extends the performance of the |picture|
% environment (extended with \texttt{pict2e}) by accepting coordinates
@@ -1349,54 +1473,55 @@ README.txt and curve2e-v161.sty.
% other packages. In certain circumstances it is very useful.
%
% Package \texttt{xpicture} builds over the |picture| \LaTeX\ environment
-% so as to allow to draw the usual curves that are part of an introductory
-% analytic geometry course; lines, circles, parabolas, ellipses,
-% hyperbolas, and polynomials; the syntax is very comfortable; for all
-% these curves it uses the quadratic Bézier splines.
+% so as to allow to draw the usual curves that are part of an
+% introductory analytic geometry course; lines, circles, parabolas,
+% ellipses, hyperbolas, and polynomials; the syntax is very comfortable;
+% for all these curves it uses the quadratic Bézier splines.
%
% Package |hobby| extends the cubic Bézier spline handling with the
% algorithms John Hobby created for \MF\ and \MP. But by now this package
% interfaces very well with |tikz|; it has not (yet) been adapted to the
-% common |picture| environment, even extended with |pict2e|, and, why not,
-% with |curve2e|.
+% common |picture| environment, even when extended with |pict2e|, and,
+% why not, with |curve2e|.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Acknowledgements}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% I wish to express my deepest thanks to Michel Goosens who spotted some
-% errors and very kindly submitted them to me so that I was able to correct
-% them.
-%
-% Josef Tkadlec and the author collaborated extensively in order to make a
-% better real long division so as to get correctly the quotient fractional
-% part and to avoid as much as possible any numeric overflow; many Josef's
-% ideas are incorporated in the macro that was implemented in the previous
-% version of this package, although the macro used by Josef was slightly
-% different. Both versions aim/aimed at a better accuracy and at widening
-% the operand ranges. In this version we abandoned the long division macro,
-% and substituted it with the floating point division provided by the
-% |xfp| package.
+% errors and very kindly submitted them to me so that I was able to
+% correct them.
+%
+% Josef Tkadlec and the author collaborated extensively in order to make
+% a better real long division so as to get correctly the quotient
+% fractional part and to avoid as much as possible any numeric overflow;
+% many Josef's ideas are incorporated in the macro that was implemented
+% in the previous version of this package, although the macro used by
+% Josef was slightly different. Both versions aim/aimed at a better
+% accuracy and at widening the operand ranges. In this version we
+% abandoned the long division macro, and substituted it with the
+% floating point division provided by the |xfp| package.
%
% Daniele Degiorgi spotted a fault in the kernel definition of
% |\linethickness| that heavily influenced also |curve2e|; see below in
% the code documentation part.
%
% Thanks also to Jin-Hwan Cho and Juho Lee who suggested a small but
-% crucial modification in order to have \texttt{curve2e} work smoothly also
-% with XeTeX (XeLaTeX). Actually if version 0.2x or later, dated 2009/08/05
-% or later, of |pict2e| is being used, such modification is not necessary,
-% but it's true that it becomes imperative if older versions are used.
+% crucial modification in order to have \texttt{curve2e} work smoothly
+% also with XeTeX (XeLaTeX). Actually if |pict2e|, version 0.2x or later,
+% dated 2009/08/05 or later, is being used, such modification is not
+% necessary any more, but it's true that it becomes imperative if older
+% versions are used.
%
% \StopEventually{%
% \begin{thebibliography}{9}
% \bibitem{pict2e} Gäßlein H., Niepraschk R., and Tkadlec J.
-% \emph{The \texttt{pict2e} package}, 2014, PDF documentation of
-% \texttt{pict2e}; this package is part of any modern complete distribution
-% of the \TeX\ system. In case of a basic or partial system installation,
-% the package may be installed by means of the specific facilities of the
-% distribution. It may be read by means of the line command \texttt{texdoc
-% pict2e}.
+% \emph{The \texttt{pict2e} package}, 2019, PDF documentation of
+% \texttt{pict2e}; this package is part of any modern complete
+% distribution of the \TeX\ system; it may be read by means of the line
+% command \texttt{texdoc pict2e}. In case of a basic or partial system
+% installation, the package may be installed by means of the specific
+% facilities of the distribution.
% \end{thebibliography}
% }
%
@@ -1410,27 +1535,28 @@ README.txt and curve2e-v161.sty.
% The necessary preliminary code has already been introduced. Here we
% require the \texttt{color} package and the \texttt{pict2e} one; for the
% latter one we make sure that a sufficiently recent version is used.
-% If you want to use package \texttt{xcolor}, load it after
+% If you want to use package \texttt{xcolor}, load it \emph{after}
% \texttt{curve2e}.
%
% Here we load also the |xparse| and |xfp| packages because we use their
-% functionalities; but we do load them only if they are not already loaded
-% with or without options; nevertheless we warn the user who wants to load
-% them explicitly, to do this action before loading \texttt{curve2e}.
-% The |xfp| package is absolutely required; if this package can not found
-% it in the \TeX\ system installation, the loading of this package is
-% aborted, and the previous version 1.61 of |curve2e| is loaded in its
-% place; the overall functionalities should non change much, nevertheless
-% the functionalities of |xfp| are not available.
+% functionalities; but we do load them only if they are not already
+% loaded with or without options; nevertheless we warn the user who wants
+% to load them explicitly, to do this action before loading
+% \texttt{curve2e}.
+% The |xfp| package is absolutely required; if this package is not found
+% in the \TeX\ system installation, the loading of this new |curve2e| is
+% aborted, and the previous version 1.61 is loaded in its
+% place; the overall functionalities should non change much, but the
+% functionalities of |xfp| are not available.
%\iffalse
%<*package>
%\fi
% \begin{macrocode}
\IfFileExists{xfp.sty}{%
- \RequirePackage{color}
- \RequirePackageWithOptions{pict2e}[2014/01/01]
- \@ifl@aded{sty}{xparse}{}{\RequirePackage{xparse}}
- \@ifl@aded{sty}{xfp}{}{\RequirePackage{xfp}}%
+ \RequirePackage{color}
+ \RequirePackageWithOptions{pict2e}[2014/01/01]
+ \@ifl@aded{sty}{xparse}{}{\RequirePackage{xparse}}
+ \@ifl@aded{sty}{xfp}{}{\RequirePackage{xfp}}%
}{%
\RequirePackage{curve2e-v161}%
\PackageWarningNoLine{curve2e}{%
@@ -1447,6 +1573,18 @@ README.txt and curve2e-v161.sty.
\endinput
}
% \end{macrocode}
+% Since we already loaded package|xfp| or at least we explicitly load it
+% in our preamble, we add, if not already defined by the package, the two
+% new commands that allow to make floating point tests, and to implement
+% a “while” cycle
+% \begin{macrocode}
+\AtBeginDocument{\@ifpackageloaded{xfp}{%
+\ExplSyntaxOn
+\ProvideExpandableDocumentCommand\fptest{m}{\fp_compare:nTF{#1}}
+\ProvideExpandableDocumentCommand\fpdowhile{m m}{\fp_do_while:nn{#1}{#2}}
+\ExplSyntaxOff
+}{}}
+% \end{macrocode}
%
% The next macros are just for debugging. With the \texttt{trace} package
% it would probably be better to define other macros, but this is not for
@@ -1457,10 +1595,10 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% Next we define some new dimension registers that will be used by the
-% subsequent macros; should they be already defined, there will not be any
-% redefinition; nevertheless the macros should be sufficiently protected
-% so as to avoid overwriting register values loaded by other macro
-% packages.
+% subsequent macros; should they be already defined, there will not be
+% any redefinition; nevertheless the macros should be sufficiently
+% protected so as to avoid overwriting register values loaded by other
+% macro packages.
% \begin{macrocode}
\ifx\undefined\@tdA \newdimen\@tdA \fi
\ifx\undefined\@tdB \newdimen\@tdB \fi
@@ -1474,18 +1612,19 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Line thickness macros}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% It is better to define a macro for setting a different value for the line
-% and curve thicknesses; the `|\defaultlinewidth| should contain the
-% equivalent of |\@wholewidth|, that is the thickness of thick lines; thin
-% lines are half as thick; so when the default line thickness is specified
-% to, say, 1pt, thick lines will be 1pt thick and thin lines will be 0.5pt
-% thick. The default whole width of thick lines is 0,8pt, but this is
-% specified in the kernel of \LaTeX\ and\slash or in \texttt{pict2e}. On
-% the opposite it is necessary to redefine |\linethickness| because the
-% \LaTeX\ kernel global definition does not hide the space after the closed
-% brace when you enter something such as |\linethickness{1mm}| followed by
-% a space or a new line.\footnote{Thanks to Daniele Degiorgi
-% (\texttt{degiorgi@inf.ethz.ch}).}
+% It is better to define a macro for setting a different value for the
+% line and curve thicknesses; the `|\defaultlinewidth| should contain
+% the equivalent of |\@wholewidth|, that is the thickness of thick lines;
+% thin lines are half as thick; so when the default line thickness is
+% specified to, say, 1pt, thick lines will be 1pt thick and thin lines
+% will be 0.5pt thick. The default whole width of thick lines is 0,8pt,
+% but this is specified in the kernel of \LaTeX\ and\slash or in
+% \texttt{pict2e}. On the opposite it is necessary to redefine
+% |\linethickness| because the \LaTeX\ kernel global definition does not
+% hide the space after the closed brace when you enter something such as
+% |\linethickness{1mm}| followed by a space or a new
+% line.\footnote{Thanks to Daniele
+% Degiorgi \texttt{degiorgi@inf.ethz.ch}).}
% \begin{macrocode}
\gdef\linethickness#1{%
\@wholewidth#1\@halfwidth.5\@wholewidth\ignorespaces}%
@@ -1505,7 +1644,8 @@ README.txt and curve2e-v161.sty.
% The macro |\LIne| allows to draw a line with arbitrary inclination
% as if it was a polygonal with just two vertices; actually it joins the
% canvas coordinate origin with the specified relative coordinate;
-% therefore this object must be set in place by means of a |\put| command.
+% therefore this object must be set in place by means of a |\put|
+% command.
% Since its starting point is always at a relative 0,0 coordinate point
% inside the box created with |\put|, the two arguments define the
% horizontal and the vertical component respectively.
@@ -1517,24 +1657,25 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% A similar macro |\segment| operates between two explicit points with
-% absolute coordinates, instead of relative to the position specified by a
-% |\put| command; it resorts to the |\polyline| macro that shall be
-% defined in a while. The |\@killglue| command might be unnecessary, but it
-% does not harm; it eliminates any explicit or implicit spacing that might
-% precede this command.
+% absolute coordinates, instead of relative to the position specified
+% by a |\put| command; it resorts to the |\polyline| macro that shall be
+% defined in a while. The |\@killglue| command might be unnecessary, but
+% it does not harm; it eliminates any explicit or implicit spacing that
+% might precede this command.
% \begin{macrocode}
\def\segment(#1)(#2){\@killglue\polyline(#1)(#2)}%
% \end{macrocode}
% By passing its ending points coordinates to the |\polyline| macro, both
-% macro arguments are a pair of coordinates, not their components; in other
-% words, if $P_1=(x_1, y_2)$ and $P_2=(x_2, y_2)$, then the first argument
-% is the couple $x_1, y_1$ and likewise the second argument is $x_2, y_2$.
-% Notice that since |\polyline| accepts also the corner coordinates in
+% macro arguments are a pair of coordinates, not their components; in
+% other words, if $P_1=(x_1, y_2)$ and $P_2=(x_2, y_2)$, then the first
+% argument is the couple $x_1, y_1$ and likewise the second argument is
+% $x_2, y_2$.
+% Notice that since |\polyline| accepts also the vertex coordinates in
% polar form, also|\segment| accepts the polar form. Please remember that
-% the decimal separator is the decimal \emph{point}, while the \emph{comma}
-% acts as coordinate separator. This recommendation is particularly
-% important for non-English speaking users, since in all other languages
-% the comma must be used as the decimal separator.
+% the decimal separator is the decimal \emph{point}, while the
+% \emph{comma} acts as coordinate separator. This recommendation is
+% particularly important for non-English speaking users, since in all
+% other languages the comma is or must be used as the decimal separator.
%
% The |\line| macro is redefined by making use of a division routine
% performed in floating point arithmetics; for this reason the \LaTeX\
@@ -1547,8 +1688,8 @@ README.txt and curve2e-v161.sty.
% direction coefficients in polar mode; that is, instead of specifying a
% slope of $30^\circ$ with the actual sine and cosine (or values
% proportional to such functions), for example |(0.5,0.866025)|, you may
-% specify it as |(30:1)|, i.e. as a unit vector with the required slope of
-% $30^\circ$.
+% specify it as |(30:1)|, i.e. as a unit vector with the required slope
+% of $30^\circ$.
%
% The beginning of the macro definition is the same as that of \texttt{pict2e}:
% \begin{macrocode}
@@ -1559,13 +1700,13 @@ README.txt and curve2e-v161.sty.
% but as soon as it is verified that the line length is not negative,
% things change remarkably; in facts the machinery for complex numbers is
% invoked. This makes the code much simpler, not necessarily more
-% efficient; nevertheless |\DirOfVect| takes the only macro argument (that
-% actually contains a comma separated pair of fractional numbers) and
-% copies it to |\Dir@line| (an arbitrarily named control sequence) after
-% re-normalizing to unit magnitude; this is passed to |GetCoord| that
-% separates the two components into the control sequences |\d@mX| and
-% |\d@mY|; these in turn are the values that are actually operated upon by
-% the subsequent commands.
+% efficient; nevertheless |\DirOfVect| takes the only macro argument
+% (that actually contains a comma separated pair of fractional numbers)
+% and copies it to |\Dir@line| (an arbitrarily named control sequence)
+% after re-normalizing to unit magnitude; this is passed to |GetCoord|
+% that separates the two components into the control sequences |\d@mX|
+% and |\d@mY|; these in turn are the values that are actually operated
+% upon by the subsequent commands.
% \begin{macrocode}
\expandafter\DirOfVect#1to\Dir@line
\GetCoord(\Dir@line)\d@mX\d@mY
@@ -1583,114 +1724,143 @@ README.txt and curve2e-v161.sty.
\fi
% \end{macrocode}
% Of course, if the line is vertical this division must not take place.
-% Finally the \texttt{moveto}, \texttt{lineto} and \texttt{stroke} language
-% keywords are invoked by means of the internal \texttt{pict2e} commands in
-% order to draw the line. Notice that even vertical lines are drawn with
-% the PDF language commands instead of resorting to the DVI low level
-% language that was used in both \texttt{pict2e} and the original
-% (pre 1994) \texttt{picture} commands; it had a meaning in the old times,
-% but it certainly does not have any, since lines are drawn by the driver
-% that produces the output in a human visible document form, not by \TeX\
-% the program.
+% Finally the \texttt{moveto}, \texttt{lineto} and \texttt{stroke}
+% language keywords are invoked by means of the internal \texttt{pict2e}
+% commands in order to draw the line. Notice that even vertical lines are
+% drawn with the PDF language commands instead of resorting to the DVI
+% low level language that was used in both \texttt{pict2e} and the
+% original (pre 1994) \texttt{picture} commands; it had a meaning in the
+% old times, but it certainly does not have any nowadays, since lines are
+% drawn by the driver that produces the output in a human visible
+% document form, not by \TeX\ the program.
% \begin{macrocode}
- \moveto(0,0)
- \pIIe@lineto{\d@mX\@linelen}{\d@mY\@linelen}%
+ \moveto(0,0)\pIIe@lineto{\d@mX\@linelen}{\d@mY\@linelen}%
\strokepath
\fi
\endgroup\ignorespaces}%
% \end{macrocode}
-% The new definition of the command |\line|, besides the ease with which is
-% readable, does not do different things from the definition of |pict2e|
-% 2009, but it did perform in a better way compared to the 2004 version
-% that was limited to integer direction coefficients up to 999 in
-% magnitude. In any case this |curve2e| version accepts polar coordinates
-% as slope couples, making it much simpler to draw lines with specific
-% slopes.
-%
+% The new definition of the command |\line|, besides the ease with which
+% is readable, does not do different things from the definition of
+% |pict2e| 2009, even if it did perform in a better way compared to the
+% 2004 version that was limited to integer direction coefficients up to
+% 999 in magnitude. Moreover this |curve2e| version accepts polar
+% coordinates as slope pairs, making it much simpler to draw lines with
+% specific slopes.
+%
+% It is necessary to redefine the low level macros \cs{moveto},
+% \cs{lineto}, and \cs{curveto}, because their original definition
+% accepts only cartesian coordinates. We proceed the same as for the
+% \cs{put} command.
+% \begin{macrocode}
+\let\originalmoveto\moveto
+\let\originallineto\lineto
+\let\originalcurveto\curveto
+
+\def\moveto(#1){\GetCoord(#1)\MTx\MTy
+ \originalmoveto(\MTx,\MTy)\ignorespaces}
+\def\lineto(#1){\GetCoord(#1)\LTx\LTy
+ \originallineto(\LTx,\LTy)\ignorespaces}
+\def\curveto(#1)(#2)(#3){\GetCoord(#1)\CTpx\CTpy
+ \GetCoord(#2)\CTsx\CTsy\GetCoord(#3)\CTx\CTy
+ \originalcurveto(\CTpx,\CTpy)(\CTsx,\CTsy)(\CTx,\CTy)\ignorespaces}
+% \end{macrocode}
+
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Dashed and dotted lines}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dashed and dotted lines are very useful in technical drawings; here we
-% introduce four macros that help drawing them in the proper way; besides
-% the obvious difference between the use of dashes or dots, they may refer
-% in a different way to the end points that must be specified to the
-% various macros.
+% introduce two macros that help drawing them in the proper way; besides
+% the obvious difference between the use of dashes or dots, they may
+% refer in a different way to the end points that must be specified to
+% the various macros.
%
% The coordinates of the first point $P_1$, where le line starts, are
-% always referred to the origin of the coordinate axes; the end point $P_2$
-% coordinates with the first macro type are referred to the origin of the
-% axes, while with the second macro type they are referred to $P_1$; both
-% macro types have their usefulness and figures~\ref{fig:dashedlines} on
-% page~\pageref{fig:dashedlines} and~\ref{fig:dottedlines} on
-% page~\pageref{fig:dottedlines} show how to use these macros.
-%
-% We distinguish these macros with an asterisk; the unstarred version is
-% the first macro type, while the starred one refers to the second macro
-% type.
+% always referred to the origin of the coordinate axes; the end point
+% $P_2$ coordinates are referred to the origin of the axes if in
+% cartesian form, while with the polar form they are referred to $P_1$;
+% both coordinate types have their usefulness and
+% figures~\ref{fig:dashedlines} on page~\pageref{fig:dashedlines}
+% and~\ref{fig:dottedlines} on page~\pageref{fig:dottedlines} show how
+% to use such coordinate types.
%
% The above mentioned macros create dashed lines between two given
-% points, with a dash length that must be specified, or dotted lines, with
-% a dot gap that must be specified; actually the specified dash length or
-% dot gap is a desired one; the actual length or gap is computed by integer
-% division between the distance of the given points and the desired dash
-% length or dot gap; when dashes are involved, this integer is tested in
-% order to see if it is an odd number; if it's not, it is increased by
-% unity. Then the actual dash length or dot gap is obtained by dividing the
-% above distance by this number.
+% points, with a dash length that must be specified, or dotted lines,
+% with a dot gap that must be specified; actually the specified dash
+% length or dot gap is a desired one; the actual length or gap is
+% computed by integer division between the distance of the given points
+% and the desired dash length or dot gap; when dashes are involved, this
+% integer is tested in order to see if it is an odd number; if it's not,
+% it is increased by unity. Then the actual dash length or dot gap is
+% obtained by dividing the above distance by this number.
%
% Another vector $P_2-P_1$ is created by dividing it by this number;
% then, when dashes are involved, it is multiplied by two in order to
% have the increment from one dash to the next; finally the number of
% patterns is obtained by integer division of this number by 2 and
-% increasing it by~1.
-% A simple |\multiput| completes the job, but in order to use the various
-% vectors and numbers within a group and to throw the result outside the
-% group while restoring all the intermediate counters and registers, a
-% service macro is created with an expanded definition and then this
-% service macro is executed.
+% increasing it by~1. Since the whole dashed or dotted line is put in
+% position by an internal |\put| command, is is not necessary to enclose
+% the definitions within groups, because they remain interna to the
+% |\put| argument box.
+%
% Figure~\ref{fig:dashedlines} on page~\pageref{fig:dashedlines} shows
% the effect of the slight changing of the dash length in order to
% maintain approximately the same dash-space pattern along the line,
% irrespective of the line length. The syntax is the following:
% \begin{flushleft}
-% \cs{Dashline}\meta{\texttt{*}}\parg{first point}\parg{second point}\marg{dash length}
+% \cs{Dashline}\parg{first point}\parg{second point}\marg{dash length}
% \end{flushleft}
% where \meta{first point} contains the coordinates of the starting point
-% and \meta{second point} those of the ending point; of course the
-% \meta{dash length}, which equals the dash gap, is mandatory. The
-% asterisk plays a specific role; in facts, if coordinates are specified
-% in polar form, without the optional asterisk the dashed line is
-% misplaced, while if the asterisk is specified, the whole object is put
-% in the proper position. On the opposite, if the coordinates are in
-% cartesian form the \meta{first point} coordinates play the role they
-% are supposed to do even without the asterisk.
+% and \meta{second point} the absolute (cartesian) or relative (polar)
+% coordinates of the ending point; of course the \meta{dash length},
+% which equals the dash gap, is mandatory. An optional asterisk used to
+% play a specific role with previous implementations;
+% it is maintained for backwards compatibility, but its use is now
+% superfluous; with the previous implementation of the code, in facts,
+% if coordinates were specified in polar form, without the optional
+% asterisk the dashed line was misplaced, while if the asterisk was
+% specified, the whole object was put in the proper position. With this
+% new implementation, both the cartesian and polar coordinates always
+% play the role they are supposed to play independently from the
+% asterisk. The |\IsPolar| macro is introduced to analyse the coordinate
+% type used for the second argument, and uses such second argument
+% accordingly.
% \begin{macrocode}
+\def\IsPolar#1:#2?{\def\@TempOne{#2}\unless\ifx\@TempOne\empty
+ \expandafter\@firstoftwo\else
+ \expandafter\@secondoftwo\fi}
+
\ifx\Dashline\undefined
- \def\Dashline{\@ifstar{\Dashline@@}{\Dashline@}}
-
- \def\Dashline@(#1)(#2)#3{%
- \bgroup
- \countdef\NumA3254\countdef\NumB3252\relax
- \GetCoord(#1)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttA
- \GetCoord(#2)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttB
- \SubVect\V@ttA from\V@ttB to\V@ttC
- \ModOfVect\V@ttC to\DlineMod
- \DivideFN\DlineMod by#3 to\NumD
- \NumA=\fpeval{trunc(\NumD,0)}\relax
- \unless\ifodd\NumA\advance\NumA\@ne\fi
- \NumB=\NumA \divide\NumB\tw@
- \DividE\DlineMod\p@ by\NumA\p@ to\D@shMod
- \DividE\p@ by\NumA\p@ to \@tempa
- \MultVect\V@ttC by\@tempa,0 to\V@ttB
- \MultVect\V@ttB by 2,0 to\V@ttC
- \advance\NumB\@ne
- \edef\@mpt{\noexpand\egroup
- \noexpand\multiput(\V@ttA)(\V@ttC){\number\NumB}%
- {\noexpand\LIne(\V@ttB)}}%
- \@mpt\ignorespaces}%
+ \def\Dashline{\@ifstar{\Dashline@}{\Dashline@}}% bckwd compatibility
\let\Dline\Dashline
- \def\Dashline@@(#1)(#2)#3{\put(#1){\Dashline@(0,0)(#2){#3}}}
+ \def\Dashline@(#1)(#2)#3{\put(#1){%
+ \GetCoord(#1)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttA
+ \GetCoord(#2)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttB
+ \IsPolar#2:?{% Polar
+ \Dashline@@(0,0)(\V@ttB){#3}}%
+ {% Cartesian
+ \SubVect\V@ttA from\V@ttB to\V@ttC
+ \Dashline@@(0,0)(\V@ttC){#3}%
+ }
+}}
+
+ \def\Dashline@@(#1)(#2)#3{%
+ \countdef\NumA3254\countdef\NumB3252\relax
+ \GetCoord(#1)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttA
+ \GetCoord(#2)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttB
+ \SubVect\V@ttA from\V@ttB to\V@ttC
+ \ModOfVect\V@ttC to\DlineMod
+ \DivideFN\DlineMod by#3 to\NumD
+ \NumA=\fpeval{trunc(\NumD,0)}\relax
+ \unless\ifodd\NumA\advance\NumA\@ne\fi
+ \NumB=\NumA \divide\NumB\tw@
+ \DividE\DlineMod\p@ by\NumA\p@ to\D@shMod
+ \DividE\p@ by\NumA\p@ to \@tempa
+ \Multvect{\V@ttC}{\@tempa,0}\V@ttB
+ \Multvect{\V@ttB}{2,0}\V@ttC
+ \advance\NumB\@ne
+ \put(\V@ttA){\multiput(0,0)(\V@ttC){\NumB}{\LIne(\V@ttB)}}
+ \ignorespaces}
\fi
% \end{macrocode}
%
@@ -1699,43 +1869,51 @@ README.txt and curve2e-v161.sty.
% computed in such a way as to have the first and the last dot at the
% exact position of the dotted-line end-points; again the specified dot
% distance is nominal in the sense that it is recalculated in such a way
-% that the first and last dots coincide with the line end points. The
-% syntax is as follows:
+% that the first and last dots coincide with the line end points.
+% Again if the second point coordinates are in polar form they are
+% considered as relative to the first point. The syntax is as follows:
%\begin{flushleft}
-%\cs{Dotline}\meta{\texttt{*}}\parg{start point}\parg{end point}\marg{dot distance}
+%\cs{Dotline}\parg{start point}\parg{end point}\marg{dot distance}
%\end{flushleft}
% \begin{macrocode}
\ifx\Dotline\undefined
- \def\Dotline{\@ifstar{\Dotline@@}{\Dotline@}}
- \def\Dotline@(#1)(#2)#3{%
- \bgroup
- \countdef\NumA 3254\relax \countdef\NumB 3255\relax
- \GetCoord(#1)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttA
- \GetCoord(#2)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttB
- \SubVect\V@ttA from\V@ttB to\V@ttC
- \ModOfVect\V@ttC to\DotlineMod
- \DivideFN\DotlineMod by#3 to\NumD
- \NumA=\fpeval{trunc(\NumD,0)}\relax
- \DivVect\V@ttC by\NumA,0 to\V@ttB
- \advance\NumA\@ne
- \edef\@mpt{\noexpand\egroup
- \noexpand\multiput(\V@ttA)(\V@ttB){\number\NumA}%
- {\noexpand\makebox(0,0){\noexpand\circle*{0.5}}}}%
- \@mpt\ignorespaces}%
-
- \def\Dotline@@(#1)(#2)#3{\put(#1){\Dotline@(0,0)(#2){#3}}}%
+ \def\Dotline{\@ifstar{\Dotline@}{\Dotline@}}% backwards compatibility
+ \def\Dotline@(#1)(#2)#3{\put(#1){%
+ \IsPolar#2:?{% Polar
+ \Dotline@@(0,0)(#2){#3}}
+ {% Cartesian
+ \CopyVect#1to\V@ttA
+ \CopyVect#2to\V@ttB
+ \SubVect\V@ttA from\V@ttB to\V@ttC
+ \Dotline@@(0,0)(\V@ttC){#3}}%
+ }}
+
+ \def\Dotline@@(#1)(#2)#3{%
+ \countdef\NumA 3254\relax
+ \countdef\NumB 3255\relax
+ \CopyVect#1to\V@ttA
+ \CopyVect#2to\V@ttB
+ \SubVect\V@ttA from\V@ttB to\V@ttC
+ \ModOfVect\V@ttC to\DotlineMod
+ \DivideFN\DotlineMod by#3 to\NumD
+ \NumA=\fpeval{trunc(\NumD,0)}\relax
+ \Divvect{\V@ttC}{\NumA,0}\V@ttB
+ \advance\NumA\@ne
+ \put(\V@ttA){\multiput(0,0)(\V@ttB){\NumA}{\makebox(0,0)%
+ {\circle*{0.5}}}}
+ \ignorespaces
+ }%
\fi
% \end{macrocode}
%
-% Notice that vectors as complex numbers in their cartesian and polar forms
-% always represent a point position referred to the origin of the axes;
-% this is why in figures~\ref{fig:dashedlines} on
-% page~\pageref {fig:dashedlines} and~\ref{fig:dottedlines} on
-% page~\pageref{fig:dottedlines} the dashed and dotted line that depart
+% Notice that vectors as complex numbers in their cartesian and polar
+% forms always represent a point position referred to a local origin
+% of the axes; this is why in figures~\ref{fig:dashedlines} on
+% page~\pageref{fig:dashedlines} and~\ref{fig:dottedlines} on
+% page~\pageref{fig:dottedlines} the dashed and dotted lines that start
% from the lower right corner of the graph grid, and that use polar
-% coordinates, have to be put at the proper position with the starred
-% version of the commands that take care of the relative specification
-% made with the polar coordinates.
+% coordinates, are correctly put in their correct position thanks to the
+% different behaviour obtained with the |\IsPolar| macro.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Coordinate handling}
@@ -1753,7 +1931,7 @@ README.txt and curve2e-v161.sty.
% |\GetCoord| macro; its function is to translate real lengths into
% coefficients to be used as multipliers of the current |\unitlength|; in
% case that the |eso-pic| had been loaded, at the |\begin{document}|
-% execution the |eso-pic| macro is redefined using the e-\TeX\ commands
+% execution, the |eso-pic| macro is redefined using the e-\TeX\ commands
% so as to make it compatible with these local macros.\footnote{Thanks to
% Franz-Joseph Berthold who was so kind to spot the bug.}
% \begin{macrocode}
@@ -1768,31 +1946,32 @@ README.txt and curve2e-v161.sty.
%
% But let us come to the real subject of this section. We define a
% |\GettCoord| macro that passes control to the service macro with the
-% expanded arguments; expanding arguments allows to use macros to name
+% expanded arguments; expanding arguments allows to use macros to named
% points, instead of explicit coordinates; with this version of |curve2e|
% this facility is not fully exploited, but a creative user can use this
-% feature.
+% feature. Notice the usual trick to pass through a dummy macro that is
+% defined within a group with expanded arguments, but where the group is
+% closed by the macro itself, so that no traces remain behind after its
+% expansion.
% \begin{macrocode}
-\def\GetCoord(#1)#2#3{%
-\expandafter\SplitNod@\expandafter(#1)#2#3\ignorespaces}
-\def\SplitNod@(#1)#2#3{\isnot@polar#1:!!(#1)#2#3}%
+\def\GetCoord(#1)#2#3{\bgroup\edef\x{\egroup\noexpand\IsPolar#1:?}\x
+{% Polar
+ \bgroup\edef\x{\egroup\noexpand\SplitPolar(#1)}\x\SCt@X\SCt@Y}%
+{% Cartesian
+ \bgroup\edef\x{\egroup\noexpand\SplitCartesian(#1)}\x\SCt@X\SCt@Y}%
+ \edef#2{\SCt@X}\edef#3{\SCt@Y}\ignorespaces}
+
+\def\SplitPolar(#1:#2)#3#4{%
+ \edef#3{\fpeval{#2 * cosd#1}}\edef#4{\fpeval{#2 * sind#1}}}
+
+\def\SplitCartesian(#1,#2)#3#4{\edef#3{#1}\edef#4{#2}}
+
% \end{macrocode}
-% The macro that detects the form of the coordinates is |\isnot@polar|;
+% The macro that detects the form of the coordinates is |\IsPolar|;
% it examines the parameter syntax in order to see if it contains a
-% colon; if it does, the coordinates are in polar form, otherwise they
-% are in cartesian form. this macro uses delimited arguments, therefore
-% low level definition syntax must be used.
-% \begin{macrocode}
-\def\isnot@polar#1:#2!!{\def\@tempOne{#2}\ifx\@tempOne\empty
-\expandafter\@firstoftwo\else
-\expandafter\@secondoftwo\fi
-{\SplitNod@@}{\SplitPolar@@}}
-
-\def\SplitNod@@(#1,#2)#3#4{\edef#3{#1}\edef#4{#2}}%
-\def\SplitPolar@@(#1:#2)#3#4{\DirFromAngle#1to\@DirA
-\ScaleVect\@DirA by#2to\@DirA
-\expandafter\SplitNod@@\expandafter(\@DirA)#3#4}
-% \end{macrocoe}
+% colon; it has already been used with the definition of dashed and
+% dotted lines.
+%
% In order to accept polar coordinates with |\put| and |\multiput|
% we resort to using |\GetCoord|; therefore the redefinition of
% |\put| is very simple because it suffices to save the original
@@ -1803,86 +1982,132 @@ README.txt and curve2e-v161.sty.
\def\put(#1){\bgroup\GetCoord(#1)\@tX\@tY
\edef\x{\noexpand\egroup\noexpand\originalput(\@tX,\@tY)}\x}
% \end{macrocode}
-% For |\multiput| it is mor complicated, because the increments from one
+% For |\multiput| it is more complicated, because the increments from one
% position to the next cannot be done efficiently because the increments
% in the original definition are executed within boxes, therefore any
% macro instruction inside these boxes is lost. It is a good occasion to
-% modify the |\multiput| definition by means of the advanced macro
+% modify the |\multiput| definition by means of the advanced macro
% definitions provided by package |xparse|; we can add also some error
-% messages for avoiding doing anything when son mandatory parameters are
+% messages for avoiding doing anything when some mandatory parameters are
% missing ore are empty, or do not contain anything different from an
-% ordered pair or a polar form. We ad also an optional argument to
+% ordered pair or a polar form. We add also an optional argument to
% handle the increments outside the boxes.
% The new macro has the following syntax:\\[2ex]
-% \mbox{\cs{multiput}\texttt{(\meta{initial})}\texttt{(\meta{increment})}\marg{number}\marg{objext}\oarg{handler}}\\[2ex]
-% where \meta{initial} contains the cartesian or polar coordinates
+% \mbox{\cs{multiput}\oarg{displacement}\parg{initial}\texttt{(\meta{increment})}\marg{number}\marg{object}\oarg{handler}}\\[2ex]
+% where the optional \meta{displacement} is used to displace to whole
+% set of \meta{object}s from their original position;
+% \meta{initial} contains the cartesian or polar coordinates
% of the initial point; \meta{increment} contains the cartesian or
% polar increment for the coordinates to be used from the second
-% argument to the last; \meta{number} il the total number of points
-% to be drawn; \meta{object} is the object to be put in position at
-% each cycle repetition; the optional \meta{handler} may be used to
-% control the current values of the horizontal and vertical increments.
+% position to the last; \meta{number} il the total number of
+% \meta{object}s to be drawn; \meta{object} is the object to be put in
+% position at each cycle repetition; the optional \meta{handler} may be
+% used to control the current values of the horizontal and vertical
+% increments.
% The new definition contains two |\put| commands where the second is
-% nested within a while loop which in turn is within the argument of
+% nested within a while-loop which in turn is within the argument of
% the first |\put| command. Basically it is the same idea that the
-% original macros, but now the increment are computed within the While
-% loop, bit outside the argument of the inner |\put| command. If the
+% original macros, but now the increments are computed within the while
+% loop, but outside the argument of the inner |\put| command. If the
% optional \meta{handler} is specified the increments are computed
% from the macros specified by the user.
%
% The two increments components inside the optional argument may be set
% by means of mathematical expressions operated upon by the |\fpeval|
% function given by the |\xfp| package already loaded by |curve2e|. Of
-% course it the user responsibility to pay attention to the scales of
+% course it is the user responsibility to pay attention to the scales of
% the two axes and to write meaningful expressions; the figure and code
% shown in the first part of this documentation show some examples:
-% see page~\pageref{pag:multiput}.
+% see pages~\pageref{pag:multiput} and~\pageref{pag:orologio}.
% \begin{macrocode}
-\RenewDocumentCommand{\multiput}{ d() d() m m o }{%
-\IfNoValueTF{#1}{\PackageError{curve2e}{%
- \string\multiput\space initial point coordinates missing}%
- {Nothing done}}%
- {\IfNoValueTF{#2}{\PackageError{curve2e}{%
- \string\multiput\space Increment components missing}%
- {Nothing done}%
- }%
- {\GetCoord(#2)\dX\dY
- \put(#1){\def\X{0}\def\Y{0}\@multicnt=#3\relax
- \@whilenum \@multicnt > \z@\do{%
- \put(\X,\Y){#4}\IfValueTF{#5}{#5}{%
- \edef\X{\fpeval{\X+\dX}}\edef\Y{\fpeval{\Y+\dY}}}%
+\RenewDocumentCommand{\multiput}{O{0,0} d() d() m m o }{%
+ \IfNoValueTF{#2}{\PackageError{curve2e}%
+ {\string\multiput\space initial point coordinates missing}%
+ {Nothing done}
+ }%
+ {\IfNoValueTF{#3}{\PackageError{curve2e}
+ {\string\multiput\space Increment components missing}%
+ {Nothing done}
+ }
+ {\put(#1){\let\c@multicnt\@multicnt
+ \CopyVect #2 to \R
+ \CopyVect#3 to\D
+ \@multicnt=#4\relax
+ \@whilenum \@multicnt > \z@\do{%
+ \put(\R){#5}%
+ \IfValueTF{#6}{#6}{\AddVect#3 and\R to \R}%
\advance\@multicnt\m@ne
- }%
- }}
- }%
+ }
+ }
+ }
+ }\ignorespaces
+}
+% \end{macrocode}
+% And here it is the new |\xmultiput| command; remember: the internal
+% cycling \TeX\ counter |\@multicn| is now accessible as it was a
+% \LaTeX\ counter, in particular the user can access its contents
+% with a command such as |\value{multicnt}|. Such counter is stepped
+% up by one at each cycle, instead of being stepped down as in the
+% original |\multiput| command. The code is not so different from
+% the one used for the new version of |\multiput|, but it appears more
+% efficient and its code logically more readable.
+% \begin{macrocode}
+\NewDocumentCommand{\xmultiput}{O{0,0} d() d() m m o }{%
+\IfNoValueTF{#2}{\PackageError{curve2e}{%
+ \string\Xmultiput\space initial point coordinates missing}%
+ {Nothing done}}%
+ {\IfNoValueTF{#3}{\PackageError{curve2e}{%
+ \string\Xmultiput\space Increment components missing}%
+ {Nothing done}}%
+ {\put(#1)%
+ {\let\c@multicnt\@multicnt
+ \CopyVect #2 to \R
+ \CopyVect #3 to \D
+ \@multicnt=\@ne
+ \fpdowhile{\value{multicnt} < \inteval{#4+1}}% Test
+ {%
+ \put(\R){#5}
+ \IfValueTF{#6}{#6}{%
+ \AddVect#3 and\R to \R}
+ \advance\@multicnt\@ne
+ }
+ }
+ }}\ignorespaces
}
% \end{macrocode}
+% Notice that the internal macros |\R| and |\D|, (respectively the
+% current point coordinates, in form of a complex number, where to put
+% the\meta{object}, and the current displacement to find the next point)
+% are accessible to the user both in the \meta{object} argument field and
+% the \meta{handler} argument field. The code used in
+% page~\pageref{pag:orologio} shows how to create the hour marks of a
+% clock together with the rotated hour roman numerals.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Vectors}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The redefinitions and the new definitions for vectors are a little more
-% complicated than with segments, because each vector is drawn as a filled
-% contour; the original \texttt{pict2e} 2004 macro checks if the slopes
-% are corresponding to the limitations specified by Lamport (integer three
-% digit signed numbers) and sets up a transformation in order to make it
-% possible to draw each vector as an horizontal left-to-right arrow and
-% then to rotate it by its angle about its tail point; with |pict2e| 2009,
-% possibly this redefinition of |\vector| is not necessary, but we do it
-% as well and for the same reasons we had for redefining |\line|; actually
-% there are two macros for tracing the contours that are eventually filled
-% by the principal macro; each contour macro draws the vector with a
-% \LaTeX\ or a PostScript styled arrow tip whose parameters are specified
-% by default or may be taken from the parameters taken from the|PSTricks|
-% package if this one is loaded before |pict2e|; in any case we did not
-% change the contour drawing macros because if they are modified the same
-% modification is passed on to the arrows drawn with the |curve2e| package
-% redefinitions.
-%
-% Because of these features the redefinitions and the new macros are
-% different from those used for straight lines.
-%
-% We start with the redefinition of |\vector| and we use the machinery for
-% vectors (as complex numbers) we used for |\line|.
+% complicated than with segments, because each vector is drawn as a
+% filled contour; the original \texttt{pict2e} 2004 macro checks if the
+% slopes are corresponding to the limitations specified by Lamport
+% (integer three digit signed numbers) and sets up a transformation in
+% order to make it possible to draw each vector as an horizontal
+% left-to-right arrow and then to rotate it by its angle about its tail
+% point; with |pict2e| 2009, possibly this redefinition of |\vector| is
+% not necessary, but we do it as well and for the same reasons we had for
+% redefining |\line|; actually there are two macros for tracing the
+% contours that are eventually filled by the principal macro; each
+% contour macro draws the vector with a \LaTeX\ or a PostScript styled
+% arrow tip whose parameters are specified by default or may be taken
+% from the parameters taken from the|PSTricks| package if this one is
+% loaded before |pict2e|; in any case we did not change the contour
+% drawing macros because if they are modified the same modification is
+% passed on to the arrows drawn with the |curve2e| package redefinitions.
+%
+% Because of these features the new macros are different from those used
+% for straight lines.
+%
+% We start with the redefinition of |\vector| and we use the machinery
+% for vectors (as complex numbers) we used for |\line|.
% \begin{macrocode}
\def\vector(#1)#2{%
\begingroup
@@ -1901,27 +2126,29 @@ README.txt and curve2e-v161.sty.
% \begin{macrocode}
\ifdim\@linelen<\z@ \@linelen=-\@linelen\fi
% \end{macrocode}
-% We now make a vector with the slope coefficients even if one or the
-% other is zero and we determine its direction; the real and imaginary
-% parts of the direction vector are also the values we need for the
-% subsequent rotation.
+% We now make a vector with the given slope coefficients even if one or
+% the other is zero and we determine its direction; the real and
+% imaginary parts of the direction vector are also the values we need for
+% the subsequent rotation.
% \begin{macrocode}
\MakeVectorFrom\d@mX\d@mY to\@Vect
\DirOfVect\@Vect to\Dir@Vect
% \end{macrocode}
% In order to be compatible with the original \texttt{pict2e} we need to
% transform the components of the vector direction in lengths with the
-% specific names |\@xdim| and |\@ydim|^^A--------! Necessario?
+% specific names |\@xdim| and |\@ydim|^^A--------! Really necessary?
% \begin{macrocode}
\YpartOfVect\Dir@Vect to\@ynum \@ydim=\@ynum\p@
\XpartOfVect\Dir@Vect to\@xnum \@xdim=\@xnum\p@
% \end{macrocode}
% If the vector is really sloping we need to scale the $l_x$ component in
-% order to get the vector total length; we have to divide by the cosine of
-% the vector inclination which is the real part of the vector direction.
-% We use the floating point division function; since it yields a ``factor''
-% We directly use it to scale the length of the vector. I finally memorise
-% the true vector length in the internal dimension |@tdB|
+% order to get the vector total length; we have to divide by the cosine
+% of the vector inclination which is the real part of the vector
+% direction.
+% We use the floating point division function; since it yields a
+% ``factor''
+% We directly use it to scale the length of the vector. We finally
+% memorise the true vector length in the internal dimension |@tdB|
% \begin{macrocode}
\ifdim\d@mX\p@=\z@
\else\ifdim\d@mY\p@=\z@
@@ -1932,12 +2159,13 @@ README.txt and curve2e-v161.sty.
\fi
\@tdB=\@linelen
% \end{macrocode}
-% The remaining code is definitely similar to that of \texttt{pict2e}; the
-% real difference consists in the fact that the arrow is designed by itself
-% without the stem; but it is placed at the vector end; therefore the first
-% statement is just the transformation matrix used by the output driver to
-% rotate the arrow tip and to displace it the right amount. But in order
-% to draw only the arrow tip I have to set the |\@linelen| length to zero.
+% The remaining code is definitely similar to that of \texttt{pict2e};
+% the real difference consists in the fact that the arrow is designed by
+% itself without the stem; but it is placed at the vector end; therefore
+% the first statement is just the transformation matrix used by the
+% output driver to rotate the arrow tip and to displace it the right
+% amount. But in order to draw only the arrow tip we have to set the
+% |\@linelen| length to zero.
% \begin{macrocode}
\pIIe@concat\@xdim\@ydim{-\@ydim}\@xdim{\@xnum\@linelen}{\@ynum\@linelen}%
\@linelen\z@
@@ -1945,12 +2173,13 @@ README.txt and curve2e-v161.sty.
\fillpath
% \end{macrocode}
% Now we can restore the stem length that must be shortened by the
-% dimension of the arrow; by examining the documentation of \texttt{pict2e}
-% we discover that we have to shorten it by an approximate amount of $AL$
-% (with the notations of \texttt{pict2e}, figs~10 and~11); the arrow tip
-% parameters are stored in certain variables with which we can determine
-% the amount of the stem shortening; if the stem was too short and the new
-% length is negative, we avoid designing such a stem.
+% dimension of the arrow; by examining the documentation of
+% \texttt{pict2e} we discover that we have to shorten it by an
+% approximate amount of $AL$ (with the notations of \texttt{pict2e},
+% figs~10 and~11); the arrow tip parameters are stored in certain
+% variables with which we can determine the amount of the stem
+% shortening; if the stem was too short and the new length is negative,
+% we avoid designing such a stem.
% \begin{macrocode}
\@linelen=\@tdB
\@tdA=\pIIe@FAW\@wholewidth
@@ -1967,10 +2196,10 @@ README.txt and curve2e-v161.sty.
% length or the $l_x$ length component; the way the new |\vector| macro
% works does not actually require this specification, because \TeX\ can
% compute the vector length, provided the two direction components are
-% exactly the horizontal and vertical vector components. If the horizontal
-% component is zero, the actual length must be specified as the vertical
-% component. The object defined with |\Vector|, as well as |\vector|,
-% must be put in place by means of a |\put| command.
+% exactly the horizontal and vertical vector components. If the
+% horizontal component is zero, the actual length must be specified as
+% the vertical component. The object defined with |\Vector|, as well as
+% |\vector|, must be put in place by means of a |\put| command.
% \begin{macrocode}
\def\Vector(#1){{%
\GetCoord(#1)\@tX\@tY
@@ -1983,7 +2212,7 @@ README.txt and curve2e-v161.sty.
%
% On the opposite the next macro specifies a vector by means of the
% coordinates of its end points; the first point is where the vector
-% starts, and the second point is the arrow tip side. We need the
+% starts, and the second point is the arrow tip side. We need the
% difference of these two coordinates, because it represents the actual
% vector.
% \begin{macrocode}
@@ -2002,10 +2231,10 @@ README.txt and curve2e-v161.sty.
\VECTOR(\@tempb)(#2)\VECTOR(\@tempb)(#1)\ignorespaces}}
% \end{macrocode}
%
-% The \texttt{pict2e} documentation says that if the vector length is zero
-% the macro draws only the arrow tip; this may work with macro |\vector|,
-% certainly not with |\Vector| and |\VECTOR|. This might be useful for
-% adding an arrow tip to a circular arc. See examples in
+% The \texttt{pict2e} documentation says that if the vector length is
+% zero the macro draws only the arrow tip; this may work with macro
+% |\vector|, certainly not with |\Vector| and |\VECTOR|. This might be
+% useful for adding an arrow tip to a circular arc. See examples in
% figure~\ref{fig:vectors} on page~\pageref{fig:vectors}.
%
%
@@ -2014,31 +2243,33 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% We now define the polygonal line macro; its syntax is very simple:
% \begin{flushleft}
-% \cs{polygonal}\oarg{join}\texttt{(}$P_0$\texttt{)(}$P_1$\texttt{)(}$P_2$)%
-% \texttt{\dots(}$P_n$\texttt{)}
+% \cs{polygonal}\oarg{join}\parg{$P_0$}\parg{$P_1$}\parg{$P_2$}%
+% \texttt{\dots}\parg{$P_n$}
% \end{flushleft}
% Remember: |\polyline| has been incorporated into |pict2e| 2009, but we
-% redefine it so as to allow an optional argument to specify the line join
-% type.
+% redefine it so as to allow an optional argument to specify the line
+% join type.
%
-% In order to write a recursive macro we need aliases for the parentheses;
-% actually we need only the left parenthesis, but some editors complain
-% about unmatched delimiters, so we define an alias also for the right parenthesis.
+% In order to write a recursive macro we need aliases for the
+% parentheses; actually we need only the left parenthesis, but some
+% editors complain about unmatched delimiters, so we define an alias also
+% for the right parenthesis.
% \begin{macrocode}
\let\lp@r( \let\rp@r)
% \end{macrocode}
-% The first call to |\polyline|, besides setting the line joints, examines
-% the first point coordinates and moves the drawing position to this point;
-% afterwards it looks for the second point coordinates; they start with a
-% left parenthesis; if this is found the coordinates should be there, but
-% if the left parenthesis is missing (possibly preceded by spaces that are
-% ignored by the |\@ifnextchar| macro) then a warning message is output
-% together with the line number where the missing parenthesis causes the
-% warning: beware, this line number might point to several lines further on
-% along the source file! In any case it's necessary to insert a
-%|\@killglue|command, because |\polyline| refers to absolute coordinates,
-% and not necessarily is put in position through a |\put| command that
-% provides to eliminate any spurious spaces preceding this command.
+% The first call to |\polyline|, besides setting the line joints,
+% examines the first point coordinates and moves the drawing position to
+% this point; afterwards it looks for the second point coordinates; they
+% start with a left parenthesis; if this is found the coordinates should
+% be there, but if the left parenthesis is missing (possibly preceded by
+% spaces that are ignored by the |\@ifnextchar| macro) then a warning
+% message is output together with the line number where the missing
+% parenthesis causes the warning: beware, this line number might point to
+% several lines further on along the source file!
+% In any case it's necessary to insert a |\@killglue|command, because
+% |\polyline| refers to absolute coordinates, and not necessarily is put
+% in position through a |\put| command that provides to eliminate any
+% spurious spaces preceding this command.
%
% \begin{figure}[!hb]
% \begin{minipage}{0.55\textwidth}
@@ -2060,9 +2291,9 @@ README.txt and curve2e-v161.sty.
% polar coordinates}\label{fig:filled-polygon}
% \end{figure}
%
-% In order to allow a specification for the joints of the various segments
-% of a polyline it is necessary to allow for an optional parameter;
-% the default is the bevel join.
+% In order to allow a specification for the joints of the various
+% segments of a polyline it is necessary to allow for an optional
+% parameter; the default is the bevel join.
% \begin{macrocode}
\renewcommand*\polyline[1][\beveljoin]{\p@lylin@[#1]}
@@ -2075,10 +2306,10 @@ README.txt and curve2e-v161.sty.
\ignorespaces}}
% \end{macrocode}
-% But if there is a second or further point coordinate, the recursive macro
-% |\p@lyline| is called; it works on the next point and checks for a
-% further point; if such a point exists it calls itself, otherwise it
-% terminates the polygonal line by stroking it.
+% But if there is a second or further point coordinate, the recursive
+% macro |\p@lyline| is called; it works on the next point and checks for
+% a further point; if such a point exists the macro calls itself,
+% otherwise it terminates the polygonal line by stroking it.
% \begin{macrocode}
\def\p@lyline(#1){\GetCoord(#1)\d@mX\d@mY
\pIIe@lineto{\d@mX\unitlength}{\d@mY\unitlength}%
@@ -2090,8 +2321,8 @@ README.txt and curve2e-v161.sty.
% asterisk; as it is usual with |picture| convex lines, the command with
% asterisk does not trace the contour, but fills the contour with the
% current color.The asterisk is tested at the beginning and, depending on
-% its presence, a temporary switch is set to \texttt{true}; this being the
-% case the contour is filled, otherwise it is simply stroked.
+% its presence, a temporary switch is set to \texttt{true}; this being
+% the case the contour is filled, otherwise it is simply stroked.
% \begin{macrocode}
\providecommand\polygon{}
\RenewDocumentCommand\polygon{s O{\beveljoin} }{\@killglue\begingroup
@@ -2118,7 +2349,7 @@ README.txt and curve2e-v161.sty.
% page~\pageref{fig:filled-polygon}.
%
% Remember; the polygon polar coordinates are relative to the origin of
-% the local axes; therefore in order to position a polygon in a different
+% the local axes; therefore in order to put a polygon in a different
% position, it is necessary to do it through a |\put| command.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2126,12 +2357,12 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The next command is very useful for debugging while editing one's
% drawing; it draws a red grid with square meshes that are ten drawing
-% units apart; there is no graduation along the grid, since it is supposed
-% to be a debugging aid and the user should know what he/she is doing;
-% nevertheless it is advisable to displace the grid by means of a |\put|
-% command so that its grid lines coincide with the graph coordinates that
-% are multiples of 10. Missing to do so the readings become cumbersome.
-% The |\RoundUp| macro provides to increase the
+% units apart; there is no graduation along the grid, since it is
+% supposed to be a debugging aid and the user should know what he/she is
+% doing; nevertheless it is advisable to displace the grid by means of a
+% |\put| command so that its grid lines coincide with graph
+% coordinates that are multiples of 10. Missing to do so the readings
+% become cumbersome. The |\RoundUp| macro provides to increase the
% grid dimensions to integer multiples of ten.
% \begin{macrocode}
\def\GraphGrid(#1,#2){\bgroup\textcolor{red}{\linethickness{.1\p@}%
@@ -2158,9 +2389,9 @@ README.txt and curve2e-v161.sty.
% point as an argument delimiter. If one has the doubt that the number
% being passed to |\Integer| might be an integer, he/she should call the
% macro with a further point; if the argument is truly integer this point
-% works as the delimiter of the integer part; if the argument being passed
-% is fractional this extra point gets discarded as well as the fractional
-% part of the number.
+% works as the delimiter of the integer part; if the argument being
+% passed is fractional this extra point gets discarded as well as the
+% fractional part of the number.
% \begin{macrocode}
\def\Integer#1.#2??{#1}%
% \end{macrocode}
@@ -2168,44 +2399,61 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Math operations on fractional operands}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% This is not the place to complain about the fact that all programs of the
-% \TeX\ system use only integer arithmetics; luckily enough, in 218 the
-% package |xfp| was released: that package resorts in the background
-% language \LaTeX\,3; this language now can compute fractional number
-% operations coded in decimal digits and accepts also numbers written in
-% the usual way in computer science, that is as a fractional, possibly
-% signed, number followed by an expression that contains the exponent to
-% 10 necessary to (ideally) move the fractional separator in one or the
-% other direction according to the sign of the exponent of 10; in other
-% words the L3 library for floating point calculations accepts such
-% expressions as \texttt{123.456}, \texttt{0.12345e3}, and
+% This is not the place to complain about the fact that all programs of
+% the \TeX\ system used only integer arithmetics; now, with the 2018
+% distribution of the modern \TeX\ system, package |xfp| is available:
+% this package resorts in the background to language \LaTeX\,3; this language now can compute fractional number
+% operations coded in decimal, not in binary, and accepts also numbers
+% written in the usual way in computer science, that is as a fractional,
+% possibly signed, number followed by an expression that contains the
+% exponent to 10 necessary to (ideally) move the fractional separator
+% in one or the other direction according to the sign of the exponent of
+% 10; in other words the L3 library for floating point calculations
+% accepts such expressions as \texttt{123.456}, \texttt{0.12345e3}, and
% \texttt{12345e-3}, and any other equivalent expression. If the first
% number is integer, it assumes that the decimal separator is to the
-% right of the rightmost digits of the digit string.
+% right of the rightmost digit of the digit string.
%
-% Floating pint calculations may be done through the |\fpeval| L3
+% Floating point calculations may be done through the |\fpeval| L3
% function with a very simple syntax:
% \begin{flushleft}
% \cs{fpeval}\marg{mathematical expression}
% \end{flushleft}
-% where \meta{mathematica exression} can contain the usual algebraic
+% where \meta{mathematical exression} can contain the usual algebraic
% operation sings, |= - * / ** ^| and the function names of the most
-% common algebraic, trigonometric, and transcendental functions; for direct
-% and inverse trigonometric functions it accepts arguments in radians and
-% in sexagesimal degrees; it accepts the group of rounding/truncating
-% operators; it can perform several kinds of comparisons; as to this date
-% the todo list includes the direct and inverse hyperbolic functions. The
-% mantissa length of the floating point operands amounts to 16 decimal
-% digits. Further details may be read in the documentations of the |xfp|
-% and |interface3| documents, just by typing into a command line window
-% the command \texttt{texdoc \meta{document}}, where \meta{document} is
-% just the name of the above named files without extension.
+% common algebraic, trigonometric, and transcendental functions; for
+% direct and inverse trigonometric functions it accepts arguments in
+% radians and in sexagesimal degrees; it accepts the group of
+% rounding/truncating operators; it can perform several kinds of
+% comparisons; as to now (Nov. 2019) the todo list includes the direct
+% and inverse hyperbolic functions. The mantissa length of the floating
+% point operands amounts to 16 decimal digits. Further details may be
+% read in the documentations of the |xfp| and |interface3| packages, just
+% by typing into a command line window the command \texttt{texdoc
+% \meta{document}}, where \meta{document} is just the name of the above
+% named files without extension.
+%
+% Furthermore we added a couple of more interface macros with the
+% internal L3 floating point functions; |\fptest| and |\fpdowhile|.
+% They have the following syntax:
+%\begin{flushleft}\ttfamily\obeylines
+% \string\fptest\marg{logical expression}\marg{true code}\marg{false code}
+% \string\fpdowhile\marg{logical expression}\marg{code}
+%\end{flushleft}
+% The \meta{logical expression} compares the values of any kind by means
+% of the usual \texttt{>}, \texttt{=}, and \texttt{<} operators that may
+% be negated with the “not’ operator \texttt{!}; furthermore the logical
+% results of these comparisons may be acted upon with the “and” operator
+% \texttt{\&\&} and the “or” operator \texttt{||}. The \meta{true
+% code}, and \meta{code} are executed if or while the \meta{logical
+% expression} is true, while the \meta{false code} is executed if the
+% \meta{logical expression} is false
%
% Before the availability of the |xfp| package, it was necessary to fake
% fractional number computations by means of the native e-\TeX\ commands
% |\dimexpr|, i.e. to multiply each fractional number by the unit |\p@|
% (1\,pt) so as to get a length; operate un such lengths, and then
-% stripping of the `pt' component from the result; very error prone and
+% stripping off the `pt' component from the result; very error prone and
% with less precision as the one that the modern decimal floating point
% calculations can do. Of course it is not so important to use fractional
% numbers with more that 5 or 6 fractional digits, because the other
@@ -2214,7 +2462,10 @@ README.txt and curve2e-v161.sty.
% new floating point functionality, even if this maintains the |curve2e|
% functionality, but renders this package unusable with older \LaTeX\
% kernel installations. It has already been explained that the input of
-% |curve2e| gets aborted if the |xfp| package is not available.
+% this up to date version of |curve2e| is aborted if the |xfp| package is
+% not available, but the previous version 1.61 version is loaded; very
+% little functionality is lost, but, evidently, this new version performs
+% in a better way.
%
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2226,17 +2477,15 @@ README.txt and curve2e-v161.sty.
% saves their ratio in a macro; this is done in a simple way with the
% following code.
% \begin{macrocode}
-\def\DividE#1by#2to#3{%
- \edef#3{\fpeval{#1 / #2}}\relax
-}
+\def\DividE#1by#2to#3{\edef#3{\fpeval{#1 / #2}}}
% \end{macrocode}
% In order to avoid problems with divisions by zero, or with numbers that
% yield results to large to be used as multipliers of lengths, it would
% be preferable that the above code be preceded or followed by some tests
% and possible messages. Actually we decided to avoid such tests and
% messages, because the internal L3 functions already provide some. This
-% is what it was done in the previous versions of this package, when the
-% |\fpeval| L3 function was not available.
+% was done in the previous versions of this package, when the |\fpeval|
+% L3 function was not available.
%
% Notice that operands |#1| and |#2| may be integer numbers or
% fractional, or mixed numbers. They may be also dimensions, but while
@@ -2248,7 +2497,7 @@ README.txt and curve2e-v161.sty.
% yields correctly |\result=0.33333333|. Without parentheses the result
% is unpredictable.
%
-% For backward compatibility we need an alias.
+% For backwards compatibility we need an alias.
% \begin{macrocode}
\let\DivideFN\DividE
% \end{macrocode}
@@ -2265,21 +2514,22 @@ README.txt and curve2e-v161.sty.
% but with multiplication it is better to avoid computations with
% lengths.
%
-% The next macro uses the \verb|\strip@pt| \LaTeX\ kernel macro to get
+% The next macro uses the |\fpeval| macro to get
% the numerical value of a measure in points. One has to call |\Numero|
% with a control sequence and a dimension; the dimension value in points
% is assigned to the control sequence.
% \begin{macrocode}
\unless\ifdefined\Numero
- \def\Numero#1#2{\bgroup\dimen3254=#2\relax
- \edef\x{\noexpand\egroup\noexpand\edef\noexpand#1{%
- \strip@pt\dimen3254}}\x\ignorespaces}%
+ \def\Numero#1#2{\edef#1{\fpeval{round(#2,6)}}\ignorespaces}%
\fi
% \end{macrocode}
-% The \verb|\ifdefined| primitive command is provided by the e-\TeX\
+% The numerical value is rounded to 6 fractional digits that are more
+% than sufficient for the graphical actions performed by |curve2e|.
+%
+% The |\ifdefined| primitive command is provided by the e-\TeX\
% extension of the typesetting engine; the test does not create any hash
% table entry; it is a different way than the
-% \verb|\ifx\csname ...\endcsname| test,
+% \verb|\ifx\csname...\endcsname| test,
% because the latter first possibly creates a macro meaning \verb|\relax|
% then executes the test; therefore an undefined macro name is always
% defined to mean |\relax|.
@@ -2287,13 +2537,13 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Trigonometric functions}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% We now start with trigonometric functions. In previous versions of this
-% package we defined the macros |\SinOf|, |\CosOf| and |\TanOf| (|\CotOf|
-% does not appear so essential) by means of the parametric
+% We now start with trigonometric functions. In previous versions of
+% this package we defined the macros |\SinOf|, |\CosOf| and |\TanOf|
+% (|\CotOf| does not appear so essential) by means of the parametric
% formulas that require the knowledge of the tangent of the half angle.
-% We wanted, and still want, to specify the angles in sexagesimal degrees,
-% not in radians, so that accurate reductions to the main quadrants are
-% possible. The formulas are
+% We wanted, and still want, to specify the angles in sexagesimal
+% degrees, not in radians, so that accurate reductions to the main
+% quadrants are possible. The formulas are
% \begin{eqnarray*}
% \sin\theta &=& \frac{2}{\cot x + \tan x}\\
% \cos\theta &=& \frac{\cot x - \tan x}{\cot x + \tan x}\\
@@ -2304,35 +2554,46 @@ README.txt and curve2e-v161.sty.
% is the half angle in degrees converted to radians.
%
% But now, in this new version, the availability of the floating point
-% computations with the specific L3 library makes al the above superfluous;
-% actually the above approach gave good results but it was cumbersome and
-% limited by the fixed radix computations of the \TeX\ system programs.
+% computations with the specific L3 library makes all the above
+% superfluous; actually the above approach gave good results but it was
+% cumbersome and limited by the fixed radix computations of the \TeX\
+% system programs.
+%
% Matter of facts, we compared the results (with 6 fractional digits) the
% computations executed with the \texttt{sind} function name, in order to
% use the angles in degrees, and a table of trigonometric functions with
-% the same number of fractional digits, and we di not find and difference,
-% not even one unit on the sixth decimal digit. Probably the |\fpeval|
-% computations, without rounding before the sixteenth significant digit,
-% are much more accurate, but it is useless to have a better accuracy when
-% the other \TeX\ and \LaTeX\ macros would not be able to exploit them.
+% the same number of fractional digits, and we di not find any
+% difference, not even one unit on the sixth decimal digit. Probably the
+% |\fpeval| computations, without rounding before the sixteenth
+% significant digit, are much more accurate, but it is useless to have a
+% better accuracy when the other \TeX\ and \LaTeX\ macros would not be
+% able to exploit them.
%
% Having available such powerful instrument, even the tangent appears to
% be of little use for the kind of computations that are supposed to be
% required in this package.
%
% The codes for the computation of |\SinOf| and |\CosOf| of the angle in
-% degrees is therefore the following
+% degrees is now therefore the following
% \begin{macrocode}
\def\SinOf#1to#2{\edef#2{\fpeval{round(sind#1,6)}}}\relax
\def\CosOf#1to#2{\edef#2{\fpeval{round(cosd#1,6)}}}\relax
% \end{macrocode}
%
%
-% As of today the anomaly (angle) of a complex number may not be necessary,
-% but it might become useful in the future; therefore with macro
-% \verb|\ArgOfVect| we calculate the four quadrant arctangent (in degrees)
-% of the given vector taking into account the sings of the vector
-% components. The |\ArgOfVect| macro receives on input a vector;
+% As of today the anomaly (angle) of a complex number may not be
+% necessary, but it might become useful in the future; therefore with
+% macro \verb|\ArgOfVect| we calculate the four quadrant arctangent (in
+% degrees) of the given vector taking into account the sings of the
+% vector components. We use the |xfp| |atand| with two arguments, so
+% that it automatically takes into account all the signs for determining
+% the argument of vector $x,y$ by giving the values $x$ and $y$ in the
+% proper order to the function |atan|:
+%\[
+%\mbox{if\quad } x + \mathrm{i}y = M\mathrm{e}^{\mathrm{i}\varphi}\mbox{\quad then\quad }
+%\varphi = \mathtt{\string\fpeval\{atand(\mbox{$y$},\mbox{$x$})\}}
+%\]
+% The |\ArgOfVect| macro receives on input a vector;
% from the signs of the horizontal and vertical components it determines
% the ratio and from this ratio the arctangent; but before doing this it
% tests the components in order to determine the quadrant of the vector
@@ -2341,36 +2602,14 @@ README.txt and curve2e-v161.sty.
% components are zero, the angle is undefined, but for what concerns
% |curve2e| it is assigned the angle $0^circ$.
% \begin{macrocode}
-\def\ArgOfVect#1to#2{\bgroup\GetCoord(#1){\t@X}{\t@Y}%
-\def\s@gno{}%
-\ifdim\t@X\p@=\z@
- \ifdim\t@Y\p@=\z@
- \def\ArcTan{0}% vettore nullo
- \else
- \def\ArcTan{90}% vettore verticale
- \ifdim\t@Y\p@<\z@\def\ArcTan{-90}\fi
- \fi
-\else
- \ifdim\t@Y\p@=\z@% vettore orizzontale
- \ifdim\t@X\p@<\z@
- \def\ArcTan{180}%
- \else
- \def\ArcTan{0}%
- \fi
- \else % vettore qualsiasi
- \edef\ArcTan{\fpeval{atand(\t@Y / \t@X)}}\relax
- \ifdim\t@X\p@<\z@% vettore nei quadranti di sinistra
- \ifdim\t@Y\p@<\z@
- \edef\ArcTan{\fpeval{\ArcTan - 180}}\relax
- \else
- \edef\ArcTan{\fpeval{\ArcTan + 180}}\relax
- \fi
- \fi
- \fi
-\fi
-\edef\x{\noexpand\egroup\noexpand\edef\noexpand#2{\ArcTan}}%
-\x\ignorespaces}
+\def\ArgOfVect#1to#2{\GetCoord(#1){\t@X}{\t@Y}%
+\fptest{\t@X=\z@ && \t@Y=\z@}{\edef#2{0}}{%
+\edef#2{\fpeval{round(atand(\t@Y,\t@X),6)}}}\ignorespaces}
% \end{macrocode}
+% The anomaly of a null vector is meaningless, but we set it to zero in
+% case that input data are wrong. Computations go on anyway, but the
+% results my be worthless; such strange results are an indications that
+% some controls on the code should be done.
%
% It is worth examining the following table, where the angles of nine
% vectors $45^\circ$ degrees apart from one another are computed from
@@ -2378,12 +2617,12 @@ README.txt and curve2e-v161.sty.
% \begin{center}
% \begin{tabular}{l*9r}
% Vector &0,0 &1,0 &1,1 & 0,1 & -1,1& -1,0&-1,-1&0,-1&1,-1\\
-% Angle & 0 & 0 & 45 & 90 & 135 & 180 &-135 & -90& -45
+% Angle & 0 & 0 & 45 & 90 & 135 & 180 &-135 & -90& -45
% \end{tabular}
% \end{center}
-% Real computations with the |\ArgOfVect| macro produce those very numbers
-% without the need of rounding; |\fpeval| produces all trimming of lagging
-% zeros and rounding by itself.
+% Real computations with the |\ArgOfVect| macro produce those very
+% numbers without the need of rounding; |\fpeval| produces all trimming
+% of lagging zeros and rounding by itself.
%
%
%
@@ -2391,10 +2630,10 @@ README.txt and curve2e-v161.sty.
% \subsection{Arcs and curves preliminary information}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% We would like to define now a macro for drawing circular arcs of any
-% radius and any angular aperture; the macro should require the arc center,
-% the arc starting point and the angular aperture. The arc has its
-% reference point in its center, therefore it does not need to be put in
-% place by the command |\put|; nevertheless if |\put| is used, it may
+% radius and any angular aperture; the macro should require the arc
+% center, the arc starting point and the angular aperture. The arc has
+% its reference point in its center, therefore it does not need to be put
+% in place by the command |\put|; nevertheless if |\put| is used, it may
% displace the arc into another position.
%
% The command should have the following syntax:
@@ -2403,22 +2642,23 @@ README.txt and curve2e-v161.sty.
% \end{flushleft}
% which is totally equivalent to:
% \begin{flushleft}\ttfamily
-% \cs{put}(\meta{center})\marg{\upshape\cs{Arc}(0,0)(\meta{starting point})\marg{angle}}
+% \cs{put}(\meta{center})\marg{\upshape\cs{Arc}(0,0)(\meta{starting
+% point})\marg{angle}}
% \end{flushleft}
% If the \meta{angle}, i.e. the arc angular aperture, is positive the arc
-% runs counterclockwise from the starting point; clockwise if it's
+% runs counterclockwise from the starting point; clockwise if it is
% negative.
% Notice that since the \meta{starting point} is relative to the
% \meta{center} point, its polar coordinates are very convenient, since
% they become \parg{\meta{start angle}:\meta{radius}}, where the
-% \meta{start angle} is relative to the arc center. Therefore you can think
-% about a syntax such as this one:
+% \meta{start angle} is relative to the arc center. Therefore you can
+% think about a syntax such as this one:
%\begin{flushleft}
%\cs{Arc}\parg{\meta{center}}\parg{\normalfont{\itshape start angle}\texttt{:}{\itshape radius}}\marg{angle}
%\end{flushleft}
%
-% The difference between the |pict2e| |\arc| definition consists in a very
-% different syntax:
+% The difference between the |pict2e| |\arc| definition consists in a
+% very different syntax:
%\begin{flushleft}
%\cs{arc}\texttt{[}\meta{start angle}\texttt{,}\meta{end angle}\texttt{]}\marg{radius}
%\end{flushleft}
@@ -2434,9 +2674,9 @@ README.txt and curve2e-v161.sty.
% It's necessary to determine the end point and the control points of the
% Bézier spline(s) that make up the circular arc.
%
-% The end point is obtained from the rotation of the starting point around
-% the center; but the \texttt{pict2e} command |\pIIe@rotate| is such that
-% the pivoting point appears to be non relocatable.
+% The end point is obtained from the rotation of the starting point
+% around the center; but the \texttt{pict2e} command |\pIIe@rotate| is
+% such that the pivoting point appears to be non relocatable.
% It is therefore necessary to resort to low level \TeX\ commands and the
% defined trigonometric functions and a set of macros that operate on
% complex numbers used as vector roto-amplification operators.
@@ -2471,15 +2711,16 @@ README.txt and curve2e-v161.sty.
% doing some of these operations.
%
% In facts we need macros for summing, subtracting, multiplying, dividing
-% complex numbers, for determining their directions (unit vectors); a
-% unit vector is the complex number divided by its magnitude so that the
-% result is the cartesian or polar form of the Euler's formula
+% complex numbers, for determining their directions (unit vectors or
+% versors); a unit vector is the complex number divided by its magnitude
+% so that the result is the cartesian or polar form of the Euler's
+% formula
% \[
% \mathrm{e}^{\mathrm{j}\phi} = \cos\phi+\mathrm{j}\sin\phi
% \]
%
-% The magnitude of a vector is determined by taking a ‘clever’ square
-% root of a function of the real and the imaginary parts; see further on.
+% The magnitude of a vector is determined by taking the square root of
+% a function of the real and the imaginary parts; see further on.
%
% It's better to represent each complex number with one control sequence;
% this implies frequent assembling and disassembling the pair of real
@@ -2504,8 +2745,8 @@ README.txt and curve2e-v161.sty.
% In the preceding version of package |curve2e| the magnitude $M$ was
% determined by taking the moduli of the real and imaginary parts, by
% changing their signs if necessary; the larger component was
-% then taken as the reference one so that, if $a$ is larger than $b$, the
-% square root of the sum of their squares is computed as such:
+% then taken as the reference one, so that, if $a$ is larger than $b$,
+% the square root of the sum of their squares is computed as such:
% \[
% M = \sqrt{a^2+b^2} = \vert a\vert\sqrt{1+(b/a)^2}
% \]
@@ -2523,7 +2764,7 @@ README.txt and curve2e-v161.sty.
% package.
% \begin{macrocode}
\def\ModOfVect#1to#2{\GetCoord(#1)\t@X\t@Y
-\edef#2{\fpeval{sqrt(\t@X*\t@X + \t@Y*\t@Y)}}\relax
+\edef#2{\fpeval{round(sqrt(\t@X*\t@X + \t@Y*\t@Y),6)}}%
\ignorespaces}%
% \end{macrocode}
%
@@ -2535,11 +2776,10 @@ README.txt and curve2e-v161.sty.
% \begin{macrocode}
\def\DirOfVect#1to#2{\GetCoord(#1)\t@X\t@Y
\ModOfVect#1to\@tempa
-\unless\ifdim\@tempa\p@=\z@
- \DividE\t@X by\@tempa to\t@X
- \DividE\t@Y by\@tempa to\t@Y
-\fi
-\MakeVectorFrom\t@X\t@Y to#2\ignorespaces}%
+\fptest{\@tempa=\z@}{}{%
+ \edef\t@X{\fpeval{round(\t@X/\@tempa,6)}}%
+ \edef\t@Y{\fpeval{round(\t@Y/\@tempa,6)}}%
+}\MakeVectorFrom\t@X\t@Y to#2\ignorespaces}%
% \end{macrocode}
%
% A cumulative macro uses the above ones to determine with one call both
@@ -2550,7 +2790,6 @@ README.txt and curve2e-v161.sty.
% must be specified with control sequences to be used at a later time.
% \begin{macrocode}
\def\ModAndDirOfVect#1to#2and#3{%
-\GetCoord(#1)\t@X\t@Y
\ModOfVect#1to#2%
\DirOfVect#1to#3\ignorespaces}%
% \end{macrocode}
@@ -2579,8 +2818,8 @@ README.txt and curve2e-v161.sty.
% a given angle (first argument, in degrees).
% \begin{macrocode}
\def\DirFromAngle#1to#2{%
-\CosOf#1to\t@X
-\SinOf#1to\t@Y
+\edef\t@X{\fpeval{round(cosd#1,6)}}%
+\edef\t@Y{\fpeval{round(sind#1,6)}}%
\MakeVectorFrom\t@X\t@Y to#2\ignorespaces}%
% \end{macrocode}
%
@@ -2589,8 +2828,8 @@ README.txt and curve2e-v161.sty.
% input given vector.
% \begin{macrocode}
\def\ScaleVect#1by#2to#3{\GetCoord(#1)\t@X\t@Y
-\edef\t@X{\fpeval{#2 * \t@X}}\relax
-\edef\t@Y{\fpeval{#2 * \t@Y}}\relax
+\edef\t@X{\fpeval{#2 * \t@X}}%
+\edef\t@Y{\fpeval{#2 * \t@Y}}%
\MakeVectorFrom\t@X\t@Y to#3\ignorespaces}%
% \end{macrocode}
% Again, sometimes it is necessary to reverse the direction of rotation;
@@ -2609,69 +2848,146 @@ README.txt and curve2e-v161.sty.
% \begin{macrocode}
\def\AddVect#1and#2to#3{\GetCoord(#1)\tu@X\tu@Y
\GetCoord(#2)\td@X\td@Y
-\edef\t@X{\fpeval{\tu@X + \td@X}}\relax
-\edef\t@Y{\fpeval{\tu@Y + \td@Y}}\relax
+\edef\t@X{\fpeval{\tu@X + \td@X}}%
+\edef\t@Y{\fpeval{\tu@Y + \td@Y}}%
\MakeVectorFrom\t@X\t@Y to#3\ignorespaces}%
% \end{macrocode}
% Then the subtraction:
% \begin{macrocode}
\def\SubVect#1from#2to#3{\GetCoord(#1)\tu@X\tu@Y
\GetCoord(#2)\td@X\td@Y
-\edef\t@X{\fpeval{\td@X - \tu@X}}\relax
-\edef\t@Y{\fpeval{\td@Y - \tu@Y}}\relax
+\edef\t@X{\fpeval{\td@X - \tu@X}}%
+\edef\t@Y{\fpeval{\td@Y - \tu@Y}}%
\MakeVectorFrom\t@X\t@Y to#3\ignorespaces}%
% \end{macrocode}
%
% For the multiplication we need to split the operation according to the
% fact that we want to multiply by the second operand or by the complex
% conjugate of the second operand; it would be nice if we could use the
-% usual postfixed asterisk notation for the complex conjugate, but we
-% could not find a simple means for doing so\footnote{Actually the simple
-% means do exist now through the use of the \texttt{xparse} package, but
-% they became available only when the syntax of this
-% \texttt{\string\MultVect} macro had been already in use for a long
-% time; changing the position of the asterisk at this moment, would mean
-% to render the new definition incompatible with the existing source
-% document files.}; therefore we use the prefixed notation, that is we
-% put the asterisk \emph{before} the second operand. The first part of
-% the multiplication macro just takes care of the multiplicand and then
-% checks for the asterisk; if there is no asterisk it calls a second
-% (service) macro that performs a regular complex multiplication,
-% otherwise it calls a third service macro that executes the conjugate
-% multiplication.
-% \begin{macrocode}
-\def\MultVect#1by{\@ifstar{\@ConjMultVect#1by}{\@MultVect#1by}}%
+% usual postfixed asterisk notation for the complex conjugate, but in the
+% previous versions of this package we could not find a simple means for
+% doing so. Therefore the previous version contained e definition of the
+% |\MultVect| macro that followed a simple syntax with an optional
+% asterisk \emph{prefixed} to the second operand. Its syntax, therefore,
+% allowed the following two forms:
+%\begin{flushleft}\ttfamily
+%\cs{MultVect}\meta{first factor} by \meta{second factor} to \meta{output macro}\\
+%\cs{MultVect}\meta{first factor} by $\star*$ \meta{second factor} to \meta{output macro}\\
+%\end{flushleft}
%
-\def\@MultVect#1by#2to#3{\GetCoord(#1)\tu@X\tu@Y
-\GetCoord(#2)\td@X\td@Y
-\edef\t@X{\fpeval{\tu@X * \td@X - \tu@Y * \td@Y}}\relax
-\edef\t@Y{\fpeval{\tu@Y * \td@X + \tu@X * \td@Y}}\relax
-\MakeVectorFrom\t@X\t@Y to#3\ignorespaces}%
+% With the availability of the |xparse| package and its special argument
+% descriptors for the arguments, we were able to define a different
+% macro, |\Multvect|, with both optional positions for the asterisk:
+% \emph{after} and \emph{before}; its syntax allows the following four
+% forms:
+%\begin{flushleft}
+%\cs{Multvect}\marg{first factor}\marg{second factor}\meta{output macro}
+%\cs{Multvect}\marg{first factor}$\star*$\marg{second factor}\meta{output macro}
+%\cs{Multvect}\marg{first factor}\marg{second factor}$\star*$\meta{output macro}
+%\cs{Multvect}\marg{first factor}$\star*$\marg{second factor}\meta{output macro}
+%\cs{Multvect}\marg{first factor}$\star*$\marg{second factor}$\star*$\meta{output macro}
+%\end{flushleft}
%
-\def\@ConjMultVect#1by#2to#3{\GetCoord(#1)\tu@X\tu@Y
-\GetCoord(#2)\td@X\td@Y
-\edef\t@X{\fpeval{\tu@X * \td@X + \tu@Y * \td@Y}}\relax
-\edef\t@Y{\fpeval{\tu@Y * \td@X - \tu@X * \td@Y}}\relax
-\MakeVectorFrom\t@X\t@Y to#3\ignorespaces}
+% Nevertheless we maintain a sort of interface between the old syntax
+% and the new one, so that the two old forms can be mapped to two
+% suitable forms of the new syntax. Old documents are still compilable;
+% users who got used to the old syntax can maintain their habits.
+%
+% First we define the new macro: it receives the three arguments, the
+% first two as balanced texts; the last one must always be a macro,
+% therefore a single (complex) token and doe not require braces, even
+% if it is not forbidden to use them. Asterisks are optional.
+% The input arguments are transformed into couples of anomaly and
+% modulus; this makes multiplication much simpler as the output modulus
+% is just the product of the input moduli, while the output anomaly is
+% just the sum of input anomalies; eventually it is necessary to
+% transform this polar version of the result into an ordered couple of
+% cartesian values to be assigned to the output macro.
+% In order to maintain the single macros pretty simple we need a couple
+% of service macros and a named counter. We use |\ModOfVect| previously
+% defined, and a new macro |\ModAndAngleOfVect| with the following
+% syntax:
+%\begin{flushleft}\ttfamily
+%\cs{ModAndAngleOfVect}\meta{input vector} to \meta{output modulus} and \meta{output angle in degrees}
+%\end{flushleft}
+% The output quantities are always macros, so they do not need balanced
+% bracing; angles in degrees are always preferred because, on case of
+% necessity, they are easy to reduce to the range $-180^\circ < \alpha \leq +180^\circ$.
+% \begin{macrocode}
+\def\ModAndAngleOfVect#1to#2and#3{\ModOfVect#1to#2\relax
+\ArgOfVect#1to#3\ignorespaces}
+% \end{macrocode}
+% We name a counter in the upper range accessible with all the modern
+% three typesetting engines, |pdfLaTeX|, |LuaLaTeX| and |XeLaTeX|.
+% \begin{macrocode}
+\countdef\MV@C=2560\relax
+% \end{macrocode}
+% The user is warned; The counter register number is sort of casual,
+% but it is not excluded that its name or number get in conflict with
+% other macros from other packages. I would be grateful is such an event
+% takes place.
+%
+% Nov comes the real macro\footnote{A warm thank-you to Enrico Gregorio,
+% who kindly attracted my attention on the necessity of braces when using
+% this kind of macro; being used to the syntax with delimited arguments
+% I had taken the bad habit of avoiding braces. Braces are very
+% important, but the syntax of the original \TeX\ language, that did not
+% have available the L3 one, spoiled me with the abuse of delimited
+% arguments.}:
+% \begin{macrocode}
+\NewDocumentCommand\Multvect{m s m s m}{%
+\MV@C=0
+\ModAndAngleOfVect#1to\MV@uM and\MV@uA
+\ModAndAngleOfVect#3to\MV@dM and\MV@dA
+\IfBooleanT{#2}{\MV@C=1}\relax
+\IfBooleanT{#4}{\MV@C=1}\relax
+\unless\ifnum\MV@C=0\edef\MV@dA{-\MV@dA}\fi
+\edef\MV@rM{\fpeval{round((\MV@uM * \MV@dM),6)}}%
+\edef\MV@rA{\fpeval{round((\MV@uA + \MV@dA),6)}}%
+\GetCoord(\MV@rA:\MV@rM)\t@X\t@Y
+\MakeVectorFrom\t@X\t@Y to#5}
% \end{macrocode}
%
+% The macro to remain backward compatible, reduce to two simple macros
+% that take the input delimited arguments and passes them in braced form
+% to the above general macro:
+% \begin{macrocode}
+\def\MultVect#1by{\@ifstar{\let\MV@c\@ne\@MultVect#1by}%
+ {\let\MV@c\empty\@MultVect#1by}}
+
+\def\@MultVect#1by#2to#3{%
+ \unless\ifx\MV@c\empty\Multvect{#1}{#2}*{#3}\else
+ \Multvect{#1}{#2}{#3}\fi}
+% \end{macrocode}
+% Testing of both the new and the old macros show that they behave as
+% expected, although, using real numbers for trigonometric functions,
+% some small rounding unit on the sixth decimal digit still remain;
+% nothing to worry about with a package used for drawing.
+%
+%
% The division of two complex numbers implies scaling down the dividend
% by the magnitude of the divisor and by rotating the dividend scaled
-% vector by the conjugate direction of the divisor;
+% vector by the conjugate versor of the divisor:
%\[
% \frac{\vec{N}}{\vec{D}}= \frac{\vec{N}}{M\vec{u}}=
% \frac{\vec{N}}{M}\vec{u}^{\mkern2mu\star}
%\]
%therefore:
% \begin{macrocode}
-\def\DivVect#1by#2to#3{\ModAndDirOfVect#2to\@Mod and\@Dir
-\edef\@Mod{\fpeval{1 / \@Mod}}\relax
+\def\DivVect#1by#2to#3{\Divvect{#1}{#2}{#3}}
+
+\NewDocumentCommand\Divvect{ m m m }{%
+\ModAndDirOfVect#2to\@Mod and\@Dir
+\edef\@Mod{\fpeval{1 / \@Mod}}%
\ConjVect\@Dir to\@Dir
\ScaleVect#1by\@Mod to\@tempa
-\MultVect\@tempa by\@Dir to#3\ignorespaces}%
+\Multvect{\@tempa}{\@Dir}#3\ignorespaces}%
% \end{macrocode}
+% Macros |\DivVect| and |\Divvect| are almost equivalent; the second is
+% possibly slightly more robust. They match the corresponding macros for
+% multiplying two vectors.
%
-%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%>>>>>>>>>>>
% \subsection{Arcs and curved vectors}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% We are now in the position of really doing graphic work.
@@ -2690,9 +3006,9 @@ README.txt and curve2e-v161.sty.
\fi
\endgroup\ignorespaces}%
% \end{macrocode}
-% The aperture is already memorized in |\@tdA|; the |\@Arc| macro receives
-% the center coordinates in the first argument and the coordinates of the
-% starting point in the second argument.
+% The aperture is already memorised in |\@tdA|; the |\@Arc| macro
+% receives the center coordinates in the first argument and the
+% coordinates of the starting point in the second argument.
% \begin{macrocode}
\def\@Arc(#1)(#2){%
\ifdim\@tdA>\z@
@@ -2701,14 +3017,14 @@ README.txt and curve2e-v161.sty.
\@tdA=-\@tdA \let\Segno-%
\fi
% \end{macrocode}
-% The rotation angle sign is memorised in |\Segno| and |\@tdA| now contains
-% the absolute value of the arc aperture.
-%
-% If the rotation angle is larger than $360^\circ$ a message is issued that
-% informs the user that the angle will be reduced modulo $360^\circ$; this
-% operation is performed by successive subtractions rather than with
-% modular arithmetics on the assumption that in general one subtraction
-% suffices.
+% The rotation angle sign is memorised in |\Segno| and |\@tdA| now
+% contains the absolute value of the arc aperture.
+%
+% If the rotation angle is larger than $360^\circ$ a message is issued
+% that informs the user that the angle will be reduced modulo
+% $360^\circ$; this operation is performed by successive subtractions
+% rather than with modular arithmetics on the assumption that in general
+% one subtraction suffices.
% \begin{macrocode}
\Numero\@gradi\@tdA
\ifdim\@tdA>360\p@
@@ -2734,22 +3050,22 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
% And the new macro |\@@Arc| starts with moving the drawing point to the
% first% point and does everything needed for drawing the requested arc,
-% except stroking it; I leave the \texttt{stroke} command to the completion
-% of the calling macro and nobody forbids to use the |\@@Arc| macro for
-% other purposes.
+% except stroking it; we leave the \texttt{stroke} command to the
+% completion of the calling macro and nobody forbids to use the |\@@Arc|
+% macro for other purposes.
% \begin{macrocode}
\def\@@Arc{%
\pIIe@moveto{\@pPunX\unitlength}{\@pPunY\unitlength}%
% \end{macrocode}
-% If the aperture is larger than $180^\circ$ it traces a semicircle in the
-% right direction and correspondingly reduces the overall aperture.
+% If the aperture is larger than $180^\circ$ it traces a semicircle in
+% the right direction and correspondingly reduces the overall aperture.
% \begin{macrocode}
\ifdim\@tdA>180\p@
\advance\@tdA-180\p@
\Numero\@gradi\@tdA
\SubVect\@pPun from\@Cent to\@V
\AddVect\@V and\@Cent to\@sPun
- \MultVect\@V by0,-1.3333333to\@V
+ \Multvect{\@V}{0,-1.3333333to}\@V
\if\Segno-\ScaleVect\@V by-1to\@V\fi
\AddVect\@pPun and\@V to\@pcPun
\AddVect\@sPun and\@V to\@scPun
@@ -2765,8 +3081,8 @@ README.txt and curve2e-v161.sty.
% If the remaining aperture is not zero it continues tracing the rest of
% the arc. Here we need the extrema of the arc and the coordinates of the
% control points of the Bézier cubic spline that traces the arc. The
-% control points lay on the perpendicular to the vectors that join the arc
-% center to the starting and end points respectively.
+% control points lay on the perpendicular to the vectors that join the
+% arc center to the starting and end points respectively.
%
% With reference to figure~\ref{fig:arcspline} on
% page~\pageref{fig:arcspline}, the points $P_1$ and $P_2$
@@ -2800,7 +3116,7 @@ README.txt and curve2e-v161.sty.
\ifdim\@tdA>\z@
\DirFromAngle\@gradi to\@Dir \if\Segno-\ConjVect\@Dir to\@Dir \fi
\SubVect\@Cent from\@pPun to\@V
- \MultVect\@V by\@Dir to\@V
+ \Multvect{\@V}{\@Dir}\@V
\AddVect\@Cent and\@V to\@sPun
\@tdA=.5\@tdA \Numero\@gradi\@tdA
\DirFromAngle\@gradi to\@Phimezzi
@@ -2818,10 +3134,10 @@ README.txt and curve2e-v161.sty.
\fi
\SubVect\@sPun from\@pPun to\@V
\DirOfVect\@V to\@V
- \MultVect\@Phimezzi by\@V to\@Phimezzi
+ \Multvect{\@Phimezzi}{\@V}\@Phimezzi
\AddVect\@sPun and\@Phimezzi to\@scPun
\ScaleVect\@V by-1to\@V
- \MultVect\@mPhimezzi by\@V to\@mPhimezzi
+ \Multvect{\@mPhimezzi}{\@V}\@mPhimezzi
\AddVect\@pPun and\@mPhimezzi to\@pcPun
\GetCoord(\@pcPun)\@pcPunX\@pcPunY
\GetCoord(\@scPun)\@scPunX\@scPunY
@@ -2835,18 +3151,19 @@ README.txt and curve2e-v161.sty.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsubsection{Arc vectors}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% We exploit much of the above definitions for the |\Arc| macro for drawing
-% circular arcs with an arrow at one or both ends; the first macro
-% |\VerctorArc| draws an arrow at the ending point of the arc; the second
-% macro |\VectorARC| draws arrows at both ends; the arrows have the same
-% shape as those for vectors; actually they are drawn by putting a vector
-% of zero length at the proper arc end(s), therefore they are styled as
-% traditional \LaTeX\ or PostScript arrows according to the specific
-% option to the \texttt{pict2e} package.
+% We exploit much of the above definitions for the |\Arc| macro for
+% drawing circular arcs with an arrow at one or both ends; the first
+% macro |\VerctorArc| draws an arrow at the ending point of the arc; the
+% second macro |\VectorARC| draws arrows at both ends; the arrows have
+% the same shape as those for vectors; actually they are drawn by putting
+% a vector of zero length at the proper arc end(s), therefore they are
+% styled as traditional \LaTeX\ or PostScript arrows according to the
+% specific option to the \texttt{pict2e} package.
%
% But the arc drawing done here shortens it so as not to overlap on the
-% arrow(s); the only arrow (or both ones) are also lightly tilted in order
-% to avoid the impression of a corner where the arc enters the arrow tip.
+% arrow(s); the only arrow (or both ones) are also lightly tilted in
+% order to avoid the impression of a corner where the arc enters the
+% arrow tip.
%
% All these operations require a lot of ``playing'' with vector
% directions, but even if the operations are numerous, they do not do
@@ -2854,15 +3171,14 @@ README.txt and curve2e-v161.sty.
% (b) determining the arrow length as an angular quantity, i.e. the arc
% amplitude that must be subtracted from the total arc to be drawn;
% (c) the direction of the arrow should be corresponding to the tangent
-% to the arc at the point where the arrow tip is attached; (d) tilting the
-% arrow tip by half its angular amplitude; (e) determining the resulting
-% position and direction of the arrow tip so as to draw a zero length
-% vector; (f\/) possibly repeating the same procedure for the other end
-% of the arc; (g) shortening the total arc angular amplitude by the
-% amount of the arrow tip(s) already set, and finally (h) drawing the
-% circular arc that joins the starting point to the final arrow or one
-% arrow to the other
-% one.
+% to the arc at the point where the arrow tip is attached; (d) tilting
+% the arrow tip by half its angular amplitude; (e) determining the
+% resulting position and direction of the arrow tip so as to draw a zero
+% length vector; (f\/) possibly repeating the same procedure for the
+% other end of the arc; (g) shortening the total arc angular amplitude by
+% the amount of the arrow tip(s) already set, and finally (h) drawing
+% the circular arc that joins the starting point to the final arrow or
+% one arrow to the other one.
%
% The calling macros are very similar to the |\Arc| macro initial one:
% \begin{macrocode}
@@ -2881,19 +3197,20 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% The single arrowed arc is defined with the following long macro where
-% all the described operations are performed more or less in the described
-% succession; probably the macro requires a little cleaning, but since it
-% works fine we did not try to optimise it for time or number of tokens.
-% The final part of the macro is almost identical to that of the plain arc;
-% the beginning also is quite similar. The central part is dedicated to
-% the positioning of the arrow tip and to the necessary calculations for
-% determining the tip tilt and the reduction of the total arc length; pay
-% attention that the arrow length, stored in |\@tdE| is a real length,
-% while the radius stored in |\@Raggio| is just a multiple of the
-% |\unitlength|, so that the division (that yields a good angular
-% approximation to the arrow length as seen from the center of the arc)
-% must be done with real lengths. The already defined |\@@Arc| macro
-% actually draws the curved vector stem without stroking it.
+% all the described operations are performed more or less in the
+% described succession; probably the macro requires a little cleaning,
+% but since it works fine we did not try to optimise it for time or
+% number of tokens. The final part of the macro is almost identical to
+% that of the plain arc; the beginning also is quite similar. The central
+% part is dedicated to the positioning of the arrow tip and to the
+% necessary calculations for determining the tip tilt and the reduction
+% of the total arc length; pay attention that the arrow length, stored in
+% |\@tdE| is a real length, while the radius stored in |\@Raggio| is just
+% a multiple of the |\unitlength|, so that the division (that yields a
+% good angular approximation to the arrow length as seen from the center
+% of the arc) must be done with real lengths. The already defined
+% |\@@Arc| macro actually draws the curved vector stem without stroking
+% it.
% \begin{macrocode}
\def\@VArc(#1)(#2){%
\ifdim\@tdA>\z@
@@ -2914,16 +3231,16 @@ README.txt and curve2e-v161.sty.
\@tdD=57.29578\@tdD \Numero\DeltaGradi\@tdD
\@tdD=\ifx\Segno--\fi\@gradi\p@ \Numero\@tempa\@tdD
\DirFromAngle\@tempa to\@Dir
-\MultVect\@V by\@Dir to\@sPun
+\Multvect{\@V}{\@Dir}\@sPun
\edef\@tempA{\ifx\Segno-\m@ne\else\@ne\fi}%
-\MultVect\@sPun by 0,\@tempA to\@vPun
+\Multvect{\@sPun}{0,\@tempA}\@vPun
\DirOfVect\@vPun to\@Dir
\AddVect\@sPun and #1 to \@sPun
\GetCoord(\@sPun)\@tdX\@tdY
\@tdD\ifx\Segno--\fi\DeltaGradi\p@
\@tdD=.5\@tdD \Numero\DeltaGradi\@tdD
\DirFromAngle\DeltaGradi to\@Dird
-\MultVect\@Dir by*\@Dird to\@Dir
+\Multvect{\@Dir}*{\@Dird}\@Dir%
\GetCoord(\@Dir)\@xnum\@ynum
\put(\@tdX,\@tdY){\vector(\@xnum,\@ynum){0}}%
\@tdE =\ifx\Segno--\fi\DeltaGradi\p@
@@ -2934,8 +3251,9 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% The macro for the arc terminated with arrow tips at both ends is again
-% very similar, except it is necessary to repeat the arrow tip positioning
-% also at the starting point. The |\@@Arc| macro draws the curved stem.
+% very similar, except it is necessary to repeat the arrow tip
+% positioning also at the starting point. The |\@@Arc| macro draws the
+% curved stem.
% \begin{macrocode}
\def\@VARC(#1)(#2){%
\ifdim\@tdA>\z@
@@ -2955,34 +3273,34 @@ README.txt and curve2e-v161.sty.
\@tdD=\DeltaGradi\p@ \@tdD=57.29578\@tdD \Numero\DeltaGradi\@tdD
\@tdD=\if\Segno--\fi\@gradi\p@ \Numero\@tempa\@tdD
\DirFromAngle\@tempa to\@Dir
-\MultVect\@V by\@Dir to\@sPun% corrects the end point
+\Multvect{\@V}{\@Dir}\@sPun% corrects the end point
\edef\@tempA{\if\Segno--\fi1}%
-\MultVect\@sPun by 0,\@tempA to\@vPun
+\Multvect{\@sPun}{0,\@tempA}\@vPun
\DirOfVect\@vPun to\@Dir
\AddVect\@sPun and #1 to \@sPun
\GetCoord(\@sPun)\@tdX\@tdY
\@tdD\if\Segno--\fi\DeltaGradi\p@
\@tdD=.5\@tdD \Numero\@tempB\@tdD
\DirFromAngle\@tempB to\@Dird
-\MultVect\@Dir by*\@Dird to\@Dir
+\Multvect{\@Dir}*{\@Dird}\@Dir
\GetCoord(\@Dir)\@xnum\@ynum
-\put(\@tdX,\@tdY){\vector(\@xnum,\@ynum){0}}% end point arrowt ip
+\put(\@tdX,\@tdY){\vector(\@xnum,\@ynum){0}}% end point arrow tip
\@tdE =\DeltaGradi\p@
\advance\@tdA -2\@tdE \Numero\@gradi\@tdA
\CopyVect#1to\@Cent \GetCoord(\@pPun)\@pPunX\@pPunY
\SubVect\@Cent from\@pPun to \@V
\edef\@tempa{\if\Segno-\else-\fi\@ne}%
-\MultVect\@V by0,\@tempa to\@vPun
+\Multvect{\@V}{0,\@tempa}\@vPun
\@tdE\if\Segno--\fi\DeltaGradi\p@
\Numero\@tempB{0.5\@tdE}%
\DirFromAngle\@tempB to\@Dird
-\MultVect\@vPun by\@Dird to\@vPun% corrects the starting point
+\Multvect{\@vPun}{\@Dird}\@vPun% corrects the starting point
\DirOfVect\@vPun to\@Dir\GetCoord(\@Dir)\@xnum\@ynum
\put(\@pPunX,\@pPunY){\vector(\@xnum,\@ynum){0}}% starting point arrow tip
\edef\@tempa{\if\Segno--\fi\DeltaGradi}%
\DirFromAngle\@tempa to \@Dir
\SubVect\@Cent from\@pPun to\@V
-\MultVect\@V by\@Dir to\@V
+\Multvect{\@V}{\@Dir}\@V
\AddVect\@Cent and\@V to\@pPun
\GetCoord(\@pPun)\@pPunX\@pPunY
\@@Arc
@@ -2990,20 +3308,21 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% It must be understood that the curved vectors, the above circular arcs
-% terminated with an arrow tip at one or both ends, have a nice appearance
-% only if the arc radius is not too small, or, said in a different way, if
-% the arrow tip angular width does not exceed a maximum of a dozen degrees
-% (and this is probably already too much); the tip does not get curved as
-% the arc is, therefore there is not a smooth transition from the curved
-% stem and the straight arrow tip if this one is large in comparison to the arc radius.
+% terminated with an arrow tip at one or both ends, have a nice
+% appearance only if the arc radius is not too small, or, said in a
+% different way, if the arrow tip angular width does not exceed a
+% maximum of a dozen degrees (and this is probably already too much); the
+% tip does not get curved as the arc is, therefore there is not a smooth
+% transition from the curved stem and the straight arrow tip if this one
+% is large in comparison to the arc radius.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{General curves}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The most used method to draw curved lines with computer programs is to
% connect several simple curved lines, general ``arcs'', one to another
-% generally maintaining the same tangent at the junction. If the direction
-% changes we are dealing with a cusp.
+% generally maintaining the same tangent at the junction. If the
+% direction changes we are dealing with a cusp.
%
% The simple general arcs that are directly implemented in every program
% that display typeset documents, are those drawn with the parametric
@@ -3024,31 +3343,31 @@ README.txt and curve2e-v161.sty.
% takes off with a direction that points to the next point, while it
% lands on the destination point with a direction coming from the
% penultimate point; moreover, when $t$ varies from 0 to 1, the curve arc
-% is completely contained within the convex hull formed by the polygon that
-% has the spline points as vertices.
+% is completely contained within the convex hull formed by the polygon
+% that has the spline points as vertices.
%
% Last but not least first order splines implement just straight lines
% and they are out of question for what concerns maxima, minima,
% inflection points and the like. Quadratic splines draw just
% parabolas, therefore they draw arcs that have the concavity just on one
% side of the path; therefore no inflection points. Cubic splines are
-% extremely versatile and can draw lines with maxima, minima and inflection
-% points. Virtually a multi-arc curve may be drawn by a set of cubic
-% splines as well as a set of quadratic splines (fonts are a good example:
-% Adobe Type~1 fonts have their contours described by cubic splines, while
-% TrueType fonts have their contours described with quadratic splines;
-% with a naked eye it is impossible to notice the difference).
+% extremely versatile and can draw lines with maxima, minima and
+% inflection points. Virtually a multi-arc curve may be drawn by a set of
+% cubic splines as well as a set of quadratic splines (fonts are a good
+% example: Adobe Type~1 fonts have their contours described by cubic
+% splines, while TrueType fonts have their contours described with
+% quadratic splines; at naked eye it is impossible to notice the difference).
%
% Each program that processes the file to be displayed is capable of
% drawing first order Bézier splines (segments) and third order Bézier
-% splines, for no other reason, at least, because they have to draw vector
-% fonts whose contours are described by Bézier splines; sometimes they
-% have also the program commands to draw second order Bézier splines, but
-% not always these machine code routines are available to the user for
-% general use. For what concerns |pdftex|, |xetex| and |luatex|, they have
-% the user commands for straight lines and cubic arcs. At least with
-% |pdftex|, quadratic arcs must be simulated with a clever use of third
-% order Bézier splines.
+% splines, for no other reason, at least, because they have to draw
+% vector fonts whose contours are described by Bézier splines; sometimes
+% they have also the program commands to draw second order Bézier
+% splines, but not always these machine code routines are available to
+% the user for general use. For what concerns |pdftex|, |xetex| and
+% |luatex|, they have the user commands for straight lines and cubic
+% arcs. At least with |pdftex|, quadratic arcs must be simulated with a
+% clever use of third order Bézier splines.
%
% Notice that \LaTeXe\ environment |picture| by itself is capable of
% drawing both cubic and quadratic Bézier splines as single arcs; but it
@@ -3068,10 +3387,10 @@ README.txt and curve2e-v161.sty.
% Now we define a macro for tracing a general, not necessarily circular,
% arc. This macro resorts to a general triplet of macros with which it is
% possible to draw almost anything. It traces a single Bézier spline from
-% a first point where the tangent direction is specified to a second point
-% where again it is specified the tangent direction. Actually this is a
-% special (possibly useless) case where the general |\curve| macro of
-% |pict2e| could do the same or a better job. In any case\dots
+% a first point where the tangent direction is specified to a second
+% point where again it is specified the tangent direction. Actually this
+% is a special (possibly useless) case where the general |\curve| macro
+% of |pict2e| could do the same or a better job. In any case\dots
% \begin{macrocode}
\def\CurveBetween#1and#2WithDirs#3and#4{%
\StartCurveAt#1WithDir{#3}\relax
@@ -3085,30 +3404,31 @@ README.txt and curve2e-v161.sty.
% In any case the directions specified with the direction arguments, both
% here and with the more general macro|\Curve|, the angle between the
% indicated tangent and the arc chord may give raise to some little
-% problems when they are very close to 90° in absolute value. Some control
-% is exercised on these values, but some tests might fail if the angle
-% derives from computations; this is a good place to use polar forms for
-% the direction vectors.
-%
-% The first macro initializes the drawing and the third one strokes it; the
-% real work is done by the second macro. The first macro initializes the
-% drawing but also memorises the starting direction; the second macro
+% problems when they are very close to 90° in absolute value. Some
+% control is exercised on these values, but some tests might fail if the
+% angle derives from computations; this is a good place to use polar
+% forms for the direction vectors.
+%
+% The first macro initialises the drawing and the third one strokes it;
+% the real work is done by the second macro. The first macro initialises
+% the drawing but also memorises the starting direction; the second macro
% traces the current Bézier arc reaching the destination point with the
% specified direction, but memorises this direction as the one with which
% to start the next arc. The overall curve is then always smooth because
% the various Bézier arcs join with continuous tangents. If a cusp is
% desired it is necessary to change the memorised direction at the end of
% the arc before the cusp and before the start of the next arc; this is
-% better than stroking the curve before the cusp and then starting another
-% curve, because the curve joining point at the cusp is not stroked with
-% the same command, therefore we get two superimposed curve terminations.
-% We therefore need another small macro |\ChangeDir| to perform this task.
-%
-% It is necessary to recall that the direction vectors point to the control
-% points, but they do not define the control points themselves; they are
-% just directions, or, even better, they are simply vectors with the
-% desired direction; the macros themselves provide to the normalisation
-% and memorization.
+% better than stroking the curve before the cusp and then starting
+% another curve, because the curve joining point at the cusp is not
+% stroked with the same command, therefore we get two superimposed curve
+% terminations. We therefore need another small macro |\ChangeDir| to
+% perform this task.
+%
+% It is necessary to recall that the direction vectors point to the
+% control points, but they do not define the control points themselves;
+% they are just directions, or, even better, they are simply vectors with
+% the desired direction; the macros themselves provide to the
+% normalisation and memorisation.
%
% The next desirable feature would be to design a macro that accepts
% optional node directions and computes the missing ones according to a
@@ -3120,8 +3440,8 @@ README.txt and curve2e-v161.sty.
% For the moment we refrain from automatic direction computation, but we
% design the general macro as if directions were optional.
%
-% Here we begin with the first initialising macro that receives with the
-% first argument the starting point and with the second argument the
+% Here we begin with the first initialising macro that receives with the
+% first argument the starting point and with the second argument the
% direction of the tangent (not necessarily normalised to a unit vector)
% \begin{macrocode}
\def\StartCurveAt#1WithDir#2{%
@@ -3134,7 +3454,7 @@ README.txt and curve2e-v161.sty.
\DirOfVect\@Dzero to\@Dzero
\ignorespaces}
% \end{macrocode}
-% And this re-initializes the direction to create a cusp:
+% And this re-initialises the direction to create a cusp:
% \begin{macrocode}
\def\ChangeDir<#1>{%
\GetCoord(#1)\@tempa\@tempb
@@ -3144,31 +3464,31 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
%
% The next macros are the finishing ones; the first strokes the whole
-% curve, while the second fills the (closed) curve with the default color;
-% both close the group that was opened with |\StartCurve|. The third macro
-% is explained in a while; we anticipate it is functional to chose between
-% the first two macros when a star is possibly used to switch between
-% stroking and filling.
+% curve, while the second fills the (closed) curve with the default
+% color; both close the group that was opened with |\StartCurve|. The
+% third macro is explained in a while; we anticipate it is functional to
+% chose between the first two macros when a star is possibly used to
+% switch between stroking and filling.
% \begin{macrocode}
\def\CurveFinish{\strokepath\endgroup\ignorespaces}%
\def\FillCurve{\fillpath\endgroup\ignorespaces}
\def\CurveEnd{\fillstroke\endgroup\ignorespaces}
% \end{macrocode}
%
-% In order to draw the internal arcs it would be desirable to have a single
-% macro that, given the destination point, computes the control points that
-% produce a cubic Bézier spline that joins the starting point with the
-% destination point in the best possible way. The problem is strongly ill
-% defined and has an infinity of solutions; here we give two solutions:
-% $(a)$ a supposedly smart one that resorts to osculating circles and
-% requires only the direction at the destination point; and $(b)$ a less
-% smart solution that requires the control points to be specified in a
-% certain format.
-%
-% We start with solution $(b)$, |\CbezierTo|, the code of which is simpler
-% than that of solution $(a)$; then we will produce the solution $(a)$,
-% |\CurveTo|, that will become the main building block for a general path
-% construction macro, |\Curve|.
+% In order to draw the internal arcs it would be desirable to have a
+% single macro that, given the destination point, computes the control
+% points that produce a cubic Bézier spline that joins the starting point
+% with the destination point in the best possible way. The problem is
+% strongly ill defined and has an infinity of solutions; here we give two
+% solutions: $(a)$ a supposedly smart one that resorts to osculating
+% circles and requires only the direction at the destination point; and
+% $(b)$ a less smart solution that requires the control points to be
+% specified in a certain format.
+%
+% We start with solution $(b)$, |\CbezierTo|, the code of which is
+% simpler than that of solution $(a)$; then we will produce the solution
+% $(a)$, |\CurveTo|, that will become the main building block for a
+% general path construction macro, |\Curve|.
%
% The “naïve” macro |\CBezierTo| simply uses the previous point direction
% saved in |\@Dzero| as a unit vector by the starting macro; specifies
@@ -3176,8 +3496,8 @@ README.txt and curve2e-v161.sty.
% starting point, the destination point direction that will save also for
% the next arc-drawing macro as a unit vector, and the distance of the
% second control point from the destination point along this last
-% direction. Both distances must be positive possibly fractional numbers.
-% The syntax therefore is the follwing:
+% direction. Both distances must be positive possibly fractional
+% numbers. The syntax therefore is the following:
%\begin{flushleft}
%\cs{CbezierTo}\meta{end
% point}|WithDir|\meta{direction}|AndDists|\meta{$K_0$}|And|\meta{$K_1$}
@@ -3192,8 +3512,8 @@ README.txt and curve2e-v161.sty.
% while if it is a macro name (containing the desired fractional or
% integer value) there is no need for braces.
%
-% This macro uses the input information to use the internal |pict2e| macro
-% |\pIIe@curveto| with the proper arguments, and to save the final
+% This macro uses the input information to use the internal |pict2e|
+% macro |\pIIe@curveto| with the proper arguments, and to save the final
% direction into the same |\@Dzero| macro for successive use of other
% arc-drawing macros.
% \begin{macrocode}
@@ -3214,9 +3534,9 @@ README.txt and curve2e-v161.sty.
\ignorespaces}%
% \end{macrocode}
%
-% With this building block it is not difficult to set up a macro that draws
-% a Bézier arc between two given points, similarly to the other macro
-% |\CurveBetween| previously described and defined here:
+% With this building block it is not difficult to set up a macro that
+% draws a Bézier arc between two given points, similarly to the other
+% macro |\CurveBetween| previously described and defined here:
%
% \begin{macrocode}
\def\CbezierBetween#1And#2WithDirs#3And#4UsingDists#5And#6{%
@@ -3227,15 +3547,15 @@ README.txt and curve2e-v161.sty.
%
% An example of use is shown in figure~\ref{fig:Cbezier} on
% page~\pageref{fig:Cbezier}; notice that the tangents at the end points
-% are the same for the black curve drawn with |\CurveBetween| and the five
-% red curves drawn with |\CbezierBetween|; the five red curves differ only
-% for the distance of their control point $C_0$ from the starting point;
-% the differences are remarkable and the topmost curve even presents a
-% slight inflection close to the end point. These effects cannot be
-% obtained with the ``smarter'' macro |\CurveBetween|. But certainly this
-% simpler macro is more difficult to use because the distances of the
-% control points are difficult to estimate and require a number of
-% cut-and-try experiments.
+% are the same for the black curve drawn with |\CurveBetween| and the
+% five red curves drawn with |\CbezierBetween|; the five red curves
+% differ only for the distance of their control point $C_0$ from the
+% starting point; the differences are remarkable and the topmost curve
+% even presents a slight inflection close to the end point. These effects
+% cannot be obtained with the “smarter” macro |\CurveBetween|. But
+% certainly this simpler macro is more difficult to use because the
+% distances of the control points are difficult to estimate and require a
+% number of cut-and-try experiments.
%
%
% The ``smarter'' curve macro comes next; it is supposed to determine the
@@ -3243,36 +3563,36 @@ README.txt and curve2e-v161.sty.
% specified direction to the next point with another specified direction
% (final node).
% Since the control points are along the specified directions, it is
-% necessary to determine the distances from the adjacent curve nodes. This
-% must work correctly even if nodes and directions imply an inflection
-% point somewhere along the arc.
+% necessary to determine the distances from the adjacent curve nodes.
+% This must work correctly even if nodes and directions imply an
+% inflection point somewhere along the arc.
%
-% The strategy we devised consists in determining each control point as if
-% it were the control point of a circular arc, precisely an arc of an
+% The strategy we devised consists in determining each control point as
+% if it were the control point of a circular arc, precisely an arc of an
% osculating circle, i.e. a circle tangent to the curve at that node. The
% ambiguity of the stated problem may be solved by establishing that the
-% chord of the osculating circle has the same direction as the chord of the
-% arc being drawn, and that the curve chord is divided into two equal parts
-% each of which should be interpreted as half the chord of the osculating
-% circle.
-%
-% This makes the algorithm a little rigid; sometimes the path drawn is very
-% pleasant, while in other circumstances the determined curvatures are too
-% large or too small. We therefore add some optional information that lets
-% us have some control over the curvatures; the idea is based on the
-% concept of \emph{tension}, similar but not identical to the one used in
-% the drawing programs \MF\ and \MP. We add to the direction information,
-% with which the control nodes of the osculating circle arcs are
-% determined, a scaling factor that should be intuitively related to the
-% tension of the arc (actually, since the tension of the ‘rope’ is high
-% when this parameter is low, probably a name such as ‘looseness’ would be
-% better suited): the smaller this number, the closer the arc resembles
-% a straight line as a rope subjected to a high tension; value zero is
-% allowed, while a value of 4 is close to ``infinity'' and turns a quarter
-% circle into a line with an unusual loop; a value of 2 turns a quarter
-% circle almost into a polygonal line with rounded corner. Therefore these
-% tension factors should be used only for fine tuning the arcs, not when
-% a path is drawn for the first time.
+% chord of the osculating circle has the same direction as the chord of
+% the arc being drawn, and that the curve chord is divided into two equal
+% parts each of which should be interpreted as half the chord of the
+% osculating circle.
+%
+% This makes the algorithm a little rigid; sometimes the path drawn is
+% very pleasant, while in other circumstances the determined curvatures
+% are too large or too small. We therefore add some optional information
+% that lets us have some control over the curvatures; the idea is based
+% on the concept of \emph{tension}, similar but not identical to the one
+% used in the drawing programs \MF\ and \MP. We add to the direction
+% information, with which the control nodes of the osculating circle arcs
+% are determined, a scaling factor that should be intuitively related to
+% the tension of the arc (actually, since the tension of the ‘rope’ is
+% high when this parameter is low, probably a name such as ‘looseness’
+% would be better suited): the smaller this number, the closer the arc
+% resembles a straight line as a rope subjected to a high tension; value
+% zero is allowed, while a value of 4 is close to ``infinity'' and turns
+% a quarter circle into a line with an unusual loop; a value of 2 turns a
+% quarter circle almost into a polygonal line with rounded vertices
+%. Therefore these tension factors should be used only for fine tuning
+% the arcs, not when a path is drawn for the first time.
%
% We devised a syntax for specifying direction and tensions:
%\begin{flushleft}
@@ -3284,8 +3604,8 @@ README.txt and curve2e-v161.sty.
% information contained from the semicolon (included) to the rest of the
% specification is optional; if it is present, the \emph{tension factors}
% is simply a comma separated pair of fractional or integer numbers that
-% represent respectively the tension at the starting or the ending node of
-% a path arc.
+% represent respectively the tension at the starting or the ending node
+% of a path arc.
%
% We therefore need a macro to extract the mandatory and optional parts:
% \begin{macrocode}
@@ -3306,8 +3626,8 @@ README.txt and curve2e-v161.sty.
%\end{align}
%\end{subequations}
%
-% We therefore start with getting the points and directions and calculating
-% the chord and its direction:
+% We therefore start with getting the points and directions and
+% calculating the chord and its direction:
% \begin{macrocode}
\def\CurveTo#1WithDir#2{%
\def\@Tuno{1}\def\@Tzero{1}\relax
@@ -3319,8 +3639,8 @@ README.txt and curve2e-v161.sty.
% Then we rotate everything about the starting point so as to bring the
% chord on the real axis
% \begin{macrocode}
-\MultVect\@Dzero by*\@DirChord to \@Dpzero
-\MultVect\@Duno by*\@DirChord to \@Dpuno
+\Multvect{\@Dzero}*{\@DirChord}\@Dpzero
+\Multvect{\@Duno}*{\@DirChord}\@Dpuno
\GetCoord(\@Dpzero)\@DXpzero\@DYpzero
\GetCoord(\@Dpuno)\@DXpuno\@DYpuno
\DivideFN\@Chord by2 to\@semichord
@@ -3347,8 +3667,8 @@ README.txt and curve2e-v161.sty.
\fi
% \end{macrocode}
% The distances we are looking for are positive generally fractional
-% numbers; so if the components are negative, we take the absolute values.
-% Eventually we determine the absolute control point coordinates.
+% numbers; so if the components are negative, we take the absolute
+% values. Eventually we determine the absolute control point coordinates.
% \begin{macrocode}
\unless\ifdim\@DXpzero\p@=\z@
\unless\ifdim\@DYpzero\p@=\z@
@@ -3403,9 +3723,9 @@ README.txt and curve2e-v161.sty.
{\@XCPuno\unitlength}{\@YCPuno\unitlength}%
{\@XPuno\unitlength}{\@YPuno\unitlength}\egroup
% \end{macrocode}
-% It does not have to stroke the curve because other Bézier splines might
-% still be added to the path. On the opposite it memorises the final point
-% as the initial point of the next spline
+% It does not have to stroke the curve because other Bézier splines
+% might still be added to the path. On the opposite it memorises the
+% final point as the initial point of the next spline
% \begin{macrocode}
\CopyVect\@Puno to\@Pzero
\CopyVect\@Duno to\@Dzero
@@ -3415,23 +3735,25 @@ README.txt and curve2e-v161.sty.
%
% We finally define the overall |\Curve| macro that has two flavours:
% starred and unstarred; the former fills the curve path with the locally
-% selected color, while the latter just strokes the path. Both recursively
-% examine an arbitrary list of nodes and directions; node coordinates are
-% grouped within regular parentheses while direction components are grouped within angle brackets. The first call of the macro initialises the drawing
-% process and checks for the next node and direction; if a second node is
-% missing, it issues a warning message and does not draw anything. It does
-% not check for a change in direction, because it would be meaningless at
-% the beginning of a curve. The second macro defines the path to the next
-% point and checks for another node; if the next list item is a square
-% bracket delimited argument, it interprets it as a change of direction,
-% while if it is another parenthesis delimited argument it interprets it as
-% a new node-direction specification; if the node and direction list is
-% terminated, it issues the stroking or filling command through
-% |\CurveEnd|, and exits the recursive process. The |\CurveEnd| control
-% sequence has a different meaning depending on the fact that the main
-% macro was starred or unstarred. The |@ChangeDir| macro is just an
-% interface to execute the regular |\ChangeDir| macro, but also for
-% recursing again by recalling |\@Curve|.
+% selected color, while the latter just strokes the path. Both
+% recursively examine an arbitrary list of nodes and directions; node
+% coordinates are grouped within regular parentheses while direction
+% components are grouped within angle brackets. The first call of the
+% macro initialises the drawing process and checks for the next node and
+% direction; if a second node is missing, it issues a warning message and
+% does not draw anything. It does not check for a change in direction,
+% because it would be meaningless at the beginning of a curve. The second
+% macro defines the path to the next point and checks for another node;
+% if the next list item is a square bracket delimited argument, it
+% interprets it as a change of direction, while if it is another
+% parenthesis delimited argument it interprets it as a new node-direction
+% specification; if the node and direction list is terminated, it issues
+% the stroking or filling command through |\CurveEnd|, and exits the
+% recursive process. The |\CurveEnd| control sequence has a different
+% meaning depending on the fact that the main macro was starred or
+% unstarred. The |@ChangeDir| macro is just an interface to execute the
+% regular |\ChangeDir| macro, but also for recursing again by recalling
+% |\@Curve|.
% \begin{macrocode}
\def\Curve{\@ifstar{\let\fillstroke\fillpath\Curve@}%
{\let\fillstroke\strokepath\Curve@}}
@@ -3451,47 +3773,48 @@ README.txt and curve2e-v161.sty.
%
% As a concluding remark, please notice that the |\Curve| macro is
% certainly the most comfortable to use, but it is sort of frozen in its
-% possibilities. The user may certainly use the |\StartCurve|, |\CurveTo|,
-% |\ChangeDir|, and |\CurveFinish| or |\FillCurve| for a more versatile
-% set of drawing macros; evidently nobody forbids to exploit the full power
-% of the |\cbezier| original macro for cubic splines; we made available
-% macros |\CbezierTo| and the isolated arc macro |\CbezierBetween| in order
-% to use the general internal cubic Bézier splines in a more comfortable
-% way.
+% possibilities. The user may certainly use the |\StartCurve|,
+% |\CurveTo|, |\ChangeDir|, and |\CurveFinish| or |\FillCurve| for a
+% more versatile set of drawing macros; evidently nobody forbids to
+% exploit the full power of the |\cbezier| original macro for cubic
+% splines; we made available macros |\CbezierTo| and the isolated arc
+% macro |\CbezierBetween| in order to use the general internal cubic
+% Bézier splines in a more comfortable way.
%
% As it can be seen in figure~\ref{fig:sinewave} on
% page~\pageref{fig:sinewave} the two diagrams should approximately
% represent a sine wave. With Bézier curves, that resort on polynomials,
% it is impossible to represent a transcendental function, but it is only
-% possible to approximate it. It is evident that the approximation obtained
-% with full control on the control points requires less arcs and it is more
-% accurate than the approximation obtained with the recursive |\Curve|
-% macro; this macro requires almost two times as many pieces of information
-% in order to minimise the effects of the lack of control on the control
-% points, and even with this added information the macro approaches the
-% sine wave with less accuracy. At the same time for many applications the
-% |\Curve| recursive macro proves to be much easier to use than with single
-% arcs drawn with the |\CbezierBetween| macro.
+% possible to approximate it. It is evident that the approximation
+% obtained with full control on the control points requires less arcs and
+% it is more accurate than the approximation obtained with the recursive
+% |\Curve| macro; this macro requires almost two times as many pieces of
+% information in order to minimise the effects of the lack of control on
+% the control points, and even with this added information the macro
+% approaches the sine wave with less accuracy. At the same time for many
+% applications the |\Curve| recursive macro proves to be much easier to
+% use than with single arcs drawn with the |\CbezierBetween| macro.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \subsection{Quadratic splines}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% We want to create a recursive macro with the same properties as the above
-% described |\Curve| macro, but that uses quadratic splines; we call it
-% |\Qurve| so that the initial macro name letter reminds us of the nature
-% of the splines being used. For the rest they have an almost identical
-% syntax; with quadratic spline it is not possible to specify the distance
-% of the control points from the extrema, since quadratic spline have just
-% one control point that must lay at the intersection of the two tangent
-% directions therefore with quadratic splines the tangents at each point
-% cannot have the optional part that starts with a semicolon. The syntax,
-% therefore, is just:
+% We want to create a recursive macro with the same properties as the
+% above described |\Curve| macro, but that uses quadratic splines; we
+% call it |\Qurve| so that the initial macro name letter reminds us of
+% the nature of the splines being used. For the rest they have an almost
+% identical syntax; with quadratic splines it is not possible to specify
+% the distance of the control points from the extrema, since quadratic
+% splines have just one control point that must lay at the intersection
+% of the two tangent directions; therefore with quadratic splines the
+% tangents at each point cannot have the optional part that starts with a
+% semicolon. The syntax, therefore, is just:
%\begin{flushleft}
%\cs{Qurve}\parg{first point}\aarg{direction}...\parg{any point}\aarg{direction}...\parg{last point}\aarg{direction}
%\end{flushleft}
-% As with |\Curve|, also with |\Qurve| there is no limitation on the number
-% of points, except for the computer memory size; it is advisable not to
-% use many arcs otherwise it might become very difficult to find errors.
+% As with |\Curve|, also with |\Qurve| there is no limitation on the
+% number of points, except for the computer memory size; it is advisable
+% not to use many arcs otherwise it might become very difficult to find
+% errors.
%
% The first macros that set up the recursion are very similar to those we
% wrote for |\Curve|:
@@ -3518,12 +3841,12 @@ README.txt and curve2e-v161.sty.
% macros |\StartCurveAt|, |\QurveTo|, |\ChangeDir| and |\CurveFinish|
% (or |\FillCurve|), with their respective syntax, in such a way that a
% long list % of node-direction specifications passed to |\Qurve| may be
-% split into shorter input lines in order to edit the input data in a more
-% comfortable way.
+% split into shorter input lines in order to edit the input data in a
+% more comfortable way.
%
%
-% The macro that does everything is |\QurveTo|. it starts with reading its
-% arguments received through the calling macro |\@Qurve|
+% The macro that does everything is |\QurveTo|. it starts with reading
+% its arguments received through the calling macro |\@Qurve|
% \begin{macrocode}
\def\QurveTo#1WithDir#2{%
\edef\@Puno{#1}\DirOfVect#2to\@Duno\bgroup
@@ -3531,13 +3854,13 @@ README.txt and curve2e-v161.sty.
% \end{macrocode}
% It verifies if |\@Dpzero| and |\@Dpuno|, the directions at the two
% extrema of the arc, are parallel or anti-parallel by taking their
-% ``scalar'' product (|\@Dpzero| times |\@Dpuno*|); if the imaginary
+% ``scalar'' product (|\@Dpzero| times |\@Dpuno*|); if the imaginary
% component of the scalar product vanishes the two directions are
% parallel; in this case we produce an error message, but we continue by
% skipping this arc destination point; evidently the drawing will not be
% the desired one, but the job should not abort.
% \begin{macrocode}
-\MultVect\@Dzero by*\@Duno to \@Scalar
+\Multvect{\@Dzero}*{\@Duno}\@Scalar
\YpartOfVect\@Scalar to \@YScalar
\ifdim\@YScalar\p@=\z@
\PackageWarning{curve2e}%
@@ -3554,15 +3877,16 @@ README.txt and curve2e-v161.sty.
% vectors, although the user can use the vector specifications that are
% more understandable to him/her:
% \begin{macrocode}
-\MultVect\@Dzero by*\@DirChord to \@Dpzero
-\MultVect\@Duno by*\@DirChord to \@Dpuno
+\Multvect{\@Dzero}*{\@DirChord}\@Dpzero
+\Multvect{\@Duno}*{\@DirChord}\@Dpuno
\GetCoord(\@Dpzero)\@DXpzero\@DYpzero
\GetCoord(\@Dpuno)\@DXpuno\@DYpuno
% \end{macrocode}
-% We check if the two directions point to the same half plane; this implies
-% that these rotated directions point to different sides of the chord
-% vector; all this is equivalent that the two direction Y components have
-% opposite signs, so that their product is strictly negative, while the two
+% We check if the two directions point to the same half plane; this
+% implies that these rotated directions point to different sides of the
+% chord vector; all this is equivalent that the two direction Y
+% components have opposite signs, so that their product is strictly
+% negative, while the two
% X components product is not negative.
% \begin{macrocode}
\MultiplyFN\@DXpzero by\@DXpuno to\@XXD
@@ -3581,19 +3905,20 @@ README.txt and curve2e-v161.sty.
% the expanded input information into new macros that have more explicit
% names: macros stating wit `S' denote the sine of the direction angle,
% while those starting with `C' denote the cosine of that angle. We will
-% use these expanded definitions as we know we are working with the actual
-% values. These directions are those relative to the arc chord.
+% use these expanded definitions as we know we are working with the
+% actual values. These directions are those relative to the arc chord.
% \begin{macrocode}
\edef\@CDzero{\@DXpzero}\relax
\edef\@SDzero{\@DYpzero}\relax
\edef\@CDuno{\@DXpuno}\relax
\edef\@SDuno{\@DYpuno}\relax
% \end{macrocode}
-% Suppose we write the parametric equations of a straight line that departs
-% from the beginning of the chord with direction angle $\phi_0$ and the
-% corresponding equation of the straight line departing from the end of the
-% chord (of length $c$) with direction angle $\phi_1$. We have to find the
-% coordinates of the intersection point of these two straight lines.
+% Suppose we write the parametric equations of a straight line that
+% departs from the beginning of the chord with direction angle $\phi_0$
+% and the corresponding equation of the straight line departing from the
+% end of the chord (of length $c$) with direction angle $\phi_1$. We have
+% to find the coordinates of the intersection point of these two straight
+% lines.
%\begin{subequations}
%\begin{align}
% t \cos\phi_0 - s \cos\phi_1 &= c\\
@@ -3635,16 +3960,16 @@ README.txt and curve2e-v161.sty.
\GetCoord(\@Puno)\@XPuno\@YPuno
\GetCoord(\@CP)\@XCP\@YCP
% \end{macrocode}
-% We have now the coordinates of the two extrema point of the quadratic arc
-% and of the control point. Keeping in mind that the symbols $P_0$, $P_1$
-% and $C$ denote geometrical points but also their coordinates as ordered
-% pairs of real numbers (i.e. they are complex numbers) we have to
-% determine the parameters of a cubic spline that with suitable values
-% get simplifications in its parametric equation so that it becomes a
-% second degree function instead of a third degree one. It is possible,
-% in spite of the fact the it appears impossible that e cubic form becomes
-% a quadratic one; we should determine the values of $P_a$ and $P_b$ such
-% that:
+% We have now the coordinates of the two extrema point of the quadratic
+% arc and of the control point. Keeping in mind that the symbols $P_0$,
+% $P_1$ and $C$ denote geometrical points but also their coordinates as
+% ordered pairs of real numbers (i.e. they are complex numbers) we have
+% to determine the parameters of a cubic spline that with suitable
+% values get simplifications in its parametric equation so that it
+% becomes a second degree function instead of a third degree one. It is
+% possible, in spite of the fact the it appears impossible that e cubic
+% form becomes a quadratic one; we should determine the values of $P_a$
+% and $P_b$ such that:
%\[
% P_0(1-t)^3 +3P_a(1-t)^2t +3P_b(1-t)t^2 +P_1t^3
%\]
@@ -3686,8 +4011,8 @@ README.txt and curve2e-v161.sty.
%
% An example of usage is shown at the left in
% figure~\ref{fig:quadratic-arcs}\footnote{The commands \cs{legenda},
-% \cs{Pall} and \cs{Zbox} are specifically defined in the preamble of this
-% document; they must be used within a \texttt{picture} environment.
+% \cs{Pall} and \cs{Zbox} are specifically defined in the preamble of
+% this document; they must be used within a \texttt{picture} environment.
% \cs{legenda} draws a framed legend made up of a single (short) math
% formula; \cs{Pall} is just a shorthand to put a filled small circle at a
% specified position' \cs{Zbox} puts a symbol in math mode a little
@@ -3715,22 +4040,22 @@ README.txt and curve2e-v161.sty.
% cubic arcs; the difference is easily seen even without using measuring
% instruments.
%
-% With quadratic arcs we decided to avoid defining specific macros similar
-% to |\CurveBetween| and |\CbezierBetween|; the first macro would not save
-% any typing to the operator; furthermore it may be questionable if it was
-% really useful even with cubic splines; the second macro with quadratic
-% arcs is meaningless, since with quadratic arcs there is just one control
-% point and there is no choice on its position.
+% With quadratic arcs we decided to avoid defining specific macros
+% similar to |\CurveBetween| and |\CbezierBetween|; the first macro would
+% not save any typing to the operator; furthermore it may be questionable
+% if it was really useful even with cubic splines; the second macro with
+% quadratic arcs is meaningless, since with quadratic arcs there is just
+% one control point and there is no choice on its position.
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Conclusion}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% I believe that the set of new macros provided by this package can really
-% help the user to draw his/her diagrams with more agility; it will be the
-% accumulated experience to decide if this is true.
+% I believe that the set of new macros provided by this package can
+% really help the user to draw his/her diagrams with more agility; it
+% will be the accumulated experience to decide if this is true.
%
% As a personal experience we found very comfortable to draw ellipses and
-% to define macros to draw not only such shapes or filled elliptical
+% to define macros to draw not only such shapes or filled elliptical
% areas, but also to create “legends” with coloured backgrounds and
% borders. But this is an application of the functionality implemented in
% this package.
@@ -3744,56 +4069,55 @@ README.txt and curve2e-v161.sty.
%<*readme>
%\fi
% \section{The \texttt{README.txt} file}
-%The following it the text that forms the contents of the |README.txt|
-% file that accompanies the package. We fount it handy to have it in
-% the documented source, because in this way certain informations
-% don't need to be repeated again and again in different files.
+% The following is the text that forms the contents of the |README.txt|
+% file that accompanies the package. We found it handy to have it in
+% the documented source, because in this way certain pieces of
+% information don't need to be repeated again and again in different
+% files.
% \begin{macrocode}
The package bundle curve2e is composed of the following files
curve2e.dtx
curve2e.pdf
README.txt
-curve2e-v161.sty
ltxdoc.cfg
-curve2e.dtx is the documented TeX source file of file curve2e.sty; you
-get both curve2e.sty and curve2e.pdf by running pdflatex on curve2e.dtx.
-The ltxdoc.cfg file customises the way the documentation file is typeset.
-This .cfg file is not subject to the LPPL licence.
+curve2e.dtx is the documented TeX source file of file curve2e.sty; you
+get curve2e.sty, curve2e.pdf, and curve2e-v161.sty by running pdflatex
+on curve2e.dtx. The ltxdoc.cfg file customises the way the documentation
+file is typeset. This specific .cfg file is part of the ltxdoc package functionality and it is supposed to be configured for each specifica other bundle.
README.txt, this file, contains general information.
-Curve2e-v161.sty contains the previous version of the package; see below
+Curve2e-v161.sty contains a previous version of the package; see below
why the older version might become necessary for the end user.
-Curve2e.sty is an extension of the package pict2e.sty which extends the
-standard picture LaTeX environment according to what Leslie Lamport
-specified in the second edition of his LaTeX manual.
+Curve2e.sty is an extension of the package pict2e.sty which extends the
+standard picture LaTeX environment according to what Leslie Lamport
+specified in the second edition of his LaTeX manual (1994).
-This further extension allows to draw lines and vectors with any non
-integer slope parameters, to draw dashed lines of any slope, to draw arcs
-and curved vectors, to draw curves where just the interpolating nodes are
-specified together with the slopes at the nodes; closed paths of any
-shape can be filled with color; all coordinates are treated as ordered
-pairs, i.e. 'complex numbers'; coordinates may be expressed also in
-polar form.
-Some of these features have been incorporated in the 2011 version of
-pict2e; therefore this package avoids any modification to the original
+This further extension curve2e.sty allows to draw lines and vectors
+with any non integer slope parameters, to draw dashed lines of any
+slope, to draw arcs and curved vectors, to draw curves where just
+the interpolating nodes are specified together with the slopes at
+the nodes; closed paths of any shape can be filled with color; all
+coordinates are treated as ordered pairs, i.e. 'complex numbers';
+coordinates may be expressed also in polar form.
+Some of these features have been incorporated in the 2011 version of
+pict2e; therefore this package avoids any modification to the original
pict2e commands.
-
-Curve2e now accepts polar coordinates in addition to the usual cartesian
-ones; several macros have been upgraded and a new macro for tracing cubic
-Bezier splines with their control nodes specified in polar form is
-available. The same applies to quadratic Bezier splines. The multiput
+Curve2e now accepts polar coordinates in addition to the usual cartesian
+ones; several macros have been upgraded and a new macro for tracing cubic
+Bezier splines with their control nodes specified in polar form is
+available. The same applies to quadratic Bezier splines. The \multiput
command has been completely modified in a backwards compatible way, as
-to manipulate the increment components.
+to manipulate the increment components in a configurable way.
This version solves a conflict with package eso-pic.
-This version of curve2e is almost fully compatible with pict2e dated
-2014/01/12 version 0.2z.
+This version of curve2e is almost fully compatible with pict2e dated
+2014/01/12 version 0.2z and later.
If you specify
@@ -3801,31 +4125,31 @@ If you specify
the package pict2e is automatically invoked with the specified options.
-The -almost compatible- frase is necessary to explain that this version
+The -almost compatible- frase is necessary to explain that this version
of curve2e uses some `functions' of the LaTeX3 language that were made
-available to the LaTeX developer by mid October 2018. Should the user
-have an older or a basic/incomplete installation of the TeX system,
-such L3 functions might not be available. This is why this
-package checks the presence of the developer interface; in case
-such interface is not available it falls back to the previous version
-renamed curve2e-v161.sty, which is part of this bundle, and that must
-not be renamed in any way. The compatibility mentioned above implies
-that the user macros remain the same, but their implementation requires
+available to the LaTeX developers by mid October 2018. Should the user
+have an older or a basic/incomplete installation of the TeX system,
+such L3 functions might not be available. This is why this
+package checks the presence of the developer interface; in case
+such interface is not available it falls back to the previous version
+renamed curve2e-v161.sty, which is part of this bundle, and that must
+not be renamed in any way. The compatibility mentioned above implies
+that the user macros remain the same, but their implementation requires
the L3 interface.
The package has the LPPL status of author maintained.
-According to the LPPL licence, you are entitled to modify this package,
+According to the LPPL licence, you are entitled to modify this package,
as long as you fulfil the few conditions set forth by the Licence.
-Nevertheless this package is an extension to the standard LaTeX package
-pict2e (2014). Therefore any change must be controlled on the
-parent package pict2e, so as to avoid redefining what has already been
-incorporated in the official package.
+Nevertheless this package is an extension to the standard LaTeX package
+pict2e (2014). Therefore any change must be controlled on the
+parent package pict2e, so as to avoid redefining or interfering with
+what is already contained in the official package.
-If you prefer sending me your modifications, as long as I will maintain
-this package, I will possibly include every (documented) suggestion or
-modification into this package and, of course, I will acknowledge your
+If you prefer sending me your modifications, as long as I will maintain
+this package, I will possibly include every (documented) suggestion or
+modification into this package and, of course, I will acknowledge your
contribution.
Claudio Beccari
@@ -3840,8 +4164,8 @@ claudio dot beccari at gmail dot com
%\fi
% \section{The fall-back package version \texttt{curve2e-v161}}
% this is the fall-back version of |curve2e-v161.sty| to which the main
-% file |curve2e.sty| falls back in case the interface package |xfp| is not
-% available.
+% file |curve2e.sty| falls back in case the interface package |xfp| is
+% not available.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[2016/01/01]
\ProvidesPackage{curve2e-v161}%
@@ -3889,17 +4213,17 @@ claudio dot beccari at gmail dot com
\countdef\NumA3254\countdef\NumB3252\relax
\GetCoord(#1)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttA
\GetCoord(#2)\@tA\@tB \MakeVectorFrom\@tA\@tB to\V@ttB
- \SubVect\V@ttA from\V@ttB to\V@ttC
- \ModOfVect\V@ttC to\DlineMod
- \DivideFN\DlineMod by#3 to\NumD
- \NumA\expandafter\Integer\NumD.??
- \ifodd\NumA\else\advance\NumA\@ne\fi
- \NumB=\NumA \divide\NumB\tw@
- \DividE\DlineMod\p@ by\NumA\p@ to\D@shMod
- \DividE\p@ by\NumA\p@ to \@tempa
- \MultVect\V@ttC by\@tempa,0 to\V@ttB
+ \SubVect\V@ttA from\V@ttB to\V@ttC
+ \ModOfVect\V@ttC to\DlineMod
+ \DivideFN\DlineMod by#3 to\NumD
+ \NumA\expandafter\Integer\NumD.??
+ \ifodd\NumA\else\advance\NumA\@ne\fi
+ \NumB=\NumA \divide\NumB\tw@
+ \DividE\DlineMod\p@ by\NumA\p@ to\D@shMod
+ \DividE\p@ by\NumA\p@ to \@tempa
+ \MultVect\V@ttC by\@tempa,0 to\V@ttB
\MultVect\V@ttB by 2,0 to\V@ttC
- \advance\NumB\@ne
+ \advance\NumB\@ne
\edef\@mpt{\noexpand\egroup
\noexpand\multiput(\V@ttA)(\V@ttC){\number\NumB}%
{\noexpand\LIne(\V@ttB)}}%
diff --git a/macros/latex/contrib/curve2e/curve2e.pdf b/macros/latex/contrib/curve2e/curve2e.pdf
index f20ef1d96c..5256df2081 100644
--- a/macros/latex/contrib/curve2e/curve2e.pdf
+++ b/macros/latex/contrib/curve2e/curve2e.pdf
Binary files differ
diff --git a/macros/latex/contrib/epstopdf-pkg/epstopdf.dtx b/macros/latex/contrib/epstopdf-pkg/epstopdf.dtx
index ef98cac49f..e5bd67ebcb 100644
--- a/macros/latex/contrib/epstopdf-pkg/epstopdf.dtx
+++ b/macros/latex/contrib/epstopdf-pkg/epstopdf.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% File: epstopdf.dtx
-% Version: 2019/11/27 v2.8
+% Version: 2019-11-30 v2.9
% Info: Conversion with epstopdf on the fly
%
% Copyright (C)
@@ -80,7 +80,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: epstopdf 2019/11/27 v2.8 Conversion with epstopdf on the fly (HO)}
+\Msg{* Package: epstopdf 2019-11-30 v2.9 Conversion with epstopdf on the fly (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -92,7 +92,7 @@
This is a generated file.
Project: epstopdf
-Version: 2019/11/27 v2.8
+Version: 2019-11-30 v2.9
Copyright (C)
2001, 2006-2010 Heiko Oberdiek
@@ -161,7 +161,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{epstopdf.drv}%
- [2019/11/27 v2.8 Conversion with epstopdf on the fly (HO)]%
+ [2019-11-30 v2.9 Conversion with epstopdf on the fly (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -174,7 +174,7 @@ and the derived files
% \GetFileInfo{epstopdf.drv}
%
% \title{The \xpackage{epstopdf} package}
-% \date{2019/11/27 v2.8}
+% \date{2019-11-30 v2.9}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/epstopdf/issues}}}
%
@@ -576,7 +576,7 @@ and the derived files
\fi
\expandafter\x\csname ver@epstopdf.sty\endcsname
\ProvidesPackage{epstopdf}%
- [2019/11/27 v2.8 Conversion with epstopdf on the fly (HO)]%
+ [2019-11-30 v2.9 Conversion with epstopdf on the fly (HO)]%
% \end{macrocode}
% Larger catcode set because of configuration files needed.
% \begin{macrocode}
@@ -729,7 +729,7 @@ and the derived files
\fi
\expandafter\x\csname ver@epstopdf-base.sty\endcsname
\ProvidesPackage{epstopdf-base}%
- [2019/11/27 v2.8 Base part for package epstopdf]%
+ [2019-11-30 v2.9 Base part for package epstopdf]%
% \end{macrocode}
%
% \subsubsection{Catcodes}
@@ -1236,7 +1236,6 @@ and the derived files
%
% \begin{macrocode}
\ifx\SetupKeyvalOptions\@undefined
-\InputIfFileExists{epstopdf-sys.cfg}{}{}
\else
% \end{macrocode}
%
@@ -1251,14 +1250,15 @@ and the derived files
% \end{macrocode}
%
% \begin{macrocode}
-\InputIfFileExists{epstopdf-sys.cfg}{}{}
-\InputIfFileExists{epstopdf.cfg}{}{}
+\fi
% \end{macrocode}
%
% \begin{macrocode}
-\fi
+\InputIfFileExists{epstopdf-sys.cfg}{}{}
+\InputIfFileExists{epstopdf.cfg}{}{}
% \end{macrocode}
%
+%
% \begin{macrocode}
\ETE@AtEnd%
%</base>
@@ -1667,9 +1667,12 @@ and the derived files
% The base package configured not to require additional
% packages if called with no arguments.
% \item
-% Code re-arranged to avoidP
+% Code re-arranged to avoid:
% \verb|\end occurred when \ifx on line 165 was incomplete| warning in dvi mode.
% \end{Version}
+% \begin{Version}{2019-11-30 v2.9}
+% \item Read the \verb|epstopdf.cfg| file even in the base code is being used.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/macros/latex/contrib/epstopdf-pkg/epstopdf.pdf b/macros/latex/contrib/epstopdf-pkg/epstopdf.pdf
index a840debbc1..662a8d3324 100644
--- a/macros/latex/contrib/epstopdf-pkg/epstopdf.pdf
+++ b/macros/latex/contrib/epstopdf-pkg/epstopdf.pdf
Binary files differ
diff --git a/macros/latex/contrib/kvoptions/README.md b/macros/latex/contrib/kvoptions/README.md
new file mode 100644
index 0000000000..b307ffc87f
--- /dev/null
+++ b/macros/latex/contrib/kvoptions/README.md
@@ -0,0 +1,7 @@
+# kvoptions
+
+kvoptions package for LaTeX
+
+This package is intended for package authors who want to
+use options in key value format for their package options.
+
diff --git a/macros/latex/contrib/kvoptions/kvoptions.dtx b/macros/latex/contrib/kvoptions/kvoptions.dtx
new file mode 100644
index 0000000000..8dd9701d47
--- /dev/null
+++ b/macros/latex/contrib/kvoptions/kvoptions.dtx
@@ -0,0 +1,3376 @@
+% \iffalse meta-comment
+%
+% File: kvoptions.dtx
+% Version: 2019/11/29 v3.13
+% Info: Key value format for package options
+%
+% Copyright (C)
+% 2004, 2006, 2007, 2009-2011 Heiko Oberdiek
+% 2016-2019 Oberdiek Package Support Group
+% https://github.com/ho-tex/kvoptions/issues
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+% https://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+% https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainers of this work are
+% Heiko Oberdiek and the Oberdiek Package Support Group
+% https://github.com/ho-tex/kvoptions/issues
+%
+% This work consists of the main source file kvoptions.dtx
+% and the derived files
+% kvoptions.sty, kvoptions.pdf, kvoptions.ins, kvoptions.drv,
+% kvoptions-patch.sty, example-mycolorsetup.sty,
+% kvoptions-test1.tex, kvoptions-test2.tex,
+% kvoptions-test3.tex, kvoptions-test4.tex,
+% kvoptions-test4.sty.
+%
+% Distribution:
+% CTAN:macros/latex/contrib/kvoptions/kvoptions.dtx
+% CTAN:macros/latex/contrib/kvoptions/kvoptions.pdf
+%
+% Unpacking:
+% (a) If kvoptions.ins is present:
+% tex kvoptions.ins
+% (b) Without kvoptions.ins:
+% tex kvoptions.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{kvoptions.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (a) If kvoptions.drv is present:
+% latex kvoptions.drv
+% (b) Without kvoptions.drv:
+% latex kvoptions.dtx; ...
+% The class ltxdoc loads the configuration file ltxdoc.cfg
+% if available. Here you can specify further options, e.g.
+% use A4 as paper format:
+% \PassOptionsToClass{a4paper}{article}
+%
+% Programm calls to get the documentation (example):
+% pdflatex kvoptions.dtx
+% makeindex -s gind.ist kvoptions.idx
+% pdflatex kvoptions.dtx
+% makeindex -s gind.ist kvoptions.idx
+% pdflatex kvoptions.dtx
+%
+% Installation:
+% TDS:tex/latex/kvoptions/kvoptions.sty
+% TDS:tex/latex/kvoptions/kvoptions-patch.sty
+% TDS:doc/latex/kvoptions/kvoptions.pdf
+% TDS:doc/latex/kvoptions/example-mycolorsetup.sty
+% TDS:source/latex/kvoptions/kvoptions.dtx
+%
+%<*ignore>
+\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase 0\ifx\install y1\fi\expandafter
+ \ifx\csname processbatchFile\endcsname\relax\else1\fi
+ \ifx\fmtname\x\else 1\fi\relax
+\else\csname fi\endcsname
+%</ignore>
+%<*install>
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO)}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\let\MetaPrefix\relax
+\preamble
+
+This is a generated file.
+
+Project: kvoptions
+Version: 2019/11/29 v3.13
+
+Copyright (C)
+ 2004, 2006, 2007, 2009-2011 Heiko Oberdiek
+ 2016-2019 Oberdiek Package Support Group
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any later
+version. This version of this license is in
+ https://www.latex-project.org/lppl/lppl-1-3c.txt
+and the latest version of this license is in
+ https://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainers of this work are
+Heiko Oberdiek and the Oberdiek Package Support Group
+https://github.com/ho-tex/kvoptions/issues
+
+
+This work consists of the main source file kvoptions.dtx
+and the derived files
+ kvoptions.sty, kvoptions.pdf, kvoptions.ins, kvoptions.drv,
+ kvoptions-patch.sty, example-mycolorsetup.sty,
+ kvoptions-test1.tex, kvoptions-test2.tex,
+ kvoptions-test3.tex, kvoptions-test4.tex,
+ kvoptions-test4.sty.
+
+\endpreamble
+\let\MetaPrefix\DoubleperCent
+
+\generate{%
+ \file{kvoptions.ins}{\from{kvoptions.dtx}{install}}%
+ \file{kvoptions.drv}{\from{kvoptions.dtx}{driver}}%
+ \usedir{tex/latex/kvoptions}%
+ \file{kvoptions.sty}{\from{kvoptions.dtx}{package}}%
+ \file{kvoptions-patch.sty}{\from{kvoptions.dtx}{patch}}%
+ \usedir{doc/latex/kvoptions}%
+ \file{example-mycolorsetup.sty}{\from{kvoptions.dtx}{example}}%
+% \usedir{doc/latex/kvoptions/test}%
+% \file{kvoptions-test1.tex}{\from{kvoptions.dtx}{test1}}%
+% \file{kvoptions-test2.tex}{\from{kvoptions.dtx}{test2}}%
+% \file{kvoptions-test3.tex}{\from{kvoptions.dtx}{test3}}%
+% \file{kvoptions-test4.tex}{\from{kvoptions.dtx}{test4}}%
+% \file{kvoptions-test4.sty}{\from{kvoptions.dtx}{test4pkg}}%
+ \nopreamble
+ \nopostamble
+% \usedir{source/latex/kvoptions/catalogue}%
+% \file{kvoptions.xml}{\from{kvoptions.dtx}{catalogue}}%
+}
+
+\catcode32=13\relax% active space
+\let =\space%
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* kvoptions.sty, kvoptions-patch.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `kvoptions.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+%<*driver>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{kvoptions.drv}%
+ [2019/11/29 v3.13 Key value format for package options (HO)]%
+\documentclass{ltxdoc}
+\usepackage{holtxdoc}[2011/11/22]
+\begin{document}
+ \DocInput{kvoptions.dtx}%
+\end{document}
+%</driver>
+% \fi
+%
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \GetFileInfo{kvoptions.drv}
+%
+% \title{The \xpackage{kvoptions} package}
+% \date{2019/11/29 v3.13}
+% \author{Heiko Oberdiek\thanks
+% {Please report any issues at \url{https://github.com/ho-tex/kvoptions/issues}}}
+%
+% \maketitle
+%
+% \begin{abstract}
+% This package is intended for package authors who want to
+% use options in key value format for their package options.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \def\M#1{\texttt{\{}\meta{#1}\texttt{\}}}
+% \def\O#1{\texttt{[}\meta{#1}\texttt{]}}
+%
+% \section{Introduction}
+%
+% First I want to recommend the very good review article
+% ``A guide to key-value methods'' by Joseph Wright \cite{tb94wright}.
+% It introduces the different key-value packages and compares them.
+%
+% \subsection{The beginning}
+%
+% This package \xpackage{kvoptions} addresses class or package writers
+% that want to allow their users to specify options
+% as key value pairs, e.g.:
+% \begin{quote}
+% |\documentclass[verbose=false,name=me]{myclass}|\\
+% |\usepackage[format=print]{mylayout}|
+% \end{quote}
+% Prominent example is package \xpackage{hyperref},
+% probably the first package that offers this service.
+% It's \cs{ProcessOptionsWithKV} is often copied und
+% used in other packages, e.g. package \xpackage{helvet}
+% that uses this interface for its option \xoption{scaled}.
+%
+% However copying code is not the most modern software
+% development technique. And \xpackage{hyperref}'s
+% code for \cs{ProcessOptionsWithKV} was changed
+% to fix bugs. The version used in other packages
+% depends on the time of copying and the awareness
+% of \xpackage{hyperref}'s changes.
+% Now the code is sourced out into this package and
+% available for other package or class writers.
+%
+% \subsection{Overview}
+%
+% Package \xpackage{kvoptions} connects package
+% \xpackage{\emph{k}ey\emph{v}al}
+% with \LaTeX's package and class \emph{options}:
+% \begin{center}
+% \def\T#1{\bfseries #1}
+% \renewcommand{\arraystretch}{1.5}
+% \begin{tabular}{l|l|l}
+% \T{Package \xpackage{keyval}}
+% & \T{Package \xpackage{kvoptions}}
+% & \T{\LaTeX\ kernel}
+% \\
+% \hline
+% \cs{define@key}
+% &
+% \renewcommand*{\arraystretch}{1}^^A
+% \begin{tabular}[t]{@{}l@{}}
+% \cs{DeclareVoidOption}\\
+% \cs{DeclareStringOption}\\
+% \cs{DeclareBoolOption}\\
+% \cs{DeclareComplementaryOption}\\
+% \cs{DisableKeyvalOption}
+% \end{tabular}
+% & \cs{DeclareOption}
+% \\
+% \hline
+% & \cs{DeclareDefaultOption}
+% & \cs{DeclareOption*}
+% \\
+% \hline
+% & \cs{ProcessKeyvalOptions}
+% & \cs{ProcessOptions*}
+% \\
+% \hline
+% & Option \xoption{patch}
+% &
+% \renewcommand*{\arraystretch}{1}^^A
+% \begin{tabular}[t]{@{}l@{}}
+% Class/package\\
+% option system
+% \end{tabular}
+% \\
+% \hline
+% & \cs{SetupKeyvalOptions} &
+% \\
+% \end{tabular}
+% \end{center}
+%
+% \hypersetup{bookmarksopenlevel=3}
+% \section{Usage}
+%
+% \subsection{Process options}
+%
+% \subsubsection{\cs{ProcessKeyvalOptions}}
+%
+% \begin{declcs}{ProcessKeyvalOptions}\,\M{family}\\
+% \cs{ProcessKeyvalOptions} \*
+% \end{declcs}
+% This command evaluates the global or local options of
+% the package that are defined with \xpackage{keyval}'s
+% interface within the family \meta{family}. It acts the
+% same way as \LaTeX's \cs{ProcessOptions*}. In a package
+% unknown global options are ignored, in a class they
+% are added to the unknown option list. The known global
+% options and all local options are passed to \xpackage{keyval}'s
+% \cs{setkeys} command for executing the options.
+% Unknown options are reported to the user by an error.
+%
+% If the family name happens to be the same as the name
+% of the package or class where \cs{ProcessKeyvalOptions}
+% is used or the family name has previously been setup by
+% \cs{SetupKeyvalOptions}, then \cs{ProcessKeyvalOptions}
+% knows the family name already and you can use the star form
+% without mandatory argument.
+%
+% \subsubsection{\cs{ProcessLocalKeyvalOptions}}
+%
+% \begin{declcs}{ProcessLocalKeyvalOptions}\,\M{family}\\
+% \cs{ProcessLocalKeyvalOptions} \*
+% \end{declcs}
+% This macro has the same syntax and works similar as
+% \cs{ProcessKeyvalOptions}. However it ignores
+% global options and only processes the local package options.
+% Therefore it only can be used inside a package.
+% An error is thrown, if it is used inside a class.
+%
+% Neither of the following macros are necessary for
+% \cs{ProcessKeyvalOptions{}}. They just help the package/class
+% author in common tasks.
+%
+% \subsubsection{\cs{SetupKeyvalOptions}}\label{setup}
+%
+% \begin{declcs}{SetupKeyvalOptions}\,\texttt{\{}\\
+% \hspace{1.5em}|family|\,|=|\,\meta{family}|,|\\
+% \hspace{1.5em}|prefix|\,|=|\,\meta{prefix}\\
+% \hspace{1.5em}|setkeys|\,|=|\,\meta{setkeys command}\\
+% \texttt{\}}
+% \end{declcs}
+% This command allows to configure the default assumptions
+% that are based on the current package or class name.
+% \LaTeX\ remembers this name in \cs{@currname}. The syntax
+% description of the default looks a little weird, therefor
+% an example is given for a package or class named |foobar|.
+% \begin{quote}
+% \begin{tabular}{@{}l|ll|l@{}}
+% Key & Default & (example) & Used by\\
+% \hline
+% \rule{0pt}{1.2\ht\csname @arstrutbox\endcsname}^^A
+% |family| & \meta{\cs{@currname}} & (|foobar|)
+% & \cs{ProcessKeyvalOptions*} \\
+% &&& \cs{DeclareBoolOption} \\
+% &&& \cs{DeclareStringOption} \\
+% \hline
+% \rule{0pt}{1.2\ht\csname @arstrutbox\endcsname}^^A
+% |prefix| & \meta{\cs{@currname}}|@| & (|foobar@|)
+% & \cs{DeclareBoolOption} \\
+% &&& \cs{DeclareStringOption} \\
+% &&& \cs{DeclareVoidOption} \\
+% \hline
+% \rule{0pt}{1.2\ht\csname @arstrutbox\endcsname}^^A
+% |setkeys| & \cs{setkeys} & (\cs{kvsetkeys})
+% & \cs{ProcessKeyvalOptions} \\
+% &&& \cs{ProcessLocalKeyvalOptions}
+% \end{tabular}
+% \end{quote}
+% Key |setkeys| was added in version 3.9. The original
+% \cs{setkeys} of package \xpackage{keyval} is not reentrant.
+% If an option is processed by this \cs{setkeys}, then
+% the option should not call \cs{setkeys} again with a
+% different family. Otherwise the next options of the
+% first \cs{setkeys} call are processed with the wrong
+% family. With key |setkeys| the macro \cs{kvsetkeys}
+% can be set that does not have the problem of the
+% original \cs{setkeys} of package {keyval}.
+%
+% Probably \cs{setkeys} of package \xpackage{xkeyval}
+% is safe in this respect. But I haven't made a full
+% analysis. At least it does not have the problem
+% of the original \cs{setkeys}.
+%
+% \subsection{Option declarations}
+%
+% The options for \cs{ProcessKeyvalOptions} are defined
+% by \xpackage{keyval}'s \cs{define@key}.
+% Common purposes of such keys are boolean switches, they
+% enable or disable something. Or they store a name or some kind of
+% string in a macro. The following commands help the user. He
+% declares what he wants and \xpackage{kvoptions} take care of
+% the key definition, resource allocation and initialization.
+%
+% In order to avoid name clashes of macro names, internal
+% commands are prefixed. Both the prefix and the family
+% name for the defined keys can be configured by
+% \cs{SetupKeyvalOptions}.
+%
+% \subsubsection{\cs{DeclareStringOption}}
+%
+% \begin{declcs}{DeclareStringOption}\,\O{init}\,\M{key}\,\O{default}
+% \end{declcs}
+% A macro is created that remembers the value of the key \meta{key}.
+% The name of the macro consists of the option name \meta{key} that
+% is prefixed by the prefix (see \ref{setup}).
+% The initial contents of the
+% macro can be given by the first optional argument \meta{init}.
+% The default is empty.
+%
+% The the option \meta{key} is defined. The option code
+% just stores its value in the macro. If the optional argument
+% at the end of \cs{DeclareStringOption} is given, then option
+% \meta{key} is defined with the default \meta{default}.
+%
+% Example for a package with the following two lines:
+% \begin{quote}
+% |\ProvidesPackage{foobar}|\\
+% |\DeclareStringOption[me]{name}|
+% \end{quote}
+% Then \cs{DeclareStringOption} defines the macro with content |me|,
+% note \LaTeX\ complains if the name of the macro already exists:
+% \begin{quote}
+% |\newcommand*{\foobar@name}{me}|
+% \end{quote}
+% The option definition is similar to:
+% \begin{quote}
+% |\define@key{foobar}{name}{%|\\
+% | \renewcommand*{\foobar@name}{#1}%|\\
+% |}|
+% \end{quote}
+%
+% \subsubsection{\cs{DeclareBoolOption}}
+%
+% \begin{declcs}{DeclareBoolOption}\,\O{init}\,\M{key}
+% \end{declcs}
+% A boolean switch is generated, initialized by value \meta{init}
+% and the corresponding key \meta{key} is defined. If the
+% initialization value is not given, |false| is used as default.
+%
+% The internal actions of \cs{DeclareBoolOption} are shown below.
+% The example is given for a package author who has the following
+% two lines in his package/class:
+% \begin{quote}
+% |\ProvidesPackage{foobar}|\\
+% |\DeclareBoolOption{verbose}|
+% \end{quote}
+% First a new switch is created:
+% \begin{quote}
+% |\newif\iffoobar@verbose|
+% \end{quote}
+% and initialized:
+% \begin{quote}
+% |\foobar@verbosefalse|
+% \end{quote}
+% Finally the key is defined:
+% \begin{quote}
+% |\define@key{foobar}{verbose}[true]{|\dots|}|
+% \end{quote}
+% The option code configures the boolean option in the following way:
+% If the author specifies |true| or |false| then the switch is
+% turned on or off respectivly. Also the option can be given without
+% explicit value. Then the switch is enabled.
+% Other values are reported as errors.
+%
+% Now the switch is ready to use in the package/class, e.g.:
+% \begin{quote}
+% |\iffoobar@verbose|\\
+% \qquad\textit{\% print verbose message}\\
+% |\else|\\
+% \qquad\textit{\% be quiet}\\
+% |\fi|
+% \end{quote}
+% Users of package \cs{ifthen} can use the switch as
+% boolean:
+% \begin{quote}
+% |\boolean{foobar@verbose}|
+% \end{quote}
+%
+% \subsubsection{\cs{DeclareComplementaryOption}}
+%
+% \begin{declcs}{DeclareComplementaryOption}\,\M{key}\,\M{parent}
+% \end{declcs}
+% Sometimes contrasting names are used to characterize the
+% two states of a boolean switch, for example \xoption{draft}
+% vs.\@ \xoption{final}. Both options behave like boolean
+% options but they do not need two different switches, they
+% should share one. \cs{DeclareComplementaryOption} allows this.
+% The option \meta{key} shares the switch of option \meta{parent}.
+% Example:
+% \begin{quote}
+% |\DeclareBoolOption{draft}|\\
+% |\DeclareComplementaryOption{final}{draft}|
+% \end{quote}
+% Then |final| sets the switch of \xoption{draft} to |false|, and
+% |final=false| enables the \xoption{draft} switch.
+%
+% \subsubsection{\cs{DeclareVoidOption}}
+%
+% \begin{declcs}{DeclareVoidOption}\,\M{key}\,\M{code}
+% \end{declcs}
+% \cs{ProcessKeyvalOptions} can be extended to recognize
+% options that are declared in traditional way by \cs{DeclareOption}.
+% But in case of the error that the user specifies a value, then
+% this option would not recognized as key value option because
+% of \cs{DeclareOption} and not detected as traditional option
+% because of the value part. The user would get an unknown option
+% error, difficult to understand.
+%
+% \cs{DeclareVoidOption} solves
+% this problem. It defines the option \meta{key} as key value option.
+% If the user specifies a value, a warning is given and the
+% value is ignored.
+%
+% The code part \meta{code} is stored in a macro.
+% The name of the macro consists of the option name \meta{key} that
+% is prefixed by the prefix (see \ref{setup}).
+% If the option is set, the macro will be executed. During the
+% execution \cs{CurrentOption} is available with the current key name.
+%
+% \subsubsection{\cs{DeclareDefaultOption}}
+%
+% \begin{declcs}{DeclareDefaultOption}\,\M{code}
+% \end{declcs}
+% \begin{sloppypar}
+% This command does not define a specific key, it is the equivalent
+% to \LaTeX's \cs{DeclareOption*}. It allows the specification
+% of a default action \meta{code} that is invoked if an unknown option
+% is found.
+% While \meta{code} is called,
+% macro \cs{CurrentOption} contains the current option string.
+% In addition \cs{CurrentOptionValue} contains the value part
+% if the option string is parsable as key value pair, otherwise
+% it is \cs{relax}. \cs{CurrentOptionKey} contains the key of
+% the key value pair, or the whole option string, if it misses
+% the equal sign.
+% \end{sloppypar}
+%
+% Inside packages typical default actions are to pass unknown
+% options to another package. Or an error message can be thrown
+% by \cs{@unknownoptionerror}. This is the original error
+% message that \LaTeX\ gives for unkown package options.
+% This error message is easier to understand for the user
+% as the error message from package \xpackage{keyval} that
+% is given otherwise.
+%
+% A Class ignores unknown options and puts them on the
+% unused option list. Let \LaTeX\ do the job and just
+% call \cs{OptionNotUsed}. Or the options can be passed to
+% another class that is later loaded.
+%
+% \subsubsection{Local options}
+%
+% \begin{declcs}{DeclareLocalOption} \M{option}\\
+% \cs{DeclareLocalOptions} \M{option list}
+% \end{declcs}
+% Both macros mark package options as local options. That means
+% that they are ignored by \cs{ProcessKeyvalOptions} if they are given
+% as global options. \cs{DeclareLocalOptions} takes one option,
+% \cs{DeclareLocalOptions} expects a comma separated list of options.
+%
+% \subsubsection{Dynamic options}
+%
+% Options of \LaTeX's package/class system are cleared
+% in \cs{ProcessOptions}. They modify the static model
+% of a package. For example, depending on option \xoption{bookmarks}
+% package \xpackage{hyperref} loads differently.
+%
+% Options, however,
+% defined by \xpackage{keyval}'s \cs{define@key} remain
+% defined, if the options are processed by \cs{setkeys}.
+% Therefore these options can also be used to model
+% the dynamic behaviour of a package. For example, in
+% \xpackage{hyperref} the link colors can be changed
+% everywhere until the end in |\end{document}|.
+%
+% However package \xpackage{color} that adds color support
+% is necessary and it
+% cannot be loaded after |\begin{document}|. Option \xoption{colorlinks}
+% that loads \xpackage{color} should be active until |\begin{document}|
+% and die in some way if it is too late for loading packages.
+% With \cs{DisableKeyvalOption} the package/class author can
+% specify and configure the death of an option and controls
+% the life period of the option.
+%
+% \subsubsection{\cs{DisableKeyvalOption}}
+%
+% \begin{declcs}{DisableKeyvalOption}\,\O{options}\,\M{family}\,\M{key}
+% \\[0.5ex]
+% \meta{options}:\\
+% \hspace{1.5em}^^A
+% \begin{tabular}[t]{@{}l@{ \texttt{=} }l@{\qquad}>{default: }l@{}}
+% |action| & |undef|, |warning|, |error|, or |ignore|
+% & |undef|
+% \\
+% \multicolumn{1}{@{}l}{|global| or |local|} & & |global|
+% \\
+% |package| or |class| & \meta{name}
+% \\
+% \end{tabular}^^A
+% \end{declcs}
+% \cs{DisableKeyvalOption} can be called to mark the end when
+% the option \meta{key} is no longer useful. The behaviour of
+% an option after its death can be configured by \xoption{action}:
+% \begin{description}
+% \item[\texttt{undef}:] The option will be undefined,
+% If it is called, \cs{setkeys} reports an error because
+% of unknown key.
+% \item[\texttt{error} or \texttt{warning}:] Use of the
+% option will cause an error or warning message.
+% Also these actions require that exclusivly either the
+% package or class name is given in options \xoption{package}
+% or \xoption{class}.
+% \item[\texttt{ignore}:] The use of the option will silently
+% be ignored.
+% \end{description}
+% The option's death can be limited to the end of the current
+% group, if option \xoption{local} is given. Default is
+% \xoption{global}.
+%
+% The package/class author can wish the end of the option
+% already during the package loading, then he will have
+% static behaviour. In case of dynamic options \cs{DisableKeyvalOption}
+% can be executed everywhere, also outside the package. Therefore
+% the family name and the package/class name is usually unknown for
+% \cs{DisableKeyvalOption}. Therefore the argument for the family
+% name is mandatory and for some actions the package/class name
+% must be provided.
+%
+% Usually a macro would configure the option death, Example:
+%\begin{quote}
+%\begin{verbatim}
+%\ProvidesPackage{foobar}
+%\DeclareBoolOption{color}
+%\DeclareStringOption[red]{emphcolor}
+%\ProcessKeyvalOptions*
+%
+%\newcommand*{\foobar@DisableOption}[2]{%
+% \DisableKeyvalueOption[
+% action={#1},
+% package=foobar
+% ]{foobar}{#2}%
+%}
+%
+%\iffoobar@color
+% \RequirePackage{color}
+% \renewcommand*{\emph}[1]{\textcolor{\foobar@emphcolor}{#1}}
+%\else
+% % Option emphcolor is not wrong, if we have color support.
+% % otherwise the option has no effect, but we don't want to
+% % remove it. Therefore action 'ignore' is the best choice:
+% \foobar@DisableOption{ignore}{emphcolor}
+%\fi
+%% No we don't need the option 'color'.
+%\foobar@DisableOption{warning}{color}
+%
+%% With color support option 'emphcolor' will dynamically
+%% change the color of \emph statements.
+%\end{verbatim}
+%\end{quote}
+%
+% \subsubsection{\cs{AddToKeyvalOption}}
+%
+% \begin{declcs}{AddToKeyvalOption}\,\M{family}\,\M{key}\,\M{code}\\
+% \cs{AddToKeyvalOption} \*\,\M{key}\,\M{code}
+% \end{declcs}
+% The code for an existing key \meta{key} of family \meta{family} is
+% extended by code \meta{code}. In the starred form the current
+% family setting is used, see \cs{ProcessKeyvalOptions*}.
+%
+% \subsection{Global vs. local options}
+%
+% Options that are given for \cs{documentclass} are called
+% global options. They are known to the class and all packages.
+% A package may make use of a global option and marks it as
+% used. The advantage for the user is the freedom to specify
+% options both in the \cs{documentclass} or \cs{usepackage}
+% commands.
+%
+% However global options are shared with the class options
+% and options of all other packages. Thus there can be the
+% same option with different semantics for different
+% packages and classes. As example, package \xpackage{bookmark}
+% knows option \xoption{open} that specifies whether the bookmarks
+% are opened or closed initially. It's values are |true| or |false|.
+% Since KOMA-Script version 3.00 the KOMA classes also introduces
+% option \xoption{open} with values |right| and |any| and a
+% complete different meaning.
+%
+% Such conflicts can be resolved by marking all or part of options
+% as local by \cs{DeclareLocalOption} or \cs{DeclareLocalOptions}.
+% Then the packages ignores global occurences of these options.
+% Package \xpackage{kvoptions} provides two methods:
+% \begin{itemize}
+% \item \cs{ProcessLocalKeyvalOptions} automatically uses all options
+% as local options. It ignores all global options.
+% \item \cs{DeclareLocalOption} or \cs{DeclareLocalOptions} marks
+% options as local options. \cs{ProcessKeyvalOptions} will then
+% ignore global occurences for these local options.
+% \end{itemize}
+% Since version 1.5 package \xpackage{bookmark} uses the latter
+% method. It checks global and local option places for driver options
+% and limits all other options as local options. Thus the class
+% option \xoption{open} of KOMA-Script is not misread as
+% option for package \xpackage{bookmark}.
+%
+% \subsection{Summary of internal macros}
+%
+% The \cs{Declare}\texttt{\dots Option} commands define
+% macros, additionally to the macros generated by the key definition.
+% These macros can be used by the package/class author.
+% The name of the macros starts with the prefix \meta{prefix}
+% that can be configured by \cs{SetupKeyvalOptions}.
+% \begin{center}
+% \def\prefix{\cs{}\meta{prefix}\meta{key}}^^A
+% \def\Hline{^^A
+% \hline
+% \rule{0pt}{1.2\ht\csname @arstrutbox\endcsname}^^A
+% }^^A
+% \begin{tabular}{@{}l|>{\ttfamily}l|l@{}}
+% Declare \meta{key} & \textrm{Defined macro} & Description\\
+% \Hline
+% \cs{DeclareStringOption}
+% & \prefix & holds the string\\
+% \Hline
+% \cs{DeclareBoolOption}
+% & \cs{if}\meta{prefix}\meta{key}& boolean switch\\
+% &\prefix false& disable switch\\
+% &\prefix true& enable switch\\
+% \Hline
+% \cs{DeclareComplementaryOption}
+% & \prefix false& enable parent switch\\
+% & \prefix true& disable parent switch\\
+% \Hline
+% \cs{DeclareVoidOption}
+% & \prefix & holds the action
+% \end{tabular}
+% \end{center}
+%
+% \subsection{\plainTeX}
+%
+% Package \xpackage{keyval} is also usable in \plainTeX\ with
+% the help of file \xfile{miniltx.tex}. Some features of this
+% package \xpackage{kvoptions} might also be useful for \plainTeX.
+% If \LaTeX\ is not found, \cs{ProcessKeyvalOptions} and option
+% \xoption{patch} are disabled. Before using the option declaration
+% commands \cs{Declare...Option}, \cs{SetupKeyvalOptions} must be
+% used.
+%
+% \hypersetup{bookmarksopenlevel=1}
+%
+% \section{Example}
+%
+% The following example defined a package that serves some
+% private color management. A boolean option \xoption{print} enables
+% print mode without colors. An option \xoption{emph} redefines
+% \cs{emph} to print in the given color. And the driver
+% can be specified by option \xoption{driver}.
+%
+% \begin{macrocode}
+%<*example>
+ % Package identification
+ % -----------------------
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{example-mycolorsetup}[2019/11/29 Managing my colors]
+
+\RequirePackage{iftex}
+\RequirePackage{kvoptions}
+
+ % Option declarations
+ % -------------------
+
+\SetupKeyvalOptions{
+ family=MCS,
+ prefix=MCS@
+}
+ % Use a shorter family name and prefix
+
+ % Option print
+\DeclareBoolOption{print}
+ % is the same as
+ % \DeclareBoolOption[false]{print}
+
+ % Option driver
+\ifpdf
+ \DeclareStringOption[pdftex]{driver}
+\else
+ \DeclareStringOption[dvips]{driver}
+\fi
+
+ % Alternative interface for driver options
+\DeclareVoidOption{dvips}{\SetupDriver}
+\DeclareVoidOption{dvipdfm}{\SetupDriver}
+\DeclareVoidOption{pdftex}{\SetupDriver}
+ % In \SetupDriver we take the current option \CurrentOption
+ % and pass it to the driver option.
+ % The \expandafter commands expand \CurrentOption at the
+ % time, when \SetupDriver is executed and \CurrentOption
+ % has the correct meaning.
+\newcommand*{\SetupDriver}{%
+ \expandafter\@SetupDriver\expandafter{\CurrentOption}%
+}
+\newcommand*{\@SetupDriver}[1]{%
+ \setkeys{MCS}{driver={#1}}%
+}
+
+ % Option emph
+ % An empty value means, we want to have no color for \emph.
+ % If the user specifies option emph without value, the red is used.
+\DeclareStringOption{emph}[red]
+ % is the same as
+ % \DeclareStringOption[]{emph}[red]
+
+ % Default option rule
+\DeclareDefaultOption{%
+ \ifx\CurrentOptionValue\relax
+ \PackageWarningNoLine{\@currname}{%
+ Unknown option `\CurrentOption'\MessageBreak
+ is passed to package `color'%
+ }%
+ % Pass the option to package color.
+ % Again it is better to expand \CurrentOption.
+ \expandafter\PassOptionsToPackage
+ \expandafter{\CurrentOption}{color}%
+ \else
+ % Package color does not take options with values.
+ % We provide the standard LaTeX error.
+ \@unknownoptionerror
+ \fi
+}
+
+ % Process options
+ % ---------------
+\ProcessKeyvalOptions*
+
+ % Implementation depending on option values
+ % -----------------------------------------
+ % Code for print mode
+\ifMCS@print
+ \PassOptionsToPackage{monochrome}{color}
+ % tells package color to use black and white
+\fi
+
+\RequirePackage[\MCS@driver]{color}
+ % load package color with the correct driver
+
+ % \emph setup
+\ifx\MCS@emph\@empty
+ % \@empty is a predefined macro with empty contents.
+ % the option value of option emph is empty, thus
+ % we do not want a redefinition of \emph.
+\else
+ \renewcommand*{\emph}[1]{%
+ \textcolor{\MCS@emph}{#1}%
+ }
+\fi
+%</example>
+% \end{macrocode}
+%
+% \section{Package options}
+%
+% The package \xpackage{kvoptions} knows two package options
+% \xoption{patch} and \xoption{debugshow}.
+% The options of package \xpackage{kvoptions} are intended
+% for authors, not for package/class writers. Inside a package
+% it is too late for option \xoption{patch} and \xoption{debugshow}
+% enables some messages that are perhaps useful for the debugging
+% phase. Also \LaTeX\ is unhappy if a package is loaded
+% later again with options that are previously not given.
+% Thus package and class authors, stay with |\RequirePackage{kvoptions}|
+% without options.
+%
+% Option \xoption{patch} loads package \xpackage{kvoptions-patch}.
+%
+% \subsection{Package \xpackage{kvoptions-patch}}
+%
+% \LaTeX's system of package/class options has some severe limitations
+% that especially affects the value part if options are used as
+% pair of key and value.
+% \begin{itemize}
+% \item Spaces are removed, regardless where:
+% \begin{quote}
+% |\documentclass[box=0 0 400 600]{article}|
+% \end{quote}
+% Now each package will see |box=00400600| as global option.
+% \item In the previous case also braces would not help:
+% \begin{quote}
+% |\documentclass[box={0 0 400 600}]{article}|
+% \end{quote}
+% The result is an error message:
+% \begin{quote}
+% |! LaTeX Error: Missing \begin{document}.|
+% \end{quote}
+% As local option, however, it works if the package
+% knows about key value options (By using this package, for example).
+% \item The requirements on robustness are extremly high.
+% \LaTeX\ expands the option. All that will not work as environment
+% name will break also as option. Even a \cs{relax} will generate
+% an error message:
+% \begin{quote}
+% |! Missing \endcsname inserted.|
+% \end{quote}
+% Of course, \LaTeX\ does not use its protecting mechanisms.
+% On contrary \cs{protect} itself will cause errors.
+% \item The options are expanded. But perhaps the package will
+% do that, because it has to setup some things before?
+% Example \xpackage{hyperref}:
+% \begin{quote}
+% |\usepackage[pdfauthor=M\"uller]{hyperref}|
+% \end{quote}
+% Package \xpackage{hyperref} does not see |M\"uller| but
+% its expansion and it does not like it, you get many warnings
+% \begin{quote}
+% |Token not allowed in a PDFDocEncoded string|
+% \end{quote}
+% And the title becomes: |Mu127uller|.
+% Therefore such options must usually be given after package
+% \xpackage{hyperref}
+% is loaded:
+% \begin{quote}
+% |\usepackage{hyperref}|\\
+% |\hypersetup{pdfauthor=Fran\c coise M\"uller}|
+% \end{quote}
+% As package option it will even break with |Fran\c coise|
+% because of the cedilla |\c c|, it is not robust enough.
+% \end{itemize}
+% For users that do not want with this limitations the package
+% offers package \xoption{kvoptions-patch}. It patches \LaTeX's option system
+% and tries to teach it also to handle options that are given
+% as pairs of key and value and to prevent expansion.
+% It can already be used at the very beginning, before \cs{documentclass}:
+% \begin{quote}
+% |\RequirePackage{kvoptions-patch}|\\
+% |\documentclass[pdfauthor=Fran\c coise M\"uller]{article}|\\
+% |\usepackage{hyperref}|
+% \end{quote}
+% The latest time is before the package where you want to use
+% problematic values:
+% \begin{quote}
+% |\usepackage{kvoptions-patch}|\\
+% |\usepackage[Fran\c coise M\"uller]{hyperref}|
+% \end{quote}
+% Some remarks:
+% \begin{itemize}
+% \item The patch requires \eTeX, its \cs{unexpanded} feature
+% is much too nice. It is possible to work around using token
+% registers. But the code becomes longer, slower, more difficult
+% to read and maintain. The package without option \xoption{patch}
+% works and will work without \eTeX.
+% \item The code for the patch is quite long, there are many test
+% cases. Thus the probability for bugs is probably not too small.
+% \item Since 2008/10/18 v3.0 package \xpackage{kvoptions-patch} is
+% available. Before option \xoption{patch} of package \xpackage{kvoptions}
+% must be used instead. I think, the solution as standalone package
+% \xpackage{kvoptions-patch} is cleaner and avoids option clashes.
+% \end{itemize}
+%
+% \subsection{Option \xoption{debugshow}}
+%
+% The name of this option follows the convention of packages
+% \xpackage{multicol}, \xpackage{tabularx}, and \xpackage{tracefnt}.
+% Currently it prints the setting of boolean options, declared
+% by \cs{DeclareBoolOption} in the \xfile{.log} file, if that
+% boolean option is used.
+% You can activate the option by
+% \begin{itemize}
+% \item |\PassOptionsToPackage{debugshow}{kvoptions}|\\
+% Put this somewhere before package \xpackage{kvoptions} is
+% loaded first, e.g. before \cs{documentclass}.
+% \item |\RequirePackage[debugshow]{kvoptions}|\\
+% Before \cs{documentclass} even an author has to use
+% \cs{RequirePackage}. \cs{usepackage} only works after
+% \cs{documentclass}.
+% \end{itemize}
+% The preferred method is \cs{PassOptionsToPackage}, because
+% it does not force the package loading and does not disturb,
+% if the package is not loaded later at all.
+%
+% \section{Limitations}
+%
+% \subsection{Compatibility}
+% \subsubsection{Package \xpackage{kvoptions-patch} vs. package \xpackage{xkvltxp}}
+%
+% Package \xpackage{xkvltxp} from the \xpackage{xkeyval} project
+% has the same goal as package \xpackage{kvoptions-patch}
+% and to patch \LaTeX's kernel commands in order to get better support
+% for key value options.
+% Of course they cannot be used both. The user must decide, which
+% method he prefers. Package \xpackage{kvoptions-patch} aborts itself,
+% if it detects that \xpackage{xkvltxp} is
+% already loaded.
+%
+% However package \xpackage{xkvltxp} and \xpackage{kvoptions}
+% can be used together, example:
+% \begin{quote}
+% |\usepackage{xkvltxp}|\\
+% |\usepackage[...]{foobar} % |\texttt{\itshape foobar using kvoptions}
+% \end{quote}
+% The other way should work, too.
+%
+% Package \xpackage{kvoptions-patch} tries to catch more situations
+% and to be more robust.
+% For example, during the comparison of options it normalizes
+% them by removing spaces around |=| and the value. Thus the
+% following is not reported as option clash:
+% \begin{quote}
+%\begin{verbatim}
+%\RequirePackage{kvoptions-patch}
+%\documentclass{article}
+%
+%\usepackage[scaled=0.7]{helvet}
+%\usepackage[scaled = 0.7]{helvet}
+%
+%\begin{document}
+%\end{document}
+%\end{verbatim}
+% \end{quote}
+%
+% \subsection{Limitations}
+%
+% \subsubsection{Option comparisons}
+%
+% In some situations \LaTeX\ compares option lists, e.g. option clash check,
+% \cs{@ifpackagewith}, or \cs{@ifclasswith}. Apart from catcode and
+% sanitizing problems of option \xoption{patch}, there is another problem.
+% \LaTeX\ does not know about the type and default values of
+% options in key value style. Thus an option clash is reported,
+% even if the key value has the same meaning:
+% \begin{quote}
+% |\usepackage[scaled]{helvet} %| \texttt{\textit{default is }.95}\\
+% |\usepackage[.95]{helvet}|\\
+% |\usepackage[0.95]{helvet}|
+% \end{quote}
+%
+% \subsubsection{Option list parsing with package \xpackage{kvoptions-patch}}
+%
+% With package \xpackage{kvoptions-patch} the range of possible values
+% in key value specifications is much large, for example
+% the comma can be used, if enclosed in curly braces.
+%
+% Other packages, especially the packages that uses their
+% own process option code can be surprised to find tokens
+% inside options that they do not expect and errors would
+% be the consequence. To avoid errors the options, especially
+% the unused option list is sanitized. That means the list
+% will only contain tokens with catcode 12 (other) and
+% perhaps spaces (catcode 10). This allows a safe parsing
+% for other packages. But a comma in the value part is
+% no longer protected by curly braces because they have lost
+% their special meaning. This is the price for compatibility.
+%
+% Example:
+% \begin{quote}
+% |\RequirePackage{kvoptions-patch}|\\
+% |\documentclass[a={a,b,c},b]{article}|\\
+% |\begin{document}|\\
+% |\end{document}|
+% \end{quote}
+% Result:
+% \begin{quote}
+% |LaTeX Warning: Unused global option(s):|\\
+% | [a={a,c},b].|
+% \end{quote}
+%
+% \StopEventually{
+% }
+%
+% \section{Implementation}
+%
+% \subsection{Preamble}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% \paragraph{Reload check and identification.}
+% Reload check, especially if the package is not used with \LaTeX.
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\let\expandafter\x\csname ver@kvoptions.sty\endcsname
+ \ifx\x\relax % plain-TeX, first loading
+ \else
+ \def\empty{}%
+ \ifx\x\empty % LaTeX, first loading,
+ % variable is initialized, but \ProvidesPackage not yet seen
+ \else
+ \expandafter\ifx\csname PackageInfo\endcsname\relax
+ \def\x#1#2{%
+ \immediate\write-1{Package #1 Info: #2.}%
+ }%
+ \else
+ \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
+ \fi
+ \x{kvoptions}{The package is already loaded}%
+ \aftergroup\endinput
+ \fi
+ \fi
+\endgroup%
+% \end{macrocode}
+% Package identification:
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode40=12 % (
+ \catcode41=12 % )
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode47=12 % /
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode91=12 % [
+ \catcode93=12 % ]
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\ifx\csname ProvidesPackage\endcsname\relax
+ \def\x#1#2#3[#4]{\endgroup
+ \immediate\write-1{Package: #3 #4}%
+ \xdef#1{#4}%
+ }%
+ \else
+ \def\x#1#2[#3]{\endgroup
+ #2[{#3}]%
+ \ifx#1\@undefined
+ \xdef#1{#3}%
+ \fi
+ \ifx#1\relax
+ \xdef#1{#3}%
+ \fi
+ }%
+ \fi
+\expandafter\x\csname ver@kvoptions.sty\endcsname
+\ProvidesPackage{kvoptions}%
+ [2019/11/29 v3.13 Key value format for package options (HO)]%
+% \end{macrocode}
+%
+% \paragraph{Catcodes}
+%
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \catcode64=11 % @
+ \def\x{\endgroup
+ \expandafter\edef\csname KVO@AtEnd\endcsname{%
+ \endlinechar=\the\endlinechar\relax
+ \catcode13=\the\catcode13\relax
+ \catcode32=\the\catcode32\relax
+ \catcode35=\the\catcode35\relax
+ \catcode61=\the\catcode61\relax
+ \catcode64=\the\catcode64\relax
+ \catcode123=\the\catcode123\relax
+ \catcode125=\the\catcode125\relax
+ }%
+ }%
+\x\catcode61\catcode48\catcode32=10\relax%
+\catcode13=5 % ^^M
+\endlinechar=13 %
+\catcode35=6 % #
+\catcode64=11 % @
+\catcode123=1 % {
+\catcode125=2 % }
+\def\TMP@EnsureCode#1#2{%
+ \edef\KVO@AtEnd{%
+ \KVO@AtEnd
+ \catcode#1=\the\catcode#1\relax
+ }%
+ \catcode#1=#2\relax
+}
+\TMP@EnsureCode{1}{14}% ^^A (comment)
+\TMP@EnsureCode{2}{14}% ^^A (comment)
+\TMP@EnsureCode{33}{12}% !
+\TMP@EnsureCode{39}{12}% '
+\TMP@EnsureCode{40}{12}% (
+\TMP@EnsureCode{41}{12}% )
+\TMP@EnsureCode{42}{12}% *
+\TMP@EnsureCode{44}{12}% ,
+\TMP@EnsureCode{45}{12}% -
+\TMP@EnsureCode{46}{12}% .
+\TMP@EnsureCode{47}{12}% /
+\TMP@EnsureCode{58}{12}% :
+\TMP@EnsureCode{62}{12}% >
+\TMP@EnsureCode{91}{12}% [
+\TMP@EnsureCode{93}{12}% ]
+\TMP@EnsureCode{94}{7}% ^ (superscript)
+\TMP@EnsureCode{96}{12}% `
+\edef\KVO@AtEnd{\KVO@AtEnd\noexpand\endinput}
+% \end{macrocode}
+%
+% \paragraph{External resources.}
+% The package extends the support for key value pairs of
+% package \cs{keyval} to package options. Thus the package
+% needs to be loaded anyway. and we use it for
+% \cs{SetupKeyvalOptions}. AFAIK this does not disturb
+% users of \xpackage{xkeyval}.
+% \begin{macrocode}
+\@ifundefined{define@key}{%
+ \RequirePackage{keyval}\relax
+}{}
+% \end{macrocode}
+%
+% Macro \cs{DeclareLocalOptions} parses a comma separated key list
+% and uses \cs{comma@parse} of package \xpackage{kvsetkeys},
+% version 1.3.
+% \begin{macrocode}
+\RequirePackage{ltxcmds}[2010/12/02]
+\RequirePackage{kvsetkeys}[2007/09/29]
+% \end{macrocode}
+%
+% \paragraph{Provide macros for \plainTeX.}
+% \begin{macrocode}
+\@ifundefined{@x@protect}{%
+ \def\@x@protect#1\fi#2#3{%
+ \fi\protect#1%
+ }%
+ \let\@typeset@protect\relax
+}{}
+\@ifundefined{@currname}{%
+ \def\@currname{}%
+}{}
+\@ifundefined{@currext}{%
+ \def\@currext{}%
+}{}
+% \end{macrocode}
+%
+% \paragraph{Options}
+% Option \xoption{debugshow} enables additional lines of
+% code that prints information into the \xfile{.log}
+% file.
+% \begin{macrocode}
+\DeclareOption{debugshow}{\catcode\@ne=9 }
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareOption{patch}{%
+ \AtEndOfPackage{%
+ \RequirePackage{kvoptions-patch}[2019/11/29]%
+ }%
+}
+% \end{macrocode}
+%
+% Optionen auswerten:
+% \begin{macrocode}
+\ProcessOptions\relax
+% \end{macrocode}
+%
+% \subsection{Option declaration macros}
+%
+% \subsubsection{\cs{SetupKeyvalOptions}}
+%
+% The family for the key value pairs can be setup once
+% and is remembered later.
+% The package name seems a reasonable default for the
+% family key, if it is not set by the package author.
+%
+% \begin{macro}{\KVO@family}
+% We cannot store the family setting in one macro,
+% because the package should be usable for many
+% other packages, too. Thus we remember the family
+% setting in a macro, whose name contains the
+% package name with extension, a key in \LaTeX's
+% class/package system.
+% \begin{macrocode}
+\define@key{KVO}{family}{%
+ \expandafter\edef\csname KVO@family@%
+ \@currname.\@currext\endcsname{#1}%
+}
+\def\KVO@family{%
+ \@ifundefined{KVO@family@\@currname.\@currext}{%
+ \@currname
+ }{%
+ \csname KVO@family@\@currname.\@currext\endcsname
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\KVO@prefix}
+% The value settings of options that are declared by \cs{DeclareBoolOption}
+% and \cs{DeclareStringOption} need to be saved in macros.
+% in the first case this is a switch \cs{if}\meta{prefix}\meta{key},
+% in the latter case a macro \cs{}\meta{prefix}\meta{key}.
+% The prefix can be configured, by \xoption{prefix} that is declared
+% here. The default is the package name with |@| appended.
+% \begin{macrocode}
+\define@key{KVO}{prefix}{%
+ \expandafter\edef\csname KVO@prefix@%
+ \@currname.\@currext\endcsname{#1}%
+}
+\def\KVO@prefix{%
+ \ltx@ifundefined{KVO@prefix@\@currname.\@currext}{%
+ \@currname @%
+ }{%
+ \csname KVO@prefix@\@currname.\@currext\endcsname
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\define@key{KVO}{setkeys}{%
+ \expandafter\def\csname KVO@setkeys@%
+ \@currname.\@currext\endcsname{#1}%
+}
+% \end{macrocode}
+% \begin{macro}{\KVO@setkeys}
+% \begin{macrocode}
+\def\KVO@setkeys{%
+ \ltx@IfUndefined{KVO@setkeys@\@currname.\@currext}{%
+ \setkeys
+ }{%
+ \csname KVO@setkeys@\@currname.\@currext\endcsname
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SetupKeyvalOptions}
+% The argument of \cs{SetupKeyvalOptions} expects a key value
+% list, known keys are \xoption{family} and \xoption{prefix}.
+% \begin{macrocode}
+\newcommand*{\SetupKeyvalOptions}{%
+ \kvsetkeys{KVO}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\cs{DeclareBoolOption}}
+%
+% \begin{macro}{\DeclareBoolOption}
+% Usually options of boolean type can be given by the
+% user without value and this means a setting to \emph{true}.
+% We follow this convention here. Also it simplifies the
+% user interface.
+%
+% The switch is created and initialized with \emph{false}.
+% The default setting can be overwritten by the optional
+% argument.
+%
+% \LaTeX's \cs{newif} does not check for already defined
+% macros, therefore we add this check here to prevent
+% the user from accidently redefining of \TeX's primitives
+% and other macros.
+% \begin{macrocode}
+\newcommand*{\DeclareBoolOption}[2][false]{%
+ \KVO@ifdefinable{if\KVO@prefix#2}{%
+ \KVO@ifdefinable{\KVO@prefix#2true}{%
+ \KVO@ifdefinable{\KVO@prefix#2false}{%
+ \csname newif\expandafter\endcsname
+ \csname if\KVO@prefix#2\endcsname
+ \@ifundefined{\KVO@prefix#2#1}{%
+ \PackageWarning{kvoptions}{%
+ Initialization of option `#2' failed,\MessageBreak
+ cannot set boolean option to `#1',\MessageBreak
+ use `true' or `false', now using `false'%
+ }%
+ }{%
+ \csname\KVO@prefix#2#1\endcsname
+ }%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\define@key{\KVO@family}{#2}[true]{%
+ \noexpand\KVO@boolkey{\@currname}%
+ \ifx\@currext\@clsextension
+ \noexpand\@clsextension
+ \else
+ \noexpand\@pkgextension
+ \fi
+ {\KVO@prefix}{#2}{####1}%
+ }%
+ }%
+ \x
+ }%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\DeclareComplementaryOption}
+% The first argument is the key name, the second the
+% key that must be a boolean option with the same
+% current family and prefix. A new switch is not
+% created for the new key, we have already a switch.
+% Instead we define switch setting commands to work
+% on the parent switch.
+% \begin{macrocode}
+\newcommand*{\DeclareComplementaryOption}[2]{%
+ \@ifundefined{if\KVO@prefix#2}{%
+ \PackageError{kvoptions}{%
+ Cannot generate option code for `#1',\MessageBreak
+ parent switch `#2' does not exist%
+ }{%
+ You are inside %
+ \ifx\@currext\@clsextension class\else package\fi\space
+ `\@currname.\@currext'.\MessageBreak
+ `\KVO@family' is used as familiy %
+ for the keyval options.\MessageBreak
+ `\KVO@prefix' serves as prefix %
+ for internal switch macros.\MessageBreak
+ \MessageBreak
+ \@ehc
+ }%
+ }{%
+ \KVO@ifdefinable{\KVO@prefix#1true}{%
+ \KVO@ifdefinable{\KVO@prefix#1false}{%
+ \expandafter\let\csname\KVO@prefix#1false\expandafter\endcsname
+ \csname\KVO@prefix#2true\endcsname
+ \expandafter\let\csname\KVO@prefix#1true\expandafter\endcsname
+ \csname\KVO@prefix#2false\endcsname
+% \end{macrocode}
+% The same code part as in \cs{DeclareBoolOption} can
+% now be used.
+% \begin{macrocode}
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\define@key{\KVO@family}{#1}[true]{%
+ \noexpand\KVO@boolkey{\@currname}%
+ \ifx\@currext\@clsextension
+ \noexpand\@clsextension
+ \else
+ \noexpand\@pkgextension
+ \fi
+ {\KVO@prefix}{#1}{####1}%
+ }%
+ }%
+ \x
+ }%
+ }%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\KVO@ifdefinable}
+% Generate the command token LaTeX's \cs{@ifdefinable} expects.
+% \begin{macrocode}
+\def\KVO@ifdefinable#1{%
+ \expandafter\@ifdefinable\csname #1\endcsname
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\KVO@boolkey}
+% We check explicitly for |true| and |false| to prevent
+% the user from accidently calling other macros.
+% \begin{quote}
+% \begin{tabular}{@{}ll@{}}
+% |#1|& package/class name\\
+% |#2|& |\@pkgextension|/|\@clsextension|\\
+% |#3|& prefix \\
+% |#4|& key name\\
+% |#5|& new value
+% \end{tabular}
+% \end{quote}
+% \begin{macrocode}
+\def\KVO@boolkey#1#2#3#4#5{%
+ \edef\KVO@param{#5}%
+ \ltx@onelevel@sanitize\KVO@param
+ \ifx\KVO@param\KVO@true
+ \expandafter\@firstofone
+ \else
+ \ifx\KVO@param\KVO@false
+ \expandafter\expandafter\expandafter\@firstofone
+ \else
+ \ifx#2\@clsextension
+ \expandafter\ClassWarning
+ \else
+ \expandafter\PackageWarning
+ \fi
+ {#1}{%
+ Value `\KVO@param' is not supported by\MessageBreak
+ option `#4'%
+ }%
+ \expandafter\expandafter\expandafter\@gobble
+ \fi
+ \fi
+ {%
+ ^^A\ifx#2\@clsextension
+ ^^A \expandafter\ClassInfo
+ ^^A\else
+ ^^A \expandafter\PackageInfo
+ ^^A\fi
+ ^^A{#1}{[option] #4=\KVO@param}%
+ \csname#3#4\KVO@param\endcsname
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@true}
+% \begin{macro}{\KVO@false}
+% The macros \cs{KVO@true} and \cs{KVO@false} are used
+% for string comparisons. After \cs{ltx@onelevel@sanitize}
+% we have only tokens with catcode 12 (other).
+% \begin{macrocode}
+\def\KVO@true{true}
+\def\KVO@false{false}
+\ltx@onelevel@sanitize\KVO@true
+\ltx@onelevel@sanitize\KVO@false
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \subsubsection{\cs{DeclareStringOption}}
+%
+% \begin{macro}{\DeclareStringOption}
+% \begin{macrocode}
+\newcommand*{\DeclareStringOption}[2][]{%
+ \@ifnextchar[{%
+ \KVO@DeclareStringOption{#1}{#2}@%
+ }{%
+ \KVO@DeclareStringOption{#1}{#2}{}[]%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@DeclareStringOption}
+% \begin{macrocode}
+\def\KVO@DeclareStringOption#1#2#3[#4]{%
+ \KVO@ifdefinable{\KVO@prefix#2}{%
+ \@namedef{\KVO@prefix#2}{#1}%
+ \begingroup
+ \ifx\\#3\\%
+ \toks@{}%
+ \else
+ \toks@{[{#4}]}%
+ \fi
+ \edef\x{\endgroup
+ \noexpand\define@key{\KVO@family}{#2}\the\toks@{%
+ ^^A\begingroup
+ ^^A \toks@{####1}%
+ ^^A \ifx\@currext\@clsextension
+ ^^A \noexpand\ClassInfo
+ ^^A \else
+ ^^A \noexpand\PackageInfo
+ ^^A \fi
+ ^^A {\@currname}{%
+ ^^A [option] #2={\noexpand\the\toks@}%
+ ^^A }%
+ ^^A\endgroup
+ \noexpand\def
+ \expandafter\noexpand\csname\KVO@prefix#2\endcsname{####1}%
+ }%
+ }%
+ \x
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\cs{DeclareVoidOption}}
+%
+% \begin{macro}{\DeclareVoidOption}
+% \begin{macrocode}
+\newcommand*{\DeclareVoidOption}[2]{%
+ \begingroup
+ \let\next\@gobbletwo
+ \KVO@ifdefinable{\KVO@prefix#1}{%
+ \let\next\@firstofone
+ }%
+ \expandafter\endgroup
+ \next{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\define@key{\KVO@family}{#1}[\KVO@VOID@]{%
+ \noexpand\KVO@voidkey{\@currname}%
+ \ifx\@currext\@clsextension
+ \noexpand\@clsextension
+ \else
+ \noexpand\@pkgextension
+ \fi
+ {#1}%
+ {####1}%
+ \expandafter\noexpand\csname\KVO@prefix#1\endcsname
+ }%
+ }%
+ \x
+ \begingroup
+ \toks@{#2}%
+ \expandafter\endgroup
+ \expandafter\def
+ \csname\KVO@prefix#1\expandafter\endcsname
+ \expandafter{\the\toks@}%
+ }%
+}
+\def\KVO@VOID@{@VOID@}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@voidkey}
+% \begin{tabular}{@{}ll@{}}
+% |#1|& package/class name\\
+% |#2|& |\@pkgextension|/|\@clsextension|\\
+% |#3|& key name\\
+% |#4|& default (|@VOID@|)\\
+% |#5|& macro with option code
+% \end{tabular}
+% \begin{macrocode}
+\def\KVO@voidkey#1#2#3#4{%
+ \def\CurrentOption{#3}%
+ \begingroup
+ \def\x{#4}%
+ \expandafter\endgroup
+ \ifx\x\KVO@VOID@
+ \else
+ \ifx#2\@clsextension
+ \expandafter\ClassWarning
+ \else
+ \expandafter\PackageWarning
+ \fi
+ {#1}{%
+ Unexpected value for option `#3'\MessageBreak
+ is ignored%
+ }%
+ \fi
+ ^^A\ifx#2\@clsextension
+ ^^A \expandafter\ClassInfo
+ ^^A\else
+ ^^A \expandafter\PackageInfo
+ ^^A\fi
+ ^^A{#1}{[option] #3}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\cs{DeclareDefaultOption}}
+%
+% \begin{macro}{\DeclareDefaultOption}
+% \begin{macrocode}
+\newcommand*{\DeclareDefaultOption}{%
+ \@namedef{KVO@default@\@currname.\@currext}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsubsection{\cs{DeclareLocalOptions}}
+%
+% \begin{macro}{\DeclareLocalOptions}
+% \begin{macrocode}
+\newcommand*{\DeclareLocalOptions}[1]{%
+ \comma@parse{#1}\KVO@DeclareLocalOption
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@DeclareLocalOption}
+% \begin{macrocode}
+\def\KVO@DeclareLocalOption#1{%
+ \expandafter\def\csname KVO@local@\KVO@family @#1\endcsname{}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Dynamic options}
+%
+% \subsubsection{\cs{DisableKeyvalOption}}
+%
+% \begin{macrocode}
+\SetupKeyvalOptions{%
+ family=KVOdyn,%
+ prefix=KVOdyn@%
+}
+\DeclareBoolOption[true]{global}
+\DeclareComplementaryOption{local}{global}
+\DeclareStringOption[undef]{action}
+\let\KVOdyn@name\relax
+\let\KVOdyn@ext\@empty
+\define@key{KVOdyn}{class}{%
+ \def\KVOdyn@name{#1}%
+ \let\KVOdyn@ext\@clsextension
+}
+\define@key{KVOdyn}{package}{%
+ \def\KVOdyn@name{#1}%
+ \let\KVOdyn@ext\@pkgextension
+}
+\newcommand*{\DisableKeyvalOption}[3][]{%
+ \begingroup
+ \kvsetkeys{KVOdyn}{#1}%
+ \def\x{\endgroup}%
+ \@ifundefined{KVO@action@\KVOdyn@action}{%
+ \PackageError{kvoptions}{%
+ Unknown disable action %
+ `\expandafter\strip@prefix\meaning\KVOdyn@action'\MessageBreak
+ for option `#3' in keyval family '#2'%
+ }\@ehc
+ }{%
+ \csname KVO@action@\KVOdyn@action\endcsname{#2}{#3}%
+ }%
+ \x
+}
+\def\KVO@action@undef#1#2{%
+ \edef\x{\endgroup
+ \ifKVOdyn@global\global\fi
+ \let
+ \expandafter\noexpand\csname KV@#1@#2\endcsname
+ \relax
+ \ifKVOdyn@global\global\fi
+ \let
+ \expandafter\noexpand\csname KV@#1@#2@default\endcsname
+ \relax
+ }%
+ ^^A\PackageInfo{kvoptions}{%
+ ^^A [option] key `#2' of family `#1'\MessageBreak
+ ^^A is disabled (undef, \ifKVOdyn@global global\else local\fi)%
+ ^^A}%
+}
+\def\KVO@action@ignore#1#2{%
+ \edef\x{\endgroup
+ \ifKVOdyn@global\global\fi
+ \let
+ \expandafter\noexpand\csname KV@#1@#2\endcsname
+ \noexpand\@gobble
+ \ifKVOdyn@global\global\fi
+ \let
+ \expandafter\noexpand\csname KV@#1@#2@default\endcsname
+ \noexpand\@empty
+ }%
+ ^^A\PackageInfo{kvoptions}{%
+ ^^A [option] key `#2' of family `#1'\MessageBreak
+ ^^A is disabled (ignore, \ifKVOdyn@global global\else local\fi)%
+ ^^A}%
+}
+\def\KVO@action@error{%
+ \KVO@do@action{error}%
+}
+\def\KVO@action@warning{%
+ \KVO@do@action{warning}%
+}
+% \end{macrocode}
+% \begin{tabular}{@{}ll@{}}
+% |#1|& |error| or |warning|\\
+% |#2|& \meta{family}\\
+% |#3|& \meta{key}\\
+% \end{tabular}
+% \begin{macrocode}
+\def\KVO@do@action#1#2#3{%
+ \ifx\KVOdyn@name\relax
+ \PackageError{kvoptions}{%
+ Action type `#1' needs package/class name\MessageBreak
+ for key `#3' in family `#2'%
+ }\@ehc
+ \else
+ \edef\x{\endgroup
+ \noexpand\define@key{#2}{#3}[]{%
+ \expandafter\noexpand\csname KVO@disable@#1\endcsname
+ {\KVOdyn@name}\noexpand\KVOdyn@ext{#3}%
+ }%
+ \ifKVOdyn@global
+ \global\let
+ \expandafter\noexpand\csname KV@#2@#3\endcsname
+ \expandafter\noexpand\csname KV@#2@#3\endcsname
+ \global\let
+ \expandafter\noexpand\csname KV@#2@#3@default\endcsname
+ \expandafter\noexpand\csname KV@#2@#3@default\endcsname
+ \fi
+ }%
+ ^^A\ifx\KVOdyn@ext\@clsextension
+ ^^A \expandafter\ClassInfo
+ ^^A\else
+ ^^A \expandafter\PackageInfo
+ ^^A\fi
+ ^^A{\KVOdyn@name}{%
+ ^^A [option] key `#3' of family `#2'\MessageBreak
+ ^^A is disabled (#1, \ifKVOdyn@global global\else local\fi)%
+ ^^A}%
+ \fi
+}
+\def\KVO@disable@error#1#2#3{%
+ \ifx#2\@clsextension
+ \expandafter\ClassError
+ \else
+ \expandafter\PackageError
+ \fi
+ {#1}{%
+ Option `#3' is given too late,\MessageBreak
+ now the option is ignored%
+ }\@ehc
+}
+\def\KVO@disable@warning#1#2#3{%
+ \ifx#2\@clsextension
+ \expandafter\ClassWarning
+ \else
+ \expandafter\PackageWarning
+ \fi
+ {#1}{%
+ Option `#3' is already consumed\MessageBreak
+ and has no effect%
+ }%
+}
+% \end{macrocode}
+%
+% \subsection{Change option code}
+%
+% \subsubsection{\cs{AddToKeyvalOption}}
+%
+% \begin{macro}{\AddToKeyvalOption}
+% \begin{macrocode}
+\newcommand*{\AddToKeyvalOption}{%
+ \@ifstar{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\KVO@AddToKeyvalOption{\KVO@family}%
+ }%
+ \x
+ }%
+ \KVO@AddToKeyvalOption
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@AddToKeyvalOption}
+% \begin{macrocode}
+\def\KVO@AddToKeyvalOption#1#2{%
+ \@ifundefined{KV@#1@#2}{%
+ \PackageWarning{kvoptions}{%
+ Key `#2' of family `#1' does not exist.\MessageBreak
+ Ignoring \string\AddToKeyvalOption
+ }%
+ \@gobble
+ }{%
+ \edef\KVO@next{%
+ \noexpand\KVO@@AddToKeyvalOption
+ \expandafter\noexpand\csname KV@#1@#2\endcsname
+ }%
+ \afterassignment\KVO@next
+ \def\KVO@temp##1%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@@AddToKeyvalOption}
+% \begin{macrocode}
+\def\KVO@@AddToKeyvalOption#1{%
+ \begingroup
+ \toks@\expandafter{#1{##1}}%
+ \toks@\expandafter{\the\expandafter\toks@\KVO@temp{##1}}%
+ \edef\x{\endgroup
+ \noexpand\def\noexpand#1####1{\the\toks@}%
+ }%
+ \x
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Process options}
+%
+% \subsubsection{Get global options}
+%
+% Package \xpackage{xkeyval} removes options with equal signs from
+% the global options (\cs{@classoptionslist}). The effect is that
+% other packages and classes will not see these global options anymore.
+% A bug-report was answered that this behaviour is ``by design''.
+% Thus I call it a design bug. Now getting the global options require
+% an algorithm instead of a simple macro call.
+% \begin{macrocode}
+%</package>
+%<*package|patch>
+% \end{macrocode}
+% \begin{macro}{\KVO@IfDefThen}
+% Call |#2| if command |#1| is defined and not \cs{relax}.
+% (Package \xpackage{kvoptions-patch} does not load
+% package \xpackage{ltxcmds}.)
+% \begin{macrocode}
+\def\KVO@IfDefThen#1#2{%
+ \ifx#1\ltx@undefined
+ \else
+ \ifx#1\relax
+ \else
+ #2%
+ \fi
+ \fi
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@GetClassOptionsList}
+% \begin{macrocode}
+\def\KVO@GetClassOptionsList{%
+ \let\KVO@classoptionslist\@classoptionslist
+ \KVO@IfDefThen\@classoptionslist{%
+ \KVO@IfDefThen\XKV@documentclass{%
+ \ifx\XKV@documentclass\ltx@empty
+ \else
+ \KVO@IfDefThen\XKV@classoptionslist{%
+ \ifx\XKV@classoptionslist\ltx@empty
+ \else
+ \let\KVO@classoptionslist\XKV@classoptionslist
+ \fi
+ }%
+ \fi
+ }%
+ }%
+}%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+%</package|patch>
+%<*package>
+% \end{macrocode}
+%
+% \subsubsection{\cs{ProcessKeyvalOptions}}
+%
+% \begin{macro}{\ProcessKeyvalOptions}
+% If the optional star is given, we get the family
+% name and expand it for safety.
+% \begin{macrocode}
+\newcommand*{\ProcessKeyvalOptions}{%
+ \@ifstar{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\KVO@ProcessKeyvalOptions{\KVO@family}%
+ }%
+ \x
+ }%
+ \KVO@ProcessKeyvalOptions
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\def\KVO@ProcessKeyvalOptions#1{%
+ \let\@tempc\relax
+ \let\KVO@temp\@empty
+% \end{macrocode}
+% Add any global options that are known to KV to the start of
+% the list being built in |\KVO@temp| and mark them used (by
+% removing them from the unused option list).
+% \begin{macrocode}
+ \ifx\@currext\@clsextension
+ \else
+ \KVO@GetClassOptionsList
+ \ifx\KVO@classoptionslist\relax
+ \else
+ \@for\KVO@CurrentOption:=\KVO@classoptionslist\do{%
+ \@ifundefined{KV@#1@\expandafter\KVO@getkey
+ \KVO@CurrentOption=\@nil}{%
+ }{%
+ \@ifundefined{KVO@local@#1@\expandafter\KVO@getkey
+ \KVO@CurrentOption=\@nil}{%
+ \ifx\KVO@Patch Y%
+ \edef\KVO@temp{%
+ \etex@unexpanded\expandafter{%
+ \KVO@temp
+ }%
+ ,%
+ \etex@unexpanded\expandafter{%
+ \KVO@CurrentOption
+ }%
+ ,%
+ }%
+ \ltx@onelevel@sanitize\KVO@CurrentOption
+ \else
+ \edef\KVO@temp{%
+ \KVO@temp
+ ,%
+ \KVO@CurrentOption
+ ,%
+ }%
+ \fi
+ \@expandtwoargs\@removeelement\KVO@CurrentOption
+ \@unusedoptionlist\@unusedoptionlist
+ }{}%
+ }%
+ }%
+ \fi
+ \fi
+% \end{macrocode}
+% Now stick the package options at the end of the list and wrap
+% in a call to \cs{setkeys}. A class ignores unknown global
+% options, we must remove them to prevent error messages
+% from \cs{setkeys}.
+% \begin{macrocode}
+ \begingroup
+ \toks\tw@{}%
+ \@ifundefined{opt@\@currname.\@currext}{%
+ \toks@\expandafter{\KVO@temp}%
+ }{%
+ \toks@\expandafter\expandafter\expandafter{%
+ \csname opt@\@currname.\@currext\endcsname
+ }%
+ \ifx\@currext\@clsextension
+ \edef\CurrentOption{\the\toks@}%
+ \toks@\expandafter{\KVO@temp}%
+ \@for\CurrentOption:=\CurrentOption\do{%
+ \@ifundefined{%
+ KV@#1@\expandafter\KVO@getkey\CurrentOption=\@nil
+ }{%
+% \end{macrocode}
+% A class puts not used options in the unused option list
+% unless there is a default handler.
+% \begin{macrocode}
+ \@ifundefined{KVO@default@\@currname.\@currext}{%
+ \ifx\KVO@Patch Y%
+ \ltx@onelevel@sanitize\CurrentOption
+ \fi
+ \ifx\@unusedoptionlist\@empty
+ \global\let\@unusedoptionlist\CurrentOption
+ \else
+ \expandafter\expandafter\expandafter\gdef
+ \expandafter\expandafter\expandafter\@unusedoptionlist
+ \expandafter\expandafter\expandafter{%
+ \expandafter\@unusedoptionlist
+ \expandafter,\CurrentOption
+ }%
+ \fi
+ }{%
+ \toks\tw@\expandafter{%
+ \the\toks\expandafter\tw@\expandafter,\CurrentOption
+ }%
+ }%
+ }{%
+ \toks@\expandafter{%
+ \the\expandafter\toks@\expandafter,\CurrentOption
+ }%
+ }%
+ }%
+ \else
+% \end{macrocode}
+% Without default action we pass all options to \cs{setkeys}.
+% Otherwise we have to check which options are known.
+% These are passed to \cs{setkeys}. For the others the default
+% action is performed.
+% \begin{macrocode}
+ \@ifundefined{KVO@default@\@currname.\@currext}{%
+ \toks@\expandafter\expandafter\expandafter{%
+ \expandafter\KVO@temp\the\toks@
+ }%
+ }{%
+ \edef\CurrentOption{\the\toks@}%
+ \toks@\expandafter{\KVO@temp}%
+ \@for\CurrentOption:=\CurrentOption\do{%
+ \@ifundefined{%
+ KV@#1@\expandafter\KVO@getkey\CurrentOption=\@nil
+ }{%
+ \toks\tw@\expandafter{%
+ \the\toks\expandafter\tw@\expandafter,\CurrentOption
+ }%
+ }{%
+ \toks@\expandafter{%
+ \the\expandafter\toks@\expandafter,\CurrentOption
+ }%
+ }%
+ }%
+ }%
+ \fi
+ }%
+ \edef\KVO@temp{\endgroup
+ \noexpand\KVO@calldefault{\the\toks\tw@}%
+ \noexpand\KVO@setkeys{#1}{\the\toks@}%
+ }%
+ \KVO@temp
+% \end{macrocode}
+% Some cleanup of \cs{ProcessOptions}.
+% \begin{macrocode}
+ \let\CurrentOption\@empty
+ \AtEndOfPackage{\let\@unprocessedoptions\relax}%
+}
+% \end{macrocode}
+%
+% \subsubsection{\cs{ProcessLocalKeyvalOptions}}
+%
+% \begin{macro}{\ProcessLocalKeyvalOptions}
+% If the optional star is given, we get the family
+% name and expand it for safety.
+% \begin{macrocode}
+\newcommand*{\ProcessLocalKeyvalOptions}{%
+ \@ifstar{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\KVO@ProcessLocalKeyvalOptions{\KVO@family}%
+ }%
+ \x
+ }%
+ \KVO@ProcessLocalKeyvalOptions
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\def\KVO@ProcessLocalKeyvalOptions#1{%
+ \let\@tempc\relax
+ \let\KVO@temp\@empty
+% \end{macrocode}
+% Check if \cs{ProcessLocalKeyvalOptions} is called inside
+% a package.
+% \begin{macrocode}
+ \ifx\@currext\@pkgextension
+ \else
+ \PackageError{kvoptions}{%
+ \string\ProcessLocalKeyvalOptions\space is intended for packages only%
+ }\@ehc
+ \fi
+% \end{macrocode}
+% The package options are put into toks register \cs{toks@}.
+% \begin{macrocode}
+ \begingroup
+ \toks\tw@{}%
+ \@ifundefined{opt@\@currname.\@currext}{%
+ \toks@\expandafter{\KVO@temp}%
+ }{%
+ \toks@\expandafter\expandafter\expandafter{%
+ \csname opt@\@currname.\@currext\endcsname
+ }%
+% \end{macrocode}
+% Without default action we pass all options to \cs{setkeys}.
+% Otherwise we have to check which options are known.
+% These are passed to \cs{setkeys}. For the others the default
+% action is performed.
+% \begin{macrocode}
+ \@ifundefined{KVO@default@\@currname.\@currext}{%
+ \toks@\expandafter\expandafter\expandafter{%
+ \expandafter\KVO@temp\the\toks@
+ }%
+ }{%
+ \edef\CurrentOption{\the\toks@}%
+ \toks@\expandafter{\KVO@temp}%
+ \@for\CurrentOption:=\CurrentOption\do{%
+ \@ifundefined{%
+ KV@#1@\expandafter\KVO@getkey\CurrentOption=\@nil
+ }{%
+ \toks\tw@\expandafter{%
+ \the\toks\expandafter\tw@\expandafter,\CurrentOption
+ }%
+ }{%
+ \toks@\expandafter{%
+ \the\expandafter\toks@\expandafter,\CurrentOption
+ }%
+ }%
+ }%
+ }%
+ }%
+ \edef\KVO@temp{\endgroup
+ \noexpand\KVO@calldefault{\the\toks\tw@}%
+ \noexpand\KVO@setkeys{#1}{\the\toks@}%
+ }%
+ \KVO@temp
+% \end{macrocode}
+% Some cleanup of \cs{ProcessOptions}.
+% \begin{macrocode}
+ \let\CurrentOption\@empty
+ \AtEndOfPackage{\let\@unprocessedoptions\relax}%
+}
+% \end{macrocode}
+%
+% \subsubsection{Helper macros}
+%
+% \begin{macro}{\KVO@getkey}
+% Extract the key part of a key=value pair.
+% \begin{macrocode}
+\def\KVO@getkey#1=#2\@nil{#1}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\KVO@calldefault}
+% \begin{macrocode}
+\def\KVO@calldefault#1{%
+ \begingroup
+ \def\x{#1}%
+ \expandafter\endgroup
+ \ifx\x\@empty
+ \else
+ \@for\CurrentOption:=#1\do{%
+ \ifx\CurrentOption\@empty
+ \else
+ \expandafter\KVO@setcurrents\CurrentOption=\@nil
+ \@nameuse{KVO@default@\@currname.\@currext}%
+ \fi
+ }%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KVO@setcurrents}
+% Extract the key part of a key=value pair.
+% \begin{macrocode}
+\def\KVO@setcurrents#1=#2\@nil{%
+ \def\CurrentOptionValue{#2}%
+ \ifx\CurrentOptionValue\@empty
+ \let\CurrentOptionKey\CurrentOption
+ \let\CurrentOptionValue\relax
+ \else
+ \edef\CurrentOptionKey{\zap@space#1 \@empty}%
+ \expandafter\KVO@setcurrentvalue\CurrentOption\@nil
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\KV@setcurrentvalue}
+% Here the value part is parsed. Package \xpackage{keyval}'s
+% \cs{KV@@sp@def} helps in removing spaces at the begin and
+% end of the value.
+% \begin{macrocode}
+\def\KVO@setcurrentvalue#1=#2\@nil{%
+ \KV@@sp@def\CurrentOptionValue{#2}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{\plainTeX}
+%
+% Disable \LaTeX\ stuff.
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname documentclass\endcsname\relax
+ \def\ProcessKeyvalOptions{%
+ \@ifstar{}\@gobble
+ }%
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\KVO@AtEnd%
+%</package>
+% \end{macrocode}
+%
+% \subsection{Package \xpackage{kvoptions-patch}}
+%
+% \begin{macrocode}
+%<*patch>
+\NeedsTeXFormat{LaTeX2e}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \catcode64=11 % @
+ \def\x{\endgroup
+ \expandafter\edef\csname KVO@AtEnd\endcsname{%
+ \endlinechar=\the\endlinechar\relax
+ \catcode13=\the\catcode13\relax
+ \catcode32=\the\catcode32\relax
+ \catcode35=\the\catcode35\relax
+ \catcode61=\the\catcode61\relax
+ \catcode64=\the\catcode64\relax
+ \catcode123=\the\catcode123\relax
+ \catcode125=\the\catcode125\relax
+ }%
+ }%
+\x\catcode61\catcode48\catcode32=10\relax%
+\catcode13=5 % ^^M
+\endlinechar=13 %
+\catcode35=6 % #
+\catcode64=11 % @
+\catcode123=1 % {
+\catcode125=2 % }
+\def\TMP@EnsureCode#1#2{%
+ \edef\KVO@AtEnd{%
+ \KVO@AtEnd
+ \catcode#1=\the\catcode#1\relax
+ }%
+ \catcode#1=#2\relax
+}
+\TMP@EnsureCode{39}{12}% '
+\TMP@EnsureCode{40}{12}% (
+\TMP@EnsureCode{41}{12}% )
+\TMP@EnsureCode{43}{12}% +
+\TMP@EnsureCode{44}{12}% ,
+\TMP@EnsureCode{45}{12}% -
+\TMP@EnsureCode{46}{12}% .
+\TMP@EnsureCode{47}{12}% /
+\TMP@EnsureCode{58}{12}% :
+\TMP@EnsureCode{60}{12}% <
+\TMP@EnsureCode{62}{12}% >
+\TMP@EnsureCode{91}{12}% [
+\TMP@EnsureCode{93}{12}% ]
+\TMP@EnsureCode{96}{12}% `
+\TMP@EnsureCode{124}{12}% |
+\edef\KVO@AtEnd{\KVO@AtEnd\noexpand\endinput}
+\ProvidesPackage{kvoptions-patch}%
+ [2019/11/29 v3.13 LaTeX patch for keyval options (HO)]%
+% \end{macrocode}
+%
+% Check for \eTeX.
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname eTeXversion\endcsname\relax
+ \PackageWarningNoLine{kvoptions-patch}{%
+ Package loading is aborted, because e-TeX is missing%
+ }%
+ \expandafter\KVO@AtEnd
+\fi%
+% \end{macrocode}
+%
+% Package \xpackage{etexcmds} for \cs{etex@unexpanded}.
+% \begin{macrocode}
+\RequirePackage{etexcmds}[2007/09/09]
+\ifetex@unexpanded
+\else
+ \PackageError{kvoptions-patch}{%
+ Could not find eTeX's \string\unexpanded.\MessageBreak
+ Try adding \string\RequirePackage\string{etexcmds\string} %
+ before \string\documentclass%
+ }\@ehd
+ \expandafter\KVO@AtEnd
+\fi%
+% \end{macrocode}
+%
+% Check for package \xpackage{xkvltxp}.
+% \begin{macrocode}
+\@ifpackageloaded{xkvltxp}{%
+ \PackageWarningNoLine{kvoptions}{%
+ Option `patch' cannot be used together with\MessageBreak
+ package `xkvltxp' that is already loaded.\MessageBreak
+ Therefore package loading is aborted%
+ }%
+ \KVO@AtEnd
+}{}%
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@if@ptions#1#2#3{%
+ \begingroup
+ \KVO@normalize\KVO@temp{#3}%
+ \edef\x{\endgroup
+ \noexpand\@if@pti@ns{%
+ \detokenize\expandafter\expandafter\expandafter{%
+ \csname opt@#2.#1\endcsname
+ }%
+ }{%
+ \detokenize\expandafter{\KVO@temp}%
+ }%
+ }%
+ \x
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@pass@ptions#1#2#3{%
+ \KVO@normalize\KVO@temp{#2}%
+ \@ifundefined{opt@#3.#1}{%
+ \expandafter\gdef\csname opt@#3.#1%
+ \expandafter\endcsname\expandafter{%
+ \KVO@temp
+ }%
+ }{%
+ \expandafter\gdef\csname opt@#3.#1%
+ \expandafter\expandafter\expandafter\endcsname
+ \expandafter\expandafter\expandafter{%
+ \csname opt@#3.#1\expandafter\endcsname\expandafter,\KVO@temp
+ }%
+ }%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\ProcessOptions{%
+ \let\ds@\@empty
+ \@ifundefined{opt@\@currname.\@currext}{%
+ \let\@curroptions\@empty
+ }{%
+ \expandafter\expandafter\expandafter\def
+ \expandafter\expandafter\expandafter\@curroptions
+ \expandafter\expandafter\expandafter{%
+ \csname opt@\@currname.\@currext\endcsname
+ }%
+ }%
+ \@ifstar\KVO@xprocess@ptions\KVO@process@ptions
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@process@ptions{%
+ \@for\CurrentOption:=\@declaredoptions\do{%
+ \ifx\CurrentOption\@empty
+ \else
+ \begingroup
+ \ifx\@currext\@clsextension
+ \toks@{}%
+ \else
+ \KVO@GetClassOptionsList
+ \toks@\expandafter{\KVO@classoptionslist,}%
+ \fi
+ \toks\tw@\expandafter{\@curroptions}%
+ \edef\x{\endgroup
+ \noexpand\in@{,\CurrentOption,}{,\the\toks@\the\toks\tw@,}%
+ }%
+ \x
+ \ifin@
+ \KVO@use@ption
+ \expandafter\let\csname ds@\CurrentOption\endcsname\@empty
+ \fi
+ \fi
+ }%
+ \KVO@process@pti@ns
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@xprocess@ptions{%
+ \ifx\@currext\@clsextension
+ \else
+ \KVO@GetClassOptionsList
+ \@for\CurrentOption:=\KVO@classoptionslist\do{%
+ \ifx\CurrentOption\@empty
+ \else
+ \KVO@in@\CurrentOption\@declaredoptions
+ \ifin@
+ \KVO@use@ption
+ \expandafter\let\csname ds@\CurrentOption\endcsname\@empty
+ \fi
+ \fi
+ }%
+ \fi
+ \KVO@process@pti@ns
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@in@#1#2{%
+ \in@false
+ \begingroup
+ \@for\x:=#2\do{%
+ \ifx\x#1\relax
+ \in@true
+ \fi
+ }%
+ \edef\x{\endgroup
+ \ifin@
+ \noexpand\in@true
+ \fi
+ }%
+ \x
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@process@pti@ns{%
+ \@for\CurrentOption:=\@curroptions\do{%
+ \@ifundefined{ds@\KVO@SanitizedCurrentOption}{%
+ \KVO@use@ption
+ \default@ds
+ }%
+ \KVO@use@ption
+ }%
+ \@for\CurrentOption:=\@declaredoptions\do{%
+ \expandafter\let\csname ds@\CurrentOption\endcsname\relax
+ }%
+ \let\CurrentOption\@empty
+ \let\@fileswith@pti@ns\@@fileswith@pti@ns
+ \AtEndOfPackage{\let\@unprocessedoptions\relax}%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@use@ption{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\@removeelement{%
+ \detokenize\expandafter{\CurrentOption}%
+ }{%
+ \detokenize\expandafter{\@unusedoptionlist}%
+ }%
+ }%
+ \x\@unusedoptionlist
+ \csname ds@\KVO@SanitizedCurrentOption\endcsname
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\OptionNotUsed{%
+ \ifx\@currext\@clsextension
+ \xdef\@unusedoptionlist{%
+ \ifx\@unusedoptionlist\@empty
+ \else
+ \detokenize\expandafter{\@unusedoptionlist,}%
+ \fi
+ \detokenize\expandafter{\CurrentOption}%
+ }%
+ \fi
+}
+% \end{macrocode}
+%
+% Variant of \cs{ExecuteOptions} that better protects \cs{CurrentOption}.
+% \begin{macrocode}
+\def\CurrentOption@SaveLevel{0}
+\def\ExecuteOptions{%
+ \expandafter\KVO@ExecuteOptions
+ \csname CurrentOption@\CurrentOption@SaveLevel\endcsname
+}
+\def\KVO@ExecuteOptions#1#2{%
+ \let#1\CurrentOption
+ \edef\CurrentOption@SaveLevel{%
+ \the\numexpr\CurrentOption@SaveLevel+1%
+ }%
+ \@for\CurrentOption:=#2\do{%
+ \csname ds@\CurrentOption\endcsname
+ }%
+ \edef\CurrentOption@SaveLevel{%
+ \the\numexpr\CurrentOption@SaveLevel-1%
+ }%
+ \let\CurrentOption#1%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@fileswith@pti@ns#1[#2]#3[#4]{%
+ \ifx#1\@clsextension
+ \ifx\@classoptionslist\relax
+ \KVO@normalize\KVO@temp{#2}%
+ \expandafter\gdef\expandafter\@classoptionslist\expandafter{%
+ \KVO@temp
+ }%
+ \def\reserved@a{%
+ \KVO@onefilewithoptions{#3}[{#2}][{#4}]#1%
+ \@documentclasshook
+ }%
+ \else
+ \def\reserved@a{%
+ \KVO@onefilewithoptions{#3}[{#2}][{#4}]#1%
+ }%
+ \fi
+ \else
+ \begingroup
+ \let\KVO@temp\relax
+ \let\KVO@onefilewithoptions\relax
+ \let\@pkgextension\relax
+ \def\reserved@b##1,{%
+ \ifx\@nil##1\relax
+ \else
+ \ifx\relax##1\relax
+ \else
+ \KVO@onefilewithoptions{##1}[{\KVO@temp}][{#4}]%
+ \@pkgextension
+ \fi
+ \expandafter\reserved@b
+ \fi
+ }%
+ \edef\reserved@a{\zap@space#3 \@empty}%
+ \edef\reserved@a{\expandafter\reserved@b\reserved@a,\@nil,}%
+ \toks@{#2}%
+ \def\KVO@temp{\the\toks@}%
+ \edef\reserved@a{\endgroup \reserved@a}%
+ \fi
+ \reserved@a
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@onefilewithoptions#1[#2][#3]#4{%
+ \@pushfilename
+ \xdef\@currname{#1}%
+ \global\let\@currext#4%
+ \expandafter\let\csname\@currname.\@currext-h@@k\endcsname\@empty
+ \let\CurrentOption\@empty
+ \@reset@ptions
+ \makeatletter
+ \def\reserved@a{%
+ \@ifl@aded\@currext{#1}{%
+ \@if@ptions\@currext{#1}{#2}{%
+ }{%
+ \begingroup
+ \@ifundefined{opt@#1.\@currext}{%
+ \def\x{}%
+ }{%
+ \edef\x{%
+ \expandafter\expandafter\expandafter\strip@prefix
+ \expandafter\meaning\csname opt@#1.\@currext\endcsname
+ }%
+ }%
+ \def\y{#2}%
+ \edef\y{\expandafter\strip@prefix\meaning\y}%
+ \@latex@error{Option clash for \@cls@pkg\space #1}{%
+ The package #1 has already been loaded %
+ with options:\MessageBreak
+ \space\space[\x]\MessageBreak
+ There has now been an attempt to load it %
+ with options\MessageBreak
+ \space\space[\y]\MessageBreak
+ Adding the global options:\MessageBreak
+ \space\space
+ \x,\y\MessageBreak
+ to your \noexpand\documentclass declaration may fix this.%
+ \MessageBreak
+ Try typing \space <return> \space to proceed.%
+ }%
+ \endgroup
+ }%
+ }{%
+ \@pass@ptions\@currext{#2}{#1}%
+ \global\expandafter
+ \let\csname ver@\@currname.\@currext\endcsname\@empty
+ \InputIfFileExists
+ {\@currname.\@currext}%
+ {}%
+ {\@missingfileerror\@currname\@currext}%
+ \let\@unprocessedoptions\@@unprocessedoptions
+ \csname\@currname.\@currext-h@@k\endcsname
+ \expandafter\let\csname\@currname.\@currext-h@@k\endcsname
+ \@undefined
+ \@unprocessedoptions
+ }%
+ \@ifl@ter\@currext{#1}{#3}{%
+ }{%
+ \@latex@warning@no@line{%
+ You have requested,\on@line, %
+ version\MessageBreak
+ #3' of \@cls@pkg\space #1,\MessageBreak
+ but only version\MessageBreak
+ `\csname ver@#1.\@currext\endcsname'\MessageBreak
+ is available%
+ }%
+ }%
+ \ifx\@currext\@clsextension\let\LoadClass\@twoloadclasserror\fi
+ \@popfilename
+ \@reset@ptions
+ }%
+ \reserved@a
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@unknownoptionerror{%
+ \@latex@error{%
+ Unknown option `\KVO@SanitizedCurrentOption' %
+ for \@cls@pkg\space`\@currname'%
+ }{%
+ The option `\KVO@SanitizedCurrentOption' was not declared in %
+ \@cls@pkg\space`\@currname', perhaps you\MessageBreak
+ misspelled its name. %
+ Try typing \space <return> %
+ \space to proceed.%
+ }%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\@@unprocessedoptions{%
+ \ifx\@currext\@pkgextension
+ \@ifundefined{opt@\@currname.\@currext}{%
+ \let\@curroptions\@empty
+ }{%
+ \expandafter\let\expandafter\@curroptions
+ \csname opt@\@currname.\@currext\endcsname
+ }%
+ \@for\CurrentOption:=\@curroptions\do{%
+ \ifx\CurrentOption\@empty\else\@unknownoptionerror\fi
+ }%
+ \fi
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def\KVO@SanitizedCurrentOption{%
+ \expandafter\strip@prefix\meaning\CurrentOption
+}
+% \end{macrocode}
+%
+% Normalize option list.
+% \begin{macrocode}
+\def\KVO@normalize#1#2{%
+ \let\KVO@result\@empty
+ \KVO@splitcomma#2,\@nil
+ \let#1\KVO@result
+}
+\def\KVO@splitcomma#1,#2\@nil{%
+ \KVO@ifempty{#1}{}{%
+ \KVO@checkkv#1=\@nil
+ }%
+ \KVO@ifempty{#2}{}{\KVO@splitcomma#2\@nil}%
+}
+\def\KVO@ifempty#1{%
+ \expandafter\ifx\expandafter\\\detokenize{#1}\\%
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi
+}
+\def\KVO@checkkv#1=#2\@nil{%
+ \KVO@ifempty{#2}{%
+ % option without value
+ \edef\KVO@x{\zap@space#1 \@empty}%
+ \ifx\KVO@x\@empty
+ % ignore empty option
+ \else
+ % append to list
+ \edef\KVO@result{%
+ \etex@unexpanded\expandafter{\KVO@result},\KVO@x
+ }%
+ \fi
+ }{%
+ % #1: "key", #2: "value="
+ % add key part
+ \edef\KVO@result{%
+ \etex@unexpanded\expandafter{\KVO@result},%
+ \zap@space#1 \@empty
+ }%
+ \futurelet\@let@token\KVO@checkfirsttok#2 \@nil| = \@nil|\KVO@nil
+ }%
+}
+\def\KVO@checkfirsttok{%
+ \ifx\@let@token\bgroup
+ % no space at start
+ \expandafter\KVO@removelastspace\expandafter=%
+ % "<value><spaceopt>= \@nil"
+ \else
+ \expandafter\KVO@checkfirstA
+ \fi
+}
+\def\KVO@checkfirstA#1 #2\@nil{%
+ \KVO@ifempty{#2}{%
+ \KVO@removelastspace=#1 \@nil
+ }{%
+ \KVO@ifempty{#1}{%
+ \KVO@removelastspace=#2\@nil
+ }{%
+ \KVO@removelastspace=#1 #2\@nil
+ }%
+ }%
+}
+\def\KVO@removelastspace#1 = \@nil|#2\KVO@nil{%
+ \KVO@ifempty{#2}{%
+ \edef\KVO@result{%
+ \etex@unexpanded\expandafter{\KVO@result}%
+ \etex@unexpanded\expandafter{\KVO@removegarbage#1\KVO@nil}%
+ }%
+ }{%
+ \edef\KVO@result{%
+ \etex@unexpanded\expandafter{\KVO@result}%
+ \etex@unexpanded{#1}%
+ }%
+ }%
+}
+\def\KVO@removegarbage#1= \@nil#2\KVO@nil{#1}%
+% \end{macrocode}
+%
+% Arguments |#1| and |#2| are macros.
+% \begin{macrocode}
+\def\KVO@removeelement#1#2{%
+ \begingroup
+ \toks@={}%
+ \@for\x:=#2\do{%
+ \ifx\x\@empty
+ \else
+ \ifx\x#1\relax
+ \else
+ \edef\t{\the\toks@}%
+ \ifx\t\@empty
+ \else
+ \toks@\expandafter{\the\toks@,}%
+ \fi
+ \toks@\expandafter{\the\expandafter\toks@\x}%
+ \fi
+ \fi
+ }%
+ \edef\x{\endgroup
+ \def\noexpand#2{\the\toks@}%
+ }%
+ \x
+}
+% \end{macrocode}
+%
+%
+% \begin{macrocode}
+\let\@@fileswith@pti@ns\KVO@fileswith@pti@ns
+\ifx\@fileswith@pti@ns\@badrequireerror
+\else
+ \let\@fileswith@pti@ns\KVO@fileswith@pti@ns
+\fi
+% \end{macrocode}
+%
+% \begin{macro}{\KVO@Patch}
+% \begin{macrocode}
+\let\KVO@Patch=Y
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\KVO@AtEnd%
+%</patch>
+% \end{macrocode}
+%
+% \section{Test}
+%
+% \subsection{Preface for standard catcode check}
+%
+% \begin{macrocode}
+%<*test1>
+\input miniltx.tex\relax
+%</test1>
+% \end{macrocode}
+%
+% \subsection{Catcode checks for loading}
+%
+% \begin{macrocode}
+%<*test1>
+% \end{macrocode}
+% \begin{macrocode}
+\catcode`\{=1 %
+\catcode`\}=2 %
+\catcode`\#=6 %
+\catcode`\@=11 %
+\expandafter\ifx\csname count@\endcsname\relax
+ \countdef\count@=255 %
+\fi
+\expandafter\ifx\csname @gobble\endcsname\relax
+ \long\def\@gobble#1{}%
+\fi
+\expandafter\ifx\csname @firstofone\endcsname\relax
+ \long\def\@firstofone#1{#1}%
+\fi
+\expandafter\ifx\csname loop\endcsname\relax
+ \expandafter\@firstofone
+\else
+ \expandafter\@gobble
+\fi
+{%
+ \def\loop#1\repeat{%
+ \def\body{#1}%
+ \iterate
+ }%
+ \def\iterate{%
+ \body
+ \let\next\iterate
+ \else
+ \let\next\relax
+ \fi
+ \next
+ }%
+ \let\repeat=\fi
+}%
+\def\RestoreCatcodes{}
+\count@=0 %
+\loop
+ \edef\RestoreCatcodes{%
+ \RestoreCatcodes
+ \catcode\the\count@=\the\catcode\count@\relax
+ }%
+\ifnum\count@<255 %
+ \advance\count@ 1 %
+\repeat
+
+\def\RangeCatcodeInvalid#1#2{%
+ \count@=#1\relax
+ \loop
+ \catcode\count@=15 %
+ \ifnum\count@<#2\relax
+ \advance\count@ 1 %
+ \repeat
+}
+\def\RangeCatcodeCheck#1#2#3{%
+ \count@=#1\relax
+ \loop
+ \ifnum#3=\catcode\count@
+ \else
+ \errmessage{%
+ Character \the\count@\space
+ with wrong catcode \the\catcode\count@\space
+ instead of \number#3%
+ }%
+ \fi
+ \ifnum\count@<#2\relax
+ \advance\count@ 1 %
+ \repeat
+}
+\def\space{ }
+\expandafter\ifx\csname LoadCommand\endcsname\relax
+ \def\LoadCommand{\input kvoptions.sty\relax}%
+\fi
+\def\Test{%
+ \RangeCatcodeInvalid{0}{47}%
+ \RangeCatcodeInvalid{58}{64}%
+ \RangeCatcodeInvalid{91}{96}%
+ \RangeCatcodeInvalid{123}{255}%
+ \catcode`\@=12 %
+ \catcode`\\=0 %
+ \catcode`\%=14 %
+ \LoadCommand
+ \RangeCatcodeCheck{0}{36}{15}%
+ \RangeCatcodeCheck{37}{37}{14}%
+ \RangeCatcodeCheck{38}{47}{15}%
+ \RangeCatcodeCheck{48}{57}{12}%
+ \RangeCatcodeCheck{58}{63}{15}%
+ \RangeCatcodeCheck{64}{64}{12}%
+ \RangeCatcodeCheck{65}{90}{11}%
+ \RangeCatcodeCheck{91}{91}{15}%
+ \RangeCatcodeCheck{92}{92}{0}%
+ \RangeCatcodeCheck{93}{96}{15}%
+ \RangeCatcodeCheck{97}{122}{11}%
+ \RangeCatcodeCheck{123}{255}{15}%
+ \RestoreCatcodes
+}
+\Test
+\csname @@end\endcsname
+\end
+% \end{macrocode}
+% \begin{macrocode}
+%</test1>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*test2>
+\NeedsTeXFormat{LaTeX2e}
+\makeatletter
+\catcode`\@=11 %
+\def\RestoreCatcodes{}
+\count@=0 %
+\loop
+ \edef\RestoreCatcodes{%
+ \RestoreCatcodes
+ \catcode\the\count@=\the\catcode\count@\relax
+ }%
+\ifnum\count@<255 %
+ \advance\count@\@ne
+\repeat
+
+\def\RangeCatcodeInvalid#1#2{%
+ \count@=#1\relax
+ \loop
+ \catcode\count@=15 %
+ \ifnum\count@<#2\relax
+ \advance\count@\@ne
+ \repeat
+}
+\def\Test#1{%
+ \RangeCatcodeInvalid{0}{47}%
+ \RangeCatcodeInvalid{58}{64}%
+ \RangeCatcodeInvalid{91}{96}%
+ \RangeCatcodeInvalid{123}{255}%
+ \catcode`\@=12 %
+ \catcode`\\=0 %
+ \catcode`\{=1 %
+ \catcode`\}=2 %
+ \catcode`\#=6 %
+ \catcode`\[=12 %
+ \catcode`\]=12 %
+ \catcode`\%=14 %
+ \catcode`\ =10 %
+ \catcode13=5 %
+ #1\relax
+ \RestoreCatcodes
+}
+\Test{\RequirePackage{kvoptions-patch}}%
+\Test{\RequirePackage{kvoptions}}%
+\csname @@end\endcsname
+%</test2>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*test3>
+\NeedsTeXFormat{LaTeX2e}
+\makeatletter
+\RequirePackage{kvoptions}[2019/11/29]
+\def\msg#{\immediate\write16}
+\define@key{testfamily}{testkey}{%
+ \msg{[testfamily/testkey/#1]}%
+}
+\define@key{testfamily}{testdefaultkey}[testdefault]{%
+ \msg{[testfamily/testdefaultkey/#1]}%
+}
+\AddToKeyvalOption{testfamily}{testkey}{%
+ \msg{[addition/#1]}%
+}
+\AddToKeyvalOption{testfamily}{testdefaultkey}{%
+ \msg{[addition/#1]}%
+}
+\setkeys{testfamily}{%
+ testkey=testA,%
+ testdefaultkey=testB,%
+ testdefaultkey,%
+}
+\SetupKeyvalOptions{%
+ family=testfamily%
+}
+\AddToKeyvalOption*{testkey}{%
+ \msg{[star addition/#1]}%
+}
+\AddToKeyvalOption*{testdefaultkey}{%
+ \msg{[star addition/#1]}%
+}
+\setkeys{testfamily}{%
+ testkey=testA,%
+ testdefaultkey=testB,%
+ testdefaultkey,%
+}
+\@@end
+%</test3>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*test4pkg>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{kvoptions-test4}[2019/11/29 package for testing]
+\RequirePackage{kvoptions}[2019/11/29]
+\SetupKeyvalOptions{%
+ family=FOO,%
+ prefix=foo,%
+ setkeys=\kvsetkeys,%
+}
+\DeclareStringOption{str}
+\define@key{FOO}{set}{%
+ \setkeys{BAR}{strbar={#1}}%
+}
+\define@key{BAR}{strbar}{%
+ \def\foostr{[BAR:#1]}%
+}
+\ProcessKeyvalOptions*
+%</test4pkg>
+% \end{macrocode}
+% \begin{macrocode}
+%<*test4>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{kvoptions-test4.tex}[2019/11/29 test file]
+\RequirePackage[%
+ str=A,set=B,str=C,%
+]{kvoptions-test4}[2019/11/29]
+\def\TestExpected{C}
+\ifx\foostr\TestExpected
+ \typeout{* Test ok.}%
+\else
+ \typeout{* Result: [\foostr]}%
+ \typeout{* Expected: [\TestExpected]}%
+ \errmessage{Test failed!}%
+\fi
+\csname @@end\endcsname\end
+%</test4>
+% \end{macrocode}
+%
+% \section{Installation}
+%
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
+% CTAN\footnote{\CTANpkg{kvoptions}}:
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/kvoptions/kvoptions.dtx}] The source file.
+% \item[\CTAN{macros/latex/contrib/kvoptions/kvoptions.pdf}] Documentation.
+% \end{description}
+%
+%
+% \paragraph{Bundle.} All the packages of the bundle `kvoptions'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTANinstall{install/macros/latex/contrib/kvoptions.tds.zip}]
+% \end{description}
+% \emph{TDS} refers to the standard ``A Directory Structure
+% for \TeX\ Files'' (\CTANpkg{tds}). Directories
+% with \xfile{texmf} in their name are usually organized this way.
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{kvoptions.tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip kvoptions.tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
+% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
+% \docstrip\ archive. The files are extracted by running the
+% \xfile{.dtx} through \plainTeX:
+% \begin{quote}
+% \verb|tex kvoptions.dtx|
+% \end{quote}
+%
+% \paragraph{TDS.} Now the different files must be moved into
+% the different directories in your installation TDS tree
+% (also known as \xfile{texmf} tree):
+% \begin{quote}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
+% kvoptions.sty & tex/latex/kvoptions/kvoptions.sty\\
+% kvoptions-patch.sty & tex/latex/kvoptions/kvoptions-patch.sty\\
+% kvoptions.pdf & doc/latex/kvoptions/kvoptions.pdf\\
+% example-mycolorsetup.sty & doc/latex/kvoptions/example-mycolorsetup.sty\\
+% kvoptions.dtx & source/latex/kvoptions/kvoptions.dtx\\
+% \end{tabular}^^A
+% }^^A
+% \sbox0{\t}^^A
+% \ifdim\wd0>\linewidth
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \end{quote}
+% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
+% TDS installing feature, then some files can already be in the right
+% place, see the documentation of \docstrip.
+%
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
+% these. For example, \TeX\,Live\ users run \verb|texhash| or
+% \verb|mktexlsr|.
+%
+% \subsection{Some details for the interested}
+%
+% \paragraph{Unpacking with \LaTeX.}
+% The \xfile{.dtx} chooses its action depending on the format:
+% \begin{description}
+% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\LaTeX:] Generate the documentation.
+% \end{description}
+% If you insist on using \LaTeX\ for \docstrip\ (really,
+% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% about your intention:
+% \begin{quote}
+% \verb|latex \let\install=y\input{kvoptions.dtx}|
+% \end{quote}
+% Do not forget to quote the argument according to the demands
+% of your shell.
+%
+% \paragraph{Generating the documentation.}
+% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
+% the documentation. The process can be configured by the
+% configuration file \xfile{ltxdoc.cfg}. For instance, put this
+% line into this file, if you want to have A4 as paper format:
+% \begin{quote}
+% \verb|\PassOptionsToClass{a4paper}{article}|
+% \end{quote}
+% An example follows how to generate the
+% documentation with pdf\LaTeX:
+% \begin{quote}
+%\begin{verbatim}
+%pdflatex kvoptions.dtx
+%makeindex -s gind.ist kvoptions.idx
+%pdflatex kvoptions.dtx
+%makeindex -s gind.ist kvoptions.idx
+%pdflatex kvoptions.dtx
+%\end{verbatim}
+% \end{quote}
+%
+% \begin{thebibliography}{99}
+% \bibitem{tb94wright}
+% A guide to key-value methods, Joseph Wright, second draft for
+% \href{https://www.tug.org/tugboat}{TUGBoat}, 2009-03-17.
+% \url{https://www.texdev.net/uploads/2009/03/keyval.pdf}
+% \bibpackage{ifthen}{David Carlisle}{2001/05/26}
+% {\CTANpkg{ifthen}}
+% \bibpackage{helvet}{Sebastian Rahtz, Walter Schmidt}{2004/01/26}
+% {\CTANpkg{psfonts}}
+% \bibpackage{hyperref}{Sebastian Rahtz, Heiko Oberdiek}{2006/02/12}
+% {\CTANpkg{hyperref}}
+% \bibpackage{keyval}{David Carlisle}{1999/03/16}
+% {\CTANpkg{keyval}}
+% \bibpackage{multicol}{Frank Mittelbach}{2004/02/14}
+% {\CTANpkg{multicol}}
+% \bibpackage{tabularx}{David Carlisle}{1999/01/07}
+% {\CTANpkg{tabularx}}
+% \bibpackage{tracefnt}{Frank Mittelbach, Rainer Sch\"opf}{1997/05/29}
+% {\CTANpkg{latex-base}}
+% \bibpackage{xkeyval}{Hendri Adriaens}{2005/05/07}
+% {\CTANpkg{xkeyval}}
+% \bibitem{clsguide}
+% The \LaTeX3 Project, \textit{\LaTeXe\ for class and package writers},
+% 2003/12/09.
+% \CTANpkg{clsguide}
+%
+% \end{thebibliography}
+%
+% \begin{History}
+% \begin{Version}{0000/00/00 v0.0}
+% \item
+% Probably David Carlisle's code in \xpackage{hyperref}
+% was the start.
+% \end{Version}
+% \begin{Version}{2004/02/22 v1.0}
+% \item
+% The first version was never published. It also
+% has offered a patch to get rid of \LaTeX's option
+% expansion.
+% \end{Version}
+% \begin{Version}{2006/02/16 v2.0}
+% \item
+% Now the package is redesigned with an easier
+% user interface.
+% \item
+% \cs{ProcessKeyvalOptions} remains the central service, inherited
+% from \xpackage{hyperref}'s \cs{ProcessOptionsWithKV}.
+% Now the use inside classes is also supported.
+% \item
+% Provides help macros for boolean and simple string options.
+% \item
+% Fixes for the patch of \LaTeX{}. The patch is only enabled,
+% if the user requests it.
+% \end{Version}
+% \begin{Version}{2006/02/20 v2.1}
+% \item
+% Unused option list is sanitized to prevent problems
+% with other packages that uses own processing methods
+% for key value options. Disadvantage: the unused global
+% option detection is weakened.
+% \item
+% New option type by \cs{DeclareVoidOption} for options without
+% value.
+% \item
+% Default rule by \cs{DeclareDefaultOption}.
+% \item
+% Dynamic options: \cs{DisableKeyvalOption}.
+% \end{Version}
+% \begin{Version}{2006/06/01 v2.2}
+% \item
+% Fixes for option \xoption{patch}.
+% \end{Version}
+% \begin{Version}{2006/08/17 v2.3}
+% \item
+% \cs{DeclareBooleanOption} renamed to \cs{DeclareBoolOption}
+% to avoid a name clash with package \cs{ifoption}.
+% \end{Version}
+% \begin{Version}{2006/08/22 v2.4}
+% \item
+% Option \xoption{patch}: \cs{ExecuteOptions} does not
+% change the meaning of macro \cs{CurrentOption} at all.
+% \end{Version}
+% \begin{Version}{2007/04/11 v2.5}
+% \item
+% Line ends sanitized.
+% \end{Version}
+% \begin{Version}{2007/05/06 v2.6}
+% \item
+% Uses package \xpackage{etexcmds}.
+% \end{Version}
+% \begin{Version}{2007/06/11 v2.7}
+% \item
+% The patch part fixes LaTeX bug latex/3965.
+% \end{Version}
+% \begin{Version}{2007/10/02 v2.8}
+% \item
+% Compatibility for \plainTeX\ added.
+% \item
+% Typos in documentation fixed (Axel Sommerfeldt).
+% \end{Version}
+% \begin{Version}{2007/10/11 v2.9}
+% \item
+% Bug fix for option \xoption{patch}.
+% \end{Version}
+% \begin{Version}{2007/10/18 v3.0}
+% \item
+% New package \xpackage{kvoptions-patch}.
+% \end{Version}
+% \begin{Version}{2009/04/10 v3.1}
+% \item
+% Space by line end removed in definition of internal macro.
+% \end{Version}
+% \begin{Version}{2009/07/17 v3.2}
+% \item
+% \cs{ProcessLocalKeyvalOptions} added.
+% \item
+% \cs{DisableKeyvalOption} with the \texttt{action=ignore} option
+% fixed (Joseph Wright).
+% \end{Version}
+% \begin{Version}{2009/07/21 v3.3}
+% \item
+% \cs{DeclareLocalOption}, \cs{DeclareLocalOptions} added.
+% \end{Version}
+% \begin{Version}{2009/08/13 v3.4}
+% \item
+% Documentation addition: recommendation for Joseph Wright's
+% review article.
+% \item
+% Documentation addition: local/global options.
+% \end{Version}
+% \begin{Version}{2009/12/04 v3.5}
+% \item
+% \cs{AddToKeyvalOption} added.
+% \end{Version}
+% \begin{Version}{2009/12/08 v3.6}
+% \item
+% Fix: If a default handler is configured, it is now also
+% called for classes.
+% \end{Version}
+% \begin{Version}{2010/02/22 v3.7}
+% \item
+% Missing space in error message added.
+% \end{Version}
+% \begin{Version}{2010/07/23 v3.8}
+% \item
+% Documenation for package \xpackage{kvoptions-patch} improved.
+% No code changes.
+% \end{Version}
+% \begin{Version}{2010/12/02 v3.9}
+% \item
+% Key \texttt{setkeys} added for \cs{SetupKeyvalOptions}.
+% \end{Version}
+% \begin{Version}{2010/12/23 v3.10}
+% \item
+% \cs{DeclareVoidOption} also parses the second parameter as
+% \hologo{TeX} argument to improve compatibility with
+% \cs{DeclareOption}.
+% \end{Version}
+% \begin{Version}{2011/06/30 v3.11}
+% \item
+% Fix because of design bug in package \xpackage{xkeyval} that
+% removes global options with equal signs.
+% \end{Version}
+% \begin{Version}{2016/05/16 v3.12}
+% \item
+% Documentation updates.
+% \end{Version}
+% \begin{Version}{2019/11/29 v3.13}
+% \item
+% Documentation updates.
+% \end{Version}
+% \end{History}
+%
+% \PrintIndex
+%
+% \Finale
+\endinput
diff --git a/macros/latex/contrib/kvoptions/kvoptions.pdf b/macros/latex/contrib/kvoptions/kvoptions.pdf
new file mode 100644
index 0000000000..d3c53e3096
--- /dev/null
+++ b/macros/latex/contrib/kvoptions/kvoptions.pdf
Binary files differ
diff --git a/macros/latex/contrib/stringenc/README.md b/macros/latex/contrib/stringenc/README.md
new file mode 100644
index 0000000000..09dbdfb019
--- /dev/null
+++ b/macros/latex/contrib/stringenc/README.md
@@ -0,0 +1,8 @@
+# stringenc
+
+stringenc package for LaTeX
+
+This package provides \StringEncodingConvert for converting
+a string between different encodings.
+Both LaTeX and plain TeX are supported.
+
diff --git a/macros/latex/contrib/stringenc/stringenc.dtx b/macros/latex/contrib/stringenc/stringenc.dtx
new file mode 100644
index 0000000000..10b7abe74c
--- /dev/null
+++ b/macros/latex/contrib/stringenc/stringenc.dtx
@@ -0,0 +1,6839 @@
+% \iffalse meta-comment
+%
+% File: stringenc.dtx
+% Version: 2019/11/29 v1.12
+% Info: Convert strings between diff. encodings
+%
+% Copyright (C)
+% 2007-2011 Heiko Oberdiek
+% 2016-2019 Oberdiek Package Support Group
+% https://github.com/ho-tex/stringenc/issues
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+% https://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+% https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainers of this work are
+% Heiko Oberdiek and the Oberdiek Package Support Group
+% https://github.com/ho-tex/stringenc/issues
+%
+% The Base Interpreter refers to any `TeX-Format',
+% because some files are installed in TDS:tex/generic//.
+%
+% This work consists of the main source file stringenc.dtx
+% and the derived files
+% stringenc.sty, stringenc.pdf, stringenc.ins, stringenc.drv,
+% se-utf32be.def, se-utf32le.def, se-utf8.def, se-utf16le.def,
+% se-pdfdoc.def, se-iso-8859-1.def, se-cp1252.def,
+% se-ascii.def, se-ascii-print.def, se-clean7bit.def,
+% se-iso-8859-2.def, se-iso-8859-3.def, se-iso-8859-4.def,
+% se-iso-8859-5.def, se-iso-8859-6.def, se-iso-8859-7.def,
+% se-iso-8859-8.def, se-iso-8859-9.def, se-iso-8859-10.def,
+% se-iso-8859-11.def, se-iso-8859-13.def, se-iso-8859-14.def,
+% se-iso-8859-15.def, se-iso-8859-16.def, se-koi8-r.def,
+% se-nextstep.def, se-mac-centeuro.def, se-mac-cyrillic.def,
+% se-mac-roman.def, se-dec-mcs.def, se-cp437.def,
+% se-cp850.def, se-cp852.def, se-cp855.def, se-cp858.def,
+% se-cp865.def, se-cp866.def, se-cp1250.def, se-cp1251.def,
+% se-cp1257.def, stringenc-test1.tex, stringenc-test2.tex.
+%
+% Distribution:
+% CTAN:macros/latex/contrib/stringenc/stringenc.dtx
+% CTAN:macros/latex/contrib/stringenc/stringenc.pdf
+%
+% Unpacking:
+% (a) If stringenc.ins is present:
+% tex stringenc.ins
+% (b) Without stringenc.ins:
+% tex stringenc.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{stringenc.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (a) If stringenc.drv is present:
+% latex stringenc.drv
+% (b) Without stringenc.drv:
+% latex stringenc.dtx; ...
+% The class ltxdoc loads the configuration file ltxdoc.cfg
+% if available. Here you can specify further options, e.g.
+% use A4 as paper format:
+% \PassOptionsToClass{a4paper}{article}
+%
+% Programm calls to get the documentation (example):
+% pdflatex stringenc.dtx
+% makeindex -s gind.ist stringenc.idx
+% pdflatex stringenc.dtx
+% makeindex -s gind.ist stringenc.idx
+% pdflatex stringenc.dtx
+%
+% Installation:
+% TDS:tex/generic/stringenc/stringenc.sty
+% TDS:tex/generic/stringenc/se-utf32be.def
+% TDS:tex/generic/stringenc/se-utf32le.def
+% TDS:tex/generic/stringenc/se-utf8.def
+% TDS:tex/generic/stringenc/se-utf16le.def
+% TDS:tex/generic/stringenc/se-pdfdoc.def
+% TDS:tex/generic/stringenc/se-iso-8859-1.def
+% TDS:tex/generic/stringenc/se-cp1252.def
+% TDS:tex/generic/stringenc/se-ascii.def
+% TDS:tex/generic/stringenc/se-ascii-print.def
+% TDS:tex/generic/stringenc/se-clean7bit.def
+% TDS:tex/generic/stringenc/se-iso-8859-2.def
+% TDS:tex/generic/stringenc/se-iso-8859-3.def
+% TDS:tex/generic/stringenc/se-iso-8859-4.def
+% TDS:tex/generic/stringenc/se-iso-8859-5.def
+% TDS:tex/generic/stringenc/se-iso-8859-6.def
+% TDS:tex/generic/stringenc/se-iso-8859-7.def
+% TDS:tex/generic/stringenc/se-iso-8859-8.def
+% TDS:tex/generic/stringenc/se-iso-8859-9.def
+% TDS:tex/generic/stringenc/se-iso-8859-10.def
+% TDS:tex/generic/stringenc/se-iso-8859-11.def
+% TDS:tex/generic/stringenc/se-iso-8859-13.def
+% TDS:tex/generic/stringenc/se-iso-8859-14.def
+% TDS:tex/generic/stringenc/se-iso-8859-15.def
+% TDS:tex/generic/stringenc/se-iso-8859-16.def
+% TDS:tex/generic/stringenc/se-koi8-r.def
+% TDS:tex/generic/stringenc/se-nextstep.def
+% TDS:tex/generic/stringenc/se-mac-centeuro.def
+% TDS:tex/generic/stringenc/se-mac-cyrillic.def
+% TDS:tex/generic/stringenc/se-mac-roman.def
+% TDS:tex/generic/stringenc/se-dec-mcs.def
+% TDS:tex/generic/stringenc/se-cp437.def
+% TDS:tex/generic/stringenc/se-cp850.def
+% TDS:tex/generic/stringenc/se-cp852.def
+% TDS:tex/generic/stringenc/se-cp855.def
+% TDS:tex/generic/stringenc/se-cp858.def
+% TDS:tex/generic/stringenc/se-cp865.def
+% TDS:tex/generic/stringenc/se-cp866.def
+% TDS:tex/generic/stringenc/se-cp1250.def
+% TDS:tex/generic/stringenc/se-cp1251.def
+% TDS:tex/generic/stringenc/se-cp1257.def
+% TDS:doc/latex/stringenc/stringenc.pdf
+% TDS:source/latex/stringenc/stringenc.dtx
+%
+%<*ignore>
+\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase 0\ifx\install y1\fi\expandafter
+ \ifx\csname processbatchFile\endcsname\relax\else1\fi
+ \ifx\fmtname\x\else 1\fi\relax
+\else\csname fi\endcsname
+%</ignore>
+%<*install>
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: stringenc 2019/11/29 v1.12 Convert strings between diff. encodings (HO)}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\let\MetaPrefix\relax
+\preamble
+
+This is a generated file.
+
+Project: stringenc
+Version: 2019/11/29 v1.12
+
+Copyright (C)
+ 2007-2011 Heiko Oberdiek
+ 2016-2019 Oberdiek Package Support Group
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any later
+version. This version of this license is in
+ https://www.latex-project.org/lppl/lppl-1-3c.txt
+and the latest version of this license is in
+ https://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainers of this work are
+Heiko Oberdiek and the Oberdiek Package Support Group
+https://github.com/ho-tex/stringenc/issues
+
+
+The Base Interpreter refers to any `TeX-Format',
+because some files are installed in TDS:tex/generic//.
+
+This work consists of the main source file stringenc.dtx
+and the derived files
+ stringenc.sty, stringenc.pdf, stringenc.ins, stringenc.drv,
+ se-utf32be.def, se-utf32le.def, se-utf8.def, se-utf16le.def,
+ se-pdfdoc.def, se-iso-8859-1.def, se-cp1252.def,
+ se-ascii.def, se-ascii-print.def, se-clean7bit.def,
+ se-iso-8859-2.def, se-iso-8859-3.def, se-iso-8859-4.def,
+ se-iso-8859-5.def, se-iso-8859-6.def, se-iso-8859-7.def,
+ se-iso-8859-8.def, se-iso-8859-9.def, se-iso-8859-10.def,
+ se-iso-8859-11.def, se-iso-8859-13.def, se-iso-8859-14.def,
+ se-iso-8859-15.def, se-iso-8859-16.def, se-koi8-r.def,
+ se-nextstep.def, se-mac-centeuro.def, se-mac-cyrillic.def,
+ se-mac-roman.def, se-dec-mcs.def, se-cp437.def,
+ se-cp850.def, se-cp852.def, se-cp855.def, se-cp858.def,
+ se-cp865.def, se-cp866.def, se-cp1250.def, se-cp1251.def,
+ se-cp1257.def, stringenc-test1.tex, stringenc-test2.tex.
+
+\endpreamble
+\let\MetaPrefix\DoubleperCent
+
+\generate{%
+ \file{stringenc.ins}{\from{stringenc.dtx}{install}}%
+ \file{stringenc.drv}{\from{stringenc.dtx}{driver}}%
+ \usedir{tex/generic/stringenc}%
+ \file{stringenc.sty}{\from{stringenc.dtx}{package}}%
+ \file{se-utf32be.def}{\from{stringenc.dtx}{utf32,utf32be}}%
+ \file{se-utf32le.def}{\from{stringenc.dtx}{utf32,utf32le}}%
+ \file{se-utf8.def}{\from{stringenc.dtx}{utf8}}%
+ \file{se-utf16le.def}{\from{stringenc.dtx}{utf16le}}%
+ \file{se-pdfdoc.def}{\from{stringenc.dtx}{pdfdoc}}%
+ \file{se-iso-8859-1.def}{\from{stringenc.dtx}{iso-8859-1}}%
+ \file{se-cp1252.def}{\from{stringenc.dtx}{cp1252}}%
+ \file{se-ascii.def}{\from{stringenc.dtx}{ascii}}%
+ \file{se-ascii-print.def}{\from{stringenc.dtx}{ascii-print}}%
+ \file{se-clean7bit.def}{\from{stringenc.dtx}{clean7bit}}%
+ \file{se-iso-8859-2.def}{\from{stringenc.dtx}{general,iso-8859-2}}%
+ \file{se-iso-8859-3.def}{\from{stringenc.dtx}{general,iso-8859-3}}%
+ \file{se-iso-8859-4.def}{\from{stringenc.dtx}{general,iso-8859-4}}%
+ \file{se-iso-8859-5.def}{\from{stringenc.dtx}{general,iso-8859-5}}%
+ \file{se-iso-8859-6.def}{\from{stringenc.dtx}{general,iso-8859-6}}%
+ \file{se-iso-8859-7.def}{\from{stringenc.dtx}{general,iso-8859-7}}%
+ \file{se-iso-8859-8.def}{\from{stringenc.dtx}{general,iso-8859-8}}%
+ \file{se-iso-8859-9.def}{\from{stringenc.dtx}{general,iso-8859-9}}%
+ \file{se-iso-8859-10.def}{\from{stringenc.dtx}{general,iso-8859-10}}%
+ \file{se-iso-8859-11.def}{\from{stringenc.dtx}{general,iso-8859-11}}%
+ \file{se-iso-8859-13.def}{\from{stringenc.dtx}{general,iso-8859-13}}%
+ \file{se-iso-8859-14.def}{\from{stringenc.dtx}{general,iso-8859-14}}%
+ \file{se-iso-8859-15.def}{\from{stringenc.dtx}{general,iso-8859-15}}%
+ \file{se-iso-8859-16.def}{\from{stringenc.dtx}{general,iso-8859-16}}%
+ \file{se-koi8-r.def}{\from{stringenc.dtx}{general,koi8-r}}%
+ \file{se-nextstep.def}{\from{stringenc.dtx}{general,nextstep}}%
+ \file{se-mac-centeuro.def}{\from{stringenc.dtx}{general,mac-centeuro}}%
+ \file{se-mac-cyrillic.def}{\from{stringenc.dtx}{general,mac-cyrillic}}%
+ \file{se-mac-roman.def}{\from{stringenc.dtx}{general,mac-roman}}%
+ \file{se-dec-mcs.def}{\from{stringenc.dtx}{general,dec-mcs}}%
+ \file{se-cp437.def}{\from{stringenc.dtx}{general,cp437}}%
+ \file{se-cp850.def}{\from{stringenc.dtx}{general,cp850}}%
+ \file{se-cp852.def}{\from{stringenc.dtx}{general,cp852}}%
+ \file{se-cp855.def}{\from{stringenc.dtx}{general,cp855}}%
+ \file{se-cp858.def}{\from{stringenc.dtx}{general,cp858}}%
+ \file{se-cp865.def}{\from{stringenc.dtx}{general,cp865}}%
+ \file{se-cp866.def}{\from{stringenc.dtx}{general,cp866}}%
+ \file{se-cp1250.def}{\from{stringenc.dtx}{general,cp1250}}%
+ \file{se-cp1251.def}{\from{stringenc.dtx}{general,cp1251}}%
+ \file{se-cp1257.def}{\from{stringenc.dtx}{general,cp1257}}%
+% \usedir{doc/latex/stringenc/test}%
+% \file{stringenc-test1.tex}{\from{stringenc.dtx}{test1}}%
+% \file{stringenc-test2.tex}{\from{stringenc.dtx}{test2}}%
+ \nopreamble
+ \nopostamble
+% \usedir{source/latex/stringenc/catalogue}%
+% \file{stringenc.xml}{\from{stringenc.dtx}{catalogue}}%
+}
+
+\catcode32=13\relax% active space
+\let =\space%
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* stringenc.sty, se-utf32be.def, se-utf32le.def, se-utf8.def,}
+\Msg{* se-utf16le.def, se-pdfdoc.def, se-iso-8859-1.def,}
+\Msg{* se-cp1252.def, se-ascii.def, se-ascii-print.def,}
+\Msg{* se-clean7bit.def, se-iso-8859-2.def, se-iso-8859-3.def,}
+\Msg{* se-iso-8859-4.def, se-iso-8859-5.def, se-iso-8859-6.def,}
+\Msg{* se-iso-8859-7.def, se-iso-8859-8.def, se-iso-8859-9.def,}
+\Msg{* se-iso-8859-10.def, se-iso-8859-11.def, se-iso-8859-13.def,}
+\Msg{* se-iso-8859-14.def, se-iso-8859-15.def, se-iso-8859-16.def,}
+\Msg{* se-koi8-r.def, se-nextstep.def, se-mac-centeuro.def,}
+\Msg{* se-mac-cyrillic.def, se-mac-roman.def, se-dec-mcs.def,}
+\Msg{* se-cp437.def, se-cp850.def, se-cp852.def, se-cp855.def,}
+\Msg{* se-cp858.def, se-cp865.def, se-cp866.def, se-cp1250.def,}
+\Msg{* se-cp1251.def, se-cp1257.def}
+\Msg{*}
+\Msg{* To produce the documentation run the file `stringenc.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+%<*driver>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{stringenc.drv}%
+ [2019/11/29 v1.12 Convert strings between diff. encodings (HO)]%
+\documentclass{ltxdoc}
+\usepackage{holtxdoc}[2011/11/22]
+\usepackage{longtable}
+\begin{document}
+ \DocInput{stringenc.dtx}%
+\end{document}
+%</driver>
+% \fi
+%
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \GetFileInfo{stringenc.drv}
+%
+% \title{The \xpackage{stringenc} package}
+% \date{2019/11/29 v1.12}
+% \author{Heiko Oberdiek\thanks
+% {Please report any issues at \url{https://github.com/ho-tex/stringenc/issues}}}
+%
+% \maketitle
+%
+% \begin{abstract}
+% This package provides \cs{StringEncodingConvert} for converting
+% a string between different encodings.
+% Both \LaTeX\ and \plainTeX\ are supported.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section{Documentation}
+%
+% \subsection{User interface}
+%
+% \begin{declcs}{StringEncodingConvert} \M{cmd} \M{string} \M{from} \M{to}
+% \end{declcs}
+% Macro \cs{StringEncodingConvert} converts \meta{string} from encoding
+% \meta{from} to encoding \meta{to} and stores the result in macro
+% \meta{cmd}. If the string contains macros, then they are expanded.
+% This can be prevented by \eTeX's \cs{detokenize}:
+%\begin{quote}
+%\begin{verbatim}
+%\StringEncodingConvert\Result{%
+% \detokenize{Hello \textbf{world}!}%
+%}{ascii}{utf8}
+%\end{verbatim}
+%\end{quote}
+% or using \LaTeX's \cs{@onelevel@sanitize}:
+%\begin{quote}
+%\begin{verbatim}
+%\makeatletter
+%\newcommand*{\HelloWorld}{Hello \textbf{world}!}
+%\sanitize@onelevel\HelloWorld
+%\StringEncodingConvert\Result\HelloWorld{ascii}{utf8}
+%\makeatother
+%\end{verbatim}
+%\end{quote}
+%
+% \begin{declcs}{StringEncodingSuccessFailure} \M{success} \M{failure}
+% \end{declcs}
+% When \cs{StringEncodingConvert} converts a string
+% it sets a flag that indicates whether the operation
+% was successful. The conversion can fail, if
+% the input is faulty or the string cannot be encoded
+% in the new encoding. Faulty characters are dropped.
+% Macro \cs{StringEncodingSuccessFailure} calls code \meta{success}
+% if the conversion was successful, otherwise \meta{failure}
+% is called.
+% Example:
+%\begin{quote}
+%\begin{verbatim}
+%\StringEncodingConvert\Result{Hello world!}{ascii}{utf8}
+%\StringEncodingSuccessFailure{%
+% % \Result contains the successfully converted string.
+%}{%
+% % Problems during conversion. \Result is empty or
+% % misses some characters.
+%}
+%\end{verbatim}
+%\end{quote}
+%
+% \begin{declcs}{StringEncodingConvertTest}
+% \M{cmd} \M{string} \M{from} \M{to} \M{success} \M{failure}
+% \end{declcs}
+% Macro \cs{StringEncodingConvertTest} is more efficient
+% than \cs{StringEncodingConvert} if the converted string
+% does not interest in case of an error,
+% because the conversion stops at the first error.
+% If \meta{string} can be successfully converted from encoding
+% \meta{from} to encoding \meta{to}, then macro \meta{cmd} contains
+% the result and code \meta{success} is executed. Otherwise
+% code \meta{failure} is executed, the contents of \meta{cmd} is
+% undefined.
+%
+% \begin{declcs}{StringEncodingList}
+% \end{declcs}
+% Macro \cs{StringEncodingList} contains a comma separated
+% list of supported encodings (without alias names).
+%
+% \subsection{Supported encodings}
+%
+% \begin{longtable}{@{}ll@{}}
+% \xoption{ascii}, \xoption{us-ascii} & ASCII encoding,\\
+% & 8bit characters disabled\\
+% \xoption{ascii-print}, \xoption{ascii-printable}
+% & printable ASCII characters\\
+% & including space (0x20--0x7E)\\
+% \xoption{clean7bit} & \texttt{\%\%DocumentData:\ Clean7Bit}\\
+% & bytes 0x1B to 0x7E, 0x0A (LF),\\
+% & 0x0D (CR), 0x09 (TAB)\\
+% \xoption{cp437}, \xoption{cp437de} & Code page 437\\
+% \xoption{cp850} & Code page 850\\
+% \xoption{cp852} & Code page 852\\
+% \xoption{cp855} & Code page 855\\
+% \xoption{cp858} & Code page 858\\
+% \xoption{cp865} & Code page 865\\
+% \xoption{cp866} & Code page 866\\
+% \xoption{cp1250} & Code page 1250\\
+% \xoption{cp1251} & Code page 1251\\
+% \xoption{cp1252}, \xoption{ansinew} & Code page 1252\\
+% \xoption{cp1257} & Code page 1257\\
+% \xoption{dec-mcs}, \xoption{decmulti} & DEC Multinational\\
+% \xoption{koi8-r} & KOI8-R (RFC1489)\\
+% \xoption{iso-8859-1}, \xoption{latin1} & ISO-8859-1\\
+% \xoption{iso-8859-2}, \xoption{latin2} & ISO-8859-2\\
+% \xoption{iso-8859-3}, \xoption{latin3} & ISO-8859-3\\
+% \xoption{iso-8859-4}, \xoption{latin4} & ISO-8859-4\\
+% \xoption{iso-8859-5}, \xoption{iso88595} & ISO-8859-5\\
+% \xoption{iso-8859-6} & ISO-8859-6\\
+% \xoption{iso-8859-7} & ISO-8859-7\\
+% \xoption{iso-8859-8} & ISO-8859-8\\
+% \xoption{iso-8859-9}, \xoption{latin5} & ISO-8859-9\\
+% \xoption{iso-8859-10}, \xoption{latin6} & ISO-8859-10\\
+% \xoption{iso-8859-11} & ISO-8859-11\\
+% \xoption{iso-8859-13}, \xoption{latin7} & ISO-8859-13\\
+% \xoption{iso-8859-14}, \xoption{latin8} & ISO-8859-14\\
+% \xoption{iso-8859-15}, \xoption{latin9} & ISO-8859-15\\
+% \xoption{iso-8859-16}, \xoption{latin10} & ISO-8859-16\\
+% \xoption{mac-centeuro}, \xoption{mac-ce}, \xoption{macce}& MAC OS Central European\\
+% \xoption{mac-cyrillic}, \xoption{maccyr}, \xoption{mac-ukrainian}, \xoption{macukr}
+% & MAC OS Cyrillic\\
+% \xoption{mac-roman}, \xoption{applemac} & MAC OS Roman\\
+% \xoption{nextstep}, \xoption{next} & NextStep Encoding\\
+% \xoption{pdfdoc} & PDFDocEncoding\\
+% \xoption{utf8}, \xoption{utf-8} & UTF-8\\
+% \xoption{utf16be}, \xoption{utf-16be}, \xoption{utf16}, \xoption{utf-16}
+% & UTF-16BE\\
+% \xoption{utf16le}, \xoption{utf-16le} & UTF-16LE\\
+% \xoption{utf32be}, \xoption{utf-32be}, \xoption{utf32}, \xoption{utf-32}
+% & UTF-32BE\\
+% \xoption{utf32le}, \xoption{utf-32le} & UTF-32LE\\
+% \end{longtable}
+%
+% \StopEventually{
+% }
+%
+% \section{Implementation}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% \subsection{Reload check and package identification}
+% Reload check, especially if the package is not used with \LaTeX.
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\let\expandafter\x\csname ver@stringenc.sty\endcsname
+ \ifx\x\relax % plain-TeX, first loading
+ \else
+ \def\empty{}%
+ \ifx\x\empty % LaTeX, first loading,
+ % variable is initialized, but \ProvidesPackage not yet seen
+ \else
+ \expandafter\ifx\csname PackageInfo\endcsname\relax
+ \def\x#1#2{%
+ \immediate\write-1{Package #1 Info: #2.}%
+ }%
+ \else
+ \def\x#1#2{\PackageInfo{#1}{#2, stopped}}%
+ \fi
+ \x{stringenc}{The package is already loaded}%
+ \aftergroup\endinput
+ \fi
+ \fi
+\endgroup%
+% \end{macrocode}
+% Package identification:
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode35=6 % #
+ \catcode39=12 % '
+ \catcode40=12 % (
+ \catcode41=12 % )
+ \catcode44=12 % ,
+ \catcode45=12 % -
+ \catcode46=12 % .
+ \catcode47=12 % /
+ \catcode58=12 % :
+ \catcode64=11 % @
+ \catcode91=12 % [
+ \catcode93=12 % ]
+ \catcode123=1 % {
+ \catcode125=2 % }
+ \expandafter\ifx\csname ProvidesPackage\endcsname\relax
+ \def\x#1#2#3[#4]{\endgroup
+ \immediate\write-1{Package: #3 #4}%
+ \xdef#1{#4}%
+ }%
+ \else
+ \def\x#1#2[#3]{\endgroup
+ #2[{#3}]%
+ \ifx#1\@undefined
+ \xdef#1{#3}%
+ \fi
+ \ifx#1\relax
+ \xdef#1{#3}%
+ \fi
+ }%
+ \fi
+\expandafter\x\csname ver@stringenc.sty\endcsname
+\ProvidesPackage{stringenc}%
+ [2019/11/29 v1.12 Convert strings between diff. encodings (HO)]%
+% \end{macrocode}
+%
+% \subsection{Catcodes}
+%
+% \begin{macrocode}
+\begingroup\catcode61\catcode48\catcode32=10\relax%
+ \catcode13=5 % ^^M
+ \endlinechar=13 %
+ \catcode123 1 % {
+ \catcode125 2 % }
+ \catcode64 11 %
+ \def\x{\endgroup
+ \expandafter\edef\csname SE@AtEnd\endcsname{%
+ \endlinechar=\the\endlinechar\relax
+ \catcode13=\the\catcode13\relax
+ \catcode32=\the\catcode32\relax
+ \catcode35=\the\catcode35\relax
+ \catcode61=\the\catcode61\relax
+ \catcode64=\the\catcode64\relax
+ \catcode123=\the\catcode123\relax
+ \catcode125=\the\catcode125\relax
+ }%
+ }%
+\x\catcode61\catcode48\catcode32=10\relax%
+\catcode13=5 % ^^M
+\endlinechar=13 %
+\catcode35=6 % #
+\catcode64=11 % @
+\catcode123=1 % {
+\catcode125=2 % }
+\def\TMP@EnsureCode#1#2#3{%
+ \edef\SE@AtEnd{%
+ \SE@AtEnd
+ #1#2=\the#1#2\relax
+ }%
+ #1#2=#3\relax
+}
+\TMP@EnsureCode\catcode{34}{12}% "
+\TMP@EnsureCode\catcode{36}{3}% $
+\TMP@EnsureCode\catcode{38}{4}% &
+\TMP@EnsureCode\catcode{39}{12}% '
+\TMP@EnsureCode\catcode{40}{12}% (
+\TMP@EnsureCode\catcode{41}{12}% )
+\TMP@EnsureCode\catcode{42}{12}% *
+\TMP@EnsureCode\catcode{43}{12}% +
+\TMP@EnsureCode\catcode{44}{12}% ,
+\TMP@EnsureCode\catcode{45}{12}% -
+\TMP@EnsureCode\catcode{46}{12}% .
+\TMP@EnsureCode\catcode{47}{12}% /
+\TMP@EnsureCode\catcode{58}{12}% :
+\TMP@EnsureCode\catcode{60}{12}% <
+\TMP@EnsureCode\catcode{62}{12}% >
+\TMP@EnsureCode\catcode{91}{12}% [
+\TMP@EnsureCode\catcode{93}{12}% ]
+\TMP@EnsureCode\catcode{94}{7}% ^
+\TMP@EnsureCode\catcode{96}{12}% `
+\TMP@EnsureCode\uccode{34}{0}% "
+\TMP@EnsureCode\uccode{48}{0}% 0
+\TMP@EnsureCode\uccode{61}{0}% =
+\edef\SE@AtEnd{\SE@AtEnd\noexpand\endinput}
+% \end{macrocode}
+%
+% \subsection{Tools}
+%
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \input infwarerr.sty\relax
+ \input ltxcmds.sty\relax
+ \input pdfescape.sty\relax
+\else
+ \RequirePackage{infwarerr}[2007/09/09]%
+ \RequirePackage{ltxcmds}[2010/03/01]%
+ \RequirePackage{pdfescape}[2010/03/01]%
+\fi
+% \end{macrocode}
+%
+% \begin{macro}{\SE@GobbleEight}
+% \begin{macrocode}
+\long\def\SE@GobbleEight#1#2#3#4#5#6#7#8{}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@CarTwo}
+% \begin{macrocode}
+\long\def\SE@CarTwo#1#2#3\@nil{#1#2}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@PrefixFrom}
+% \begin{macrocode}
+\def\SE@PrefixFrom{SE<}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@PrefixSurrogateFrom}
+% \begin{macrocode}
+\def\SE@PrefixSurrogateFrom{SE<<}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@PrefixTo}
+% \begin{macrocode}
+\def\SE@PrefixTo{SE>}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@PrefixSurrogateTo}
+% \begin{macrocode}
+\def\SE@PrefixSurrogateTo{SE>>}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@ResultAdd}
+% \begin{macrocode}
+\def\SE@ResultAdd#1{%
+ \edef\SE@result{\SE@result#1}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname newif\endcsname\relax
+% \end{macrocode}
+% \begin{macro}{\SE@newif}
+% \begin{macrocode}
+ \def\SE@newif#1{%
+ \begingroup
+ \escapechar=-1 %
+ \expandafter\endgroup
+ \expandafter\SE@@newif\string#1\@nil
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@@newif}
+% \begin{macrocode}
+ \def\SE@@newif#1#2#3\@nil{%
+ \expandafter\edef\csname#3true\endcsname{%
+ \let
+ \expandafter\noexpand\csname if#3\endcsname
+ \expandafter\noexpand\csname iftrue\endcsname
+ }%
+ \expandafter\edef\csname#3false\endcsname{%
+ \let
+ \expandafter\noexpand\csname if#3\endcsname
+ \expandafter\noexpand\csname iffalse\endcsname
+ }%
+ \csname#3false\endcsname
+ }%
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+\else
+% \end{macrocode}
+% \begin{macro}{\SE@newif}
+% \begin{macrocode}
+ \expandafter\let\expandafter\SE@newif\csname newif\endcsname
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\SE@newif\ifSE@invalid
+% \end{macrocode}
+%
+% \begin{macro}{\SE@InvalidCharacter}
+% \begin{macrocode}
+\def\SE@InvalidCharacter{%
+ \SE@invalidtrue
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@ConvertTo}
+% The input string |#2| of macro \cs{SE@ConvertTo} is given
+% as hex string in UTF-16. It is converted to encoding |#3| and
+% the result is stored in macro |#1|.
+% \begin{macrocode}
+\def\SE@ConvertTo#1#2#3{%
+ \let\SE@result\ltx@empty
+ \EdefSanitize\SE@encoding{#3}%
+ \expandafter\ifx\csname\SE@PrefixTo\SE@encoding\endcsname\relax
+ \StringEncodingLoad\SE@encoding
+ \fi
+ \expandafter\ifx\csname\SE@PrefixTo\SE@encoding\endcsname\relax
+ \@PackageError{stringenc}{%
+ Conversion to encoding `\SE@encoding'\MessageBreak
+ is not supported%
+ }\@ehc
+ \else
+ \expandafter\let\expandafter\SE@ConvertNormal
+ \csname\SE@PrefixTo\SE@encoding\endcsname
+ \expandafter\let\expandafter\SE@ConvertSurrogate
+ \csname\SE@PrefixSurrogateTo\SE@encoding\endcsname
+ \SE@@ConvertTo#2\relax\relax\relax\relax
+ \fi
+ \let#1\SE@result
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@@ConvertTo}
+% \begin{macrocode}
+\def\SE@@ConvertTo#1#2#3#4{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifx#4\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \let\SE@next\SE@@ConvertTo
+ \ifnum"#1#2#3#4<"D800 %
+ \SE@ConvertNormal#1#2#3#4%
+ \else
+ \ifnum"#1#2#3#4>"DFFF %
+ \SE@ConvertNormal#1#2#3#4%
+ \else
+ \ifnum"#1#2#3#4>"DBFF %
+ \SE@InvalidCharacter
+ \else
+ \def\SE@high{#1#2#3#4}%
+ \let\SE@next\SE@@ScanLow
+ \fi
+ \fi
+ \fi
+ \ifSE@TestMode
+ \ifSE@invalid
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@SkipRemaining}
+% \begin{macrocode}
+\def\SE@SkipRemaining#1\relax{}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@@ScanLow}
+% \begin{macrocode}
+\def\SE@@ScanLow#1#2#3#4{%
+ \ifx#4\relax
+ \SE@InvalidCharacter
+ \let\SE@next\relax
+ \else
+ \ifcase\ifnum"#1#2#3#4<"DC00 %
+ \ltx@zero
+ \else
+ \ifnum"#1#2#3#4>"DFFF %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \fi
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{SE@@ConvertTo#1#2#3#4}%
+ \fi
+ \else
+ \ifx\SE@ConvertSurrogate\relax
+ \else
+ \expandafter\SE@ConvertSurrogate\SE@high#1#2#3#4%
+ \fi
+ \let\SE@next\SE@@ConvertTo
+ \ifSE@TestMode
+ \ifSE@invalid
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@ConvertFrom}
+% The input string |#2| of macro \cs{SE@ConvertTo} is given
+% as hex string in encoding |#3|. It is converted to UTF-16 and
+% the result is stored in macro |#1|.
+% \begin{macrocode}
+\def\SE@ConvertFrom#1#2#3{%
+ \let\SE@result\ltx@empty
+ \EdefSanitize\SE@encoding{#3}%
+ \expandafter\ifx\csname\SE@PrefixFrom\SE@encoding\endcsname\relax
+ \StringEncodingLoad\SE@encoding
+ \fi
+ \expandafter\ifx\csname\SE@PrefixFrom\SE@encoding\endcsname\relax
+ \@PackageError{stringenc}{%
+ Conversion from encoding `\SE@encoding'\MessageBreak
+ is not supported%
+ }\@ehc
+ \else
+ \csname\SE@PrefixFrom\SE@encoding\endcsname{#2}%
+ \fi
+ \let#1\SE@result
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\StringEncodingLoad}
+% Macro \cs{StringEncodingLoad} loads an encoding definition
+% file. However the loading can occur everywhere, even inside
+% verbatim settings. Therefore we must ensure the catcodes
+% of all used special characters. The exception are digits
+% and letters.
+% \begin{macrocode}
+\def\StringEncodingLoad#1{%
+ \begingroup
+ \catcode32=10 % space/space
+ \catcode35=6 % #/parameter
+ \catcode37=14 % percent/comment character
+ \catcode92=0 % backslash/escape character
+ \catcode123=1 % {/beginning of group
+ \catcode125=2 % }/end of group
+ \endlinechar=-1 %
+ \SE@MakeLetters @ABCDEFGHIKLMNOPRSTU%
+ abcdefghiklmnoprstuvwxyz\relax
+ \SE@MakeOthers "-./:<=>[]0123456789\relax
+ \expandafter\ifx\csname ProvidesFile\endcsname\relax
+ \def\ProvidesFile##1[##2]{%
+ \immediate\write-1{File: ##1 ##2}%
+ }%
+ \fi
+ \SE@InputIfFileExists{se-#1.def}%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@MakeLetters}
+% \begin{macrocode}
+\def\SE@MakeLetters#1{%
+ \ifx#1\relax
+ \else
+ \catcode`#1=11 %
+ \expandafter\SE@MakeLetters
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@MakeOthers}
+% \begin{macrocode}
+\def\SE@MakeOthers#1{%
+ \ifx#1\relax
+ \else
+ \catcode`#1=12 %
+ \expandafter\SE@MakeOthers
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@InputIfFileExists}
+% \begin{macrocode}
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname IfFileExists\endcsname\relax
+ \input pdftexcmds.sty\relax
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname pdf@filesize\endcsname\relax
+ \def\SE@InputIfFileExists#1{%
+ \expandafter\ifx\csname @inputcheck\endcsname\relax
+ \csname newread\endcsname\@inputcheck
+ \fi
+ \openin\@inputcheck#1\relax
+ \ifeof\@inputcheck
+ \SE@FileNotFound{#1}%
+ \else
+ \SE@Input{#1}%
+ \fi
+ }%
+ \else
+ \def\SE@InputIfFileExists#1{%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter\\\pdf@filesize{#1}\\%
+ \SE@FileNotFound{#1}%
+ \else
+ \SE@Input{#1}%
+ \fi
+ }%
+ \fi
+\else
+ \def\SE@InputIfFileExists#1{%
+ \IfFileExists{#1}{%
+ \SE@Input{#1}%
+ }{%
+ \SE@FileNotFound{#1}%
+ }%
+ }%
+\fi
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@FileNotFound}
+% \begin{macrocode}
+\def\SE@FileNotFound#1{%
+ \@PackageWarning{stringenc}{%
+ Encoding file `#1'\MessageBreak
+ not found%
+ }%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@Input}
+% \begin{macrocode}
+\def\SE@Input{%
+ \@ifnextchar\bgroup\@iinput\@@input
+}
+\ifx\input\SE@Input
+ \def\SE@Input#1{%
+ \input{#1}%
+ }%
+\else
+ \def\SE@Input#1{%
+ \input#1\relax
+ }%
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\ifSE@numexpr}
+% \begin{macrocode}
+\SE@newif\ifSE@numexpr
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname numexpr\endcsname\relax
+\else
+ \SE@numexprtrue
+\fi
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\ifSE@numexpr
+ \catcode36=9 % $ ignore
+ \catcode38=14 % & comment
+\else
+ \catcode36=14 % $ comment
+ \catcode38=9 % & ignore
+\fi
+% \end{macrocode}
+%
+% \begin{macro}{\SE@Nibble@NumToHex}
+% \begin{macrocode}
+\def\SE@Nibble@NumToHex#1{%
+$ \ifcase\numexpr#1\relax
+& \ifcase\expandafter\ltx@firstofone\expandafter{\number#1} %
+ 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or
+ 8\or 9\or A\or B\or C\or D\or E\or F%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@Nibble@NumToBin}
+% \begin{macrocode}
+\def\SE@Nibble@NumToBin#1{%
+$ \ifcase\numexpr#1\relax
+& \ifcase\expandafter\ltx@firstofone\expandafter{\number#1} %
+ 0000\or
+ 0001\or
+ 0010\or
+ 0011\or
+ 0100\or
+ 0101\or
+ 0110\or
+ 0111\or
+ 1000\or
+ 1001\or
+ 1010\or
+ 1011\or
+ 1100\or
+ 1101\or
+ 1110\or
+ 1111%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@Nibbles@BinToHex}
+% \begin{macrocode}
+\def\SE@Nibbles@BinToHex#1{%
+ \expandafter\SE@@Nibbles@BinToHex#1\ltx@empty\ltx@empty
+ \ltx@empty\ltx@empty
+}
+\def\SE@@Nibbles@BinToHex#1#2#3#4{%
+ \ifx#1\ltx@empty
+ \else
+$ \SE@Nibble@NumToHex{%
+$ \numexpr#4+2*(#3+2*(#2+2*#1))\relax
+$ }%
+& \ifnum#1>\ltx@zero
+& \ifnum#2>\ltx@zero
+& \ifnum#3>\ltx@zero
+& \ifnum#4>\ltx@zero
+& F%
+& \else
+& E%
+& \fi
+& \else
+& \ifnum#4>\ltx@zero
+& D%
+& \else
+& C%
+& \fi
+& \fi
+& \else
+& \ifnum#3>\ltx@zero
+& \ifnum#4>\ltx@zero
+& B%
+& \else
+& A%
+& \fi
+& \else
+& \ifnum#4>\ltx@zero
+& 9%
+& \else
+& 8%
+& \fi
+& \fi
+& \fi
+& \else
+& \ifnum#2>\ltx@zero
+& \ifnum#3>\ltx@zero
+& \ifnum#4>\ltx@zero
+& 7%
+& \else
+& 6%
+& \fi
+& \else
+& \ifnum#4>\ltx@zero
+& 5%
+& \else
+& 4%
+& \fi
+& \fi
+& \else
+& \ifnum#3>\ltx@zero
+& \ifnum#4>\ltx@zero
+& 3%
+& \else
+& 2%
+& \fi
+& \else
+& \ifnum#4>\ltx@zero
+& 1%
+& \else
+& 0%
+& \fi
+& \fi
+& \fi
+& \fi
+ \expandafter\SE@@Nibbles@BinToHex
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@Add}
+% \begin{macrocode}
+\def\SE@Add#1#2#3{%
+$ \edef#1{\the\numexpr(#2)+(#3)\relax}%
+& \begingroup
+& \count\ltx@zero=#2\relax
+& \advance\count\ltx@zero by#3\relax
+& \edef\x{\endgroup
+& \def\noexpand#1{\the\count\ltx@zero}%
+& }%
+& \x
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@MapDeclare}
+% \begin{macrocode}
+\def\SE@MapDeclare#1#2#3{%
+ \SE@MapDeclareFrom{#1}{#2}{#3}%
+ \SE@MapDeclareTo{#1}{#2}{#3}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@MapDeclareFrom}
+% \begin{macrocode}
+\def\SE@MapDeclareFrom#1#2#3{%
+ \expandafter\gdef\csname SE->#1@#2\endcsname{#3}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@MapDeclareTo}
+% \begin{macrocode}
+\def\SE@MapDeclareTo#1#2#3{%
+ \expandafter\gdef\csname SE<-#1@#3\endcsname{#2}%
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@MapConvertFrom}
+% \begin{macrocode}
+\def\SE@MapConvertFrom#1#2{%
+$ \ifcsname SE->#1@#2\endcsname
+$ \SE@ResultAdd{\csname SE->#1@#2\endcsname}%
+$ \else
+$ \SE@InvalidCharacter
+$ \ifSE@TestMode
+$ \let\SE@next\SE@SkipRemaining
+$ \fi
+$ \fi
+& \begingroup\expandafter\expandafter\expandafter\endgroup
+& \expandafter\ifx\csname SE->#1@#2\endcsname\relax
+& \SE@InvalidCharacter
+& \ifSE@TestMode
+& \let\SE@next\SE@SkipRemaining
+& \fi
+& \else
+& \SE@ResultAdd{\csname SE->#1@#2\endcsname}%
+& \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@MapConvertTo}
+% \begin{macrocode}
+\def\SE@MapConvertTo#1#2{%
+$ \ifcsname SE<-#1@#2\endcsname
+$ \SE@ResultAdd{\csname SE<-#1@#2\endcsname}%
+$ \else
+$ \SE@InvalidCharacter
+$ \fi
+& \begingroup\expandafter\expandafter\expandafter\endgroup
+& \expandafter\ifx\csname SE<-#1@#2\endcsname\relax
+& \SE@InvalidCharacter
+& \else
+& \SE@ResultAdd{\csname SE<-#1@#2\endcsname}%
+& \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\StringEncodingConvert}
+% \begin{macrocode}
+\def\StringEncodingConvert#1#2#3#4{%
+ \EdefSanitize\SE@from{#3}%
+ \EdefSanitize\SE@to{#4}%
+ \expandafter\ifx\csname SE@alias@\SE@from\endcsname\relax
+ \else
+ \EdefSanitize\SE@from{\csname SE@alias@\SE@from\endcsname}%
+ \fi
+ \expandafter\ifx\csname SE@alias@\SE@to\endcsname\relax
+ \else
+ \EdefSanitize\SE@to{\csname SE@alias@\SE@to\endcsname}%
+ \fi
+ \ifx\SE@to\SE@utfxvi
+ \let\SE@to\SE@utfxvibe
+ \else
+ \ifx\SE@to\SE@utfxxxii
+ \let\SE@to\SE@utfxxxiibe
+ \fi
+ \fi
+ \SE@invalidfalse
+ \EdefEscapeHex\SE@result{#2}%
+ \ifx\SE@from\SE@utfxvi
+ \SE@CheckByteOrderTwo
+ \else
+ \ifx\SE@from\SE@utfxvibe
+ \SE@RemoveByteOrderTwo{FEFF}%
+ \else
+ \ifx\SE@from\SE@utfxvile
+ \SE@RemoveByteOrderTwo{FFFE}%
+ \else
+ \ifx\SE@from\SE@utfxxxii
+ \SE@CheckByteOrderFour
+ \else
+ \ifx\SE@from\SE@utfxxxiibe
+ \SE@RemoveByteOrderFour{0}{FEFF}%
+ \else
+ \ifx\SE@from\SE@utfxxxiile
+ \SE@RemoveByteOrderFour{FFFE}{0}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \ifx\SE@from\SE@to
+ \else
+ \ifx\SE@from\SE@utfxvibe
+ \else
+ \expandafter\SE@ConvertFrom\expandafter\SE@result
+ \expandafter{\SE@result}\SE@from
+ \fi
+ \ifx\SE@to\SE@utfxvibe
+ \else
+ \expandafter\SE@ConvertTo\expandafter\SE@result
+ \expandafter{\SE@result}\SE@to
+ \fi
+ \fi
+ \EdefUnescapeHex#1\SE@result
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\StringEncodingSuccessFailure}
+% \begin{macrocode}
+\def\StringEncodingSuccessFailure{%
+ \ifSE@invalid
+ \expandafter\ltx@secondoftwo
+ \else
+ \expandafter\ltx@firstoftwo
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\StringEncodingConvertTest}
+% \begin{macrocode}
+\def\StringEncodingConvertTest#1#2#3#4{%
+ \SE@TestModetrue
+ \StringEncodingConvert{#1}{#2}{#3}{#4}%
+ \SE@TestModefalse
+ \StringEncodingSuccessFailure
+}
+\SE@newif\ifSE@TestMode
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxvi}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxvi{utf16}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxvibe}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxvibe{utf16be}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxvile}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxvile{utf16le}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxxxii}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxxxii{utf32}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxxxiibe}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxxxiibe{utf32be}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@utfxxxiile}
+% \begin{macrocode}
+\EdefSanitize\SE@utfxxxiile{utf32le}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@CheckByteOrderTwo}
+% Macro \cs{SE@CheckByteOrderTwo} checks the first two
+% bytes of the string \cs{SE@result} for the byte order mark.
+% It sets the encoding \cs{SE@from} to |utf16be| or |utf16le|.
+% The byte order mark is silently removed.
+% Encoding |utf16be| is used if the byte order mark is not available.
+% \begin{macrocode}
+\def\SE@CheckByteOrderTwo{%
+ \expandafter\SE@@CheckByteOrderTwo\SE@result0000\@nil
+}
+\def\SE@@CheckByteOrderTwo#1#2#3#4#5\@nil{%
+ \ifnum"#1#2#3#4="FEFF %
+ \let\SE@from\SE@utfxvibe
+ \edef\SE@result{\expandafter\ltx@gobblefour\SE@result}%
+ \else
+ \ifnum"#3#4#1#2="FEFF %
+ \let\SE@from\SE@utfxvile
+ \edef\SE@result{\expandafter\ltx@gobblefour\SE@result}%
+ \else
+ \let\SE@from\SE@utfxvibe
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@CheckByteOrderFour}
+% Macro \cs{SE@CheckByteOrderFour} checks the first four
+% bytes of the string \cs{SE@result} for the byte order mark.
+% It sets the encoding \cs{SE@from} to |utf32be| or |utf32le|.
+% The byte order mark is silently removed.
+% Encoding |utf32be| is used if the byte order mark is not available.
+% \begin{macrocode}
+\def\SE@CheckByteOrderFour{%
+ \expandafter\SE@@CheckByteOrderFour\SE@result00000000\@nil
+}
+\def\SE@@CheckByteOrderFour#1#2#3#4#5#6#7#8#9\@nil{%
+ \let\SE@from\SE@utfxxxiibe
+ \ifnum"#1#2#3#4=\ltx@zero
+ \ifnum"#5#6#7#8="FEFF %
+ \edef\SE@result{\expandafter\SE@GobbleEight\SE@result}%
+ \fi
+ \else
+ \ifnum"#7#8#5#6=\ltx@zero
+ \ifnum"#3#4#1#2="FEFF %
+ \let\SE@from\SE@utfxxxiile
+ \edef\SE@result{\expandafter\SE@GobbleEight\SE@result}%
+ \fi
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\SE@RemoveByteOrderTwo}
+% \begin{macrocode}
+\def\SE@RemoveByteOrderTwo{%
+ \expandafter\SE@@RemoveByteOrderTwo\SE@result
+ \ltx@empty\ltx@empty\ltx@empty\ltx@empty\@nil
+}
+\def\SE@@RemoveByteOrderTwo#1#2#3#4#5\@nil#6{%
+ \ifnum"0#1#2#3#4="#6 %
+ \edef\SE@result{#5}%
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macro}{\SE@RemoveByteOrderFour}
+% \begin{macrocode}
+\def\SE@RemoveByteOrderFour#1#2{%
+ \def\SE@a{"#1 }%
+ \def\SE@b{"#2 }%
+ \expandafter\SE@@RemoveByteOrderFour\SE@result
+ \ltx@empty\ltx@empty\ltx@empty\ltx@empty
+ \ltx@empty\ltx@empty\ltx@empty\ltx@empty
+ \@nil
+}
+\def\SE@@RemoveByteOrderFour#1#2#3#4#5#6#7#8#9\@nil{%
+ \ifnum"0#1#2#3#4=\SE@a
+ \ifnum"0#5#6#7#8=\SE@b
+ \edef\SE@result{#9}%
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \subsection{Encoding aliases}
+%
+% \begin{macro}{\SE@EncodingAlias}
+% \begin{macrocode}
+\def\SE@EncodingAlias#1#2{%
+ \expandafter\def\csname SE@alias@#1\endcsname{#2}%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+\SE@EncodingAlias{ansinew}{cp1252}
+\SE@EncodingAlias{applemac}{mac-roman}
+\SE@EncodingAlias{ascii-printable}{ascii-print}
+\SE@EncodingAlias{cp437de}{cp437}
+\SE@EncodingAlias{decmulti}{dec-mcs}
+\SE@EncodingAlias{latin1}{iso-8859-1}
+\SE@EncodingAlias{latin2}{iso-8859-2}
+\SE@EncodingAlias{latin3}{iso-8859-3}
+\SE@EncodingAlias{latin4}{iso-8859-4}
+\SE@EncodingAlias{latin5}{iso-8859-9}
+\SE@EncodingAlias{latin6}{iso-8859-10}
+\SE@EncodingAlias{latin7}{iso-8859-13}
+\SE@EncodingAlias{latin8}{iso-8859-14}
+\SE@EncodingAlias{latin9}{iso-8859-15}
+\SE@EncodingAlias{latin10}{iso-8859-16}
+\SE@EncodingAlias{mac-ce}{mac-centeuro}
+\SE@EncodingAlias{mac-ukrainian}{mac-cyrillic}
+\SE@EncodingAlias{macce}{mac-centeuro}
+\SE@EncodingAlias{maccyr}{mac-cyrillic}
+\SE@EncodingAlias{macukr}{mac-cyrillic}
+\SE@EncodingAlias{next}{nextstep}
+\SE@EncodingAlias{us-ascii}{ascii}
+\SE@EncodingAlias{utf-8}{utf8}
+\SE@EncodingAlias{utf-16}{utf16}
+\SE@EncodingAlias{utf-16be}{utf16be}
+\SE@EncodingAlias{utf-16le}{utf16le}
+\SE@EncodingAlias{utf-32}{utf32}
+\SE@EncodingAlias{utf-32be}{utf32be}
+\SE@EncodingAlias{utf-32le}{utf32le}
+% \end{macrocode}
+% All encodings of package \xpackage{inputenx} are supported.
+% \begin{macrocode}
+\def\SE@temp#1{%
+ \SE@EncodingAlias{x-#1}{#1}%
+}
+\SE@temp{ascii}
+\SE@temp{ascii-print}
+\SE@temp{clean7bit}
+\SE@temp{cp437}
+\SE@temp{cp850}
+\SE@temp{cp852}
+\SE@temp{cp855}
+\SE@temp{cp858}
+\SE@temp{cp865}
+\SE@temp{cp866}
+\SE@temp{cp1250}
+\SE@temp{cp1251}
+\SE@temp{cp1252}
+\SE@temp{cp1257}
+\SE@temp{dec-mcs}
+\SE@temp{koi8-r}
+\SE@temp{iso-8859-1}
+\SE@temp{iso-8859-2}
+\SE@temp{iso-8859-3}
+\SE@temp{iso-8859-4}
+\SE@temp{iso-8859-5}
+\SE@temp{iso-8859-6}
+\SE@temp{iso-8859-7}
+\SE@temp{iso-8859-8}
+\SE@temp{iso-8859-9}
+\SE@temp{iso-8859-10}
+\SE@temp{iso-8859-11}
+\SE@temp{iso-8859-13}
+\SE@temp{iso-8859-14}
+\SE@temp{iso-8859-15}
+\SE@temp{iso-8859-16}
+\SE@temp{mac-centeuro}
+\SE@temp{mac-cyrillic}
+\SE@temp{mac-roman}
+\SE@temp{nextstep}
+% \end{macrocode}
+%
+% \begin{macro}{\StringEncodingList}
+% \begin{macrocode}
+\def\StringEncodingList{%
+ ascii,%
+ ascii-print,%
+ clean7bit,%
+ cp437,%
+ cp850,%
+ cp852,%
+ cp855,%
+ cp858,%
+ cp865,%
+ cp866,%
+ cp1250,%
+ cp1251,%
+ cp1252,%
+ cp1257,%
+ dec-mcs,%
+ iso-8859-1,%
+ iso-8859-2,%
+ iso-8859-3,%
+ iso-8859-4,%
+ iso-8859-5,%
+ iso-8859-6,%
+ iso-8859-7,%
+ iso-8859-8,%
+ iso-8859-9,%
+ iso-8859-10,%
+ iso-8859-11,%
+ iso-8859-13,%
+ iso-8859-14,%
+ iso-8859-15,%
+ iso-8859-16,%
+ koi8-r,%
+ mac-centeuro,%
+ mac-cyrillic,%
+ mac-roman,%
+ nextstep,%
+ pdfdoc,%
+ utf8,%
+ utf16le,%
+ utf32be,%
+ utf32le%
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+% \subsection{Encoding files}
+%
+% \subsubsection{UTF-32BE, UTF-32LE}
+%
+% \begin{macrocode}
+%<*utf32>
+%<utf32be>\ProvidesFile{se-utf32be.def}[2019/11/29 v1.12 stringenc: UTF-32BE]
+%<utf32le>\ProvidesFile{se-utf32le.def}[2019/11/29 v1.12 stringenc: UTF-32LE]
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<utf32be>\expandafter\gdef\csname\SE@PrefixTo utf32be\endcsname#1#2#3#4{%
+%<utf32be> \SE@ResultAdd{0000#1#2#3#4}%
+%<utf32le>\expandafter\gdef\csname\SE@PrefixTo utf32le\endcsname#1#2#3#4{%
+%<utf32le> \SE@ResultAdd{#3#4#1#20000}%
+}
+% \end{macrocode}
+% \noindent
+% UTF-16: |#1:1101 #2:11ww #3:wwhh #4:hhhh|
+% |#5:1101 #6:11ll #7:llll #8:llll|\\
+% UTF-32: |0000 000u uuuu hhhh hhhh hhll llll llll|\\
+% |wwww = uuuuu - 1|
+% \begin{macrocode}
+%<utf32be>\expandafter\gdef\csname\SE@PrefixSurrogateTo utf32be\endcsname
+%<utf32le>\expandafter\gdef\csname\SE@PrefixSurrogateTo utf32le\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \edef\SE@w{\SE@Nibble@NumToBin{"#2}}%
+ \edef\SE@a{\SE@Nibble@NumToBin{"#3}}%
+ \edef\SE@c{\SE@Nibble@NumToBin{"#6}}%
+ \edef\SE@w{%
+ \expandafter\ltx@gobbletwo\SE@w
+ \expandafter\SE@CarTwo\SE@a\@nil
+ }%
+ \edef\SE@w{%
+ \SE@Nibbles@BinToHex\SE@w
+ }%
+ \SE@Add\SE@w{\expandafter"\SE@w}\ltx@one
+ \edef\SE@a{%
+ \expandafter\ltx@gobbletwo\SE@a
+ \SE@Nibble@NumToBin{"#4}%
+ \expandafter\ltx@gobbletwo\SE@c
+ }%
+%<utf32be> \SE@ResultAdd{%
+%<utf32le> \SE@utfxxxii@le@add{%
+ 00%
+ \ifnum\SE@w>15 %
+ 10%
+ \else
+ 0%
+ \SE@Nibble@NumToHex\SE@w
+ \fi
+ \SE@Nibbles@BinToHex\SE@a
+ #7#8%
+ }%
+}
+%<*utf32le>
+\gdef\SE@utfxxxii@le@add#1{%
+ \edef\SE@temp{#1}%
+ \SE@ResultAdd{%
+ \expandafter\SE@utfxxxii@le@switch\SE@temp
+ }%
+}
+\gdef\SE@utfxxxii@le@switch#1#2#3#4#5#6#7#8{%
+ #7#8#5#6#3#4#1#2%
+}
+%</utf32le>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*utf32be>
+\expandafter\gdef\csname\SE@PrefixFrom utf32be\endcsname#1{%
+ \expandafter\SE@utfxxxii@be@from#1\relax\relax\relax\relax
+ \relax\relax\relax\relax
+}
+\gdef\SE@utfxxxii@be@from#1#2#3#4#5#6#7#8{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifx#8\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \let\SE@next\SE@utfxxxii@be@from
+ \SE@utfxxxii@from#1#2#3#4#5#6#7#8%
+ \fi
+ \fi
+ \SE@next
+}
+%</utf32be>
+%<*utf32le>
+\expandafter\gdef\csname\SE@PrefixFrom utf32le\endcsname#1{%
+ \expandafter\SE@utfxxxii@le@from#1\relax\relax\relax\relax
+ \relax\relax\relax\relax
+}
+\gdef\SE@utfxxxii@le@from#1#2#3#4#5#6#7#8{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifx#8\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \let\SE@next\SE@utfxxxii@le@from
+ \SE@utfxxxii@from#7#8#5#6#3#4#1#2%
+ \fi
+ \fi
+ \SE@next
+}
+%</utf32le>
+% \end{macrocode}
+% \begin{macrocode}
+\gdef\SE@utfxxxii@from#1#2#3#4#5#6#7#8{%
+ \ifcase\ifnum"#1#2>\ltx@zero
+ \ltx@zero
+ \else
+ \ifnum"#3#4#5#6#7#8>"10FFFF %
+ \ltx@zero
+ \else
+ \ifnum"#3#4#5#6#7#8<"D800 %
+ \ltx@one
+ \else
+ \ifnum"#3#4#5#6#7#8>"DFFF %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+ \fi
+ \fi
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \ifcase"#3#4 %
+ \SE@ResultAdd{#5#6#7#8}%
+ \else
+ \edef\SE@low{\SE@Nibble@NumToBin{"#6}}%
+ \SE@Add\SE@high{"#3#4}{-1}%
+ \edef\SE@high{%
+ 10\SE@Nibble@NumToBin\SE@high
+ \SE@Nibble@NumToBin{"#5}%
+ \expandafter\SE@CarTwo\SE@low\@nil
+ }%
+ \edef\SE@low{%
+ 11\expandafter\ltx@gobbletwo\SE@low
+ }%
+ \SE@ResultAdd{%
+ D\SE@Nibbles@BinToHex\SE@high
+ D\SE@Nibbles@BinToHex\SE@low
+ #7#8%
+ }%
+ \fi
+ \fi
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</utf32>
+% \end{macrocode}
+%
+% \subsubsection{UTF-8}
+%
+% \begin{macrocode}
+%<*utf8>
+\ProvidesFile{se-utf8.def}[2019/11/29 v1.12 stringenc: UTF-8]
+% \end{macrocode}
+%
+% \noindent
+% 1 Byte: |0000 0000 0xxx xxxx -> 0xxx xxxx|\\
+% 2 Bytes: |0000 0yyy yyxx xxxx -> 110y yyyy 10xx xxxx|\\
+% 3 Bytes: |zzzz yyyy yyxx xxxx -> 1110 zzzz 10yy yyyy 10xx xxxx|
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo utf8\endcsname#1#2#3#4{%
+ \ifnum"#1#2#3#4<"80 %
+ \SE@ResultAdd{#3#4}%
+ \else
+ \ifnum"#1#2#3#4<"800 %
+ \edef\SE@temp{%
+ \SE@Nibble@NumToBin{"#3}%
+ }%
+ \edef\SE@temp{%
+ 11%
+ \SE@Nibble@NumToBin{"#2}%
+ \expandafter\SE@CarTwo\SE@temp\@nil
+ 10%
+ \expandafter\ltx@gobbletwo\SE@temp
+ }%
+ \SE@ResultAdd{%
+ \SE@Nibbles@BinToHex\SE@temp
+ #4%
+ }%
+ \else
+ \edef\SE@temp{%
+ \SE@Nibble@NumToBin{"#3}%
+ }%
+ \edef\SE@temp{%
+ 10%
+ \SE@Nibble@NumToBin{"#2}%
+ \expandafter\SE@CarTwo\SE@temp\@nil
+ 10%
+ \expandafter\ltx@gobbletwo\SE@temp
+ }%
+ \SE@ResultAdd{%
+ E#1%
+ \SE@Nibbles@BinToHex\SE@temp
+ #4%
+ }%
+ \fi
+ \fi
+}
+% \end{macrocode}
+% \noindent
+% UTF-16: |#1:1101 #2:10ww #3:wwzz #4:zzyy|
+% |#5:1101 #6:11yy #7:yyxx #8:xxxx|\\
+% UTF-32: |0000 0000 000u uuuu zzzz yyyy yyxx xxxx|\\
+% UTF-8: |1111 0uuu 10uu zzzz 10yy yyyy 10xx xxxx|
+% |wwww = uuuuu - 1|
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo utf8\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \edef\SE@w{\SE@Nibble@NumToBin{"#2}}%
+ \edef\SE@a{\SE@Nibble@NumToBin{"#3}}%
+ \edef\SE@b{\SE@Nibble@NumToBin{"#4}}%
+ \edef\SE@c{\SE@Nibble@NumToBin{"#6}}%
+ \edef\SE@d{\SE@Nibble@NumToBin{"#7}}%
+ \edef\SE@w{%
+ \expandafter\ltx@gobbletwo\SE@w
+ \expandafter\SE@CarTwo\SE@a\@nil
+ }%
+ \edef\SE@w{%
+ \SE@Nibbles@BinToHex\SE@w
+ }%
+ \SE@Add\SE@w{\expandafter"\SE@w}\ltx@one
+ \ifnum\SE@w>15 %
+ \def\SE@char{1}%
+ \SE@Add\SE@w\SE@w{-16}%
+ \else
+ \def\SE@char{0}%
+ \fi
+ \edef\SE@w{\SE@Nibble@NumToBin\SE@w}%
+ \edef\SE@temp{%
+ 0\SE@char
+ \expandafter\SE@CarTwo\SE@w\@nil
+ 10%
+ \expandafter\ltx@gobbletwo\SE@w
+ \expandafter\ltx@gobbletwo\SE@a
+ \expandafter\SE@CarTwo\SE@b\@nil
+ 10%
+ \expandafter\ltx@gobbletwo\SE@b
+ \expandafter\ltx@gobbletwo\SE@c
+ \expandafter\SE@CarTwo\SE@d\@nil
+ 10%
+ \expandafter\ltx@gobbletwo\SE@d
+ }%
+ \SE@ResultAdd{%
+ F%
+ \SE@Nibbles@BinToHex\SE@temp
+ #8%
+ }%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom utf8\endcsname#1{%
+ \let\SE@temp\ltx@empty
+ \let\SE@next\SE@utfviii@filter
+ \expandafter\SE@utfviii@filter#1\relax\relax
+ \ifcase\ifSE@TestMode
+ \ifSE@invalid
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \else
+ \ltx@zero
+ \fi
+ \expandafter\SE@utfviii@from\SE@temp\relax\relax\relax\relax
+ \relax\relax\relax\relax
+ \fi
+}
+% \end{macrocode}
+% Invalid bytes in UTF-8: C0-C1, F5-FF
+% \begin{macrocode}
+\gdef\SE@utfviii@filter#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifcase\ifnum"#1#2>"F4 %
+ \ltx@zero
+ \else
+ \ifnum"#1#2="C0 %
+ \ltx@zero
+ \else
+ \ifnum"#1#2="C1 %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \fi
+ \fi
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \edef\SE@temp{\SE@temp#1#2}%
+ \fi
+ \fi
+ \SE@next
+}
+\gdef\SE@utfviii@from#1#2#3#4#5#6#7#8{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifnum"#1<8 % 0xxx xxxx
+ \SE@ResultAdd{00#1#2}%
+ \def\SE@next{\SE@utfviii@from#3#4#5#6#7#8}%
+ \else
+ \ifnum"#1<12 % 10xx xxxx
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{\SE@utfviii@from#3#4#5#6#7#8}%
+ \fi
+ \else
+ \ifx#3\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \ifcase\SE@utfviii@CheckCont#3%
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{\SE@utfviii@from#3#4#5#6#7#8}%
+ \fi
+ \else
+ \ifnum"#1<14 % 110y yyyy 10xx xxxx
+ % 0000 0yyy yyxx xxxx
+ \edef\SE@temp{%
+ \SE@Nibble@NumToBin{"#3}%
+ }%
+ \edef\SE@temp{%
+ 0\ifodd"#1 1\else 0\fi
+ \SE@Nibble@NumToBin{"#2}%
+ \expandafter\ltx@gobbletwo\SE@temp
+ }%
+ \SE@ResultAdd{%
+ 0%
+ \SE@Nibbles@BinToHex\SE@temp
+ #4%
+ }%
+ \def\SE@next{\SE@utfviii@from#5#6#7#8}%
+ \else
+ \ifx#5\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \ifcase\SE@utfviii@CheckCont#5%
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{\SE@utfviii@from#5#6#7#8}%
+ \fi
+ \else
+ \ifnum"#1=14 % 1110 zzzz 10yy yyyy 10xx xxxx
+ % zzzz yyyy yyxx xxxx
+ \ifcase\ifnum"#2="D %
+ \ifnum"#3#4>"9F %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \else
+ \ifnum"#2=\ltx@zero
+ \ifnum"#3<"A %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \else
+ \ltx@one
+ \fi
+ \fi
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{\SE@utfviii@from#7#8}%
+ \fi
+ \else
+ \edef\SE@a{\SE@Nibble@NumToBin{"#3}}%
+ \edef\SE@b{\SE@Nibble@NumToBin{"#5}}%
+ \edef\SE@temp{%
+ \expandafter\ltx@gobbletwo\SE@a
+ \SE@Nibble@NumToBin{"#4}%
+ \expandafter\ltx@gobbletwo\SE@b
+ }%
+ \SE@ResultAdd{%
+ #2%
+ \SE@Nibbles@BinToHex\SE@temp
+ #6%
+ }%
+ \def\SE@next{\SE@utfviii@from#7#8}%
+ \fi
+ \else
+ \ifx#7\relax
+ \let\SE@next\relax
+ \SE@InvalidCharacter
+ \else
+ \ifcase\SE@utfviii@CheckCont#7%
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \else
+ \def\SE@next{\SE@utfviii@from#7#8}%
+ \fi
+ \else
+ \let\SE@next\SE@utfviii@from
+ \ifnum"#2<8 % 1111 0uuu 10uu zzzz 10yy yyyy 10xx xxxx
+ % 1101 10ww wwzz zzyy 1101 11yy yyxx xxxx
+ \edef\SE@w{\SE@Nibble@NumToBin{"#3}}%
+ \edef\SE@w{%
+ 00%
+ \SE@Nibble@NumToBin{"#2}%
+ \expandafter\ltx@gobbletwo\SE@w
+ }%
+ \edef\SE@w{\SE@Nibbles@BinToHex\SE@w}%
+ \SE@Add\SE@w{\expandafter"\SE@w}{-1}%
+ \ifnum\SE@w>15 %
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \ifnum\SE@w<\ltx@zero
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \edef\SE@a{\SE@Nibble@NumToBin{"#5}}%
+ \edef\SE@b{\SE@Nibble@NumToBin{"#7}}%
+ \edef\SE@temp{%
+ 10%
+ \SE@Nibble@NumToBin\SE@w
+ \SE@Nibble@NumToBin{"#4}%
+ \expandafter\ltx@gobbletwo\SE@a
+ 1101%
+ 11%
+ \SE@Nibble@NumToBin{"#6}%
+ \expandafter\ltx@gobbletwo\SE@b
+ }%
+ \SE@ResultAdd{%
+ D%
+ \SE@Nibbles@BinToHex\SE@temp
+ #8%
+ }%
+ \fi
+ \fi
+ \else
+ \SE@InvalidCharacter
+ \if\SE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \begin{macrocode}
+\gdef\SE@utfviii@CheckCont#1{%
+ \ifnum"#1<8 %
+ \ltx@zero
+ \else
+ \ifnum"#1<12 %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</utf8>
+% \end{macrocode}
+%
+% \subsubsection{UTF-16LE}
+%
+% \begin{macrocode}
+%<*utf16le>
+\ProvidesFile{se-utf16le.def}[2019/11/29 v1.12 stringenc: UTF-16LE]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo utf16le\endcsname#1#2#3#4{%
+ \SE@ResultAdd{#3#4#1#2}%
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo utf16le\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@ResultAdd{#3#4#1#2#7#8#5#6}%
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom utf16le\endcsname#1{%
+ \expandafter\SE@utfxvile@from#1\relax\relax\relax\relax
+}
+\gdef\SE@utfxvile@from#1#2#3#4{%
+ \ifx#1\relax
+ \else
+ \ifx#4\relax
+ \SE@InvalidCharacter
+ \else
+ \SE@ResultAdd{#3#4#1#2}%
+ \fi
+ \expandafter\SE@utfxvile@from
+ \fi
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</utf16le>
+% \end{macrocode}
+%
+% \subsubsection{PDFDocEncoding}
+%
+% \begin{macrocode}
+%<*pdfdoc>
+\ProvidesFile{se-pdfdoc.def}[2019/11/29 v1.12 stringenc: PDFDocEncoding]
+% \end{macrocode}
+%
+% Pass ranges 32..126 and 160..255 through and use
+% the mapping system for the other characters.
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo pdfdoc\endcsname#1#2#3#4{%
+ \ifcase\ifnum"#1#2#3#4<256 %
+ \ifnum"#1#2#3#4>160 %
+ \ltx@zero
+ \else
+ \ifnum"#1#2#3#4<127 %
+ \ifnum"#1#2#3#4>31 %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \else
+ \ltx@one
+ \fi
+ \fi
+ \else
+ \ltx@one
+ \fi
+ \SE@ResultAdd{#3#4}%
+ \else
+ \SE@MapConvertTo{pdfdoc}{#1#2#3#4}%
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo pdfdoc\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom pdfdoc\endcsname#1{%
+ \let\SE@next\SE@pdfdoc@from
+ \expandafter\SE@pdfdoc@from#1\relax\relax
+}
+\gdef\SE@pdfdoc@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifcase\ifnum"#1#2>160 %
+ \ifnum"#1#2="AD %
+ 2 %
+ \else
+ \ltx@zero
+ \fi
+ \else
+ \ifnum"#1#2<127 %
+ \ifnum"#1#2>31 %
+ \ltx@zero
+ \else
+ \ltx@one
+ \fi
+ \else
+ \ltx@one
+ \fi
+ \fi
+ \SE@ResultAdd{00#1#2}%
+ \or
+ \SE@MapConvertFrom{pdfdoc}{#1#2}%
+ \else
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\SE@MapDeclare{pdfdoc}{09}{0009}
+\SE@MapDeclare{pdfdoc}{0A}{000A}
+\SE@MapDeclare{pdfdoc}{0D}{000D}
+\SE@MapDeclare{pdfdoc}{18}{02D8}
+\SE@MapDeclare{pdfdoc}{19}{02C7}
+\SE@MapDeclare{pdfdoc}{1A}{02C6}
+\SE@MapDeclare{pdfdoc}{1B}{02D9}
+\SE@MapDeclare{pdfdoc}{1C}{02DD}
+\SE@MapDeclare{pdfdoc}{1D}{02DB}
+\SE@MapDeclare{pdfdoc}{1E}{02DA}
+\SE@MapDeclare{pdfdoc}{1F}{02DC}
+\SE@MapDeclare{pdfdoc}{80}{2022}
+\SE@MapDeclare{pdfdoc}{81}{2020}
+\SE@MapDeclare{pdfdoc}{82}{2021}
+\SE@MapDeclare{pdfdoc}{83}{2026}
+\SE@MapDeclare{pdfdoc}{84}{2014}
+\SE@MapDeclare{pdfdoc}{85}{2013}
+\SE@MapDeclare{pdfdoc}{86}{0192}
+\SE@MapDeclare{pdfdoc}{87}{2044}
+\SE@MapDeclare{pdfdoc}{88}{2039}
+\SE@MapDeclare{pdfdoc}{89}{203A}
+\SE@MapDeclare{pdfdoc}{8A}{2212}
+\SE@MapDeclare{pdfdoc}{8B}{2030}
+\SE@MapDeclare{pdfdoc}{8C}{201E}
+\SE@MapDeclare{pdfdoc}{8D}{201C}
+\SE@MapDeclare{pdfdoc}{8E}{201D}
+\SE@MapDeclare{pdfdoc}{8F}{2018}
+\SE@MapDeclare{pdfdoc}{90}{2019}
+\SE@MapDeclare{pdfdoc}{91}{201A}
+\SE@MapDeclare{pdfdoc}{92}{2122}
+\SE@MapDeclare{pdfdoc}{93}{FB01}
+\SE@MapDeclare{pdfdoc}{94}{FB02}
+\SE@MapDeclare{pdfdoc}{95}{0141}
+\SE@MapDeclare{pdfdoc}{96}{0152}
+\SE@MapDeclare{pdfdoc}{97}{0160}
+\SE@MapDeclare{pdfdoc}{98}{0178}
+\SE@MapDeclare{pdfdoc}{99}{017D}
+\SE@MapDeclare{pdfdoc}{9A}{0131}
+\SE@MapDeclare{pdfdoc}{9B}{0142}
+\SE@MapDeclare{pdfdoc}{9C}{0153}
+\SE@MapDeclare{pdfdoc}{9D}{0161}
+\SE@MapDeclare{pdfdoc}{9E}{017E}
+\SE@MapDeclare{pdfdoc}{A0}{20AC}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</pdfdoc>
+% \end{macrocode}
+%
+% \subsubsection{ISO-8859-1}
+%
+% \begin{macrocode}
+%<*iso-8859-1>
+\ProvidesFile{se-iso-8859-1.def}[2019/11/29 v1.12 stringenc: ISO-8859-1]
+% \end{macrocode}
+%
+% Excluded area: 0x80..0x9F
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo iso-8859-1\endcsname#1#2#3#4{%
+ \ifcase\ifnum"#1#2=\ltx@zero
+ \ifnum"#3#4<"80 %
+ \ltx@one
+ \else
+ \ifnum"#3#4>"9F %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+ \else
+ \ltx@zero
+ \fi
+ \SE@InvalidCharacter
+ \else
+ \SE@ResultAdd{#3#4}%
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo iso-8859-1\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom iso-8859-1\endcsname#1{%
+ \let\SE@next\SE@isoone@from
+ \expandafter\SE@isoone@from#1\relax\relax
+}
+\gdef\SE@isoone@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifcase\ifnum"#1#2<"80 %
+ \ltx@one
+ \else
+ \ifnum"#1#2>"9F %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \SE@ResultAdd{00#1#2}%
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</iso-8859-1>
+% \end{macrocode}
+%
+% \subsubsection{CP1252}
+%
+% \begin{macrocode}
+%<*cp1252>
+\ProvidesFile{se-cp1252.def}[2019/11/29 v1.12 stringenc: cp1252]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo cp1252\endcsname#1#2#3#4{%
+ \ifcase\ifnum"#1#2=\ltx@zero
+ \ifnum"#3#4<"80 %
+ \ltx@one
+ \else
+ \ifnum"#3#4>"9F %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+ \else
+ \ltx@zero
+ \fi
+ \SE@MapConvertTo{cp1252}{#1#2#3#4}%
+ \else
+ \SE@ResultAdd{#3#4}%
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo cp1252\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom cp1252\endcsname#1{%
+ \let\SE@next\SE@ansinew@from
+ \expandafter\SE@ansinew@from#1\relax\relax
+}
+\gdef\SE@ansinew@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifcase\ifnum"#1#2<"80 %
+ \ltx@one
+ \else
+ \ifnum"#1#2>"9F %
+ \ltx@one
+ \else
+ \ltx@zero
+ \fi
+ \fi
+ \SE@MapConvertFrom{cp1252}{#1#2}%
+ \else
+ \SE@ResultAdd{00#1#2}%
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+%
+% \begingroup
+% \makeatletter
+% \let\saved@macro@font\macro@font
+% \def\macro@font{\saved@macro@font\scriptsize}
+% \begin{macrocode}
+\SE@MapDeclare{cp1252}{80}{20AC}% EURO SIGN
+\SE@MapDeclare{cp1252}{82}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1252}{83}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{cp1252}{84}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1252}{85}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{cp1252}{86}{2020}% DAGGER
+\SE@MapDeclare{cp1252}{87}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{cp1252}{88}{02C6}% MODIFIER LETTER CIRCUMFLEX ACCENT
+\SE@MapDeclare{cp1252}{89}{2030}% PER MILLE SIGN
+\SE@MapDeclare{cp1252}{8A}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{cp1252}{8B}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{8C}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{cp1252}{8E}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{cp1252}{91}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{92}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{93}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{94}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{95}{2022}% BULLET
+\SE@MapDeclare{cp1252}{96}{2013}% EN DASH
+\SE@MapDeclare{cp1252}{97}{2014}% EM DASH
+\SE@MapDeclare{cp1252}{98}{02DC}% SMALL TILDE
+\SE@MapDeclare{cp1252}{99}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{cp1252}{9A}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{cp1252}{9B}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1252}{9C}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{cp1252}{9E}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{cp1252}{9F}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+% \end{macrocode}
+% \endgroup
+%
+% \begin{macrocode}
+%</cp1252>
+% \end{macrocode}
+%
+% \subsubsection{US-ASCII}
+%
+% \begin{macrocode}
+%<*ascii>
+\ProvidesFile{se-ascii.def}[2019/11/29 v1.12 stringenc: US-ASCII]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo ascii\endcsname#1#2#3#4{%
+ \ifnum"#1#2#3<8 %
+ \SE@ResultAdd{#3#4}%
+ \else
+ \SE@InvalidCharacter
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo ascii\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom ascii\endcsname#1{%
+ \let\SE@next\SE@ascii@from
+ \expandafter\SE@ascii@from#1\relax\relax
+}
+\gdef\SE@ascii@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifnum"#1>7 %
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \SE@ResultAdd{00#1#2}%
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \begin{macrocode}
+%</ascii>
+% \end{macrocode}
+%
+% \subsubsection{Encoding \xoption{ascii-print}}
+%
+% \begin{macrocode}
+%<*ascii-print>
+\ProvidesFile{se-ascii-print.def}%
+ [2019/11/29 v1.12 stringenc: Printable ASCII characters]%
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo ascii-print\endcsname#1#2#3#4{%
+ \ifnum"#1#2=\ltx@zero
+ \ifnum"#3#4<127 %
+ \ifnum"#3#4>31 %
+ \SE@ResultAdd{#3#4}%
+ \else
+ \SE@InvalidCharacter
+ \fi
+ \else
+ \SE@InvalidCharacter
+ \fi
+ \else
+ \SE@InvalidCharacter
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo ascii-print\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom ascii-print\endcsname#1{%
+ \let\SE@next\SE@ascii@print@from
+ \expandafter\SE@ascii@print@from#1\relax\relax
+}
+\gdef\SE@ascii@print@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifnum"#1#2>126 %
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \ifnum"#1#2<32 %
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \SE@ResultAdd{00#1#2}%
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \begin{macrocode}
+%</ascii-print>
+% \end{macrocode}
+%
+% \subsubsection{Clean7Bit}
+%
+% \begin{macrocode}
+%<*clean7bit>
+\ProvidesFile{se-clean7bit.def}[2019/11/29 v1.12 stringenc: Clean7Bit]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixTo clean7bit\endcsname#1#2#3#4{%
+ \ifnum"#1#2#3<8 %
+ \ifnum"#3#4<128 %
+ \ifnum"#3#4>26 %
+ \SE@ResultAdd{#3#4}%
+ \else
+ \ifnum"#3#4=10 %
+ \SE@ResultAdd{0A}%
+ \else
+ \ifnum"#3#4=13 %
+ \SE@ResultAdd{0D}%
+ \else
+ \ifnum"#3#4=9 %
+ \SE@ResultAdd{09}%
+ \else
+ \SE@InvalidCharacter
+ \fi
+ \fi
+ \fi
+ \fi
+ \else
+ \SE@InvalidCharacter
+ \fi
+ \else
+ \SE@InvalidCharacter
+ \fi
+}
+% \end{macrocode}
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixSurrogateTo clean7bit\endcsname
+ #1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\expandafter\gdef\csname\SE@PrefixFrom clean7bit\endcsname#1{%
+ \let\SE@next\SE@cleansevenbit@from
+ \expandafter\SE@cleansevenbit@from#1\relax\relax
+}
+\gdef\SE@cleansevenbit@from#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifnum"#1#2>126 %
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \else
+ \ifnum"#1#2<27 %
+ \ifnum"#1#2=10 %
+ \SE@ResultAdd{0010}%
+ \else
+ \ifnum"#1#2=13 %
+ \SE@ResultAdd{000D}%
+ \else
+ \ifnum"#1#2=9 %
+ \SE@ResultAdd{0009}%
+ \else
+ \SE@InvalidCharacter
+ \ifSE@TestMode
+ \let\SE@next\SE@SkipRemaining
+ \fi
+ \fi
+ \fi
+ \else
+ \SE@ResultAdd{00#1#2}%
+ \fi
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \begin{macrocode}
+%</clean7bit>
+% \end{macrocode}
+%
+% \subsubsection{Other encodings (8 bit)}
+%
+% \begin{macrocode}
+%<*iso-8859-2>
+\ProvidesFile{se-iso-8859-2.def}[2019/11/29 v1.12 stringenc: ISO-8859-2]
+\def\SE@this{iso-8859-2}
+%</iso-8859-2>
+%<*iso-8859-3>
+\ProvidesFile{se-iso-8859-3.def}[2019/11/29 v1.12 stringenc: ISO-8859-3]
+\def\SE@this{iso-8859-3}
+%</iso-8859-3>
+%<*iso-8859-4>
+\ProvidesFile{se-iso-8859-4.def}[2019/11/29 v1.12 stringenc: ISO-8859-4]
+\def\SE@this{iso-8859-4}
+%</iso-8859-4>
+%<*iso-8859-5>
+\ProvidesFile{se-iso-8859-5.def}[2019/11/29 v1.12 stringenc: ISO-8859-5]
+\def\SE@this{iso-8859-5}
+%</iso-8859-5>
+%<*iso-8859-6>
+\ProvidesFile{se-iso-8859-6.def}[2019/11/29 v1.12 stringenc: ISO-8859-6]
+\def\SE@this{iso-8859-6}
+%</iso-8859-6>
+%<*iso-8859-7>
+\ProvidesFile{se-iso-8859-7.def}[2019/11/29 v1.12 stringenc: ISO-8859-7]
+\def\SE@this{iso-8859-7}
+%</iso-8859-7>
+%<*iso-8859-8>
+\ProvidesFile{se-iso-8859-8.def}[2019/11/29 v1.12 stringenc: ISO-8859-8]
+\def\SE@this{iso-8859-8}
+%</iso-8859-8>
+%<*iso-8859-9>
+\ProvidesFile{se-iso-8859-9.def}[2019/11/29 v1.12 stringenc: ISO-8859-9]
+\def\SE@this{iso-8859-9}
+%</iso-8859-9>
+%<*iso-8859-10>
+\ProvidesFile{se-iso-8859-10.def}[2019/11/29 v1.12 stringenc: ISO-8859-10]
+\def\SE@this{iso-8859-10}
+%</iso-8859-10>
+%<*iso-8859-11>
+\ProvidesFile{se-iso-8859-11.def}[2019/11/29 v1.12 stringenc: ISO-8859-11]
+\def\SE@this{iso-8859-11}
+%</iso-8859-11>
+%<*iso-8859-13>
+\ProvidesFile{se-iso-8859-13.def}[2019/11/29 v1.12 stringenc: ISO-8859-13]
+\def\SE@this{iso-8859-13}
+%</iso-8859-13>
+%<*iso-8859-14>
+\ProvidesFile{se-iso-8859-14.def}[2019/11/29 v1.12 stringenc: ISO-8859-14]
+\def\SE@this{iso-8859-14}
+%</iso-8859-14>
+%<*iso-8859-15>
+\ProvidesFile{se-iso-8859-15.def}[2019/11/29 v1.12 stringenc: ISO-8859-15]
+\def\SE@this{iso-8859-15}
+%</iso-8859-15>
+%<*iso-8859-16>
+\ProvidesFile{se-iso-8859-16.def}[2019/11/29 v1.12 stringenc: ISO-8859-16]
+\def\SE@this{iso-8859-16}
+%</iso-8859-16>
+%<*koi8-r>
+\ProvidesFile{se-koi8-r.def}[2019/11/29 v1.12 stringenc: KOI8-R]
+\def\SE@this{koi8-r}
+%</koi8-r>
+%<*nextstep>
+\ProvidesFile{se-nextstep.def}[2019/11/29 v1.12 stringenc: NextStep]
+\def\SE@this{nextstep}
+%</nextstep>
+%<*mac-centeuro>
+\ProvidesFile{se-mac-centeuro.def}[2019/11/29 v1.12 stringenc: Mac OS Central European]
+\def\SE@this{mac-centeuro}
+%</mac-centeuro>
+%<*mac-cyrillic>
+\ProvidesFile{se-mac-cyrillic.def}[2019/11/29 v1.12 stringenc: Mac OS Cyrillic]
+\def\SE@this{mac-cyrillic}
+%</mac-cyrillic>
+%<*mac-roman>
+\ProvidesFile{se-mac-roman.def}[2019/11/29 v1.12 stringenc: Mac OS Roman]
+\def\SE@this{mac-roman}
+%</mac-roman>
+%<*dec-mcs>
+\ProvidesFile{se-dec-mcs.def}[2019/11/29 v1.12 stringenc: DEC-MCS]
+\def\SE@this{dec-mcs}
+%</dec-mcs>
+%<*cp437>
+\ProvidesFile{se-cp437.def}[2019/11/29 v1.12 stringenc: cp437]
+\def\SE@this{cp437}
+%</cp437>
+%<*cp850>
+\ProvidesFile{se-cp850.def}[2019/11/29 v1.12 stringenc: cp850]
+\def\SE@this{cp850}
+%</cp850>
+%<*cp852>
+\ProvidesFile{se-cp852.def}[2019/11/29 v1.12 stringenc: cp852]
+\def\SE@this{cp852}
+%</cp852>
+%<*cp855>
+\ProvidesFile{se-cp855.def}[2019/11/29 v1.12 stringenc: cp855]
+\def\SE@this{cp855}
+%</cp855>
+%<*cp858>
+\ProvidesFile{se-cp858.def}[2019/11/29 v1.12 stringenc: cp858]
+\def\SE@this{cp858}
+%</cp858>
+%<*cp865>
+\ProvidesFile{se-cp865.def}[2019/11/29 v1.12 stringenc: cp865]
+\def\SE@this{cp865}
+%</cp865>
+%<*cp866>
+\ProvidesFile{se-cp866.def}[2019/11/29 v1.12 stringenc: cp866]
+\def\SE@this{cp866}
+%</cp866>
+%<*cp1250>
+\ProvidesFile{se-cp1250.def}[2019/11/29 v1.12 stringenc: cp1250]
+\def\SE@this{cp1250}
+%</cp1250>
+%<*cp1251>
+\ProvidesFile{se-cp1251.def}[2019/11/29 v1.12 stringenc: cp1251]
+\def\SE@this{cp1251}
+%</cp1251>
+%<*cp1257>
+\ProvidesFile{se-cp1257.def}[2019/11/29 v1.12 stringenc: cp1257]
+\def\SE@this{cp1257}
+%</cp1257>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+% \begin{macrocode}
+\def\SE@to@general#1#2#3#4{%
+ \ifnum"#1#2#3#4<128 %
+ \SE@ResultAdd{#3#4}%
+ \else
+ \SE@MapConvertTo\SE@encoding{#1#2#3#4}%
+ \fi
+}
+\def\SE@to@general@surrogate#1#2#3#4#5#6#7#8{%
+ \SE@InvalidCharacter
+}
+\def\SE@from@general#1{%
+ \let\SE@next\SE@@from@general
+ \expandafter\SE@@from@general#1\relax\relax
+}
+\def\SE@@from@general#1#2{%
+ \ifx#1\relax
+ \let\SE@next\relax
+ \else
+ \ifnum"#1<8 % "#1#2<128
+ \SE@ResultAdd{00#1#2}%
+ \else
+ \SE@MapConvertFrom\SE@encoding{#1#2}%
+ \fi
+ \fi
+ \SE@next
+}
+% \end{macrocode}
+% \begin{macrocode}
+\SE@AtEnd%
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*general>
+% \end{macrocode}
+%
+% Pass range 0..127 through and use
+% the mapping system for the other characters.
+% \begin{macrocode}
+\global\expandafter\let\csname\SE@PrefixTo\SE@this\endcsname
+ \SE@to@general
+\global\expandafter\let\csname\SE@PrefixSurrogateTo\SE@this\endcsname
+ \SE@to@general@surrogate
+\global\expandafter\let\csname\SE@PrefixFrom\SE@this\endcsname
+ \SE@from@general
+% \end{macrocode}
+% \begin{macrocode}
+%</general>
+% \end{macrocode}
+%
+% \begingroup
+% \makeatletter
+% \let\saved@macro@font\macro@font
+% \def\macro@font{\saved@macro@font\scriptsize}
+% \paragraph{iso-8859-2}
+% \begin{macrocode}
+%<*iso-8859-2>
+\SE@MapDeclare{iso-8859-2}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-2}{A1}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-2}{A2}{02D8}% BREVE
+\SE@MapDeclare{iso-8859-2}{A3}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-2}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-2}{A5}{013D}% LATIN CAPITAL LETTER L WITH CARON
+\SE@MapDeclare{iso-8859-2}{A6}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-2}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-2}{A9}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-2}{AA}{015E}% LATIN CAPITAL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{AB}{0164}% LATIN CAPITAL LETTER T WITH CARON
+\SE@MapDeclare{iso-8859-2}{AC}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-2}{AE}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-2}{AF}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-2}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-2}{B1}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-2}{B2}{02DB}% OGONEK
+\SE@MapDeclare{iso-8859-2}{B3}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-2}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{iso-8859-2}{B5}{013E}% LATIN SMALL LETTER L WITH CARON
+\SE@MapDeclare{iso-8859-2}{B6}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{B7}{02C7}% CARON
+\SE@MapDeclare{iso-8859-2}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{iso-8859-2}{B9}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-2}{BA}{015F}% LATIN SMALL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{BB}{0165}% LATIN SMALL LETTER T WITH CARON
+\SE@MapDeclare{iso-8859-2}{BC}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{BD}{02DD}% DOUBLE ACUTE ACCENT
+\SE@MapDeclare{iso-8859-2}{BE}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-2}{BF}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-2}{C0}{0154}% LATIN CAPITAL LETTER R WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{C3}{0102}% LATIN CAPITAL LETTER A WITH BREVE
+\SE@MapDeclare{iso-8859-2}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{C5}{0139}% LATIN CAPITAL LETTER L WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{C6}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-2}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{CA}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-2}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{CC}{011A}% LATIN CAPITAL LETTER E WITH CARON
+\SE@MapDeclare{iso-8859-2}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{CF}{010E}% LATIN CAPITAL LETTER D WITH CARON
+\SE@MapDeclare{iso-8859-2}{D0}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-2}{D1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{D2}{0147}% LATIN CAPITAL LETTER N WITH CARON
+\SE@MapDeclare{iso-8859-2}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{D5}{0150}% LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-2}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-2}{D8}{0158}% LATIN CAPITAL LETTER R WITH CARON
+\SE@MapDeclare{iso-8859-2}{D9}{016E}% LATIN CAPITAL LETTER U WITH RING ABOVE
+\SE@MapDeclare{iso-8859-2}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{DB}{0170}% LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-2}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{DD}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{DE}{0162}% LATIN CAPITAL LETTER T WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-2}{E0}{0155}% LATIN SMALL LETTER R WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{E3}{0103}% LATIN SMALL LETTER A WITH BREVE
+\SE@MapDeclare{iso-8859-2}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{E5}{013A}% LATIN SMALL LETTER L WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{E6}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-2}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{EA}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-2}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{EC}{011B}% LATIN SMALL LETTER E WITH CARON
+\SE@MapDeclare{iso-8859-2}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{EF}{010F}% LATIN SMALL LETTER D WITH CARON
+\SE@MapDeclare{iso-8859-2}{F0}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-2}{F1}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{F2}{0148}% LATIN SMALL LETTER N WITH CARON
+\SE@MapDeclare{iso-8859-2}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-2}{F5}{0151}% LATIN SMALL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-2}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-2}{F8}{0159}% LATIN SMALL LETTER R WITH CARON
+\SE@MapDeclare{iso-8859-2}{F9}{016F}% LATIN SMALL LETTER U WITH RING ABOVE
+\SE@MapDeclare{iso-8859-2}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{FB}{0171}% LATIN SMALL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-2}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-2}{FD}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-2}{FE}{0163}% LATIN SMALL LETTER T WITH CEDILLA
+\SE@MapDeclare{iso-8859-2}{FF}{02D9}% DOT ABOVE
+%</iso-8859-2>
+% \end{macrocode}
+% \paragraph{iso-8859-3}
+% \begin{macrocode}
+%<*iso-8859-3>
+\SE@MapDeclare{iso-8859-3}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-3}{A1}{0126}% LATIN CAPITAL LETTER H WITH STROKE
+\SE@MapDeclare{iso-8859-3}{A2}{02D8}% BREVE
+\SE@MapDeclare{iso-8859-3}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-3}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-3}{A6}{0124}% LATIN CAPITAL LETTER H WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-3}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-3}{A9}{0130}% LATIN CAPITAL LETTER I WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{AA}{015E}% LATIN CAPITAL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-3}{AB}{011E}% LATIN CAPITAL LETTER G WITH BREVE
+\SE@MapDeclare{iso-8859-3}{AC}{0134}% LATIN CAPITAL LETTER J WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-3}{AF}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-3}{B1}{0127}% LATIN SMALL LETTER H WITH STROKE
+\SE@MapDeclare{iso-8859-3}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-3}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-3}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{iso-8859-3}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{iso-8859-3}{B6}{0125}% LATIN SMALL LETTER H WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-3}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{iso-8859-3}{B9}{0131}% LATIN SMALL LETTER DOTLESS I
+\SE@MapDeclare{iso-8859-3}{BA}{015F}% LATIN SMALL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-3}{BB}{011F}% LATIN SMALL LETTER G WITH BREVE
+\SE@MapDeclare{iso-8859-3}{BC}{0135}% LATIN SMALL LETTER J WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{iso-8859-3}{BF}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{C5}{010A}% LATIN CAPITAL LETTER C WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{C6}{0108}% LATIN CAPITAL LETTER C WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-3}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{D1}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-3}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{D5}{0120}% LATIN CAPITAL LETTER G WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-3}{D8}{011C}% LATIN CAPITAL LETTER G WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{DD}{016C}% LATIN CAPITAL LETTER U WITH BREVE
+\SE@MapDeclare{iso-8859-3}{DE}{015C}% LATIN CAPITAL LETTER S WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-3}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{E5}{010B}% LATIN SMALL LETTER C WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{E6}{0109}% LATIN SMALL LETTER C WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-3}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{F1}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-3}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{F5}{0121}% LATIN SMALL LETTER G WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-3}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-3}{F8}{011D}% LATIN SMALL LETTER G WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-3}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-3}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-3}{FD}{016D}% LATIN SMALL LETTER U WITH BREVE
+\SE@MapDeclare{iso-8859-3}{FE}{015D}% LATIN SMALL LETTER S WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-3}{FF}{02D9}% DOT ABOVE
+%</iso-8859-3>
+% \end{macrocode}
+% \paragraph{iso-8859-4}
+% \begin{macrocode}
+%<*iso-8859-4>
+\SE@MapDeclare{iso-8859-4}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-4}{A1}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{A2}{0138}% LATIN SMALL LETTER KRA
+\SE@MapDeclare{iso-8859-4}{A3}{0156}% LATIN CAPITAL LETTER R WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-4}{A5}{0128}% LATIN CAPITAL LETTER I WITH TILDE
+\SE@MapDeclare{iso-8859-4}{A6}{013B}% LATIN CAPITAL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-4}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-4}{A9}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-4}{AA}{0112}% LATIN CAPITAL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-4}{AB}{0122}% LATIN CAPITAL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{AC}{0166}% LATIN CAPITAL LETTER T WITH STROKE
+\SE@MapDeclare{iso-8859-4}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-4}{AE}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-4}{AF}{00AF}% MACRON
+\SE@MapDeclare{iso-8859-4}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-4}{B1}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{B2}{02DB}% OGONEK
+\SE@MapDeclare{iso-8859-4}{B3}{0157}% LATIN SMALL LETTER R WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{iso-8859-4}{B5}{0129}% LATIN SMALL LETTER I WITH TILDE
+\SE@MapDeclare{iso-8859-4}{B6}{013C}% LATIN SMALL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{B7}{02C7}% CARON
+\SE@MapDeclare{iso-8859-4}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{iso-8859-4}{B9}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-4}{BA}{0113}% LATIN SMALL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-4}{BB}{0123}% LATIN SMALL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{BC}{0167}% LATIN SMALL LETTER T WITH STROKE
+\SE@MapDeclare{iso-8859-4}{BD}{014A}% LATIN CAPITAL LETTER ENG
+\SE@MapDeclare{iso-8859-4}{BE}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-4}{BF}{014B}% LATIN SMALL LETTER ENG
+\SE@MapDeclare{iso-8859-4}{C0}{0100}% LATIN CAPITAL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-4}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-4}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-4}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-4}{C7}{012E}% LATIN CAPITAL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-4}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{CA}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{CC}{0116}% LATIN CAPITAL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-4}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{CF}{012A}% LATIN CAPITAL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-4}{D0}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-4}{D1}{0145}% LATIN CAPITAL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{D2}{014C}% LATIN CAPITAL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-4}{D3}{0136}% LATIN CAPITAL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-4}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-4}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-4}{D9}{0172}% LATIN CAPITAL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{DD}{0168}% LATIN CAPITAL LETTER U WITH TILDE
+\SE@MapDeclare{iso-8859-4}{DE}{016A}% LATIN CAPITAL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-4}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-4}{E0}{0101}% LATIN SMALL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-4}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-4}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-4}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-4}{E7}{012F}% LATIN SMALL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-4}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{EA}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{EC}{0117}% LATIN SMALL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-4}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{EF}{012B}% LATIN SMALL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-4}{F0}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-4}{F1}{0146}% LATIN SMALL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{F2}{014D}% LATIN SMALL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-4}{F3}{0137}% LATIN SMALL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-4}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-4}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-4}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-4}{F9}{0173}% LATIN SMALL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-4}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-4}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-4}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-4}{FD}{0169}% LATIN SMALL LETTER U WITH TILDE
+\SE@MapDeclare{iso-8859-4}{FE}{016B}% LATIN SMALL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-4}{FF}{02D9}% DOT ABOVE
+%</iso-8859-4>
+% \end{macrocode}
+% \paragraph{iso-8859-5}
+% \begin{macrocode}
+%<*iso-8859-5>
+\SE@MapDeclare{iso-8859-5}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-5}{A1}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{iso-8859-5}{A2}{0402}% CYRILLIC CAPITAL LETTER DJE
+\SE@MapDeclare{iso-8859-5}{A3}{0403}% CYRILLIC CAPITAL LETTER GJE
+\SE@MapDeclare{iso-8859-5}{A4}{0404}% CYRILLIC CAPITAL LETTER UKRAINIAN IE
+\SE@MapDeclare{iso-8859-5}{A5}{0405}% CYRILLIC CAPITAL LETTER DZE
+\SE@MapDeclare{iso-8859-5}{A6}{0406}% CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{iso-8859-5}{A7}{0407}% CYRILLIC CAPITAL LETTER YI
+\SE@MapDeclare{iso-8859-5}{A8}{0408}% CYRILLIC CAPITAL LETTER JE
+\SE@MapDeclare{iso-8859-5}{A9}{0409}% CYRILLIC CAPITAL LETTER LJE
+\SE@MapDeclare{iso-8859-5}{AA}{040A}% CYRILLIC CAPITAL LETTER NJE
+\SE@MapDeclare{iso-8859-5}{AB}{040B}% CYRILLIC CAPITAL LETTER TSHE
+\SE@MapDeclare{iso-8859-5}{AC}{040C}% CYRILLIC CAPITAL LETTER KJE
+\SE@MapDeclare{iso-8859-5}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-5}{AE}{040E}% CYRILLIC CAPITAL LETTER SHORT U
+\SE@MapDeclare{iso-8859-5}{AF}{040F}% CYRILLIC CAPITAL LETTER DZHE
+\SE@MapDeclare{iso-8859-5}{B0}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{iso-8859-5}{B1}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{iso-8859-5}{B2}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{iso-8859-5}{B3}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{iso-8859-5}{B4}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{iso-8859-5}{B5}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{iso-8859-5}{B6}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{iso-8859-5}{B7}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{iso-8859-5}{B8}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{iso-8859-5}{B9}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{iso-8859-5}{BA}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{iso-8859-5}{BB}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{iso-8859-5}{BC}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{iso-8859-5}{BD}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{iso-8859-5}{BE}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{iso-8859-5}{BF}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{iso-8859-5}{C0}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{iso-8859-5}{C1}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{iso-8859-5}{C2}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{iso-8859-5}{C3}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{iso-8859-5}{C4}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{iso-8859-5}{C5}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{iso-8859-5}{C6}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{iso-8859-5}{C7}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{iso-8859-5}{C8}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{iso-8859-5}{C9}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{iso-8859-5}{CA}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+\SE@MapDeclare{iso-8859-5}{CB}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{iso-8859-5}{CC}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{iso-8859-5}{CD}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{iso-8859-5}{CE}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{iso-8859-5}{CF}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{iso-8859-5}{D0}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{iso-8859-5}{D1}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{iso-8859-5}{D2}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{iso-8859-5}{D3}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{iso-8859-5}{D4}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{iso-8859-5}{D5}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{iso-8859-5}{D6}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{iso-8859-5}{D7}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{iso-8859-5}{D8}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{iso-8859-5}{D9}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{iso-8859-5}{DA}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{iso-8859-5}{DB}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{iso-8859-5}{DC}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{iso-8859-5}{DD}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{iso-8859-5}{DE}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{iso-8859-5}{DF}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{iso-8859-5}{E0}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{iso-8859-5}{E1}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{iso-8859-5}{E2}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{iso-8859-5}{E3}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{iso-8859-5}{E4}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{iso-8859-5}{E5}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{iso-8859-5}{E6}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{iso-8859-5}{E7}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{iso-8859-5}{E8}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{iso-8859-5}{E9}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{iso-8859-5}{EA}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{iso-8859-5}{EB}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{iso-8859-5}{EC}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{iso-8859-5}{ED}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{iso-8859-5}{EE}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{iso-8859-5}{EF}{044F}% CYRILLIC SMALL LETTER YA
+\SE@MapDeclare{iso-8859-5}{F0}{2116}% NUMERO SIGN
+\SE@MapDeclare{iso-8859-5}{F1}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{iso-8859-5}{F2}{0452}% CYRILLIC SMALL LETTER DJE
+\SE@MapDeclare{iso-8859-5}{F3}{0453}% CYRILLIC SMALL LETTER GJE
+\SE@MapDeclare{iso-8859-5}{F4}{0454}% CYRILLIC SMALL LETTER UKRAINIAN IE
+\SE@MapDeclare{iso-8859-5}{F5}{0455}% CYRILLIC SMALL LETTER DZE
+\SE@MapDeclare{iso-8859-5}{F6}{0456}% CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{iso-8859-5}{F7}{0457}% CYRILLIC SMALL LETTER YI
+\SE@MapDeclare{iso-8859-5}{F8}{0458}% CYRILLIC SMALL LETTER JE
+\SE@MapDeclare{iso-8859-5}{F9}{0459}% CYRILLIC SMALL LETTER LJE
+\SE@MapDeclare{iso-8859-5}{FA}{045A}% CYRILLIC SMALL LETTER NJE
+\SE@MapDeclare{iso-8859-5}{FB}{045B}% CYRILLIC SMALL LETTER TSHE
+\SE@MapDeclare{iso-8859-5}{FC}{045C}% CYRILLIC SMALL LETTER KJE
+\SE@MapDeclare{iso-8859-5}{FD}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-5}{FE}{045E}% CYRILLIC SMALL LETTER SHORT U
+\SE@MapDeclare{iso-8859-5}{FF}{045F}% CYRILLIC SMALL LETTER DZHE
+%</iso-8859-5>
+% \end{macrocode}
+% \paragraph{iso-8859-6}
+% \begin{macrocode}
+%<*iso-8859-6>
+\SE@MapDeclare{iso-8859-6}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-6}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-6}{AC}{060C}% ARABIC COMMA
+\SE@MapDeclare{iso-8859-6}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-6}{BB}{061B}% ARABIC SEMICOLON
+\SE@MapDeclare{iso-8859-6}{BF}{061F}% ARABIC QUESTION MARK
+\SE@MapDeclare{iso-8859-6}{C1}{0621}% ARABIC LETTER HAMZA
+\SE@MapDeclare{iso-8859-6}{C2}{0622}% ARABIC LETTER ALEF WITH MADDA ABOVE
+\SE@MapDeclare{iso-8859-6}{C3}{0623}% ARABIC LETTER ALEF WITH HAMZA ABOVE
+\SE@MapDeclare{iso-8859-6}{C4}{0624}% ARABIC LETTER WAW WITH HAMZA ABOVE
+\SE@MapDeclare{iso-8859-6}{C5}{0625}% ARABIC LETTER ALEF WITH HAMZA BELOW
+\SE@MapDeclare{iso-8859-6}{C6}{0626}% ARABIC LETTER YEH WITH HAMZA ABOVE
+\SE@MapDeclare{iso-8859-6}{C7}{0627}% ARABIC LETTER ALEF
+\SE@MapDeclare{iso-8859-6}{C8}{0628}% ARABIC LETTER BEH
+\SE@MapDeclare{iso-8859-6}{C9}{0629}% ARABIC LETTER TEH MARBUTA
+\SE@MapDeclare{iso-8859-6}{CA}{062A}% ARABIC LETTER TEH
+\SE@MapDeclare{iso-8859-6}{CB}{062B}% ARABIC LETTER THEH
+\SE@MapDeclare{iso-8859-6}{CC}{062C}% ARABIC LETTER JEEM
+\SE@MapDeclare{iso-8859-6}{CD}{062D}% ARABIC LETTER HAH
+\SE@MapDeclare{iso-8859-6}{CE}{062E}% ARABIC LETTER KHAH
+\SE@MapDeclare{iso-8859-6}{CF}{062F}% ARABIC LETTER DAL
+\SE@MapDeclare{iso-8859-6}{D0}{0630}% ARABIC LETTER THAL
+\SE@MapDeclare{iso-8859-6}{D1}{0631}% ARABIC LETTER REH
+\SE@MapDeclare{iso-8859-6}{D2}{0632}% ARABIC LETTER ZAIN
+\SE@MapDeclare{iso-8859-6}{D3}{0633}% ARABIC LETTER SEEN
+\SE@MapDeclare{iso-8859-6}{D4}{0634}% ARABIC LETTER SHEEN
+\SE@MapDeclare{iso-8859-6}{D5}{0635}% ARABIC LETTER SAD
+\SE@MapDeclare{iso-8859-6}{D6}{0636}% ARABIC LETTER DAD
+\SE@MapDeclare{iso-8859-6}{D7}{0637}% ARABIC LETTER TAH
+\SE@MapDeclare{iso-8859-6}{D8}{0638}% ARABIC LETTER ZAH
+\SE@MapDeclare{iso-8859-6}{D9}{0639}% ARABIC LETTER AIN
+\SE@MapDeclare{iso-8859-6}{DA}{063A}% ARABIC LETTER GHAIN
+\SE@MapDeclare{iso-8859-6}{E0}{0640}% ARABIC TATWEEL
+\SE@MapDeclare{iso-8859-6}{E1}{0641}% ARABIC LETTER FEH
+\SE@MapDeclare{iso-8859-6}{E2}{0642}% ARABIC LETTER QAF
+\SE@MapDeclare{iso-8859-6}{E3}{0643}% ARABIC LETTER KAF
+\SE@MapDeclare{iso-8859-6}{E4}{0644}% ARABIC LETTER LAM
+\SE@MapDeclare{iso-8859-6}{E5}{0645}% ARABIC LETTER MEEM
+\SE@MapDeclare{iso-8859-6}{E6}{0646}% ARABIC LETTER NOON
+\SE@MapDeclare{iso-8859-6}{E7}{0647}% ARABIC LETTER HEH
+\SE@MapDeclare{iso-8859-6}{E8}{0648}% ARABIC LETTER WAW
+\SE@MapDeclare{iso-8859-6}{E9}{0649}% ARABIC LETTER ALEF MAKSURA
+\SE@MapDeclare{iso-8859-6}{EA}{064A}% ARABIC LETTER YEH
+\SE@MapDeclare{iso-8859-6}{EB}{064B}% ARABIC FATHATAN
+\SE@MapDeclare{iso-8859-6}{EC}{064C}% ARABIC DAMMATAN
+\SE@MapDeclare{iso-8859-6}{ED}{064D}% ARABIC KASRATAN
+\SE@MapDeclare{iso-8859-6}{EE}{064E}% ARABIC FATHA
+\SE@MapDeclare{iso-8859-6}{EF}{064F}% ARABIC DAMMA
+\SE@MapDeclare{iso-8859-6}{F0}{0650}% ARABIC KASRA
+\SE@MapDeclare{iso-8859-6}{F1}{0651}% ARABIC SHADDA
+\SE@MapDeclare{iso-8859-6}{F2}{0652}% ARABIC SUKUN
+%</iso-8859-6>
+% \end{macrocode}
+% \paragraph{iso-8859-7}
+% \begin{macrocode}
+%<*iso-8859-7>
+\SE@MapDeclare{iso-8859-7}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-7}{A1}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-7}{A2}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-7}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-7}{A4}{20AC}% EURO SIGN
+\SE@MapDeclare{iso-8859-7}{A5}{20AF}% DRACHMA SIGN
+\SE@MapDeclare{iso-8859-7}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{iso-8859-7}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-7}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-7}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-7}{AA}{037A}% GREEK YPOGEGRAMMENI
+\SE@MapDeclare{iso-8859-7}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-7}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{iso-8859-7}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-7}{AF}{2015}% HORIZONTAL BAR
+\SE@MapDeclare{iso-8859-7}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-7}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-7}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-7}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-7}{B4}{0384}% GREEK TONOS
+\SE@MapDeclare{iso-8859-7}{B5}{0385}% GREEK DIALYTIKA TONOS
+\SE@MapDeclare{iso-8859-7}{B6}{0386}% GREEK CAPITAL LETTER ALPHA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-7}{B8}{0388}% GREEK CAPITAL LETTER EPSILON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{B9}{0389}% GREEK CAPITAL LETTER ETA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{BA}{038A}% GREEK CAPITAL LETTER IOTA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-7}{BC}{038C}% GREEK CAPITAL LETTER OMICRON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{iso-8859-7}{BE}{038E}% GREEK CAPITAL LETTER UPSILON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{BF}{038F}% GREEK CAPITAL LETTER OMEGA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{C0}{0390}% GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
+\SE@MapDeclare{iso-8859-7}{C1}{0391}% GREEK CAPITAL LETTER ALPHA
+\SE@MapDeclare{iso-8859-7}{C2}{0392}% GREEK CAPITAL LETTER BETA
+\SE@MapDeclare{iso-8859-7}{C3}{0393}% GREEK CAPITAL LETTER GAMMA
+\SE@MapDeclare{iso-8859-7}{C4}{0394}% GREEK CAPITAL LETTER DELTA
+\SE@MapDeclare{iso-8859-7}{C5}{0395}% GREEK CAPITAL LETTER EPSILON
+\SE@MapDeclare{iso-8859-7}{C6}{0396}% GREEK CAPITAL LETTER ZETA
+\SE@MapDeclare{iso-8859-7}{C7}{0397}% GREEK CAPITAL LETTER ETA
+\SE@MapDeclare{iso-8859-7}{C8}{0398}% GREEK CAPITAL LETTER THETA
+\SE@MapDeclare{iso-8859-7}{C9}{0399}% GREEK CAPITAL LETTER IOTA
+\SE@MapDeclare{iso-8859-7}{CA}{039A}% GREEK CAPITAL LETTER KAPPA
+\SE@MapDeclare{iso-8859-7}{CB}{039B}% GREEK CAPITAL LETTER LAMDA
+\SE@MapDeclare{iso-8859-7}{CC}{039C}% GREEK CAPITAL LETTER MU
+\SE@MapDeclare{iso-8859-7}{CD}{039D}% GREEK CAPITAL LETTER NU
+\SE@MapDeclare{iso-8859-7}{CE}{039E}% GREEK CAPITAL LETTER XI
+\SE@MapDeclare{iso-8859-7}{CF}{039F}% GREEK CAPITAL LETTER OMICRON
+\SE@MapDeclare{iso-8859-7}{D0}{03A0}% GREEK CAPITAL LETTER PI
+\SE@MapDeclare{iso-8859-7}{D1}{03A1}% GREEK CAPITAL LETTER RHO
+\SE@MapDeclare{iso-8859-7}{D3}{03A3}% GREEK CAPITAL LETTER SIGMA
+\SE@MapDeclare{iso-8859-7}{D4}{03A4}% GREEK CAPITAL LETTER TAU
+\SE@MapDeclare{iso-8859-7}{D5}{03A5}% GREEK CAPITAL LETTER UPSILON
+\SE@MapDeclare{iso-8859-7}{D6}{03A6}% GREEK CAPITAL LETTER PHI
+\SE@MapDeclare{iso-8859-7}{D7}{03A7}% GREEK CAPITAL LETTER CHI
+\SE@MapDeclare{iso-8859-7}{D8}{03A8}% GREEK CAPITAL LETTER PSI
+\SE@MapDeclare{iso-8859-7}{D9}{03A9}% GREEK CAPITAL LETTER OMEGA
+\SE@MapDeclare{iso-8859-7}{DA}{03AA}% GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
+\SE@MapDeclare{iso-8859-7}{DB}{03AB}% GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
+\SE@MapDeclare{iso-8859-7}{DC}{03AC}% GREEK SMALL LETTER ALPHA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{DD}{03AD}% GREEK SMALL LETTER EPSILON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{DE}{03AE}% GREEK SMALL LETTER ETA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{DF}{03AF}% GREEK SMALL LETTER IOTA WITH TONOS
+\SE@MapDeclare{iso-8859-7}{E0}{03B0}% GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
+\SE@MapDeclare{iso-8859-7}{E1}{03B1}% GREEK SMALL LETTER ALPHA
+\SE@MapDeclare{iso-8859-7}{E2}{03B2}% GREEK SMALL LETTER BETA
+\SE@MapDeclare{iso-8859-7}{E3}{03B3}% GREEK SMALL LETTER GAMMA
+\SE@MapDeclare{iso-8859-7}{E4}{03B4}% GREEK SMALL LETTER DELTA
+\SE@MapDeclare{iso-8859-7}{E5}{03B5}% GREEK SMALL LETTER EPSILON
+\SE@MapDeclare{iso-8859-7}{E6}{03B6}% GREEK SMALL LETTER ZETA
+\SE@MapDeclare{iso-8859-7}{E7}{03B7}% GREEK SMALL LETTER ETA
+\SE@MapDeclare{iso-8859-7}{E8}{03B8}% GREEK SMALL LETTER THETA
+\SE@MapDeclare{iso-8859-7}{E9}{03B9}% GREEK SMALL LETTER IOTA
+\SE@MapDeclare{iso-8859-7}{EA}{03BA}% GREEK SMALL LETTER KAPPA
+\SE@MapDeclare{iso-8859-7}{EB}{03BB}% GREEK SMALL LETTER LAMDA
+\SE@MapDeclare{iso-8859-7}{EC}{03BC}% GREEK SMALL LETTER MU
+\SE@MapDeclare{iso-8859-7}{ED}{03BD}% GREEK SMALL LETTER NU
+\SE@MapDeclare{iso-8859-7}{EE}{03BE}% GREEK SMALL LETTER XI
+\SE@MapDeclare{iso-8859-7}{EF}{03BF}% GREEK SMALL LETTER OMICRON
+\SE@MapDeclare{iso-8859-7}{F0}{03C0}% GREEK SMALL LETTER PI
+\SE@MapDeclare{iso-8859-7}{F1}{03C1}% GREEK SMALL LETTER RHO
+\SE@MapDeclare{iso-8859-7}{F2}{03C2}% GREEK SMALL LETTER FINAL SIGMA
+\SE@MapDeclare{iso-8859-7}{F3}{03C3}% GREEK SMALL LETTER SIGMA
+\SE@MapDeclare{iso-8859-7}{F4}{03C4}% GREEK SMALL LETTER TAU
+\SE@MapDeclare{iso-8859-7}{F5}{03C5}% GREEK SMALL LETTER UPSILON
+\SE@MapDeclare{iso-8859-7}{F6}{03C6}% GREEK SMALL LETTER PHI
+\SE@MapDeclare{iso-8859-7}{F7}{03C7}% GREEK SMALL LETTER CHI
+\SE@MapDeclare{iso-8859-7}{F8}{03C8}% GREEK SMALL LETTER PSI
+\SE@MapDeclare{iso-8859-7}{F9}{03C9}% GREEK SMALL LETTER OMEGA
+\SE@MapDeclare{iso-8859-7}{FA}{03CA}% GREEK SMALL LETTER IOTA WITH DIALYTIKA
+\SE@MapDeclare{iso-8859-7}{FB}{03CB}% GREEK SMALL LETTER UPSILON WITH DIALYTIKA
+\SE@MapDeclare{iso-8859-7}{FC}{03CC}% GREEK SMALL LETTER OMICRON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{FD}{03CD}% GREEK SMALL LETTER UPSILON WITH TONOS
+\SE@MapDeclare{iso-8859-7}{FE}{03CE}% GREEK SMALL LETTER OMEGA WITH TONOS
+%</iso-8859-7>
+% \end{macrocode}
+% \paragraph{iso-8859-8}
+% \begin{macrocode}
+%<*iso-8859-8>
+\SE@MapDeclare{iso-8859-8}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-8}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{iso-8859-8}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-8}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-8}{A5}{00A5}% YEN SIGN
+\SE@MapDeclare{iso-8859-8}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{iso-8859-8}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-8}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-8}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-8}{AA}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-8}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-8}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{iso-8859-8}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-8}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{iso-8859-8}{AF}{00AF}% MACRON
+\SE@MapDeclare{iso-8859-8}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-8}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-8}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-8}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-8}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{iso-8859-8}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{iso-8859-8}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-8}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-8}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{iso-8859-8}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{iso-8859-8}{BA}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-8}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-8}{BC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{iso-8859-8}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{iso-8859-8}{BE}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{iso-8859-8}{DF}{2017}% DOUBLE LOW LINE
+\SE@MapDeclare{iso-8859-8}{E0}{05D0}% HEBREW LETTER ALEF
+\SE@MapDeclare{iso-8859-8}{E1}{05D1}% HEBREW LETTER BET
+\SE@MapDeclare{iso-8859-8}{E2}{05D2}% HEBREW LETTER GIMEL
+\SE@MapDeclare{iso-8859-8}{E3}{05D3}% HEBREW LETTER DALET
+\SE@MapDeclare{iso-8859-8}{E4}{05D4}% HEBREW LETTER HE
+\SE@MapDeclare{iso-8859-8}{E5}{05D5}% HEBREW LETTER VAV
+\SE@MapDeclare{iso-8859-8}{E6}{05D6}% HEBREW LETTER ZAYIN
+\SE@MapDeclare{iso-8859-8}{E7}{05D7}% HEBREW LETTER HET
+\SE@MapDeclare{iso-8859-8}{E8}{05D8}% HEBREW LETTER TET
+\SE@MapDeclare{iso-8859-8}{E9}{05D9}% HEBREW LETTER YOD
+\SE@MapDeclare{iso-8859-8}{EA}{05DA}% HEBREW LETTER FINAL KAF
+\SE@MapDeclare{iso-8859-8}{EB}{05DB}% HEBREW LETTER KAF
+\SE@MapDeclare{iso-8859-8}{EC}{05DC}% HEBREW LETTER LAMED
+\SE@MapDeclare{iso-8859-8}{ED}{05DD}% HEBREW LETTER FINAL MEM
+\SE@MapDeclare{iso-8859-8}{EE}{05DE}% HEBREW LETTER MEM
+\SE@MapDeclare{iso-8859-8}{EF}{05DF}% HEBREW LETTER FINAL NUN
+\SE@MapDeclare{iso-8859-8}{F0}{05E0}% HEBREW LETTER NUN
+\SE@MapDeclare{iso-8859-8}{F1}{05E1}% HEBREW LETTER SAMEKH
+\SE@MapDeclare{iso-8859-8}{F2}{05E2}% HEBREW LETTER AYIN
+\SE@MapDeclare{iso-8859-8}{F3}{05E3}% HEBREW LETTER FINAL PE
+\SE@MapDeclare{iso-8859-8}{F4}{05E4}% HEBREW LETTER PE
+\SE@MapDeclare{iso-8859-8}{F5}{05E5}% HEBREW LETTER FINAL TSADI
+\SE@MapDeclare{iso-8859-8}{F6}{05E6}% HEBREW LETTER TSADI
+\SE@MapDeclare{iso-8859-8}{F7}{05E7}% HEBREW LETTER QOF
+\SE@MapDeclare{iso-8859-8}{F8}{05E8}% HEBREW LETTER RESH
+\SE@MapDeclare{iso-8859-8}{F9}{05E9}% HEBREW LETTER SHIN
+\SE@MapDeclare{iso-8859-8}{FA}{05EA}% HEBREW LETTER TAV
+\SE@MapDeclare{iso-8859-8}{FD}{200E}% LEFT-TO-RIGHT MARK
+\SE@MapDeclare{iso-8859-8}{FE}{200F}% RIGHT-TO-LEFT MARK
+%</iso-8859-8>
+% \end{macrocode}
+% \paragraph{iso-8859-9}
+% \begin{macrocode}
+%<*iso-8859-9>
+\SE@MapDeclare{iso-8859-9}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-9}{A1}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{iso-8859-9}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{iso-8859-9}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-9}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-9}{A5}{00A5}% YEN SIGN
+\SE@MapDeclare{iso-8859-9}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{iso-8859-9}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-9}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{iso-8859-9}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-9}{AA}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{iso-8859-9}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-9}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{iso-8859-9}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-9}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{iso-8859-9}{AF}{00AF}% MACRON
+\SE@MapDeclare{iso-8859-9}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-9}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-9}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-9}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-9}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{iso-8859-9}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{iso-8859-9}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-9}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-9}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{iso-8859-9}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{iso-8859-9}{BA}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{iso-8859-9}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-9}{BC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{iso-8859-9}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{iso-8859-9}{BE}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{iso-8859-9}{BF}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{iso-8859-9}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-9}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-9}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-9}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-9}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{D0}{011E}% LATIN CAPITAL LETTER G WITH BREVE
+\SE@MapDeclare{iso-8859-9}{D1}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-9}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-9}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-9}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-9}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{DD}{0130}% LATIN CAPITAL LETTER I WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-9}{DE}{015E}% LATIN CAPITAL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-9}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-9}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-9}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-9}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-9}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-9}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{F0}{011F}% LATIN SMALL LETTER G WITH BREVE
+\SE@MapDeclare{iso-8859-9}{F1}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-9}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-9}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-9}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-9}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-9}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-9}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-9}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-9}{FD}{0131}% LATIN SMALL LETTER DOTLESS I
+\SE@MapDeclare{iso-8859-9}{FE}{015F}% LATIN SMALL LETTER S WITH CEDILLA
+\SE@MapDeclare{iso-8859-9}{FF}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</iso-8859-9>
+% \end{macrocode}
+% \paragraph{iso-8859-10}
+% \begin{macrocode}
+%<*iso-8859-10>
+\SE@MapDeclare{iso-8859-10}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-10}{A1}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{A2}{0112}% LATIN CAPITAL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-10}{A3}{0122}% LATIN CAPITAL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{A4}{012A}% LATIN CAPITAL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-10}{A5}{0128}% LATIN CAPITAL LETTER I WITH TILDE
+\SE@MapDeclare{iso-8859-10}{A6}{0136}% LATIN CAPITAL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-10}{A8}{013B}% LATIN CAPITAL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{A9}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-10}{AA}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-10}{AB}{0166}% LATIN CAPITAL LETTER T WITH STROKE
+\SE@MapDeclare{iso-8859-10}{AC}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-10}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-10}{AE}{016A}% LATIN CAPITAL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-10}{AF}{014A}% LATIN CAPITAL LETTER ENG
+\SE@MapDeclare{iso-8859-10}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-10}{B1}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{B2}{0113}% LATIN SMALL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-10}{B3}{0123}% LATIN SMALL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{B4}{012B}% LATIN SMALL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-10}{B5}{0129}% LATIN SMALL LETTER I WITH TILDE
+\SE@MapDeclare{iso-8859-10}{B6}{0137}% LATIN SMALL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-10}{B8}{013C}% LATIN SMALL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{B9}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-10}{BA}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-10}{BB}{0167}% LATIN SMALL LETTER T WITH STROKE
+\SE@MapDeclare{iso-8859-10}{BC}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-10}{BD}{2015}% HORIZONTAL BAR
+\SE@MapDeclare{iso-8859-10}{BE}{016B}% LATIN SMALL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-10}{BF}{014B}% LATIN SMALL LETTER ENG
+\SE@MapDeclare{iso-8859-10}{C0}{0100}% LATIN CAPITAL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-10}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-10}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-10}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-10}{C7}{012E}% LATIN CAPITAL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-10}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{CA}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{CC}{0116}% LATIN CAPITAL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-10}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{D0}{00D0}% LATIN CAPITAL LETTER ETH (Icelandic)
+\SE@MapDeclare{iso-8859-10}{D1}{0145}% LATIN CAPITAL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{D2}{014C}% LATIN CAPITAL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-10}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-10}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{D7}{0168}% LATIN CAPITAL LETTER U WITH TILDE
+\SE@MapDeclare{iso-8859-10}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-10}{D9}{0172}% LATIN CAPITAL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{DD}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{DE}{00DE}% LATIN CAPITAL LETTER THORN (Icelandic)
+\SE@MapDeclare{iso-8859-10}{DF}{00DF}% LATIN SMALL LETTER SHARP S (German)
+\SE@MapDeclare{iso-8859-10}{E0}{0101}% LATIN SMALL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-10}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-10}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-10}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-10}{E7}{012F}% LATIN SMALL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-10}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{EA}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{EC}{0117}% LATIN SMALL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-10}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{F0}{00F0}% LATIN SMALL LETTER ETH (Icelandic)
+\SE@MapDeclare{iso-8859-10}{F1}{0146}% LATIN SMALL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-10}{F2}{014D}% LATIN SMALL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-10}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-10}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{F7}{0169}% LATIN SMALL LETTER U WITH TILDE
+\SE@MapDeclare{iso-8859-10}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-10}{F9}{0173}% LATIN SMALL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-10}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-10}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-10}{FD}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-10}{FE}{00FE}% LATIN SMALL LETTER THORN (Icelandic)
+\SE@MapDeclare{iso-8859-10}{FF}{0138}% LATIN SMALL LETTER KRA
+%</iso-8859-10>
+% \end{macrocode}
+% \paragraph{iso-8859-11}
+% \begin{macrocode}
+%<*iso-8859-11>
+\SE@MapDeclare{iso-8859-11}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-11}{A1}{0E01}% THAI CHARACTER KO KAI
+\SE@MapDeclare{iso-8859-11}{A2}{0E02}% THAI CHARACTER KHO KHAI
+\SE@MapDeclare{iso-8859-11}{A3}{0E03}% THAI CHARACTER KHO KHUAT
+\SE@MapDeclare{iso-8859-11}{A4}{0E04}% THAI CHARACTER KHO KHWAI
+\SE@MapDeclare{iso-8859-11}{A5}{0E05}% THAI CHARACTER KHO KHON
+\SE@MapDeclare{iso-8859-11}{A6}{0E06}% THAI CHARACTER KHO RAKHANG
+\SE@MapDeclare{iso-8859-11}{A7}{0E07}% THAI CHARACTER NGO NGU
+\SE@MapDeclare{iso-8859-11}{A8}{0E08}% THAI CHARACTER CHO CHAN
+\SE@MapDeclare{iso-8859-11}{A9}{0E09}% THAI CHARACTER CHO CHING
+\SE@MapDeclare{iso-8859-11}{AA}{0E0A}% THAI CHARACTER CHO CHANG
+\SE@MapDeclare{iso-8859-11}{AB}{0E0B}% THAI CHARACTER SO SO
+\SE@MapDeclare{iso-8859-11}{AC}{0E0C}% THAI CHARACTER CHO CHOE
+\SE@MapDeclare{iso-8859-11}{AD}{0E0D}% THAI CHARACTER YO YING
+\SE@MapDeclare{iso-8859-11}{AE}{0E0E}% THAI CHARACTER DO CHADA
+\SE@MapDeclare{iso-8859-11}{AF}{0E0F}% THAI CHARACTER TO PATAK
+\SE@MapDeclare{iso-8859-11}{B0}{0E10}% THAI CHARACTER THO THAN
+\SE@MapDeclare{iso-8859-11}{B1}{0E11}% THAI CHARACTER THO NANGMONTHO
+\SE@MapDeclare{iso-8859-11}{B2}{0E12}% THAI CHARACTER THO PHUTHAO
+\SE@MapDeclare{iso-8859-11}{B3}{0E13}% THAI CHARACTER NO NEN
+\SE@MapDeclare{iso-8859-11}{B4}{0E14}% THAI CHARACTER DO DEK
+\SE@MapDeclare{iso-8859-11}{B5}{0E15}% THAI CHARACTER TO TAO
+\SE@MapDeclare{iso-8859-11}{B6}{0E16}% THAI CHARACTER THO THUNG
+\SE@MapDeclare{iso-8859-11}{B7}{0E17}% THAI CHARACTER THO THAHAN
+\SE@MapDeclare{iso-8859-11}{B8}{0E18}% THAI CHARACTER THO THONG
+\SE@MapDeclare{iso-8859-11}{B9}{0E19}% THAI CHARACTER NO NU
+\SE@MapDeclare{iso-8859-11}{BA}{0E1A}% THAI CHARACTER BO BAIMAI
+\SE@MapDeclare{iso-8859-11}{BB}{0E1B}% THAI CHARACTER PO PLA
+\SE@MapDeclare{iso-8859-11}{BC}{0E1C}% THAI CHARACTER PHO PHUNG
+\SE@MapDeclare{iso-8859-11}{BD}{0E1D}% THAI CHARACTER FO FA
+\SE@MapDeclare{iso-8859-11}{BE}{0E1E}% THAI CHARACTER PHO PHAN
+\SE@MapDeclare{iso-8859-11}{BF}{0E1F}% THAI CHARACTER FO FAN
+\SE@MapDeclare{iso-8859-11}{C0}{0E20}% THAI CHARACTER PHO SAMPHAO
+\SE@MapDeclare{iso-8859-11}{C1}{0E21}% THAI CHARACTER MO MA
+\SE@MapDeclare{iso-8859-11}{C2}{0E22}% THAI CHARACTER YO YAK
+\SE@MapDeclare{iso-8859-11}{C3}{0E23}% THAI CHARACTER RO RUA
+\SE@MapDeclare{iso-8859-11}{C4}{0E24}% THAI CHARACTER RU
+\SE@MapDeclare{iso-8859-11}{C5}{0E25}% THAI CHARACTER LO LING
+\SE@MapDeclare{iso-8859-11}{C6}{0E26}% THAI CHARACTER LU
+\SE@MapDeclare{iso-8859-11}{C7}{0E27}% THAI CHARACTER WO WAEN
+\SE@MapDeclare{iso-8859-11}{C8}{0E28}% THAI CHARACTER SO SALA
+\SE@MapDeclare{iso-8859-11}{C9}{0E29}% THAI CHARACTER SO RUSI
+\SE@MapDeclare{iso-8859-11}{CA}{0E2A}% THAI CHARACTER SO SUA
+\SE@MapDeclare{iso-8859-11}{CB}{0E2B}% THAI CHARACTER HO HIP
+\SE@MapDeclare{iso-8859-11}{CC}{0E2C}% THAI CHARACTER LO CHULA
+\SE@MapDeclare{iso-8859-11}{CD}{0E2D}% THAI CHARACTER O ANG
+\SE@MapDeclare{iso-8859-11}{CE}{0E2E}% THAI CHARACTER HO NOKHUK
+\SE@MapDeclare{iso-8859-11}{CF}{0E2F}% THAI CHARACTER PAIYANNOI
+\SE@MapDeclare{iso-8859-11}{D0}{0E30}% THAI CHARACTER SARA A
+\SE@MapDeclare{iso-8859-11}{D1}{0E31}% THAI CHARACTER MAI HAN-AKAT
+\SE@MapDeclare{iso-8859-11}{D2}{0E32}% THAI CHARACTER SARA AA
+\SE@MapDeclare{iso-8859-11}{D3}{0E33}% THAI CHARACTER SARA AM
+\SE@MapDeclare{iso-8859-11}{D4}{0E34}% THAI CHARACTER SARA I
+\SE@MapDeclare{iso-8859-11}{D5}{0E35}% THAI CHARACTER SARA II
+\SE@MapDeclare{iso-8859-11}{D6}{0E36}% THAI CHARACTER SARA UE
+\SE@MapDeclare{iso-8859-11}{D7}{0E37}% THAI CHARACTER SARA UEE
+\SE@MapDeclare{iso-8859-11}{D8}{0E38}% THAI CHARACTER SARA U
+\SE@MapDeclare{iso-8859-11}{D9}{0E39}% THAI CHARACTER SARA UU
+\SE@MapDeclare{iso-8859-11}{DA}{0E3A}% THAI CHARACTER PHINTHU
+\SE@MapDeclare{iso-8859-11}{DF}{0E3F}% THAI CURRENCY SYMBOL BAHT
+\SE@MapDeclare{iso-8859-11}{E0}{0E40}% THAI CHARACTER SARA E
+\SE@MapDeclare{iso-8859-11}{E1}{0E41}% THAI CHARACTER SARA AE
+\SE@MapDeclare{iso-8859-11}{E2}{0E42}% THAI CHARACTER SARA O
+\SE@MapDeclare{iso-8859-11}{E3}{0E43}% THAI CHARACTER SARA AI MAIMUAN
+\SE@MapDeclare{iso-8859-11}{E4}{0E44}% THAI CHARACTER SARA AI MAIMALAI
+\SE@MapDeclare{iso-8859-11}{E5}{0E45}% THAI CHARACTER LAKKHANGYAO
+\SE@MapDeclare{iso-8859-11}{E6}{0E46}% THAI CHARACTER MAIYAMOK
+\SE@MapDeclare{iso-8859-11}{E7}{0E47}% THAI CHARACTER MAITAIKHU
+\SE@MapDeclare{iso-8859-11}{E8}{0E48}% THAI CHARACTER MAI EK
+\SE@MapDeclare{iso-8859-11}{E9}{0E49}% THAI CHARACTER MAI THO
+\SE@MapDeclare{iso-8859-11}{EA}{0E4A}% THAI CHARACTER MAI TRI
+\SE@MapDeclare{iso-8859-11}{EB}{0E4B}% THAI CHARACTER MAI CHATTAWA
+\SE@MapDeclare{iso-8859-11}{EC}{0E4C}% THAI CHARACTER THANTHAKHAT
+\SE@MapDeclare{iso-8859-11}{ED}{0E4D}% THAI CHARACTER NIKHAHIT
+\SE@MapDeclare{iso-8859-11}{EE}{0E4E}% THAI CHARACTER YAMAKKAN
+\SE@MapDeclare{iso-8859-11}{EF}{0E4F}% THAI CHARACTER FONGMAN
+\SE@MapDeclare{iso-8859-11}{F0}{0E50}% THAI DIGIT ZERO
+\SE@MapDeclare{iso-8859-11}{F1}{0E51}% THAI DIGIT ONE
+\SE@MapDeclare{iso-8859-11}{F2}{0E52}% THAI DIGIT TWO
+\SE@MapDeclare{iso-8859-11}{F3}{0E53}% THAI DIGIT THREE
+\SE@MapDeclare{iso-8859-11}{F4}{0E54}% THAI DIGIT FOUR
+\SE@MapDeclare{iso-8859-11}{F5}{0E55}% THAI DIGIT FIVE
+\SE@MapDeclare{iso-8859-11}{F6}{0E56}% THAI DIGIT SIX
+\SE@MapDeclare{iso-8859-11}{F7}{0E57}% THAI DIGIT SEVEN
+\SE@MapDeclare{iso-8859-11}{F8}{0E58}% THAI DIGIT EIGHT
+\SE@MapDeclare{iso-8859-11}{F9}{0E59}% THAI DIGIT NINE
+\SE@MapDeclare{iso-8859-11}{FA}{0E5A}% THAI CHARACTER ANGKHANKHU
+\SE@MapDeclare{iso-8859-11}{FB}{0E5B}% THAI CHARACTER KHOMUT
+%</iso-8859-11>
+% \end{macrocode}
+% \paragraph{iso-8859-13}
+% \begin{macrocode}
+%<*iso-8859-13>
+\SE@MapDeclare{iso-8859-13}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-13}{A1}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-13}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{iso-8859-13}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-13}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{iso-8859-13}{A5}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{iso-8859-13}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{iso-8859-13}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-13}{A8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-13}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-13}{AA}{0156}% LATIN CAPITAL LETTER R WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-13}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{iso-8859-13}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-13}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{iso-8859-13}{AF}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-13}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-13}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-13}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-13}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-13}{B4}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-13}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{iso-8859-13}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-13}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-13}{B8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-13}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{iso-8859-13}{BA}{0157}% LATIN SMALL LETTER R WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-13}{BC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{iso-8859-13}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{iso-8859-13}{BE}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{iso-8859-13}{BF}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-13}{C0}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{C1}{012E}% LATIN CAPITAL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{C2}{0100}% LATIN CAPITAL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-13}{C3}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-13}{C6}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{C7}{0112}% LATIN CAPITAL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-13}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-13}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{CA}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{CB}{0116}% LATIN CAPITAL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-13}{CC}{0122}% LATIN CAPITAL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{CD}{0136}% LATIN CAPITAL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{CE}{012A}% LATIN CAPITAL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-13}{CF}{013B}% LATIN CAPITAL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{D0}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-13}{D1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{D2}{0145}% LATIN CAPITAL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{D4}{014C}% LATIN CAPITAL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-13}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-13}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-13}{D8}{0172}% LATIN CAPITAL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{D9}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-13}{DA}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{DB}{016A}% LATIN CAPITAL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-13}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{DD}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-13}{DE}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-13}{DF}{00DF}% LATIN SMALL LETTER SHARP S (German)
+\SE@MapDeclare{iso-8859-13}{E0}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{E1}{012F}% LATIN SMALL LETTER I WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{E2}{0101}% LATIN SMALL LETTER A WITH MACRON
+\SE@MapDeclare{iso-8859-13}{E3}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-13}{E6}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{E7}{0113}% LATIN SMALL LETTER E WITH MACRON
+\SE@MapDeclare{iso-8859-13}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-13}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{EA}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{EB}{0117}% LATIN SMALL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-13}{EC}{0123}% LATIN SMALL LETTER G WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{ED}{0137}% LATIN SMALL LETTER K WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{EE}{012B}% LATIN SMALL LETTER I WITH MACRON
+\SE@MapDeclare{iso-8859-13}{EF}{013C}% LATIN SMALL LETTER L WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{F0}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-13}{F1}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{F2}{0146}% LATIN SMALL LETTER N WITH CEDILLA
+\SE@MapDeclare{iso-8859-13}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{F4}{014D}% LATIN SMALL LETTER O WITH MACRON
+\SE@MapDeclare{iso-8859-13}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-13}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-13}{F8}{0173}% LATIN SMALL LETTER U WITH OGONEK
+\SE@MapDeclare{iso-8859-13}{F9}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-13}{FA}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-13}{FB}{016B}% LATIN SMALL LETTER U WITH MACRON
+\SE@MapDeclare{iso-8859-13}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-13}{FD}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-13}{FE}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-13}{FF}{2019}% RIGHT SINGLE QUOTATION MARK
+%</iso-8859-13>
+% \end{macrocode}
+% \paragraph{iso-8859-14}
+% \begin{macrocode}
+%<*iso-8859-14>
+\SE@MapDeclare{iso-8859-14}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-14}{A1}{1E02}% LATIN CAPITAL LETTER B WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{A2}{1E03}% LATIN SMALL LETTER B WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-14}{A4}{010A}% LATIN CAPITAL LETTER C WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{A5}{010B}% LATIN SMALL LETTER C WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{A6}{1E0A}% LATIN CAPITAL LETTER D WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-14}{A8}{1E80}% LATIN CAPITAL LETTER W WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-14}{AA}{1E82}% LATIN CAPITAL LETTER W WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{AB}{1E0B}% LATIN SMALL LETTER D WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{AC}{1EF2}% LATIN CAPITAL LETTER Y WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-14}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{iso-8859-14}{AF}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{B0}{1E1E}% LATIN CAPITAL LETTER F WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B1}{1E1F}% LATIN SMALL LETTER F WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B2}{0120}% LATIN CAPITAL LETTER G WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B3}{0121}% LATIN SMALL LETTER G WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B4}{1E40}% LATIN CAPITAL LETTER M WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B5}{1E41}% LATIN SMALL LETTER M WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-14}{B7}{1E56}% LATIN CAPITAL LETTER P WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{B8}{1E81}% LATIN SMALL LETTER W WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{B9}{1E57}% LATIN SMALL LETTER P WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{BA}{1E83}% LATIN SMALL LETTER W WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{BB}{1E60}% LATIN CAPITAL LETTER S WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{BC}{1EF3}% LATIN SMALL LETTER Y WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{BD}{1E84}% LATIN CAPITAL LETTER W WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{BE}{1E85}% LATIN SMALL LETTER W WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{BF}{1E61}% LATIN SMALL LETTER S WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-14}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-14}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-14}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-14}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{D0}{0174}% LATIN CAPITAL LETTER W WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{D1}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-14}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-14}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{D7}{1E6A}% LATIN CAPITAL LETTER T WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-14}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{DD}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{DE}{0176}% LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-14}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-14}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-14}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-14}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-14}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{F0}{0175}% LATIN SMALL LETTER W WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{F1}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-14}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-14}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{F7}{1E6B}% LATIN SMALL LETTER T WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-14}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-14}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-14}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-14}{FD}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-14}{FE}{0177}% LATIN SMALL LETTER Y WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-14}{FF}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</iso-8859-14>
+% \end{macrocode}
+% \paragraph{iso-8859-15}
+% \begin{macrocode}
+%<*iso-8859-15>
+\SE@MapDeclare{iso-8859-15}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-15}{A1}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{iso-8859-15}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{iso-8859-15}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{iso-8859-15}{A4}{20AC}% EURO SIGN
+\SE@MapDeclare{iso-8859-15}{A5}{00A5}% YEN SIGN
+\SE@MapDeclare{iso-8859-15}{A6}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-15}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-15}{A8}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-15}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-15}{AA}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{iso-8859-15}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-15}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{iso-8859-15}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-15}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{iso-8859-15}{AF}{00AF}% MACRON
+\SE@MapDeclare{iso-8859-15}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-15}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-15}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{iso-8859-15}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{iso-8859-15}{B4}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-15}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{iso-8859-15}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-15}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-15}{B8}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-15}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{iso-8859-15}{BA}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{iso-8859-15}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-15}{BC}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{iso-8859-15}{BD}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{iso-8859-15}{BE}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{BF}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{iso-8859-15}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-15}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-15}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-15}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-15}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{D0}{00D0}% LATIN CAPITAL LETTER ETH
+\SE@MapDeclare{iso-8859-15}{D1}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-15}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-15}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{iso-8859-15}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-15}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{DD}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{DE}{00DE}% LATIN CAPITAL LETTER THORN
+\SE@MapDeclare{iso-8859-15}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-15}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{iso-8859-15}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{iso-8859-15}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-15}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-15}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{F0}{00F0}% LATIN SMALL LETTER ETH
+\SE@MapDeclare{iso-8859-15}{F1}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{iso-8859-15}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{iso-8859-15}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{iso-8859-15}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{iso-8859-15}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-15}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-15}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-15}{FD}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{iso-8859-15}{FE}{00FE}% LATIN SMALL LETTER THORN
+\SE@MapDeclare{iso-8859-15}{FF}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</iso-8859-15>
+% \end{macrocode}
+% \paragraph{iso-8859-16}
+% \begin{macrocode}
+%<*iso-8859-16>
+\SE@MapDeclare{iso-8859-16}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{iso-8859-16}{A1}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-16}{A2}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{iso-8859-16}{A3}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-16}{A4}{20AC}% EURO SIGN
+\SE@MapDeclare{iso-8859-16}{A5}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{iso-8859-16}{A6}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-16}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{iso-8859-16}{A8}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{iso-8859-16}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{iso-8859-16}{AA}{0218}% LATIN CAPITAL LETTER S WITH COMMA BELOW
+\SE@MapDeclare{iso-8859-16}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-16}{AC}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{iso-8859-16}{AE}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{AF}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-16}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{iso-8859-16}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{iso-8859-16}{B2}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-16}{B3}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{iso-8859-16}{B4}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-16}{B5}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-16}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{iso-8859-16}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{iso-8859-16}{B8}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{iso-8859-16}{B9}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{iso-8859-16}{BA}{0219}% LATIN SMALL LETTER S WITH COMMA BELOW
+\SE@MapDeclare{iso-8859-16}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{iso-8859-16}{BC}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{iso-8859-16}{BD}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{iso-8859-16}{BE}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{BF}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{iso-8859-16}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{C3}{0102}% LATIN CAPITAL LETTER A WITH BREVE
+\SE@MapDeclare{iso-8859-16}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{C5}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{iso-8859-16}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-16}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{D0}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-16}{D1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{D5}{0150}% LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-16}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{D7}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{D8}{0170}% LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-16}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{DD}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-16}{DE}{021A}% LATIN CAPITAL LETTER T WITH COMMA BELOW
+\SE@MapDeclare{iso-8859-16}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{iso-8859-16}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{E3}{0103}% LATIN SMALL LETTER A WITH BREVE
+\SE@MapDeclare{iso-8859-16}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{E5}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{iso-8859-16}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{iso-8859-16}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{F0}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{iso-8859-16}{F1}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{F5}{0151}% LATIN SMALL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-16}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{F7}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{F8}{0171}% LATIN SMALL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{iso-8859-16}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{iso-8859-16}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{iso-8859-16}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{iso-8859-16}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{iso-8859-16}{FD}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{iso-8859-16}{FE}{021B}% LATIN SMALL LETTER T WITH COMMA BELOW
+\SE@MapDeclare{iso-8859-16}{FF}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</iso-8859-16>
+% \end{macrocode}
+% \paragraph{koi8-r}
+% \begin{macrocode}
+%<*koi8-r>
+\SE@MapDeclare{koi8-r}{80}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{koi8-r}{81}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{koi8-r}{82}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{koi8-r}{83}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{koi8-r}{84}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{koi8-r}{85}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{koi8-r}{86}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{koi8-r}{87}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{koi8-r}{88}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{89}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{8A}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{8B}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{koi8-r}{8C}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{koi8-r}{8D}{2588}% FULL BLOCK
+\SE@MapDeclare{koi8-r}{8E}{258C}% LEFT HALF BLOCK
+\SE@MapDeclare{koi8-r}{8F}{2590}% RIGHT HALF BLOCK
+\SE@MapDeclare{koi8-r}{90}{2591}% LIGHT SHADE
+\SE@MapDeclare{koi8-r}{91}{2592}% MEDIUM SHADE
+\SE@MapDeclare{koi8-r}{92}{2593}% DARK SHADE
+\SE@MapDeclare{koi8-r}{93}{2320}% TOP HALF INTEGRAL
+\SE@MapDeclare{koi8-r}{94}{25A0}% BLACK SQUARE
+\SE@MapDeclare{koi8-r}{95}{2219}% BULLET OPERATOR
+\SE@MapDeclare{koi8-r}{96}{221A}% SQUARE ROOT
+\SE@MapDeclare{koi8-r}{97}{2248}% ALMOST EQUAL TO
+\SE@MapDeclare{koi8-r}{98}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{koi8-r}{99}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{koi8-r}{9A}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{koi8-r}{9B}{2321}% BOTTOM HALF INTEGRAL
+\SE@MapDeclare{koi8-r}{9C}{00B0}% DEGREE SIGN
+\SE@MapDeclare{koi8-r}{9D}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{koi8-r}{9E}{00B7}% MIDDLE DOT
+\SE@MapDeclare{koi8-r}{9F}{00F7}% DIVISION SIGN
+\SE@MapDeclare{koi8-r}{A0}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{koi8-r}{A1}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{koi8-r}{A2}{2552}% BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{koi8-r}{A3}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{koi8-r}{A4}{2553}% BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{koi8-r}{A5}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{koi8-r}{A6}{2555}% BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{koi8-r}{A7}{2556}% BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{koi8-r}{A8}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{koi8-r}{A9}{2558}% BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{koi8-r}{AA}{2559}% BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{koi8-r}{AB}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{koi8-r}{AC}{255B}% BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{koi8-r}{AD}{255C}% BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{koi8-r}{AE}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{koi8-r}{AF}{255E}% BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{koi8-r}{B0}{255F}% BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{koi8-r}{B1}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{koi8-r}{B2}{2561}% BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{koi8-r}{B3}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{koi8-r}{B4}{2562}% BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{koi8-r}{B5}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{koi8-r}{B6}{2564}% BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{koi8-r}{B7}{2565}% BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{koi8-r}{B8}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{B9}{2567}% BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{koi8-r}{BA}{2568}% BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{koi8-r}{BB}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{BC}{256A}% BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{koi8-r}{BD}{256B}% BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{koi8-r}{BE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{koi8-r}{BF}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{koi8-r}{C0}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{koi8-r}{C1}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{koi8-r}{C2}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{koi8-r}{C3}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{koi8-r}{C4}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{koi8-r}{C5}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{koi8-r}{C6}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{koi8-r}{C7}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{koi8-r}{C8}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{koi8-r}{C9}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{koi8-r}{CA}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{koi8-r}{CB}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{koi8-r}{CC}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{koi8-r}{CD}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{koi8-r}{CE}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{koi8-r}{CF}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{koi8-r}{D0}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{koi8-r}{D1}{044F}% CYRILLIC SMALL LETTER YA
+\SE@MapDeclare{koi8-r}{D2}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{koi8-r}{D3}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{koi8-r}{D4}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{koi8-r}{D5}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{koi8-r}{D6}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{koi8-r}{D7}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{koi8-r}{D8}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{koi8-r}{D9}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{koi8-r}{DA}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{koi8-r}{DB}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{koi8-r}{DC}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{koi8-r}{DD}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{koi8-r}{DE}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{koi8-r}{DF}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{koi8-r}{E0}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{koi8-r}{E1}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{koi8-r}{E2}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{koi8-r}{E3}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{koi8-r}{E4}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{koi8-r}{E5}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{koi8-r}{E6}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{koi8-r}{E7}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{koi8-r}{E8}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{koi8-r}{E9}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{koi8-r}{EA}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{koi8-r}{EB}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{koi8-r}{EC}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{koi8-r}{ED}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{koi8-r}{EE}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{koi8-r}{EF}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{koi8-r}{F0}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{koi8-r}{F1}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{koi8-r}{F2}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{koi8-r}{F3}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{koi8-r}{F4}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{koi8-r}{F5}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{koi8-r}{F6}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{koi8-r}{F7}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{koi8-r}{F8}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{koi8-r}{F9}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{koi8-r}{FA}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{koi8-r}{FB}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{koi8-r}{FC}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{koi8-r}{FD}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{koi8-r}{FE}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{koi8-r}{FF}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+%</koi8-r>
+% \end{macrocode}
+% \paragraph{nextstep}
+% \begin{macrocode}
+%<*nextstep>
+\SE@MapDeclare{nextstep}{80}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{nextstep}{81}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{nextstep}{82}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{nextstep}{83}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{84}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{nextstep}{85}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{nextstep}{86}{00C5}% LATIN CAPITAL LETTER A WITH RING
+\SE@MapDeclare{nextstep}{87}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{nextstep}{88}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{nextstep}{89}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{nextstep}{8A}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{8B}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{nextstep}{8C}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{nextstep}{8D}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{nextstep}{8E}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{8F}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{nextstep}{90}{00D0}% LATIN CAPITAL LETTER ETH
+\SE@MapDeclare{nextstep}{91}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{nextstep}{92}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{nextstep}{93}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{nextstep}{94}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{95}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{nextstep}{96}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{nextstep}{97}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{nextstep}{98}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{nextstep}{99}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{nextstep}{9B}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{nextstep}{9C}{00DE}% LATIN CAPITAL LETTER THORN
+\SE@MapDeclare{nextstep}{9D}{00B5}% MICRO SIGN
+\SE@MapDeclare{nextstep}{9E}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{nextstep}{9F}{00F7}% DIVISION SIGN
+\SE@MapDeclare{nextstep}{A0}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{nextstep}{A1}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{nextstep}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{nextstep}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{nextstep}{A4}{2044}% FRACTION SLASH
+\SE@MapDeclare{nextstep}{A5}{00A5}% YEN SIGN
+\SE@MapDeclare{nextstep}{A6}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{nextstep}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{nextstep}{A8}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{nextstep}{A9}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{AA}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{AC}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{AD}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{AE}{FB01}% LATIN SMALL LIGATURE FI
+\SE@MapDeclare{nextstep}{AF}{FB02}% LATIN SMALL LIGATURE FL
+\SE@MapDeclare{nextstep}{B0}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{nextstep}{B1}{2013}% EN DASH
+\SE@MapDeclare{nextstep}{B2}{2020}% DAGGER
+\SE@MapDeclare{nextstep}{B3}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{nextstep}{B4}{00B7}% MIDDLE DOT
+\SE@MapDeclare{nextstep}{B5}{00A6}% BROKEN BAR
+\SE@MapDeclare{nextstep}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{nextstep}{B7}{2022}% BULLET
+\SE@MapDeclare{nextstep}{B8}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{nextstep}{B9}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{nextstep}{BA}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{nextstep}{BC}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{nextstep}{BD}{2030}% PER MILLE SIGN
+\SE@MapDeclare{nextstep}{BE}{00AC}% NOT SIGN
+\SE@MapDeclare{nextstep}{BF}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{nextstep}{C0}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{nextstep}{C1}{02CB}% MODIFIER LETTER GRAVE ACCENT
+\SE@MapDeclare{nextstep}{C2}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{nextstep}{C3}{02C6}% MODIFIER LETTER CIRCUMFLEX ACCENT
+\SE@MapDeclare{nextstep}{C4}{02DC}% SMALL TILDE
+\SE@MapDeclare{nextstep}{C5}{00AF}% MACRON
+\SE@MapDeclare{nextstep}{C6}{02D8}% BREVE
+\SE@MapDeclare{nextstep}{C7}{02D9}% DOT ABOVE
+\SE@MapDeclare{nextstep}{C8}{00A8}% DIAERESIS
+\SE@MapDeclare{nextstep}{C9}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{nextstep}{CA}{02DA}% RING ABOVE
+\SE@MapDeclare{nextstep}{CB}{00B8}% CEDILLA
+\SE@MapDeclare{nextstep}{CC}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{nextstep}{CD}{02DD}% DOUBLE ACUTE ACCENT
+\SE@MapDeclare{nextstep}{CE}{02DB}% OGONEK
+\SE@MapDeclare{nextstep}{CF}{02C7}% CARON
+\SE@MapDeclare{nextstep}{D0}{2014}% EM DASH
+\SE@MapDeclare{nextstep}{D1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{nextstep}{D2}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{nextstep}{D3}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{nextstep}{D4}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{nextstep}{D5}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{nextstep}{D6}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{nextstep}{D7}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{D8}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{nextstep}{D9}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{nextstep}{DA}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{nextstep}{DB}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{nextstep}{DC}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{nextstep}{DD}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{nextstep}{DE}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{DF}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{nextstep}{E0}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{nextstep}{E1}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{nextstep}{E2}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{nextstep}{E3}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{nextstep}{E4}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{E5}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{nextstep}{E6}{00F0}% LATIN SMALL LETTER ETH
+\SE@MapDeclare{nextstep}{E7}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{nextstep}{E8}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{nextstep}{E9}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{nextstep}{EA}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{nextstep}{EB}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{nextstep}{EC}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{nextstep}{ED}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{nextstep}{EE}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{EF}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{nextstep}{F0}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{nextstep}{F1}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{nextstep}{F2}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{nextstep}{F3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{nextstep}{F4}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{nextstep}{F5}{0131}% LATIN SMALL LETTER DOTLESS I
+\SE@MapDeclare{nextstep}{F6}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{nextstep}{F7}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{nextstep}{F8}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{nextstep}{F9}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{nextstep}{FA}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{nextstep}{FB}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{nextstep}{FC}{00FE}% LATIN SMALL LETTER THORN
+\SE@MapDeclare{nextstep}{FD}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</nextstep>
+% \end{macrocode}
+% \paragraph{mac-centeuro}
+% \begin{macrocode}
+%<*mac-centeuro>
+\SE@MapDeclare{mac-centeuro}{80}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{81}{0100}% LATIN CAPITAL LETTER A WITH MACRON
+\SE@MapDeclare{mac-centeuro}{82}{0101}% LATIN SMALL LETTER A WITH MACRON
+\SE@MapDeclare{mac-centeuro}{83}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{84}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{85}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{86}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{87}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{88}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{89}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{mac-centeuro}{8A}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{8B}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{mac-centeuro}{8C}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{8D}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{8E}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{8F}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{90}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{91}{010E}% LATIN CAPITAL LETTER D WITH CARON
+\SE@MapDeclare{mac-centeuro}{92}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{93}{010F}% LATIN SMALL LETTER D WITH CARON
+\SE@MapDeclare{mac-centeuro}{94}{0112}% LATIN CAPITAL LETTER E WITH MACRON
+\SE@MapDeclare{mac-centeuro}{95}{0113}% LATIN SMALL LETTER E WITH MACRON
+\SE@MapDeclare{mac-centeuro}{96}{0116}% LATIN CAPITAL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{mac-centeuro}{97}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{98}{0117}% LATIN SMALL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{mac-centeuro}{99}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{mac-centeuro}{9A}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{9B}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{mac-centeuro}{9C}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{9D}{011A}% LATIN CAPITAL LETTER E WITH CARON
+\SE@MapDeclare{mac-centeuro}{9E}{011B}% LATIN SMALL LETTER E WITH CARON
+\SE@MapDeclare{mac-centeuro}{9F}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{mac-centeuro}{A0}{2020}% DAGGER
+\SE@MapDeclare{mac-centeuro}{A1}{00B0}% DEGREE SIGN
+\SE@MapDeclare{mac-centeuro}{A2}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{mac-centeuro}{A4}{00A7}% SECTION SIGN
+\SE@MapDeclare{mac-centeuro}{A5}{2022}% BULLET
+\SE@MapDeclare{mac-centeuro}{A6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{mac-centeuro}{A7}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{mac-centeuro}{A8}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{mac-centeuro}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{mac-centeuro}{AA}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{mac-centeuro}{AB}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{AC}{00A8}% DIAERESIS
+\SE@MapDeclare{mac-centeuro}{AD}{2260}% NOT EQUAL TO
+\SE@MapDeclare{mac-centeuro}{AE}{0123}% LATIN SMALL LETTER G WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{AF}{012E}% LATIN CAPITAL LETTER I WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{B0}{012F}% LATIN SMALL LETTER I WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{B1}{012A}% LATIN CAPITAL LETTER I WITH MACRON
+\SE@MapDeclare{mac-centeuro}{B2}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{mac-centeuro}{B3}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{mac-centeuro}{B4}{012B}% LATIN SMALL LETTER I WITH MACRON
+\SE@MapDeclare{mac-centeuro}{B5}{0136}% LATIN CAPITAL LETTER K WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{B6}{2202}% PARTIAL DIFFERENTIAL
+\SE@MapDeclare{mac-centeuro}{B7}{2211}% N-ARY SUMMATION
+\SE@MapDeclare{mac-centeuro}{B8}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{mac-centeuro}{B9}{013B}% LATIN CAPITAL LETTER L WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{BA}{013C}% LATIN SMALL LETTER L WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{BB}{013D}% LATIN CAPITAL LETTER L WITH CARON
+\SE@MapDeclare{mac-centeuro}{BC}{013E}% LATIN SMALL LETTER L WITH CARON
+\SE@MapDeclare{mac-centeuro}{BD}{0139}% LATIN CAPITAL LETTER L WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{BE}{013A}% LATIN SMALL LETTER L WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{BF}{0145}% LATIN CAPITAL LETTER N WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{C0}{0146}% LATIN SMALL LETTER N WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{C1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{C2}{00AC}% NOT SIGN
+\SE@MapDeclare{mac-centeuro}{C3}{221A}% SQUARE ROOT
+\SE@MapDeclare{mac-centeuro}{C4}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{C5}{0147}% LATIN CAPITAL LETTER N WITH CARON
+\SE@MapDeclare{mac-centeuro}{C6}{2206}% INCREMENT
+\SE@MapDeclare{mac-centeuro}{C7}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{C8}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{C9}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{mac-centeuro}{CA}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{mac-centeuro}{CB}{0148}% LATIN SMALL LETTER N WITH CARON
+\SE@MapDeclare{mac-centeuro}{CC}{0150}% LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{mac-centeuro}{CD}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{mac-centeuro}{CE}{0151}% LATIN SMALL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{mac-centeuro}{CF}{014C}% LATIN CAPITAL LETTER O WITH MACRON
+\SE@MapDeclare{mac-centeuro}{D0}{2013}% EN DASH
+\SE@MapDeclare{mac-centeuro}{D1}{2014}% EM DASH
+\SE@MapDeclare{mac-centeuro}{D2}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{D3}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{D4}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{D5}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{D6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{mac-centeuro}{D7}{25CA}% LOZENGE
+\SE@MapDeclare{mac-centeuro}{D8}{014D}% LATIN SMALL LETTER O WITH MACRON
+\SE@MapDeclare{mac-centeuro}{D9}{0154}% LATIN CAPITAL LETTER R WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{DA}{0155}% LATIN SMALL LETTER R WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{DB}{0158}% LATIN CAPITAL LETTER R WITH CARON
+\SE@MapDeclare{mac-centeuro}{DC}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{DD}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{DE}{0159}% LATIN SMALL LETTER R WITH CARON
+\SE@MapDeclare{mac-centeuro}{DF}{0156}% LATIN CAPITAL LETTER R WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{E0}{0157}% LATIN SMALL LETTER R WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{E1}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{mac-centeuro}{E2}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{E3}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{mac-centeuro}{E4}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{mac-centeuro}{E5}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{E6}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{E7}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{E8}{0164}% LATIN CAPITAL LETTER T WITH CARON
+\SE@MapDeclare{mac-centeuro}{E9}{0165}% LATIN SMALL LETTER T WITH CARON
+\SE@MapDeclare{mac-centeuro}{EA}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{EB}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{mac-centeuro}{EC}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{mac-centeuro}{ED}{016A}% LATIN CAPITAL LETTER U WITH MACRON
+\SE@MapDeclare{mac-centeuro}{EE}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{EF}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{mac-centeuro}{F0}{016B}% LATIN SMALL LETTER U WITH MACRON
+\SE@MapDeclare{mac-centeuro}{F1}{016E}% LATIN CAPITAL LETTER U WITH RING ABOVE
+\SE@MapDeclare{mac-centeuro}{F2}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{F3}{016F}% LATIN SMALL LETTER U WITH RING ABOVE
+\SE@MapDeclare{mac-centeuro}{F4}{0170}% LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{mac-centeuro}{F5}{0171}% LATIN SMALL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{mac-centeuro}{F6}{0172}% LATIN CAPITAL LETTER U WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{F7}{0173}% LATIN SMALL LETTER U WITH OGONEK
+\SE@MapDeclare{mac-centeuro}{F8}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{F9}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{mac-centeuro}{FA}{0137}% LATIN SMALL LETTER K WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{FB}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{mac-centeuro}{FC}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{mac-centeuro}{FD}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{mac-centeuro}{FE}{0122}% LATIN CAPITAL LETTER G WITH CEDILLA
+\SE@MapDeclare{mac-centeuro}{FF}{02C7}% CARON
+%</mac-centeuro>
+% \end{macrocode}
+% \paragraph{mac-cyrillic}
+% \begin{macrocode}
+%<*mac-cyrillic>
+\SE@MapDeclare{mac-cyrillic}{80}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{mac-cyrillic}{81}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{mac-cyrillic}{82}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{mac-cyrillic}{83}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{mac-cyrillic}{84}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{mac-cyrillic}{85}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{mac-cyrillic}{86}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{mac-cyrillic}{87}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{mac-cyrillic}{88}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{mac-cyrillic}{89}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{mac-cyrillic}{8A}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{mac-cyrillic}{8B}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{mac-cyrillic}{8C}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{mac-cyrillic}{8D}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{mac-cyrillic}{8E}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{mac-cyrillic}{8F}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{mac-cyrillic}{90}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{mac-cyrillic}{91}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{mac-cyrillic}{92}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{mac-cyrillic}{93}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{mac-cyrillic}{94}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{mac-cyrillic}{95}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{mac-cyrillic}{96}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{mac-cyrillic}{97}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{mac-cyrillic}{98}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{mac-cyrillic}{99}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{mac-cyrillic}{9A}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+\SE@MapDeclare{mac-cyrillic}{9B}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{mac-cyrillic}{9C}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{mac-cyrillic}{9D}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{mac-cyrillic}{9E}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{mac-cyrillic}{9F}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{mac-cyrillic}{A0}{2020}% DAGGER
+\SE@MapDeclare{mac-cyrillic}{A1}{00B0}% DEGREE SIGN
+\SE@MapDeclare{mac-cyrillic}{A2}{0490}% CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+\SE@MapDeclare{mac-cyrillic}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{mac-cyrillic}{A4}{00A7}% SECTION SIGN
+\SE@MapDeclare{mac-cyrillic}{A5}{2022}% BULLET
+\SE@MapDeclare{mac-cyrillic}{A6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{mac-cyrillic}{A7}{0406}% CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{mac-cyrillic}{A8}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{mac-cyrillic}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{mac-cyrillic}{AA}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{mac-cyrillic}{AB}{0402}% CYRILLIC CAPITAL LETTER DJE
+\SE@MapDeclare{mac-cyrillic}{AC}{0452}% CYRILLIC SMALL LETTER DJE
+\SE@MapDeclare{mac-cyrillic}{AD}{2260}% NOT EQUAL TO
+\SE@MapDeclare{mac-cyrillic}{AE}{0403}% CYRILLIC CAPITAL LETTER GJE
+\SE@MapDeclare{mac-cyrillic}{AF}{0453}% CYRILLIC SMALL LETTER GJE
+\SE@MapDeclare{mac-cyrillic}{B0}{221E}% INFINITY
+\SE@MapDeclare{mac-cyrillic}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{mac-cyrillic}{B2}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{mac-cyrillic}{B3}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{mac-cyrillic}{B4}{0456}% CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{mac-cyrillic}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{mac-cyrillic}{B6}{0491}% CYRILLIC SMALL LETTER GHE WITH UPTURN
+\SE@MapDeclare{mac-cyrillic}{B7}{0408}% CYRILLIC CAPITAL LETTER JE
+\SE@MapDeclare{mac-cyrillic}{B8}{0404}% CYRILLIC CAPITAL LETTER UKRAINIAN IE
+\SE@MapDeclare{mac-cyrillic}{B9}{0454}% CYRILLIC SMALL LETTER UKRAINIAN IE
+\SE@MapDeclare{mac-cyrillic}{BA}{0407}% CYRILLIC CAPITAL LETTER YI
+\SE@MapDeclare{mac-cyrillic}{BB}{0457}% CYRILLIC SMALL LETTER YI
+\SE@MapDeclare{mac-cyrillic}{BC}{0409}% CYRILLIC CAPITAL LETTER LJE
+\SE@MapDeclare{mac-cyrillic}{BD}{0459}% CYRILLIC SMALL LETTER LJE
+\SE@MapDeclare{mac-cyrillic}{BE}{040A}% CYRILLIC CAPITAL LETTER NJE
+\SE@MapDeclare{mac-cyrillic}{BF}{045A}% CYRILLIC SMALL LETTER NJE
+\SE@MapDeclare{mac-cyrillic}{C0}{0458}% CYRILLIC SMALL LETTER JE
+\SE@MapDeclare{mac-cyrillic}{C1}{0405}% CYRILLIC CAPITAL LETTER DZE
+\SE@MapDeclare{mac-cyrillic}{C2}{00AC}% NOT SIGN
+\SE@MapDeclare{mac-cyrillic}{C3}{221A}% SQUARE ROOT
+\SE@MapDeclare{mac-cyrillic}{C4}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{mac-cyrillic}{C5}{2248}% ALMOST EQUAL TO
+\SE@MapDeclare{mac-cyrillic}{C6}{2206}% INCREMENT
+\SE@MapDeclare{mac-cyrillic}{C7}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{C8}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{C9}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{mac-cyrillic}{CA}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{mac-cyrillic}{CB}{040B}% CYRILLIC CAPITAL LETTER TSHE
+\SE@MapDeclare{mac-cyrillic}{CC}{045B}% CYRILLIC SMALL LETTER TSHE
+\SE@MapDeclare{mac-cyrillic}{CD}{040C}% CYRILLIC CAPITAL LETTER KJE
+\SE@MapDeclare{mac-cyrillic}{CE}{045C}% CYRILLIC SMALL LETTER KJE
+\SE@MapDeclare{mac-cyrillic}{CF}{0455}% CYRILLIC SMALL LETTER DZE
+\SE@MapDeclare{mac-cyrillic}{D0}{2013}% EN DASH
+\SE@MapDeclare{mac-cyrillic}{D1}{2014}% EM DASH
+\SE@MapDeclare{mac-cyrillic}{D2}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{D3}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{D4}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{D5}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{D6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{mac-cyrillic}{D7}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{mac-cyrillic}{D8}{040E}% CYRILLIC CAPITAL LETTER SHORT U
+\SE@MapDeclare{mac-cyrillic}{D9}{045E}% CYRILLIC SMALL LETTER SHORT U
+\SE@MapDeclare{mac-cyrillic}{DA}{040F}% CYRILLIC CAPITAL LETTER DZHE
+\SE@MapDeclare{mac-cyrillic}{DB}{045F}% CYRILLIC SMALL LETTER DZHE
+\SE@MapDeclare{mac-cyrillic}{DC}{2116}% NUMERO SIGN
+\SE@MapDeclare{mac-cyrillic}{DD}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{mac-cyrillic}{DE}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{mac-cyrillic}{DF}{044F}% CYRILLIC SMALL LETTER YA
+\SE@MapDeclare{mac-cyrillic}{E0}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{mac-cyrillic}{E1}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{mac-cyrillic}{E2}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{mac-cyrillic}{E3}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{mac-cyrillic}{E4}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{mac-cyrillic}{E5}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{mac-cyrillic}{E6}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{mac-cyrillic}{E7}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{mac-cyrillic}{E8}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{mac-cyrillic}{E9}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{mac-cyrillic}{EA}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{mac-cyrillic}{EB}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{mac-cyrillic}{EC}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{mac-cyrillic}{ED}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{mac-cyrillic}{EE}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{mac-cyrillic}{EF}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{mac-cyrillic}{F0}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{mac-cyrillic}{F1}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{mac-cyrillic}{F2}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{mac-cyrillic}{F3}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{mac-cyrillic}{F4}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{mac-cyrillic}{F5}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{mac-cyrillic}{F6}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{mac-cyrillic}{F7}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{mac-cyrillic}{F8}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{mac-cyrillic}{F9}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{mac-cyrillic}{FA}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{mac-cyrillic}{FB}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{mac-cyrillic}{FC}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{mac-cyrillic}{FD}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{mac-cyrillic}{FE}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{mac-cyrillic}{FF}{20AC}% EURO SIGN
+%</mac-cyrillic>
+% \end{macrocode}
+% \paragraph{mac-roman}
+% \begin{macrocode}
+%<*mac-roman>
+\SE@MapDeclare{mac-roman}{80}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{81}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{mac-roman}{82}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{mac-roman}{83}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{mac-roman}{84}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{mac-roman}{85}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{86}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{87}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{mac-roman}{88}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{mac-roman}{89}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{8A}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{8B}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{mac-roman}{8C}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{mac-roman}{8D}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{mac-roman}{8E}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{mac-roman}{8F}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{mac-roman}{90}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{91}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{92}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{mac-roman}{93}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{mac-roman}{94}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{95}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{96}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{mac-roman}{97}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{mac-roman}{98}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{mac-roman}{99}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{9A}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{9B}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{mac-roman}{9C}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{mac-roman}{9D}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{mac-roman}{9E}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{9F}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{A0}{2020}% DAGGER
+\SE@MapDeclare{mac-roman}{A1}{00B0}% DEGREE SIGN
+\SE@MapDeclare{mac-roman}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{mac-roman}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{mac-roman}{A4}{00A7}% SECTION SIGN
+\SE@MapDeclare{mac-roman}{A5}{2022}% BULLET
+\SE@MapDeclare{mac-roman}{A6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{mac-roman}{A7}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{mac-roman}{A8}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{mac-roman}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{mac-roman}{AA}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{mac-roman}{AB}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{mac-roman}{AC}{00A8}% DIAERESIS
+\SE@MapDeclare{mac-roman}{AD}{2260}% NOT EQUAL TO
+\SE@MapDeclare{mac-roman}{AE}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{mac-roman}{AF}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{mac-roman}{B0}{221E}% INFINITY
+\SE@MapDeclare{mac-roman}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{mac-roman}{B2}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{mac-roman}{B3}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{mac-roman}{B4}{00A5}% YEN SIGN
+\SE@MapDeclare{mac-roman}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{mac-roman}{B6}{2202}% PARTIAL DIFFERENTIAL
+\SE@MapDeclare{mac-roman}{B7}{2211}% N-ARY SUMMATION
+\SE@MapDeclare{mac-roman}{B8}{220F}% N-ARY PRODUCT
+\SE@MapDeclare{mac-roman}{B9}{03C0}% GREEK SMALL LETTER PI
+\SE@MapDeclare{mac-roman}{BA}{222B}% INTEGRAL
+\SE@MapDeclare{mac-roman}{BB}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{mac-roman}{BC}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{mac-roman}{BD}{03A9}% GREEK CAPITAL LETTER OMEGA
+\SE@MapDeclare{mac-roman}{BE}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{mac-roman}{BF}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{mac-roman}{C0}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{mac-roman}{C1}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{mac-roman}{C2}{00AC}% NOT SIGN
+\SE@MapDeclare{mac-roman}{C3}{221A}% SQUARE ROOT
+\SE@MapDeclare{mac-roman}{C4}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{mac-roman}{C5}{2248}% ALMOST EQUAL TO
+\SE@MapDeclare{mac-roman}{C6}{2206}% INCREMENT
+\SE@MapDeclare{mac-roman}{C7}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{C8}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{C9}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{mac-roman}{CA}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{mac-roman}{CB}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{mac-roman}{CC}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{mac-roman}{CD}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{mac-roman}{CE}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{mac-roman}{CF}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{mac-roman}{D0}{2013}% EN DASH
+\SE@MapDeclare{mac-roman}{D1}{2014}% EM DASH
+\SE@MapDeclare{mac-roman}{D2}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{D3}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{D4}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{D5}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{D6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{mac-roman}{D7}{25CA}% LOZENGE
+\SE@MapDeclare{mac-roman}{D8}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{D9}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{DA}{2044}% FRACTION SLASH
+\SE@MapDeclare{mac-roman}{DB}{20AC}% EURO SIGN
+\SE@MapDeclare{mac-roman}{DC}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{DD}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{mac-roman}{DE}{FB01}% LATIN SMALL LIGATURE FI
+\SE@MapDeclare{mac-roman}{DF}{FB02}% LATIN SMALL LIGATURE FL
+\SE@MapDeclare{mac-roman}{E0}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{mac-roman}{E1}{00B7}% MIDDLE DOT
+\SE@MapDeclare{mac-roman}{E2}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{mac-roman}{E3}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{mac-roman}{E4}{2030}% PER MILLE SIGN
+\SE@MapDeclare{mac-roman}{E5}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{E6}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{E7}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{mac-roman}{E8}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{E9}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{mac-roman}{EA}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{mac-roman}{EB}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{EC}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{mac-roman}{ED}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{mac-roman}{EE}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{mac-roman}{EF}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{F0}{F8FF}% Apple logo
+\SE@MapDeclare{mac-roman}{F1}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{mac-roman}{F2}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{mac-roman}{F3}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{mac-roman}{F4}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{mac-roman}{F5}{0131}% LATIN SMALL LETTER DOTLESS I
+\SE@MapDeclare{mac-roman}{F6}{02C6}% MODIFIER LETTER CIRCUMFLEX ACCENT
+\SE@MapDeclare{mac-roman}{F7}{02DC}% SMALL TILDE
+\SE@MapDeclare{mac-roman}{F8}{00AF}% MACRON
+\SE@MapDeclare{mac-roman}{F9}{02D8}% BREVE
+\SE@MapDeclare{mac-roman}{FA}{02D9}% DOT ABOVE
+\SE@MapDeclare{mac-roman}{FB}{02DA}% RING ABOVE
+\SE@MapDeclare{mac-roman}{FC}{00B8}% CEDILLA
+\SE@MapDeclare{mac-roman}{FD}{02DD}% DOUBLE ACUTE ACCENT
+\SE@MapDeclare{mac-roman}{FE}{02DB}% OGONEK
+\SE@MapDeclare{mac-roman}{FF}{02C7}% CARON
+%</mac-roman>
+% \end{macrocode}
+% \paragraph{dec-mcs}
+% \begin{macrocode}
+%<*dec-mcs>
+\SE@MapDeclare{dec-mcs}{A1}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{dec-mcs}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{dec-mcs}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{dec-mcs}{A5}{00A5}% YEN SIGN
+\SE@MapDeclare{dec-mcs}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{dec-mcs}{A8}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{dec-mcs}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{dec-mcs}{AA}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{dec-mcs}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{dec-mcs}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{dec-mcs}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{dec-mcs}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{dec-mcs}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{dec-mcs}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{dec-mcs}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{dec-mcs}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{dec-mcs}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{dec-mcs}{BA}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{dec-mcs}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{dec-mcs}{BC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{dec-mcs}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{dec-mcs}{BF}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{dec-mcs}{C0}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{dec-mcs}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{dec-mcs}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{C3}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{dec-mcs}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{dec-mcs}{C6}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{dec-mcs}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{dec-mcs}{C8}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{dec-mcs}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{dec-mcs}{CA}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{CC}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{dec-mcs}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{dec-mcs}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{CF}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{D1}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{dec-mcs}{D2}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{dec-mcs}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{dec-mcs}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{dec-mcs}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{D7}{0152}% LATIN CAPITAL LIGATURE OE
+\SE@MapDeclare{dec-mcs}{D8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{dec-mcs}{D9}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{dec-mcs}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{dec-mcs}{DB}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{DD}{0178}% LATIN CAPITAL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{dec-mcs}{E0}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{dec-mcs}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{dec-mcs}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{E3}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{dec-mcs}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{dec-mcs}{E6}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{dec-mcs}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{dec-mcs}{E8}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{dec-mcs}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{dec-mcs}{EA}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{EC}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{dec-mcs}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{dec-mcs}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{EF}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{F1}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{dec-mcs}{F2}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{dec-mcs}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{dec-mcs}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{dec-mcs}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{F7}{0153}% LATIN SMALL LIGATURE OE
+\SE@MapDeclare{dec-mcs}{F8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{dec-mcs}{F9}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{dec-mcs}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{dec-mcs}{FB}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{dec-mcs}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{dec-mcs}{FD}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+%</dec-mcs>
+% \end{macrocode}
+% \paragraph{cp437}
+% \begin{macrocode}
+%<*cp437>
+\SE@MapDeclare{cp437}{80}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp437}{81}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp437}{82}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp437}{83}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp437}{84}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp437}{85}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{cp437}{86}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp437}{87}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp437}{88}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp437}{89}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp437}{8A}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{cp437}{8B}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp437}{8C}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp437}{8D}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{cp437}{8E}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp437}{8F}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp437}{90}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp437}{91}{00E6}% LATIN SMALL LIGATURE AE
+\SE@MapDeclare{cp437}{92}{00C6}% LATIN CAPITAL LIGATURE AE
+\SE@MapDeclare{cp437}{93}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp437}{94}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp437}{95}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{cp437}{96}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp437}{97}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{cp437}{98}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{cp437}{99}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp437}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp437}{9B}{00A2}% CENT SIGN
+\SE@MapDeclare{cp437}{9C}{00A3}% POUND SIGN
+\SE@MapDeclare{cp437}{9D}{00A5}% YEN SIGN
+\SE@MapDeclare{cp437}{9E}{20A7}% PESETA SIGN
+\SE@MapDeclare{cp437}{9F}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{cp437}{A0}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp437}{A1}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp437}{A2}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp437}{A3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp437}{A4}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{cp437}{A5}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{cp437}{A6}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{cp437}{A7}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{cp437}{A8}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{cp437}{A9}{2310}% REVERSED NOT SIGN
+\SE@MapDeclare{cp437}{AA}{00AC}% NOT SIGN
+\SE@MapDeclare{cp437}{AB}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{cp437}{AC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{cp437}{AD}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{cp437}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp437}{AF}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp437}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp437}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp437}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp437}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp437}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp437}{B5}{2561}% BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp437}{B6}{2562}% BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp437}{B7}{2556}% BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp437}{B8}{2555}% BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp437}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp437}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp437}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp437}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp437}{BD}{255C}% BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp437}{BE}{255B}% BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp437}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp437}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp437}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp437}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp437}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp437}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp437}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp437}{C6}{255E}% BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp437}{C7}{255F}% BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp437}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp437}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp437}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp437}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp437}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp437}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp437}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp437}{CF}{2567}% BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp437}{D0}{2568}% BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp437}{D1}{2564}% BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp437}{D2}{2565}% BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp437}{D3}{2559}% BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp437}{D4}{2558}% BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp437}{D5}{2552}% BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp437}{D6}{2553}% BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp437}{D7}{256B}% BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp437}{D8}{256A}% BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp437}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp437}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp437}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp437}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp437}{DD}{258C}% LEFT HALF BLOCK
+\SE@MapDeclare{cp437}{DE}{2590}% RIGHT HALF BLOCK
+\SE@MapDeclare{cp437}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp437}{E0}{03B1}% GREEK SMALL LETTER ALPHA
+\SE@MapDeclare{cp437}{E1}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp437}{E2}{0393}% GREEK CAPITAL LETTER GAMMA
+\SE@MapDeclare{cp437}{E3}{03C0}% GREEK SMALL LETTER PI
+\SE@MapDeclare{cp437}{E4}{03A3}% GREEK CAPITAL LETTER SIGMA
+\SE@MapDeclare{cp437}{E5}{03C3}% GREEK SMALL LETTER SIGMA
+\SE@MapDeclare{cp437}{E6}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp437}{E7}{03C4}% GREEK SMALL LETTER TAU
+\SE@MapDeclare{cp437}{E8}{03A6}% GREEK CAPITAL LETTER PHI
+\SE@MapDeclare{cp437}{E9}{0398}% GREEK CAPITAL LETTER THETA
+\SE@MapDeclare{cp437}{EA}{03A9}% GREEK CAPITAL LETTER OMEGA
+\SE@MapDeclare{cp437}{EB}{03B4}% GREEK SMALL LETTER DELTA
+\SE@MapDeclare{cp437}{EC}{221E}% INFINITY
+\SE@MapDeclare{cp437}{ED}{03C6}% GREEK SMALL LETTER PHI
+\SE@MapDeclare{cp437}{EE}{03B5}% GREEK SMALL LETTER EPSILON
+\SE@MapDeclare{cp437}{EF}{2229}% INTERSECTION
+\SE@MapDeclare{cp437}{F0}{2261}% IDENTICAL TO
+\SE@MapDeclare{cp437}{F1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp437}{F2}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{cp437}{F3}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{cp437}{F4}{2320}% TOP HALF INTEGRAL
+\SE@MapDeclare{cp437}{F5}{2321}% BOTTOM HALF INTEGRAL
+\SE@MapDeclare{cp437}{F6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp437}{F7}{2248}% ALMOST EQUAL TO
+\SE@MapDeclare{cp437}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp437}{F9}{2219}% BULLET OPERATOR
+\SE@MapDeclare{cp437}{FA}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp437}{FB}{221A}% SQUARE ROOT
+\SE@MapDeclare{cp437}{FC}{207F}% SUPERSCRIPT LATIN SMALL LETTER N
+\SE@MapDeclare{cp437}{FD}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{cp437}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp437}{FF}{00A0}% NO-BREAK SPACE
+%</cp437>
+% \end{macrocode}
+% \paragraph{cp850}
+% \begin{macrocode}
+%<*cp850>
+\SE@MapDeclare{cp850}{80}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp850}{81}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp850}{82}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp850}{83}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{84}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp850}{85}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{cp850}{86}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp850}{87}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp850}{88}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{89}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp850}{8A}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{cp850}{8B}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp850}{8C}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{8D}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{cp850}{8E}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp850}{8F}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp850}{90}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp850}{91}{00E6}% LATIN SMALL LIGATURE AE
+\SE@MapDeclare{cp850}{92}{00C6}% LATIN CAPITAL LIGATURE AE
+\SE@MapDeclare{cp850}{93}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{94}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp850}{95}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{cp850}{96}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{97}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{cp850}{98}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{cp850}{99}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp850}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp850}{9B}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{cp850}{9C}{00A3}% POUND SIGN
+\SE@MapDeclare{cp850}{9D}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{cp850}{9E}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{cp850}{9F}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{cp850}{A0}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp850}{A1}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp850}{A2}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp850}{A3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp850}{A4}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{cp850}{A5}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{cp850}{A6}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{cp850}{A7}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{cp850}{A8}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{cp850}{A9}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{cp850}{AA}{00AC}% NOT SIGN
+\SE@MapDeclare{cp850}{AB}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{cp850}{AC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{cp850}{AD}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{cp850}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp850}{AF}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp850}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp850}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp850}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp850}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp850}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp850}{B5}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{cp850}{B6}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{B7}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{cp850}{B8}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{cp850}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp850}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp850}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp850}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp850}{BD}{00A2}% CENT SIGN
+\SE@MapDeclare{cp850}{BE}{00A5}% YEN SIGN
+\SE@MapDeclare{cp850}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp850}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp850}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp850}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp850}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp850}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp850}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp850}{C6}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{cp850}{C7}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{cp850}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp850}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp850}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp850}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp850}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp850}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp850}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp850}{CF}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp850}{D0}{00F0}% LATIN SMALL LETTER ETH
+\SE@MapDeclare{cp850}{D1}{00D0}% LATIN CAPITAL LETTER ETH
+\SE@MapDeclare{cp850}{D2}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{D3}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp850}{D4}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{cp850}{D5}{0131}% LATIN SMALL LETTER DOTLESS I
+\SE@MapDeclare{cp850}{D6}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{cp850}{D7}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{D8}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp850}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp850}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp850}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp850}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp850}{DD}{00A6}% BROKEN BAR
+\SE@MapDeclare{cp850}{DE}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{cp850}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp850}{E0}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{cp850}{E1}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp850}{E2}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{E3}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{cp850}{E4}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{cp850}{E5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{cp850}{E6}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp850}{E7}{00FE}% LATIN SMALL LETTER THORN
+\SE@MapDeclare{cp850}{E8}{00DE}% LATIN CAPITAL LETTER THORN
+\SE@MapDeclare{cp850}{E9}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{cp850}{EA}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp850}{EB}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{cp850}{EC}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp850}{ED}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp850}{EE}{00AF}% MACRON
+\SE@MapDeclare{cp850}{EF}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{cp850}{F0}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp850}{F1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp850}{F2}{2017}% DOUBLE LOW LINE
+\SE@MapDeclare{cp850}{F3}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{cp850}{F4}{00B6}% PILCROW SIGN
+\SE@MapDeclare{cp850}{F5}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp850}{F6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp850}{F7}{00B8}% CEDILLA
+\SE@MapDeclare{cp850}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp850}{F9}{00A8}% DIAERESIS
+\SE@MapDeclare{cp850}{FA}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp850}{FB}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{cp850}{FC}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{cp850}{FD}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{cp850}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp850}{FF}{00A0}% NO-BREAK SPACE
+%</cp850>
+% \end{macrocode}
+% \paragraph{cp852}
+% \begin{macrocode}
+%<*cp852>
+\SE@MapDeclare{cp852}{80}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp852}{81}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp852}{82}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp852}{83}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{84}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp852}{85}{016F}% LATIN SMALL LETTER U WITH RING ABOVE
+\SE@MapDeclare{cp852}{86}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{cp852}{87}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp852}{88}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{cp852}{89}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp852}{8A}{0150}% LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{cp852}{8B}{0151}% LATIN SMALL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{cp852}{8C}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{8D}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp852}{8E}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp852}{8F}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{cp852}{90}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp852}{91}{0139}% LATIN CAPITAL LETTER L WITH ACUTE
+\SE@MapDeclare{cp852}{92}{013A}% LATIN SMALL LETTER L WITH ACUTE
+\SE@MapDeclare{cp852}{93}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{94}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp852}{95}{013D}% LATIN CAPITAL LETTER L WITH CARON
+\SE@MapDeclare{cp852}{96}{013E}% LATIN SMALL LETTER L WITH CARON
+\SE@MapDeclare{cp852}{97}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{cp852}{98}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{cp852}{99}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp852}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp852}{9B}{0164}% LATIN CAPITAL LETTER T WITH CARON
+\SE@MapDeclare{cp852}{9C}{0165}% LATIN SMALL LETTER T WITH CARON
+\SE@MapDeclare{cp852}{9D}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{cp852}{9E}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{cp852}{9F}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{cp852}{A0}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp852}{A1}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp852}{A2}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp852}{A3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp852}{A4}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{cp852}{A5}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{cp852}{A6}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{cp852}{A7}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{cp852}{A8}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{cp852}{A9}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{cp852}{AA}{00AC}% NOT SIGN
+\SE@MapDeclare{cp852}{AB}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp852}{AC}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{cp852}{AD}{015F}% LATIN SMALL LETTER S WITH CEDILLA
+\SE@MapDeclare{cp852}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp852}{AF}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp852}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp852}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp852}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp852}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp852}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp852}{B5}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{cp852}{B6}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{B7}{011A}% LATIN CAPITAL LETTER E WITH CARON
+\SE@MapDeclare{cp852}{B8}{015E}% LATIN CAPITAL LETTER S WITH CEDILLA
+\SE@MapDeclare{cp852}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp852}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp852}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp852}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp852}{BD}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp852}{BE}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp852}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp852}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp852}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp852}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp852}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp852}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp852}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp852}{C6}{0102}% LATIN CAPITAL LETTER A WITH BREVE
+\SE@MapDeclare{cp852}{C7}{0103}% LATIN SMALL LETTER A WITH BREVE
+\SE@MapDeclare{cp852}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp852}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp852}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp852}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp852}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp852}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp852}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp852}{CF}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp852}{D0}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{cp852}{D1}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{cp852}{D2}{010E}% LATIN CAPITAL LETTER D WITH CARON
+\SE@MapDeclare{cp852}{D3}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp852}{D4}{010F}% LATIN SMALL LETTER D WITH CARON
+\SE@MapDeclare{cp852}{D5}{0147}% LATIN CAPITAL LETTER N WITH CARON
+\SE@MapDeclare{cp852}{D6}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{cp852}{D7}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{D8}{011B}% LATIN SMALL LETTER E WITH CARON
+\SE@MapDeclare{cp852}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp852}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp852}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp852}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp852}{DD}{0162}% LATIN CAPITAL LETTER T WITH CEDILLA
+\SE@MapDeclare{cp852}{DE}{016E}% LATIN CAPITAL LETTER U WITH RING ABOVE
+\SE@MapDeclare{cp852}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp852}{E0}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{cp852}{E1}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp852}{E2}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp852}{E3}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{cp852}{E4}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{cp852}{E5}{0148}% LATIN SMALL LETTER N WITH CARON
+\SE@MapDeclare{cp852}{E6}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{cp852}{E7}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{cp852}{E8}{0154}% LATIN CAPITAL LETTER R WITH ACUTE
+\SE@MapDeclare{cp852}{E9}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{cp852}{EA}{0155}% LATIN SMALL LETTER R WITH ACUTE
+\SE@MapDeclare{cp852}{EB}{0170}% LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{cp852}{EC}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp852}{ED}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp852}{EE}{0163}% LATIN SMALL LETTER T WITH CEDILLA
+\SE@MapDeclare{cp852}{EF}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{cp852}{F0}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp852}{F1}{02DD}% DOUBLE ACUTE ACCENT
+\SE@MapDeclare{cp852}{F2}{02DB}% OGONEK
+\SE@MapDeclare{cp852}{F3}{02C7}% CARON
+\SE@MapDeclare{cp852}{F4}{02D8}% BREVE
+\SE@MapDeclare{cp852}{F5}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp852}{F6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp852}{F7}{00B8}% CEDILLA
+\SE@MapDeclare{cp852}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp852}{F9}{00A8}% DIAERESIS
+\SE@MapDeclare{cp852}{FA}{02D9}% DOT ABOVE
+\SE@MapDeclare{cp852}{FB}{0171}% LATIN SMALL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{cp852}{FC}{0158}% LATIN CAPITAL LETTER R WITH CARON
+\SE@MapDeclare{cp852}{FD}{0159}% LATIN SMALL LETTER R WITH CARON
+\SE@MapDeclare{cp852}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp852}{FF}{00A0}% NO-BREAK SPACE
+%</cp852>
+% \end{macrocode}
+% \paragraph{cp855}
+% \begin{macrocode}
+%<*cp855>
+\SE@MapDeclare{cp855}{80}{0452}% CYRILLIC SMALL LETTER DJE
+\SE@MapDeclare{cp855}{81}{0402}% CYRILLIC CAPITAL LETTER DJE
+\SE@MapDeclare{cp855}{82}{0453}% CYRILLIC SMALL LETTER GJE
+\SE@MapDeclare{cp855}{83}{0403}% CYRILLIC CAPITAL LETTER GJE
+\SE@MapDeclare{cp855}{84}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{cp855}{85}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{cp855}{86}{0454}% CYRILLIC SMALL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp855}{87}{0404}% CYRILLIC CAPITAL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp855}{88}{0455}% CYRILLIC SMALL LETTER DZE
+\SE@MapDeclare{cp855}{89}{0405}% CYRILLIC CAPITAL LETTER DZE
+\SE@MapDeclare{cp855}{8A}{0456}% CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{cp855}{8B}{0406}% CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{cp855}{8C}{0457}% CYRILLIC SMALL LETTER YI
+\SE@MapDeclare{cp855}{8D}{0407}% CYRILLIC CAPITAL LETTER YI
+\SE@MapDeclare{cp855}{8E}{0458}% CYRILLIC SMALL LETTER JE
+\SE@MapDeclare{cp855}{8F}{0408}% CYRILLIC CAPITAL LETTER JE
+\SE@MapDeclare{cp855}{90}{0459}% CYRILLIC SMALL LETTER LJE
+\SE@MapDeclare{cp855}{91}{0409}% CYRILLIC CAPITAL LETTER LJE
+\SE@MapDeclare{cp855}{92}{045A}% CYRILLIC SMALL LETTER NJE
+\SE@MapDeclare{cp855}{93}{040A}% CYRILLIC CAPITAL LETTER NJE
+\SE@MapDeclare{cp855}{94}{045B}% CYRILLIC SMALL LETTER TSHE
+\SE@MapDeclare{cp855}{95}{040B}% CYRILLIC CAPITAL LETTER TSHE
+\SE@MapDeclare{cp855}{96}{045C}% CYRILLIC SMALL LETTER KJE
+\SE@MapDeclare{cp855}{97}{040C}% CYRILLIC CAPITAL LETTER KJE
+\SE@MapDeclare{cp855}{98}{045E}% CYRILLIC SMALL LETTER SHORT U
+\SE@MapDeclare{cp855}{99}{040E}% CYRILLIC CAPITAL LETTER SHORT U
+\SE@MapDeclare{cp855}{9A}{045F}% CYRILLIC SMALL LETTER DZHE
+\SE@MapDeclare{cp855}{9B}{040F}% CYRILLIC CAPITAL LETTER DZHE
+\SE@MapDeclare{cp855}{9C}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{cp855}{9D}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{cp855}{9E}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{cp855}{9F}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+\SE@MapDeclare{cp855}{A0}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{cp855}{A1}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{cp855}{A2}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{cp855}{A3}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{cp855}{A4}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{cp855}{A5}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{cp855}{A6}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{cp855}{A7}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{cp855}{A8}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{cp855}{A9}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{cp855}{AA}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{cp855}{AB}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{cp855}{AC}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{cp855}{AD}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{cp855}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp855}{AF}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp855}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp855}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp855}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp855}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp855}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp855}{B5}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{cp855}{B6}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{cp855}{B7}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{cp855}{B8}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{cp855}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp855}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp855}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp855}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp855}{BD}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{cp855}{BE}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{cp855}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp855}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp855}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp855}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp855}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp855}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp855}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp855}{C6}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{cp855}{C7}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{cp855}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp855}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp855}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp855}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp855}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp855}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp855}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp855}{CF}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp855}{D0}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{cp855}{D1}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{cp855}{D2}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{cp855}{D3}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{cp855}{D4}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{cp855}{D5}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{cp855}{D6}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{cp855}{D7}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{cp855}{D8}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{cp855}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp855}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp855}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp855}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp855}{DD}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{cp855}{DE}{044F}% CYRILLIC SMALL LETTER YA
+\SE@MapDeclare{cp855}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp855}{E0}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{cp855}{E1}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{cp855}{E2}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{cp855}{E3}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{cp855}{E4}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{cp855}{E5}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{cp855}{E6}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{cp855}{E7}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{cp855}{E8}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{cp855}{E9}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{cp855}{EA}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{cp855}{EB}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{cp855}{EC}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{cp855}{ED}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{cp855}{EE}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{cp855}{EF}{2116}% NUMERO SIGN
+\SE@MapDeclare{cp855}{F0}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp855}{F1}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{cp855}{F2}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{cp855}{F3}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{cp855}{F4}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{cp855}{F5}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{cp855}{F6}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{cp855}{F7}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{cp855}{F8}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{cp855}{F9}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{cp855}{FA}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{cp855}{FB}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{cp855}{FC}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{cp855}{FD}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp855}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp855}{FF}{00A0}% NO-BREAK SPACE
+%</cp855>
+% \end{macrocode}
+% \paragraph{cp858}
+% \begin{macrocode}
+%<*cp858>
+\SE@MapDeclare{cp858}{80}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp858}{81}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp858}{82}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp858}{83}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{84}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp858}{85}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{cp858}{86}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp858}{87}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp858}{88}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{89}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp858}{8A}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{cp858}{8B}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp858}{8C}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{8D}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{cp858}{8E}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp858}{8F}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp858}{90}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp858}{91}{00E6}% LATIN SMALL LIGATURE AE
+\SE@MapDeclare{cp858}{92}{00C6}% LATIN CAPITAL LIGATURE AE
+\SE@MapDeclare{cp858}{93}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{94}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp858}{95}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{cp858}{96}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{97}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{cp858}{98}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{cp858}{99}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp858}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp858}{9B}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{cp858}{9C}{00A3}% POUND SIGN
+\SE@MapDeclare{cp858}{9D}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{cp858}{9E}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{cp858}{9F}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{cp858}{A0}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp858}{A1}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp858}{A2}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp858}{A3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp858}{A4}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{cp858}{A5}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{cp858}{A6}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{cp858}{A7}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{cp858}{A8}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{cp858}{A9}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{cp858}{AA}{00AC}% NOT SIGN
+\SE@MapDeclare{cp858}{AB}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{cp858}{AC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{cp858}{AD}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{cp858}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp858}{AF}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp858}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp858}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp858}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp858}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp858}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp858}{B5}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{cp858}{B6}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{B7}{00C0}% LATIN CAPITAL LETTER A WITH GRAVE
+\SE@MapDeclare{cp858}{B8}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{cp858}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp858}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp858}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp858}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp858}{BD}{00A2}% CENT SIGN
+\SE@MapDeclare{cp858}{BE}{00A5}% YEN SIGN
+\SE@MapDeclare{cp858}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp858}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp858}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp858}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp858}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp858}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp858}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp858}{C6}{00E3}% LATIN SMALL LETTER A WITH TILDE
+\SE@MapDeclare{cp858}{C7}{00C3}% LATIN CAPITAL LETTER A WITH TILDE
+\SE@MapDeclare{cp858}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp858}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp858}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp858}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp858}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp858}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp858}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp858}{CF}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp858}{D0}{00F0}% LATIN SMALL LETTER ETH
+\SE@MapDeclare{cp858}{D1}{00D0}% LATIN CAPITAL LETTER ETH
+\SE@MapDeclare{cp858}{D2}{00CA}% LATIN CAPITAL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{D3}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp858}{D4}{00C8}% LATIN CAPITAL LETTER E WITH GRAVE
+\SE@MapDeclare{cp858}{D5}{20AC}% EURO SIGN
+\SE@MapDeclare{cp858}{D6}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{cp858}{D7}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{D8}{00CF}% LATIN CAPITAL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp858}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp858}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp858}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp858}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp858}{DD}{00A6}% BROKEN BAR
+\SE@MapDeclare{cp858}{DE}{00CC}% LATIN CAPITAL LETTER I WITH GRAVE
+\SE@MapDeclare{cp858}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp858}{E0}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{cp858}{E1}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp858}{E2}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{E3}{00D2}% LATIN CAPITAL LETTER O WITH GRAVE
+\SE@MapDeclare{cp858}{E4}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{cp858}{E5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{cp858}{E6}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp858}{E7}{00FE}% LATIN SMALL LETTER THORN
+\SE@MapDeclare{cp858}{E8}{00DE}% LATIN CAPITAL LETTER THORN
+\SE@MapDeclare{cp858}{E9}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{cp858}{EA}{00DB}% LATIN CAPITAL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp858}{EB}{00D9}% LATIN CAPITAL LETTER U WITH GRAVE
+\SE@MapDeclare{cp858}{EC}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp858}{ED}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp858}{EE}{00AF}% MACRON
+\SE@MapDeclare{cp858}{EF}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{cp858}{F0}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp858}{F1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp858}{F2}{2017}% DOUBLE LOW LINE
+\SE@MapDeclare{cp858}{F3}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{cp858}{F4}{00B6}% PILCROW SIGN
+\SE@MapDeclare{cp858}{F5}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp858}{F6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp858}{F7}{00B8}% CEDILLA
+\SE@MapDeclare{cp858}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp858}{F9}{00A8}% DIAERESIS
+\SE@MapDeclare{cp858}{FA}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp858}{FB}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{cp858}{FC}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{cp858}{FD}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{cp858}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp858}{FF}{00A0}% NO-BREAK SPACE
+%</cp858>
+% \end{macrocode}
+% \paragraph{cp865}
+% \begin{macrocode}
+%<*cp865>
+\SE@MapDeclare{cp865}{80}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp865}{81}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp865}{82}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp865}{83}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp865}{84}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp865}{85}{00E0}% LATIN SMALL LETTER A WITH GRAVE
+\SE@MapDeclare{cp865}{86}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp865}{87}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp865}{88}{00EA}% LATIN SMALL LETTER E WITH CIRCUMFLEX
+\SE@MapDeclare{cp865}{89}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp865}{8A}{00E8}% LATIN SMALL LETTER E WITH GRAVE
+\SE@MapDeclare{cp865}{8B}{00EF}% LATIN SMALL LETTER I WITH DIAERESIS
+\SE@MapDeclare{cp865}{8C}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp865}{8D}{00EC}% LATIN SMALL LETTER I WITH GRAVE
+\SE@MapDeclare{cp865}{8E}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp865}{8F}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp865}{90}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp865}{91}{00E6}% LATIN SMALL LIGATURE AE
+\SE@MapDeclare{cp865}{92}{00C6}% LATIN CAPITAL LIGATURE AE
+\SE@MapDeclare{cp865}{93}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp865}{94}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp865}{95}{00F2}% LATIN SMALL LETTER O WITH GRAVE
+\SE@MapDeclare{cp865}{96}{00FB}% LATIN SMALL LETTER U WITH CIRCUMFLEX
+\SE@MapDeclare{cp865}{97}{00F9}% LATIN SMALL LETTER U WITH GRAVE
+\SE@MapDeclare{cp865}{98}{00FF}% LATIN SMALL LETTER Y WITH DIAERESIS
+\SE@MapDeclare{cp865}{99}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp865}{9A}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp865}{9B}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{cp865}{9C}{00A3}% POUND SIGN
+\SE@MapDeclare{cp865}{9D}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{cp865}{9E}{20A7}% PESETA SIGN
+\SE@MapDeclare{cp865}{9F}{0192}% LATIN SMALL LETTER F WITH HOOK
+\SE@MapDeclare{cp865}{A0}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp865}{A1}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp865}{A2}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp865}{A3}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp865}{A4}{00F1}% LATIN SMALL LETTER N WITH TILDE
+\SE@MapDeclare{cp865}{A5}{00D1}% LATIN CAPITAL LETTER N WITH TILDE
+\SE@MapDeclare{cp865}{A6}{00AA}% FEMININE ORDINAL INDICATOR
+\SE@MapDeclare{cp865}{A7}{00BA}% MASCULINE ORDINAL INDICATOR
+\SE@MapDeclare{cp865}{A8}{00BF}% INVERTED QUESTION MARK
+\SE@MapDeclare{cp865}{A9}{2310}% REVERSED NOT SIGN
+\SE@MapDeclare{cp865}{AA}{00AC}% NOT SIGN
+\SE@MapDeclare{cp865}{AB}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{cp865}{AC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{cp865}{AD}{00A1}% INVERTED EXCLAMATION MARK
+\SE@MapDeclare{cp865}{AE}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp865}{AF}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp865}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp865}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp865}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp865}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp865}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp865}{B5}{2561}% BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp865}{B6}{2562}% BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp865}{B7}{2556}% BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp865}{B8}{2555}% BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp865}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp865}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp865}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp865}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp865}{BD}{255C}% BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp865}{BE}{255B}% BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp865}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp865}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp865}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp865}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp865}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp865}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp865}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp865}{C6}{255E}% BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp865}{C7}{255F}% BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp865}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp865}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp865}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp865}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp865}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp865}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp865}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp865}{CF}{2567}% BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp865}{D0}{2568}% BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp865}{D1}{2564}% BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp865}{D2}{2565}% BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp865}{D3}{2559}% BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp865}{D4}{2558}% BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp865}{D5}{2552}% BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp865}{D6}{2553}% BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp865}{D7}{256B}% BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp865}{D8}{256A}% BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp865}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp865}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp865}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp865}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp865}{DD}{258C}% LEFT HALF BLOCK
+\SE@MapDeclare{cp865}{DE}{2590}% RIGHT HALF BLOCK
+\SE@MapDeclare{cp865}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp865}{E0}{03B1}% GREEK SMALL LETTER ALPHA
+\SE@MapDeclare{cp865}{E1}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp865}{E2}{0393}% GREEK CAPITAL LETTER GAMMA
+\SE@MapDeclare{cp865}{E3}{03C0}% GREEK SMALL LETTER PI
+\SE@MapDeclare{cp865}{E4}{03A3}% GREEK CAPITAL LETTER SIGMA
+\SE@MapDeclare{cp865}{E5}{03C3}% GREEK SMALL LETTER SIGMA
+\SE@MapDeclare{cp865}{E6}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp865}{E7}{03C4}% GREEK SMALL LETTER TAU
+\SE@MapDeclare{cp865}{E8}{03A6}% GREEK CAPITAL LETTER PHI
+\SE@MapDeclare{cp865}{E9}{0398}% GREEK CAPITAL LETTER THETA
+\SE@MapDeclare{cp865}{EA}{03A9}% GREEK CAPITAL LETTER OMEGA
+\SE@MapDeclare{cp865}{EB}{03B4}% GREEK SMALL LETTER DELTA
+\SE@MapDeclare{cp865}{EC}{221E}% INFINITY
+\SE@MapDeclare{cp865}{ED}{03C6}% GREEK SMALL LETTER PHI
+\SE@MapDeclare{cp865}{EE}{03B5}% GREEK SMALL LETTER EPSILON
+\SE@MapDeclare{cp865}{EF}{2229}% INTERSECTION
+\SE@MapDeclare{cp865}{F0}{2261}% IDENTICAL TO
+\SE@MapDeclare{cp865}{F1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp865}{F2}{2265}% GREATER-THAN OR EQUAL TO
+\SE@MapDeclare{cp865}{F3}{2264}% LESS-THAN OR EQUAL TO
+\SE@MapDeclare{cp865}{F4}{2320}% TOP HALF INTEGRAL
+\SE@MapDeclare{cp865}{F5}{2321}% BOTTOM HALF INTEGRAL
+\SE@MapDeclare{cp865}{F6}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp865}{F7}{2248}% ALMOST EQUAL TO
+\SE@MapDeclare{cp865}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp865}{F9}{2219}% BULLET OPERATOR
+\SE@MapDeclare{cp865}{FA}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp865}{FB}{221A}% SQUARE ROOT
+\SE@MapDeclare{cp865}{FC}{207F}% SUPERSCRIPT LATIN SMALL LETTER N
+\SE@MapDeclare{cp865}{FD}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{cp865}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp865}{FF}{00A0}% NO-BREAK SPACE
+%</cp865>
+% \end{macrocode}
+% \paragraph{cp866}
+% \begin{macrocode}
+%<*cp866>
+\SE@MapDeclare{cp866}{80}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{cp866}{81}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{cp866}{82}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{cp866}{83}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{cp866}{84}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{cp866}{85}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{cp866}{86}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{cp866}{87}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{cp866}{88}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{cp866}{89}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{cp866}{8A}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{cp866}{8B}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{cp866}{8C}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{cp866}{8D}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{cp866}{8E}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{cp866}{8F}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{cp866}{90}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{cp866}{91}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{cp866}{92}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{cp866}{93}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{cp866}{94}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{cp866}{95}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{cp866}{96}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{cp866}{97}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{cp866}{98}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{cp866}{99}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{cp866}{9A}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+\SE@MapDeclare{cp866}{9B}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{cp866}{9C}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{cp866}{9D}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{cp866}{9E}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{cp866}{9F}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{cp866}{A0}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{cp866}{A1}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{cp866}{A2}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{cp866}{A3}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{cp866}{A4}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{cp866}{A5}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{cp866}{A6}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{cp866}{A7}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{cp866}{A8}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{cp866}{A9}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{cp866}{AA}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{cp866}{AB}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{cp866}{AC}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{cp866}{AD}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{cp866}{AE}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{cp866}{AF}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{cp866}{B0}{2591}% LIGHT SHADE
+\SE@MapDeclare{cp866}{B1}{2592}% MEDIUM SHADE
+\SE@MapDeclare{cp866}{B2}{2593}% DARK SHADE
+\SE@MapDeclare{cp866}{B3}{2502}% BOX DRAWINGS LIGHT VERTICAL
+\SE@MapDeclare{cp866}{B4}{2524}% BOX DRAWINGS LIGHT VERTICAL AND LEFT
+\SE@MapDeclare{cp866}{B5}{2561}% BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp866}{B6}{2562}% BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp866}{B7}{2556}% BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp866}{B8}{2555}% BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp866}{B9}{2563}% BOX DRAWINGS DOUBLE VERTICAL AND LEFT
+\SE@MapDeclare{cp866}{BA}{2551}% BOX DRAWINGS DOUBLE VERTICAL
+\SE@MapDeclare{cp866}{BB}{2557}% BOX DRAWINGS DOUBLE DOWN AND LEFT
+\SE@MapDeclare{cp866}{BC}{255D}% BOX DRAWINGS DOUBLE UP AND LEFT
+\SE@MapDeclare{cp866}{BD}{255C}% BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
+\SE@MapDeclare{cp866}{BE}{255B}% BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
+\SE@MapDeclare{cp866}{BF}{2510}% BOX DRAWINGS LIGHT DOWN AND LEFT
+\SE@MapDeclare{cp866}{C0}{2514}% BOX DRAWINGS LIGHT UP AND RIGHT
+\SE@MapDeclare{cp866}{C1}{2534}% BOX DRAWINGS LIGHT UP AND HORIZONTAL
+\SE@MapDeclare{cp866}{C2}{252C}% BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
+\SE@MapDeclare{cp866}{C3}{251C}% BOX DRAWINGS LIGHT VERTICAL AND RIGHT
+\SE@MapDeclare{cp866}{C4}{2500}% BOX DRAWINGS LIGHT HORIZONTAL
+\SE@MapDeclare{cp866}{C5}{253C}% BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp866}{C6}{255E}% BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp866}{C7}{255F}% BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp866}{C8}{255A}% BOX DRAWINGS DOUBLE UP AND RIGHT
+\SE@MapDeclare{cp866}{C9}{2554}% BOX DRAWINGS DOUBLE DOWN AND RIGHT
+\SE@MapDeclare{cp866}{CA}{2569}% BOX DRAWINGS DOUBLE UP AND HORIZONTAL
+\SE@MapDeclare{cp866}{CB}{2566}% BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
+\SE@MapDeclare{cp866}{CC}{2560}% BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
+\SE@MapDeclare{cp866}{CD}{2550}% BOX DRAWINGS DOUBLE HORIZONTAL
+\SE@MapDeclare{cp866}{CE}{256C}% BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
+\SE@MapDeclare{cp866}{CF}{2567}% BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp866}{D0}{2568}% BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp866}{D1}{2564}% BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp866}{D2}{2565}% BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp866}{D3}{2559}% BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp866}{D4}{2558}% BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp866}{D5}{2552}% BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
+\SE@MapDeclare{cp866}{D6}{2553}% BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
+\SE@MapDeclare{cp866}{D7}{256B}% BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
+\SE@MapDeclare{cp866}{D8}{256A}% BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
+\SE@MapDeclare{cp866}{D9}{2518}% BOX DRAWINGS LIGHT UP AND LEFT
+\SE@MapDeclare{cp866}{DA}{250C}% BOX DRAWINGS LIGHT DOWN AND RIGHT
+\SE@MapDeclare{cp866}{DB}{2588}% FULL BLOCK
+\SE@MapDeclare{cp866}{DC}{2584}% LOWER HALF BLOCK
+\SE@MapDeclare{cp866}{DD}{258C}% LEFT HALF BLOCK
+\SE@MapDeclare{cp866}{DE}{2590}% RIGHT HALF BLOCK
+\SE@MapDeclare{cp866}{DF}{2580}% UPPER HALF BLOCK
+\SE@MapDeclare{cp866}{E0}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{cp866}{E1}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{cp866}{E2}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{cp866}{E3}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{cp866}{E4}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{cp866}{E5}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{cp866}{E6}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{cp866}{E7}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{cp866}{E8}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{cp866}{E9}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{cp866}{EA}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{cp866}{EB}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{cp866}{EC}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{cp866}{ED}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{cp866}{EE}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{cp866}{EF}{044F}% CYRILLIC SMALL LETTER YA
+\SE@MapDeclare{cp866}{F0}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{cp866}{F1}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{cp866}{F2}{0404}% CYRILLIC CAPITAL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp866}{F3}{0454}% CYRILLIC SMALL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp866}{F4}{0407}% CYRILLIC CAPITAL LETTER YI
+\SE@MapDeclare{cp866}{F5}{0457}% CYRILLIC SMALL LETTER YI
+\SE@MapDeclare{cp866}{F6}{040E}% CYRILLIC CAPITAL LETTER SHORT U
+\SE@MapDeclare{cp866}{F7}{045E}% CYRILLIC SMALL LETTER SHORT U
+\SE@MapDeclare{cp866}{F8}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp866}{F9}{2219}% BULLET OPERATOR
+\SE@MapDeclare{cp866}{FA}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp866}{FB}{221A}% SQUARE ROOT
+\SE@MapDeclare{cp866}{FC}{2116}% NUMERO SIGN
+\SE@MapDeclare{cp866}{FD}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp866}{FE}{25A0}% BLACK SQUARE
+\SE@MapDeclare{cp866}{FF}{00A0}% NO-BREAK SPACE
+%</cp866>
+% \end{macrocode}
+% \paragraph{cp1250}
+% \begin{macrocode}
+%<*cp1250>
+\SE@MapDeclare{cp1250}{80}{20AC}% EURO SIGN
+\SE@MapDeclare{cp1250}{82}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1250}{84}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1250}{85}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{cp1250}{86}{2020}% DAGGER
+\SE@MapDeclare{cp1250}{87}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{cp1250}{89}{2030}% PER MILLE SIGN
+\SE@MapDeclare{cp1250}{8A}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{cp1250}{8B}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{8C}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{cp1250}{8D}{0164}% LATIN CAPITAL LETTER T WITH CARON
+\SE@MapDeclare{cp1250}{8E}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{cp1250}{8F}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp1250}{91}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{92}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{93}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{94}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{95}{2022}% BULLET
+\SE@MapDeclare{cp1250}{96}{2013}% EN DASH
+\SE@MapDeclare{cp1250}{97}{2014}% EM DASH
+\SE@MapDeclare{cp1250}{99}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{cp1250}{9A}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{cp1250}{9B}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{9C}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{cp1250}{9D}{0165}% LATIN SMALL LETTER T WITH CARON
+\SE@MapDeclare{cp1250}{9E}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{cp1250}{9F}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp1250}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{cp1250}{A1}{02C7}% CARON
+\SE@MapDeclare{cp1250}{A2}{02D8}% BREVE
+\SE@MapDeclare{cp1250}{A3}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{cp1250}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp1250}{A5}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{cp1250}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{cp1250}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp1250}{A8}{00A8}% DIAERESIS
+\SE@MapDeclare{cp1250}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{cp1250}{AA}{015E}% LATIN CAPITAL LETTER S WITH CEDILLA
+\SE@MapDeclare{cp1250}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{cp1250}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp1250}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{cp1250}{AF}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp1250}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp1250}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp1250}{B2}{02DB}% OGONEK
+\SE@MapDeclare{cp1250}{B3}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{cp1250}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{cp1250}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp1250}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{cp1250}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp1250}{B8}{00B8}% CEDILLA
+\SE@MapDeclare{cp1250}{B9}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{cp1250}{BA}{015F}% LATIN SMALL LETTER S WITH CEDILLA
+\SE@MapDeclare{cp1250}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1250}{BC}{013D}% LATIN CAPITAL LETTER L WITH CARON
+\SE@MapDeclare{cp1250}{BD}{02DD}% DOUBLE ACUTE ACCENT
+\SE@MapDeclare{cp1250}{BE}{013E}% LATIN SMALL LETTER L WITH CARON
+\SE@MapDeclare{cp1250}{BF}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp1250}{C0}{0154}% LATIN CAPITAL LETTER R WITH ACUTE
+\SE@MapDeclare{cp1250}{C1}{00C1}% LATIN CAPITAL LETTER A WITH ACUTE
+\SE@MapDeclare{cp1250}{C2}{00C2}% LATIN CAPITAL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{C3}{0102}% LATIN CAPITAL LETTER A WITH BREVE
+\SE@MapDeclare{cp1250}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp1250}{C5}{0139}% LATIN CAPITAL LETTER L WITH ACUTE
+\SE@MapDeclare{cp1250}{C6}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{cp1250}{C7}{00C7}% LATIN CAPITAL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp1250}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{cp1250}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp1250}{CA}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{cp1250}{CB}{00CB}% LATIN CAPITAL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp1250}{CC}{011A}% LATIN CAPITAL LETTER E WITH CARON
+\SE@MapDeclare{cp1250}{CD}{00CD}% LATIN CAPITAL LETTER I WITH ACUTE
+\SE@MapDeclare{cp1250}{CE}{00CE}% LATIN CAPITAL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{CF}{010E}% LATIN CAPITAL LETTER D WITH CARON
+\SE@MapDeclare{cp1250}{D0}{0110}% LATIN CAPITAL LETTER D WITH STROKE
+\SE@MapDeclare{cp1250}{D1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{cp1250}{D2}{0147}% LATIN CAPITAL LETTER N WITH CARON
+\SE@MapDeclare{cp1250}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{cp1250}{D4}{00D4}% LATIN CAPITAL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{D5}{0150}% LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{cp1250}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp1250}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{cp1250}{D8}{0158}% LATIN CAPITAL LETTER R WITH CARON
+\SE@MapDeclare{cp1250}{D9}{016E}% LATIN CAPITAL LETTER U WITH RING ABOVE
+\SE@MapDeclare{cp1250}{DA}{00DA}% LATIN CAPITAL LETTER U WITH ACUTE
+\SE@MapDeclare{cp1250}{DB}{0170}% LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{cp1250}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp1250}{DD}{00DD}% LATIN CAPITAL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp1250}{DE}{0162}% LATIN CAPITAL LETTER T WITH CEDILLA
+\SE@MapDeclare{cp1250}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp1250}{E0}{0155}% LATIN SMALL LETTER R WITH ACUTE
+\SE@MapDeclare{cp1250}{E1}{00E1}% LATIN SMALL LETTER A WITH ACUTE
+\SE@MapDeclare{cp1250}{E2}{00E2}% LATIN SMALL LETTER A WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{E3}{0103}% LATIN SMALL LETTER A WITH BREVE
+\SE@MapDeclare{cp1250}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp1250}{E5}{013A}% LATIN SMALL LETTER L WITH ACUTE
+\SE@MapDeclare{cp1250}{E6}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{cp1250}{E7}{00E7}% LATIN SMALL LETTER C WITH CEDILLA
+\SE@MapDeclare{cp1250}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{cp1250}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp1250}{EA}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{cp1250}{EB}{00EB}% LATIN SMALL LETTER E WITH DIAERESIS
+\SE@MapDeclare{cp1250}{EC}{011B}% LATIN SMALL LETTER E WITH CARON
+\SE@MapDeclare{cp1250}{ED}{00ED}% LATIN SMALL LETTER I WITH ACUTE
+\SE@MapDeclare{cp1250}{EE}{00EE}% LATIN SMALL LETTER I WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{EF}{010F}% LATIN SMALL LETTER D WITH CARON
+\SE@MapDeclare{cp1250}{F0}{0111}% LATIN SMALL LETTER D WITH STROKE
+\SE@MapDeclare{cp1250}{F1}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{cp1250}{F2}{0148}% LATIN SMALL LETTER N WITH CARON
+\SE@MapDeclare{cp1250}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp1250}{F4}{00F4}% LATIN SMALL LETTER O WITH CIRCUMFLEX
+\SE@MapDeclare{cp1250}{F5}{0151}% LATIN SMALL LETTER O WITH DOUBLE ACUTE
+\SE@MapDeclare{cp1250}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp1250}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp1250}{F8}{0159}% LATIN SMALL LETTER R WITH CARON
+\SE@MapDeclare{cp1250}{F9}{016F}% LATIN SMALL LETTER U WITH RING ABOVE
+\SE@MapDeclare{cp1250}{FA}{00FA}% LATIN SMALL LETTER U WITH ACUTE
+\SE@MapDeclare{cp1250}{FB}{0171}% LATIN SMALL LETTER U WITH DOUBLE ACUTE
+\SE@MapDeclare{cp1250}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp1250}{FD}{00FD}% LATIN SMALL LETTER Y WITH ACUTE
+\SE@MapDeclare{cp1250}{FE}{0163}% LATIN SMALL LETTER T WITH CEDILLA
+\SE@MapDeclare{cp1250}{FF}{02D9}% DOT ABOVE
+%</cp1250>
+% \end{macrocode}
+% \paragraph{cp1251}
+% \begin{macrocode}
+%<*cp1251>
+\SE@MapDeclare{cp1251}{80}{0402}% CYRILLIC CAPITAL LETTER DJE
+\SE@MapDeclare{cp1251}{81}{0403}% CYRILLIC CAPITAL LETTER GJE
+\SE@MapDeclare{cp1251}{82}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1251}{83}{0453}% CYRILLIC SMALL LETTER GJE
+\SE@MapDeclare{cp1251}{84}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1251}{85}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{cp1251}{86}{2020}% DAGGER
+\SE@MapDeclare{cp1251}{87}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{cp1251}{88}{20AC}% EURO SIGN
+\SE@MapDeclare{cp1251}{89}{2030}% PER MILLE SIGN
+\SE@MapDeclare{cp1251}{8A}{0409}% CYRILLIC CAPITAL LETTER LJE
+\SE@MapDeclare{cp1251}{8B}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{8C}{040A}% CYRILLIC CAPITAL LETTER NJE
+\SE@MapDeclare{cp1251}{8D}{040C}% CYRILLIC CAPITAL LETTER KJE
+\SE@MapDeclare{cp1251}{8E}{040B}% CYRILLIC CAPITAL LETTER TSHE
+\SE@MapDeclare{cp1251}{8F}{040F}% CYRILLIC CAPITAL LETTER DZHE
+\SE@MapDeclare{cp1251}{90}{0452}% CYRILLIC SMALL LETTER DJE
+\SE@MapDeclare{cp1251}{91}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{92}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{93}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{94}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{95}{2022}% BULLET
+\SE@MapDeclare{cp1251}{96}{2013}% EN DASH
+\SE@MapDeclare{cp1251}{97}{2014}% EM DASH
+\SE@MapDeclare{cp1251}{99}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{cp1251}{9A}{0459}% CYRILLIC SMALL LETTER LJE
+\SE@MapDeclare{cp1251}{9B}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{9C}{045A}% CYRILLIC SMALL LETTER NJE
+\SE@MapDeclare{cp1251}{9D}{045C}% CYRILLIC SMALL LETTER KJE
+\SE@MapDeclare{cp1251}{9E}{045B}% CYRILLIC SMALL LETTER TSHE
+\SE@MapDeclare{cp1251}{9F}{045F}% CYRILLIC SMALL LETTER DZHE
+\SE@MapDeclare{cp1251}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{cp1251}{A1}{040E}% CYRILLIC CAPITAL LETTER SHORT U
+\SE@MapDeclare{cp1251}{A2}{045E}% CYRILLIC SMALL LETTER SHORT U
+\SE@MapDeclare{cp1251}{A3}{0408}% CYRILLIC CAPITAL LETTER JE
+\SE@MapDeclare{cp1251}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp1251}{A5}{0490}% CYRILLIC CAPITAL LETTER GHE WITH UPTURN
+\SE@MapDeclare{cp1251}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{cp1251}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp1251}{A8}{0401}% CYRILLIC CAPITAL LETTER IO
+\SE@MapDeclare{cp1251}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{cp1251}{AA}{0404}% CYRILLIC CAPITAL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp1251}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{cp1251}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp1251}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{cp1251}{AF}{0407}% CYRILLIC CAPITAL LETTER YI
+\SE@MapDeclare{cp1251}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp1251}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp1251}{B2}{0406}% CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{cp1251}{B3}{0456}% CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
+\SE@MapDeclare{cp1251}{B4}{0491}% CYRILLIC SMALL LETTER GHE WITH UPTURN
+\SE@MapDeclare{cp1251}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp1251}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{cp1251}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp1251}{B8}{0451}% CYRILLIC SMALL LETTER IO
+\SE@MapDeclare{cp1251}{B9}{2116}% NUMERO SIGN
+\SE@MapDeclare{cp1251}{BA}{0454}% CYRILLIC SMALL LETTER UKRAINIAN IE
+\SE@MapDeclare{cp1251}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1251}{BC}{0458}% CYRILLIC SMALL LETTER JE
+\SE@MapDeclare{cp1251}{BD}{0405}% CYRILLIC CAPITAL LETTER DZE
+\SE@MapDeclare{cp1251}{BE}{0455}% CYRILLIC SMALL LETTER DZE
+\SE@MapDeclare{cp1251}{BF}{0457}% CYRILLIC SMALL LETTER YI
+\SE@MapDeclare{cp1251}{C0}{0410}% CYRILLIC CAPITAL LETTER A
+\SE@MapDeclare{cp1251}{C1}{0411}% CYRILLIC CAPITAL LETTER BE
+\SE@MapDeclare{cp1251}{C2}{0412}% CYRILLIC CAPITAL LETTER VE
+\SE@MapDeclare{cp1251}{C3}{0413}% CYRILLIC CAPITAL LETTER GHE
+\SE@MapDeclare{cp1251}{C4}{0414}% CYRILLIC CAPITAL LETTER DE
+\SE@MapDeclare{cp1251}{C5}{0415}% CYRILLIC CAPITAL LETTER IE
+\SE@MapDeclare{cp1251}{C6}{0416}% CYRILLIC CAPITAL LETTER ZHE
+\SE@MapDeclare{cp1251}{C7}{0417}% CYRILLIC CAPITAL LETTER ZE
+\SE@MapDeclare{cp1251}{C8}{0418}% CYRILLIC CAPITAL LETTER I
+\SE@MapDeclare{cp1251}{C9}{0419}% CYRILLIC CAPITAL LETTER SHORT I
+\SE@MapDeclare{cp1251}{CA}{041A}% CYRILLIC CAPITAL LETTER KA
+\SE@MapDeclare{cp1251}{CB}{041B}% CYRILLIC CAPITAL LETTER EL
+\SE@MapDeclare{cp1251}{CC}{041C}% CYRILLIC CAPITAL LETTER EM
+\SE@MapDeclare{cp1251}{CD}{041D}% CYRILLIC CAPITAL LETTER EN
+\SE@MapDeclare{cp1251}{CE}{041E}% CYRILLIC CAPITAL LETTER O
+\SE@MapDeclare{cp1251}{CF}{041F}% CYRILLIC CAPITAL LETTER PE
+\SE@MapDeclare{cp1251}{D0}{0420}% CYRILLIC CAPITAL LETTER ER
+\SE@MapDeclare{cp1251}{D1}{0421}% CYRILLIC CAPITAL LETTER ES
+\SE@MapDeclare{cp1251}{D2}{0422}% CYRILLIC CAPITAL LETTER TE
+\SE@MapDeclare{cp1251}{D3}{0423}% CYRILLIC CAPITAL LETTER U
+\SE@MapDeclare{cp1251}{D4}{0424}% CYRILLIC CAPITAL LETTER EF
+\SE@MapDeclare{cp1251}{D5}{0425}% CYRILLIC CAPITAL LETTER HA
+\SE@MapDeclare{cp1251}{D6}{0426}% CYRILLIC CAPITAL LETTER TSE
+\SE@MapDeclare{cp1251}{D7}{0427}% CYRILLIC CAPITAL LETTER CHE
+\SE@MapDeclare{cp1251}{D8}{0428}% CYRILLIC CAPITAL LETTER SHA
+\SE@MapDeclare{cp1251}{D9}{0429}% CYRILLIC CAPITAL LETTER SHCHA
+\SE@MapDeclare{cp1251}{DA}{042A}% CYRILLIC CAPITAL LETTER HARD SIGN
+\SE@MapDeclare{cp1251}{DB}{042B}% CYRILLIC CAPITAL LETTER YERU
+\SE@MapDeclare{cp1251}{DC}{042C}% CYRILLIC CAPITAL LETTER SOFT SIGN
+\SE@MapDeclare{cp1251}{DD}{042D}% CYRILLIC CAPITAL LETTER E
+\SE@MapDeclare{cp1251}{DE}{042E}% CYRILLIC CAPITAL LETTER YU
+\SE@MapDeclare{cp1251}{DF}{042F}% CYRILLIC CAPITAL LETTER YA
+\SE@MapDeclare{cp1251}{E0}{0430}% CYRILLIC SMALL LETTER A
+\SE@MapDeclare{cp1251}{E1}{0431}% CYRILLIC SMALL LETTER BE
+\SE@MapDeclare{cp1251}{E2}{0432}% CYRILLIC SMALL LETTER VE
+\SE@MapDeclare{cp1251}{E3}{0433}% CYRILLIC SMALL LETTER GHE
+\SE@MapDeclare{cp1251}{E4}{0434}% CYRILLIC SMALL LETTER DE
+\SE@MapDeclare{cp1251}{E5}{0435}% CYRILLIC SMALL LETTER IE
+\SE@MapDeclare{cp1251}{E6}{0436}% CYRILLIC SMALL LETTER ZHE
+\SE@MapDeclare{cp1251}{E7}{0437}% CYRILLIC SMALL LETTER ZE
+\SE@MapDeclare{cp1251}{E8}{0438}% CYRILLIC SMALL LETTER I
+\SE@MapDeclare{cp1251}{E9}{0439}% CYRILLIC SMALL LETTER SHORT I
+\SE@MapDeclare{cp1251}{EA}{043A}% CYRILLIC SMALL LETTER KA
+\SE@MapDeclare{cp1251}{EB}{043B}% CYRILLIC SMALL LETTER EL
+\SE@MapDeclare{cp1251}{EC}{043C}% CYRILLIC SMALL LETTER EM
+\SE@MapDeclare{cp1251}{ED}{043D}% CYRILLIC SMALL LETTER EN
+\SE@MapDeclare{cp1251}{EE}{043E}% CYRILLIC SMALL LETTER O
+\SE@MapDeclare{cp1251}{EF}{043F}% CYRILLIC SMALL LETTER PE
+\SE@MapDeclare{cp1251}{F0}{0440}% CYRILLIC SMALL LETTER ER
+\SE@MapDeclare{cp1251}{F1}{0441}% CYRILLIC SMALL LETTER ES
+\SE@MapDeclare{cp1251}{F2}{0442}% CYRILLIC SMALL LETTER TE
+\SE@MapDeclare{cp1251}{F3}{0443}% CYRILLIC SMALL LETTER U
+\SE@MapDeclare{cp1251}{F4}{0444}% CYRILLIC SMALL LETTER EF
+\SE@MapDeclare{cp1251}{F5}{0445}% CYRILLIC SMALL LETTER HA
+\SE@MapDeclare{cp1251}{F6}{0446}% CYRILLIC SMALL LETTER TSE
+\SE@MapDeclare{cp1251}{F7}{0447}% CYRILLIC SMALL LETTER CHE
+\SE@MapDeclare{cp1251}{F8}{0448}% CYRILLIC SMALL LETTER SHA
+\SE@MapDeclare{cp1251}{F9}{0449}% CYRILLIC SMALL LETTER SHCHA
+\SE@MapDeclare{cp1251}{FA}{044A}% CYRILLIC SMALL LETTER HARD SIGN
+\SE@MapDeclare{cp1251}{FB}{044B}% CYRILLIC SMALL LETTER YERU
+\SE@MapDeclare{cp1251}{FC}{044C}% CYRILLIC SMALL LETTER SOFT SIGN
+\SE@MapDeclare{cp1251}{FD}{044D}% CYRILLIC SMALL LETTER E
+\SE@MapDeclare{cp1251}{FE}{044E}% CYRILLIC SMALL LETTER YU
+\SE@MapDeclare{cp1251}{FF}{044F}% CYRILLIC SMALL LETTER YA
+%</cp1251>
+% \end{macrocode}
+% \paragraph{cp1257}
+% \begin{macrocode}
+%<*cp1257>
+\SE@MapDeclare{cp1257}{80}{20AC}% EURO SIGN
+\SE@MapDeclare{cp1257}{82}{201A}% SINGLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1257}{84}{201E}% DOUBLE LOW-9 QUOTATION MARK
+\SE@MapDeclare{cp1257}{85}{2026}% HORIZONTAL ELLIPSIS
+\SE@MapDeclare{cp1257}{86}{2020}% DAGGER
+\SE@MapDeclare{cp1257}{87}{2021}% DOUBLE DAGGER
+\SE@MapDeclare{cp1257}{89}{2030}% PER MILLE SIGN
+\SE@MapDeclare{cp1257}{8B}{2039}% SINGLE LEFT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{8D}{00A8}% DIAERESIS
+\SE@MapDeclare{cp1257}{8E}{02C7}% CARON
+\SE@MapDeclare{cp1257}{8F}{00B8}% CEDILLA
+\SE@MapDeclare{cp1257}{91}{2018}% LEFT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{92}{2019}% RIGHT SINGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{93}{201C}% LEFT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{94}{201D}% RIGHT DOUBLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{95}{2022}% BULLET
+\SE@MapDeclare{cp1257}{96}{2013}% EN DASH
+\SE@MapDeclare{cp1257}{97}{2014}% EM DASH
+\SE@MapDeclare{cp1257}{99}{2122}% TRADE MARK SIGN
+\SE@MapDeclare{cp1257}{9B}{203A}% SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{9D}{00AF}% MACRON
+\SE@MapDeclare{cp1257}{9E}{02DB}% OGONEK
+\SE@MapDeclare{cp1257}{A0}{00A0}% NO-BREAK SPACE
+\SE@MapDeclare{cp1257}{A2}{00A2}% CENT SIGN
+\SE@MapDeclare{cp1257}{A3}{00A3}% POUND SIGN
+\SE@MapDeclare{cp1257}{A4}{00A4}% CURRENCY SIGN
+\SE@MapDeclare{cp1257}{A6}{00A6}% BROKEN BAR
+\SE@MapDeclare{cp1257}{A7}{00A7}% SECTION SIGN
+\SE@MapDeclare{cp1257}{A8}{00D8}% LATIN CAPITAL LETTER O WITH STROKE
+\SE@MapDeclare{cp1257}{A9}{00A9}% COPYRIGHT SIGN
+\SE@MapDeclare{cp1257}{AA}{0156}% LATIN CAPITAL LETTER R WITH CEDILLA
+\SE@MapDeclare{cp1257}{AB}{00AB}% LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{AC}{00AC}% NOT SIGN
+\SE@MapDeclare{cp1257}{AD}{00AD}% SOFT HYPHEN
+\SE@MapDeclare{cp1257}{AE}{00AE}% REGISTERED SIGN
+\SE@MapDeclare{cp1257}{AF}{00C6}% LATIN CAPITAL LETTER AE
+\SE@MapDeclare{cp1257}{B0}{00B0}% DEGREE SIGN
+\SE@MapDeclare{cp1257}{B1}{00B1}% PLUS-MINUS SIGN
+\SE@MapDeclare{cp1257}{B2}{00B2}% SUPERSCRIPT TWO
+\SE@MapDeclare{cp1257}{B3}{00B3}% SUPERSCRIPT THREE
+\SE@MapDeclare{cp1257}{B4}{00B4}% ACUTE ACCENT
+\SE@MapDeclare{cp1257}{B5}{00B5}% MICRO SIGN
+\SE@MapDeclare{cp1257}{B6}{00B6}% PILCROW SIGN
+\SE@MapDeclare{cp1257}{B7}{00B7}% MIDDLE DOT
+\SE@MapDeclare{cp1257}{B8}{00F8}% LATIN SMALL LETTER O WITH STROKE
+\SE@MapDeclare{cp1257}{B9}{00B9}% SUPERSCRIPT ONE
+\SE@MapDeclare{cp1257}{BA}{0157}% LATIN SMALL LETTER R WITH CEDILLA
+\SE@MapDeclare{cp1257}{BB}{00BB}% RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+\SE@MapDeclare{cp1257}{BC}{00BC}% VULGAR FRACTION ONE QUARTER
+\SE@MapDeclare{cp1257}{BD}{00BD}% VULGAR FRACTION ONE HALF
+\SE@MapDeclare{cp1257}{BE}{00BE}% VULGAR FRACTION THREE QUARTERS
+\SE@MapDeclare{cp1257}{BF}{00E6}% LATIN SMALL LETTER AE
+\SE@MapDeclare{cp1257}{C0}{0104}% LATIN CAPITAL LETTER A WITH OGONEK
+\SE@MapDeclare{cp1257}{C1}{012E}% LATIN CAPITAL LETTER I WITH OGONEK
+\SE@MapDeclare{cp1257}{C2}{0100}% LATIN CAPITAL LETTER A WITH MACRON
+\SE@MapDeclare{cp1257}{C3}{0106}% LATIN CAPITAL LETTER C WITH ACUTE
+\SE@MapDeclare{cp1257}{C4}{00C4}% LATIN CAPITAL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp1257}{C5}{00C5}% LATIN CAPITAL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp1257}{C6}{0118}% LATIN CAPITAL LETTER E WITH OGONEK
+\SE@MapDeclare{cp1257}{C7}{0112}% LATIN CAPITAL LETTER E WITH MACRON
+\SE@MapDeclare{cp1257}{C8}{010C}% LATIN CAPITAL LETTER C WITH CARON
+\SE@MapDeclare{cp1257}{C9}{00C9}% LATIN CAPITAL LETTER E WITH ACUTE
+\SE@MapDeclare{cp1257}{CA}{0179}% LATIN CAPITAL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp1257}{CB}{0116}% LATIN CAPITAL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{cp1257}{CC}{0122}% LATIN CAPITAL LETTER G WITH CEDILLA
+\SE@MapDeclare{cp1257}{CD}{0136}% LATIN CAPITAL LETTER K WITH CEDILLA
+\SE@MapDeclare{cp1257}{CE}{012A}% LATIN CAPITAL LETTER I WITH MACRON
+\SE@MapDeclare{cp1257}{CF}{013B}% LATIN CAPITAL LETTER L WITH CEDILLA
+\SE@MapDeclare{cp1257}{D0}{0160}% LATIN CAPITAL LETTER S WITH CARON
+\SE@MapDeclare{cp1257}{D1}{0143}% LATIN CAPITAL LETTER N WITH ACUTE
+\SE@MapDeclare{cp1257}{D2}{0145}% LATIN CAPITAL LETTER N WITH CEDILLA
+\SE@MapDeclare{cp1257}{D3}{00D3}% LATIN CAPITAL LETTER O WITH ACUTE
+\SE@MapDeclare{cp1257}{D4}{014C}% LATIN CAPITAL LETTER O WITH MACRON
+\SE@MapDeclare{cp1257}{D5}{00D5}% LATIN CAPITAL LETTER O WITH TILDE
+\SE@MapDeclare{cp1257}{D6}{00D6}% LATIN CAPITAL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp1257}{D7}{00D7}% MULTIPLICATION SIGN
+\SE@MapDeclare{cp1257}{D8}{0172}% LATIN CAPITAL LETTER U WITH OGONEK
+\SE@MapDeclare{cp1257}{D9}{0141}% LATIN CAPITAL LETTER L WITH STROKE
+\SE@MapDeclare{cp1257}{DA}{015A}% LATIN CAPITAL LETTER S WITH ACUTE
+\SE@MapDeclare{cp1257}{DB}{016A}% LATIN CAPITAL LETTER U WITH MACRON
+\SE@MapDeclare{cp1257}{DC}{00DC}% LATIN CAPITAL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp1257}{DD}{017B}% LATIN CAPITAL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp1257}{DE}{017D}% LATIN CAPITAL LETTER Z WITH CARON
+\SE@MapDeclare{cp1257}{DF}{00DF}% LATIN SMALL LETTER SHARP S
+\SE@MapDeclare{cp1257}{E0}{0105}% LATIN SMALL LETTER A WITH OGONEK
+\SE@MapDeclare{cp1257}{E1}{012F}% LATIN SMALL LETTER I WITH OGONEK
+\SE@MapDeclare{cp1257}{E2}{0101}% LATIN SMALL LETTER A WITH MACRON
+\SE@MapDeclare{cp1257}{E3}{0107}% LATIN SMALL LETTER C WITH ACUTE
+\SE@MapDeclare{cp1257}{E4}{00E4}% LATIN SMALL LETTER A WITH DIAERESIS
+\SE@MapDeclare{cp1257}{E5}{00E5}% LATIN SMALL LETTER A WITH RING ABOVE
+\SE@MapDeclare{cp1257}{E6}{0119}% LATIN SMALL LETTER E WITH OGONEK
+\SE@MapDeclare{cp1257}{E7}{0113}% LATIN SMALL LETTER E WITH MACRON
+\SE@MapDeclare{cp1257}{E8}{010D}% LATIN SMALL LETTER C WITH CARON
+\SE@MapDeclare{cp1257}{E9}{00E9}% LATIN SMALL LETTER E WITH ACUTE
+\SE@MapDeclare{cp1257}{EA}{017A}% LATIN SMALL LETTER Z WITH ACUTE
+\SE@MapDeclare{cp1257}{EB}{0117}% LATIN SMALL LETTER E WITH DOT ABOVE
+\SE@MapDeclare{cp1257}{EC}{0123}% LATIN SMALL LETTER G WITH CEDILLA
+\SE@MapDeclare{cp1257}{ED}{0137}% LATIN SMALL LETTER K WITH CEDILLA
+\SE@MapDeclare{cp1257}{EE}{012B}% LATIN SMALL LETTER I WITH MACRON
+\SE@MapDeclare{cp1257}{EF}{013C}% LATIN SMALL LETTER L WITH CEDILLA
+\SE@MapDeclare{cp1257}{F0}{0161}% LATIN SMALL LETTER S WITH CARON
+\SE@MapDeclare{cp1257}{F1}{0144}% LATIN SMALL LETTER N WITH ACUTE
+\SE@MapDeclare{cp1257}{F2}{0146}% LATIN SMALL LETTER N WITH CEDILLA
+\SE@MapDeclare{cp1257}{F3}{00F3}% LATIN SMALL LETTER O WITH ACUTE
+\SE@MapDeclare{cp1257}{F4}{014D}% LATIN SMALL LETTER O WITH MACRON
+\SE@MapDeclare{cp1257}{F5}{00F5}% LATIN SMALL LETTER O WITH TILDE
+\SE@MapDeclare{cp1257}{F6}{00F6}% LATIN SMALL LETTER O WITH DIAERESIS
+\SE@MapDeclare{cp1257}{F7}{00F7}% DIVISION SIGN
+\SE@MapDeclare{cp1257}{F8}{0173}% LATIN SMALL LETTER U WITH OGONEK
+\SE@MapDeclare{cp1257}{F9}{0142}% LATIN SMALL LETTER L WITH STROKE
+\SE@MapDeclare{cp1257}{FA}{015B}% LATIN SMALL LETTER S WITH ACUTE
+\SE@MapDeclare{cp1257}{FB}{016B}% LATIN SMALL LETTER U WITH MACRON
+\SE@MapDeclare{cp1257}{FC}{00FC}% LATIN SMALL LETTER U WITH DIAERESIS
+\SE@MapDeclare{cp1257}{FD}{017C}% LATIN SMALL LETTER Z WITH DOT ABOVE
+\SE@MapDeclare{cp1257}{FE}{017E}% LATIN SMALL LETTER Z WITH CARON
+\SE@MapDeclare{cp1257}{FF}{02D9}% DOT ABOVE
+%</cp1257>
+% \end{macrocode}
+% \endgroup
+%
+% \section{Test}
+%
+% \subsection{Catcode checks for loading}
+%
+% \begin{macrocode}
+%<*test1>
+% \end{macrocode}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\nofiles
+\documentclass{minimal}
+\makeatletter
+
+\newcommand*{\RestoreCatcodes}{}
+\count@=0 %
+\loop
+ \edef\RestoreCatcodes{%
+ \RestoreCatcodes
+ \catcode\the\count@=\the\catcode\count@\relax
+ }%
+\ifnum\count@<255 %
+ \advance\count@\@ne
+\repeat
+
+\newcommand*{\RangeCatcodeInvalid}[2]{%
+ \count@=#1\relax
+ \loop
+ \catcode\count@=15 %
+ \ifnum\count@<#2\relax
+ \advance\count@\@ne
+ \repeat
+}
+\def\Test{%
+ \RangeCatcodeInvalid{0}{47}%
+ \RangeCatcodeInvalid{58}{64}%
+ \RangeCatcodeInvalid{91}{96}%
+ \RangeCatcodeInvalid{123}{255}%
+ \catcode`\@=12 %
+ \catcode`\\=0 %
+ \catcode`\{=1 %
+ \catcode`\}=2 %
+ \catcode`\#=6 %
+ \catcode`\[=12 %
+ \catcode`\]=12 %
+ \catcode`\%=14 %
+ \catcode`\ =10 %
+ \catcode13=5 %
+ \usepackage{stringenc}[2019/11/29]%
+ \RestoreCatcodes
+}
+\Test
+
+\ifx\numexpr\relax
+ \expandafter\@@end
+\fi
+
+\usepackage{qstest}
+\IncludeTests{*}
+\LogTests{log}{*}{*}
+\def\Test#1{%
+ \begin{qstest}{loading}{loading}%
+% \RangeCatcodeInvalid{0}{47}%
+% % 0-9
+% \RangeCatcodeInvalid{58}{64}%
+% % A-Z
+% \RangeCatcodeInvalid{91}{96}%
+% % a-z
+% \RangeCatcodeInvalid{123}{255}%
+ \setbox0=\hbox{%
+ \def\par{p}%
+ \RangeCatcodeInvalid{0}{255}%
+ \StringEncodingLoad{#1}%
+ }%
+ \Expect*{\the\wd0}{0.0pt}%
+ \end{qstest}%
+}
+\@for\x:=\StringEncodingList\do{%
+ \Test\x
+}
+\@@end
+% \end{macrocode}
+% \begin{macrocode}
+%</test1>
+% \end{macrocode}
+% \subsection{Conversion tests}
+%
+% \begin{macrocode}
+%<*test2>
+% \end{macrocode}
+% \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\nofiles
+\documentclass{minimal}
+
+\ifx\plainmode Y
+ \let\SavedNumexpr\numexpr
+ \let\numexpr\relax
+\fi
+\usepackage{stringenc}[2019/11/29]
+\ifx\plainmode Y
+ \let\numexpr\SavedNumexpr
+\fi
+\usepackage{qstest}
+\IncludeTests{*}
+\LogTests{log}{*}{*}
+
+\def\Test#1#2#3#4#5{%
+ \begingroup
+ \edef\x{\endgroup
+ \noexpand\TestTest{#1}{#2}{#3}{#4}#5||\noexpand\NIL
+ }%
+ \x
+}
+\def\TestTest#1#2#3#4#5|#6|#7\NIL{%
+ \begin{qstest}{encodings}{encodings, conversion}%
+ \setbox0=\hbox{%
+ \def\par{p}%
+ \EdefUnescapeHex\IN{#4}%
+ \StringEncodingConvert\RESULT\IN{#1}{#2}%
+ \EdefEscapeHex\RESULT\RESULT
+ \Expect*{\RESULT}*{#5#6}%
+ \Expect*{\StringEncodingSuccessFailure{true}{false}}{#3}%
+ \StringEncodingSuccessFailure{}{%
+ \StringEncodingConvertTest\RESULT\IN{#1}{#2}{%
+ }{%
+ \EdefEscapeHex\RESULT\RESULT
+ \Expect*{\RESULT}{#5}%
+ }%
+ }%
+ }%
+ \Expect*{\the\wd0}{0.0pt}%
+ \end{qstest}%
+}
+
+\def\AllBytesLow{%
+ 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F%
+ 202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F%
+ 404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F%
+ 606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E7F%
+}
+\def\AllBytesHigh{%
+ 808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9F%
+ A0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF%
+ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF%
+ E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF%
+}
+\def\AllBytes{%
+ \AllBytesLow
+ \AllBytesHigh
+}
+\def\AllUnicodesLow{%
+ 0000000100020003000400050006000700080009000A000B000C000D000E000F%
+ 0010001100120013001400150016001700180019001A001B001C001D001E001F%
+ 0020002100220023002400250026002700280029002A002B002C002D002E002F%
+ 0030003100320033003400350036003700380039003A003B003C003D003E003F%
+ 0040004100420043004400450046004700480049004A004B004C004D004E004F%
+ 0050005100520053005400550056005700580059005A005B005C005D005E005F%
+ 0060006100620063006400650066006700680069006A006B006C006D006E006F%
+ 0070007100720073007400750076007700780079007A007B007C007D007E007F%
+}
+% \end{macrocode}
+%
+% \subsubsection{UTF8/16/32 encodings}
+%
+% \begin{macrocode}
+\Test{utf16be}{utf16be}{true}%
+ {004D04304E8CD800DF02}%
+ {004D04304E8CD800DF02}%
+\Test{utf16}{utf16be}{true}%
+ {004D04304E8CD800DF02}%
+ {004D04304E8CD800DF02}%
+\Test{utf16be}{utf16}{true}%
+ {004D04304E8CD800DF02}%
+ {004D04304E8CD800DF02}%
+\Test{utf16}{utf16}{true}%
+ {004D04304E8CD800DF02}%
+ {004D04304E8CD800DF02}%
+\Test{utf16}{utf16}{true}%
+ {FEFF004D04304E8CD800DF02}%
+ {004D04304E8CD800DF02}%
+\Test{utf16}{utf16}{true}%
+ {FFFE4D0030048C4E00D802DF}%
+ {004D04304E8CD800DF02}%
+\Test{utf16be}{utf32be}{true}%
+ {004D04304E8CD800DF02}%
+ {0000004D0000043000004E8C00010302}%
+\Test{utf16be}{utf32le}{true}%
+ {004D04304E8CD800DF02}%
+ {4D000000300400008C4E000002030100}%
+\Test{utf32be}{utf16}{true}%
+ {0000004D0000043000004E8C00010302}%
+ {004D04304E8CD800DF02}%
+\Test{utf32le}{utf16}{true}%
+ {4D000000300400008C4E000002030100}%
+ {004D04304E8CD800DF02}%
+\Test{utf32}{utf16}{true}%
+ {0000004D0000043000004E8C00010302}%
+ {004D04304E8CD800DF02}%
+\Test{utf32}{utf16}{true}%
+ {0000FEFF0000004D0000043000004E8C00010302}%
+ {004D04304E8CD800DF02}%
+\Test{utf32}{utf16}{true}%
+ {FFFE00004D000000300400008C4E000002030100}%
+ {004D04304E8CD800DF02}%
+\Test{utf32be}{utf16be}{false}{FFFFFFFF}{}
+\Test{utf32be}{utf16be}{false}{0000004DFFFFFFFF}{004D}
+\Test{utf32be}{utf16be}{false}{FFFFFFFF0000004D}{|004D}
+\Test{utf32be}{utf16be}{false}{0000004DFFFFFFFF00000430}{004D|0430}
+\Test{utf32be}{utf16be}{false}{FFFFFFFF0000004DFFFFFFFF}{|004D}
+\Test{utf32be}{utf16be}{false}{FFFFFF}{}
+\Test{utf32be}{utf16be}{false}{0000004DFFFFFF}{004D}
+\Test{utf32be}{utf16be}{false}{FFFFFF0000004D}{}
+\Test{utf32be}{utf16be}{false}{0000004DFFFFFF00000430}{004D}
+\Test{utf32be}{utf16be}{false}{FFFFFF0000004DFFFFFF}{|4DFF}
+\Test{utf32be}{utf16be}{false}{FFFF}{}
+\Test{utf32be}{utf16be}{false}{0000004DFFFF}{004D}
+\Test{utf32be}{utf16be}{false}{FFFF0000004D}{}
+\Test{utf32be}{utf16be}{false}{0000004DFFFF00000430}{004D}
+\Test{utf32be}{utf16be}{false}{FF}{}
+\Test{utf32be}{utf16be}{false}{0000004DFF}{004D}
+\Test{utf32be}{utf16be}{false}{FF0000004D}{}
+\Test{utf32be}{utf16be}{false}{0000004DFF00000430}{004D}
+\Test{utf16be}{utf32be}{true}{DBBFDFFF}{000FFFFF}
+\Test{utf16be}{utf8}{true}%
+ {004D04304E8CD800DF02}%
+ {4DD0B0E4BA8CF0908C82}%
+\Test{utf32}{utf8}{true}%
+ {000000000000007F000000800000FFFF000100000010FFFF}%
+ {007FC280EFBFBFF0908080F48FBFBF}%
+\Test{utf8}{utf16}{true}%
+ {007FC280EFBFBFF0908080F48FBFBF}%
+ {0000007F0080FFFFD800DC00DBFFDFFF}%
+\Test{utf16}{utf32}{true}%
+ {0000007F0080FFFFD800DC00DBFFDFFF}%
+ {000000000000007F000000800000FFFF000100000010FFFF}%
+\Test{utf8}{utf32}{true}%
+ {007FC280EFBFBFF0908080F48FBFBF}%
+ {000000000000007F000000800000FFFF000100000010FFFF}%
+\Test{utf8}{utf16}{false}{64F57F}{|0064007F}
+\Test{utf8}{utf16}{false}{64FE7F}{|0064007F}
+\Test{utf8}{utf16}{false}{64FF7F}{|0064007F}
+\Test{utf8}{utf16}{false}{80}{}
+\Test{utf8}{utf16}{false}{7F807F}{007F|007F}
+\Test{utf8}{utf16}{false}{C0}{}
+\Test{utf8}{utf16}{false}{7FC07F}{|007F007F}
+\Test{utf8}{utf16}{false}{C1}{}
+\Test{utf8}{utf16}{false}{7FC17F}{|007F007F}
+\Test{utf8}{utf16}{false}{C080}{}
+\Test{utf8}{utf16}{false}{C2}{}
+\Test{utf8}{utf16}{false}{C2CF}{}
+\Test{utf8}{utf16}{false}{12C27F}{0012|007F}
+\Test{utf8}{utf16}{true}{C280}{0080}
+\Test{utf8}{utf16}{true}{DFBF}{07FF}
+\Test{utf8}{utf16}{false}{E0}{}
+\Test{utf8}{utf16}{false}{E07F}{|007F}
+\Test{utf8}{utf16}{false}{E0A0}{}
+\Test{utf8}{utf16}{false}{E0A07F}{|007F}
+\Test{utf8}{utf16}{false}{E08080}{}
+\Test{utf8}{utf16}{false}{E080807F}{|007F}
+\Test{utf8}{utf16}{true}{ED8080}{D000}
+\Test{utf8}{utf16}{true}{ED9FBF}{D7FF}
+\Test{utf8}{utf16}{true}{EE8080}{E000}
+\Test{utf8}{utf16}{true}{EFBFBF}{FFFF}
+\Test{utf8}{utf32}{false}{F0}{}
+\Test{utf8}{utf32}{false}{F07F}{|0000007F}
+\Test{utf8}{utf32}{false}{F090}{}
+\Test{utf8}{utf32}{false}{F0907F}{|0000007F}
+\Test{utf8}{utf32}{false}{F09080}{}
+\Test{utf8}{utf32}{false}{F090807F}{|0000007F}
+\Test{utf8}{utf32}{true}{F0908080}{00010000}
+\Test{utf8}{utf32}{false}{F0808080}{}
+\Test{utf8}{utf32}{false}{F08080807F}{|0000007F}
+\Test{utf8}{utf32}{true}{F1808080}{00040000}
+\Test{utf8}{utf32}{true}{F3BFBFBF}{000FFFFF}
+\Test{utf8}{utf32}{true}{F4808080}{00100000}
+\Test{utf8}{utf32}{true}{F48FBFBF}{0010FFFF}
+\Test{utf8}{utf32}{false}{F4BFBFBF}{}
+\Test{utf8}{utf32}{false}{F4BFBFBF7F}{|0000007F}
+\Test{utf16be}{utf8}{true}{0000}{00}
+\Test{utf16be}{utf8}{true}{007F}{7F}
+\Test{utf16be}{utf8}{true}{0080}{C280}
+\Test{utf16be}{utf8}{true}{07FF}{DFBF}
+\Test{utf16be}{utf8}{true}{0800}{E0A080}
+\Test{utf16be}{utf8}{true}{0FFF}{E0BFBF}
+\Test{utf16be}{utf8}{true}{1000}{E18080}
+\Test{utf16be}{utf8}{true}{CFFF}{ECBFBF}
+\Test{utf16be}{utf8}{true}{D000}{ED8080}
+\Test{utf16be}{utf8}{true}{D7FF}{ED9FBF}
+\Test{utf16be}{utf8}{false}{D800}{}
+\Test{utf16be}{utf8}{false}{DFFF}{}
+\Test{utf16be}{utf8}{true}{E000}{EE8080}
+\Test{utf16be}{utf8}{true}{FFFF}{EFBFBF}
+\Test{utf32be}{utf8}{true}{00010000}{F0908080}
+\Test{utf32be}{utf8}{true}{0003FFFF}{F0BFBFBF}
+\Test{utf32be}{utf8}{true}{00040000}{F1808080}
+\Test{utf32be}{utf8}{true}{000FFFFF}{F3BFBFBF}
+\Test{utf32be}{utf8}{true}{00100000}{F4808080}
+\Test{utf32be}{utf8}{true}{0010FFFF}{F48FBFBF}
+\Test{utf32be}{utf8}{false}{00110000}{}
+\Test{utf32be}{utf8}{false}{001100000000007F}{|7F}
+% \end{macrocode}
+%
+% \subsubsection{ASCII}
+%
+% \begin{macrocode}
+\Test{ascii}{utf8}{true}{007F}{007F}
+\Test{ascii}{utf8}{false}{80}{}
+\Test{ascii}{utf8}{false}{80}{}
+\Test{ascii}{utf8}{false}{807F}{|7F}
+\Test{utf16be}{ascii}{true}{0000007F}{007F}
+\Test{utf16be}{ascii}{false}{0080}{}
+\Test{utf16be}{ascii}{false}{0430}{}
+\Test{utf16be}{ascii}{false}{D800DF02}{}
+\Test{utf16be}{ascii}{false}{D800DF02007F}{|7F}
+\Test{ascii}{utf16be}{true}\AllBytesLow\AllUnicodesLow
+\Test{utf16be}{ascii}{true}\AllUnicodesLow\AllBytesLow
+% \end{macrocode}
+%
+% \subsubsection{PDFDocEncoding}
+%
+% \begin{macrocode}
+\def\pdfdocSlots{%
+ 090A0D18191A1B1C1D1E1F%
+ 202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F%
+ 404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C5D5E5F%
+ 606162636465666768696A6B6C6D6E6F707172737475767778797A7B7C7D7E%
+ 808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E%
+ A0A1A2A3A4A5A6A7A8A9AAABACAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF%
+ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF%
+ E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF%
+}
+\def\pdfdocUnicodes{%
+ 0009000A000D02D802C702C602D902DD02DB02DA02DC%
+ 0020002100220023002400250026002700280029002A002B002C002D002E002F%
+ 0030003100320033003400350036003700380039003A003B003C003D003E003F%
+ 0040004100420043004400450046004700480049004A004B004C004D004E004F%
+ 0050005100520053005400550056005700580059005A005B005C005D005E005F%
+ 0060006100620063006400650066006700680069006A006B006C006D006E006F%
+ 0070007100720073007400750076007700780079007A007B007C007D007E%
+ 202220202021202620142013019220442039203A22122030201E201C201D2018%
+ 2019201A2122FB01FB020141015201600178017D0131014201530161017E%
+ 20AC00A100A200A300A400A500A600A700A800A900AA00AB00AC00AE00AF%
+ 00B000B100B200B300B400B500B600B700B800B900BA00BB00BC00BD00BE00BF%
+ 00C000C100C200C300C400C500C600C700C800C900CA00CB00CC00CD00CE00CF%
+ 00D000D100D200D300D400D500D600D700D800D900DA00DB00DC00DD00DE00DF%
+ 00E000E100E200E300E400E500E600E700E800E900EA00EB00EC00ED00EE00EF%
+ 00F000F100F200F300F400F500F600F700F800F900FA00FB00FC00FD00FE00FF%
+}
+\Test{pdfdoc}{utf16be}{false}%
+ {0001020304050607080B0C0E0F10111213141516177F9FAD}%
+ {}%
+\Test{pdfdoc}{utf16be}{true}\pdfdocSlots\pdfdocUnicodes
+\Test{pdfdoc}{utf16be}{false}\AllBytes{|\pdfdocUnicodes}%
+\Test{utf16be}{pdfdoc}{true}\pdfdocUnicodes\pdfdocSlots
+\Test{utf16be}{pdfdoc}{true}{FEFF0054006500730074}{54657374}
+% \end{macrocode}
+%
+% \subsubsection{ISO-8859-1}
+%
+% \begin{macrocode}
+\Test{iso-8859-1}{utf16be}{true}{007FA0FF}{0000007F00A000FF}
+\Test{iso-8859-1}{utf16be}{false}{80}{}
+\Test{iso-8859-1}{utf16be}{false}{807F}{|007F}
+\Test{iso-8859-1}{utf16be}{false}{9F}{}
+\Test{iso-8859-1}{utf16be}{false}{9F7F}{|007F}
+% \end{macrocode}
+%
+% \subsubsection{CP1252}
+%
+% \begin{macrocode}
+\def\Slots{%
+ \AllBytesLow
+ 8082838485868788898A8B8C8E9192939495969798999A9B9C9E9F%
+ A0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF%
+ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF%
+ E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF%
+}
+\def\Unicodes{%
+ \AllUnicodesLow
+ 20AC201A0192201E20262020202102C62030016020390152017D%
+ 20182019201C201D20222013201402DC21220161203A0153017E0178%
+ 00A000A100A200A300A400A500A600A700A800A900AA00AB00AC00AD00AE00AF%
+ 00B000B100B200B300B400B500B600B700B800B900BA00BB00BC00BD00BE00BF%
+ 00C000C100C200C300C400C500C600C700C800C900CA00CB00CC00CD00CE00CF%
+ 00D000D100D200D300D400D500D600D700D800D900DA00DB00DC00DD00DE00DF%
+ 00E000E100E200E300E400E500E600E700E800E900EA00EB00EC00ED00EE00EF%
+ 00F000F100F200F300F400F500F600F700F800F900FA00FB00FC00FD00FE00FF%
+}
+\Test{cp1252}{utf16be}{false}{818D8F909D}{}
+\Test{cp1252}{utf16be}{true}\Slots\Unicodes
+\Test{utf16be}{cp1252}{true}\Unicodes\Slots
+% \end{macrocode}
+%
+% \subsubsection{KOI8-R}
+%
+% \begin{macrocode}
+\def\Slots{%
+ \AllBytesLow
+ 808182838485868788898A8B8C8D8E8F909192939495969798999A9B9C9D9E9F%
+ A0A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF%
+ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF%
+ E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF%
+}
+\def\Unicodes{%
+ \AllUnicodesLow
+ 25002502250C251025142518251C2524252C2534253C258025842588258C2590%
+ 259125922593232025A02219221A22482264226500A0232100B000B200B700F7%
+ 25502551255204512553255425552556255725582559255A255B255C255D255E%
+ 255F25602561040125622563256425652566256725682569256A256B256C00A9%
+ 044E0430043104460434043504440433044504380439043A043B043C043D043E%
+ 043F044F044004410442044304360432044C044B04370448044D04490447044A%
+ 042E0410041104260414041504240413042504180419041A041B041C041D041E%
+ 041F042F042004210422042304160412042C042B04170428042D04290427042A%
+}
+\Test{koi8-r}{utf16be}{true}\Slots\Unicodes
+\Test{utf16be}{koi8-r}{true}\Unicodes\Slots
+% \end{macrocode}
+%
+% \subsubsection{DEC-MCS}
+%
+% \begin{macrocode}
+\def\Slots{%
+ \AllBytesLow
+ A1A2A3A5A7A8A9AAABB0B1B2B3B5B6B7B9BABBBCBDBF%
+ C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFD1D2D3D4D5D6D7D8D9DADBDCDDDF%
+ E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEFF1F2F3F4F5F6F7F8F9FAFBFCFD%
+}
+\def\Unicodes{%
+ \AllUnicodesLow
+ 00A100A200A300A500A700A400A900AA00AB%
+ 00B000B100B200B300B500B600B700B900BA00BB00BC00BD00BF%
+ 00C000C100C200C300C400C500C600C700C800C900CA00CB00CC00CD00CE00CF%
+ 00D100D200D300D400D500D6015200D800D900DA00DB00DC017800DF%
+ 00E000E100E200E300E400E500E600E700E800E900EA00EB00EC00ED00EE00EF%
+ 00F100F200F300F400F500F6015300F800F900FA00FB00FC00FF%
+}
+\Test{dec-mcs}{utf16be}{true}\Slots\Unicodes
+\Test{dec-mcs}{utf16be}{false}{C0BEC2}{00C0|00C2}
+\Test{utf16be}{dec-mcs}{true}\Unicodes\Slots
+% \end{macrocode}
+%
+% \subsection{Removal of byte order marks}
+%
+% \begin{macrocode}
+\Test{utf16be}{utf16be}{true}{FEFF}{}
+\Test{utf16be}{utf16be}{true}{FFFE}{FFFE}
+\Test{utf16le}{utf16le}{true}{FFFE}{}
+\Test{utf16le}{utf16le}{true}{FEFF}{FEFF}
+\Test{utf32be}{utf32be}{true}{0000FEFF}{}
+\Test{utf32be}{utf32be}{true}{0000FFFE}{0000FFFE}
+\Test{utf32le}{utf32le}{true}{FFFE0000}{}
+\Test{utf32le}{utf32le}{true}{FEFF0000}{FEFF0000}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\csname @@end\endcsname
+% \end{macrocode}
+% \begin{macrocode}
+%</test2>
+% \end{macrocode}
+%
+% \section{Installation}
+%
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
+% CTAN\footnote{\CTANpkg{stringenc}}:
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/stringenc/stringenc.dtx}] The source file.
+% \item[\CTAN{macros/latex/contrib/stringenc/stringenc.pdf}] Documentation.
+% \end{description}
+%
+%
+% \paragraph{Bundle.} All the packages of the bundle `stringenc'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTANinstall{install/macros/latex/contrib/stringenc.tds.zip}]
+% \end{description}
+% \emph{TDS} refers to the standard ``A Directory Structure
+% for \TeX\ Files'' (\CTANpkg{tds}). Directories
+% with \xfile{texmf} in their name are usually organized this way.
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{stringenc.tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip stringenc.tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
+% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
+% \docstrip\ archive. The files are extracted by running the
+% \xfile{.dtx} through \plainTeX:
+% \begin{quote}
+% \verb|tex stringenc.dtx|
+% \end{quote}
+%
+% \paragraph{TDS.} Now the different files must be moved into
+% the different directories in your installation TDS tree
+% (also known as \xfile{texmf} tree):
+% \begin{quote}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
+% stringenc.sty & tex/generic/stringenc/stringenc.sty\\
+% se-utf32be.def & tex/generic/stringenc/se-utf32be.def\\
+% se-utf32le.def & tex/generic/stringenc/se-utf32le.def\\
+% se-utf8.def & tex/generic/stringenc/se-utf8.def\\
+% se-utf16le.def & tex/generic/stringenc/se-utf16le.def\\
+% se-pdfdoc.def & tex/generic/stringenc/se-pdfdoc.def\\
+% se-iso-8859-1.def & tex/generic/stringenc/se-iso-8859-1.def\\
+% se-cp1252.def & tex/generic/stringenc/se-cp1252.def\\
+% se-ascii.def & tex/generic/stringenc/se-ascii.def\\
+% se-ascii-print.def & tex/generic/stringenc/se-ascii-print.def\\
+% se-clean7bit.def & tex/generic/stringenc/se-clean7bit.def\\
+% se-iso-8859-2.def & tex/generic/stringenc/se-iso-8859-2.def\\
+% se-iso-8859-3.def & tex/generic/stringenc/se-iso-8859-3.def\\
+% se-iso-8859-4.def & tex/generic/stringenc/se-iso-8859-4.def\\
+% se-iso-8859-5.def & tex/generic/stringenc/se-iso-8859-5.def\\
+% se-iso-8859-6.def & tex/generic/stringenc/se-iso-8859-6.def\\
+% se-iso-8859-7.def & tex/generic/stringenc/se-iso-8859-7.def\\
+% se-iso-8859-8.def & tex/generic/stringenc/se-iso-8859-8.def\\
+% se-iso-8859-9.def & tex/generic/stringenc/se-iso-8859-9.def\\
+% se-iso-8859-10.def & tex/generic/stringenc/se-iso-8859-10.def\\
+% se-iso-8859-11.def & tex/generic/stringenc/se-iso-8859-11.def\\
+% se-iso-8859-13.def & tex/generic/stringenc/se-iso-8859-13.def\\
+% se-iso-8859-14.def & tex/generic/stringenc/se-iso-8859-14.def\\
+% se-iso-8859-15.def & tex/generic/stringenc/se-iso-8859-15.def\\
+% se-iso-8859-16.def & tex/generic/stringenc/se-iso-8859-16.def\\
+% se-koi8-r.def & tex/generic/stringenc/se-koi8-r.def\\
+% se-nextstep.def & tex/generic/stringenc/se-nextstep.def\\
+% se-mac-centeuro.def & tex/generic/stringenc/se-mac-centeuro.def\\
+% se-mac-cyrillic.def & tex/generic/stringenc/se-mac-cyrillic.def\\
+% se-mac-roman.def & tex/generic/stringenc/se-mac-roman.def\\
+% se-dec-mcs.def & tex/generic/stringenc/se-dec-mcs.def\\
+% se-cp437.def & tex/generic/stringenc/se-cp437.def\\
+% se-cp850.def & tex/generic/stringenc/se-cp850.def\\
+% se-cp852.def & tex/generic/stringenc/se-cp852.def\\
+% se-cp855.def & tex/generic/stringenc/se-cp855.def\\
+% se-cp858.def & tex/generic/stringenc/se-cp858.def\\
+% se-cp865.def & tex/generic/stringenc/se-cp865.def\\
+% se-cp866.def & tex/generic/stringenc/se-cp866.def\\
+% se-cp1250.def & tex/generic/stringenc/se-cp1250.def\\
+% se-cp1251.def & tex/generic/stringenc/se-cp1251.def\\
+% se-cp1257.def & tex/generic/stringenc/se-cp1257.def\\
+% stringenc.pdf & doc/latex/stringenc/stringenc.pdf\\
+% stringenc.dtx & source/latex/stringenc/stringenc.dtx\\
+% \end{tabular}^^A
+% }^^A
+% \sbox0{\t}^^A
+% \ifdim\wd0>\linewidth
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \end{quote}
+% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
+% TDS installing feature, then some files can already be in the right
+% place, see the documentation of \docstrip.
+%
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
+% these. For example, \TeX\,Live\ users run \verb|texhash| or
+% \verb|mktexlsr|.
+%
+% \subsection{Some details for the interested}
+%
+% \paragraph{Unpacking with \LaTeX.}
+% The \xfile{.dtx} chooses its action depending on the format:
+% \begin{description}
+% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\LaTeX:] Generate the documentation.
+% \end{description}
+% If you insist on using \LaTeX\ for \docstrip\ (really,
+% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% about your intention:
+% \begin{quote}
+% \verb|latex \let\install=y\input{stringenc.dtx}|
+% \end{quote}
+% Do not forget to quote the argument according to the demands
+% of your shell.
+%
+% \paragraph{Generating the documentation.}
+% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
+% the documentation. The process can be configured by the
+% configuration file \xfile{ltxdoc.cfg}. For instance, put this
+% line into this file, if you want to have A4 as paper format:
+% \begin{quote}
+% \verb|\PassOptionsToClass{a4paper}{article}|
+% \end{quote}
+% An example follows how to generate the
+% documentation with pdf\LaTeX:
+% \begin{quote}
+%\begin{verbatim}
+%pdflatex stringenc.dtx
+%makeindex -s gind.ist stringenc.idx
+%pdflatex stringenc.dtx
+%makeindex -s gind.ist stringenc.idx
+%pdflatex stringenc.dtx
+%\end{verbatim}
+% \end{quote}
+%
+% \begin{History}
+% \begin{Version}{2007/06/14 v1.0}
+% \item
+% First version.
+% \end{Version}
+% \begin{Version}{2007/06/16 v1.1}
+% \item
+% \cs{StringEncodingConvertTest} added.
+% \item
+% Fixes for cp850, cp852, nextstep.
+% \end{Version}
+% \begin{Version}{2007/09/09 v1.2}
+% \item
+% Uses \cs{EdefSanitize} instead of \cs{PE@sanitize}
+% from package \xpackage{pdfescape} (2007/08/27 v1.5).
+% \end{Version}
+% \begin{Version}{2007/10/22 v1.3}
+% \item
+% \cs{StringEncodingList} added.
+% \item
+% Safer encoding file loading by ensuring all used catcodes.
+% \end{Version}
+% \begin{Version}{2007/11/11 v1.4}
+% \item
+% Use of package \xpackage{pdftexcmds} for \LuaTeX\ support.
+% \end{Version}
+% \begin{Version}{2007/11/25 v1.5}
+% \item
+% Bug in use of \cs{pdf@filesize} fixed, bug introduced in previous version.
+% \end{Version}
+% \begin{Version}{2008/10/27 v1.6}
+% \item
+% Supported encoding list in documentation fixed.
+% \end{Version}
+% \begin{Version}{2009/12/15 v1.7}
+% \item
+% Encoding \xoption{clean7bit} added.
+% \item
+% Encoding \xoption{ascii-print} added.
+% \end{Version}
+% \begin{Version}{2010/03/01 v1.8}
+% \item
+% Compatibility with \iniTeX.
+% \item
+% Use of package \xpackage{ltxcmds}.
+% \end{Version}
+% \begin{Version}{2011/07/26 v1.9}
+% \item
+% Documentation: \xoption{pdfdoc} added in encoding list.
+% \end{Version}
+% \begin{Version}{2011/12/02 v1.10}
+% \item
+% Small improvement for \cs{SE@Nibble@NumToBin} and
+% \cs{SE@Nibble@NumToHex} if \hologo{eTeX} is not available
+% (thanks Bruno Le Floch).
+% \end{Version}
+% \begin{Version}{2016/05/16 v1.11}
+% \item
+% Documentation updates.
+% \end{Version}
+% \begin{Version}{2019/11/29 v1.12}
+% \item
+% Documentation updates.
+% \end{Version}
+% \end{History}
+%
+% \PrintIndex
+%
+% \Finale
+\endinput
diff --git a/macros/latex/contrib/stringenc/stringenc.pdf b/macros/latex/contrib/stringenc/stringenc.pdf
new file mode 100644
index 0000000000..2102af8eca
--- /dev/null
+++ b/macros/latex/contrib/stringenc/stringenc.pdf
Binary files differ
diff --git a/macros/latex/contrib/transparent/README.md b/macros/latex/contrib/transparent/README.md
new file mode 100644
index 0000000000..d45c0c1668
--- /dev/null
+++ b/macros/latex/contrib/transparent/README.md
@@ -0,0 +1,8 @@
+# transparent
+
+transparent package for LaTeX
+
+Since version 1.40 pdfTeX supports several color stacks. This
+package shows, how a separate color stack can be used for transparency,
+a property besides color.
+
diff --git a/macros/latex/contrib/transparent/transparent.dtx b/macros/latex/contrib/transparent/transparent.dtx
new file mode 100644
index 0000000000..1cfec67cf9
--- /dev/null
+++ b/macros/latex/contrib/transparent/transparent.dtx
@@ -0,0 +1,611 @@
+% \iffalse meta-comment
+%
+% File: transparent.dtx
+% Version: 2019/11/29 v1.4
+% Info: Transparency via pdfTeX's color stack
+%
+% Copyright (C)
+% 2007 Heiko Oberdiek
+% 2016-2019 Oberdiek Package Support Group 2018
+% https://github.com/ho-tex/transparent/issues
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any later
+% version. This version of this license is in
+% https://www.latex-project.org/lppl/lppl-1-3c.txt
+% and the latest version of this license is in
+% https://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of
+% LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainers of this work are
+% Heiko Oberdiek and the Oberdiek Package Support Group
+% https://github.com/ho-tex/transparent/issues
+%
+% This work consists of the main source file transparent.dtx
+% and the derived files
+% transparent.sty, transparent.pdf, transparent.ins, transparent.drv,
+% transparent-example.tex.
+%
+% Distribution:
+% CTAN:macros/latex/contrib/transparent/transparent.dtx
+% CTAN:macros/latex/contrib/transparent/transparent.pdf
+%
+% Unpacking:
+% (a) If transparent.ins is present:
+% tex transparent.ins
+% (b) Without transparent.ins:
+% tex transparent.dtx
+% (c) If you insist on using LaTeX
+% latex \let\install=y\input{transparent.dtx}
+% (quote the arguments according to the demands of your shell)
+%
+% Documentation:
+% (a) If transparent.drv is present:
+% latex transparent.drv
+% (b) Without transparent.drv:
+% latex transparent.dtx; ...
+% The class ltxdoc loads the configuration file ltxdoc.cfg
+% if available. Here you can specify further options, e.g.
+% use A4 as paper format:
+% \PassOptionsToClass{a4paper}{article}
+%
+% Programm calls to get the documentation (example):
+% pdflatex transparent.dtx
+% makeindex -s gind.ist transparent.idx
+% pdflatex transparent.dtx
+% makeindex -s gind.ist transparent.idx
+% pdflatex transparent.dtx
+%
+% Installation:
+% TDS:tex/latex/transparent/transparent.sty
+% TDS:doc/latex/transparent/transparent.pdf
+% TDS:source/latex/transparent/transparent.dtx
+%
+%<*ignore>
+\begingroup
+ \catcode123=1 %
+ \catcode125=2 %
+ \def\x{LaTeX2e}%
+\expandafter\endgroup
+\ifcase 0\ifx\install y1\fi\expandafter
+ \ifx\csname processbatchFile\endcsname\relax\else1\fi
+ \ifx\fmtname\x\else 1\fi\relax
+\else\csname fi\endcsname
+%</ignore>
+%<*install>
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation}
+\Msg{* Package: transparent 2019/11/29 v1.4 Transparency via pdfTeX's color stack (HO)}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\let\MetaPrefix\relax
+\preamble
+
+This is a generated file.
+
+Project: transparent
+Version: 2019/11/29 v1.4
+
+Copyright (C)
+ 2007 Heiko Oberdiek
+ 2016-2019 Oberdiek Package Support Group
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either
+version 1.3c of this license or (at your option) any later
+version. This version of this license is in
+ https://www.latex-project.org/lppl/lppl-1-3c.txt
+and the latest version of this license is in
+ https://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainers of this work are
+Heiko Oberdiek and the Oberdiek Package Support Group
+https://github.com/ho-tex/transparent/issues
+
+
+This work consists of the main source file transparent.dtx
+and the derived files
+ transparent.sty, transparent.pdf, transparent.ins, transparent.drv,
+ transparent-example.tex.
+
+\endpreamble
+\let\MetaPrefix\DoubleperCent
+
+\generate{%
+ \file{transparent.ins}{\from{transparent.dtx}{install}}%
+ \file{transparent.drv}{\from{transparent.dtx}{driver}}%
+ \usedir{tex/latex/transparent}%
+ \file{transparent.sty}{\from{transparent.dtx}{package}}%
+ \usedir{doc/latex/transparent}%
+ \file{transparent-example.tex}{\from{transparent.dtx}{example}}%
+ \nopreamble
+ \nopostamble
+% \usedir{source/latex/transparent/catalogue}%
+% \file{transparent.xml}{\from{transparent.dtx}{catalogue}}%
+}
+
+\catcode32=13\relax% active space
+\let =\space%
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* transparent.sty}
+\Msg{*}
+\Msg{* To produce the documentation run the file `transparent.drv'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+%</install>
+%<*ignore>
+\fi
+%</ignore>
+%<*driver>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesFile{transparent.drv}%
+ [2019/11/29 v1.4 Transparency via pdfTeX's color stack (HO)]%
+\documentclass{ltxdoc}
+\usepackage{holtxdoc}[2011/11/22]
+\begin{document}
+ \DocInput{transparent.dtx}%
+\end{document}
+%</driver>
+% \fi
+%
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+% \GetFileInfo{transparent.drv}
+%
+% \title{The \xpackage{transparent} package}
+% \date{2019/11/29 v1.4}
+% \author{Heiko Oberdiek\thanks
+% {Please report any issues at \url{https://github.com/ho-tex/transparent/issues}}}
+%
+% \maketitle
+%
+% \begin{abstract}
+% Since version 1.40 \pdfTeX\ supports several color stacks. This
+% package shows, how a separate color stack can be used for transparency,
+% a property besides color.
+% \end{abstract}
+%
+% \tableofcontents
+%
+% \section{User interface}
+%
+% The package \xpackage{transparent} defines \cs{transparent} and
+% \cs{texttransparent}. They are used like \cs{color} and \cs{textcolor}.
+% The first argument is the transparency value between 0 and 1.
+%
+% Because of the poor interface for page resources, there can be problems
+% with packages that also use \cs{pdfpageresources}.
+%
+% Example for usage:
+% \begin{macrocode}
+%<*example>
+\documentclass[12pt]{article}
+
+\usepackage{color}
+\usepackage{transparent}
+
+\begin{document}
+\colorbox{yellow}{%
+ \bfseries
+ \color{blue}%
+ Blue and %
+ \transparent{0.6}%
+ transparent blue%
+}
+
+\bigskip
+Hello World
+\texttransparent{0.5}{Hello\newpage World}
+Hello World
+\end{document}
+%</example>
+% \end{macrocode}
+%
+% \StopEventually{
+% }
+%
+% \section{Implementation}
+%
+% \subsection{Identification}
+%
+% \begin{macrocode}
+%<*package>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{transparent}%
+ [2019/11/29 v1.4 Transparency via pdfTeX's color stack (HO)]%
+% \end{macrocode}
+%
+% \subsection{Initial checks}
+%
+% \subsubsection{Check for \pdfTeX\ in PDF mode}
+% \begin{macrocode}
+\RequirePackage{iftex}
+\ifpdf
+\else
+ \PackageWarningNoLine{transparent}{%
+ Loading aborted, because pdfTeX is not running in PDF mode%
+ }%
+ \expandafter\endinput
+\fi
+% \end{macrocode}
+%
+% \subsubsection{Check \pdfTeX\ or Lua\TeX\ version}
+% \begin{macrocode}
+\ifx\pdfextension\@undefined
+ \let\TRP@pdfcolorstackinit\pdfcolorstackinit
+ \let\TRP@pdfpageresources\pdfpageresources
+ \let\TRP@pdfcolorstack\pdfcolorstack
+\else
+ \def\TRP@pdfcolorstackinit {\pdffeedback colorstackinit}
+ \protected\edef\TRP@pdfpageresources {\pdfvariable pageresources}
+ \protected\def\TRP@pdfcolorstack {\pdfextension colorstack}
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ifcsname TRP@pdfcolorstackinit\endcsname\else
+ \PackageWarningNoLine{transparent}{%
+ Your pdfTeX version does not support color stacks%
+ }%
+ \expandafter\endinput
+\fi
+% \end{macrocode}
+%
+% \subsection{Compatibility with pgf}
+% https://github.com/ho-tex/transparent/issues/1
+% \begin{macrocode}
+\AtBeginDocument
+ {%
+ \ifcsname pgfutil@addpdfresource@extgs\endcsname
+ \let\TRP@addresource\relax
+ \pgfutil@addpdfresource@extgs{\TRP@list}%
+ \fi
+ }
+% \end{macrocode}
+% \subsection{Transparency}
+%
+% The setting for the different transparency values must
+% be added to the page resources. In the first run the values
+% are recorded in the \xfile{.aux} file. In the second run
+% the values are set and transparency is available.
+% \begin{macrocode}
+\RequirePackage{auxhook}
+\AddLineBeginAux{%
+ \string\providecommand{\string\transparent@use}[1]{}%
+}
+\gdef\TRP@list{/TRP1<</ca 1/CA 1>>}
+\def\transparent@use#1{%
+ \@ifundefined{TRP#1}{%
+ \g@addto@macro\TRP@list{%
+ /TRP#1<</ca #1/CA #1>>%
+ }%
+ \expandafter\gdef\csname TRP#1\endcsname{/TRP#1 gs}%
+ }{%
+ % #1 is already known, nothing to do
+ }%
+}
+\AtBeginDocument{%
+ \TRP@addresource
+ \let\transparent@use\@gobble
+}
+% \end{macrocode}
+% Unhappily the interface setting page resources is very
+% poor, only a token register \cs{pdfpageresources}.
+% Thus this package tries to be cooperative in the way that
+% it embeds the previous contents of \cs{pdfpageresources}.
+% However it does not solve the problem, if several packages
+% want to set |/ExtGState|.
+% \begin{macrocode}
+\def\TRP@addresource{%
+ \begingroup
+ \edef\x{\endgroup
+ \TRP@pdfpageresources{%
+ \the\TRP@pdfpageresources
+ /ExtGState<<\TRP@list>>%
+ }%
+ }%
+ \x
+}
+\newif\ifTRP@rerun
+\xdef\TRP@colorstack{%
+ \TRP@pdfcolorstackinit page direct{/TRP1 gs}%
+}
+% \end{macrocode}
+% \begin{macro}{\transparent}
+% \begin{macrocode}
+\newcommand*{\transparent}[1]{%
+ \begingroup
+ \dimen@=#1\p@\relax
+ \ifdim\dimen@>\p@
+ \dimen@=\p@
+ \fi
+ \ifdim\dimen@<\z@
+ \dimen@=\z@
+ \fi
+ \ifdim\dimen@=\p@
+ \def\x{1}%
+ \else
+ \ifdim\dimen@=\z@
+ \def\x{0}%
+ \else
+ \edef\x{\strip@pt\dimen@}%
+ \edef\x{\expandafter\@gobble\x}%
+ \fi
+ \fi
+ \if@filesw
+ \immediate\write\@auxout{%
+ \string\transparent@use{\x}%
+ }%
+ \fi
+ \edef\x{\endgroup
+ \def\noexpand\transparent@current{\x}%
+ }%
+ \x
+ \transparent@set
+}
+% \end{macrocode}
+% \end{macro}
+% \begin{macrocode}
+\AtEndDocument{%
+ \ifTRP@rerun
+ \PackageWarningNoLine{transparent}{%
+ Rerun to get transparencies right%
+ }%
+ \fi
+}
+\def\transparent@current{/TRP1 gs}
+\def\transparent@set{%
+ \@ifundefined{TRP\transparent@current}{%
+ \global\TRP@reruntrue
+ }{%
+ \TRP@pdfcolorstack\TRP@colorstack push{%
+ \csname TRP\transparent@current\endcsname
+ }%
+ \aftergroup\transparent@reset
+ }%
+}
+\def\transparent@reset{%
+ \TRP@pdfcolorstack\TRP@colorstack pop\relax
+}
+% \end{macrocode}
+% \begin{macro}{\texttransparent}
+% \begin{macrocode}
+\newcommand*{\texttransparent}[2]{%
+ \protect\leavevmode
+ \begingroup
+ \transparent{#1}%
+ #2%
+ \endgroup
+}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+% \section{Installation}
+%
+% \subsection{Download}
+%
+% \paragraph{Package.} This package is available on
+% CTAN\footnote{\CTANpkg{transparent}}:
+% \begin{description}
+% \item[\CTAN{macros/latex/contrib/transparent/transparent.dtx}] The source file.
+% \item[\CTAN{macros/latex/contrib/transparent/transparent.pdf}] Documentation.
+% \end{description}
+%
+%
+% \paragraph{Bundle.} All the packages of the bundle `transparent'
+% are also available in a TDS compliant ZIP archive. There
+% the packages are already unpacked and the documentation files
+% are generated. The files and directories obey the TDS standard.
+% \begin{description}
+% \item[\CTANinstall{install/macros/latex/contrib/transparent.tds.zip}]
+% \end{description}
+% \emph{TDS} refers to the standard ``A Directory Structure
+% for \TeX\ Files'' (\CTANpkg{tds}). Directories
+% with \xfile{texmf} in their name are usually organized this way.
+%
+% \subsection{Bundle installation}
+%
+% \paragraph{Unpacking.} Unpack the \xfile{transparent.tds.zip} in the
+% TDS tree (also known as \xfile{texmf} tree) of your choice.
+% Example (linux):
+% \begin{quote}
+% |unzip transparent.tds.zip -d ~/texmf|
+% \end{quote}
+%
+% \subsection{Package installation}
+%
+% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
+% \docstrip\ archive. The files are extracted by running the
+% \xfile{.dtx} through \plainTeX:
+% \begin{quote}
+% \verb|tex transparent.dtx|
+% \end{quote}
+%
+% \paragraph{TDS.} Now the different files must be moved into
+% the different directories in your installation TDS tree
+% (also known as \xfile{texmf} tree):
+% \begin{quote}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
+% transparent.sty & tex/latex/transparent/transparent.sty\\
+% transparent.pdf & doc/latex/transparent/transparent.pdf\\
+% transparent-example.tex & doc/latex/transparent/transparent-example.tex\\
+% transparent.dtx & source/latex/transparent/transparent.dtx\\
+% \end{tabular}^^A
+% }^^A
+% \sbox0{\t}^^A
+% \ifdim\wd0>\linewidth
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \end{quote}
+% If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's
+% TDS installing feature, then some files can already be in the right
+% place, see the documentation of \docstrip.
+%
+% \subsection{Refresh file name databases}
+%
+% If your \TeX~distribution
+% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh
+% these. For example, \TeX\,Live\ users run \verb|texhash| or
+% \verb|mktexlsr|.
+%
+% \subsection{Some details for the interested}
+%
+% \paragraph{Unpacking with \LaTeX.}
+% The \xfile{.dtx} chooses its action depending on the format:
+% \begin{description}
+% \item[\plainTeX:] Run \docstrip\ and extract the files.
+% \item[\LaTeX:] Generate the documentation.
+% \end{description}
+% If you insist on using \LaTeX\ for \docstrip\ (really,
+% \docstrip\ does not need \LaTeX), then inform the autodetect routine
+% about your intention:
+% \begin{quote}
+% \verb|latex \let\install=y\input{transparent.dtx}|
+% \end{quote}
+% Do not forget to quote the argument according to the demands
+% of your shell.
+%
+% \paragraph{Generating the documentation.}
+% You can use both the \xfile{.dtx} or the \xfile{.drv} to generate
+% the documentation. The process can be configured by the
+% configuration file \xfile{ltxdoc.cfg}. For instance, put this
+% line into this file, if you want to have A4 as paper format:
+% \begin{quote}
+% \verb|\PassOptionsToClass{a4paper}{article}|
+% \end{quote}
+% An example follows how to generate the
+% documentation with pdf\LaTeX:
+% \begin{quote}
+%\begin{verbatim}
+%pdflatex transparent.dtx
+%makeindex -s gind.ist transparent.idx
+%pdflatex transparent.dtx
+%makeindex -s gind.ist transparent.idx
+%pdflatex transparent.dtx
+%\end{verbatim}
+% \end{quote}
+%
+% \begin{History}
+% \begin{Version}{2007/01/08 v1.0}
+% \item
+% First version.
+% \end{Version}
+% \begin{Version}{2016/05/16 v1.1}
+% \item
+% Documentation updates.
+% \end{Version}
+% \begin{Version}{2018/09/10 v1.2}
+% \item
+% Update for LuaTeX, remove dependency on Pdf\TeX\ command names.
+% \end{Version}
+% \begin{Version}{2018/11/18 v1.3}
+% \item
+% Added code for pgf compatibility, see https://github.com/ho-tex/transparent/issues/1
+% \end{Version}
+% \begin{Version}{2019/11/29 v1.4}
+% \item
+% Documentation updates.
+% \item
+% Use \xpackage{iftex} package.
+% \end{Version}
+% \end{History}
+%
+% \PrintIndex
+%
+% \Finale
+\endinput
diff --git a/macros/latex/contrib/transparent/transparent.pdf b/macros/latex/contrib/transparent/transparent.pdf
new file mode 100644
index 0000000000..3eec17c736
--- /dev/null
+++ b/macros/latex/contrib/transparent/transparent.pdf
Binary files differ