| 1 |
% ====================================================================== |
| 2 |
% common-draftmode-en.tex |
| 3 |
% Copyright (c) Markus Kohm, 2001-2022 |
| 4 |
% |
| 5 |
% This file is part of the LaTeX2e KOMA-Script bundle. |
| 6 |
% |
| 7 |
% This work may be distributed and/or modified under the conditions of |
| 8 |
% the LaTeX Project Public License, version 1.3c of the license. |
| 9 |
% The latest version of this license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 12 |
% version 2005/12/01 or later and of this work. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status "author-maintained". |
| 15 |
% |
| 16 |
% The Current Maintainer and author of this work is Markus Kohm. |
| 17 |
% |
| 18 |
% This work consists of all files listed in MANIFEST.md. |
| 19 |
% ====================================================================== |
| 20 |
% |
| 21 |
% Paragraphs that are common for several chapters of the KOMA-Script guide |
| 22 |
% Maintained by Markus Kohm |
| 23 |
% |
| 24 |
% ====================================================================== |
| 25 |
|
| 26 |
\KOMAProvidesFile{common-draftmode-en.tex} |
| 27 |
[$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ |
| 28 |
KOMA-Script guide (common paragraphs)] |
| 29 |
\translator{Markus Kohm\and Gernot Hassenpflug\and Krickette Murabayashi\and |
| 30 |
Karl Hagen} |
| 31 |
|
| 32 |
\section{Draft Mode} |
| 33 |
\seclabel{draft}% |
| 34 |
\BeginIndexGroup |
| 35 |
\BeginIndex{}{draft mode}% |
| 36 |
|
| 37 |
\IfThisCommonFirstRun{}{% |
| 38 |
The information in \autoref{sec:\ThisCommonFirstLabelBase.draft} applies |
| 39 |
equally to \IfThisCommonLabelBase{scrlttr2}{\Class{scrlttr2}% |
| 40 |
\OnlyAt{\Class{scrlttr2}}}{this chapter}. So if you have already read |
| 41 |
and understood \autoref{sec:\ThisCommonFirstLabelBase.draft}, you can skip |
| 42 |
ahead to \autoref{sec:\ThisCommonLabelBase.draft.next} on |
| 43 |
\autopageref{sec:\ThisCommonLabelBase.draft.next}.% |
| 44 |
\IfThisCommonLabelBase{scrlttr2}{ The \Package{scrletter} package does not |
| 45 |
provide a draft mode itself but relies upon the class you use.}{}% |
| 46 |
} |
| 47 |
|
| 48 |
\IfThisCommonLabelBase{scrextend}{}{% |
| 49 |
Many classes and packages provide a draft mode in addition to the normal |
| 50 |
typesetting mode. The differences between these two are as diverse as the |
| 51 |
classes and packages that offer this distinction.% |
| 52 |
\IfThisCommonLabelBase{scrextend}{% Umbruchkorrekturtext |
| 53 |
\ The draft mode of some packages also results in changes to the output |
| 54 |
that affect the document's layout. This is not the case with |
| 55 |
\Package{scrextend}.% |
| 56 |
}{}% |
| 57 |
} |
| 58 |
|
| 59 |
\begin{Declaration} |
| 60 |
\OptionVName{draft}{simple switch} |
| 61 |
\OptionVName{overfullrule}{simple switch} |
| 62 |
\end{Declaration}% |
| 63 |
The \Option{draft}\IfThisCommonLabelBase{maincls}{% |
| 64 |
\ChangedAt{v3.00}{\Class{scrbook}\and \Class{scrartcl}\and |
| 65 |
\Class{scrreprt}}% |
| 66 |
}{% |
| 67 |
\IfThisCommonLabelBase{scrlttr2}{% |
| 68 |
\ChangedAt{v3.00}{\Class{scrlttr2}}\OnlyAt{\Class{scrlttr2}}% |
| 69 |
}{}% |
| 70 |
} option distinguishes between documents being drafted and finished |
| 71 |
documents\Index{final version}. The \PName{simple switch} can be one of the |
| 72 |
standard values for simple switches from \autoref{tab:truefalseswitch}, |
| 73 |
\autopageref{tab:truefalseswitch}. If you activate this |
| 74 |
option\important{\OptionValue{draft}{true}}, small black boxes will be output |
| 75 |
at the end of overly long lines. These boxes make it easier for the untrained |
| 76 |
eye to locate the paragraphs that require manual post-processing. By contrast, |
| 77 |
the default, \OptionValue{draft}{false}, shows no such boxes. Incidentally, |
| 78 |
such lines often disappear when you use the |
| 79 |
\Package{microtype}\IndexPackage{microtype}\important{\Package{microtype}} |
| 80 |
package \cite{package:microtype}. |
| 81 |
|
| 82 |
Since\IfThisCommonLabelBase{maincls}{% |
| 83 |
\ChangedAt{v3.25}{\Class{scrbook}\and \Class{scrartcl}\and |
| 84 |
\Class{scrreprt}}% |
| 85 |
}{% |
| 86 |
\IfThisCommonLabelBase{scrlttr2}{% |
| 87 |
\ChangedAt{v3.25}{\Class{scrlttr2}}% |
| 88 |
}{% |
| 89 |
\IfThisCommonLabelBase{scrextend}{% |
| 90 |
\ChangedAt{v3.25}{\Package{scrextend}}% |
| 91 |
}{}% |
| 92 |
}% |
| 93 |
} the \Option{draft} option can lead to all sorts of unwanted effects with |
| 94 |
various packages, \KOMAScript{} allows you to control this marking of overly |
| 95 |
long lines separately with the |
| 96 |
\Option{overfullrule}\important{\OptionValue{overfullrule}{true}} option. If |
| 97 |
this option is enabled, the marker is again displayed.% |
| 98 |
% |
| 99 |
\EndIndexGroup |
| 100 |
% |
| 101 |
\EndIndexGroup |
| 102 |
|
| 103 |
%%% Local Variables: |
| 104 |
%%% mode: latex |
| 105 |
%%% TeX-master: "scrguide-en.tex" |
| 106 |
%%% coding: utf-8 |
| 107 |
%%% ispell-local-dictionary: "en_GB" |
| 108 |
%%% eval: (flyspell-mode 1) |
| 109 |
%%% End: |