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. |