% \iffalse meta-comment % ====================================================================== % scrjura.dtx % Copyright (c) Markus Kohm, 2007-2024 % % This file is part of the LaTeX2e KOMA-Script bundle. % % This work may be distributed and/or modified under the conditions of % the LaTeX Project Public License, version 1.3c of the license. % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX % version 2005/12/01 or later and of this work. % % This work has the LPPL maintenance status "author-maintained". % % The Current Maintainer and author of this work is Markus Kohm. % % The KOMA-Script bundle consists of all files listed in MANIFEST.md. % ====================================================================== %%% From File: $Id: scrjura.dtx 4106 2024-02-13 15:06:28Z kohm $ %%%% (run: identify) %%%% (run: init) %%%% (run: options) %%%% (run: postoptions) %%%% (run: body) %%%% (run: final) %<*dtx> \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} \filedate$Date: 2024-02-13 16:06:28 +0100 (Di, 13. Feb 2024) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} \filerevision$Revision: 4106 $ \endgroup \expandafter\ifx\csname ProvidesFile\endcsname\relax \def\ProvidesFile#1[#2]{} \fi \ProvidesFile{scrjura.dtx}[\filedate\space\filerevision\space % %\NeedsTeXFormat{LaTeX2e}[2020/10/01] %\ProvidesPackage{scrjura}[% %<*dtx|(package&identify)> %!KOMAScriptVersion package %<*dtx> source % (for jurists) ] % %<*dtx> \ifx\documentclass\undefined % %<*ins> \input scrdocstrip.tex \@@input scrkernel-version.dtx \@@input scrstrip.inc \KOMAdefVariable{COPYRIGHTFROM}{2007} \generate{\usepreamble\defaultpreamble \file{scrjura.ins}{% \from{scrjura.dtx}{ins}% }% \file{scrjura.sty}{% \from{scrjura.dtx}{package,identify}% \from{scrjura.dtx}{package,body}% \from{scrlogo.dtx}{logo}% }% }% \@@input scrstrop.inc % %<*dtx> \else \let\endbatchfile\relax \fi % %<*ins> \endbatchfile % %<*dtx> \documentclass{koma-script-source-doc} \usepackage[USenglish]{babel} \setcounter{StandardModuleDepth}{2} \begin{document} \DocInput{scrjura.dtx} \end{document} % % \fi % % \changes{v3.36}{2022/01/25}{switch over from \cls*{scrdoc} to % \cls*{koma-script-source-doc}} % \changes{v3.40}{2023/04/17}{guide names changed} % \changes{v3.42}{2024/02/13}{compatibility wrapper to \pkg*{contract}} % % \GetFileInfo{scrjura.dtx} % \title{\KOMAScript{} in the Law Office\\ % with Package \pkg*{scrjura}} % \date{Version \fileversion{} of \filedate} % \author{\href{mailto:komascript@gmx.info}{Markus Kohm}} % \maketitle % \begin{abstract} % From \KOMAScript{} version~3.42, the \pkg*{scrjura} package is deprecated % and only a compatibility wrapper to package \pkg{contract}. % \end{abstract} % % \tableofcontents % % \section{User Manual} % % You can find the user manual of \pkg*{scrjura} in the \KOMAScript{} manual, % either the German \file{scrguide-de.pdf} or the English % \file{scrguide-en.pdf}. % % \MaybeStop{\PrintIndex} % % \section{Implementation} % % \begin{macrocode} %<*package&body> \RequirePackageWithOptions{contract}[=v0.9] % \end{macrocode} % % \begin{macro}{\contract@paragraph,\contract@subparagraph} % Both macros of \pkg{contract} support an optional argument, but % \pkg*{scrjura} expects a mandatory argument instead. % \begin{macrocode} \NewCommandCopy{\scrjura@paragraph}{\contract@paragraph} \NewCommandCopy{\scrjura@subparagraph}{\contract@subparagraph} \RenewDocumentCommand\contract@paragraph{m}{\scrjura@paragraph[{#1}]} \RenewDocumentCommand\contract@subparagraph{m}{\scrjura@subparagraph[{#1}]} % \end{macrocode} % \end{macro} % % \iffalse % % \fi % % \Finale % \PrintChanges % \endinput % Local Variables: % mode: doctex % ispell-local-dictionary: "en_US" % eval: (flyspell-mode 1) % TeX-master: t % TeX-engine: luatex-dev % eval: (setcar (or (cl-member "Index" (setq-local TeX-command-list (copy-alist TeX-command-list)) :key #'car :test #'string-equal) (setq-local TeX-command-list (cons nil TeX-command-list))) '("Index" "mkindex %s" TeX-run-index nil t :help "makeindex for dtx")) % End: