diff options
author | Karl Berry <karl@freefriends.org> | 2011-05-12 22:54:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-05-12 22:54:15 +0000 |
commit | ce9e51c9b4a10fb42d7d641f6e6dd67a52e5788c (patch) | |
tree | 038a86cf280185aa619314a2cfb62efe92e695c8 /Master/texmf-dist/source/latex | |
parent | f010d186f64cf079a9208e939636dc33263ad4d1 (diff) |
skb (12may11)
git-svn-id: svn://tug.org/texlive/trunk@22443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/skb/skb.dtx | 499 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/skb/skb.ins | 211 |
2 files changed, 437 insertions, 273 deletions
diff --git a/Master/texmf-dist/source/latex/skb/skb.dtx b/Master/texmf-dist/source/latex/skb/skb.dtx index 9a439e4c07f..b80c3521eb6 100644 --- a/Master/texmf-dist/source/latex/skb/skb.dtx +++ b/Master/texmf-dist/source/latex/skb/skb.dtx @@ -2,7 +2,7 @@ % \iffalse % % skb.dtx -%% Copyright (c) 2010 Sven van der Meer <sven@vandermeer.de> +%% Copyright (c) 2011 Sven van der Meer <sven@vandermeer.de> %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3 of this license or (at @@ -38,12 +38,23 @@ \usepackage{graphicx} \usepackage{longtable} \usepackage{colortbl} +\usepackage{biblatex} \usepackage[x11names]{xcolor} -\usepackage[colorlinks,linkcolor=AntiqueWhite4,citecolor=SeaGreen4,urlcolor=RoyalBlue3]{hyperref} +\usepackage[colorlinks,linkcolor=Brown4,citecolor=SeaGreen4,urlcolor=RoyalBlue3]{hyperref} +\usepackage[printonlyused]{acronym} \RecordChanges \makeindex \GetFileInfo{skb.sty} + +\IfFileExists{user-guide/user-guide.tex}{\skbconfig[root=user-guide/]{skb.dtx}} + {\IfFileExists{../doc/user-guide/user-guide.tex}{\skbconfig[root=../doc/user-guide/]{skb.dtx}} + {\IfFileExists{../doc/latex/skb/user-guide/user-guide.tex}{\skbconfig[root=../doc/latex/skb/user-guide/]{skb.dtx}}{} + } +} +\skbconfig[pub=,acr=database,bib=database]{skb.dtx} +\skbbibtex + \begin{document} \IfFileExists{skb.dtx}{\DocInput{skb.dtx}} {\IfFileExists{../source/skb.dtx}{\DocInput{../source/skb.dtx}} @@ -61,22 +72,12 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % -%\newif\ifSkbUserGuide -%\SkbUserGuidefalse -% -%\IfFileExists{../doc/user-guide/user-guide.tex} -% {\skbconfig[root=../doc/user-guide/,pub=]{skb.dtx}\SkbUserGuidetrue}{} -%\IfFileExists{../doc/latex/skb/user-guide/user-guide.tex} -% {\skbconfig[root=../doc/latex/skb/user-guide/,pub=]{skb.dtx}\SkbUserGuidetrue}{} -%\IfFileExists{user-guide/user-guide.tex} -% {\skbconfig[root=user-guide/,pub=]{skb.dtx}\SkbUserGuidetrue}{} -% %\title{The SKB package - Create and maintain% % a repository for long-living documents} % %\author{Sven van der Meer} % -%\date{2010-08-04 v0.5} +%\date{2011-05-12 v0.51} % %\maketitle % @@ -89,7 +90,7 @@ % easy re-use of text blocks in different publications (i.e. text about a % protocol in a short article about this protocol as well as in a book about % many protocols); all without constantly copying or changing text. As a side -% effect, using the document classes provided, it hides a lot of LaTeX from +% effect, using the document classes provided, it hides a lot of \LaTeX~from % someone who just wants to write articles and books. %\end{abstract} % @@ -101,12 +102,15 @@ %\skbsubject{LaTeX SKB} %\skbkeywords{SKB;LaTeX;Package} % -%\ifSkbUserGuide -% \skbinput[from=pub]{user-guide-load} -%\else -% \section*{About this Document} -% \textbf{Note:} This PDF file was generated without the user guid. -%\fi +% +%\IfFileExists{user-guide/user-guide.tex}{\skbinput[from=pub]{user-guide-load}} +% {\IfFileExists{../doc/user-guide/user-guide.tex}{\skbinput[from=pub]{user-guide-load}} +% {\IfFileExists{../doc/latex/skb/user-guide/user-guide.tex}{\skbinput[from=pub]{user-guide-load}}{ +% \section*{About this Document} +% \textbf{Note:} This PDF file was generated without the user guide. +% } +% } +%} % % % \StopEventually{} @@ -123,7 +127,7 @@ % \begin{macrocode} %<*skbpackage> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{skb}[2010/08/04 Sven's Knowledge Base - SKB for LaTeX v0.5] +\ProvidesPackage{skb}[2011/05/12 Sven's Knowledge Base - SKB for LaTeX v0.51] % \end{macrocode} % % Next we process the package's options. To do that, we define a new if @@ -138,10 +142,10 @@ % \end{macrocode} % % \subsection{Required Packages} -% Now we load a few packages that we need within the \SKB. We use keyval +% Now we load a few packages that we need within the \skbacft{A3DS:SKB}. We use keyval % to allow for options in macros, the listings package for all listings, % dirtree to show tree structures similar to a directory tree, ifpdf -% to establish whether we use PDF or not, datetime to get the current date +% to establish whether we use \skbacft{ISO:PDF} or not, datetime to get the current date % and the versions package to allow for optional text. Note: some packages, % such as the package optional, are loaded at a later stage. % \begin{macrocode} @@ -168,7 +172,7 @@ % \end{macrocode} % % Now we test for the memoir package. Note, if this package is loaded after the -% \SKB, this test and all following actions will fail. If the package is loaded, +% \skbacft{A3DS:SKB}, this test and all following actions will fail. If the package is loaded, % then we set the if to true, activate (include) the environment skbmodememoir % and set our configuration value to the string ", memoir". If the memoir % package is not loaded, then we set the if to false, deactivate (exclude) the @@ -247,16 +251,14 @@ % % % \subsection{Provide Command} -% \DescribeMacro{\SKB} % \DescribeMacro{\BibTeX} % \DescribeMacro{\DescribeMacro} % \DescribeMacro{\cmdprint} % \DescribeMacro{\cmd} -% The \SKB~provides for a few commands that the documentation (and maybe your documents as well) +% The \skbacft{A3DS:SKB} provides for a few commands that the documentation (and maybe your documents as well) % expect to be available. The first two are for typesetting SKB and BibTeX, the rest are simply % usefull. % \begin{macrocode} -\providecommand{\SKB}{{\scshape SKB}} \providecommand{\BibTeX}{{\scshape Bib}\TeX} \providecommand{\DescribeMacro}[1]{\relax} \providecommand{\cmdprint}[1]{\texttt{\string#1}} @@ -265,7 +267,7 @@ % % % \subsection{Macro Redefinitions} -% The \SKB~documentation uses the package dirtree and we want to have some of its default settings +% The \skbacft{A3DS:SKB} documentation uses the package dirtree and we want to have some of its default settings % changed. For the comments, the default configuration we want is an small, italic serif font in blue; and % for the style part we want a type writer font in black. % \begin{macrocode} @@ -277,8 +279,8 @@ % \subsection{At End of Document} % % Last not least, we define what should happen at the end of the processing of the input -% document. At them moment, we call \cmd{\skbpdfinfo} to set PDF meta information and -% \cmd{\skboptionsused} to print out the change log and current set of \SKB~configuration +% document. At them moment, we call \cmd{\skbpdfinfo} to set \skbacft{ISO:PDF} meta information and +% \cmd{\skboptionsused} to print out the change log and current set of \skbacft{A3DS:SKB} configuration % options. % \begin{macrocode} \AtEndDocument{ @@ -288,19 +290,18 @@ % \end{macrocode} % % -% % \subsection{Package Configuration} -% The basic idea of the \SKB~ is that different parts of a document (figures, slides, +% The basic idea of the \skbacft{A3DS:SKB} is that different parts of a document (figures, slides, % repository, published documents) reside in different folders. So the main configuration -% of the \SKB is to provide macros to set and get these folders and to load files from them. +% of the \skbacft{A3DS:SKB} is to provide macros to set and get these folders and to load files from them. % % To simplify coding, we introduce some macros that handle configuration information. -% These macros will be used by the \SKB~package to define, set and get configuration +% These macros will be used by the \skbacft{A3DS:SKB} package to define, set and get configuration % information. The macros also store the origin of changes to the configuration information. % % \DescribeMacro{\skb@tmp} % This variable is used to temporarily store macros and strings. The value can change anytime -% a new \SKB~macro is called. +% a new \skbacft{A3DS:SKB} macro is called. % \begin{macrocode} \newcommand{\skb@tmp}{} % \end{macrocode} @@ -342,7 +343,7 @@ % \end{macrocode} % % \DescribeMacro{\skb@getCfgVars} -% This macro provides access to configuration values. It is used everywhere in the \SKB~to retrieve +% This macro provides access to configuration values. It is used everywhere in the \skbacft{A3DS:SKB} to retrieve % configuration values. % \begin{macrocode} \newcommand{\skb@getCfgVars}[1]{% @@ -350,11 +351,11 @@ }% % \end{macrocode} % -% Now we use \cmd{\skb@defCfgVars} to initialise all configuration values the \SKB~uses. +% Now we use \cmd{\skb@defCfgVars} to initialise all configuration values the \skbacft{A3DS:SKB} uses. % % \DescribeMacro{\skb@cfg@var@root} -% The first one is the root directory. Everything that the \SKB~processes should be located -% below the root. The \SKB~can currently not handle inputs from directories outside the root +% The first one is the root directory. Everything that the \skbacft{A3DS:SKB} processes should be located +% below the root. The \skbacft{A3DS:SKB} can currently not handle inputs from directories outside the root % hierarchy (Note: one can call \cmd{\skbconfig} anytime to change the root directory, but be carefull % with potential side effects!). The default value for the root directory is \skbem[code]{/doc}. % \begin{macrocode} @@ -364,25 +365,25 @@ % \DescribeMacro{\skb@cfg@var@acr} % \DescribeMacro{\skb@cfg@var@acrfile} % These two values define the directory and the file name for the acronym database. -% The \SKB~uses the \skbem[code]{acronym} package and the two macros detail the directory +% The \skbacft{A3DS:SKB} uses the \skbem[code]{acronym} package and the two macros detail the directory % (\skbem[code]{acr}) and the file (\skbem[code]{acrfile}) where the acronyms can be found. % The default for the directory is \skbem[code]{database/latex} and the default % for the file is \skbem[code]{acronym}. % \begin{macrocode} \skb@defCfgVars{acr}{database/latex} -\skb@defCfgVars{acrfile}{acronym} +\skb@defCfgVars{acrfile}{acronyms} % \end{macrocode} % % \DescribeMacro{\skb@cfg@var@bib} % \DescribeMacro{\skb@cfg@var@bibfile} -% These two values define the directory and the file name for the \BibTeX database. +% These two values define the directory and the file name for the \BibTeX~database. % The two macros detail the directory (\skbem[code]{bib}) and the main file (\skbem[code]{bibfile}) % where bibliographic information can be found. % The default for the directory is \skbem[code]{database/bibtex} and the default for the % file is \skbem[code]{bibliography.tex}. % \begin{macrocode} \skb@defCfgVars{bib}{database/bibtex} -\skb@defCfgVars{bibfile}{bibliography} +\skb@defCfgVars{bibfile}{bibliography.tex} % \end{macrocode} % % \DescribeMacro{\skb@cfg@var@rep} @@ -413,7 +414,7 @@ % \subsection{Generic Input Macro} % \DescribeMacro{\skb@input@doife} % \cmd{\skb@input@doife} is the generic input macro. It expects four arguments. -% The first argument is the \SKB~macro that should be used to input a file. +% The first argument is the \skbacft{A3DS:SKB} macro that should be used to input a file. % The second argument is the actual file to be loaded, without file extension. % The third argument is the file extension to be used. % The fours argument is plain text that should be added to the help message in @@ -440,7 +441,7 @@ % % % \subsection{Kernel support for skbinput} -% This is the actual core functionality of the \SKB~package: flexibly load files from +% This is the actual core functionality of the \skbacft{A3DS:SKB} package: flexibly load files from % various pre-defined locations (folders). We start with a few macros that we can use % later to test options using the package keyval. % @@ -526,7 +527,7 @@ % These two macros are used to load files. \cmd{\skb@input@call} will point to the currently requested % load macro (see above). % \cmd{\skb@input@set} sets the default load option in \cmd{\skb@input@call} to \cmd{\skb@input@doroot}. That -% means if no option is given for an input directory, then the \SKB~root directory will be used. +% means if no option is given for an input directory, then the \skbacft{A3DS:SKB} root directory will be used. % \begin{macrocode} \def\skb@input@call{} \newcommand\skb@input@set{% @@ -535,10 +536,10 @@ % \end{macrocode} % % -% \section{Implementation: Configuring the \SKB} +% \section{Implementation: Configuring the \skbacft{A3DS:SKB}} % \subsection{Changing Configuration: skbconfig} % \subsubsection{The Macro Options} -% The macro provides one option per \SKB~configuration value. Each option expects +% The macro provides one option per \skbacft{A3DS:SKB} configuration value. Each option expects % one paramter; the new value. The options are % \skbem[code]{root} (for the root directory), % \skbem[code]{acr} (for the acronym directory), @@ -562,8 +563,8 @@ % % \subsubsection{The Macro} % \DescribeMacro{\skbconfig} -% This macro allows to change the main directory and path information for the \SKB. -% It reads the provided options and changes the requested values in the \SKB. +% This macro allows to change the main directory and path information for the \skbacft{A3DS:SKB}. +% It reads the provided options and changes the requested values in the \skbacft{A3DS:SKB}. % The macro takes one argument which will set the origin of the configuration change. If this % argument is empty, the origin will be set to \skbem[code]{skbconfig}. % \begin{macrocode} @@ -591,8 +592,8 @@ % \end{macrocode} % % -% \subsection{Changing Configuration: skb.cfg and akblocal.cfg} -% The \SKB can also be configured using external configuration files. Two files will be loaded if they exist: +% \subsection{Changing Configuration: skb.cfg and skblocal.cfg} +% The \skbacft{A3DS:SKB} can also be configured using external configuration files. Two files will be loaded if they exist: % \begin{skbnotelist} % \item \skbem[code]{skb.cfg} -- Should be used with the installed package in your % \TeX/\LaTeX~distribution. If it exists, it will overwrite the default options @@ -617,7 +618,7 @@ % \subsection{Viewing Configuration: skboptionsused} % \DescribeMacro{\skboptionsused} % This macro can be used to print out a message (as package warning), which contains -% the change log and the currently used value for all \SKB~configuration values. +% the change log and the currently used value for all \skbacft{A3DS:SKB} configuration values. % \begin{macrocode} \newcommand{\skboptionsused}{ \PackageWarningNoLine{skb}{% @@ -651,7 +652,7 @@ % % \subsection{Declaring Headings: skbheading} % \DescribeMacro{\skbheading} -% This macro can be used everywhere to declare a new heading and let the \SKB~decide which +% This macro can be used everywhere to declare a new heading and let the \skbacft{A3DS:SKB} decide which % document level to use. The actual document level must be declared in the loading file using % \cmd{\skbinput} with the option \skbem[code]{level}, otherwise this command will have no effect. % \begin{macrocode} @@ -667,14 +668,14 @@ % \subsection{Loading \TeX~files: skbinput} % \subsubsection{Macro Options} % \DescribeMacro{skbinput: opt from} -% The option \skbem[code]{from} is used to point to one of the following \SKB~directories: +% The option \skbem[code]{from} is used to point to one of the following \skbacft{A3DS:SKB} directories: % the repository (\skbem[code]{from=rep}), % the folder with the published documents (\skbem[code]{from=pub}), % the figure folder (\skbem[code]{from=fig}) or % the slide folder (\skbem[code]{from=sli}). % The option is optional, but when used must give one of the those values. -% The \SKB~will throw an error otherwise. The implementation works as follows: if the -% option is used, its paramter is evaluated. Depending on which \SKB~directories is +% The \skbacft{A3DS:SKB} will throw an error otherwise. The implementation works as follows: if the +% option is used, its paramter is evaluated. Depending on which \skbacft{A3DS:SKB} directories is % requested, the value \cmd{\skb@input@call} is set to point to the respective load % load macro. For instance, if the requested directory is the repository (\skbem[code]{from=rep}) % then \cmd{\skb@input@call} will be pointed to \cmd{\skb@input@dorep}. @@ -773,7 +774,7 @@ % % \subsubsection{The Macro} % \DescribeMacro{\skbinput} -% This macro will load a .tex file from the root directory or from an \SKB~known directory (if option \skbem[code]{from} is applied). +% This macro will load a .tex file from the root directory or from an \skbacft{A3DS:SKB} known directory (if option \skbem[code]{from} is applied). % It will also configure the document level macro for the next use of \cmd{\skbjeading}, if the option \skbem[code]{level} is applied. % If \skbem[code]{level} is not used, then \cmd{\skbheading} will have no effect. The macro first sets the input level to be empty (\cmd{\skb@input@set}) % and the input macro to the default value (\cmd{\skb@input@set}). The it processes the options (using the keyval pacakge) and finally calls @@ -919,7 +920,7 @@ % \end{macrocode} % The core of the macro. If the option multiinclude was not used, we proceed load the figure % as we would usually do with \LaTeX. If multiinclude was used, then we simply call \cmd{\multiinclude} -% with the given overlay information, starting at number 0, using PDF format and scaling everything to \cmd{\textwidth}. +% with the given overlay information, starting at number 0, using \skbacft{ISO:PDF} format and scaling everything to \cmd{\textwidth}. % \begin{macrocode} \ifx\skb@FigureOptMultiinclide\empty \ifx\skb@FigureOptWidth\empty @@ -971,7 +972,7 @@ % % % \subsection{Loading Slides: skbslide} -% This macro allows to load a (configurable) combination of PDF slide and \LaTeX~ +% This macro allows to load a (configurable) combination of \skbacft{ISO:PDF} slide and \LaTeX~ % annotation to be loaded in a single call. % % \subsubsection{Some Extentions} @@ -991,12 +992,12 @@ % % \subsubsection{Macro Options} % \DescribeMacro{\skbslide opt slidefrom} -% The option \skbem[code]{slidefrom} is used to point to one of the following \SKB~directories: +% The option \skbem[code]{slidefrom} is used to point to one of the following \skbacft{A3DS:SKB} directories: % \skbem[code]{sli} (the folder for slides) or % \skbem[code]{pub} (the folder for published documents) or % \skbem[code]{rep} (the repository directory). % The option is optional, but when used must give one of the above described values. -% The \SKB~will throw an error otherwise. +% The \skbacft{A3DS:SKB} will throw an error otherwise. % \begin{macrocode} \define@key{skbslide}{slidefrom}[]{% \def\intarg{#1} @@ -1017,12 +1018,12 @@ % \end{macrocode} % % \DescribeMacro{\skbslide opt notefrom} -% The option \skbem[code]{notefrom} is used to point to one of the following \SKB~directories: +% The option \skbem[code]{notefrom} is used to point to one of the following \skbacft{A3DS:SKB} directories: % \skbem[code]{sli} (the folder for slides) or % \skbem[code]{pub} (the folder for published documents) or % \skbem[code]{rep} (the repository directory). % The option is optional, but when used must give one of the above described values. -% The \SKB~will throw an error otherwise. +% The \skbacft{A3DS:SKB} will throw an error otherwise. % \begin{macrocode} \define@key{skbslide}{notefrom}[]{% \def\intarg{#1} @@ -1093,7 +1094,7 @@ % % \section{Implementation: Filenames, Acronyms and References} % \subsection{Path and File Names} -% These macros are used within the \SKB~to generate path and filenames for all known +% These macros are used within the \skbacft{A3DS:SKB} to generate path and filenames for all known % directories and files. They basically provide user-level access to kernel-level processed % configuration date. % All path names, except root, are fully qualified from root. @@ -1222,56 +1223,30 @@ % \subsection{List Environments: skbnotelist and skbnoteenum} % These environments simulate \cmd{\tightlist} from the memoir package. % They work identical: call the environment itemize (for skbnotelist) or enumerate -% (for skbnoteenum), temoprarily store the values of \cmd{\parskip} and \cmd{itemsep}, -% set the two values to 0 (thus minimising the margin between items) -% and on exit simply restore these two values -% -% \DescribeMacro{\skb@TmpParskp} -% \DescribeMacro{\skb@TmpItemsep} -% These two variables temporarily store \cmd{\parskip} and \cmd{\itemsep}. -% \begin{macrocode} -\def\skb@TmpParskp{} -\def\skb@TmpItemsep{} -% \end{macrocode} +% (for skbnoteenum) and set the two values to 0 (thus minimising the margin between items). % % \DescribeMacro{\skbnotelist} % New Environment skbnotelist to minimise the margin between list items. % \begin{macrocode} \newenvironment{skbnotelist} - { - \begin{itemize}% - \ifSkbMemoirLoaded\else - \gdef\skb@TmpParskp{\parskip}\setlength{\parskip}{0cm}% - \gdef\skb@TmpItemsep{\itemsep}\setlength{\itemsep}{0cm}% - \fi - } - { - \end{itemize}% - \ifSkbMemoirLoaded\else - \setlength{\parskip}{\skb@TmpParskp}% - \setlength{\itemsep}{\skb@TmpItemsep}% - \fi% + {\begin{itemize} + \ifSkbMemoirLoaded\else + \setlength{\parskip}{0cm}\setlength{\itemsep}{0cm} + \fi } + {\end{itemize}} % \end{macrocode} % % \DescribeMacro{\skbnoteenum} % New Environment skbnotelist to minimise the margin between list items. % \begin{macrocode} \newenvironment{skbnoteenum}% - { - \begin{enumerate}% - \ifSkbMemoirLoaded\else - \gdef\skb@TmpParskp{\parskip}\setlength{\parskip}{0cm}% - \gdef\skb@TmpItemsep{\itemsep}\setlength{\itemsep}{0cm}% - \fi - } - { - \end{enumerate}% - \ifSkbMemoirLoaded\else - \setlength{\parskip}{\skb@TmpParskp}% - \setlength{\itemsep}{\skb@TmpItemsep}% - \fi% + {\begin{enumerate} + \ifSkbMemoirLoaded\else + \setlength{\parskip}{0cm}\setlength{\itemsep}{0cm} + \fi } + {\end{enumerate}} % \end{macrocode} % % @@ -1298,32 +1273,32 @@ % \subsection{PDF Meta Information: skbpdfinfo and more} % % \DescribeMacro{\skbtitle} -% This macro allows to set text for the title of the generated PDF. +% This macro allows to set text for the title of the generated \skbacft{ISO:PDF}. % \begin{macrocode} \def\skb@TitleText{} \newcommand{\skbtitle}[1]{\gdef\skb@TitleText{#1}} % \end{macrocode} % \DescribeMacro{\skbauthor} -% This macro allows to set text for the author of the generated PDF. +% This macro allows to set text for the author of the generated \skbacft{ISO:PDF}. % \begin{macrocode} \def\skb@AuthorText{} \newcommand{\skbauthor}[1]{\gdef\skb@AuthorText{#1}} % \end{macrocode} % \DescribeMacro{\skbsubject} -% This macro allows to set text for the subject of the generated PDF. +% This macro allows to set text for the subject of the generated \skbacft{ISO:PDF}. % \begin{macrocode} \def\skb@SubjectText{} \newcommand{\skbsubject}[1]{\gdef\skb@SubjectText{#1}} % \end{macrocode} % \DescribeMacro{\skbkeywords} -% This macro allows to set text for the keywords of the generated PDF. +% This macro allows to set text for the keywords of the generated \skbacft{ISO:PDF}. % \begin{macrocode} \def\skb@KeywordsText{} \newcommand{\skbkeywords}[1]{\gdef\skb@KeywordsText{#1}} % \end{macrocode} % \DescribeMacro{\skbpdfinfo} -% This macro will set the PDF information in the generated PDF. It first checks if -% we are in PDF mode, and then uses the information from \cmd{\skb@AuthorText}, +% This macro will set the \skbacft{ISO:PDF} information in the generated \skbacft{ISO:PDF}. It first checks if +% we are in \skbacft{ISO:PDF} mode, and then uses the information from \cmd{\skb@AuthorText}, % \cmd{\skb@TitleText} plus subject and keywords from above. % \begin{macrocode} \newcommand{\skbpdfinfo}{% @@ -1341,7 +1316,7 @@ % % % \subsection{Listing Styles and Support} -% The \SKB~ comes with a few pre-defined styles for the \skbem[code]{listing} package. +% The \skbacft{A3DS:SKB} comes with a few pre-defined styles for the \skbem[code]{listing} package. % Most of these predefined styles use type writer font in scriptsize, arrange a grey % box around the listing and set the keywords to Blue4. % @@ -1431,7 +1406,7 @@ % % % \section{Experimental Macros} -% This part of the \SKB~is experimental. Please do not use it for production code or important +% This part of the \skbacft{A3DS:SKB} is experimental. Please do not use it for production code or important % documents. The macros in this section will be moved as soon as they are stable, or simply % removed. They can, as long as they stay in this section, be changed at any time in future % releases. @@ -1527,7 +1502,7 @@ % % \section{The Configuration File skb.cfg} % -% This file is used to overwrite the default values for the \SKB~configuration +% This file is used to overwrite the default values for the \skbacft{A3DS:SKB} configuration % options. It calles the macro \cmd{\skbconfig} using all possible options % of that very macro and providing usefull text as origin of the configuration change % \skbem[code]{skb.cfg}. Use this as template for the local configuration file @@ -1536,9 +1511,9 @@ %<*skbcfg> \skbconfig[root=/doc, acr=database/latex, - acrfile=acronym, + acrfile=acronyms, bib=database/bibtex, - bibfile=bibliograhpy, + bibfile=bibliography.tex, rep=repository, pub=publish, fig=figures, @@ -1551,12 +1526,12 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% \section{The \SKB~Classes} +% \section{The \skbacft{A3DS:SKB} Classes} % % % \subsection{The Class skbarticle} % -% This class is an example on how to use the \SKB~with memoir. I use skbarticle +% This class is an example on how to use the \skbacft{A3DS:SKB} with memoir. I use skbarticle % for my articles. Using this class as a template, one can easily write other % classes or change/overwrite the settings done here. % @@ -1564,7 +1539,7 @@ % \begin{macrocode} %<*skbarticle> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbarticle}[2010/08/04 The SKB Article class v0.5] +\ProvidesClass{skbarticle}[2011/05/12 The SKB Article class v0.51] % \end{macrocode} % % Now we load the memoir class with the following options: @@ -1581,7 +1556,7 @@ \LoadClass[10pt,a4paper,extrafontsizes,twoside,onecolumn,openright,article]{memoir} % \end{macrocode} % -% Load the \SKB. +% Load the \skbacft{A3DS:SKB}. % \begin{macrocode} \RequirePackage{skb} % \end{macrocode} @@ -1589,7 +1564,7 @@ % % \subsubsection{Loaded Packages} % -% I prefer BibLaTeX over plain \BibTeX, and other parts of the \SKB~(such as the LAMP +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} % server) produce BibLaTeX. The options are: % \begin{skbnotelist} % \item style - is set to alphanumeric, much better to find/remember references. @@ -1602,7 +1577,7 @@ % \end{macrocode} % % Load the acronym package and print only the acronyms actually used in the document. -% This might move into the \SKB~package later +% This might move into the \skbacft{A3DS:SKB} package later. % \begin{macrocode} \RequirePackage[printonlyused]{acronym} % \end{macrocode} @@ -1643,7 +1618,7 @@ % the colors we prefer for links (linkcolor), citations (citecolor) and URLs (urlcolor). % \begin{macrocode} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -1702,11 +1677,6 @@ % % \subsubsection{Misc Settings} % -% Load the bibliographic information using the \SKB. -% \begin{macrocode} -\skbbibtex -% \end{macrocode} -% % Finally, we do set the sort option for the bibliography to anyt (biblatex) % \begin{macrocode} \ExecuteBibliographyOptions{sorting=anyt} @@ -1723,7 +1693,7 @@ % % \subsection{The Class skbbook} % -% This class is an example on how to use the \SKB~with memoir. I use skbbook +% This class is an example on how to use the \skbacft{A3DS:SKB} with memoir. I use skbbook % for my books. Using this class as a template, one can easily write other % classes or change/overwrite the settings done here. % @@ -1731,7 +1701,7 @@ % \begin{macrocode} %<*skbbook> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbbook}[2010/08/04 The SKB Book class v0.5] +\ProvidesClass{skbbook}[2011/05/12 The SKB Book class v0.51] % \end{macrocode} % % Now we load the memoir class with the following options: @@ -1747,7 +1717,7 @@ \LoadClass[11pt,a4paper,extrafontsizes,twoside,onecolumn,openright]{memoir} % \end{macrocode} % -% Load the \SKB. +% Load the \skbacft{A3DS:SKB}. % \begin{macrocode} \RequirePackage{skb} % \end{macrocode} @@ -1755,7 +1725,7 @@ % % \subsubsection{Loaded Packages} % -% I prefer BibLaTeX over plain \BibTeX, and other parts of the \SKB~(such as the LAMP +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} % server) produce BibLaTeX. The options are: % \begin{skbnotelist} % \item style - is set to alphanumeric, much better to find/remember references. @@ -1768,7 +1738,7 @@ % \end{macrocode} % % Load the acronym package and print only the acronyms actually used in the document. -% This might move into the \SKB~package later +% This might move into the \skbacft{A3DS:SKB} package later % \begin{macrocode} \RequirePackage[printonlyused]{acronym} % \end{macrocode} @@ -1809,7 +1779,7 @@ % the colors we prefer for links (linkcolor), citations (citecolor) and URLs (urlcolor). % \begin{macrocode} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -1877,11 +1847,6 @@ % % \subsubsection{Misc Settings} % -% Load the bibliographic information using the \SKB. -% \begin{macrocode} -\skbbibtex -% \end{macrocode} -% % Finally, we do set the sort option for the bibliography to anyt (biblatex) % \begin{macrocode} \ExecuteBibliographyOptions{sorting=anyt} @@ -1898,7 +1863,7 @@ % % \subsection{The Class skbbeamer} % -% This class is an example on how to use the \SKB~with memoir. I use skbbeamer +% This class is an example on how to use the \skbacft{A3DS:SKB} with memoir. I use skbbeamer % for my beamer presentations. Using this class as a template, one can easily write other % classes or change/overwrite the settings done here. % @@ -1906,20 +1871,20 @@ % \begin{macrocode} %<*skbbeamer> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skbbeamer}[2010/08/04 The SKB Beamer class v0.5] +\ProvidesClass{skbbeamer}[2011/05/12 The SKB Beamer class v0.51] \DeclareOption{beameranim}{\PassOptionsToPackage{\CurrentOption}{skb}} \DeclareOption{beamernoanim}{\PassOptionsToPackage{\CurrentOption}{skb}} \ProcessOptions\relax % \end{macrocode} % % Now we load the xcolor package and then the beamer class. That should load the x11names some -% of the \SKB~listing styles use while not creating any clash between the packages beamer and xcolor. +% of the \skbacft{A3DS:SKB} listing styles use while not creating any clash between the packages beamer and xcolor. % \begin{macrocode} \RequirePackage[x11names]{xcolor} \LoadClass[x11names]{beamer} % \end{macrocode} % -% Load the \SKB. +% Load the \skbacft{A3DS:SKB}. % \begin{macrocode} \RequirePackage{skb} % \end{macrocode} @@ -1927,7 +1892,7 @@ % % \subsubsection{Loaded Packages} % -% I prefer BibLaTeX over plain \BibTeX, and other parts of the \SKB~(such as the LAMP +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} % server) produce BibLaTeX. The options are: % \begin{skbnotelist} % \item style - is set to alphanumeric, much better to find/remember references. @@ -1940,7 +1905,7 @@ % \end{macrocode} % % Load the acronym package and print only the acronyms actually used in the document. -% This might move into the \SKB~package later +% This might move into the \skbacft{A3DS:SKB} package later % \begin{macrocode} \RequirePackage[printonlyused]{acronym} % \end{macrocode} @@ -1973,11 +1938,6 @@ % % \subsubsection{Misc Settings} % -% Load the bibliographic information using the \SKB. -% \begin{macrocode} -\skbbibtex -% \end{macrocode} -% % And some default settings for the dirtree package. % \begin{macrocode} \renewcommand*\DTstylecomment{\itshape\sffamily\color{blue}\scriptsize} @@ -1997,7 +1957,7 @@ % % \subsection{The Class skblncsbeamer} % -% This class is an example on how to use the \SKB~with memoir. I use skblncsbeamer +% This class is an example on how to use the \skbacft{A3DS:SKB} with memoir. I use skblncsbeamer % for my beamer based handouts. Using this class as a template, one can easily write other % classes or change/overwrite the settings done here. % @@ -2005,7 +1965,7 @@ % \begin{macrocode} %<*skblncsbeamer> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skblncsbeamer}[2010/08/04 The SKB LNCS Beamer class v0.5] +\ProvidesClass{skblncsbeamer}[2011/05/12 The SKB LNCS Beamer class v0.51] % \end{macrocode} % % Just in case there is no \cmd{\titlepage} declared, the beamerarticle wants that. @@ -2033,7 +1993,7 @@ \RequirePackage{beamerarticle,pgf} % \end{macrocode} % -% Load the \SKB. +% Load the \skbacft{A3DS:SKB}. % \begin{macrocode} \RequirePackage{skb} % \end{macrocode} @@ -2041,7 +2001,7 @@ % % \subsubsection{Loaded Packages} % -% I prefer BibLaTeX over plain \BibTeX, and other parts of the \SKB~(such as the LAMP +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} % server) produce BibLaTeX. The options are: % \begin{skbnotelist} % \item style - is set to alphanumeric, much better to find/remember references. @@ -2054,7 +2014,7 @@ % \end{macrocode} % % Load the acronym package and print only the acronyms actually used in the document. -% This might move into the \SKB~package later +% This might move into the \skbacft{A3DS:SKB} package later. % \begin{macrocode} \RequirePackage[printonlyused]{acronym} % \end{macrocode} @@ -2161,11 +2121,6 @@ \makeindex % \end{macrocode} % -% Load the bibliographic information using the \SKB. -% \begin{macrocode} -\skbbibtex -% \end{macrocode} -% % Before we start with the actual document, we want the title slide and % the table of contents on the first page. % \begin{macrocode} @@ -2189,12 +2144,12 @@ % % \subsection{The Class skblncsppt} % -% This class is an example on how to use the \SKB~with memoir. I use skblncsppt +% This class is an example on how to use the \skbacft{A3DS:SKB} with memoir. I use skblncsppt % for handouts (anotated slides) based on Microsoft's PPT. Reason for that is -% that the PDF export and print routines in Microsoft Office 2010 no longer +% that the \skbacft{ISO:PDF} export and print routines in Microsoft Office 2010 no longer % support vector images for the slide thumbnails, which renders handouts almost -% useless. So I do print the PPT slides into PDF (screen resolution, that way one -% avoids frames around the slides), and then LaTeX to generate handouts. +% useless. So I do print the PPT slides into \skbacft{ISO:PDF} (screen resolution, that way one +% avoids frames around the slides), and then \LaTeX~to generate handouts. % Using this class as % a template, one can easily write other % classes or change/overwrite the settings done here. @@ -2203,7 +2158,7 @@ % \begin{macrocode} %<*skblncsppt> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{skblncsppt}[2010/08/04 The SKB LNCS PPT class v0.5] +\ProvidesClass{skblncsppt}[2011/05/12 The SKB LNCS PPT class v0.51] % \end{macrocode} % % Now we load the memoir class with the following options: @@ -2220,7 +2175,7 @@ \LoadClass[9pt,a4paper,extrafontsizes,twoside,onecolumn,openright,article]{memoir} % \end{macrocode} % -% Load the \SKB. +% Load the \skbacft{A3DS:SKB}. % \begin{macrocode} \RequirePackage{skb} % \end{macrocode} @@ -2228,7 +2183,7 @@ % % \subsubsection{Loaded Packages} % -% I prefer BibLaTeX over plain \BibTeX, and other parts of the \SKB~(such as the LAMP +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} % server) produce BibLaTeX. The options are: % \begin{skbnotelist} % \item style - is set to alphanumeric, much better to find/remember references. @@ -2241,7 +2196,7 @@ % \end{macrocode} % % Load the acronym package and print only the acronyms actually used in the document. -% This might move into the \SKB~package later +% This might move into the \skbacft{A3DS:SKB} package later. % \begin{macrocode} \RequirePackage[printonlyused]{acronym} % \end{macrocode} @@ -2282,7 +2237,7 @@ % the colors we prefer for links (linkcolor), citations (citecolor) and URLs (urlcolor). % \begin{macrocode} \RequirePackage[colorlinks,% - linkcolor=AntiqueWhite4,% + linkcolor=Brown4,% citecolor=SeaGreen4,% urlcolor=RoyalBlue3% ]{hyperref} @@ -2367,14 +2322,187 @@ \makeindex % \end{macrocode} % -% Load the bibliographic information using the \SKB. +% There is no code for \cmd{\AtBeginDocument} and \cmd{\AtEndDocument}, so we are done now. % \begin{macrocode} -\skbbibtex +%</skblncsppt> +% \end{macrocode} +% +% +% +% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \subsection{The Class skbmoderncv} +% +% This class integrates the moderncv package into the \skbacft{A3DS:SKB}. I use moderncv +% for my own CV and with the \skbacft{A3DS:SKB} I am able to maintain all information while +% producing different documents (i.e. one for a research proposal, for my website, for journals, etc.). +% This class provides some macros using biblatex to create several lists of publications, i.e. a different +% list for articles, proceedings, conference papers per year, etc. +% +% First, we announce the package and the font definition file and process the options. +% \begin{macrocode} +%<*skbmoderncv> +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{skbmoderncv}[2011/05/12 The SKB Modern CV class v0.51] +% \end{macrocode} +% +% Now we load the moderncv package. By default we use an 11 point font and A4 paper. Once can change these +% settings later in a CV document. +% \begin{macrocode} +\LoadClass[11pt,a4paper]{moderncv} % \end{macrocode} % +% Load the \skbacft{A3DS:SKB}. +% \begin{macrocode} +\RequirePackage{skb} +% \end{macrocode} +% +% +% \subsubsection{Loaded Packages} +% +% I prefer BibLaTeX over plain \BibTeX, and other parts of the \skbacft{A3DS:SKB} (such as the \skbacft{LAMP} +% server) produce BibLaTeX. The options are: +% \begin{skbnotelist} +% \item style - is set to alphabetic, much better to find/remember references. +% If writing for IEEE or LNCS, numeric would be the prefered option. +% \item sorting - is set to ynt, year first, then author name then title. +% \item bibstyle - is set to standard, which means there are no labels (we set labels as enumerate list later). +% \item hyperref - I want to have hyperef with my citations +% \end{skbnotelist} +% \begin{macrocode} +\RequirePackage[style=alphabetic,sorting=ynt,bibstyle=standard,hyperref]{biblatex} +% \end{macrocode} +% +% Load the eurofont package for the Euro sign. +% \begin{macrocode} +\RequirePackage{eurofont} +% \end{macrocode} +% +% Load the enumitem package, which is used later to change indents on the enumerate list for publication references. +% \begin{macrocode} +\RequirePackage{enumitem} +% \end{macrocode} +% +% Load the xcolor and hyperref packages to allow painting URLs in publication references. +% \begin{macrocode} +\RequirePackage[x11names]{xcolor} +\RequirePackage[colorlinks,% + linkcolor=Brown4,% + citecolor=SeaGreen4,% + urlcolor=RoyalBlue3,% + pdftex + ]{hyperref} +% \end{macrocode} +% +% +% \subsubsection{Misc Settings} +% +% Configure moderncv to use the classic layout. +% \begin{macrocode} +\moderncvtheme{classic} +% \end{macrocode} +% +% Some definitions for list symbols. +% \begin{macrocode} +\newcommand{\up}[1]{\ensuremath{^\textrm{\scriptsize#1}}} +\renewcommand{\listitemsymbol}{\textendash} +% \end{macrocode} +% +% Define a new heading for BibLaTeX doing nothing, we want to set headings manually in the CV. +% \begin{macrocode} +\defbibheading{None}{} +% \end{macrocode} +% +% \subsection{Macros} +% +% \DescribeMacro{\skbcvrefplain} +% This macro prints a list of references without any labels. It expects a list of citation references, and empty list is valid and +% and will result in an empty reference list. The macro defines a new environment for the BibTeX list adding an indent to the list +% using moderncv counters. \cmd{\hintscolumnwidth} is the left column of an entry and \cmd{\separatorcolumnwidth} is the middle column +% providing a spacer between left and right. +% +% With the new environment defined, the macro then opens a new refsgment (BibLaTeX) to group all references without impacting the overall +% reference list. It uses \cmd{\nocite} to mark all references as being used without printing them, and then \cmd{\printbibliography} for +% printing the list. The options here are: +% \begin{skbnotelist} +% \item heading - refers to the new heading we have defined earlier, called None. +% \item segment - points to the current refsegment, so only references used here will be part of the list. +% \item maxnames - the maximum names shown per entry, we want to see as many as possible. +% \item minnames - the minimum names shown per entry, we want to see as many as possible. +% \end{skbnotelist} +% \begin{macrocode} +\newcommand{\skbcvrefplain}[1]{% + \defbibenvironment{bibliography} + {\list{}{% + \setlength{\parindent}{\hintscolumnwidth} + \addtolength{\parindent}{\separatorcolumnwidth} + \leftmargin\parindent + \setlength{\parindent}{0pt} + \itemindent\parindent + \itemsep\bibitemsep + \parsep\bibparsep + }} + {\endlist} + {\item} + + \begin{refsegment} + \nocite{#1} + \printbibliography[heading=None,segment=\therefsegment,maxnames=20,minnames=20] + \end{refsegment} +} +% \end{macrocode} +% +% \DescribeMacro{\skbcvrefenum} +% This macro prints a list of references as an enumerated list, which helps to see how many entries a list has and also makes it +% easier to read the list in the final CV. It expects a list of citation references, and empty list is valid and +% and will result in an empty reference list. The macro defines a new environment for the BibTeX list using an enumerate environment, which +% was of course alreadt changed loading the enumitem package. First, we calculate the length for \cmd{\parindent} by setting it to \cmd{hintscolumnwidth}, +% addint \cmd{separatorcolumnwidth} and finally adding another 1pt to it. This will make the items of the enumeration list appear within the left column of +% the CV. We then apply a few options to the enumerate environment: +% \begin{skbnotelist} +% \item leftmargin - set to the newly calculate \cmd{\parindent}. +% \item labelsep - set to the spacer defined in moderncv \cmd{\separatorcolumnwidth}. +% \item label - set to use arabic numbers without any trailing full stop. +% \item noitemsep - no vertical separation between items, we want a small list. +% \item topsep - finally add a top separator for the items of 1pt. +% \end{skbnotelist} +% To reset \cmd{\parindent}, we set it back to 0pt once the enumerate environment is closed. +% +% With the new environment defined, the macro then opens a new refsgment (BibLaTeX) to group all references without impacting the overall +% reference list. It uses \cmd{\nocite} to mark all references as being used without printing them, and then \cmd{\printbibliography} for +% printing the list. The options here are: +% \begin{skbnotelist} +% \item heading - refers to the new heading we have defined earlier, called None. +% \item segment - points to the current refsegment, so only references used here will be part of the list. +% \item maxnames - the maximum names shown per entry, we want to see as many as possible. +% \item minnames - the minimum names shown per entry, we want to see as many as possible. +% \end{skbnotelist} +% \begin{macrocode} +\newcommand{\skbcvrefenum}[1]{% + \defbibenvironment{bibliography} + {\setlength{\parindent}{\hintscolumnwidth} + \addtolength{\parindent}{\separatorcolumnwidth} + \addtolength{\parindent}{1pt} + \begin{enumerate}[leftmargin=\parindent,labelsep=\separatorcolumnwidth,label*=\arabic*,noitemsep,topsep=1pt]{% + }} + {\end{enumerate}% + \setlength{\parindent}{0pt} + } + {\item} + + \begin{refsegment} + \nocite{#1} + \printbibliography[heading=None,segment=\therefsegment,maxnames=20,minnames=20] + \end{refsegment} +} +% \end{macrocode} +% +% % There is no code for \cmd{\AtBeginDocument} and \cmd{\AtEndDocument}, so we are done now. % \begin{macrocode} -%</skblncsppt> +%</skbmoderncv> % \end{macrocode} % % @@ -2399,7 +2527,7 @@ %\subsection{v0.20 from 08-Jul-2010} % %\begin{skbnotelist} -% \item first LaTeX package version of the skb +% \item first \LaTeX~package version of the skb % \item no changes in the documentation and no change in commands % \item removed acronym list %\end{skbnotelist} @@ -2530,7 +2658,8 @@ %\subsection{v0.5 from 04-Aug-2010} % %\begin{skbnotelist} -% \item added example describing how the \SKB~uses itself to create parts of its documentation +% \item this is the first version on CTAN: http://www.ctan.org/tex-archive/macros/latex/contrib/skb/ +% \item added example describing how the SKB uses itself to create parts of its documentation % \item removed the redefinition of \cmd{\title} and \cmd{\author}, since they intererred with the beamer package definitions of these macros. % added \cmd{\skbtitle} and \cmd{\skbauthor} instead. % \item added RequiredPackage in the class skbbeamer before loading beamer to load xcolors with x11names @@ -2538,7 +2667,7 @@ % booktabs will be loaded (for top/mid/bottomrule % \item added test for beamer package: depending if beamer or beamerarticle are loaded, the SKB will initialise a few newe ifs % \item added required package dirtree, and redefinition of some dirtree styles -% \item added two options to the \SKB package: beameranim and beamernoanim +% \item added two options to the SKB package: beameranim and beamernoanim % \item added the package versions with the environments: skbmodetext, skbmodenote and skbmodeslide % \item added the package optional with the options: text, note, slide, anim and noanim % \item internally, the package optional also provides memoir @@ -2587,6 +2716,31 @@ %\end{skbnotelist} % % +%\subsection{v0.51 from 12-May-2011} +% +%\begin{skbnotelist} +% \item worked on the documentation, lots of changes +% \item fixed a typo in skb.cfg, which made the bibliography file unloadable +% \item changed linkcolor from AntiqueWhite4 to Brown4 +% \item added acronym database (short version of the automatically generated) and acronym handling in the documentation +% \item removed \cmd{\SKB}, appropriately it's now an acronym rather than a special type setting +% \item added bibtex load to the documentation +% \item removed call to \cmd{\skbbibtex} from class files, users need to call that now manually. reason is that otherwise +% configuration changes for bib/bibfile have no effect +% \item changed load mechanism for the user guide, due to bibtex load problems +% \item changed the two skbnote environments (list/enum), removed unnecessary temp storage +% \item changed default acronym file name to acronyms, note the added 's' +% \item added skbmoderncv class using the moderncv package and adding some macros for reference lists using biblatex +%\end{skbnotelist} +% +% +% +% +%\section*{Acronyms} +% \skbacronyms +% +%\printbibliography +% % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2610,3 +2764,4 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} +
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/skb/skb.ins b/Master/texmf-dist/source/latex/skb/skb.ins index 01316a4355f..48883f61550 100644 --- a/Master/texmf-dist/source/latex/skb/skb.ins +++ b/Master/texmf-dist/source/latex/skb/skb.ins @@ -1,101 +1,110 @@ -% skb.ins
-% Copyright (c) 2010 Sven van der Meer <sven@vandermeer.de>
-%
-% This work may be distributed and/or modified under the conditions of the
-% LaTeX Project Public License, either version 1.3 of this license or (at
-% your option) any later version.
-% The latest version of this license is in
-% <http://www.latex-project.org/lppl.txt>
-% and version 1.3 or later is part of all distributions of LaTeX version
-% 2005/12/01 or later.
-%
-% This work has the LPPL maintenance status `author-maintained'.
-%
-% The Current Maintainer of this work is
-% Sven van der Meer <sven@vandermeer.de>
-%
-% This software is provided 'as is', without warranty of any kind, either
-% expressed or implied, including, but not limited to, the implied
-% warranties of merchantability and fitness for a particular purpose.
-%
-% This work consists of all files listed in MANIFEST.TXT.
-%
-
-\IfFileExists{skb.ins}
- {\gdef\batchfile{skb.ins}\gdef\dtxfile{skb.dtx}}
- {\IfFileExists{../source/skb.ins}{\gdef\batchfile{../source/skb.ins}\gdef\dtxfile{../source/skb.dtx}}
-}
-
-\input docstrip.tex
-
-
-\declarepreamble\skbpackage
-
-
-skb.sty
-\endpreamble
-
-\declarepreamble\skbarticle
-
-
-skbarticle.cls
-\endpreamble
-
-\declarepreamble\skbbook
-
-
-skbbook.cls
-\endpreamble
-
-\declarepreamble\skbbeamer
-
-
-skbbeamer.cls
-\endpreamble
-
-\declarepreamble\skblncsbeamer
-
-
-skblncsbeamer.cls
-\endpreamble
-
-\declarepreamble\skblncsppt
-
-
-skblncsppt.cls
-\endpreamble
-
-\declarepreamble\skbcfg
-
-
-skb.cfg
-\endpreamble
-
-\keepsilent
-
-\usepreamble\skbpackage
-\generateFile{skb.sty}{f}{\from{\dtxfile}{skbpackage}}
-
-\usepreamble\skbarticle
-\generateFile{skbarticle.cls}{f}{\from{\dtxfile}{skbarticle}}
-
-\usepreamble\skbbook
-\generateFile{skbbook.cls}{f}{\from{\dtxfile}{skbbook}}
-
-\usepreamble\skbbeamer
-\generateFile{skbbeamer.cls}{f}{\from{\dtxfile}{skbbeamer}}
-
-\usepreamble\skblncsbeamer
-\generateFile{skblncsbeamer.cls}{f}{\from{\dtxfile}{skblncsbeamer}}
-
-\usepreamble\skblncsppt
-\generateFile{skblncsppt.cls}{f}{\from{\dtxfile}{skblncsppt}}
-
-\usepreamble\skbcfg
-\generateFile{skb.cfg}{f}{\from{\dtxfile}{skbcfg}}
-
-\Msg{**************************************************************}
-\Msg{* \space\space skb.dtx}
-\Msg{*}
-\Msg{**************************************************************}
-
+% skb.ins +% Copyright (c) 2011 Sven van der Meer <sven@vandermeer.de> +% +% This work may be distributed and/or modified under the conditions of the +% LaTeX Project Public License, either version 1.3 of this license or (at +% your option) any later version. +% The latest version of this license is in +% <http://www.latex-project.org/lppl.txt> +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `author-maintained'. +% +% The Current Maintainer of this work is +% Sven van der Meer <sven@vandermeer.de> +% +% This software is provided 'as is', without warranty of any kind, either +% expressed or implied, including, but not limited to, the implied +% warranties of merchantability and fitness for a particular purpose. +% +% This work consists of all files listed in MANIFEST.TXT. +% + +\IfFileExists{skb.ins} + {\gdef\batchfile{skb.ins}\gdef\dtxfile{skb.dtx}} + {\IfFileExists{../source/skb.ins}{\gdef\batchfile{../source/skb.ins}\gdef\dtxfile{../source/skb.dtx}} +} + +\input docstrip.tex + + +\declarepreamble\skbpackage + + +skb.sty +\endpreamble + +\declarepreamble\skbarticle + + +skbarticle.cls +\endpreamble + +\declarepreamble\skbbook + + +skbbook.cls +\endpreamble + +\declarepreamble\skbbeamer + + +skbbeamer.cls +\endpreamble + +\declarepreamble\skblncsbeamer + + +skblncsbeamer.cls +\endpreamble + +\declarepreamble\skblncsppt + + +skblncsppt.cls +\endpreamble + +\declarepreamble\skbmoderncv + + +skbmoderncv.cls +\endpreamble + +\declarepreamble\skbcfg + + +skb.cfg +\endpreamble + +\keepsilent + +\usepreamble\skbpackage +\generateFile{skb.sty}{f}{\from{\dtxfile}{skbpackage}} + +\usepreamble\skbarticle +\generateFile{skbarticle.cls}{f}{\from{\dtxfile}{skbarticle}} + +\usepreamble\skbbook +\generateFile{skbbook.cls}{f}{\from{\dtxfile}{skbbook}} + +\usepreamble\skbbeamer +\generateFile{skbbeamer.cls}{f}{\from{\dtxfile}{skbbeamer}} + +\usepreamble\skblncsbeamer +\generateFile{skblncsbeamer.cls}{f}{\from{\dtxfile}{skblncsbeamer}} + +\usepreamble\skblncsppt +\generateFile{skblncsppt.cls}{f}{\from{\dtxfile}{skblncsppt}} + +\usepreamble\skbmoderncv +\generateFile{skbmoderncv.cls}{f}{\from{\dtxfile}{skbmoderncv}} + +\usepreamble\skbcfg +\generateFile{skb.cfg}{f}{\from{\dtxfile}{skbcfg}} + +\Msg{**************************************************************} +\Msg{* \space\space skb.dtx} +\Msg{*} +\Msg{**************************************************************} + |