ut in MkIV, but buggy output in LMTX. It seems only TeX
commands in Metapost (textext, thetextext, etc.) are affected. Am I missing
something?
Thank you in advance.
Regards,
Jairo :)
___
If your question is of interest
, Henning Hraban Ramm wrote:
Hi,
with latest LMTX, the size (width) of external figures is ignored in
floats, while it works outside of floats and with MkIV. It also works
with metapost figures (e.g. dum library).
\setupexternalfigure[location=default]
\starttext
\startplacefigure[location=here
On 12/4/2020 11:19 AM, Henning Hraban Ramm wrote:
Hi,
with latest LMTX, the size (width) of external figures is ignored in floats,
while it works outside of floats and with MkIV. It also works with metapost
figures (e.g. dum library).
\setupexternalfigure[location=default]
\starttext
Hi,
with latest LMTX, the size (width) of external figures is ignored in floats,
while it works outside of floats and with MkIV. It also works with metapost
figures (e.g. dum library).
\setupexternalfigure[location=default]
\starttext
\startplacefigure[location=here]
\externalfigure[cow
time assuming effecitne metapost code
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl
document.
>
> hm, on my 2013 laptop the luametatex manual needs 10 sec (i have all
> the fonts, so that includes a bunch) and a metafun manual should do
> about 20
>
> a test on am M1 mini needs half those times as reported yesterday
>
> i bet that on a modern deskt
luametatex we have no c++ ... all is
> just C.)
>
> > Finally, the computational complexity of my proof engine, will be
> > comparable to MetaFun/MetaPost... which I suspect you would not
> > consider implementing in pure Lua. Some things are faster in C.
>
> Hard
we have no c++ ... all is just C.)
Finally, the computational complexity of my proof engine, will be
comparable to MetaFun/MetaPost... which I suspect you would not
consider implementing in pure Lua. Some things are faster in C.
Hard to say ... I think that the parser / expansion machinery
l should do about 20
a test on am M1 mini needs half those times as reported yesterday
i bet that on a modern desktop the luatex manual will do < 5 sec
In the case of the `luametafun` document, it is the MetaFun/MetaPost
processing which, of course, is taking a long time (as it should, th
rogramming approach), *and* (since I can not even
hope to prove the compilers are *correct*), there must be many
*different* compiler implementations (to show that the results are not
artefacts of one particular implementation).
Finally, the computational complexity of my proof engine, will b
backs essentially cut
only 6-8 seconds out of 18 seconds, for the `luametatex` document, and
190 seconds, for the `luametafun` document.
In the case of the `luametafun` document, it is the MetaFun/MetaPost
processing which, of course, is taking a long time (as it should, the
graphics comput
gt; >
> > I have been using xpart and ypart to extract these values from pairs of
> points in a path but I wasn't getting the correct result. I was expecting:
> >
> > pair (2cm, 11cm) to give xpart 2 and ypart 11
>
> As explained by various people, Metapost does not have dim
lained by various people, Metapost does not have dimensions. All lengths
are implicit Postscript big points
(72/inch). Variables like “cm” just add a multiplication factor to your
expressions, at no point is a dimension stored inside Metapost.
Your equation:
a0 = (2cm,11cm)
first ex
8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the units of xpart or ypart are in
Postcript points or Big Points (bp), and 1 bp is 1/72 of an inch,
and thus to get the values of xpart or ypart in cm I would have to
use a correction factor. I had made the
e xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the units of xpart or ypart are in
Postcript points or Big Points (bp), and 1 bp is 1/72 of an inch,
and
the correct result. I was expecting:
>>>
>>> pair (2cm, 11cm) to give xpart 2 and ypart 11
>>>
>>> However I was getting:
>>>
>>> pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
>>>
>>> After much head scratching
of points in a path but I wasn't getting the correct result. I was
expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the un
result. I was
expecting:
pair (2cm, 11cm) to give xpart 2 and ypart 11
However I was getting:
pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun
manuals, I realised that the units of xpart or ypart are in Postcript
points or Bi
art 56.6929 and ypart 311.8096
After much head scratching and reading the MetaPost and MetaFun manuals,
I realised that the units of xpart or ypart are in Postcript points or
Big Points (bp), and 1 bp is 1/72 of an inch, and thus to get the values
of xpart or ypart in cm I would have to
ypart 11
>
> However I was getting:
>
> pair (2cm, 11cm) -> xpart 56.6929 and ypart 311.8096
>
> After much head scratching and reading the MetaPost and MetaFun manuals, I
> realised that the units of xpart or ypart are in Postcript points or Big
> Points (bp), and 1 bp is 1
ead scratching and reading the MetaPost and MetaFun manuals,
I realised that the units of xpart or ypart are in Postcript points or
Big Points (bp), and 1 bp is 1/72 of an inch, and thus to get the values
of xpart or ypart in cm I would have to use a correction factor. I had
made the assumpt
here:
> https://wiki.contextgarden.net/MetaFun_-_MetaPost_in_ConTeXt
> To actually answer your question, if you actually want to load a Metapost
> graphic externally generated, you should have something like:
>
> %nice.mp
> %"begin ... endfig", as well as "end" are
a Metapost
graphic externally generated, you should have something like:
%nice.mp
%"begin ... endfig", as well as "end" are important
beginfig (1);
draw fullcircle scaled cm
%withcolor black
;
endfig;
end
so when you compile it via
mpost nice.mp
(obviously supposing you have Metapo
Dear List,
I'm trying to embed a metapost image into the document. According the MetaFun
manual <http://www.pragma-ade.com/general/manuals/metafun-p.pdf>,
"embedding such a graphic is done by:
\externalfigure[graphic.123][width=4cm]", but the following example
produc
Any insight about this issue ?
Many thanks.
Thierry
metapost log > >> unknown path p
metapost log > >> 0
metapost log > ! Equation cannot be performed (unknown path=numeric).
metapost log >
metapost log > (path)
meta
t to know if nowadays (2020) Metafun is able to do an
> > actual unfill, like above:
> >
> >
> https://tex.stackexchange.com/questions/151068/how-can-i-fill-a-complex-path-with-metapost-metafun/218718#218718
> >
> > Example of what I want to do:
> >
> > \sta
On 11/3/2020 12:59 PM, Jairo A. del Rio wrote:
Hi everyone. I want to know if nowadays (2020) Metafun is able to do an
actual unfill, like above:
https://tex.stackexchange.com/questions/151068/how-can-i-fill-a-complex-path-with-metapost-metafun/218718#218718
Example of what I want to do
Hi everyone. I want to know if nowadays (2020) Metafun is able to do an
actual unfill, like above:
https://tex.stackexchange.com/questions/151068/how-can-i-fill-a-complex-path-with-metapost-metafun/218718#218718
Example of what I want to do:
\startMPpage
path A, B, C;
A := unitcircle shifted
]...
data = % mps graphic 1: end
It seems like metapost to PDF code is being printed to the terminal (not sure
about that).
I also see messages like:
[latelua
:
Hi, Joaquín.
I've just found your introduction yesterday and I have to say it is a
pleasure to read it. I can help you with some areas you haven't
discussed too much, e.g. Lua interfaces and Metapost (well, I'm not as
skilled as Aditya or Hans in the latter), as I use it often. I'll send
you
Hi, Joaquín.
I've just found your introduction yesterday and I have to say it is a
pleasure to read it. I can help you with some areas you haven't discussed
too much, e.g. Lua interfaces and Metapost (well, I'm not as skilled as
Aditya or Hans in the latter), as I use it often. I'll send you
not available for ConTeXt MkIV, but you could make it
> work with a proper font set (e.g. Quivira) or better, ask Hans for it.
>
> Wrt ifsym itself, it is a LaTeX specific package and it won't work out of
> the box, so you could 1) use a Unicode alternative instead or 2) adjust
> Meta
) use a Unicode alternative instead or 2) adjust
Metafont files so they could be compiled via Metapost. If you go for 2),
the following would work as a poor's man solution for any symbol you need.
\starttext
\startuseMPgraphic{Flag}
%From ifsym.gen
draw (3pt,0pt)--(3pt,10pt);
fill (3pt,10pt)--(0pt
error:
! Missing argument to mymacro.
Isn't that weird? But perhaps it has to do with me not understanding
argument passing properly within METAPOST macros!
Can someone please explain why this 2 argument example doesn't work?
(But maybe this isn't the proper list to ask questions like these. I
o.
Isn't that weird? But perhaps it has to do with me not understanding
argument passing properly within METAPOST macros!
Can someone please explain why this 2 argument example doesn't work?
(But maybe this isn't the proper list to ask questions like these. If
so, I'm sorry for bothering you!)
e not understanding
argument passing properly within METAPOST macros!
Can someone please explain why this 2 argument example doesn't work?
(But maybe this isn't the proper list to ask questions like these. If
so, I'm sorry for bothering you!)
Regards,
Gerard
On 16-09-2020 16:32, Geert Ver
Some time ago I wrote metapost code for make a periodic table.
See:
https://tex.stackexchange.com/questions/233417/periodic-table-with-electron-counts-in-shells/233644
Have a nice day
Jorge
<https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail&g
Hi, list! I have a problem with some graphics in Metapost. I've tried to
replicate the Koch curve cited here using ConTeXt:
https://en.wikipedia.org/wiki/L-system
To my own amusement, the patterns seem to appear. However, when I try with
a number from 6, ConTeXt stops doing anything or output
Hello,
That's okay, I'll compile the files with mpost and do an image insert. Thanks
for your help.
Fabrice
Le mar. 1 sept. 2020 à 19:32, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Taco Hoekwater schrieb am 01.09.2020 um 19:12:
>
> Hi,
>
>
> On 1 Sep 2020, at 16:46, Hans
Taco Hoekwater schrieb am 01.09.2020 um 19:12:
Hi,
On 1 Sep 2020, at 16:46, Hans Hagen wrote:
On 9/1/2020 3:04 PM, Fabrice Couvreur wrote:
Hi Taco,
Thank you for your help. I specify that this extension works perfectly by
compiling the following file.
A logfile of a failed run would have
Hi,
> On 1 Sep 2020, at 16:46, Hans Hagen wrote:
>
> On 9/1/2020 3:04 PM, Fabrice Couvreur wrote:
>> Hi Taco,
>> Thank you for your help. I specify that this extension works perfectly by
>> compiling the following file.
A logfile of a failed run would have been more helpful in trying to
On 9/1/2020 3:04 PM, Fabrice Couvreur wrote:
Hi Taco,
Thank you for your help. I specify that this extension works perfectly
by compiling the following file.
input mp-scratch;
Scratchversion:=3;
beginfig(1);
draw Drapeau;
draw Repeter("4");
draw Avancer("100");
draw
tchversion:=3;
> ….
>
> If that also doesn’t work, perhaps attach the log file / terminal output
> to a new message.
>
> Best wishes,
> Taco
>
> > On 1 Sep 2020, at 13:07, Fabrice Couvreur
> wrote:
> >
> > Hello
> > Is it possible to import
ote:
>
> Hello
> Is it possible to import a metapost extension into a file compiled with the
> lmtx engine ?
> I tried unsuccessfully with this example :
>
> begin test.tex
>
> \starttext
> \startMPcode
> input mp-scratch;
>
> Scratchversion:=3;
>
Hello
Is it possible to import a metapost extension into a file compiled with the
lmtx engine ?
I tried unsuccessfully with this example :
begin test.tex
\starttext
\startMPcode
input mp-scratch;
Scratchversion:=3;
draw Drapeau;
draw Repeter("4");
draw Avancer("50&q
Thanks Taco!
I have been playing about with an example from this site
https://tex.loria.fr/prod-graph/zoonekynd/metapost/metapost.html
which was originally for a square and I obviously didn't get my angles
right. Thanks for spotting it. I'm beginning to appreciate where the Fun
in MetaFun
;.
What's missing is better integration though (to end up with almost as
good integration as metapost/metafun offers), and 3D with javascript
mousing support never worked either.
Mojca
___
If your question is of
Nice, I'm reading results right now. Thank you a lot, Hans.
Jairo :)
El dom., 9 de ago. de 2020 a la(s) 13:05, Hans Hagen (j.ha...@xs4all.nl)
escribió:
> On 8/9/2020 8:03 PM, Jairo A. del Rio wrote:
> > Oh, thank you a lot, Hans, that's a really cleaner way than mine. One
> > more question, is
On 8/9/2020 8:03 PM, Jairo A. del Rio wrote:
Oh, thank you a lot, Hans, that's a really cleaner way than mine. One
more question, is there something similar to EmWidth for \textwidth or
\linewidth? Better, a better way to access TeX dimensions? Thank you again.
When you grep for EmWidth ...
...@xs4all.nl)
escribió:
> On 8/9/2020 5:39 PM, Jairo A. del Rio wrote:
> > Hi, list! I'm doing the following to scale squares and other stuff in
> > MetaPost/MetaFun. Although the following kinda works (maybe I'm just
> > lucky with this), I want to know how to do a better piece from
On 8/9/2020 5:39 PM, Jairo A. del Rio wrote:
Hi, list! I'm doing the following to scale squares and other stuff in
MetaPost/MetaFun. Although the following kinda works (maybe I'm just
lucky with this), I want to know how to do a better piece from it. I'm
concerned with passing data from Lua
Hi, list! I'm doing the following to scale squares and other stuff in
MetaPost/MetaFun. Although the following kinda works (maybe I'm just lucky
with this), I want to know how to do a better piece from it. I'm concerned
with passing data from Lua and TeX to Metapost and better ways to do
] ;
StopPage;
\stopMPpage
\stoptext
The console output gives this:
system >
system > ConTeXt ver: 2020.07.29 14:08 LMTX fmt: 2020.7.29 int:
english/english
system >
metapost > log >
metapost > log > loading metafun, including plain.mp version 1.004 for
meta
s now made it in core.
> Normally users will not notice this but who knows.
>
> There are already features in lmtx that are not (and are unlikely to be)
> in mkiv (most significant in the metapost related part). When possible
> new macros and additions to mechanism will be in
of the experimental low level code has now made it in core.
Normally users will not notice this but who knows.
There are already features in lmtx that are not (and are unlikely to be)
in mkiv (most significant in the metapost related part). When possible
new macros and additions to mechanism
everything related. Each meeting is source of inspiration for everybody,
> from beginner to expert. Friendly company is always looking for meeting new
> participants, users of LuaTeX, LuaMetaTeX, ConTeXt, Metapost, etc.
>
> There is a special discount for those, who attend the meeting
.
Special cases are for instance metapost things, so we don't translate an
instance name 'lessfun'. Again, it does no harm to have the entries but
there is no such 'moinsfun' defined because this is a system key. A
general rule can be:
- things we do in styles that are very unlikely to be done
well in Preview.app and PDF Studio 2019, but Adobe (Reader DC and
Acrobat Pro 9) can’t open the new PDF.
I’ll try to cook up a MWE. Does anyone else experience problems with Adobe apps?
Hraban
Is this perhaps related to the thread:
[NTG-context] Minimum METAPOST code produces problematic PDF
> On 9 Jul 2020, at 08:37, Aditya Mahajan wrote:
>
> On Wed, 8 Jul 2020, Gerben Wierda wrote:
>
>> I found out this in the PDF spec:
>>
>> The minimum page size should be 3 by 3 units in default user space; the
>> maximum should be 14,400 by 14,400 units.
>
> So, does the following work:
>
The minimum is a relative one:
It is page 650 in the (normative) Annex C Implementation Limits for PDF readers
and writers:
Additionally, conforming writers should adhere to the following constraints,
and conforming readers should accommodate PDF files that obey the constraints.
The minimum
On 7/9/2020 9:08 AM, Taco Hoekwater wrote:
On 9 Jul 2020, at 08:32, Hans Hagen wrote:
On 7/8/2020 8:14 PM, Gerben Wierda wrote:
I found out this in the PDF spec:
The minimum page size should be 3 by 3 units in default user space; the
I never noticed that ... what section/paragraph in the
On Wed, 8 Jul 2020, Gerben Wierda wrote:
I found out this in the PDF spec:
The minimum page size should be 3 by 3 units in default user space; the maximum
should be 14,400 by 14,400 units.
So, does the following work:
\startMPpage[instance=doublefun, offset=2pt]
draw (0,0)--(100,0)
On 7/8/2020 8:14 PM, Gerben Wierda wrote:
I found out this in the PDF spec:
The minimum page size should be 3 by 3 units in default user space; the
I never noticed that ... what section/paragraph in the spec?
maximum should be 14,400 by 14,400 units.
So we should bump tex's maxima ...
I found out this in the PDF spec:
The minimum page size should be 3 by 3 units in default user space; the maximum
should be 14,400 by 14,400 units.
Apparently, Adobe InDesign demands that in a hard way.
G
> On 8 Jul 2020, at 01:08, Jairo A. del Rio wrote:
>
> Evince and Okular (Linux) open
Evince and Okular (Linux) open the PDF output without warnings nor issues.
Jairo :)
El mar., 7 de jul. de 2020 a la(s) 17:50, Gerben Wierda (
gerben.wie...@rna.nl) escribió:
> The following code:
>
> \startMPpage[instance=doublefun]
> draw (0,0)--(100,0) dashed withdots;
> \stopMPpage
>
>
The following code:
\startMPpage[instance=doublefun]
draw (0,0)--(100,0) dashed withdots;
\stopMPpage
When run through LuaMetaTeX produces a PDF about which Acrobat complains:
The dimensions of this page are out-of-range. Page content might be
truncated.
and Adobe InDesign cannot
ame
'/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
metapost> library 'dum' is loaded
metapost> initializing instance 'metafun:1' using format 'metafun' and
method 'default'
metapost> loading 'metafun' as
'/Users/janne
source > level 3, order 6, name
'/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
close source> level 3, order 6, name
'/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/meta-imp-dum.mkiv'
metapost> library '
.. don't use tex; i admit that i never used word but then, i never had
to make documents of that kind (just like i alway suse metapost and
never used a drawing program as i never needed that kind of graphics)
- in context you need to think rather minimalistic: most styles can
actually be ra
I’m trying to get a real random number in METAPOST
MWE:
\startMPpage[instance=doublefun]
show uniformdeviate 60;
\stopMPpage
Every time I run this, it shows the same result. I tried playing around with
the randomseed, but for instance when I do two runs shortly after each other
they still
Gerben Wierda schrieb am 23.06.2020 um 17:57:
I’m trying to get a real random number in METAPOST
MWE:
\startMPpage[instance=doublefun]
show uniformdeviate 60;
\stopMPpage
Every time I run this, it shows the same result. I tried playing around with
the randomseed, but for instance when I
llowing working example below, I would like to replace
>>
>> MyPens[j] := pencircle scaled 2pt ;
>>
>> by something like
>>
>> MyPens[j] := pencircle scaled (2+j) pt ;
>
> MyPens[j] := pencircle scaled ((2+j)*pt);
>
> “pt” is just a multiplier vari
ce
>
> MyPens[j] := pencircle scaled 2pt ;
>
> by something like
>
> MyPens[j] := pencircle scaled (2+j) pt ;
MyPens[j] := pencircle scaled ((2+j)*pt);
“pt” is just a multiplier variable in MetaPost. there is an
implied multiplication operation, but that only work
On 6/20/2020 4:48 PM, Otared Kavian wrote:
Hi all,
I have a family of graphs to draw in Metapost and I would like to attribute a
different color to each of them according to the value of a certain variable.
Assuming that the path mygraph(j) depends on the variable j, which is computed
within
Hi all,
I have a family of graphs to draw in Metapost and I would like to attribute a
different color to each of them according to the value of a certain variable.
Assuming that the path mygraph(j) depends on the variable j, which is computed
within a lua code and passed to Metapost, I wonder
Hi Marco,
thank you! :-)
Willi
> On 16 Jun 2020, at 14:44, Marco Patzer wrote:
>
> On Tue, 16 Jun 2020 14:37:17 +0200
> Marco Patzer wrote:
>
>> On Tue, 16 Jun 2020 14:17:09 +0200
>> Willi Egger wrote:
>>
>>> I try to use a Metapost drawing as
On Tue, 16 Jun 2020 14:37:17 +0200
Marco Patzer wrote:
> On Tue, 16 Jun 2020 14:17:09 +0200
> Willi Egger wrote:
>
> > I try to use a Metapost drawing as a background to a framed text. —
> > I can not make it working though…
> >
> > \startuniqueMPgraphic{Marki
On Tue, 16 Jun 2020 14:17:09 +0200
Willi Egger wrote:
> I try to use a Metapost drawing as a background to a framed text. — I
> can not make it working though…
>
> \startuniqueMPgraphic{Markings}
> %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged 5mm
&
Hello listmembers,
I try to use a Metapost drawing as a background to a framed text. — I can not
make it working though…
\startuniqueMPgraphic{Markings} %{Markings:\overlaywidth:\overlayheight}
fill OverlayBox enlarged 5mm withcolor blue;
\stopuniqueMPgraphic
\defineoverlay[Marks
development of LuaMetaTeX, ConTeXt, and
everything related. Each meeting is source of inspiration for everybody,
from beginner to expert. Friendly company is always looking for meeting new
participants, users of LuaTeX, LuaMetaTeX, ConTeXt, Metapost, etc.
There is a special discount for those, who attend
. The production projects run on some oldish
2019 MkIVs anyway. I'm trying to get my feet wet with lmtx and run
it on some projects to check how usable and compatible it is.
It should be compatible, although at some point there will be
functionality that is only in lmtx. Okay, metapost is an exception,
because
Would Chapter 11, section 11.1 Showing Paths of the MetaPost manual, be
any help here?
Below is a MWE of a random path of curves and straight lines. The points
are shown using drawpoints. The arrow path and control lines are also
shown and are better described in the Metapost manual
I would like to be able (during development) to draw paths where the points of
the path (and maybe thing slike directions) are visualised. E.g. a path where
each pair in teh path is also drawn as a dot and maybe teh directions drawn as
small arrows.
Does someone have such a beast lying around?
> Am 24.05.2020 um 14:04 schrieb Floris van Manen :
>
> Does anyone know how to activate/use the pretty printing of python code?
>
> \starttyping[option=python]
>
> does not work.
No, ConTeXt supports only TeX, XML, MetaPost and Lua.
Try Aditya’s vim module:
https
> Message: 5
> Date: Wed, 20 May 2020 15:38:23 -0400 (EDT)
> From: Aditya Mahajan mailto:adit...@umich.edu>>
> Subject: Re: [NTG-context] metapost boxes error
>
> On Wed, 20 May 2020, jk...@inradius.net <mailto:jk...@inradius.net> wrote:
>
>> Is the
On Wed, 20 May 2020, jk...@inradius.net wrote:
Is there a different approach to use boxes.mp?
MNWE:
\startMPpage
input boxes.mp;
boxit.bl("left");
boxit.br("right");
br.sw - bl.ne = (20,0);
drawboxed(bl,br);
\stopMPpage
Move `input boxes` outside the `\startMPpage`.
int: english/english
metapost log> loading metafun, including plain.mp version 1.004 for metafun
iv and xl
metapost log>
metapost log> >> _dojoin
metapost log> ! Isolated expression.
__
I often need some debugging info to find out what is going on in my METAPOST
code (as I often do not have exact knowledge of what some things do).
MetaPost’s ‘show’ command has limited formatting functionality (e.g. I would
like to add a number as a string to a show message instead of putting
ough the mailing list archives and it seems that
> > if I add [instance=doublefun] I do not get the Arithmetic Overflow
> > error. Joy!
> fwiw, we have also instance=decimalfun
>
> concerning arithmic:
>
> in metapost we have
>
> scaled : upto 4K bp
> double :
:
in metapost we have
scaled : upto 4K bp
double : 64 bit floats
decimal : configurable accuracy
complex : dual doubles (only in luametafun)
in lmtx lua we have:
integer : lua tries to be clever but mixing leads to double
float: lua tries to be clever
decimal : userdata arbitrary precision (only
Thank you. That works.
> On 14 May 2020, at 17:13, Wolfgang Schuster
> wrote:
>
> Gerben Wierda schrieb am 14.05.2020 um 11:47:
>> Is it possible to get a transparent background in a textext()? The following
>> minimal example doesn’t work.
>> \starttext
>> \setupMPpage
>>
Gerben Wierda schrieb am 14.05.2020 um 11:47:
Is it possible to get a transparent background in a textext()? The
following minimal example doesn’t work.
\starttext
\setupMPpage
[background=color,
backgroundcolor=gray]
\startMPpage
draw
Is it possible to get a transparent background in a textext()? The following
minimal example doesn’t work.
\starttext
\setupMPpage
[background=color,
backgroundcolor=gray]
\startMPpage
draw
I am trying to get an URL link in a textext() via METAPOST. I’ve got this
before \starttext (or after, tried both):
\setupinteraction
[state=start,
color=blue,
style=bold]
The intended link shows up in blue and bold, but it is not clickable.
I’ve turned ConTeXt tracing on and see
Suppose I have a fixed sized frame, say 3 y 4 cm. And I have a variable-length
text.
Would it be possible to write a macro that scaled the font and line height such
that the text will fit in the frame?
What I have now is very basic:
Fixed width
Typeset (METAPOST textext
> On 10 May 2020, at 00:01, Bruce Horrocks wrote:
>
>> You can save extracting the xparts and yparts by using direct subtraction of
>> pairs and comparing with (0,0) like this:
>
> Aaaargh, no, ignore that, it's nonsense. It's amazing how you can stare at
> something for minutes but only see
> You can save extracting the xparts and yparts by using direct subtraction of
> pairs and comparing with (0,0) like this:
Aaaargh, no, ignore that, it's nonsense. It's amazing how you can stare at
something for minutes but only see the flaw the moment you press send. Sorry
for the noise.
--
> On 8 May 2020, at 13:58, Gerben Wierda wrote:
>
>> On 8 May 2020, at 00:46, n...@scorecrow.com wrote:
>>
>>> On 7 May 2020, at 20:28, Gerben Wierda wrote:
>>>
>>> I have a METAPOST algorithm that splits a path at a certain time in two,
&g
: cont...@ntg.nl <mailto:cont...@ntg.nl>
Copyright : The Lua(Meta)TeX Team(s) (2005-2020+)
The LuaMetaTeX project is related to ConTeXt development. This
macro package
tightly integrates TeX and MetaPost in close cooperation with Lua.
And the context version
y. Redistribution of this software is covered by the
> terms
> of the GNU General Public License, version 2 or (at your option) any later
> version. For more information about these matters, see the file named
> COPYING
> and the LuaTeX source.
>
> Functionality : level 2
601 - 700 of 4548 matches
Mail list logo