Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
[...]
You can use \offset to shift the enumeration title.
\defineframed
[ExampleHeadFrame]
[location=low,
background
Dear list,
Is there a trick to not apply the leftoffset to the header of a
defineenumeration?
MWE:
\definetextbackground
[textFrameEx]
[
frame=off,
framecolor=darkgreen,
rulethickness=2ex,
background=,
location=paragraph,
leftoffset=2.25ex,
rightoffset=2.25ex
That pretty much sums it up: if I change \title to \chapter, for example,
the list is generated only if I set the option criterium=chapter, for
example. Is criterium really necessary in this case?
```
\defineenumeration [Exercício] [alternative=top, before=\blank,
after=\blank, between=\blank
Thanks Wolfgang!
Your patch seems to fix also another issue with the cross references in ConTeXt
at least on MacOS and TeXShop. In principle a document typeset with TeXShop, in
the resulting PDF when the pointer hovers above a link to a reference, TeXShop
shows a small pop-up window where the
;
> > \setupinteraction[state=start,focus=standard,color=,contrastcolor=]
> > \defineenumeration[proposition][referenceprefix=prop]
> > \starttext
> > \startproposition[1]
> > \input ward\footnote{Only a footnote}
> > \stopproposition
> > \in[p
On 7/6/20 8:48 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 06.07.2020 um 20:04:
>> [...]
>> Hans, could you check this? (I’m afraid it doesn’t work with current
>> latest [2020.07.06 19:30])?
>
> I'm not Hans but this fixed the problem for me (strc-con.mkiv):
>
>
Jairo,
"focus=standard" works fine with footnotes.
\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopp
works fine with footnotes.
\setupinteraction[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext
Your sample do
n[state=start,focus=standard,color=,contrastcolor=]
\defineenumeration[proposition][referenceprefix=prop]
\starttext
\startproposition[1]
\input ward\footnote{Only a footnote}
\stopproposition
\in[prop:1]
\stoptext
Your sample doesn’t work, because of the referenc
the interaction works fine.
>
> Best regards: Otared K.
>
> > On 6 Jul 2020, at 01:15, Jairo A. del Rio
> wrote:
> >
> > The following:
> >
> >
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> >
> \defineenume
Hi Jairo,
If you remove
focus=standard
the interaction works fine.
Best regards: Otared K.
> On 6 Jul 2020, at 01:15, Jairo A. del Rio wrote:
>
> The following:
>
> \setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
> \defineenume
The following:
\setupinteraction[state=start,focus=standard,color=black,contrastcolor=black]
\defineenumeration[proposition][alternative=top,text=Proposición,headalign=middle,numberconversion=R,headstyle=\WORDS,style=\emph,referenceprefix=prop]
\starttext
\startproposition[1]
\dorecurse{10
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
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
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
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
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
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
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
.
Best regards,
Dalyoung
> you need "numbercommand":
>
> \defineenumeration
>[Example]
>[headcommand={\framed[background=color,backgroundcolor=red]},
>
> numbercommand={\inframed[height=2ex,background=color,backgroundcolor=green]},
>
> titlecom
you for reading.
Best regards,
Dalyoung
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes
%%% minimal example %%%
\setupcolors[state=start]
\definecolor[dGreen] [r=0,g=.375,b=.0]
\defineenumeration[Example]
[command={\inframed[corner=round, background=color,
backgroundcolor=darkgreen,height=1.3em]},
text=Example,
prefix=yes,
prefixsegments=chapter,
way=bychapter
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
Hi Wolfgang,
Thank you and Happy New Year 2015 to all members.
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Am 31.12.2014 um 20:26 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com:
Dear list,
Is it possible to remove the parentheses of the title ?
\defineenumeration[…][titleleft=,titleright=,…]
Wolfgang___
Dear list,
Is it possible to remove the parentheses of the title ?
Best regards,
Fabrice
\defineframed
[ACFRAME]
[frame=off,
width=fit,
align=flushleft,
location=low,
background=color,
backgroundcolor=lightgray]
\defineenumeration
[ac]
[text={Activité},
headstyle={\bf
Hi,
I find that there is too much space between the text and the beginning of
the paragraph.
\defineenumeration[ex]
[text={\sc\bf Exercice},
location=left,
stopper={\bf.}]
For example, I use the \topset with LuaLaTeX order.
Thank you
On Tue, Feb 25 2014, Fabrice Couvreur wrote:
I find that there is too much space between the text and the beginning of the
paragraph.
\defineenumeration[ex]
[text={\sc\bf Exercice},
location=left,
stopper={\bf.}]
stopper={\bf.}, inbetween=]
For example, I use the \topset with LuaLaTeX
Am 25.02.2014 um 19:41 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi,
I find that there is too much space between the text and the beginning of the
paragraph.
\defineenumeration[ex]
[text={\sc\bf Exercice},
location=left,
stopper={\bf.}]
\defineenumeration
[ex]
[text
Sorry, but my question is unclear.
In fact, I created a new environment with the package amsthm in LuaLaTeX like
this :
\newtheoremstyle{exa}
{\topsep}{\topsep}
{}
{0pt}
{\strut\bfseries}
{}
{\newline}
{\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup
the following line, and not on the same
line of text.
And why had you “location=left” in your code snippet.
@Peter I do not see what changes adding inbetween = „.
To avoid such problems it is always recommended to make a minimal example which
demonstrates the problem.
\defineenumeration
Because I'm really starting with ConteXt, and if I compile with location =
left or not, the result is the same (with minimal ConteXt).
For cons, I understand better the role of the option alternative = left,
right or top.
Hi,
I have two enumerations:
\defineenumeration
[exercici]
[alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor},stopper={.\space},left={\bgroup},right={\egroup},width=fit,headstyle=\ss]
\defineenumeration
[exercicivora]
[alternative=serried,text={\startcolor
Am 21.05.2013 um 17:41 schrieb Xan dxpubl...@telefonica.net:
Hi,
I have two enumerations:
\defineenumeration
[exercici]
You need a different name for the normal enumeration environment, e.g.
exercicidefault
[alternative=serried,text={\startcolor[middlecyan]Exercici\stopcolor
Al 21/05/13 18:41, En/na Wolfgang Schuster ha escrit:
Am 21.05.2013 um 17:41 schrieb Xan dxpubl...@telefonica.net
mailto:dxpubl...@telefonica.net:
Hi,
I have two enumerations:
\defineenumeration
[exercici]
You need a different name for the normal enumeration environment, e.g
Dear all,
I defined enumerations Theorem, Proof, and Example as in the sample code.
It works fine, but I'd like to arrange it in better shape.
1. Theorem 1 and it's proof look good.
2. The proof of Theorem 2
i) when I use \startitemize it starts from the next line not
immediately after
Am 05.01.2010 um 05:08 schrieb Vladimir Lomov:
2010/1/5 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Sorry to hijack your post and since we're already there, why are
\setupenumerations
and \setupdescriptions written in the plural form.
\setupenumerations[problem][stopper=)]
.
On Mon, Jan 4, 2010 at 11:03 PM, Vladimir Lomov lomov...@gmail.com wrote:
Hi.
I'm newbie with ConTeXt but have experience with LaTeX.
2010/1/5 Curiouslearn curiousle...@gmail.com:
Minimal example
\setuppapersize[letter][letter]
\starttext
\defineenumeration[problem][text= ,location
Am 05.01.2010 um 14:22 schrieb Curiouslearn:
Vladimir, I am not sure that the settings are incorrect. Why does it
work with MKII then? Also it worked with MKIV before. It broke only
recently.
Add 'headalign=flushright'.
Wolfgang
Thanks! That worked great.
On Tue, Jan 5, 2010 at 8:52 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 05.01.2010 um 14:22 schrieb Curiouslearn:
Vladimir, I am not sure that the settings are incorrect. Why does it
work with MKII then? Also it worked with MKIV before. It
Hello.
2010/1/5 Curiouslearn curiousle...@gmail.com:
Vladimir, I am not sure that the settings are incorrect. Why does it
work with MKII then? Also it worked with MKIV before. It broke only
recently.
Sorry, I didn't try to check texexec (MKII) also I just checked context (MKIV).
Can someone
the
problem of disappearing :)
It's side effect of the new 'headalign' key, you can correct by setting
the correct width for the number box.
\defineenumeration
[problem]
[text=,
location=inleft,
headalign=flushright,
stopper=),
width=\leftmarginwidth]
Wolfgang
'.
Hm, this gives more unpleasant result for MKIV format but reveals the
problem of disappearing :)
It's side effect of the new 'headalign' key, you can correct by setting
the correct width for the number box.
\defineenumeration
[problem]
[text=,
location=inleft,
headalign=flushright
Minimal example
\setuppapersize[letter][letter]
\starttext
\defineenumeration[problem][text= ,location=inleft]
\setupenumerations[problem][stopper=)]
\problem
problem 1
\problem
problem 2
\stoptext
In MKIV there are numbers do not appear.
Thanks
Sorry to hijack your post and since we're already there, why are
\setupenumerations
and \setupdescriptions written in the plural form.
\setupenumerations[problem][stopper=)]
When I would follow the system from other setup commands in context
i expect as correct names \setupenumeration and
Hi.
I'm newbie with ConTeXt but have experience with LaTeX.
2010/1/5 Curiouslearn curiousle...@gmail.com:
Minimal example
\setuppapersize[letter][letter]
\starttext
\defineenumeration[problem][text= ,location=inleft]
\setupenumerations[problem][stopper=)]
\problem
problem 1
\problem
Hi.
2010/1/5 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Sorry to hijack your post and since we're already there, why are
\setupenumerations
and \setupdescriptions written in the plural form.
\setupenumerations[problem][stopper=)]
When I would follow the system from other setup
Hi all,
The example below shows: lemma 1 (lemmatitle )
Problems:
- the word lemma is repeated before the title : (lemmatitle
- spaces after the title: title )
Example:
%MTXrun | current version: 2009.09.23 10:07
%linux-32, current beta
\defineenumeration[lemma][title=yes]
\starttext
Hi all,
\in[ref] does not work with
LuaTeX, Version beta-0.43.0-2009081911
ConTeXt ver: 2009.08.30 12:25 MKIV fmt: 2009.9.7 int: english/english
% --- snip
%
\defineenumeration[frage][location=inleft,text=,stopper=.,headstyle=bold]
%
%
\starttext
%
Anzahl der Aufgaben: \in[last]
\blank
On Mon, Sep 7, 2009 at 4:44 PM, Bernd Militzerbe...@militzer.net wrote:
Hi all,
\in[ref] does not work with
LuaTeX, Version beta-0.43.0-2009081911
ConTeXt ver: 2009.08.30 12:25 MKIV fmt: 2009.9.7 int: english/english
% --- snip
%
\defineenumeration[frage][location=inleft,text=,stopper
On Mon, Sep 7, 2009 at 5:16 PM, Bernd Militzerbe...@militzer.net wrote:
Thanks luigi,
LuaTeX, Version beta-0.43.0-2009081911
ConTeXt ver: 2009.08.30 12:25 MKIV fmt: 2009.9.7 int: english/english
ConTeXt ver: 2009.08.13 13:13 MKIV fmt: 2009.8.19 int: english/english
This is LuaTeX,
Thanks Luigi,
the minimals-current works like accepted.
Regards,
Bernd
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Aditya Mahajan wrote:
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 20:19 schrieb Aditya Mahajan:
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:
The textcolor does not work. I have to put in in text field.
The example that
En/na Aditya Mahajan ha escrit:
My only trouble with core-des is that it is ugly. It is an old module,
and lot of features have been added in an ad-hoc manner with time. I
hope that at some stage it will be rewritten in the new strc-* style.
Aditya
Good news if you implement this
En/na Xan ha escrit:
Hi,
Is it possible to put numerstyle=boldstyle in this enumeration?:
\defineenumeration
[exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,titleleft
On Thu, 5 Mar 2009, Xan wrote:
En/na Xan ha escrit:
Hi,
Is it possible to put numerstyle=boldstyle in this enumeration?:
\defineenumeration
[exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space
En/na Aditya Mahajan ha escrit:
On Thu, 5 Mar 2009, Xan wrote:
En/na Xan ha escrit:
Hi,
Is it possible to put numerstyle=boldstyle in this enumeration?:
\defineenumeration
[exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em
On Thu, 5 Mar 2009, Xan wrote:
numberstyle=bold
does not work for me.
The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it make sense to add text(style|color|command) and
number(style|color|command) keys to enumerations? I could patch
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:
The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it make sense to add text(style|color|command) and
number(style|color|command) keys to enumerations? I could patch core-
des.tex with these
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:
The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it make sense to add text(style|color|command) and
number(style|color|command) keys to
Am 05.03.2009 um 20:19 schrieb Aditya Mahajan:
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:
The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it make sense to add text(style|color|command) and
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 20:19 schrieb Aditya Mahajan:
On Thu, 5 Mar 2009, Wolfgang Schuster wrote:
Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:
The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it
Hi,
Is it possible to put numerstyle=boldstyle in this enumeration?:
\defineenumeration
[exercici]
[text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em,
stopper={.\space},location=serried,titleleft=(,titleright=),width=fit
Dear Sirs,
I need to define a enumeration with the text label = Remark. For
that I define \defineenumeration[Remark][text=Remark]. The label for
the subRemark should be subRemark. Is there a easy way to do that?
The subRemark is a son of Remark and the numeration expected is:
Remark 1
\setupenumerations[subRemark][text=subRemark]
On Sun, Feb 22, 2009 at 11:42:41AM +, batela wrote:
Dear Sirs,
I need to define a enumeration with the text label = Remark. For that I
define \defineenumeration[Remark][text=Remark]. The label for the subRemark
should be subRemark
of the functionality of the \define and \setup commands is
using shared code (for efficiency and QA).
What is the proper Context way, should I define the location with
\defineenumeration or with \setupenumerations ?
Where ConTeXt provides both, the use of \setup version depends on
your input file. I've
Hi,
I have a question (probably a dumb question) relating to some of the
define/setup commands. One in
particular, but it may relate to the other define/setup commands as
well.
Looking at the defineenumeration and setupenumerations command
in the Context manual page 223 and page 224
Hello,
if I'm not mistaken as usual,
the number=no option of \ defineenumeration is broken in ConTeXt ver:
2005.06.08 fmt: 2005.6.13:
\mainlanguage [en]
\defineenumeration
[test]
[text=Test,
number=no,
location=hanging]
\starttext
\starttest
What's that?
\stoptext
produces
Hi,
There is a missing \noexpand in core-des.tex. Attached is a
fixed version of the affected macro.
Taco
Matthias Weber wrote:
Hello,
if I'm not mistaken as usual,
the number=no option of \ defineenumeration is broken in ConTeXt ver:
2005.06.08 fmt: 2005.6.13:
\mainlanguage
of \ defineenumeration is broken in ConTeXt
ver: 2005.06.08 fmt: 2005.6.13:
\mainlanguage[en]
\defineenumeration
[test]
[text=Test,
number=no,
location=hanging]
\starttext
\starttest
What's that?
\stoptext
produces ommandTest instead of just Test.
Please advise.
Matthias
Taco Hoekwater wrote:
Hi,
There is a missing \noexpand in core-des.tex. Attached is a
fixed version of the affected macro.
ah, fixed, thanks!
Hans
-
Hans Hagen | PRAGMA ADE
Hans,
either \defineenumeration is broken in , or I always used it incorrectly:
\defineenumeration[definition]
[sectionnumber=chapter,
text=Definition,
location=hanging,
way=bychapter]
\starttext
\startdefinition
Test
Christopher Creutzig wrote:
Hans,
either \defineenumeration is broken in , or I always used it
incorrectly:
\defineenumeration[definition]
[sectionnumber=chapter,
text=Definition,
location=hanging,
way=bychapter
At 11:19 20/09/2003 +0200, you wrote:
Hi,
Thanks Hans for the patch concerning enumerations. - Certain things now work
as I thought they should, others don't . :-(
In the meantime I downloaded and installed the latest (yesterdays) CONTeXT.
1. Numbering starts at 2, and the following items get
Hi,
Thanks Hans for the patch concerning enumerations. - Certain things now work
as I thought they should, others don't . :-(
In the meantime I downloaded and installed the latest (yesterdays) CONTeXT.
1. Numbering starts at 2, and the following items get numberd 4,6,
2. I detected, that the
the enumeration text and lost and alone in front
of the second line the enumeration number.
Is this something I do in a wrong way or is there a bug?
Please try the minimal example below
Kind regards Willi
\setupoutput[pdftex]
\defineenumeration
[Literatur]
[location={left,serried
Willi Egger [EMAIL PROTECTED] writes:
Hello Willi,
Is this something I do in a wrong way or is there a bug?
I did not look into it yet, but I can confirm that I get the same
error with the latest ConTeXt version. So I think that there must be
some bug.
Patrick
--
Silent is the goldfish in
, is not in italics. This may help people who are in
a position to know what is going on.
Charlie Doherty
ConTeXt ver: 2003.8.8 fmt: 2003.8.18 int: english mes: english
\defineenumeration
[Literatur]
[location={left,serried},
style=\em,
width=broad,
distance=12pt,
headstyle=\tfx
At 20:13 18/09/2003 +0200, you wrote:
I have defined an enumeration. After typesetting the enumerated list I get
on the first line the enumeration text and lost and alone in front of the
second line the enumeration number.
Is this something I do in a wrong way or is there a bug?
hm, this is due
At 11:21 19/09/2003 +0100, you wrote:
I tried your example and got the same misaligned result as yourself and
Patrick. However when I made text=, it aligned properly but your number,
of course, is not in italics. This may help people who are in a position
to know what is going on.
text= is
. De buitenlander heeft
er steeds last van. Bedankt voor de correctie!
Kind regards Willi
- Original Message -
From: K.H. Wesseling [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 19, 2003 8:43 AM
Subject: Re: [NTG-context] Probelm with \defineenumeration
Beste Willi
.
Is this something I do in a wrong way or is there a bug?
Please try the minimal example below
Kind regards Willi
\setupoutput[pdftex]
\defineenumeration
[Literatur]
[location={left,serried},
style=\em,
width=broad,
distance=12pt,
headstyle=\tfx,
text=\em,
left
82 matches
Mail list logo