Now auto generate png files from dia source file

Less mucking about with exports
This commit is contained in:
Robin Clark 2011-04-15 09:16:36 +01:00
parent ea0444a989
commit d93d04dda8
12 changed files with 20 additions and 12 deletions

View File

@ -1,8 +1,15 @@
DIA_IMAGES = dc1.png fg1b.png fgampa.png fgamp.png noninv.png opamp.png fg1a.png fg1.png fgampb.png noninvampa.png op1.png
#
#
# #
%.png : %.dia
dia $< -e $@
echo source $< target $@
paper: paper.tex noninvopamp_paper.tex #graphics: $(DIA_IMAGES)
paper: paper.tex noninvopamp_paper.tex $(DIA_IMAGES)
#latex paper.tex #latex paper.tex
#dvipdf paper pdflatex cannot use eps ffs #dvipdf paper pdflatex cannot use eps ffs
pdflatex paper.tex pdflatex paper.tex
@ -17,3 +24,4 @@ noninvopamp_paper.tex: noninvopamp.tex paper.tex
bib: bib:
bibtex paper bibtex paper

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

View File

@ -37,7 +37,7 @@ A standard non inverting op amp (from ``The Art of Electronics'' ~\cite{aoe}[pp
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/noninv.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/noninv.png}
% noninv.jpg: 341x186 pixel, 72dpi, 12.03x6.56 cm, bb=0 0 341 186 % noninv.jpg: 341x186 pixel, 72dpi, 12.03x6.56 cm, bb=0 0 341 186
\caption{Standard non inverting amplifier configuration} \caption{Standard non inverting amplifier configuration}
\label{fig:noninvamp} \label{fig:noninvamp}
@ -64,7 +64,7 @@ in the potential divider, shown in figure \ref{fig:fg1}.
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1.png}
% fg1.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271 % fg1.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271
\caption{potential divider `functional group' failure modes} \caption{potential divider `functional group' failure modes}
\label{fig:fg1} \label{fig:fg1}
@ -78,7 +78,7 @@ which failure modes is is modelling (see figure \ref{fig:fg1a}).
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1a.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1a.png}
% fg1a.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271 % fg1a.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271
\caption{potential divider with test cases} \caption{potential divider with test cases}
\label{fig:fg1a} \label{fig:fg1a}
@ -114,7 +114,7 @@ the test cases and naming them (see figure \ref{fig:fg1b}).
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1b.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fg1b.png}
% fg1b.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271 % fg1b.jpg: 430x271 pixel, 72dpi, 15.17x9.56 cm, bb=0 0 430 271
\caption{Collection of potential divider failure mode symptoms} \caption{Collection of potential divider failure mode symptoms}
\label{fig:fg1b} \label{fig:fg1b}
@ -128,7 +128,7 @@ We can use the symbol $\bowtie$ to represent taking the analysed
%We could represent it algebraically thus: $ \bowtie(PotDiv) = %We could represent it algebraically thus: $ \bowtie(PotDiv) =
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/dc1.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/dc1.png}
% dc1.jpg: 430x619 pixel, 72dpi, 15.17x21.84 cm, bb=0 0 430 619 % dc1.jpg: 430x619 pixel, 72dpi, 15.17x21.84 cm, bb=0 0 430 619
\caption{From functional group to derived component} \caption{From functional group to derived component}
\label{fig:dc1} \label{fig:dc1}
@ -158,7 +158,7 @@ and the component potential divider into a new functional group.
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/op1.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/op1.png}
% op1.jpg: 406x221 pixel, 72dpi, 14.32x7.80 cm, bb=0 0 406 221 % op1.jpg: 406x221 pixel, 72dpi, 14.32x7.80 cm, bb=0 0 406 221
\caption{Op Amp failure modes} \caption{Op Amp failure modes}
\label{fig:op1} \label{fig:op1}
@ -171,7 +171,7 @@ from the potential divider {\dc} to analyse represented by figure~\ref{fig:fgamp
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fgamp.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fgamp.png}
% fgamp.jpg: 430x330 pixel, 72dpi, 15.17x11.64 cm, bb=0 0 430 330 % fgamp.jpg: 430x330 pixel, 72dpi, 15.17x11.64 cm, bb=0 0 430 330
\caption{Amplifier Functional Group} \caption{Amplifier Functional Group}
\label{fig:fgamp} \label{fig:fgamp}
@ -188,7 +188,7 @@ regions) see figure~\ref{fig:fgampa}.
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fgampa.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvopamp/fgampa.png}
% fgampa.jpg: 430x330 pixel, 72dpi, 15.17x11.64 cm, bb=0 0 430 330 % fgampa.jpg: 430x330 pixel, 72dpi, 15.17x11.64 cm, bb=0 0 430 330
\caption{Amplifier Functional Group with Test Cases} \caption{Amplifier Functional Group with Test Cases}
\label{fig:fgampa.jpg} \label{fig:fgampa.jpg}
@ -221,13 +221,13 @@ regions) see figure~\ref{fig:fgampa}.
For this amplifier configuration we have three failure modes, $AMPHigh, AMPLow, LowPass$ see figure~\ref{fig:fgampb}. For this amplifier configuration we have three failure modes, $AMPHigh, AMPLow, LowPass$ see figure~\ref{fig:fgampb}.
We can now derive a `component' to represent this amplifier configuration (see figure We can now derive a `component' to represent this amplifier configuration (see figure
and use it it to model higher level functional groups see figure\ref{fig:noninvampa}. and use it it to model higher level functional groups see figure~\ref{fig:noninvampa}.
\begin{figure}[h] \begin{figure}[h]
\centering \centering
\includegraphics[width=200pt,keepaspectratio=true]{./noninvampa.jpg} \includegraphics[width=200pt,keepaspectratio=true]{./noninvampa.png}
% noninvampa.jpg: 436x720 pixel, 72dpi, 15.38x25.40 cm, bb=0 0 436 720 % noninvampa.jpg: 436x720 pixel, 72dpi, 15.38x25.40 cm, bb=0 0 436 720
\caption{Non Inverting Amplifier Derived Component} \caption{Non Inverting Amplifier Derived Component}
\label{fig:noninvampa} \label{fig:noninvampa}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB