[NTG-context] How to pass a parameter with \definedescription[]

2019-01-27 Thread Fabrice Couvreur
background=color, backgroundcolor=MyColorA, foregroundstyle={\switchtobodyfont[12pt]}, align={right, broad}, frame=off, corner=round, radius=1em, width=10cm] \definedescription [Info] [before=, after=, text=Note, title=no, width=fit, distance=

[NTG-context] Question about \definedescription

2018-05-22 Thread Procházka Lukáš Ing .
Hello, the following defintions: \definedescription[A][alternative=top] \A{Aaa} \input knuth \definedescription[B][alternative=hanging] \B{Bbb} \input knuth generate texts shaped: Aaa Thus, I came to the conclusion that the designer BbbThus, I came to the conclusion

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
On Mon, 7 Mar 2016 04:42:09 +0100 Wolfgang Schuster wrote: > \defineenumeration > [fact] > [list=fact] > > \starttext > > \startfact [title=First fact] > Many commands in \CONTEXT\ are obvious. > \stopfact > > \placelist [enumeration:fact] [criterium=all] > >

Re: [NTG-context] \definedescription and setupdescription options

2016-03-06 Thread Alan BRASLAU
On Fri, 4 Mar 2016 16:52:12 +0100 Wolfgang Schuster wrote: > Take a look at the attached files for the valid keys for the > description and enumeration environments. I am not managing use of lists of enumerations. \defineenumeration [fact] [list=fact]

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Am 04.03.2016 um 20:00 schrieb Wolfgang Schuster: > No, because I used a local version of the interface file where I added > missing entries but it isn’t finished yet. Wonderful. I love this feature. I am eagerly looking forward to see it released. Thanks! juh

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Wolfgang Schuster
Jan U. Hasecke 4. März 2016 um 19:29 Thank you Wolfgang, your examples are very helpful. Did you make the pdf with \showsetup{...}? I am missing setupdescriptions. \setupdescriptions is a synonym for the \setupdescription command. And I get "MISSING

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Hi Aditya, Am 04.03.2016 um 16:49 schrieb Aditya Mahajan: > See: http://www.ntg.nl/maps/36/09.pdf which explains some of these. thank you very much for hinting to this ressources. juh ___ If your question is of

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Thank you Wolfgang, your examples are very helpful. Am 04.03.2016 um 16:52 schrieb Wolfgang Schuster: > Take a look at the attached files for the valid keys for the description > and enumeration environments. Did you make the pdf with \showsetup{...}? I am missing setupdescriptions. And I

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Wolfgang Schuster
Jan U. Hasecke <mailto:juh+ntg-cont...@mailbox.org> 4. März 2016 um 16:25 Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closec

Re: [NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Aditya Mahajan
On Fri, 4 Mar 2016, Jan U. Hasecke wrote: Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closecommand titleleft titleright

[NTG-context] \definedescription and setupdescription options

2016-03-04 Thread Jan U. Hasecke
Hi all, I am working on a small documentation and today I tried all the options in \definedescription and/or \setupdescriptions to understand what is going on. I have no idea what these options are doing: closecommand titleleft titleright titledistance titlestyle titlecolor headcommand hang

Re: [NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

2015-10-16 Thread Otared Kavian
Hi Louis, II guess what you need is the keyword alternative=top in the setup of your descritiption. Best regards: OK > On 09 Oct 2015, at 18:13, Louis Strous <louis.str...@intellimagic.com> wrote: > > With > > [start sample] > \definedescription[cmddescripti

[NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

2015-10-16 Thread Louis Strous
With [start sample] \definedescription[cmddescription][headstyle=bold,width=broad,style=normal,align=flushleft,alternative=hanging,margin=1cm] ... \startcmddescription{mycommand} This is a very useful command. It knows just what to do, and you don't even have to specify any options

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

Re: [NTG-context] \definedescription question

2014-09-22 Thread Gerben Wierda
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

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

[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

Re: [NTG-context] \definedescription question

2014-09-21 Thread Otared Kavian
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

Re: [NTG-context] \definedescription question

2014-09-21 Thread Gerben Wierda
{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

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

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

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

[NTG-context] Seems `\definedescription' do not work

2012-04-29 Thread Vladimir Lomov
Hello, I borrow this example from wiki: example file=ex2.tex %\setupbodyfont[computer-modern-unicode,12pt] \definedescription [Desc] [location=top,hang=20, headstyle={\bf\color[blue]}, command=\hskip-1cm,margin=1cm] \starttext \startDesc{Tufte} \input tufte \stopDesc \stoptext

Re: [NTG-context] Seems `\definedescription' do not work

2012-04-29 Thread Wolfgang Schuster
Am 29.04.2012 um 08:48 schrieb Vladimir Lomov: Hello, I borrow this example from wiki: example file=ex2.tex %\setupbodyfont[computer-modern-unicode,12pt] \definedescription [Desc] [location=top,hang=20, headstyle={\bf\color[blue]}, command=\hskip-1cm,margin=1cm] \starttext

Re: [NTG-context] Seems `\definedescription' do not work

2012-04-29 Thread Vladimir Lomov
Hello Wolfgang, ** Wolfgang Schuster [2012-04-29 09:14:57 +0200]: Am 29.04.2012 um 08:48 schrieb Vladimir Lomov: Hello, I borrow this example from wiki: example file=ex2.tex %\setupbodyfont[computer-modern-unicode,12pt] \definedescription [Desc] [location=top,hang=20, headstyle

Re: [NTG-context] \definedescription wrapping

2012-03-11 Thread Wolfgang Schuster
Am 11.03.2012 um 02:43 schrieb Kip Warner: Hey list, I'd like the description title to not wrap part way through its title. I'm using the following definition: \definedescription[definition] [location=top, alternative=top, headcolor=colour_head, headstyle=boldslanted] Add

Re: [NTG-context] \definedescription wrapping

2012-03-11 Thread Kip Warner
On Sun, 2012-03-11 at 09:27 +0100, Wolfgang Schuster wrote: Add width=fit to \definedescription. Thanks a lot Wolfgang. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part

[NTG-context] \definedescription wrapping

2012-03-10 Thread Kip Warner
Hey list, I'd like the description title to not wrap part way through its title. I'm using the following definition: \definedescription[definition] [location=top, alternative=top, headcolor=colour_head, headstyle=boldslanted] But if I use it with something like... \startdefinition

Re: [NTG-context] \definedescription usage

2012-03-06 Thread Kip Warner
: \definedescription[definition] [location=top, alternative=top, hang=20, headcolor=colour_head, headstyle=boldslanted, command=\hskip-1cm, margin=1cm] As soon as I added that variable and assignment, it crapped out: ! Undefined control sequence. \143top:width -\localhize

Re: [NTG-context] \definedescription usage

2012-03-06 Thread Marco
On 2012-03-06 Kip Warner k...@thevertigo.com wrote: As soon as I added that variable and assignment, it crapped out: ! Undefined control sequence. \143top:width -\localhize \assignwidth ...dth \ifcsname \??dimensionwidth #1 Looks like this bug:

Re: [NTG-context] \definedescription usage

2012-03-06 Thread Kip Warner
On Wed, 2012-03-07 at 00:40 +0100, Marco wrote: Looks like this bug: http://permalink.gmane.org/gmane.comp.tex.context.devel/1974 Marco I don't know why, but I always seem to be the one to step on every ConTeXt landmine. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail

[NTG-context] \definedescription usage

2012-03-05 Thread Kip Warner
Hey list, I'd like the contents of my \startdefinition \stopdefinition pairs to have their title above them on a line of their own, but am having problems with the usage: \definedescription[definition] [location=top, hang=20, headcolor=colour_head, headstyle=boldslanted, command

Re: [NTG-context] \definedescription usage

2012-03-05 Thread Wolfgang Schuster
Am 06.03.2012 um 03:05 schrieb Kip Warner: Hey list, I'd like the contents of my \startdefinition \stopdefinition pairs to have their title above them on a line of their own, but am having problems with the usage: \definedescription[definition] [location=top, alternative=top

[NTG-context] \definedescription problems (beta)

2012-02-16 Thread Peter Park Nelson
Two problems using \definedescription the 2.16 beta: \definedescription[mydescription][location=serried,text={Description}] %% This gives an error (no blank lines around content): \startmydescription This is a description \stopmydescription %% But this works (with blank lines

Re: [NTG-context] \definedescription problems (beta)

2012-02-16 Thread Otared Kavian
problems using \definedescription the 2.16 beta: \definedescription[mydescription][location=serried,text={Description}] %% This gives an error (no blank lines around content): \startmydescription This is a description \stopmydescription %% But this works (with blank lines

Re: [NTG-context] \definedescription problems (beta)

2012-02-16 Thread Wolfgang Schuster
Am 16.02.2012 um 21:41 schrieb Peter Park Nelson: Two problems using \definedescription the 2.16 beta: \definedescription[mydescription][location=serried,text={Description}] %% This gives an error (no blank lines around content): \startmydescription This is a description

Re: [NTG-context] \definedescription problems (beta)

2012-02-16 Thread Wolfgang Schuster
Am 16.02.2012 um 21:50 schrieb Otared Kavian: Hi Peter, As Wolfgang pointed out in answering one of the problems I reported earlier today, one has to use « alternative=hanging » instead of « location=hanging ». I guess it should be the same with the « serried ». Yes, descriptions and

Re: [NTG-context] \definedescription problems (beta)

2012-02-16 Thread Peter Park Nelson
I just saw Otared's message. alternative=serried gives an error. Two error examples: 1. spacing around description contents: %%--example-%% \definedescription[Abstract][text={Abstract}] \starttext \startAbstract % THIS ONLY WORKS WITH BLANK LINES: \input

Re: [NTG-context] \definedescription problems (beta)

2012-02-16 Thread Wolfgang Schuster
Am 16.02.2012 um 22:20 schrieb Peter Park Nelson: I just saw Otared's message. alternative=serried gives an error. Two error examples: 1. spacing around description contents: %%--example-%% \definedescription[Abstract][text={Abstract}] \starttext

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 06:48 AM, Wolfgang Schuster wrote: Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting{range} especifica espectro \stoptext Just in case

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Wolfgang Schuster
Am 11.02.2012 um 13:27 schrieb Pablo Rodríguez: On 02/11/2012 06:48 AM, Wolfgang Schuster wrote: Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 01:46 PM, Wolfgang Schuster wrote: Am 11.02.2012 um 13:27 schrieb Pablo Rodríguez: On 02/11/2012 06:48 AM, Wolfgang Schuster wrote: Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Wolfgang Schuster
Am 11.02.2012 um 15:12 schrieb Pablo Rodríguez: Thanks for your help and the explanation, Wolfgang. I'm afraid that it doesn't work even after regenerating the format (mtxrun --selfupdate mtxrun --generate luatools --generate context --make, as suggested by the wiki). Here is what I

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-11 Thread Pablo Rodríguez
On 02/11/2012 03:20 PM, Wolfgang Schuster wrote: Here is what I did: 1. I changed in \strc_constructions_set_hang “\fi” to ”\fi\fi\fi“. 2. I typed “context --make en” in the shell. After running context --make en the error was gone. Thanks for your help, Pablo -- http://www.oudeis.tk

[NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-10 Thread Pablo Rodríguez
Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting{range} especifica espectro \stoptext Just in case it helps, Pablo -- http://www.oudeis.tk

Re: [NTG-context] \definedescription[...][hang=fit] broken in latest beta?

2012-02-10 Thread Wolfgang Schuster
Am 10.02.2012 um 19:28 schrieb Pablo Rodríguez: Hi there, I'm not able to compile this code using the latest beta: \definedescription[optionlisting][hang=fit] \starttext \optionlisting{range} especifica espectro \stoptext Just in case it helps, 1. You need a empty line or \par

[NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
Hi there, I have the following sample that works with \type: \definedescription[abc][headcommand=\tfa] \starttext \abc{\type{\startext}} not working \stoptext But if I use the headcommand=type option: \definedescription[abc][headcommand=\type] \starttext \abc

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 12:39 schrieb Pablo Rodríguez: Hi there, I have the following sample that works with \type: \definedescription[abc][headcommand=\tfa] \starttext \abc{\type{\startext}} not working \stoptext But if I use the headcommand=type option

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
. \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \stoptext Thanks for your reply, Wolfgang. I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \tex{stoptext} \stoptext \tex

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Aditya Mahajan
{…} which appends a save version of \” in front of the argument. \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \stoptext Thanks for your reply, Wolfgang. I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 05:49 PM, Aditya Mahajan wrote: On Jan 29, 2012, at 10:17 AM, Pablo Rodríguez oi...@web.de wrote: [...] I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \tex{stoptext} \stoptext \tex{…} command works

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
version of \” in front of the argument. \definedescription[abc][headcommand=\tex] \starttext \abc{startext} not working \stoptext Thanks for your reply, Wolfgang. I'm afraid it doesn't work: \definedescription[abc][headcommand=\tex] \starttext \abc{startext

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
On 01/29/2012 06:24 PM, Wolfgang Schuster wrote: [...] I tested it now myself and what you want doesn’t work in this way. As you can see in the example below “headcommand=\tex” does work when you also use “location=command” but only with some limitations, e.g. the font is wrong and you

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
the commands you use in the document pass the content to a internal description environment. \usemodule[annotation] \definedescription[abcdescription] \define[2]\AbcCommand {\startabcdescription{\tex{\placeannotationtitle}}% \placeannotationcontent \stopabcdescription} \defineannotation[abc

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Pablo Rodríguez
. \usemodule[annotation] \definedescription[abcdescription] \define[2]\AbcCommand {\startabcdescription{\tex{\placeannotationtitle}}% \placeannotationcontent \stopabcdescription} \defineannotation[abc][alternative=command,command=\AbcCommand] \starttext %\abc{starttext

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Aditya Mahajan
On Sun, 29 Jan 2012, Wolfgang Schuster wrote: You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment. \usemodule[annotation] \definedescription[abcdescription] \defineannotation[abc][alternative=command,command

Re: [NTG-context] bug with headcommand=type in definedescription?

2012-01-29 Thread Wolfgang Schuster
Am 29.01.2012 um 19:38 schrieb Aditya Mahajan: On Sun, 29 Jan 2012, Wolfgang Schuster wrote: You can use a two step mechanism where the commands you use in the document pass the content to a internal description environment. \usemodule[annotation] \definedescription[abcdescription

[NTG-context] \definedescription and space after \par

2009-04-07 Thread Markus Hubig
Hi @all, how can I alter the vertical space between two description items? I defined my description environment like this: ---8-schnipp--- \definedescription [dsc] [location=left,headstyle=bold,width=8em,style=packed] ---8-schnapp

Re: [NTG-context] \definedescription and space after \par

2009-04-07 Thread Wolfgang Schuster
Am 07.04.2009 um 15:04 schrieb Markus Hubig: Hi @all, \all :) how can I alter the vertical space between two description items? I defined my description environment like this: ---8-schnipp--- \definedescription [dsc] [location=left,headstyle=bold,width=8em,style

Re: [NTG-context] \definedescription[...][inbetween=...] ?

2007-03-21 Thread Peter Münster
On Wed, 21 Mar 2007, luigi scarso wrote: location=top is the key \definedescription[Test][inbetween={\vrule width 0.5\textwidth height1pt\blank},headcolor=red,location=top] Thanks! I thought, inbetween means between too description items... Cheers, Peter -- http://pmrb.free.fr/contact

[NTG-context] \definedescription[...][inbetween=...] ?

2007-03-20 Thread Peter Münster
Hello, what is the meaning of the inbetween option to \definedescription ? In the following example, there seems to be no effect: \definedescription[Test][inbetween={\blank[5*big]}] \starttext \startTest{bla} bla \stopTest \startTest{bla} bla \stopTest \stoptext Cheers, Peter -- http

Re: [NTG-context] \definedescription[...][inbetween=...] ?

2007-03-20 Thread luigi scarso
On 3/20/07, Peter Münster [EMAIL PROTECTED] wrote: Hello, what is the meaning of the inbetween option to \definedescription ? In the following example, there seems to be no effect: \definedescription[Test][inbetween={\blank[5*big]}] \starttext \startTest{bla} bla \stopTest \startTest

[NTG-context] definedescription and XML

2007-01-04 Thread Johannes Graumann
Hello all, After a good break I'm back at my XML obsession and am running into the following issue: my environment-file contains these definitions \defineXMLnested [reagentlist] [sample=] {\definedescription[definition][width=broad,distance=1em,sample={\XMLop{sample

Re: [NTG-context] definedescription and XML

2007-01-04 Thread Hans Hagen
Johannes Graumann wrote: Hello all, After a good break I'm back at my XML obsession and am running into the following issue: my environment-file contains these definitions \defineXMLnested [reagentlist] [sample=] {\definedescription[definition][width=broad,distance=1em,sample

Re: [NTG-context] definedescription and XML

2007-01-04 Thread Johannes Graumann
Hans, Thanks so much for your help once again! Joh ___ 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 :( There has been a patch to this core recently. Will investigate. Taco ___ ntg-context mailing list ntg-context@ntg.nl

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:

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)

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

[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

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

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

Re: [NTG-context] \definedescription question

2005-12-26 Thread Willi Egger
/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

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-20 Thread Hans Hagen
Radhelorn wrote: \getparameters[\??dd#1] [\s!do\c!state=\v!stop,\s!do\c!command=\normal@@descriptionhandler,\c!level=,#2]% - \doifvalue{\??dd#1\c!location}\v!top{\doassign[\??dd#1][\c!inbetween=\blank]}% + \doifvalue{\??dd#1\c!location}\v!top{% +

[NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn
Hello All! I think that I've found a bug in descriptions. It seems that it is impossible to redefine inbetween option -- it always produces a \blank. Try this: \definedescription[desc][before=before,after=after,inbetween=inbetween,location=top] \desc{test} test I've fixed it this way: --- core

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Taco Hoekwater
Hi, Radhelorn wrote: ... [bug and fix snipped] .. Thanks for the bug report. And when using commands with brackets in argumets like: \definedescription[desc][before=\blank[small]] ConTeXt will give many errors, so arguments needs to be grouped (before={\blank[small

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn
Taco Hoekwater wrote: And when using commands with brackets in argumets like: \definedescription[desc][before=\blank[small]] ConTeXt will give many errors, so arguments needs to be grouped (before={\blank[small]}). Is this intentional? Yes, that is a speed optimization. ConTeXt does

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Taco Hoekwater
Radhelorn wrote: Thanks. So every command with brackets needs to be grouped? Maybe something else? Where to look at it? I know of nothing else, just brackets. Any bracket, not just as part of a command, but also in cases like this: \setuppublications[left={[}] Taco

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread luigi.scarso
Radhelorn wrote: Thanks. So every command with brackets needs to be grouped? Maybe something else? Where to look at it? It's better grouping with {} with brackets; there should be nothing else. luigi ___ ntg-context mailing list

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Taco Hoekwater said this at Thu, 14 Jul 2005 16:30:10 +0200: So every command with brackets needs to be grouped? Maybe something else? Where to look at it? I know of nothing else, just brackets. Any bracket, not just as part of a command, but also in cases like this:

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn
Adam Lindsay wrote: Taco Hoekwater said this at Thu, 14 Jul 2005 16:30:10 +0200: So every command with brackets needs to be grouped? Maybe something else? Where to look at it? I know of nothing else, just brackets. Any bracket, not just as part of a command, but also in cases like this:

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Adam Lindsay
Radhelorn said this at Thu, 14 Jul 2005 21:25:50 +0400: If you think of the braces as quoting the parameter values, you'll probably be alright. I mean parameter values. Then why not have ConTeXt add braces to every parameter? Or there will be slowdown Taco mentioned? Sort of. That, I

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Christopher Creutzig
Radhelorn wrote: I mean parameter values. Then why not have ConTeXt add braces to every parameter? Or there will be slowdown Taco mentioned? Exactly. ConTeXt would need to find out the parameters' boundaries first, and that is the place where things would become slow, since it is not

Re: [NTG-context] Not possible to redefine inbetween in \definedescription

2005-07-14 Thread Radhelorn
Christopher Creutzig wrote: Radhelorn wrote: I mean parameter values. Then why not have ConTeXt add braces to every parameter? Or there will be slowdown Taco mentioned? Exactly. ConTeXt would need to find out the parameters' boundaries first, and that is the place where things would

Re: [NTG-context] \index + \definedescription

2003-10-10 Thread Willi Egger
Hm, I have never been a programmer. Willi Pavel wrote: Your solution works, but I've figured out a very simple, though probably not very elegant one: defined \def\dictind#1{\startDictEntry{#1}\index{#1}} and replaced all \startDictEntry w/ \dictind.

Re: [NTG-context] \index + \definedescription

2003-10-09 Thread Willi Egger
Hi Pavel At 06:27 09.10.2003, Pavel Stupin wrote: Hello, In my document, I have a description defined in this way: \definedescription[DictEntry][headstyle=bold,location=serried,width=broad] I use the DictEntry description like

[NTG-context] \index + \definedescription

2003-10-08 Thread Pavel Stupin
Hello, In my document, I have a description defined in this way: \definedescription[DictEntry][headstyle=bold,location=serried,width=broad] I use the DictEntry description like this: * \startDictEntry{Walters, Barbara (1931