diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/emisa/emisa.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/emisa/emisa.dtx | 97 |
1 files changed, 62 insertions, 35 deletions
diff --git a/Master/texmf-dist/source/latex/emisa/emisa.dtx b/Master/texmf-dist/source/latex/emisa/emisa.dtx index 4f14d19bddd..6f39eae7c69 100644 --- a/Master/texmf-dist/source/latex/emisa/emisa.dtx +++ b/Master/texmf-dist/source/latex/emisa/emisa.dtx @@ -3,7 +3,7 @@ % % Copyright (C) 2009-2012 by Martin Wilhelm Leidig % <mwl@moss.in-berlin.de> -% Copyright (C) 2015-2018 by Enterprise Modelling and Information +% Copyright (C) 2015-2020 by Enterprise Modelling and Information % Systems Architectures -- International Journal of Conceptual % Modeling (EMISAJ) % -------------------------------------------------------------------- @@ -47,7 +47,7 @@ %<class>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<class>\ProvidesClass{emisa}% %<*class> -[2018/02/24 2.2.0 LaTeX class EMISA] +[2020/11/26 2.3.0 LaTeX class EMISA] %</class> % %<*driver> @@ -60,7 +60,6 @@ % \askforoverwritetrue \askonceonly %<batchfile>\showprogress -%<batchfile>\askforoverwritetrue % \usedir{tex/latex/\jobname} %%% % this is for biblatex files: @@ -88,9 +87,9 @@ it as you see fit. If you absolutely have to change \outFileName, please do so in \jobname.dtx (after altering the name, of course!). -Copyright (C) 2009,2010,2011,2012 by Martin Wilhelm Leidig +Copyright (C) 2009-2012 by Martin Wilhelm Leidig <mwl@moss.in-berlin.de> -Copyright (C) 2015,2016,2017,2018 by Enterprise Modelling and Information +Copyright (C) 2015-2020 by Enterprise Modelling and Information Systems Architectures -- International Journal of Conceptual Modeling (EMISAJ) ------------------------------------------------------------------------ @@ -180,7 +179,6 @@ This work consists of all files listed in manifest.txt. backgroundcolor={\color{yellow!30}}, language=[LaTeX]TeX, basicstyle=\MacroFont, - %%%keywordstyle={}, keywordstyle=\MacroFont\bfseries, morekeywords={editor,received,accepted,volume,issue,% specialissuetitle,CCBYNCSAFour,CCBYNCSAThree,license,% @@ -192,7 +190,6 @@ This work consists of all files listed in manifest.txt. breaklines, emptylines=1, gobble=2, - %%% texcsstyle=*{\footnotesize\ttfamily\color{Blue}},% } \lstnewenvironment{examplecode}[1][] {\lstset{#1}} @@ -200,7 +197,6 @@ This work consists of all files listed in manifest.txt. \usepackage{algorithm,algorithmic} \usepackage[onehalfspacing]{setspace} \usepackage[dvipsnames]{xcolor} -%\usepackage{hologo} \usepackage{graphicx} \usepackage[alwaysadjust,flushright]{paralist} \setdefaultleftmargin{1.2em}{1.2em}{1.2em}{1.2em}{1.2em}{1.2em}% @@ -982,8 +978,7 @@ This work consists of all files listed in manifest.txt. % pages} % \changes{v2.1.0}{2016/03/31}{Fix incompatible changes introduced by biblatex % >3.3} -% \changes{v2.1.0}{2016/03/31}{Changed \cs{ifblank} to -% \cs{ifempty} +% \changes{v2.1.0}{2016/03/31}{Changed \cs{ifblank} to \cs{ifempty} % because of wrong interpretations. Not sure, whether this is needed of older % versions} % \changes{v2.1.0}{2016/04/01}{Returned to \cs{ifblank} for the old @@ -994,7 +989,15 @@ This work consists of all files listed in manifest.txt. % on even pages} % \changes{v2.2.0}{2018/02/15}{Changed: Author Instructions. Babel default % option changed to \texttt{american} (from \texttt{british})} -% +% \changes{v2.3.0}{2020/11/02}{Change load order of \texttt{newtxmath}, +% \texttt{amsmath} and \texttt{amssymb} to fix problem with definition of +% \cs{Bbbk}} +% \changes{v2.3.0}{2020/11/02}{Add explicit options to \texttt{doclicense}, +% because the fallbacks are deprecated} +% \changes{v2.3.0}{2020/11/02}{New option \texttt{cleveref} (default) and +% `nocleveref` to support `cleveref` package} +% \changes{v2.3.0}{2020/11/26}{Remove package \texttt{latexrelease} as +% suggested by Frank Mittelbach} % % \section{Introduction} % Enterprise Modelling and Information Systems Architectures @@ -1804,7 +1807,17 @@ This work consists of all files listed in manifest.txt. % \end{option} % \end{option} % \end{option} -% +% \begin{option}{cleveref} +% \begin{option}{nocleveref} +% \begin{switch}{@usecleveref} +% \begin{macrocode} +\newif\if@usecleveref +\DeclareOption{cleveref}{\@useclevereftrue} +\DeclareOption{nocleveref}{\@useclevereffalse} +% \end{macrocode} +% \end{switch} +% \end{option} +% \end{option} % \begin{option}{cover} % \begin{option}{nocover} % \begin{macro}{\coveron} @@ -1836,18 +1849,12 @@ This work consists of all files listed in manifest.txt. % \begin{macrocode} \PassOptionsToClass{a4paper,twoside,11pt}{article}% \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}% -\ExecuteOptions{american,final,noreferee,nocover,oneside,openany}% +\ExecuteOptions{american,final,noreferee,nocover,cleveref,oneside,openany}% \ProcessOptions*\relax% % \end{macrocode} -% -% \begin{macrocode} -\IfFileExists{latexrelease.sty}% - {\RequirePackage[latest]{latexrelease}}% - {\RequirePackage{fixltx2e}}% -% \end{macrocode} -% +% %^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% +% % \subsection{Loading the base class and packages} % \label{sec:code:cls+pkg} % @@ -2123,13 +2130,13 @@ This work consists of all files listed in manifest.txt. % % These macros are imported from \pkg{paralist}, setting standard % enumeration marks and list indentations. -% \changes{0.95i}{2011/04/06}{Default left margin in all levels of +% \changes{v0.95i}{2011/04/06}{Default left margin in all levels of % all list environments set to 1.25em.} -% \changes{0.95l}{2012/12/11}{Default left margin setting changed back to old +% \changes{v0.95l}{2012/12/11}{Default left margin setting changed back to old % setting after production-level \file{emisa.cfg}: % 1em/0.9em/0.7em/0.5em/0.4em/0.3em.} -% \changes{2.0}{2015/12/21}{No more config files} -% \changes{2.0}{2015/12/21}{pltopsep changed} +% \changes{v2.0}{2015/12/21}{No more config files} +% \changes{v2.0}{2015/12/21}{pltopsep changed} % \begin{macrocode} \setdefaultenum{1.}{a)}{i.}{A}% \setdefaultleftmargin{1em}{0.9em}{0.7em}{0.5em}{0.4em}{0.3em}% @@ -2189,8 +2196,11 @@ This work consists of all files listed in manifest.txt. % % \subsubsection{Scripts, fonts, and maps} % +% \changes{v2.3.0}{2020/11/02}{\cs{Bbbk} is defined by newtxmath and amssymb} % \begin{macrocode} \RequirePackage{newtxtext} +\RequirePackage{amsmath} +\RequirePackage{amssymb} \RequirePackage{newtxmath} \RequirePackage[zerostyle=b,straightquotes]{newtxtt} \if@microtype @@ -2228,7 +2238,6 @@ This work consists of all files listed in manifest.txt. \lstnewenvironment{sourcecode*}[1][] {\lstset{float=htbp,#1}} {} - \RequirePackage{amsmath} \RequirePackage[amsmath,standard,hyperref]{ntheorem} % \end{macrocode} % @@ -2256,9 +2265,27 @@ This work consists of all files listed in manifest.txt. hyperfootnotes=false ]{hyperref}% % \end{macrocode} -% +% \changes{v2.3.0}{2020/11/02}{Add support for cleveref} +% \begin{macrocode} +\if@usecleveref% + \RequirePackage[capitalise,nameinlink]{cleveref} + \crefname{section}{Sec.}{Sec.} + \Crefname{section}{Sec.}{Sec.} + \crefname{figure}{\figurename}{\figurename} + \Crefname{figure}{\figurename}{\figurename} + \crefname{listing}{\lstlistingname}{\lstlistingname} + \Crefname{listing}{\lstlistingname}{\lstlistingname} + \crefname{table}{\tablename}{\tablename} + \Crefname{table}{\tablename}{\tablename} +\fi% +% \end{macrocode} +% \changes{v2.3.0}{2020/11/02}{Package now needs explicit options} % \begin{macrocode} -\RequirePackage{doclicense} +\RequirePackage[% + type={CC},% + modifier={by-nc-sa},% + version={4.0}% +]{doclicense} % \end{macrocode} % %^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2604,11 +2631,11 @@ This work consists of all files listed in manifest.txt. % \end{macro} % % \begin{macro}{\specialissuetitle} -% \changes{0.92n}{2010/05/18}{Fixed missing \cs{space} after +% \changes{v0.92n}{2010/05/18}{Fixed missing \cs{space} after % non-empty Special Issue title % prefix.} % \begin{macro}{\specialissuetitle*} -% \changes{0.92n}{2010/05/18}{New.} +% \changes{v0.92n}{2010/05/18}{New.} % \begin{macro}{\specialissuetitleprefix} % If the current issue is a \emph{special issue}, the respective % title goes here. @@ -3091,7 +3118,7 @@ This work consists of all files listed in manifest.txt. % % \begin{macro}{\headmarkstyle} % \begin{macro}{\markhead} -% \changes{0.92d}{2010/01/20}{\cs{markboth} had to be renamed to +% \changes{v0.92d}{2010/01/20}{\cs{markboth} had to be renamed to % \cs{markhead} to avoid \pkg{biblatex}'s \cs{printbibliography} % putting ``REFERENCES'' into the page head.} % \begin{macro}{\markarticle} @@ -3736,7 +3763,7 @@ This work consists of all files listed in manifest.txt. % \end{macrocode} % % -% \changes{0.95i}{2011/04/06}{Affiliation adress for Reinhard Jung +% \changes{v0.95i}{2011/04/06}{Affiliation adress for Reinhard Jung % changed from \emph{University of Duisburg-Essen} to \emph{University % of St.\,Gallen}.} % \begin{macrocode} @@ -5945,7 +5972,7 @@ This work consists of all files listed in manifest.txt. % The macros in this subsection will supersede any previous definition % by the same name(s). % -% \changes{2010-06-21}{v0.93}{Modified to use EMISA name format.} +% \changes{v0.93}{2010/06/21}{Modified to use EMISA name format.} % \begin{bibmacro}{author} % \begin{macrocode} \renewbibmacro*{author}{% @@ -5971,7 +5998,7 @@ This work consists of all files listed in manifest.txt. % \end{bibmacro} % % -% \changes{2010-06-21}{v0.93}{Modified to use EMISA name format.} +% \changes{v0.93}{2010/06/21}{Modified to use EMISA name format.} % \begin{bibmacro}{bbx:editor} % \begin{macrocode} \renewbibmacro*{bbx:editor}[1]{% @@ -5998,7 +6025,7 @@ This work consists of all files listed in manifest.txt. % % % -% \changes{2010-06-21}{v0.93}{Modified to use EMISA name format.} +% \changes{v0.93}{2010/06/21}{Modified to use EMISA name format.} % \begin{bibmacro}{bbx:translator} % \begin{macrocode} \renewbibmacro*{bbx:translator}[1]{% |