texlive[42927] Master/texmf-dist: onlyamsmath (11jan17)
commits+karl at tug.org
commits+karl at tug.org
Thu Jan 12 00:07:51 CET 2017
Revision: 42927
http://tug.org/svn/texlive?view=revision&revision=42927
Author: karl
Date: 2017-01-12 00:07:51 +0100 (Thu, 12 Jan 2017)
Log Message:
-----------
onlyamsmath (11jan17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/onlyamsmath/ChangeLog
trunk/Master/texmf-dist/doc/latex/onlyamsmath/Makefile
trunk/Master/texmf-dist/doc/latex/onlyamsmath/README
trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath-v.tex
trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath.pdf
trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx
trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins
trunk/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty
Modified: trunk/Master/texmf-dist/doc/latex/onlyamsmath/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/onlyamsmath/ChangeLog 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/doc/latex/onlyamsmath/ChangeLog 2017-01-11 23:07:51 UTC (rev 42927)
@@ -1,3 +1,7 @@
+2016/12/18 0.20 Harald Harders
+ Added switch nodollardollar again (prevent from changing catcode
+ to avoid issues with TikZ/PGF)
+
2012/01/01 0.10 Harald Harders
Explicitly state date and version in \ProvidesPackage statement
Update e-mail address
@@ -8,10 +12,10 @@
2001/09/22 0.03 Harald Harders
Changed definition of \dollarcode, by David Kastrup
- Removed switches \dollardollar and \nodollardollar
+ Removed switches dollardollar and nodollardollar
2001/09/21 0.02 Harald Harders
- Added switch \nodollardollar
+ Added switch nodollardollar
2001/09/21 0.01 Harald Harders
First version
Modified: trunk/Master/texmf-dist/doc/latex/onlyamsmath/Makefile
===================================================================
--- trunk/Master/texmf-dist/doc/latex/onlyamsmath/Makefile 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/doc/latex/onlyamsmath/Makefile 2017-01-11 23:07:51 UTC (rev 42927)
@@ -41,8 +41,7 @@
onlyamsmath/ChangeLog \
onlyamsmath/Makefile \
onlyamsmath/onlyamsmath.{dtx,ins,pdf} \
- onlyamsmath/onlyamsmathtest.tex \
- onlyamsmath/onlyamsmath.xml
+ onlyamsmath/onlyamsmathtest.tex
zip: all clean
@echo Generate onlyamsmath-$(VERSION).zip
Modified: trunk/Master/texmf-dist/doc/latex/onlyamsmath/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/onlyamsmath/README 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/doc/latex/onlyamsmath/README 2017-01-11 23:07:51 UTC (rev 42927)
@@ -7,7 +7,7 @@
use the environments provided by the amsmath package.
-Copyright 2001, 2012 Harald Harders
+Copyright 2001, 2012, 2016 Harald Harders
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
Modified: trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath-v.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath-v.tex 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath-v.tex 2017-01-11 23:07:51 UTC (rev 42927)
@@ -8,7 +8,7 @@
%%
%% onlyamsmath package
%%
-%% Copyright 2001, 2012 Harald Harders
+%% Copyright 2001, 2012, 2016 Harald Harders
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
@@ -18,7 +18,7 @@
%% harald.harders at gmx.de
%%
\ProvidesFile{onlyamsmath-v.tex}
- [2012/01/01 v0.10 Destroy the standard math environments]
+ [2016/12/18 v0.20 Destroy the standard math environments]
\endinput
%%
Modified: trunk/Master/texmf-dist/doc/latex/onlyamsmath/onlyamsmath.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.dtx 2017-01-11 23:07:51 UTC (rev 42927)
@@ -1,5 +1,5 @@
% \iffalse meta comment
-% File: onlyamsmath.dtx Copyright (C) 2001, 2012 Harald Harders
+% File: onlyamsmath.dtx Copyright (C) 2001, 2012, 2016 Harald Harders
% \fi
%
% \iffalse
@@ -32,11 +32,11 @@
\DoNotIndex{\setcounter,\space,\begingroup,\endgroup}
\CodelineNumbered
\RecordChanges
-\CheckSum{91}
+\CheckSum{98}
\input{onlyamsmath-v.tex}
\GetFileInfo{onlyamsmath-v.tex}
\title{The \texttt{onlyamsmath} package}
-\author{Harald Harders\\\texttt{h.harders at tu-bs.de}}
+\author{Harald Harders\\\texttt{harald.harders at gmx.de}}
\date{Version \fileversion, \filedate, printed \today}
\begin{document}
\DocInput{onlyamsmath.dtx}
@@ -44,6 +44,8 @@
%</driver>
% \fi
%
+% \changes{0.20}{2016/12/18}{Added switch \texttt{nodollardollar} again
+% (prevent from changing catcode to avoid issues with TikZ/PGF)}%
% \changes{0.10}{2012/01/01}{Explicitly state date and version in
% \cs{ProvidesPackage} statement}
% \changes{0.10}{2012/01/01}{Update documentation}
@@ -62,7 +64,7 @@
% \tableofcontents
%
% \section*{Copyright}
-% Copyright 2001, 2012 Harald Harders.
+% Copyright 2001, 2012, 2016 Harald Harders.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
@@ -118,6 +120,12 @@
% \DescribeMacro{warning}
% If using |warning| \LaTeX\ only produces warnings and proceeds.
%
+% \DescribeMacro{nodollardollar}
+% If |nodollardollar| is used, the |$| catcode is not changed.
+% This way, the plain \TeX\ |$$| macro can still be used.
+% This option helps to avoid issues with recent versions of TikZ/PGF but might
+% have other side effects.
+%
% \section*{Acknowledgement}
%
% David Kastrup (David.Kastrup at t-online.de) has
@@ -127,6 +135,11 @@
% Since I do not understand his code please don't ask me things
% regarding it.
%
+% Reinhard Kotucha has reported the problem with recent TikZ/PGF and also
+% identified that changing the |$| catcode caused the issues.
+% The class option |nodollardollar| has been introduced to resolve this
+% incompatibility.
+%
% \StopEventually{\PrintBibliography \PrintChanges \PrintIndex}
%
% \section{The implementation}
@@ -135,7 +148,7 @@
% \begin{macrocode}
%<package>\ProvidesPackage{onlyamsmath}
%<version>\ProvidesFile{onlyamsmath-v.tex}
-%<package,version> [2012/01/01 v0.10 Destroy the standard math environments]
+%<package,version> [2016/12/18 v0.20 Destroy the standard math environments]
% \end{macrocode}
% \iffalse
%<*package>
@@ -171,6 +184,11 @@
\DeclareOption{error}{\onlyams at errortrue}
\DeclareOption{warning}{\onlyams at errorfalse}
% \end{macrocode}
+% Define the |nodollardollar| option:
+% \begin{macrocode}
+\newif\ifonlyams at nodollardollar
+\DeclareOption{nodollardollar}{\onlyams at nodollardollartrue}
+% \end{macrocode}
% Set the default options:
% \begin{macrocode}
\ExecuteOptions{error}
@@ -307,7 +325,10 @@
% Activate the complaining behaviour at |\begin{document}| to ensure
% that packages that internally use |$$| can do that without an error:
% \begin{macrocode}
-\AtBeginDocument{\catcode`\$=13 }
+\ifonlyams at nodollardollar
+\else
+ \AtBeginDocument{\catcode`\$=13 }
+\fi
% \end{macrocode}
% \iffalse
%</package>
Modified: trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/source/latex/onlyamsmath/onlyamsmath.ins 2017-01-11 23:07:51 UTC (rev 42927)
@@ -4,7 +4,7 @@
onlyamsmath package
- Copyright 2001, 2012 Harald Harders
+ Copyright 2001, 2012, 2016 Harald Harders
This program can be redistributed and/or modified under the terms
of the LaTeX Project Public License Distributed from CTAN
Modified: trunk/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty 2017-01-11 23:07:17 UTC (rev 42926)
+++ trunk/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty 2017-01-11 23:07:51 UTC (rev 42927)
@@ -8,7 +8,7 @@
%%
%% onlyamsmath package
%%
-%% Copyright 2001, 2012 Harald Harders
+%% Copyright 2001, 2012, 2016 Harald Harders
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
@@ -18,7 +18,7 @@
%% harald.harders at gmx.de
%%
\ProvidesPackage{onlyamsmath}
- [2012/01/01 v0.10 Destroy the standard math environments]
+ [2016/12/18 v0.20 Destroy the standard math environments]
\RequirePackage{amsmath}
\newif\ifonlyams at eqnarray
\DeclareOption{eqnarray}{\onlyams at eqnarraytrue}
@@ -31,6 +31,8 @@
\onlyams at errortrue
\DeclareOption{error}{\onlyams at errortrue}
\DeclareOption{warning}{\onlyams at errorfalse}
+\newif\ifonlyams at nodollardollar
+\DeclareOption{nodollardollar}{\onlyams at nodollardollartrue}
\ExecuteOptions{error}
\ProcessOptions\relax
\newcommand{\onlyams at error}[1]{%
@@ -69,7 +71,10 @@
\onlyams at error{$$ $$}%
\expandafter \[
\fi}
-\AtBeginDocument{\catcode`\$=13 }
+\ifonlyams at nodollardollar
+\else
+ \AtBeginDocument{\catcode`\$=13 }
+\fi
\endinput
%%
More information about the tex-live-commits
mailing list