-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restored compatibility with previous v1.x.x releases
- Loading branch information
unknown
committed
Jun 9, 2015
1 parent
66f4445
commit ce46853
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% misc (internal) | ||
\def\snapshot@defaultcontent{will be filled out by editors} | ||
\def\snapshot@defaultcontent{will be filled out by the editors} | ||
|
||
\newcommand{\snapshot@define@spaces}{% define text mode spaces like in amsmath | ||
\DeclareRobustCommand{\tmspace}[3]{% | ||
|
@@ -378,15 +378,19 @@ | |
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% license info | ||
% use \license{CC-BY-SA-4.0} (default), \license{CC-BY-ND-4.0} or \licence{CC-BY-NC-SA-4.0} | ||
% use \license{CC-BY-SA-4.0} (recommended), \license{CC-BY-ND-4.0} or \licence{CC-BY-NC-SA-4.0} | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons BY-SA 4.0}} | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-nd/4.0/}{Creative Commons BY-ND 4.0}} | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-nc-sa/4.0/}{Creative Commons BY-NC-SA 4.0}} | ||
% keep the next three lines for compatability with previous v1.x.x releases | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-nc-sa/3.0/}{Creative Commons BY-NC-SA 3.0}} | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-nc-nd/3.0/}{Creative Commons BY-NC-ND 3.0}} | ||
\csdef{snapshot@[email protected]}{\href{http://creativecommons.org/licenses/by-sa/3.0/}{Creative Commons BY-SA 3.0}} | ||
\newcommand{\snapshot@license}{\ClassWarningNoLine{snapshotmfo}{No license information given}\snapshot@defaultcontent} | ||
\newcommand{\license}[1]{% | ||
\expandafter\ifcsdef\expandafter{snapshot@license@#1}{% | ||
\renewcommand{\snapshot@license}{\csname snapshot@license@#1\endcsname}% | ||
}{\ClassError{snapshotmfo}{Unknown license name}{Please use one of CC-BY-SA-4.0, CC-BY-ND-4.0 or CC-BY-NC-SA-4.0}}% | ||
}{\ClassError{snapshotmfo}{Unknown license name}{Please use one of CC-BY-SA-4.0, CC-BY-ND-4.0 or CC-BY-NC-SA-4.0. (CC-BY-NC-SA-3.0, CC-BY-NC-ND-3.0 and CC-BY-SA-3.0 still work, too.)}}% | ||
} | ||
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|