summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-10 22:17:04 +0000
committerKarl Berry <karl@freefriends.org>2019-12-10 22:17:04 +0000
commite3d3d0b218d7c26a0ab0547288ce9b8f0ec4a7ff (patch)
treed654414440d9781634ce8cde7c22d10620cb4374 /Master/texmf-dist/tex/latex/oberdiek
parent0b29f1d9bb37fb5c793896273962d8e746a56a3c (diff)
oberdiek (10dec19)
git-svn-id: svn://tug.org/texlive/trunk@53088 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/askinclude.sty703
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty13
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/listingsutf8.sty193
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/picture.sty241
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/selinput.sty275
5 files changed, 6 insertions, 1419 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/askinclude.sty b/Master/texmf-dist/tex/latex/oberdiek/askinclude.sty
deleted file mode 100644
index cb96f529b4b..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/askinclude.sty
+++ /dev/null
@@ -1,703 +0,0 @@
-%%
-%% This is file `askinclude.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% askinclude.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: askinclude
-%% Version: 2018/11/01 v2.4
-%%
-%% Copyright (C)
-%% 1991-1994 Pablo A. Straub
-%% 2007, 2008, 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/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file askinclude.dtx
-%% and the derived files
-%% askinclude.sty, askinclude.pdf, askinclude.ins, askinclude.drv,
-%% askinclude.bib, askinclude-a.tex, askinclude-b.tex,
-%% askinclude-c.tex, askinclude-test1.tex,
-%% askinclude-test2.tex, askinclude-test3.tex,
-%% askinclude-test4.tex, askinclude-test5.tex,
-%% askinclude-test6.tex, askinclude-test7.tex,
-%% askinclude-test8.tex, askinclude-test9.tex,
-%% askinclude-test10.tex, askinclude-test11.tex,
-%% askinclude-test12.tex, askinclude-test13.tex,
-%% askinclude-test14.tex, askinclude-test15.tex,
-%% askinclude-test16.tex, askinclude-test17.tex,
-%% askinclude-test18.tex, askinclude-test19.tex,
-%% askinclude-test20.tex, askinclude-test21.tex,
-%% askinclude-test22.tex, askinclude-test23.tex,
-%% askinclude-test24.tex.
-%%
-\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 AskInc@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\AskInc@AtEnd{%
- \AskInc@AtEnd
- \catcode#1=\the\catcode#1\relax
- }%
- \catcode#1=#2\relax
-}
-\TMP@EnsureCode{33}{12}% !
-\TMP@EnsureCode{39}{12}% '
-\TMP@EnsureCode{40}{12}% (
-\TMP@EnsureCode{41}{12}% )
-\TMP@EnsureCode{42}{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{62}{12}% >
-\TMP@EnsureCode{63}{12}% ?
-\TMP@EnsureCode{91}{12}% [
-\TMP@EnsureCode{93}{12}% ]
-\TMP@EnsureCode{96}{12}% `
-\edef\AskInc@AtEnd{\AskInc@AtEnd\noexpand\endinput}
-\ProvidesPackage{askinclude}%
- [2018/11/01 v2.4 Interactive asking of included files]%
-\ifx\pdfextension\@undefined\else
- \protected\def\pdflastobj {\numexpr\pdffeedback lastobj\relax}
- \protected\def\pdfnames {\pdfextension names }
- \protected\def\pdfobj {\pdfextension obj }
- \let\pdfoutput \outputmode
-\fi
-\AtBeginDocument{%
- \let\AskInc@AtBeginDocument\@firstofone
-}
-\providecommand*{\AskInc@AtBeginDocument}{\AtBeginDocument}
-\def\AskInc@WriteAux#1#2{%
- \AskInc@AtBeginDocument{%
- \if@filesw
- \immediate\write\@mainaux{#1}%
- #2%
- \fi
- }%
-}
-\edef\AskInc@CharHash{\string#}
-\def\AskInc@WriteDefAddList{%
- \AskInc@WriteAux{%
- \string\providecommand*\string\AskInc@AddList[2]{%
- \string\ifcase\string\ifx\AskInc@CharHash1\string\@undefined
- \string\else
- \string\ifx\AskInc@CharHash1\string\relax
- \string\else
- \string\ifx\AskInc@CharHash1\string\@empty
- \string\else
- 1%
- \string\fi
- \string\fi
- \string\fi
- 0 %
- \string\gdef\AskInc@CharHash1{\AskInc@CharHash2}%
- \string\else
- \string\g@addto@macro\AskInc@CharHash1{,\AskInc@CharHash2}%
- \string\fi
- }%
- }{%
- \global\let\AskInc@WriteDefAddList\relax
- }%
-}
-\def\AskInc@WriteDefAddFile{%
- \AskInc@WriteDefAddList
- \AskInc@WriteAux{%
- \string\providecommand\string\AskInc@AddFile{%
- \string\AskInc@AddList\string\AskInc@Files
- }%
- }{%
- \global\let\AskInc@WriteDefAddFile\relax
- }%
-}
-\AtBeginDocument{%
- \global\let\AskInc@AddFile\@gobble
-}
-\def\AskInc@WriteAddFile#1{%
- \AskInc@WriteDefAddFile
- \AskInc@WriteAux{%
- \string\AskInc@AddFile{#1}%
- }{}%
-}
-\providecommand*{\AskInc@Files}{}
-\newcommand{\AskInc@OrgInclude}{}
-\let\AskInc@OrgInclude\include
-\let\AskInc@AskFile\@gobble
-\let\AskInc@MatchFile\@gobble
-\renewcommand*{\include}[1]{%
- \AskInc@WriteAddFile{#1}%
- \AskInc@AskFile{#1}%
- \AskInc@MatchFile{#1}%
- \AskInc@OrgInclude{#1}%
-}
-\AtEndOfPackage{%
- \AtBeginDocument{%
- \@ifundefined{AskInc@Answer}{}{%
- \AskInc@WriteAux{%
- \string\gdef\string\AskInc@Answer{\AskInc@Answer}%
- }{}%
- }%
- \@ifundefined{AskInc@MatchMethod}{}{%
- \AskInc@WriteAux{%
- \string\gdef\string\AskInc@MatchMethod{\AskInc@MatchMethod}%
- }{}%
- }%
- }%
-}
-\providecommand*{\@includeonly}[1]{%
- \gdef\AskInc@Answer{#1}%
- \ifx\AskInc@Answer\@empty
- \gdef\AskInc@Answer{-}%
- \fi
- \global\let\AskInc@MatchMethod\@empty
-}
-\if@partsw
- \PackageWarningNoLine{askinclude}{%
- Previous \string\includeonly\space detected,\MessageBreak
- therefore asking for files is suppressed%
- }%
- \DeclareOption{makematch}{}%
- \DeclareOption{pdfmatch}{}%
- \DeclareOption{noregexp}{}%
- \ProcessOptions*%
- \@ifundefined{AskInc@MatchFiles}{%
- }{%
- \ifx\AskInc@MatchMethod\@empty
- \else
- \AskInc@WriteAux{%
- \string\gdef\string\AskInc@MatchFiles{\AskInc@MatchFiles}%
- }{}%
- \fi
- }%
- \expandafter\AskInc@AtEnd
-\fi%
-\newcommand{\AskInc@OrgIncludeOnly}{}%
-\let\AskInc@OrgIncludeOnly\includeonly
-\renewcommand*{\includeonly}[1]{%
- \PackageWarning{askinclude}{%
- \string\includeonly\space is managed by package `askinclude',%
- \MessageBreak
- therefore it is ignored%
- }%
-}
-\def\AskInc@StringNoRegExp{noregexp}
-\def\AskInc@StringMakeMatch{makematch}
-\def\AskInc@StringPdfMatch{pdfmatch}
-\newif\ifAskInc@PdfMatchAvailable
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname pdfmatch\endcsname\relax
-\else
- \AskInc@PdfMatchAvailabletrue
-\fi
-\DeclareOption{makematch}{%
- \let\AskInc@MatchOption\AskInc@StringMakeMatch
-}
-\ifAskInc@PdfMatchAvailable
- \DeclareOption{pdfmatch}{%
- \let\AskInc@MatchOption\AskInc@StringPdfMatch
- }%
-\else
- \DeclareOption{pdfmatch}{%
- \PackageWarningNoLine{askinclude}{%
- Option `pdfmatch' is not available because\MessageBreak
- your pdfTeX does not provide \string\pdfmatch
- }%
- }%
-\fi
-\DeclareOption{noregexp}{%
- \let\AskInc@MatchOption\@empty
-}
-\ProcessOptions*
-\def\AskInc@CharAsterisk{*}
-\def\AskInc@CharMinus{-}
-\def\AskInc@CharPlus{+}
-\def\AskInc@CharQuestion{?}
-\def\AskInc@CharExclam{!}
-\def\AskInc@CharYes{y}
-\def\AskInc@CharNo{n}
-\def\AskInc@CharAll{A}
-\def\AskInc@CharNone{N}
-\def\AskInc@CharDefault{D}
-\def\AskInc@SanitizeAnswer#1#2{%
- \begingroup
- \escapechar=`\\%
- \edef\[{\string\[}%
- \edef\]{\string\]}%
- \edef\({\string\(}%
- \edef\){\string\)}%
- \edef\*{\string\*}%
- \edef\+{\string\+}%
- \edef\?{\string\?}%
- \edef\|{\string\|}%
- \edef\^{\string\^}%
- \edef\${\string\$}%
- \edef\{{\string\{}%
- \edef\}{\string\}}%
- \edef\.{\string\.}%
- \xdef#1{%
- \expandafter\expandafter\expandafter\zap@space
- \expandafter#2\space\@empty
- }%
- \endgroup
-}
-\AtBeginDocument{%
- \@ifundefined{AskInc@Answer}{%
- \global\let\AskInc@Answer\AskInc@CharAsterisk
- }{%
- \AskInc@SanitizeAnswer\AskInc@Answer\AskInc@Answer
- }%
- \global\let\AskInc@PreviousAnswer\AskInc@Answer
- \@ifundefined{AskInc@MatchMethod}{%
- \global\let\AskInc@MatchMethod\@empty
- }{}%
- \global\let\AskInc@PreviousMatchMethod\AskInc@MatchMethod
- \@ifundefined{AskInc@MatchOption}{%
- \let\AskInc@MatchOption\AskInc@MatchMethod
- }{}%
- \ifx\AskInc@MatchOption\AskInc@StringPdfMatch
- \ifAskInc@PdfMatchAvailable
- \else
- \let\AskInc@MatchOption\@empty
- \fi
- \fi
- \@ifundefined{AskInc@MatchFiles}{%
- \let\AskInc@MatchFiles\@empty
- }{}%
-}
-\def\AskInc@QuestionHeader{%
- \typeout{}%
- \typeout{***********************************}%
- \typeout{*** Package askinclude Question ***}%
- \typeout{***********************************}%
- \typeout{}%
-}
-\def\AskInc@TypeoutFiles{%
- \global\let\AskInc@PreviousMatches\@empty
- \ifx\AskInc@Files\@empty
- \else
- \typeout{Files, found by previous run in \string\include:}%
- \@for\AskInc@File:=\AskInc@Files\do{%
- \ifx\AskInc@Answer\AskInc@CharAsterisk
- \let\AskInc@Mark\AskInc@CharPlus
- \else
- \let\AskInc@Mark\AskInc@CharMinus
- \ifx\AskInc@Answer\AskInc@CharMinus
- \else
- \ifx\AskInc@MatchMethod\@empty
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi
- {\@for\AskInc@Temp:=\AskInc@Answer}%
- {\@for\AskInc@Temp:=\AskInc@MatchFiles}%
- \do{%
- \ifx\AskInc@File\AskInc@Temp
- \let\AskInc@Mark\AskInc@CharPlus
- \fi
- }%
- \fi
- \fi
- \typeout{ \@spaces(\AskInc@Mark) \AskInc@File}%
- \ifx\AskInc@Mark\AskInc@CharPlus
- \ifx\AskInc@PreviousMatches\@empty
- \global\let\AskInc@PreviousMatches\AskInc@File
- \else
- \expandafter\g@addto@macro
- \expandafter\AskInc@PreviousMatches{%
- \expandafter,\AskInc@File
- }%
- \fi
- \fi
- }%
- \typeout{}%
- \fi
-}
-\def\AskInc@TypeoutPreviousAnswer{%
- \typeout{%
- Previous answer (%
- \ifx\AskInc@MatchMethod\@empty
- noregexp%
- \else
- \AskInc@MatchMethod
- \fi
- ):%
- }%
- \typeout{ \@spaces[\AskInc@Answer]}%
- \typeout{}%
-}
-\def\AskInc@TypeoutMatchMethod{%
- \typeout{Regular expressions:}%
- \AskInc@TypeoutMethod\@empty{noregexp}{%
- \space disabled%
- }%
- \AskInc@TypeoutMethod\AskInc@StringMakeMatch{makematch}{%
- enabled, using package `makematch'%
- }%
- \ifAskInc@PdfMatchAvailable
- \AskInc@TypeoutMethod\AskInc@StringPdfMatch{pdfmatch}{%
- \space enabled, using pdfTeX's \string\pdfmatch
- }%
- \fi
- \typeout{}%
-}
-\def\AskInc@TypeoutMethod#1#2#3{%
- \typeout{%
- \ifx#1\AskInc@MatchOption \space--> \else\@spaces\space\fi
- [#2] #3% hash-ok
- }%
-}
-\def\AskInc@TypeoutMainQuestion{%
- \typeout{Which files do you want to include?}%
- \typeout{ \@spaces[foo,bar] \space\space
- comma separated file or pattern list}%
- \typeout{ \@spaces[*] \@spaces\@spaces all files}%
- \typeout{ \@spaces[-] \@spaces\@spaces no files}%
- \typeout{ \@spaces[?] \@spaces\@spaces ask for each file}%
-}
-\def\AskInc@MainQuestion{%
- \AskInc@QuestionHeader
- \AskInc@TypeoutFiles
- \AskInc@TypeoutPreviousAnswer
- \AskInc@TypeoutMatchMethod
- \AskInc@TypeoutMainQuestion
- \begingroup
- \@makeother\*%
- \@makeother\-%
- \@makeother\?%
- \@makeother\,%
- \@makeother\!%
- \@makeother\^%
- \@makeother\$%
- \@makeother\(%
- \@makeother\)%
- \@makeother\+%
- \@makeother\[%
- \@makeother\]%
- \@makeother\\%
- \@makeother\|%
- \@makeother\:%
- \@makeother\.%
- \typein[\answer]%
- { \@spaces[] \space\@spaces\@spaces use the previous answer}%
- \typeout{}%
- \AskInc@SanitizeAnswer\AskInc@@Answer\answer
- \endgroup
- \let\AskInc@Next\AskInc@MainQuestion
- \ifx\AskInc@@Answer\AskInc@StringNoRegExp
- \let\AskInc@MatchOption\@empty
- \else
- \ifx\AskInc@@Answer\AskInc@StringMakeMatch
- \let\AskInc@MatchOption\AskInc@StringMakeMatch
- \else
- \ifx\AskInc@@Answer\AskInc@StringPdfMatch
- \ifAskInc@PdfMatchAvailable
- \let\AskInc@MatchOption\AskInc@StringPdfMatch
- \else
- \PackageWarning{askinclude}{%
- Method `pdfmatch' is not available because\MessageBreak
- your pdfTeX does not provide \string\pdfmatch
- }%
- \let\AskInc@MatchOption\@empty
- \fi
- \else
- \ifx\AskInc@@Answer\@empty
- \global\let\AskInc@@Answer\AskInc@Answer
- \fi
- \let\AskInc@Next\AskInc@MainAnswer
- \fi
- \fi
- \fi
- \AskInc@Next
-}
-\def\AskInc@MainAnswer{%
- \ifx\AskInc@@Answer\AskInc@CharQuestion
- \global\let\AskInc@Answer\@empty
- \global\let\AskInc@MatchMethod\@empty
- \global\let\AskInc@AskFile\AskInc@DoAskFile
- \AskInc@OrgIncludeOnly{}%
- \else
- \global\let\AskInc@Answer\AskInc@@Answer
- \ifx\AskInc@@Answer\AskInc@CharAsterisk
- \global\let\AskInc@MatchMethod\@empty
- \else
- \ifx\AskInc@@Answer\AskInc@CharMinus
- \global\let\AskInc@MatchMethod\@empty
- \AskInc@OrgIncludeOnly{}%
- \else
- \global\let\AskInc@MatchMethod\AskInc@MatchOption
- \ifx\AskInc@MatchOption\@empty
- \expandafter\AskInc@OrgIncludeOnly\expandafter{%
- \AskInc@Answer
- }%
- \else
- \AskInc@MatchInit
- \AskInc@OrgIncludeOnly{}%
- \fi
- \fi
- \fi
- \fi
- \let\AskInc@Include\AskInc@DoInclude
-}
-\def\AskInc@MatchInit{%
- \RequirePackage{kvsetkeys}[2007/09/29]%
- \expandafter\comma@normalize\expandafter{\AskInc@Answer}%
- \global\let\AskInc@MatchList\comma@list
- \def\AskInc@MatchFile##1{%
- \AskInc@DoMatch{##1}{%
- \AskInc@WriteAddMatch{##1}%
- \ifx\@partlist\@empty
- \gdef\@partlist{##1}%
- \else
- \g@addto@macro\@partlist{,##1}%
- \fi
- }%
- }%
- \ifx\AskInc@MatchMethod\AskInc@StringMakeMatch
- \AskInc@MakeMatchInit
- \else
- \AskInc@PdfMatchInit
- \fi
- \let\AskInc@MatchInit\@undefined
-}
-\def\AskInc@MakeMatchInit{%
- \RequirePackage{makematch}%
- \def\AskInc@DoMatch##1{%
- \def\AskInc@Temp{%
- \MakeMatcher[,]\AskInc@Temp
- }%
- \expandafter\AskInc@Temp\expandafter{\AskInc@MatchList}%
- \AskInc@Temp{{##1}}\@firstofone\@gobble
- }%
- \let\AskInc@MakeMatchInit\@undefined
-}
-\def\AskInc@PdfMatchInit{%
- \newif\ifAskInc@Found
- \def\AskInc@DoMatch##1{%
- \AskInc@Foundfalse
- \expandafter\comma@parse@normalized\expandafter
- {\AskInc@MatchList}{\AskInc@CheckMatch{##1}}%
- \ifAskInc@Found
- \expandafter\@firstofone
- \else
- \expandafter\@gobble
- \fi
- }%
- \def\AskInc@CheckMatch##1##2{%
- \AskInc@@CheckMatch##2\@empty\@nil{##1}%
- }%
- \def\AskInc@@CheckMatch##1##2\@nil##3{%
- \def\AskInc@Temp{##1}%
- \ifx\AskInc@Temp\AskInc@CharExclam
- \ifcase\pdfmatch{##2}{##3}=1 %
- \or
- \AskInc@Foundfalse
- \else
- \AskInc@InvalidPattern{##2}{##1##2}%
- \fi
- \else
- \ifcase\pdfmatch{##1##2}{##3} %
- \or
- \AskInc@Foundtrue
- \else
- \AskInc@InvalidPattern{##1##2}{##1##2}%
- \fi
- \fi
- }%
- \def\AskInc@InvalidPattern##1##2{%
- \edef\AskInc@Temp{##1}%
- \PackageWarningNoLine{askinclude}{%
- Invalid pattern `\AskInc@Temp' for \string\pdfmatch
- }%
- \edef\AskInc@Temp{##2}%
- \global\expandafter\let\expandafter\AskInc@MatchList
- \expandafter\@empty
- \expandafter\comma@parse@normalized\expandafter
- {\AskInc@MatchList}\AskInc@FilterPattern
- }%
- \def\AskInc@FilterPattern##1{%
- \edef\AskInc@Pattern{##1}%
- \ifx\AskInc@Temp\AskInc@Pattern
- \else
- \ifx\AskInc@MatchList\@empty
- \global\let\AskInc@MatchList\AskInc@Pattern
- \else
- \expandafter\g@addto@macro\expandafter\AskInc@MatchList{%
- \expandafter,\AskInc@Pattern
- }%
- \fi
- \fi
- }%
- \let\AskInc@PdfMatchInit\@undefined
-}
-\def\AskInc@WriteDefAddMatch{%
- \AskInc@WriteDefAddList
- \AskInc@WriteAux{%
- \string\providecommand\string\AskInc@AddMatch{%
- \string\AskInc@AddList\string\AskInc@MatchFiles
- }%
- }{%
- \global\let\AskInc@WriteDefAddMatch\relax
- }%
-}
-\AtBeginDocument{%
- \global\let\AskInc@AddMatch\@gobble
-}
-\def\AskInc@WriteAddMatch#1{%
- \AskInc@WriteDefAddMatch
- \AskInc@WriteAux{%
- \string\AskInc@AddMatch{#1}%
- }{}%
-}
-\def\AskInc@SaveAnswer{%
- \AskInc@WriteAux{%
- \string\gdef\string\AskInc@Answer{\AskInc@Answer}%
- }{}%
-}
-\@ifundefined{AskInc@PreviousAnswer}{%
- \let\AskInc@PreviousAnswer\AskInc@CharAsterisk
-}{}
-\@ifundefined{AskInc@PreviousMatchMethod}{%
- \let\AskInc@PreviousMatchMethod\@empty
-}{}
-\def\AskInc@DoAskFile#1{%
- \edef\AskInc@File{#1}%
- \ifx\AskInc@PreviousAnswer\AskInc@CharAsterisk
- \let\AskInc@Default\AskInc@CharYes
- \else
- \let\AskInc@Default\AskInc@CharNo
- \ifx\AskInc@PreviousAnswer\AskInc@CharMinus
- \else
- \ifx\AskInc@PreviousMatchMethod\@empty
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi
- {\@for\AskInc@Temp:=\AskInc@PreviousAnswer}%
- {\@for\AskInc@Temp:=\AskInc@MatchFiles}%
- \do{%
- \ifx\AskInc@Temp\AskInc@File
- \let\AskInc@Default\AskInc@CharYes
- \fi
- }%
- \fi
- \ifx\AskInc@Default\AskInc@CharNo
- \let\AskInc@Default\AskInc@CharYes
- \@for\AskInc@Temp:=\AskInc@Files\do{%
- \ifx\AskInc@Temp\AskInc@File
- \let\AskInc@Default\AskInc@CharNo
- \fi
- }%
- \fi
- \fi
- \let\AskInc@@QuestionHeader\AskInc@QuestionHeader
- \AskInc@AskQuestion
- \ifx\AskInc@AskResult\AskInc@CharYes
- \ifx\AskInc@Answer\@empty
- \gdef\AskInc@Answer{#1}%
- \else
- \g@addto@macro\AskInc@Answer{,#1}%
- \fi
- \AskInc@SaveAnswer
- \let\@partlist\AskInc@Answer
- \fi
-}
-\def\AskInc@AskQuestion{%
- \let\AskInc@Temp\answer
- \AskInc@@QuestionHeader
- \let\AskInc@@QuestionHeader\relax
- \typein[\answer]{%
- Include `\AskInc@File'? [y]es, [n]o, [A]ll, [N]one, [D]efault %
- (\AskInc@Default):%
- }%
- \typeout{}%
- \let\AskInc@AskResult\answer
- \let\answer\AskInc@Temp
- \ifx\AskInc@AskResult\@empty
- \let\AskInc@AskResult\AskInc@Default
- \let\AskInc@Next\relax
- \else
- \ifx\AskInc@AskResult\AskInc@CharYes
- \let\AskInc@Next\relax
- \else
- \ifx\AskInc@AskResult\AskInc@CharNo
- \let\AskInc@Next\relax
- \else
- \ifx\AskInc@AskResult\AskInc@CharAll
- \gdef\AskInc@AskQuestion{%
- \let\AskInc@AskResult\AskInc@CharYes
- }%
- \else
- \ifx\AskInc@AskResult\AskInc@CharNone
- \gdef\AskInc@AskQuestion{%
- \let\AskInc@AskResult\AskInc@CharNo
- }%
- \else
- \ifx\AskInc@AskResult\AskInc@CharDefault
- \gdef\AskInc@AskQuestion{%
- \let\AskInc@AskResult\AskInc@Default
- }%
- \else
- \PackageWarningNoLine{askinclude}{%
- Invalid answer [\AskInc@AskResult].\MessageBreak
- Answer must be one letter out of [ynAND]%
- }%
- \fi
- \fi
- \fi
- \let\AskInc@Next\AskInc@AskQuestion
- \fi
- \fi
- \fi
- \AskInc@Next
-}
-\AtBeginDocument{\AskInc@MainQuestion}
-\AskInc@AtEnd%
-
-\endinput
-%%
-%% End of file `askinclude.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty
index f5425bb0200..68747b9437b 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/holtxdoc.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: holtxdoc
-%% Version: 2019/11/12 v0.29
+%% Version: 2019/12/09 v0.30
%%
%% Copyright (C)
%% 1999-2012 Heiko Oberdiek
@@ -38,14 +38,13 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{holtxdoc}%
- [2019/11/12 v0.29 Private additional ltxdoc support (HO)]
+ [2019/12/09 v0.30 Private additional ltxdoc support (HO)]
\PassOptionsToPackage{pdfencoding=auto}{hyperref}
\RequirePackage[numbered]{hypdoc}[2010/03/26]
\RequirePackage{hyperref}[2010/03/30]
\RequirePackage{pdftexcmds}[2010/04/01]
\RequirePackage{ltxcmds}[2010/03/09]
\RequirePackage{hologo}[2011/11/22]
-\RequirePackage{ifluatex}[2010/03/01]
\RequirePackage{array}
\def\hld@info#1{%
\PackageInfo{holtxdoc}{#1\@gobble}%
@@ -233,12 +232,12 @@
\def\XeTeX{\hologo{XeTeX}}
\def\XeLaTeX{\hologo{XeLaTeX}}
\def\plainTeX{\hologo{plainTeX}}
-\providecommand*{\teTeX}{te\TeX}
-\providecommand*{\mikTeX}{mik\TeX}
+\providecommand*{\teTeX}{\hologo{teTeX}}
+\providecommand*{\mikTeX}{\hologo{MiKTeX}}
\providecommand*{\MakeIndex}{\textsl{MakeIndex}}
\providecommand*{\docstrip}{\textsf{docstrip}}
-\providecommand*{\iniTeX}{\mbox{ini-\TeX}}
-\providecommand*{\VTeX}{V\TeX}
+\providecommand*{\iniTeX}{\hologo{iniTeX}}
+\providecommand*{\VTeX}{\hologo{VTeX}}
\CodelineIndex
\EnableCrossrefs
\setcounter{IndexColumns}{2}
diff --git a/Master/texmf-dist/tex/latex/oberdiek/listingsutf8.sty b/Master/texmf-dist/tex/latex/oberdiek/listingsutf8.sty
deleted file mode 100644
index 0590566ab7c..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/listingsutf8.sty
+++ /dev/null
@@ -1,193 +0,0 @@
-%%
-%% This is file `listingsutf8.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% listingsutf8.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: listingsutf8
-%% Version: 2016/05/16 v1.3
-%%
-%% 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/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file listingsutf8.dtx
-%% and the derived files
-%% listingsutf8.sty, listingsutf8.pdf, listingsutf8.ins, listingsutf8.drv,
-%% listingsutf8-test1.tex, listingsutf8-test2.tex,
-%% listingsutf8-test3.tex, listingsutf8-test4.tex,
-%% listingsutf8-test5.tex.
-%%
-\begingroup\catcode61\catcode48\catcode32=10\relax%
- \catcode13=5 % ^^M
- \endlinechar=13 %
- \catcode123=1 % {
- \catcode125=2 % }
- \catcode64=11 % @
- \def\x{\endgroup
- \expandafter\edef\csname lstU@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\lstU@AtEnd{%
- \lstU@AtEnd
- \catcode#1=\the\catcode#1\relax
- }%
- \catcode#1=#2\relax
-}
-\TMP@EnsureCode{10}{12}% ^^J
-\TMP@EnsureCode{33}{12}% !
-\TMP@EnsureCode{36}{3}% $
-\TMP@EnsureCode{38}{4}% &
-\TMP@EnsureCode{39}{12}% '
-\TMP@EnsureCode{40}{12}% (
-\TMP@EnsureCode{41}{12}% )
-\TMP@EnsureCode{42}{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{94}{7}% ^ (superscript)
-\TMP@EnsureCode{95}{8}% _ (subscript)
-\TMP@EnsureCode{96}{12}% `
-\TMP@EnsureCode{124}{12}% |
-\TMP@EnsureCode{126}{13}% ~ (active)
-\edef\lstU@AtEnd{\lstU@AtEnd\noexpand\endinput}
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{listingsutf8}%
- [2016/05/16 v1.3 Allow UTF-8 in listings input (HO)]
-\DeclareOption*{%
- \PassOptionsToPackage\CurrentOption{listings}%
-}
-\ProcessOptions*
-\RequirePackage{listings}[2002/04/01]
-\AtBeginDocument{%
- \@ifundefined{inputencoding}{%
- \RequirePackage{inputenc}%
- }{}%
-}
-\RequirePackage{pdftexcmds}[2011/04/22]
-\def\lstU@temp#1#2{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname #1\endcsname\relax
- \PackageWarningNoLine{listingsutf8}{%
- Package loading is aborted because of missing %
- \@backslashchar#1.\MessageBreak
- #2%
- }%
- \expandafter\lstU@AtEnd
- \fi
-}
-\lstU@temp{scantokens}{It is provided by e-TeX}%
-\lstU@temp{pdf@unescapehex}{It is provided by pdfTeX >= 1.30}%
-\lstU@temp{pdf@filedump}{It is provided by pdfTeX >= 1.30}%
-\lstU@temp{pdf@filesize}{It is provided by pdfTeX >= 1.30}%
-\RequirePackage{stringenc}[2010/03/01]
-\newif\iflstU@utfviii
-\def\lstU@inputenc#1{%
- \expandafter\lstU@@inputenc#1utf8/utf8/\@nil
-}
-\def\lstU@@inputenc#1utf8/#2utf8/#3\@nil{%
- \ifx\\#1\\%
- \lstU@utfviiitrue
- \def\lst@inputenc{#2}%
- \else
- \lstU@utfviiifalse
- \fi
-}
-\lst@Key{inputencoding}\relax{%
- \def\lst@inputenc{#1}%
- \lstU@inputenc{#1}%
-}
-\def\lstU@input#1{%
- \iflstU@utfviii
- \edef\lstU@text{%
- \pdf@unescapehex{%
- \pdf@filedump{0}{\pdf@filesize{#1}}{#1}%
- }%
- }%
- \lstU@CRLFtoLF\lstU@text
- \StringEncodingConvert\lstU@text\lstU@text{utf8}\lst@inputenc
- \def\lstU@temp{%
- \scantokens\expandafter{\lstU@text}%
- }%
- \else
- \def\lstU@temp{%
- \input{#1}%
- }%
- \fi
- \lstU@temp
-}
-\begingroup
- \endlinechar=-1 %
- \@makeother\^^J %
- \@makeother\^^M %
- \gdef\lstU@CRLFtoLF#1{%
- \edef#1{%
- \expandafter\lstU@CRLFtoLF@aux#1^^M^^J\@nil
- }%
- }%
- \gdef\lstU@CRLFtoLF@aux#1^^M^^J#2\@nil{%
- #1%
- \ifx\relax#2\relax
- \@car
- \fi
- ^^J%
- \lstU@CRLFtoLF@aux#2\@nil
- }%
-\endgroup %
-\def\lstU@temp#1\def\lst@next#2#3\@nil{%
- \def\lst@InputListing##1{%
- #1%
- \def\lst@next{\lstU@input{##1}}%
- #3%
- }%
-}
-\expandafter\lstU@temp\lst@InputListing{#1}\@nil
-\lstU@AtEnd%
-%% \section{Installation}
-\endinput
-%%
-%% End of file `listingsutf8.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/picture.sty b/Master/texmf-dist/tex/latex/oberdiek/picture.sty
deleted file mode 100644
index 0893d9dd041..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/picture.sty
+++ /dev/null
@@ -1,241 +0,0 @@
-%%
-%% This is file `picture.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% picture.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: picture
-%% Version: 2016/05/16 v1.4
-%%
-%% Copyright (C)
-%% 2006-2009 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/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file picture.dtx
-%% and the derived files
-%% picture.sty, picture.pdf, picture.ins, picture.drv,
-%% picture-example.tex.
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{picture}%
- [2016/05/16 v1.4 Dimens for picture macros (HO)]%
-\def\Pc@calcname{calc}
-\def\Pc@etexname{etex}
-\def\Pc@plainname{plain}
-\@ifpackageloaded{calc}{%
- \let\Pc@method\Pc@calcname
-}{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname dimexpr\endcsname\relax
- \let\Pc@method\Pc@plainname
- \else
- \let\Pc@method\Pc@etexname
- \fi
-}
-\DeclareOption{plain}{%
- \let\Pc@method\Pc@plainname
-}
-\DeclareOption{etex}{%
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname dimexpr\endcsname\relax
- \PackageError{picture}{%
- e-TeX is not available%
- }\@ehc
- \else
- \let\Pc@method\Pc@etexname
- \fi
-}
-\DeclareOption{calc}{%
- \let\Pc@method\Pc@calcname
-}
-\ProcessOptions*
-\begingroup
- \let\on@line\@empty
- \PackageInfo{picture}{Calculation method: \Pc@method}%
-\endgroup
-\ifx\Pc@method\Pc@calcname
- \RequirePackage{calc}%
-\fi
-\ifx\Pc@method\Pc@calcname
- \def\Pc@tokslength#1{%
- \begingroup
- \let\calc@error\Pc@calc@error
- \setlength\dimen@{#1\unitlength}\Pc@next\Pc@nil{#1}%
- }%
- \let\PcOrg@calc@error\calc@error
- \@ifpackagelater{calc}{2007/08/22}{% v4.3
- \def\Pc@calc@error#1{%
- \expandafter\ifx\expandafter\unitlength\noexpand#1\relax
- \def\calc@next##1!{%
- \endgroup
- \aftergroup\afterassignment
- \aftergroup\Pc@next
- }%
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi
- {%
- \calc@next{#1}%
- }{%
- \PcOrg@calc@error{#1}%
- }%
- }%
- }{%
- \def\Pc@calc@error#1{%
- \expandafter\ifx\expandafter\unitlength\noexpand#1\relax
- \def\calc@next##1!{%
- \endgroup
- \aftergroup\afterassignment
- \aftergroup\Pc@next
- }%
- \expandafter\@gobble
- \else
- \expandafter\@firstofone
- \fi
- {%
- \PcOrg@calc@error{#1}%
- }%
- }%
- }%
-\fi
-\ifx\Pc@method\Pc@etexname
- \def\Pc@tokslength#1{%
- \begingroup
- \afterassignment\Pc@next
- \dimen@=\dimexpr#1\unitlength\Pc@nil{#1}%
- }%
-\fi
-\ifx\Pc@method\Pc@plainname
- \def\Pc@tokslength#1{%
- \begingroup
- \afterassignment\Pc@next
- \dimen@=#1\unitlength\Pc@nil{#1}%
- }%
-\fi
-\def\Pc@next#1\Pc@nil#2{%
- \ifx\\#1\\%
- \endgroup
- \Pc@addtoks{{#2}}%
- \else
- \expandafter\endgroup
- \expandafter\Pc@addtoks\expandafter{%
- \expandafter{\the\dimen@\@gobble}%
- }%
- \fi
-}
-\let\Pc@nil\message
-\def\Pc@addtoks#1{%
- \toks@=\expandafter{\the\toks@#1}%
-}
-\def\Pc@init#1{%
- \begingroup
- \toks@={#1}%
-}
-\def\Pc@finish#1{%
- \expandafter\endgroup
- \expandafter#1\the\toks@
-}
-\def\picture@redefine#1#2{%
- \begingroup
- \edef\reserved@a{%
- \noexpand\noexpand
- \expandafter\noexpand
- \csname PcOrg@\expandafter\@gobble\string#1\endcsname
- }%
- \toks0{#1}%
- \Pc@first#2&0%
-}
-\def\Pc@first#1&{%
- \toks1={#1}%
- \toks2={\Pc@init{#1}}%
- \Pc@scanlength
-}
-\def\Pc@scanlength#1{%
- \ifcase#1 %
- \expandafter\Pc@last
- \else
- \toks1=\expandafter{\the\toks1 ###1}%
- \toks2=\expandafter{\the\toks2 \Pc@tokslength{###1}}%
- \expandafter\Pc@scannext
- \fi
-}
-\def\Pc@scannext#1&{%
- \ifx\\#1\\%
- \else
- \toks1=\expandafter{\the\toks1 #1}%
- \toks2=\expandafter{\the\toks2 \Pc@addtoks{#1}}%
- \fi
- \Pc@scanlength
-}
-\def\Pc@last{%
- \edef\x{%
- \endgroup
- \let\reserved@a\the\toks0 %
- \def\the\toks0 \the\toks1 {%
- \the\toks2 %
- \noexpand\Pc@finish\reserved@a
- }%
- }%
- \x
-}
-\picture@redefine\@picture{(&1,&2)(&3,&4)}
-\picture@redefine\put{(&1,&2)}
-\picture@redefine\multiput{(&1,&2)}
-\picture@redefine\@multiput{(&1,&2)}
-\picture@redefine\line{(#1,#2)&3}
-\picture@redefine\vector{(#1,#2)&3}
-\picture@redefine\dashbox{&1(&2,&3)}
-\picture@redefine\@circle{&1}
-\picture@redefine\@dot{&1}
-\picture@redefine\@bezier{#1(&2,&3)(&4,&5)(&6,&7)}
-\picture@redefine\@imakepicbox{(&1,&2)}
-\@ifpackageloaded{pspicture}{%
- \picture@redefine\@oval{[&1](&2,&3)}%
- \picture@redefine\Line{(&1,&2)}%
- \picture@redefine\Curve{(&1,&2)}%
- \picture@redefine\Vector{(&1,&2)}%
-}{%
- \picture@redefine\@oval{(&1,&2)}%
-}
-\def\Pc@checkpackage#1{%
- \@ifpackageloaded{#1}{%
- }{%
- \AtBeginDocument{%
- \@ifpackageloaded{#1}{%
- \PackageWarningNoLine{picture}{%
- Package `#1' is loaded after `picture'.\MessageBreak
- Load package `picture' afterwards to get full support%
- \MessageBreak
- of its additional syntax with length specifications%
- }%
- }{}%
- }%
- }%
-}
-\Pc@checkpackage{pict2e}
-\Pc@checkpackage{pspicture}
-\endinput
-%%
-%% End of file `picture.sty'.
diff --git a/Master/texmf-dist/tex/latex/oberdiek/selinput.sty b/Master/texmf-dist/tex/latex/oberdiek/selinput.sty
deleted file mode 100644
index c04f46dddcc..00000000000
--- a/Master/texmf-dist/tex/latex/oberdiek/selinput.sty
+++ /dev/null
@@ -1,275 +0,0 @@
-%%
-%% This is file `selinput.sty',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% selinput.dtx (with options: `package')
-%%
-%% This is a generated file.
-%%
-%% Project: selinput
-%% Version: 2016/05/17 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/oberdiek/issues
-%%
-%%
-%% This work consists of the main source file selinput.dtx
-%% and the derived files
-%% selinput.sty, selinput.pdf, selinput.ins, selinput.drv,
-%% selinput-test1.tex, selinput-test2.tex, selinput-test3.tex,
-%% selinput-test4.tex, selinput-test5.tex.
-%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{selinput}
- [2016/05/17 v1.4 Semi-automatic input encoding detection (HO)]%
-\RequirePackage{inputenc}
-\RequirePackage{kvsetkeys}[2006/10/19]
-\RequirePackage{stringenc}[2007/06/16]
-\RequirePackage{kvoptions}
-\newcommand*{\SelectInputEncodingList}{%
- \let\SIE@EncodingList\@empty
- \kvsetkeys{SelInputEnc}%
-}
-\newcommand*{\SelectInputMappings}[1]{%
- \SIE@LoadNameDefs
- \let\SIE@StringUnicode\@empty
- \let\SIE@StringDest\@empty
- \kvsetkeys{SelInputMap}{#1}%
- \ifx\\SIE@StringUnicode\SIE@StringDest\\%
- \PackageError{selinput}{%
- No mappings specified%
- }\@ehc
- \else
- \EdefUnescapeHex\SIE@StringUnicode\SIE@StringUnicode
- \let\SIE@Encoding\@empty
- \@for\SIE@EncodingTest:=\SIE@EncodingList\do{%
- \ifx\SIE@Encoding\@empty
- \StringEncodingConvertTest\SIE@temp\SIE@StringUnicode
- {utf16be}\SIE@EncodingTest{%
- \ifx\SIE@temp\SIE@StringDest
- \let\SIE@Encoding\SIE@EncodingTest
- \fi
- }{}%
- \fi
- }%
- \ifx\SIE@Encoding\@empty
- \StringEncodingConvertTest\SIE@temp\SIE@StringDest
- {ascii}{utf16be}{%
- \def\SIE@Encoding{ascii}%
- \SIE@Info{selinput}{%
- Matching encoding not found, but input characters%
- \MessageBreak
- are 7-bit (possibly editor replacements).%
- \MessageBreak
- Hence using ascii encoding%
- }%
- }{}%
- \fi
- \ifx\SIE@Encoding\@empty
- \PackageError{selinput}{%
- Cannot find a matching encoding%
- }\@ehd
- \else
- \ifx\SIE@Encoding\SIE@EncodingUTFviii
- \SIE@LoadUnicodePackage
- \ifx\SIE@UseUTFviii\@empty
- \else
- \let\SIE@Encoding\SIE@UseUTFviii
- \fi
- \fi
- \begingroup\expandafter\expandafter\expandafter\endgroup
- \expandafter\ifx\csname InputEncoding\endcsname\relax
- \inputencoding\SIE@Encoding
- \else
- \InputEncoding\SIE@Encoding
- \fi
- \SIE@Info{selinput}{Encoding `\SIE@Encoding' selected}%
- \fi
- \fi
-}
-\def\SIE@LoadNameDefs{%
- \begingroup
- \endlinechar=\m@ne
- \catcode92=0 % backslash
- \catcode123=1 % left curly brace/beginning of group
- \catcode125=2 % right curly brace/end of group
- \catcode37=14 % percent/comment character
- \@makeother\[%
- \@makeother\]%
- \@makeother\.%
- \@makeother\(%
- \@makeother\)%
- \@makeother\/%
- \@makeother\-%
- \let\InputenxName\SelectInputDefineMapping
- \InputIfFileExists{ix-name.def}{}{%
- \PackageError{selinput}{%
- Missing `ix-name.def' (part of package `inputenx')%
- }\@ehd
- }%
- \global\let\SIE@LoadNameDefs\relax
- \endgroup
-}
-\newcommand*{\SelectInputDefineMapping}[1]{%
- \expandafter\gdef\csname SIE@@#1\endcsname
-}
-\kv@set@family@handler{SelInputMap}{%
- \@onelevel@sanitize\kv@key
- \ifx\kv@value\relax
- \PackageError{selinput}{%
- Missing input character for `\kv@key'%
- }\@ehc
- \else
- \@onelevel@sanitize\kv@value
- \ifx\kv@value\@empty
- \PackageError{selinput}{%
- Input character got lost?\MessageBreak
- Missing input character for `\kv@key'%
- }\@ehc
- \else
- \@ifundefined{SIE@@\kv@key}{%
- \PackageWarning{selinput}{%
- Missing definition for `\kv@key'%
- }%
- }{%
- \edef\SIE@StringDest{%
- \SIE@StringDest
- \kv@value
- }%
- \edef\SIE@StringUnicode{%
- \SIE@StringUnicode
- \csname SIE@@\kv@key\endcsname
- }%
- }%
- \fi
- \fi
-}
-\kv@set@family@handler{SelInputEnc}{%
- \@onelevel@sanitize\kv@key
- \ifx\kv@value\relax
- \ifx\SIE@EncodingList\@empty
- \let\SIE@EncodingList\kv@key
- \else
- \edef\SIE@EncodingList{\SIE@EncodingList,\kv@key}%
- \fi
- \else
- \@onelevel@sanitize\kv@value
- \PackageError{selinput}{%
- Illegal key value pair (\kv@key=\kv@value)\MessagBreak
- in encoding list%
- }\@ehc
- \fi
-}
-\def\SIE@LoadUnicodePackage{%
- \@ifpackageloaded\SIE@UnicodePackage{}{%
- \RequirePackage\SIE@UnicodePackage\relax
- }%
- \SIE@PatchUCS
- \global\let\SIE@LoadUnicodePackage\relax
-}
-\let\SIE@show\show
-\def\SIE@PatchUCS{%
- \AtBeginDocument{%
- \expandafter\ifx\csname ver@ucsencs.def\endcsname\relax
- \else
- \let\show\SIE@show
- \fi
- }%
-}
-\SIE@PatchUCS
-\AtBeginDocument{%
- \let\SIE@LoadUnicodePackage\relax
-}
-\def\SIE@EncodingUTFviii{utf8}
-\@onelevel@sanitize\SIE@EncodingUTFviii
-\def\SIE@EncodingUTFviiix{utf8x}
-\@onelevel@sanitize\SIE@EncodingUTFviiix
-\let\SIE@UnicodePackage\@empty
-\let\SIE@UseUTFviii\@empty
-\let\SIE@Info\PackageInfo
-\SetupKeyvalOptions{%
- family=SelInput,%
- prefix=SelInput@%
-}
-\define@key{SelInput}{utf8}{%
- \def\SIE@UseUTFviii{#1}%
- \@onelevel@sanitize\SIE@UseUTFviii
-}
-\DeclareBoolOption{ucs}
-\DeclareVoidOption{warning}{%
- \let\SIE@Info\PackageWarning
-}
-\ProcessKeyvalOptions{SelInput}
-\ifSelInput@ucs
- \def\SIE@UnicodePackage{ucs}%
- \ifx\SIE@UseUTFviii\@empty
- \let\SIE@UseUTFviii\SIE@EncodingUTFviiix
- \fi
-\else
- \ifx\SIE@UseUTFviii\@empty
- \@ifpackageloaded{ucs}{%
- \let\SIE@UseUTFviii\SIE@EncodingUTFviiix
- }{%
- \let\SIE@UseUTFviii\SIE@EncodingUTFviii
- }%
- \fi
-\fi
-\edef\SIE@EncodingList{%
- utf8,%
- x-iso-8859-1,%
- x-iso-8859-15,%
- x-cp1252,% ansinew
- x-mac-roman,%
- x-iso-8859-2,%
- x-iso-8859-3,%
- x-iso-8859-4,%
- x-iso-8859-5,%
- x-iso-8859-6,%
- x-iso-8859-7,%
- x-iso-8859-8,%
- x-iso-8859-9,%
- x-iso-8859-10,%
- x-iso-8859-11,%
- x-iso-8859-13,%
- x-iso-8859-14,%
- x-iso-8859-15,%
- x-mac-centeuro,%
- x-mac-cyrillic,%
- x-koi8-r,%
- x-cp1250,%
- x-cp1251,%
- x-cp1257,%
- x-cp437,%
- x-cp850,%
- x-cp852,%
- x-cp855,%
- x-cp858,%
- x-cp865,%
- x-cp866,%
- x-nextstep,%
- x-dec-mcs%
-}%
-\@onelevel@sanitize\SIE@EncodingList
-%% \section{Installation}
-\endinput
-%%
-%% End of file `selinput.sty'.