Disappearing figures
Hello people, I think I spotted a bug either in ConTeXt or in my capability comprehension. Take the following simple code: \placefigure[here][testfigs]{Test cases}{ \startcombination[3*3] {\externalfigure[tests/curves.1]}{Testcase~1} {\externalfigure[tests/curves.2]}{Testcase~2} {\externalfigure[tests/curves.3]}{Testcase~3} {\externalfigure[tests/curves.4]}{Testcase~4} {\externalfigure[tests/curves.5]}{Testcase~5} {\externalfigure[tests/curves.6]}{Testcase~6} {\externalfigure[tests/curves.7]}{Testcase~7} {}{} {\externalfigure[tests/curves.8]}{Testcase~8} \stopcombination } It works --- on the first texexec run. On subsequent runs, ConTeXt complains that figure tests/curves can not be found The problem is that I have a file curves (no extension in tests/ ... but why is ConTeXt looking for it, if I *did* specify an extension? -- Giuseppe "Oblomov" Bilotta
Giuseppe Bilotta wrote:
Hello people,
I think I spotted a bug either in ConTeXt or in my capability comprehension.
Take the following simple code:
\placefigure[here][testfigs]{Test cases}{ \startcombination[3*3]
...
It works --- on the first texexec run. On subsequent runs, ConTeXt complains that
figure tests/curves can not be found
Same problem here, even with only this: \starttext \externalfigure[curves.1] \stoptext I've copied curves.1 from the "tests" dir to its parent, and I still get a 'not found' on the second run. Makes no sense. Taco
Monday, September 12, 2005 Taco Hoekwater wrote:
Same problem here, even with only this:
\starttext \externalfigure[curves.1] \stoptext
I've copied curves.1 from the "tests" dir to its parent, and I still get a 'not found' on the second run. Makes no sense.
Interestingly, it's even *much* slower (probably because it goes looking for files trying every possible extension) -- Giuseppe "Oblomov" Bilotta
Hi All, how tow write these matrices in Context? % [] \begin{bmatrix} 1&2\\ 3&4 \end{bmatrix} % {} \begin{Bmatrix} 1&2\\ 3&4 \end{Bmatrix} Thanks! jk
At 01:40 AM 9/12/2005, Jilani Khaldi wrote:
Hi All, how tow write these matrices in Context?
% [] \begin{bmatrix} 1&2\\ 3&4 \end{bmatrix}
ConTeXt uses Plain TeX syntax for math, mostly. Thus, you use Plain TeX's \matrix command to create the matrices: \left[\matrix{ 1&2 \cr 2&4 \cr }\right]
% {} \begin{Bmatrix} 1&2\\ 3&4 \end{Bmatrix}
\left\lbrace\matrix{ 1&2 \cr 3&4 \cr }\right\rbrace Hope that helps, - Brooks
Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
Hello people,
I think I spotted a bug either in ConTeXt or in my capability comprehension.
Take the following simple code:
\placefigure[here][testfigs]{Test cases}{ \startcombination[3*3]
...
It works --- on the first texexec run. On subsequent runs, ConTeXt complains that
figure tests/curves can not be found
Same problem here, even with only this:
\starttext \externalfigure[curves.1] \stoptext
I've copied curves.1 from the "tests" dir to its parent, and I still get a 'not found' on the second run. Makes no sense.
in core-fig.tex, locate: #1[#4][#5][#6]% % prefix in runs > 1 and add the conversion test: \doifsomething\@@efconversion % add test {\doifnotmode{\systemmodeprefix\v!first} {\doifsomething\@@efprefix {\edef\@@effilename{\@@efprefix\@@effilename}}% \let\@@effiletype\empty}}% add } what you run into is a side effect of new code (runtime conversion based on resource loggiles) some day i need to rewrite the figure code (the oldest part of context; but i will do that when i replace texutil.tuf support by the more generic resourse handling) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi there, Hans Hagen wrote:
Taco Hoekwater wrote:
Giuseppe Bilotta wrote:
in core-fig.tex, locate:
#1[#4][#5][#6]% % prefix in runs > 1
and add the conversion test:
Yup, this works! I attach patch file, I had some problem getting the line breaks right, so this may be easier for Giuseppe. Taco
participants (5)
-
Brooks Moses
-
Giuseppe Bilotta
-
Hans Hagen
-
Jilani Khaldi
-
Taco Hoekwater