From d2a693db266c86383445df581593a627a79f5140 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 11 Jun 2018 12:37:24 +0900 Subject: aeb-pro update --- texmf-dist/tex/latex/aeb-pro/aeb_pro.sty | 33 ++- texmf-dist/tex/latex/aeb-pro/aeblayers.def | 13 +- texmf-dist/tex/latex/aeb-pro/aebpro.def | 2 +- texmf-dist/tex/latex/aeb-pro/anime_support.def | 2 +- texmf-dist/tex/latex/aeb-pro/btnnanime.def | 2 +- texmf-dist/tex/latex/aeb-pro/create_icon.def | 2 +- texmf-dist/tex/latex/aeb-pro/linkto.def | 264 +++++++++++++++++ texmf-dist/tex/latex/aeb-pro/ocganime.def | 2 +- texmf-dist/tex/latex/aeb-pro/unicodes.def | 380 ------------------------- 9 files changed, 298 insertions(+), 402 deletions(-) create mode 100644 texmf-dist/tex/latex/aeb-pro/linkto.def delete mode 100644 texmf-dist/tex/latex/aeb-pro/unicodes.def (limited to 'texmf-dist/tex') diff --git a/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty b/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty index 5bf819ed..76c534b4 100644 --- a/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty +++ b/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% @@ -19,7 +19,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}[1997/12/01] \ProvidesPackage{aeb_pro} - [2017/03/08 v2.8a aeb_pro: A support package (dps)] + [2018/02/17 v2.9b aeb_pro: A support package (dps)] \RequirePackage{ifpdf}[2006/02/20] \RequirePackage{ifxetex}[2006/08/21] \RequirePackage{xkeyval} @@ -93,13 +93,15 @@ \DeclareOptionX{!optattachments}{% \optattachmentsTakentrue \optattachmentsfalse} -\def\@aeb@InputUnicodes{\InputIfFileExists{unicodes.def}% - {\typeout{aeb_pro: Inputting code for the linktoattachments option}}% - {\typeout{aeb_pro: Cannot find unicodes.def. - Reinstall or refresh your file name database, as needed.}}} +\def\@aeb@InputUnicodes{\InputIfFileExists{linkto.def}% + {\PackageInfo{aeb_pro}{Inputting code for the linktoattachments + option}}{\PackageWarning{aeb_pro}{Cannot find linkto.def. + Reinstall or refresh your file name database, as needed.}}} \let\aeb@InputUnicodes\@empty -\DeclareOptionX{linktoattachments}{% - \let\aeb@InputUnicodes\@aeb@InputUnicodes} +\DeclareOptionX{linktoattachments}{% dps23 + \let\aeb@InputUnicodes\@aeb@InputUnicodes +} +\def\ap@RequireUnicode{\RequirePackage{forms16be}} % dps23 \let\aeb@childofInput\@empty \let\aeb@childof\@empty \DeclareOptionX{childof}{\def\aeb@childof{#1}\def\aeb@childofInput{% @@ -164,10 +166,10 @@ \let\aebp@isattach\aebp@NO \ifx\aeb@attachsource\@empty\else\let\aebp@isattach\aebp@YES\fi \ifx\aeb@attachments\@empty\else\let\aebp@isattach\aebp@YES\fi - \let\aeb@attachsource\@empty - \let\aeb@attachments\@empty - \optattachmentsfalse\optattachmentsTakenfalse - \let\inputAttachmentRelatedFiles\relax +\let\aeb@attachsource\@empty +\let\aeb@attachments\@empty +\optattachmentsfalse\optattachmentsTakenfalse +\let\inputAttachmentRelatedFiles\relax \ifx\aebp@isattach\aebp@YES \PackageWarningNoLine{aeb_pro}{The various attachment options are not\MessageBreak supported with the nopro option, @@ -293,15 +295,20 @@ \RequirePackage{comment} \RequirePackage{calc} \RequirePackage{eso-pic} +\ifx\aeb@InputUnicodes\@empty\else\expandafter +\ap@RequireUnicode\fi% dps23 \ifpdfmarkup\else\if\aebp@uselayers1 \excludecomment{printRollover}% \excludecomment{rollover}% \fi\fi \def\aeb@IWVO{\immediate\write\verbatim@out} \newsavebox{\aebsavehelp} +\definecolor{webblue}{rgb}{0,0,.8} +\newcommand{\pdfHelpIndicatorColor}{webblue} \newcommand{\pdfHelpIndicator}[1]{#1\thinspace${}^{\mbox {\footnotesize\negthinspace\ding{109}}% - \raisebox{.225ex}{\llap{\color{webblue}\tiny?\hspace{1.3ex}}}}$} + \raisebox{.225ex}{\llap{\color{\pdfHelpIndicatorColor}% + \tiny?\hspace{1.3ex}}}}$} \def\pdfHelpCnt{0} \newcommand{\pdfHelp}{\@ifstar{{\count0=\pdfHelpCnt\relax \advance\count0by1\relax\xdef\pdfHelpCnt{\the\count0 }}% diff --git a/texmf-dist/tex/latex/aeb-pro/aeblayers.def b/texmf-dist/tex/latex/aeb-pro/aeblayers.def index ba716796..d879db39 100644 --- a/texmf-dist/tex/latex/aeb-pro/aeblayers.def +++ b/texmf-dist/tex/latex/aeb-pro/aeblayers.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% @@ -75,9 +75,11 @@ function getLayerState(name) { return ( oLayer != null ) ? oLayer.state : null; } \end{insDLJS} +\newcommand{\texHelpIndicatorColor}{webblue} \newcommand{\texHelpIndicator}[1]{#1\thinspace${}^{\mbox {\footnotesize\negthinspace\ding{109}}\raisebox{.225ex} - {\llap{\color{webblue}\tiny?\hspace{1.3ex}}}}$} + {\llap{\color{\texHelpIndicatorColor}% + \tiny?\hspace{1.3ex}}}}$} \newcommand{\addJStexHelpEnter}[1]{\def\aebp@addJStexHelpEnter{\r#1}} \newcommand{\addJStexHelpExit}[1]{\def\aebp@addJStexHelpExit{\r#1}} \newcommand{\resetaddJStexHelp}{% @@ -85,12 +87,15 @@ function getLayerState(name) { \let\aebp@addJStexHelpExit\@empty } \resetaddJStexHelp -\newcommand{\texHelp}[2]{% +\newif\iftexhelptoggleOff \texhelptoggleOfftrue +\newcommand{\texHelp}{\@ifstar{\texhelptoggleOfffalse\texHelp@i} + {\texhelptoggleOfftrue\texHelp@i}} +\newcommand{\texHelp@i}[2]{% \let\rollormargstring\texorpdfstring \sbox{\aebsavehelp}{\texHelpIndicator{#2}}% \makebox[0pt][l]{\pushButton[\S{S}\BG{}\BC{}\H{N} \AA{\AAMouseEnter{\JS{toggleHelp("#1");\aebp@addJStexHelpEnter}}% - \AAMouseExit{\JS{toggleHelp("#1");\aebp@addJStexHelpExit}}}]{#1}% + \AAMouseExit{\JS{\iftexhelptoggleOff toggleHelp("#1");\fi\aebp@addJStexHelpExit}}}]{#1}% {\wd\aebsavehelp}{\ht\aebsavehelp+\dp\aebsavehelp}}% \usebox{\aebsavehelp}\resetaddJStexHelp \let\rollormargstring\@gobbletwo diff --git a/texmf-dist/tex/latex/aeb-pro/aebpro.def b/texmf-dist/tex/latex/aeb-pro/aebpro.def index a94a39a8..21e4be9b 100644 --- a/texmf-dist/tex/latex/aeb-pro/aebpro.def +++ b/texmf-dist/tex/latex/aeb-pro/aebpro.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% diff --git a/texmf-dist/tex/latex/aeb-pro/anime_support.def b/texmf-dist/tex/latex/aeb-pro/anime_support.def index 7fe42aae..2a2646f0 100644 --- a/texmf-dist/tex/latex/aeb-pro/anime_support.def +++ b/texmf-dist/tex/latex/aeb-pro/anime_support.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% diff --git a/texmf-dist/tex/latex/aeb-pro/btnnanime.def b/texmf-dist/tex/latex/aeb-pro/btnnanime.def index 6ad8a889..c98c9fae 100644 --- a/texmf-dist/tex/latex/aeb-pro/btnnanime.def +++ b/texmf-dist/tex/latex/aeb-pro/btnnanime.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% diff --git a/texmf-dist/tex/latex/aeb-pro/create_icon.def b/texmf-dist/tex/latex/aeb-pro/create_icon.def index 2803e09f..acdfb6e0 100644 --- a/texmf-dist/tex/latex/aeb-pro/create_icon.def +++ b/texmf-dist/tex/latex/aeb-pro/create_icon.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% diff --git a/texmf-dist/tex/latex/aeb-pro/linkto.def b/texmf-dist/tex/latex/aeb-pro/linkto.def new file mode 100644 index 00000000..a54d9508 --- /dev/null +++ b/texmf-dist/tex/latex/aeb-pro/linkto.def @@ -0,0 +1,264 @@ +%% +%% This is file `linkto.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% aeb_pro.dtx (with options: `copyright,unicode') +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% aeb_pro.sty package, %% +%% Copyright (C) 2006--2018 D. P. Story %% +%% dpstory@acrotex.net %% +%% %% +%% This program can redistributed and/or modified under %% +%% the terms of the LaTeX Project Public License %% +%% Distributed from CTAN archives in directory %% +%% macros/latex/base/lppl.txt; either version 1.2 of %% +%% the License, or (at your option) any later version. %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\define@key{ahref}{page}[0]{\def\ahref@page{#1}} +\def\ahref@page{0} +\def\ap@fslash{/} +\def\@isfirstslash#1#2\@nil{\def\arg@i{#1}\ifx\ap@fslash\arg@i + \else\edef\ahref@view@keyvalue{/\ahref@view@keyvalue}\fi} +\define@key{ahref}{view}[/Fit]{\edef\ahref@view@keyvalue{#1}% + \expandafter\@isfirstslash\ahref@view@keyvalue\@nil +} +\def\ahref@view@keyvalue{/Fit} +\define@key{ahref}{dest}[]{\def\ahref@dest{#1}} +\let\ahref@dest\@empty +\define@choicekey{ahref}{open}[\val\nr]{userpref,new,existing} +{% + \ifcase\nr\relax + \let\ahref@open@keyvalue\@empty\or + \def\ahref@open@keyvalue{/NewWindow true }\or + \def\ahref@open@keyvalue{/NewWindow false }\fi +}{} +\let\ahref@open@keyvalue\@empty +\define@choicekey{ahref}{border}[\val\nr]{visible,invisible} +{% + \ifcase\nr\relax + \def\ahref@border{0 0 1}% + \def\ahef@invisible@border{1}\or + \def\ahref@border{0 0 0}% W = 0 also? + \let\ahef@invisible@border\@empty\fi +}{} +\define@choicekey{ahref}{highlight}[\val\nr]{none,invert,outline,insert} +{% + \ifcase\nr\relax + \let\ahref@highlight\@empty\or + \def\ahref@highlight{/H/I}\or + \def\ahref@highlight{/H/O}\or + \def\ahref@highlight{/H/P}\fi +}{} +\define@key{ahref}{bordercolor}[]{\def\ap@argi{#1}\ifx\ap@argi\@empty + \let\ahref@bordercolor\@empty\else + \HyColor@IfXcolor{\HyColor@XZeroOneThreeFour{#1} + {\ahref@bordercolor}{}{}} + {\edef\ahref@bordercolor{#1}}\fi +} % PDF color +\let\ahref@bordercolor\@empty +\define@choicekey{ahref}{linestyle}[\val\nr]{solid,dashed,underlined} +{% + \ifcase\nr\relax + \def\ahref@linestyle@keyvalue{/S/S}\or + \def\ahref@linestyle@keyvalue{/S/D}\or % Dashed [0 0 1[3.0]] + \def\ahref@linestyle@keyvalue{/S/U}\fi +} +\def\ahref@dashedlinetyle{/S/D} +\define@choicekey{ahref}{linewidth}[\val\nr]{thin,medium,thick} +{% + \ifcase\nr\relax + \def\ahref@linewidth{1}\or + \def\ahref@linewidth{2}\or + \def\ahref@linewidth{3}\fi +} +\define@choicekey{ahref}{goto}[\val\nr]{p2c,c2p,c2c} +{% + \ifcase\nr\relax + \global\let\targetDictionary\targetDictionary@pc\or + \global\let\targetDictionary\targetDictionary@cp\or + \global\let\targetDictionary\targetDictionary@cc\fi +}{} +\define@choicekey{ahref}{launch}[\val\nr]{save,view,viewnosave} + {\edef\ahref@launch@type{\nr}}{} +\def\ahref@launch@type{0}% +\define@key{ahref}{preset}[]{\def\ahref@preset{#1}} +\let\ahref@preset\@mpty +\def\ahypertxtcolor#1{\def\ahrefcolor{#1}} +\def\ahrefcolor{red} +\define@key{ahref}{textcolor}[]{\def\ahrefcolor{#1}} +\def\targetDictionary@pc#1{/T</R/C>>} +\def\targetDictionary@cp#1{/T<>} +\def\targetDictionary@cc#1{% +/T</R/C>>>>} +\def\factory@ahyperref@defaults{goto=p2c,page,dest,open=userpref,view,% + border=invisible,highlight=invert,linestyle=solid,linewidth=thin,% + bordercolor,textcolor=red,preset} +\newcommand{\setahyperDefaults}[1]{\def\aeb@setahyperrefDefaults{#1}} +\let\aeb@setahyperrefDefaults\@empty +\newcommand{\resetahyperDefaults}{% + \let\aeb@setahyperrefDefaults\@empty} +\def\aeb@initahref#1{% + \edef\expand@setkeys{% + \noexpand\setkeys{ahref}{\factory@ahyperref@defaults}}% + \expand@setkeys + \ifx\aeb@setahyperrefDefaults\@empty\else + \edef\expand@setkeys{\noexpand\setkeys{ahref}% + [dest,goto,page,preset]{\aeb@setahyperrefDefaults}}% + \expand@setkeys + \fi + \setkeys{ahref}{#1}% + \ifx\ahref@preset\@empty\else + \edef\expand@setkeys{\noexpand + \setkeys{ahref}{\ahref@preset}}\expand@setkeys\fi + \let\ahref@dasharray\@empty + \ifx\ahref@linestyle@keyvalue\ahref@dashedlinetyle + \def\aeb@border@parameters{0 0 \ahref@linewidth[3.0]}% + \def\ahref@dasharray{/D[3.0]}% + \else + \edef\aeb@border@parameters{\ahref@border}% + \fi + \ifx\ahef@invisible@border\@empty\def\ahref@linewidth{0}\fi + \def\ahref@BS@Dict{/BS<<% + \ahref@dasharray\ahref@linestyle@keyvalue/W \ahref@linewidth>> + \ifx\ahref@bordercolor\@empty\else + /C[\ahref@bordercolor]\fi\ahref@highlight}% +} +\newcommand{\ahyperref}[3][]{\begingroup + \dl@preProcDefns + \def\u{\string\\u}% + \aeb@initahref{#1}% + \ifx\ahref@dest\@empty + \def\ahref@dest@keyvalue{% + /D[\ahref@page\space\ahref@view@keyvalue]}% + \else + \edef\ahref@dest@keyvalue{/D(\labelRef{\ahref@dest})}% + \fi + \aeb@ahref@setlink{#2}{#3}% +} +\newcommand{\ahyperlink}[3][]{\begingroup + \dl@preProcDefns + \def\u{\string\\u}% + \aeb@initahref{#1}% + \ifx\ahref@dest\@empty + \def\ahref@dest@keyvalue{% + /D[\ahref@page\space\ahref@view@keyvalue]}% + \else + \def\ahref@dest@keyvalue{/D(\ahref@dest)}% + \fi + \aeb@ahref@setlink{#2}{#3}% +} +\def\aeb@ahref@setlink#1#2{% + \ifx\ahrefcolor\@empty + \@eqlinktxtcolor{}\let\ahypercolor\@empty\else + \def\ahypercolor{\textcolor{\ahrefcolor}}\fi + \setLink[\Border{\aeb@border@parameters}% + \rawPDF{\ahref@BS@Dict}% + \A{\ahref@dest@keyvalue/S/GoToE% + \ahref@open@keyvalue\targetDictionary{#1}}]{\ahypercolor{#2}}% + \endgroup +} +\newcommand{\ahyperextract}[3][]{\begingroup\dl@preProcDefns + \def\u{\string\\u}% + \aeb@initahref{#1}% + \ifx\ahrefcolor\@empty + \@eqlinktxtcolor{}\let\ahypercolor\@empty\else + \def\ahypercolor{\textcolor{\ahrefcolor}}\fi + \setLink[\Border{\aeb@border@parameters}% + \rawPDF{\ahref@BS@Dict}% + \A{\JS{this.exportDataObject({cName: "#2",% +nLaunch: \ahref@launch@type})}}]{\ahypercolor{#3}}% + \endgroup +} +\begingroup\catcode`\"=\active \gdef\DQ{\string\"}% + \gdef\@handledblquotes{\catcode`\"=\active\def"{\DQ}}% + \toks0=\expandafter{\DLspecialDefs\@handledblquotes}% + \xdef\DLspecialDefs{\the\toks0}% +\endgroup +\newif\ifHandleDblQuotes \HandleDblQuotesfalse +\def\sanitize@attach{\ifHandleDblQuotes\@handledblquotes\fi% +\@makeother\#\@makeother\$\@makeother\%\@makeother~} +{\obeyspaces\gdef\getdscrptCont#1{\gdef\aebp@description{#1}% +\aeb@labelName}% +\gdef\getdscrptStrCont#1{\gdef\aebp@description{#1}% +\aeb@labelNamestar}}% +\let\aeb@isFromAutoLabelNum\aebp@Zero +\def\attachmentNamesEnv{attachmentNames} % dps23 +\def\labelName{\ifx\attachNamesEnv\attachmentNamesEnv % dps23 + \def\ap@next{\labelName@Env}\else\def\ap@next{\defUniStr}\fi\ap@next} +\def\labelName@Env#1{\bgroup\let\aeb@isFromAutoLabelNum\aebp@Zero %dps23 + \@for\x:=ABCDEFabcdef\do{\@makeother\x}% + \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@i}{}} +\def\labelName@a#1{\bgroup\let\aeb@isFromAutoLabelNum\aebp@One + \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@i}{}} +\def\labelName@i{\obeyspaces\sanitize@attach\getdscrptCont}% +\def\labelName@star#1{\bgroup\@for\x:=ABCDEFabcdef\do{\@makeother\x}% + \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@star@i}{}}% +\def\labelName@star@i{\obeyspaces\sanitize@attach\getdscrptStrCont}% +\newcommand{\autolabelNum}{% + \@ifstar{\aeb@autoLabelNumstar}{\aeb@autoLabelNum}} +\newcommand\aeb@autoLabelNum[2][]{\def\alnargi{#1}% + \def\@thisattachnum{#2}% + \ifx\alnargi\@empty + \def\aeb@next{% + \labelName@a{attach#2}{AeB\space Attachment\space #2}}% + \else + \def\aeb@next{% + \labelName@a{#1}{AeB\space Attachment\space #2}}% + \fi + \aeb@next% +} +\newcommand{\aeb@autoLabelNumstar}[2][]{% + \def\alnargi{#1}\gdef\@thisattachnum{#2}% + \ifx\alnargi\@empty\def\aeb@next{\labelName@star{attach#2}}\else + \def\aeb@next{\labelName@star{#1}}\fi + \aeb@next% +} +\def\aeb@labelName{% + \if\aeb@isFromAutoLabelNum\aebp@One + \global\csarg\let + {aeb@aDescript@attach\@thisattachnum}\aebp@description + \global\csarg\let + {aeb@aName@attach\@thisattachnum}\aebp@labelname + \else + \global\csarg\let + {aeb@aDescript@\aebp@labelname}\aebp@description + \global\csarg\let + {aeb@aName@\aebp@labelname}\aebp@labelname\fi\egroup} +\def\aeb@labelNamestar{% + \global\csarg\let + {aeb@aDescript@attach\@thisattachnum}\aebp@description + \global\csarg\let{aeb@aName@attach\@thisattachnum}\aebp@labelname + \global\csarg\let{aeb@aDescript@\aebp@labelname}\aebp@description + \global\csarg\let{aeb@aName@\aebp@labelname}\aebp@labelname\egroup} +\@ifpackageloaded{exerquiz}{} +{% + \def\verbatimwrite{\@bsphack + \let\do\@makeother\dospecials + \catcode`\^^M\active\catcode`\^^I=12% + \def\verbatim@processline{% + \immediate\write\verbatim@out + {\the\verbatim@line}}% + \verbatim@start} + \def\endverbatimwrite{\@esphack} +} +\let\attachNamesEnv\@empty +\newenvironment{attachmentNames}{% + \newwrite \aeb@attachments@xref + \immediate\openout \aeb@attachments@xref \jobname_xref.cut + \let\verbatim@out\aeb@attachments@xref + \immediate\write\verbatim@out{\string\begingroup + \string\HandleDblQuotestrue^^J% + \string\def\string\attachNamesEnv{attachmentNames}}% + \verbatimwrite}{% + \endverbatimwrite + \immediate\write\verbatim@out{\string\endgroup}% + \immediate\closeout \aeb@attachments@xref + \aftergroup\aeb@Input@xref} +\def\aeb@Input@xref{\InputIfFileExists{\jobname_xref.cut}{}{}} +\endinput +%% +%% End of file `linkto.def'. diff --git a/texmf-dist/tex/latex/aeb-pro/ocganime.def b/texmf-dist/tex/latex/aeb-pro/ocganime.def index 3545c775..554d70ab 100644 --- a/texmf-dist/tex/latex/aeb-pro/ocganime.def +++ b/texmf-dist/tex/latex/aeb-pro/ocganime.def @@ -8,7 +8,7 @@ %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% +%% Copyright (C) 2006--2018 D. P. Story %% %% dpstory@acrotex.net %% %% %% %% This program can redistributed and/or modified under %% diff --git a/texmf-dist/tex/latex/aeb-pro/unicodes.def b/texmf-dist/tex/latex/aeb-pro/unicodes.def deleted file mode 100644 index 2aa091f7..00000000 --- a/texmf-dist/tex/latex/aeb-pro/unicodes.def +++ /dev/null @@ -1,380 +0,0 @@ -%% -%% This is file `unicodes.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% aeb_pro.dtx (with options: `copyright,unicode') -%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% aeb_pro.sty package, %% -%% Copyright (C) 2006--2017 D. P. Story %% -%% dpstory@acrotex.net %% -%% %% -%% This program can redistributed and/or modified under %% -%% the terms of the LaTeX Project Public License %% -%% Distributed from CTAN archives in directory %% -%% macros/latex/base/lppl.txt; either version 1.2 of %% -%% the License, or (at your option) any later version. %% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\define@key{ahref}{page}[0]{\def\ahref@page{#1}} -\def\ahref@page{0} -\def\ap@fslash{/} -\def\@isfirstslash#1#2\@nil{\def\arg@i{#1}\ifx\ap@fslash\arg@i - \else\edef\ahref@view@keyvalue{/\ahref@view@keyvalue}\fi} -\define@key{ahref}{view}[/Fit]{\edef\ahref@view@keyvalue{#1}% - \expandafter\@isfirstslash\ahref@view@keyvalue\@nil -} -\def\ahref@view@keyvalue{/Fit} -\define@key{ahref}{dest}[]{\def\ahref@dest{#1}} -\let\ahref@dest\@empty -\define@choicekey{ahref}{open}[\val\nr]{userpref,new,existing} -{% - \ifcase\nr\relax - \let\ahref@open@keyvalue\@empty\or - \def\ahref@open@keyvalue{/NewWindow true }\or - \def\ahref@open@keyvalue{/NewWindow false }\fi -}{} -\let\ahref@open@keyvalue\@empty -\define@choicekey{ahref}{border}[\val\nr]{visible,invisible} -{% - \ifcase\nr\relax - \def\ahref@border{0 0 1}% - \def\ahef@invisible@border{1}\or - \def\ahref@border{0 0 0}% W = 0 also? - \let\ahef@invisible@border\@empty\fi -}{} -\define@choicekey{ahref}{highlight}[\val\nr]{none,invert,outline,insert} -{% - \ifcase\nr\relax - \let\ahref@highlight\@empty\or - \def\ahref@highlight{/H/I}\or - \def\ahref@highlight{/H/O}\or - \def\ahref@highlight{/H/P}\fi -}{} -\define@key{ahref}{bordercolor}[]{\def\ap@argi{#1}\ifx\ap@argi\@empty - \let\ahref@bordercolor\@empty\else - \HyColor@IfXcolor{\HyColor@XZeroOneThreeFour{#1} - {\ahref@bordercolor}{}{}} - {\edef\ahref@bordercolor{#1}}\fi -} % PDF color -\let\ahref@bordercolor\@empty -\define@choicekey{ahref}{linestyle}[\val\nr]{solid,dashed,underlined} -{% - \ifcase\nr\relax - \def\ahref@linestyle@keyvalue{/S/S}\or - \def\ahref@linestyle@keyvalue{/S/D}\or % Dashed [0 0 1[3.0]] - \def\ahref@linestyle@keyvalue{/S/U}\fi -} -\def\ahref@dashedlinetyle{/S/D} -\define@choicekey{ahref}{linewidth}[\val\nr]{thin,medium,thick} -{% - \ifcase\nr\relax - \def\ahref@linewidth{1}\or - \def\ahref@linewidth{2}\or - \def\ahref@linewidth{3}\fi -} -\define@choicekey{ahref}{goto}[\val\nr]{p2c,c2p,c2c} -{% - \ifcase\nr\relax - \global\let\targetDictionary\targetDictionary@pc\or - \global\let\targetDictionary\targetDictionary@cp\or - \global\let\targetDictionary\targetDictionary@cc\fi -}{} -\define@choicekey{ahref}{launch}[\val\nr]{save,view,viewnosave} - {\edef\ahref@launch@type{\nr}}{} -\def\ahref@launch@type{0}% -\define@key{ahref}{preset}[]{\def\ahref@preset{#1}} -\let\ahref@preset\@mpty -\def\ahypertxtcolor#1{\def\ahrefcolor{#1}} -\def\ahrefcolor{red} -\define@key{ahref}{textcolor}[]{\def\ahrefcolor{#1}} -\def\targetDictionary@pc#1{% -/T</R/C>>} -\def\targetDictionary@cp#1{/T<>} -\def\targetDictionary@cc#1{% -/T</R/C>>>>} -\def\factory@ahyperref@defaults{goto=p2c,page,dest,open=userpref,view,% - border=invisible,highlight=invert,linestyle=solid,linewidth=thin,% - bordercolor,textcolor=red,preset} -\newcommand{\setahyperDefaults}[1]{\def\aeb@setahyperrefDefaults{#1}} -\let\aeb@setahyperrefDefaults\@empty -\newcommand{\resetahyperDefaults}{% - \let\aeb@setahyperrefDefaults\@empty} -\def\aeb@initahref#1{% - \edef\expand@setkeys{% - \noexpand\setkeys{ahref}{\factory@ahyperref@defaults}}% - \expand@setkeys - \ifx\aeb@setahyperrefDefaults\@empty\else - \edef\expand@setkeys{\noexpand\setkeys{ahref}% - [dest,goto,page,preset]{\aeb@setahyperrefDefaults}}% - \expand@setkeys - \fi - \setkeys{ahref}{#1}% - \ifx\ahref@preset\@empty\else - \edef\expand@setkeys{% - \noexpand\setkeys{ahref}{\ahref@preset}}\expand@setkeys\fi - \let\ahref@dasharray\@empty - \ifx\ahref@linestyle@keyvalue\ahref@dashedlinetyle - \def\aeb@border@parameters{0 0 \ahref@linewidth[3.0]}% - \def\ahref@dasharray{/D[3.0]}% - \else - \edef\aeb@border@parameters{\ahref@border}% - \fi - \ifx\ahef@invisible@border\@empty\def\ahref@linewidth{0}\fi - \def\ahref@BS@Dict{/BS<<% - \ahref@dasharray\ahref@linestyle@keyvalue/W \ahref@linewidth>> - \ifx\ahref@bordercolor\@empty\else - /C[\ahref@bordercolor]\fi\ahref@highlight}% -} -\newcommand{\ahyperref}[3][]{% - \begingroup - \dl@preProcDefns - \def\u{\string\\u}% - \aeb@initahref{#1}% - \ifx\ahref@dest\@empty - \def\ahref@dest@keyvalue{% - /D[\ahref@page\space\ahref@view@keyvalue]}% - \else - \edef\ahref@dest@keyvalue{/D(\labelRef{\ahref@dest})}% - \fi - \aeb@ahref@setlink{#2}{#3}% -} -\newcommand{\ahyperlink}[3][]{% - \begingroup - \dl@preProcDefns - \def\u{\string\\u}% - \aeb@initahref{#1}% - \ifx\ahref@dest\@empty - \def\ahref@dest@keyvalue{% - /D[\ahref@page\space\ahref@view@keyvalue]}% - \else - \def\ahref@dest@keyvalue{/D(\ahref@dest)}% - \fi - \aeb@ahref@setlink{#2}{#3}% -} -\def\aeb@ahref@setlink#1#2{% - \ifx\ahrefcolor\@empty - \@eqlinktxtcolor{}\let\ahypercolor\@empty\else - \def\ahypercolor{\textcolor{\ahrefcolor}}\fi - \setLink[\Border{\aeb@border@parameters}% - \rawPDF{\ahref@BS@Dict}% - \A{\ahref@dest@keyvalue/S/GoToE% - \ahref@open@keyvalue\targetDictionary{#1}}]{\ahypercolor{#2}}% - \endgroup -} -\newcommand{\ahyperextract}[3][] -{% - \begingroup\dl@preProcDefns - \def\u{\string\\u}% - \aeb@initahref{#1}% - \ifx\ahrefcolor\@empty - \@eqlinktxtcolor{}\let\ahypercolor\@empty\else - \def\ahypercolor{\textcolor{\ahrefcolor}}\fi - \setLink[\Border{\aeb@border@parameters}% - \rawPDF{\ahref@BS@Dict}% - \A{\JS{this.exportDataObject({cName: "#2",% -nLaunch: \ahref@launch@type})}}]{\ahypercolor{#3}}% - \endgroup -} -\def\convertChriiUnicode#1#2{\csarg\gdef{uni@#1}{#2}}% -\convertChriiUnicode\space{0020} -\convertChriiUnicode{!}{0021} -{\@makeother\" -\convertChriiUnicode{"}{0022}} -\convertChriiUnicode{#}{0023} -\convertChriiUnicode{$}{0024} -{\@makeother\% -\convertChriiUnicode{%}{0025}} -\convertChriiUnicode{&}{0026} -\convertChriiUnicode{'}{0027} -\convertChriiUnicode{(}{0028} -\convertChriiUnicode{)}{0029} -\convertChriiUnicode{*}{002A} -\convertChriiUnicode{+}{002B} -\convertChriiUnicode{,}{002C} -\convertChriiUnicode{-}{002D} -\convertChriiUnicode{.}{002E} -\convertChriiUnicode{/}{002F} -\convertChriiUnicode{0}{0030} -\convertChriiUnicode{1}{0031} -\convertChriiUnicode{2}{0032} -\convertChriiUnicode{3}{0033} -\convertChriiUnicode{4}{0034} -\convertChriiUnicode{5}{0035} -\convertChriiUnicode{6}{0036} -\convertChriiUnicode{7}{0037} -\convertChriiUnicode{8}{0038} -\convertChriiUnicode{9}{0039} -\convertChriiUnicode{:}{003A} -\convertChriiUnicode{;}{003B} -\convertChriiUnicode{<}{003C} -\convertChriiUnicode{=}{003D} -\convertChriiUnicode{>}{003E} -\convertChriiUnicode{?}{003F} -\convertChriiUnicode{@}{0040} -\convertChriiUnicode{A}{0041} -\convertChriiUnicode{B}{0042} -\convertChriiUnicode{C}{0043} -\convertChriiUnicode{D}{0044} -\convertChriiUnicode{E}{0045} -\convertChriiUnicode{F}{0046} -\convertChriiUnicode{G}{0047} -\convertChriiUnicode{H}{0048} -\convertChriiUnicode{I}{0049} -\convertChriiUnicode{J}{004A} -\convertChriiUnicode{K}{004B} -\convertChriiUnicode{L}{004C} -\convertChriiUnicode{M}{004D} -\convertChriiUnicode{N}{004E} -\convertChriiUnicode{O}{004F} -\convertChriiUnicode{P}{0050} -\convertChriiUnicode{Q}{0051} -\convertChriiUnicode{R}{0052} -\convertChriiUnicode{S}{0053} -\convertChriiUnicode{T}{0054} -\convertChriiUnicode{U}{0055} -\convertChriiUnicode{V}{0056} -\convertChriiUnicode{W}{0057} -\convertChriiUnicode{X}{0058} -\convertChriiUnicode{Y}{0059} -\convertChriiUnicode{Z}{005A} -\convertChriiUnicode{[}{005B} -\convertChriiUnicode{]}{005D} -\convertChriiUnicode{^}{005E} -\convertChriiUnicode{_}{005F} -\convertChriiUnicode{`}{0060} -\convertChriiUnicode{a}{0061} -\convertChriiUnicode{b}{0062} -\convertChriiUnicode{c}{0063} -\convertChriiUnicode{d}{0064} -\convertChriiUnicode{e}{0065} -\convertChriiUnicode{f}{0066} -\convertChriiUnicode{g}{0067} -\convertChriiUnicode{h}{0068} -\convertChriiUnicode{i}{0069} -\convertChriiUnicode{j}{006A} -\convertChriiUnicode{k}{006B} -\convertChriiUnicode{l}{006C} -\convertChriiUnicode{m}{006D} -\convertChriiUnicode{n}{006E} -\convertChriiUnicode{o}{006F} -\convertChriiUnicode{p}{0070} -\convertChriiUnicode{q}{0071} -\convertChriiUnicode{r}{0072} -\convertChriiUnicode{s}{0073} -\convertChriiUnicode{t}{0074} -\convertChriiUnicode{u}{0075} -\convertChriiUnicode{v}{0076} -\convertChriiUnicode{w}{0077} -\convertChriiUnicode{x}{0078} -\convertChriiUnicode{y}{0079} -\convertChriiUnicode{z}{007A} -\convertChriiUnicode{|}{007C} -{\@makeother~ -\convertChriiUnicode{~}{007E}} -\def\EURO{20AC} -\def\BSLASH{005C} -\def\LBRACE{007B} -\def\RBRACE{007D} -\def\DQUOTE{0022} -\def\displayUnicode#1{\csname uni@#1\endcsname} -\def\stringiiUnicode{FEFF\expandafter\@stringiiUnicode} -\def\@stringiiUnicode#1{% - \ifx#1\relax\else - \ifx#1\u\aeb@exiii\getRawUnicode - \else - \displayUnicode{#1}\aeb@exiii\@stringiiUnicode - \fi - \fi -} -\def\getRawUnicode{\expandafter\@getRawUnicode} -\def\@getRawUnicode#1#2#3#4{#1#2#3#4\@stringiiUnicode} -\def\unicodeStr(#1){\expandafter - \ifx\csname aeb@aDescript@#1\endcsname\relax - FEFF#1\else\aeb@exiii\stringiiUnicode\aref(#1)\relax\fi} -\def\ucspace{\u0020} -\begingroup\catcode`\"=\active \gdef\DQ{\string\"}% - \gdef\@handledblquotes{\catcode`\"=\active\def"{\DQ}}% - \toks0=\expandafter{\DLspecialDefs\@handledblquotes}% - \xdef\DLspecialDefs{\the\toks0}% -\endgroup -\newif\ifHandleDblQuotes \HandleDblQuotesfalse -\def\sanitize@attach{\ifHandleDblQuotes\@handledblquotes\fi% -\@makeother\#\@makeother\$\@makeother\%\@makeother~} -{\obeyspaces\gdef\getdscrptCont#1{\gdef\aebp@description{#1}% -\aeb@labelName}% -\gdef\getdscrptStrCont#1{\gdef\aebp@description{#1}% -\aeb@labelNamestar}}% -\let\aeb@isFromAutoLabelNum\aebp@Zero -\def\labelName#1{\bgroup\let\aeb@isFromAutoLabelNum\aebp@Zero - \@for\x:=ABCDEFabcdef\do{\@makeother\x}% - \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@i}{}} -\def\labelName@a#1{\bgroup\let\aeb@isFromAutoLabelNum\aebp@One - \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@i}{}} -\def\labelName@i{\obeyspaces\sanitize@attach\getdscrptCont}% -\def\labelName@star#1{\bgroup\@for\x:=ABCDEFabcdef\do{\@makeother\x}% - \def\aebp@labelname{#1}\@ifnextchar\bgroup{\labelName@star@i}{}}% -\def\labelName@star@i{\obeyspaces\sanitize@attach\getdscrptStrCont}% -\newcommand{\autolabelNum}{% - \@ifstar{\aeb@autoLabelNumstar}{\aeb@autoLabelNum}} -\newcommand\aeb@autoLabelNum[2][]{\def\alnargi{#1}% - \def\@thisattachnum{#2}% - \ifx\alnargi\@empty - \def\aeb@next{% - \labelName@a{attach#2}{AeB\space Attachment\space #2}}% - \else - \def\aeb@next{% - \labelName@a{#1}{AeB\space Attachment\space #2}}% - \fi - \aeb@next% -} -\newcommand{\aeb@autoLabelNumstar}[2][]{% - \def\alnargi{#1}\gdef\@thisattachnum{#2}% - \ifx\alnargi\@empty\def\aeb@next{\labelName@star{attach#2}}\else - \def\aeb@next{\labelName@star{#1}}\fi - \aeb@next% -} -\def\aeb@labelName{% - \if\aeb@isFromAutoLabelNum\aebp@One - \global\csarg\let - {aeb@aDescript@attach\@thisattachnum}\aebp@description - \global\csarg\let - {aeb@aName@attach\@thisattachnum}\aebp@labelname - \else - \global\csarg\let - {aeb@aDescript@\aebp@labelname}\aebp@description - \global\csarg\let - {aeb@aName@\aebp@labelname}\aebp@labelname\fi\egroup} -\def\aeb@labelNamestar{% - \global\csarg\let - {aeb@aDescript@attach\@thisattachnum}\aebp@description - \global\csarg\let{aeb@aName@attach\@thisattachnum}\aebp@labelname - \global\csarg\let{aeb@aDescript@\aebp@labelname}\aebp@description - \global\csarg\let{aeb@aName@\aebp@labelname}\aebp@labelname\egroup} -\@ifpackageloaded{exerquiz}{} -{% - \def\verbatimwrite{\@bsphack - \let\do\@makeother\dospecials - \catcode`\^^M\active\catcode`\^^I=12% - \def\verbatim@processline{% - \immediate\write\verbatim@out - {\the\verbatim@line}}% - \verbatim@start} - \def\endverbatimwrite{\@esphack} -} -\newenvironment{attachmentNames}{% - \newwrite \aeb@attachments@xref - \immediate\openout \aeb@attachments@xref \jobname_xref.cut - \let\verbatim@out\aeb@attachments@xref - \immediate\write\verbatim@out{\string\begingroup - \string\HandleDblQuotestrue}% - \verbatimwrite}{% - \endverbatimwrite - \immediate\write\verbatim@out{\string\endgroup}% - \immediate\closeout \aeb@attachments@xref - \aftergroup\aeb@Input@xref} -\def\aeb@Input@xref{\InputIfFileExists{\jobname_xref.cut}{}{}} -\endinput -%% -%% End of file `unicodes.def'. -- cgit v1.2.3