Illustrations are now generated into PDF files to support older versions of tex

Versions of LaTex prior to 2010 do not supprot the inclusion of encapsulated
postscript files.  Changes have been made to generate PDF files for each of
the illustrations in the document, clean up these temporary PDF files when
`make clean` is executed, and to embed them rather than .eps files when the
document is compiled.

Change-Id: I2a802a82cb0ead4eb379f81f0a1ed441ce2967f1
This commit is contained in:
Scott Daniels 2013-09-18 16:14:57 -04:00
parent 5a3a0f0581
commit e19ee84e50
5 changed files with 11 additions and 8 deletions

View File

@ -18,6 +18,9 @@ env = openout_any=a openin_any=a
%.dvi : %.tex
$(env) latex -halt-on-error -interaction=nonstopmode -output-format=dvi $<
# xfig used to produce/maintain figures. this converts to eps
# xfig used to produce/maintain figures. These convert to usable formats.
%.eps: %.fig
fig2dev -L eps <$< >$@
%.pdf: %.fig
fig2dev -L pdf <$< >$@

View File

@ -5,7 +5,7 @@
%% Mods: 01 Sep 2013 : Converted from {X}fm source
%% ============================================================================================
\documentclass[letterpaper,8pt]{paper}
\documentclass[letterpaper]{paper}
%\author{E.~Scott~Daniels}
\title{Inception Cloud User's Guide}
\usepackage{graphicx}

View File

@ -21,12 +21,12 @@ promote:: $(build_list)
cp $$f ../;\
done
ic_user.pdf:: ic_user.tex $(sec_list:%=%.tex) $(fig_list:%=%.eps)
ic_user.pdf:: ic_user.tex $(sec_list:%=%.tex) $(fig_list:%=%.pdf)
# everything except final doc files
clean:
rm -f *converted-to.pdf *.eps *.aux *.log || true
rm -f $(fig_list:%=%.pdf) *.eps *.aux *.log || true
# everything except the source
nuke:
rm -f $(build_list) *converted-to.pdf *.eps *.aux *.log || true
rm -f $(build_list) $(fig_list:%=%.pdf) *.eps *.aux *.log || true

View File

@ -20,7 +20,7 @@ The following sections describe how orchestrator is used.
\begin{figure}
\centering
\includegraphics[width=\linewidth]{start_overview.eps}
\includegraphics[width=\linewidth]{start_overview.pdf}
\tiny
\caption{\small The environment, after orchestrator has created ICVMs, showing the communication path between orchestrator and the ICVMs.
\label{fg_overview} \normalsize
@ -179,7 +179,7 @@ The admin user ID and password are admin/admin by default.
\begin{figure}
\centering
\includegraphics[width=\linewidth]{inception_final.eps}
\includegraphics[width=\linewidth]{inception_final.pdf}
\caption{
\small The virtual environment after cleanup showing path of browser traffic with the dashboard.
\label{fg_final}\normalsize

View File

@ -10,7 +10,7 @@ OpenStack (virtual plane) environment.
\begin{figure}[!ht]
\centering
\includegraphics[width=\linewidth]{inception_planes.eps}
\includegraphics[width=\linewidth]{inception_planes.pdf}
\tiny
\caption{\small The relationship between the inception plane and the virtual plane.
\label{fg_planes}\normalsize