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)
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
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
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 s
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
>
> \ctxlua{metapost.reset("metafun:1")
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.
Like
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].
> >
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
{\definedfont[name:tw
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 ordi