branch: externals/auctex commit e7379b3fec138f87e9a415750334c0f1327f9a1f Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
Simplify version and date specification * latex/preview.dtx (section{The Implementation}): Don't use RCS tags for version and date. Declare manually instead. (): Update \CheckSum value. --- latex/preview.dtx | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/latex/preview.dtx b/latex/preview.dtx index de4675e98a..f95de98a48 100644 --- a/latex/preview.dtx +++ b/latex/preview.dtx @@ -20,7 +20,7 @@ % Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, % Boston, MA 02110-1301 USA % \fi -% \CheckSum{1794} +% \CheckSum{1758} % \GetFileInfo{preview.sty} % \date{\filedate} % \author{David Kastrup\thanks{\texttt{bug-auc...@gnu.org}}} @@ -429,27 +429,20 @@ % % \StopEventually{} % \section{The Implementation} -% Here we go: the start is somewhat obtuse since we figure out version -% number and date from RCS strings. This should really be done at +% We provide version and date manually. This should really be done at % docstrip time instead. Takers? % \begin{macro}{\pr@version} +% \begin{macro}{\pr@date} % \begin{macrocode} %<*style> %<*!active> -\NeedsTeXFormat{LaTeX2e} \def\reserved@a #1#2$#3: -#4${\xdef#1{\reserved@c #2#4 $}} \def\reserved@c #1 #2${#1} -\begingroup \catcode`\_=12 -\reserved@a\pr@version $Name: release_13_1 $ \ifx\pr@version\@empty -\reserved@a\pr@version CVS-$Revision: 1.126 $ \endgroup \else - \def\next release_{} \lccode`\_=`. - \edef\next{\lowercase{\endgroup - \def\noexpand\pr@version{\expandafter\next\pr@version}}} \next \fi -\reserved@a\next $Date: 2017/04/24 13:20:00 $ -\edef\next{\noexpand\ProvidesPackage{preview}% - [\next\space \pr@version\space (AUCTeX/preview-latex)]} -\next +\NeedsTeXFormat{LaTeX2e} +\def\pr@version{13.2} +\def\pr@date{2023/01/17} +\ProvidesPackage{preview}[\pr@date\space \pr@version\space (AUCTeX/preview-latex)] % \end{macrocode} % \end{macro} +% \end{macro} % Since many parts here will not be needed as long as the package is % inactive, we will include them enclosed with |<*active>| and % |</active>| guards. That way, we can append all of this stuff at a