From a8c9c188510abc3ce72c03191434f65176e4ece1 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Wed, 13 Jul 2016 22:37:44 +0900 Subject: [PATCH] Replace epsfig with graphicx The graphicx package allows for file specification without a hardcoded extension. This provides more freedom in chosing how to prepare images in *.eps and *.pdf formats. Moreover, epsfig is considered mostly obsolete in the TeX community and graphicx is the "current 'preferred' solution" to embed figures. See https://www.ctan.org/pkg/epsfig. --- sane.tex | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sane.tex b/sane.tex index 0f0c518..c651f88 100644 --- a/sane.tex +++ b/sane.tex @@ -1,6 +1,6 @@ -\documentclass[11pt,DVIps]{report} +\documentclass[11pt]{report} -\usepackage{times,epsfig,html} +\usepackage{times,graphicx,html} % Not Currently using changebar package so comment out to reduce % external dependencies. %\usepackage{changebar} @@ -196,7 +196,7 @@ platform dependent. Several possibilities exist: \begin{figure}[htbp] \begin{center} \leavevmode - \psfig{file=figs/hierarchy.eps,angle=270,width=\textwidth} + \includegraphics[angle=270,width=\textwidth]{figs/hierarchy} \caption{Example SANE Hiearchy} \label{fig:hierarchy} \end{center} @@ -280,7 +280,7 @@ significant bit, and the rightmost pixel in the least significant bit. \begin{figure}[htbp] \begin{center} \leavevmode - \psfig{file=figs/xfer.eps,width=0.5\textwidth} + \includegraphics[width=0.5\textwidth]{figs/xfer} \caption{Transfer order of image data bytes} \label{fig:xfer} \end{center} @@ -304,7 +304,7 @@ fashion. \begin{figure}[htbp] \begin{center} \leavevmode - \psfig{file=figs/image-data.eps,width=0.8\textwidth} + \includegraphics[width=0.8\textwidth]{figs/image-data} \caption{Bit and byte order or image data} \label{fig:pixels} \end{center} @@ -1683,7 +1683,7 @@ exiting the backend. \begin{figure}[htb] \begin{center} \leavevmode - \psfig{file=figs/flow.eps,height=0.5\textheight} + \includegraphics[height=0.5\textheight]{figs/flow} \caption{Code flow} \label{fig:flow} \end{center} @@ -1826,7 +1826,7 @@ conversions. \begin{figure}[tbp] \begin{center} \leavevmode - \psfig{file=figs/area.eps,height=0.3\textheight} + \includegraphics[height=0.3\textheight]{figs/area} \caption{Scan area options} \label{fig:area} \end{center}