Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
define the ‘figure’ counter, that > works! > > > Second, it seems that \setupenumerations does not modify the counter of an > explicit defined enumeration, so you need to use the explicit > \setupenumeration[enumeration] form. This may be intentional, I do not know > for sure. > > >

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
or … For the singular explicit \setupcaption[figure], I think this is a bug. The solution I found is to blatantly redefine the ‘figure’ counter, that works! Second, it seems that \setupenumerations does not modify the counter of an explicit defined enumeration, so you need to use the explicit

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Tim Steenvoorden
…) to be numbered consecutively prefixed by the chapter and section number, > so 1.1.1, 1.1.2, 1.2.1, ... > > I’ve managed to change figure/table captions to do this by: > > \setupcaptions[ >   way=bysection, >   prefixsegments=chapter:section, > ] > > And I’ve

[NTG-context] Same counter for figures as theorems

2020-08-11 Thread Tim Steenvoorden
figure/table captions to do this by: \setupcaptions[   way=bysection,   prefixsegments=chapter:section, ] And I’ve setup my enumerations by: \setupenumerations[   way=bysection,   prefix=yes,   prefixsegments=chapter:section, ] But how do I use the same counter for figures, tables, and all

[NTG-context] About the numbering of theorems

2020-08-07 Thread Fabrice Couvreur
={R}, align={flushleft,broad}, commandbefore={\space\endash\space}] \setuphead [subsection] [sectionsegments=subsection, conversion={n}, style=\bfb, align={flushleft,broad}] \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
ble > \stopplacetable > > Best regards: Otared > > > On 14 Jul 2020, at 11:28, Fabrice Couvreur > wrote: > > Hello, > In my lessons, I often have to include tables, figures, ... in > definitions, theorems ... > With the context engine it works fine but not with lmtx.

Re: [NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Otared Kavian
; In my lessons, I often have to include tables, figures, ... in definitions, > theorems ... > With the context engine it works fine but not with lmtx. > Thanks for your help. > Fabrice > > \setupenumerations > [before={\blank}, >after={\blank}, >alternati

[NTG-context] Incorrect placement of a table with LMTX

2020-07-14 Thread Fabrice Couvreur
Hello, In my lessons, I often have to include tables, figures, ... in definitions, theorems ... With the context engine it works fine but not with lmtx. Thanks for your help. Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, titleleft

[NTG-context] Vertical space between label and title

2020-07-07 Thread Fabrice Couvreur
=\Title] \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, prefix=yes, prefixsegments=chapter, way=bychapter, titlestyle=bold, width=broad] \defineenumeration [definition] [text=Définition, number=yes, headcommand

[NTG-context] Blocks in margin with overflow of text

2018-08-22 Thread Fabrice Couvreur
] [] [n] \setupenumerations [before={\blank}, after={\blank}, alternative=serried, title=yes, distance=1em, %headcommand=\groupedcommand{}{~---~}, distance=none, prefix=yes, prefixsegments=chapter, way=bychapter, prefixconversionset=digit, titlestyle=bold, width

Re: [NTG-context] Set up a theorem style

2018-07-26 Thread Fabrice Couvreur
Hello, Perhaps the key proposed by Wolfgang is what I want to do : put a dash between the numbering and the text \setupenumerations[ before={\blank}, after={\blank}, text=Théorème , alternative=serried, headstyle={\sc}, prefix=yes, prefixsegments

Re: [NTG-context] Set up a theorem style

2018-07-25 Thread Aditya Mahajan
after theorem head; " " = normal interword space {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}} \theoremstyle{theoremdd} \newtheorem{thmd}{Theorem}[section] I'm trying to do the same thing with ConTeXt but I can not do it completely : What are you missing? Aditya \setupen

[NTG-context] Set up a theorem style

2018-07-25 Thread Fabrice Couvreur
interword space {\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}} \theoremstyle{theoremdd} \newtheorem{thmd}{Theorem}[section] I'm trying to do the same thing with ConTeXt but I can not do it completely : \setupenumerations[ before={\blank}, after={\blank}, tex

Re: [NTG-context] Numbering properties in a chapter

2018-07-24 Thread Fabrice Couvreur
ice Couvreur wrote: > > Hello, > > I would like the numbering of the properties to be like this : > > [...] > > I thought it was enough to use the key way = bychapter > > Hi Fabrice, > > "way=bychapter" resets numbering in each chapter. > > You

Re: [NTG-context] Numbering properties in a chapter

2018-07-23 Thread Pablo Rodriguez
On 07/23/2018 05:11 PM, Fabrice Couvreur wrote: > Hello, > I would like the numbering of the properties to be like this : > [...] > I thought it was enough to use the key way = bychapter Hi Fabrice, "way=bychapter" resets numbering in each chapter. You need thi

[NTG-context] Numbering properties in a chapter

2018-07-23 Thread Fabrice Couvreur
}} \setupenumerations[ text=Propriété , title=no, way=bychapter, titlestyle=bold, style=slanted, width=fit, headcommand=\ProprieteHeadcommand, numbercommand=\groupedcommand{}{\nbsp}, after=\textrule ] \defineenumeration[propriete] \starttext

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
gt; #### >> >> Thank you >> Fabrice >> >> % >> >> \definestructureconversionset >> [structure] >> [numbers, Romannumerals, numbers, numbers, numbers] >> [numbers] >> >> \setuph

Re: [NTG-context] Some questions about my document

2017-08-26 Thread Fabrice Couvreur
gt; [structure] > [numbers, Romannumerals, numbers, numbers, numbers] > [numbers] > > \setupheads [sectionconversionset=structure] > > \setupenumerations > [ > before={\blank[big]}, > after={\blank[big]}, > alternative=serried, > width=broad, >

[NTG-context] Some questions about my document

2017-08-24 Thread Fabrice Couvreur
, Romannumerals, numbers, numbers, numbers] [numbers] \setupheads [sectionconversionset=structure] \setupenumerations [ before={\blank[big]}, after={\blank[big]}, alternative=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=bold, prefix=chapter, way=bychapter, conversion=numbers

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-06 Thread Florian Leupold
gt; \setupexternalfigures[location=default] >> \setupenumerations[ >> alternative=left, >> text=Theorem, >> title=no, >> stopper={:}, >> distance=0ex, >> width=fit, >> right={~}, >> style=normal, >>

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-05 Thread Florian Leupold
On 4 Sep 2016, at 19:37, Florian Leupold <fleup...@posteo.net> wrote: >> >> Dear list, >> >> I am trying to use enumerations with MKIV I am a bit at a loss when it comes >> to the documentation (see below for a few issues). >> >> Working on a concrete exam

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Wolfgang Schuster
Florian Leupold <mailto:fleup...@posteo.net> 4. September 2016 um 19:37 Issues with the documentation: - In “ConTeXt Commands”, it says on page 224 that \setupenumeration inherits from \setupcounter; but in “ConTEXt reference manual", it says on page 246 that \setupenumerations in

Re: [NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Otared Kavian
ty close to what I want for my > enumeration ‘theorem’: > > \setupexternalfigures[location=default] > \setupenumerations[ > alternative=left, > text=Theorem, > headstyle=bold, > title=no, > way=bychapter, > stopper={:}, &

[NTG-context] Enumeration: chapter in counter, problem next to placefigure, and documentation issues

2016-09-04 Thread Florian Leupold
] \setupenumerations[ alternative=left, text=Theorem, headstyle=bold, title=no, way=bychapter, stopper={:}, distance=1ex, width=fit, style=normal, hang=fit] \defineenumeration[theorem] \starttext \chapter{First chapter} \starttheorem

[NTG-context] setupenumerations overwriting setupitemize

2014-02-20 Thread Thomas Möbius
A general question. I use setupenumerations to define theorem-, lemma-, and definition-environments for my document. I realised that setupenumerations is overwriting keys that are set in setupitemize (and groups defined by defineitemgroup). ~~~snip~~~ \setupenumerations [numberconversion

Re: [NTG-context] setupenumerations overwriting setupitemize

2014-02-20 Thread Wolfgang Schuster
Am 20.02.2014 um 14:45 schrieb Thomas Möbius kont...@thomasmoebius.de: A general question. I use setupenumerations to define theorem-, lemma-, and definition-environments for my document. I realised that setupenumerations is overwriting keys that are set in setupitemize (and groups defined

Re: [NTG-context] setupenumerations overwriting setupitemize

2014-02-20 Thread Thomas Friedrich
2014-02-20 14:52 GMT+01:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Am 20.02.2014 um 14:45 schrieb Thomas Möbius kont...@thomasmoebius.de: A general question. I use setupenumerations to define theorem-, lemma-, and definition-environments for my document. I realised

Re: [NTG-context] Unexpected behaviour of enumeration in mkiv

2013-11-28 Thread Thomas Möbius
compiled with 'texexec'. When compiled with 'context', the chapter number is missing in the numbering of theorems. Lemmas are not numbered at all. ~~~snip~~~ \setupenumerations [title=yes, style=normal, list=all, before={\blank[big]}, after={\blank[big]}, location=serried

Re: [NTG-context] Unexpected behaviour of enumeration in mkiv

2013-11-19 Thread Thomas Möbius
', the chapter number is missing in the numbering of theorems. Lemmas are not numbered at all. ~~~snip~~~ \setupenumerations [title=yes, style=normal, list=all, before={\blank[big]}, after={\blank[big]}, location=serried, Change “location=serried” to “alternative=serried

[NTG-context] Unexpected behaviour of enumeration in mkiv

2013-11-18 Thread Thomas Möbius
missing. Question: How do I get the same output when compiling the following code with 'context' as when compiled with 'texexec'. When compiled with 'context', the chapter number is missing in the numbering of theorems. Lemmas are not numbered at all. ~~~snip~~~ \setupenumerations [title=yes

Re: [NTG-context] Unexpected behaviour of enumeration in mkiv

2013-11-18 Thread Wolfgang Schuster
of theorems. Lemmas are not numbered at all. ~~~snip~~~ \setupenumerations [title=yes, style=normal, list=all, before={\blank[big]}, after={\blank[big]}, location=serried, Change “location=serried” to “alternative=serried”. width=broad, distance=0.5em, headstyle=bold

[NTG-context] Numbering enumerations in mkiv

2013-07-22 Thread Thomas Friedrich
number, and there is an additional line break after each theorem title. ~~~ snip ~~~ \setupcolors[state=start] \setupframedtexts [width=\makeupwidth, frame=off, bottomframe=on, topframe=on, background=screen, backgroundscreen=.95] \setupenumerations [title=yes, style

Re: [NTG-context] Numbering enumerations in mkiv

2013-07-22 Thread Wolfgang Schuster
=on, background=screen, backgroundscreen=.95] \setupenumerations [title=yes, style=normal, list=all, before={\blank[big]}, after={\blank[big]}, location=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=bold, way=bychapter

Re: [NTG-context] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian
On 4 avr. 2013, at 23:13, Hans Hagen pra...@wxs.nl wrote: […] \defineenumeration[test] \setupenumeration[test][way=bysection] ^ This should rather be \setupenumerations[test][way=bysection] Best regards: OK \starttext \startsection[title=one

Re: [NTG-context] Resetting enumeration numbers

2013-04-05 Thread Wolfgang Schuster
Am 05.04.2013 um 11:31 schrieb Otared Kavian ota...@gmail.com: On 4 avr. 2013, at 23:13, Hans Hagen pra...@wxs.nl wrote: […] \defineenumeration[test] \setupenumeration[test][way=bysection] ^ This should rather be \setupenumerations[test][way

Re: [NTG-context] Resetting enumeration numbers

2013-04-05 Thread Otared Kavian
] ^ This should rather be \setupenumerations[test][way=bysection] No, \setupenumeration is the correct command for MkIV, the plural form \setupenumerations is only a synonym and was added for backwards compatibility. Thanks Wolfgang, of course you are right and somehow I

Re: [NTG-context] \setupenumerations, alternative=serried is ignored when setting up multiple enumerations

2013-03-26 Thread Sietse Brouwer
Hi Tobias, When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration. It's not just the enumeration; e.g. the color key, too is applied to only to the first enumeration class named. I

Re: [NTG-context] \setupenumerations, alternative=serried is ignored when setting up multiple enumerations

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 12:52 schrieb Sietse Brouwer sbbrou...@gmail.com: Hi Tobias, When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration. It's not just the enumeration; e.g

Re: [NTG-context] \setupenumerations, alternative=serried is ignored when setting up multiple enumerations

2013-03-26 Thread Tobias Columbus
Hi Sietse, Wolfgang, Thanks for your replies! Indeed, I do not have a reference to some manual. However, there is this old thread http://www.ntg.nl/pipermail/ntg-context/2010/046090.html and reading \setupenumerations in plural form, I just supposed that it should work for multiple enumerations

[NTG-context] \setupenumerations, alternative=serried is ignored when setting up multiple enumerations

2013-03-23 Thread Tobias Columbus
Hi list, While learning the very basics of context, I stumbled upon the following bug: When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration. A minimal example demonstrating what I

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
=1sp,#1] \let\doitem\item \def\item{\doitem[]\hbox{}\kern12pt\rightskip=0pt}% } \def\stopouteritemize{\stopitemize\endgroup} \setupenumerations [indentnext=no] \setupdescriptions [indentnext=no] \unexpanded\def\smalltyping{% \switchtobodyfont[tt]% \parindent=0pt } % typing

Re: [NTG-context] Enumerations: location=serried ignored (Wolfgang Schuster)

2012-04-03 Thread Jeong Dalyoung
Dear Wolfgang, To use the option title=yes in enumeration, I have encountered a unwanted result. It display the first letter as a title when I didn't put title. Would you please check the following code? \setupenumerations[location=serried,width=broad,distance=0.5em] \defineenumeration[theorem

[NTG-context] Enumerations: location=serried ignored

2012-03-28 Thread Diane Uschner
example \setupenumerations[location=serried,width=broad,distance=0.5em] \defineenumeration[theorem][text=Satz,title=yes] \defineenumeration[corollary][number=theorem,text=Korollar] \starttext \starttheorem[title={Pythagoras Theorem}] The square on the hypotenuse is equal to the sum

[NTG-context] [***SPAM***] Re: subfootnote with wrong structureconversionset

2012-03-20 Thread Steffen Wolfrum
][][] \definestructureconversionset[footnote][numbers,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] Use \setupnotation[footnote][…]. Right, thank you! The new footnote structure seems to tidy up and settle things neatly in \setupnote and \setupnotation. (eg

[NTG-context] subfootnote with wrong structureconversionset

2012-03-19 Thread Steffen Wolfrum
Hi, are subfootnotes not yet rewritten, or did the syntax change? The following example expects 2.a but gives 2.1: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][numbers,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote

Re: [NTG-context] subfootnote with wrong structureconversionset

2012-03-19 Thread Wolfgang Schuster
] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] Use \setupnotation[footnote][…]. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
with... \defineenumeration[article] [location=top, text=Article, between=\blank, before=\blank, after=\blank] \setupenumerations[article][R] ...but the problem is that after a list of items provided with matching \startarticle \stoparticle pairs, the last count persists to the next

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Aditya Mahajan
the behaviour with... \defineenumeration[article] [location=top, text=Article, between=\blank, before=\blank, after=\blank] \setupenumerations[article][R] ...but the problem is that after a list of items provided with matching \startarticle \stoparticle pairs, the last count persists

[NTG-context] Itemize Prefixes

2012-03-04 Thread Kip Warner
] \setupenumerations[article][R] ...but the problem is that after a list of items provided with matching \startarticle \stoparticle pairs, the last count persists to the next list of items which should start at 'I' again. I am assuming I am not doing this correctly and would appreciate any suggestions

Re: [NTG-context] Itemize Prefixes

2012-03-04 Thread Aditya Mahajan
, before=\blank, after=\blank] \setupenumerations[article][R] ...but the problem is that after a list of items provided with matching \startarticle \stoparticle pairs, the last count persists to the next list of items which should start at 'I' again. I am assuming I am not doing this correctly

[NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
, Steffen --- % concering subfootnote \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][numbers,characters][numbers] % - ??? \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] % footnote's rule \unexpanded\def\MyRule

Re: [NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
] % - ??? \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] % footnote's rule \unexpanded\def\MyRule{\startcolor[orange]\vrule width18mm height0.4pt\vskip2mm\stopcolor} % footnote's interlineskip etc. \startsetups footnotesetup \setupinterlinespace[line=9.8pt, height=.79

[NTG-context] label in enumerations broken?

2012-02-19 Thread Andreas Mang
) % % MINIMAL EXAMPLE % \setupenumerations% [% alternative=hanging,% width=broad,% headstyle=bold,% titlestyle=bold,% ]% \defineenumeration[mydefinition]% [text=Definition,% style=italic,% title=yes,% listtext={Definition }% ]% \starttext

Re: [NTG-context] label in enumerations broken?

2012-02-19 Thread Wolfgang Schuster
% LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) % % MINIMAL EXAMPLE % \setupenumerations% [% alternative=hanging,% width=broad,% headstyle=bold,% titlestyle=bold,% ]% \defineenumeration[mydefinition]% [text=Definition,% style

Re: [NTG-context] beta

2012-02-16 Thread Hans Hagen
the “alternative” key for the position of the title. This is one of the things that I'm still considering ... alternative is more consistent with other mechanisms. Also, notes use location for where notes are placed. We can consider some compatibility hack: \setupenumerations [\c!alternative

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
, but not if invoked from headcommand. (untested) descriptions use titlecommand rather than headcommand. Thanks, Aditya, for your reply. I'm afraid it doesn't work. According to https://bitbucket.org/wolfs/commands, \setupdescriptions uses headcommand and \setupenumerations uses titlecommand

[NTG-context] Reverse numbering

2011-12-12 Thread Otared Kavian
}] \setupenumerations[Lecture][number=yes] % \setupenumerations[Lecture][numbering=reverse] % this has no effect though… \starttext \startLecture Tuesday December 6th: Banach spaces. \startitemize[n] \item First subject. \item Second subject. \stopitemize \stopLecture \startLecture Tuesday November 29th

[NTG-context] Reverse numbering for enumerations?

2011-12-09 Thread Otared Kavian
}] \setupenumerations[Lecture][number=yes] % \setupenumerations[Lecture][numbering=reverse] % this has no effect though… \starttext \startLecture Tuesday December 6th: Banach spaces. \startitemize[n] \item First subject. \item Second subject. \stopitemize \stopLecture \startLecture Tuesday November 29th

Re: [NTG-context] empty footnote marker needed

2011-11-08 Thread Steffen Wolfrum
\definestructureconversionset[footnote][empty] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] test\footnote{only this} text \stop \stoptext ... but a short command like \footnote[-]{...} would be more handy in practice. Is there no successor

Re: [NTG-context] empty footnote marker needed

2011-11-03 Thread Steffen Wolfrum
Sure, one can use a construct like this ... \starttext \chapter{a} \section{b} \start \definestructureconversionset[footnote][empty] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] test\footnote{only this} text \stop \stoptext ... but a short command

Re: [NTG-context] theorem environment: Is *enumeration* or the `annotation` module recommended?

2011-07-24 Thread Paul Menzel
of how to do this? You can change the style, color and spacing with \setupenumerations but for the rules etc. you need other commands. \defineenumeration[theorem][text=Theorem,title=yes] \defineenumeration[example][text=Example] \defineenumeration[remark] [text=Remark] \setupenumerations

Re: [NTG-context] theorem environment

2011-07-13 Thread Wolfgang Schuster
still nowhere near the solution. Could anyone please give examples of how to do this? You can change the style, color and spacing with \setupenumerations but for the rules etc. you need other commands. \defineenumeration[theorem][text=Theorem,title=yes] \defineenumeration[example][text=Example

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them number and numberconversion) from \setupnumber? Unfortunatly there's no reference page for \setupnumber on the wiki

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Wolfgang Schuster
Am 22.06.2011 um 22:03 schrieb Stefan Müller:Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them "number" and "numberconversion") from \setupnumber?

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
On 22.06.2011 22:14, Wolfgang Schuster wrote: Am 22.06.2011 um 22:03 schrieb Stefan Müller: Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them number

[NTG-context] alternating items in an itemization

2011-05-23 Thread Jesse Alama
={\stoptextbackground}] Putting this before the above \start/stopdialogue snippet (suitably enclosed in \start/stoptext) gives me an error about a missing }; I suppose I'm overlooking something. An enumeration-based solution would be along these lines: \defineenumeration [chat] \setupenumerations [chat

Re: [NTG-context] One-off theorem titles numberstyle

2011-03-03 Thread Otared Kavian
in Plain-teX %% but has disappeared from ConTeXt %% the following is adapted for mkiv \defineenumeration[theorem] \setupenumerations[theorem] [text=Theorem, style=sc, % or slanted title=yes, titleleft=, titleright={.}, location=serried, width=fit

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread Wolfgang Schuster
solution here is one which use the annotation module (local replacement of the enumeration text doesn’t work because \setupenumerations resets the counter): \usemodule[annotation] % solution 1 %\defineenumeration % [thelemma] % [ location=serried, %text=Lemma, % width=broad

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread S Barmeier
(local replacement of the enumeration text doesn?t work because \setupenumerations resets the counter): \usemodule[annotation] ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] One-off theorem titles

2011-03-03 Thread Aditya Mahajan
]” and “{title}”. Besides the already presented solution here is one which use the annotation module (local replacement of the enumeration text doesn’t work because \setupenumerations resets the counter): \usemodule[annotation] A very useful module to have! But how is it different from enumerations

[NTG-context] bug in \definestructureconversionset[footnote] ?

2011-02-17 Thread Steffen Wolfrum
Friends, todays current beta (20110211) writes number in front of the actual footnote number! Please run example below: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote

Re: [NTG-context] subfootnote

2011-02-15 Thread Steffen Wolfrum
Am 07.10.2010 um 10:36 schrieb Hans Hagen: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] \setupfootnotes[way=bytext]%- here

[NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Hi! I want to have the following (Theorems and Lemmas share the counter, way=bysection): Section 1. Foo Theorem 1.1 Bar Lemma 1.2 Baz Section 2. Foo Theorem 2.1 Bar Lemma 2.2 Baz The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems

Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems \defineenumeration[thm] [text=Theorem,prefix=yes,prefixsegments=section,counter=theorems] \defineenumeration[lem] [text=Lemma

Re: [NTG-context] enumeration counters, way=bysection

2010-11-25 Thread Yury G. Kudryashov
Wolfgang Schuster wrote: Am 25.11.2010 um 09:54 schrieb Yury G. Kudryashov: The following used to work about a month or two ago. \setupenumerations[way=bysection] \newcounter\theorems \defineenumeration[thm] [text=Theorem,prefix=yes,prefixsegments=section,counter=theorems

Re: [NTG-context] Issues with number of formula

2010-10-25 Thread views63
an issues with number of formula in latest beta (MkIV) example: \setupenumerations [formula] [way=bysection,  prefix=yes,  prefixsegments=chapter:section] \starttext \chapter{one} \section{one} See formula \in[eq:3] \section{two} \placeformula[eq:3] \startformula   f(x)=x^3

Re: [NTG-context] A few puzzling problems (bugs?) with enumerations

2010-10-15 Thread Mathieu Boespflug
, I would like to contribute to the wiki or whatever is the main documentation source of the ConTeXt project something to document those parameters that are specific de \setupenumerations. The context reference manual and the wiki both just refer to \setupdescriptions yet there are a number

Re: [NTG-context] A few puzzling problems (bugs?) with enumerations

2010-10-15 Thread Mathieu Boespflug
Wow, thank you very much for your fix, Wolfgang! I can confirm that it works. I hope this fix makes it into the next beta? Abount documenting these extra parameters that \setupenumerations has over \setupdefinitions, I figure that I should contribute that to the wiki. But I wonder, how does

Re: [NTG-context] A few puzzling problems (bugs?) with enumerations

2010-10-15 Thread Aditya Mahajan
\setupenumerations. The context reference manual and the wiki both just refer to \setupdescriptions yet there are a number of parameters that don't exist for \setupdescriptions, such as number, counter, prefix, prefixcomponents, etc. Adding the missing options to the wiki is a good start. Currently

Re: [NTG-context] subfootnote

2010-10-07 Thread Hans Hagen
\definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] \setupfootnotes[way=bytext]%- here is the problem!! \starttext test \footnote{} text

Re: [NTG-context] subfootnote

2010-10-05 Thread Alan BRASLAU
Schuster wrote: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorse t=footnote] Nice to discover subfootnotes! The above example illustrates a *spacing problem

Re: [NTG-context] subfootnote

2010-10-05 Thread Wolfgang Schuster
On Thursday 30 September 2010 20:42:39 Wolfgang Schuster wrote: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset=footnote] Nice to discover subfootnotes

Re: [NTG-context] subfootnote

2010-10-05 Thread Steffen Wolfrum
subnote \stopsubfootnote text \stoptext On Thursday 30 September 2010 20:42:39 Wolfgang Schuster wrote: \definestructureseparatorset [footnote][][] \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote,numberseparatorset

[NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? \starttext test \footnote{} \subfootnote{} text test \startfootnote note \stopfootnote test

Re: [NTG-context] subfootnote

2010-09-30 Thread Aditya Mahajan
Untested, but the usual option is conversion=characters Aditya On Sep 30, 2010, at 8:03 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? numberconversion=... Wolfgang

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster: Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 18:53 schrieb Steffen Wolfrum: Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster: Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? numberconversion=... No, not yet. Now the result is 1, 2 and b.a ... but it should be 2a \definestructureconversionset[footnote][number,characters][numbers

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2.a ... instead of 2a. \definestructureseparatorset

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2

Re: [NTG-context] subfootnote

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:42, Wolfgang Schuster wrote: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2.a ... instead

Re: [NTG-context] subfootnote

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:57, Steffen Wolfrum wrote: Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet

Re: [NTG-context] Indenting in framed environments

2010-09-01 Thread Wolfgang Schuster
Am 31.08.2010 um 21:21 schrieb Géry Ogam: Hi, How can I indent text within framedtext environments? I'm asking because my definitions/theorems/etc. commands are surrounded by startframed/stopframed and I want the text inside to be indented. \setupenumerations[...][indenting=yes

Re: [NTG-context] right aligned footnote

2010-05-01 Thread Wolfgang Schuster
] \defineenumeration[test][location=right,align=flushright] \showframe \starttext \vbox {\starttest bla\stoptest \starttest blablabla\stoptest \starttest \input knuth \stoptest} \setupenumerations[hang=margin] \vbox {\starttest bla\stoptest \starttest blablabla\stoptest

Re: [NTG-context] Ligaturing in footnotes.

2010-04-18 Thread Wolfgang Schuster
in exactly this particular context. A nice trick i found in the core (typo-cap.mkiv) \def\sc{\setfontfeature{smallcaps}} % \addff{smallcaps}? \definefontfeature [default] [default] [mode=node,onum=yes] \definefontfeature [smallcaps] [default] [smcp=yes] \setupenumerations[footnote][before=\char\zerocount

Re: [NTG-context] footnote marks fail

2010-04-13 Thread Michael Saunders
Sebastien Mengin: Sorry, a bit off topic, but: is \setupfootnotes[] a synonym for \setupnote[footnote][] ? Besides \setupfootnotes[] and \setupnote[footnote][] there are: \setupenumerations[footnote][] and \setupfootnotedefinition[] and maybe more. I have no idea how they are related or even

Re: [NTG-context] minimal example of some problems

2010-04-08 Thread Michael Saunders
by \setupenumerations[footnote] [before=\vbox\bgroup, after=\egroup] The footnote may still appear on a different page. If you want to prevent that add \setupfootnotes[split=verystrict] This doesn't work. I'm still getting footnotes appearing on the wrong page. 4. Notice

Re: [NTG-context] minimal example of some problems

2010-04-04 Thread Aditya Mahajan
across pages by \setupenumerations[footnote] [before=\vbox\bgroup, after=\egroup] The footnote may still appear on a different page. If you want to prevent that add \setupfootnotes[split=verystrict] which can mess up the layout. You can slightly salvage things by adding

[NTG-context] Numbered enumerations in MK-IV (howto) ?

2010-03-16 Thread gummybears
solution but no success. I hope someone can help to fix this. Test file \defineenumeration[artikel][location=left,text=Artikel,headstyle=bold,stopper=.,distance=5pt,width=broad,before=\blank,after=\blank] \setupenumerations[subartikel][text=,location=left,stopper=.,width=broad,distance=5pt,before

  1   2   >