[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-07-01 Thread Gerion Entrup
Am Freitag, 28. Juni 2024, 11:59:19 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 28.06.2024 um 11:40: > > > Do you know, why the groupedcommand solution does not work? > > The command and the environment which are created by \definestartstop > can't be interchanged when you use the

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-28 Thread Wolfgang Schuster
Gerion Entrup schrieb am 28.06.2024 um 11:40: Do you know, why the groupedcommand solution does not work? The command and the environment which are created by \definestartstop can't be interchanged when you use the before/after and left/right keys. begin example \usemodule[visual] \de

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-28 Thread Gerion Entrup
{>\,\switchtobodyfont[tt]}{}}, but actually I > >>> want to define a highlight (just with an additional prefix). > >> > >> 1. ConTeXt already uses \hl as name for a existing command. > >> > >> 2. Use \definestartstop: > >> > >&

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-27 Thread Wolfgang Schuster
gerion] [style=mono,left={›\thinspace}] \starttext text \gerion{text} \stoptext \definedescription[category][ alternative=top, headstyle=bold, width=broad, ] \definedescription[desc][ width=fit, distance={\widthofstring{~}}, distance=\spaceamount, Wo

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-24 Thread Gerion Entrup
;\,\switchtobodyfont[tt]}{}}, but actually I want > > to define a highlight (just with an additional prefix). > > 1. ConTeXt already uses \hl as name for a existing command. > > 2. Use \definestartstop: > > \definestartstop [gerion] [style=mono,left={›\thinspace}] > > \start

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Wolfgang Schuster
but actually I want to define a highlight (just with an additional prefix). 1. ConTeXt already uses \hl as name for a existing command. 2. Use \definestartstop: \definestartstop [gerion] [style=mono,left={›\thinspace}] \starttext text \gerion{text} \stoptext \definedescription[category][

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Gerion Entrup
\groupedcommand{>\,\switchtobodyfont[tt]}{}}, but actually I want to define a highlight (just with an additional prefix). > \definedescription[category][ > alternative=top, > headstyle=bold, > width=broad, > ] > > \definedescription[desc][ > wi

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Aditya Mahajan
the end. Not sure what exactly you want, but how about: \definehighlight[hl][style={\m{>}\,\switchtobodyfont[tt]}] % This is the wrong way to define such a command as '>' is not part of the style. I have left this definition just for comparison with the soln b

[NTG-context] Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Gerion Entrup
: ``` \definehighlight[hl][style={\m{>}\,\switchtobodyfont[tt]}] \definedescription[category][ alternative=top, headstyle=bold, width=broad, ] \definedescription[desc][ width=broad, distance={\widthofstring{~}}, headcommand={\groupedcommand{

[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] > > \stoptext > > does not produce a

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

2016-03-06 Thread Wolfgang Schuster
Alan BRASLAU 6. März 2016 um 23:17 On Fri, 4 Mar 2016 16:52:12 +0100 I am not managing use of lists of enumerations. \defineenumeration [fact] [list=fact] \starttext \startfact [title=First fact] Many commands in \CONTEXT\ are obvious. \stopfact \placelist [enumer

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] \starttext \startfact [title=First fa

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 SETUP

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 inter

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 get

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 wrote: > > With > > [start sample] > \definedescription[cmddescription][headstyle=bold,width=broad,

[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 op

Re: [NTG-context] \definedescription question

2014-09-22 Thread Wolfgang Schuster
Am 22.09.2014 um 22:33 schrieb Gerben Wierda : > Thanks. Can I do the same with \endnotes? You can use \setupnotedefinition[endnote][..,..=..,..] where the second argument accepts all arguments from \setupdescrption. Wolfgang __

Re: [NTG-context] \definedescription question

2014-09-22 Thread Gerben Wierda
a : >> >>> Better still. I found the solution: >>> >>> \definedescription[Member][headstyle=bold, >>> location=hanging,width=fit] >>> \definemeasure[CAindent][12pt] >>> \setupindenting[yes,\measure{CAindent}] >>> \star

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 wrote: > > Am 21.09.2014 um 20:32 schrieb Gerben Wierda : > >> Better still. I found the solution: >> >> \definedescription[Member][headstyle=bold, >>

Re: [NTG-context] \definedescription question

2014-09-21 Thread Wolfgang Schuster
Am 21.09.2014 um 20:32 schrieb 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 knu

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 18:29 schrieb 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. Make a minimal example! Wolfgang _

Re: [NTG-context] \definedescription question

2014-09-21 Thread Gerben Wierda
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 wrote: > >> I have this def

Re: [NTG-context] \definedescription question

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

[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

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: >> >> %\setupbodyfont[computer-modern-unicode,12pt] >> \definedescription >> [Desc] &g

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: > > %\setupbodyfont[computer-modern-unicode,12pt] > > \definedescription > [Desc] > [location=top,hang=20, > headstyle={\bf\color[blue]}, > command=\hski

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

2012-04-28 Thread Vladimir Lomov
Hello, I borrow this example from wiki: %\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 but context can't co

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 p

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=c

[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... \start

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 mai

Re: [NTG-context] \definedescription usage

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

Re: [NTG-context] \definedescription usage

2012-03-06 Thread Kip Warner
having > > problems with the usage: > > > > \definedescription[definition] > > [location=top, > > alternative=top, > > > hang=20, > > headcolor=colour_head, > > headstyle=boldslanted, > > command=\hskip-1cm, > > margin=1c

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] > [l

[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, co

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-%% > \definedescriptio

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: \

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

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

2012-02-16 Thread Otared Kavian
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 > > %% Bu

[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[...][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.oudei

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

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

2012-02-11 Thread Pablo Rodríguez
;> >>>> I'm not able to compile this code using the latest beta: >>>> >>>> \definedescription[optionlisting][hang=fit] >>>> \starttext >>>> \optionlisting{range} especifica espectro >>>> \stoptext >>>&g

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

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] >> \star

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

[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.oude

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[annotat

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 Pablo Rodríguez
nal description environment. > > \usemodule[annotation] > > \definedescription[abcdescription] > > \define[2]\AbcCommand >{\startabcdescription{\tex{\placeannotationtitle}}% > \placeannotationcontent > \stopabcdescription} > > \defineannotation[a

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

2012-01-29 Thread Wolfgang Schuster
title is > important for the document. 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] \define[2]\AbcCommand {\startabcdescription{\tex{\placeanno

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

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

2012-01-29 Thread Wolfgang Schuster
;> to show command is \tex{…} 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.

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 wrote: >> [...] >> I'm afraid it doesn't work: >> >>\definedescription[abc][headcommand=\tex] >>\starttext >>\abc{startext} not working \te

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

2012-01-29 Thread Aditya Mahajan
mmand >> to show command is \tex{…} 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, Wolfga

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

2012-01-29 Thread Pablo Rodríguez
n 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{s

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 u

[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] \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,st

[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--- B

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

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]}] >

[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

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 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[d

[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{s

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 d

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

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: 200

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/li

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

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,he

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 descri

[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,h

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{% + \doifnotvalue{\??dd#1\c

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 becom

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 possi

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 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: \s

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: > > \setuppublica

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 ntg-context@n

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 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 not

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]}). Is t

[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:

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-10 Thread Pavel Stupin
On Thu, 09 Oct 2003 09:47:51 +0200 Willi Egger <[EMAIL PROTECTED]> wrote: > Possibly the following approach can help: > > Define a list \definelist[name][options] > Write to this list at eac

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 this

[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