[NTG-context] Re: start/stopregister

2024-04-25 Thread Hans Hagen
confirm it doesn’t result in a page range in the index. Also gives no error. Since I've become an expert on tuc files since yesterday (ha!): if I compare the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry ["lastrealpage"]=9 in the references table, mkxl doesn't. Th

[NTG-context] Re: start/stopregister

2024-04-25 Thread Taco Hoekwater
example, and can confirm it doesn’t result in a >> page range in the index. Also gives no error. > > Since I've become an expert on tuc files since yesterday (ha!): if I compare > the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry > ["las

[NTG-context] Re: start/stopregister

2024-04-25 Thread Thomas A. Schmitz
an expert on tuc files since yesterday (ha!): if I compare the tuc from a mkiv and a mkxl run, I see that mkiv produces an entry ["lastrealpage"]=9 in the references table, mkxl doesn't. This appears to be the relevant bit, and it is connected with the replacement of realpageno by c_

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread hf
a good ideal all along. >> >> \stopitemize >> >> ``` >> >> Now the distance between the items is equal to the blank space between >> paragraphs. >> >> I want to reduce it equal to the distance between the lines of a paragraph. > &g

[NTG-context] Re: which parameter is for adjust the distance between items in a list?

2024-04-25 Thread Henning Hraban Ramm
. \stopitemize ``` Now the distance between the items is equal to the blank space between paragraphs. I want to reduce it equal to the distance between the lines of a paragraph. You asked for a list, that is e.g. a table of contents (list of numbered items like sections or floats). If you want to affect

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
Am 22.04.24 um 18:30 schrieb Duncan Hothersall: Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
Hi Hraban, I can help with one - aligntitle means an unnumbered section will align in the table of contents under the number rather than the title. So for example if you have a TOC combining \section and \subject entries, they would look like this: 1 ... A section A subject rather than 1

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
ng > >> > > So the wiki is wrong here? > > https://wiki.contextgarden.net/Command/setupexternalfigure > > Yes the comment at the end of page is wrong and the text about the strut > setting can also be removed, only the orientation value is missing in the > command t

[NTG-context] Re: minwidth not working ?

2024-04-20 Thread Wolfgang Schuster
is missing in the command table. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-19 Thread Hans Hagen
will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table inside a startitemize environment, as instead of it not compiling, it left a message in the document warning that wasn't supported. (2) In another case, I had an image that ConTeXt couldn't find

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-18 Thread Henning Hraban Ramm
on screen as it should: (1) I tried placing a table inside a startitemize environment, as instead of it not compiling, it left a message in the document warning that wasn't supported. (2) In another case, I had an image that ConTeXt couldn't find, as I mispelled the filenmame, and it fully

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table

[NTG-context] Re: [ using horizontal table lines ]

2024-04-15 Thread Wolfgang Schuster
, with correct length, but above the wrong columns [...] diff: \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC\DC\DC\DC\DL[4]\DL[3]\AR \NC\DC\DC\DL[4]\DL[4]\AR There is (probably) a correct way to solve this. My suggestion is to switch to either natural table or extreme tables but it seems to me

[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cel

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
rent version: 2024.04.01 08:59. >>> >>> Could some one confirm this? >> It fails for me as well, when "mode=columns" is used. > compare with and without mode columns: > > \starttext > >\enablemode[columns] > >As we see \doifelsemode {columns} {i

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
, when "mode=columns" is used. compare with and without mode columns: \starttext \enablemode[columns] As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have more than one cell in a row. \startplacetable[mode=columns,refere

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
= on markings (you can call them with \getmarking) and listing= in the table of contents. 2. As far as I have found, including the chapter/section number in the marking is *not really a trivial task*. I usually hack something using \headnumber and \getmarking, like so: \setuppagenumbering

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
when I uncomment line #2, revealing the > cross-references work find when outside of a table. > > I also tried using a TABLE environment instead and the result was > similar, it wouldn't show the page number. > > What am I doing wrong? Tabulate and natural tables proc

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
}{\pagereference[xyz]} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2, revealing the cross-references work find when outside of a table. I also tried using a TABLE environment instead and the result was similar, it wouldn't show

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
, revealing the cross-references work find when outside of a table. I also tried using a TABLE environment instead and the result was similar, it wouldn't show the page number. What am I doing wrong? --Joel ___ If your

[NTG-context] Re: Japanese

2024-03-11 Thread Wolfgang Schuster
paragraphs https://www.w3.org/TR/jlreq/#fig2_5_7 Use the narrower or blockquote environment for this. * tab setting https://www.w3.org/TR/jlreq/#fig2_6_1 Just use a table. * furiwake https://www.w3.org/TR/jlreq/#fig2_7_2 * jidori https://www.w3.org/TR/jlreq/#fig2_7_4

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Jim
rocess a .jpx file as a .jp2 file? > The recognised extensions are specified in a table in grph-inc.lmt, I don’t > think you can alter that table runtime. > But it is possible to do > \externalfigure[method=jp2,file=….jpx] > Untested, but should work. Taco, I could not get that t

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Taco Hoekwater
> see the picture in the PDF. > > Q: are there any plans to make ConTeXt recognize the .jpx extension? > If not, can anyone suggest some ConTeXt code which allows me to tell > ConTeXt to process a .jpx file as a .jp2 file? The recognised extensions are specified in a table in gr

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
; for checking wether this is a bug. > > Can you stick to fonts which are available for all systems (e.g. Noto > CJK) because system fonts are a pain when you're on a different system. > > The missing line break before 【 is caused by a wrong table entry in > scrp-cjk.lu

[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
which are available for all systems (e.g. Noto CJK) because system fonts are a pain when you're on a different system. The missing line break before 【 is caused by a wrong table entry in scrp-cjk.lua and I guess the following change is necessary local japanese_2 = {     jamo_initial

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread Bruce Horrocks
os.remove(exists_pdf) end >os.rename(pdf_file_name, ("%s_%s-%s.pdf"):format(c_r, tex.jobname, > sha_pdf)) > end > ) > \stopluacode > \stoptext > > In short, it adds its SHA256 to the final filename. > > Since renames the PDF document in each run, I

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread mf
rmat(c_r, tex.jobname, sha_pdf)) end ) \stopluacode \stoptext In short, it adds its SHA256 to the final filename. Since renames the PDF document in each run, I would like to remove the output from the previous run. The table seems not to store the value from a previous run. I see now that I am c

[NTG-context] output filename with SHA256

2024-02-23 Thread Pablo Rodriguez via ntg-context
t adds its SHA256 to the final filename. Since renames the PDF document in each run, I would like to remove the output from the previous run. The table seems not to store the value from a previous run. I see now that I am creating it again with each run. Is there any way to check if compilat

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 21.02.2024 um 19:04: Am 19.02.24 um 23:15 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics

[NTG-context] Re: MetaPost lines in tables?

2024-02-21 Thread Henning Hraban Ramm
Am 19.02.24 um 23:15 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics? ATM I’m trying to place my MP lines behind a frame

[NTG-context] Re: Text in Margin

2024-02-19 Thread Henning Hraban Ramm
and small descriptions to emphasize some text from the textflow 2. Figures 3. An expansion of a table that is placed in the main textflow but that needs to cover a wider range then the text area so it expands into the margin What is the the easiest way to achieve this? Generally, you use

[NTG-context] Re: MetaPost lines in tables?

2024-02-19 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 19.02.2024 um 22:39: I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics? ATM I’m trying to place my MP lines behind a frame-less TABLE; it will probably work, but it’s

[NTG-context] MetaPost lines in tables?

2024-02-19 Thread Henning Hraban Ramm
I guess I asked this a while ago, but I can’t find an answer: Is it possible to replace the lines of a TABLE with my own MetaPost graphics? ATM I’m trying to place my MP lines behind a frame-less TABLE; it will probably work, but it’s a crutch… Hraban

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
You can change the default location of figures from the text block to the margin area. 3. An expansion of a table that is placed in the main textflow but that needs to cover a wider range then the text area so it expands into the margin In the example below I added a check to the table

[NTG-context] Text in Margin

2024-02-19 Thread Jeroen
text from the textflow 2. Figures 3. An expansion of a table that is placed in the main textflow but that needs to cover a wider range then the text area so it expands into the margin What is the the easiest way to achieve this? Jeroen

[NTG-context] XML processing, unwanted indentation/alignment

2024-02-15 Thread Michael Guravage
t{#1}{city}\crlf \ifxmlattempty{#1}{telephone}{\vskip -1em}\else{\phonelink{\xmlatt{#1}{telephone}}}\fi %\vskip -1em \xmlflush{#1} \blank[big] \stopxmlsetups % The only purpose of the element is to make a table of members. \startxmlsetups xml:list:members \starttabulate[|l|l|l|] \x

[NTG-context] Re: Two bugs with descriptions in ConTeXt.

2024-02-13 Thread Wolfgang Schuster
the content of the title is evaluated multiple times to get the width of the description title, in cases where a counter is incremented in such a case (very common when you have counters in a table cell) you use the trialtypesetting mode to increment only once. I've tried to make the examples given

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-01-29 Thread Taco Hoekwater
his means the output template gets confused about whether it should use “%s” or “%i” as format string. > > > > $ mtxrun --script font --list --spec --filter="fontname=ple" > table: 0x3bc80550ac0 > tab

[NTG-context] Re: mtxrun.lua:10080: bad argument #9 to 'format'

2024-01-28 Thread vm via ntg-context
) apparently you need at least three characters in the the filter template. $ mtxrun --script font --list --spec --filter="fontname=ple" table: 0x3bc80550ac0 table: 0x3bc80550b00 [01:32] vm @ vmz: ~ $ mtxrun --script font --list --spec --fil

[NTG-context] Re: How to stop

2024-01-28 Thread Bruce Horrocks
> On 27 Jan 2024, at 21:29, Joel via ntg-context wrote: > > I have a document that uses ~40 different TABLE configurations, each with > their own special requirements, such as these below, and in total, perhaps > 2000 tables appear in a file, using one of the

[NTG-context] Re: How to stop

2024-01-27 Thread Hraban Ramm
Just use a group (\start ... \stop, \bgroup ... \egroup or {} ) around the setup commands and their table, or use \startsetup mytable ... \stopsetup and \startTABLE[setups=mytable] if you need the same settings for several tables. HR Am 27.01.24 um 22:29 schrieb Joel via ntg-context: I have

[NTG-context] How to stop

2024-01-27 Thread Joel via ntg-context
I have a document that uses ~40 different TABLE configurations, each with their own special requirements, such as these below, and in total, perhaps 2000 tables appear in a file, using one of the configurations.                        \setupTABLE[r][1][align=raggedleft

[NTG-context] Re: \starttable questions

2024-01-26 Thread Jim
On Fri, Jan 26, 2024 at 09:55 (+0100), Aditya Mahajan wrote: > On Thu, 25 Jan 2024, Jim wrote: >> The nice thing about your setup above is that it is nice and structured. >> But if a table calls for some row, column or cell to be treated >> differently, I guess I am in

[NTG-context] Re: \starttable questions

2024-01-26 Thread Aditya Mahajan
On Thu, 25 Jan 2024, Jim wrote: > The nice thing about your setup above is that it is nice and structured. > But if a table calls for some row, column or cell to be treated > differently, I guess I am in for some more reading. You can do: \setupTABLE[2][3] to select the formatting

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
here could help me with these three things: >>> > For a long time I have been using Wichura's TaBle macros (i.e., what one >>> > gets with >>> > \input table >>> > in plain TeX) and would like to use what appears to be ConTeXt'

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
Jim schrieb am 25.01.2024 um 22:01: Hi Henning, On Thu, Jan 25, 2024 at 17:16 (+0100), Henning Hraban Ramm wrote: Am 25.01.24 um 16:12 schrieb Jim: Hi, I was wondering if anyone here could help me with these three things: For a long time I have been using Wichura's TaBle macros (i.e., what

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
Hi Henning, On Thu, Jan 25, 2024 at 17:16 (+0100), Henning Hraban Ramm wrote: > Am 25.01.24 um 16:12 schrieb Jim: >> Hi, I was wondering if anyone here could help me with these three things: >> For a long time I have been using Wichura's TaBle macros (i.e., w

[NTG-context] Re: \starttable questions

2024-01-25 Thread Henning Hraban Ramm
Am 25.01.24 um 16:12 schrieb Jim: Hi, I was wondering if anyone here could help me with these three things: For a long time I have been using Wichura's TaBle macros (i.e., what one gets with \input table in plain TeX) and would like to use what appears to be ConTeXt's version of those

[NTG-context] \starttable questions

2024-01-25 Thread Jim
Hi, I was wondering if anyone here could help me with these three things: For a long time I have been using Wichura's TaBle macros (i.e., what one gets with \input table in plain TeX) and would like to use what appears to be ConTeXt's version of those (i.e., what one gets with \starttable

[NTG-context] OT: special ToC

2024-01-15 Thread Henning Hraban Ramm
I came across a table of contents style that’s hardly possible with TeX: https://historians.social/@dbellingradt/111760591144801241 (image is too big for the ML) (Yes of course you can do it with manual references and MetaPost lines…) ;D

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-13 Thread Jeong Dal via ntg-context
form of 3 x 4 on one page, >> 3. Two rows are same, >> 4. Numbers in the center of the ticket which is increasing. >> >> I use the following code to make it. >> >> but I think that there is a better and simpler way to do it which I don’t >> know. >&g

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Bruce Horrocks
me, > 4. Numbers in the center of the ticket which is increasing. > > I use the following code to make it. > > but I think that there is a better and simpler way to do it which I don’t > know. > > I hope that someone give me a nicer way to do it. Not sure if it is 'n

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
Oktober 2023, 18:13:42 CEST > From: Hans Hagen > To: Gerion Entrup > > On 10/13/2023 2:33 PM, Gerion Entrup wrote: > > Hi, > > > > I recently tried to typeset a table with checkmarks and x marks. > > \checkmark exists but is there a predefined x mark symbol (\x

[NTG-context] Converting XHTML captions to ConTeXt captions

2023-11-26 Thread Thangalin
I'd like to capture a caption and apply it to the block-level element that immediately follows. In the MWE, is there a more "ConTeXt way" to accomplish the task of adding captions to tables, figures, blockquotes, etc? % SOT \startbuffer[demo] Caption 1 table 1 with caption table

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
hub.io/pandoc-crossref - https://github.com/tomduck/pandoc-eqnos I'm leaning towards the following syntax: Markdown Item (table, blockquote, TeX block, figure, code, R chunk, etc.) : caption text {#type:label} See [@type:label] for details. There's a unit test that shows what's currently

[NTG-context] Re: (again) wrong destination types?

2023-11-21 Thread Bruce Horrocks
ng Preview on the Mac I see the following behaviour: a) The doc opens at page 1, in continuous scroll mode, with the table of contents sidebar open. I'm pretty sure it's opening at 100% zoom but it's surprisingly hard to verify that in Preview. b) When I click on the superscript 1 in the main body

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
the title page > (though I define sectionblocks for keeping different numbering systems > for the table of contents and the document) Section blocks are intended for that. Just a comment, if your cover (or title) page involves a one and only single page, you may use makeups, such as in

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
sorry if i dont get your problem right understood, but i'm completely new to context. I use a hack not to get the number not printed in the title page (though I define sectionblocks for keeping different numbering systems for the table of contents and the document) I use \setuppagenumbering

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-03 Thread Hans Hagen
On 11/2/2023 9:00 PM, Vincent Hennebert wrote: Ok. But then that means that the designsizes table will be used all the time, including when design sizes are disabled, right? Which would mean that I _must_ define the regular size as a fallback. they are not really design sizes but more

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
readable in the end. My Lua function to determine the font file name is a bit convoluted indeed. - in your variant you can put the lua in the lfg file (at the top) and then add \loadfontgoodies[...] before where the functions are used Ok. But then that means that the designsizes table

[NTG-context] Re: Combining python and lua

2023-10-26 Thread Alexandre Christe
rote: > > > Dear list, > > > > I’d like to know the best approach to make this a bit more usable. I’m > > trying to typeset a table with sin/cos/tan values. I’d like to be able to > > convert the angles in degrees into radians (with math notation) and to > >

[NTG-context] Re: Combining python and lua

2023-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2023, Alexandre Christe wrote: > Dear list, > > I’d like to know the best approach to make this a bit more usable. I’m trying > to typeset a table with sin/cos/tan values. I’d like to be able to convert > the angles in degrees into radians (with math notation)

[NTG-context] Re: Combining python and lua

2023-10-25 Thread Bruce Horrocks
On 25 Oct 2023, at 16:45, Alexandre Christe wrote: > > Dear list, > > I’d like to know the best approach to make this a bit more usable. I’m trying > to typeset a table with sin/cos/tan values. I’d like to be able to convert > the angles in degrees into radians (

[NTG-context] Combining python and lua

2023-10-25 Thread Alexandre Christe
Dear list, I’d like to know the best approach to make this a bit more usable. I’m trying to typeset a table with sin/cos/tan values. I’d like to be able to convert the angles in degrees into radians (with math notation) and to compute the trigonometric function leading to sin(pi/4) = 1/2

[NTG-context] Fwd: Re: x mark symbol and general symbol guide

2023-10-16 Thread Gerion Entrup
Hi, > > I recently tried to typeset a table with checkmarks and x marks. > \checkmark exists but is there a predefined x mark symbol (\xmark does > not work)? > > In general: For LaTeX there exists the very helpful comprehensive LaTeX > symbol list [1]. > Is there a simila

[NTG-context] x mark symbol and general symbol guide

2023-10-13 Thread Gerion Entrup
Hi, I recently tried to typeset a table with checkmarks and x marks. \checkmark exists but is there a predefined x mark symbol (\xmark does not work)? In general: For LaTeX there exists the very helpful comprehensive LaTeX symbol list [1]. Is there a similar documentation for ConTeXt somewhere

[NTG-context] Re: bibliography questions

2023-10-04 Thread Henning Hraban Ramm
(or even a lua table) as a starting format. I don’t understand how a custom rendering relates to the input database? My bib database is already complete, and I find the format much more comfortable to write than XML. Hraban

[NTG-context] Re: bibliography questions

2023-10-03 Thread Aditya Mahajan
, e.g. don’t like the handling of > names > – I need additional fields (custom rendering again) > – if I refer to sources, I want a URL or file path in a footnote (custom cite > wrapper macro) When I have to write your own rendering, I find it more convenient to use XML/JSON (or even a

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Hans Hagen
ase/mkxl/math-fnt.lmt:56: table index is nil stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: in metamethod 'index' ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:104: in function <...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Pablo Rodriguez
install-lmtx/context-linux-64.zip) and I got the same error again. Just in case it might help, Pablo PS: here is the error again: tex error > tex error on line 10 in file ./a.tex: lua error: run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: tab

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Mikael Sundqvist
} i = j \NR > \NC 0 \NC \text{otherwise} \NR > \stopmathcases > \stopformula > \stoptext > > The error is : > run callback [44]: > ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index > is nil\nstack traceback:\n > ...ext/tex/texmf-context/t

[NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Vincent Picard
\startformula \delta_{ij} = \startmathcases \NC 1 \NC \text{if } i = j \NR \NC 0 \NC \text{otherwise} \NR \stopmathcases \stopformula \stoptext The error is : run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index is nil\nstack traceback:\n ...ext/tex/texmf

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
. And, if you want them to appear in the table of contents, modify the combined list of section headers that go into the contents (\setupcombinedlist[content][list=chapter,NPChapter,...]). Perhaps add it to the pdf bookmarks as well (\placebookmarks...). -- RIk

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-12 Thread Jeroen
It does not seem to have an effect to the table. The distance between the rows remains the same Thanks, Jeroen Op ma 11 sep 2023 om 09:08 schreef : > \bTABLE[spaceinbetween=0cm] > > ... > > \eTABLE > > > > > > > > *Von:* Jeroen > *Gesendet:* Sonntag

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-11 Thread Wolfgang Schuster
Jeroen schrieb am 10.09.2023 um 22:05: Is there an easy way to reduce the line space between rows in a natural table so the table takes less vertical space. Natural tables and extreme tables take extra vertical space because the table cell use the framed-mechanism which add a small margin

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-11 Thread denis.maier
\bTABLE[spaceinbetween=0cm] ... \eTABLE Von: Jeroen Gesendet: Sonntag, 10. September 2023 22:05 An: mailing list for ConTeXt users Betreff: [NTG-context] Reduce space between lines in Natural Tables Is there an easy way to reduce the line space between rows in a natural table so the table

[NTG-context] Reduce space between lines in Natural Tables

2023-09-10 Thread Jeroen
Is there an easy way to reduce the line space between rows in a natural table so the table takes less vertical space. Thanks, Jeroen ___ If your question is of interest to others as well, please add an entry

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
er two} > \input ward > \stoptext > > Greetings Lutz > Am 9. September 2023 20:11:55 MESZ schrieb Jim : >>Hi, >>I am creating a document which is divided with the unnumbered levels >>(\title, \subject, ...). >>I would like a table of contents sho

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi Wolfgang, On Sat, Sep 9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 22:34: >> Wolfgang, >> thanks very much for your help. As a long-time plain TeX user, but a >> ConTeXt n00b, that would have taken me a long time to figure out. >> Having said that (and

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
: > Jim schrieb am 09.09.2023 um 20:11: >> Hi, >> I am creating a document which is divided with the unnumbered levels >> (\title, \subject, ...). >> I would like a table of contents showing the names and page numbers, >> something like >> Bla

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 22:34: Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Jim : >Hi, > >I am creating a document which is divided with the unnumbered levels >(\title, \subject, ...). > >I would like a table of contents showing the names and page numbers, >something like > >Blah blah blah2 >Blah blah 4 >... > >Howeve

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 20:11: Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what I see in https

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] Re: Question about building an array of values with Lua

2023-08-24 Thread Fabrice Couvreur
Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Otared Kavian schrieb am 24.08.2023 um 01:04: > > Hi Fabrice, > > As Wolfgang points out, it is indeed possible to fill-in your table with > Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In thi

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 01:04: Hi Fabrice, As Wolfgang points out, it is indeed possible to fill-in your table with Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In this case you need to use the Lua function math.mod as in the following, which

[NTG-context] Re: Question about building an array of values with Lua

2023-08-23 Thread Otared Kavian
Hi Fabrice, As Wolfgang points out, it is indeed possible to fill-in your table with Lua: maybe you were wondering how to fill the columns 2, 3 and 4. In this case you need to use the Lua function math.mod as in the following, which is a completed version of what Wolfgang sent: %% begin

[NTG-context] Re: your opinion about list structures

2023-08-22 Thread denis.maier
rstag, 10. August 2023 15:22 > An: mailing list for ConTeXt users > Betreff: [NTG-context] your opinion about list structures > > Hi, this is about my ConTeXt book again. > > [ToC] > > At the moment, my table of contents has chapters and sections and is 8 pages &g

[NTG-context] Disable continued captions for table parts

2023-08-22 Thread Alexey Kryukov
Dear list, probably a stupid question, but is it possible to have a table splitted across pages without adding labels to all subsequent table parts except the first one? In my book I have captions above tables (\setupcaption[table][location=top]), so they are expected to behave like normal

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hans Hagen via ntg-context
backs=] In the new typescripts regime we keep one font from the design-size range in the typescript file; the rest of the optical sizes go into an lfg goodies file: \definefontsynonym [MyRomanRegular] \loadfontgoodies[myfonts-opticalsizes] % other three fonts go into an lfg table [

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
On 8/22/2023 8:51 AM, Andres Conrado Montoya wrote: Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: I'm trying to force a page break in a table of co

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > I'm trying to force a page break in a table of contents, using what is > recommende

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent

[NTG-context] Fallbacks for design sizes in the current typescripts regime

2023-08-21 Thread Hamid,Idris
from the design-size range in the typescript file; the rest of the optical sizes go into an lfg goodies file: \definefontsynonym [MyRomanRegular] \loadfontgoodies[myfonts-opticalsizes] % other three fonts go into an lfg table [file:MyFont-Regular.ttf] [features=,fallbacks=] desi

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Hans Hagen via ntg-context
processing an xml document? Without understanding how that works, it is not possible to apply certain tests on the xml nodes. As the manual mk.pdf, chapter XVII states: it's a mixture of streaming parser and tree manipulation. The whole xml document is transformed into a Lua table

[NTG-context] Re: XML processing beginner's question

2023-08-21 Thread Thomas A. Schmitz
understanding how that works, it is not possible to apply certain tests on the xml nodes. As the manual mk.pdf, chapter XVII states: it's a mixture of streaming parser and tree manipulation. The whole xml document is transformed into a Lua table and then processed. But I definitely get the "

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 21:11:38 +0200 Wolfgang Schuster wrote: > What you can do here is to put the table together piece by piece with > the collecting > mechanism which collect parts of the table until you flush the whole > collection > at the end with the \stopcollecting comman

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 20:31: On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: Do you create the whole table with Lua? When this is the case a small change to the table section commands on the Lua side can fix your problems but otherwise a different approach

  1   2   3   4   5   6   7   8   9   10   >