diff options
author | Karl Berry <karl@freefriends.org> | 2007-10-01 13:34:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-10-01 13:34:34 +0000 |
commit | 127cf2f1ba829680b88bbc568d6f2119f9f7cc34 (patch) | |
tree | 8a1b67e0b1fb66de0f5680b45dccfc427f9d3c54 /Master/texmf-dist/doc/latex/confproc/buildcls | |
parent | 3d0b56032a05e361ddea38a674d2cbfb8455d3ba (diff) |
new latex package confproc (29sep07)
git-svn-id: svn://tug.org/texlive/trunk@5076 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/confproc/buildcls')
-rw-r--r-- | Master/texmf-dist/doc/latex/confproc/buildcls | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/confproc/buildcls b/Master/texmf-dist/doc/latex/confproc/buildcls new file mode 100644 index 00000000000..c5363759372 --- /dev/null +++ b/Master/texmf-dist/doc/latex/confproc/buildcls @@ -0,0 +1,49 @@ +#!/bin/sh +#-- set path to LaTeX binaries +LaPath="/usr/texbin/" #- TexLive 2007 +#LaPath="/usr/local/teTeX/bin/i386-apple-darwin-current/" #- teTeX +#-- set names of LaTeX and related compilers +Latex=$LaPath"pdflatex" +Index=$LaPath"makeindex" +Target="confproc" #- set document's name +extarget="example" #- se tthe example folder name + +#-- build doc, class and example files +$Latex $Target.dtx #- build doc. and .ins file +$Latex $Target.ins #- build class and example files + +#-- prepare scripts for building example +#rm -rf $extarget +mkdir $extarget #- create the folder +mv ex*.* $extarget/ #move all example files into it +mv buildproc.tex $extarget/buildproc # move scripts into it +mv buildcppdfpapers.tex $extarget/buildcppdfpapers +mv buildpapers.tex $extarget/buildpapers +mv procswitchandtoc.pl $extarget/ +cp -r pictures $extarget/ #- copy pictures into it +cp -r papers $extarget/ #- copy papers into it +cp confproc.cls $extarget/ #- copy the class into it +cp confproc.ist $extarget/ #- copy the index style into it +cp newapave.* $extarget/ #- copy the newapave bib style files +cd $extarget +chmod +x buildproc +chmod +x procswitchandtoc.pl +mkdir papers +mv expages.tex papers/ +cd .. + +#-- finish to build the documentation +$Latex $Target.dtx #- re-run doc for toc update +$Latex $Target.dtx #- re-run doc for proper back-references +$Index -s gind.ist $Target #- with \CodelineIndex of \PageIndex +$Index -s gglo.ist -o $Target.gls $Target.glo #- with \RecordChanges +$Latex $Target.dtx #- insert index & list of changes, re-number +$Latex $Target.dtx #- last run with proper page numbers + +#-- prepare scripts for cleaning package +mv cleancls.tex cleancls +chmod +x cleancls + +#-- build example +cd $extarget +./buildproc |