[NTG-context] setuplayout vs Indesign!

2020-08-25 Thread jbf
Severe Covid-19 restrictions locally have left me out on a limb unable 
to be side-byside with people who can set me on track for a few things! 
Hence the bombardment of questions, for which I apologise. But almost there!


The InDesign QC individual (who accepts my ConTeXt-produced pdfs) wants 
some tweaking to my layout, saying, in simple terms:/Odd/right pgs left 
margin should be 20mm and right margin 15mm; even/left pgs right margin 
20mm and left margin 15mm/.


I think the difficulty is that what InDesign calls margins might be 
termed a little differently in ConTeXt and I have no experience with 
InDesign.


My initial setup was as follows for a paper size defined as 
[width=140mm,height=216mm] double-sided setup (in other words a standard 
8.5"x5.5" book):


\setuplayout

[backspace=16mm,
    topspace=12mm,
    header=6mm,
    headerdistance=10mm,
    footerdistance=9mm,
    footer=8mm,
    width=fit,
    horoffset=12.7mm,
    location=middle,
    height=198mm,
    marking=on]

There was no mention of 'margins' as such in that layout, and the result 
is close to what is wanted but not quite. Do I solve the problem by 
adding in: leftmargin=20mm,

rightmargin=15mm,

or is it some other item I need to adjust to ensure the 20mm/15mm 
dimensions requested?


Julian



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf

I get it now. Thanks to you both.

Julian

On 26/8/20 2:20 pm, Wolfgang Schuster wrote:

jbf schrieb am 26.08.2020 um 05:42:

MWE as follows:

\definefontfamily [mainface] [rm] [baskervaldadfstd] 
[tf=file:BaskervaldADFStd.otf]
\definefontfamily [mainface] [ss] [librisadfstd] 
[tf=file:LibrisADFStd-Regular.otf]

\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\tf ffi,

\it ffi,

\bf ffi,

\bi ffi.

\ss THIS IS A TITLE IN SANS SERIF

\tt Monospaced

\stoptext

Context then tells me that:

/mkiv lua stats  > loaded fonts: 6 files: baskervaldadfstd-bold.otf, 
baskervaldadfstd-bolditalic.otf, baskervaldadfstd-italic.otf, 
baskervaldadfstd.otf, librisadfstd-bolditalic.otf, 
texgyrepagella-math.otf/


So, in this instance, and as you explained would be the case, it is 
loading the sans serif family (Libris) but I note that it is not 
giving me what I asked for, which was /LibrisADFStd-Regular.otf/. 
Instead it has given me /LibrisADFStd-BoldItalic.otf/


And I deliberately did not include any maths, or itemize or anything 
that might involve those symbols, thinking it would not then load the 
Pagella Maths file, but it did. So my two questions now are


1. Why is it loading Libris BoldItalic and not Regular as asked for?


You used \bi before you switched to the sans serif font and the style 
is still active. To prevent this problem add around around style 
changes, e.g. {\bi ...}.


2. If I am not using Maths so far, why is it loading the Pagella math 
file?


ConTeXt checks the math font when you change the font with 
\setupbodyfont and at this point the math font gets loaded.


You can prevent the loading of the math font with \textonly but you 
should use this only when you're 100% sure you never use math in your 
document. As Aditya already ConTeXt can use math for itemize symbols 
(which isn't the default behavior anymore) and it's better to keep 
math to avoid problems.


%% begin example
\textonly

\starttext
\unknown
\stoptext
%% end example

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Wolfgang Schuster

jbf schrieb am 26.08.2020 um 05:42:

MWE as follows:

\definefontfamily [mainface] [rm] [baskervaldadfstd] 
[tf=file:BaskervaldADFStd.otf]
\definefontfamily [mainface] [ss] [librisadfstd] 
[tf=file:LibrisADFStd-Regular.otf]

\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\tf ffi,

\it ffi,

\bf ffi,

\bi ffi.

\ss THIS IS A TITLE IN SANS SERIF

\tt Monospaced

\stoptext

Context then tells me that:

/mkiv lua stats  > loaded fonts: 6 files: baskervaldadfstd-bold.otf, 
baskervaldadfstd-bolditalic.otf, baskervaldadfstd-italic.otf, 
baskervaldadfstd.otf, librisadfstd-bolditalic.otf, texgyrepagella-math.otf/


So, in this instance, and as you explained would be the case, it is 
loading the sans serif family (Libris) but I note that it is not giving 
me what I asked for, which was /LibrisADFStd-Regular.otf/. Instead it 
has given me /LibrisADFStd-BoldItalic.otf/


And I deliberately did not include any maths, or itemize or anything 
that might involve those symbols, thinking it would not then load the 
Pagella Maths file, but it did. So my two questions now are


1. Why is it loading Libris BoldItalic and not Regular as asked for?


You used \bi before you switched to the sans serif font and the style is 
still active. To prevent this problem add around around style changes, 
e.g. {\bi ...}.



2. If I am not using Maths so far, why is it loading the Pagella math file?


ConTeXt checks the math font when you change the font with 
\setupbodyfont and at this point the math font gets loaded.


You can prevent the loading of the math font with \textonly but you 
should use this only when you're 100% sure you never use math in your 
document. As Aditya already ConTeXt can use math for itemize symbols 
(which isn't the default behavior anymore) and it's better to keep math 
to avoid problems.


%% begin example
\textonly

\starttext
\unknown
\stoptext
%% end example

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf

MWE as follows:

\definefontfamily [mainface] [rm] [baskervaldadfstd] 
[tf=file:BaskervaldADFStd.otf]
\definefontfamily [mainface] [ss] [librisadfstd] 
[tf=file:LibrisADFStd-Regular.otf]

\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\tf ffi,

\it ffi,

\bf ffi,

\bi ffi.

\ss THIS IS A TITLE IN SANS SERIF

\tt Monospaced

\stoptext

Context then tells me that:

/mkiv lua stats  > loaded fonts: 6 files: baskervaldadfstd-bold.otf, 
baskervaldadfstd-bolditalic.otf, baskervaldadfstd-italic.otf, 
baskervaldadfstd.otf, librisadfstd-bolditalic.otf, texgyrepagella-math.otf/


So, in this instance, and as you explained would be the case, it is 
loading the sans serif family (Libris) but I note that it is not giving 
me what I asked for, which was /LibrisADFStd-Regular.otf/. Instead it 
has given me /LibrisADFStd-BoldItalic.otf/


And I deliberately did not include any maths, or itemize or anything 
that might involve those symbols, thinking it would not then load the 
Pagella Maths file, but it did. So my two questions now are


1. Why is it loading Libris BoldItalic and not Regular as asked for?

2. If I am not using Maths so far, why is it loading the Pagella math file?

Julian

On 26/8/20 1:18 pm, Aditya Mahajan wrote:

On Wed, 26 Aug 2020, jbf wrote:


I intend to use it! So, yes, I had not used it at this point, and your
explanation now makes sense.

In the test example I have, I have now placed a line:  \ss My text, and I see
that it now loads the sans serif font. But can you explain why it loads the
math font, given that I have not, as yet, used that anywhere (and may not - it
is there for insurance in case such a glyph is needed)?

A complete minimal working example will help ... (some symbols, like the bullet 
in itemize is taken from the math font).

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Aditya Mahajan

On Wed, 26 Aug 2020, jbf wrote:

> I intend to use it! So, yes, I had not used it at this point, and your
> explanation now makes sense.
> 
> In the test example I have, I have now placed a line:  \ss My text, and I see
> that it now loads the sans serif font. But can you explain why it loads the
> math font, given that I have not, as yet, used that anywhere (and may not - it
> is there for insurance in case such a glyph is needed)?

A complete minimal working example will help ... (some symbols, like the bullet 
in itemize is taken from the math font).

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf
I intend to use it! So, yes, I had not used it at this point, and your 
explanation now makes sense.


In the test example I have, I have now placed a line:  \ss My text, and 
I see that it now loads the sans serif font. But can you explain why it 
loads the math font, given that I have not, as yet, used that anywhere 
(and may not - it is there for insurance in case such a glyph is needed)?


Julian

On 26/8/20 11:58 am, Aditya Mahajan wrote:

On Wed, 26 Aug 2020, jbf wrote:


Can someone tell me why, when I define my typefaces as follows below, I get:

mkiv lua stats  > loaded fonts: 2 files: baskervaldadfstd.otf,
texgyrepagella-math.otf

when in fact my font definitions are:

\definefontfamily [mainface] [rm] [baskervaldadfstd]
[tf=file:BaskervaldADFStd.otf]
\definefontfamily [mainface] [ss] [librisadfstd]
[tf=file:LibrisADFStd-Regular.otf]
\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

-

ConTeXt loads the [rm] and the [mm] but not the [ss]. Be assured that
the ss typeface is available. So if, for example, I comment out the
first line ([rm]) and change the Libris to rm instead, I am told:

mkiv lua stats  > loaded fonts: 2 files: librisadfstd-regular.otf,
texgyrepagella-math.otf

In other words, only two, not three definitions are working at any one
time. Or is it not accepting [ss] for some reason regardless? I have
tried any number of existing sans serif fonts and none of them will
load. I know the family names are correct, so that is not the problem.
What could I be doing wrong?

Are you actually using sans serif text in your document? If not, then context 
has no reason to embed a subset of it in the PDF. It is the same reason by the 
teletype [tt] font has not been loaded.

Aditya

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Aditya Mahajan
On Wed, 26 Aug 2020, jbf wrote:

> Can someone tell me why, when I define my typefaces as follows below, I get:
> 
> mkiv lua stats  > loaded fonts: 2 files: baskervaldadfstd.otf, 
> texgyrepagella-math.otf
> 
> when in fact my font definitions are:
> 
> \definefontfamily [mainface] [rm] [baskervaldadfstd] 
> [tf=file:BaskervaldADFStd.otf]
> \definefontfamily [mainface] [ss] [librisadfstd] 
> [tf=file:LibrisADFStd-Regular.otf]
> \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
> 
> \setupbodyfont[mainface]
> 
> -
> 
> ConTeXt loads the [rm] and the [mm] but not the [ss]. Be assured that 
> the ss typeface is available. So if, for example, I comment out the 
> first line ([rm]) and change the Libris to rm instead, I am told:
> 
> mkiv lua stats  > loaded fonts: 2 files: librisadfstd-regular.otf, 
> texgyrepagella-math.otf
> 
> In other words, only two, not three definitions are working at any one 
> time. Or is it not accepting [ss] for some reason regardless? I have 
> tried any number of existing sans serif fonts and none of them will 
> load. I know the family names are correct, so that is not the problem. 
> What could I be doing wrong?

Are you actually using sans serif text in your document? If not, then context 
has no reason to embed a subset of it in the PDF. It is the same reason by the 
teletype [tt] font has not been loaded.

Aditya___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf

Can someone tell me why, when I define my typefaces as follows below, I get:

mkiv lua stats  > loaded fonts: 2 files: baskervaldadfstd.otf, 
texgyrepagella-math.otf


when in fact my font definitions are:

\definefontfamily [mainface] [rm] [baskervaldadfstd] 
[tf=file:BaskervaldADFStd.otf]
\definefontfamily [mainface] [ss] [librisadfstd] 
[tf=file:LibrisADFStd-Regular.otf]

\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

-

ConTeXt loads the [rm] and the [mm] but not the [ss]. Be assured that 
the ss typeface is available. So if, for example, I comment out the 
first line ([rm]) and change the Libris to rm instead, I am told:


mkiv lua stats  > loaded fonts: 2 files: librisadfstd-regular.otf, 
texgyrepagella-math.otf


In other words, only two, not three definitions are working at any one 
time. Or is it not accepting [ss] for some reason regardless? I have 
tried any number of existing sans serif fonts and none of them will 
load. I know the family names are correct, so that is not the problem. 
What could I be doing wrong?


Julian

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] set_lua freezes control sequences

2020-08-25 Thread Marcel Fabian Krüger
On Tue, Aug 25, 2020 at 04:48:27PM +0200, Hans Hagen wrote:
> > I noticed that recent LuaMetaTeX versions treats control sequences
> > defined using token.set_lua with `value` or `condition` as frozen and
> > does not allow redefining them. Given that these are not macros, we also
> > can't "unfreeze" them using \unletfrozen.
> > 
> >   1. Would it be possible to add a variant of Lua value and condition
> >   control sequences that are not frozen?
> > 
> >   2. Also is there some way to disable the \frozen restrictions
> >   altogether? Maybe \suppressfrozenerror?
> > 
> >   3. I also noticed that `token.set_lua` is not affected by control
> >   sequences being frozen. Therefore it allows redefining frozen
> >   control sequences which seems inconsistent.
> It's all on purpose. Btw, these mechanisms are very experimental (and 
> undocumented and might to evolve).

I know, but they are fun to play with. Especially the `value`
kind was one of the most important things I always missed in LuaTeX.

Marcel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] new version

2020-08-25 Thread Hans Hagen

Hi,

The current version of lmtx has some updated tracing of memory usage. 
This is irrelevant for most users but some of you generat elarge an 
complex files so ... (I'm talking about mf here).


There is a command line option

  --usage

that will make a run report some more statistics. The info shown might 
look somewhat cryptic but we basically have (per category)


- max: the maximum allowed memory (for many categories we can make that 
larger, but I need proof that it's needed)


- min: this is how we start out

- stp: when more memory is needed, this is the step that we use to increase

- set: this is the value that context configures by default, often 
larger than min, and less than max


- mem: the memory usage (often in units)

- all: the real usage (multiplied by the unit)

- ini, ptr and top: are the startup values (when something is also 
stored in the format), the current usage and the max usage (all within 
the mentioned min-max range).


The rest speaks for itself. Font usage reflects only the tex end, of 
course there is plenty usage at the lua end. The language info  I 
might extend that with pattern and exception usage. Actually, tex memory 
usage is not that large in luametatex.


When mem gets increased, there is a message. We can use that to 
eventually determine the best values. Actually we might even lower some 
initial values (not that it matters much, lua uses more).


Of course there is also

  --timing

but that one has been there from the start, although I did update it to 
reflect the more detailed tracing. The graphics are the same as always: 
red lines are usage, the blue line is the runtime.


In general, memory management has been improved: all categories are now 
more dynamic, there is more checking for overflows, there is some 
recovery slack in allocation, etc. I will play a bit more some of it, 
for instance we might end up with more detailed configuration options, 
in addition the the already new ones.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] set_lua freezes control sequences

2020-08-25 Thread Hans Hagen

On 8/25/2020 3:59 PM, Marcel Fabian Krüger wrote:

Hi,

I noticed that recent LuaMetaTeX versions treats control sequences
defined using token.set_lua with `value` or `condition` as frozen and
does not allow redefining them. Given that these are not macros, we also
can't "unfreeze" them using \unletfrozen.

   1. Would it be possible to add a variant of Lua value and condition
   control sequences that are not frozen?

   2. Also is there some way to disable the \frozen restrictions
   altogether? Maybe \suppressfrozenerror?

   3. I also noticed that `token.set_lua` is not affected by control
   sequences being frozen. Therefore it allows redefining frozen
   control sequences which seems inconsistent.
It's all on purpose. Btw, these mechanisms are very experimental (and 
undocumented and might to evolve).


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] set_lua freezes control sequences

2020-08-25 Thread Marcel Fabian Krüger
Hi,

I noticed that recent LuaMetaTeX versions treats control sequences
defined using token.set_lua with `value` or `condition` as frozen and
does not allow redefining them. Given that these are not macros, we also
can't "unfreeze" them using \unletfrozen.

  1. Would it be possible to add a variant of Lua value and condition
  control sequences that are not frozen?

  2. Also is there some way to disable the \frozen restrictions
  altogether? Maybe \suppressfrozenerror?

  3. I also noticed that `token.set_lua` is not affected by control
  sequences being frozen. Therefore it allows redefining frozen
  control sequences which seems inconsistent.

Best regards,
Marcel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Overriding the number on a float

2020-08-25 Thread Aditya Mahajan
On Mon, 24 Aug 2020, Taco Hoekwater wrote:

> 
> 
> > On 24 Aug 2020, at 19:59, Wolfgang Schuster 
> >  wrote:
> >> \setcounter[figure][5] % next figure is no.6
> 
> For this subfigure stuff, perhaps this is useful?
> 
> [...] 
> 
> I could not find a safe way to increment the subfigure number automatically, 
> unfortunately.

Another option is to define:

\startplacesubfigure ... \stopplacesubfigure

which could use the current value of figure counter as prefix and increment the 
subfigure counter. Something similar is there for subformulas in the math mode, 
but I'll have to go back and check the implementation details. 

Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Overriding the number on a float

2020-08-25 Thread Duncan Hothersall
Thanks all for useful tips. I ended up doing something similar as a short
term fix for my float number override issue, basically setting up a new
float type to use for the deviant ones and then resetting the numbering of
the existing ones. It would be great if there was a facility to just drop
in an override on an individual float using the equivalent of
ownnumber={27.1b}, but I appreciate this may be much more complex under the
hood than it seems to a mere mortal. Certainly my brief perusal of the
sources left me baffled, as usual!

Thanks again.

Duncan

On Mon, 24 Aug 2020 at 22:51, Taco Hoekwater  wrote:

>
>
> > On 24 Aug 2020, at 19:59, Wolfgang Schuster <
> wolfgang.schuster.li...@gmail.com> wrote:
> >
> >>
> >>
> >> \setcounter[figure][5] % next figure is no.6
>
> For this subfigure stuff, perhaps this is useful?
>
> % setup definitions
> \definecounter[subfigure][way=bytext,prefix=no]
> \setupcounter[subfigure][state=start,numberconversion=a]
> \setcounter[subfigure][1]
>
> \def\setsubfigures
>   {\setcounter[subfigure][1]
>\incrementcounter[figure]
>
>  
> \setupcaption[figure][state=stop,numberstopper={\convertedcounter[subfigure]}]}
>
> \def\unsetsubfigures
>   {\setupcaption[figure][state=start,numberstopper=]}
>
> %usage
> \setsubfigures
>
> \startplacefigure[title=Test figure]
> \externalfigure[dummy]
> \stopplacefigure
>
> \incrementnumber[subfigure]
>
> \startplacefigure[title=Test another figure]
> \externalfigure[dummy]
> \stopplacefigure
>
> \unsetsubfigures
>
>
> I could not find a safe way to increment the subfigure number
> automatically, unfortunately.
>
> Best wishes,
> Taco
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>


-- 
Duncan Hothersall, Operations Director
CAPDM Limited - Online Program Enablers
0131 677 2400  www.capdm.com
Registered in Scotland: SC168970   VAT: 682 846 983
Registered address: 20 Forth Street Edinburgh EH1 3LH UK


Capture, author, publish, deliver and manage your learning materials.


*Sign up to the CAPDM newsletter here *
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___