ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Tough one to debug in figure library
@ 2006-07-05 21:19 David Arnold
  2006-07-10 18:19 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2006-07-05 21:19 UTC (permalink / raw)
  Cc: Jacob Prystowsky, Bruce Wagner

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tough one to debug in figure library
  2006-07-05 21:19 Tough one to debug in figure library David Arnold
@ 2006-07-10 18:19 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-07-10 18:19 UTC (permalink / raw)


David Arnold wrote:
> See how I closed up the space? Figure now found!
>   

the other pitfall is upper/lowercase mixup

Hans

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-10 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 21:19 Tough one to debug in figure library David Arnold
2006-07-10 18:19 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).