Index: mttroot/mtt/bin/mtt ================================================================== --- mttroot/mtt/bin/mtt +++ mttroot/mtt/bin/mtt @@ -15,10 +15,16 @@ ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ +## Revision 1.374 2003/04/17 20:57:27 geraint +## Added -sort option to allow direct generation of ode2odes.m using sese.m +## instead of ode/csex. +## +## "mtt -sort rc odeso view" works without Reduce installed!!! +## ## Revision 1.373 2003/04/17 20:07:32 geraint ## Added rule to create _sese.m ## ## Revision 1.372 2003/03/24 12:03:36 gawthrop ## Added -I switch to sese transformation @@ -1542,13 +1548,13 @@ shift;; -partition ) mtt_switches="$mtt_switches $1"; partition='-partition'; ;; -pdf ) mtt_switches="$mtt_switches $1"; - ps=pdf; - eps=pdf; - pdf='-pdf'; + ## ps=pdf; + ## eps=pdf; + ## pdf='-pdf'; psview=$PDFVIEW; ;; -dr ) mtt_switches="$mtt_switches $1"; shift mtt_switches="$mtt_switches $1"; read_dir=$1 if [ -d "${read_dir}" ]; then @@ -2313,10 +2319,15 @@ # MTT implicit rules ## .oct files $1_%.oct: $1_%.cc $1_def.h $1_sympar.h $1_cr.h echo Creating $1_\$*.oct; $MKOCTFILE ${MTT_CXXINCS} -DCODEGENTARGET=OCTAVEDLD $1_\$*.cc + +## pdf files from ps (new version) +$1_%.pdf: $1_%.ps + echo Creating $1_\$*.pdf; ps2pdf $1_\$*.ps $1_\$*.pdf + .PRECIOUS: mtt_%.oct .PRECIOUS: $1_%.oct mtt_%.oct: mtt_%.cc echo Compiling \$< Index: mttroot/mtt/bin/trans/mtt.sty ================================================================== --- mttroot/mtt/bin/trans/mtt.sty +++ mttroot/mtt/bin/trans/mtt.sty @@ -10,10 +10,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.8 2000/12/01 14:15:16 peterg +% %% Removed hyperref stuff to mtt_pdf.sty +% %% % %% Revision 1.7 2000/11/28 18:28:29 peterg % %% Removed fancy box - messes up TOC % %% % %% Revision 1.6 2000/11/28 18:09:06 peterg % %% Tidied up: @@ -37,10 +40,11 @@ % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Font \usepackage{times} +\usepackage{mathptm} %Verbatim file input \usepackage{verbatim} \usepackage{moreverb} Index: mttroot/mtt/bin/trans/mtt_ps.sty ================================================================== --- mttroot/mtt/bin/trans/mtt_ps.sty +++ mttroot/mtt/bin/trans/mtt_ps.sty @@ -15,5 +15,9 @@ \caption{#4} \label{fig:#2} \end{center} \end{figure} } + + +% Hyper stuff +\usepackage[dvips]{hyperref}