Re: [NTG-context] Defineenumeration head offset

2022-11-07 Thread Wolfgang Schuster via ntg-context
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

[NTG-context] Defineenumeration head offset

2022-11-07 Thread Alexandre Christe via ntg-context
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

[NTG-context] placelist created by defineenumeration fails in numbered headings

2022-01-20 Thread Youssef Cherem via ntg-context
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-07 Thread Otared Kavian
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Jairo A. del Rio
; > > \setupinteraction[state=start,focus=standard,color=,contrastcolor=] > > \defineenumeration[proposition][referenceprefix=prop] > > \starttext > > \startproposition[1] > > \input ward\footnote{Only a footnote} > > \stopproposition > > \in[p

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
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): > >

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Hans Hagen
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Wolfgang Schuster
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Pablo Rodriguez
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Jairo A. del Rio
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

Re: [NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-06 Thread Otared Kavian
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

[NTG-context] Bad interaction between \setupinteraction and \defineenumeration

2020-07-05 Thread Jairo A. del Rio
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
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

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
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

Re: [NTG-context] about \inframed[] in \defineenumeration

2017-12-05 Thread Jeong Dal
. Best regards, Dalyoung > you need "numbercommand": > > \defineenumeration >[Example] >[headcommand={\framed[background=color,backgroundcolor=red]}, > > numbercommand={\inframed[height=2ex,background=color,backgroundcolor=green]}, > > titlecom

Re: [NTG-context] about \inframed[] in \defineenumeration

2017-12-05 Thread Hans Hagen
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

[NTG-context] about \inframed[] in \defineenumeration

2017-12-04 Thread Jeong Dal
%%% 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

[NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2015-08-11 Thread Rik Kabel
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

Re: [NTG-context] Title and defineenumeration

2015-01-02 Thread Fabrice
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 /

Re: [NTG-context] Title and defineenumeration

2015-01-01 Thread Wolfgang Schuster
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___

[NTG-context] Title and defineenumeration

2014-12-31 Thread Fabrice Couvreur
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

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
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

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Peter Münster
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

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Wolfgang Schuster
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

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
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

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Wolfgang Schuster
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

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
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.

[NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Xan
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

Re: [NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Wolfgang Schuster
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

Re: [NTG-context] [***SPAM***] \defineenumeration options?

2013-05-21 Thread Xan
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

[NTG-context] about \hangaround, defineenumeration

2012-05-19 Thread dalyoung
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

Re: [NTG-context] \setupenumeration(s) was: defineenumeration does not work with MKIV

2010-01-05 Thread Wolfgang Schuster
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=)]

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Curiouslearn
. 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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Wolfgang Schuster
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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Curiouslearn
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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Vladimir Lomov
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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Wolfgang Schuster
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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Vladimir Lomov
'. 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

[NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-04 Thread Curiouslearn
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

[NTG-context] \setupenumeration(s) was: defineenumeration does not work with MKIV

2010-01-04 Thread Wolfgang Schuster
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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-04 Thread Vladimir Lomov
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

Re: [NTG-context] \setupenumeration(s) was: defineenumeration does not work with MKIV

2010-01-04 Thread Vladimir Lomov
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

[NTG-context] Bugs in defineenumeration

2009-09-24 Thread B. Vogel
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

[NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread Bernd Militzer
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

Re: [NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread luigi scarso
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

Re: [NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread luigi scarso
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,

Re: [NTG-context] defineenumeration and LuaTeX

2009-09-07 Thread Bernd Militzer
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 /

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-06 Thread Hans Hagen
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-06 Thread Xan
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Wolfgang Schuster
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread 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 number(style|color|command) keys to

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Wolfgang Schuster
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

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
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

[NTG-context] boldstyle for numbers in defineenumeration

2009-03-04 Thread Xan
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

[NTG-context] defineenumeration

2009-02-22 Thread batela
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

Re: [NTG-context] defineenumeration

2009-02-22 Thread Longmin Wang
\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

Re: [NTG-context] defineenumeration and setupenumeration

2006-05-04 Thread Taco Hoekwater
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

[NTG-context] defineenumeration and setupenumeration

2006-04-30 Thread WN
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

[NTG-context] Problem with defineenumeration [number=no]

2005-06-13 Thread Matthias Weber
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

Re: [NTG-context] Problem with defineenumeration [number=no]

2005-06-13 Thread Taco Hoekwater
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

Re: [NTG-context] Problem with defineenumeration [number=no]

2005-06-13 Thread Matthias Weber
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

Re: [NTG-context] Problem with defineenumeration [number=no]

2005-06-13 Thread h h extern
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

[NTG-context] \defineenumeration broken in alpha

2004-09-24 Thread Christopher Creutzig
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

Re: [NTG-context] \defineenumeration broken in alpha

2004-09-24 Thread Hans Hagen
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

Re: [NTG-context] \defineenumeration

2003-09-23 Thread Hans Hagen
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

[NTG-context] \defineenumeration

2003-09-20 Thread Willi Egger
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

Re: [NTG-context] Probelm with \defineenumeration

2003-09-19 Thread K.H. Wesseling
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

[NTG-context] Re: Probelm with \defineenumeration

2003-09-19 Thread Patrick Gundlach
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

[NTG-context] Probelm with \defineenumeration

2003-09-19 Thread Charles Doherty
, 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

Re: [NTG-context] Probelm with \defineenumeration

2003-09-19 Thread Hans Hagen
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

Re: [NTG-context] Probelm with \defineenumeration

2003-09-19 Thread Hans Hagen
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

Re: [NTG-context] Probelm with \defineenumeration

2003-09-19 Thread Willi Egger
. 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

[NTG-context] Probelm with \defineenumeration

2003-09-18 Thread Willi Egger
. 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