Re: [NTG-context] Multipages registers

2011-09-25 Thread Pierre-François Bonnefoi
 Where is such a macro given in the garden. A quick search did not show it.
 
 Aditya

Hum... It's a long time ago...I think I've heavily modified the initial macro...
Thank you for your much cleaner version.

Pierre-François.
-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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
___

Re: [NTG-context] Multipages registers

2011-09-19 Thread Aditya Mahajan

I want to use the following macro taken from the ConTeXt garden :


\define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, 
bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter 
{#1}}\pagenumber}}


Ouch. There is no need to resort to such macros. A nicer definition will 
be something like (untested)


\definehead[SlideTitle][section-1]

\setuphead[SlideTitle][style=\tfb, command=\SlideTitleCommand]

\defineframed[SlideTitleFrame][height=,align=right]

\def\SlideTitleCommand#1#2{\SlideTitleFrame{#1 \pagenumber}}

Where is such a macro given in the garden. A quick search did not show it.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Multipages registers

2011-09-18 Thread Wolfgang Schuster

Am 14.09.2011 um 11:54 schrieb Pierre-François Bonnefoi:

 Hello Wolfgang,
 
 thank you for your answer.
 
 It's not what I want.
 
 Let me explain :
 - when I join the registers to my presentation with \placeindex I obtain more 
 than one slide ;
 - so, I would like to be able to split this register into two or more slides 
 with something like this :
 
 \startslide
 \placeindex[a-k]
 \stopslide
 
 \startslide
 \placeindex[l-z]
 \stopslide
 
 Is this possible ?

No but you can tell context to break the page before a new letter.

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
___


Re: [NTG-context] Multipages registers

2011-09-18 Thread Pierre-François Bonnefoi
Hello Wolfgang,

You said that I can break the page before a new letter, but can I wrap this 
page with some chosen text like a title ?

best regards,
Pierre-François.

On 18 sept. 2011, at 20:23, Wolfgang Schuster wrote:

 
 Am 14.09.2011 um 11:54 schrieb Pierre-François Bonnefoi:
 
 Hello Wolfgang,
 
 thank you for your answer.
 
 It's not what I want.
 
 Let me explain :
 - when I join the registers to my presentation with \placeindex I obtain 
 more than one slide ;
 - so, I would like to be able to split this register into two or more slides 
 with something like this :
 
 \startslide
 \placeindex[a-k]
 \stopslide
 
 \startslide
 \placeindex[l-z]
 \stopslide
 
 Is this possible ?
 
 No but you can tell context to break the page before a new letter.
 
 Wolfgang

-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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
___

Re: [NTG-context] Multipages registers

2011-09-18 Thread Wolfgang Schuster

Am 18.09.2011 um 20:29 schrieb Pierre-François Bonnefoi:

 Hello Wolfgang,
 
 You said that I can break the page before a new letter, but can I wrap this 
 page with some chosen text like a title ?

What do want show in the title?

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
___


Re: [NTG-context] Multipages registers

2011-09-18 Thread Pierre-François Bonnefoi
I want to use the following macro taken from the ConTeXt garden :
\define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on, 
topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}}

On 18 sept. 2011, at 20:34, Wolfgang Schuster wrote:

 
 Am 18.09.2011 um 20:29 schrieb Pierre-François Bonnefoi:
 
 Hello Wolfgang,
 
 You said that I can break the page before a new letter, but can I wrap this 
 page with some chosen text like a title ?
 
 What do want show in the title?
 
 Wolfgang

-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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
___

Re: [NTG-context] Multipages registers

2011-09-14 Thread Pierre-François Bonnefoi
Hello Wolfgang,

thank you for your answer.

It's not what I want.

Let me explain :
- when I join the registers to my presentation with \placeindex I obtain more 
than one slide ;
- so, I would like to be able to split this register into two or more slides 
with something like this :

\startslide
\placeindex[a-k]
\stopslide

\startslide
\placeindex[l-z]
\stopslide

Is this possible ?

best regards,
Pierre-François Bonnefoi.

Wolfgang Schuster wrote :
 Am 01.09.2011 um 18:54 schrieb Pierre-François Bonnefoi:
 
  Hello,
  
  I would like to be able to spread a registers on several slides from my 
  lecture notes, with the possibility to include some text at the beginning 
  of 
  each of these slides :
  
  first slide : title
index entries
  next slides : title
next index entries
  
  I've not found the way to do this.
 
 Can you be more concrete, it’s not clear what do you want.
 
 When you need a index entry which spans multiple pages you can write it with 
 “\startregister[index][identifier]{entries} … 
 \stopregister[index][identifier]”.
 
 Wolfgang


-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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
___

Re: [NTG-context] Multipages registers

2011-09-01 Thread Wolfgang Schuster

Am 01.09.2011 um 18:54 schrieb Pierre-François Bonnefoi:

 Hello,
 
 I would like to be able to spread a registers on several slides from my 
 lecture notes, with the possibility to include some text at the beginning of 
 each of these slides :
 
 first slide : title
   index entries
 next slides : title
   next index entries
 
 I've not found the way to do this.

Can you be more concrete, it’s not clear what do you want.

When you need a index entry which spans multiple pages you can write it with 
“\startregister[index][identifier]{entries} … 
\stopregister[index][identifier]”.

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
___