some (older) problems
Hi,
on 2009-06-18 there was a mail on the list with a collection of mkIV problems, a big part related to references and captions. (original text below)
I just did a quick re-check with the actual minimals and lua, with the following result:
Problems 2), 3) and b) are gone,
problems 1), 4), 5), a) and c) are still there.
I'm not sure if the remaining problems are due to bugs or rather a result of my poor comprehension of certain changes/new things in the mkIV code (especially c).
Any help would be appreciated.
Thomas
This is LuaTeX, Version beta-0.42.0-2009081521
ConTeXt ver: 2009.08.16 18:21 MKIV fmt: 2009.8.17 int: english/english
---Original text:
Author: Thomas Floeren
Date: 2009-06-18 22:17 +200
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Lots of problems in mkiv
2009/6/18, richard.stephens@???
I've recently started using mkiv because of the fonts, but I have found lots of things that don't work. The trouble is, I don't know if it's just me, or whether I need to go back to mkii until things settle down.
Can someone, PLEASE, tell me if they get any of the following problems with mkiv (I've included code snippets): Everything below works perfectly in mkii.
1) References to equations appear as '??' in the final document
\placeformula[eq:pythag] \startformula a^2 = b^2 + c^2 \stopformula Pythagoras proposed \in{equation}[eq:pythag].
2) References to footnotes appear as '??' inside \startlocalfootnotes...\stoplocalfootnotes
\startlocalfootnotes This has a note.\footnote[fn]{Footnote.} See note \note[fn]. \stoplocalfootnotes
3) References to sections are repeated (e.g. reference to section 1 appears as '11' or ref to section 1.1 appears as '1.11.1')
\section[sec:one]{Section one} It was in \in{section}[sec:one].
4) \digits command falls over at periods or commas with "\textfont1 is undefined (character 58)."
\digits{1.6}
5) \infull command does not work for abbreviations: falls over with "Missing } inserted."
\abbreviation {KF} {Kalman filter} Rudolph Kalman invented the \infull{KF}.
Please help!!
Richard
Same thing here with 1,3,4,5. 2 works fine. I've noticed also 3 problems since I switched to MKIV: a) Floatcaptions are no longer placed: \externalfigure[dummy] \placefloatcaption[figure]{blabla} b) \start...\stopregister results in an error: hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no] c) I'm not able to build caption numbers with the chapter number as prefix: I want for example "Fig. 2.6" where "2" is the chapter number and "6" the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption. LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18 Thanks in advance for any hint Greetings Tom
Thomas Floeren wrote:
a) Floatcaptions are no longer placed:
\externalfigure[dummy] \placefloatcaption[figure]{blabla}
i didn't yet rewrite that bit of code
b) \start...\stopregister results in an error:
hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no]
works ok in current version/beta
c) I'm not able to build caption numbers with the chapter number as prefix: I want for example "Fig. 2.6" where "2" is the chapter number and "6" the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption.
LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18
can you try the latest version 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 -----------------------------------------------------------------
Hans Hagen mailto:pragma@wxs.nl wrote on Monday, August 17, 2009 7:56 PM:
Thomas Floeren wrote:
a) Floatcaptions are no longer placed:
\externalfigure[dummy] \placefloatcaption[figure]{blabla}
i didn't yet rewrite that bit of code
b) \start...\stopregister results in an error:
hmmpf\startregister[index][identifier]{Hmmpf}\page[yes] \dorecurse{2}{hmmpf\page[yes]} hmmpf\stopregister[index][identifier]\page[yes] \placeregister[index][compress=no]
works ok in current version/beta
c) I'm not able to build caption numbers with the chapter number as prefix: I want for example "Fig. 2.6" where "2" is the chapter number and "6" the figure number by chapter. I tried all the options I found for setupcaptions (at least I think so), but I dont get the chapter number in the caption.
LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) ConTeXt ver: 2009.06.14 21:01 MKIV fmt: 2009.6.18
can you try the latest version
Hans
Same thing with LuaTeX, Version beta-0.42.0-2009081710 ConTeXt ver: 2009.08.17 19:06 MKIV fmt: 2009.8.18 int: english/english \chapter{Ch 1} \placefigure[here]{captiontext} <-- should be "1.1", but gives "1" {\externalfigure[dummy]} \chapter{Ch 2} \placefigure[here]{captiontext} <-- should be "2.1", but gives "1" {\externalfigure[dummy]} MkII works as expected Thomas _____________
participants (2)
-
Hans Hagen
-
Thomas Floeren