Overview
Comment:Generate pdf from ps (using hyperref package for links etc)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: d2aa5b8490abf5fba441b2d7c82607fd3d6b344e531724bac10f6b321041026b
User & Date: gawthrop@users.sourceforge.net on 2003-05-08 18:43:09
Other Links: branch diff | manifest | tags
Context
2003-05-08
18:46:45
Fixed range bug by using struct_contains in place of exists check-in: 15aa996ed3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
18:43:09
Generate pdf from ps (using hyperref package for links etc) check-in: d2aa5b8490 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-04-17
20:57:29
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!!! check-in: 773822c9b4 user: geraint@users.sourceforge.net tags: origin/master, trunk

Changes

Modified mttroot/mtt/bin/mtt from [df325aac7a] to [873a3aeb91].

13
14
15
16
17
18
19






20
21
22
23
24
25
26
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## Version control history
###############################################################
## $Header$
## $Log$






## 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
##
## Revision 1.371  2003/03/13 15:47:35  gawthrop







>
>
>
>
>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (C) 2001 by Peter J. Gawthrop

###############################################################
## 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
##
## Revision 1.371  2003/03/13 15:47:35  gawthrop
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
		num_tmp_var=$2;
		mtt_switches="$mtt_switches $1 $2";
		shift;;
	-partition ) mtt_switches="$mtt_switches $1";
                     partition='-partition';
                ;;
	-pdf )   mtt_switches="$mtt_switches $1";
                 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
		    read_dirs="${read_dirs} ${read_dir}"
		else







|
|
|







1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
		num_tmp_var=$2;
		mtt_switches="$mtt_switches $1 $2";
		shift;;
	-partition ) mtt_switches="$mtt_switches $1";
                     partition='-partition';
                ;;
	-pdf )   mtt_switches="$mtt_switches $1";
                 ## 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
		    read_dirs="${read_dirs} ${read_dir}"
		else
2311
2312
2313
2314
2315
2316
2317





2318
2319
2320
2321
2322
2323
2324
# Cancel implicit rules I don't want
%.dvi: %.tex

# 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






.PRECIOUS: mtt_%.oct
.PRECIOUS: $1_%.oct
mtt_%.oct: mtt_%.cc
	echo Compiling \$<
	${MKOCTFILE} ${MTT_CXXINCS} -DCODEGENTARGET=OCTAVEDLD $define_octave_dev \$<








>
>
>
>
>







2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
# Cancel implicit rules I don't want
%.dvi: %.tex

# 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 \$<
	${MKOCTFILE} ${MTT_CXXINCS} -DCODEGENTARGET=OCTAVEDLD $define_octave_dev \$<

Modified mttroot/mtt/bin/trans/mtt.sty from [c827d4bd91] to [9e38311960].

8
9
10
11
12
13
14



15
16
17
18
19
20
21
% Copyright (c) P.J.Gawthrop, 1997.

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$



% %% 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:
% %% added hyperef
% %% put fig stuff into mtt_ps.sty and mtt_pdf.sty







>
>
>







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% Copyright (c) P.J.Gawthrop, 1997.

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% 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:
% %% added hyperef
% %% put fig stuff into mtt_ps.sty and mtt_pdf.sty
35
36
37
38
39
40
41

42
43
44
45
46
47
48
% %% Revision 1.1  1997/05/19 16:48:10  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Font
\usepackage{times}


%Verbatim file input
\usepackage{verbatim}
\usepackage{moreverb}

%Long tables
\usepackage{supertabular}







>







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
% %% Revision 1.1  1997/05/19 16:48:10  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Font
\usepackage{times}
\usepackage{mathptm}

%Verbatim file input
\usepackage{verbatim}
\usepackage{moreverb}

%Long tables
\usepackage{supertabular}

Modified mttroot/mtt/bin/trans/mtt_ps.sty from [79c662d271] to [310acee4ec].

13
14
15
16
17
18
19




        \includegraphics[width=#3\linewidth,height=18cm,keepaspectratio]{#1.ps}
        }
        \caption{#4}
      \label{fig:#2}
    \end{center}
  \end{figure}
  }











>
>
>
>
13
14
15
16
17
18
19
20
21
22
23
        \includegraphics[width=#3\linewidth,height=18cm,keepaspectratio]{#1.ps}
        }
        \caption{#4}
      \label{fig:#2}
    \end{center}
  \end{figure}
  }


% Hyper stuff
\usepackage[dvips]{hyperref}


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]