Hi,
> Le 13 févr. 2020 à 16:45, Fabrice Couvreur a
> écrit :
> How to have the color defined by {yellow!60!black} with Metapost ?
color MyColor ; MyColor := .6[yellow,black] ;
See metafun manual, section 1.13.
> Thank you.
> Fabrice
Fabri
highlighting for
ConTeXt is that I had to write my own script to extract ConTeXt-specific
and MetaFun-specific keywords from source code. Is there any way to do
it with ConTeXt?
there are ways to extract it from the interface specifications ... which
is done for scite, vscode, ...
(btw, in scite
hlighting for
ConTeXt is that I had to write my own script to extract ConTeXt-specific
and MetaFun-specific keywords from source code. Is there any way to do
it with ConTeXt?
Nicola
___
If your question is of inter
tandard
font(s): [\char"2015].
\stopsection
\stoptext
I bet that Wolfgang has the answers to the speech setup so I'll do the
font part. Assuming that you use context lmtx (the luametatex branch),
you can use some of the new metafun magic.
\startMPcalculation{simplefun}
vardef Quotatio
On 12/28/2019 4:22 PM, Otared Kavian wrote:
Hi all,
I would like to use a math function defined in lua in Metafun in order to draw
its graph, together with the graphs of some other functions.
As a simple example consider the following:
%%% begin lua-metafun-example.tex
\startluacode
Hi all,
I would like to use a math function defined in lua in Metafun in order to draw
its graph, together with the graphs of some other functions.
As a simple example consider the following:
%%% begin lua-metafun-example.tex
\startluacode
function document.myfunction(n,x
Hi Aditya,
Following your explanations in
https://adityam.github.io/context-blog/post/new-metafun-interface/
I wrote an environment in order to display the graph of a function on a grid
which can be adapted to each case.
Assuming that I have an MPinstance named GridAxis (for example
Hello,
Thank you for these explanations.
Fabrice
Le lun. 9 déc. 2019 à 03:21, Henri Menke a écrit :
> On 12/9/19 10:02 AM, Fabrice Couvreur wrote:
> > Hello,
> > Is it possible to use the eofill extension in this code ? I tried without
> > success. Thank you.
>
> No, eofill is basically just a
On 12/9/19 10:02 AM, Fabrice Couvreur wrote:
Hello,
Is it possible to use the eofill extension in this code ? I tried without
success. Thank you.
No, eofill is basically just a frontend for the PDF primitive eofill,
which works on a single connected path that intersects itself.
If that wasn't
Hello,
Is it possible to use the eofill extension in this code ? I tried without
success. Thank you.
Fabrice
\starttext
\startMPcode
path carre, disque;
carre = fullsquare scaled 200;
disque = fullcircle scaled 200;
draw carre numberstriped (.25,15,5) withcolor \MPcolor{magenta};
ntext | fatal error: return code: 256
Le dim. 1 déc. 2019 à 00:34, Jeong Dal a écrit :
> \
>
>
> Dear Fabrice,
>
> I got color and transparency using the following command in LMTX(metafun).
>
>
> \
Dear Fabrice,
I got color and transparency using the following command in LMTX(metafun).
fill p withcolor yellow withtransparency(1, .75);
I hope that it helps.
Best regards,
Dalyoung___
If your quest
(on the average) a bit more efficient. It's somewhat tricky to satisfy
viewers but at my end things work ok. It should also work in a cmyk only
mode. As usual it's work in progress (and in this case very likely lmtx
only).
Also some first (runtime) metafun (2) font creation support has been
added
List,
In the metafun-p document, there is the example creating a clock with
labels placed at the dots.
pair destination ;
for whereto = 0 step 30 until 330 :
destination := dir(whereto) * 1.5cm ;
freedotlabel(decimal whereto, destination, origin) ;
drawarrow origin -- destination
withpen
> language 'en' is active
open source > level 2, order 3, name
'D://Lukas/Jobs/_Px/Present/Px-2019/_/t.mkiv'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
metapost> initializing i
v as it was lmtx)
Ah, sorry. Then I added it at the meeting to my list of modules. I could have
sworn I saw it before. But I had the same dèjá vu with the metafun xl manual…
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://
t-test.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
metapost > initializing instance 'metafun:1' using format
'metafun' and method 'default'
metapost > loading 'metafun' as
n modern fonts are not preloaded
languages > language 'en' is active
system > synctex functionality is enabled, expect 5-10 pct runtime
overhead!
open source > level 2, order 3, name './context-test.tex'
fonts > preloading latin modern fonts (second stage)
fo
Hi Hans,
Where is this documentation ?
Thank you.
Fabrice
Le ven. 4 oct. 2019 à 21:34, Mikael P. Sundqvist a
écrit :
> On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen wrote:
>
>> Hi,
>>
>> I uploaded a new lmtx beta. Again some more metafun trickery (see
>> luametafu
On Fri, Oct 4, 2019 at 6:11 PM Hans Hagen wrote:
> Hi,
>
> I uploaded a new lmtx beta. Again some more metafun trickery (see
> luametafun manual). I attached an (lmtx only) example of some experiment
> code, dedicated to Alan Braslau (teacher among other th
Hi,
I uploaded a new lmtx beta. Again some more metafun trickery (see
luametafun manual). I attached an (lmtx only) example of some experiment
code, dedicated to Alan Braslau (teacher among other things).
Hans
pending code is now being moved
> >> into the distribution. Part is font related (lmtx only, not relevant
> >> for most users), most is metafun (luametafun or metafun xl or whatever
> >> name suits) related (including a new preliminary manual) which uses
> >> some new int
de is now being moved
> >> into the distribution. Part is font related (lmtx only, not relevant
> >> for most users), most is metafun (luametafun or metafun xl or whatever
> >> name suits) related (including a new preliminary manual) which uses
> >> some new interfa
moved
into the distribution. Part is font related (lmtx only, not relevant
for most users), most is metafun (luametafun or metafun xl or whatever
name suits) related (including a new preliminary manual) which uses
some new interfaces and therefore (currently) is lmtx only.
Hi Hans,
I just
related (lmtx only, not relevant for most
users), most is metafun (luametafun or metafun xl or whatever name
suits) related (including a new preliminary manual) which uses some new
interfaces and therefore (currently) is lmtx only.
Hi Hans,
I just updated. I had to delete the cache for context
users), most is metafun (luametafun or metafun xl or whatever name
suits) related (including a new preliminary manual) which uses some new
interfaces and therefore (currently) is lmtx only.
At the meeting Mojca and Harald did some experiments with the whole
range of raspberry pi's (as part
ullcircle scaled 4cm,
direction = "right",
domain= { 0, 2 },
colors= { "MyColor3", "MyColor4" },
] ;
but tweaking shades will never be easy
Hans
(working in the metafun xl manual, more soon)
-
ing I sometimes got a few more stripes in the top and bottom area, can’t
reproduce any more.
I also tried RGB and hex (HTML) definitions. Predefined colors work.
According to the MetaFun manual, either \MPcolor{name} or just "name" should
work.
What’s wrong?
Greetlin
Le 2019-09-10 07:36, Damien Thiriet a écrit :
Hi,
There may be a typo in metafun manual, page 104
Hopefully the next explains a bit how it works (you can find
explanations zon the internet).
Sounds too Dutch for me…
Looks like :). And 'the Internet' usually uppercase.
mh
Regards
Hi,
There may be a typo in metafun manual, page 104
Hopefully the next explains a bit how it works (you can find
explanations zon the internet).
Sounds too Dutch for me…
Regards,
Damien Thiriet
___
If your
On Sun, 8 Sep 2019, Otared Kavian wrote:
Hi Aditya,
I wanted also to point out a typo on that page (two occurrences), namely
"ploles" instead of "poles", in the explanations before the actual code.
Thanks. Fixed.
Aditya
On 9/7/2019 10:47 PM, Henning Hraban Ramm wrote:
Bear with me, I still got no experience in MetaPost…
I’m trying to place a pixel image on a MP page.
According to the MetaFun manual this should work:
\startMPpage
draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ;
\
regard:
> On 8 Sep 2019, at 10:42, Aditya Mahajan wrote:
>
> On Wed, 14 Aug 2019, Hans Hagen wrote:
>
>> Hi,
>>
>> In the process of providing an additional (more abstract) interface to some
>> of the old and also new MetaFun code we wonder what k
On Wed, 14 Aug 2019, Hans Hagen wrote:
Hi,
In the process of providing an additional (more abstract) interface to
some of the old and also new MetaFun code we wonder what kind of
features users would like to see.
http://www.pragma-ade.com/general/magazines/mag-1104-mkiv.pdf
Finally got
Hi,
> Le 7 sept. 2019 à 16:47, Henning Hraban Ramm a écrit :
>
> Bear with me, I still got no experience in MetaPost…
>
> I’m trying to place a pixel image on a MP page.
>
> According to the MetaFun manual this should work:
>
> \startMPpage
> draw externalfigure
Bear with me, I still got no experience in MetaPost…
I’m trying to place a pixel image on a MP page.
According to the MetaFun manual this should work:
\startMPpage
draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ;
\stopMPpage
And it works with mill.png (copied into m
xtgarden.net/TextBackground
>> <https://www.contextgarden.net/TextBackground>
>>
>> Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2
>> TextBackgrounds, zero vspace between them)?
>>
>> For the top segment, I want rounded corners
m)?
>
> For the top segment, I want rounded corners only for top corners (corner=03
> with \framed).
>
> Seems I really should dig into MetaFun and TextBackground. Looks really fun
> and useful.
>
> Sorry for the noise. Am a little carried away exploring the Garden. :-P
I want rounded corners only for top corners (corner=03
with \framed).
Seems I really should dig into MetaFun and TextBackground. Looks really fun and
useful.
Sorry for the noise. Am a little carried away exploring the Garden. :-P
Regards
Jon
> On Aug 21, 2019, at 9:25 PM, Jon Wong wrote:
&g
lly?
> \startnarrower
> \dontleavehmode\framed[width=local]{testing}
>
> Since this works for left offset: \framed[width=local]{testing}
> \endnarrower
>
> So, how do I do a gradient background? Yeah, I know I have to dive into
> MetaPost and MetaFun some time. Is that where the
have to dive into
MetaPost and MetaFun some time. Is that where the solution is?
Regards
Jon
> On Aug 21, 2019, at 8:14 PM, Jon Wong wrote:
>
> Hi all,
>
> I want to have a \startnarrower effect. But I also want that segment to have
> a border (hopefully a gradient ba
startnarrower commands.
\startlinecorrection
\dontleavehmode \framed{testing}
\stoplinecorrection
\stopnarrower
\stoptext
for gradients, see metafun and example sin test suite
t I mention it since I did not see it
> > in the pdf.
>
> no, but that is rather trivial to add
>
Good!
>
> > Again, it is very nice that you work on extending MetaPost/MetaFun
> further!!
> wel, mp is ... fun (and these extension are somewhat challenging)
>
> Hans
&
uot;,
xlabels = "yes",
ylabels = "yes",
ycaption = "\strut\tfd \rotate[rotation=90]{vertical}",
xcaption = "\strut\tfd horizontal",
pointsymbol = "dot", pointsize = 4, pointcolor = "orange",
sx = 2mm, sy = 4mm, li
Hi Hans, Alan,
This is really cool! Not sure how I missed this feature, works exactly for
my use-case.
Thanks a lot for pointing this out, I was able to find it in the MAPS as
well.
Cheers,
Adam
On Sat, Aug 17, 2019 at 9:52 AM Hans Hagen wrote:
> On 8/17/2019 3:27 AM, Alan Braslau wrote:
> >
On 8/17/2019 3:27 AM, Alan Braslau wrote:
We have eofill in MP (in pdf/ps in fact) and that likely will do what you need.
You forgot the MWD (Minimal Working Demo):
\starttext
\startMPpage
path p ; p := fullcircle scaled 1cm ;
path q ; q := fullcircle scaled .5cm ;
nofill p ;
eofill q ;
Adam
>
>
> On Wed, Aug 14, 2019 at 10:57 AM Hans Hagen wrote:
>
> > Hi,
> >
> > In the process of providing an additional (more abstract) interface to
> > some of the old and also new MetaFun code we wonder what kind of
> > features users would l
AM Hans Hagen wrote:
> Hi,
>
> In the process of providing an additional (more abstract) interface to
> some of the old and also new MetaFun code we wonder what kind of
> features users would like to see.
>
> http://www.pragma-ade.com/general/magazines/mag-1104-mkiv.pdf
>
On Wed, Aug 14, 2019 at 10:18:19PM +1200, Henri Menke wrote:
> I just wanted to ask, will LMTX and MetaFun remain valid implementations
> of TeX and MetaPost or do we have to expect incompatibilities?
If you mean “will luametatex pass the trip test”, the answer is
probably no: LuaTeX a
er trivial to add
Again, it is very nice that you work on extending MetaPost/MetaFun further!!
wel, mp is ... fun (and these extension are somewhat challenging)
Hans
-
Hans Hagen |
On 8/14/2019 4:58 PM, Otared Kavian wrote:
On 14 Aug 2019, at 16:53, Aditya Mahajan wrote:
[…]
This looks like a typical .. vs -- issue. I think there is a way to change how
the points are connected, but I'll have to look at the code again.
Aditya
Indeed, this seems the right
Otared Kavian schrieb am 14.08.2019 um 16:58:
On 14 Aug 2019, at 16:53, Aditya Mahajan wrote:
[…]
This looks like a typical .. vs -- issue. I think there is a way to change how
the points are connected, but I'll have to look at the code again.
Aditya
Indeed, this seems the right
On Wed, Aug 14, 2019 at 11:55 AM Hans Hagen wrote:
> Hi,
>
> In the process of providing an additional (more abstract) interface to
> some of the old and also new MetaFun code we wonder what kind of
> features users would like to see.
>
> http://www.pragma-ade.com/gener
> On 14 Aug 2019, at 16:53, Aditya Mahajan wrote:
>
> […]
> This looks like a typical .. vs -- issue. I think there is a way to change
> how the points are connected, but I'll have to look at the code again.
>
> Aditya
Indeed, this seems the right explanation.
@ Hans: would it be possible
to the fact that metafun2 is interpolating between points in a way
which is not correct.
For instance, in the following example (which is a slight modification of
yours), the curve drawn is not a graph, in the sense that for some values of x
it seems to be two or more values of y.
How does metafun 2
to the fact that metafun2 is interpolating between points in a way
which is not correct.
For instance, in the following example (which is a slight modification of
yours), the curve drawn is not a graph, in the sense that for some values of x
it seems to be two or more values of y.
How does metafun 2
points in a way
which is not correct.
For instance, in the following example (which is a slight modification of
yours), the curve drawn is not a graph, in the sense that for some values of x
it seems to be two or more values of y.
How does metafun 2 traces the curve between two discretization
On 8/14/2019 1:31 PM, Floris van Manen wrote:
where can i find the steps to install lmtx next to my current context
luatex ?
http://pragma-ade.nl/install.htm
-
Hans Hagen | PRAGMA ADE
where can i find the steps to install lmtx next to my current context
luatex ?
.F
pEpkey.asc
Description: application/pgp-keys
___
If your question is of interest to others as well, please add an entry to the
Wiki!
On 8/14/2019 12:18 PM, Henri Menke wrote:
Dear Hans,
I just wanted to ask, will LMTX and MetaFun remain valid implementations
of TeX and MetaPost or do we have to expect incompatibilities?
It depends on how you define 'valid' ... we're downward compatible ...
but LMTX will use features
Dear Hans,
I just wanted to ask, will LMTX and MetaFun remain valid implementations
of TeX and MetaPost or do we have to expect incompatibilities?
Cheers, Henri
On 14/08/19 9:54 PM, Hans Hagen wrote:
> Hi,
>
> In the process of providing an additional (more abstract) interface t
Hi,
In the process of providing an additional (more abstract) interface to
some of the old and also new MetaFun code we wonder what kind of
features users would like to see.
http://www.pragma-ade.com/general/magazines/mag-1104-mkiv.pdf
As a teaser I uploaded a MyWay document that shows some
On 8/12/2019 12:40 AM, Fabrice Couvreur wrote:
Hi Hans,
Sorry but I did not see your email.
What is the default color used to draw the path p ?
drawlineoptions (withpen pencircle scaled 1.0 drawoptionsfactor
withcolor .5white) ;
drawpointoptions (withpen pencircle scaled 4.0
Hi Hans,
Sorry but I did not see your email.
What is the default color used to draw the path p ?
Thank you.
Le ven. 9 août 2019 à 13:12, Hans Hagen a écrit :
> On 8/9/2019 10:57 AM, Fabrice Couvreur wrote:
> > Hello,
> > In the Metafun manual, Hans uses macros
the text bounding box at y=0.
Without any @# suffix, the text bounding box gets centered at y=0.
Metafun has a few *new* suffixes defined, so you can use
textext.d(), textext.dlft(), textext.drt(), I BELIEVE,
to position with respect to the tex baseline.
(you need to check this).
Alan
___
On 8/9/2019 10:57 AM, Fabrice Couvreur wrote:
Hello,
In the Metafun manual, Hans uses macros like drawpath p ;
drawcontrollines p ; drawpoints p ; drawcontrolpoints p ...
How to use them in a document ?
Where to find source codes ?
For example, the following code does not work :
\starttext
Hello,
In the Metafun manual, Hans uses macros like drawpath p ; drawcontrollines
p ; drawpoints p ; drawcontrolpoints p ...
How to use them in a document ?
Where to find source codes ?
For example, the following code does not work :
\starttext
\startuseMPgraphic{path}
path p ; p := (1cm,1cm
and often issues can be solved fast.
- As we're experimenting with metafun (and luagraph and ...) we
also explore new interfaces. This results in a different
codebase but should go unnoticed for existing code. Of course
metafun 2.0 (hip and modern internet version speak) can bring
interesting n
functionality only
> available when you use LMTX, but that is something Wolfgang and I need
> to figure out wrr the interface specification. Also, Alan and I need to
> deal with in the MetaFun code and documentation. At some point Taco and
> Mojca might want granularity in the Wiki. We'
to figure out wrr the interface specification. Also, Alan and I need to
deal with in the MetaFun code and documentation. At some point Taco and
Mojca might want granularity in the Wiki. We'll see. I have no clue when
users will have switched to lmtx for production anyway, as it's not
something we
input './mp', result 'mp'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name '/home/gour/prj/tex/mp.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallba
On 2019-04-23, at 17:57, Fabrice L wrote:
> Metapost (Metafun) is your best friend here. You can insert directly in
Also, TikZ, which is more LaTeX-centric, but works with ConTeXt, too (at
least it did when I last tried ConTeXt a few years ago).
Hth,
--
Marcin Borkowski
http://mbork
On Tue, 23 Apr 2019 11:57:34 -0400
Fabrice L wrote:
> Metapost (Metafun) is your best friend here. You can insert directly
> in context some MetaFun code, like this:
>
> \starttext
> Lorem Ipsum…
>
> \startMPcode
> draw ( (0,0) — (1,0) — (0,1)) with color red ;
>
I have been trying to typeset text onto curves and have been successful
with the help of the MetaFun manual, and the followtext command which I
saw in some correspondence between dr Hans van der Meer and Hans Hagen
on the mailing list in January this year ( the subject was Double Follow
Tokens
Hi,
Le 23 avril 2019 à 11:10:11, Gour (g...@atmarama.com) a écrit:
Hello,
For regular formulas involving e.g. rational numbers, I'm sure that
input language for math is quite sufficient, but wonder about drawing
part?
Metapost (Metafun) is your best friend here. You can insert directly
latex=textext ;
That crashed here.
Another question: there is a library to draw electrics circuit
alternative to makecirc but more context/metafun friendly?
the node library but it lacks things for drawing resistors ... i'll
discuss this whith alan
I played with makecirc a while back (and I
ext ;
> > Another question: there is a library to draw electrics circuit
> > alternative to makecirc but more context/metafun friendly?
> the node library but it lacks things for drawing resistors ... i'll
> discuss this whith alan
I played with makecirc a while back (and I
On 4/20/2019 10:09 PM, Andrea De Michele wrote:
I didn't understand the magic behind that but it's works.
mp has no real text typesetting options so this hack provides it
Another question: there is a library to draw electrics circuit
alternative to makecirc but more context/metafun
l/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
'gnuplot-gnuplot-1-ctx.tex'
close source > level 3, order 6, name 'gnuplot-gnuplot-1-ctx.tex'
metapost > initializing instance 'metafun:1' using format
'metafun' and method 'default'
metapost > loading 'metafun' as
'/home/user/context/tex/texmf-context/metapost/context/b
(second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
open source > level 3, order 6, name 'gnuplot-gnuplot-1-ctx.tex'
close source> level 3, order 6, name 'gnuplot-gnuplot-1-ctx.tex'
metapost > initializing instance 'metafun:1' using format 'metaf
to make something similar to the frames in the
> > "mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for
> > examples).
> > I suppose Hans Hagen made use of metafun to do it but I encounter some
> > problems with 'textbackgrounds'.
> >
>
grounds or textbackgrounds.
> > > Thank you but I still can't achieve what I want to do whith this
> > > command.
> > >
> > > I try to make something similar to the frames in the
> > > "mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for
ommand.
> >
> > I try to make something similar to the frames in the
> > "mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for
> > examples).
> > I suppose Hans Hagen made use of metafun to do it but I encounter some
> > problems with 'textbac
on I read.
Use backgrounds or textbackgrounds.
Thank you but I still can't achieve what I want to do whith this
command.
I try to make something similar to the frames in the
"mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for
examples).
I suppose Hans Hagen made use of met
ounds or textbackgrounds.
Thank you but I still can't achieve what I want to do whith this
command.
I try to make something similar to the frames in the
"mkiv-publications.pdf" manual (page 6 or 22 for a bibliography for
examples).
I suppose Hans Hagen made use of metafun to d
On Thu, Mar 14, 2019 at 10:52 AM Hans Hagen wrote:
> as currently the variable is isn't used we can also comment it
>
>
>
seems so
I have commented the line, and all formats and the plain test run.
--
luigi
___
If
On 3/14/2019 10:00 AM, Henri Menke wrote:
On 3/14/19 8:49 PM, Hans Hagen wrote:
On 3/14/2019 5:56 AM, Henri Menke wrote:
Dear list,
Something has changed in MetaFun and it can no longer be used in plain
LuaTeX,
with neither of
luatex test.tex
mtxrun --script plain test.tex
On 3/14/2019 8:51 AM, luigi scarso wrote:
On Thu, Mar 14, 2019 at 5:56 AM Henri Menke <mailto:henrime...@gmail.com>> wrote:
Dear list,
Something has changed in MetaFun and it can no longer be used in
plain LuaTeX,
with neither of
luatex test.tex
On 3/14/19 8:49 PM, Hans Hagen wrote:
> On 3/14/2019 5:56 AM, Henri Menke wrote:
>>
>> Dear list,
>>
>> Something has changed in MetaFun and it can no longer be used in plain
>> LuaTeX,
>> with neither of
>>
>> luatex test.tex
>>
On Thu, Mar 14, 2019 at 5:56 AM Henri Menke wrote:
>
> Dear list,
>
> Something has changed in MetaFun and it can no longer be used in plain
> LuaTeX,
> with neither of
>
> luatex test.tex
> mtxrun --script plain test.tex
>
> This is the erro
On 3/14/2019 5:56 AM, Henri Menke wrote:
Dear list,
Something has changed in MetaFun and it can no longer be used in plain LuaTeX,
with neither of
luatex test.tex
mtxrun --script plain test.tex
This is the error:
>> LUATEXFUNCTIONALITY
>> "mp.print(LU
Dear list,
Something has changed in MetaFun and it can no longer be used in plain LuaTeX,
with neither of
luatex test.tex
mtxrun --script plain test.tex
This is the error:
>> LUATEXFUNCTIONALITY
>> "mp.print(LUATEXFUNCTIONALITY)"
! Equation cannot
plefile{knuth}
\stopsidebar
\stoptext
%
The reason of putting “\definecolor…” is that “[rulecolor=(.4green)]” is not
working as in MetaFun, while [rulecolor=green] is working well.
Because of this, I can remove my definition of sidebar from my environment.
Tha
Le 22 février 2019 à 11:08:51, Aditya Mahajan (adit...@umich.edu) a écrit:
Untested. Add quotes around FileName:
> string FileName ;
> FileName := "\getdocumentargument{File}" ;
And not tested successfully !
Thanks a lot Aditya !
Fabrice.
On Fri, 22 Feb 2019, Fabrice L wrote:
Dear list,
I wish to do several zoom from a picture made in MetaFun, from a pdf file
which name is given on the commande line, like:
context zoom.tex —File=EntryFile —Page=9 —result=OutFile.pdf
Untested. Add quotes around FileName:
string FileName
Dear list,
I wish to do several zoom from a picture made in MetaFun, from a pdf file
which name is given on the commande line, like:
context zoom.tex —File=EntryFile —Page=9 —result=OutFile.pdf
Minimal example:
\starttext
\startMPpage
numeric ThePage ;
string FileName ;
FileName
ter
>variable names inside MPinclusions, and use CamelCase
>to avoid clashes with metafun internals.
>
So, got one more z-related error in Metapost. I bet this is
absolutely the n.1 on help-lists. Btw, if I were a scientist,
I'd realized that defining x as a pair is quite heretic…
A
ice to stay away from single-letter
variable names inside MPinclusions, and use CamelCase
to avoid clashes with metafun internals.
2. You need a bigger pen to actually see the dots even if
you change the variable name. :)
Best wishes,
Taco
> I can't understand why can MPincl
-presentation, do you recommend learning
> MetaPost/MetaFun over .eg. TikZ if one wants to focus on single
> (probably my learning plate is already quite full to go into something
> else considering the need to learn ConTeXt itself) package?
I use both.
MetaPost/Fun is really cool when you
601 - 700 of 2634 matches
Mail list logo