Hi Hans, I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »? Here is a minimal example: %%%% begin bug-reference.tex \setupinteraction[state=start] \setuphead[section][number=no] \starttext \section{First Section} \input knuth.tex See the \in{other section}[sec:other] below. \page \section[sec:other]{\bf Second Section} Here is another section. \input ward.tex \setuphead[section][number=yes] \section{Third Section} \input knuth.tex See the \in{other section}[sec:other-2] below. \page \section[sec:other-2]{\bf Fourth Section} Here another section. \input ward.tex \stoptext %%%% end bug-reference.tex Best regards: OK
Am 23.01.2013 um 08:39 schrieb Otared Kavian
Hi Hans,
I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »?
IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as \def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}} Wolfgang
On 1/23/2013 9:12 AM, Wolfgang Schuster wrote:
Am 23.01.2013 um 08:39 schrieb Otared Kavian
: Hi Hans,
I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »?
IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as
\def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}}
As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 1/23/2013 9:38 AM, Hans Hagen wrote:
On 1/23/2013 9:12 AM, Wolfgang Schuster wrote:
Am 23.01.2013 um 08:39 schrieb Otared Kavian
: Hi Hans,
I noticed that with the latest mkiv (version 2013.01.22 18:33 MKIV fmt: 2013.1.22) when the sections have no numbers two « ! » are printed and this behavior is new: with previous versions when invoking for instance \in{other section}[sec:other] there used to be a link to the "other section" and no « ! ! ». I understand that there has been a change in this behavior, but is there a way to suppress the two « ! ! »?
IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as
\def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}}
As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway.
next beta: \enabletrackers[structures.referencing.empty] \starttext \startfrontmatter \chapter[test]{TEST} \stopfrontmatter \in{}[test] \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 2013–01–23 Hans Hagen wrote:
IIRC this was a feature request a while ago, the macros to print ?? and !! are defined as
I'm the one to blame!
\def\dummyreference{{\tttf ??}} \def\wrongreference{{\tttf !!}}
As there are indeed side effects I'll remove that options.
I hope you mean that you change the default back to the old behaviour and the dummy text can be activated using the tracker.
Asking for a number of an unnumbered section is weird anyway.
Sure, it doesn't make sense. But it happens if the style changes halfway during production. In my case I had to change the \in to \about for the unnumbered sections. Since I couldn't find a regular expression for that, I had to change it manually and forgot a few. If a dummy text is printed, it's easy to grep for that. Marco
On 23 janv. 2013, at 09:38, Hans Hagen
As there are indeed side effects I'll remove that options. Asking for a number of an unnumbered section is weird anyway.
Hi, Thanks to Hans and Wolfgang for your attention and the workarounds you offer. When I want to refer to an un-numbered section, it makes sense in an interactive document. Maybe, instead of \in{other section}[sec:other] I should use another command such as \about[sec:other] but in this case all the title of the section in question will be typeset: this is fine when this title is short enough, but it may be ugly if the title is long, or when one wishes to refer to that section by a paraphrase. Best regards: OK
On 1/23/2013 11:10 AM, Otared Kavian wrote:
Thanks to Hans and Wolfgang for your attention and the workarounds you offer. When I want to refer to an un-numbered section, it makes sense in an interactive document. Maybe, instead of \in{other section}[sec:other] I should use another command such as \about[sec:other] but in this case all the title of the section in question will be typeset: this is fine when this title is short enough, but it may be ugly if the title is long, or when one wishes to refer to that section by a paraphrase.
or \goto ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Marco Patzer
-
Otared Kavian
-
Wolfgang Schuster