ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MK-II to MK-IV
@ 2010-02-28  2:47 gummybears
  2010-02-28 11:27 ` Hans Hagen
  2010-03-01  8:39 ` gummybears
  0 siblings, 2 replies; 15+ messages in thread
From: gummybears @ 2010-02-28  2:47 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 875 bytes --]

Hi,
A couple of years ago, I decided to switch from LaTex to ConText. Now
I have compiled a lot of documents (Physics syllabi's) which compiles fine
in MK-II.

I thought I would try to make a switch to MK-IV, mainly because I
want to include 3D PRC figures in my documents.

I made some test cases to test MK-IV in order to get a handle on the
differences between MK-II and MK-IV

Some of my observations are
*) Numbered formulas, numbered by section, don't seem to work
*) I am getting a lot of warnings of identifiers, apparently used more than
once, which they are not
LuaTeX warning (ext4): destination with the same identifier
(name{km1_chapter1_sec1}) has been already used, duplicate ignored

Question
Are these observations correct, someone else can confirm them ?
Question
If so, is there a fix, patch, or change in ConText commands/options I am not
aware of ?

TIA

[-- Attachment #1.2: Type: text/html, Size: 956 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-02-28  2:47 MK-II to MK-IV gummybears
@ 2010-02-28 11:27 ` Hans Hagen
  2010-03-01  8:39 ` gummybears
  1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2010-02-28 11:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 28-2-2010 3:47, gummybears wrote:
> Hi,
> A couple of years ago, I decided to switch from LaTex to ConText. Now
> I have compiled a lot of documents (Physics syllabi's) which compiles fine
> in MK-II.
>
> I thought I would try to make a switch to MK-IV, mainly because I
> want to include 3D PRC figures in my documents.
>
> I made some test cases to test MK-IV in order to get a handle on the
> differences between MK-II and MK-IV
>
> Some of my observations are
> *) Numbered formulas, numbered by section, don't seem to work
> *) I am getting a lot of warnings of identifiers, apparently used more than
> once, which they are not
> LuaTeX warning (ext4): destination with the same identifier
> (name{km1_chapter1_sec1}) has been already used, duplicate ignored
>
> Question
> Are these observations correct, someone else can confirm them ?
> Question
> If so, is there a fix, patch, or change in ConText commands/options I am not
> aware of ?

i auppose that you use the latest version

when running into such a problem, just make a small example that shows 
the problem and post is

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-02-28  2:47 MK-II to MK-IV gummybears
  2010-02-28 11:27 ` Hans Hagen
@ 2010-03-01  8:39 ` gummybears
  2010-03-01 14:23   ` Wolfgang Schuster
                     ` (2 more replies)
  1 sibling, 3 replies; 15+ messages in thread
From: gummybears @ 2010-03-01  8:39 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --]

Hi,

In reply to Hans, I am using the latest beta (ConTeXt version 2010.02.25
19:46.
mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 2009122521))

As Hans requested a small test file,

\setupnumbering[way=bysection] % <------- this used to work, but does not
\setupformulas[numbercolor=blue,numberstyle=bold]
\starttext
\chapter{Math formulae numbering}
\section{Does not work}
Numbering formulae by section
\placeformula
\startformula
a^2 + b^2 = c^2
\stopformula
\section{More ...}
\stoptext

Also tried the solution from Contextgarden (
http://wiki.contextgarden.net/Math/Display) by using
\setupnumber[formula][way=bysection] instead of \setupnumbering[way=bysection]

But alas, this does not work either



On Sun, Feb 28, 2010 at 3:47 AM, gummybears <oracleopp@gmail.com> wrote:

> Hi,
> A couple of years ago, I decided to switch from LaTex to ConText. Now
> I have compiled a lot of documents (Physics syllabi's) which compiles fine
> in MK-II.
>
> I thought I would try to make a switch to MK-IV, mainly because I
> want to include 3D PRC figures in my documents.
>
> I made some test cases to test MK-IV in order to get a handle on the
> differences between MK-II and MK-IV
>
> Some of my observations are
> *) Numbered formulas, numbered by section, don't seem to work
> *) I am getting a lot of warnings of identifiers, apparently used more than
> once, which they are not
> LuaTeX warning (ext4): destination with the same identifier
> (name{km1_chapter1_sec1}) has been already used, duplicate ignored
>
> Question
> Are these observations correct, someone else can confirm them ?
> Question
> If so, is there a fix, patch, or change in ConText commands/options I am
> not aware of ?
>
> TIA
>

[-- Attachment #1.2: Type: text/html, Size: 2393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01  8:39 ` gummybears
@ 2010-03-01 14:23   ` Wolfgang Schuster
  2010-03-01 17:17   ` gummybears
  2010-03-01 17:24   ` Saptarshi Guha
  2 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2010-03-01 14:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 01.03.10 09:39, schrieb gummybears:
> Hi,
>
> In reply to Hans, I am using the latest beta (ConTeXt version 
> 2010.02.25 19:46.
> mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 
> 2009122521))
>
> As Hans requested a small test file,
>
> \setupnumbering[way=bysection] % <------- this used to work, but does not
> \setupformulas[numbercolor=blue,numberstyle=bold]
\definestructureprefixset[section][section-3][]
\setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section]

Wolfgang

___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01  8:39 ` gummybears
  2010-03-01 14:23   ` Wolfgang Schuster
@ 2010-03-01 17:17   ` gummybears
  2010-03-01 17:30     ` Wolfgang Schuster
  2010-03-01 17:32     ` gummybears
  2010-03-01 17:24   ` Saptarshi Guha
  2 siblings, 2 replies; 15+ messages in thread
From: gummybears @ 2010-03-01 17:17 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 206 bytes --]

At Wolfgang

Tried
\definestructureprefixset[section][section-3][]
\setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section]
alas it doesn't work.

What version of Context are you using ?

Thanks

[-- Attachment #1.2: Type: text/html, Size: 265 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01  8:39 ` gummybears
  2010-03-01 14:23   ` Wolfgang Schuster
  2010-03-01 17:17   ` gummybears
@ 2010-03-01 17:24   ` Saptarshi Guha
  2 siblings, 0 replies; 15+ messages in thread
From: Saptarshi Guha @ 2010-03-01 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,
I checked out context minimals and ran context on your sample file(OS
X Leopard), it worked. The formula is numbered 1.1.

context jh.tex
MTXrun | run 1: luatex
--fmt="/Users/yanger/mystuff/context/tex/texmf-cache/luatex-cache/context/6260f85025788ae8cf4a5735589294e1/formats/cont-en"
--lua="/Users/yanger/mystuff/context/tex/texmf-cache/luatex-cache/context/6260f85025788ae8cf4a5735589294e1/formats/cont-en.lui"
--backend=pdf "./jh.tex"
This is LuaTeX, Version beta-0.50.0-2009122422
 \write18 enabled.
(jh.tex

ConTeXt  ver: 2010.02.24 11:12 MKIV  fmt: 2010.2.24  int: english/english

....



On Mon, Mar 1, 2010 at 3:39 AM, gummybears <oracleopp@gmail.com> wrote:
> Hi,
>
> In reply to Hans, I am using the latest beta (ConTeXt version 2010.02.25
> 19:46.
> mkiv, LuaTeX version 50, LuaTeX revision 0, (LuaTeX date stamp 2009122521))
>
> As Hans requested a small test file,
>
> \setupnumbering[way=bysection] % <------- this used to work, but does not
> \setupformulas[numbercolor=blue,numberstyle=bold]
> \starttext
> \chapter{Math formulae numbering}
> \section{Does not work}
> Numbering formulae by section
> \placeformula
> \startformula
> a^2 + b^2 = c^2
> \stopformula
> \section{More ...}
> \stoptext
>
> Also tried the solution from Contextgarden
> (http://wiki.contextgarden.net/Math/Display) by using
> \setupnumber[formula][way=bysection] instead of
> \setupnumbering[way=bysection]
> But alas, this does not work either
>
>
>
> On Sun, Feb 28, 2010 at 3:47 AM, gummybears <oracleopp@gmail.com> wrote:
>>
>> Hi,
>> A couple of years ago, I decided to switch from LaTex to ConText. Now
>> I have compiled a lot of documents (Physics syllabi's) which compiles fine
>> in MK-II.
>>
>> I thought I would try to make a switch to MK-IV, mainly because I
>> want to include 3D PRC figures in my documents.
>>
>> I made some test cases to test MK-IV in order to get a handle on the
>> differences between MK-II and MK-IV
>>
>> Some of my observations are
>> *) Numbered formulas, numbered by section, don't seem to work
>> *) I am getting a lot of warnings of identifiers, apparently used more
>> than once, which they are not
>> LuaTeX warning (ext4): destination with the same identifier
>> (name{km1_chapter1_sec1}) has been already used, duplicate ignored
>>
>> Question
>> Are these observations correct, someone else can confirm them ?
>> Question
>> If so, is there a fix, patch, or change in ConText commands/options I am
>> not aware of ?
>>
>> TIA
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:17   ` gummybears
@ 2010-03-01 17:30     ` Wolfgang Schuster
  2010-03-01 17:32     ` gummybears
  1 sibling, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2010-03-01 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 01.03.10 18:17, schrieb gummybears:
> At Wolfgang
>
> Tried
> \definestructureprefixset[section][section-3][]
> \setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section]
> alas it doesn't work.
>
> What version of Context are you using ?
MTXrun | current version: 2010.02.26 10:57

Wolfgang

___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:17   ` gummybears
  2010-03-01 17:30     ` Wolfgang Schuster
@ 2010-03-01 17:32     ` gummybears
  2010-03-01 17:47       ` Wolfgang Schuster
  2010-03-01 17:58       ` gummybears
  1 sibling, 2 replies; 15+ messages in thread
From: gummybears @ 2010-03-01 17:32 UTC (permalink / raw)
  To: saptarshi.guha; +Cc: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 737 bytes --]

At saptarshi

With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by
section.

Chapter 1, section 1, formula 1 -> (1.1.1)
Chapter 1, section 1, formula 2 -> (1.1.2)

The above is what I want.

Now in MK-IV they come out numbered like
Chapter 1, section 1, formula 1 -> (1.1)
Chapter 1, section 1, formula 2 -> (1.2)

This is not numbered by section but by chapter, as you confirmed.

The problem still persists.


On Mon, Mar 1, 2010 at 6:17 PM, gummybears <oracleopp@gmail.com> wrote:

> At Wolfgang
>
> Tried
> \definestructureprefixset[section][section-3][]
> \setupformulas[numbercolor=blue,numberstyle=bold,prefixset=section]
> alas it doesn't work.
>
> What version of Context are you using ?
>
> Thanks
>
>
>
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 1098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:32     ` gummybears
@ 2010-03-01 17:47       ` Wolfgang Schuster
  2010-03-01 17:51         ` Saptarshi Guha
  2010-03-01 17:58       ` gummybears
  1 sibling, 1 reply; 15+ messages in thread
From: Wolfgang Schuster @ 2010-03-01 17:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 01.03.10 18:32, schrieb gummybears:
> At saptarshi
>
> With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by 
> section.
>
> Chapter 1, section 1, formula 1 -> (1.1.1)
> Chapter 1, section 1, formula 2 -> (1.1.2)
>
> The above is what I want.
>
> Now in MK-IV they come out numbered like
> Chapter 1, section 1, formula 1 -> (1.1)
> Chapter 1, section 1, formula 2 -> (1.2)
>
> This is not numbered by section but by chapter, as you confirmed.
>
> The problem still persists.
\setupformulas[numbercolor=blue,numberstyle=bold,prefixsegments=1:100,way=bysection]

Wolfgang

___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:47       ` Wolfgang Schuster
@ 2010-03-01 17:51         ` Saptarshi Guha
  0 siblings, 0 replies; 15+ messages in thread
From: Saptarshi Guha @ 2010-03-01 17:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks Wolfgang, this worked for me.

On Mon, Mar 1, 2010 at 12:47 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Am 01.03.10 18:32, schrieb gummybears:
>>
>> At saptarshi
>>
>> With MK-II the formula numbers came out (1.1.1), (1.1.2), numbered by
>> section.
>>
>> Chapter 1, section 1, formula 1 -> (1.1.1)
>> Chapter 1, section 1, formula 2 -> (1.1.2)
>>
>> The above is what I want.
>>
>> Now in MK-IV they come out numbered like
>> Chapter 1, section 1, formula 1 -> (1.1)
>> Chapter 1, section 1, formula 2 -> (1.2)
>>
>> This is not numbered by section but by chapter, as you confirmed.
>>
>> The problem still persists.
>
> \setupformulas[numbercolor=blue,numberstyle=bold,prefixsegments=1:100,way=bysection]
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:32     ` gummybears
  2010-03-01 17:47       ` Wolfgang Schuster
@ 2010-03-01 17:58       ` gummybears
  2010-03-01 21:40         ` gummybears
  1 sibling, 1 reply; 15+ messages in thread
From: gummybears @ 2010-03-01 17:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 50 bytes --]

Wolfgang, works for me too. Thanks for your time.

[-- Attachment #1.2: Type: text/html, Size: 54 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 17:58       ` gummybears
@ 2010-03-01 21:40         ` gummybears
  2010-03-01 21:59           ` Wolfgang Schuster
                             ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: gummybears @ 2010-03-01 21:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]

To all interested

I found a simpler solution, not knowing how prefixsegments really work, but
mainly understand
from this example, is

\setupformulas[prefixsegments=chapter:section]

instead of using

\setupformulas[prefixsegments=1:100]

Both setups gives the same numbering scheme of the formula numbers.
Both setups also don't reset the formula number after a new section, it just
keeps numbering the formulas

I know I saw a code snippet which does some sort of reset, I think
prefixreset or reset, but
I cannot find it anymore.

[-- Attachment #1.2: Type: text/html, Size: 599 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 21:40         ` gummybears
@ 2010-03-01 21:59           ` Wolfgang Schuster
  2010-03-01 22:02           ` Hans Hagen
  2010-03-01 22:19           ` gummybears
  2 siblings, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2010-03-01 21:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 01.03.10 22:40, schrieb gummybears:
> To all interested
>
> I found a simpler solution, not knowing how prefixsegments really 
> work, but mainly understand
> from this example, is
>
> \setupformulas[prefixsegments=chapter:section]
>
> instead of using
>
> \setupformulas[prefixsegments=1:100]
interesting
> Both setups gives the same numbering scheme of the formula numbers.
> Both setups also don't reset the formula number after a new section, 
> it just
> keeps numbering the formulas
>
> I know I saw a code snippet which does some sort of reset, I think 
> prefixreset or reset, but
> I cannot find it anymore.

way=by... still works, you mean \definestructureresetset but this seems 
not to be used here

Wolfgang

___________________________________________________________________________________
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] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 21:40         ` gummybears
  2010-03-01 21:59           ` Wolfgang Schuster
@ 2010-03-01 22:02           ` Hans Hagen
  2010-03-01 22:19           ` gummybears
  2 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2010-03-01 22:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1-3-2010 22:40, gummybears wrote:
> To all interested
>
> I found a simpler solution, not knowing how prefixsegments really work, but
> mainly understand
> from this example, is
>
> \setupformulas[prefixsegments=chapter:section]
>
> instead of using
>
> \setupformulas[prefixsegments=1:100]
>
> Both setups gives the same numbering scheme of the formula numbers.
> Both setups also don't reset the formula number after a new section, it just
> keeps numbering the formulas
>
> I know I saw a code snippet which does some sort of reset, I think
> prefixreset or reset, but
> I cannot find it anymore.

i hope to stabelize the code this year (i have a few more options in mind)

although functionality of mkii is also present in mkiv, some 
configuration is different (as it is more flexible); also, some obscure 
features have been removed.

we carry a lot more info around (also userdate) and all is accessible 
during the run (there will be more accessors)

the new structure setup is rather undocumented but you can see some in 
strc-def.mkiv

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: MK-II to MK-IV
  2010-03-01 21:40         ` gummybears
  2010-03-01 21:59           ` Wolfgang Schuster
  2010-03-01 22:02           ` Hans Hagen
@ 2010-03-01 22:19           ` gummybears
  2 siblings, 0 replies; 15+ messages in thread
From: gummybears @ 2010-03-01 22:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 782 bytes --]

With the help of Wolfgang (thanks) the solution is (tested)

\setupformulas[prefix=yes,prefixsegments=chapter:section,way=bysection]



On Mon, Mar 1, 2010 at 10:40 PM, gummybears <oracleopp@gmail.com> wrote:

> To all interested
>
> I found a simpler solution, not knowing how prefixsegments really work, but
> mainly understand
> from this example, is
>
> \setupformulas[prefixsegments=chapter:section]
>
> instead of using
>
> \setupformulas[prefixsegments=1:100]
>
> Both setups gives the same numbering scheme of the formula numbers.
> Both setups also don't reset the formula number after a new section, it
> just
> keeps numbering the formulas
>
> I know I saw a code snippet which does some sort of reset, I think
> prefixreset or reset, but
> I cannot find it anymore.
>
>

[-- Attachment #1.2: Type: text/html, Size: 1087 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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] 15+ messages in thread

end of thread, other threads:[~2010-03-01 22:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-28  2:47 MK-II to MK-IV gummybears
2010-02-28 11:27 ` Hans Hagen
2010-03-01  8:39 ` gummybears
2010-03-01 14:23   ` Wolfgang Schuster
2010-03-01 17:17   ` gummybears
2010-03-01 17:30     ` Wolfgang Schuster
2010-03-01 17:32     ` gummybears
2010-03-01 17:47       ` Wolfgang Schuster
2010-03-01 17:51         ` Saptarshi Guha
2010-03-01 17:58       ` gummybears
2010-03-01 21:40         ` gummybears
2010-03-01 21:59           ` Wolfgang Schuster
2010-03-01 22:02           ` Hans Hagen
2010-03-01 22:19           ` gummybears
2010-03-01 17:24   ` Saptarshi Guha

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).