ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Colored descriptions
@ 2015-08-03 13:31 Eric Détrez
  2015-08-03 14:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
  2015-08-03 15:57 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Détrez @ 2015-08-03 13:31 UTC (permalink / raw)
  To: ConTeXt

I wish to write a text where there are definitions, theorems, ...
I wish to get a table of definitions at the end so I think the right 
tool is description.
But I want the head or/and the main text have colored background.

Is it possible ?

I tried inbetween=\startframedtext,after=\stopframedtext in the 
\setupdescriptions but this lead to an error "Missing } inserted"

-- 
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Colored descriptions
  2015-08-03 13:31 Colored descriptions Eric Détrez
@ 2015-08-03 14:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
  2015-08-03 15:50   ` Eric Détrez
  2015-08-03 15:57 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2015-08-03 14:15 UTC (permalink / raw)
  To: ConTeXt

Hello,

On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez <info@eric-detrez.fr> wrote:

> I wish to write a text where there are definitions, theorems, ...
> I wish to get a table of definitions at the end so I think the right
> tool is description.
> But I want the head or/and the main text have colored background.
>
> Is it possible ?

there was a similar discussion - see

	http://www.ntg.nl/pipermail/ntg-context/2015/081528.html

Best regards,

Lukas

>
> I tried inbetween=\startframedtext,after=\stopframedtext in the
> \setupdescriptions but this lead to an error "Missing } inserted"
>


-- 
Ing. Lukáš Procházka | mailto:LPr@pontex.cz
Pontex s. r. o.      | mailto:pontex@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

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

* Re: Colored descriptions
  2015-08-03 14:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-08-03 15:50   ` Eric Détrez
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Détrez @ 2015-08-03 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 03-08-2015 16:15, Procházka Lukáš Ing. - Pontex s. r. o. a écrit :
> Hello,
> 
> On Mon, 03 Aug 2015 15:31:49 +0200, Eric Détrez <info@eric-detrez.fr> 
> wrote:
> 
>> I wish to write a text where there are definitions, theorems, ...
>> I wish to get a table of definitions at the end so I think the right
>> tool is description.
>> But I want the head or/and the main text have colored background.
>> 
>> Is it possible ?
> 
> there was a similar discussion - see
> 
> 	http://www.ntg.nl/pipermail/ntg-context/2015/081528.html
> 
> Best regards,
> 
> Lukas

Thank you, I didn't fint it before.

So I can't put a startxxx in inbetween, it must be in before.

More : a placelist[description] is no longer effective if there are 
sections and chapters :(

So I have to use a register : is there a way to get the title of a 
description, something like #1 or /descriptiontitle ?
-- 
Eric Détrez
Informatique
Lycée Faidherbe, Lille
http://eric-detrez.fr
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Colored descriptions
  2015-08-03 13:31 Colored descriptions Eric Détrez
  2015-08-03 14:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2015-08-03 15:57 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2015-08-03 15:57 UTC (permalink / raw)
  To: ntg-context

On 8/3/2015 3:31 PM, Eric Détrez wrote:
> I wish to write a text where there are definitions, theorems, ...
> I wish to get a table of definitions at the end so I think the right
> tool is description.
> But I want the head or/and the main text have colored background.
>
> Is it possible ?
>
> I tried inbetween=\startframedtext,after=\stopframedtext in the
> \setupdescriptions but this lead to an error "Missing } inserted"

search for textbackgrounds


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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] 4+ messages in thread

end of thread, other threads:[~2015-08-03 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 13:31 Colored descriptions Eric Détrez
2015-08-03 14:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
2015-08-03 15:50   ` Eric Détrez
2015-08-03 15:57 ` Hans Hagen

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