Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
To number paragraphs you can create a counter with \definelabel. \definelabel[Paragraph][text=,numberstopper={.},headcommand=\groupedcommand{}{ }] \starttext \startchapter[title={First},reference={}] \Paragraph\input ward \Paragraph\input ward \stopchapter

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Hans Hagen
On 6/24/2018 10:07 PM, Henning Hraban Ramm wrote: Am 2018-06-24 um 21:57 schrieb Hans Hagen : On 6/23/2018 5:10 PM, Alan Bowen wrote: The latest beta (ConTeXtver: 2018.06.23 12:12 MKIV betafmt: 2018.6.23) processes without a hitch but \seeindex is still not working as expected. In \starttext

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 01:10:18 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a

Re: [NTG-context] space sectioning control

2018-06-25 Thread Wolfgang Schuster
You have to change the value of textdistance. \setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection \stopchapter \stoptext Wolfgang Idris Samawi Hamid ادريس سماوي

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 05:41:15 -0600, Wolfgang Schuster wrote: To number paragraphs you can create a counter with \definelabel. Yes - and tested some paragraph options yesterday. Many thanks for the sample below. But this particular project is very large with countless cross-references

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Henning Hraban Ramm
Am 2018-06-25 um 14:18 schrieb Hans Hagen : > On 6/24/2018 10:07 PM, Henning Hraban Ramm wrote: \starttext \index{sample} \index{fun+games}\index{fun+stuff} %\index{fun} > > btw, index entries will only work well with an anchor so loose \index without > something following

[NTG-context] letter: How to customize reference line?

2018-06-25 Thread Paul Menzel
Dear ConTeXt folks, I am trying to customize the reference line in a letter. ``` $ context --version mtx-context | ConTeXt Process Management 1.01 mtx-context | mtx-context | main context file: /usr/share/texmf/tex/context/base/mkiv/context.mkiv mtx-context | current

Re: [NTG-context] letter: How to customize reference line?

2018-06-25 Thread Wolfgang Schuster
Hi Paul, you have to use the \setupletterlayer command to change the entries in the reference line. \usemodule[letter] \setupletter [name={Joe User}] \setupletterlayer [reference] [list={name,date}] \startletter ... \stopletter If you don’t get a title for your entry you can add it

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Henning Hraban Ramm
Am 2018-06-25 um 14:15 schrieb Hans Hagen : > On 6/24/2018 10:07 PM, Henning Hraban Ramm wrote: >> Am 2018-06-24 um 21:57 schrieb Hans Hagen : >>> as there is no index entry blah, humbug or bug ... so you would be fooling >>> your reader >> I understand the rationale, and it could be a nice

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Alan Bowen
I should add too that in this particular volume our contributors sometimes mention different terms for the same thing as in “This is called p or q”. Indexing both terms (p and q) separately and the adding x-ref is one way to go but indexing the more commonly used term and adding a mere x-ref for

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Hans Hagen
On 6/24/2018 10:07 PM, Henning Hraban Ramm wrote: \starttext \index{sample} \index{fun+games}\index{fun+stuff} %\index{fun} btw, index entries will only work well with an anchor so loose \index without something following it will not show the right page numbers (if at all)

Re: [NTG-context] space sectioning control

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 07:20:43 -0600, Wolfgang Schuster wrote: You have to change the value of textdistance. \setuphead [subsubsection] [alternative=text, distance=0pt, textdistance=.5em] \starttext \startchapter[title={First}] \startsubsubsection \input ward \stopsubsubsection

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Alan Braslau
"Mathematics is the art of giving the same name to different things. It is enough that these things, though differing in matter, should be similar in form, to permit their being, so to speak, cast in the same mold. When the language has been carefully chosen, one is surprised to discover that all

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Trying to get the sectioning numerals in the left margin of the TOC to be fushright; by default they are flushleft; see attached and below: === \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter,

Re: [NTG-context] latest beta and \seeindex

2018-06-25 Thread Hans Hagen
On 6/25/2018 4:01 PM, Henning Hraban Ramm wrote: Am 2018-06-25 um 14:18 schrieb Hans Hagen : On 6/24/2018 10:07 PM, Henning Hraban Ramm wrote: \starttext \index{sample} \index{fun+games}\index{fun+stuff} %\index{fun} btw, index entries will only work well with an anchor so loose \index

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 21:42 On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em]

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik
On 6/25/2018 17:52, Wolfgang Schuster wrote: \startmode[ebook] \setupbackend[export=yes] \stopmode \starttext \index{Knuth}\input knuth \index{Ward}\input ward \index{Zapf}\input zapf \startnotmode[*export] \completeregister[index] \stopnotmode \stoptext Unfortunately, this does not

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: > On 6/25/2018 17:52, Wolfgang Schuster wrote: > > \startmode[ebook] > > \setupbackend[export=yes] > > \stopmode > > > > \starttext > > > > \index{Knuth}\input knuth > > > > \index{Ward}\input ward > > > > \index{Zapf}\input zapf > > > >

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
On 6/25/2018 20:11, Alan Braslau wrote: On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: On 6/25/2018 17:52, Wolfgang Schuster wrote: \startmode[ebook] \setupbackend[export=yes] \stopmode \starttext \index{Knuth}\input knuth \index{Ward}\input ward \index{Zapf}\input zapf

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Alan Braslau
On Mon, 25 Jun 2018 20:50:51 -0400 Rik Kabel wrote: > On 6/25/2018 20:11, Alan Braslau wrote: > > On Mon, 25 Jun 2018 19:11:30 -0400 > > Rik wrote: > > > >> On 6/25/2018 17:52, Wolfgang Schuster wrote: > >>> \startmode[ebook] > >>> \setupbackend[export=yes] > >>> \stopmode > >>> > >>>

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 13:17:40 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist

[NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
List, What is the preferred way to override a standard command? My use case is that I am trying to produce html (and epub, but that has a long long way to go) from the same source I use for pdf. Some features are not needed, and I have separate environment files for each output format to

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Wolfgang Schuster
Rik Kabel 25. Juni 2018 um 22:49 List, What is the preferred way to override a standard command? My use case is that I am trying to produce html (and epub, but that has a long long way to go) from the same source I use for pdf. Some features are not

Re: [NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد schrieb: \setuphead[chapter] [conversion=R] \setuplist[chapter][width=2.8em] \definecombinedlist [content] [chapter] [level=chapter, alternative=c, numberalign=flushright] Use \setuplist to change the numeralign setting, you need also a distance

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
On 6/25/2018 22:00, Alan Braslau wrote: On Mon, 25 Jun 2018 20:50:51 -0400 Rik Kabel wrote: On 6/25/2018 20:11, Alan Braslau wrote: On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: On 6/25/2018 17:52, Wolfgang Schuster wrote: \startmode[ebook] \setupbackend[export=yes] \stopmode \starttext

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 00:46 Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist %

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the

[NTG-context] \reference not working with reference prefix and focus=standard

2018-06-25 Thread Christoph Reller
Hi, Thank you, Hans, for supporting the focus=standard option in interactive PDFs. I stumbled over the following problem: \setupinteraction[state=start, focus=standard] \starttext \pushreferenceprefix{parent} \reference[label]{Text}Bla \page \about[label] \popreferenceprefix \stoptext The