[NTG-context] Re: vim syntax highlighting bug?

2024-01-08 Thread Vincent Hennebert
I was in touch with the maintainer of the context.vim syntax file about this. It turns out to be an issue with the lua.vim file that is included in the context one. Lua.vim highlights trailing parentheses as errors, but that’s done in a way that doesn’t work well when the file is included by

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

2023-11-02 Thread Vincent Hennebert
On 01/11/2023 12:36, Hans Hagen via ntg-context wrote: On 10/31/2023 8:18 PM, Vincent Hennebert wrote: Hello there, I had mentioned this on a thread some (long) time ago, finally got around to finishing a first version of a typescript with the Adobe Source font family, in all its weight

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
Hello there, I had mentioned this on a thread some (long) time ago, finally got around to finishing a first version of a typescript with the Adobe Source font family, in all its weight alternatives and design sizes (the latter being available in the Serif style only). Comments welcome. If

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

2023-08-22 Thread Vincent Hennebert
On Tue, 2023-08-22 at 15:45 +, Hamid,Idris wrote: > On Aug 22, 2023, 2:06 AM -0600, Hans Hagen via ntg-context cont...@ntg.nl>, wrote: > > On 8/22/2023 6:31 AM, Hamid,Idris wrote: > > I'm not going to look into this until there is a complete test case > > for > > this which means: > > > > -

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-17 Thread Vincent Hennebert
On Tue, 2023-08-15 at 18:22 +0200, Hans Hagen wrote: > On 8/15/2023 5:33 PM, Hamid,Idris wrote: > > > > so [\s!designsize=\s!auto] means there is no explicit call to lmroman8-regular etc.? Interesting.. > > > check the lfg file ... On that note, there seems to be an inconsistency in the

[NTG-context] How to override parts of a typescript

2023-08-11 Thread Vincent Hennebert
Say I want to use the Adobe Source font family in my document. They are installed on my system, but the file names are different to what’s in the typescript file provided with the ConTeXt distribution. If I do this: \starttypescript [serif] [source] [name] \definefontsynonym [Serif]

Re: [NTG-context] How to add margin around standalone MetaPost?

2022-05-24 Thread Vincent Hennebert via ntg-context
On Sat, 2022-05-21 at 07:39 +0530, śrīrāma wrote: > On 5/20/22 10:26 PM Vincent Hennebert via ntg-context wrote: > > Take the following MetaPost file: > > > > beginfig(0) > >   ahlength := 20; > >   linejoin := mitered; > >   drawarrow origin--(40,0)

[NTG-context] How to add margin around standalone MetaPost?

2022-05-20 Thread Vincent Hennebert via ntg-context
Take the following MetaPost file: beginfig(0) ahlength := 20; linejoin := mitered; drawarrow origin--(40,0) withpen pencircle scaled 5; endfig; Render it into PDF with ConTeXt. Witness the cut out ends of the arrow. How to fix that? Being able to add some margin would be a solution, which

Re: [NTG-context] Rendering Standalone MetaPost Graphics with ConTeXt

2022-05-19 Thread Vincent Hennebert via ntg-context
On Thu, 2022-05-19 at 14:23 +0530, śrīrāma wrote: > On 5/19/22 1:53 PM Vincent Hennebert via ntg-context wrote: > > Looking at the wiki, it seems that \startMPinclusions is not meant > > to > > actually render any content, just to include MetaPost code like > > func

[NTG-context] Rendering Standalone MetaPost Graphics with ConTeXt

2022-05-19 Thread Vincent Hennebert via ntg-context
I’d like to use MetaPost to generate all sorts of standalone graphics (ultimately converted to SVG). For various reasons (among others, MetaFun and advanced text processing) I want to use MetaPost as embedded in ConTeXt rather than a standalone installation. metapost.mp fill fullcircle

Re: [NTG-context] Reset environment between MetaPost graphics?

2022-01-21 Thread Vincent Hennebert via ntg-context
On Thu, 2022-01-20 at 15:47 +0100, Hans Hagen via ntg-context wrote: > On 1/20/2022 3:26 PM, Aditya Mahajan via ntg-context wrote: > > > AFAIK, there is no in-built support for this. > > FYEO: > > \starttext > > \startMPcode > u = 123; > \stopMPcode > >

[NTG-context] Reset environment between MetaPost graphics?

2022-01-20 Thread Vincent Hennebert via ntg-context
Hi, Say I’m writing a document containing many independent MetaPost figures. I don’t want to bother with enclosing each and every graphics in a ‘begingroup...endgroup’ with the appropriate ‘save’ statement. But I don’t want variables from previous graphics to leak into following ones either.

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-15 Thread Vincent Hennebert via ntg-context
On Fri, 2021-11-12 at 23:00 +0100, Pablo Rodriguez via ntg-context wrote: > On 11/12/21 7:08 PM, Vincent Hennebert via ntg-context wrote: > > Hi there, > > > > freshly upgraded LMTX installation. TwemojiMozilla.ttf downloaded > > from > > GitHub [1]. > >

[NTG-context] Emojis showing up in black instead of colours

2021-11-12 Thread Vincent Hennebert via ntg-context
Hi there, freshly upgraded LMTX installation. TwemojiMozilla.ttf downloaded from GitHub [1]. The following: \usemodule[fonts-emoji] \definefontfeature [overlay] [default] [ccmp=yes, colr=yes, dist=yes] \starttext

Re: [NTG-context] Create an enumeration style

2021-08-27 Thread Vincent Hennebert via ntg-context
On Wed, 2021-08-11 at 10:23 +0200, Hans Hagen via ntg-context wrote: > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > > > On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > > cont...@ntg.nl> wrote: > > > (…) > > > core-con.lua (line 1155): > > > > > > local