[NTG-context] Re: Japanese

2024-03-01 Thread Wolfgang Schuster
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.lua and I guess the following change is necessary local japanese_2 = {     ja

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

[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
senumber}\crlf \xmlatt{#1}{postcode} \xmlatt{#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:

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

2024-02-13 Thread Wolfgang Schuster
lue. As you guessed 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

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

2024-01-29 Thread Taco Hoekwater
trings). This 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: 0x3bc80550ac

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

2024-01-28 Thread vm via ntg-context
got string) 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 --

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

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

[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.,

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

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

[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
> 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 &#

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

2024-01-09 Thread Gerion Entrup
eitag, 13. 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

[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

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
l.github.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 w

[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

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
d in 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

[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 \setuppagenumb

[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 will be

[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) and

[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 (with mat

[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, or

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

[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
t{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-cont

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

2023-09-24 Thread Vincent Picard
ttext \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/

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
, 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 on

[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 to the

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

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

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

2023-08-24 Thread Fabrice Couvreur
, Wolfgang 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.

[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 is a

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

[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
tures=,fallbacks=] 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 lf

[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

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

2023-08-21 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 > recom

[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}] \pl

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

2023-08-21 Thread Hamid,Idris
e 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 and

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

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

2023-08-18 Thread Alexey Kryukov
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 is needed. Hi Wolfgang, thanks fo

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

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 19:02: Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table secti

[NTG-context] Table head/body via lua

2023-08-18 Thread Alexey Kryukov
Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning commands, like \bTABLEhead, \eTABLEhead, bTABL

[NTG-context] Re: new upload

2023-08-16 Thread Hans Hagen via ntg-context
of periodic table of units Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

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

2023-08-10 Thread Keith McKay
amm wrote: Hi, this is about my ConTeXt book again… [ToC] At the moment, my table of contents has chapters and sections and is 8 pages long. I would probably hardly use it. Maybe it would be better to show only chapters (29 content + 12 appendix = 2 pages) and include a list of sections afte

[NTG-context] Re: upload

2023-08-10 Thread Henning Hraban Ramm
Am 10.08.23 um 15:03 schrieb Hans Hagen: On 8/10/2023 2:57 PM, Henning Hraban Ramm wrote: Am 09.08.23 um 23:11 schrieb Hans Hagen: On 8/9/2023 9:29 PM, Rik Kabel wrote: Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed

[NTG-context] your opinion about list structures

2023-08-10 Thread Henning Hraban Ramm
Hi, this is about my ConTeXt book again… [ToC] At the moment, my table of contents has chapters and sections and is 8 pages long. I would probably hardly use it. Maybe it would be better to show only chapters (29 content + 12 appendix = 2 pages) and include a list of sections after the

[NTG-context] Re: upload

2023-08-10 Thread Hans Hagen
On 8/10/2023 2:57 PM, Henning Hraban Ramm wrote: Am 09.08.23 um 23:11 schrieb Hans Hagen: On 8/9/2023 9:29 PM, Rik Kabel wrote: Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed. indeed, probably a fix tomorrow I don’t

[NTG-context] Re: upload

2023-08-10 Thread Henning Hraban Ramm
Am 09.08.23 um 23:11 schrieb Hans Hagen: On 8/9/2023 9:29 PM, Rik Kabel wrote: Two problems with this upload. First, page number suppression no longer works. Second, table captions are not displayed. indeed, probably a fix tomorrow I don’t know if that’s the same problem, but the current

[NTG-context] Re: upload

2023-08-09 Thread Hans Hagen
works. Second, table captions are not displayed. indeed, probably a fix tomorrow - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53

[NTG-context] Re: upload

2023-08-09 Thread Rik Kabel
On 8/9/2023 11:42 AM, Hans Hagen wrote: Hi, I uploaded a new lmtx. There are some new features that wil be revealed in the future (likely after the meeting) but here is one: Two problems with this upload. First, page number suppression no longer works. Second, table captions are not

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread Hans Hagen via ntg-context
ile(filteredWordlist, 'check-hyphens.log') end -- see if the file exists -- http://lua-users.org/wiki/FileInputOutput -- see if the file exists function file_exists(file) local f = io.open(file, "rb") if f then f:close() end return f ~= nil end -- get all li

[NTG-context] Re: Tracker for hyphens at the end of lines

2023-08-09 Thread denis.maier
e if the file exists -- http://lua-users.org/wiki/FileInputOutput -- see if the file exists function file_exists(file) local f = io.open(file, "rb") if f then f:close() end return f ~= nil end -- get all lines from a file, returns an empty -- list/table if the file does not exist

[NTG-context] Re: \defineactivecharacter in LMTX + composing characters

2023-08-02 Thread Hamid,Idris
pdf that shows some font rendering of Latin Modern, Pagella, Brill - a nice gratis font for download but with a strange license, so dangerous to use for real work -, and Minion. It also includes a table of composition analysis for each of the transliteration characters. https

[NTG-context] mtxrun scripts

2023-07-18 Thread Henning Hraban Ramm
I tried some of the mtxrun scripts: * "colors" runs into an error: $ mtxrun --script colors --table ~/texmf/colors/icc/profiles/sgray.icc lua error : function call: ...-07/tex/texmf-context/scripts/context/lua/mtx-colors.lua:56: attempt to index a nil value (global 'colors&#

Re: [NTG-context] context-on-web broken

2023-06-26 Thread Miguel Diaz via ntg-context
ok). On a quick search i found a lot of Zdeněk Svoboda, but i will try to find the one of the project and ask him to offer it to the community, I found context-on-web simple and effective, it even hat a table-generator for easy things. El lun, 26 jun 2023 a las 20:39, Hans Hagen via ntg-context

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread luigi scarso via ntg-context
On Sun, 18 Jun 2023 at 21:56, Hans Hagen via ntg-context wrote: > On 6/18/2023 8:37 PM, Carlos via ntg-context wrote: > > On Sat, Jun 17, 2023 at 06:53:06PM +0200, Hans Hagen via ntg-context > wrote: > >> What is PFC data? > > > > The glyph containers on a ta

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Hans Hagen via ntg-context
tty fast in picking up new stuff (maybe users less so). When it came to commercial fonts the plan of action ahead was by including PFC data on these very same commercial fonts that would benefit primarily its opentype versions in the long run. What is PFC data? The glyph containers on a table

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Carlos via ntg-context
ally deal with > truetype fonts to some extend. Before there was something 'opentype' we had > two competing but similar technologies. And it took a while before it was > even clear how to interpre the specification (also think about reverse > engeneering fonts and heuristics a

Re: [NTG-context] Protect the lettrine

2023-06-14 Thread linguafalsa--- via ntg-context
for later I didn't see the video, it's distracting, but as I said, is a valid request on your part Perhaps `\setuphead` can have such of a feature in the future — that of different settings for different chapters, and if one exists now, I'm just simply unaware of, but either way,

Re: [NTG-context] Super slow installation

2023-05-31 Thread Bruce Horrocks via ntg-context
On 31 May 2023, at 01:51, Thangalin wrote: > > From twelve99.net: > > If you’re interested in our IP city prefixes, we have a lookup table on our > website: https://www.arelion.com/our-network/bgp-routing/bgp-communities > Scroll down to “Origin + Communities” and expand tha

Re: [NTG-context] Super slow installation

2023-05-30 Thread Thangalin via ntg-context
>From twelve99.net: If you’re interested in our IP city prefixes, we have a lookup table on our website: https://www.arelion.com/our-network/bgp-routing/bgp-communities Scroll down to “Origin + Communities” and expand that section. You can see that sea-b1 (your hop 8) is not in Brussels, but

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 24.05.23 um 16:44 schrieb Henning Hraban Ramm via ntg-context: Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce

[NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce it in a simple example like this: """ \starttex

Re: [NTG-context] Noto Emoji COLRv1

2023-05-24 Thread Hans Hagen via ntg-context
 ConTeXt gives the following error: fonts > otf loading > loading 'Noto-COLRv1.ttf', hash 'noto-colrv1' otf reader > table version 1 of 'colr' is partially supported for font Noto-COLRv1.ttf otf reader > unsupported

<    1   2   3   4   5   6   7   8   9   10   >