Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
that for this item I am using: \definehead [foreword] [chapter]… ‘chapter' suppresses the header by default on the first page. at a guess: \setuphead[foreword][header=start] Best wishes, Taco ___ If your question

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
Foreword. It is important to note that for this item I am using: \definehead [foreword] [chapter]… ‘chapter' suppresses the header by default on the first page. at a guess: \setuphead[foreword][header=start] Best wishes, Taco

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
Taco Hoekwater wrote: > >> >> >> > On 30 Sep 2020, at 11:46, jbf wrote: >> > >> > For some reason that I cannot work out, the recto page header is not >> appearing in frontmatter sections like Foreword. It is important to note >> that for this item I

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Alan Bowen
work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note > that for this item I am using: > > > > \definehead > > [foreword] [chapter]… > > ‘chapter' suppresses the header by default on the first page. > > a

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread Taco Hoekwater
> On 30 Sep 2020, at 11:46, jbf wrote: > > For some reason that I cannot work out, the recto page header is not > appearing in frontmatter sections like Foreword. It is important to note that > for this item I am using: > > \definehead > [foreword] [chapter

[NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
For some reason that I cannot work out, the recto page header is not appearing in frontmatter sections like Foreword. It is important to note that for this item I am using: \definehead   [foreword] [chapter]... \setuphead   [foreword]   [frontpartlabel=foreword,    conversion=empty

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
been acheived) I do not know how to get these precise margin (I presume?) distances. So, for example, the author for the Preface needs to line up directly under the author for the Foreword. And the title for Chapters One/Two and the date range for Chapter Three likewise. The 'Context' item

Re: [NTG-context] How to get the last item from an XML node

2020-09-22 Thread Denis Maier
Am 22.09.2020 um 09:18 schrieb Taco Hoekwater: On 21 Sep 2020, at 18:31, Denis Maier wrote: Hi struggling again: Shouldn't the code below give me the last element under ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} gives me nothing... (Use case is that I want to

Re: [NTG-context] How to get the last item from an XML node

2020-09-22 Thread Taco Hoekwater
> On 21 Sep 2020, at 18:31, Denis Maier wrote: > > Hi > > struggling again: Shouldn't the code below give me the last element under > ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} > gives me nothing... > > (Use case is that I want to have a frame above the table and

[NTG-context] How to get the last item from an XML node

2020-09-21 Thread Denis Maier
Hi struggling again: Shouldn't the code below give me the last element under ? Right now \xmlfilter{#1}{/tr/last()/command(xml:table:tbody:tr)} gives me nothing... (Use case is that I want to have a frame above the table and one bar below. So I think I should wrap the last line in the

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
to appendices is all correct and working, but the Table of Contents not the way I need it (as explained earlier and listed in a previous email). My latest effort focuses on just one item, the Foreword, since if I get that right, I can apply the same logic to sections. Chapters are already

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
out: frontmatter through to appendices is all correct and working, but the Table of Contents not the way I need it (as explained earlier and listed in a previous email). My latest effort focuses on just one item, the Foreword, since if I get that right, I can apply the same logic to sections

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
in a previous email). My latest effort focuses on just one item, the Foreword, since if I get that right, I can apply the same logic to sections. Chapters are already working correctly, thanks to Wolfgang's ChapterListCommand and I am assuming I need that for the several frontmatter 'chapters'. I

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
on just one item, the Foreword, since if I get that right, I can apply the same logic to sections. Chapters are already working correctly, thanks to Wolfgang's ChapterListCommand and I am assuming I need that for the several frontmatter 'chapters'. I was earlier using \title for foreword

[NTG-context] author in ToC and other design complications

2020-09-03 Thread jbf
place the ToC using: \definehead   [tochead]   [title] \starttochead[title={Contents}]   \placecombinedlist[content] \stoptochead %- The last bit ensures that I get the word 'Contents' as the toc title, and avoid then getting 'contents' listed as an item with its page

Re: [NTG-context] defining font family for several options

2020-09-03 Thread jbf
={\switchtobodyfont[10pt,ss]}] This proper way of setting out the \setupheader has in fact resolved the situation and it now applies to both recto and verso headers. Thank you Julian On 4/9/20 7:16 am, Aditya Mahajan wrote: On Fri, 4 Sep 2020, jbf wrote: Thanks Otared. That clears up that little item

Re: [NTG-context] defining font family for several options

2020-09-03 Thread Aditya Mahajan
On Fri, 4 Sep 2020, jbf wrote: > Thanks Otared. That clears up that little item :-) > > BTW I know how to reduce font size in the headers (chapter titles) that > appear on the recto pages, which I can do with something like > \setupheader [style={\ss\switchtobodyfont[10pt]}],

Re: [NTG-context] defining font family for several options

2020-09-03 Thread jbf
Thanks Otared. That clears up that little item :-) BTW I know how to reduce font size in the headers (chapter titles) that appear on the recto pages, which I can do with something like \setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem to affect the header (title

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Pablo Rodriguez
On 9/3/20 8:09 PM, Hans Hagen wrote: > On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: >> [...] >> I’m afraid that packed item lists are misbehaving. >> >> Could anyone confirm this? > can you check again (new lmtx) Many thanks for the new upload, Hans. Now packed

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Hans Hagen
On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed

Re: [NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Hans Hagen
On 9/3/2020 4:52 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed

[NTG-context] packed items not working in latest from 2020.09.03 12:08

2020-09-03 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[n] \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \startitem Item\stopitem \stopitemize \startitemize[a, packed] \startitem Item\stopitem \startitem Item\stopitem

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
marking=on] There was no mention of 'margins' as such in that layout, and the result is close to what is wanted but not quite. Do I solve the problem by adding in: leftmargin=20mm, rightmargin=15mm, or is it some other item I need to adjust to ensure the 20mm/15mm dimensions requested? If you don’t need

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread Henning Hraban Ramm
g=on] > > There was no mention of 'margins' as such in that layout, and the result is > close to what is wanted but not quite. Do I solve the problem by adding in: > leftmargin=20mm, > rightmargin=15mm, > > or is it some other item I need to adjust to ensure the 20mm/15mm

[NTG-context] setuplayout vs Indesign!

2020-08-26 Thread jbf
argin=15mm, or is it some other item I need to adjust to ensure the 20mm/15mm dimensions requested? Julian ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Otared Kavian
two figures in a stream >>>> of normally numbered figures like this. I was thinking of the equivalent >>>> of the old \sym{symbol} command that used to work as a way to override a >>>> single item in an otherwise sequential list. >>>> >>

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure with the label "Figure 27.1" and having them numbered as lowercase alpha, but if there's an easier way

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
e the numbering of two figures in a stream of >>> normally numbered figures like this. I was thinking of the equivalent of >>> the old \sym{symbol} command that used to work as a way to override a >>> single item in an otherwise sequential list. >>>

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Wolfgang Schuster
with the options I can see, but it's not obvious if there is a facility to override the numbering of two figures in a stream of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
he options I can see, but it's not obvious if there > is a facility to override the numbering of two figures in a stream of > normally numbered figures like this. I was thinking of the equivalent of the > old \sym{symbol} command that used to work as a way to override a single item > in

[NTG-context] Overriding the number on a float

2020-08-23 Thread Duncan Hothersall
of normally numbered figures like this. I was thinking of the equivalent of the old \sym{symbol} command that used to work as a way to override a single item in an otherwise sequential list. I guess there's a brute force method of setting up a new type of figure with the label "Figure

[NTG-context] tabulation and \textwidth

2020-08-13 Thread Pablo Rodriguez
} \stopitemize \stoptext How can I avoid that tabulation alters the \textwidth so that it remains constant and item columns doesn’t afect it? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Aditya Mahajan
number is. Is there are way I can add  extra content to an item that appears in the TOC? \startchapter [ title={Title of chapter}, list={What appears in TOC}, bookmark={What appears in bookmarks}, ] \stopchapter

[NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
add  extra content to an item that appears in the TOC? In this case it would be the same comment in each instance, but my question assumes that there could also be a need for different comments, none of which appear in the 'chapter' title in the main body. Am using MkIV BTW, Julian

Re: [NTG-context] Installing VSCode extension?

2020-08-05 Thread Mikael Sundqvist
t > PATH=/Users/graph/ConTeXtLM/tex/texmf-osx-64/bin:$PATH;mtxrun > --autogenerate --script context --autopdf --purge '${file}'", > "args": [], > "options": { > "cwd": "${fileDirname}" > }, > "group": { > "kind": "bui

Re: [NTG-context] Installing VSCode extension?

2020-08-05 Thread Jeong Dal
} }, When you want to compile a ConTeXt file, find “terminal > Run Build task” in the menu, then “ConTeXt LuaMetaTex” will pop up. Or just use the key “command-shift-B” instead using menu item. I hope that it may help. Best wishes, Dalyoung_

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Hans Hagen
\stopitemize \stoptext Is there some way to stop the blank line or should I use an entirely different approach? 1. Use \blank[overlay] to continue on the first line of the item entry Ah ... I start forgetting things ... bad ... (I should use tex more often I guess) Hans

Re: [NTG-context] tabulate inside itemize

2020-07-29 Thread Wolfgang Schuster
the blank line or should I use an entirely different approach? 1. Use \blank[overlay] to continue on the first line of the item entry 2. Disable the blank line at the start of the table with "before=" \starttext \startitemize[n] \startitem \blank[overlay] \starttabulate[

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Pablo Rodriguez
On 7/8/20 11:59 AM, Hans Hagen wrote: > On 7/7/2020 10:46 PM, Pablo Rodriguez wrote: >> [...] >> Which would be the right lpath to select the last item in each list? > This should work but we're one off so i need to fix that. > > \startbuffer[demo] > > >

Re: [NTG-context] lpath to select last item

2020-07-08 Thread Hans Hagen
item inserted %~ \xmlsetsetup{#1}{h2/**/ul/li}{xml:last:item} % nothing changes \xmlsetsetup{#1}{h2/***/ul/li/!ul}{xml:last:item} % shouldn’t be this one? \stopxmlsetups \xmlregistersetup{xml:demo:base} \startxmlsetups xml:document \xmlflush{#1} \stopxmlsetups

[NTG-context] lpath to select last item

2020-07-07 Thread Pablo Rodriguez
\stopbuffer \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|h2|ul|li}{xml:*} %~ \xmlsetsetup{#1}{ul/li/!ul}{xml:last:item} % nothing changes %~ \xmlsetsetup{#1}{ul/li/!li}{xml:last:item} % blank item inserted %~ \xmlsetsetup{#1}{h2/**/ul/li}{xml:last:item

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Wolfgang Schuster
ld think of. I only ask the list when I absolutely can't find anything. (Of course, at least once, it was there where I had already looked but I didn't understand enough to realize it!) I even gave searching the mailing list archives a shot. \starttext \startitemize \startitem First item \s

Re: [NTG-context] Translation of ConTeXt interface

2020-06-26 Thread Garulfo
pe"]="پایان‌متن", @@ -10758,7 +10758,7 @@ ["cs"]="start", ["de"]="start", ["en"]="start", - ["fr"]="demarre", + ["fr"]="debut", ["it"]="inizia", [

Re: [NTG-context] How could I find the 'depth' of an element found with xml.first()?

2020-06-18 Thread Hans Hagen
How would I go about to find the depth of an item found with an LPATH? E.g. //[id="Foo_3&qu

[NTG-context] How could I find the 'depth' of an element found with xml.first()?

2020-06-18 Thread Gerben Wierda
How would I go about to find the depth of an item found with an LPATH? E.g. //[id="Foo_3"] would find a node at depth 2

Re: [NTG-context] spacing before items

2020-06-17 Thread Hans Hagen
mple shows which key is used for which space around each item. To insert vertical space you have to use the \blank command and set a value in the optional argument, e.g. \blank[1cm]. To insert now a space of 1cm before the first item you need the "before" key with \blank as argument:

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
lue what "ttbf" means. Can't find it on the wiki or in > the manuals. Google says it's the Texas Teen Book Festival but I'm guessing > that ain't it. ??? My example shows which key is used for which space around each item. To insert vertical space you have to use the \blank

Re: [NTG-context] spacing before items

2020-06-17 Thread Wolfgang Schuster
the first notion of how to implement it in my file. For one thing, I have no clue what "ttbf" means. Can't find it on the wiki or in the manuals. Google says it's the Texas Teen Book Festival but I'm guessing that ain't it. ??? My example shows which key is used for which sp

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
Yes, I did try it. It put "[before]" (in ttbf (thanks for the hint!)) on the previously blank line before the first top-level item. And it put "[inbetween]" in the other previously blank lines between both level of items, and "[after]" into the previously

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
}\endgraf}, inbetween={\endgraf{\ttbf [inbetween]}\endgraf}, after={\endgraf{\ttbf [after]}\endgraf}] \startitemize \startitem Choose the correct answer. \startitemize \item This one \item This one \stopitemize \stopitem \startitem Cho

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
before each top-level item.  MWE: # #  # #\defineitemgroup[mdshw][levels=2] # # \setupitemgroup[mdshw][1][n] # # \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), #stopper=] # #  # #  # #\starttext # #  # #\startsection{First

Re: [NTG-context] spacing before items

2020-06-17 Thread Mike Cooper
graf{\ttbf [inbetween]}\endgraf}, after={\endgraf{\ttbf [after]}\endgraf}] \startitemize \startitem Choose the correct answer. \startitemize \item This one \item This one \stopitemize \stopitem \startitem Choose the correct answ

Re: [NTG-context] spacing before items

2020-06-16 Thread jkitz
> On Jun 16, 2020, at 1:51 PM, m...@murchisondrillingschools.com wrote: > > I want more space before each top-level item. MWE: > > \defineitemgroup[mdshw][levels=2] > \setupitemgroup[mdshw][1][n] > \setupitemgroup[mdshw][2][a, packed, 1*broad][left=(, right=), sto

Re: [NTG-context] spacing before items

2020-06-16 Thread Tomas Hala
the answer is right in front of me but #I can’t find it or figure it out…  # #(Please let me know where it is!) # #  # #I want more space before each top-level item.  MWE: # #  # #\defineitemgroup[mdshw][levels=2] # # \setupitemgroup[mdshw][1][n

Re: [NTG-context] spacing before items

2020-06-16 Thread Wolfgang Schuster
mgroup [itemize][1] [ before={\endgraf{\ttbf[before]}\endgraf}, inbetween={\endgraf{\ttbf [inbetween]}\endgraf}, after={\endgraf{\ttbf [after]}\endgraf}] \startitemize \startitem Choose the correct answer. \startitemize \item This one \item This one

[NTG-context] spacing before items

2020-06-16 Thread Mike Cooper
Hello list, Another very simple issue-no doubt the answer is right in front of me but I can't find it or figure it out... (Please let me know where it is!) I want more space before each top-level item. MWE: \defineitemgroup[mdshw][levels=2] \setupitemgroup[mdshw][1][n

[NTG-context] Extra space when \setcharacterkerning is used in enumeration

2020-06-12 Thread Mikael Sundqvist
offset=3bp] \samplefile{ward} \startsats[title={Räkneregler för gränsvärden}] Antag att $c$ är ett tal, och att $a_k\to A$ och $b_k\to B$ då $k\to+\infty$. Då gäller det, när $k\to+\infty$, att \startdelab \item $a_k+b_k\to A+B$, \item $c\cdot a_k\to cA$, \item $a_kb_k\to AB$, \item $1/a_k\to 1/A$ (om $a_k\

[NTG-context] Interaction references with Reference List and Bibliography

2020-06-10 Thread Adam Reviczky
d=dataset] \stoptext --- Publications taken from (https://wiki.contextgarden.net/Sample_bib) as sample.bib. The outcome is correctly cited (Hagen, 2010a) including the interaction to the reference list, but the second citation is also linked to the first item in the bibliography Eijkhout, V

Re: [NTG-context] use parentheses in itemize

2020-06-03 Thread Mike Cooper
0 10:15 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] use parentheses in itemize On Wed, 3 Jun 2020, Tomas Hala wrote: > Hi Mike, > > use this: > > \setupitemize[left=(,stopper=)] > \startitemize[a] > \item 415,668 lb > \item 415,668 lb > \stopitemize

Re: [NTG-context] use parentheses in itemize

2020-06-02 Thread jk...@inradius.net
ese parentheses with my itemization symbol? This is one way (from the wiki): \startitemize[a][left=(,right=),stopper=] \item 1234 \item 5678 \item 9876 \stopitemize HTH, John ___ If your question is of inter

Re: [NTG-context] use parentheses in itemize

2020-06-02 Thread Aditya Mahajan
On Wed, 3 Jun 2020, Tomas Hala wrote: Hi Mike, use this: \setupitemize[left=(,stopper=)] \startitemize[a] \item 415,668 lb \item 415,668 lb \stopitemize For symmetry, I prefer \setupitemize[left=(, right=), stopper=] Aditya

Re: [NTG-context] use parentheses in itemize

2020-06-02 Thread Mike Cooper
[left=(,stopper=)] \startitemize[a] \item 415,668 lb \item 415,668 lb \stopitemize Best wishes, Tomáš Tue, Jun 02, 2020 ve 09:56:38PM + Mike Cooper napsal(a): #Link: [1]File-List #Link: [2]Edit-Time-Data # #Hello list. # #  # #Here is the first what will no doubt be many

Re: [NTG-context] use parentheses in itemize

2020-06-02 Thread Tomas Hala
Hi Mike, use this: \setupitemize[left=(,stopper=)] \startitemize[a] \item 415,668 lb \item 415,668 lb \stopitemize Best wishes, Tomáš Tue, Jun 02, 2020 ve 09:56:38PM + Mike Cooper napsal(a): #Link: [1]File-List #Link: [2]Edit-Time-Data # #Hello list. # #  # #Here

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Hans Hagen
correct pdf file name. 2) A project (of mine) that uses item numbers as file names (containing dots) compile to the same pdf: MkIV (everything's predictable and fine): 10.10.10.tex → 10.10.10.pdf 10.10.11.tex → 10.10.11.pdf 11.10.11.tex → 11.10.11.pdf LMTX: 10.10.10.

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
ponding PDF file doesn't work any more with lmtx. New logic is needed to find the correct pdf file name. 2) A project (of mine) that uses item numbers as file names (containing dots) compile to the same pdf: MkIV (everything's predictable and fine): 10.10.10.tex → 10.10.10.pdf

Re: [NTG-context] LMTX: different output if dots are used in the file name

2020-05-28 Thread Marco Patzer
ponding PDF file doesn't work any more with lmtx. New logic is needed to find the correct pdf file name. 2) A project (of mine) that uses item numbers as file names (containing dots) compile to the same pdf: MkIV (everything's predictable and fine): 10.10.10.tex → 10.10.10.pdf

Re: [NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Rik Kabel
  \item     Level 1 first     \startitemize     \item   Level 2 first   \startitemize   \item     Level 3 first   \stopitemize     \stopitemize   \stopitemize \stoptext The culprit is the third level of itemize -- without that it is clean

Re: [NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Wolfgang Schuster
Rik Kabel schrieb am 04.05.2020 um 23:07: List, The following example works with MkIV latest, but fails with LMTX latest (Win10 x64). The complaint is ! Missing math style, treated as \displaystyle. \starttext   \startitemize   \item     Level 1 first     \startitemize

[NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Rik Kabel
List, The following example works with MkIV latest, but fails with LMTX latest (Win10 x64). The complaint is ! Missing math style, treated as \displaystyle. \starttext   \startitemize   \item     Level 1 first     \startitemize     \item   Level 2 first

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 13:28, Hans Hagen wrote: > > On 5/1/2020 10:21 AM, Gerben Wierda wrote: >> code it back to a \ ? E.g. something like >>{ ‘\U{XXX}', '\' }, > \utfchar{100} > \Uchar 100 Yes, but the question was: how do I code this in the XML and get it through my

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 09:38, Hans Hagen wrote: > > On 5/1/2020 1:44 AM, Gerben Wierda wrote: >>{ ‘\n', ‘\\strut' }, > often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; > you could also try \crlf I tried \crlf{} and that worked too (the “{}” because I do not

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like    { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:44 AM, Gerben Wierda wrote:    { ‘\n', ‘\\strut' }, often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; you could also try \crlf Hans - Hans

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappears. How do I get it >> back? >> Minimal example:

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:51, Henning Hraban Ramm wrote: > > > >> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : >> >> In normal TeX, when I type >> >> AapAap >> >> I get something like >> >> Aap >> >> Aap >> >> But inside a \framed[align=]{} the empty line disappears. How do I get

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
Brilliant! Thank you! > On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappears. How do I get it >>

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Wolfgang Schuster
Gerben Wierda schrieb am 30.04.2020 um 22:47: In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedtext instead; multi line text needs a \vbox, and

[NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{TestingTesting}

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
On Apr 25, 2020, at 2:34 PM, Wolfgang Schuster wrote: > > \starttext > > \startitemize[n] > \item A > \txt{k} B > \noitem > \item C > \stopitemize > > \stoptext > > Wolfgang Nice…so many options. :) -kk

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 23:30: Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
Ah…thanks for the pointer to \definecoversion. Looks promising. I had also tried: \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \starttext \startSteps \item A \sym{k} B\incrementnumber[itemgroup:Steps] \item C \stopSteps \stoptext Which is similar to your \txt solution

Re: [NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Wolfgang Schuster
Kevin Kenan schrieb am 25.04.2020 um 21:24: I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed

[NTG-context] Using \doifelse to change the itemization symbol in specific cases

2020-04-25 Thread Kevin Kenan
I’m trying to create a conditional that changes the symbol used for certain item numbers. Here’s my code that doesn’t work. \define[1]\StepsCommand{\doifelse{#1}{2}{k}{#1}\ignorespaces} \defineitemgroup[Steps] \setupitemgroup[Steps][each][n,packed] \setupitemgroup[Steps][each][left=\StepsCommand

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 26.03.2020 um 21:23: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: > > This is not possible but maybe the following is a alternative for > you. > > The tabulate can be used in combination with an item group to have > auto > generated numbers in a given co

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 17:09: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
for you. The tabulate can be used in combination with an item group to have auto generated numbers in a given column. \starttext \startitemize[a][stopper=)] \starttabulate \NI First entry \NC\NR \NI Second entry \NC\NR \NI Third entry \NC\NR \NI Fourth entry \NC\NR \stoptabulate

Re: [NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Hans Hagen
On 3/6/2020 12:07 PM, Floris van Manen wrote: Using lmtx, while trying to get multiple pieces of black rule on one line, for some reason the line breaks after the first item, to continue on the second line with the remainder. \starttext \dontleavehmode \blackrule[width=15mm,height=1mm,depth

[NTG-context] [preventing blackrule tp break line]

2020-03-06 Thread Floris van Manen
Using lmtx, while trying to get multiple pieces of black rule on one line, for some reason the line breaks after the first item, to continue on the second line with the remainder. \starttext \blackrule[width=15mm,height=1mm,depth=0mm,color=yellow]\quad% \blackrule[width=15mm,height=1mm,depth=0mm

[NTG-context] page break

2020-02-09 Thread Fabrice Couvreur
Hi, Sorry if my minimal example is not, but I have to understand with your help what is wrong. For example, why a page break after the second item when there seems to be enough space to stay on this page ? Thanks Fabrice \define\starttikzpicture {\hbox\bgroup\forcecolorhack\tikzpicture

[NTG-context] Check for parity of pair tags on source file to be closed

2020-01-09 Thread context
Sample: A.mkiv \starttext A \input B.mkiv \stoptext B.mkiv \startitemize \item B <- "\startitemize" is unbalanced (unfinished by \stopitemize) in the scope of B.mkiv, so a message/log ("unfinished \startitemize") should be printed when B.m

Re: [NTG-context] Item group parentheses

2020-01-07 Thread context
st regards, Lukas On 2019-12-26 20:07, Wolfgang Schuster wrote: Jairo A. del Rio schrieb am 26.12.2019 um 19:55: I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right&qu

Re: [NTG-context] Item group parentheses

2019-12-26 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 26.12.2019 um 19:55: I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right" keys, so numbers always appear enclosed in parentheses.

[NTG-context] Item group parentheses

2019-12-26 Thread Jairo A. del Rio
I'm defining item groups in ConTeXt and I find the following issue: combining the "text" parameter with others automatically disables "left" and "right" keys, so numbers always appear enclosed in parentheses. %What I expect: %I. This ain't right %What I get: %(I) Thi

Re: [NTG-context] Very strange behaviour of itemize, \quotation and \dots

2019-12-17 Thread Hans Hagen
at the beginning of the document, then the combination \item and \quotation and \dots prevents the item to be shown correctly… (In my case I was typesetting a document with the above command in which a file containing it also was \input). Below is the minimal example and its PDF. you can check the (lmtx

Re: [NTG-context] Very strange behaviour of itemize, \quotation and \dots

2019-12-17 Thread Hans Hagen
at the beginning of the document, then the combination \item and \quotation and \dots prevents the item to be shown correctly… (In my case I was typesetting a document with the above command in which a file containing it also was \input). Below is the minimal example and its PDF. Best regards: OK

[NTG-context] Very strange behaviour of itemize, \quotation and \dots

2019-12-17 Thread Otared Kavian
, then the combination \item and \quotation and \dots prevents the item to be shown correctly… (In my case I was typesetting a document with the above command in which a file containing it also was \input). Below is the minimal example and its PDF. Best regards: OK % begin file: bug-itemize-lmtx.tex

  1   2   3   4   5   6   7   8   9   10   >