Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-25 Thread Christoph Reller
On Tue, Dec 22, 2020 at 5:25 AM Christoph Reller wrote: > On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < > christoph.rel...@gmail.com> wrote: > >> Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: >> >>> Actually, what you want is: >>>

[NTG-context] issue with \cite in ConTeXt ver: 2020.12.22 22:14 LMTX fmt: 2020.12.22

2020-12-22 Thread Alan Bowen
}]}% } \def\startbibitem{\dodoubleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-21 Thread Christoph Reller
On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller < christoph.rel...@gmail.com> wrote: > Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > >> Actually, what you want is: >> >> \definedescription[desc] >> \starttext >> \startdesc[title={Long

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hans Hagen schrieb am Sa., 19. Dez. 2020, 19:16: > Actually, what you want is: > > \definedescription >[desc] > > \starttext > > \startdesc[title={Long title},reference=foo,referencetext={Short > Title}] > \input jojomayer > \stopdesc &

Re: [NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Hans Hagen
[sel][max=2, n=2] \definedescription[desc][headcommand={\setupselector[sel][n=1]}] \starttext \startdesc[title={\select{sel}{Long title}{Short}}, reference=desc]   \input jojomayer \stopdesc \about[desc] \stoptext Hm, I'll check it. Any help is welcome! Actually, what you want

[NTG-context] Alternative for selector in LMTX for different heading and reference texts for descriptions

2020-12-19 Thread Christoph Reller
Hi, In ConTeXt MKIV, there are selectors (\defineselector, \select). In ConTeXt LMTX, they are gone. In LMTX, how can I achieve the following without using selectors: (Different heading and reference texts for descriptions) \defineselector[sel][max=2, n=2] \definedescription[desc][headcommand

Re: [NTG-context] LMTX and descriptions

2020-11-24 Thread Wolfgang Schuster
Jean-Philippe Rey schrieb am 24.11.2020 um 19:33: Dear list, I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem. == \definedescription[D] \starttext \D{Label} description % Label is not printed \startD

[NTG-context] LMTX and descriptions

2020-11-24 Thread Jean-Philippe Rey
Dear list, I am switching from MLIV to LMTX and I've found a problem with descriptions. Here is an example of the problem. == \definedescription[D] \starttext \D{Label} description % Label is not printed \startD{Label} % OK, but pb with the following table

Re: [NTG-context] lmtx update

2020-07-31 Thread Taco Hoekwater
n a > rewrite of some existing mechanism (generic subsystems with instances), but > that might as well go unnoticed. > > To give an idea of possibilities, here is an example: > > \definedescription[whatever][alternative=right:bottom] > > \startwhatever{just a small\\ex

[NTG-context] lmtx update

2020-07-31 Thread Hans Hagen
in progress concerns paragraph wrappers and that will result in a rewrite of some existing mechanism (generic subsystems with instances), but that might as well go unnoticed. To give an idea of possibilities, here is an example: \definedescription[whatever][alternative=right:bottom

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Garulfo
ent • \em, \bf, \cap, • \startitemize, \startitem, \starthead, • \placefigure, \externalfigure, • \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE • \index, \completeindex • \setuplayout, \setupfootertexts et \setupheadertexts • \definedescription, \defineenumeration • \at, \in Anyway, t

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Kevin Kenan
I keep the space between the heading text and the paragraph from >> stretching/shrinking in a description? >> >> MWE that exhibits variable space between the heading (the defined word) and >> the paragraph text: >> >> >>\definedescription >

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
paragraph text: > > > \definedescription > [definition] > [headstyle=italic, >indenting=1em, >alternative=hanging, >margin=2em, >distance=1.5em, stretch=0,

[NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Kevin Kenan
How can I keep the space between the heading text and the paragraph from stretching/shrinking in a description? MWE that exhibits variable space between the heading (the defined word) and the paragraph text: \definedescription [definition] [headstyle=italic, indenting

[NTG-context] Unexpected symbol with Enumeration

2019-10-15 Thread Fabrice Couvreur
}, frame=off, corner=00, radius=0.5em, width=10cm] \definedescription [Info] [before=, after=, text=Vocabulaire, title=no, width=fit, distance=0.5em, headcommand=\FrameTitle, alternative=serried] \starttext

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
[state=start, focus=standard, style=, click=yes, color=, contrastcolor=,] % Units \defineunit[sunit][separator=small] \setupunit[space=medium] \setuphead[section][style={\bfc}, before={\bigskip}, after={}] % Lua code to set up a database of symbols \definedescription[SymItem][] \startluacode

[NTG-context] Variable space with hanging description

2019-04-16 Thread Cedric Tissieres
(replace alternative=hanging by location=hanging in mkii). Thanks Cedric \definedescription[desc][ align=hyphenated,alternative=hanging, width=fit,margin=standard] \starttext \startdesc{Abcdefgh} \input knuth \stopdesc \startdesc{Abcdefghij} \input knuth \stopdesc \startdesc

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

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 30.11.18 um 19:36: Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace}, inbetween={\directsetup[small:whitespace

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
f a strut. \useMPlibrary[dum] \switchtobodyfont[pagella,12pt] \setuplayout [topspace=10mm, header=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \definedescription [Item] [width=1.5em, distance=none] \

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
=10mm, footer=10mm, height=middle, backspace=20mm, width=middle] \definedescription [Item] [width=1.5em, distance=none] \starttext \startxtable[bodyfont=10pt] \startxrow \startxcell[width=2cm] Expression\\\m{B'(x)} \stopxcell \startxcell

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Fabrice Couvreur
h] > > \defineframedtext >[FramedText] >[offset=0.6em, > style=\ss, > toffset=.25\lineheight, > background=color, > backgroundcolor=MyColorA, > oregroundstyle={\switchtobodyfont[10pt]}, > align={right, broad}, > frame=off, >

Re: [NTG-context] Text wrapped with an ornement

2018-08-19 Thread Hans Hagen
=0.6em, style=\ss, toffset=.25\lineheight, background=color, backgroundcolor=MyColorA, oregroundstyle={\switchtobodyfont[10pt]}, align={right, broad}, frame=off, corner=round, radius=1.5em, width=10cm] \definedescription [Info] [before=, after=, text=Info

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Wolfgang Schuster
espace settings in footnotes you get the same space between each footnote entry. What can be done is to add a whitespace key to setupnote which is easier than using setups-environment. \definedescription[Spaced][before=,after=] \starttext \startSpaced First entry. \stopSpaced \startSpaced Second

[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] Typesetting an interview

2018-02-11 Thread Wolfgang Schuster
\definemeasure[interview][3em] \define[1]\InterviewHeadCommand {\offset[x=-\measure{interview}]{#1}} \definedescription [interview] [alternative=top, headcommand=\InterviewHeadCommand, margin=\measure{interview}] \showframe[text][text] \starttext \startinterview{Weisman} \input

Re: [NTG-context] Typesetting an interview

2018-02-11 Thread Henning Hraban Ramm
; best setup. But I can’t find the right parameters for the layout I want... > Every contribution should look like: > > """ > HHR > Here’s the text, question or answer. > > OTR > And here’s the next one. > Might have several lines. > ""&q

[NTG-context] Typesetting an interview

2018-02-07 Thread Henning Hraban Ramm
e next one. Might have several lines. """ Working example: \definedescription[Interview][ headstyle=italic, style=normal, align=flushleft, alternative=hanging, ] \def\dostartInterview[#1][#2]% {\doifsomethingelse{#2}% {\startInterview[reference={#1},title={#2}]}%

Re: [NTG-context] Multiline descriptions do not line up

2017-07-09 Thread Hans Hagen
, shrink=0 to prevent this On Sat, 2017-07-08 at 23:45 -0400, Rik Kabel wrote: What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater. \definedescription [Desc

Re: [NTG-context] Multiline descriptions do not line up

2017-07-08 Thread Henri Menke
the error is > significantly greater. > \definedescription [Desc] >    [headstyle=\tf,alternative=hanging] > \definelayer   [vLine] > \setlayer  [vLine] >    > [x=3.385cm]{\blackrule[color=red,width=0.2pt,height=\textheigh

[NTG-context] Multiline descriptions do not line up

2017-07-08 Thread Rik Kabel
What is needed to align descriptions when the description text is wrapped? Items seven and thirteen below are particularly bad, and in a real document the error is significantly greater. \definedescription [Desc] [headstyle=\tf,alternative=hanging] \definelayer

[NTG-context] hunting a lua stack error

2017-03-13 Thread Alan Bowen
\cite[A, B, and C 2017] and worse. If I comment out the offending line, the file processes as it should. My test file does not duplicate the problem: it just shows another one ( that may or may not be relevant): \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentn

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

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Alan Bowen
ace] >> \spaceskip 0.5\interwordspace plus .5\interwordstretch minus >> \interwordshrink >> \stopsetups >> >> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={ >> #1}]} >> \de

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Hans Hagen
setups \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5p

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
t;>> >>> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} >>> \def\startbibitem{\dosingleempty\dostartbibitem} >>> \def\stopbibitem{\stopBibItem} >>> >>> \definedescription[BibItem][ >>> width=broad, >>> margin=1.5pc, &

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
ked][spacing=packed] >> \startsetups[tightspace] >> \spaceskip 0.5\interwordspace plus .5\interwordstretch minus >> \interwordshrink >> \stopsetups >> >> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} >> \def\startbibitem{\dosingleempty\dost

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Hans Hagen
[#1]{\startBibItem[title={#1},reference={#1}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before

Re: [NTG-context] new lua/stack error

2017-02-22 Thread Alan Bowen
}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed

Re: [NTG-context] description questions

2017-02-21 Thread Csikos Bela
puts stuff before head. >There is no way to reset options in ConTeXt. The canonical way to do this >is: > >\definedescription[defa] >\definedescription[defb][defa][width=broad, distance=1cm] > >\startdefa ... \stopdefa > >\startdefb ... \stopdefb > >(Untested):

Re: [NTG-context] description questions

2017-02-20 Thread Aditya Mahajan
=dimension results in the same. Some information is given here: http://www.ntg.nl/maps/36/09.pdf Enumerations and descriptions share a lot of settings. 2. In the same document how can I reset to the default options of a defined description list? For example: \definedescription[defa] \defa{head

[NTG-context] description questions

2017-02-20 Thread Csikos Bela
=broad,distance=dimension results in the same. 2. In the same document how can I reset to the default options of a defined description list? For example: \definedescription[defa] \defa{head} % deafult options are used \setupdescription[defa][width=broad,distance=1cm] \defa{head} % above

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
d Hossein Bateni <bat...@gmail.com > > wrote: > >> Hello Hans and Wolfgang, >> >> I tried different options in \definedescription and compared LTR and RTL >> behavior. There are certain inconsistencies/bugs in the RTL setting. >> Attached you can see a TeX fi

Re: [NTG-context] RTL \definedescriptions

2016-05-01 Thread Mohammad Hossein Bateni
atter what. —MHB On Thu, Apr 28, 2016 at 9:22 PM, Mohammad Hossein Bateni <bat...@gmail.com> wrote: > Hello Hans and Wolfgang, > > I tried different options in \definedescription and compared LTR and RTL > behavior. There are certain inconsistencies/bugs in the RTL setting. >

[NTG-context] RTL \definedescriptions

2016-04-28 Thread Mohammad Hossein Bateni
Hello Hans and Wolfgang, I tried different options in \definedescription and compared LTR and RTL behavior. There are certain inconsistencies/bugs in the RTL setting. Attached you can see a TeX file and the resulting PDF, trying different options. The first two pages consider different

Re: [NTG-context] Overlapping terms in description lists

2016-04-21 Thread luigi scarso
On Wed, Apr 20, 2016 at 12:58 PM, Tom Harrop <thomas.har...@ird.fr> wrote: > Hello again, > > The document I'm typsetting uses description lists. To keep the list > entries close together I'm using before=\nowhitespace and > after=\nowhitespace in \definedescription.

[NTG-context] Overlapping terms in description lists

2016-04-20 Thread Tom Harrop
Hello again, The document I'm typsetting uses description lists. To keep the list entries close together I'm using before=\nowhitespace and after=\nowhitespace in \definedescription. This is fine so long as the term is short, but when the term wraps to two lines it can overlap with the term

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

[NTG-context] inter-word space in bibliographies

2015-12-17 Thread Alan Bowen
{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \starttext Martin, J. 1956. \emph{Histoire du texte

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-13 Thread Henning Hraban Ramm
Am 2015-12-09 um 04:16 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> \definedescription[BibItem][ >> before={\directsetup{tightspace}\bgroup\language[packed]}, >> after={\egroup}, >> ] > you can use here (the grouping isn’t necessary) >

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
guages, and only "packed" or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobb

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
iption (is the setups key even supposed to work in \definedescription?). No, there is no setups key for description and you have to misuse the style key. \define\CompressSpace {\spaceskip .7\interwordspace plus .5\interwordstretch minus \interwordshrink} \definedescription[compresse

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Pablo Rodriguez
On 12/08/2015 12:11 PM, Henning Hraban Ramm wrote: > [...] > Thank you for the suggestion, but I can’t see any change, even if I use > extreme values for \spaceskip (like 0.1 or 10.0), neither in footnotes > nor in my description (is the setups key even supposed to work in > \de

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
Am 2015-12-08 um 15:01 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> \unprotect >> \definedescription[BibItem][ >> headcommand=\gobbleoneargument, >> align=right, >> before={\bgroup\spac_spacecodes_set_fixed{50}}, % does this take a value or &

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
er in footnotes > The footnote on the second page is a line shorter. Ok. >> nor in my description (is the setups key even supposed to work in >> \definedescription?). > No, there is no setups key for description and you have to misuse the style > key. > > \defin

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
r in footnotes >> nor in my description (is the setups key even supposed to work in >> \definedescription?). > > Hi Hraban, > > I don’t know whether this is right, but this works for me: > >\startsetups[footnote:space] > \spaceskip .7\interwordspace >p

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Aditya Mahajan
On Tue, 8 Dec 2015, Wolfgang Schuster wrote: nor in my description (is the setups key even supposed to work in \definedescription?). No, there is no setups key for description and you have to misuse the style key. Should we add one? It is a bit annoying at times that some

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
pacing=packed] You don’t have add a new language because \startsetups[tightspace] \spaceskip 0.7\interwordspace plus .5\interwordstretch minus \interwordshrink \stopsetups \definedescription[BibItem][ before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] you can us

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Aditya Mahajan
or "broad". In lang-spa.mkiv I found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobbleoneargument,

[NTG-context] horizontal spacing under special circumstances

2015-12-07 Thread Henning Hraban Ramm
found \definehspace, and in spac-hor.mkiv I found \spac_spacecodes_set_fixed{}, but I don’t understand if they can do what I want, and how. This doesn’t help: \unprotect \definedescription[BibItem][ headcommand=\gobbleoneargument, align=right, before={\bgroup\spac_spacecodes_se

Re: [NTG-context] missing reference of items

2015-12-05 Thread Wolfgang Schuster
ibitem{\stopBibItem} \definedescription[BibItem][ width=broad,margin=0pt, indenting=no,indentnext=no, headcommand=\emptyBibItemHead,] headcommand=\gobbleoneargument, Wolfgang ___ If your question is of interest to others a

Re: [NTG-context] missing reference of items

2015-12-05 Thread Henning Hraban Ramm
Am 2015-12-04 um 23:23 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: > or you use descriptions: > > \definedescription[bibitem][title=yes] > > \definereferenceformat [bibtitle] [type=title,left={[},right={]}] > \definereferenceformat [bibpage] [type=pa

Re: [NTG-context] missing reference of items

2015-12-04 Thread Wolfgang Schuster
rtitem[Ramm 2015] Ramm, Hraban: The Unsolved Question. Bishkek 2015. \stopitem \stopitemgroup See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015]. \stoptext or you use descriptions: \definedescription[bibitem][title=yes] \definereferenceformat [bibtitle] [type=title,left={[},right={

Re: [NTG-context] missing reference of items

2015-12-04 Thread Alan BRASLAU
ge] > > \starttext > > \startitemgroup[bibliography] > \startitem[Ramm 2015] > Ramm, Hraban: The Unsolved Question. Bishkek 2015. > \stopitem > \stopitemgroup > > See \bibnumber[Ramm 2015] at page \bibpage[Ramm 2015]. > > \stoptext > > > or

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

[NTG-context] Wiki / sample

2015-04-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the Sample 2 on http://wiki.contextgarden.net/Command/definedescription compiles well on my computer (one of the latest Ctx version) but not on wiki. (It happens to me time to time when I want to add a sample, mostly a snip from the mailing list.) IMHO, there is still a Ctx version

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
= \startenvironment env_cataoia \project project_cataoia % \definedescription [description] [location=serried, width=broad, hang=fit, margin=standard, headstyle=bold] \definestartstop [descriptions] [before=\startpacked

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Gerben Wierda
[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \definedescription[Member][headstyle=bold, location=hanging,indenting={yes,\measure

Re: [NTG-context] Second-level itemization and indenting question

2015-01-10 Thread Wolfgang Schuster
{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \definedescription[Member][headstyle=bold, location=hanging,indenting={yes,\measure{CAindent}},width=fit] \starttext \input knuth \startMember{Tufte} \input tufte \stopMember \input knuth \stoptext Here, the indentation

Re: [NTG-context] bug in TOC generation

2014-11-08 Thread Pablo Rodriguez
: \definedescription[definition] \starttext \title{Sumario}\placelist[part,chapter][crierium=all] \chapter{Prólogo} \definition{Definition}\footnote{Footnote.}. \stoptext Definition and footnote are now part of the TOC. Could you fix this? Many thanks for your help again, Pablo

Re: [NTG-context] Problem with PDF bookmarks (outline)

2014-11-05 Thread Gareth Jones
trimmed. \definehead [spec] [title] [style=\tfd, alternative=middle] \definehead [phase] [section] [style=\ss\bfc] \definehead [feature] [subsection][style=\ss\bfb] \definehead [changes] [subsubsection] [style=\ss\tfa] \definedescription [change] [width=3.6cm] \starttext Previously all

[NTG-context] \placetable whitespace problem in columnset

2014-11-02 Thread Bryor Snefjella
=] \definedescription [MyEntry][alternative=serried,width=fit,before=\indentation,indenting=yes] \unexpanded\def\MyCommand#1#2#3% {\startMyEntry{\bi#2:}#3\stopMyEntry} \definesorting[My][Mys] \starttext \startcolumnset[TwoColumns] \definecolumnsethsize{TwoColumns}{1}{1}\One

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

Re: [NTG-context] Three questions about descriptions

2014-07-26 Thread Wolfgang Schuster
Am 26.07.2014 um 02:02 schrieb Matthias Weber matwe...@indiana.edu: Thanks Rik, that does exactly what I want. When you want more control about the spacing before and after the description entries the following modification can help: \definedescription [outline] [style=normal

[NTG-context] Three questions about descriptions

2014-07-25 Thread Matthias Weber
Dear All, I’d like to use a mechanism that allows me to create an itemized list with my own labels like one can with descriptions: \definedescription[outline][ headstyle=bold,style=normal,alternative=hanging,margin=1cm,distance=-.8cm] \starttext \outline[Welcome] Tea \outline

Re: [NTG-context] Three questions about descriptions

2014-07-25 Thread Rik Kabel
On 2014-07-25 14:56, Matthias Weber wrote: Dear All, I’d like to use a mechanism that allows me to create an itemized list with my own labels like one can with descriptions: \definedescription[outline][ headstyle=bold,style=normal,alternative=hanging,margin=1cm,distance=-.8cm

Re: [NTG-context] Three questions about descriptions

2014-07-25 Thread Matthias Weber
with descriptions: \definedescription[outline][ headstyle=bold,style=normal,alternative=hanging,margin=1cm,distance=-.8cm] \starttext \outline[Welcome] Tea \outline[Introduction] Tufte or Knuth? \outline[Snack] Chocolate Cake \outline[Discussion] Knuth or Tufte? \outline[Open

[NTG-context] grid + description + superscript

2014-06-05 Thread Trond Thorbjørnsen
Superscript in math in a description, results in a blank line, see the example. Is there a way to avoid this? -Trond Thorbjørnsen \setuplayout[grid=yes] \definedescription[desc][ inbetween={\blank[none]}, before={\blank[none]}, after={\blank[none]}, margin=no, ] \starttext \desc{foo

Re: [NTG-context] grid + description + superscript

2014-06-05 Thread Hans Hagen
On 6/5/2014 6:20 PM, Trond Thorbjørnsen wrote: Superscript in math in a description, results in a blank line, see the example. Is there a way to avoid this? \setuplayout[grid=tolerant] -Trond Thorbjørnsen \setuplayout[grid=yes] \definedescription[desc][ inbetween={\blank[none

Re: [NTG-context] Using the margin for two purposes

2014-05-19 Thread Matthias Weber
\\this\\#ORDER} \fi \setupmarginrule[\Rule][rulecolor=\Color] \startmarginrule[\Rule] \stoptexdefinition \starttexdefinition stopMtext \stopmarginrule \egroup \stoptexdefinition \definedescription[greenline] [before={\setupmarginrules[rulecolor=green

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Matthias Weber
\setupmargindata[][align=middle,width=2cm] %??? \definedescription[greenline] % ??? [before={\setupmarginrule[rulecolor=green] \indenting[no] \startmarginrule[2]}, after={\stopmarginrule} ] \starttext \inmargin[method=first][frame=on,corner=round] {Read\\this\\first} \setupmarginrule[rulecolor=red

Re: [NTG-context] Using the margin for two purposes

2014-05-18 Thread Rik
\setupmarginrule[rulethickness=.1pt] % works \setupmargindata[][align=middle,width=2cm] %??? \definedescription[greenline] % ??? [before={\setupmarginrule[rulecolor=green] \indenting[no] \startmarginrule[2]}, after={\stopmarginrule} ] \starttext \inmargin[method=first][frame=on,corner=round] {Read

  1   2   3   4   >