summaryrefslogtreecommitdiff
path: root/macros/latex/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib')
-rw-r--r--macros/latex/contrib/censor/censor.pdfbin246320 -> 247256 bytes
-rw-r--r--macros/latex/contrib/censor/censor.sty11
-rw-r--r--macros/latex/contrib/counterz/README.txt2
-rw-r--r--macros/latex/contrib/counterz/counterz.dtx200
-rw-r--r--macros/latex/contrib/counterz/counterz.ins4
-rw-r--r--macros/latex/contrib/counterz/counterz.pdfbin315915 -> 317154 bytes
-rw-r--r--macros/latex/contrib/texshade/README2
-rw-r--r--macros/latex/contrib/texshade/texshade.dtx20
-rw-r--r--macros/latex/contrib/texshade/texshade.pdfbin1565024 -> 1235875 bytes
9 files changed, 115 insertions, 124 deletions
diff --git a/macros/latex/contrib/censor/censor.pdf b/macros/latex/contrib/censor/censor.pdf
index 637c75f820..cd519b7d55 100644
--- a/macros/latex/contrib/censor/censor.pdf
+++ b/macros/latex/contrib/censor/censor.pdf
Binary files differ
diff --git a/macros/latex/contrib/censor/censor.sty b/macros/latex/contrib/censor/censor.sty
index 2232bc0c63..3a45aae3ed 100644
--- a/macros/latex/contrib/censor/censor.sty
+++ b/macros/latex/contrib/censor/censor.sty
@@ -1,6 +1,6 @@
% censor.sty
-\def\censorversionnumber{4.2}
-\def\censorversiondate{2022/04/21}
+\def\censorversionnumber{4.3}
+\def\censorversiondate{2023/06/05}
\ProvidesPackage{censor}
[\censorversiondate\ \censorversionnumber\
Provides capability for redaction of sensitive information]
@@ -21,10 +21,12 @@
\newlength\censorruledepth
\newlength\censorruleheight
+\newif\ifcensor
\censorruledepth=-0.3ex% -0.3ex DEFAULT
\censorruleheight=2.1ex% 2.1ex DEFAULT
\def\censordot{\censor{.}}% versus \def\censordot{.}%
+\censortrue% DEFAULT
\newcommand\censorrule[1]{\protect\rule[\censorruledepth]{#1}{\censorruleheight}}
@@ -37,11 +39,13 @@
\newcommand\un@cenword[1]{#1}
\newcommand\StopCensoring{%
+ \censorfalse%
\let\censor\un@censor%
\let\censorbox\un@censorbox%
\renewcommand\censpace{ }%
}
\newcommand\RestartCensoring{%
+ \censortrue%
\renewcommand\censor{\@ifstar{\@cenlen}{\@cenword}}%
\renewcommand\censorbox{\@ifstar{\censor@dim}{\censor@box}}%
\let\censpace\sv@censpace%
@@ -257,4 +261,7 @@ VERSION:
- Made \censor and \censorbox robust, which will allow censoring
to occur across, for example, section headers, tocs, etc.
- Revisited the documentation, bringing it up to date.
+4.3 - Introduced \ifcensor condition, default true, set false via
+ \StopCensoring and set true via \RestartCensoring. Thus, the current
+ state of censoring can be determined by the user.
diff --git a/macros/latex/contrib/counterz/README.txt b/macros/latex/contrib/counterz/README.txt
index 00daf51728..15934f7732 100644
--- a/macros/latex/contrib/counterz/README.txt
+++ b/macros/latex/contrib/counterz/README.txt
@@ -1,7 +1,7 @@
----------------------------------------------------------------------
-`counterz' --- 2023/05/30 Version 1.1.0
+`counterz' --- 2023/06/05 Version 1.1.1
Copyright (C) 2023 by Christopher McClain
E-mail: christopher.mcclain@mail.wvu.edu
diff --git a/macros/latex/contrib/counterz/counterz.dtx b/macros/latex/contrib/counterz/counterz.dtx
index 2efbfa056d..20cf2cf08d 100644
--- a/macros/latex/contrib/counterz/counterz.dtx
+++ b/macros/latex/contrib/counterz/counterz.dtx
@@ -7,7 +7,7 @@
%<*readme>
----------------------------------------------------------------------
-`counterz' --- 2023/05/30 Version 1.1.0
+`counterz' --- 2023/06/05 Version 1.1.1
Copyright (C) 2023 by Christopher McClain
E-mail: christopher.mcclain@mail.wvu.edu
@@ -38,7 +38,7 @@ random counters and save such counter values for future typesetting.
\preamble
----------------------------------------------------------------------
-`counterz' --- 2023/05/30 Version 1.1.0 Additional tools for counters
+`counterz' --- 2023/06/05 Version 1.1.1 Additional tools for counters
E-mail: christopher.mcclain@mail.wvu.edu
Released under the LaTeX Project Public License v1.3c or later
See https://www.latex-project.org/lppl.txt
@@ -138,6 +138,7 @@ and the derived files counterz.ins,
%
%\changes{v1.0.0}{2023/05/19}{First public release}
%\changes{v1.1.0}{2023/05/30}{New and revised commands and error reports}
+%\changes{v1.1.1}{2023/06/05}{Bug fixes}
%
%
%\begin{abstract}
@@ -148,9 +149,7 @@ and the derived files counterz.ins,
% random counters and save such counter values for future typesetting.
%\end{abstract}
%
-%\begin{multicols}{2}
-% \tableofcontents
-%\end{multicols}
+%\tableofcontents
%
%\section{Introduction}
%
@@ -687,7 +686,18 @@ and the derived files counterz.ins,
%
%\subsection{Random Counters}
%
-% We first define random versions of \cs{setcounter} and \cs{addtocounter}.
+% In order to effectively manage the options of randomizing counter values or
+%\DescribeMacro{\randomizectr}
+% reusing counter values, the commands \cs{randomizectr} and \cs{norandomizectr}
+% are used to toggle an internal boolean variable. The internal boolean
+%\DescribeMacro{\norandomizectr}
+% is initialized as TRUE when the \textsf{counterz} package is loaded. A
+% conditional command \cs{ifrandomizectr}\marg{foo}\marg{bar} executes
+%\DescribeMacro{\ifrandomizectr}
+% \meta{foo} when the boolean is TRUE and otherwise executes \meta{bar}.
+%
+% We next define random versions of \cs{setcounter} and \cs{addtocounter}.
+% These commands will only execute when the document is set to randomize.
% The command \cs{randsetcounter}\marg{counter}\marg{min}\marg{max} assigns
%\DescribeMacro{\randsetcounter}
% to \meta{counter} a random integer value between \meta{min} and \meta{max}.
@@ -699,10 +709,11 @@ and the derived files counterz.ins,
% \meta{counter} a random integer value between \meta{min} and \meta{max}.
%\DescribeMacro{\xrandaddtocounter}
% \cs{xrandaddtocounter} is a prefix version of \cs{randaddtocounter}.
-% The following code may be used to produce an expression in the form
-% $ax+b$, where $a$ and $b$ are random integers between $-10$ and $10$:
+% The following code produces an expression in the form $ax+b$, where $a$
+% and $b$ are random integers between $-10$ and $10$:
%
%\begin{verbatim}
+%\randomizectr
%\xprovidecounter{a}
%\xprovidecounter{b}
%\xrandsetcounter{a}{-10}{10}
@@ -711,17 +722,14 @@ and the derived files counterz.ins,
%\end{verbatim}
%
% \noindent
-% Organized in the following table are sixty instances of output that are
+% Organized in the following table are fifty instances of output that are
% randomly generated by the typesetting of this document:
%
% \bigskip
%\noindent
%\xprovidecounter{a}
%\xprovidecounter{b}
-%\begin{tabular}{rrrrrr}
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
+%\begin{tabular}{rrrrr}
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
@@ -751,9 +759,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -769,9 +774,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -787,9 +789,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -805,9 +804,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -823,9 +819,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -841,9 +834,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -859,9 +849,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -877,9 +864,6 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
@@ -895,23 +879,10 @@ and the derived files counterz.ins,
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
%\xrandsetcounter{a}{-10}{10}
%\xrandsetcounter{b}{-10}{10}
-%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ &
-%\xrandsetcounter{a}{-10}{10}
-%\xrandsetcounter{b}{-10}{10}
%$\xcoef{a}\ifctrzero{a}{\xarabic{b}}{x \xsignednz{b}}$ \\
%\end{tabular}
%
% \bigskip
-% In order to effectively manage the options of randomizing counter values or
-%\DescribeMacro{\randomizectr}
-% reusing counter values, the commands \cs{randomizectr} and \cs{norandomizectr}
-% are used to toggle an internal boolean variable. The internal boolean
-%\DescribeMacro{\norandomizectr}
-% is initialized as TRUE when the \textsf{counterz} package is loaded. A
-% conditional command \cs{ifrandomizectr}\marg{foo}\marg{bar} executes
-%\DescribeMacro{\ifrandomizectr}
-% \meta{foo} when the boolean is true and otherwise executes \meta{bar}.
-%
% If our document contains randomly generated counters, but we wish to typeset
% the document again without changing those values, then we need a way to save
%\DescribeMacro{\opencountersfile}
@@ -1067,7 +1038,7 @@ and the derived files counterz.ins,
% \begin{macrocode}
%<*package>
\ProvidesPackage{counterz}[%
- 2023/05/30 v1.1.0 Additional tools for counters
+ 2023/06/05 v1.1.1 Additional tools for counters
]%
\RequirePackage{etoolbox,makecmds}
% \end{macrocode}
@@ -1503,60 +1474,6 @@ and the derived files counterz.ins,
%
%\subsection{Random Counters}
%
-% The commands \cs{randsetcounter} and \cs{randaddtocounter} use the pdf\TeX\
-% primitive \cs{pdfuniformdeviate} to provide random versions of
-% \cs{setcounter} and \cs{addtocounter}. The commands \cs{xrandsetcounter} and
-% \cs{xrandaddtocounter} are prefix versions of \cs{randsetcounter} and
-% \cs{randaddtocounter}, respectively.
-%
-%\begin{macro}{\randsetcounter}
-%\changes{v1.1.0}{2023/05/30}{new}
-%\begin{macro}{\xrandsetcounter}
-%\changes{v1.1.0}{2023/05/30}{now based on a new \cs{randsetcounter}}
-%
-% \cs{randsetcounter}\marg{counter}\marg{min}\marg{max} assigns to
-% \meta{counter} a random integer value between \meta{min} and \meta{max}.
-%
-% \begin{macrocode}
-\newcommand{\randsetcounter}[3]{%
- \setcounter{#1}{%
- \the \numexpr #2+\pdfuniformdeviate \numexpr #3-#2+1 \relax
- }%
-}%
-\newcommand{\xrandsetcounter}[3]{%
- \randsetcounter{\@counterz@counterprefix#1}{#2}{#3}
-}%
-% \end{macrocode}
-%
-%\end{macro}
-%\end{macro}
-%
-%\begin{macro}{\randaddtocounter}
-%\changes{v1.1.0}{2023/05/30}{new}
-%\begin{macro}{\xrandaddtocounter}
-%\changes{v1.1.0}{2023/05/30}{now based on a new \cs{randaddtocounter}}
-%
-% \cs{randaddtocounter}\marg{counter}\marg{min}\marg{max} adds to \meta{counter}
-% a random integer value between \meta{min} and \meta{max}.
-%
-% \begin{macrocode}
-\newcommand{\randaddtocounter}[3]{%
- \addtocounter{#1}{%
- \the \numexpr #2+\pdfuniformdeviate \numexpr #3-#2+1 \relax
- }%
-}%
-\newcommand{\xrandaddtocounter}[3]{%
- \randaddtocounter{\@counterz@counterprefix#1}{#2}{#3}
-}%
-% \end{macrocode}
-%
-%\end{macro}
-%\end{macro}
-% The following commands are designed to provide a means by which authors can
-% generate random values for counters but also preserve those values for future
-% typesettings. This is accomplished by storing counters and their values in an
-% external file and then inputting the file before a subsequent typesetting.
-%
%\begin{macro}{\randomizectr}
%\begin{macro}{\norandomizectr}
%
@@ -1579,7 +1496,7 @@ and the derived files counterz.ins,
%\begin{macro}{\ifrandomizectr}
%
% \cs{ifrandomizectr}\marg{foo}\marg{bar} executes \meta{foo} if the boolean
-% \textit{@counterz@random} is true and otherwise executes \meta{bar}.
+% \textit{@counterz@random} is TRUE and otherwise executes \meta{bar}.
%
% \begin{macrocode}
\newcommand{\ifrandomizectr}[2]{%
@@ -1611,6 +1528,73 @@ and the derived files counterz.ins,
%
%\end{macro}
%
+% The commands \cs{randsetcounter} and \cs{randaddtocounter} use the pdf\TeX\
+% primitive \cs{pdfuniformdeviate} to provide random versions of
+% \cs{setcounter} and \cs{addtocounter}. The commands \cs{xrandsetcounter} and
+% \cs{xrandaddtocounter} are prefix versions of \cs{randsetcounter} and
+% \cs{randaddtocounter}, respectively. Each of these four commands will generate
+% random counter values only when the boolean \textit{@counterz@random} is TRUE.
+%
+%\begin{macro}{\randsetcounter}
+%\changes{v1.1.0}{2023/05/30}{new}
+%\changes{v1.1.1}{2023/06/05}{bug fix}
+%\begin{macro}{\xrandsetcounter}
+%\changes{v1.1.0}{2023/05/30}{now based on a new \cs{randsetcounter}}
+%
+% \cs{randsetcounter}\marg{counter}\marg{min}\marg{max} assigns to
+% \meta{counter} a random integer value between \meta{min} and \meta{max},
+% if \textit{@counterz@random} is TRUE.
+%
+% \begin{macrocode}
+\newcommand{\randsetcounter}[3]{%
+ \ifrandomizectr{%
+ \setcounter{#1}{%
+ \the \numexpr #2+\pdfuniformdeviate \numexpr #3-#2+1 \relax
+ }%
+ }{%
+ % Do Nothing
+ }%
+}%
+\newcommand{\xrandsetcounter}[3]{%
+ \randsetcounter{\@counterz@counterprefix#1}{#2}{#3}
+}%
+% \end{macrocode}
+%
+%\end{macro}
+%\end{macro}
+%
+%\begin{macro}{\randaddtocounter}
+%\changes{v1.1.0}{2023/05/30}{new}
+%\changes{v1.1.1}{2023/06/05}{bug fix}
+%\begin{macro}{\xrandaddtocounter}
+%\changes{v1.1.0}{2023/05/30}{now based on a new \cs{randaddtocounter}}
+%
+% \cs{randaddtocounter}\marg{counter}\marg{min}\marg{max} adds to \meta{counter}
+% a random integer value between \meta{min} and \meta{max},
+% if \textit{@counterz@random} is TRUE.
+%
+% \begin{macrocode}
+\newcommand{\randaddtocounter}[3]{%
+ \ifrandomizectr{%
+ \addtocounter{#1}{%
+ \the \numexpr #2+\pdfuniformdeviate \numexpr #3-#2+1 \relax
+ }%
+ }{%
+ % Do Nothing
+ }%
+}%
+\newcommand{\xrandaddtocounter}[3]{%
+ \randaddtocounter{\@counterz@counterprefix#1}{#2}{#3}
+}%
+% \end{macrocode}
+%
+%\end{macro}
+%\end{macro}
+% The following commands are designed to provide a means by which authors can
+% generate random values for counters but also preserve those values for future
+% typesettings. This is accomplished by storing counters and their values in an
+% external file and then inputting the file before a subsequent typesetting.
+%
%\begin{macro}{\opencountersfile}
%\changes{v1.1.0}{2023/05/30}{new error reports}
%
@@ -1743,7 +1727,7 @@ and the derived files counterz.ins,
%
% \cs{randprovidecounter}\marg{counter}\marg{min}\marg{max} creates
% \meta{counter} if it does not already exist, and if the boolean
-% \textit{@counterz@random} is true then \meta{counter} is assigned a
+% \textit{@counterz@random} is TRUE then \meta{counter} is assigned a
% random integer value between \meta{min} and \meta{max} and then saved.
%
% \begin{macrocode}
@@ -1772,7 +1756,7 @@ and the derived files counterz.ins,
%
% \cs{xrandprovidecounter}\marg{counter}\marg{min}\marg{max} creates
% \meta{counter} if it does not already exist, and if the boolean
-% \textit{@counterz@random} is true then \meta{counter} is assigned a
+% \textit{@counterz@random} is TRUE then \meta{counter} is assigned a
% random integer value between \meta{min} and \meta{max} and then saved.
%
% \begin{macrocode}
diff --git a/macros/latex/contrib/counterz/counterz.ins b/macros/latex/contrib/counterz/counterz.ins
index 73c612db3d..48fdb1b2ed 100644
--- a/macros/latex/contrib/counterz/counterz.ins
+++ b/macros/latex/contrib/counterz/counterz.ins
@@ -6,7 +6,7 @@
%%
%% counterz.dtx (with options: `install')
%% ----------------------------------------------------------------------
-%% `counterz' --- 2023/05/30 Version 1.1.0 Additional tools for counters
+%% `counterz' --- 2023/06/05 Version 1.1.1 Additional tools for counters
%% E-mail: christopher.mcclain@mail.wvu.edu
%% Released under the LaTeX Project Public License v1.3c or later
%% See https://www.latex-project.org/lppl.txt
@@ -22,7 +22,7 @@
\preamble
----------------------------------------------------------------------
-`counterz' --- 2023/05/30 Version 1.1.0 Additional tools for counters
+`counterz' --- 2023/06/05 Version 1.1.1 Additional tools for counters
E-mail: christopher.mcclain@mail.wvu.edu
Released under the LaTeX Project Public License v1.3c or later
See https://www.latex-project.org/lppl.txt
diff --git a/macros/latex/contrib/counterz/counterz.pdf b/macros/latex/contrib/counterz/counterz.pdf
index 66820f93e8..09f8e97b1a 100644
--- a/macros/latex/contrib/counterz/counterz.pdf
+++ b/macros/latex/contrib/counterz/counterz.pdf
Binary files differ
diff --git a/macros/latex/contrib/texshade/README b/macros/latex/contrib/texshade/README
index f6063602bf..a57f0eac62 100644
--- a/macros/latex/contrib/texshade/README
+++ b/macros/latex/contrib/texshade/README
@@ -1,4 +1,4 @@
- TeXshade v1.26b
+ TeXshade v1.26c
>>
>> A LaTeX package for setting nucleotide and peptide alignments.
>>
diff --git a/macros/latex/contrib/texshade/texshade.dtx b/macros/latex/contrib/texshade/texshade.dtx
index 44fad1c38f..da16105ddf 100644
--- a/macros/latex/contrib/texshade/texshade.dtx
+++ b/macros/latex/contrib/texshade/texshade.dtx
@@ -418,9 +418,9 @@
% structure meme paper was added;
% `par' line endings now treated correctly.}
%
-% \changes{1.26b}{2023-05-28}{%
-% Corrections: shading, tinting, emphasizing, lower casing
-% of motifs now works with set domains.}
+% \changes{1.26b/c}{2023-05-28/2023-06-04}{%
+% Corrections: shading, tinting, emphasizing, lower casing,
+% and framing of motifs now works with set domains.}
%
%
%
@@ -461,7 +461,7 @@
% for further information, updates and on-line documentation
% see my homepage at
% \texttt{www.pharmazie.uni-kiel.de/chem/Prof\_Beitz/biotex.html} }}
-% \date{\small v1.26b; 2023/05/28\\[2pt]}
+% \date{\small v1.26c; 2023/06/04\\[2pt]}
% \maketitle
% \begin{abstract}
% Setting alignments of nucleotides and peptides for publication
@@ -545,12 +545,12 @@
%
% \subsection{Version History}
%
-% \textbf{v1.26(a, b) 2021/04/01 (2022/08/29, 2023/05/28)}
+% \textbf{v1.26(a-c) 2021/04/01 (2022/08/29-2023/06/04)}
% \medskip
%
% \emph{Corrections}: Frames at line ends remain open to indicate
% continuity of the marked region, and |\par| line endings are now treated
-% correctly; motifs are now properly located in set domains for shading etc.
+% correctly.
%
% \emph{Introductions:}
% Chimera command file export option for 'structure memes'
@@ -6614,8 +6614,8 @@
% \begin{macrocode}
%<*texshade>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{texshade}[2023/05/28 LaTeX TeXshade (v1.26b)]
-\message{Package `texshade', Version 1.26b of 2023/05/28.}
+\ProvidesPackage{texshade}[2023/06/04 LaTeX TeXshade (v1.26c)]
+\message{Package `texshade', Version 1.26c of 2023/06/04.}
\PassOptionsToPackage{dvips}{color}
\PassOptionsToPackage{dvips}{graphicx}
@@ -10282,6 +10282,7 @@
\def\test@fill#1:#2:#3&{%
\xdef\last@{#1[,][,]&}\expandafter\arrow@col@width\last@%
+ \xdef\second@@{\fourth@ &}\ifx\second@@\ampers@nd\xdef\fourth@{///}\fi%
\xdef\second@@{\fourth@}%
\xdef\last@{///}%
\ifx\fourth@\last@%
@@ -12478,7 +12479,7 @@
\xdef\f@@color{\f@color}
\def\f@text@{#5}
\xdef\f@color{\f@@color}
- \xdef\temp@{#4&}
+ \xdef\temp@{\second@@&}
\ifx\temp@\ampers@nd
\xdef\list@{#3,&}
\xdef\style@{&}
@@ -15823,7 +15824,6 @@
\getregion@fromframestack@first
\else
\ifnum\frame@on=0
- \xdef\frame@on{1}
\xdef\frame@{1}
\expandafter\xdef\csname fr@style\the\loopcount\endcsname{%
\csname framestyle\the\loopcount\endcsname}
diff --git a/macros/latex/contrib/texshade/texshade.pdf b/macros/latex/contrib/texshade/texshade.pdf
index d2088ac9b2..01730abc59 100644
--- a/macros/latex/contrib/texshade/texshade.pdf
+++ b/macros/latex/contrib/texshade/texshade.pdf
Binary files differ