[NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Hi, this used to work, but wants a dimension now \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. Peter T:\tmp>context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file:

Re: [NTG-context] issue with environment and Lua

2020-05-27 Thread Pablo Rodriguez
On 5/26/20 9:01 PM, Hans Hagen wrote: > On 5/26/2020 8:24 PM, Pablo Rodriguez wrote: > >> I have added an \xmlflushcontext to a non-minimal environment file and >> it crashes again and again. > > then you probably use the wrong command Many thanks for your reply, Hans. I have just discovered

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Am 27.05.2020 um 17:46 schrieb Wolfgang Schuster: > Hans Hagen schrieb am 27.05.2020 um 17:39: >> On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: >>> Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now >>> In which way? Did you get the desired

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. ConTeXt expects a

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Hans Hagen
On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 27.05.2020 um 17:39: On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext

Re: [NTG-context] Checking existence of a macro (control sequence) by Lua

2020-05-27 Thread luigi scarso
On Thu, May 28, 2020 at 12:43 AM wrote: > Off-topic: your email are always marked as spam by my gmail . Are you sure that your address setup is ok ? -- luigi ___ If your question is of interest to others as well,

[NTG-context] Checking existence of a macro (control sequence) by Lua

2020-05-27 Thread context
Hello, is it possible to check whether a macro exists (or - is it a non-\undefined control sequence) with Lua? Suppose: \starttext \def\MyMacro{Ahoj} \def\MyMac#1#2{Something} \startluacode IsDefined = function(ctl_seq) print("CS " .. ctl_seq ..

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread luigi scarso
On Wed, May 27, 2020 at 11:28 PM Pablo Rodriguez wrote: > > Without commas, lists are harder both to read and to write (at least, to > me). > > what about \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{% i4,% i5,% i7,% } {yes}{no} \stopTEXpage \stoptext here seems to work. --

[NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Gerben Wierda
To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution of course) in one of my publications. But I only had a low res image. Is the code of this symbol available somewhere so I can do it proper justice in a next edition? G

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.05.2020 um 23:28: On 5/27/20 10:39 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 27.05.2020 um 22:31: [...] I think this may be a bug, since the sample above would only get "yes" with { i7}. No spaces are allowed in these lists. Older versions of the

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Hans Hagen
On 5/27/2020 10:39 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 27.05.2020 um 22:31: Hi Hans, the following sample: \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{i4, i5, i7} {yes}{no} \stopTEXpage \stoptext outputs "yes" with latest from

Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Taco Hoekwater
Sure, it is a character in manfnt.mf (and there is a pfb version of that as well) Taco > On 27 May 2020, at 21:20, Gerben Wierda wrote: > > To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution of > course) in one of my publications. But I only had a low res image. Is the

Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Lutz Haseloff
You can find the code in The Metafontbook, page 106f. Greetings Lutz Am 27. Mai 2020 21:19:26 MESZ schrieb Gerben Wierda : >To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution >of course) in one of my publications. But I only had a low res image. >Is the code of this symbol

Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Herbert Voss
Am 27.05.20 um 21:19 schrieb Gerben Wierda: To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution of course) in one of my publications. But I only had a low res image. Is the code of this symbol available somewhere so I can do it proper justice in a next edition? Knuth

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.05.2020 um 22:31: Hi Hans, the following sample: \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{i4, i5, i7} {yes}{no} \stopTEXpage \stoptext outputs "yes" with latest from 2020.05.18 16:50, but "no" with latest from

Re: [NTG-context] bug in \doifinset

2020-05-27 Thread Pablo Rodriguez
On 5/27/20 10:39 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 27.05.2020 um 22:31: >> [...] >> I think this may be a bug, since the sample above would only get "yes" >> with { i7}. > No spaces are allowed in these lists. Older versions of the command > removed the spaces before the

[NTG-context] bug in \doifinset

2020-05-27 Thread Pablo Rodriguez
Hi Hans, the following sample: \starttext \startTEXpage[offset=1em] \doifinsetelse{i7}{i4, i5, i7} {yes}{no} \stopTEXpage \stoptext outputs "yes" with latest from 2020.05.18 16:50, but "no" with latest from 2020.05.25 23:39. I think this may be a bug, since the

Re: [NTG-context] Change hyphenation mark

2020-05-27 Thread Hans Hagen
On 5/26/2020 11:30 PM, Marc Trius wrote: Thank you! It makes a big difference. I distinctly remember reading somewhere that the hyphen character can't be replaced... But it was last year so I couldn't tell you where. hm, i think it always could be changed, but afaik only luatex can do that