Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Hans Hagen
On 8/29/2017 4:24 PM, Otared Kavian wrote: Thanks Aditya, Indeed the solution is already there in luatex-math.tex… one can just use $\mathring{A}$ out of the box! I see why I love ConTeXt :-) I checked one of the stacker sub-mechanisms and fixed / extended something: \starttext

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Hi Hans, That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. However, before doing so, I would like to ask how is it possible to get the command act entirely in math mode, that is respecting the distances and the math fonts. Please see the attached output. %%% begin

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Hans Hagen
On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuptyping[TEX][lines=yes] \starttext \startTEX code one line before two lines before three lines before \stopTEX \stoptext I thought the lines key should

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
On 08/29/2017 07:25 PM, Hans Hagen wrote: > On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: >> [...] >> I thought the lines key should display multiple lines when they are in >> the code. >> >> How should I got the multiple lines in the sample above? > empty lines are always collapsed Many thanks

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
On 08/29/2017 11:28 PM, Hans Hagen wrote: > On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: >> [...] >> In that case, what enables [lines=yes] in \setuptyping? > linebreaks Many thanks for your reply, Hans. I’m afraid this isn’t what I get in the following sample: \setuppapersize[A6]

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
On 08/30/2017 02:50 AM, Aditya Mahajan wrote: > On Tue, 29 Aug 2017, Hans Hagen wrote: >> On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: >>> [...] >>> In that case, what enables [lines=yes] in \setuptyping? >> linebreaks > > There is only a subtle difference between the two: Many thanks for the

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Hans Hagen
On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: On 08/29/2017 07:25 PM, Hans Hagen wrote: On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: [...] I thought the lines key should display multiple lines when they are in the code. How should I got the multiple lines in the sample above? empty lines are

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Hans Hagen
On 8/29/2017 9:56 PM, Otared Kavian wrote: Hi Hans, That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. However, before doing so, I would like to ask how is it possible to get the command act entirely in math mode, that is respecting the distances and the math fonts.

Re: [NTG-context] Currency - space delimiting thousands

2017-08-29 Thread Procházka Lukáš Ing .
Hello, thank you, Hans... On Mon, 28 Aug 2017 11:30:49 +0200, Hans Hagen wrote: On 8/27/2017 9:15 PM, Procházka Lukáš Ing. wrote: Hello, is there a built-in (Lua-?)numeric format to produce big numbers with spaces delimiting thousands (widely used for currencies)? E.g.:

[NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Christoph Reller
Hi, I noticed that the scite module (m-scite.mkiv) has undergone some changes recently. When using this module to highlight source code, then the escape mechanism does not seem to work anymore. MWE: \enabletrackers[buffers.visualize] \usemodule[scite] \setuptyping[TEX][escape={[[,]]}] \starttext

Re: [NTG-context] lines in \setuptyping

2017-08-29 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Hans Hagen wrote: On 8/29/2017 9:02 PM, Pablo Rodriguez wrote: On 08/29/2017 07:25 PM, Hans Hagen wrote: On 8/29/2017 4:43 PM, Pablo Rodriguez wrote: [...] I thought the lines key should display multiple lines when they are in the code. How should I got the multiple

[NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly solution for this in plain TeX some years ago

Re: [NTG-context] Currency - space delimiting thousands

2017-08-29 Thread Procházka Lukáš Ing .
That's great, Hans, thank you! Lukas On Tue, 29 Aug 2017 13:30:48 +0200, Hans Hagen wrote: On 8/29/2017 12:35 PM, Procházka Lukáš Ing. wrote: Hello, thank you, Hans... On Mon, 28 Aug 2017 11:30:49 +0200, Hans Hagen wrote: On 8/27/2017 9:15 PM, Procházka

Re: [NTG-context] Scite module and escape does not work anymore

2017-08-29 Thread Hans Hagen
On 8/29/2017 9:31 AM, Christoph Reller wrote: Hi, I noticed that the scite module (m-scite.mkiv) has undergone some changes recently. When using this module to highlight source code, then the escape mechanism does not seem to work anymore. MWE: \enabletrackers[buffers.visualize]

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Otared Kavian
Thanks Aditya, Indeed the solution is already there in luatex-math.tex… one can just use $\mathring{A}$ out of the box! I see why I love ConTeXt :-) Best regards: OK > On 29 Aug 2017, at 15:34, Aditya Mahajan wrote: > > On Tue, 29 Aug 2017, Otared Kavian wrote: > >> Hi,

Re: [NTG-context] How to put a circle on top of a character

2017-08-29 Thread Aditya Mahajan
On Tue, 29 Aug 2017, Otared Kavian wrote: Hi, How can I put a small circle on top of a character in math mode (for the curious this is needed when one defines the interior of a set…). I tried the following, but the small circle is too far away from the character A. I am sure I had an ugly

Re: [NTG-context] Currency - space delimiting thousands

2017-08-29 Thread Hans Hagen
On 8/29/2017 12:35 PM, Procházka Lukáš Ing. wrote: Hello, thank you, Hans... On Mon, 28 Aug 2017 11:30:49 +0200, Hans Hagen wrote: On 8/27/2017 9:15 PM, Procházka Lukáš Ing. wrote: Hello, is there a built-in (Lua-?)numeric format to produce big numbers with spaces

[NTG-context] Possible error in page-lay.mkiv

2017-08-29 Thread Rik Kabel
In page-lay.mkvi I see, at lines 1591–1594: \definepapersize   [doubleoversized]   [ \c!width=\dimexpr \paperheight+\layouttargetparameter\c!distance\relax,    \c!height=\dimexpr2\paperwidth +\layouttargetparameter\c!distance\relax] I would expect to see:

[NTG-context] lines in \setuptyping

2017-08-29 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuptyping[TEX][lines=yes] \starttext \startTEX code one line before two lines before three lines before \stopTEX \stoptext I thought the lines key should display multiple lines when they are in the code. How