| 1 |
%% |
| 2 |
%% This is file `confproc.drv', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% confproc.dtx (with options: `driver') |
| 8 |
%% |
| 9 |
%% This is `confproc.drv', the documentation driver for the confproc package. |
| 10 |
%% Copyright (c) 2011 by Vincent Verfaille <[email protected]> |
| 11 |
%% |
| 12 |
%% This file is part of the confproc package. |
| 13 |
%% ------------------------------------------- |
| 14 |
%% |
| 15 |
%% It may be distributed and/or modified under the conditions of the |
| 16 |
%% LaTeX Project Public License, either version 1.2 of this license or |
| 17 |
%% (at your option) any later version. |
| 18 |
%% |
| 19 |
%% The latest version of this license is in |
| 20 |
%% http://www.latex-project.org/lppl.txt |
| 21 |
%% and version 1.2 or later is part of all distributions of LaTeX version |
| 22 |
%% 1999/12/01 or later. |
| 23 |
%% |
| 24 |
%% This file may not be distributed without the original source file |
| 25 |
%% `confproc.dtx'. |
| 26 |
%% |
| 27 |
%% The list of all files belonging to the confproc package is given in |
| 28 |
%% the `readme.txt' file. |
| 29 |
%% |
| 30 |
%% This is the driver file to produce the LaTeX documentation |
| 31 |
%% from the original source file `confproc.dtx'. |
| 32 |
%% |
| 33 |
%% Make changes to it as needed. (Never edit the file `confproc.dtx'!) |
| 34 |
%% |
| 35 |
\def\docdate{2010/08/01} |
| 36 |
\NeedsTeXFormat{LaTeX2e}[1994/12/01]% |
| 37 |
\ProvidesFile{confproc.drv} |
| 38 |
[2011/08/01 v0.8: Driver for confproc (VV)] |
| 39 |
% We do not specify any options by default and its recommended not to |
| 40 |
% change this. If you want to use a4paper the proper way is to add |
| 41 |
% a line |
| 42 |
% \PassOptionsToClass{a4paper}{article} |
| 43 |
% to your `ltxdoc.cfg'. |
| 44 |
\documentclass{ltxdoc} |
| 45 |
% Only use fontenc if it is present |
| 46 |
\IfFileExists{fontenc.sty}{% |
| 47 |
\usepackage[T1]{fontenc}}{} |
| 48 |
\usepackage{mathptmx} |
| 49 |
\usepackage[super]{nth} |
| 50 |
\usepackage{graphicx} |
| 51 |
\usepackage{url} |
| 52 |
\usepackage{amssymb,amsmath} |
| 53 |
\usepackage{manfnt} |
| 54 |
\usepackage{xcolor} |
| 55 |
\usepackage[braces]{colordoc} |
| 56 |
\usepackage{layout} |
| 57 |
\RequirePackage[pdftex,colorlinks=true,linkcolor=blue!80!black,citecolor=blue!80!black,% |
| 58 |
urlcolor=blue!80!black,bookmarksopen=true,bookmarksopenlevel=1,raiselinks,% |
| 59 |
hyperindex,backref,pagebackref,plainpages=false,pdfpagelabels,% |
| 60 |
breaklinks,linktocpage=false,pdfstartview=XYZ]{hyperref} |
| 61 |
\usepackage{supertabular} |
| 62 |
|
| 63 |
% By default this file will build the `user' documentation. It |
| 64 |
% covers the basic information you need as an user and provides |
| 65 |
% (if you want to) a compact index with the most important |
| 66 |
% commands. To get the `programmer' documentation (with code |
| 67 |
% listing, extended command index and change history), comment out |
| 68 |
% the next line |
| 69 |
|
| 70 |
% To produce the compact command index: |
| 71 |
% run makeindex -s confproc.ist confproc |
| 72 |
|
| 73 |
% If you commented out \OnlyDescription, you are able to control the |
| 74 |
% index and change history with the following commands: |
| 75 |
|
| 76 |
% To produce the extended command index: add the following line |
| 77 |
% one run, then run makeindex -s gind.ist confproc |
| 78 |
% and re-process, with or without this line (much faster without) |
| 79 |
% |
| 80 |
% This will only have an effect if you commented out |
| 81 |
% \OnlyDescription above! |
| 82 |
\EnableCrossrefs |
| 83 |
|
| 84 |
% Next you can control the index numbering by the two commands |
| 85 |
% \PageIndex and \CodelineIndex (I prefer the latter one..). If |
| 86 |
% you don't want any index, comment out both commands. |
| 87 |
% |
| 88 |
% Description index entries refer to page numbers, code listing |
| 89 |
% index entries refer to code lines |
| 90 |
\CodelineIndex |
| 91 |
% Make all index entries (description and code listing) refer to |
| 92 |
% page numbers (if you add the following line you should comment |
| 93 |
% out the \CodelineIndex) |
| 94 |
|
| 95 |
% Produce a 2 column index (if any) |
| 96 |
\setcounter{IndexColumns}{2} |
| 97 |
|
| 98 |
\setlength{\textwidth}{14cm} |
| 99 |
\setlength{\headheight}{-1.5cm} |
| 100 |
\setlength{\textheight}{22cm} |
| 101 |
%% Increase the marginpar width slightly, for long command names. And increase the left margin by a similar amount |
| 102 |
\let\oldmarginpar\marginpar |
| 103 |
\renewcommand\marginpar[1]{\-\oldmarginpar[\raggedleft\footnotesize #1]% |
| 104 |
{\raggedright\footnotesize #1}} |
| 105 |
\setcounter{StandardModuleDepth}{1} |
| 106 |
|
| 107 |
% To produce a change history: add the following line for one run, |
| 108 |
% then run makeindex -s gglo.ist -o confproc.gls confproc.glo |
| 109 |
% and re-process, with or without this line (faster without) |
| 110 |
\RecordChanges |
| 111 |
|
| 112 |
\begin{document} |
| 113 |
\DocInput{confproc.dtx} |
| 114 |
\end{document} |