[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-24 Thread Wolfgang Schuster
Am 24.04.2025 um 19:40 schrieb Pablo Rodriguez via ntg-context: On 4/24/25 17:39, Wolfgang Schuster wrote: [...] Doesn't work for me because ConTeXt complains about the missing file. runtime error : input file './whatever.tex' is not found, quitting mtx-context | fatal err

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-24 Thread Pablo Rodriguez via ntg-context
On 4/24/25 17:39, Wolfgang Schuster wrote: > [...] > Doesn't work for me because ConTeXt complains about the missing file. > > runtime error : input file './whatever.tex' is not found, quitting > mtx-context | fatal error: return code: 1 Weird, I only get

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-24 Thread Wolfgang Schuster
glyphs using source.tex as environment: context --environment=source.tex whatever.tex For your information, just in case it might help, Doesn't work for me because ConTeXt complains about the missing file. runtime error : input file './whatever.tex' is not found, quitt

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-24 Thread Pablo Rodriguez via ntg-context
On 4/23/25 20:33, Wolfgang Schuster wrote: > Am 23.04.2025 um 19:07 schrieb Pablo Rodriguez via ntg-context: > [...] > > What is the content of both files? The contents of "source.tex" read: \definefontfallback [FallbackRegular] [file:NotoSerif.ttf*default,slanted] [greekandcoptic]

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-23 Thread Wolfgang Schuster
Am 23.04.2025 um 19:07 schrieb Pablo Rodriguez via ntg-context: On 4/18/25 20:24, Wolfgang Schuster wrote: [...] The same result can be reproduced without \definefontfamily and is limited to compact fonts. \definefontfallback [FallbackRegular] [file:notoserifregular*default,slanted] [greekandco

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-23 Thread Pablo Rodriguez via ntg-context
On 4/18/25 20:24, Wolfgang Schuster wrote: > [...] > The same result can be reproduced without \definefontfamily and is > limited to compact fonts. > > \definefontfallback [FallbackRegular] > [file:notoserifregular*default,slanted] [greekandcoptic] > > \definefontsynonym [MainfaceRegular] [Seri

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-18 Thread Wolfgang Schuster
Am 18.04.2025 um 13:59 schrieb Sylvain Hubert: Hello, 1 bug report + 3 questions: ___ # Bug report: \definefallbackfamily ignoring font features ```tex \definefallbackfamily[mainface][rm][Noto Serif][preset=range:greek, sl={style:tf, features:slanted}] \definefontfamily[mainface][rm][latinm

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-18 Thread Hans Hagen via ntg-context
On 4/18/2025 1:59 PM, Sylvain Hubert wrote: Hello, 1 bug report + 3 questions: These are for Wolfgang but shouldn't you set the style to sl? \definefallbackfamily [mainface] [rm] [Noto Serif] [preset=range:greek,sl={style:sl,features:slanted}] I'm not sure if selectfont has been adap

[NTG-context] Re: Bug report about \definefallbackfamily and other questions

2025-04-18 Thread Hans Hagen via ntg-context
On 4/18/2025 1:59 PM, Sylvain Hubert wrote: # Question: ConTeXt LMTX version control Where can one find older releases of ConTeXt LMTX when encountering problems like the bug above? https://github.com/contextgarden/context looks promising, but it do

[NTG-context] Bug report about \definefallbackfamily and other questions

2025-04-18 Thread Sylvain Hubert
Hello, 1 bug report + 3 questions: ___ # Bug report: \definefallbackfamily ignoring font features ```tex \definefallbackfamily[mainface][rm][Noto Serif][preset=range:greek, sl={style:tf, features:slanted}] \definefontfamily[mainface][rm][latinmodernroman] \setupbodyfont[mainface] \starttext \s

[NTG-context] Re: Question about matrices with vertical and horizontal lines (and now adding arrows between cells)

2025-02-27 Thread Matthias Weber
Thanks again. This is exquisite, truly. One of the many things I like about using ConTeXt is that whenever I try to do something new, I learn amazing things I didn’t even know were possible. Matthias > On Feb 27, 2025, at 3:52 PM, Mikael Sundqvist wrote: > > Hi, > > On Thu,

[NTG-context] Re: Question about matrices with vertical and horizontal lines (and now adding arrows between cells)

2025-02-27 Thread Mikael Sundqvist
Hi, On Thu, Feb 27, 2025 at 9:04 PM Matthias Weber wrote: > > Thanks! > > Now, I would like to have arrows between cells. I have tried using overlays > (see below), and I understand that an overlay is centered within the cell. > How do I move the arrow so that it points from 6 to 7, for instanc

[NTG-context] Re: Question about matrices with vertical and horizontal lines (and now adding arrows between cells)

2025-02-27 Thread Matthias Weber
Thanks! Now, I would like to have arrows between cells. I have tried using overlays (see below), and I understand that an overlay is centered within the cell. How do I move the arrow so that it points from 6 to 7, for instance? (Starting a little to the right and above the 6, ending below and to

[NTG-context] Re: Question about matrices with vertical and horizontal lines

2025-02-27 Thread Mikael Sundqvist
Hi, On Thu, Feb 27, 2025 at 3:18 AM Matthias Weber wrote: > > Hi, > > I’d like to typeset a matrix with vertical and horizontal lines like so: > > starttext > > \startformula > \startmatrix >\HL >\VL 16 \VL 3 \VL 2 \VL 12 \VL\NR >\HL >\VL 5 \VL 10 \VL 11 \VL 8 \VL\NR >\HL

[NTG-context] Question about matrices with vertical and horizontal lines

2025-02-26 Thread Matthias Weber
Hi, I’d like to typeset a matrix with vertical and horizontal lines like so: starttext \startformula \startmatrix \HL \VL 16 \VL 3 \VL 2 \VL 12 \VL\NR \HL \VL 5 \VL 10 \VL 11 \VL 8 \VL\NR \HL \VL 9 \VL 6 \VL 7 \VL 12 \VL\NR \HL \VL 4 \VL 15 \VL 14 \VL 1 \VL\NR \H

[NTG-context] Re: about : setuplayout[width=fit or height=fit]

2025-01-10 Thread wangzhongtian
le \page}\stoptext-- 原始邮件 --发件人:Hans Hagen via ntg-context "ntg-context@ntg.nl"时 间:2025/01/11 07:31:47 周六收件人:ntg-context@ntg.nl抄送人:Hans Hagen "j.ha...@freedom.nl"主 题:[NTG-context] Re: about : setuplayout[width=fit or height=fit]On 1/10/2025 9:28 AM, wang

[NTG-context] Re: about : setuplayout[width=fit or height=fit]

2025-01-10 Thread Hans Hagen via ntg-context
On 1/10/2025 9:28 AM, wangzhongtian wrote: hi,hans , Maybe I find some bug in file page-lay.mkxl, in \def\page_layouts_synchronize. 1. Here is the source code snippet from the above code file. I think it is reasonable if change the last line of code to: \global\advanceby\makeupheight\dimex

[NTG-context] about : setuplayout[width=fit or height=fit]

2025-01-10 Thread wangzhongtian
hi,hans ,Maybe I find some bug in file page-lay.mkxl, in \def\page_layouts_synchronize.1. Here is the source code snippet from the above code file. I think it is reasonable if change the last line of code to:\global\advanceby\makeupheight\dimexpr-\topdistance-\topheight-\scratchdimen\relax\orelse\

[NTG-context] Re: Some questions about punctuation squeezing in Japanese

2024-12-03 Thread autumnus
It seem there is not necessary to think about different languages . In fact, the treatment of punctuation in China, Japan can be regarded as adding or subtracting the space of punctuation as Wolfgang said(I don't know much about Korean). All you need to do is make a script to handle al

[NTG-context] Re: Some questions about punctuation squeezing in Japanese

2024-12-03 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 03.12.2024 um 10:51: hi,lists The punctuation of question marks, exclamation marks, and quotation marks doesn't seem to be very good at the moment. I agree the current solution isn't perfect and there are many things which can be improved. People who are int

[NTG-context] Some questions about punctuation squeezing in Japanese

2024-12-03 Thread ai2472206007
hi,lists The punctuation of question marks, exclamation marks, and quotation marks doesn't seem to be very good at the moment. ipaexgothic font download : https://moji.or.jp/ipafont/ipaex00401/ \starttext \definedfont[name:ipaexgothic] \startscript[nihongo] \setbox0\hbox{% \framed[widt

[NTG-context] Re: A few question about defining symbols and creating downarrow to illustrate function rules

2024-11-24 Thread Henning Hraban Ramm
Am 24.11.24 um 19:08 schrieb Jethro Djan: Hello, I have a few questions. 1. What is the best way to get a symbol from a font you are not using as your main? e.g. \definefontsynonym [MySymFont] [file:MySymFont.ttf] \definesymbol[cedis][\getglyphstyled{MySymFont}{\tochar{x:20B5}}] \def\cedis{\

[NTG-context] A few question about defining symbols and creating downarrow to illustrate function rules

2024-11-24 Thread Jethro Djan
Hello, I have a few questions. 1. What is the best way to get a symbol from a font you are not using as your main? %% start MWE \starttext \definesymbol[cedis][\utfchar{“20B5}] \def\cedis{ \switchtobodyfont[dejavu]\tf\symbol[cedis] } I have GH\cedis 10.00 in my pocket \stoptext %% end MW

[NTG-context] Some suggestions for the current lang-txt.lua file and some questions about setting the labeltext and date

2024-10-24 Thread ai2472206007
hi, As the title suggests, below my suggestions and questions %% \mainlanguage[cn] \language[cn] \starttext \section{Some suggestions about lang-txt} The words are aligned in my editor because of the font, but it's not perfectly aligned because of the browser. Sorry for that % %

[NTG-context] Re: Curious about 3D Metapost

2024-09-25 Thread Hans Hagen
On 9/25/2024 3:16 PM, Shiv Shankar Dayal wrote: You're kidding right? Interfacing to some huge system that dwarfs the luametatex code base, creates a horrible dependency on what is fashion today (and replaced in a few years by what is then the fashion in graphics), adds plenty of runtime while in

[NTG-context] Re: Curious about 3D Metapost

2024-09-25 Thread Shiv Shankar Dayal
> You're kidding right? Interfacing to some huge system that dwarfs the > luametatex code base, creates a horrible dependency on what is fashion > today (and replaced in a few years by what is then the fashion in > graphics), adds plenty of runtime while in practice one can just create > these grap

[NTG-context] Re: Curious about 3D Metapost

2024-09-25 Thread Hans Hagen via ntg-context
On 9/25/2024 2:30 PM, Shiv Shankar Dayal wrote: Please correct me if I'm wrong. LMTX has Metapost built in then can we not write a pure lua extension of it to do real 3D probably using Vulkan? You're kidding right? Interfacing to some huge system that dwarfs the luametatex code base, creates a

[NTG-context] Curious about 3D Metapost

2024-09-25 Thread Shiv Shankar Dayal
Please correct me if I'm wrong. LMTX has Metapost built in then can we not write a pure lua extension of it to do real 3D probably using Vulkan? -- Respect, Shiv Shankar Dayal ___ If your question is of interest to ot

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Marcus Vinicius Mesquita
Thank you for the info, Hans Regards Marcus Vinicius On Tue, Aug 27, 2024 at 11:54 AM Hans Hagen via ntg-context wrote: > > On 8/27/2024 3:37 PM, Marcus Vinicius Mesquita wrote: > > pdffonts mathincontext-paper.pdf lists quite a bunch of fonts named > > ContextRuntimeFont1 … ContextRuntimeFont

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Hans Hagen via ntg-context
On 8/27/2024 3:37 PM, Marcus Vinicius Mesquita wrote: pdffonts mathincontext-paper.pdf lists quite a bunch of fonts named ContextRuntimeFont1 … ContextRuntimeFont17. I'm curious to know what they are. as the names indicates ... they are runtime generated ... they can coem from verious assemblies

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.08.2024 um 15:35: In this " A small note, with source". As Mikael already wrote, the example use Antykwa Torunska for the text but when you take a look at the end of the source you find the following note: On the next few pages we show the result after compili

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Marcus Vinicius Mesquita
gt; less nice especially in the writing of the theorems with the text in > > italic. Imaginary impression or reality ? > > Thanks. > > Fabrice > > If you talk about the ones in the Enunciation chapter, then they are > indeed set with Pagella (unless I did some

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Fabrice Couvreur
e > Pagella font. I use this font with a simple \setupbodyfont[pagella,11pt] > but I find that the rendering is not the same as on the document, it is > less nice especially in the writing of the theorems with the text in > italic. Imaginary impression or reality ? > > Thanks. >

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Mikael Sundqvist
document, it is less > nice especially in the writing of the theorems with the text in italic. > Imaginary impression or reality ? > Thanks. > Fabrice If you talk about the ones in the Enunciation chapter, then they are indeed set with Pagella (unless I did some mistake). The exam

[NTG-context] Re: About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.08.2024 um 15:04: Hello, I read this very good document and it says that it was written with the Pagella font. I use this font with a simple \setupbodyfont[pagella,11pt] but I find that the rendering is not the same as on the document, it is less  nice especially

[NTG-context] About the font used in the document mathincontext-paper.pdf

2024-08-27 Thread Fabrice Couvreur
Hello, I read this very good document and it says that it was written with the Pagella font. I use this font with a simple \setupbodyfont[pagella,11pt] but I find that the rendering is not the same as on the document, it is less nice especially in the writing of the theorems with the text in itali

[NTG-context] Re: About a pagination

2024-07-23 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 23.07.2024 um 08:57: Hi, I'm trying to get the same pagination as in the attached photos. The images are missing. Wolfgang ___ If your question is of interest to others as well, please

[NTG-context] About a pagination

2024-07-23 Thread Fabrice Couvreur
Hi, I'm trying to get the same pagination as in the attached photos. Using the wiki and Wolfgang's codes I get something interesting but not very elegant (\ACFRAME{}). Only, I don't see how to emphasize the title of each chapter in the same way. Thanks. Fabrice \startcomponent[essai] \setuplayout

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 14.04.2024 um 14:53: Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an ex

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Henning Hraban Ramm
Am 14.04.24 um 14:46 schrieb Wolfgang Schuster: garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command

[NTG-context] Re: Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread Wolfgang Schuster
garu...@azules.eu schrieb am 14.04.2024 um 12:41: Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
Hi all, Is it on purpose that 128 pages "https://wiki.contextgarden.net/Command/ " start with a space character ? I didn't find an explanation in https://wiki.contextgarden.net/Command For example, these two pages exist : - https://wiki.contextgarden.net/Command/startbuffer - https://wik

[NTG-context] Re: what about "textdisplay"?

2024-04-02 Thread Hans Hagen via ntg-context
On 4/2/2024 7:44 AM, Henning Hraban Ramm wrote: Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Han

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:54 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 18:29: Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
Am 01.04.24 um 18:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in t

[NTG-context] Re: what about "textdisplay"?

2024-04-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.04.2024 um 17:19: A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. My guess is Mikael because I saw the command the first time in the source of a presentation from him. I wante

[NTG-context] what about "textdisplay"?

2024-04-01 Thread Henning Hraban Ramm
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images. I wanted to document it, but can’t find it in the sources: $ context --find=textdisplay mtx-context | …/tex/texmf-context/doc/context/sources/general/manuals/on

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
On 3/8/2024 3:38 AM, Rik Kabel wrote: Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
Hello all, The following example produces two log entries that seem a bit odd. The log entries are: backend > bookmarks > confusing level change at level 3 around '1 body1' backend > bookmarks > confusing level change at level 3 around 'back1' and they refer to the

[NTG-context] Question about drawing flowchart using chart module

2023-12-27 Thread Jeong Dal via ntg-context
Dear all, I tried to draw a flow chart using the module[chart]. Following the examples, I draw one. The problem is that the size of the chart is not changed even though I changed the numbers dx,dy, width, height, and maxwidth in the \setupFLOWcharts Please tell me how to resize the chart. Than

[NTG-context] Re: About framedtext

2023-12-13 Thread Alan Braslau via ntg-context
On Wed, 13 Dec 2023 18:55:34 +0100 Wolfgang Schuster wrote: > This was added a few years ago (AFAIR to provide something similar to > the TikZ color command). You actually mean similar to the MetaPost color command. Alan ;-) _

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:55 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice    \definecolor[ColorA][0.8(white

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.12.2023 um 18:19: Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice    \definecolor[ColorA][0.8(white)]    \definecolor[MyColorA][.75(MyColorB,white)]

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 18:19 schrieb Wolfgang Schuster: Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release

[NTG-context] Re: About framedtext

2023-12-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.12.2023 um 19:03: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. There is a problem with the corner option, you can either hope it gets fixed in the next release (corner=round still works) or create your own bac

[NTG-context] Re: About framedtext

2023-12-13 Thread Henning Hraban Ramm
Am 13.12.23 um 19:03 schrieb Fabrice Couvreur: Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice   \definecolor[ColorA][0.8(white)]   \definecolor[MyColorA][.75(MyColorB,white)] I never saw this syntax in ConTeXt. That doesn’t m

[NTG-context] About framedtext

2023-12-13 Thread Fabrice Couvreur
Hi, Is this a bug or not ? The key to coloring the background of the text seems to no longer work. Thanks Fabrice \definecolor[MyColorC][s=0.8784] \definecolor[MyColorD][m=0.27,y=1] \definecolor[ColorA][0.8(white)] \definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00] \definecolor[MyColor

[NTG-context] Re: learning about the grid

2023-11-20 Thread Wolfgang Schuster
madiazm.eo...@gmail.com schrieb am 19.11.2023 um 23:17: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with se

[NTG-context] Re: learning about the grid

2023-11-20 Thread Pablo Rodriguez via ntg-context
On 11/19/23 23:17, madiazm.eo...@gmail.com wrote: > Thanks, Pablo and Henning > > I suppose I am making a mistake with my setupinterlinearspace. My > school asks for Times New Roman (I use termes) 12pt and > onehalfspacing. In latex I used linespread{1.3} and so I supposed > setting ConTeXt with se

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 23:17 schrieb madiazm.eo...@gmail.com: Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setu

[NTG-context] Re: learning about the grid

2023-11-19 Thread madiazm . eoicc
Thanks, Pablo and Henning I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read somew

[NTG-context] Re: learning about the grid

2023-11-19 Thread Henning Hraban Ramm
Am 19.11.23 um 13:27 schrieb Miguel Diaz: 1. Why are the lines printed one over the other when grid=no? how do profis then use context without grid? That usually only happens in one of the column modes that requires the grid. It doesn’t happen in usual one-column typesetting. There must be so

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
nstead? You can get yourself the values: \starttext \the\exheight\\ %\the \dimexpr1.3\exheight\\ \the\emwidth \stoptext The first line will give you 1ex is about 5.7pt (with the default font used by ConTeXt). 1.3ex would be less than 6.75pt. The value of 1em is the value of the font size

[NTG-context] learning about the grid

2023-11-19 Thread Miguel Diaz
Hi everyone, being a newbie I just discovered how different setups for the grid may affect my (very simple) document. In the Details manual (which of course I don't understand because of my unexperience) I read that many people don't use the grid, but when I configure grid=no the whole lines of a s

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

2023-08-25 Thread Fabrice Couvreur
Hi Wolfgang, Thank you so much Fabrice Le jeu. 24 août 2023 à 19:46, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > Otared Kavian schrieb am 24.08.2023 um 12:50: > > > On 24 Aug 2023, at 06:03, Wolfgang Schuster < > wolfgang.schuster.li...@gmail.com> wrote: > > […] > > > I wou

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

2023-08-24 Thread Wolfgang Schuster
Otared Kavian schrieb am 24.08.2023 um 12:50: On 24 Aug 2023, at 06:03, Wolfgang Schuster > wrote: […] I would drop the column check in this case.     for i = 0,9 do     context.startxrow()     context.startxcell()     contex

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

2023-08-24 Thread Otared Kavian
> On 24 Aug 2023, at 06:03, Wolfgang Schuster > wrote: >> […] > > I would drop the column check in this case. > > for i = 0,9 do > context.startxrow() > context.startxcell() > context(i) > context.stopxcell() > context.startxcell(

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

2023-08-24 Thread Fabrice Couvreur
Hi Otared and Wolgang, Thanks for the answers. In fact, being familiar with Python and not at all with Lua, I didn't have the reflex to think of using a mathematical function which gives the remainder in the Euclidean division by 10, it's strange !! Fabrice Le jeu. 24 août 2023 à 04:06, Wolfgang S

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

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

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

2023-08-23 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 23.08.2023 um 19:28: Hi, I'm trying to fill an array using lua. So far it works but then I don't know if it's possible. Where do you have problems (look into cld-mkiv.pdf for hins)? \starttext \startluacode context.startxtable{ align = "middle,lohi", bodyfont = "9

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

2023-08-23 Thread Fabrice Couvreur
Hi, I'm trying to fill an array using lua. So far it works but then I don't know if it's possible. Thanks Fabrice \startluacode context.startxtable({"align={middle,lohi},bodyfont=9pt,framecolor=black"}) context.startxrow({"background=color, backgroundcolor=lightgray"})

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

2023-08-22 Thread Henning Hraban Ramm
Am 22.08.23 um 17:12 schrieb denis.ma...@unibe.ch: Hi Hraban, a late reply concerning the ToCs in your book: maybe you could an two-toc-approach like in the Memoir manual? One could show only the chapters, another would contain everything. Hi, since Keith as the only other responder also pre

[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] 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] 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: About Pgfplot.-

2023-07-22 Thread Aditya Mahajan
On Sat, 22 Jul 2023, Freddy Omar López Quintero wrote: > I’m trying to reproduce the example in https://wiki.contextgarden.net/Pgfplot > and I’m getting this error: That example is a little hard to test because you need to download a bunch of data files to test it, but pgfplots is working in th

[NTG-context] About Pgfplot.-

2023-07-22 Thread Freddy Omar López Quintero
Hello! I’m trying to reproduce the example in https://wiki.contextgarden.net/Pgfplot and I’m getting this error: tex error > tex error on line 926 in file pgfcorepoints.code.tex: Missing control sequence inserted \inaccessible " \pgfsetzvec \catcode `\==12 \catcode `\,=

Re: [NTG-context] About \blackrule

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Thanks a lot. Fabrice Le mer. 19 avr. 2023 à 15:05, Wolfgang Schuster via ntg-context < ntg-context@ntg.nl> a écrit : > Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: > > Hi, > The idea is to have a black square whose height is that of the number 3. > Thanks > Fabri

Re: [NTG-context] About \blackrule

2023-04-19 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 19.04.2023 um 17:01: Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext  \blackrule[width=0.71em,height=0.71em]37254H \blackrule[width=\wdofstring{3},height=\htofstring{

[NTG-context] About \blackrule

2023-04-19 Thread Fabrice Couvreur via ntg-context
Hi, The idea is to have a black square whose height is that of the number 3. Thanks Fabrice \setupbodyfont[12pt,pagella] \starttext \blackrule[width=0.71em,height=0.71em]37254H \stoptext ___ If your question is of int

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
On 1/16/23 02:42, Michal Vlasák via ntg-context wrote: > [...] > I would think that something like the attached could work. But in some > cases it fails on the TeX side with something I am not sure about. I > probably overlooked something. Anyways the idea is to just use the > Star

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
On Sun Jan 15, 2023 at 10:49 PM CET, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I’m planning to add an explanation about multimedia inclusion to the > wiki, but first I wanted to discuss an issue I have found. > > I have the following sample (adapted

[NTG-context] question about multimedia renderings

2023-01-15 Thread Pablo Rodriguez via ntg-context
Dear list, I’m planning to add an explanation about multimedia inclusion to the wiki, but first I wanted to discuss an issue I have found. I have the following sample (adapted from scrn-wid.mklx): \setupinteraction[state=start] \starttext \null\page \definerenderingwindow

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi Mikael, Great job ! Thanks Fabrice Le dim. 2 oct. 2022 à 15:37, Mikael Sundqvist via ntg-context < ntg-context@ntg.nl> a écrit : > Hi, > > On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context > wrote: > > > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > > Ok, it work

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Mikael Sundqvist via ntg-context
Hi, On Sun, Oct 2, 2022 at 3:26 PM Hans Hagen via ntg-context wrote: > > On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: > > Ok, it works very well. Without wanting to insist, how to have the same > > hatching with two different figures ? > see upcoming mail from Mikael Oh, OK, her

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 3:13 PM, Fabrice Couvreur via ntg-context wrote: Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? see upcoming mail from Mikael Hans -

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Ok, it works very well. Without wanting to insist, how to have the same hatching with two different figures ? Thanks. Fabrice Le dim. 2 oct. 2022 à 13:38, Hans Hagen via ntg-context a écrit : > On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: > > I just tried but I got an empty file

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 1:02 PM, Fabrice Couvreur via ntg-context wrote: I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? no, we disagree here; add them after th

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
I just tried but I got an empty file... Do we agree that I have to replace the two lines with the other two ? Regarding what you proposed, how to get the same type of hatching in both figures ? \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Hans Hagen via ntg-context
On 10/2/2022 11:20 AM, Floris van Manen via ntg-context wrote: On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Not only, it is also true with the code below : \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (2cm,0cm) ; z[1] = (2cm,4cm) ; z[2] = (0cm,2cm) ; q := llcorner p--z[0]--z[1]--z[2]--cycle ; r := unitsquare xyscaled (1cm,1cm) shifted(0,3cm) ;

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Floris van Manen via ntg-context
On 02/10/2022 10:55, Fabrice Couvreur via ntg-context wrote: Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. some unexpected side effect show u

Re: [NTG-context] About macro numberstriped ()

2022-10-02 Thread Fabrice Couvreur via ntg-context
Hi, Initially, there was a bug with maro numberstriped() and Hans suggested another sensible approach to me, but you don't get the same shape of the hatches depending on the dimensions of the squares. Your solution works perfectly but I'm trying to understand the action of the parameters: the first

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Mikael Sundqvist via ntg-context
Hi, Is this what you are looking for? On Sat, Oct 1, 2022 at 7:43 PM Fabrice Couvreur via ntg-context wrote: > > Hi Hans, > When the rectangles are not identical, how to have the same type of hatching > in both ? > Thanks. > Fabrice > > > \starttext > \startlinecorrection[blank] > \start

Re: [NTG-context] About macro numberstriped ()

2022-10-01 Thread Fabrice Couvreur via ntg-context
Hi Hans, When the rectangles are not identical, how to have the same type of hatching in both ? Thanks. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \switchtobodyfont[9pt] \startMPcode path p, q, r, b ; p := unitsquare xyscaled (4cm,4cm) ; z[0] = (

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 28.09.22 um 15:29 schrieb Hans Hagen via ntg-context: On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corners with "blobs of ink" Other

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Hans Hagen via ntg-context
On 9/28/2022 3:11 PM, Fabrice Couvreur via ntg-context wrote: Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? in order to get 'lines' you need to fill the two opposing corne

Re: [NTG-context] About macro numberstriped ()

2022-09-28 Thread Fabrice Couvreur via ntg-context
Hi Hans, Thank you for this solution which is an approach that I did not know. Fabrice PS : What is the exact meaning of the word "blobs" because my English is average ? Le mar. 27 sept. 2022 à 22:04, Hans Hagen via ntg-context < ntg-context@ntg.nl> a écrit : > On 9/27/2022 7:49 PM, Fabrice Couv

  1   2   3   4   5   6   7   8   9   10   >