From ff31968af2082f51e521acb83ade071ba1d2b128 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 15 Oct 2007 16:35:54 +0000 Subject: confproc 0.4e (14oct07) git-svn-id: svn://tug.org/texlive/trunk@5197 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/confproc/confproc.drv | 99 ++ .../texmf-dist/source/latex/confproc/confproc.dtx | 1298 ++++++++++++-------- .../texmf-dist/source/latex/confproc/confproc.ins | 4 +- 3 files changed, 870 insertions(+), 531 deletions(-) create mode 100644 Master/texmf-dist/source/latex/confproc/confproc.drv (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/confproc/confproc.drv b/Master/texmf-dist/source/latex/confproc/confproc.drv new file mode 100644 index 00000000000..616878f16b8 --- /dev/null +++ b/Master/texmf-dist/source/latex/confproc/confproc.drv @@ -0,0 +1,99 @@ +%% +%% This is file `confproc.drv', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% confproc.dtx (with options: `driver') +%% +%% This is `confproc.drv', the documentation driver for the confproc package. +%% Copyright (C) 2007 by Vincent Verfaille +%% +%% This file is part of the confproc package. +%% ------------------------------------------- +%% +%% It may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.2 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.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +%% This file may not be distributed without the original source file +%% `confproc.dtx'. +%% +%% The list of all files belonging to the confproc package is given in +%% the file `readme.txt'. +%% +%% This is the driver file to produce the LaTeX documentation +%% from the original source file `confproc.dtx'. +%% +%% Make changes to it as needed. (Never edit the file `confproc.dtx'!) +%% +\def\docdate{2007/10/12} +\NeedsTeXFormat{LaTeX2e}[1994/12/01]% +\ProvidesFile{confproc.drv} + [2007/10/12 v0.4c: Driver for confproc (VV)] + % + % We do not specify any options by default and its recommended not to + % change this. If you want to use a4paper the proper way is to add + % a line + % \PassOptionsToClass{a4paper}{article} + % to your `ltxdoc.cfg'. +\documentclass{ltxdoc} + + % Only use fontenc if it is present + \IfFileExists{fontenc.sty}{% + \usepackage[T1]{fontenc}}{} +\usepackage{mathptmx} +\usepackage[super]{nth} +\usepackage{amssymb,amsmath} +\RequirePackage[pdftex,colorlinks=true,linkcolor=red,citecolor=red,pagecolor=red,urlcolor=blue,bookmarksopen=true,bookmarksopenlevel=1,raiselinks,hyperindex,backref,pagebackref,plainpages=false,pdfpagelabels,breaklinks,linktocpage,pdfstartview=XYZ]{hyperref} + +\usepackage{supertabular} + + % By default this file will build the `user' documentation. It + % covers the basic information you need as an user and provides + % (if you want to) a compact index with the most important + % commands. To get the `programmer' documentation (with code + % listing, extended command index and change history), comment out + % the next line + + % To produce the compact command index: + % run makeindex -s confproc.ist confproc + + % If you commented out \OnlyDescription, you are able to control the + % index and change history with the following commands: + + % To produce the extended command index: add the following line + % one run, then run makeindex -s gind.ist confproc + % and re-process, with or without this line (much faster without) + % + % This will only have an effect if you commented out + % \OnlyDescription above! + \EnableCrossrefs + + % Next you can control the index numbering by the two commands + % \PageIndex and \CodelineIndex (I prefer the latter one..). If + % you don't want any index, comment out both commands. + % + % Description index entries refer to page numbers, code listing + % index entries refer to code lines + \CodelineIndex + % Make all index entries (description and code listing) refer to + % page numbers (if you add the following line you should comment + % out the \CodelineIndex) + + % Produce a 2 column index (if ever) + \setcounter{IndexColumns}{2} + + % To produce a change history: add the following line for one run, + % then run makeindex -s gglo.ist -o confproc.gls confproc.glo + % and re-process, with or without this line (faster without) + \RecordChanges + +\begin{document} + \DocInput{confproc.dtx} +\end{document} diff --git a/Master/texmf-dist/source/latex/confproc/confproc.dtx b/Master/texmf-dist/source/latex/confproc/confproc.dtx index 7121bc4baa3..f76abb5d83c 100644 --- a/Master/texmf-dist/source/latex/confproc/confproc.dtx +++ b/Master/texmf-dist/source/latex/confproc/confproc.dtx @@ -1,9 +1,8 @@ %^^A ================================================================= %^^A Some basic integrity-test stuff %^^A ================================================================= -% \changes{0.1c}{2007/07/31}{Removing checksum} -% \changes{0.3}{2007/09/24}{Putting checksum back} -% \CheckSum{766} +%^^A\changes{0.1c}{2007/07/31}{Removing checksum} +% \CheckSum{841} % % \iffalse %<*ID> @@ -28,9 +27,9 @@ %^^A ================================================================= %%% @LaTeX-package-file{ %%% author = "Vincent Verfaille", -%%% version = "v0.3", -%%% date = "$Date: 2007/09/28 00:00:01 $", -%%% \changes{0.1d}{2007/07/31}{Renaming 'procconf' into 'confproc'} +%%% version = "v0.4c", +%%% date = "$Date: 2007/10/12 00:00:01 $", +%%%^^A ^^A\changes{0.1d}{2007/07/31}{Renaming 'procconf' into 'confproc'} %%% filename = "confproc.dtx, %%% address = "Vincent Verfaille %%% Sound Processing and Control Lab. @@ -100,7 +99,7 @@ % % \fi % \iffalse -% \changes{0.1a}{2007/07/27}{Readme: updated!} +%^^A\changes{0.1a}{2007/07/27}{Readme: updated!} %<*readme> %^^A ================================================================= %^^A Here is the readme.txt file @@ -109,7 +108,7 @@ \begin{filecontents*}{readme.txt} The confproc package - ($Date: 2007/09/28 00:00:01 $) + ($Date: 2007/10/12 00:00:01 $) Copyright (C) 2007 by Vincent Verfaille @@ -235,7 +234,7 @@ Legal stuff: \end{filecontents*} % % -% \changes{0.1d}{2007/08/01}{Adding the confproc.ist creation.} +%^^A\changes{0.1d}{2007/08/01}{Adding the confproc.ist creation.} %<*indexstyle> %^^A ================================================================= %^^A Here is the creation of the index style file confproc.ist @@ -288,10 +287,10 @@ delim_2 "\\dotfill" % % % -% \changes{0.1d}{2007/08/01}{Adding the \package{threecolindex.sty} creation} -% \changes{0.2a}{2007/08/12}{Removing the \package{threecolindex.sty} file: corresponding cmds moved into the class!} +%^^A\changes{0.1d}{2007/08/01}{Adding the \package{threecolindex.sty} creation} +%^^A\changes{0.2a}{2007/08/12}{Removing the \package{threecolindex.sty} file: corresponding cmds moved into the class!} % -% \changes{0.1d}{2007/08/01}{Installer: adding newapave.bst.} +%^^A\changes{0.1d}{2007/08/01}{Installer: adding newapave.bst.} %<*newapavebst> \begin{filecontents*}{newapave.bst} %$$$ newapave.bst $$$ @@ -1765,7 +1764,7 @@ EXECUTE {end.bib} \end{filecontents*} % % -% \changes{0.1d}{2007/08/01}{Installer: adding newapave.sty.} +%^^A\changes{0.1d}{2007/08/01}{Installer: adding newapave.sty.} %<*newapavesty> %^^A ================================================================= %^^A Here is the creation of the bibliography style file newapave.sty @@ -1962,7 +1961,7 @@ EXECUTE {end.bib} % \def\thebibliography#1{% \section*{\bibname} - \addcontentsline{toc}{part}{\bibname} + \addcontentsline{toc}{part}{\large \bfseries \bibname} \list {\relax}{\setlength{\labelsep}{0em} \setlength{\itemindent}{-\bibhang} @@ -2044,8 +2043,8 @@ EXECUTE {end.bib} \end{filecontents*} % % -% \changes{0.1b}{2007/07/27}{Class package finished. Switching to docstrip.} -% \changes{0.1d}{2007/08/01}{Adding creation of all Unix scripts and example files (using '\nopreamble' and '\nopostamble'.} +%^^A\changes{0.1b}{2007/07/27}{Class package finished. Switching to docstrip.} +%^^A\changes{0.1d}{2007/08/01}{Adding creation of all Unix scripts and example files (using '\nopreamble' and '\nopostamble'.} %<*installer> %^^A ================================================================= %^^A Here is the docstrip installation file @@ -2189,7 +2188,7 @@ For more details, LaTeX the source `\inFileName'. \usepreamble\example\file{expages.tex}{\from{confproc.dtx}{expages}}% \usepreamble\example\file{exclasspre.tex}{\from{confproc.dtx}{exclasspre}}% \usepreamble\example\file{exclasslast.tex}{\from{confproc.dtx}{exclasslast}}% - \usepreamble\example\file{exbiblio.bib}{\from{confproc.dtx}{exbiblio}}% + \nopreamble\nopostamble\file{exbiblio.bib}{\from{confproc.dtx}{exbiblio}}% \nopreamble\nopostamble\file{procswitchandtoc.pl}{\from{confproc.dtx}{procswitchandtoc}}% \nopreamble\nopostamble\file{exprogram.csv}{\from{confproc.dtx}{exprogram}}% \nopreamble\nopostamble\file{buildpapers}{\from{confproc.dtx}{buildpapers}}% @@ -2251,7 +2250,7 @@ For more details, LaTeX the source `\inFileName'. \end{filecontents} % % -% \changes{0.1c}{2007/07/30}{Head: new} +%^^A\changes{0.1c}{2007/07/30}{Head: new} %^^A ================================================================= %^^A Here is the header that is written to driver-, example- and %^^A class-file @@ -2261,7 +2260,7 @@ For more details, LaTeX the source `\inFileName'. % may differ from the filedate. (Its ok if docdate is younger. If it % is older, then I forgot documenting. In that case: kick me... ;-) %<*dtx|driver> -\def\docdate{2007/09/28} +\def\docdate{2007/10/12} % % % The required LaTeX version: @@ -2303,19 +2302,19 @@ For more details, LaTeX the source `\inFileName'. % 3.: A short description and author for the included .dtx-file. % \fi % \ProvidesFile{confproc} -% [2007/09/28 v0.3: Documentation for confproc (VV)] +% [2007/10/12 v0.4c: Documentation for confproc (VV)] % \iffalse % % A short description and author for driver, example, config % and package file: -% [2007/09/28 v0.3: Conference Proceedings class (VV)] -% [2007/09/28 v0.3: Example for confproc (VV)] -% [2007/09/28 v0.3: Configuration for confproc (VV)] -% [2007/09/28 v0.3: Driver for confproc (VV)] +% [2007/10/12 v0.4c: Conference Proceedings class (VV)] +% [2007/10/12 v0.4c: Example for confproc (VV)] +% [2007/10/12 v0.4c: Configuration for confproc (VV)] +% [2007/10/12 v0.4c: Driver for confproc (VV)] % % A short description and author for the docstrip file: %<*dtx> - [2007/09/28 v0.3: Documented source for confproc (VV)] + [2007/10/12 v0.4c: Documented source for confproc (VV)] % % %^^A ================================================================= @@ -2330,11 +2329,15 @@ For more details, LaTeX the source `\inFileName'. % to your `ltxdoc.cfg'. \documentclass{ltxdoc} -%\changes{0.1f}{2007/08/03}{Doc style: adding hyperref package} +%^^A\changes{0.1f}{2007/08/03}{Doc style: adding hyperref package} % Only use fontenc if it is present \IfFileExists{fontenc.sty}{% \usepackage[T1]{fontenc}}{} -\usepackage{amssymb} +% \changes{0.4b}{2007/10/12}{Pkg: \package{mathptmx} replaces \package{times}} +\usepackage{mathptmx} +% \changes{0.4b}{2007/10/12}{Pkg: \package{nth} for superscript ordinals} +\usepackage[super]{nth} +\usepackage{amssymb,amsmath} \RequirePackage[pdftex,colorlinks=true,linkcolor=red,citecolor=red,pagecolor=red,urlcolor=blue,bookmarksopen=true,bookmarksopenlevel=1,raiselinks,hyperindex,backref,pagebackref,plainpages=false,pdfpagelabels,breaklinks,linktocpage,pdfstartview=XYZ]{hyperref} \usepackage{supertabular} @@ -2393,9 +2396,22 @@ For more details, LaTeX the source `\inFileName'. %^^A ================================================================= %^^A We continue with the `normal' .dtx-file %^^A ================================================================= -% \changes{0.1c}{2007/07/30}{Docu: new} % -% \changes{0.2d}{2007/08/18}{Index: removing from index all commands not related to the 'confproc' package} +% +%^^A ======= LIST OF GENERAL CHANGES ====== +%^^A\changes{0.1c}{2007/07/30}{Docu: new} +%^^A\changes{0.1c}{2007/07/30}{Introduction: new} +%^^A\changes{0.2d}{2007/08/18}{Index: removing from index all commands not related to the 'confproc' package} +%^^A\changes{0.2e}{2007/09/01}{Introduction: reorganized} +%^^A\changes{0.2e}{2007/09/01}{Introduction: history shortened} +%^^A \changes{0.3}{2007/09/28}{Docu: typo and spell checks} +% \changes{0.3}{2007/09/24}{Initial version} +% \changes{0.4a}{2007/10/03}{Move formatting issues in re-defined commands} +% \changes{0.4b}{2007/10/12}{changes from Will Robertson's advices} +% \changes{0.4c}{2007/10/12}{Bug correction: author is back in the bookmark} +% \changes{0.4d}{2007/10/12}{Re-organize changes history (use `macro' environment)} +% \changes{0.4e}{2007/10/12}{Clean up the use of \cmd{\DescribeMacro} and \cmd{\begin\{macro\}\{\}} commands} +% %^^A ================================================================= %^^A Even with enabled crossrefs do not index all macros. %^^A ================================================================= @@ -2514,12 +2530,12 @@ For more details, LaTeX the source `\inFileName'. %^^A ================================================================= % \title{The \package{\filename}~package\thanks{This file version number is \fileversion~ last revision on \filedate; doc is dated \docdate.}} % \author{Vincent -% \changes{0.1g}{2007/08/07}{Typo in my email} +%^^A\changes{0.1g}{2007/08/07}{Typo in my email} % Verfaille\thanks{\url{vincent@music.mcgill.ca}}} % \date{Printed on \today} % \maketitle % -% \changes{0.1c}{2007/07/30}{Document created} +%^^A\changes{0.1c}{2007/07/30}{Document created} %^^A ================================================================= %^^A A small abstract %^^A ================================================================= @@ -2533,10 +2549,6 @@ For more details, LaTeX the source `\inFileName'. % \tableofcontents % } % -% \changes{0.1c}{2007/07/30}{Introduction: new} -% \changes{0.2e}{2007/09/01}{Introduction: reorganized} -% \changes{0.2e}{2007/09/01}{Introduction: history shortened} -% \changes{0.3}{2007/09/28}{Docu: typo and spell checks} %^^A ================================================================= %^^A Short description of what is done by the package %^^A Miscellaneous comments @@ -2547,10 +2559,11 @@ For more details, LaTeX the source `\inFileName'. %^^A ================================================================= % \subsection{Short history} % +% \changes{0.4b}{2007/10/12}{Pkg: \package{nth} for superscript ordinals} %^^A ================================================================= %^^A \subsubsection{The origins} % -% When editing the proceedings of the 9th International Conference on Digital Audio Effects\footnote{DAFx-06: \href{http://www.dafx.ca/dafx06_proceedings.html}{\sf http://www.dafx.ca/dafx06\_proceedings.html}} (DAFx-06, Montr\'eal, Qc, Canada), I developed a set of \LaTeX{} commands in order to produce the best quality proceedings we could achieve thanks to \LaTeX{}. The solution developed was partially documented on the DAFx-06 website \cite{Verfaille:2006:howto:web} and in a technical report \cite{Verfaille:2006:howto:confproc}. +% When editing the proceedings of the \nth{9} International Conference on Digital Audio Effects\footnote{DAFx-06: \href{http://www.dafx.ca/dafx06_proceedings.html}{\sf http://www.dafx.ca/dafx06\_proceedings.html}} (DAFx-06, Montr\'eal, Qc, Canada), I developed a set of \LaTeX{} commands in order to produce the best quality proceedings we could achieve thanks to \LaTeX{}. The solution developed was partially documented on the DAFx-06 website \cite{Verfaille:2006:howto:web} and in a technical report \cite{Verfaille:2006:howto:confproc}. % % Later on, I created a shorter example version on which other proceedings editors could build up their proceedings. It was used for the 5th International Linux Audio Conference\footnote{LAC2007: \href{http://www.kgw.tu-berlin.de/~lac2007/proceedings.shtml}{\sf http://www.kgw.tu-berlin.de/$\sim$lac2007/proceedings.shtml}} (March 2007, Berlin, Germany; edited by \person{Marije Baalman}); for the 13th International Conference on Auditory Display\footnote{ICAD-07: \href{http://www.music.mcgill.ca/icad2007/proceedings.php}{\sf http://www.music.mcgill.ca/icad2007/proceedings.php}} (June 2007, Montreal, Qc, Canada; edited by \person{Gary Scavone}); for the Journal on Multimodal User Interfaces\footnote{JMUI: \href{http://www.jmui.org/index.php/JMUI/issue/view/1/showToc}{\sf http://www.jmui.org/index.php/JMUI/issue/view/1/showToc}} (Vol. 1(1), 2007; edited by \person{Christian Frisson}); and for the 10th International Conference on Digital Audio Effects\footnote{DAFx-07: \href{http://dafx.labri.fr/}{\sf http://dafx.labri.fr/}} (September 2007, Bordeaux, France; edited by \person{Sylvain Marchand}). % @@ -2565,7 +2578,7 @@ For more details, LaTeX the source `\inFileName'. % The provided \package{confproc} class is based on several great packages, among which \package{pdfpages} \cite{Matthias:2004:pdfpages} by \person{Andreas Matthias} (the most useful package for proceedings making) together with \package{hyperref} \cite{hyperref} by \person{Sebastian Rahtz} and \person{Heiko Oberdiek} (to manage with all PDF and hyperlinks issues). So, you may consider it as a time saving package to faster produce your conference proceedings. % % -% \changes{0.2e}{2007/09/01}{Finish to re-test and document the pros/cons of other packages} +%^^A\changes{0.2e}{2007/09/01}{Finish to re-test and document the pros/cons of other packages} %^^A ================================================================= %^^A The rivalry ;-) %^^A ================================================================= @@ -2603,7 +2616,7 @@ For more details, LaTeX the source `\inFileName'. % The \package{editor} package from the AMS \cite{AMS:editor} provides information and documents to produce both the front end and the back end of proceedings, which is of great help to understand all that has to be done (particularly the table of contents and the re-numbering of all papers). However, as they explicitely say it, there is no mechanism to assemble the files together. % % -% \changes{0.2a}{2007/08/12}{Docu: added the description from the report} +%^^A\changes{0.2a}{2007/08/12}{Docu: added the description from the report} %^^A ================================================================= %^^A Description %^^A ================================================================= @@ -2626,7 +2639,7 @@ For more details, LaTeX the source `\inFileName'. % \end{enumerate} % % -% \changes{0.2e}{2007/09/01}{Pros and cons reorganized} +%^^A\changes{0.2e}{2007/09/01}{Pros and cons reorganized} %^^A ================================================================= %^^A Pros and cons %^^A ================================================================= @@ -2646,17 +2659,39 @@ For more details, LaTeX the source `\inFileName'. % \item not everything is transparent to the user (or look into the class code); % \item customization is limited to the class designer's defined commands; % \item creates DAFx-like proceedings: if you liked it, great; otherwise, well, you will need to work more to change what you do not like; -% \item the \package{\filename} package is young: its functionalities were only used 4 times (in its previous form of \LaTeX{} commands). I however used it to recompile the DAFx-06 proceedings, in order to check compability, and it was able to re-generate the exactly same document! +% \item the \package{\filename} package is young: its functionalities were only used 4 times, but not under the form of this class, but in its previous form of \LaTeX{} commands. I however successfully used it to re-generate the DAFx-06 proceedings. % \end{itemize} % % %^^A ================================================================= %^^A Left empty and commented out until version 1.0 is reached %^^A ================================================================= -% ^^A \subsection{What's new} -% ^^A \label{subsec:new} +% \subsection{What's new} +% \label{subsec:new} +% +% Version 0.4e enhances the package by redefining book commands, and fixes several issues. Here is a list of the recent fixes (bold version numbers correspond to the uploaded version: +% \begin{itemize} +% \item[\bf (0.4e)] define page layout with the \package{geometry} package (thanks to \person{Will Robertson}); +% \item[(0.4d)] re-organize changes history using \file{macro} environment: shorter and clearer; +%^^A \item[(0.4c)] bug correction: author is back in the bookmark (disappeared in v0.4a); +% \item[(0.4b)] +% \begin{itemize} +% \item bug correction: have \cmd{\hypersetup} evaluated only at the document beginning (then taking into account the user changes in the PDF metadata); +% \item remove formatting from footer and name-like commands: author, title, etc. (thanks to \person{Will Robertson}); +% \item use \package{mathptmx} package instead of \package{times} package, and \package{nth} package instead of \cmd{\textsuperscript} command (thanks to \person{Will Robertson}); +% \item redefine \cmd{\thebibliography} to avoid inserting a phantom item to set the introductory paragraph (thanks to \person{Will Robertson}); +% \end{itemize} +% \item[(0.4a)] +% \begin{itemize} +% \item allows to insert 1-page long papers (did not work in v0.3 and previous); +% \item instead of replacing each paper's last page by the list of its bibliography items, print them on top of the header of the last page; +% \item incorporate font style changes by redefining the \cmd{\mainmatter}, \cmd{\backmatter}, \cmd{\thebibliography}, \cmd{\thecontents} commands (thanks to \person{Will Robertson}); +% \end{itemize} +% \item[\bf (0.3)] initial version. +% \end{itemize} +% % -% \changes{0.1c}{2007/07/30}{Todo: created} +%^^A\changes{0.1c}{2007/07/30}{Todo: created} %^^A ================================================================= %^^A What have to be done? %^^A ================================================================= @@ -2666,13 +2701,13 @@ For more details, LaTeX the source `\inFileName'. % At this time this package offers all the features the original scripts did, and even more. So, as far as I am concerned, it is `complete' as is. You may however consider debugging/adding the following functionalities for you own use: % \begin{itemize} %^^A \item replace all \verb+\def+ by \verb+\newcommand+ -% \item fix the flush-right problem for back-references in the bibliography; +% \item fix the right-flush issue for a small number back-references in the bibliography; % \item have the pdf link pointing to the top of the page of the index/bibliography, and not to a particular position in the text; % \item provide a mechanism to set the argument of \verb+\pdfbookmark[0]{Program}{contents}+, that customizes the table of contents bookmark entry (does not work yet); % \item use the \package{keyval} package to properly manage options like \verb+ % \end{macrocode} % -% \changes{0.1f}{2007/08/02}{merging welcome and publishing in the example} +%^^A\changes{0.1f}{2007/08/02}{merging welcome and publishing in the example} % % % @@ -3932,8 +3994,8 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... %^^A ================================================================= % \subsubsection{First way: redefining local commands} % -% \changes{0.1d}{2007/08/01}{File: create expapersswitch.tex.} -% \changes{0.1f}{2007/08/03}{Cmds: renaming loc as paper} +%^^A\changes{0.1d}{2007/08/01}{File: create expapersswitch.tex.} +%^^A\changes{0.1f}{2007/08/03}{Cmds: renaming loc as paper} %^^A ================================================================= %^^A Here is the creation of the expapersswitch.tex file, part of the example. %^^A It is written on first LaTeX run if it does not already exist @@ -3950,8 +4012,8 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... % \end{macrocode} % We then define the insertion command for the paper with ID=01: % \begin{macrocode} -%=========== PAPER ID = 1 =========== -\ifnum\paperswitch=01 { +%=========== PAPER ID = 45 =========== +\ifnum\paperswitch=45 { % \end{macrocode} % For this first paper inclusion, we chose to use intermediary commands: % \begin{macrocode} @@ -3960,9 +4022,9 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... \renewcommand{\paperindex}{\index{Alabama, Alfred}} \renewcommand{\paperref}{\paperswitch} \renewcommand{\paperpagenum}{6} - \renewcommand{\papercite}{Mitra:Kaiser:1993:DSP:handbook,% - Haykin:1991:adaptive:filter,Moorer:2000:AES:audio:millenium,% - Arfib:1998:DAFx} + \renewcommand{\papercite}{Serra:1996:sms,% + Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,% + Mitra:Kaiser:1993:DSP:handbook} % \end{macrocode} % We use the \cmd{\procinsertpaper} command to insert papers. It has 9 arguments: % \begin{enumerate} @@ -3989,58 +4051,58 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... % Even though less readible, it may be shorter not to redefine local commands, and to directly pass arguments to the \cmd{\procinsertpaper} command. This is presented in the next example, and corresponds to what is provided by the Perl script (see sec. \ref{sec:scripts:perl}) that converts the .csv data into \LaTeX{} code to insert in this current file: % % \begin{macrocode} -%=========== PAPER ID = 2 =========== -\ifnum\paperswitch=2 +%=========== PAPER ID = 21 =========== +\ifnum\paperswitch=21 \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{5}{\paperswitch}% {Templates for One Author with Two Affiliations}% paper title {Bob Boogie-Woogie}% list of authors {\index{Boogie-Woogie, Bob}}% authors index entries - {Haykin:1991:adaptive:filter,Serra:1996:sms,% - Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx}% cited bib items + {Serra:1996:sms,Moorer:2000:AES:audio:millenium,% + Arfib:1998:DAFx,Haykin:1991:adaptive:filter}% {#2}{\pdfbookmark[2]{Bob Boogie-Woogie}{#2.author1}} \fi -%=========== PAPER ID = 3 =========== -\ifnum\paperswitch=3 +%=========== PAPER ID = 27 =========== +\ifnum\paperswitch=27 + \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{7}{\paperswitch}% + {Templates f\'or F\`o\"ur Àuthors}% + {J\o{}hn J\"oe, K\'e\~{n}t K\^{\i}ng, L\`ou L\'ou, % + M\`anfr\'ed J. M\^ost\u{e}k\i}% + {\index{J\"oe, J\o{}hn}\index{K\^{\i}ng, K\'e\~{n}t}% + \index{L\'ou, L\`ou}\index{M\^ost\u{e}k\i, M\`anfr\'ed J.}}% + {Serra:1996:sms,Moorer:2000:AES:audio:millenium,% + Dutilleux:1991,Fitz:Haken:2003:Web:morphing:loris}% + {#2}{\pdfbookmark[2]{J\o{}hn J\"oe}{#2.author1}% + \pdfbookmark[2]{K\'e\~{n}t K\^{\i}ng}{#2.author2}% + \pdfbookmark[2]{L\`ou L\'ou}{#2.author3}% + \pdfbookmark[2]{M\`anfr\'ed J. M\^ost\u{e}k\i}{#2.author4}} +\fi + +%=========== PAPER ID = 33 =========== +\ifnum\paperswitch=33 \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{4}{\paperswitch}% {Templates for Two Authors}% {Alfred Alabama, Chris Christmas}% {\index{Alabama, Alfred}\index{Christmas, Chris}}% {Serra:1996:sms,Moorer:2000:AES:audio:millenium,% - Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription}% + Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription}% {#2}{\pdfbookmark[2]{Alfred Alabama}{#2.author1}% \pdfbookmark[2]{Chris Christmas}{#2.author2}} \fi -%=========== PAPER ID = 4 =========== -\ifnum\paperswitch=4 +%=========== PAPER ID = 75 =========== +\ifnum\paperswitch=75 \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{6}{\paperswitch}% {Templates for Three Authors}% {Bob Boogie-Woogie, Chris Christmas, Don Didon}% {\index{Boogie-Woogie, Bob}\index{Christmas, Chris}% \index{Didon, Don}}% - {Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription,% - Egozy:1995:MIT:features:gesture}% + {Serra:1996:sms,Moorer:2000:AES:audio:millenium,% + Arfib:1998:DAFx,Egozy:1995:MIT:features:gesture}% {#2}{\pdfbookmark[2]{Bob Boogie-Woogie}{#2.author1}% \pdfbookmark[2]{Chris Christmas}{#2.author2}% \pdfbookmark[2]{Don Didon}{#2.author3}} \fi - -%=========== PAPER ID = 5 =========== -\ifnum\paperswitch=5 - \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{7}{\paperswitch}% - {Templates f\'or F\`o\"ur Àuthors}% - {J\o{}hn J\"oe, K\'e\~{n}t K\^{\i}ng, L\`ou L\'ou, % - M\`anfr\'ed J. M\^ost\u{e}k\i}% - {\index{J\"oe, J\o{}hn}\index{K\^{\i}ng, K\'e\~{n}t}% - \index{L\'ou, L\`ou}\index{M\^ost\u{e}k\i, M\`anfr\'ed J.}}% - {Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription,% - Egozy:1995:MIT:features:gesture}% - {#2}{\pdfbookmark[2]{J\o{}hn J\"oe}{#2.author1}% - \pdfbookmark[2]{K\'e\~{n}t K\^{\i}ng}{#2.author2}% - \pdfbookmark[2]{L\`ou L\'ou}{#2.author3}% - \pdfbookmark[2]{M\`anfr\'ed J. M\^ost\u{e}k\i}{#2.author4}} -\fi } % % \end{macrocode} @@ -4050,8 +4112,8 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... % (hyperref) removing `\u' on input line 184. %\end{verbatim} % -% \changes{0.2d}{2007/08/18}{Adding the description and examples for day and session organized conferences} -% \changes{0.2d}{2007/08/18}{Adding examples of table of contents and bookmarks layouts} +%^^A\changes{0.2d}{2007/08/18}{Adding the description and examples for day and session organized conferences} +%^^A\changes{0.2d}{2007/08/18}{Adding examples of table of contents and bookmarks layouts} % %^^A ================================================================= % \subsubsection{Get page numbers and recompile all papers} @@ -4093,7 +4155,7 @@ Text of the welcome letter, with 2 lines spacing, bla bla bla... % % Note that the \package{\filename} does not handle programs with parallel sessions. It is then up to you to decide in which order they may appear in the table of contents. % -% \changes{0.2e}{2007/09/01}{Docu: all sessions/days tables redone with tabular instead of minipage (smaller and easier to read)} +%^^A\changes{0.2e}{2007/09/01}{Docu: all sessions/days tables redone with tabular instead of minipage (smaller and easier to read)} %^^A ================================================================= % \paragraph{Program organized by sessions} % @@ -4331,14 +4393,14 @@ Type,Paper Number,PC Decision,Pages,Title,File Name,Generated,Citations,Auth1 Fi Type,-2,O,,,,,,First Name,Last Name,First Name,Last Name,First Name,Last Name, F.Name, L.Name,, Day,0,,,Day 1: September 18 2007,,,,,,,,,,,,, Session,0,,,Oral Session 1,,,,,,,,,,,,, -paper,1,O,6,Templates for One Author,p_001,LaTeX,"Mitra:Kaiser:1993:DSP:handbook,Haykin:1991:adaptive:filter,Serra:1996:sms,Moorer:2000:AES:audio:millenium",Alfred,Alabama,,,,,,,, -paper,2,O,5,Templates for One Author with Two Affiliations,p_003,LaTeX,"Mitra:Kaiser:1993:DSP:handbook,Haykin:1991:adaptive:filter,Serra:1996:sms,Arfib:1998:DAFx",Bob,Boogie-Woogie,,,,,,,, +paper,45,O,6,Templates for One Author,p_001,LaTeX,"Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Mitra:Kaiser:1993:DSP:handbook",Alfred,Alabama,,,,,,,, +paper,21,O,5,Templates for One Author with Two Affiliations,p_003,LaTeX,"Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Haykin:1991:adaptive:filter",Bob,Boogie-Woogie,,,,,,,, Poster Session,0,,,Poster Session 1,,,,,,,,,,,,, -paper,3,P,4,Templates for Two Authors,p_005,LaTeX,"Mitra:Kaiser:1993:DSP:handbook,Haykin:1991:adaptive:filter,Serra:1996:sms,Askenfelt:1976:automatic:transcription",Alfred,Alabama,Chris,Christmas,,,,,, +paper,32,P,4,Templates for Two Authors,p_005,LaTeX,"Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription",Alfred,Alabama,Chris,Christmas,,,,,, Day,0,,,Day 2: September 19 2007,,,,,,,,,,,,, Session,0,,,Oral Session 2,,,,,,,,,,,,, -paper,4,O,6,Templates for Three Authors,p_007,LaTeX,"Mitra:Kaiser:1993:DSP:handbook,Haykin:1991:adaptive:filter,Serra:1996:sms,Egozy:1995:MIT:features:gesture",Bob,Boogie-Woogie,Chris,Christmas,Don,Didon,,,, -paper,5,O,7,Templates fór Fòür Àuthors,p_009,LaTeX,"Mitra:Kaiser:1993:DSP:handbook,Haykin:1991:adaptive:filter,Serra:1996:sms,Dutilleux:1991,Fitz:Haken:2003:Web:morphing:loris",John,Jöe,Kéñt,Kîng,Lòu,Lóu,Mànfréd J.,Môst\u{e}k\i,, +paper,75,O,6,Templates for Three Authors,p_007,LaTeX,"Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Egozy:1995:MIT:features:gesture",Bob,Boogie-Woogie,Chris,Christmas,Don,Didon,,,, +paper,27,O,7,Templates fór Fòür Àuthors,p_009,LaTeX,"Serra:1996:sms,Moorer:2000:AES:audio:millenium,Dutilleux:1991,Fitz:Haken:2003:Web:morphing:loris",John,Jöe,Kéñt,Kîng,Lòu,Lóu,Mànfréd J.,Môst\u{e}k\i,, % % \end{macrocode} % @@ -4374,12 +4436,12 @@ paper,5,O,7,Templates fór Fòür Àuthors,p_009,LaTeX,"Mitra:Kaiser:1993:DSP:ha % \subsubsection{Perl script to generate the paper switch and program} % \label{sec:scripts:perl} % -% \changes{0.2c}{2007/08/17}{Scripts: Perl script 'procswitchandtoc.pl' to generate 'paperswitch.tex' and 'sessions.tex' added} -% \changes{0.2d}{2007/08/18}{Scripts: Perl script to generate 'procswitchandtoc.pl' added} -% \changes{0.2d}{2007/08/18}{Scripts: Perl script 'procswitchandtoc.pl' modified to insert bookmarks, and text shorten} -% \changes{0.2d}{2007/08/20}{Scripts: Perl script modified and authors pdfboomarks added} -% \changes{0.2g}{2007/09/07}{Scripts: changing input file line break style (Unix instead of Max)} -% \changes{0.2h}{2007/09/12}{Scripts: Perl script is case insensitive for session names 9and has more options)} +%^^A\changes{0.2c}{2007/08/17}{Scripts: Perl script 'procswitchandtoc.pl' to generate 'paperswitch.tex' and 'sessions.tex' added} +%^^A\changes{0.2d}{2007/08/18}{Scripts: Perl script to generate 'procswitchandtoc.pl' added} +%^^A\changes{0.2d}{2007/08/18}{Scripts: Perl script 'procswitchandtoc.pl' modified to insert bookmarks, and text shorten} +%^^A\changes{0.2d}{2007/08/20}{Scripts: Perl script modified and authors pdfboomarks added} +%^^A\changes{0.2g}{2007/09/07}{Scripts: changing input file line break style (Unix instead of Max)} +%^^A\changes{0.2h}{2007/09/12}{Scripts: Perl script is case insensitive for session names 9and has more options)} %^^A ================================================================= %^^A Here is the creation of the procwitchandtoc.pl file, part of the example. %^^A It is written on first LaTeX run if it does not already exist @@ -4604,23 +4666,19 @@ close(SESSIONS); % \subsection{Common bibliography items} % \label{sec:ex:bib:common} % -% \changes{0.1d}{2007/08/01}{Biblio: adding the exbiblio.tex creation} -% \changes{0.1i}{2007/08/10}{Biblio: code cleanup} -% \changes{0.1i}{2007/08/10}{Biblio: adding the \cmd{\procbibintro} command to customize the biblio introduction} +%^^A\changes{0.1d}{2007/08/01}{Biblio: adding the \file{exbiblio.tex} file creation} +%^^A\changes{0.1i}{2007/08/10}{Biblio: code cleanup} +%^^A\changes{0.1i}{2007/08/10}{Biblio: adding the \cmd{\procbibintro} command to customize the biblio introduction} %^^A ================================================================= %^^A Here is the creation of the exbibcommon.tex file, part of the example. %^^A It is written on first LaTeX run if it does not already exist %^^A ================================================================= % % Let us take a look at the common bibliographic items of this example: +% \changes{0.4b}{2007/10/12}{General biblio: remove item containing introductory paragraph} % \begin{macrocode} %<*exbiblio> %-- This item generates the text under the bibliography title -@misc{bib:intro, - Author = {~}, - Title = {\procbibintro\newline{}% - \centerline{\underline{\hspace*{5cm}}}}} - %-- references to a book @book{Mitra:Kaiser:1993:DSP:handbook, Author = {S.~K. Mitra and J.~F. Kaiser}, @@ -4713,7 +4771,7 @@ close(SESSIONS); % % First, you will notice that you need to make modifications to all papers, then needing to re-compile them all. For instance, you want each individual paper to have the same first page number as the one it has in the proceedings (for papers with page numbers included in the footer). Hopefully, they were all produced in \LaTeX{}, so you can automatize the process with a Unix script, such as: % -% \changes{0.1d}{2007/08/01}{Adding the exbiblio.tex creation} +%^^A\changes{0.1d}{2007/08/01}{Adding the exbiblio.tex creation} %^^A ================================================================= %^^A Here is the creation of the buildpapers script file, part of the example. %^^A It is written on first LaTeX run if it does not already exist @@ -4798,8 +4856,8 @@ done % Eventhough the previous Unix script already does it, you may have to re-copy all PDF files at the right place (\ie{} in 'papers/') without recompiling all the papers. This is achieved with a script such as: % % -% \changes{0.1d}{2007/08/01}{Unix scripts: creating buildcppdfpapers.} -% \changes{0.1f}{2007/08/03}{Unix scripts: cleanup for buildcppdfpapers.} +%^^A\changes{0.1d}{2007/08/01}{Unix scripts: creating buildcppdfpapers.} +%^^A\changes{0.1f}{2007/08/03}{Unix scripts: cleanup for buildcppdfpapers.} %^^A ================================================================= %^^A Here is the creation of the buildcppdfpapers script file, part of the example. %^^A It is written on first LaTeX run if it does not already exist @@ -4827,7 +4885,7 @@ done % This script if the most important, as it describes all compilation steps to produce the final version of the proceedings. As you can see, it requires many compilations, to create valid table of content, index, bibliography, index of authors, and proper back references from the bibliography. It also manages for you the renaming of the class insertion file, so that you do not need anymore to run a last time by hand after changing the \Lopt{compil=backref} option to \Lopt{compil=last} (as this option change, and others, are in the \file{exclasspre.tex} and \file{exclasslast.tex} files). % % -% \changes{0.1d}{2007/08/01}{Adding the buildproc script creation.} +%^^A\changes{0.1d}{2007/08/01}{Adding the buildproc script creation.} %^^A ================================================================= %^^A Here is the creation of the buildproc script file, part of the example. %^^A It is written on first LaTeX run if it does not already exist @@ -4868,7 +4926,7 @@ $PDFLATEX $TEXFILE.tex % % \end{macrocode} % -% \changes{0.2g}{2007/09/07}{Docu: starting a more organized `proceedings making'} +%^^A\changes{0.2g}{2007/09/07}{Docu: starting a more organized `proceedings making'} %^^A ================================================================= %^^A Why developing confproc %^^A ================================================================= @@ -4876,7 +4934,7 @@ $PDFLATEX $TEXFILE.tex % \label{sec:conference:proc:making} % % -% \changes{0.2g}{2007/09/07}{Docu: e-organizing steps' section} +%^^A\changes{0.2g}{2007/09/07}{Docu: e-organizing steps' section} %^^A ================================================================= %^^A Compilations %^^A ================================================================= @@ -4932,7 +4990,7 @@ $PDFLATEX $TEXFILE.tex % % You may consider renaming all papers according to their first page number (\eg{} \file{p\_NNN.pdf} if you decide to only rename the PDF files). This is very helpful to ensure you CD version of the proceedings is ISO compliant, and has file names with less than 8 characters (+ extensions). This means that you only do this when you are sure of your page numbering. You then have to change file names accordingly in the \file{.csv} file, re-generate the \file{expapersswitch.tex} file, and rebuild the proceedings. It is easily done using the Unix scripts. % -% \changes{0.2i}{2007/09/21}{Docu: finishing biblio merging and other biblio-related stuff} +%^^A\changes{0.2i}{2007/09/21}{Docu: finishing biblio merging and other biblio-related stuff} %^^A ================================================================= % \subsubsection{General bibliography}\label{sec:general:bib} % @@ -5233,7 +5291,7 @@ $PDFLATEX $TEXFILE.tex % Another solution consists in converting the PDF files into a bitmap format. It is quite dirty, since it pixellizes a vectorial image, but at least, it is able to print! For instance, we converted {\file{.pdf} images with font problems into \file{.png} format, with a figure width of 8cm and a 600 dpi resolution (this seems too much resolution for printers, as 300 dpi may be enough), and it did the trick. % % -% \changes{0.1c}{2007/07/30}{Customization: \file{confproc.cfg}} +%^^A\changes{0.1c}{2007/07/30}{Customization: \file{confproc.cfg}} % % % @@ -5242,7 +5300,7 @@ $PDFLATEX $TEXFILE.tex % \vspace*{2cm} % It now seems that you have all the necessary files and information with a functional and complete example in order to produce you own conference proceedings! % -% \changes{0.1d}{2007/07/31}{Example: removing old code from previous example} +%^^A\changes{0.1d}{2007/07/31}{Example: removing old code from previous example} % Have fun using \package{\filename}!!! % %^^A ================================================================= @@ -5282,8 +5340,8 @@ $PDFLATEX $TEXFILE.tex % % \StopEventually{ % -% \changes{0.2a}{2007/08/12}{Biblio: adding items for the report} -% \changes{0.2g}{2007/09/07}{Biblio: adding missing URLs} +%^^A\changes{0.2a}{2007/08/12}{Biblio: adding items for the report} +%^^A\changes{0.2g}{2007/09/07}{Biblio: adding missing URLs} %^^A ================================================================= %^^A We can't get enough! Of course we also want a bibliography ;-) %^^A ================================================================= @@ -5359,8 +5417,8 @@ $PDFLATEX $TEXFILE.tex % % \end{thebibliography} % -% ^^A\bibliography{confproc} -% ^^A\bibliographystyle{plain} +%^^A\bibliography{confproc} +%^^A\bibliographystyle{plain} % %^^A ================================================================= %^^A By default we'll build the `user' docu, that is: without an @@ -5386,8 +5444,8 @@ $PDFLATEX $TEXFILE.tex % \let\PrintIndex=\relax % } ^^A end of \StopEventually % -% \changes{0.1d}{2007/07/31}{Implementation: bug for creating class corrected} -% \changes{0.1d}{2007/07/31}{Implementation: moved into the document itself} +%^^A\changes{0.1d}{2007/07/31}{Implementation: bug for creating class corrected} +%^^A\changes{0.1d}{2007/07/31}{Implementation: moved into the document itself} %^^A ================================================================= %^^A The following will only be included into the `programmer' docu %^^A We follow the structure suggested in [Kopka: `LateX', Vol. 3, @@ -5410,14 +5468,14 @@ $PDFLATEX $TEXFILE.tex % \subsection{Initialization} % \label{subsec:init} % -% As you can see, this package is based on the book package for all its layout aspects. -% \changes{0.1g}{2007/08/06}{Doc: adding comments to the class code} +% As you can see, this package is based on the \package{book} package for all its layout aspects. +%^^A\changes{0.1g}{2007/08/06}{Doc: adding comments to the class code} % \begin{macrocode} %<*package> \LoadClass{book} % \end{macrocode} % -% \changes{0.2g}{2007/09/07}{Options: adding DescribeMacro for all} +%^^A\changes{0.2g}{2007/09/07}{Options: adding DescribeMacro for all} %^^A ================================================================= %^^A Declaration of the options we want to provide %^^A ================================================================= @@ -5476,12 +5534,12 @@ $PDFLATEX $TEXFILE.tex % % \subsubsection{Options passed to the \package{hyperref} package} % -% \changes{0.1i}{2007/08/10}{Options: no more re-definition of \package{hyperref} options: all options specific to the \package{hyperref} package are passed to it as unknown options of \package{\filename}.} +%^^A\changes{0.1i}{2007/08/10}{Options: no more re-definition of \package{hyperref} options: all options specific to the \package{hyperref} package are passed to it as unknown options of \package{\filename}.} % In its very first version, the \package{\filename} package was passing the following \package{hyperrref}-specific options to it: \Lopt{colorlinks}, \Lopt{colorlinks} and \Lopt{colorlinks=true}, \Lopt{colorlinks=false}, \Lopt{linkcolor}, \Lopt{citecolor}, \Lopt{urlcolor}, \Lopt{pagecolor}, \Lopt{bookmarksopen}, \Lopt{bookmarksopen=true}, \Lopt{bookmarksopen=false}. Not knowing how to use the \package{keyval} package, I used a simple and dirty trick, re-defining and passing these options, but it was limitating the customization of \package{hyperref} to what I believed was useful. So, to remove this biais, I treat them as any unknown options, that are passed to the \package{hyperref} package. If you decide to use other options of \package{hyperref}, you may unfortunately break some of the mechanisms for the proceedings making. % -% \changes{0.2b}{2007/08/16}{Options: changing \Lopt{bibmergecompil} to 'compil=bibmerge', \Lopt{bibbackrefcompil} to 'compil=bibbackref' and \Lopt{finalcompil} to 'compil=final'} -% \changes{0.2d}{2007/08/18}{Cmds: renaming all internal commands by adding the `conf\@' prefix} -% \changes{0.2e}{2007/09/01}{Options: finishing the description of the class options} +%^^A\changes{0.2b}{2007/08/16}{Options: changing \Lopt{bibmergecompil} to 'compil=bibmerge', \Lopt{bibbackrefcompil} to 'compil=bibbackref' and \Lopt{finalcompil} to 'compil=final'} +%^^A\changes{0.2d}{2007/08/18}{Cmds: renaming all internal commands by adding the `conf\@' prefix} +%^^A\changes{0.2e}{2007/09/01}{Options: finishing the description of the class options} %^^A ================================================================= % \subsubsection{Options specific to the \package{\filename} package}\label{sec:def:options:confproc} % @@ -5578,7 +5636,7 @@ $PDFLATEX $TEXFILE.tex {\typeout{confproc: 3 columns index}% \def\conf@ThreeColumnIndex{}} % \end{macrocode} -% \changes{0.2c}{2007/08/17}{Options: adding \Lopt{onecolbib} and \Lopt{twocolbib} options} +%^^A\changes{0.2c}{2007/08/17}{Options: adding \Lopt{onecolbib} and \Lopt{twocolbib} options} % % \subsubsection*{One/two columns general bibliography} % The \Lopt{twocolbib} \DescribeMacro{twocolbib} option provides a 2 columns bibliography (default): @@ -5594,7 +5652,7 @@ $PDFLATEX $TEXFILE.tex \def\conf@OneColumnBib{}} % \end{macrocode} % -% \changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} +%^^A\changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} % \subsubsection*{One/two columns table of contents} % The \Lopt{twocoltoc} \DescribeMacro{twocoltoc} option provides a 2 columns table of contents: % \begin{macrocode} @@ -5632,7 +5690,7 @@ $PDFLATEX $TEXFILE.tex % \end{macrocode} % % \subsubsection*{Clearpage} clear single or double page, depending if the document is oneside or twoside, with the \Lopt{clearsinglepage} \DescribeMacro{clearsinglepage} and \Lopt{cleardoublepage} \DescribeMacro{cleardoublepage} options: \\ -% \color{red} {\sc Is this still useful???}\color{black}\\ +%^^A \color{red} {\sc Is this still useful???}\color{black}\\ % \begin{macrocode} \DeclareOption{cleardoublepage}% {\typeout{confproc: using double page clearing}% @@ -5642,8 +5700,8 @@ $PDFLATEX $TEXFILE.tex \def\conf@WithClearsinglepage{}} % \end{macrocode} % Define \Lopt{debug} \DescribeMacro{debug,verbose} and \Lopt{verbose} options to print debug (\package{\filename} and \package{hyperref}): -% \changes{0.2a}{2007/08/12}{Options: adding the \Lopt{verbose} option} -% \changes{0.2b}{2007/08/16}{Options: adding the \Lopt{debug} option} +%^^A\changes{0.2a}{2007/08/12}{Options: adding the \Lopt{verbose} option} +%^^A\changes{0.2b}{2007/08/16}{Options: adding the \Lopt{debug} option} % \begin{macrocode} \DeclareOption{debug} {\typeout{Confproc: printing debug for confproc, hyperref}% @@ -5654,7 +5712,7 @@ $PDFLATEX $TEXFILE.tex \PassOptionsToPackage{debug}{hyperref}% \def\conf@procWithDebug{}} % \end{macrocode} -% We are now done withe the options declarations. +% We are now done with the options declarations. % %^^A ================================================================= % \subsection{Options processing} @@ -5663,7 +5721,7 @@ $PDFLATEX $TEXFILE.tex % \subsubsection{Unknown options} % % Give a warning for unknown options, and pass them by default to \package{hyperref}: -% \changes{0.1i}{2007/08/10}{Options: passing all unknown options to \package{hyperref}, to avoid redefining all link colors, etc.} +%^^A\changes{0.1i}{2007/08/10}{Options: passing all unknown options to \package{hyperref}, to avoid redefining all link colors, etc.} % \begin{macrocode} \DeclareOption*{\PackageWarning{procconf}% {Unknown option `\CurrentOption'; passed to 'hyperref'}% @@ -5674,12 +5732,13 @@ $PDFLATEX $TEXFILE.tex % \subsubsection{Default values for options} % % Options that are not set by the user have the following default settings: -% \changes{0.1i}{2007/08/10}{Option: changing default link colors for \package{hyperref}} +%^^A\changes{0.1i}{2007/08/10}{Option: changing default link colors for \package{hyperref}} % \begin{macrocode} -\ExecuteOptions{letterpaper,10pt,twoside,twosidepapers,% - compil=bibbackref,tocnumleft,onecoltoc,threecolindex,twocolbib,% +\ExecuteOptions{letterpaper,10pt,twoside,% + twosidepapers,electronic,headers=no,compil=bibbackref,% + tocnumleft,onecoltoc,threecolindex,twocolbib,% colorlinks=true,linkcolor=red,citecolor=blue,pagecolor=red,urlcolor=blue,% - bookmarksopen=true,bookmarksopenlevel=1,headers=no} + bookmarksopen=true,bookmarksopenlevel=1} % \end{macrocode} % %^^A ================================================================= @@ -5701,7 +5760,7 @@ $PDFLATEX $TEXFILE.tex % \begin{macrocode} \RequirePackage{pdfpages} % \end{macrocode} -% Use the \package{fancyhdr} package to customize the headers and footers so that they match those of the the paper templates: +% Use the \package{fancyhdr} package to customize the headers and footers so that they match those of the paper templates: % \begin{macrocode} \RequirePackage{fancyhdr} % \end{macrocode} @@ -5714,22 +5773,23 @@ $PDFLATEX $TEXFILE.tex \RequirePackage{titletoc} % \end{macrocode} % Use \package{multitoc} with the \Lopt{toc} option for a two columns table of contents: -% \changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} +%^^A\changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} % \begin{macrocode} \ifdefined\conf@TwoColumnTOC \RequirePackage[toc]{multitoc} \fi % \end{macrocode} -% \changes{0.2a}{2007/08/12}{Cmds: get rid of \package{threecolindex.sty} package and related \cmd{\gtindexname} command} +%^^A\changes{0.2a}{2007/08/12}{Cmds: get rid of \package{threecolindex.sty} package and related \cmd{\gtindexname} command} % Use the \package{index} package to enable the creation of the index of authors: % \begin{macrocode} \RequirePackage{index} % \end{macrocode} % Use the \package{multitoc} package for a multi-columns table of contents or index: -% \changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} +%^^A\changes{0.1i}{2007/08/10}{Options: adding \Lopt{onecoltoc} and \Lopt{twocoltoc} options} % \begin{macrocode} \RequirePackage{multicol} % \end{macrocode} +% \begin{macro}{\theindex} % Also, when asking for a 2 or 3 columns index, redefine the \cmd{\theindex} environment (modified form the \package{gatech-thesis-index.sty} package) as: % \begin{macrocode} \ifdefined\conf@TwoColumnIndex @@ -5737,7 +5797,7 @@ $PDFLATEX $TEXFILE.tex \if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \vspace*{-0.8cm} - \section*{{\procindexname}} + \section*{{\indexname}} \let\item\@idxitem \columnseprule \z@ \columnsep 35\p@ @@ -5757,7 +5817,7 @@ $PDFLATEX $TEXFILE.tex \if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \vspace*{-0.8cm} - \section*{{\procindexname}} + \section*{{\indexname}} \let\item\@idxitem \columnseprule \z@ \columnsep 35\p@ @@ -5774,13 +5834,19 @@ $PDFLATEX $TEXFILE.tex \fi \fi % \end{macrocode} +% \end{macro} % Use the \package{sectsy} package to change the sections font in the table of contents: % \begin{macrocode} \RequirePackage{sectsty} % \end{macrocode} -% Use the \package{newapave} style for the general bibliography: +% \begin{macro}{\confcite} +% We define the \cmd{\confcite} citation function, that can be changed depending on the citation function used by the chosen bibliography style: % \begin{macrocode} \newcommand{\confcite}[1]{\cite{#1}} +% \end{macrocode} +% \end{macro} +% Use the \package{newapave} style for the general bibliography: +% \begin{macrocode} \RequirePackage{newapave} % \end{macrocode} % If you do not wish to use the one developed for DAFx-06 but prefer to use the original \package{newapa} style, replace this last line in \file{\filename.cls} by:\begin{verbatim} @@ -5816,29 +5882,40 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{PDF metadata} % -% Define commands to set the PDF metadata: \DescribeMacro{\procpdfauthor}\cmd{\procpdfauthor} for the author: +% \begin{macro}{\procpdfauthor} +% Define commands to set the PDF metadata: \cmd{\procpdfauthor} for the author: % \begin{macrocode} \newcommand{\procpdfauthor}{Proceedings author/editor} % \end{macrocode} -% \DescribeMacro{\procpdftitle}\cmd{\procpdftitle} for the title: +% \end{macro} +% \begin{macro}{\procpdftitle} +% \cmd{\procpdftitle} for the title: % \begin{macrocode} \newcommand{\procpdftitle}{Proceedings title} % \end{macrocode} -% and \DescribeMacro{\procpdfsubject}\cmd{\procpdfsubject} for the subject: +% \end{macro} +% \begin{macro}{\procpdfsubject} +% and \cmd{\procpdfsubject} for the subject: % \begin{macrocode} \newcommand{\procpdfsubject}{Proceedings description} % \end{macrocode} -% These commands are used in the \DescribeMacro{\hypersetup}\cmd{\hypersetup} command: +% \end{macro} +% \begin{macro}{\hypersetup} +% These commands are used in the \cmd{\hypersetup} command that is evaluated only when the document begins (so that you can redefine its author, title and subject): +% \changes{0.4b}{2007/10/12}{Only evaluated At Begin Document} % \begin{macrocode} -\hypersetup{ - pdfauthor = \procpdfauthor, - pdftitle = \procpdftitle, - pdfsubject = \procpdfsubject, - pdfkeywords = {}, - pdfcreator = {LaTeX with `confproc' package}, - pdfproducer = {pdfLaTeX}} +\AtBeginDocument{ + \hypersetup{ + pdfauthor = \procpdfauthor, + pdftitle = \procpdftitle, + pdfsubject = \procpdfsubject, + pdfkeywords = {}, + pdfcreator = {LaTeX with `confproc' package}, + pdfproducer = {pdfLaTeX}}} % \end{macrocode} +% \end{macro} % +% \changes{0.4b}{2007/10/12}{Layout: set \cmd{\footskip}} %^^A ================================================================= % \subsubsection{Page layout} % @@ -5846,7 +5923,7 @@ $PDFLATEX $TEXFILE.tex % \begin{macrocode} \topmargin 0truept \headheight 12truept -\footskip 0truept +\footskip 14mm \textheight 229truemm \textwidth 175truemm \voffset -28truept @@ -5857,50 +5934,96 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{Special section names} % -% We define the names of the table of contents (as it should appear in itself): +% \begin{macro}{\contentsname} +% We redefine the names of the table of contents (as it should appear in itself): % \begin{macrocode} -\renewcommand{\contentsname}{\vspace*{-0.8cm}\Large % - \bfseries Conference Program} +\renewcommand{\contentsname}{Conference Program} % \end{macrocode} -% of the index of authors (in the document and in the table of contents): +% \end{macro} +% \begin{macro}{\bibname} +% of the general bibliography as it appears in the document and in the table of contents: +%^^A\changes{0.1g}{2007/08/05}{\cmd{\bibnametoc} renamed \cmd{\procbibname}} +% \changes{0.4a}{2007/10/01}{Remove formatting} +% \changes{0.4a}{2007/10/01}{Renamed from \cmd{\procbibname}} % \begin{macrocode} -\newcommand{\procindexname}{\large \bfseries Index of Authors} +\renewcommand{\bibname}{Full Bibliography} % \end{macrocode} -% and of the general bibliography (in the document and in the table of contents): +% \end{macro} +% \begin{macro}{\indexname} +% and of the index of authors as it appears in the document and in the table of contents: +%^^A\changes{0.1g}{2007/08/05}{\cmd{\indexnametoc} renamed \cmd{\procindexname}} +% \changes{0.4a}{2007/10/01}{Remove formatting} +% \changes{0.4a}{2007/10/01}{Renamed from \cmd{\procindexname}} % \begin{macrocode} -\newcommand{\procbibname}{\large \bfseries Full Bibliography} +\renewcommand{\indexname}{Index of Authors} % \end{macrocode} -% \changes{0.1g}{2007/08/05}{Cmds: changing \cmd{\bibnametoc} into \cmd{\procbibname}} -% \changes{0.1g}{2007/08/05}{Cmds: changing \cmd{\indexnametoc} into \cmd{\procindexname}} -% +% \end{macro} %^^A ================================================================= % \subsubsection{Header and footer} % +% \begin{macro}{\proclhead} % We first define the default header: -% \changes{0.2e}{2007/09/01}{Cmds: renaming \cmd{\loclhead} into \cmd{\proclhead}} +%^^A\changes{0.2e}{2007/09/01}{\cmd{\loclhead} renamed \cmd{\proclhead}} % \begin{macrocode} -\newcommand{\proclhead}{\em{\small{Proceedings of the blah blah blah}}} +\newcommand{\proclhead}{\em \small Proceedings of the blah blah blah} % \end{macrocode} +% \end{macro} +% \begin{macro}{\proccfoot} % and the default footer: +% \changes{0.4b}{2007/10/12}{Use \cmd{\vspace} instead of \cmd{\vskip}} +% \changes{0.4b}{2007/10/12}{Remove \cmd{\vspace}} % \begin{macrocode} -\newcommand{\proccfoot}{{\vskip 11mm}{\small Proc-\thepage}} +\newcommand{\proccfoot}{\small Proc-\thepage} % \end{macrocode} +% \end{macro} % % We now define the default page styles for use with headers: -% \changes{0.2e}{2007/09/01}{Cmds: renaming \cmd{\loclhead} into \cmd{\proclhead}} % \begin{macrocode} \pagestyle{fancyplain} % \end{macrocode} -% together with the corresponding settings: +% \begin{macro}{\headrulewidth} +% together with the corresponding rule width for the headers: % \begin{macrocode} \renewcommand{\headrulewidth}{0pt} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\footrulewidth} +% and for the footers: +% \begin{macrocode} \renewcommand{\footrulewidth}{-5mm} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\proclhead} +% The left header is given as: +% \begin{macrocode} \lhead{\proclhead} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rhead} +% whereas the right hease is empty: +% \begin{macrocode} \rhead{} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\lfoot} +% The left footer is also set empty: +% \begin{macrocode} \lfoot{} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\rfoot} +% as well as the right footer: +% \begin{macrocode} \rfoot{} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\proccfoot} +% The center footer is the page number: +%^^A\changes{0.1h}{2007/08/09}\cmd{\loccfoot} renamed \cmd{\proccfoot}} +% \begin{macrocode} \cfoot{\proccfoot}{} % \end{macrocode} +% \end{macro} % Depending on the value of the \Lopt{headers} option, we change the default page style: % \begin{macrocode} \ifdefined \conf@FancyHeadersExceptPapers @@ -5909,8 +6032,9 @@ $PDFLATEX $TEXFILE.tex \pagestyle{empty} \fi % \end{macrocode} -% \changes{0.1h}{2007/08/09}{Cmds: changing \cmd{\loccfoot} for \cmd{\proccfoot}, and removing \cmd{\testloccfoot} for a length \cmd{\procoptfootskip}} -% We set the optional vertical shift for the footer (for checking page numbers): +% \begin{macro}{\procoptfootskip} +% We set \cmd{\procoptfootskip}, the optional footer vertical shift (to check page numbers): +%^^A\changes{0.1h}{2007/08/09}{removing \cmd{\testloccfoot} for a length \cmd{\procoptfootskip}} % \begin{macrocode} \newlength{\procoptfootskip} \ifdefined\conf@TestPageNumbering% @@ -5920,6 +6044,7 @@ $PDFLATEX $TEXFILE.tex \setlength{\procoptfootskip}{0mm}% \fi % \end{macrocode} +% \end{macro} % %^^A ================================================================= % \subsubsection{Table of contents layouts} @@ -5959,30 +6084,34 @@ $PDFLATEX $TEXFILE.tex \fi % \end{macrocode} % -% \subsubsection*{At document frontmatter} % +% \begin{macro}{\tocmattertocstyle} +% \subsubsection*{At document frontmatter} % \begin{macrocode} \newcommand{\tocmattertocstyle}{ % \end{macrocode} % Parts are used for the preamble: % \begin{macrocode} -\titlecontents{part}[-1em]{\addvspace{1pc}}% - {\contentspage\hspace*{3.2em}\contentsmargin{0pt}% - \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% - {\contentspage\hspace*{3.2em}\contentsmargin{0pt}\large}% - {}[\addvspace{.5pc}]} + \titlecontents{part}[-1em]{\addvspace{1pc}}% + {\contentspage\hspace*{3.2em}\contentsmargin{0pt}% + \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% + {\contentspage\hspace*{3.2em}\contentsmargin{0pt}\large}% + {}[\addvspace{.5pc}] % \end{macrocode} % and chapters for each page for the preamble: % \begin{macrocode} -\titlecontents{chapter}[-1em]{\addvspace{1pc}}% - {\contentspage\hspace*{3.2em}\contentsmargin{0pt}% - \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% - {\contentspage\hspace*{3.2em}\contentsmargin{0pt}\large}% - {}[\addvspace{.5pc}] + \titlecontents{chapter}[-1em]{\addvspace{1pc}}% + {\contentspage\hspace*{3.2em}\contentsmargin{0pt}% + \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% + {\contentspage\hspace*{3.2em}\contentsmargin{0pt}\large}% + {}[\addvspace{.5pc}] +} % \end{macrocode} +% \end{macro} % % \subsubsection*{At document mainmatter} -% +% +% \begin{macro}{\mainmattertocstyle} % Parts are used for days, or for sessions of no days are used; chapters are used for sessions (if days are used); sections are always used for papers. % \begin{macrocode} \ifdefined\conf@TocNumberingRight @@ -5999,13 +6128,18 @@ $PDFLATEX $TEXFILE.tex {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]% \else \ifdefined\conf@TocNumberingLeft% default - \newcommand{\mainmattertocstyle}{% + \newcommand{\mainmattertocstyle}{ + \titlecontents{section}[2.5em]% + {\vspace*{0.3em}}% + {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}% + {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}% + {}% \titlecontents{chapter}[0pt]% - {\addvspace{1pc}\bfseries \itshape}% + {\addvspace{1pc}\bfseries\itshape}% {\contentsmargin{0pt}\bfseries % \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]% - \titlecontents{part}[0pt]% + \titlecontents{part}[0pt]% {\addvspace{1pc}\bfseries}% {\contentsmargin{0pt}\bfseries % \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}% @@ -6016,9 +6150,22 @@ $PDFLATEX $TEXFILE.tex \fi \fi % \end{macrocode} +% \end{macro} +% \begin{macro}{\mainmatter} +% Hence, we redefine the \cmd{\mainmatter} command to use this style: +% \changes{0.4a}{2007/10/01}{Redefined to use \cmd{\mainmattertocstyle}} +% \begin{macrocode} +\renewcommand\mainmatter{% + \cleardoublepage + \@mainmattertrue + \pagenumbering{arabic} + \mainmattertocstyle} +% \end{macrocode} +% \end{macro} % % \subsubsection*{At document backmatter} % +% \begin{macro}{\backmattertocstyle} % Sections are used to format/display the general bibliography and index of authors, but they appear as parts in the table of contents: % \begin{macrocode} \ifdefined\conf@TocNumberingRight @@ -6039,8 +6186,8 @@ $PDFLATEX $TEXFILE.tex {\contentspage\hspace*{2.5em}\contentsmargin{0pt}% \bfseries% \makebox[0pt][r]{\huge\thecontentslabel\enspace}% - \large}% - {\contentspage\hspace*{2.5em}\contentsmargin{0pt} \large}% + \large\bfseries}% + {\contentspage\hspace*{2.5em}\contentsmargin{0pt} \large\bfseries}% {}% [\addvspace{.5pc}]% }% @@ -6049,6 +6196,21 @@ $PDFLATEX $TEXFILE.tex \fi% \fi % \end{macrocode} +% \end{macro} +% \begin{macro}{\backmatter} +% We then redefine the \cmd{\backmatter} command to use this style: +% \changes{0.4a}{2007/10/01}{Redefined to use \cmd{\backmattertocstyle}} +% \begin{macrocode} +\renewcommand\backmatter{% + \if@openright + \cleardoublepage + \else + \clearpage + \fi + \@mainmatterfalse + \backmattertocstyle} +% \end{macrocode} +% \end{macro} % %^^A ================================================================= % \subsubsection{Headers/footers} @@ -6106,8 +6268,8 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{$X$ and $Y$ shifts} % -% \changes{0.1g}{2007/08/08}{Cmds: changing \cmd{\LaTeXxShift} from a command to a length (idem for \cmd{\LaTeXyShift}, \cmd{\WordxShift} and \cmd{\WordyShift})} -% \changes{0.2a}{2007/08/12}{Cmds: adding \cmd{\paperbookmark} for correct use in the Perl scripts} +%^^A\changes{0.1g}{2007/08/08}{Cmds: changing \cmd{\LaTeXxShift} from a command to a length (idem for \cmd{\LaTeXyShift}, \cmd{\WordxShift} and \cmd{\WordyShift})} +%^^A\changes{0.2a}{2007/08/12}{Cmds: adding \cmd{\paperbookmark} for correct use in the Perl scripts} % We now define the $X$ and $Y$ shifts for \LaTeX{} (\DescribeMacro{\LaTeXxShift}\cmd{\LaTeXxShift} and \DescribeMacro{\LaTeXyShift}\cmd{\LaTeXyShift}) and Word (\DescribeMacro{\WordxShift}\cmd{\WordxShift}, \DescribeMacro{\WordyShift}\cmd{\WordyShift}) generated papers as lengths: % \begin{macrocode} \newlength{\LaTeXxShift} @@ -6135,58 +6297,82 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{Paper insertion commands} % -% We now pre-define (as empty) the commands used to insert the PDF papers (for including the first paper in the example), \ie{} the paper title: \DescribeMacro{\papertitle} +% \begin{macro}{\papertitle} +% We now pre-define (as empty) the commands used to insert the PDF papers (for including the first paper in the example), \ie{} the paper title: % \begin{macrocode} \newcommand{\papertitle}{} % \end{macrocode} -% the paper authors: \DescribeMacro{\paperauthors} +% \end{macro} +% \begin{macro}{\paperauthors} +% the paper authors: % \begin{macrocode} \newcommand{\paperauthors}{} % \end{macrocode} -% the commands for insertion in the index: \DescribeMacro{\paperindex} +% \end{macro} +% \begin{macro}{\paperindex} +% the commands for insertion in the index: % \begin{macrocode} \newcommand{\paperindex}{} % \end{macrocode} -% the paper reference, \ie{} a tag (\eg{} the file name, or the submission number): \DescribeMacro{\paperref} +% \end{macro} +% \begin{macro}{\paperref} +% the paper reference, \ie{} a tag (\eg{} the file name, or the submission number): % \begin{macrocode} \newcommand{\paperref}{} % \end{macrocode} -% the number of pages: \DescribeMacro{\paperpagenum} +% \end{macro} +% \begin{macro}{\paperpagenum} +% the number of pages: % \begin{macrocode} \newcommand{\paperpagenum}{} % \end{macrocode} -% the bibliographic references (for the general bibliography): \DescribeMacro{\papercite} +% \end{macro} +% \begin{macro}{\papercite} +% the bibliographic references (for the general bibliography): % \begin{macrocode} \newcommand{\papercite}{} % \end{macrocode} -% the style for the title: \DescribeMacro{\papertitlestyle} +% \end{macro} +% \begin{macro}{\papertitlestyle} +% the style for the title: % \begin{macrocode} \newcommand{\papertitlestyle}{} % \end{macrocode} -% and finally the style both the list of authors and the text between the title and the list of authors: \DescribeMacro{\paperauthorstyle} +% \end{macro} +% \begin{macro}{\paperauthorstyle} +% and finally the style for both the list of authors and the text between the title and the list of authors: +% \changes{0.4b}{2007/10/12}{Format: changing \cmd{\it} to \cmd{\itshape}} % \begin{macrocode} -\newcommand{\paperauthorstyle}{\texorpdfstring{\newline\it}{\break}} +\newcommand{\paperauthorstyle}{\texorpdfstring{\newline\itshape}{\break}} % \end{macrocode} -% \changes{0.1f}{2007/08/03}{Bug: fixed wrong bookmark link to author (2nd page instead of 1st) by moving the \cmd{\pdfbookmark[]} cmd into the \cmd{\pagecommand} cmd.} -% \changes{0.1i}{2007/08/10}{Cmd: changing \cmd{\includepaperthread} to hide the TOC layout.} -% \changes{0.1i}{2007/08/10}{Cmd: adding \cmd{\proctoctitleauthor} to define the TOC format of author and paper} -% \changes{0.1i}{2007/08/10}{Cmd: renaming \cmd{\includepaperthread} into \cmd{\procinsertpaper}} -% \changes{0.2b}{2007/08/16}{Cmd: adding a \cmd{\paperpagenum} counter to compute Nb pages -1} +% \end{macro} +%^^A\changes{0.1f}{2007/08/03}{Bug: fixed wrong bookmark link to author (2nd page instead of 1st) by moving the \cmd{\pdfbookmark[]} cmd into the \cmd{\pagecommand} cmd.} +%^^A\changes{0.1i}{2007/08/10}{Cmd: changing \cmd{\includepaperthread} to hide the TOC layout.} +%^^A\changes{0.1i}{2007/08/10}{Cmd: adding \cmd{\proctoctitleauthor} to define the TOC format of author and paper} +%^^A\changes{0.1i}{2007/08/10}{Cmd: renaming \cmd{\includepaperthread} into \cmd{\procinsertpaper}} +%^^A\changes{0.2b}{2007/08/16}{Cmd: adding a \cmd{\paperpagenum} counter to compute Nb pages -1} % -% A new counter \Lopt{paperpagenum} \DescribeMacro{paperpagenum} is added, for the number of pages of a paper: +% \begin{macro}{paperpagenum} +% A new counter \Lopt{paperpagenum} is added, for the number of pages of a paper: % \begin{macrocode} \newcounter{paperpagenum} % \end{macrocode} -% The \cmd{\proctoctitleauthor} \DescribeMacro{\proctoctitleauthor} command defines the style for title/author entry in the table of contents using the style \cmd{\papertitlestyle} for the paper with title \cmd{\papertitle} and the style \cmd{\paperauthorstyle} for the paper with authors \cmd{\paperauthors} : +% \end{macro} +% \begin{macro}{\proctoctitleauthor} +% The \cmd{\proctoctitleauthor} command defines the style for title/author entry in the table of contents using the style \cmd{\papertitlestyle} for the paper with title \cmd{\papertitle} and the style \cmd{\paperauthorstyle} for the paper with authors \cmd{\paperauthors} : % \begin{macrocode} \newcommand{\proctoctitleauthor}[2]{% \texorpdfstring{{\papertitlestyle#1}{\paperauthorstyle#2}}% {{\papertitlestyle#1}}} % \end{macrocode} +% \end{macro} % We chose to insert both the paper title and the list of authors in the table of contents, whereas only the title is inserted as a section in the bookmark. Then, the authors will be inserted, for each of them, as a subsection in the \cmd{\procinsertpaper} command. % -% We now come to the paper insertion \cmd{\procinsertpaper} \DescribeMacro{\procinsertpaper} command, one of the most important command of the whole class. -% \begin{macrocode} +% \begin{macro}{\procinsertpaper} +% We now come to the paper insertion \cmd{\procinsertpaper} command, one of the most important command of the whole class. +% \changes{0.4a}{2007/10/03}{Manage 1-page long papers (no ref printed yet)} +% \changes{0.4c}{2007/10/12}{Author back in bookmark (missing \#9 arg in `pagecommand', error in v0.4a)} +%% \begin{macrocode} \newcommand{\procinsertpaper}[9]{ % \end{macrocode} % It has the following 9 arguments: i) X and Y shifts (with a space in between), ii) number of pages, iii) a reference, iv) the title, v) the list of authors, vi) the index entries, vii) the citations for the general bibliography, viii) the PDF file name and ix the bookmark entries for the authors. @@ -6195,61 +6381,81 @@ $PDFLATEX $TEXFILE.tex \setcounter{paperpagenum}{#2} #6% % \end{macrocode} -% and the first page of the paper is inserted with proper offsets, filename, reference, title, list of authors: +% Then, if the paper has only 1 page, it is inserted (with bibliographic items only if \Lopt{compil=bibbackref} or \Lopt{compil=bibmerge}): % \begin{macrocode} - \includepdf[noautoscale,offset= #1,pages=1,% - linktodoc,linkname=\PAPERPATH #8.pdf,% - addtotoc={1, section, 1, \proctoctitleauthor{#4}{#5}, #3},% - pagecommand = {#9\PDFpagestyle}% - ]{\PAPERPATH #8.pdf}% + \ifnum\thepaperpagenum=1 + \ifdefined\conf@procWithDebug\typeout{confproc: 1-page long paper}\fi + \ifdefined\UseBackRef + \includepdf[noautoscale,offset= #1,pages=1,% + linktodoc,linkname=\PAPERPATH #8.pdf,% + addtotoc={1, section, 1, \proctoctitleauthor{#4}{#5}, #3},% + pagecommand = {#9\PDFpagestyle}% + ]{\PAPERPATH #8.pdf}% + \else + \includepdf[noautoscale,offset= #1,pages=1,% + linktodoc,linkname=\PAPERPATH #8.pdf,% + addtotoc={1, section, 1, \proctoctitleauthor{#4}{#5}, #3},% + pagecommand = {#9\PDFpagestyle\vspace*{-1cm}\confcite{#7}}% + ]{\PAPERPATH #8.pdf}% + \fi % \end{macrocode} % Note where the bookmark entries are placed (argument \verb+#9+): it was the only place I found where the bookmark link would be valid\footnote{if you check in the electronic version of the DAFx-06 proceedings, you will see what happens with unproper links... You will be directed to the second page of the paper!}. % -% The second step consists in inserting the reminding pages. In the case of bibliography merging, we do not care yet about proper page numbering, but we want to see each paper's first and last page: -% \changes{0.2a}{2007/08/12}{Options: adding the output text for the \Lopt{verbose} option} -% \changes{0.2b}{2007/08/16}{Options: adding the last page (with bibliography) insertion for 'compil=bibmerge' option} +% The second step consists in inserting the reminding pages (if any). In the case of bibliography merging, we do not care yet about proper page numbering, but we want to see each paper's first and last page: +%^^A\changes{0.2b}{2007/08/16}{Add last page (with bibliography) insertion for 'compil=bibmerge' option} % \begin{macrocode} - \ifdefined\conf@BibMerge% - \includepdf[noautoscale,offset= #1,pages=\thepaperpagenum,% - linktodoc,linkname=\PAPERPATH #8.pdf,% - ]{\PAPERPATH #8.pdf}% - \PDFpagestyle{}% - \confcite{#7}% - \ifdefined\conf@procWithDebug - \typeout{confproc: bibliography insertion only} - \fi \else + \includepdf[noautoscale,offset= #1,pages=1,% + linktodoc,linkname=\PAPERPATH #8.pdf,% + addtotoc={1, section, 1, \proctoctitleauthor{#4}{#5}, #3},% + pagecommand = {#9\PDFpagestyle}% + ]{\PAPERPATH #8.pdf}% % \end{macrocode} -% If running \LaTeX{} to create proper back-references, we insert all remaining pages except the last one (decrementing the page number), that is replaced by references to the paper's bibliographic items: -% \changes{0.2a}{2007/08/12}{Options: adding the output text for the \Lopt{verbose} option} -% \changes{0.2b}{2007/08/16}{Cmds: removing 1 to the \Lopt{paperpagenum} counter} +% Then, depending on the \Lopt{compil} option, we may only insert the last page only (\Lopt{compil=bibmerge}): % \begin{macrocode} - \ifdefined\CreateBackRef + \ifdefined\conf@BibMerge% + \includepdf[noautoscale,offset= #1,pages=\thepaperpagenum,% + linktodoc,linkname=\PAPERPATH #8.pdf,% + pagecommand = {\PDFpagestyle\vspace*{-2cm}\confcite{#7}}% + ]{\PAPERPATH #8.pdf}% + \PDFpagestyle{}% + \ifdefined\conf@procWithDebug + \typeout{confproc: bibliography insertion only}\fi +% \end{macrocode} +% or we decrement the page number in order to insert all but last page: +% \begin{macrocode} + \else \addtocounter{paperpagenum}{-1} \includepdf[noautoscale,offset= #1,pages=2-\thepaperpagenum,% linktodoc,linkname=\PAPERPATH #8.pdf,% pagecommand = {\PDFpagestyle}% ]{\PAPERPATH #8.pdf}% \PDFpagestyle{}% - \confcite{#7}% - \ifdefined\conf@procWithDebug - \typeout{confproc: partial paper insertion (last page=bib items)} - \fi % \end{macrocode} -% Otherwise, for the last run (assuming that proper back-references were created), all remaining pages are inserted: -% \changes{0.2a}{2007/08/12}{Options: adding the output text for the \Lopt{verbose} option} +% If running \LaTeX{} to create proper back-references (\Lopt{compil=bibmerge} or \Lopt{compil=bibbackref}), we add references to the paper's bibliographic items onto the last page: +%^^A\changes{0.2a}{2007/08/12}{Add output text for \Lopt{verbose} option} +%^^A\changes{0.2b}{2007/08/16}{Remove 1 to \Lopt{paperpagenum} counter} % \begin{macrocode} - \else - \ifdefined\UseBackRef - \includepdf[noautoscale,offset= #1,pages=2-,% + \addtocounter{paperpagenum}{1} + \ifdefined\CreateBackRef + \includepdf[noautoscale,offset= #1,pages=\thepaperpagenum,% linktodoc,linkname=\PAPERPATH #8.pdf,% - pagecommand = {\PDFpagestyle}% + pagecommand = {\PDFpagestyle\vspace*{-2cm}\confcite{#7}}% ]{\PAPERPATH #8.pdf}% - \fi - \ifdefined\conf@procWithDebug - \typeout{confproc: full paper insertion (last LaTeX run)} +% \end{macrocode} +% Otherwise, for the last run (assuming that proper back-references were created), we insert the last page normally, without the back-references ((\Lopt{compil=last}): +% \begin{macrocode} + \else + \ifdefined\UseBackRef + \includepdf[noautoscale,offset= #1,pages=\thepaperpagenum,% + linktodoc,linkname=\PAPERPATH #8.pdf,% + pagecommand = {\PDFpagestyle}% + ]{\PAPERPATH #8.pdf}% + \fi \fi \fi + \ifdefined\conf@procWithDebug + \typeout{confproc: partial paper insertion (last page=bib items)}\fi \fi \ifdefined\conf@procWithDebug \typeout{---> file: #8.pdf (#2 pages)} @@ -6262,7 +6468,7 @@ $PDFLATEX $TEXFILE.tex % \begin{macrocode} \newpage % \end{macrocode} -% Then, depending if we want all papers to start on the right page or not, we do a \cmd{cleardoublepage}: +% Then, depending if we want all papers to start on the right page or not, we do a \cmd{\cleardoublepage}: % \begin{macrocode} \ifdefined\conf@WithClearsinglepagePapers \clearpage @@ -6273,57 +6479,45 @@ $PDFLATEX $TEXFILE.tex \fi } % \end{macrocode} -% -%^^A ================================================================= -% \subsubsection{Modifying the bibliography style} -% -% We now set the commands \cmd{\bibhang}\DescribeMacro{\bibhang}, \cmd{\itemindent} \DescribeMacro{\itemindent} and \cmd{\leftmargin} \DescribeMacro{\leftmargin} for the general bibliography layout: -% \begin{macrocode} -\setlength{\itemindent}{-2em} -\setlength{\leftmargin}{1em} -\setlength{\bibhang}{0.5em} -% \end{macrocode} -% We redefine the \verb+\thebibliography+ environment, for proper use and insertion of the new section title in the table of contents. We also slightly reduce the space between bibliography item blocks (cosmetics change): -% \begin{macrocode} -\def\thebibliography#1{% - \section*{\bibname} - \addcontentsline{toc}{part}{\bibname} - \list - {\relax}{\setlength{\labelsep}{0em} - \setlength{\itemindent}{-\bibhang} - \setlength{\leftmargin}{\bibhang}} -% \def\newblock{\hskip .11em plus .33em minus .07em} % ORIGINAL - \def\newblock{\hskip 0em plus 0.0em minus .07em} % DAFx-06 - \sloppy\clubpenalty4000\widowpenalty4000 - \sfcode`\.=1000\relax} -% \end{macrocode} +% \end{macro} % %^^A ================================================================= % \subsubsection{Table of contents insertion} % -% The \cmd{\proctableofcontents} \DescribeMacro{\proctableofcontents} command inserts the table of contents, adds it to the PDF bookmark, and switches to the corresponding section style for insertion in the table of contents: +% \begin{macro}{\tableofcontents} +% We redefine the usual \cmd{\tableofcontents} command that inserts the table of contents, adds it to the PDF bookmark, and switches to the corresponding section style for insertion in the table of contents: +% \changes{0.4a}{2007/10/01}{Redefined} % \begin{macrocode} -\newcommand{\proctableofcontents}{% +\renewcommand\tableofcontents{% \tocmattertocstyle \clearsingleordoublepage - \addtocontents{toc}{\protect\vspace*{-1.3cm}} - \pdfbookmark[0]{Program}{contents} - \tableofcontents + \pdfbookmark[0]{\contentsname}{contents} + \if@twocolumn + \@restonecoltrue\onecolumn + \else + \@restonecolfalse + \fi + \section*{\contentsname + \@mkboth{% + \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% + \@starttoc{toc}% + \if@restonecol\twocolumn\fi \clearsingleordoublepage } % \end{macrocode} +% \end{macro} % %^^A ================================================================= % \subsubsection{Organize the program by days or sessions} % % The \cmd{\procday} \DescribeMacro{\procday} command inserts the day given as argument in the table of contents: -% \changes{0.2d}{2007/08/18}{Cmds: adding the \cmd{\procday} command for inserting the day (upper level in the bookmark)} +%^^A\changes{0.2d}{2007/08/18}{Cmds: adding the \cmd{\procday} command for inserting the day (upper level in the bookmark)} % \begin{macrocode} \newcommand{\procday}[1]{% \phantomsection% \addcontentsline{toc}{part}{#1}} % \end{macrocode} -% The \cmd{\session} \DescribeMacro{\session} command inserts the session name given as argument in the table of contents: +% The \cmd{\session} \DescribeMacro{\session} command adds a session to the table of contents: % \begin{macrocode} \newcommand{\session}[1]{% \phantomsection% @@ -6333,50 +6527,97 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{Paper switch} % -% The \cmd{\paperswitch} \DescribeMacro{\paperswitch} command will be redefined in the \file{expapersswitch.tex} file, containing information about all papers. It is therefore declared empty: +% \begin{macro}{\paperswitch} +% The \cmd{\paperswitch} command will be redefined in the \file{expapersswitch.tex} file, containing information about all papers. It is therefore declared empty: % \begin{macrocode} \newcommand{\paperswitch}{} % \end{macrocode} +% \end{macro} % %^^A ================================================================= -% \subsubsection{Set the bibliographic items to be inserted} +% \subsubsection{Modifying the bibliography style} % -% The \cmd{\setbibitems} \DescribeMacro{\setbibitems} command defines the bibliography items to be inserted, depending on the compilation option. -% \begin{macrocode} -\newcommand{\setbibitems}{% -% \end{macrocode} -% We first set in a 2 columns format if needed: +% \begin{macro}{\bibhang} +% We first set the \cmd{\bibhang} length: % \begin{macrocode} - \ifdefined\conf@TwoColumnBib% - \twocolumn - \fi -% \end{macrocode} -%^^A As a general bibliography is very long, the font size is set to \verb+\footnotesize+: -%^^A \begin{macrocode} -%^^A {\footnotesize% -%^^A \end{macrocode} -% If working on the merging process, all bibliographic items are inserted (so that one can see duplicates): -% \begin{macrocode} - \ifdefined\conf@BibMerge% - \nocite{*}% -% \end{macrocode} -% Otherwise, there no need to insert the citations (they already are inserted as the last page): -% \begin{macrocode} - \else% - \clearsingleordoublepage% - \fi% +\setlength{\bibhang}{0.5em} % % \end{macrocode} -% We finally set the bibliography name accordingly to the user-defined value. +% \end{macro} +%\begin{macro}{\thebibliography} +% We then redefine the \cmd{\thebibliography} environment, for proper use and insertion of the new section title in the table of contents: +% \changes{0.4a}{2007/10/01}{Redefined: inserts \cmd{\setbibitems}'s code} % \begin{macrocode} - \renewcommand{\bibname}{\procbibname} -%% \addcontentsline{toc}{part}{\procbibname} -} -% \end{macrocode} +\renewenvironment{thebibliography}[1] + {\ifdefined\conf@TwoColumnBib% + \twocolumn + \fi + \ifdefined\conf@BibMerge% + \nocite{*}% + \else% + \clearsingleordoublepage% + \fi% + \section*{\bibname}% + \addcontentsline{toc}{part}{\bibname} + \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% + \procbibintro + \list{\@biblabel{\@arabic\c@enumiv}}% + {\settowidth\labelwidth{\@biblabel{#1}}% + \leftmargin\labelwidth + \advance\leftmargin\labelsep + \@openbib@code + \usecounter{enumiv}% + \let\p@enumiv\@empty + \renewcommand\theenumiv{\@arabic\c@enumiv}}% + \sloppy + \clubpenalty4000 + \@clubpenalty \clubpenalty + \widowpenalty4000% + \sfcode`\.\@m} + {\def\@noitemerr + {\@latex@warning{Empty `thebibliography' environment}}% + \endlist + \setlength{\labelsep}{0em} + \setlength{\itemindent}{-\bibhang} + \setlength{\leftmargin}{\bibhang}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\newblock} +% We redefine the \cmd{\newblock} command to reduce the space between bib items: +% \begin{macrocode} +\renewcommand\newblock{\hskip 0em plus 0.0em minus .07em} +% \end{macrocode} +% \end{macro} +% +%^^A% The \cmd{\setbibitems} \DescribeMacro{\setbibitems} command defines the bibliography items to be inserted, depending on the compilation option. +%^^A% \begin{macrocode} +%^^A\newcommand{\setbibitems}{% +%^^A% \end{macrocode} +%^^A% We first set in a 2 columns format if needed: +%^^A% \begin{macrocode} +%^^A \ifdefined\conf@TwoColumnBib% +%^^A \twocolumn +%^^A \fi +%^^A% \end{macrocode} +%^^A%^^A As a general bibliography is very long, the font size is set to \verb+\footnotesize+: +%^^A%^^A \begin{macrocode} +%^^A%^^A {\footnotesize% +%^^A%^^A \end{macrocode} +%^^A% If working on the merging process, all bibliographic items are inserted (so that one can see duplicates): +%^^A% \begin{macrocode} +%^^A \ifdefined\conf@BibMerge% +%^^A \nocite{*}% +%^^A% \end{macrocode} +%^^A% Otherwise, there no need to insert the citations (they already are inserted as the last page): +%^^A% \begin{macrocode} +%^^A \else% +%^^A \clearsingleordoublepage% +%^^A \fi% +%^^A% \end{macrocode} % %^^A ================================================================= % \subsubsection{General bibliography introduction} % -% The \cmd{\procbibintro} \DescribeMacro{\procbibintro} cmd defines the introduction text the general bibliography as the first inserted bibliographic item: +% The \cmd{\procbibintro} \DescribeMacro{\procbibintro} cmd defaults the introductory paragraph of the full bibliography: % \begin{macrocode} \newcommand{\procbibintro}{{\it ~~~This bibliography is a compilation of all bibliographic references from each paper. Page numbers that @@ -6388,8 +6629,8 @@ $PDFLATEX $TEXFILE.tex %^^A ================================================================= % \subsubsection{Index insertion} % -% The \cmd{\insertindex} \DescribeMacro{\insertindex} cmd defines the index insertion: -% \changes{0.2e}{2007/09/01}{Cmds: renaming \cmd{\loclhead} into \cmd{\proclhead}} +% The \cmd{\insertindex} \DescribeMacro{\insertindex} cmd defines the index insertion (it may later be hidden in a proper redefinitin of the \cmd{\theindex} command): +%^^A\changes{0.2e}{2007/09/01}{Cmds: renaming \cmd{\loclhead} into \cmd{\proclhead}} % \begin{macrocode} \newcommand{\insertindex}{ % \end{macrocode} @@ -6405,19 +6646,18 @@ $PDFLATEX $TEXFILE.tex % \begin{macrocode} % \section*{\addcontentsline{toc}{part}{\bibname} \bibname}% \section*{~~}% - \addcontentsline{toc}{part}{\procindexname}% + \addcontentsline{toc}{part}{\indexname}% % \end{macrocode} % The index of authors has no header/footer, as it is the last page and may be printed inside the cover (as for the printed version of the DAFx-06 proceedings): % \begin{macrocode} \renewcommand{\proclhead}{}% \renewcommand{\proccfoot}{}% % \end{macrocode} -% \changes{0.1g}{2007/08/05}{Cmds: using \cmd{\procindexname} in \package{threecolindex.sty} package} -% \changes{0.2a}{2007/08/12}{Cmds: get rid of \package{threecolindex.sty} package and related \cmd{\gtindexname} command} -% \changes{0.2d}{2007/08/18}{Cmds: the index is now inserted as a part instead of a chapter} -% The index name is then set: +%^^A\changes{0.1g}{2007/08/05}{Cmds: using \cmd{\procindexname} in \package{threecolindex.sty} package} +%^^A\changes{0.2a}{2007/08/12}{Cmds: get rid of \package{threecolindex.sty} package and related \cmd{\gtindexname} command} +%^^A\changes{0.2d}{2007/08/18}{Cmds: the index is now inserted as a part instead of a chapter} +% We then print the index: % \begin{macrocode} - \renewcommand{\indexname}{\procindexname}% \printindex} % \end{macrocode} % and we are done for the index of authors, as well as for the whole \file{\filename} class! diff --git a/Master/texmf-dist/source/latex/confproc/confproc.ins b/Master/texmf-dist/source/latex/confproc/confproc.ins index 352797e49ae..79d4f58e135 100644 --- a/Master/texmf-dist/source/latex/confproc/confproc.ins +++ b/Master/texmf-dist/source/latex/confproc/confproc.ins @@ -1,6 +1,6 @@ %% LaTeX2e file `confproc.ins' %% generated by the `filecontents' environment -%% from source `confproc' on 2007/09/28. +%% from source `confproc' on 2007/10/13. %% %% confproc.ins, the batch file for the confproc package %% Copyright (C) 2007 by Vincent Verfaille @@ -139,7 +139,7 @@ For more details, LaTeX the source `\inFileName'. \usepreamble\example\file{expages.tex}{\from{confproc.dtx}{expages}}% \usepreamble\example\file{exclasspre.tex}{\from{confproc.dtx}{exclasspre}}% \usepreamble\example\file{exclasslast.tex}{\from{confproc.dtx}{exclasslast}}% - \usepreamble\example\file{exbiblio.bib}{\from{confproc.dtx}{exbiblio}}% + \nopreamble\nopostamble\file{exbiblio.bib}{\from{confproc.dtx}{exbiblio}}% \nopreamble\nopostamble\file{procswitchandtoc.pl}{\from{confproc.dtx}{procswitchandtoc}}% \nopreamble\nopostamble\file{exprogram.csv}{\from{confproc.dtx}{exprogram}}% \nopreamble\nopostamble\file{buildpapers}{\from{confproc.dtx}{buildpapers}}% -- cgit v1.2.3