summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/confproc/example
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-11 23:13:58 +0000
committerKarl Berry <karl@freefriends.org>2010-09-11 23:13:58 +0000
commit273b76dcd2208b1ec892b19752d928cb5dce2246 (patch)
treed3dab44f8a9526da9b55507043a08594df70eda2 /Master/texmf-dist/doc/latex/confproc/example
parentee1a2bb8d1dd8eef46592f2783f67198507feac7 (diff)
confproc 0.7 (6aug10)
git-svn-id: svn://tug.org/texlive/trunk@19668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/confproc/example')
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers.sh (renamed from Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers)1
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/buildpapers.sh (renamed from Master/texmf-dist/doc/latex/confproc/example/buildpapers)3
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/buildproc31
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/buildproc.sh40
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/buildprocelpb.sh125
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/confproc.cls1307
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/confproc1.ist (renamed from Master/texmf-dist/doc/latex/confproc/example/confproc.ist)13
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/confproc2.ist (renamed from Master/texmf-dist/doc/latex/confproc/example/exclasslast.tex)43
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/countnbpages.sh20
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example.pdfbin383210 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example.tex170
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example1empty.pdfbin0 -> 288064 bytes
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example1empty.tex113
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example2custom.pdfbin0 -> 289945 bytes
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example2custom.tex158
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example3optim.pdfbin0 -> 319521 bytes
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example3optim.tex237
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/example4optim.tex191
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exclass.tex55
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exclasslastel.tex15
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exclasslastpb.tex15
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exclasspre.tex55
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/expapersswitch.tex138
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exportIndividualPDFs.sh73
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exprogram.csv6
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/exsessions.tex20
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/generateswitch.pl (renamed from Master/texmf-dist/doc/latex/confproc/example/procswitchandtoc.pl)29
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/newapave.bst4
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/newapave.sty6
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex4
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/papers/pages.tex8
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/papers_split.sh19
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/papers_split_all.sh19
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/papersinfo.sh30
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/paperssplitpreamble.sh14
-rw-r--r--Master/texmf-dist/doc/latex/confproc/example/removeLaTeXcmds.sh65
36 files changed, 2210 insertions, 817 deletions
diff --git a/Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers b/Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers.sh
index f8d86ffac96..efc517a7afd 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers
+++ b/Master/texmf-dist/doc/latex/confproc/example/buildcppdfpapers.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+
cd papers/sources_tex
for i in *; do
echo '*********' $i '*********'
diff --git a/Master/texmf-dist/doc/latex/confproc/example/buildpapers b/Master/texmf-dist/doc/latex/confproc/example/buildpapers.sh
index 9c38da808b5..da6ff285a25 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/buildpapers
+++ b/Master/texmf-dist/doc/latex/confproc/example/buildpapers.sh
@@ -13,8 +13,7 @@
BUILD_TYPE=renumber #recompile only once for re-numbering
#--- set system dependent variables
-#LATEXPATH="/usr/local/teTeX/bin/i386-apple-darwin-current/" # teTeX
-LATEXPATH="/usr/texbin/" # TexLive 2007
+LATEXPATH="/usr/texbin/" # TeXLive
#--- paths
LATEX=$LATEXPATH"latex"
diff --git a/Master/texmf-dist/doc/latex/confproc/example/buildproc b/Master/texmf-dist/doc/latex/confproc/example/buildproc
deleted file mode 100644
index c6d47770f55..00000000000
--- a/Master/texmf-dist/doc/latex/confproc/example/buildproc
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-#--- set user dependent file name
-TEXFILE="example"
-#--- set system dependent variables
-#LATEXPATH="/usr/local/teTeX/bin/i386-apple-darwin-current/" # for teTeX
-LATEXPATH="/usr/texbin/" # for TexLive 2007
-#--- set compilers' paths
-PDFLATEX=$LATEXPATH"pdflatex"
-BIBTEX=$LATEXPATH"bibtex"
-MAKEINDEX=$LATEXPATH"makeindex"
-
-#--- Compile
-echo; echo; echo '*** bash: copying class insertion file ***'
-cp exclasspre.tex exclass.tex
-echo; echo; echo '*** PdfLaTeX: create toc (1/7) ***'
-$PDFLATEX $TEXFILE.tex
-echo; echo; echo '*** Bibtex: generate the general biblio. (2/7) ***'
-$BIBTEX $TEXFILE
-echo; echo; echo '*** Makeindex: create index of authors (3/7) ***'
-$MAKEINDEX -s confproc.ist $TEXFILE.idx
-echo; echo; echo '*** PdfLaTeX: create toc + include index (4/7) ***'
-$PDFLATEX $TEXFILE.tex
-echo; echo; echo '*** PdfLaTeX: create backrefs (5/7) ***'
-$PDFLATEX $TEXFILE.tex
-echo; echo; echo '*** PdfLaTeX: give proper toc and backrefs (6/7) ***'
-$PDFLATEX $TEXFILE.tex
-echo; echo; echo '*** bash: copying class insertion file ***'
-cp exclasslast.tex exclass.tex
-echo; echo; echo '*** PdfLaTeX: full papers (mod. class insertion) (7/7) ***'
-$PDFLATEX $TEXFILE.tex
diff --git a/Master/texmf-dist/doc/latex/confproc/example/buildproc.sh b/Master/texmf-dist/doc/latex/confproc/example/buildproc.sh
new file mode 100644
index 00000000000..9815e86e17f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/buildproc.sh
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+#--- set user dependent file name
+TEXFILE="example3optim"
+#--- set system-dependent variables
+LATEXPATH="/usr/texbin/" # for TexLive
+#--- set compilers' paths
+PDFLATEX=$LATEXPATH"pdflatex"
+BIBTEX=$LATEXPATH"bibtex"
+MAKEINDEX=$LATEXPATH"makeindex"
+mkdir pdftk_info/
+
+#--- class settings: "empty" option and binding
+cp exclasspre.tex exclass.tex
+
+#--- Compile
+separator='___________________________________________________'
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: create toc (1/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Bibtex: generate the general biblio. (2/6) ***'
+$BIBTEX $TEXFILE
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Makeindex: create index of authors (3/6) ***'
+$MAKEINDEX -s confproc2.ist $TEXFILE.idx
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: add toc + insert index and bibliography (4/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: createupdate toc, index and bib page numbers (5/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: mod. class insertion, for proper PDF links for full papers (6/6) ***'
+$PDFLATEX $TEXFILE.tex
diff --git a/Master/texmf-dist/doc/latex/confproc/example/buildprocelpb.sh b/Master/texmf-dist/doc/latex/confproc/example/buildprocelpb.sh
new file mode 100644
index 00000000000..36a01b4db66
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/buildprocelpb.sh
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+#--- set user dependent file name
+INTEXFILE="example4optim"
+TEXFILE="proceedings"
+TEXFILEPATH="example"
+PAPERBACKFOLDER="PDF_printed/"
+ELECTRONICFOLDER="PDF_electronic/"
+
+#--- different class options for electronic vs paperback version
+class_paperback_pre=exclasspre
+class_paperback_final=exclasslastpb
+class_electronic_final=exclasslastel
+
+#--- set system-dependent variables
+LATEXPATH="/usr/texbin/" # TexLive
+
+#--- set compilers' paths
+PDFLATEX=$LATEXPATH"pdflatex"
+BIBTEX=$LATEXPATH"bibtex"
+MAKEINDEX=$LATEXPATH"makeindex"
+
+#--- set script-specific paths
+GPATH=`pwd` # general proc path
+PAPERBACKFOLDER=${GPATH}/${PAPERBACKFOLDER}
+ELECTRONICFOLDER=${GPATH}/${ELECTRONICFOLDER}
+PDFPATH="${ELECTRONICFOLDER}/papers"
+PDFTKPATH="pdftk_info/"
+INPATH="tmp/papersinfo/"
+SPPATH="tmp/papers_split/"
+
+#=== prepare output folders
+mkdir -p ${PAPERBACKFOLDER}
+mkdir -p ${ELECTRONICFOLDER}
+rm -r ${ELECTRONICFOLDER}/papers/
+mkdir -p ${ELECTRONICFOLDER}/papers/
+mkdir -p $INPATH
+mkdir -p $SPPATH
+mkdir -p $PDFTKPATH
+
+#=== GO TO LaTeX FOLDER !!!
+cd ${GPATH}
+
+#=== MAKE PAPERBACK VERSION
+#--- class settings: "empty" option and binding
+cat ${class_paperback_pre}.tex ${INTEXFILE}.tex >${TEXFILE}.tex
+
+#--- Compile
+separator='___________________________________________________'
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: create toc (1/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Bibtex: generate the general biblio. (2/6) ***'
+$BIBTEX $TEXFILE
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Makeindex: create index of authors (3/6) ***'
+$MAKEINDEX -s confproc2.ist $TEXFILE.idx
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: add toc + insert index and bibliography (4/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: createupdate toc, index and bib page numbers (5/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+#--- class settings: "final" option and binding
+cat ${class_paperback_final}.tex ${INTEXFILE}.tex >${TEXFILE}.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: mod. class insertion, for proper PDF links for full papers (6/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+#--- save PDF
+cp ${TEXFILE}.pdf $PAPERBACKFOLDER/${TEXFILE}.pdf
+
+#=== MAKE ELECTRONIC VERSION FOR CD, FROM PAPERBACK VERSION
+#--- class settings: "final" option and no binding
+cd ${GPATH}/${TEXFILEPATH}
+cat ${class_electronic_final}.tex ${INTEXFILE}.tex >${TEXFILE}.tex
+
+#--- Compile
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: create toc (1/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Bibtex: generate the general biblio. (2/6) ***'
+$BIBTEX $TEXFILE
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Makeindex: create index of authors (3/6) ***'
+$MAKEINDEX -s confproc2.ist $TEXFILE.idx
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: add toc (4/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: create toc + include index (5/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+#--- class settings: "final" option and binding
+cat ${class_paperback_final}.tex ${INTEXFILE}.tex >${TEXFILE}.tex
+
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** PdfLaTeX: mod. class insertion, for proper PDF links for full papers (6/6) ***'
+$PDFLATEX $TEXFILE.tex
+
+mkdir ${ELECTRONICFOLDER}/papers/
+#--- save PDF
+echo "cmd: cp ${TEXFILE}.pdf ${GPATH}/${ELECTRONICFOLDER}/${TEXFILE}.pdf"
+cp ${TEXFILE}.pdf $ELECTRONICFOLDER/${TEXFILE}.pdf
+
+#=== EXPORT individual pdf papers back from the proceedings + hdr/footers/metadata
+cd ${GPATH}
+echo; echo; echo; echo; echo; echo; echo $separator; echo $separator;
+echo '*** Export individual PDFs ***'
+echo "cmd: ./exportIndividualPDFs.sh ${GPATH} ${TEXFILEPATH}/${TEXFILE} ${INPATH} ${SPPATH} ${PDFPATH} ${PDFTKPATH}"
+./exportIndividualPDFs.sh ${GPATH} ${TEXFILE} ${INPATH} ${SPPATH} ${PDFPATH} ${PDFTKPATH}
+
+# rm -r ${GPATH}/tmp/
diff --git a/Master/texmf-dist/doc/latex/confproc/example/confproc.cls b/Master/texmf-dist/doc/latex/confproc/example/confproc.cls
index 638692b6b3a..7997d269916 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/confproc.cls
+++ b/Master/texmf-dist/doc/latex/confproc/example/confproc.cls
@@ -1,131 +1,382 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]%
\ProvidesClass{confproc}
- [2007/10/17 v0.4f: Conference Proceedings class (VV)]
-\LoadClass{book}
-\DeclareOption{a4paper}
- {\setlength\paperheight {297mm}%
- \setlength\paperwidth {210mm}%
- \setlength\oddsidemargin {-4.95truemm}%
- \setlength\evensidemargin {-10.95truemm}%
- \def\shiftsafourpaper{}}
-\DeclareOption{letterpaper}
- {\setlength\paperheight {11in}%
+ [2010/08/05 v0.7: Conference Proceedings class (VV)]
+\RequirePackage{kvoptions}
+\RequirePackage{kvoptions-patch}
+\RequirePackage{xifthen}
+\SetupKeyvalOptions{family=confproc,prefix=confproc@}
+\newcommand*{\confproc}[1]{\setkeys{confproc}{#1}}
+\DeclareStringOption{compil}{\PackageWarning{confproc}{Option %
+ "compil=bib*" ignored since v0.5; use "bib=*" instead of "compil=bib*"}}
+\DeclareVoidOption{draft}{\PackageWarning{confproc}{Option "draft" %
+ ignored since v0.5; use "papers=draft" instead}}
+\DeclareVoidOption{final}{\PackageWarning{confproc}{Option "final" %
+ ignored since v0.5; use "papers=final" instead}}
+\DeclareVoidOption{tocnumleft}{\PackageWarning{confproc}{Option %
+ "tocnumleft" ignored since v0.5; use "tocnum=left" instead}}
+\DeclareVoidOption{tocnumright}{\PackageWarning{confproc}{Option %
+ "tocnumright" ignored since v0.5; use "tocnum=right" instead}}
+\DeclareVoidOption{cleardoublepage}{\PackageWarning{confproc}{Option %
+ "cleardoublepage" ignored since v0.5; use "twosidepapers" instead}}
+\DeclareVoidOption{clearsinglepage}{\PackageWarning{confproc}{Option %
+ "clearsinglepage" ignored since v0.5; use "onesidepapers" instead}}
+\DeclareVoidOption{10pt}{%
+ \expandafter\PassOptionsToPackage
+ \expandafter{\CurrentOption}{book}}
+\DeclareVoidOption{11pt}{%
+ \expandafter\PassOptionsToPackage
+ \expandafter{\CurrentOption}{book}}
+\DeclareVoidOption{12pt}{%
+ \expandafter\PassOptionsToPackage
+ \expandafter{\CurrentOption}{book}}
+\newif\if@proc@letterpaper
+\DeclareVoidOption{letterpaper}{%
+ \@proc@letterpapertrue
+ \setlength\paperheight {11in}%
\setlength\paperwidth {8.5in}%
\setlength\oddsidemargin {-4.95truemm}%
\setlength\evensidemargin {-4.95truemm}%
- \def\shiftsletterpaper{}}
-\PassOptionsToPackage{a4paper,letterpaper}{book}
-\PassOptionsToPackage{a4paper,letterpaper}{hyperref}
-\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
-\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
-\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
-\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse%
- \def\conf@WithClearsinglepage{}}
-\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue%
- \def\conf@WithCleardoublepage{}}
-\DeclareOption{onesidepapers}{%
- \def\conf@WithClearsinglepagePapers{}}
-\DeclareOption{twosidepapers}{%
- \def\conf@WithCleardoublepagePapers{}}
-\DeclareOption{compil=bibmerge}
- {\typeout{confproc: LaTeX run-> bib. items only (merging process)}%
- \def\conf@BibMerge{}}
-\DeclareOption{compil=bibbackref}
- {\typeout{confproc: LaTeX run-> generating biblio back references}%
- \def\conf@BibBackRef{}}
-\DeclareOption{compil=last}
- {\typeout{!!! confproc: LaTeX run-> LAST !!!}%
- \def\conf@FinalVersion{}}
-\DeclareOption{draft}
- {\typeout{confproc: not including PDF files}%
- \PassOptionsToPackage{draft}{pdfpages}%
- \def\conf@DoNotIncludePDFs{}}
-\DeclareOption{final}
- {\typeout{confproc: including PDF files}%
- \PassOptionsToPackage{final}{pdfpages}%
- \def\conf@IncludePDFs{}}
-\DeclareOption{electronic}%
- {\typeout{confproc: adding colors for hyperlinks}%
+ \def\shiftsletterpaper{}%
+ \PassOptionsToClass{\CurrentOption}{book}%
+ \PassOptionsToPackage{\CurrentOption}{hyperref}}
+\DeclareVoidOption{a4paper}{%
+ \@proc@letterpaperfalse
+ \setlength\paperheight {297mm}%
+ \setlength\paperwidth {210mm}%
+ \setlength\oddsidemargin {-4.95truemm}%
+ \setlength\evensidemargin {-10.95truemm}%
+ \def\shiftsafourpaper{}%
+ \PassOptionsToClass{\CurrentOption}{book}%
+ \PassOptionsToPackage{\CurrentOption}{hyperref}}
+\DeclareVoidOption{oneside}{\@twosidefalse \@mparswitchfalse%
+ \PassOptionsToPackage{\CurrentOption}{book}}
+\DeclareVoidOption{twoside}{\@twosidetrue \@mparswitchtrue%
+ \PassOptionsToPackage{\CurrentOption}{book}}
+\DeclareBoolOption[true]{twosidepapers}
+\DeclareComplementaryOption{onesidepapers}{twosidepapers}
+\DeclareStringOption[final]{papers}
+\DeclareBoolOption[true]{electronic}
+\DeclareComplementaryOption{printed}{electronic}
+\DeclareStringOption[0mm]{binding}
+\DeclareStringOption[allpages]{headers}
+\DeclareStringOption[none]{bib}
+\DeclareStringOption[all]{paperselec}
+\DeclareBoolOption[false]{twocoltoc}
+\DeclareComplementaryOption{onecoltoc}{twocoltoc}
+\DeclareStringOption[left]{tocnum}
+\DeclareBoolOption[true]{twocolbib}
+\DeclareComplementaryOption{onecolbib}{twocolbib}
+\DeclareBoolOption[true]{twocolindex}
+\DeclareComplementaryOption{threecolindex}{twocolindex}
+\DeclareBoolOption[false]{checktitle}
+\DeclareBoolOption[false]{checkauthor}
+\DeclareStringOption[black]{colorheaders}
+\DeclareBoolOption[false]{showmarginlines}
+\DeclareBoolOption[false]{showpapernumber}
+\DeclareBoolOption[false]{movepagenumber}
+\DeclareBoolOption[false]{debug}
+\DeclareBoolOption[false]{verbose}
+\DeclareBoolOption[false]{pdftk}
+\DeclareStringOption[.]{pdftkfolder}
+\DeclareStringOption[Conference]{pdftksubject}
+\DeclareStringOption[pdftk 1.12 + Ghostscript 8.71]{pdftkproducer}
+\DeclareStringOption[LaTeX2e + confproc 0.7]{pdftkcreator}
+\DeclareStringOption{hyperref}[]
+\DeclareStringOption{geometry}[]
+\DeclareStringOption{afterhyperref}[]
+\DeclareStringOption{beforehyperref}[]
+\DeclareDefaultOption{\PackageWarning{confproc}{Unknown %
+ option `\CurrentOption'; passed to 'hyperref'}%
+ \PassOptionsToClass{\CurrentOption}{hyperref}}
+\ExecuteOptions{letterpaper,10pt,twoside,twosidepapers,%
+ electronic,binding=0mm,papers=final,paperselec=all,headers=allpages,%
+ onecoltoc,tocnum=left,threecolindex,twocolbib,bib=none,%
+ checktitle=false,checkauthor=false,showmarginlines=false,%
+ showpapernumber=false,movepagenumber=false,colorheaders=black,%
+ verbose=false,debug=false,pdftk=false,%
+ hyperref={colorlinks=true,linkcolor=red,citecolor=blue,urlcolor=blue,%
+ bookmarksopen=true,bookmarksopenlevel=1}%
+ geometry={text={6.9in,9in},%
+ inner=0.8in,top=1in,bottom=1in,%
+ headsep=7.05mm,footskip=10mm,voffset=-5mm}}
+\ProcessKeyvalOptions*
+\ifconfproc@electronic%
\PassOptionsToPackage{colorlinks=true}{hyperref}%
- \def\conf@procWithColors{}}
-\DeclareOption{printed}%
- {\typeout{confproc: hyperref with no color for hyperlinks}
+ \PackageInfo{confproc}{use color links with hyperref}%
+\else
\PassOptionsToPackage{colorlinks=false}{hyperref}%
- \def\conf@procWithoutColors{}}
-\DeclareOption{headers=no}%
- {\typeout{confproc: no fancy headers}%
- \def\conf@NoFancyHeaders{}}
-\DeclareOption{headers=pdfonly}%
- {\typeout{confproc: fancy headers on inserted PDFs only}%
- \def\conf@FancyHeadersOnPapers{}}
-\DeclareOption{headers=exceptpdf}%
- {\typeout{confproc: fancy headers for all pages except PDFs}%
- \def\conf@FancyHeadersExceptPapers{}}
-\DeclareOption{headers=allpages}%
- {\typeout{confproc: fancy headers on all pages, PDFs included}%
- \def\conf@FancyHeadersOnPapers{}%
- \def\conf@FancyHeadersExceptPapers{}}
-\DeclareOption{twocolindex}
- {\typeout{confproc: 2 columns index}%
- \def\conf@TwoColumnIndex{}}
-\DeclareOption{threecolindex}
- {\typeout{confproc: 3 columns index}%
- \def\conf@ThreeColumnIndex{}}
-\DeclareOption{twocolbib}
- {\typeout{confproc: 2 columns biblio}%
- \def\conf@TwoColumnBib{}}
-\DeclareOption{onecolbib}
- {\typeout{confproc: 1 column biblio}%
- \def\conf@OneColumnBib{}}
-\DeclareOption{twocoltoc}
- {\typeout{confproc: 2 columns TOC}%
- \def\conf@TwoColumnTOC{}}
-\DeclareOption{onecoltoc}
- {\typeout{confproc: 1 column TOC}%
- \def\conf@OneColumnTOC{}}
-\DeclareOption{tocnumleft}
- {\typeout{confproc: TOC numbering on left}%
- \def\conf@TocNumberingLeft{}}
-\DeclareOption{tocnumright}
- {\typeout{Confproc: TOC numbering on right}%
- \def\conf@TocNumberingRight{}}
-\DeclareOption{movepagenumbers}
- {\typeout{confproc: moving page numbers to check PDFs numbering}%
- \def \conf@TestPageNumbering{}}
-\DeclareOption{cleardoublepage}%
- {\typeout{confproc: using double page clearing}%
- \def\conf@WithCleardoublepage{}}
-\DeclareOption{clearsinglepage}%
- {\typeout{confproc: using double page clearing}%
- \def\conf@WithClearsinglepage{}}
-\DeclareOption{debug}
- {\typeout{Confproc: printing debug for confproc, hyperref}%
- \PassOptionsToPackage{debug}{hyperref}%
- \def\conf@procWithDebug{}}
-\DeclareOption{verbose}
- {\typeout{Confproc: printing debug for confproc, hyperref}%
- \PassOptionsToPackage{debug}{hyperref}%
- \def\conf@procWithDebug{}}
-\DeclareOption*{\PackageWarning{procconf}%
- {Unknown option `\CurrentOption'; passed to 'hyperref'}%
- \PassOptionsToClass{\CurrentOption}{hyperref}}
-\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}
-\ProcessOptions
+ \PackageInfo{confproc}{does not use color links with hyperref}%
+\fi
+
+\newlength{\proc@binding}
+\ifthenelse%
+ {\equal{\confproc@binding}{}}
+ {\setlength{\proc@binding}{0mm}
+ \PackageInfo{confproc}{setting binding to default (0mm)}}
+ {\setlength{\proc@binding}{\confproc@binding}
+ \PackageInfo{confproc}{setting binding to \confproc@binding}}
+
+\newif\if@proc@IncludePDFs
+\newif\if@proc@ReplacePDFs
+\newif\if@proc@IncludeFullPDFs
+\newwrite\npagesfile
+\ifthenelse%
+ {\equal{\confproc@papers}{empty}}%
+ {\PackageInfo{confproc}{replacing PDF files by information pages}%
+ \@proc@ReplacePDFstrue
+ \@proc@IncludeFullPDFsfalse
+ \@proc@IncludePDFsfalse
+ \immediate\openout\npagesfile=\jobname.nps}
+ {\ifthenelse%
+ {\equal{\confproc@papers}{draft}}%
+ {\PackageInfo{confproc}{not including PDF files with 'pdfpages'}%
+ \PassOptionsToPackage{draft}{pdfpages}%
+ \@proc@ReplacePDFsfalse
+ \@proc@IncludeFullPDFsfalse
+ \@proc@IncludePDFsfalse
+ \immediate\openout\npagesfile=\jobname.nps}
+ {\ifthenelse%
+ {\equal{\confproc@papers}{final}}
+ {\PackageInfo{confproc}{including PDF files with 'pdfpages'}%
+ \PassOptionsToPackage{final}{pdfpages}%
+ \@proc@ReplacePDFsfalse
+ \@proc@IncludeFullPDFsfalse
+ \@proc@IncludePDFstrue
+ \immediate\openout\npagesfile=\jobname.nps}
+ {\ifthenelse%
+ {\equal{\confproc@papers}{countpages}}
+ {\PackageInfo{confproc}{counting each paper's number of %
+ pages by including all its pages}
+ \@proc@ReplacePDFsfalse
+ \@proc@IncludeFullPDFstrue
+ \@proc@IncludePDFsfalse
+ \immediate\openout\npagesfile=\jobname.npc}
+ {\PackageWarning{confproc}{unknown option %
+ `papers=\confproc@papers' ; using `papers=final'}%
+ \@proc@ReplacePDFsfalse{}
+ \@proc@IncludeFullPDFsfalse
+ \@proc@IncludePDFstrue
+ \immediate\openout\npagesfile=\jobname.nps}
+ }
+ }
+ }
+
+\newif\if@proc@FancyHeadersOnPapers
+\newif\if@proc@FancyHeadersExceptPapers
+\ifthenelse%
+ {\equal{\confproc@headers}{none}}
+ {\PackageInfo{confproc}{no headers}%
+ \@proc@FancyHeadersOnPapersfalse
+ \@proc@FancyHeadersExceptPapersfalse}
+ {\ifthenelse%
+ {\equal{\confproc@headers}{pdfonly}}
+ {\PackageInfo{confproc}{headers on inserted PDFs only}%
+ \@proc@FancyHeadersOnPaperstrue
+ \@proc@FancyHeadersExceptPapersfalse}
+ {\ifthenelse%
+ {\equal{\confproc@headers}{exceptpdf}}
+ {\PackageInfo{confproc}{headers for all pages except PDFs}%
+ \@proc@FancyHeadersOnPapersfalse
+ \@proc@FancyHeadersExceptPaperstrue}
+ {\ifthenelse%
+ {\equal{\confproc@headers}{allpages}}
+ {\PackageInfo{confproc}{headers on all pages, PDFs included}%
+ \@proc@FancyHeadersOnPaperstrue
+ \@proc@FancyHeadersExceptPaperstrue}
+ {\PackageWarning{confproc}{unknown %
+ 'headers=\confproc@headers' option (using 'headers=allpages')}}
+ }
+ }
+ }
+
+\newif\if@proc@BibNone
+\newif\if@proc@BibRemoveCiteHdr
+\ifthenelse%
+ {\equal{\confproc@bib}{merge}}%
+ {\PackageInfo{confproc}{bib: display 1st+last page of each paper}%
+ \@proc@BibNonefalse%
+ \def\conf@BibMerge{}%
+ \@proc@BibRemoveCiteHdrfalse}%
+ {\ifthenelse%
+ {\equal{\confproc@bib}{backref}}%
+ {\PackageInfo{confproc}{bib: displays back references}%
+ \@proc@BibNonefalse%
+ \def\conf@BibBackRef{}%
+ \@proc@BibRemoveCiteHdrfalse}%
+ {\ifthenelse%
+ {\equal{\confproc@bib}{final}}%
+ {\PackageInfo{confproc}{bib: hide bib items using `nocite'}%
+ \@proc@BibNonefalse%
+ \@proc@BibRemoveCiteHdrtrue}%
+ {\PackageInfo{confproc}{bibliography: none}%
+ \@proc@BibNonetrue}%
+ }%
+ }
+\if@proc@BibRemoveCiteHdr
+ \newcommand{\confcite}[1]{\nocite{#1}}
+ \PackageInfo{confproc}{removing citations (with nocite{*}): %
+ next run should be the last (will loose hyperlinks)}
+\else \newcommand{\confcite}[1]{\cite{#1}}
+\fi
+\newif\if@proc@TocNumberingRight
+\ifthenelse%
+ {\equal{\confproc@tocnum}{left}}%
+ {\PackageInfo{confproc}{TOC numbering on left}%
+ \@proc@TocNumberingRightfalse}
+ {\ifthenelse%
+ {\equal{\confproc@tocnum}{right}}%
+ {\PackageInfo{confproc}{TOC numbering on right}%
+ \@proc@TocNumberingRighttrue}
+ {\PackageWarning{confproc}{unknown tocnum=\confproc@tocnum %
+ (using 'right' instead)}%
+ \@proc@TocNumberingRighttrue}
+ }
+
+\ifconfproc@checkauthor
+ \PackageInfo{confproc}{add 'author list' field on the paper's 1st page}%
+\else \PackageInfo{confproc}{do not add author list}%
+\fi
+\ifconfproc@checktitle
+ \PackageInfo{confproc}{add title field on the paper's 1st page}%
+\else \PackageInfo{confproc}{do not add title}%
+\fi
+\ifconfproc@showmarginlines
+ \PackageInfo{confproc}{show margin lines to check template-complience}%
+\else \PackageInfo{confproc}{do not show margin lines}%
+\fi
+\ifconfproc@showpapernumber
+ \PackageInfo{confproc}{add paper number below page number}%
+\else \PackageInfo{confproc}{do not add paper number below page number}%
+\fi
+
+\ifconfproc@twosidepapers
+ \PackageInfo{confproc}{papers opening on right (odd) side}
+\else
+ \PackageInfo{confproc}{papers opening on any side}
+\fi
+
+\newif\if@proc@verbose
+\@proc@verbosefalse
+\ifconfproc@verbose
+ \@proc@verbosetrue
+ \PackageInfo{confproc}{verbose mode turned on}
+\else \PackageInfo{confproc}{verbose mode turned off}
+\fi
+\ifconfproc@debug
+ \@proc@verbosefalse
+ \PackageInfo{confproc}{verbose mode turned off and debug turned on}
+ \PassOptionsToPackage{debug}{hyperref}
+\else \PackageInfo{confproc}{debug mode turned on}
+\fi
+\PassOptionsToPackage{\confproc@hyperref}{hyperref}
+\PassOptionsToPackage{\confproc@geometry}{geometry}
+\ifconfproc@verbose
+ \typeout{________________}
+ \if@proc@letterpaper
+ \typeout{| | Document formatting:}
+ \typeout{| | ____ letterpaper}
+ \else
+ \typeout{| | Document formatting:}
+ \typeout{| | ____ a4paper}
+ \fi
+ \iffalse\@twoside \typeout{| | ____ twoside=false (=oneside)}
+ \else \typeout{| | ____ twoside=true}
+ \fi
+ \ifconfproc@twosidepapers \typeout{| | ____ twosidepapers=true}
+ \else \typeout{| | twosidepapers=false (=onesidepaper)}
+ \fi
+ \typeout{| | Proceedings-specific formatting:}
+ \ifconfproc@electronic \typeout{| | ____ electronic=true (file version)}
+ \else \typeout{| | ____ electronic=false (printed)}
+ \fi
+ \typeout{| | ____ binding=\confproc@binding (for printed version)}
+ \typeout{| | ____ papers=\confproc@papers (paper insertion)}
+ \typeout{| | ____ headers=\confproc@headers (header add to pages)}
+
+ \typeout{| | List of papers:}
+ \typeout{| | ____ paperselec=\confproc@paperselec}
+
+ \typeout{| | Lists (toc, bib, index):}
+ \ifconfproc@twocoltoc \typeout{| | ____ twocoltoc=true}
+ \else \typeout{| | ____ twocoltoc=false (=onecoltoc)}
+ \fi
+ \ifthenelse{\equal{\confproc@tocnum}{left}}%
+ {\typeout{| | ____ tocnum=left}}
+ {\typeout{| | ____ tocnum=right}}
+ \ifconfproc@twocolbib \typeout{| | ____ twocolbib=true}
+ \else \typeout{| | ____ twocolbib=false (=onecolbib)}
+ \fi
+ \typeout{| | ____ bib=\confproc@bib}
+ \ifconfproc@twocolindex \typeout{| | ____ twocolindex=true}
+ \else \typeout{| | ____ twocolindex=false (=threecolindex)}
+ \fi
+
+ \typeout{| | Help for layout design:}
+ \ifconfproc@checkauthor
+ \typeout{| | ____ checkauthor=true (add author list to 1st page)}
+ \else
+ \typeout{| | ____ checkauthor=false (do not add author list to 1st page)}
+ \fi
+ \ifconfproc@checktitle
+ \typeout{| | ____ checktitle=true (add title to 1st page)}
+ \else
+ \typeout{| | ____ checktitle=false (do not add title to 1st page)}
+ \fi
+
+ \ifconfproc@showpapernumber
+ \typeout{| | ____ showpapernumber=true (add paper number)}
+ \else
+ \typeout{| | ____ showpapernumber=false (do not add paper number)}
+ \fi
+ \ifconfproc@movepagenumber
+ \typeout{| | ____ movepagenumber=true (move paper number for checking)}
+ \else
+ \typeout{| | ____ movepagenumber=false (do not move paper number)}
+ \fi
+ \ifconfproc@showmarginlines
+ \typeout{| | ____ showmarginlines=true (add template format)}
+ \else
+ \typeout{| | ____ showmarginlines=false (do not add template format)}
+ \fi
+ \typeout{| | ____ colorheaders=\confproc@colorheaders (color for header/footer)}
+
+ \typeout{| | Verbose:}
+ \ifconfproc@debug \typeout{| | ____ debug=true (for hyperref)}
+ \else \typeout{| | ____ debug=false (for hyperref)}
+ \fi
+ \ifconfproc@verbose \typeout{| | ____ verbose=true (for confproc+hyperref)}
+ \else \typeout{| | ____ verbose=false (for confproc+hyperref)}
+ \fi
+ \ifconfproc@pdftk
+ \typeout{| | ____ pdftk=true (for use with pdftk to add PDF metadata)}
+ \typeout{| | ____ pdftkfolder=\confproc@pdftkfolder (folder where .pdftk files are saved)}
+ \typeout{| | ____ pdftksubject=\confproc@pdftksubject (subject for individual PDF metadata)}
+ \typeout{| | ____ pdftkproducer=\confproc@pdftkproducer (producer for individual PDF metadata)}
+ \typeout{| | ____ pdftkcreator=\confproc@pdftkcreator (creator for individual PDF metadata)}
+ \else \typeout{| | ____ pdftk=false (for use with pdftk to add PDF metadata)}
+ \fi
+ \typeout{| | passed to hyperref: \confproc@hyperref}
+ \typeout{| | passed to geometry: \confproc@geometry}
+ \typeout{________________}
+ \typeout{ }
+\fi
+\ifconfproc@pdftk
+ \newwrite\pdftkinfoall
+ \immediate\openout\pdftkinfoall=\jobname.pdftk
+ \newwrite\pdftkinfofile
+\fi
+\LoadClass[10pt,letterpaper]{book}
\RequirePackage{graphicx}
\RequirePackage{pdfpages}
\RequirePackage{fancyhdr}
\RequirePackage[nottoc,notbib,notindex]{tocbibind}
-\RequirePackage{titletoc}
-\ifdefined\conf@TwoColumnTOC
+\RequirePackage[rightlabels]{titletoc}
+\ifconfproc@twocoltoc
\RequirePackage[toc]{multitoc}
\fi
\RequirePackage{index}
\RequirePackage{multicol}
-\ifdefined\conf@TwoColumnIndex
+\ifconfproc@twocolindex
\renewenvironment{theindex}{%
\if@twocolumn \@restonecolfalse
\else \@restonecoltrue \fi
@@ -145,7 +396,6 @@
\if@restonecol \onecolumn
\else \clearpage \fi}
\else
- \ifdefined\conf@ThreeColumnIndex%
\renewenvironment{theindex}{%
\if@twocolumn \@restonecolfalse
\else \@restonecoltrue \fi
@@ -164,10 +414,8 @@
}{\end{multicols}%
\if@restonecol \onecolumn
\else \clearpage \fi }
- \fi
\fi
\RequirePackage{sectsty}
-\newcommand{\confcite}[1]{\cite{#1}}
\RequirePackage{newapave}
\RequirePackage{color}
\definecolor{colorforlink}{rgb}{0,0,0.5}
@@ -177,334 +425,255 @@
\RequirePackage[pdftex,raiselinks,hyperindex,backref,pagebackref,%
plainpages=false,pdfpagelabels,breaklinks,linktocpage,%
pdfstartview=XYZ]{hyperref}
-\RequirePackage[figure,table]{hypcap}
-\newcommand{\procpdfauthor}{Proceedings author/editor}
-\newcommand{\procpdftitle}{Proceedings title}
-\newcommand{\procpdfsubject}{Proceedings description}
+%%\RequirePackage[figure,table]{hypcap}
+\RequirePackage{bookmark}
+\newcommand{\procpdfauthor}{[Proceedings author/editor]}
+\newcommand{\procpdftitle}{[Proceedings title]}
+\newcommand{\procpdfsubject}{[Proceedings short title] %
+ ([Proceedings Acronym]), [City], [Country], [Dates]}
\AtBeginDocument{
\hypersetup{
pdfauthor = \procpdfauthor,
pdftitle = \procpdftitle,
pdfsubject = \procpdfsubject,
pdfkeywords = {},
- pdfcreator = {LaTeX with `confproc' package},
+ pdfcreator = {LaTeX + confproc v0.7},
pdfproducer = {pdfLaTeX}}}
-\topmargin 0truept
-\headheight 12truept
-\footskip 14mm
-\textheight 229truemm
-\textwidth 175truemm
-\voffset -28truept
-\headsep 20truept
+\iffalse\@twoside
+ \usepackage[bindingoffset=\proc@binding]{geometry}
+\else%
+ \usepackage[twoside,bindingoffset=\proc@binding]{geometry}
+\fi
\renewcommand{\contentsname}{Conference Program}
\renewcommand{\bibname}{Full Bibliography}
\renewcommand{\indexname}{Index of Authors}
-\newcommand{\proclhead}{\em \small Proceedings of the blah blah blah}
-\newcommand{\proccfoot}{\small Proc-\thepage}
+\newcommand{\proclhead}{}
+\newcommand{\procchead}{{\color{red}Proceedings of the... \hfill %
+ 01--29 February, 2001}}
+\newcommand{\procrhead}{}
+\newcommand{\proclfoot}{}
+\newcommand{\proccfoot}{{\small \color{red} Proc-\thepage}}
+\newcommand{\procrfoot}{}
\pagestyle{fancyplain}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{-5mm}
-\lhead{\proclhead}
-\rhead{}
+\newlength{\procfootvskip}
+\setlength{\procfootvskip}{0cm}
+\newlength{\procoptfootvskip}
+\ifconfproc@movepagenumber \setlength{\procoptfootvskip}{3mm}%
+\else \setlength{\procoptfootvskip}{0mm} \fi
+\lhead{\color{\confproc@colorheaders}\proclhead}
+\chead{\color{\confproc@colorheaders}\procchead}
+\rhead{\color{\confproc@colorheaders}\procrhead}
\lfoot{}
\rfoot{}
-\cfoot{\proccfoot}{}
+\cfoot{\color{\confproc@colorheaders}\vskip\procfootvskip%
+ \vskip\procoptfootvskip\proccfoot}%
\ifdefined \conf@FancyHeadersExceptPapers
\pagestyle{fancy}
\else
\pagestyle{empty}
\fi
-\newlength{\procoptfootskip}
-\ifdefined\conf@TestPageNumbering%
- \setlength{\procoptfootskip}{3mm}%
- \cfoot{\vskip \procoptfootskip \proccfoot}%
-\else%
- \setlength{\procoptfootskip}{0mm}%
-\fi
-\ifdefined\conf@TocNumberingRight
- \titlecontents{section}[2.5em]% left margin
- {\vspace*{0.3em}}% space between two papers in the TOC
- {}{}{\contentsmargin{0pt} \hfill \contentspage}% filler and page
+\if@proc@TocNumberingRight
+ \titlecontents{section}[0em]% left margin
+ {\vspace*{0.5mm}}% space between two papers in the TOC
+ {}%
+ {}%
+ {\hfill \hspace*{-2.5em}\makebox[0pt][r]{\contentspage}\hspace*{2.5em}}% filler and page
+ [\addvspace{0.5mm}]% space after
\else%
- \dottedcontents{section}[]{\fillright}{}{1pc}
\titlecontents{section}[2.5em]%
- {\vspace*{0.3em}}%
- {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}% left shifting page num.
- {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}% idem
+ {\vspace*{0.5mm}}%
+ {\hspace*{-2.5em}\makebox[0pt][r]{\contentspage}\hspace*{2.5em}}% left shifting page num.
+ {\hspace*{-2.5em}\makebox[0pt][r]{\contentspage}\hspace*{2.5em}}% idem
{}% filler and page
+ [\addvspace{0.5mm}]% space after
\fi
-\newcommand{\tocmattertocstyle}{
- \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{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}]
-}
-\ifdefined\conf@TocNumberingRight
+\if@proc@TocNumberingRight
+ \newcommand{\frontmattertocstyle}{
+ \titlecontents{part}[0em]%
+ {\addvspace{3mm}}%
+ {\Large\bfseries}%
+ {\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
+ \titlecontents{chapter}[0em]%
+ {\addvspace{2mm}}%
+ {\large\bfseries\itshape}%
+ {\large\bfseries\itshape}%
+ {}%
+ [\addvspace{0.5mm}]
+ }
+\else
+ \newcommand{\frontmattertocstyle}{
+ \titlecontents{part}[0em]%
+ {\addvspace{3mm}}%
+ {\Large\bfseries}%
+ {\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
+ \titlecontents{chapter}[0em]%
+ {\addvspace{2mm}}%
+ {\large\bfseries\itshape}%
+ {\large\bfseries\itshape}%
+ {}%
+ [\addvspace{0.5mm}]
+ }
+\fi
+\if@proc@TocNumberingRight
\newcommand{\mainmattertocstyle}{
+ \titlecontents{part}[0pt]%
+ {\addvspace{3mm}}%
+ {\Large\bfseries}%
+ {\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
\titlecontents{chapter}[0pt]%
- {\addvspace{1pc}\bfseries\itshape}%
- {\contentsmargin{0pt}\bfseries%
- \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}%
- {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]%
+ {\addvspace{2mm}}%
+ {\large\bfseries\itshape}%
+ {\large\bfseries\itshape}%
+ {}%
+ [\addvspace{0.5mm}]
+ }
+\else % left TOC page numbers
+ \newcommand{\mainmattertocstyle}{
\titlecontents{part}[0pt]%
- {\addvspace{1pc}\bfseries}%
- {\contentsmargin{0pt}\bfseries%
- \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}%
- {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]%
-\else
- \ifdefined\conf@TocNumberingLeft% default
- \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}%
- {\contentsmargin{0pt}\bfseries %
- \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}%
- {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]%
- \titlecontents{part}[0pt]%
- {\addvspace{1pc}\bfseries}%
- {\contentsmargin{0pt}\bfseries %
- \makebox[0pt][r]{\huge\thecontentslabel\enspace}\large}%
- {\contentsmargin{0pt}\large}{}[\addvspace{.5pc}]%
- }
- \else
- \newcommand\mainmattertocstyle{}
- \fi
+ {\addvspace{3mm}}%
+ {\Large\bfseries}%
+ {\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
+ \titlecontents{chapter}[0pt]%
+ {\addvspace{2mm}}%
+ {\large\bfseries\itshape}%
+ {\large\bfseries\itshape}%
+ {}%
+ [\addvspace{0.5mm}]
+ }
\fi
+\newcounter{npagespreamble}
\renewcommand\mainmatter{%
- \cleardoublepage
+ \PackageInfo{confproc}{counted \arabic{npagespreamble} pages in the preamble}
+ \cleardoublepage
\@mainmattertrue
- \pagenumbering{arabic}
- \mainmattertocstyle}
-\ifdefined\conf@TocNumberingRight
+ \pagenumbering{arabic}}
+\if@proc@TocNumberingRight
\newcommand{\backmattertocstyle}{
- \titlecontents{section}[]{}{}{}{}[]%
\titlecontents{part}%
- [0pt]{\addvspace{1pc}}{}{}%
- {\contentsmargin{0pt} \large \hfill\contentspage}%
- [\addvspace{.5pc}]%
+ [0pt]%
+ {\addvspace{3mm}}%
+ {\Large\bfseries}%
+ {\Large\bfseries}%
+ {\hfill \hspace*{-2.5em}\contentspage\hspace*{2.5em}}%
+ [\addvspace{0.5mm}]
+ \titlecontents{chapter}%
+ [0pt]%
+ {\addvspace{2mm}}%
+ {\large\bfseries\itshape}%
+ {\large\bfseries\itshape}%
+ {\hfill \hspace*{-2.5em}\contentspage\hspace*{2.5em}}%
+ [\addvspace{0.5mm}]
+ }%
+\else
+ \newcommand{\backmattertocstyle}{%
+ \titlecontents{part}%
+ [0pt]%
+ {\addvspace{3mm}}%
+ {\makebox[0pt][r]{\contentspage}\hspace*{2.5em}\Large\bfseries}%
+ {\makebox[0pt][r]{\contentspage}\hspace*{2.5em}\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
+ \titlecontents{chapter}%
+ [0pt]%
+ {\addvspace{2mm}}%
+ {\makebox[0pt][r]{\contentspage}\hspace*{2.5em}\large\itshape\bfseries}%
+ {\makebox[0pt][r]{\contentspage}\hspace*{2.5em}\large\itshape\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]
}%
-\else%
- \ifdefined\conf@TocNumberingLeft%
- \newcommand{\backmattertocstyle}{%
- \titlecontents{section}[]{}{}{}{}[]%
- \titlecontents{part}%
- [0pt]%
- {\addvspace{1pc}}%
- {\contentspage\hspace*{2.5em}\contentsmargin{0pt}%
- \bfseries%
- \makebox[0pt][r]{\huge\thecontentslabel\enspace}%
- \large\bfseries}%
- {\contentspage\hspace*{2.5em}\contentsmargin{0pt} \large\bfseries}%
- {}%
- [\addvspace{.5pc}]%
- }%
- \else%
- \newcommand\backmattertocstyle{}%
- \fi%
\fi
\renewcommand\backmatter{%
- \if@openright
- \cleardoublepage
- \else
- \clearpage
- \fi
+ \if@openright \cleardoublepage
+ \else \clearpage \fi
\@mainmatterfalse
- \backmattertocstyle}
-\ifdefined\conf@FancyHeadersExceptPapers
- \newcommand{\otherpagestyle}{\pagestyle{fancy}}
- \newcommand{\thisotherpagestyle}{\thispagestyle{fancy}}
-\else
- \newcommand{\otherpagestyle}{\pagestyle{empty}}
- \newcommand{\thisotherpagestyle}{\thispagestyle{empty}}
-\fi
-\ifdefined\conf@FancyHeadersOnPapers
- \newcommand{\PDFpagestyle}{\thispagestyle{fancy}}
-\else
- \newcommand{\PDFpagestyle}{\thispagestyle{empty}}
-\fi
+ \cfoot{\color{\confproc@colorheaders}\vskip \procfootvskip %
+ \vskip \procoptfootvskip \proccfoot}}
+\newcommand{\otherpagestyle}{
+ \if@proc@FancyHeadersExceptPapers\pagestyle{fancy}
+ \else \pagestyle{empty} \fi}
+\newcommand{\thisotherpagestyle}{
+ \if@proc@FancyHeadersExceptPapers\thispagestyle{fancy}
+ \else \thispagestyle{empty} \fi}
+\newcommand{\PDFpagestyle}{
+ \if@proc@FancyHeadersOnPapers\thispagestyle{fancy}
+ \else\thispagestyle{empty} \fi}
\chapterfont{\thisotherpagestyle}
-\ifdefined\conf@WithCleardoublepage
- \newcommand{\clearsingleordoublepage}{\cleardoublepage}
-\else
- \ifdefined\conf@WithClearsinglepage
- \newcommand{\clearsingleordoublepage}{\clearpage}
- \else
- \newcommand{\clearsingleordoublepage}{\cleardoublepage}
- \fi
-\fi
-\ifdefined\conf@FinalVersion
- \newcommand{\UseBackRef}{}
-\else
- \newcommand{\CreateBackRef}{}
-\fi
-\newlength{\LaTeXxShift}
-\newlength{\LaTeXyShift}
-\newlength{\WordxShift}
-\newlength{\WordyShift}
-\ifdefined\shiftsafourpaper
- \setlength{\LaTeXxShift}{0pt}
- \setlength{\LaTeXyShift}{28pt}
- \setlength{\WordxShift}{10pt}
- \setlength{\WordyShift}{-40pt}
-\else
- \ifdefined\shiftsletterpaper
- \setlength{\LaTeXxShift}{8.45pt}
- \setlength{\LaTeXyShift}{-3pt}
- \setlength{\WordxShift}{10pt}
- \setlength{\WordyShift}{-40pt}
- \fi
-\fi
-\newcommand{\papertitle}{}
-\newcommand{\paperauthors}{}
-\newcommand{\paperindex}{}
-\newcommand{\paperref}{}
-\newcommand{\paperpagenum}{}
-\newcommand{\papercite}{}
+\newcommand{\clearsingleordoublepage}{
+ \iffalse\@twoside \clearpage
+ \else \cleardoublepage \fi}
+\newlength{\LaTeXxShift} \setlength{\LaTeXxShift}{0pt}
+\newlength{\LaTeXyShift} \setlength{\LaTeXyShift}{0pt}
+\newlength{\WordxShift} \setlength{\WordxShift}{0pt}
+\newlength{\WordyShift} \setlength{\WordyShift}{0pt}
+\newcommand{\conf@paper@title}{}
+\newcommand{\conf@paper@authors}{}
+\newcommand{\conf@paper@index}{}
+\newcommand{\conf@paper@ref}{}
+\newcommand{\conf@paper@pagenum}{}
+\newcommand{\conf@paper@cite}{}
\newcommand{\papertitlestyle}{}
\newcommand{\paperauthorstyle}{\texorpdfstring{\newline\itshape}{\break}}
-\newcounter{paperpagenum}
+\newcounter{npages}
\newcommand{\proctoctitleauthor}[2]{%
- \texorpdfstring{{\papertitlestyle#1}{\paperauthorstyle#2}}%
- {{\papertitlestyle#1}}}
-%% \begin{macrocode}
-\newcommand{\procinsertpaper}[9]{
- \setcounter{paperpagenum}{#2}
- #6%
- \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
- \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}%
- \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
- \else
- \addtocounter{paperpagenum}{-1}
- \includepdf[noautoscale,offset= #1,pages=2-\thepaperpagenum,%
- linktodoc,linkname=\PAPERPATH #8.pdf,%
- pagecommand = {\PDFpagestyle}%
- ]{\PAPERPATH #8.pdf}%
- \PDFpagestyle{}%
- \addtocounter{paperpagenum}{1}
- \ifdefined\CreateBackRef
- \includepdf[noautoscale,offset= #1,pages=\thepaperpagenum,%
- linktodoc,linkname=\PAPERPATH #8.pdf,%
- pagecommand = {\PDFpagestyle\vspace*{-2cm}\confcite{#7}}%
- ]{\PAPERPATH #8.pdf}%
- \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)}
- \typeout{---> title: #4}
- \typeout{---> author(s): #5}
- \typeout{---> index: #6}
- \fi
- \newpage
- \ifdefined\conf@WithClearsinglepagePapers
- \clearpage
- \else
- \ifdefined\conf@WithCleardoublepagePapers
- \cleardoublepage
- \fi
- \fi
-}
+ \texorpdfstring{{\papertitlestyle #1}{\paperauthorstyle #2}}%
+ {{\papertitlestyle #1}}}
\renewcommand\tableofcontents{%
- \tocmattertocstyle
\clearsingleordoublepage
\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
-}
+ \if@twocolumn \@restonecoltrue\onecolumn
+ \else \@restonecolfalse \fi
+ \section*{\contentsname}%
+ \@starttoc{toc}%
+ \if@restonecol\twocolumn\fi
+ \clearsingleordoublepage}
\newcommand{\procday}[1]{%
- \phantomsection%
- \addcontentsline{toc}{part}{#1}}
+ \phantomsection \addcontentsline{toc}{part}{#1}}
\newcommand{\session}[1]{%
- \phantomsection%
- \addcontentsline{toc}{chapter}{#1}}
+ \phantomsection \addcontentsline{toc}{chapter}{#1}}
\newcommand{\paperswitch}{}
\setlength{\bibhang}{0.5em} %
-\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}}
+\if@proc@BibNone
+ \renewenvironment{thebibliography}[1]{%
+ \PackageInfo{confproc}{ignoring #1 biblio file (`bib=none' option)}}
+\else
+ \renewenvironment{thebibliography}[1]{%
+ \ifconfproc@twocolbib \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}}
+\fi
\renewcommand\newblock{\hskip 0em plus 0.0em minus .07em}
\newcommand{\procbibintro}{{\it ~~~This bibliography is a compilation
of all bibliographic references from each paper. Page numbers that
@@ -516,9 +685,351 @@
\onecolumn
\section*{~~}%
\addcontentsline{toc}{part}{\indexname}%
- \renewcommand{\proclhead}{}%
+ \renewcommand{\procchead}{}%
\renewcommand{\proccfoot}{}%
\printindex}
+\ifconfproc@showmarginlines
+ \PackageInfo{confproc}{drawing margin lines' command (with a table)}%
+ \pagestyle{fancyplain}
+ \renewcommand{\headrulewidth}{0.0pt}
+ \newcommand{\procmarginlines}{
+ \renewcommand{\footrulewidth}{0.4pt}
+ \noindent
+ \vspace*{7mm} % adjusting vertical initial space
+ \begin{table}[h!] % table for vertical lines
+ \centering
+ \color{blue}
+ \begin{tabular}{|@{}p{3.3in}@{}|@{}p{0.3in}@{}|@{}p{3.3in}@{}|} % spacing between columns & vertical lines
+ \hline % upper horizontal line
+ ~~~~~~~~~~~ & ~ &~~~~~~~~~~~~~\\
+ \vspace*{7.5in} % less than a page height
+ ~~~~~~~~~~~ & ~ &~~~~~~~~~~~~~\\
+ \end{tabular}
+ \end{table}
+ }
+\else
+ \newcommand{\procmarginlines}{}
+ \PackageInfo{confproc}{no margin lines}%
+\fi
+\newcommand{\PAPERPATH}{}
+
+\newcommand{\confemptypapercite}[2]{%
+ \vspace*{0.3\textheight}%
+ \begin{flushleft}
+ \begin{tabular}{lp{0.7\textwidth}}
+ \Large [Title] & \Large \conf@papertitle\\
+ & \vspace*{0.5cm}\\
+ \Large [Author(s)] & \Large \conf@paperauthor\\
+ & \vspace*{0.5cm}\\
+ \Large [File name] & \Large \url{\PAPERPATH #2}\\
+ & \vspace*{0.5cm}\\
+ \if@proc@BibNone
+ \Large [Citation(s)] & \Large [disabled by ``bib=none'' option]\\
+ & \vspace*{2cm}\\
+ \else
+ \Large [Citation(s)] & \Large \confcite{\conf@cite}\\
+ & \vspace*{2cm}\\
+ \fi
+ & \textbf{\Huge Page #1}\\
+ \end{tabular}
+ \end{flushleft}
+}
+\newcounter{conf@npages}
+\newcommand{\confemptypaper}[2]{%
+ \vspace*{0.3\textheight}%
+ \begin{flushleft}
+ \begin{tabular}{lp{0.7\textwidth}}
+ \Large [Title] & \Large \conf@papertitle\\
+ & \vspace*{0.5cm}\\
+ \Large [Author(s)] & \Large \conf@paperauthor\\
+ & \vspace*{0.5cm}\\
+ \Large [File name] & \Large \url{\PAPERPATH #2}\\
+ & \vspace*{0.5cm}\\
+ \if@proc@BibNone
+ \Large [Citation(s)] & \Large [disabled by ``bib=none'' option]\\
+ & \vspace*{2cm}\\
+ \else
+ \Large [Citation(s)] & \Large [see page \theconf@npages{} of this paper]\\
+ & \vspace*{2cm}\\
+ \fi
+ & \textbf{\Huge Page #1}\\
+ \end{tabular}
+ \end{flushleft}
+}
+%%%%% begin key-value option management for \procpaper{} command %%%%%
+\newlength{\conf@xshift}
+\newlength{\conf@yshift}
+\newcounter{conf@switch}
+\newcounter{conf@firstpage}
+\newcounter{conf@lastpage}
+\newcommand{\conf@pagecmd}{}
+\newcommand{\conf@tmpauthorlist}{}
+\newcommand{\conf@tmptitle}{}
+\newcommand{\confstylecheckauthor}{}
+\newcommand{\confstylechecktitle}{}
+\newcounter{locnpages}%
+\def\procpaper{\@ifnextchar[{\@procpaper}{\@procpaper[]}}
+\def\@procpaper[#1]#2{{%
+\ifthenelse{\equal{\confproc@paperselec}{all}\or\equal{\confproc@paperselec}{#2}}
+ {\setlength{\conf@xshift}{0cm}
+ \setlength{\conf@yshift}{0cm}
+ \setcounter{conf@npages}{1}
+ \setcounter{conf@switch}{1}
+ \def\conf@papertitle{Default paper title}
+ \def\conf@paperauthor{Default paper author list}
+ \def\conf@index{}
+ \def\conf@cite{}
+ \def\conf@bookmark{} %\pdfbookmark[2]{Default paper author 1}{p_XXX.author1}}
+ \setkeys{ppaper}{#1}
+ \iffalse\@twoside \addtolength{\conf@xshift}{0cm}
+ \else \addtolength{\conf@xshift}{\proc@binding} \fi
+
+ \if@proc@ReplacePDFs
+ \immediate\write\npagesfile {file #2.pdf has \theconf@npages \space pages}
+ \clearsingleordoublepage
+ \setcounter{conf@firstpage}{\thenpagespreamble+\thepage}
+ \setcounter{conf@lastpage}{\thenpagespreamble+\thepage+%
+ \theconf@npages-1}
+
+ \phantomsection
+ \addcontentsline{toc}{section}{\proctoctitleauthor{\conf@papertitle}%
+ {\conf@paperauthor}}
+ \ifnum\theconf@npages=0
+ \typeout{confproc: Error, you asked for an empty paper}
+ \typeout{confproc: #2.pdf}
+ \fi
+ \ifnum\theconf@npages=1
+ \confemptypapercite{1}{#2.pdf} \conf@bookmark \conf@index{}%
+ \fi
+ \ifnum\theconf@npages=2
+ \confemptypaper{1}{#2.pdf} \conf@bookmark \conf@index{}%
+ \newpage \confemptypapercite{2}{#2.pdf}
+ \fi
+ \ifnum\theconf@npages>2
+ \confemptypaper{1}{#2.pdf} \conf@bookmark \conf@index{}%
+ \setcounter{locnpages}{2}
+ \ifthenelse{\thelocnpages<\theconf@npages}%
+ {\typeout{smaller}}%
+ {\typeout{bigger}}
+ \whiledo{\value{locnpages}<\value{conf@npages}}{%
+ \newpage \confemptypaper{\thelocnpages}{#2.pdf}%
+ \addtocounter{locnpages}{1}}
+ \newpage \confemptypapercite{\theconf@npages}{#2.pdf}
+ \fi
+ \setcounter{conf@lastpage}{\thenpagespreamble+\thepage}
+ \else
+ \setcounter{conf@firstpage}{\thenpagespreamble+\thepage}
+ \conf@index{}%
+ \ifconfproc@showpapernumber
+ \cfoot{\color{\confproc@colorheaders}\vskip \procfootvskip %
+ \vskip \procoptfootvskip \proccfoot\\
+ \color{\confproc@colorheaders}[paper \theconf@switch{}]}{}
+ \fi
+ \ifconfproc@checktitle
+ \renewcommand{\conf@tmptitle}{{\color{blue}%
+ \confstylechecktitle\conf@papertitle}}
+ \else
+ \renewcommand{\conf@tmptitle}{}
+ \fi
+ \ifconfproc@checkauthor
+ \renewcommand{\conf@tmpauthorlist}{{\color{blue}%
+ \confstylecheckauthor\conf@paperauthor}}
+ \else
+ \renewcommand{\conf@tmpauthorlist}{}
+ \fi
+ \renewcommand{\conf@pagecmd}{\conf@tmptitle\\ \conf@tmpauthorlist}
+
+ \if@proc@IncludeFullPDFs % include all pages in order to count!!!
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},pages=1,%
+ linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1, %
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines %
+ \conf@bookmark \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},pages=2-,%
+ linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \else
+ \ifnum\theconf@npages=1 % 1-page paper
+ \if@proc@verbose
+ \typeout{confproc: 1-page long paper}
+ \fi
+ \if@proc@BibNone
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=1,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1, %
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines %
+ \conf@bookmark \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \else
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=1,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1,%
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines %
+ \conf@bookmark \PDFpagestyle\vspace*{-1cm}\confcite{\conf@cite}}%
+ ]{\PAPERPATH #2.pdf}%
+ \fi
+ \else
+ \ifnum\theconf@npages=2 % 2-pages paper
+ \if@proc@verbose\typeout{confproc: 2-page long paper}\fi
+ \if@proc@BibNone
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=1,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1, %
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines \conf@bookmark %
+ \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=2,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \else
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=1,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1, %
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines \conf@bookmark %
+ \PDFpagestyle\vspace*{-1cm}\confcite{\conf@cite}}%
+ ]{\PAPERPATH #2.pdf}%
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=2,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines %
+ \PDFpagestyle\vspace*{-2cm}\confcite{\conf@cite}}%
+ ]{\PAPERPATH #2.pdf}%
+ \fi
+ \else % 3 pages and more
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=1,%
+ linktodoc,linkname=\PAPERPATH #2.pdf,%
+ addtotoc={1, section, 1, %
+ \proctoctitleauthor{\conf@papertitle}{\conf@paperauthor},%
+ \theconf@switch},%
+ pagecommand = {\conf@pagecmd\procmarginlines %
+ \conf@bookmark \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \ifdefined\conf@BibMerge%
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=\theconf@npages,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines %
+ \PDFpagestyle\vspace*{-2cm}\confcite{\conf@cite}}%
+ ]{\PAPERPATH #2.pdf}%
+ \PDFpagestyle{}%
+ \if@proc@verbose\typeout{confproc: bibliography insertion only}\fi
+ \else
+ \addtocounter{conf@npages}{-1}
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=2-\theconf@npages,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \PDFpagestyle{}%
+ \addtocounter{conf@npages}{1}
+ \if@proc@BibNone
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=\theconf@npages,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines \PDFpagestyle}%
+ ]{\PAPERPATH #2.pdf}%
+ \else
+ \includepdf[noautoscale,offset=\conf@xshift{} \conf@yshift{},%
+ pages=\theconf@npages,linktodoc,linkname=\PAPERPATH #2.pdf,%
+ pagecommand = {\procmarginlines %
+ \PDFpagestyle\vspace*{-2cm}\confcite{\conf@cite}}%
+ ]{\PAPERPATH #2.pdf}%
+ \fi
+ \fi
+ \fi
+ \fi
+ \if@proc@verbose
+ \typeout{confproc: partial paper insertion %
+ (last page=bib items)}
+ \fi
+ \fi
+ \setcounter{conf@lastpage}{\thenpagespreamble+\thepage-1}
+ \setcounter{conf@npages}{\theconf@lastpage}
+ \addtocounter{conf@npages}{- \theconf@firstpage}
+ \immediate\write\npagesfile{file #2.pdf has \theconf@npages \space pages}
+ \newpage
+ \ifconfproc@twosidepapers \cleardoublepage
+ \else \clearpage \fi
+ \fi
+ \if@proc@verbose
+ \typeout{______ debug: insert paper ______}
+ \typeout{confproc/file: #2.pdf (\theconf@npages \space pages)}
+ \typeout{confproc/title: \conf@papertitle}
+ \typeout{confproc/authors: \conf@paperauthor}
+ \typeout{confproc/index: \conf@index}
+ \typeout{confproc/shift: (\the\conf@xshift, \the\conf@yshift)}
+ \typeout{confproc/citations: \conf@cite}
+ \typeout{confproc/bookmarks: \conf@bookmark}
+ \typeout{confproc/switch ID: \theconf@switch}
+ \typeout{_______________________}
+ \fi
+ \ifconfproc@pdftk
+%%-- pdftk version: !!! does not work with PDF v > 1.3
+%% \immediate\write\pdftkinfoall{pdftk A=${PDFFILE} cat A\arabic{conf@firstpage}-\arabic{conf@lastpage} output ${SPPATH}/#2.pdf}
+%%-- Ghostscript version: ok with PDF v = 1.4
+ \immediate\write\pdftkinfoall{gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=\arabic{conf@firstpage} -dLastPage=\arabic{conf@lastpage} -sOUTPUTFILE=${SPPATH}/#2.pdf ${PDFFILE}}
+
+%%-- pdftk version: !!! does not work with PDF v > 1.3
+%% \immediate\write\pdftkinfoall{pdftk A=${PDFFILE} cat A\arabic{conf@firstpage}-\arabic{conf@lastpage} output ${SPPATH}/#2.pdf}
+%%-- Ghostscript version: ok with PDF v = 1.4
+ \immediate\openout\pdftkinfofile=\confproc@pdftkfolder/#2.pdftk
+ \immediate\write\pdftkinfofile {InfoKey: Title}
+ \immediate\write\pdftkinfofile {InfoValue: \conf@papertitle}
+ \immediate\write\pdftkinfofile {InfoKey: Author}
+ \immediate\write\pdftkinfofile {InfoValue: \conf@paperauthor}
+ \immediate\write\pdftkinfofile {InfoKey: Subject}
+ \immediate\write\pdftkinfofile {InfoValue: \confproc@pdftksubject}
+ \immediate\write\pdftkinfofile {InfoKey: Producer}
+ \immediate\write\pdftkinfofile {InfoValue: \confproc@pdftkproducer}
+ \immediate\write\pdftkinfofile {InfoKey: Creator}
+ \immediate\write\pdftkinfofile {InfoValue: \confproc@pdftkcreator}
+ \immediate\closeout\pdftkinfofile
+ \ifconfproc@verbose
+ \typeout{________________}
+ \typeout{pdftk A=${PDFFILE} cat A\arabic{conf@firstpage}-\arabic{conf@lastpage} output ${SPPATH}/#2.pdf}
+ \typeout{gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=\arabic{conf@firstpage} -dLastPage=\arabic{conf@lastpage} -sOUTPUTFILE=${SPPATH}/#2.pdf ${PDFFILE}}
+ \typeout{InfoName: #2.info}
+ \typeout{InfoKey: Title}
+ \typeout{InfoValue: \conf@papertitle}
+ \typeout{InfoKey: Author}
+ \typeout{InfoValue: \conf@paperauthor}
+ \typeout{InfoKey: Subject}
+ \typeout{InfoValue: \confproc@pdftksubject}
+ \typeout{InfoKey: Producer}
+ \typeout{InfoValue: \confproc@pdftkproducer}
+ \typeout{InfoKey: Creator}
+ \typeout{InfoValue: \confproc@pdftkcreator}
+ \typeout{InfoEnd}
+ \fi
+ \fi
+ }{}
+}}
+\define@key{ppaper}{xshift}{\setlength{\conf@xshift}{#1}}
+\define@key{ppaper}{yshift}{\setlength{\conf@yshift}{#1}}
+\define@key{ppaper}{npages}{\setcounter{conf@npages}{#1}}
+\define@key{ppaper}{switch}{\setcounter{conf@switch}{#1}}
+\define@key{ppaper}{title}{\def\conf@papertitle{#1}}
+\define@key{ppaper}{author}{\def\conf@paperauthor{#1}}
+\define@key{ppaper}{index}{\def\conf@index{#1}}
+\define@key{ppaper}{cite}{\def\conf@cite{#1}}
+\define@key{ppaper}{bookmark}{\def\conf@bookmark{#1}}
+%%%%% end key-value option management for \procpaper{} command %%%%%
+\newcommand{\procinsertpaper}[9]{%
+ \PackageWarning{confproc}{!!! '\procinsertpaper' cmd is obsolete (v0.5) %
+ and does not preserve PDFs' horizontal and vertical shifts, nor general %
+ bib items. Please use the '\procpaper' command instead.}
+ \procpaper[title={#4},author={#5},npages=#2,index={#6},cite={#7},%
+ bookmark={#9}]{#8}}
\InputIfFileExists{confproc.cfg}
{\typeout{************^^J%
* Local config file confproc.cfg used *^^J%
diff --git a/Master/texmf-dist/doc/latex/confproc/example/confproc.ist b/Master/texmf-dist/doc/latex/confproc/example/confproc1.ist
index 7c862d052b3..317765b6612 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/confproc.ist
+++ b/Master/texmf-dist/doc/latex/confproc/example/confproc1.ist
@@ -1,14 +1,11 @@
%%
-%% This is file `confproc.ist',
-%% generated with the docstrip utility.
-%%
+%% This is file `confproc1.ist', generated with the docstrip utility.
%% The original source files were:
+%% confproc.dtx (with options: `doc')
%%
-%% confproc.dtx (with options: `doc')
-%%
-%% This is `confproc.ist', an index formatting example, for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille
-%% <vincent@music.mcgill.ca>
+%% This is `confproc1.ist', an index formatting example, for the confproc package.
+%% Copyright (C) 2010 by Vincent Verfaille
+%% <[lastname].[packagename]@gmail.com>
%%
%% This file is part of the confproc package.
%% -------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exclasslast.tex b/Master/texmf-dist/doc/latex/confproc/example/confproc2.ist
index 2f195fb6ebe..505b651dce5 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/exclasslast.tex
+++ b/Master/texmf-dist/doc/latex/confproc/example/confproc2.ist
@@ -1,38 +1,39 @@
%%
-%% This is file `exclasslast.tex',
-%% generated with the docstrip utility.
-%%
+%% This is file `confproc2.ist', generated with the docstrip utility.
%% The original source files were:
+%% confproc.dtx (with options: `doc')
+%%
+%% This is `confproc2.ist', an index formatting example, for the confproc package.
+%% Copyright (C) 2010 by Vincent Verfaille
+%% <[lastname].[packagename]@gmail.com>
%%
-%% confproc.dtx (with options: `exclasslast')
-%%
-%% This is `exclasslast.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
-%%
%% 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'.
-%%
+%%
%% For more details, LaTeX the source `confproc.dtx'.
-%%
-\documentclass[a4paper,10pt,twoside,twosidepapers,
- compil=last,headers=exceptpdf,electronic,
- citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl,
- pagecolor=colorforpage]{confproc}
-\endinput
-%%
-%% End of file `exclasslast.tex'.
+%%
+
+%%--add a letter between 2 lists, and horizontal lines + slashes around letters
+heading_prefix "{\\bfseries\\hfil------/\\hfil "
+heading_suffix "\\hfil/------\\hfil}\\nopagebreak\n"
+headings_flag 1
+
+%%-- Add lines with points between name and page numbers
+delim_0 "\\dotfill"
+delim_1 "\\dotfill"
+delim_2 "\\dotfill"
diff --git a/Master/texmf-dist/doc/latex/confproc/example/countnbpages.sh b/Master/texmf-dist/doc/latex/confproc/example/countnbpages.sh
new file mode 100644
index 00000000000..b104be0c39a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/countnbpages.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#-- set path to LaTeX binaries
+LATEXPATH="/usr/texbin/" # TeXLive
+#-- set names of LaTeX and related compilers
+PDFLATEX=$LATEXPATH"pdflatex"
+
+TEXFILE="simple_proceedings" #- set document's name
+PDFSPATH="papers" #- set the papers' folder name
+
+rm -f ${TEXFILE}.npt # count pages from terminal
+cd ${PDFSPATH}
+for file in *.pdf
+do
+ pdfinfo -meta $file | grep "Pages:" > tmp0
+ echo "file $file has `sed 's/.*\([0-9]\).*/\1/' < tmp0` pages" >> ../${TEXFILE}.npt
+done
+rm -f tmp0
+cd ..
+more ${TEXFILE}.npt
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example.pdf b/Master/texmf-dist/doc/latex/confproc/example/example.pdf
deleted file mode 100644
index 508cbb5229d..00000000000
--- a/Master/texmf-dist/doc/latex/confproc/example/example.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example.tex b/Master/texmf-dist/doc/latex/confproc/example/example.tex
deleted file mode 100644
index db358ccd792..00000000000
--- a/Master/texmf-dist/doc/latex/confproc/example/example.tex
+++ /dev/null
@@ -1,170 +0,0 @@
-%%
-%% This is file `example.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% confproc.dtx (with options: `example')
-%%
-%% This is `example.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
-%%
-%% 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'.
-%%
-%% For more details, LaTeX the source `confproc.dtx'.
-%%
-\NeedsTeXFormat{LaTeX2e}[1994/12/01]%
-\ProvidesFile{example.tex}
-\def\DescribesFile#1 [#2 #3 #4 (#5)]
- {\def\filedate{#2}\def\fileversion{#3}}
-\DescribesFile{confproc.cls}
- [2007/10/17 v0.4f: Example for confproc (VV)]
-%%\documentclass[a4paper,10pt,twoside,twosidepapers,%
-%% compil=bibbackref,headers=allpages,movepagenumbers,electronic,%
-%% citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl,%
-%% pagecolor=colorforpage]{confproc}
-\input{exclass}
-\usepackage{setspace}
-\usepackage[utf8]{inputenc}
-\usepackage[T1]{fontenc}
-\usepackage{mathptmx}
-\usepackage[super]{nth}
-\usepackage{layout}
-\usepackage{layouts}
-\usepackage[width=175mm,height=229mm,voffset=-10.22mm,top=36.68mm,%
- headsep=7.05mm,footskip=11.29mm,twoside,left=20.44mm]{geometry}
-%%\headheight 12truept
-\setlength{\LaTeXxShift}{8.45pt}
-\setlength{\LaTeXyShift}{-3pt}
-\setlength{\WordxShift}{10pt}
-\setlength{\WordyShift}{-40pt}
-\definecolor{colorforlink}{rgb}{0,0,0.8}
-%%\definecolor{colorforpage}{rgb}{0,0,0.7}
-\definecolor{colorforcite}{rgb}{0,0.8,0}
-\definecolor{colorforurl}{cmyk}{1,0,0,0}
-\renewcommand{\proclhead}{\em \small Proc.~of the \nth{9} %
-Int.~Conference on Digital Audio Effects (DAFx-06), Montreal, %
-Canada, September 18-20, 2006}
-\renewcommand{\proccfoot}{\small DAFX-\thepage}
-\setlength{\procoptfootskip}{3mm}
-\renewcommand{\procpdfauthor}{Vincent Verfaille, McGill University}
-\renewcommand{\procpdftitle}{DAFx-06 Proceedings}
-\renewcommand{\procpdfsubject}{Proc. 9th Int. Conf. on %
- Digital Audio Effects - Montreal, Quebec, Canada}
-\renewcommand{\bibname}{Full Bibliography}
-\renewcommand{\indexname}{Index of Authors}
-\newcommand{\procbibfile}{\BIBPATH exbiblio}
-\newcommand{\PICTPATH}{pictures/}
-\newcommand{\BIBPATH}{}
-\newcommand{\PAPERPATH}{papers/}
-\newcommand{\TEXTPATH}{}
-\makeindex
-%%%=========== PROCEEDINGS ===========
-\begin{document}
-\frontmatter
-%%\layout
-%%\begin{figure}
-%% \setlayoutscale{0.8} \tocdiagram
-%% \caption{Table of Contents entry parameters} \label{fig:tocp}
-%%\end{figure}
-%%\begin{figure}
-%% \setlayoutscale{0.8} \currenttoc \tocdesign
-%% \caption{Typical Table of Contents entry for this document}
-%% \label{fig:thistoc}
-%%\end{figure}
-%%\clearsingleordoublepage
-\setcounter{page}{1}
-\pdfbookmark[0]{Preamble}{preamble}
-\pdfbookmark[1]{Cover}{cover}
-\author{V. Verfaille, McGill University}
-\title{Proceedings of the \nth{9} International Conference\\
- on Digital Audio Effects\\ Montreal, Quebec, Canada}
-\date{Sept 18--20, 2006}
-\maketitle
-\newpage
-\vspace*{1.7cm}
-\pdfbookmark[1]{Publishing informations}{publishing}
-\thispagestyle{empty}
-\noindent {\bf Published by:}\\ Laboratory Name\\ Department name\\
-School Name\\ University Name\\
-\url{http://www.conferencesite.com}\\
-\vspace*{0.15cm}\newline
-\noindent {\bf ISBN: X-XXXX-XXXXXX}\\
-\vspace*{0.35cm}\newline
-\noindent {\bf Credits:}\\
-Cover design: Firstname Lastname\\
-Logo photo: Firstname Lastname\\
-\LaTeX{} editor: Firstname Lastname\\
-using \LaTeX's `confproc' class (optional: by V. Verfaille)\\
-\vspace*{0.35cm}\newline
-\noindent Printed in City by Print-Company --- Month 20XX
-\otherpagestyle
-%%%-- Welcome letters
-\clearsingleordoublepage
-\vspace*{0.6cm}
-\thisotherpagestyle
-\pdfbookmark[1]{Welcome from Firstname Lastname}{welcome}
-\section*{Welcome from Firstname Lastname, Conference Chair}
-\vspace*{1.1cm}
-\onehalfspace
-\begin{center}
- \begin{minipage}[h]{14cm}
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- Text of the welcome letter, with 1.5 lines spacing, blah blah...
- \end{minipage}
-\end{center}
-\doublespace
-\begin{center}
- \begin{minipage}[h]{14cm}
- Text of the welcome letter, with 2 lines spacing, blah blah...
- Text of the welcome letter, with 2 lines spacing, blah blah...
- Text of the welcome letter, with 2 lines spacing, blah blah...
- Text of the welcome letter, with 2 lines spacing, blah blah...
- Text of the welcome letter, with 2 lines spacing, blah blah...
- Text of the welcome letter, with 2 lines spacing, blah blah...
- \end{minipage}
-\end{center}
-\singlespace
-\tableofcontents
-%%%==== BEGINNING OF PAPERS ====
-\mainmatter
-\input{\TEXTPATH expapersswitch}
-\procday{Day 1}
- \session{Oral Session 1}
- \paperid{45}{p_001}
- \paperid{21}{p_003}
- \session{Poster Session 1}
- \paperid{33}{p_005}
-\procday{Day 2}
- \session{Oral Session 2}
- \paperid{75}{p_007}
- \paperid{27}{p_009}
-%%%==== END OF PAPERS ====
-\backmatter
-\bibliographystyle{newapave}
-{\footnotesize\bibliography{\procbibfile}}
-\insertindex
-\end{document}
-\endinput
-%%
-%% End of file `example.tex'.
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example1empty.pdf b/Master/texmf-dist/doc/latex/confproc/example/example1empty.pdf
new file mode 100644
index 00000000000..1aac848bc6c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example1empty.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example1empty.tex b/Master/texmf-dist/doc/latex/confproc/example/example1empty.tex
new file mode 100644
index 00000000000..9df69175052
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example1empty.tex
@@ -0,0 +1,113 @@
+%%
+%% This is file `example1empty.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% confproc.dtx (with options: `example1empty')
+%%
+%% This is `example1empty.tex', an example file for the confproc package.
+%% Copyright (c) 2010 by Vincent Verfaille <verf[...].confproc@gmail.com>
+%%
+%% 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 `readme.txt' file.
+%%
+%% For more details, LaTeX the source `confproc.dtx'.
+%%
+\documentclass[letterpaper,10pt,twoside,%
+ electronic,% [printed] | electronic
+ papers=countpages,% empty | draft | [final] | countpages
+ paperselec=all, %[all] | p_001 | p_fake
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ linkcolor=blue,urlcolor=blue},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{mathptmx}
+\usepackage[super]{nth}
+
+\renewcommand{\procpdfauthor}{{\color{red}[Proceedings editor], [University]}}
+\renewcommand{\procpdftitle}{{\color{red}[Acronym] Proceedings}}
+\renewcommand{\procpdfsubject}{{\color{red}Proc. of the Xth International Conference %
+ on [Nice Topic] ([Acronym]), [City], [Country], [Dates]}}
+
+\renewcommand{\procchead}{} %
+\renewcommand{\proclhead}{{\em \small \procpdfsubject}}
+
+\author{\procpdfauthor}
+\title{\procpdftitle}
+\date{\today}
+\renewcommand{\PAPERPATH}{papers/}
+\makeindex
+
+%%%=========== PROCEEDINGS ===========
+\begin{document}
+\frontmatter
+\setcounter{page}{1}
+\pdfbookmark[0]{Preamble}{preamble}
+\pdfbookmark[1]{Cover}{cover}
+\maketitle
+\newpage
+
+\otherpagestyle
+\tableofcontents
+
+%%%==== BEGINNING OF PAPERS ====
+\mainmatter
+
+\procday{Day 1}
+ \session{Oral Session 1}
+ \procpaper[switch=45,%
+ title={Templates for One Author},%
+ author={Alfred Alabama},%
+ index={\index{Alabama, Alfred}},%
+ ]{p_001}
+ \procpaper[switch=21,%
+ title={Templates for One Author with Two Affiliations},%
+ author={Bob Boogie-Woogie},%
+ index={\index{Boogie-Woogie, Bob}},%
+ ]{p_003}
+ \session{Poster Session 1}
+ \procpaper[switch=33,%
+ title = {Templates for Two Authors},%
+ author={Alfred Alabama, Chris Christmas},%
+ index={\index{Alabama, Alfred}\index{Christmas, Chris}},%
+ ]{p_005}
+
+\procday{Day 2}
+ \session{Oral Session 2}
+ \procpaper[switch=75,%
+ title={Templates for Three Authors},%
+ author={Bob Boogie-Woogie, Chris Christmas, Don Didon},%
+ index={\index{Boogie-Woogie, Bob}\index{Christmas, Chris}%
+ \index{Didon, Don}},%
+ ]{p_007}
+ \procpaper[switch=27,%
+ title={Templates f\'or F\`o\"ur Àuthors},%
+ author={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={\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.}},
+ ]{p_009}
+
+%%%==== END OF PAPERS ====
+\backmatter
+\insertindex
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example2custom.pdf b/Master/texmf-dist/doc/latex/confproc/example/example2custom.pdf
new file mode 100644
index 00000000000..c09d42aef25
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example2custom.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example2custom.tex b/Master/texmf-dist/doc/latex/confproc/example/example2custom.tex
new file mode 100644
index 00000000000..b4249f018dc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example2custom.tex
@@ -0,0 +1,158 @@
+%%
+%% This is file `example2custom.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% confproc.dtx (with options: `example2custom')
+%%
+%% This is `example2custom.tex', an example file for the confproc package.
+%% Copyright (c) 2010 by Vincent Verfaille <verf[...].confproc@gmail.com>
+%%
+%% 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 `readme.txt' file.
+%%
+%% For more details, LaTeX the source `confproc.dtx'.
+%%
+\documentclass[letterpaper,10pt,twoside,%
+ electronic,% [printed] | electronic
+ papers=final,% empty | draft | [final] | countpages
+ headers=exceptpdf,% none | pdfonly | exceptpdf | [allpages]
+ paperselec=all, %[all] | p_001 | p_fake
+ colorheaders=red,%
+ verbose,%
+ pdftk,%
+ pdftkfolder={pdftk_info/},%
+ pdftksubject={DAFx-06 Conference},%
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
+
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{mathptmx}
+\usepackage[super]{nth}
+
+\setlength{\LaTeXxShift}{0pt}
+\setlength{\LaTeXyShift}{-3mm} %letter
+\setlength{\WordxShift}{10pt}
+\setlength{\WordyShift}{-40pt}
+
+\definecolor{colorforlink}{rgb}{0,0,0.8}
+\definecolor{colorforcite}{rgb}{0,0.8,0}
+\definecolor{colorforurl}{rgb}{0,0,1}
+
+\newcommand{\DAFxname}{Proc.~of the \nth{9} %
+ Int.~Conference on Digital Audio Effects (DAFx-06)}
+\newcommand{\DAFxdate}{September 18-20, 2006}
+\newcommand{\DAFxaddress}{Montreal, Canada}
+
+\renewcommand{\procpdfauthor}{Vincent Verfaille, McGill University}
+\renewcommand{\procpdftitle}{DAFx-06 Proceedings - \DAFxaddress}
+\renewcommand{\procpdfsubject}{Conference proceedings}
+
+\renewcommand{\procchead}{}%
+%%\renewcommand{\proclhead}{{\em \small \procpdfsubject}}
+\renewcommand{\proclhead}{{\em \small \DAFxname, \DAFxaddress, \DAFxdate}}
+\renewcommand{\proccfoot}{\small DAFX-\thepage}
+\setlength{\procfootvskip}{1.2mm}
+%%\setlength{\procoptfootvskip}{4mm}
+
+%%\author{Vincent Verfaille, McGill University}
+%%\title{Proc. of the \nth{9} Int. Conf. on Digital Audio Effects\\
+%% Montreal, Quebec, Canada}
+%%\date{Sept.~18--20, 2006}
+\author{\procpdfauthor}
+%%\title{\procpdftitle}
+\title{\DAFxname\\ \DAFxaddress}
+%%\date{\today}
+\date{\DAFxdate}
+%%\includepdf[noautoscale,pages=1,link]{\PICTPATH ex_1stpage.pdf}
+
+%%\renewcommand{\contentsname}{List of Sessions}
+%%\renewcommand{\bibname}{General Bibliography}
+%%\renewcommand{\indexname}{List of Authors}
+\renewcommand{\PAPERPATH}{papers/}
+%%\renewcommand{\papertitlestyle}{\texorpdfstring{}{\scshape}}
+%%\renewcommand{\paperauthorstyle}{\texorpdfstring{, }{\break}}
+\renewcommand{\confstylechecktitle}{\vspace*{0.3cm} %
+ \bf \sc \Large \noindent \centerline}
+\renewcommand{\confstylecheckauthor}{\large \it \noindent \centerline}
+\makeindex
+
+%%%=========== PROCEEDINGS ===========
+\begin{document}
+
+\frontmatter
+\frontmattertocstyle
+\setcounter{page}{1}
+\pdfbookmark[0]{Preamble}{preamble}
+\pdfbookmark[1]{Cover}{cover}
+\maketitle
+\newpage
+
+\otherpagestyle
+\tableofcontents
+
+%%%==== BEGINNING OF PAPERS ====
+\setcounter{npagespreamble}{\arabic{page}-1} % only useful for the 'pdftk' option
+\mainmatter
+\mainmattertocstyle
+\procday{Day 1}
+ \session{Oral Session 1}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, switch=45, npages=6,%
+ title={Templates for One Author},%
+ author={Alfred Alabama},%
+ index={\index{Alabama, Alfred}},%
+ ]{p_001}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, switch=21, npages=5,%
+ title={Templates for One Author with Two Affiliations},%
+ author={Bob Boogie-Woogie},%
+ index={\index{Boogie-Woogie, Bob}},%
+ ]{p_003}
+
+\session{Poster Session 1}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, switch=33, npages=4,%
+ title = {Templates for Two Authors},%
+ author={Alfred Alabama, Chris Christmas},%
+ index={\index{Alabama, Alfred}\index{Christmas, Chris}},%
+ ]{p_005}
+
+\procday{Day 2}
+\session{Oral Session 2}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, switch=75, npages=6,%
+ title={Templates for Three Authors},%
+ author={Bob Boogie-Woogie, Chris Christmas, Don Didon},%
+ index={\index{Boogie-Woogie, Bob}\index{Christmas, Chris}%
+ \index{Didon, Don}},%
+ ]{p_007}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, switch=27, npages=7,%
+ title={Templates f\'or F\`o\"ur Àuthors},%
+ author={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={\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.}},
+ ]{p_009}
+
+%%%==== END OF PAPERS ====
+\backmatter
+\backmattertocstyle
+\insertindex
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example3optim.pdf b/Master/texmf-dist/doc/latex/confproc/example/example3optim.pdf
new file mode 100644
index 00000000000..590e3a8604a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example3optim.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example3optim.tex b/Master/texmf-dist/doc/latex/confproc/example/example3optim.tex
new file mode 100644
index 00000000000..720f3e8c9a9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example3optim.tex
@@ -0,0 +1,237 @@
+%%
+%% This is file `example3optim.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% confproc.dtx (with options: `example3optim')
+%%
+%% This is `example3optim.tex', an example file for the confproc package.
+%% Copyright (c) 2010 by Vincent Verfaille <verf[...].confproc@gmail.com>
+%%
+%% 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 `readme.txt' file.
+%%
+%% For more details, LaTeX the source `confproc.dtx'.
+%%
+\documentclass[letterpaper,% [letterpaper] | a4paper
+ 10pt,% [10pt] | 11pt | 12pt
+ twoside,% [twoside] | oneside
+ twosidepapers,% [twosidepapers] | onesidepapers
+ electronic,% [electronic] | printed
+ binding=0mm,% [0mm]
+ papers=final,% empty | draft | [final]
+ headers=exceptpdf,% none | pdfonly | exceptpdf | [allpages]
+ bib=backref,% [none] | merge | backref | final
+ paperselec=all,% [all] | p_001 | paper_2 | 3 ...
+ onecoltoc,% [onecoltoc] | twocoltoc
+ tocnum=left,% [left] | right
+ twocolbib,% [twocolbib] | onecolbib
+ threecolindex,% [threecolindex] | twocolindex
+ checktitle=false,% true | [false]
+ checkauthor=false,% true | [false]
+ showpapernumber=false,% true | [false]
+ movepagenumber=false,% true | [false]
+ showmarginlines=false,% true | [false]
+ colorheaders=black,% [black] | red | any color!
+ debug=false,% true | [false]
+ verbose=false,% true | [false]
+ pdftk=true,% true | [false]
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ linkcolor=colorforlink,urlcolor=colorforurl}, % [blue, blue, blue]
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+ ]{confproc}
+%%% inner=0.69in,top=33.9mm,bottom=38mm,footskip=10.4mm,voffset=-4.8mm},%A4
+%%\input{exclass}
+\usepackage{setspace}
+\usepackage{xkeyval}
+\usepackage{newapave}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{mathptmx}
+\usepackage[super]{nth}
+
+\setlength{\LaTeXxShift}{0pt}
+\setlength{\LaTeXyShift}{-3mm} %letter
+\setlength{\WordxShift}{10pt}
+\setlength{\WordyShift}{-40pt}
+
+\definecolor{colorforlink}{rgb}{0,0,0.8}
+\definecolor{colorforcite}{rgb}{0,0.8,0}
+\definecolor{colorforurl}{rgb}{0,0,1}
+
+\newcommand{\DAFxname}{Proc.~of the \nth{9} %
+ Int.~Conference on Digital Audio Effects (DAFx-06)}
+\newcommand{\DAFxdate}{September 18-20, 2006}
+\newcommand{\DAFxaddress}{Montreal, Canada}
+
+\renewcommand{\procpdfauthor}{Vincent Verfaille, McGill University}
+\renewcommand{\procpdftitle}{DAFx-06 Proceedings - \DAFxaddress}
+\renewcommand{\procpdfsubject}{Conference proceedings}
+
+\renewcommand{\procchead}{} %
+\renewcommand{\proclhead}{{\em \small \DAFxname, \DAFxaddress, \DAFxdate}}
+\renewcommand{\proccfoot}{{\small DAFX-\thepage}}
+\setlength{\procfootvskip}{1.2mm}
+\setlength{\procoptfootvskip}{4mm}
+
+\author{\procpdfauthor}
+\title{\DAFxname\\ \DAFxaddress}
+\date{\DAFxdate}
+
+\renewcommand{\contentsname}{Day-by-Day Conference Program}
+\renewcommand{\bibname}{General Bibliography}
+\renewcommand{\indexname}{List of Authors}
+\renewcommand{\PAPERPATH}{papers/}
+\newcommand{\PICTPATH}{pictures/}
+ \newcommand{\TEXTPATH}{}
+ \newcommand{\BIBPATH}{}
+\newcommand{\procbibfile}{\BIBPATH exbiblio}
+\newcommand{\myaddhruletotoc}{\vspace*{0.1cm}%
+ \noindent\protect\hrulefill\par\vspace*{-0.15cm}}
+\newcommand{\myaddthickhruletotoc}{\vspace*{0.5cm}%
+ \noindent\protect\hrule height 0.6ex \hfill\par\vspace*{0.1cm}}
+\renewcommand{\procday}[1]{%
+ \phantomsection%
+ \addcontentsline{toc}{part}{#1}} % \centerline{#1}
+\renewcommand{\session}[1]{%
+ \phantomsection%
+ \addcontentsline{toc}{chapter}{#1}}
+%% idem for left/right numbering
+\renewcommand{\mainmattertocstyle}{
+ \titlecontents{part}[0pt]%
+ {\addvspace{3mm}}%
+ {\myaddthickhruletotoc\Large\bfseries}%
+ {\myaddthickhruletotoc\Large\bfseries}%
+ {}%
+ [\addvspace{0.5mm}]%
+ \titlecontents{chapter}[0pt]%
+ {\addvspace{2mm}}%
+ {\myaddhruletotoc\large\bfseries\itshape}%
+ {\myaddhruletotoc\large\bfseries\itshape}%
+ {}%
+ [\addvspace{0.5mm}]%
+}
+%%\renewcommand{\papertitlestyle}{}
+\renewcommand{\papertitlestyle}{\texorpdfstring{}{\scshape}}
+%%\renewcommand{\paperauthorstyle}{\texorpdfstring{\newline\itshape}{\break}}
+\renewcommand{\paperauthorstyle}{\texorpdfstring{, \hfill}{\break}}
+\renewcommand{\proctoctitleauthor}[2]{%
+ \texorpdfstring{{\paperauthorstyle #2}{\papertitlestyle #1}}%
+ {{\papertitlestyle #1}}}
+\renewcommand{\paperauthorstyle}{\texorpdfstring{\itshape}{}}
+\renewcommand{\papertitlestyle}{\texorpdfstring{\newline}{\break}}
+\renewcommand{\confstylechecktitle}{\vspace*{0.3cm} %
+ \bf \sc \Large \noindent \centerline}
+\renewcommand{\confstylecheckauthor}{\large \it \noindent \centerline}
+\makeindex
+
+%%%=========== PROCEEDINGS ===========
+\begin{document}
+
+\frontmatter
+%%\layout
+%%\begin{figure}
+%% \setlayoutscale{0.8} \tocdiagram
+%% \caption{Table of Contents entry parameters} \label{fig:tocp}
+%%\end{figure}
+%%\begin{figure}
+%% \setlayoutscale{0.8} \currenttoc \tocdesign
+%% \caption{Typical Table of Contents entry for this document}
+%% \label{fig:thistoc}
+%%\end{figure}
+%%\clearsingleordoublepage
+\setcounter{page}{1}
+\pdfbookmark[0]{Preamble}{preamble}
+\pdfbookmark[1]{Cover}{cover}
+\maketitle
+%%\includepdf[noautoscale,pages=1,link]{\PICTPATH ex_1stpage.pdf}
+\addtocontents{toc}{\vskip 1cm}
+\addtocontents{toc}{\centerline{\huge\textsc{Conference Program}}}
+\renewcommand{\contentsname}{\texorpdfstring{}{Conference Program}}
+\newpage
+\vspace*{1.7cm}
+\pdfbookmark[1]{Publishing informations}{publishing}
+\thispagestyle{empty}
+\noindent {\bf Published by:}\\ Laboratory Name\\ Department name\\
+School Name\\ University Name\\
+\url{http://www.conferencesite.com}\\
+\vspace*{0.15cm}\newline
+\noindent {\bf ISBN: X-XXXX-XXXXXX}\\
+\vspace*{0.35cm}\newline
+\noindent {\bf Credits:}\\
+Cover design: Firstname Lastname\\
+Logo photo: Firstname Lastname\\
+\LaTeX{} editor: Firstname Lastname\\
+using \LaTeX's `confproc' package, version 0.7 (optional: by V. Verfaille)\\
+\vspace*{0.35cm}\newline
+\noindent Printed in City by Print-Company --- Month Year
+\otherpagestyle
+%%%-- Welcome letters
+\clearsingleordoublepage
+\vspace*{0.6cm}
+\thisotherpagestyle
+\pdfbookmark[1]{Welcome from Firstname Lastname}{welcome}
+\section*{Welcome from Firstname Lastname, Conference Chair}
+\vspace*{1.1cm}
+\onehalfspace
+\begin{center}
+ \begin{minipage}[h]{14cm}
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ \end{minipage}
+\end{center}
+\doublespace
+\begin{center}
+ \begin{minipage}[h]{14cm}
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ \end{minipage}
+\end{center}
+\singlespace
+\tableofcontents
+
+%%%==== BEGINNING OF PAPERS ====
+\setcounter{npagespreamble}{\arabic{page}-1} % only useful for the 'pdftk' option
+\mainmatter
+\mainmattertocstyle
+\input{\TEXTPATH expapersswitch}
+\procday{Day 1}
+ \session{Oral Session 1}
+ \paperid{45}{p_001}
+ \paperid{21}{p_003}
+ \session{Poster Session 1}
+ \paperid{33}{p_005}
+\procday{Day 2}
+ \session{Oral Session 2}
+ \paperid{75}{p_007}
+ \paperid{27}{p_009}
+
+%%%==== END OF PAPERS ====
+\backmatter
+\backmattertocstyle
+\bibliographystyle{newapave}
+%%\bibliographystyle{newapa}
+{\footnotesize\bibliography{\procbibfile}}
+\insertindex
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/example4optim.tex b/Master/texmf-dist/doc/latex/confproc/example/example4optim.tex
new file mode 100644
index 00000000000..c64536390f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/example4optim.tex
@@ -0,0 +1,191 @@
+\usepackage{setspace}
+\usepackage{xkeyval}
+\usepackage{newapave}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{mathptmx}
+\usepackage[super]{nth}
+
+\setlength{\LaTeXxShift}{0pt}
+\setlength{\LaTeXyShift}{-3mm} %letter
+\setlength{\WordxShift}{10pt}
+\setlength{\WordyShift}{-40pt}
+
+\definecolor{colorforlink}{rgb}{0,0,0.8}
+\definecolor{colorforcite}{rgb}{0,0.8,0}
+\definecolor{colorforurl}{rgb}{0,0,1}
+
+\newcommand{\DAFxname}{Proc.~of the \nth{9} %
+ Int.~Conference on Digital Audio Effects (DAFx-06)}
+\newcommand{\DAFxdate}{September 18-20, 2006}
+\newcommand{\DAFxaddress}{Montreal, Canada}
+
+\renewcommand{\procpdfauthor}{Vincent Verfaille, McGill University}
+\renewcommand{\procpdftitle}{DAFx-06 Proceedings - \DAFxaddress}
+\renewcommand{\procpdfsubject}{Conference proceedings}
+
+\renewcommand{\procchead}{} %
+\renewcommand{\proclhead}{{\em \small \DAFxname, \DAFxaddress, \DAFxdate}}
+\renewcommand{\proccfoot}{{\small DAFX-\thepage}}
+\setlength{\procfootvskip}{1.2mm}
+\setlength{\procoptfootvskip}{4mm}
+
+\author{\procpdfauthor}
+\title{\DAFxname\\ \DAFxaddress}
+\date{\DAFxdate}
+
+\renewcommand{\contentsname}{Day-by-Day Conference Program}
+\renewcommand{\bibname}{General Bibliography}
+\renewcommand{\indexname}{List of Authors}
+\renewcommand{\PAPERPATH}{papers/}
+\newcommand{\PICTPATH}{pictures/}
+ \newcommand{\TEXTPATH}{}
+ \newcommand{\BIBPATH}{}
+\newcommand{\procbibfile}{\BIBPATH exbiblio}
+\newcommand{\myaddhruletotoc}{\vspace*{0.1cm}%
+ \noindent\protect\hrulefill\par\vspace*{-0.15cm}}
+\newcommand{\myaddthickhruletotoc}{\vspace*{0.5cm}%
+ \noindent\protect\hrule height 0.6ex \hfill\par\vspace*{0.1cm}}
+\renewcommand{\procday}[1]{%
+ \phantomsection%
+ \addcontentsline{toc}{part}{#1}} % \centerline{#1}
+\renewcommand{\session}[1]{%
+ \phantomsection%
+ \addcontentsline{toc}{chapter}{#1}}
+ \renewcommand{\mainmattertocstyle}{
+ \titlecontents{section}[2.5em]%
+ {\vspace*{0.25em}}%
+ {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}%
+ {\hspace*{-2.5em}\contentspage\hspace*{2.5em}}%
+ {}%
+ \titlecontents{chapter}[0pt]%
+ {\addvspace{0.5pc}\bfseries\itshape}%
+ {\myaddhruletotoc\contentsmargin{0pt}\bfseries %
+ \makebox[0pt][r]{\huge\contentspage\enspace}\large}%
+ {\myaddhruletotoc\contentsmargin{0pt}\large}%
+ {}[\addvspace{.3pc}]%
+ \titlecontents{part}[0pt]%
+ {\addvspace{0.5pc}\bfseries}%
+ {\myaddthickhruletotoc\contentsmargin{0pt}\bfseries %
+ \makebox[0pt][r]{\huge\contentspage\enspace}\large}%
+ {\myaddthickhruletotoc\contentsmargin{0pt}\large}%
+ {}[\addvspace{.3pc}]%
+}
+ \renewcommand{\backmattertocstyle}{%
+ \titlecontents{section}[]{}{}{}{}[]%
+ \titlecontents{part}%
+ [0pt]%
+ {\addvspace{2pc}}%
+ {\contentspage\hspace*{2.5em}\vspace*{-8mm}\contentsmargin{0pt}%
+ \bfseries\makebox[0pt][r]{\huge\contentspage\enspace}\large\bfseries}%
+ {\contentspage\hspace*{2.5em}\vspace*{-8mm}\contentsmargin{0pt}\large\bfseries}%
+ {}%
+ [\addvspace{.5pc}]%
+}%
+%%\renewcommand{\papertitlestyle}{}
+\renewcommand{\papertitlestyle}{\texorpdfstring{}{\scshape}}
+%%\renewcommand{\paperauthorstyle}{\texorpdfstring{\newline\itshape}{\break}}
+\renewcommand{\paperauthorstyle}{\texorpdfstring{, \hfill}{\break}}
+\renewcommand{\proctoctitleauthor}[2]{%
+ \texorpdfstring{{\paperauthorstyle #2}{\papertitlestyle #1}}{{\papertitlestyle #1}}}
+\renewcommand{\paperauthorstyle}{\texorpdfstring{\itshape}{}}
+\renewcommand{\papertitlestyle}{\texorpdfstring{\newline}{\break}}
+\renewcommand{\confstylechecktitle}{\vspace*{0.3cm} %
+ \bf \sc \Large \noindent \centerline}
+\renewcommand{\confstylecheckauthor}{\large \it \noindent \centerline}
+\makeindex
+
+%%%=========== PROCEEDINGS ===========
+\begin{document}
+
+\frontmatter
+\frontmattertocstyle
+%%\layout
+%%\begin{figure}
+%% \setlayoutscale{0.8} \tocdiagram
+%% \caption{Table of Contents entry parameters} \label{fig:tocp}
+%%\end{figure}
+%%\begin{figure}
+%% \setlayoutscale{0.8} \currenttoc \tocdesign
+%% \caption{Typical Table of Contents entry for this document}
+%% \label{fig:thistoc}
+%%\end{figure}
+%%\clearsingleordoublepage
+\setcounter{page}{1}
+\pdfbookmark[0]{Preamble}{preamble}
+\pdfbookmark[1]{Cover}{cover}
+\maketitle
+%%\includepdf[noautoscale,pages=1,link]{\PICTPATH ex_1stpage.pdf}
+\addtocontents{toc}{\vskip 1cm}
+\addtocontents{toc}{\centerline{\huge\textsc{Conference Program}}}
+\renewcommand{\contentsname}{\texorpdfstring{}{Conference Program}}
+\newpage
+\vspace*{1.7cm}
+\pdfbookmark[1]{Publishing informations}{publishing}
+\thispagestyle{empty}
+\noindent {\bf Published by:}\\ Laboratory Name\\ Department name\\
+School Name\\ University Name\\
+\url{http://www.conferencesite.com}\\
+\vspace*{0.15cm}\newline
+\noindent {\bf ISBN: X-XXXX-XXXXXX}\\
+\vspace*{0.35cm}\newline
+\noindent {\bf Credits:}\\
+Cover design: Firstname Lastname\\
+Logo photo: Firstname Lastname\\
+\LaTeX{} editor: Firstname Lastname\\
+using \LaTeX's `confproc' package, version 0.7 (optional: by V. Verfaille)\\
+\vspace*{0.35cm}\newline
+\noindent Printed in City by Print-Company --- Month Year
+\otherpagestyle
+%%%-- Welcome letters
+\clearsingleordoublepage
+\vspace*{0.6cm}
+\thisotherpagestyle
+\pdfbookmark[1]{Welcome from Firstname Lastname}{welcome}
+\section*{Welcome from Firstname Lastname, Conference Chair}
+\vspace*{1.1cm}
+\onehalfspace
+\begin{center}
+ \begin{minipage}[h]{14cm}
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ Text of the welcome letter, with 1.5 lines spacing, blah blah...
+ \end{minipage}
+\end{center}
+\doublespace
+\begin{center}
+ \begin{minipage}[h]{14cm}
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ Text of the welcome letter, with 2 lines spacing, blah blah...
+ \end{minipage}
+\end{center}
+\singlespace
+\tableofcontents
+
+%%%==== BEGINNING OF PAPERS ====
+\setcounter{npagespreamble}{\arabic{page}-1} % only useful for the 'pdftk' option
+\mainmatter
+\mainmattertocstyle
+\input{\TEXTPATH expapersswitch}
+\procday{Day 1}
+ \session{Oral Session 1}
+ \paperid{45}{p_001}
+ \paperid{21}{p_003}
+ \session{Poster Session 1}
+ \paperid{33}{p_005}
+\procday{Day 2}
+ \session{Oral Session 2}
+ \paperid{75}{p_007}
+ \paperid{27}{p_009}
+
+%%%==== END OF PAPERS ====
+\backmatter
+\backmattertocstyle
+\bibliographystyle{newapave}
+%%\bibliographystyle{newapa}
+{\footnotesize\bibliography{\procbibfile}}
+\insertindex
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exclass.tex b/Master/texmf-dist/doc/latex/confproc/example/exclass.tex
index 2f195fb6ebe..4e30c8b4ba4 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/exclass.tex
+++ b/Master/texmf-dist/doc/latex/confproc/example/exclass.tex
@@ -1,38 +1,17 @@
-%%
-%% This is file `exclasslast.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% confproc.dtx (with options: `exclasslast')
-%%
-%% This is `exclasslast.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
-%%
-%% 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'.
-%%
-%% For more details, LaTeX the source `confproc.dtx'.
-%%
-\documentclass[a4paper,10pt,twoside,twosidepapers,
- compil=last,headers=exceptpdf,electronic,
- citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl,
- pagecolor=colorforpage]{confproc}
-\endinput
-%%
-%% End of file `exclasslast.tex'.
+\documentclass[letterpaper,10pt,twoside,twosidepapers,%
+ electronic,% [printed] | electronic
+ papers=countpages,% empty | draft | [final] | countpages
+ headers=allpages,% none | pdfonly | exceptpdf | [allpages]
+ paperselec=all, %[all] | p_001 | p_fake
+ bib=backref,%
+ colorheaders=red,%
+ verbose,%
+ pdftk,%
+ pdftkfolder={pdftk_info/},%
+ pdftksubject={DAFx-06 Conference},%
+ movepagenumber,%
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exclasslastel.tex b/Master/texmf-dist/doc/latex/confproc/example/exclasslastel.tex
new file mode 100644
index 00000000000..37f3e753482
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/exclasslastel.tex
@@ -0,0 +1,15 @@
+\documentclass[letterpaper,10pt,twoside,twosidepapers,%
+ electronic,% [printed] | electronic
+ papers=final,% empty | draft | [final] | countpages
+ headers=exceptpdf,% none | pdfonly | exceptpdf | [allpages]
+ paperselec=all, %[all] | p_001 | p_fake
+ bib=last,%
+ pdftk,%
+ pdftkfolder={pdftk_info/},%
+ pdftksubject={DAFx-06 Conference},%
+ binding=0mm,% [0mm] -> no binding for electronic version
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.0in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exclasslastpb.tex b/Master/texmf-dist/doc/latex/confproc/example/exclasslastpb.tex
new file mode 100644
index 00000000000..b1e344e979a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/exclasslastpb.tex
@@ -0,0 +1,15 @@
+\documentclass[letterpaper,10pt,twoside,twosidepapers,%
+ printed,% [printed] | electronic
+ papers=final,% empty | draft | [final] | countpages
+ headers=exceptpdf,% none | pdfonly | exceptpdf | [allpages]
+ paperselec=all, %[all] | p_001 | p_fake
+ bib=last,%
+ pdftk,%
+ pdftkfolder={pdftk_info/},%
+ pdftksubject={DAFx-06 Conference},%
+ binding=5mm,% [0mm] -> adjust the binding depending on the proceedings thickness
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exclasspre.tex b/Master/texmf-dist/doc/latex/confproc/example/exclasspre.tex
index 3c30b043049..4e30c8b4ba4 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/exclasspre.tex
+++ b/Master/texmf-dist/doc/latex/confproc/example/exclasspre.tex
@@ -1,38 +1,17 @@
-%%
-%% This is file `exclasspre.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% confproc.dtx (with options: `exclasspre')
-%%
-%% This is `exclasspre.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
-%%
-%% 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'.
-%%
-%% For more details, LaTeX the source `confproc.dtx'.
-%%
-\documentclass[a4paper,10pt,twoside,twosidepapers,
- compil=bibbackref,headers=allpages,movepagenumbers,electronic,
- citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl,
- pagecolor=colorforpage]{confproc}
-\endinput
-%%
-%% End of file `exclasspre.tex'.
+\documentclass[letterpaper,10pt,twoside,twosidepapers,%
+ electronic,% [printed] | electronic
+ papers=countpages,% empty | draft | [final] | countpages
+ headers=allpages,% none | pdfonly | exceptpdf | [allpages]
+ paperselec=all, %[all] | p_001 | p_fake
+ bib=backref,%
+ colorheaders=red,%
+ verbose,%
+ pdftk,%
+ pdftkfolder={pdftk_info/},%
+ pdftksubject={DAFx-06 Conference},%
+ movepagenumber,%
+ hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
+ citecolor=colorforcite,linkcolor=colorforlink,urlcolor=colorforurl},%
+ geometry={text={175truemm,226truemm},% A4 & letter
+ inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
+]{confproc}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/expapersswitch.tex b/Master/texmf-dist/doc/latex/confproc/example/expapersswitch.tex
index 2e1ac9bd5a0..8a6d6687321 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/expapersswitch.tex
+++ b/Master/texmf-dist/doc/latex/confproc/example/expapersswitch.tex
@@ -1,98 +1,60 @@
-%%
-%% This is file `expapersswitch.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% confproc.dtx (with options: `expapersswitch')
-%%
-%% This is `expapersswitch.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
-%%
-%% 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'.
-%%
-%% For more details, LaTeX the source `confproc.dtx'.
-%%
\newcommand{\paperid}[2]{
+
\renewcommand{\paperswitch}{#1}
-\ifnum\paperswitch=45 {
- \renewcommand{\papertitle}{Templates for One Author}
- \renewcommand{\paperauthors}{Alfred Alabama}
- \renewcommand{\paperindex}{\index{Alabama, Alfred}}
- \renewcommand{\paperref}{\paperswitch}
- \renewcommand{\paperpagenum}{6}
- \renewcommand{\papercite}{Serra:1996:sms,%
- Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,%
- Mitra:Kaiser:1993:DSP:handbook}
- \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{\paperpagenum}%
- {\paperref}{\papertitle}{\paperauthors}{\paperindex}{\papercite}%
- {#2}{\pdfbookmark[2]{Alfred Alabama}{#2.author1}}}
+
+%======= PAPER ID = 45 =======
+\ifnum\paperswitch=45
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=6, switch=\paperswitch,%
+ title={Templates for One Author},% paper title
+ author={Alfred Alabama},% list of authors
+ index={\index{Alabama, Alfred}},% authors index entries
+ cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Mitra:Kaiser:1993:DSP:handbook},% cited bib items
+ bookmark={\pdfbookmark[2]{Alfred Alabama}{#2.Alfred Alabama}}% for PDF bookmark structure
+ ]{#2}
\fi
+
+%======= 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
- {Serra:1996:sms,Moorer:2000:AES:audio:millenium,%
- Arfib:1998:DAFx,Haykin:1991:adaptive:filter}%
- {#2}{\pdfbookmark[2]{Bob Boogie-Woogie}{#2.author1}}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=5, switch=\paperswitch,%
+ title={Templates for One Author with Two Affiliations},% paper title
+ author={Bob Boogie-Woogie},% list of authors
+ index={\index{Boogie-Woogie, Bob}},% authors index entries
+ cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Haykin:1991:adaptive:filter},% cited bib items
+ bookmark={\pdfbookmark[2]{Bob Boogie-Woogie}{#2.Bob Boogie-Woogie}}% for PDF bookmark structure
+ ]{#2}
\fi
-
-\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}%
- {#2}{\pdfbookmark[2]{Alfred Alabama}{#2.author1}%
- \pdfbookmark[2]{Chris Christmas}{#2.author2}}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=4, switch=\paperswitch,%
+ title={Templates for Two Authors},% paper title
+ author={Alfred Alabama, Chris Christmas},% list of authors
+ index={\index{Alabama, Alfred}\index{Christmas, Chris}},% authors index entries
+ cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription},% cited bib items
+ bookmark={\pdfbookmark[2]{Alfred Alabama}{#2.Alfred Alabama}\pdfbookmark[2]{Chris Christmas}{#2.Chris Christmas}}% for PDF bookmark structure
+ ]{#2}
\fi
-
+
+%======= 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}}%
- {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}}
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=6, switch=\paperswitch,%
+ title={Templates for Three Authors},% paper title
+ author={Bob Boogie-Woogie, Chris Christmas, Don Didon},% list of authors
+ index={\index{Boogie-Woogie, Bob}\index{Christmas, Chris}\index{Didon, Don}},% authors index entries
+ cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,Egozy:1995:MIT:features:gesture},% cited bib items
+ bookmark={\pdfbookmark[2]{Bob Boogie-Woogie}{#2.Bob Boogie-Woogie}\pdfbookmark[2]{Chris Christmas}{#2.Chris Christmas}\pdfbookmark[2]{Don Didon}{#2.Don Didon}}% for PDF bookmark structure
+ ]{#2}
+\fi
+
+%======= PAPER ID = 27 =======
+\ifnum\paperswitch=27
+ \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=7, switch=\paperswitch,%
+ title={Templates fór Fòür Àuthors},% paper title
+ author={John Jöe, Kéñt Kîng, Lòu Lóu, Mànfréd J. Môstu{e}ki},% list of authors
+ index={\index{Jöe, John}\index{Kîng, Kéñt}\index{Lóu, Lòu}\index{Môstu{e}ki, Mànfréd J.}},% authors index entries
+ cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Dutilleux:1991,Fitz:Haken:2003:Web:morphing:loris},% cited bib items
+ bookmark={\pdfbookmark[2]{John Jöe}{#2.John Jöe}\pdfbookmark[2]{Kéñt Kîng}{#2.Kéñt Kîng}\pdfbookmark[2]{Lòu Lóu}{#2.Lòu Lóu}\pdfbookmark[2]{Mànfréd J. Môstu{e}ki}{#2.Mànfréd J. Môstu{e}ki}}% for PDF bookmark structure
+ ]{#2}
\fi
+
}
-\endinput
-%%
-%% End of file `expapersswitch.tex'.
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exportIndividualPDFs.sh b/Master/texmf-dist/doc/latex/confproc/example/exportIndividualPDFs.sh
new file mode 100644
index 00000000000..0f63243a260
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/exportIndividualPDFs.sh
@@ -0,0 +1,73 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]} #= ~/e-proceedings
+TEXFILE=${args[1]} #= proceedings
+INPATH=${args[2]} #= papers_info
+#mkdir -p $INPATH
+SPPATH=${args[3]} #= papers_split
+#mkdir -p $SPPATH
+PDFPATH=${args[4]}
+PDFTKPATH=${args[5]}
+
+PDFFILE=${TEXFILE}.pdf # for use in the paper_split.sh and paper_info.sh scripts
+
+echo "-PATH (working path): $GPATH"
+echo "-TeX file (orig. TeX proc): $TEXFILE"
+echo "-PDF: $PDFFILE (original PDF proc)"
+echo "-PDFPATH (indiv. PDFs): $PDFPATH "
+echo "-PDFTKPATH (pdftk info): $PDFTKPATH"
+echo "-INPATH (papers info): $INPATH"
+echo "-SPPATH (split papers): $SPPATH"
+
+cd $PDFTKPATH
+list=`ls *.pdftk`
+for tmpfile in $list
+do
+ cp ${tmpfile} test.txt
+ #-- 2-concat all lines, removing carriage returns
+ sed -e :a -e '$!N;s/\n/LineBreak/;ta' -e 'P;D' test.txt >test2.txt
+ perl -ne ' s/LineBreakInfoKey/\nInfoKey/g; print ' test2.txt >test3.txt
+ perl -ne ' s/LineBreakInfoValue/\nInfoValue/g; print ' test3.txt >test4.txt
+ perl -ne ' s/LineBreak//g; print ' test4.txt >test5.txt
+ mv test5.txt $tmpfile
+done
+
+rm -f tmp*
+rm -f test*.txt
+
+cd $GPATH
+echo "__________"
+echo "__ split PDFs: generate bash script file"
+pwd
+echo "cmd: cat paperssplitpreamble.sh $TEXFILE.pdftk >tmp.sh"
+cat paperssplitpreamble.sh $TEXFILE.pdftk >tmp.sh
+mv tmp.sh ${GPATH}/papers_split.sh
+
+echo "__________"
+echo "__ split PDFs: Perl to add echo lines to 'papers_split.sh' script"
+
+#echo "cmd: Perl to copy/add 'echo' cmd to each pdftk command, in 'papers_split.sh'"
+perl -p -e 's/^pdftk(.*[\n\r])/echo \"pdftk $1\"\npdftk $1/gm' ${GPATH}/papers_split.sh >tmp.txt
+mv tmp.txt ${GPATH}/papers_split_all.sh
+
+echo; echo "__________"
+echo "__ split PDFs: launch bash script file"
+#echo "cmd: chmod +x papers_split_all.sh"
+chmod +x papers_split_all.sh
+
+echo "cmd: ./papers_split_all.sh"
+#echo " ./papers_split_all.sh ${GPATH} ${TEXFILE} ${INPATH} ${SPPATH} ${PDFPATH}"
+./papers_split_all.sh ${GPATH} ${TEXFILE} ${INPATH} ${SPPATH} ${PDFPATH}
+# rm ${SPPATH}/*.ps #useful only if 'pdf2ps -> ps2pdf', not useful with 'gs'
+
+#--- generate PDF with corrected metadata
+echo "__________"
+echo "__ Correct PDF metadata with papersinfo.sh"
+./papersinfo.sh ${GPATH} ${TEXFILE} ${INPATH} ${SPPATH} ${PDFPATH} ${PDFTKPATH}
+
+##--- clean
+#rm -r ${INPATH}
+#rm -r ${SPPATH}
+#rm papers_split.sh
+#rm -r tmp
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exprogram.csv b/Master/texmf-dist/doc/latex/confproc/example/exprogram.csv
index 9e0afeef4ab..c21790c1397 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/exprogram.csv
+++ b/Master/texmf-dist/doc/latex/confproc/example/exprogram.csv
@@ -1,12 +1,12 @@
Type,Paper Number,PC Decision,Pages,Title,File Name,Generated,Citations,Auth1 First Name,Auth1 Last Name,Auth2 First Name,Auth2 Last Name,Auth3 First Name,Auth3 Last Name,Auth4 First Name,Auth4 Last Name,,
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,,,,,,,,,,,,,
+Day,0,,,"Day 1: September 18, 2007",,,,,,,,,,,,,
Session,0,,,Oral Session 1,,,,,,,,,,,,,
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,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,,,,,,,,,,,,,
+paper,33,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,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,,
diff --git a/Master/texmf-dist/doc/latex/confproc/example/exsessions.tex b/Master/texmf-dist/doc/latex/confproc/example/exsessions.tex
new file mode 100644
index 00000000000..4d56f40a2df
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/exsessions.tex
@@ -0,0 +1,20 @@
+
+%%%== Day
+\procday{Day 1: September 18, 2007}
+
+%%%-- session
+\session{Oral Session 1}
+\paperid{45}{p_001}
+\paperid{21}{p_003}
+
+%%%-- session
+\session{Poster Session 1}
+\paperid{33}{p_005}
+
+%%%== Day
+\procday{Day 2: September 19, 2007}
+
+%%%-- session
+\session{Oral Session 2}
+\paperid{75}{p_007}
+\paperid{27}{p_009}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/procswitchandtoc.pl b/Master/texmf-dist/doc/latex/confproc/example/generateswitch.pl
index 325a5718267..499a82e515c 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/procswitchandtoc.pl
+++ b/Master/texmf-dist/doc/latex/confproc/example/generateswitch.pl
@@ -1,10 +1,10 @@
#!/usr/bin/perl -w
-# procswitchandtoc.pl
+# generateswitch.pl
# created as dafxproctoc.pl by Marc Zadel, 2006-04-28
-# modified for confproc.cls by Vincent Verfaille, 2007-08-08
+# modified for confproc.cls by Vincent Verfaille, 2007-08-08 (v0.4) & 2009-10-30 (v0.7)
# Execute as
-# ./procswitchandtoc.pl < intputfile.txt >
+# ./generateswitch.pl < intputfile.txt >
use strict;
use Text::ParseWords;
@@ -31,7 +31,7 @@ sub parseinputline {
# parse the input line
my @wordlist = &quotewords($fieldseparator, 0, $inputline);
- # replace accented characters with latex escaped equivalents. To be done after
+ # replace accented characters with latex escaped equivalents. Use it after
# quotewords() so the '\' don't get interpreted by quotewords() as escapes
foreach my $word ( @wordlist ) {
if ( $word ) { $word = &latexifyaccentedcharacters($word); }
@@ -156,18 +156,19 @@ sub genbookmark {
sub outputpaperlatex {
my ($fields) = @_;
open(SWI, ">>expapersswitch.tex"); #open for append
- print SWI '%=========== PAPER ID = ', $fields->{'number'}, ' ===========';
+ print SWI '%======= PAPER ID = ', $fields->{'number'}, ' =======';
print SWI '\ifnum\paperswitch=', $fields->{'number'};
- print SWI ' \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{',
- $fields->{'nbpages'}, '}{\paperswitch}%';
- print SWI ' {', $fields->{'title'}, '}% paper title';
- print SWI ' {', join( ', ', @{&authorsbyfirstname($fields->{'authors'})}),
- '}% list of authors';
- print SWI ' {', &genindex(&authorsbysurname($fields->{'authors'})),
- '}% authors index entries';
- print SWI ' {', $fields->{'cite'}, '}% cited bib items';
+ print SWI ' \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=',
+ $fields->{'nbpages'}, ', switch=\paperswitch,%';
+ print SWI ' title={', $fields->{'title'}, '},% paper title';
+ print SWI ' author={', join( ', ', @{&authorsbyfirstname($fields->{'authors'})}),
+ '},% list of authors';
+ print SWI ' index={', &genindex(&authorsbysurname($fields->{'authors'})),
+ '},% authors index entries';
+ print SWI ' cite={', $fields->{'cite'}, '},% cited bib items';
# print SWI ' {#2}{\paperbookmark}';
- print SWI ' {#2}{', &genbookmark(&authorsbyfirstname($fields->{'authors'})),'}';
+ print SWI ' bookmark={', &genbookmark(&authorsbyfirstname($fields->{'authors'})),'}% for PDF bookmark structure';
+ print SWI ' ]{#2}';
print SWI '\fi';
print SWI ' ';
open(SESSIONS, ">>exsessions.tex"); #open for write, overwrite
diff --git a/Master/texmf-dist/doc/latex/confproc/example/newapave.bst b/Master/texmf-dist/doc/latex/confproc/example/newapave.bst
index 1e978ff3106..2aee35a4f37 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/newapave.bst
+++ b/Master/texmf-dist/doc/latex/confproc/example/newapave.bst
@@ -13,7 +13,7 @@
% (2) if you do make changes, you name it something other than 'newapave.bst'.
% There are undoubtably bugs in this style. If you make bug fixes,
% improvements, etc. please let me know. My e-mail address is:
-% vincent@music.mcgill.ca
+% [lastname].[packagename]@gmail.com
%
% This style was made from 'plain.bst', 'named.bst', and 'apalike.bst',
% with lots of tweaking to make it look like APA style, along with tips
@@ -215,7 +215,7 @@ FUNCTION {output.year.check}
}
{ write$
", " year * "." * "~\hfill " * % shorter and simpler without label (2002a, 2002b useless)
-%% ", " year * extra.label * "." * " \Pointinghand{} " * % shorter
+% ", " year * extra.label * "." * " \Pointinghand{} " * % shorter
mid.sentence 'output.state :=
% mid.sentence 'output.state := * "}"
}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/newapave.sty b/Master/texmf-dist/doc/latex/confproc/example/newapave.sty
index c5ac3d4897e..db7a357ccd8 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/newapave.sty
+++ b/Master/texmf-dist/doc/latex/confproc/example/newapave.sty
@@ -1,4 +1,4 @@
-%$$$ newapave.sty $$$ --- July 31, 2006 (Version 2.1)
+%$$$ newapave2.sty $$$ --- July 15, 2010 (Version 2.21)
% - Version 2.1.
%
% This file implements citations for the ``newapave'' bibliography style.
@@ -184,7 +184,7 @@
\def\@biblabel#1{}
\newlength{\bibhang}
%\setlength{\bibhang}{1em} % ORIGINAL
-\setlength{\bibhang}{0.5em} % DAFx-06
+\setlength{\bibhang}{0.5em} % DAFx-06
%
\def\thebibliography#1{%
\section*{\bibname}
@@ -194,7 +194,7 @@
\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
+ \def\newblock{\hskip 0em plus 0.0em minus .07em} % DAFx-06
\sloppy\clubpenalty4000\widowpenalty4000
\sfcode`\.=1000\relax}
%
diff --git a/Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex b/Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex
index e095f93f20f..901c0e266c6 100644
--- a/Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex
+++ b/Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex
@@ -7,7 +7,7 @@
%% confproc.dtx (with options: `expages')
%%
%% This is `expages.tex', an example file for the confproc package.
-%% Copyright (C) 2007 by Vincent Verfaille <vincent@music.mcgill.ca>
+%% Copyright (C) 2009 by Vincent Verfaille <[lastname].[packagename]@gmail.com>
%%
%% This file is part of the confproc package.
%% -------------------------------------------
@@ -29,6 +29,7 @@
%%
%% For more details, LaTeX the source `confproc.dtx'.
%%
+
\newcommand{\setpagenumber}[1]{
\newcommand{\paperswitch}{#1}
\ifnum\paperswitch=01 {\setcounter{page}{1}}\fi
@@ -37,6 +38,7 @@
\ifnum\paperswitch=04 {\setcounter{page}{17}}\fi
\ifnum\paperswitch=05 {\setcounter{page}{23}}\fi
}
+
\endinput
%%
%% End of file `expages.tex'.
diff --git a/Master/texmf-dist/doc/latex/confproc/example/papers/pages.tex b/Master/texmf-dist/doc/latex/confproc/example/papers/pages.tex
new file mode 100644
index 00000000000..ca5f1636b80
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/papers/pages.tex
@@ -0,0 +1,8 @@
+\newcommand{\setpagenumber}[1]{
+ \newcommand{\paperswitch}{#1}
+ \ifnum\paperswitch=01 {\setcounter{page}{1}}\fi
+ \ifnum\paperswitch=02 {\setcounter{page}{7}}\fi
+ \ifnum\paperswitch=03 {\setcounter{page}{13}}\fi
+ \ifnum\paperswitch=04 {\setcounter{page}{17}}\fi
+ \ifnum\paperswitch=05 {\setcounter{page}{23}}\fi
+} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/confproc/example/papers_split.sh b/Master/texmf-dist/doc/latex/confproc/example/papers_split.sh
new file mode 100644
index 00000000000..884b7bdbb76
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/papers_split.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]}
+TEXFILE=${args[1]} # example1
+INPATH=${args[2]} # papers_info
+SPPATH=${args[3]} #papers_split
+PDFPATH=${args[4]}
+
+cd ${GPATH}
+SPPATH=${GPATH}/${SPPATH}
+PDFFILE=${GPATH}/${TEXFILE}.pdf # PDF proceedings
+echo "PDF proc used for individual PDFs extraction:\n --> $PDFFILE"
+echo "saving tmp .ps and .pdf files into\n --> $SPPATH"
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=7 -dLastPage=12 -sOUTPUTFILE=${SPPATH}/p_001.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=13 -dLastPage=17 -sOUTPUTFILE=${SPPATH}/p_003.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=19 -dLastPage=22 -sOUTPUTFILE=${SPPATH}/p_005.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=23 -dLastPage=28 -sOUTPUTFILE=${SPPATH}/p_007.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=29 -dLastPage=35 -sOUTPUTFILE=${SPPATH}/p_009.pdf ${PDFFILE}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/papers_split_all.sh b/Master/texmf-dist/doc/latex/confproc/example/papers_split_all.sh
new file mode 100644
index 00000000000..884b7bdbb76
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/papers_split_all.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]}
+TEXFILE=${args[1]} # example1
+INPATH=${args[2]} # papers_info
+SPPATH=${args[3]} #papers_split
+PDFPATH=${args[4]}
+
+cd ${GPATH}
+SPPATH=${GPATH}/${SPPATH}
+PDFFILE=${GPATH}/${TEXFILE}.pdf # PDF proceedings
+echo "PDF proc used for individual PDFs extraction:\n --> $PDFFILE"
+echo "saving tmp .ps and .pdf files into\n --> $SPPATH"
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=7 -dLastPage=12 -sOUTPUTFILE=${SPPATH}/p_001.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=13 -dLastPage=17 -sOUTPUTFILE=${SPPATH}/p_003.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=19 -dLastPage=22 -sOUTPUTFILE=${SPPATH}/p_005.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=23 -dLastPage=28 -sOUTPUTFILE=${SPPATH}/p_007.pdf ${PDFFILE}
+gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dFirstPage=29 -dLastPage=35 -sOUTPUTFILE=${SPPATH}/p_009.pdf ${PDFFILE}
diff --git a/Master/texmf-dist/doc/latex/confproc/example/papersinfo.sh b/Master/texmf-dist/doc/latex/confproc/example/papersinfo.sh
new file mode 100644
index 00000000000..61c444520d7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/papersinfo.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]} #= ~/proceedings/e-proceedings
+TEXFILE=${args[1]} #= ICMC2009_proceedings
+INPATH=${args[2]} #= papers_info
+SPPATH=${args[3]} #= papers_split
+PDFPATH=${args[4]} #= ~/proceedings/e-proceedings
+PDFTKPATH=${args[5]} #= ~/pdftk_info
+
+PDFFILE=${TEXFILE}.pdf # for use in the paper_split.sh and paper_info.sh scripts
+
+cd ${GPATH}/${SPPATH}
+filelist=`ls *.pdf`
+mkdir ${PDFPATH}
+
+cd ${GPATH}
+chmod +x removeLaTeXcmds.sh
+
+for file in $filelist
+do
+ base=${file%%.*}
+ echo "removing LaTeX accents: ${base}.pdftk -> ${base}_clean.info"
+# echo "cmd: removeLaTeXcmds.sh ${GPATH} ${PDFTKPATH}/${base}.pdftk ${INPATH}/${base}_clean.info"
+ ${GPATH}/removeLaTeXcmds.sh ${GPATH} ${PDFTKPATH}/${base}.pdftk ${INPATH}/${base}_clean.info
+ echo "adding PDF metadata: ${base}_clean.info -> ${base}.pdf"
+# echo "cmd: pdftk ${SPPATH}/${base}.pdf update_info ${INPATH}/${base}_clean.info output ${PDFPATH}/${base}.pdf"
+ echo "pdftk ${GPATH}/${SPPATH}/${base}.pdf update_info ${GPATH}/${INPATH}/${base}_clean.info output ${PDFPATH}/${base}.pdf"
+ pdftk ${GPATH}/${SPPATH}/${base}.pdf update_info ${GPATH}/${INPATH}/${base}_clean.info output ${PDFPATH}/${base}.pdf
+done
diff --git a/Master/texmf-dist/doc/latex/confproc/example/paperssplitpreamble.sh b/Master/texmf-dist/doc/latex/confproc/example/paperssplitpreamble.sh
new file mode 100644
index 00000000000..3c42c713005
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/paperssplitpreamble.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+args=("$@")
+GPATH=${args[0]}
+TEXFILE=${args[1]} # example1
+INPATH=${args[2]} # papers_info
+SPPATH=${args[3]} #papers_split
+PDFPATH=${args[4]}
+
+cd ${GPATH}
+SPPATH=${GPATH}/${SPPATH}
+PDFFILE=${GPATH}/${TEXFILE}.pdf # PDF proceedings
+echo "PDF proc used for individual PDFs extraction:\n --> $PDFFILE"
+echo "saving tmp .ps and .pdf files into\n --> $SPPATH"
diff --git a/Master/texmf-dist/doc/latex/confproc/example/removeLaTeXcmds.sh b/Master/texmf-dist/doc/latex/confproc/example/removeLaTeXcmds.sh
new file mode 100644
index 00000000000..1f651b93648
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/confproc/example/removeLaTeXcmds.sh
@@ -0,0 +1,65 @@
+#!/bin/bash
+
+# arg 0: path, arg 1: input file; arg 2: output file
+
+#-- save arguments for use
+args=("$@")
+path=${args[0]}
+file=${args[1]}
+outputfile=${args[2]}
+cd ${path}
+cp ${file} tmp.txt
+#echo "__ ORIGINAL: $file ___"
+#cat tmp.txt
+
+#echo " "
+#echo "__ removed accents: __"
+perl -p -i -e " s/\\\'e/e/g " tmp.txt
+perl -p -i -e " s/\\'{e}/e/g " tmp.txt
+perl -p -i -e " s/\\\`e/e/g " tmp.txt
+perl -p -i -e ' s/\\"e/e/g ' tmp.txt
+perl -p -i -e " s/\\\`{e}/e/g " tmp.txt
+perl -p -i -e " s/\\\'a/a/g " tmp.txt
+perl -p -i -e " s/\\\`a/a/g " tmp.txt
+perl -p -i -e " s/\\\`{a}/a/g " tmp.txt
+perl -p -i -e ' s/\\"{o}/oe/g ' tmp.txt
+perl -p -i -e ' s/\\"o/o/g ' tmp.txt
+perl -p -i -e ' s/\\o{}/o/g ' tmp.txt
+perl -p -i -e ' s/\\\^o/o/g ' tmp.txt
+perl -p -i -e " s/\\\'o/o/g " tmp.txt
+perl -p -i -e " s/\\\`o/o/g " tmp.txt
+perl -p -i -e " s/\\\'u/u/g " tmp.txt
+perl -p -i -e ' s/\\u //g ' tmp.txt
+perl -p -i -e ' s/\\"u/u/g ' tmp.txt
+perl -p -i -e ' s/\\i /i/g ' tmp.txt
+perl -p -i -e ' s/\\i/i/g ' tmp.txt
+perl -p -i -e " s/\\\'{i}/i/g " tmp.txt
+perl -p -i -e ' s/\\"{i}/i/g ' tmp.txt
+perl -p -i -e ' s/\\c {c}/c/g ' tmp.txt
+
+#echo " "
+#echo "__ removed textit, texbf, {, }: __"
+perl -p -i -e ' s/\--/-/g ' tmp.txt
+perl -p -i -e " s/\\ss/ss/g " tmp.txt
+perl -p -i -e ' s/\\textsuperscript //g ' tmp.txt
+perl -p -i -e " s/\\&/&/g " tmp.txt
+perl -p -i -e ' s/\\mu/mu\:/g ' tmp.txt
+perl -p -i -e ' s/\\sim\s//g ' tmp.txt
+perl -p -i -e ' s/\\sim//g ' tmp.txt
+perl -p -i -e ' s/\s:/:/g ' tmp.txt
+
+perl -p -i -e ' s/\$//g ' tmp.txt
+perl -p -i -e " s/textit //g " tmp.txt
+perl -p -i -e " s/textbf //g " tmp.txt
+perl -p -i -e " s/\{//g " tmp.txt
+perl -p -i -e " s/\}//g " tmp.txt
+perl -p -i -e ' s/\`\`/"/g ' tmp.txt
+perl -p -i -e " s/\'\'/\"/g " tmp.txt
+
+#echo " "
+#echo "__ removed \: ___"
+perl -pi -e 's/\\//g' tmp.txt
+perl -pi -e 's/\s{2,10}\{\}/ /g' tmp.txt
+perl -pi -e 's/\s{2,10}/ /g' tmp.txt
+
+cp tmp.txt $outputfile