From: <pst...@us...> - 2008-05-10 21:35:16
|
Revision: 500 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=500&view=rev Author: pstieber Date: 2008-05-10 14:35:14 -0700 (Sat, 10 May 2008) Log Message: ----------- Added some PNG files for help file generation. These are in ppm format in the images directory, but that will change soon. The images are from an ancient Motif version of the code, but they will act as a good starting point for generating new documentation. Added Paths: ----------- trunk/jazz/doc/audioset.png trunk/jazz/doc/audiotrk.png trunk/jazz/doc/cleanup.png trunk/jazz/doc/delete.png trunk/jazz/doc/eventdlg.png trunk/jazz/doc/filter.png trunk/jazz/doc/hb.png trunk/jazz/doc/hbtoolb.png trunk/jazz/doc/jzwins.png trunk/jazz/doc/meter.png trunk/jazz/doc/metroset.png trunk/jazz/doc/mixer.png trunk/jazz/doc/pianowin.png trunk/jazz/doc/pitched.png trunk/jazz/doc/pwevents.png trunk/jazz/doc/pwtoolb.png trunk/jazz/doc/quantize.png trunk/jazz/doc/recplay.png trunk/jazz/doc/replic.png trunk/jazz/doc/rrg.png trunk/jazz/doc/rrgtoolb.png trunk/jazz/doc/sampedit.png trunk/jazz/doc/sampset.png trunk/jazz/doc/search.png trunk/jazz/doc/setchan.png trunk/jazz/doc/shift.png trunk/jazz/doc/songset.png trunk/jazz/doc/speed.png trunk/jazz/doc/syntype.png trunk/jazz/doc/trackdef.png trunk/jazz/doc/tracknam.png trunk/jazz/doc/trackwin.png trunk/jazz/doc/transpos.png trunk/jazz/doc/twselect.png trunk/jazz/doc/twtoolb.png trunk/jazz/doc/veloc.png Added: trunk/jazz/doc/audioset.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/audioset.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/audiotrk.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/audiotrk.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/cleanup.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/cleanup.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/delete.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/delete.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/eventdlg.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/eventdlg.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/filter.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/filter.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/hb.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/hb.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/hbtoolb.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/hbtoolb.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/jzwins.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/jzwins.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/meter.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/meter.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/metroset.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/metroset.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/mixer.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/mixer.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/pianowin.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/pianowin.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/pitched.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/pitched.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/pwevents.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/pwevents.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/pwtoolb.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/pwtoolb.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/quantize.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/quantize.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/recplay.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/recplay.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/replic.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/replic.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/rrg.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/rrg.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/rrgtoolb.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/rrgtoolb.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/sampedit.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/sampedit.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/sampset.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/sampset.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/search.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/search.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/setchan.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/setchan.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/shift.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/shift.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/songset.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/songset.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/speed.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/speed.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/syntype.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/syntype.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/trackdef.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/trackdef.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/tracknam.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/tracknam.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/trackwin.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/trackwin.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/transpos.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/transpos.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/twselect.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/twselect.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/twtoolb.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/twtoolb.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/veloc.png =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/veloc.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2008-05-10 21:36:59
|
Revision: 501 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=501&view=rev Author: pstieber Date: 2008-05-10 14:36:58 -0700 (Sat, 10 May 2008) Log Message: ----------- Removed the images subdirectory because I'm abandoning to old method of building documentation. Modified Paths: -------------- trunk/jazz/doc/jazz.tex Removed Paths: ------------- trunk/jazz/doc/images/ Modified: trunk/jazz/doc/jazz.tex =================================================================== --- trunk/jazz/doc/jazz.tex 2008-05-10 21:35:14 UTC (rev 500) +++ trunk/jazz/doc/jazz.tex 2008-05-10 21:36:58 UTC (rev 501) @@ -4,9 +4,8 @@ \parskip=10pt \parindent=0pt \title{JAZZ++ MIDI sequencer version 5.0}% -\author{Andreas Voss $<$And...@ja...$>$\\ -Per Sigmond $<$Per...@ja...$>$}% -\date{February 2008}% +\author{Pete Stieber $<$pst...@ve...$>$}% +\date{May 2008}% \makeindex% \begin{document}% \maketitle% @@ -44,7 +43,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{jzwins.ps}}% \htmlonly{\image{0cm;0cm}{jzwins.png}}% -\winhelponly{\image{0cm;0cm}{jzwins.bmp}}% \caption{Main windows of JAZZ++}% \end{figure}} @@ -212,7 +210,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{trackwin.ps}}% \htmlonly{\image{0cm;0cm}{trackwin.png}}% -\winhelponly{\image{0cm;0cm}{trackwin.bmp}}% \caption{Track window}% \end{figure}} @@ -244,7 +241,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{twtoolb.ps}}% \htmlonly{\image{0cm;0cm}{twtoolb.png}}% -\winhelponly{\image{0cm;0cm}{twtoolb.bmp}}% \caption{Trackwin toolbar}% \end{figure}} @@ -269,7 +265,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{twselect.ps}}% \htmlonly{\image{0cm;0cm}{twselect.png}}% -\winhelponly{\image{0cm;0cm}{twselect.bmp}}% \caption{Selecting events}% \end{figure}} @@ -278,7 +273,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{recplay.ps}}% \htmlonly{\image{0cm;0cm}{recplay.png}}% -\winhelponly{\image{0cm;0cm}{recplay.bmp}}% \caption{Record and play}% \end{figure}} @@ -319,7 +313,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{speed.ps}}% \htmlonly{\image{0cm;0cm}{speed.png}}% -\winhelponly{\image{0cm;0cm}{speed.bmp}}% \caption{Speed adjustment}% \end{figure}} @@ -345,7 +338,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{trackdef.ps}}% \htmlonly{\image{0cm;0cm}{trackdef.png}}% -\winhelponly{\image{0cm;0cm}{trackdef.bmp}}% \caption{Track defaults}% \end{figure}} @@ -361,7 +353,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{tracknam.ps}}% \htmlonly{\image{0cm;0cm}{tracknam.png}}% -\winhelponly{\image{0cm;0cm}{tracknam.bmp}}% \caption{Track name, midi channel etc.}% \end{figure}} @@ -422,7 +413,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{replic.ps}}% \htmlonly{\image{0cm;0cm}{replic.png}}% -\winhelponly{\image{0cm;0cm}{replic.bmp}}% \caption{Replicate dialog}% \end{figure}} @@ -461,7 +451,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{6cm;0cm}{delete.ps}}% \htmlonly{\image{0cm;0cm}{delete.png}}% -\winhelponly{\image{0cm;0cm}{delete.bmp}}% \caption{Delete dialog}% \end{figure}} @@ -485,7 +474,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{8cm;0cm}{quantize.ps}}% \htmlonly{\image{0cm;0cm}{quantize.png}}% -\winhelponly{\image{0cm;0cm}{quantize.bmp}}% \caption{Quantize dialog}% \end{figure}} @@ -511,7 +499,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{8cm;0cm}{setchan.ps}}% \htmlonly{\image{0cm;0cm}{setchan.png}}% -\winhelponly{\image{0cm;0cm}{setchan.bmp}}% \caption{Set MIDI channel dialog}% \end{figure}} @@ -521,7 +508,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{8cm;0cm}{transpos.ps}}% \htmlonly{\image{0cm;0cm}{transpos.png}}% -\winhelponly{\image{0cm;0cm}{transpos.bmp}}% \caption{Transpose dialog}% \end{figure}} @@ -548,7 +534,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{8cm;0cm}{veloc.ps}}% \htmlonly{\image{0cm;0cm}{veloc.png}}% -\winhelponly{\image{0cm;0cm}{veloc.bmp}}% \caption{Set velocity dialog}% \end{figure}} @@ -568,7 +553,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{8cm;0cm}{shift.ps}}% \htmlonly{\image{0cm;0cm}{shift.png}}% -\winhelponly{\image{0cm;0cm}{shift.bmp}}% \caption{Shift dialog}% \end{figure}} @@ -580,7 +564,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{6cm;0cm}{cleanup.ps}}% \htmlonly{\image{0cm;0cm}{cleanup.png}}% -\winhelponly{\image{0cm;0cm}{cleanup.bmp}}% \caption{Cleanup dialog}% \end{figure}} @@ -598,7 +581,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{search.ps}}% \htmlonly{\image{0cm;0cm}{search.png}}% -\winhelponly{\image{0cm;0cm}{search.bmp}}% \caption{Search Replace dialog}% \end{figure}} @@ -641,7 +623,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{mixer.ps}}% \htmlonly{\image{0cm;0cm}{mixer.png}}% -\winhelponly{\image{0cm;0cm}{mixer.bmp}}% \caption{Mixer window}% \end{figure}} @@ -773,7 +754,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{filter.ps}}% \htmlonly{\image{0cm;0cm}{filter.png}}% -\winhelponly{\image{0cm;0cm}{filter.bmp}}% \caption{Event filter dialog}% \end{figure}} @@ -798,7 +778,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{10cm;0cm}{songset.ps}}% \htmlonly{\image{0cm;0cm}{songset.png}}% -\winhelponly{\image{0cm;0cm}{songset.bmp}}% \caption{Song settings dialog}% \end{figure}} @@ -823,7 +802,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{10cm;0cm}{metroset.ps}}% \htmlonly{\image{0cm;0cm}{metroset.png}}% -\winhelponly{\image{0cm;0cm}{metroset.bmp}}% \caption{Metronome settings dialog}% \end{figure}} @@ -947,7 +925,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{syntype.ps}}% \htmlonly{\image{0cm;0cm}{syntype.png}}% -\winhelponly{\image{0cm;0cm}{syntype.bmp}}% \caption{Setting of synthesizer type}% \end{figure}} @@ -1037,7 +1014,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{6cm;0cm}{meter.ps}}% \htmlonly{\image{0cm;0cm}{meter.png}}% -\winhelponly{\image{0cm;0cm}{meter.bmp}}% \caption{Meter change dialog}% \end{figure}} @@ -1065,7 +1041,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{hbtoolb.ps}}% \htmlonly{\image{0cm;0cm}{hbtoolb.png}}% -\winhelponly{\image{0cm;0cm}{hbtoolb.bmp}}% \caption{Harmony browser toolbar}% \end{figure}} @@ -1219,7 +1194,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{rrgtoolb.ps}}% \htmlonly{\image{0cm;0cm}{rrgtoolb.png}}% -\winhelponly{\image{0cm;0cm}{rrgtoolb.bmp}}% \caption{Random rhythm generator toolbar}% \end{figure}} @@ -1667,7 +1641,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{pianowin.ps}}% \htmlonly{\image{0cm;0cm}{pianowin.png}}% -\winhelponly{\image{0cm;0cm}{pianowin.bmp}}% \caption{Piano Window}% \end{figure}} @@ -1678,7 +1651,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{pwtoolb.ps}}% \htmlonly{\image{0cm;0cm}{pwtoolb.png}}% -\winhelponly{\image{0cm;0cm}{pwtoolb.bmp}}% \caption{Pianowin toolbar}% \end{figure}} @@ -1796,7 +1768,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{eventdlg.ps}}% \htmlonly{\image{0cm;0cm}{eventdlg.png}}% -\winhelponly{\image{0cm;0cm}{eventdlg.bmp}}% \caption{Example of event editing dialog}% \end{figure}} @@ -1841,7 +1812,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{pwevents.ps}}% \htmlonly{\image{0cm;0cm}{pwevents.png}}% -\winhelponly{\image{0cm;0cm}{pwevents.bmp}}% \caption{Pianowin show-events dialog}% \end{figure}} @@ -1879,7 +1849,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{pitched.ps}}% \htmlonly{\image{0cm;0cm}{pitched.png}}% -\winhelponly{\image{0cm;0cm}{pitched.bmp}}% \caption{Graphical editing in Pianowin}% \end{figure}} @@ -1957,7 +1926,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{audiotrk.ps}}% \htmlonly{\image{0cm;0cm}{audiotrk.png}}% -\winhelponly{\image{0cm;0cm}{audiotrk.bmp}}% \caption{Audio track in pianowin}% \end{figure}} @@ -1991,15 +1959,14 @@ support simultaneous record and playback. When you have finished recording, stop the operation by clicking on the -play or record -button again. JAZZ++ will then ask you, if you want to keep the recording. -When you answer yes, you will get the file selector dialog to specify -the audio file for your recording. The recording will be saved in the -Microsoft .wav format. Also JAZZ++ automatically assigns a midi note to -your new sample and places a note on the recorded audio track. If you -don't like your recording and you do it again, you should save it under -the same file name as the old recording. Then JAZZ++ will reuse the same -midi note and not assign a new one. +play or record button again. JAZZ++ will then ask you, if you want to +keep the recording. When you answer yes, you will get the file selector +dialog to specify the audio file for your recording. The recording will +be saved in the Microsoft .wav format. Also JAZZ++ automatically assigns +a midi note to your new sample and places a note on the recorded audio +track. If you don't like your recording and you do it again, you should +save it under the same file name as the old recording. Then JAZZ++ will +reuse the same midi note and not assign a new one. Please note: when you do audio recording, JAZZ++ needs much memory for the playback too. So you should start playback a few bars before the @@ -2014,7 +1981,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{5cm;0cm}{audioset.ps}}% \htmlonly{\image{0cm;0cm}{audioset.png}}% -\winhelponly{\image{0cm;0cm}{audioset.bmp}}% \caption{Global audio settings dialog}% \end{figure}} @@ -2055,7 +2021,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{7cm;0cm}{sampset.ps}}% \htmlonly{\image{0cm;0cm}{sampset.png}}% -\winhelponly{\image{0cm;0cm}{sampset.bmp}}% \caption{Sample settings dialog}% \end{figure}} @@ -2100,7 +2065,6 @@ \xlpignore{\begin{figure}% \latexonly{\image{13cm;0cm}{sampedit.ps}}% \htmlonly{\image{0cm;0cm}{sampedit.png}}% -\winhelponly{\image{0cm;0cm}{sampedit.bmp}}% \caption{Sample editor}% \end{figure}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2008-05-10 22:19:07
|
Revision: 502 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=502&view=rev Author: pstieber Date: 2008-05-10 15:19:03 -0700 (Sat, 10 May 2008) Log Message: ----------- Added images for help browsing. Added Paths: ----------- trunk/jazz/doc/back.gif trunk/jazz/doc/contents.gif trunk/jazz/doc/forward.gif trunk/jazz/doc/up.gif Added: trunk/jazz/doc/back.gif =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/back.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/contents.gif =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/contents.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/forward.gif =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/forward.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/jazz/doc/up.gif =================================================================== (Binary files differ) Property changes on: trunk/jazz/doc/up.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2008-05-11 03:08:18
|
Revision: 504 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=504&view=rev Author: pstieber Date: 2008-05-10 20:08:17 -0700 (Sat, 10 May 2008) Log Message: ----------- 1. Changed the makefile to generate a pdf and html docs. 2. Updated the LaTeX file to use PNG files for the graphics in LaTeX mode. Modified Paths: -------------- trunk/jazz/doc/Makefile trunk/jazz/doc/jazz.tex Modified: trunk/jazz/doc/Makefile =================================================================== --- trunk/jazz/doc/Makefile 2008-05-10 22:20:56 UTC (rev 503) +++ trunk/jazz/doc/Makefile 2008-05-11 03:08:17 UTC (rev 504) @@ -1,43 +1,28 @@ -all : html ps win xlp +all : html pdf -dist: html xlp +dist: html rm -f jazz.aux jazz.con jazz.dvi jazz.idx jazz.ilg jazz.ind jazz.log jazz.ref jazz.toc - for i in *.bmp; do n=`basename $$i .bmp`; rm -f $$n.bmp $$n.ps; done - rm -rf images -win: jazz.rtf -jazz.rtf: jazz.tex - (cd images; make bmp) - tex2rtf jazz.tex jazz.rtf -winhelp -twice +pdf: jazz.pdf +jazz.pdf: jazz.tex + pdflatex $< + pdflatex $< + pdflatex $< -ps: jazz.ps -jazz.ps : jazz.dvi - dvips jazz.dvi -o jazz.ps +#ps: jazz.ps +#jazz.ps : jazz.dvi +# dvips jazz.dvi -o jazz.ps jazz.dvi: jazz.tex - (cd images; make ps) latex jazz latex jazz latex jazz -html: html/jazz_contents.html -html/jazz_contents.html : jazz.tex - rm -rf html - mkdir html - #if ! test -d html; then mkdir html; fi - (cd images; make png) - (cd html; tex2rtf ../jazz.tex jazz -html -twice) +html: jazz_contents.html +jazz_contents.html : jazz.tex + tex2rtf jazz.tex jazz.html -html -twice -xlp: jazz.xlp -jazz.xlp: jazz.tex - tex2rtf jazz.tex jazz.xlp -xlp -twice - clean: - rm -f jazz.aux jazz.con jazz.dvi jazz.idx jazz.ilg jazz.ind jazz.log jazz.ref jazz.toc - rm -rf html - (cd images; make clean) - rm -f jazz.ps - rm -f jazz.xlp - rm -f jazz.rtf - - + rm -f jazz.aux jazz.dvi jazz.idx jazz.ilg jazz.ind jazz.log jazz.ref jazz.toc + rm -f jazz.htx jazz.hhc jazz.hhk jazz.hhp *.con *.html + rm -f jazz.pdf Modified: trunk/jazz/doc/jazz.tex =================================================================== --- trunk/jazz/doc/jazz.tex 2008-05-10 22:20:56 UTC (rev 503) +++ trunk/jazz/doc/jazz.tex 2008-05-11 03:08:17 UTC (rev 504) @@ -1,6 +1,6 @@ \documentclass[letterpaper]{report} -\usepackage{makeidx,verbatim,texhelp,fancyhea} -\input{psbox.tex} +\usepackage{makeidx,verbatim,texhelp,fancyhea,graphicx} +%\input{psbox.tex} \parskip=10pt \parindent=0pt \title{JAZZ++ MIDI sequencer version 5.0}% @@ -41,7 +41,7 @@ {\em audio editor} is also included. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{jzwins.ps}}% +\latexonly{\includegraphics[scale=0.5]{jzwins.png}}% \htmlonly{\image{0cm;0cm}{jzwins.png}}% \caption{Main windows of JAZZ++}% \end{figure}} @@ -208,7 +208,7 @@ bar codes, i.e. every event is shown as a short vertical line. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{trackwin.ps}}% +\latexonly{\includegraphics[scale=0.5]{trackwin.png}}% \htmlonly{\image{0cm;0cm}{trackwin.png}}% \caption{Track window}% \end{figure}} @@ -239,7 +239,7 @@ \end{enumerate} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{twtoolb.ps}}% +\latexonly{\includegraphics[scale=0.5]{twtoolb.png}}% \htmlonly{\image{0cm;0cm}{twtoolb.png}}% \caption{Trackwin toolbar}% \end{figure}} @@ -263,7 +263,7 @@ disable program-changes (patch). Finally select Delete from Edit-Menu. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{twselect.ps}}% +\latexonly{\includegraphics[scale=0.5]{twselect.png}}% \htmlonly{\image{0cm;0cm}{twselect.png}}% \caption{Selecting events}% \end{figure}} @@ -271,7 +271,7 @@ \section{Record and play}\label{recplay} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{recplay.ps}}% +\latexonly{\includegraphics[scale=0.5]{recplay.png}}% \htmlonly{\image{0cm;0cm}{recplay.png}}% \caption{Record and play}% \end{figure}} @@ -311,7 +311,7 @@ values in steps of 10 bpm. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{speed.ps}}% +\latexonly{\includegraphics[scale=0.5]{speed.png}}% \htmlonly{\image{0cm;0cm}{speed.png}}% \caption{Speed adjustment}% \end{figure}} @@ -336,7 +336,7 @@ display of midi channel and track number. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{trackdef.ps}}% +\latexonly{\includegraphics[scale=0.5]{trackdef.png}}% \htmlonly{\image{0cm;0cm}{trackdef.png}}% \caption{Track defaults}% \end{figure}} @@ -351,7 +351,7 @@ already on the track. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{tracknam.ps}}% +\latexonly{\includegraphics[scale=0.5]{tracknam.png}}% \htmlonly{\image{0cm;0cm}{tracknam.png}}% \caption{Track name, midi channel etc.}% \end{figure}} @@ -411,7 +411,7 @@ \subsection{Replicate}\label{replicate} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{replic.ps}}% +\latexonly{\includegraphics[scale=0.5]{replic.png}}% \htmlonly{\image{0cm;0cm}{replic.png}}% \caption{Replicate dialog}% \end{figure}} @@ -449,7 +449,7 @@ \subsection{Delete}\label{delete} \xlpignore{\begin{figure}% -\latexonly{\image{6cm;0cm}{delete.ps}}% +\latexonly{\includegraphics[scale=0.5]{delete.png}}% \htmlonly{\image{0cm;0cm}{delete.png}}% \caption{Delete dialog}% \end{figure}} @@ -472,7 +472,7 @@ nearest step-timing value). Only Note-On events are changed. \xlpignore{\begin{figure}% -\latexonly{\image{8cm;0cm}{quantize.ps}}% +\latexonly{\includegraphics[scale=0.5]{quantize.png}}% \htmlonly{\image{0cm;0cm}{quantize.png}}% \caption{Quantize dialog}% \end{figure}} @@ -497,7 +497,7 @@ The selected events will be set to the selected MIDI Channel. \xlpignore{\begin{figure}% -\latexonly{\image{8cm;0cm}{setchan.ps}}% +\latexonly{\includegraphics[scale=0.5]{setchan.png}}% \htmlonly{\image{0cm;0cm}{setchan.png}}% \caption{Set MIDI channel dialog}% \end{figure}} @@ -506,7 +506,7 @@ \subsection{Transpose}\label{transpose} \xlpignore{\begin{figure}% -\latexonly{\image{8cm;0cm}{transpos.ps}}% +\latexonly{\includegraphics[scale=0.5]{transpos.png}}% \htmlonly{\image{0cm;0cm}{transpos.png}}% \caption{Transpose dialog}% \end{figure}} @@ -532,7 +532,7 @@ \subsection{Velocity}\label{veloc} \xlpignore{\begin{figure}% -\latexonly{\image{8cm;0cm}{veloc.ps}}% +\latexonly{\includegraphics[scale=0.5]{veloc.png}}% \htmlonly{\image{0cm;0cm}{veloc.png}}% \caption{Set velocity dialog}% \end{figure}} @@ -551,7 +551,7 @@ \subsection{Shift}\label{shift} \xlpignore{\begin{figure}% -\latexonly{\image{8cm;0cm}{shift.ps}}% +\latexonly{\includegraphics[scale=0.5]{shift.png}}% \htmlonly{\image{0cm;0cm}{shift.png}}% \caption{Shift dialog}% \end{figure}} @@ -562,7 +562,7 @@ \subsection{Cleanup}\label{cleanup} \xlpignore{\begin{figure}% -\latexonly{\image{6cm;0cm}{cleanup.ps}}% +\latexonly{\includegraphics[scale=0.5]{cleanup.png}}% \htmlonly{\image{0cm;0cm}{cleanup.png}}% \caption{Cleanup dialog}% \end{figure}} @@ -579,7 +579,7 @@ \subsection{Search Replace}\label{search} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{search.ps}}% +\latexonly{\includegraphics[scale=0.5]{search.png}}% \htmlonly{\image{0cm;0cm}{search.png}}% \caption{Search Replace dialog}% \end{figure}} @@ -621,7 +621,7 @@ Setting of default {\em Volume}, {\em Pan}, {\em Reverb} and {\em Chorus}. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{mixer.ps}}% +\latexonly{\includegraphics[scale=0.5]{mixer.png}}% \htmlonly{\image{0cm;0cm}{mixer.png}}% \caption{Mixer window}% \end{figure}} @@ -752,7 +752,7 @@ e.g. 'Delete' and 'Replicate'. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{filter.ps}}% +\latexonly{\includegraphics[scale=0.5]{filter.png}}% \htmlonly{\image{0cm;0cm}{filter.png}}% \caption{Event filter dialog}% \end{figure}} @@ -776,7 +776,7 @@ \subsection{Song}\label{songset} \xlpignore{\begin{figure}% -\latexonly{\image{10cm;0cm}{songset.ps}}% +\latexonly{\includegraphics[scale=0.5]{songset.png}}% \htmlonly{\image{0cm;0cm}{songset.png}}% \caption{Song settings dialog}% \end{figure}} @@ -800,7 +800,7 @@ \subsection{Metronome Settings}\label{metroset} \xlpignore{\begin{figure}% -\latexonly{\image{10cm;0cm}{metroset.ps}}% +\latexonly{\includegraphics[scale=0.5]{metroset.png}}% \htmlonly{\image{0cm;0cm}{metroset.png}}% \caption{Metronome settings dialog}% \end{figure}} @@ -923,7 +923,7 @@ \subsection{Synthesizer Type Settings}\label{synthtype} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{syntype.ps}}% +\latexonly{\includegraphics[scale=0.5]{syntype.png}}% \htmlonly{\image{0cm;0cm}{syntype.png}}% \caption{Setting of synthesizer type}% \end{figure}} @@ -1012,7 +1012,7 @@ \subsection{Meterchange}\label{meterchange} \xlpignore{\begin{figure}% -\latexonly{\image{6cm;0cm}{meter.ps}}% +\latexonly{\includegraphics[scale=0.5]{meter.png}}% \htmlonly{\image{0cm;0cm}{meter.png}}% \caption{Meter change dialog}% \end{figure}} @@ -1034,12 +1034,12 @@ \subsection{Harmony browser}\label{hbrowser} \latexonly{\begin{figure}% -\image{13cm;0cm}{hb.ps}% +\includegraphics[scale=0.5]{hb.png}% \caption{Harmony browser}% \end{figure}} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{hbtoolb.ps}}% +\latexonly{\includegraphics[scale=0.5]{hbtoolb.png}}% \htmlonly{\image{0cm;0cm}{hbtoolb.png}}% \caption{Harmony browser toolbar}% \end{figure}} @@ -1187,12 +1187,12 @@ \subsection{Random rhythm generator}\label{randrhy} \latexonly{\begin{figure}% -\image{13cm;0cm}{rrg.ps}% +\includegraphics[scale=0.5]{rrg.png}% \caption{Random rhythm generator}% \end{figure}} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{rrgtoolb.ps}}% +\latexonly{\includegraphics[scale=0.5]{rrgtoolb.png}}% \htmlonly{\image{0cm;0cm}{rrgtoolb.png}}% \caption{Random rhythm generator toolbar}% \end{figure}} @@ -1639,7 +1639,7 @@ mouse button into the trackwindow. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{pianowin.ps}}% +\latexonly{\includegraphics[scale=0.5]{pianowin.png}}% \htmlonly{\image{0cm;0cm}{pianowin.png}}% \caption{Piano Window}% \end{figure}} @@ -1649,7 +1649,7 @@ \section{Toolbar}\label{pwtoolbar} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{pwtoolb.ps}}% +\latexonly{\includegraphics[scale=0.5]{pwtoolb.png}}% \htmlonly{\image{0cm;0cm}{pwtoolb.png}}% \caption{Pianowin toolbar}% \end{figure}} @@ -1766,7 +1766,7 @@ \section{Edit/create single events}\label{pweventedit} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{eventdlg.ps}}% +\latexonly{\includegraphics[scale=0.5]{eventdlg.png}}% \htmlonly{\image{0cm;0cm}{eventdlg.png}}% \caption{Example of event editing dialog}% \end{figure}} @@ -1810,7 +1810,7 @@ \subsection{Events}\label{pwevents} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{pwevents.ps}}% +\latexonly{\includegraphics[scale=0.5]{pwevents.png}}% \htmlonly{\image{0cm;0cm}{pwevents.png}}% \caption{Pianowin show-events dialog}% \end{figure}} @@ -1847,7 +1847,7 @@ \subsection{Edit Pitch and others} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{pitched.ps}}% +\latexonly{\includegraphics[scale=0.5]{pitched.png}}% \htmlonly{\image{0cm;0cm}{pitched.png}}% \caption{Graphical editing in Pianowin}% \end{figure}} @@ -1924,7 +1924,7 @@ on the audio track corresponds to a sample you just defined. \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{audiotrk.ps}}% +\latexonly{\includegraphics[scale=0.5]{audiotrk.png}}% \htmlonly{\image{0cm;0cm}{audiotrk.png}}% \caption{Audio track in pianowin}% \end{figure}} @@ -1979,7 +1979,7 @@ \subsection{Global Settings}\label{globalsettings} \xlpignore{\begin{figure}% -\latexonly{\image{5cm;0cm}{audioset.ps}}% +\latexonly{\includegraphics[scale=0.5]{audioset.png}}% \htmlonly{\image{0cm;0cm}{audioset.png}}% \caption{Global audio settings dialog}% \end{figure}} @@ -2019,7 +2019,7 @@ \subsection{Sample Settings}\label{samplesettings} \xlpignore{\begin{figure}% -\latexonly{\image{7cm;0cm}{sampset.ps}}% +\latexonly{\includegraphics[scale=0.5]{sampset.png}}% \htmlonly{\image{0cm;0cm}{sampset.png}}% \caption{Sample settings dialog}% \end{figure}} @@ -2063,7 +2063,7 @@ \section{Sample Editor}\label{samplewin} \xlpignore{\begin{figure}% -\latexonly{\image{13cm;0cm}{sampedit.ps}}% +\latexonly{\includegraphics[scale=0.5]{sampedit.png}}% \htmlonly{\image{0cm;0cm}{sampedit.png}}% \caption{Sample editor}% \end{figure}} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2008-05-11 03:13:10
|
Revision: 505 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=505&view=rev Author: pstieber Date: 2008-05-10 20:13:08 -0700 (Sat, 10 May 2008) Log Message: ----------- Since I'm removing PostScript documentation builds, these files are no longer needed. Removed Paths: ------------- trunk/jazz/doc/psbjoin.aux trunk/jazz/doc/psbox.tex Deleted: trunk/jazz/doc/psbjoin.aux =================================================================== --- trunk/jazz/doc/psbjoin.aux 2008-05-11 03:08:17 UTC (rev 504) +++ trunk/jazz/doc/psbjoin.aux 2008-05-11 03:13:08 UTC (rev 505) @@ -1,39 +0,0 @@ -\joinfiles -jazz, -jzwins.ps, -trackwin.ps, -twtoolb.ps, -twselect.ps, -recplay.ps, -speed.ps, -trackdef.ps, -tracknam.ps, -replic.ps, -delete.ps, -quantize.ps, -setchan.ps, -transpos.ps, -veloc.ps, -shift.ps, -cleanup.ps, -search.ps, -mixer.ps, -filter.ps, -songset.ps, -metroset.ps, -syntype.ps, -meter.ps, -hb.ps, -hbtoolb.ps, -rrg.ps, -rrgtoolb.ps, -pianowin.ps, -pwtoolb.ps, -eventdlg.ps, -pwevents.ps, -pitched.ps, -audiotrk.ps, -audioset.ps, -sampset.ps, -sampedit.ps, -jazz.aux, Deleted: trunk/jazz/doc/psbox.tex =================================================================== --- trunk/jazz/doc/psbox.tex 2008-05-11 03:08:17 UTC (rev 504) +++ trunk/jazz/doc/psbox.tex 2008-05-11 03:13:08 UTC (rev 505) @@ -1,520 +0,0 @@ -% -% %%%%%%% %%%%% %%%%%% %%%%% % % -% % % % % % % % % % -% % % % % % % % % % -% %%%%%%% %%%%% %%%%%% % % % -% % % % % % % % % -% % % % % % % % % -% % %%%%%% %%%%%% %%%%% % % -% -% By Jean Orloff -% Comments & suggestions by e-mail: OR...@su... -% No modification of this file allowed if not e-sent to me. -% -% A simple way to measure the size of encapsulated postscript figures -% from inside TeX, and to use it for automatically formatting texts -% with inserted figures. Works both under Plain TeX-based macros -% (Phyzzx, Harvmac, Psizzl, ...) and LaTeX environment. -% Provides exactly the same result on any PostScript printer provided -% the single instruction \psfor... is changed to fit the needs of the -% particular dvi->ps translator used. -% History: -% 1.31: adds \psforDVIALW(?) -% 1.30: adds \splitfile & \joinfiles for multi-file management -% 1.24: fix error handling & add \psonlyboxes -% 1.23: adds \putsp@ce for OzTeX fix -% 1.22: makes \drawingBox \global for use in Phyzzx -% 1.21: accepts %%BoundingBox: (atend) -% 1.20: tries to add \psfordvitps for the TeXPS package. -% 1.10: adds \psforoztex, error handling... -%2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 2345678 7 23456789 -% -\def\temp{1.31} -\let\tempp=\relax -\expandafter\ifx\csname psboxversion\endcsname\relax - \message{version: \temp} -\else - \ifdim\temp cm>\psboxversion cm - \message{version: \temp} - \else - \message{psbox(\psboxversion) is already loaded: I won't load - psbox(\temp)!} - \let\temp=\psboxversion - \let\tempp=\endinput - \fi -\fi -\tempp -\let\psboxversion=\temp -\catcode`\@=11 -% Every macro likes a little privacy... -% -% Some common defs -% -\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution -\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -\def\executeinspecs#1{% -\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}} -% -%Trying to tame the variety of \special commands for Postscript: the -% universal internal command \PSspeci@l##1##2 takes ##1 to be the -% filename and ##2 to be the integer scale factor*1000 (as for usual -% TeX \scale commands) -% -\def\psfortextures{% For TeXtures on the Macintosh -%----------------- -\def\PSspeci@l##1##2{% -\special{illustration ##1\space scaled ##2}% -}} -% -\def\psfordvitops{% For the DVItoPS converter on IBM mainframes -%---------------- -\def\PSspeci@l##1##2{% -\special{dvitops: import ##1\space \the\drawingwd \the\drawinght}% -}} -% -\def\psfordvips{% For DVIPS converter on VAX, UNIX and PC's -%-------------- -\def\PSspeci@l##1##2{% -% \special{/@scaleunit 1000 def}% never read dox without trying! -\d@my=0.1bp \d@mx=\drawingwd \divide\d@mx by\d@my% -\special{PSfile=##1\space llx=\psllx\space lly=\pslly\space% -urx=\psurx\space ury=\psury\space rwi=\number\d@mx}% -}} -% -\def\psforoztex{% For the OzTeX shareware on the Macintosh -%-------------- -\def\PSspeci@l##1##2{% -\special{##1 \space - ##2 1000 div dup scale - \putsp@ce{\number-\psllx} \putsp@ce{\number-\pslly} translate -}% -}} -\def\putsp@ce#1{#1 } -% -\def\psfordvitps{% From the UNIX TeXPS package, vers.>3.12 -%--------------- -% Convert a dimension into the number \psn@sp (in scaled points) -\def\psdimt@n@sp##1{\d@mx=##1\relax\edef\psn@sp{\number\d@mx}} -\def\PSspeci@l##1##2{% -% psfig.psr contains the def of "startTexFig": if you can locate it -% and include the correct pathname, it should work -\special{dvitps: Include0 "psfig.psr"}% contains def of "startTexFig" -\psdimt@n@sp{\drawingwd} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\drawinght} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psllx bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\pslly bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psurx bp} -\special{dvitps: Literal "\psn@sp\space"} -\psdimt@n@sp{\psury bp} -\special{dvitps: Literal "\psn@sp\space startTexFig\space"} -\special{dvitps: Include1 "##1"} -\special{dvitps: Literal "endTexFig\space"} -}} -\def\psforDVIALW{% Try for dvialw, a UNIX public domain -%--------------- -\def\PSspeci@l##1##2{ -\special{language "PS" -literal "##2 1000 div dup scale" -include "##1"}}} -\def\psonlyboxes{% Draft-like behaviour if none of the others works -%--------------- -\def\PSspeci@l##1##2{% -\at(0cm;0cm){\boxit{\vbox to\drawinght - {\vss - \hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1)}}\hss} - }}} -}% -} -% -\def\psloc@lerr#1{% -\let\savedPSspeci@l=\PSspeci@l% -\def\PSspeci@l##1##2{% -\at(0cm;0cm){\boxit{\vbox to\drawinght - {\vss - \hbox to\drawingwd{\at(0cm;0cm){\hbox{(##1) #1}}\hss} - }}} -\let\PSspeci@l=\savedPSspeci@l% restore normal output for other figs! -}% -} -% -%\def\psfor... add your own! -% -% \ReadPSize{PSfilename} reads the dimensions of a PostScript drawing -% and stores it in \drawinght(wd) -\newread\pst@mpin -\newdimen\drawinght\newdimen\drawingwd -\newdimen\psxoffset\newdimen\psyoffset -\newbox\drawingBox -\newif\ifNotB@undingBox -\newhelp\PShelp{Proceed: you'll have a 5cm square blank box instead of -your graphics (Jean Orloff).} -\def\@mpty{} -\def\s@tsize#1 #2 #3 #4\@ndsize{ - \def\psllx{#1}\def\pslly{#2}% - \def\psurx{#3}\def\psury{#4}% needed by a crazyness of dvips! - \ifx\psurx\@mpty\NotB@undingBoxtrue% this is not a valid one! - \else - \drawinght=#4bp\advance\drawinght by-#2bp - \drawingwd=#3bp\advance\drawingwd by-#1bp -% !Units related by crazy factors as bp/pt=72.27/72 should be BANNED! - \fi - } -\def\sc@nline#1:#2\@ndline{\edef\p@rameter{#1}\edef\v@lue{#2}} -\def\g@bblefirstblank#1#2:{\ifx#1 \else#1\fi#2} -\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -\def\execute#1{#1}% Seems stupid, but cs are identified BEFORE execution -{\catcode`\%=12 -\xdef\B@undingBox{%%BoundingBox} -} %% is not a true comment in PostScript, even if % is! -\def\ReadPSize#1{ - \edef\PSfilename{#1} - \openin\pst@mpin=#1\relax - \ifeof\pst@mpin \errhelp=\PShelp - \errmessage{I haven't found your postscript file (\PSfilename)} - \psloc@lerr{was not found} - \s@tsize 0 0 142 142\@ndsize - \closein\pst@mpin - \else - \immediate\write\psbj@inaux{#1,} - \loop - \executeinspecs{\catcode`\ =10\global\read\pst@mpin to\n@xtline} - \ifeof\pst@mpin - \errhelp=\PShelp - \errmessage{(\PSfilename) is not an Encapsulated PostScript File: - I could not find any \B@undingBox: line.} - \edef\v@lue{0 0 142 142:} - \psloc@lerr{is not an EPSFile} - \NotB@undingBoxfalse - \else - \expandafter\sc@nline\n@xtline:\@ndline - \ifx\p@rameter\B@undingBox\NotB@undingBoxfalse - \edef\t@mp{% - \expandafter\g@bblefirstblank\v@lue\space\space\space} - \expandafter\s@tsize\t@mp\@ndsize - \else\NotB@undingBoxtrue - \fi - \fi - \ifNotB@undingBox\repeat - \closein\pst@mpin - \fi -\message{#1} -} -% -% \psboxto(xdim;ydim){psfilename}: you specify the dimensions and -% TeX uniformly scales to fit the largest one. If xdim=0pt, the -% scale is fully determined by ydim and vice versa. -% Notice: psboxes are a real vboxes; couldn't take hbox otherwise all -% indentation and all cr's would be interpreted as spaces (hugh!). -% -\newcount\xscale \newcount\yscale \newdimen\pscm\pscm=1cm -\newdimen\d@mx \newdimen\d@my -\let\ps@nnotation=\relax -\def\psboxto(#1;#2)#3{\vbox{ - \ReadPSize{#3} - \divide\drawingwd by 1000 - \divide\drawinght by 1000 - \d@mx=#1 - \ifdim\d@mx=0pt\xscale=1000 - \else \xscale=\d@mx \divide \xscale by \drawingwd\fi - \d@my=#2 - \ifdim\d@my=0pt\yscale=1000 - \else \yscale=\d@my \divide \yscale by \drawinght\fi - \ifnum\yscale=1000 - \else\ifnum\xscale=1000\xscale=\yscale - \else\ifnum\yscale<\xscale\xscale=\yscale\fi - \fi - \fi - \divide \psxoffset by 1000\multiply\psxoffset by \xscale - \divide \psyoffset by 1000\multiply\psyoffset by \xscale - \global\divide\pscm by 1000 - \global\multiply\pscm by\xscale - \multiply\drawingwd by\xscale \multiply\drawinght by\xscale - \ifdim\d@mx=0pt\d@mx=\drawingwd\fi - \ifdim\d@my=0pt\d@my=\drawinght\fi - \message{scaled \the\xscale} - \hbox to\d@mx{\hss\vbox to\d@my{\vss - \global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{ - \kern-\psyoffset - \PSspeci@l{\PSfilename}{\the\xscale} - \vss}\hss\ps@nnotation} - \global\ht\drawingBox=\the\drawinght - \global\wd\drawingBox=\the\drawingwd - \baselineskip=0pt - \copy\drawingBox - \vss}\hss} - \global\psxoffset=0pt - \global\psyoffset=0pt% These are local to one figure - \global\pscm=1cm - \global\drawingwd=\drawingwd - \global\drawinght=\drawinght -}} -% -% \psboxscaled{scalefactor*1000}{PSfilename} allows to bypass the -% rounding errors of TeX integer divisions for situations where the -% TeX box should fit the original BoundingBox with a precision better -% than 1/1000. -% -\def\psboxscaled#1#2{\vbox{ - \ReadPSize{#2} - \xscale=#1 - \message{scaled \the\xscale} - \divide\drawingwd by 1000\multiply\drawingwd by\xscale - \divide\drawinght by 1000\multiply\drawinght by\xscale - \divide \psxoffset by 1000\multiply\psxoffset by \xscale - \divide \psyoffset by 1000\multiply\psyoffset by \xscale - \global\divide\pscm by 1000 - \global\multiply\pscm by\xscale - \global\setbox\drawingBox=\hbox to 0pt{\kern\psxoffset\vbox to 0pt{ - \kern-\psyoffset - \PSspeci@l{\PSfilename}{\the\xscale} - \vss}\hss\ps@nnotation} - \global\ht\drawingBox=\the\drawinght - \global\wd\drawingBox=\the\drawingwd - \baselineskip=0pt - \copy\drawingBox - \global\psxoffset=0pt - \global\psyoffset=0pt% These are local to one figure - \global\pscm=1cm - \global\drawingwd=\drawingwd - \global\drawinght=\drawinght -}} -% -% \psbox{PSfilename} makes a TeX box having the minimal size to -% enclose the picture -\def\psbox#1{\psboxscaled{1000}{#1}} -% -% -% \joinfiles file1, file2, ...n \into joinedfilename . -% makes one file out of many -% \splitfile joinedfilename -% the opposite -% -%\def\execute#1{#1}% NOT stupid: cs in #1 are then identified BEFORE execution -%\def\psm@keother#1{\catcode`#112\relax}% borrowed from latex -%\def\executeinspecs#1{% -%\execute{\begingroup\let\do\psm@keother\dospecials\catcode`\^^M=9#1\endgroup}} -%\newread\pst@mpin -\newif\ifn@teof\n@teoftrue -\newif\ifc@ntrolline -\newif\ifmatch -\newread\j@insplitin -\newwrite\j@insplitout -\newwrite\psbj@inaux -\immediate\openout\psbj@inaux=psbjoin.aux -\immediate\write\psbj@inaux{\string\joinfiles} -\immediate\write\psbj@inaux{\jobname,} -% -% We redefine input to keep track of the various files inputted -% -\immediate\let\oldinput=\input -\def\input#1 { - \immediate\write\psbj@inaux{#1,} - \oldinput #1 } -\def\empty{} -\def\setmatchif#1\contains#2{ - \def\match##1#2##2\endmatch{ - \def\tmp{##2} - \ifx\empty\tmp - \matchfalse - \else - \matchtrue - \fi} - \match#1#2\endmatch} -\def\warnopenout#1#2{ - \setmatchif{TrashMe,psbjoin.aux,psbjoin.all}\contains{#2} - \ifmatch - \else - \immediate\openin\pst@mpin=#2 - \ifeof\pst@mpin - \else - \errhelp{If the content of this file is so precious to you, abort (ie -press x or e) and rename it before retrying.} - \errmessage{I'm just about to replace your file named #2} - \fi - \immediate\closein\pst@mpin - \fi - \message{#2} - \immediate\openout#1=#2} -% No comments allowed below: % will have an unusual catcode -{ -\catcode`\%=12 -\gdef\splitfile#1 { - \immediate\openin\j@insplitin=#1 - \message{Splitting file #1 into:} - \warnopenout\j@insplitout{TrashMe} - \loop - \ifeof - \j@insplitin\immediate\closein\j@insplitin\n@teoffalse - \else - \n@teoftrue - \executeinspecs{\global\read\j@insplitin to\spl@tinline\expandafter - \ch@ckbeginnewfile\spl@tinline%Beginning-Of-File-Named:%\endcheck} - \ifc@ntrolline - \else - \toks0=\expandafter{\spl@tinline} - \immediate\write\j@insplitout{\the\toks0} - \fi - \fi - \ifn@teof\repeat - \immediate\closeout\j@insplitout} -\gdef\ch@ckbeginnewfile#1%Beginning-Of-File-Named:#2%#3\endcheck{ - \def\t@mp{#1} - \ifx\empty\t@mp - \def\t@mp{#3} - \ifx\empty\t@mp - \global\c@ntrollinefalse - \else - \immediate\closeout\j@insplitout - \warnopenout\j@insplitout{#2} - \global\c@ntrollinetrue - \fi - \else - \global\c@ntrollinefalse - \fi} -\gdef\joinfiles#1\into#2 { - \message{Joining following files into} - \warnopenout\j@insplitout{#2} - \message{:} - { - \edef\w@##1{\immediate\write\j@insplitout{##1}} - \w@{% This text was produced with psbox's \string\joinfiles.} - \w@{% To decompose and tex it:} - \w@{%-save this with a filename CONTAINING ONLY LETTERS, and no extensions} - \w@{% (say, JOINTFIL), in some uncrowded directory;} - \w@{%-make sure you can \string\input\space psbox.tex (version>=1.3);} - \w@{%-tex JOINTFIL using Plain, or LaTeX, or whatever is needed by} - \w@{% the first part in the joining (after splitting JOINTFIL into} - \w@{% it's constituents, TeX will try to process it as it stands).} - \w@{\string\input\space psbox.tex} - \w@{\string\splitfile{\string\jobname}} - } - \tre@tfilelist#1, \endtre@t - \immediate\closeout\j@insplitout} -\gdef\tre@tfilelist#1, #2\endtre@t{ - \def\t@mp{#1} - \ifx\empty\t@mp - \else - \llj@in{#1} - \tre@tfilelist#2, \endtre@t - \fi} -\gdef\llj@in#1{ - \immediate\openin\j@insplitin=#1 - \ifeof\j@insplitin - \errmessage{I couldn't find file #1.} - \else - \message{#1} - \toks0={%Beginning-Of-File-Named:#1} - \immediate\write\j@insplitout{\the\toks0} - \executeinspecs{\global\read\j@insplitin to\oldj@ininline} - \loop - \ifeof\j@insplitin\immediate\closein\j@insplitin\n@teoffalse - \else\n@teoftrue - \executeinspecs{\global\read\j@insplitin to\j@ininline} - \toks0=\expandafter{\oldj@ininline} - \let\oldj@ininline=\j@ininline - \immediate\write\j@insplitout{\the\toks0} - \fi - \ifn@teof - \repeat - \immediate\closein\j@insplitin - \fi} -} -% To be put at the end of a file, for making an tar-like file containing -% everything it used. -\def\autojoin{ - \immediate\write\psbj@inaux{\string\into\space psbjoin.all} - \immediate\closeout\psbj@inaux - \input psbjoin.aux -} -% -% Annotations & Captions etc... -% -% -% \centinsert{anybox} is just a centered \midinsert, but is included as -% people barely use the original inserts from TeX. -% -\def\centinsert#1{\midinsert\line{\hss#1\hss}\endinsert} -\def\psannotate#1#2{\def\ps@nnotation{#2\global\let\ps@nnotation=\relax}#1} -\def\pscaption#1#2{\vbox{ - \setbox\drawingBox=#1 - \copy\drawingBox - \vskip\baselineskip - \vbox{\hsize=\wd\drawingBox\setbox0=\hbox{#2} - \ifdim\wd0>\hsize - \noindent\unhbox0\tolerance=5000 - \else\centerline{\box0} - \fi -}}} -% for compatibility with older versions -\def\psfig#1#2#3{\pscaption{\psannotate{#1}{#2}}{#3}} -\def\psfigurebox#1#2#3{\pscaption{\psannotate{\psbox{#1}}{#2}}{#3}} -% -% \at(#1;#2)#3 puts #3 at #1-higher and #2-right of the current -% position without moving it (to be used in annotations). -\def\at(#1;#2)#3{\setbox0=\hbox{#3}\ht0=0pt\dp0=0pt - \rlap{\kern#1\vbox to0pt{\kern-#2\box0\vss}}} -% -% \gridfill(ht;wd) makes a 1cm*1cm grid of ht by wd whose lower-left -% corner is the current point -\newdimen\gridht \newdimen\gridwd -\def\gridfill(#1;#2){ - \setbox0=\hbox to 1\pscm - {\vrule height1\pscm width.4pt\leaders\hrule\hfill} - \gridht=#1 - \divide\gridht by \ht0 - \multiply\gridht by \ht0 - \gridwd=#2 - \divide\gridwd by \wd0 - \multiply\gridwd by \wd0 - \advance \gridwd by \wd0 - \vbox to \gridht{\leaders\hbox to\gridwd{\leaders\box0\hfill}\vfill}} -% -% Useful to measure where to put annotations -\def\fillinggrid{\at(0cm;0cm){\vbox{ - \gridfill(\drawinght;\drawingwd)}}} -% -% \textleftof\anybox: Sample text\endtext -% inserts "Sample text" on the left of \anybox ie \vbox, \psbox. -% \textrightof is the symmetric (not documented, too uggly) -% Welcome any suggestion about clean wraparound macros from -% TeXhackers reading this -% -\def\textleftof#1:{ - \setbox1=#1 - \setbox0=\vbox\bgroup - \advance\hsize by -\wd1 \advance\hsize by -2em} -\def\textrightof#1:{ - \setbox0=#1 - \setbox1=\vbox\bgroup - \advance\hsize by -\wd0 \advance\hsize by -2em} -\def\endtext{ - \egroup - \hbox to \hsize{\valign{\vfil##\vfil\cr% -\box0\cr% -\noalign{\hss}\box1\cr}}} -% -% \frameit{\thick}{\skip}{\anybox} -% draws with thickness \thick a box around \anybox, leaving \skip of -% blank around it. eg \frameit{0.5pt}{1pt}{\hbox{hello}} -% \boxit{\anybox} is a shortcut. -\def\frameit#1#2#3{\hbox{\vrule width#1\vbox{ - \hrule height#1\vskip#2\hbox{\hskip#2\vbox{#3}\hskip#2}% - \vskip#2\hrule height#1}\vrule width#1}} -\def\boxit#1{\frameit{0.4pt}{0pt}{#1}} -% -% -\catcode`\@=12 % cs containing @ are unreachable -% -% CUSTOMIZE YOUR DEFAULT DRIVER: -% Uncomment the line corresponding to your TeX system: -%\psfortextures% For TeXtures on the Macintosh -%\psforoztex % For OzTeX shareware on the Macintosh -%\psfordvitops % For the DVItoPS converter for TeX on IBM mainframes - \psfordvips % For DVIPS converter on VAX and UNIX -%\psfordvitps % For dvitps from TeXPS package under UNIX -%\psforDVIALW % For DVIALW, UNIX public domain -%\psonlyboxes % Blank Boxes (when all else fails). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |