[NTG-context] Tough one to debug in figure library
David Arnold
dwarnold45 at cox.net
Wed Jul 5 23:19:15 CEST 2006
All,
In my figure library, I had:
<figure>
<file>section5figs-mpgraph.6</file>
<label>sec5scaling5 </label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>
In my source, I had:
\startbuffer[table]
\setupTABLE[frame=off]
\setupTABLE[column][each][align={middle,lohi}]
\setupTABLE[row][first][topframe=on,bottomframe=on]
\setupTABLE[row][last][bottomframe=on]
\setupTABLE[column][first][leftframe=on]
\setupTABLE[column][2][leftframe=on]
\setupTABLE[column][last][leftframe=on,rightframe=on]
\bTABLE
\bTR \bTD $x$ \eTD \bTD $y=f((1/2)x)$ \eTD \bTD $(x,f((1/2)x))$ \eTD
\eTR
\bTR \bTD $-4$ \eTD \bTD $0$ \eTD \bTD $(-4,0)$ \eTD \eTR
\bTR \bTD $-2$ \eTD \bTD $2$ \eTD \bTD $(-2,2)$ \eTD \eTR
\bTR \bTD $0$ \eTD \bTD $0$ \eTD \bTD $(0,0)$ \eTD \eTR
\bTR \bTD $2$ \eTD \bTD $-2$ \eTD \bTD $(2,-2)$ \eTD \eTR
\bTR \bTD $4$ \eTD \bTD $0$ \eTD \bTD $(4,0)$ \eTD \eTR
\eTABLE
\stopbuffer
\startbuffer[figure]
\startcombination[2*1]
{\externalfigure[sec5scaling5]}{(a)}
{\getbuffer[table]}{(b)}
\stopcombination
\stopbuffer
\placefigure
[][fig:scaling5]
{The points in the table are points on the graph of $y=f((1/2)x)$.}
{\getbuffer[figure]}
I got messages that the figure sec5scaling5 could not be found. Whew!
Long time trying to figure out what was wrong. Checked the usual dumb
things I do, but finally, I changed:
<figure>
<file>section5figs-mpgraph.6</file>
<label>sec5scaling5 </label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>
to:
<figure>
<file>section5figs-mpgraph.6</file>
<label>sec5scaling5</label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>
See how I closed up the space? Figure now found!
More information about the ntg-context
mailing list