summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-16 20:46:02 +0000
committerKarl Berry <karl@freefriends.org>2017-09-16 20:46:02 +0000
commitf43aea208fbb07095b1039905bdbfea3fc272404 (patch)
tree5c550828720324663eed747252b84c22811ea897 /Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex
parent1e3a3ba35d94c55dd0486d738e887d704eac7589 (diff)
spectralsequences (16sep17)
git-svn-id: svn://tug.org/texlive/trunk@45318 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex b/Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex
index bc0eef017fe..3ac70b363b3 100644
--- a/Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex
+++ b/Master/texmf-dist/tex/latex/spectralsequences/sseqmacromakers.code.tex
@@ -1,8 +1,8 @@
%%
-%% Package: spectralsequences v1.1.0
+%% Package: spectralsequences v1.1.1 2017-09-16 2017-09-16
%% Author: Hood Chatham
%% Email: hood@mit.edu
-%% Date: 2017-08-06
+%% Date: 2017-09-16
%% License: Latex Project Public License
%%
%% File: sseqmacromakers.code.tex
@@ -14,14 +14,8 @@
%%
-
\ExplSyntaxOn
-%%% \sseq@DeclareDocumentCommand
-%
-% \sseq@DeclareDocumentCommand\somecommand is shorthand for \sseq@DeclareDocumentCommandAs\sseq@somecommand\somecommand
-%
-% so the result is that it defines \sseq@somecommand intended to be \let to \somecommand later.
%%% Install user commands
% copy commands into user namespace by removing sseq@ prefixes
% given a list of commands, \let\thiscommand\sseq@thiscommand on each one
@@ -258,6 +252,7 @@
{}#4{}
\end{scope}
\endgroup
+ \sseq@breakpoint
}%
\ifsseq@error
\@xp\sseq@break
@@ -294,10 +289,19 @@
\group_end:
}
-\def\sseqnewgroup@splitcoord#1,#2\sseq@nil{%
+\def\sseqnewgroup@splitcoord#1,#2\sseq@nil{
+ \sseq@ifintexpr{#1}{}{
+ \def\sseq@scopecall{\sseq@error@n{invalid-coordinate}{x~}\sseq@break}
+ \sseq@break
+ }
+ \sseq@ifintexpr{#2}{}{
+ \def\sseq@scopecall{\sseq@error@n{invalid-coordinate}{y~}\sseq@break}
+ \sseq@break
+ }
\edef\sseq@scopecall{
- \@nx\begin{scope}[xshift=#1,yshift=#2,\unexpanded\@xp{\sseq@options}]
+ \@nx\begin{scope}[xshift=\the\numexpr#1\relax,yshift=\the\numexpr#2\relax,\unexpanded\@xp{\sseq@options}]
}
+ \sseq@breakpoint
}