Commit | Line | Data |
---|---|---|
4dd335d4 JM |
1 | Description: Port MLRISC latex documentation to epsfig.sty |
2 | Upstream uses the deprecated psfig.sty package, which is no longer in | |
3 | TeXLive 2009. This patch uses the drop-in substitute wrapper, epsfig.sty. | |
4 | . | |
5 | The long-term solution will be to port the documentation to use the | |
6 | graphicx package directly. | |
7 | Forwarded: http://smlnj-gforge.cs.uchicago.edu/tracker/index.php?func=detail&aid=53&group_id=33&atid=215 | |
8 | Author: Daniel Moerner <dmoerner@gmail.com> | |
9 | Last-Update: 2010-02-09 | |
10 | ||
11 | diff --git a/MLRISC/Doc/latex/graphs.tex b/MLRISC/Doc/latex/graphs.tex | |
12 | index 01e626d..992f64a 100644 | |
13 | --- a/MLRISC/Doc/latex/graphs.tex | |
14 | +++ b/MLRISC/Doc/latex/graphs.tex | |
15 | @@ -877,7 +877,7 @@ with sources and targets in $S$. $S$ must be a subset of $V$. | |
16 | ||
17 | \begin{wrapfigure}{r}{3in} | |
18 | \begin{Boxit} | |
19 | - \psfig{figure=../pictures/eps/trace.eps,width=2.8in} | |
20 | + \epsfig{figure=../pictures/eps/trace.eps,width=2.8in} | |
21 | \end{Boxit} | |
22 | \label{fig:trace-view} | |
23 | \caption{A trace view} | |
24 | @@ -910,7 +910,7 @@ be both since it exits from \sml{G} and enters into \sml{A}. | |
25 | \end{SML} | |
26 | \begin{wrapfigure}{r}{3in} | |
27 | \begin{Boxit} | |
28 | - \psfig{figure=../pictures/eps/subgraph.eps,width=2.8in} | |
29 | + \epsfig{figure=../pictures/eps/subgraph.eps,width=2.8in} | |
30 | \end{Boxit} | |
31 | \label{fig:acyclic-subgraph-view} | |
32 | \caption{An acyclic subgraph} | |
33 | diff --git a/MLRISC/Doc/latex/mlrisc-ir.tex b/MLRISC/Doc/latex/mlrisc-ir.tex | |
34 | index c346baa..f437e22 100644 | |
35 | --- a/MLRISC/Doc/latex/mlrisc-ir.tex | |
36 | +++ b/MLRISC/Doc/latex/mlrisc-ir.tex | |
37 | @@ -187,7 +187,7 @@ operate on more complex representations which use this | |
38 | representation as the base layer. | |
39 | \begin{wrapfigure}{r}{4.5in} | |
40 | \begin{Boxit} | |
41 | - \psfig{figure=../pictures/eps/mlrisc-IR.eps,width=4.5in} | |
42 | + \epsfig{figure=../pictures/eps/mlrisc-IR.eps,width=4.5in} | |
43 | \end{Boxit} | |
44 | \caption{The MLRISC IR} | |
45 | \end{wrapfigure} | |
46 | @@ -514,7 +514,7 @@ These functions have the following meanings: | |
47 | \end{SML} | |
48 | \begin{Figure} | |
49 | \begin{boxit} | |
50 | -\cpsfig{figure=../pictures/eps/tail-duplication.eps,width=3in} | |
51 | +\cepsfig{figure=../pictures/eps/tail-duplication.eps,width=3in} | |
52 | \end{boxit} | |
53 | \label{fig:tail-duplication} | |
54 | \caption{Tail-duplication} | |
55 | diff --git a/MLRISC/Doc/latex/mltex.sty b/MLRISC/Doc/latex/mltex.sty | |
56 | index 04d3477..8a30680 100644 | |
57 | --- a/MLRISC/Doc/latex/mltex.sty | |
58 | +++ b/MLRISC/Doc/latex/mltex.sty | |
59 | @@ -5,7 +5,7 @@ | |
60 | \ProvidesPackage{mltex}[2000/2/12 defines mltex environment] | |
61 | ||
62 | \usepackage{latexsym} | |
63 | -\usepackage{psfig} | |
64 | +\usepackage{epsfig} | |
65 | \usepackage{fancyheadings} | |
66 | \usepackage{sml} | |
67 | \usepackage{color} | |
68 | @@ -34,7 +34,7 @@ | |
69 | ||
70 | % Images and Figures | |
71 | \newcommand{\image}[3]{} | |
72 | -\newcommand{\cpsfig}[1]{\centerline{\psfig{#1}}} | |
73 | +\newcommand{\cepsfig}[1]{\centerline{\epsfig{#1}}} | |
74 | ||
75 | % Formatting | |
76 | \newenvironment{Bold}{\begingroup\bf}{\endgroup} | |
77 | diff --git a/MLRISC/Doc/latex/mltex.tex b/MLRISC/Doc/latex/mltex.tex | |
78 | index c9cbdbb..343d6fe 100644 | |
79 | --- a/MLRISC/Doc/latex/mltex.tex | |
80 | +++ b/MLRISC/Doc/latex/mltex.tex | |
81 | @@ -104,7 +104,7 @@ environments and macros, and will translate them into HTML equivalents. | |
82 | \section \subsection \subsubsection \paragraph | |
83 | \ref \label | |
84 | \noindent \linebreak | |
85 | - \psfig | |
86 | + \epsfig | |
87 | \end{verbatim} | |
88 | ||
89 | \subsection{Bugs and Shortcomings} |