* Label problems with \definelabel and \defineenumeration, in and out of footnotes
@ 2015-08-11 18:45 Rik Kabel
2018-01-12 17:58 ` Rik Kabel
0 siblings, 1 reply; 8+ messages in thread
From: Rik Kabel @ 2015-08-11 18:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2330 bytes --]
The example below documents the problems. In short, \definelabel
suppresses paragraph indent when the label is at the beginning of a
paragraph and fails to print the label or generate references with
alternative=inmargin (or inright, or inleft) when in a footnote.
\defineenumeration fails to work in a footnote.
\setupindenting[yes,small]
\definelabel [ID][
%\defineenumeration[ID][
text=,
after=,
before=,
headcolor=red,
alternative=inright,
]
\starttext
\starttitle[title={Label testing}]
\startsubject[title={Problems with \tex{definelabel}}]
This is a test. It is only a test.
\ID[id1]This paragraph should be indented, with an ID number
in the margin. When \tex{ID} is placed at the beginning of the
paragraph, as it is here, the paragraph is not indented.
This paragraph has a footnote.\footnote{%
\ID[id2]The ID number is not printed in the margin with
{\tt alternative=inright}, {\tt alternative=inmargin},
or {\tt alternative=inleft}. Without any {\tt
alternative} the ID number is printed where the macro
appears. The positioning is unsatisfactory using {\tt
alternative=right}.%
} The footnote has an ID number which should be printed in the
right margin.
This \ID[id3]paragraph has an ID, but it is not at the beginning
of the paragraph and the paragraph is properly indented. The
value of the ID number indicates that \tex{ID} in the footnote
of the previous paragraph incremented the associated counter,
but the failure of the references (\tex{in} and \tex{at}) to id2
suggests that there are other problems.
\dorecurse{3}{
ID id#1 is \in[id#1] and is on page \at[id#1].\par}
References for footnotes are generated without \tt{alternative=}.
\stopsubject
\startsubject[title={Problems with \tex{defineenumeration}}]
When \tex{definelabel} is changed to \tex{defineenumeration},
the example fails to compile. It does not properly handle
the \tex{ID} in the footnote, complaining of an extra \} or
forgotten \tex{endgroup}.
\stopsubject
\stoptitle
\stoptext
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 4052 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2015-08-11 18:45 Label problems with \definelabel and \defineenumeration, in and out of footnotes Rik Kabel
@ 2018-01-12 17:58 ` Rik Kabel
2018-01-12 18:27 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Rik Kabel @ 2018-01-12 17:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2557 bytes --]
Bump.
On 2015-08-11 14:45, Rik Kabel wrote:
> The example below documents the problems. In short, \definelabel
> suppresses paragraph indent when the label is at the beginning of a
> paragraph and fails to print the label or generate references with
> alternative=inmargin (or inright, or inleft) when in a footnote.
>
> \defineenumeration fails to work in a footnote.
>
>
> \setupindenting[yes,small]
> \definelabel [ID][
> %\defineenumeration[ID][
> text=,
> after=,
> before=,
> headcolor=red,
> alternative=inright,
> ]
> \starttext
> \starttitle[title={Label testing}]
> \startsubject[title={Problems with \tex{definelabel}}]
>
> This is a test. It is only a test.
>
> \ID[id1]This paragraph should be indented, with an ID number
> in the margin. When \tex{ID} is placed at the beginning of the
> paragraph, as it is here, the paragraph is not indented.
>
> This paragraph has a footnote.\footnote{%
> \ID[id2]The ID number is not printed in the margin with
> {\tt alternative=inright}, {\tt alternative=inmargin},
> or {\tt alternative=inleft}. Without any {\tt
> alternative} the ID number is printed where the macro
> appears. The positioning is unsatisfactory using {\tt
> alternative=right}.%
> } The footnote has an ID number which should be printed in the
> right margin.
>
> This \ID[id3]paragraph has an ID, but it is not at the beginning
> of the paragraph and the paragraph is properly indented. The
> value of the ID number indicates that \tex{ID} in the footnote
> of the previous paragraph incremented the associated counter,
> but the failure of the references (\tex{in} and \tex{at}) to id2
> suggests that there are other problems.
>
> \dorecurse{3}{
> ID id#1 is \in[id#1] and is on page \at[id#1].\par}
>
> References for footnotes are generated without \tt{alternative=}.
>
> \stopsubject
> \startsubject[title={Problems with \tex{defineenumeration}}]
>
> When \tex{definelabel} is changed to \tex{defineenumeration},
> the example fails to compile. It does not properly handle
> the \tex{ID} in the footnote, complaining of an extra \} or
> forgotten \tex{endgroup}.
>
> \stopsubject
> \stoptitle
> \stoptext
>
> --
> Rik
[-- Attachment #1.2: Type: text/html, Size: 4439 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 17:58 ` Rik Kabel
@ 2018-01-12 18:27 ` Hans Hagen
2018-01-12 19:24 ` Rik Kabel
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2018-01-12 18:27 UTC (permalink / raw)
To: mailing list for ConTeXt users, Rik Kabel
On 1/12/2018 6:58 PM, Rik Kabel wrote:
> Bump.
>
> On 2015-08-11 14:45, Rik Kabel wrote:
>> The example below documents the problems. In short, \definelabel
>> suppresses paragraph indent when the label is at the beginning of a
>> paragraph and fails to print the label or generate references with
>> alternative=inmargin (or inright, or inleft) when in a footnote.
>>
>> \defineenumeration fails to work in a footnote.
use
\ID ... \par
as it has to know where it ends which is a paragraph end
or use
\startID ... \stopID
>>
>> \setupindenting[yes,small]
>> \definelabel [ID][
>> %\defineenumeration[ID][
>> text=,
>> after=,
>> before=,
>> headcolor=red,
>> alternative=inright,
>> ]
>> \starttext
>> \starttitle[title={Label testing}]
>> \startsubject[title={Problems with \tex{definelabel}}]
>>
>> This is a test. It is only a test.
>>
>> \ID[id1]This paragraph should be indented, with an ID number
>> in the margin. When \tex{ID} is placed at the beginning of the
>> paragraph, as it is here, the paragraph is not indented.
>>
>> This paragraph has a footnote.\footnote{%
>> \ID[id2]The ID number is not printed in the margin with
>> {\tt alternative=inright}, {\tt alternative=inmargin},
>> or {\tt alternative=inleft}. Without any {\tt
>> alternative} the ID number is printed where the macro
>> appears. The positioning is unsatisfactory using {\tt
>> alternative=right}.%
>> } The footnote has an ID number which should be printed in the
>> right margin.
>>
>> This \ID[id3]paragraph has an ID, but it is not at the beginning
>> of the paragraph and the paragraph is properly indented. The
>> value of the ID number indicates that \tex{ID} in the footnote
>> of the previous paragraph incremented the associated counter,
>> but the failure of the references (\tex{in} and \tex{at}) to id2
>> suggests that there are other problems.
>>
>> \dorecurse{3}{
>> ID id#1 is \in[id#1] and is on page \at[id#1].\par}
>>
>> References for footnotes are generated without \tt{alternative=}.
>>
>> \stopsubject
>> \startsubject[title={Problems with \tex{defineenumeration}}]
>>
>> When \tex{definelabel} is changed to \tex{defineenumeration},
>> the example fails to compile. It does not properly handle
>> the \tex{ID} in the footnote, complaining of an extra \} or
>> forgotten \tex{endgroup}.
>>
>> \stopsubject
>> \stoptitle
>> \stoptext
>>
>> --
>> Rik
>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 18:27 ` Hans Hagen
@ 2018-01-12 19:24 ` Rik Kabel
2018-01-12 20:50 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Rik Kabel @ 2018-01-12 19:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 2018-01-12 13:27, Hans Hagen wrote:
> On 1/12/2018 6:58 PM, Rik Kabel wrote:
>> Bump.
>>
>> On 2015-08-11 14:45, Rik Kabel wrote:
>>> The example below documents the problems. In short, \definelabel
>>> suppresses paragraph indent when the label is at the beginning of a
>>> paragraph and fails to print the label or generate references with
>>> alternative=inmargin (or inright, or inleft) when in a footnote.
>>>
>>> \defineenumeration fails to work in a footnote.
>
> use
>
> \ID ... \par
>
> as it has to know where it ends which is a paragraph end
>
> or use
>
> \startID ... \stopID
>
>>>
>>> \setupindenting[yes,small]
>>> \definelabel [ID][
>>> %\defineenumeration[ID][
>>> text=,
>>> after=,
>>> before=,
>>> headcolor=red,
>>> alternative=inright,
>>> ]
>>> \starttext
>>> \starttitle[title={Label testing}]
>>> \startsubject[title={Problems with \tex{definelabel}}]
>>>
>>> This is a test. It is only a test.
>>>
>>> \ID[id1]This paragraph should be indented, with an ID number
>>> in the margin. When \tex{ID} is placed at the beginning of the
>>> paragraph, as it is here, the paragraph is not indented.
>>>
>>> This paragraph has a footnote.\footnote{%
>>> \ID[id2]The ID number is not printed in the margin with
>>> {\tt alternative=inright}, {\tt alternative=inmargin},
>>> or {\tt alternative=inleft}. Without any {\tt
>>> alternative} the ID number is printed where the macro
>>> appears. The positioning is unsatisfactory using {\tt
>>> alternative=right}.%
>>> } The footnote has an ID number which should be printed in the
>>> right margin.
>>>
>>> This \ID[id3]paragraph has an ID, but it is not at the beginning
>>> of the paragraph and the paragraph is properly indented. The
>>> value of the ID number indicates that \tex{ID} in the footnote
>>> of the previous paragraph incremented the associated counter,
>>> but the failure of the references (\tex{in} and \tex{at}) to
>>> id2
>>> suggests that there are other problems.
>>>
>>> \dorecurse{3}{
>>> ID id#1 is \in[id#1] and is on page \at[id#1].\par}
>>>
>>> References for footnotes are generated without \tt{alternative=}.
>>>
>>> \stopsubject
>>> \startsubject[title={Problems with \tex{defineenumeration}}]
>>>
>>> When \tex{definelabel} is changed to \tex{defineenumeration},
>>> the example fails to compile. It does not properly handle
>>> the \tex{ID} in the footnote, complaining of an extra \} or
>>> forgotten \tex{endgroup}.
>>>
>>> \stopsubject
>>> \stoptitle
>>> \stoptext
>>>
>>> --
>>> Rik
Thank you Hans.
With \defineenumeration, adding an explicit \par for the footnote allows
the index to print in the margin, and it works as well with
multi-paragraph footnotes using \epar and \bpar.
However, this does not address the failure to indent when the ID starts
a paragraph.
This does nothing to address the issues with \definelabel, but
\defineenumeration, together with "don't do that" for paragraph starts,
may now suffice.
--
Rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 19:24 ` Rik Kabel
@ 2018-01-12 20:50 ` Hans Hagen
2018-01-12 21:31 ` Rik Kabel
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2018-01-12 20:50 UTC (permalink / raw)
To: ntg-context
On 1/12/2018 8:24 PM, Rik Kabel wrote:
> On 2018-01-12 13:27, Hans Hagen wrote:
>> On 1/12/2018 6:58 PM, Rik Kabel wrote:
>>> Bump.
>>>
>>> On 2015-08-11 14:45, Rik Kabel wrote:
>>>> The example below documents the problems. In short, \definelabel
>>>> suppresses paragraph indent when the label is at the beginning of a
>>>> paragraph and fails to print the label or generate references with
>>>> alternative=inmargin (or inright, or inleft) when in a footnote.
>>>>
>>>> \defineenumeration fails to work in a footnote.
>>
>> use
>>
>> \ID ... \par
>>
>> as it has to know where it ends which is a paragraph end
>>
>> or use
>>
>> \startID ... \stopID
>>
>>>>
>>>> \setupindenting[yes,small]
>>>> \definelabel [ID][
>>>> %\defineenumeration[ID][
>>>> text=,
>>>> after=,
>>>> before=,
>>>> headcolor=red,
>>>> alternative=inright,
>>>> ]
>>>> \starttext
>>>> \starttitle[title={Label testing}]
>>>> \startsubject[title={Problems with \tex{definelabel}}]
>>>>
>>>> This is a test. It is only a test.
>>>>
>>>> \ID[id1]This paragraph should be indented, with an ID number
>>>> in the margin. When \tex{ID} is placed at the beginning of the
>>>> paragraph, as it is here, the paragraph is not indented.
>>>>
>>>> This paragraph has a footnote.\footnote{%
>>>> \ID[id2]The ID number is not printed in the margin with
>>>> {\tt alternative=inright}, {\tt alternative=inmargin},
>>>> or {\tt alternative=inleft}. Without any {\tt
>>>> alternative} the ID number is printed where the macro
>>>> appears. The positioning is unsatisfactory using {\tt
>>>> alternative=right}.%
>>>> } The footnote has an ID number which should be printed in the
>>>> right margin.
>>>>
>>>> This \ID[id3]paragraph has an ID, but it is not at the beginning
>>>> of the paragraph and the paragraph is properly indented. The
>>>> value of the ID number indicates that \tex{ID} in the footnote
>>>> of the previous paragraph incremented the associated counter,
>>>> but the failure of the references (\tex{in} and \tex{at}) to
>>>> id2
>>>> suggests that there are other problems.
>>>>
>>>> \dorecurse{3}{
>>>> ID id#1 is \in[id#1] and is on page \at[id#1].\par}
>>>>
>>>> References for footnotes are generated without \tt{alternative=}.
>>>>
>>>> \stopsubject
>>>> \startsubject[title={Problems with \tex{defineenumeration}}]
>>>>
>>>> When \tex{definelabel} is changed to \tex{defineenumeration},
>>>> the example fails to compile. It does not properly handle
>>>> the \tex{ID} in the footnote, complaining of an extra \} or
>>>> forgotten \tex{endgroup}.
>>>>
>>>> \stopsubject
>>>> \stoptitle
>>>> \stoptext
>>>>
>>>> --
>>>> Rik
> Thank you Hans.
>
> With \defineenumeration, adding an explicit \par for the footnote allows
> the index to print in the margin, and it works as well with
> multi-paragraph footnotes using \epar and \bpar.
>
> However, this does not address the failure to indent when the ID starts
> a paragraph.
maybe putting a \dontleavehmode in front helps
> This does nothing to address the issues with \definelabel, but
> \defineenumeration, together with "don't do that" for paragraph starts,
> may now suffice.
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 20:50 ` Hans Hagen
@ 2018-01-12 21:31 ` Rik Kabel
2018-01-12 22:46 ` Hans Hagen
0 siblings, 1 reply; 8+ messages in thread
From: Rik Kabel @ 2018-01-12 21:31 UTC (permalink / raw)
To: ntg-context
On 2018-01-12 15:50, Hans Hagen wrote:
> On 1/12/2018 8:24 PM, Rik Kabel wrote:
>> On 2018-01-12 13:27, Hans Hagen wrote:
>>> On 1/12/2018 6:58 PM, Rik Kabel wrote:
>>>> Bump.
>>>>
>>>> On 2015-08-11 14:45, Rik Kabel wrote:
>>>>> The example below documents the problems. In short, \definelabel
>>>>> suppresses paragraph indent when the label is at the beginning of
>>>>> a paragraph and fails to print the label or generate references
>>>>> with alternative=inmargin (or inright, or inleft) when in a footnote.
>>>>>
>>>>> \defineenumeration fails to work in a footnote.
>>>
>>> use
>>>
>>> \ID ... \par
>>>
>>> as it has to know where it ends which is a paragraph end
>>>
>>> or use
>>>
>>> \startID ... \stopID
>>>
>>>>>
>>>>> \setupindenting[yes,small]
>>>>> \definelabel [ID][
>>>>> %\defineenumeration[ID][
>>>>> text=,
>>>>> after=,
>>>>> before=,
>>>>> headcolor=red,
>>>>> alternative=inright,
>>>>> ]
>>>>> \starttext
>>>>> \starttitle[title={Label testing}]
>>>>> \startsubject[title={Problems with \tex{definelabel}}]
>>>>>
>>>>> This is a test. It is only a test.
>>>>>
>>>>> \ID[id1]This paragraph should be indented, with an ID number
>>>>> in the margin. When \tex{ID} is placed at the beginning of
>>>>> the
>>>>> paragraph, as it is here, the paragraph is not indented.
>>>>>
>>>>> This paragraph has a footnote.\footnote{%
>>>>> \ID[id2]The ID number is not printed in the margin with
>>>>> {\tt alternative=inright}, {\tt alternative=inmargin},
>>>>> or {\tt alternative=inleft}. Without any {\tt
>>>>> alternative} the ID number is printed where the macro
>>>>> appears. The positioning is unsatisfactory using {\tt
>>>>> alternative=right}.%
>>>>> } The footnote has an ID number which should be printed in
>>>>> the
>>>>> right margin.
>>>>>
>>>>> This \ID[id3]paragraph has an ID, but it is not at the
>>>>> beginning
>>>>> of the paragraph and the paragraph is properly indented. The
>>>>> value of the ID number indicates that \tex{ID} in the
>>>>> footnote
>>>>> of the previous paragraph incremented the associated counter,
>>>>> but the failure of the references (\tex{in} and \tex{at})
>>>>> to id2
>>>>> suggests that there are other problems.
>>>>>
>>>>> \dorecurse{3}{
>>>>> ID id#1 is \in[id#1] and is on page \at[id#1].\par}
>>>>>
>>>>> References for footnotes are generated without
>>>>> \tt{alternative=}.
>>>>>
>>>>> \stopsubject
>>>>> \startsubject[title={Problems with \tex{defineenumeration}}]
>>>>>
>>>>> When \tex{definelabel} is changed to \tex{defineenumeration},
>>>>> the example fails to compile. It does not properly handle
>>>>> the \tex{ID} in the footnote, complaining of an extra \} or
>>>>> forgotten \tex{endgroup}.
>>>>>
>>>>> \stopsubject
>>>>> \stoptitle
>>>>> \stoptext
>>>>>
>>>>> --
>>>>> Rik
>> Thank you Hans.
>>
>> With \defineenumeration, adding an explicit \par for the footnote
>> allows the index to print in the margin, and it works as well with
>> multi-paragraph footnotes using \epar and \bpar.
>>
>> However, this does not address the failure to indent when the ID
>> starts a paragraph.
>
> maybe putting a \dontleavehmode in front helps
Indeed. Thank you. Adding it to the before key of \defineenumeration
appears to have no unwanted side effects. Can you think of a reason not
to do that?
--
Rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 21:31 ` Rik Kabel
@ 2018-01-12 22:46 ` Hans Hagen
2018-01-12 23:01 ` Rik Kabel
0 siblings, 1 reply; 8+ messages in thread
From: Hans Hagen @ 2018-01-12 22:46 UTC (permalink / raw)
To: mailing list for ConTeXt users, Rik Kabel
On 1/12/2018 10:31 PM, Rik Kabel wrote:
>> maybe putting a \dontleavehmode in front helps
>
> Indeed. Thank you. Adding it to the before key of \defineenumeration
> appears to have no unwanted side effects. Can you think of a reason not
> to do that?
something tex ... one starts a group at the start of a paragraph while
not yet in par/hmode .. \dontleavehmode forces hmode (a paragraph)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Label problems with \definelabel and \defineenumeration, in and out of footnotes
2018-01-12 22:46 ` Hans Hagen
@ 2018-01-12 23:01 ` Rik Kabel
0 siblings, 0 replies; 8+ messages in thread
From: Rik Kabel @ 2018-01-12 23:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 2018-01-12 17:46, Hans Hagen wrote:
> On 1/12/2018 10:31 PM, Rik Kabel wrote:
>
>>> maybe putting a \dontleavehmode in front helps
>>
>> Indeed. Thank you. Adding it to the before key of \defineenumeration
>> appears to have no unwanted side effects. Can you think of a reason
>> not to do that?
> something tex ... one starts a group at the start of a paragraph while
> not yet in par/hmode .. \dontleavehmode forces hmode (a paragraph)
Understood. I was just wondering if there is a downside to using it
everwhere one places an enumeration by putting it into the before key.
--
Rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-12 23:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-11 18:45 Label problems with \definelabel and \defineenumeration, in and out of footnotes Rik Kabel
2018-01-12 17:58 ` Rik Kabel
2018-01-12 18:27 ` Hans Hagen
2018-01-12 19:24 ` Rik Kabel
2018-01-12 20:50 ` Hans Hagen
2018-01-12 21:31 ` Rik Kabel
2018-01-12 22:46 ` Hans Hagen
2018-01-12 23:01 ` Rik Kabel
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).