Re: [NTG-context] \definedescription question

2014-09-22 Thread Gerben Wierda
Thanks. Can I do the same with \endnotes?

G

On 21 Sep 2014, at 21:33, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 21.09.2014 um 20:32 schrieb Gerben Wierda gerben.wie...@rna.nl:
 
 Better still. I found the solution:
 
 \definedescription[Member][headstyle=bold,
 location=hanging,width=fit]
 \definemeasure[CAindent][12pt]
 \setupindenting[yes,\measure{CAindent}]
 \starttext
 \input knuth
 \par
 \input knuth
 \par
 \startMember{Foo Foo Foo} \indenting[yes] \input knuth
 \par \input knuth
 \stopMember
 \stoptext
 
 \indenting[yes] after \startMember does the trick.
 
 You can enable the paragraph indent for your descriptions with the indenting 
 key.
 
 \definedescription
   [Member]
   [headstyle=bold,
location=hanging,
indenting={yes,medium},
width=fit]
 
 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
___

Re: [NTG-context] \definedescription question

2014-09-22 Thread Gerben Wierda
This was already answered in another thread.

G

On 22 Sep 2014, at 22:33, Gerben Wierda gerben.wie...@rna.nl wrote:

 Thanks. Can I do the same with \endnotes?
 
 G
 
 On 21 Sep 2014, at 21:33, Wolfgang Schuster schuster.wolfg...@gmail.com 
 wrote:
 
 
 Am 21.09.2014 um 20:32 schrieb Gerben Wierda gerben.wie...@rna.nl:
 
 Better still. I found the solution:
 
 \definedescription[Member][headstyle=bold,
 location=hanging,width=fit]
 \definemeasure[CAindent][12pt]
 \setupindenting[yes,\measure{CAindent}]
 \starttext
 \input knuth
 \par
 \input knuth
 \par
 \startMember{Foo Foo Foo} \indenting[yes] \input knuth
 \par \input knuth
 \stopMember
 \stoptext
 
 \indenting[yes] after \startMember does the trick.
 
 You can enable the paragraph indent for your descriptions with the indenting 
 key.
 
 \definedescription
   [Member]
   [headstyle=bold,
location=hanging,
indenting={yes,medium},
width=fit]
 
 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
 ___

___
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] \definedescription question

2014-09-22 Thread Wolfgang Schuster

Am 22.09.2014 um 22:33 schrieb Gerben Wierda gerben.wie...@rna.nl:

 Thanks. Can I do the same with \endnotes?

You can use

\setupnotedefinition[endnote][..,..=..,..]

where the second argument accepts all arguments from \setupdescrption.

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
___


[NTG-context] \definedescription question

2014-09-21 Thread Gerben Wierda
I have this definition:

\definedescription[Member][headstyle=bold,
location=hanging,width=fit]

What do I need to do if my description item has multiple paragraphs? A \par 
ends the description, so I need a definition of some sort of followup item 
without the heading. How do I do that? I'm using mkii.

G___
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] \definedescription question

2014-09-21 Thread Otared Kavian
Hi Gerben,

Just use \startMember \stopMember as in the following:

\starttext

\startMember{Knuth and Ward}
\input knuth

\input ward

\stopMember

\Member{Knuth}
\input knuth

\input ward

\stoptext

Best regards: OK

On 21 Sep 2014, at 13:55, Gerben Wierda gerben.wie...@rna.nl wrote:

 I have this definition:
 
 \definedescription[Member][headstyle=bold,
 location=hanging,width=fit]
 
 What do I need to do if my description item has multiple paragraphs? A \par 
 ends the description, so I need a definition of some sort of followup item 
 without the heading. How do I do that? I'm using mkii.
 
 G
 ___
 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
___

Re: [NTG-context] \definedescription question

2014-09-21 Thread Gerben Wierda
Thanks. That almost gives me the result I need. 

What is missing is that the extra paragraphs of the Member are not indented.

G

On 21 Sep 2014, at 16:07, Otared Kavian ota...@gmail.com wrote:

 Hi Gerben,
 
 Just use \startMember \stopMember as in the following:
 
 \starttext
 
 \startMember{Knuth and Ward}
 \input knuth
 
 \input ward
 
 \stopMember
 
 \Member{Knuth}
 \input knuth
 
 \input ward
 
 \stoptext
 
 Best regards: OK
 
 On 21 Sep 2014, at 13:55, Gerben Wierda gerben.wie...@rna.nl wrote:
 
 I have this definition:
 
 \definedescription[Member][headstyle=bold,
 location=hanging,width=fit]
 
 What do I need to do if my description item has multiple paragraphs? A \par 
 ends the description, so I need a definition of some sort of followup item 
 without the heading. How do I do that? I'm using mkii.
 
 G
 ___
 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
 ___

___
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] \definedescription question

2014-09-21 Thread Wolfgang Schuster

Am 21.09.2014 um 18:29 schrieb Gerben Wierda gerben.wie...@rna.nl:

 Thanks. That almost gives me the result I need. 
 
 What is missing is that the extra paragraphs of the Member are not indented.

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


Re: [NTG-context] \definedescription question

2014-09-21 Thread Gerben Wierda
Better still. I found the solution:

\definedescription[Member][headstyle=bold,
location=hanging,width=fit]
\definemeasure[CAindent][12pt]
\setupindenting[yes,\measure{CAindent}]
\starttext
\input knuth
\par
\input knuth
\par
\startMember{Foo Foo Foo} \indenting[yes] \input knuth
\par \input knuth
\stopMember
\stoptext

\indenting[yes] after \startMember does the trick.

G

On 21 Sep 2014, at 19:57, Wolfgang Schuster schuster.wolfg...@gmail.com wrote:

 
 Am 21.09.2014 um 18:29 schrieb Gerben Wierda gerben.wie...@rna.nl:
 
 Thanks. That almost gives me the result I need. 
 
 What is missing is that the extra paragraphs of the Member are not indented.
 
 Make a minimal 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://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
___

Re: [NTG-context] \definedescription question

2014-09-21 Thread Wolfgang Schuster

Am 21.09.2014 um 20:32 schrieb Gerben Wierda gerben.wie...@rna.nl:

 Better still. I found the solution:
 
 \definedescription[Member][headstyle=bold,
 location=hanging,width=fit]
 \definemeasure[CAindent][12pt]
 \setupindenting[yes,\measure{CAindent}]
 \starttext
 \input knuth
 \par
 \input knuth
 \par
 \startMember{Foo Foo Foo} \indenting[yes] \input knuth
 \par \input knuth
 \stopMember
 \stoptext
 
 \indenting[yes] after \startMember does the trick.

You can enable the paragraph indent for your descriptions with the indenting 
key.

\definedescription
  [Member]
  [headstyle=bold,
   location=hanging,
   indenting={yes,medium},
   width=fit]

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] \definedescription question

2005-12-27 Thread Taco Hoekwater

VnPenguin wrote:

On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote:


No, it does not work for me :(


There has been a patch to this core recently. Will investigate.

Taco



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \definedescription question

2005-12-27 Thread Taco Hoekwater



VnPenguin wrote:

On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote:





No, it does not work for me :(


After checking, it turns out it works for me as well. I have:

 tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2C 7.5.5)
 context : ver: 2005.12.19
 cont-en : ver: 2005.12.19  fmt: 2005.12.22  mes: english

So perhaps something else is wrong. What is your log file?

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \definedescription question

2005-12-27 Thread VnPenguin
On 12/27/05, Taco Hoekwater [EMAIL PROTECTED] wrote:


 VnPenguin wrote:
  On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote:
 
 
 
  No, it does not work for me :(

 After checking, it turns out it works for me as well. I have:

   tex : pdfeTeXk, 3.141592-1.30.3-2.2 (Web2C 7.5.5)
   context : ver: 2005.12.19
   cont-en : ver: 2005.12.19  fmt: 2005.12.22  mes: english

 So perhaps something else is wrong. What is your log file?


Hi Taco  Willi,
It works now ;-) So I think I done some errors yesterday :)

Thanks and Happy holidays,

Cheers

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \definedescription question

2005-12-27 Thread Hans Hagen

Willi Egger wrote:


Hi,

Her the following works:

\definedescription
   [Desc]
   [location=top,hang=3,headstyle={\color[red]}]

or

\definedescription
   [Desc]
   
[location=top,hang=3,headstyle={\switchtobodyfont[34pt]\bf\color[red]}]



Willi

VnPenguin wrote:


Hi all,
I'm trying to define a description:

\definedescription
[Desc]
[location=top,hang=3,headcolor=red]

But my PDF has not color for description header (I have already
\setupcolors[state=start]).

Another test:

\definedescription
[Desc]
[location=top,hang=3,headstyle={\switchtobodyfont[16pt]\red\bf}]

Does not work :(

Question: How to define color  font size for description header ? The
document of description is not complet. Search on Wiki  Mailing list
can not help me.




this shoudl work:

\setupcolors[state=start]

\definedescription
   [Desc]
   [location=top,hang=3,headstyle=bold,headcolor=red]
  
\starttext


\Desc {test} test

\stoptext

in

{\switchtobodyfont[16pt]\red\bf}

the \red may fail in some cases due to implicit grouping

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \definedescription question

2005-12-26 Thread VnPenguin
Hi all,
I'm trying to define a description:

\definedescription
[Desc]
[location=top,hang=3,headcolor=red]

But my PDF has not color for description header (I have already
\setupcolors[state=start]).

Another test:

\definedescription
[Desc]
[location=top,hang=3,headstyle={\switchtobodyfont[16pt]\red\bf}]

Does not work :(

Question: How to define color  font size for description header ? The
document of description is not complet. Search on Wiki  Mailing list
can not help me.

Thank you in advance,

--
http://vnoss.org
Vietnamese Open Source Software Community
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \definedescription question

2005-12-26 Thread Willi Egger

Hi,

Her the following works:

\definedescription
   [Desc]
   [location=top,hang=3,headstyle={\color[red]}]

or

\definedescription
   [Desc]
   [location=top,hang=3,headstyle={\switchtobodyfont[34pt]\bf\color[red]}]


Willi

VnPenguin wrote:


Hi all,
I'm trying to define a description:

\definedescription
[Desc]
[location=top,hang=3,headcolor=red]

But my PDF has not color for description header (I have already
\setupcolors[state=start]).

Another test:

\definedescription
[Desc]
[location=top,hang=3,headstyle={\switchtobodyfont[16pt]\red\bf}]

Does not work :(

Question: How to define color  font size for description header ? The
document of description is not complet. Search on Wiki  Mailing list
can not help me.

Thank you in advance,

--
http://vnoss.org
Vietnamese Open Source Software Community
 




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
 


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \definedescription question

2005-12-26 Thread VnPenguin
On 12/26/05, Willi Egger [EMAIL PROTECTED] wrote:
 Hi,

 Her the following works:

 \definedescription
 [Desc]
 [location=top,hang=3,headstyle={\color[red]}]

 or

 \definedescription
 [Desc]
 [location=top,hang=3,headstyle={\switchtobodyfont[34pt]\bf\color[red]}]


No, it does not work for me :(

I use:

 TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

   texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.30.5-2.2 (Web2C 7.5.5)
   context : ver: 2005.12.19
   cont-en : ver: 2005.12.19  fmt: 2005.12.19  mes: english

Thanks anyways,
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context