Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Am Montag, 6. März 2023, 14:34:28 CET schrieb Aditya Mahajan via ntg-context: > On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > > > Hi, > > > > I'm trying to use a description environment in conjunction with an > > itemize with the latest luametatex. Is this supposed to work? > > > >

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > Hi, > > I'm trying to use a description environment in conjunction with an > itemize with the latest luametatex. Is this supposed to work? > > Here is an MWE: > ``` > \definedescription[desc][headstyle=bold] > > \starttext > Foo > > \d

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

Re: [NTG-context] description renders unintended results (LUATEX BUG?)

2017-03-07 Thread Floris van Manen
> On 8 Mar 2017, at 01:04, Alan Braslau wrote: > > The two systems are very different, MKII being > "frozen" and MKIV having evolved in some ways significantly. It is not > a question of TeX engines, but rather of entire systems. > ok, that makes sense. > But it sounds like you want to be u

Re: [NTG-context] description renders unintended results (LUATEX BUG?)

2017-03-07 Thread Alan Braslau
You can see from your log that context --pdftext is running the MKII macros and context is running MKIV macros. The two systems are very different, MKII being "frozen" and MKIV having evolved in some ways significantly. It is not a question of TeX engines, but rather of entire syste

Re: [NTG-context] description renders unintended results (LUATEX BUG?)

2017-03-07 Thread Alan Braslau
On Tue, 7 Mar 2017 18:04:34 +0100 Floris van Manen wrote: > The incorrect nesting seems to be connected to the luatex engine. > If i have the same source compiled by pdftex, it works as intended. > > So is the different rendering an intended feature of luatex, or a > simple bug? mkii or mkiv?

Re: [NTG-context] description renders unintended results (LUATEX BUG?)

2017-03-07 Thread Floris van Manen
The incorrect nesting seems to be connected to the luatex engine. If i have the same source compiled by pdftex, it works as intended. So is the different rendering an intended feature of luatex, or a simple bug? .F > On 6 Mar 2017, at 00:34, Floris van Manen wrote: > > Is there anyone out th

Re: [NTG-context] description renders unintended results

2017-03-05 Thread Floris van Manen
Is there anyone out there who has a clue as how to fix this? Thanks .F > On 4 Mar 2017, at 11:58, Floris van Manen wrote: > > >> On 4 Mar 2017, at 11:25, Otared Kavian wrote: >> >> Since you specify >> align=left >> in the setup of your description, I don’t see why the output would be

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Floris van Manen
> On 4 Mar 2017, at 11:25, Otared Kavian wrote: > > Since you specify > align=left > in the setup of your description, I don’t see why the output would be > unexpected. With the following version of your example code I get the > attached PDF output. I got the left/right discrepancy betw

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Henning Hraban Ramm
Am 2017-03-04 um 11:25 schrieb Otared Kavian : > Since you specify > align=left > in the setup of your description, I don’t see why the output would be > unexpected. With the following version of your example code I get the > attached PDF output. While the alignment was to be expected, th

Re: [NTG-context] description renders unintended results

2017-03-04 Thread Otared Kavian
Hi Floris,Since you specify align=leftin the setup of your description, I don’t see why the output would be unexpected. With the following version of your example code I get the attached PDF output.%%% begin \setuppapersize[A5]\definedescription[descr][ headstyle=bold, style=normal,% align=flushrig

Re: [NTG-context] description questions

2017-02-21 Thread Csikos Bela
Aditya Mahajan írta: >> I am experimenting with descriptions and I couldn't find in the documentation >> the following: >> >> 1. What is the default value of width option? It seems that default width >> uses the >> longest head + some distance for every head in a descriptions list. Sorry, I wasn

Re: [NTG-context] description questions

2017-02-20 Thread Aditya Mahajan
I am experimenting with descriptions and I couldn't find in the documentation the following: 1. What is the default value of width option? It seems that default width uses the longest head + some distance for every head in a descriptions list. Neither width=fit nor width=broad,distance=dimension

[NTG-context] description questions

2017-02-20 Thread Csikos Bela
Dear context users: I am experimenting with descriptions and I couldn't find in the documentation the following: 1. What is the default value of width option? It seems that default width uses the longest head + some distance for every head in a descriptions list. Neither width=fit nor width=broa

Re: [NTG-context] description setup error

2012-05-13 Thread Wolfgang Schuster
Am 13.05.2012 um 22:16 schrieb Meer, H. van der: > Of all the parameter values for \setupdescriptions[][alternative=value] there > is one that fails here, i.e. "right". right is a value mentioned in > http://wiki.contextgarden.net/Command/setupdescriptions. > > Below a minimal example and the

[NTG-context] description setup error

2012-05-13 Thread Meer, H. van der
Of all the parameter values for \setupdescriptions[][alternative=value] there is one that fails here, i.e. "right". right is a value mentioned in http://wiki.contextgarden.net/Command/setupdescriptions. Below a minimal example and the error. \definedescription[htmldd][before=,after=] \setupdesc

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks for explanation. Best regards, Lukas On Tue, 10 Apr 2012 17:42:46 +0200, Wolfgang Schuster wrote: small = 1em medium = 1.5em big = 2em Are these values accessible anyhow? Via Lua? They are stored in \parindent but descriptions have the setting “indenting=never” which se

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Wolfgang Schuster
Am 10.04.2012 um 15:42 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > On Tue, 10 Apr 2012 11:49:56 +0200, Wolfgang Schuster > wrote: > >> When you want a certain value in various places I would use \definemeasure >> to set it and \measure to access it. >> >> \definemeasure[parindent][1em]

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Tue, 10 Apr 2012 11:49:56 +0200, Wolfgang Schuster wrote: When you want a certain value in various places I would use \definemeasure to set it and \measure to access it. \definemeasure[parindent][1em] \define[1]\TestHeadCommand {\offset[x=-\measure{parindent}]{#1}} \definedescription

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thank you, Aditya, that's it! Lukas On Tue, 10 Apr 2012 11:27:05 +0200, Aditya Mahajan wrote: On Tue, 10 Apr 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: XXX _ ^ V - this distance to be specified. blablabla blabla b

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Wolfgang Schuster
Am 10.04.2012 um 09:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello Wolfgang, > > thanks for the solution. > > Two more questions: > > - How to specify indenting to be equal to the normal paragraph indenting? > > Here's my trial: > > > \setupindenting[yes,first,medium] > > \

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Aditya Mahajan
On Tue, 10 Apr 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: - Is it possible to reduce (or specify) the distance between the label and the next text? XXX _ ^ V - this distance to be specified. blablabla blabla blabla blabla

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Wolfgang, thanks for the solution. Two more questions: - How to specify indenting to be equal to the normal paragraph indenting? Here's my trial: \setupindenting[yes,first,medium] \define[1]\TestHeadCommand{\offset[x=-\parindent]{#1}} % This doesn't work \starttext \definedescr

Re: [NTG-context] \description - indenting lines, "alternative=top"

2012-04-09 Thread Wolfgang Schuster
Am 09.04.2012 um 14:50 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > another case of description (following > http://www.mail-archive.com/ntg-context@ntg.nl/msg62775.html), now with > "alternative=top" - I'm trying to get: > > XX > > blablabla bla > bla blablabla > blab

[NTG-context] \description - indenting lines, "alternative=top"

2012-04-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, another case of description (following http://www.mail-archive.com/ntg-context@ntg.nl/msg62775.html), now with "alternative=top" - I'm trying to get: XX blablabla bla bla blablabla blabla. | | |-| A constant of indenting - to be specified by the user. | | |<---

Re: [NTG-context] \description - indenting lines from the 2nd

2012-04-04 Thread Wolfgang Schuster
Am 04.04.2012 um 16:03 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > ... Thank you, now it's perfect. > > So option "alternative=" is to be used instead of "location=". > > Does "location" still have any meaning or is it deprecated and replaced by > "alternative"? For MkIV not because the

Re: [NTG-context] \description - indenting lines from the 2nd

2012-04-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thank you, now it's perfect. So option "alternative=" is to be used instead of "location=". Does "location" still have any meaning or is it deprecated and replaced by "alternative"? - On wiki, "location" is still frequently noticed... Best regards, Lukas On Wed, 04 Apr 2012 14:28:31 +0

Re: [NTG-context] \description - indenting lines from the 2nd

2012-04-04 Thread Wolfgang Schuster
Am 04.04.2012 um 10:14 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > what option(s) to use with \definedescription if I'd like to get the > following shape (attempt to ACSII art): > > XX blablabla > blablabla bla > blabla. > > | | > |-| A constant of indenting - to be s

[NTG-context] \description - indenting lines from the 2nd

2012-04-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, what option(s) to use with \definedescription if I'd like to get the following shape (attempt to ACSII art): XX blablabla blablabla bla blabla. | | |-| A constant of indenting - to be specified by the user. | | |<>| Text width. I inspired by wiki (th

Re: [NTG-context] Description inheritance?

2011-09-06 Thread Wolfgang Schuster
Am 06.09.2011 um 12:20 schrieb Marcin Borkowski: > Is there a way to define a description based on another one, so that all > parameters except the specified ones are inherited from the "base one"? \definedescription[base] \definedescription[clone][base] Wolfgang ___

[NTG-context] Description inheritance?

2011-09-06 Thread Marcin Borkowski
Is there a way to define a description based on another one, so that all parameters except the specified ones are inherited from the "base one"? TIA, -- Marcin Borkowski http://mbork.pl ___ If your question is of in

Re: [NTG-context] Description

2011-04-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
OK, thanks. On Wed, 20 Apr 2011 18:20:18 +0200, Wolfgang Schuster wrote: You can use “titleright” only in enumerations. I thought "titleright" was valid for descriptions [as well], see contextref.pdf, sec. "Descriptions", table on the pg. 237: \setupdescriptions [...,...][..,.=.,..] ...

Re: [NTG-context] Description

2011-04-20 Thread Wolfgang Schuster
Am 20.04.2011 um 11:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Hello, > > is it possible to specify some text to be used as the end of a description? > > I tried this: > > --- > \starttext > \definedescription[Owner][headstyle=em,width=broad,titleright={--- }] > > \Owner{AAA} Abc

Re: [NTG-context] description

2010-10-26 Thread Alan BRASLAU
On Tuesday 26 October 2010 20:51:15 luigi scarso wrote: > On Tue, Oct 26, 2010 at 8:39 PM, Jelle Huisman wrote: > > On 26/10/10 14:31, Arthur Reutenauer wrote: > >> On Tue, Oct 26, 2010 at 08:30:08PM +0200, Arthur Reutenauer wrote: > >>> On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote

Re: [NTG-context] description

2010-10-26 Thread Henning Hraban Ramm
Am 2010-10-26 um 20:51 schrieb luigi scarso: Yes, you're right. ... no pun intended... Right... you left me wondering about it ;-) Threre were times and countries where be Left was right, and be Right was wrong. "War doesn't decide who's right but who's left." Greetlings, Hraban

Re: [NTG-context] description

2010-10-26 Thread Hans Hagen
On 26-10-2010 8:30, Arthur Reutenauer wrote: On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: Please explain the meaning of "align=left". To me it is more a raggedleft. (mkiv, TeXLive) Yes, you're right. This has been the case since the beginning, and has been retained for com

[NTG-context] description

2010-10-26 Thread Herbert Voss
>From the documentation page 236 ( ConTEXt reference manual ) %- \definedescription [definition] [location=serried, headstyle=bold,width=broad, sample={icon}%% senseless here ] \starttext \definition{icon} What for some languages lo

Re: [NTG-context] description

2010-10-26 Thread luigi scarso
On Tue, Oct 26, 2010 at 8:39 PM, Jelle Huisman wrote: > On 26/10/10 14:31, Arthur Reutenauer wrote: >> >> On Tue, Oct 26, 2010 at 08:30:08PM +0200, Arthur Reutenauer wrote: >>> >>> On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: Please explain the meaning of "align=left". T

Re: [NTG-context] description

2010-10-26 Thread Herbert Voss
Am 26.10.2010 20:30, schrieb Arthur Reutenauer: > On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: >> Please explain the meaning of "align=left". To me it >> is more a raggedleft. (mkiv, TeXLive) > > Yes, you're right. This has been the case since the beginning, and > has been reta

Re: [NTG-context] description

2010-10-26 Thread Jelle Huisman
On 26/10/10 14:31, Arthur Reutenauer wrote: On Tue, Oct 26, 2010 at 08:30:08PM +0200, Arthur Reutenauer wrote: On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: Please explain the meaning of "align=left". To me it is more a raggedleft. (mkiv, TeXLive) Yes, you're right. ..

Re: [NTG-context] description

2010-10-26 Thread Arthur Reutenauer
On Tue, Oct 26, 2010 at 08:30:08PM +0200, Arthur Reutenauer wrote: > On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: > > Please explain the meaning of "align=left". To me it > > is more a raggedleft. (mkiv, TeXLive) > > Yes, you're right. ... no pun intended... Arthur _

Re: [NTG-context] description

2010-10-26 Thread Arthur Reutenauer
On Tue, Oct 26, 2010 at 08:28:17PM +0200, Herbert Voss wrote: > Please explain the meaning of "align=left". To me it > is more a raggedleft. (mkiv, TeXLive) Yes, you're right. This has been the case since the beginning, and has been retained for compatibility reasons, even if the name is confus

[NTG-context] description

2010-10-26 Thread Herbert Voss
Please explain the meaning of "align=left". To me it is more a raggedleft. (mkiv, TeXLive) \definedescription[Uni][ headstyle=bold, align=left, location=hanging,width=broad,margin=1cm] \starttext \Uni{FU} Freie Universität Berlin \Uni{HU} Humboldt Universität Berlin, die älteste U

Re: [NTG-context] description: whitespace between head and text

2010-07-23 Thread Wolfgang Schuster
Am 23.07.10 15:45, schrieb Jan Pohanka: Hello, \definedescription [definition] [headstyle=bold, inbetween=, headcolor=TheColor, location=top] \definition{AAA} AAA is an aglorithm \par which parameter controls the white space between the description title (at top location)

[NTG-context] description: whitespace between head and text

2010-07-23 Thread Jan Pohanka
Hello, \definedescription [definition] [headstyle=bold, inbetween=, headcolor=TheColor, location=top] \definition{AAA} AAA is an aglorithm \par which parameter controls the white space between the description title (at top location) and the description text. greetings Jan

Re: [NTG-context] description fails on \if

2008-03-27 Thread Wolfgang Schuster
On Wed, Mar 26, 2008 at 9:23 PM, Hans van der Meer <[EMAIL PROTECTED]> wrote: > Wolfgang, > > From your observation I am inclined to guess that the \ifx falls prey > to the collection of arguments. The \relax can be replaced by an extra > pair {} behind the description: \answerblock{}{}% also type

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans Hagen
Hans van der Meer wrote: > I more or less conclude that the lookahead from \dodoublegroupempty > does not stop on the \if. If I remember correctly, that behaviour is > to be expected from tex and the prospects for solving it generically > within the format bleak. If Hans Hagen is listening,

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans Hagen
Hans van der Meer wrote: > After some detective work in which Wolfgang Schuster had a large share > and has found the most elegant workaround, the addition of a \relax > just after the description call prevents the error: > \def\shortanswer#1\par{% > \par % be sure to end paragraph here

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans van der Meer
Wolfgang, From your observation I am inclined to guess that the \ifx falls prey to the collection of arguments. The \relax can be replaced by an extra pair {} behind the description: \answerblock{}{}% also typesets without the if-error. I more or less conclude that the lookahead from \dodo

Re: [NTG-context] description fails on \if

2008-03-26 Thread Wolfgang Schuster
On Tue, Mar 25, 2008 at 8:38 PM, Hans van der Meer <[EMAIL PROTECTED]> wrote: > There is the following problem on code that did work around july 2007, > but no longer under the current context version (2008-03-11). > > Define a description, I did: > \definedescription[answerblock][% >\c!mar

[NTG-context] description fails on \if

2008-03-25 Thread Hans van der Meer
There is the following problem on code that did work around july 2007, but no longer under the current context version (2008-03-11). Define a description, I did: \definedescription[answerblock][% \c!margin=\v!no,\c!location=\v!left,% \c!headstyle=\@@exmintrostyle,\c!style=\@@exms

Re: [NTG-context] Description nesting

2006-05-06 Thread nico
On Sat, 06 May 2006 10:30:24 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> Hello, >> >> Is there a way to nest some descriptions, where the nested descriptions >> respect the enclosing indentation? >> > btw, we need some test files for descriptions in the test-suite I've added two

Re: [NTG-context] Description nesting

2006-05-06 Thread nico
On Sat, 06 May 2006 10:29:56 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> Hello, >> >> Is there a way to nest some descriptions, where the nested descriptions >> respect the enclosing indentation? >> > you can play with this patch Ok, it works fine, thanks! It also makes the inde

Re: [NTG-context] Description nesting

2006-05-06 Thread Hans Hagen
nico wrote: > Hello, > > Is there a way to nest some descriptions, where the nested descriptions > respect the enclosing indentation? > btw, we need some test files for descriptions in the test-suite Hans -

Re: [NTG-context] Description nesting

2006-05-06 Thread Hans Hagen
nico wrote: > Hello, > > Is there a way to nest some descriptions, where the nested descriptions > respect the enclosing indentation? > > Funnily the wiki speaks about the subject > (http://wiki.contextgarden.net/Description) but doesn't give any solution > (btw, the given solution to have se

Re: [NTG-context] Description nesting

2006-05-05 Thread Aditya Mahajan
On Fri, 5 May 2006, nico wrote: > Hello, > > Is there a way to nest some descriptions, where the nested descriptions > respect the enclosing indentation? > > Funnily the wiki speaks about the subject > (http://wiki.contextgarden.net/Description) but doesn't give any solution > (btw, the given solu

[NTG-context] Description nesting

2006-05-05 Thread nico
Hello, Is there a way to nest some descriptions, where the nested descriptions respect the enclosing indentation? Funnily the wiki speaks about the subject (http://wiki.contextgarden.net/Description) but doesn't give any solution (btw, the given solution to have several paragraphs in a desc

Re: [NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
On 12/27/05, VnPenguin <[EMAIL PROTECTED]> wrote: > On 12/27/05, Hans Hagen <[EMAIL PROTECTED]> wrote: > > ugly but working: > > > > \setupcolors[state=start] > > > > \definedescription > > [Desc] > > [location=top, > > hang=3, > > headstyle=bold, > > headcolor=red, > >

Re: [NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
On 12/27/05, Hans Hagen <[EMAIL PROTECTED]> wrote: > ugly but working: > > \setupcolors[state=start] > > \definedescription > [Desc] > [location=top, > hang=3, > headstyle=bold, > headcolor=red, > command=\hskip-2cm, > margin=2cm] > > \starttext > > \input tufte \st

Re: [NTG-context] description question (bis)

2005-12-27 Thread Hans Hagen
VnPenguin wrote: Hi, I have another question about description list : How to make description list with idented text, not header ? Example: This is header This is the text of description. This is the text of description. This is the text of description. This is the text of description

[NTG-context] description question (bis)

2005-12-27 Thread VnPenguin
Hi, I have another question about description list : How to make description list with idented text, not header ? Example: This is header This is the text of description. This is the text of description. This is the text of description. This is the text of description. This is the