On 7/16/2018 10:24, Fabrice Couvreur wrote:
% macros=mkvi
\setuppagenumbering[location=footer]
\startusableMPgraphic{NumberHead}
draw outlinetext.f
("\bf\namedheadnumber{chapter}")
(withcolor "lightgray")
ysized 50pt ;
\stopusableMPgraphic
On 07/17/2018 12:36 PM, Fabrice Couvreur wrote:
> Hi Hans,
> In fact, the file compiles well with the beta version but only from a
> terminal by running the
> /home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
> Test.pdf command.
> On the other hand, if I compile with Emacs,
On 7/17/2018 12:36 PM, Fabrice Couvreur wrote:
Hi Hans,
In fact, the file compiles well with the beta version but only from a
terminal by running the
/home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
Test.pdf command.
On the other hand, if I compile with Emacs, the
Hi Hans,
In fact, the file compiles well with the beta version but only from a
terminal by running the
/home/aragorn/context/tex/texmf-linux-64/bin/context Test.tex && evince
Test.pdf command.
On the other hand, if I compile with Emacs, the chapter number does not
appear.
I configured Emacs so
The chapter number does not appear. My editor is emacs and I compile with
Context Full.
2018-07-16 19:27 GMT+02:00 Hans Hagen :
> On 7/16/2018 4:24 PM, Fabrice Couvreur wrote:
>
>> Hello,
>> The idea is to make a chapter header as with the "titlesec" package. My
>> code compiles under texlive
On 7/16/2018 4:24 PM, Fabrice Couvreur wrote:
Hello,
The idea is to make a chapter header as with the "titlesec" package. My
code compiles under texlive context 2018 but does not compile with last
beta contest standalone.
it processes on my machine so what fails?
Thank you
Fabrice
Hello,
The idea is to make a chapter header as with the "titlesec" package. My
code compiles under texlive context 2018 but does not compile with last
beta contest standalone.
Thank you
Fabrice
% macros=mkvi
\setuppagenumbering[location=footer]
ormalizes the figure to a square. This will not be changed as it
is a very old feature of MetaFun.
The solution is
draw rawtextext("\externalfigure[cow]") xsized 5cm ;
where one can use xsized, ysized or xysized (taking a pair).
That works indeed. Thanks.
draw figure "..
w" scaled 5cm ;
> >> normalizes the figure to a square. This will not be changed as it
> >> is a very old feature of MetaFun.
> >>
> >> The solution is
> >> draw rawtextext("\externalfigure[cow]") xsized 5cm ;
> >> where one can use
On 7/8/2018 1:45 AM, Marco Patzer wrote:
On Sat, 7 Jul 2018 14:27:38 -0600
Alan Braslau wrote:
For "historic" reasons,
draw externalfigure "cow" scaled 5cm ;
normalizes the figure to a square. This will not be changed as it is a
very old feature of MetaFun.
The s
On Sat, 7 Jul 2018 14:27:38 -0600
Alan Braslau wrote:
> For "historic" reasons,
> draw externalfigure "cow" scaled 5cm ;
> normalizes the figure to a square. This will not be changed as it is a
> very old feature of MetaFun.
>
> The solution is
>
> > \setupexternalfigures [location=default]
> > \starttext
> >\externalfigure [cow][width=5cm]
> >
> >\startMPcode
> > draw externalfigure "cow" scaled 5cm;
> >\stopMPcode
> > \stoptext
> it's all in the metafun manual
No d
"cow" scaled 5cm;
\stopMPcode
\stoptext
it's all in the metafun manual
xsized 5cm
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
externalfigure [cow][width=5cm]
>
> \startMPcode
> draw externalfigure "cow" scaled 5cm;
> \stopMPcode
> \stoptext
For "historic" reasons,
draw externalfigure "cow" scaled 5cm ;
normalizes the figure to a square. This will not be changed a
On 6/24/2018 12:17 AM, Adam Reviczky wrote:
Hi,
Using the shading function in a metapost image the whole page is
filled in instead of the figure that defines it.
Minimal example as from the metafun manual 8.3.3
(http://www.pragma-ade.nl/general/manuals/metafun-p.pdf):
\starttext
\startMPcode
Hi,
Using the shading function in a metapost image the whole page is
filled in instead of the figure that defines it.
Minimal example as from the metafun manual 8.3.3
(http://www.pragma-ade.nl/general/manuals/metafun-p.pdf):
\starttext
\startMPcode
fill fullsquare xyscaled (1cm,1cm
Dear Alan,
Thank you for the clear explanation about z.
I tought that z is a special variable different from other pairs.
Now, I know that it is an equation.
Thank you again.
Best regards,
Dalyoung
> 2018. 6. 1. 오후 11:24, Alan Braslau 작성:
>
> On Fri, 01 Jun 2018 20:29:41 +0900
> Jeong Dal
On Fri, 01 Jun 2018 20:29:41 +0900
Jeong Dal wrote:
> After inserting a line “save x, y;”, it works.
This is also defined as "clearxy ;"
For those learning MetaPost, simplifying, z is defined as "(x,y)" so
one can write
z = (a,b) ;
This is an EQUATION in MetaPost
(x,y) = (a,b)
Dear Henri Menke,
Thank you for the solution.
After inserting a line “save x, y;”, it works.
Thank you so much.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to
On 01/06/18 14:22, Jeong Dal wrote:
Hi,
I defined a function using MetaFun, and call it to draw a figure.
It is OK when I call it once.
But there is an error when it runs the same function second time.
(it stops when it call fap(3,2) after fap(2,2))
I have no idea what is wrong and how
Hi,
I defined a function using MetaFun, and call it to draw a figure.
It is OK when I call it once.
But there is an error when it runs the same function second time.
(it stops when it call fap(3,2) after fap(2,2))
I have no idea what is wrong and how to fix it.
Would you please tell me what I
On 05/24/2018 06:30 PM, Alan Braslau wrote:
> On Thu, 24 May 2018 18:11:05 +0200 Pablo Rodriguez wrote:
>
>> paging through the manuals, Metafun seems easier than MetaPost.
>>
>> I think it will take me a while to understand the basics of it.
>
> Metafun is an ex
On Thu, 24 May 2018 18:11:05 +0200
Pablo Rodriguez <oi...@gmx.es> wrote:
> paging through the manuals, Metafun seems easier than MetaPost.
>
> I think it will take me a while to understand the basics of it.
Metafun is an extension to MetaPost, providing some useful tools and
im
On 05/23/2018 11:24 PM, Alan Braslau wrote:
> On Wed, 23 May 2018 21:06:42 +0200
> [...]
> If you are going to use MP, why not read the manual (mpman.pdf) or
> better yet, refer to the MetaFun manual that is even available in
> printed form at http://www.h2o-books.com/catalog/
> > \stopMPpage
>
> Many thanks for your help, Alan.
>
> I didn’t know that dir even existed.
>
> So I get a much better star that the one I tried before.
>
> Many thanks for your help,
>
)
What am I doing wrong here?
probably using a mechanism in away that is a bit ovet the top
(so you can wait till the embedded variant shows up)
we will have this in metafun:
followtext("this way",p) ;
so that one can do it all in mp ... a nice gimmick for the c
rom 2018.04.04 00:51).
But even commenting that second command, \followtokens seems to require
that path is named RotPath to be used the text. I get the standard line.
What am I doing wrong here?
> we will have this in metafun:
>
> followtext("this way",p) ;
>
> so that
{~this way~}
\followtokens{\reversedtext{~this way~}}
we will have this in metafun:
followtext("this way",p) ;
so that one can do it all in mp ... a nice gimmick for the ctx mee
On Fri, 2018-04-06 at 11:05 +1200, Henri Menke wrote:
> Dear list,
>
> In the MWE below I would like py to be px rotated by 90 degrees but the labels
> should not be rotated. Is it possible?
>
> Cheers, Henri
>
> ---
I thought of using vardef but that is kind of verbose because I gave to
Dear list,
In the MWE below I would like py to be px rotated by 90 degrees but the labels
should not be rotated. Is it possible?
Cheers, Henri
---
\startMPpage
path p ; p := origin .. (2,1) .. (3,0) .. (2,-1) .. (-2,1) .. (-3,0) ..
(-2,-1) .. cycle ;
picture px, py ;
px := image (
Thanks dr. Hans! It certainly will.
Best Wishes
Keith
On 05/04/2018 19:55, dr. Hans van der Meer wrote:
Maybe this script could help a bit too.
Use with following code scheme in ConTeXt:
\starttex
t\startMPpage
% Your Metapost/metafun code here
\stopMPpage
\stoptext
It will produce
Maybe this script could help a bit too.
mpone
Description: Binary data
Use with following code scheme in ConTeXt:\starttext\startMPpage% Your Metapost/metafun code here\stopMPpage\stoptextIt will produce a standalone image in a pdf.
dr. Hans van der Meer
On 5 Apr 2018, at 18:45, Keith McKay
Thanks Nicola and Alan. I'll look into that.
Best Wishes
Keith
On 05/04/2018 17:42, Nicola wrote:
On 05/04/2018 18:24, Alan Braslau wrote:
On Thu, 5 Apr 2018 15:28:34 +0100
Keith McKay wrote:
I use a mac-mini and it seems that mupdf, of which mutools is part
off,
On 05/04/2018 18:24, Alan Braslau wrote:
On Thu, 5 Apr 2018 15:28:34 +0100
Keith McKay wrote:
I use a mac-mini and it seems that mupdf, of which mutools is part
off, does not have a macOS version, or I would have to build from
source. However it looks like I can use
On Thu, 5 Apr 2018 15:28:34 +0100
Keith McKay wrote:
> I use a mac-mini and it seems that mupdf, of which mutools is part
> off, does not have a macOS version, or I would have to build from
> source. However it looks like I can use Inkscape with a wee bit
> thought to do
.
Keith
On 05/04/2018 13:39, Hans Hagen wrote:
On 4/5/2018 1:10 PM, Keith McKay wrote:
Dear Readers,
I have been playing about with METAFUN over the last few days trying
to get a feel for it. I was wondering if it is possible to save the
graphics produced in a context document for use outside
On 4/5/2018 1:10 PM, Keith McKay wrote:
Dear Readers,
I have been playing about with METAFUN over the last few days trying to
get a feel for it. I was wondering if it is possible to save the
graphics produced in a context document for use outside. On looking at
the Metapost manual I see you
Dear Readers,
I have been playing about with METAFUN over the last few days trying to
get a feel for it. I was wondering if it is possible to save the
graphics produced in a context document for use outside. On looking at
the Metapost manual I see you can using the following commands save
. ConTeXt standalone also
comes with documentation in
/opt/context/tex/texmf-context/doc/context
However, I find it tedious to always search for the correct subfolder to get
to
the document I need. It would be great if there was something like
mtxrun --script doc metafun
which
. ConTeXt standalone also
comes with documentation in
/opt/context/tex/texmf-context/doc/context
However, I find it tedious to always search for the correct subfolder to get
to
the document I need. It would be great if there was something like
mtxrun --script doc metafun
which
umentation for packages. ConTeXt standalone also
> > comes with documentation in
> >
> > /opt/context/tex/texmf-context/doc/context
> >
> > However, I find it tedious to always search for the correct subfolder to get
> > to
> > the document I nee
t
However, I find it tedious to always search for the correct subfolder to get to
the document I need. It would be great if there was something like
mtxrun --script doc metafun
which would open the MetaFun manual. Similarly "mtxrun --script doc gnuplot"
would open the manual o
ays search for the correct subfolder to get to
the document I need. It would be great if there was something like
mtxrun --script doc metafun
which would open the MetaFun manual. Similarly "mtxrun --script doc gnuplot"
would open the manual of the gnuplot module, etc.
See attached for
t; > Gerhard Kugler <g.w.kug...@posteo.de> wrote:
> > >
> > > >
> > > >
> > > > One misunderstanding made by my post: I want to write the text curved
> > > > as a (half-)circle.
> > > Take a look at the Metafun manual.
&g
rstanding made by my post: I want to write the text curved
> > > as a (half-)circle.
> > Take a look at the Metafun manual.
> >
> In the manual is an example on page 233 with the following content:
Nah! Don't use those macros. They are only for demonstration. Use the buil
On Thu, Mar 29, 2018 at 07:11:50AM -0600, Alan Braslau wrote:
> On Thu, 29 Mar 2018 12:43:56 +0200
> Gerhard Kugler <g.w.kug...@posteo.de> wrote:
>
> > One misunderstanding made by my post: I want to write the text curved
> > as a (half-)circle.
>
>
On Thu, 29 Mar 2018 12:43:56 +0200
Gerhard Kugler <g.w.kug...@posteo.de> wrote:
> One misunderstanding made by my post: I want to write the text curved
> as a (half-)circle.
Take a look at the Metafun m
?
The Metafun experts would probably tear this apart...
\startuniqueMPgraphic{half circle}
path p, q ;
p := fullcircle scaled OverlayWidth;
q := (p cutafter (point .5 along p)) shifted (0,-.5BodyFontSize) ;
fill q -- cycle withcolor lightgray ;
draw q withpen pencircle scaled 2pt
On 03/29/2018 10:28 PM, Gerhard Kugler wrote:
> Hi,
>
> in documentations I can find various examples of circled text. But
> copying them I had no success till now.
>
> I want to place text in half circles of various radiuses. Is there
> anywhere a simple example?
The
modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
metapost> initializing instance 'metafun' using format 'metafun'
metapost> loading 'metafun' as
'/home/fab/context/tex/texmf-context/metapost/context/base/mpiv/metafun.mpiv'
using me
-- Forwarded message --
From: Fabrice Couvreur <fabrice1.couvr...@gmail.com>
Date: Tue, Mar 20, 2018 at 4:29 PM
Subject: [NTG-context] Macro to write a vector (Metafun) is broken
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Hello Hans,
The macro you w
Hello Hans,
The macro you wrote to draw the arrows of the vectors does not seem to work
anymore.
Thank you
Fabrice
\useMPlibrary[mat]
% will be in meta-imp-mat.mkiv
\startMPextensions
vardef math_stacker_arrow_shape =
image (
drawarrow
y
longer .. it's better now, see metafun manual etc)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.prag
gt; >align={flushleft,low},
> > >valign=bottom,
> > >]{%
> > >\vbox{
> > > \textreference[#1]{\strut #2}\vfill #2
> > >}}
> > > \stopfullpagemakeup
> > > }
> > >
> > >
> > > usage exam
s with the help of lua!
Up to now I used to use python and a independend lua to provide some
necessary data for context. For instance python invokes graphicsmagick
in order to get the size of images. Because it's provided in px and not
in pt, so often some further manual work is unavoidable.
> \stoppostponing
>
>
>
> Greetlings, Hraban
> ---
> http://www.fiee.net
> http://wiki.contextgarden.net
> GPG Key ID 1C9B22FD
>
Moin Hraban!
It's very interesting for me to see, how exactly you calculate
the size of images and texts with the help of lua!
Up t
r 20, name '../setup_code.tex'
close source > level 4, order 20, name '../setup_code.tex'
close source > level 3, order 20, name '../setup_global.tex'
open source > level 3, order 21, name '../setup_frontmatter.tex'
structures > begin of sectionblock 'frontpart'
open source > leve
9, name '../setup_matrix.tex'
close source> level 4, order 19, name '../setup_matrix.tex'
open source > level 4, order 20, name '../setup_code.tex'
close source> level 4, order 20, name '../setup_code.tex'
close source> level 3, order 20, name '../setup_global.tex'
o
[Sorry for probably breaking the threading -- long story with not using
the mailing-list administrative interface correctly at first.]
Aditya writes:
> No time for a detailed answer, but what you need is the following:
> ...
Thank you -- that should work. I won't have many of these equation
On Thu, 16 Nov 2017, Sanjoy Mahajan wrote:
However, the \hpos hides its argument in an \hbox, and thus hides it
from the math layout. Thus, I have to do something like this minimal
example:
\starttext
\startformula
\sum_0^1 % what it should look like
\quad
rt (here, each symbol) is connected with an
> line to its explanation.
>
> I'm trying to do so with a combination of ConTeXt, MetaPost/MetaFun,
> TikZ, and whatever else might work. But I am a bit stuck at the
> following spot.
>
> My plan is to use MetaFun to get the coordina
like
(from page 2 of Fleisch's book). It's like a labeled part diagram (say,
for a laptop), where each part (here, each symbol) is connected with an
line to its explanation.
I'm trying to do so with a combination of ConTeXt, MetaPost/MetaFun,
TikZ, and whatever else might work. But I am a bit stuck
ow to put the theorem counter after chapternumber instead of
\recurselevel.
Here is a sample code.
Thank you for reading.
Best regards,
Dalyoung
framed Text copied from MetaFun manual
\startuseMPgraphic{FunnyFrame}
picture p ; numeric o ; path a, b ; pair c ;
p := textext.rt(\MPstring{FunnyFra
to do the following
two things.
1. to put “Theorem #.#” inside the FrameTitle?(#.# means that chapter
number.theorem number)
2. to suppress the automatically display of “Thm #” inside the text?
Thanks for reading.
Best regards,
Dalyoung
framed Text copied from MetaFun book
Dear Javier,
There is a nice sample (‘FunnyFrame’ and ‘\FrameTitle’) which you can find in
metafun manual.(metafun-p.pdf or metafun-s.pdf)
I used it a lot with a little modification.
I hope that is what you want.
cheers,
Dalyoung
> 2017. 11. 5. 오후 8:00, ntg-context-requ...@ntg.nl
he links and for your help. I'm going to look at Metafun
> > for the vertical line.
>
> Hi Fabrice,
>
> I know that curiosity killed the cat, but why do you need the vertical
> line?
>
> Pablo
> --
> http://www.ousia.tk
> ___
On 10/23/2017 12:34 PM, Fabrice Couvreur wrote:
> Hi Pablo,
> Thank you for the links and for your help. I'm going to look at Metafun
> for the vertical line.
Hi Fabrice,
I know that curiosity killed the cat, but why do you need the vertical line?
Pablo
--
http://www
Hi Pablo,
Thank you for the links and for your help. I'm going to look at Metafun for
the vertical line.
Fabrice
2017-10-22 9:48 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>:
> On 10/21/2017 11:45 PM, Fabrice Couvreur wrote:
> > Hi Pablo,
> > Sorry for the late response. I
On Mon, Sep 18, 2017 at 10:57 AM, Hans Hagen wrote:
> On 9/18/2017 10:25 AM, Ursula Hermann wrote:
>>
>> Hello!
>>
>> I have tried an example:
>>
>> 1 \starttext
>> 2 This is me
>> 3 \startMPcode
>> 4 u:=0.4cm;
>> 5 dirlabel:=90;
>> 6
On 9/18/2017 10:25 AM, Ursula Hermann wrote:
Hello!
I have tried an example:
1 \starttext
2 This is me
3 \startMPcode
4 u:=0.4cm;
5 dirlabel:=90;
6 abscoord:=true;
7 endlabelspace:=0.5cm;
8 draw startlable ("S")
9 draw
rce > level 2, order 3, name 'D:/My Documents/graphic.tex'
fonts > preloading latin modern fonts (second stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
metapost> initializing instance 'metafun' using format 'metafun'
metapost>
2017 20:26
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Metafun "Structure-Trees"
What exactly do you mean?
(we can build tree diagrams with Metapost)
Alan
> On 13 Sep 2017, at 12:43, Ursula Hermann <ursula.herm...@univie.ac.at> wrote:
>
>
What exactly do you mean?
(we can build tree diagrams with Metapost)
Alan
> On 13 Sep 2017, at 12:43, Ursula Hermann wrote:
>
> Hello!
>
> My question is: Is it possible to make „Structure Trees“ for English
> Sentences with „Categorial Grammar“? Sorry, I have
Hello!
My question is: Is it possible to make "Structure Trees" for English
Sentences with "Categorial Grammar"? Sorry, I have no example.
Thanks
Uschi Hermann
___
If your question is of interest to
> \defineornament
>[FrameTitle]
>[preset=lefttop]
I tried this example and I wonder what the [preset=lefttop] does. Because
whatever I fill in for lefttop, the ornament appears always in the topleft
corner and nowhere else.
Hans van der Meer
> On 23 Aug 2017, at 00:50, Aditya
Hi Pablo,
I speak of the text in the frame as in the image
https://mail.google.com/mail/u/0/?ui=2=d5d294e54c=att=15e0c2d8c5b8cf7c=0.1=safe=f_j6o6zsx20
Fabrice
2017-08-30 22:45 GMT+02:00 Pablo Rodriguez :
> On 08/30/2017 06:07 PM, Fabrice Couvreur wrote:
> > Hi Aditya,
> > I tried :
On 08/30/2017 06:07 PM, Fabrice Couvreur wrote:
> Hi Aditya,
> I tried :
> [...]
> to have my text wrapped around the ornament as in the figure but it
> does not work.
Hi Fabrice,
sorry if I’m missing something, but I wonder whether the next sample is
what you intend.
m>:
>
>> Hi Aditya,
>> Sorry I forgot to attach the image of what I want to do. I know corner=number
>> parameter of framed and framed text but I wanted to do it with Metafun.
>> Thank you
>> Fabrice
>>
>> 2017-08-23 0:50 GMT+02:00 Aditya Mahajan <a
Sorry 'corner=00' !
2017-08-23 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>:
> Hi Aditya,
> Sorry I forgot to attach the image of what I want to do. I know corner=number
> parameter of framed and framed text but I wanted to do it with Metafun.
> Thank you
>
With your solution 'corner=01'
2017-08-23 1:01 GMT+02:00 Fabrice Couvreur <fabrice1.couvr...@gmail.com>:
> Hi Aditya,
> Sorry I forgot to attach the image of what I want to do. I know corner=number
> parameter of framed and framed text but I wanted to do it with Metafun.
> T
Hi Aditya,
Sorry I forgot to attach the image of what I want to do. I know corner=number
parameter of framed and framed text but I wanted to do it with Metafun.
Thank you
Fabrice
2017-08-23 0:50 GMT+02:00 Aditya Mahajan <adit...@umich.edu>:
> On Wed, 23 Aug 2017, Fabrice Couvr
On Wed, 23 Aug 2017, Fabrice Couvreur wrote:
Hello,
I would like to have three corners rounded as in the figure.
Not sure if you had simplified your example or not. But if all you want is
a rounded corner, you can consider using corner=number parameter of framed
and framed text:
Hello,
I would like to have three corners rounded as in the figure.
Thank you
Fabrice
\definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
\definecolor[MyColorB][c=0.00,m=0.27,y=1.00,k=0.00]
\startuseMPgraphic{MyFrame}
path b ;
picture p ;
p :=
On 8/10/2017 2:07 PM, Schmitz Thomas A. wrote:
Hi all,
this one is for all the metapos/metafun experts out there (Alan, are you
there?). For a counter in one of my slide backgrounds, I have to calculate an
intersectionpoint, given in percentage of the difference between current page
and last
Hi all,
this one is for all the metapos/metafun experts out there (Alan, are you
there?). For a counter in one of my slide backgrounds, I have to calculate an
intersectionpoint, given in percentage of the difference between current page
and last page. I have always had some difficulties
On 27 July 2017 at 10:49, Hans Hagen wrote:
> On 7/27/2017 3:52 AM, Mojca Miklavec wrote:
>>
>> Hi,
>>
>> I just wanted to say that I found a more reliable way to go from
>> metapost to dxf.
>>
>> First run "context something.mp" and then
>>
>> pstoedit -dt -f dxf:-polyaslines\ -mm something.1
On 7/27/2017 3:52 AM, Mojca Miklavec wrote:
Hi,
I just wanted to say that I found a more reliable way to go from
metapost to dxf.
First run "context something.mp" and then
pstoedit -dt -f dxf:-polyaslines\ -mm something.1 something.dxf
For some reason the SVG files from metapost get wrong
Hi,
I just wanted to say that I found a more reliable way to go from
metapost to dxf.
First run "context something.mp" and then
pstoedit -dt -f dxf:-polyaslines\ -mm something.1 something.dxf
For some reason the SVG files from metapost get wrong dimensions when
converted via inkscape, but
On Mon, 24 Jul 2017, Alan Braslau wrote:
On Mon, 24 Jul 2017 10:26:25 +0200
Hans Hagen wrote:
On 7/24/2017 1:40 AM, Aditya Mahajan wrote:
Hi,
Is it possible to set pen width using properties(...)? The
following does not work (the color is set, but not the pen width):
On Mon, 24 Jul 2017 10:26:25 +0200
Hans Hagen wrote:
> On 7/24/2017 1:40 AM, Aditya Mahajan wrote:
> > Hi,
> >
> > Is it possible to set pen width using properties(...)? The
> > following does not work (the color is set, but not the pen width):
> >
> > \starttext
> >
On 7/24/2017 1:40 AM, Aditya Mahajan wrote:
Hi,
Is it possible to set pen width using properties(...)? The following
does not work (the color is set, but not the pen width):
\starttext
\startMPcode
property p[] ;
p[1] := properties(withcolor red withpen pencircle scaled 1bp);
p[2] :=
withproperties is an experimental, metafun extension that appears to
cover color and pre/postscripts. It could be extended to cover withpen,
etc.
Look at mp-mplib.mkiv. properties() returns an image object that can
hold many things. The graph package does similar tricks.
Alan
On Sun, 23 Jul
Hi,
Is it possible to set pen width using properties(...)? The following does
not work (the color is set, but not the pen width):
\starttext
\startMPcode
property p[] ;
p[1] := properties(withcolor red withpen pencircle scaled 1bp);
p[2] := properties(withcolor blue withpen pencircle scaled
On Mon, 1 May 2017 21:20:33 -0400
Mohammad Hossein Bateni <bat...@gmail.com> wrote:
> MetaPost's documentation mentions that glyph operator works on Adobe
> Type 1 fonts. Does it also work with OpenType fonts when used from
> within LuaTeX and CONTEXT?
The metafun manual
Dear all.
At page 50-52 of the manual of metapost, “Mpman”, it is explained to get a
glyph of font using the command ‘glyph'.
glyph ⟨numeric expression⟩ of ⟨string expression⟩
glyph ⟨string expression⟩ of ⟨string expression⟩ .
Is it possible to do the similar thing in metafun?
I couldn’t
hic{T}]
\setupbackgrounds[page][background={foreground,T}]
\startTEXpage[width=200mm,height=200mm]
\stopTEXpage
See ch. 8.2 of the metafun manual.
HTH
Thomas
___
If your question is of interest to others as
;
label(textext("\setupbodyfont[sans,35mm] \color[tred]{Test}"), (80mm,
50mm)) ;
\stopuseMPgraphic
\defineoverlay[T][\useMPgraphic{T}]
\setupbackgrounds[page][background={foreground,T}]
\startTEXpage[width=200mm,height=200mm]
\stopTEXpage
See ch. 8.2 of the metafun
g. See the metafun manual for details (search for MPvar).
Hans has developed tools making it quite easy to pass data back and
forth between MetaPost and lua. This is quite efficient, and it is
being used more and more in the development of macro functionality.
I finally need to write a macro w
On Sun, 19 Mar 2017, Aditya Mahajan wrote:
On Tue, 20 Dec 2016, Alan Braslau wrote:
On Mon, 19 Dec 2016 08:19:25 -0800
Aditya Mahajan <adit...@umich.edu> wrote:
The ability to pass parameters to metapost has been around since the
beginning. See the metafun manual for details (
On 16 February 2017 at 21:07, William Adams wrote:
> Another option here would be to use a tool which directly accepts SVGs ---
> one free/opensource tool for that is PartKAM/MakerCAM.
>
> My apologies for the late response --- investigating this sort of thing
> myself, though I'll likely be using
801 - 900 of 2634 matches
Mail list logo