| 1 |
%% |
| 2 |
%% This is file `struktex.drv', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% struktex.dtx (with options: `driver') |
| 8 |
%% |
| 9 |
%% Copyright (C) 1989-2025 by Jobst Hoffmann. All rights reserved. |
| 10 |
%% |
| 11 |
%% IMPORTANT COPYRIGHT NOTICE: |
| 12 |
%% |
| 13 |
%% No other permissions to copy or distribute this file in any form |
| 14 |
%% are granted and in particular NO PERMISSION to modify its contents. |
| 15 |
%% |
| 16 |
%% You are NOT ALLOWED to change this file. |
| 17 |
%% |
| 18 |
%% Please address error reports and any problems in case of UNCHANGED versions |
| 19 |
%% to |
| 20 |
%% j.hoffmann_(at)_fh-aachen.de |
| 21 |
% set the default formatting language: |
| 22 |
\expandafter\ifx\csname primarylanguage\endcsname\relax |
| 23 |
\def\primarylanguage{ngerman} |
| 24 |
\def\secondarylanguage{english} |
| 25 |
\fi |
| 26 |
|
| 27 |
\documentclass[a4paper, \secondarylanguage, % select the language |
| 28 |
\primarylanguage]{ltxdoc} |
| 29 |
|
| 30 |
\PassOptionsToPackage{obeyspaces}{url} % must be done before any package is |
| 31 |
% loaded |
| 32 |
|
| 33 |
\usepackage{babel} % for switching the documentation language |
| 34 |
\usepackage{moreverb} % for formatting the documentation of the driver |
| 35 |
\usepackage{strukdoc} % the style-file for formatting this |
| 36 |
% documentation |
| 37 |
|
| 38 |
\usepackage[pict2e, % <---------- to produce finer results |
| 39 |
% visible under xdvi, alternatives are |
| 40 |
% curves or emlines2 (visible only under |
| 41 |
% ghostscript), leave out if not |
| 42 |
% available |
| 43 |
verification, |
| 44 |
outer, % <------------------- to set the position of the \ifthenelse |
| 45 |
% flags to the outer edges |
| 46 |
debug, |
| 47 |
] |
| 48 |
{struktex} |
| 49 |
|
| 50 |
\OnlyDescription % add comment char to include the implementation details |
| 51 |
|
| 52 |
\MakeShortVerb{\|} % |\foo| acts like \verb+\foo+ |
| 53 |
|
| 54 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 55 |
%% to avoid underfull ... messages while formatting two/three columns |
| 56 |
\hbadness=10000 \vbadness=10000 |
| 57 |
|
| 58 |
\typeout{\string\primarylanguage: \primarylanguage, \string\language: \the\language} |
| 59 |
\def\languageNGerman{\the\csname l@ngerman\endcsname} % depends on language.dat, |
| 60 |
% there may be changes from release to |
| 61 |
% release |
| 62 |
|
| 63 |
\begin{document} |
| 64 |
\makeatletter |
| 65 |
\@ifundefined{selectlanguageEnglish}{}{\selectlanguage{english}} |
| 66 |
\makeatother |
| 67 |
\DocInput{struktex.dtx} |
| 68 |
\end{document} |
| 69 |
|
| 70 |
\endinput |
| 71 |
%% |
| 72 |
%% End of file `struktex.drv'. |