he Installer]
# >
# >+ Additional fonts
# >+ ConTeXt etc.
# >+ LuaTeX
# >+ MetaPost and Metafont
#
# probably not as we have mplib buil tin
#
# >+ Recommended Fonts
# >+ TeXWorks
#
# probably not unless you use it
#
# >+ Auxillary programmes for W.
#
# mkiv ... i gu
On Sat, 29 Feb 2020 12:10:13 +0100
Gerben Wierda wrote:
> Hello community,
>
> I have been (unsuccessfully) hunting for up-to-date tutorials/documentation
> on ConTeXt/LuaTeX/METAPOST. What I find is sites that for instance end in
> 2011. documentation that is from 2013, o
Hello community,
I have been (unsuccessfully) hunting for up-to-date tutorials/documentation on
ConTeXt/LuaTeX/METAPOST. What I find is sites that for instance end in 2011.
documentation that is from 2013, or on Pragme-ADE a show-man.pdf PDF with an
overview of documentation that doesn’t open
Hi,
Sorry to come back with my match problem. In fact, I do not understand why
a rotation of 90 influences the degraded color of the ends of the matches.
Thank you.
Fabrice
\starttext
\startMPcode
def match (expr alpha, pos) =
numeric l;
l = 4.6cm;
picture pic;
pic = image (
On 2/28/2020 2:52 PM, Christoph Hintermüller wrote:
Second am i right that i have to use also startmode and stopmode to
include svg image instead of metapost image in epub or is there some
other trick to make metapost image in epub. What would be the keywords
to use on wiki search
should be D := instead of D : =
On Tue, Feb 25, 2020 at 2:35 PM Jan-Erik Hägglöf
wrote:
> The following code gives an error, my goal is to draw 4 different arrows
> but only three functions successfully.
>
> The error log shows
>
> metapost> initializing number mod
On 2/25/2020 6:34 PM, Jan-Erik Hägglöf wrote:
The following code gives an error, my goal is to draw 4 different arrows
but only three functions successfully.
The error log shows
metapost > initializing number mode 'scaled'
metapost log >
metapost log > loading metafun,
successfully.
>
> The error log shows
>
> metapost> initializing number mode 'scaled'
> metapost log>
> metapost log> loading metafun, including plain.mp version 1.004 for
> metafun iv and xl
> metapost log >
> metapost log> >&
The following code gives an error, my goal is to draw 4 different arrows but
only three functions successfully.
The error log shows
metapost> initializing number mode 'scaled'
metapost log>
metapost log> loading metafun, including plain.mp version 1.004 for metafun
On 2/20/2020 10:29 AM, Jan U. Hasecke wrote:
Am 18.02.20 um 19:24 schrieb Jan U. Hasecke:
Am 18.02.20 um 19:17 schrieb mf:
Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
Am 18.02.20 um 14:53 schrieb Hans Hagen:
\setupcolors[rgb=no]
\startMPcode
draw lmt_svg [ filename = "sample.svg" ]
Hi Hans
On Thu, 2020-02-20 at 10:28 +0100, Hans Hagen wrote:
> On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
>
> You can append a palcement suffix, like:
>
>textext.dflt
>
> you can try:
>
>lft rt bot top ulft urt llft lrt d dflt drt origin raw
>
Thanks again.
textext.origin
Hi Hans
On Thu, 2020-02-20 at 10:28 +0100, Hans Hagen wrote:
> On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
> >
> You can append a palcement suffix, like:
>
>textext.dflt
>
> you can try:
>
>lft rt bot top ulft urt llft lrt d dflt drt origin raw
>
Thank you very much, that
Am 18.02.20 um 19:24 schrieb Jan U. Hasecke:
> Am 18.02.20 um 19:17 schrieb mf:
>> Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
>>> Am 18.02.20 um 14:53 schrieb Hans Hagen:
>>>
\setupcolors[rgb=no]
\startMPcode
draw lmt_svg [ filename = "sample.svg" ] ;
\stopMPcode
>>> I
On 2/20/2020 10:15 AM, Christoph Hintermüller wrote:
Hi
I have the following problem. I convert a eps file using pstoedit into
meta post file. When running this file through mptopdf the resulting
pdf image is as expected. When i include, using the input command, the
file within a startMPcode
Hi
I have the following problem. I convert a eps file using pstoedit into
meta post file. When running this file through mptopdf the resulting
pdf image is as expected. When i include, using the input command, the
file within a startMPcode endMPcode or startMPpage stopMPpage after
replacing
Am 18.02.20 um 19:17 schrieb mf:
> Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
>> Am 18.02.20 um 14:53 schrieb Hans Hagen:
>>
>>> \setupcolors[rgb=no]
>>> \startMPcode
>>> draw lmt_svg [ filename = "sample.svg" ] ;
>>> \stopMPcode
>> I get this error.
>>
>> ! Not implemented: (unknown
Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
Am 18.02.20 um 14:53 schrieb Hans Hagen:
\setupcolors[rgb=no]
\startMPcode
draw lmt_svg [ filename = "sample.svg" ] ;
\stopMPcode
I get this error.
! Not implemented: (unknown numeric)=(string).
]
<*> ... ; p := lmt_svg [ filename =
Am 18.02.20 um 14:53 schrieb Hans Hagen:
>
> \setupcolors[rgb=no]
> \startMPcode
> draw lmt_svg [ filename = "sample.svg" ] ;
> \stopMPcode
I get this error.
! Not implemented: (unknown numeric)=(string).
]
<*> ... ; p := lmt_svg [ filename = "sample.svg" ]
juh
or possible to use with ConTeXt MkIV (on W.).
(The aim is not to install unusable stuff.)
Legend:
%=I guess no +=I guess yes ?=I am not sure
[translated from the Czech version of the Installer]
+ Additional fonts
+ ConTeXt etc.
+ LuaTeX
+ MetaPost and Metafont
probably not as we have mplib buil tin
p ;
draw p shifted ( bbwidth(p) + 5mm, 0) ;
\stopMPcode
\stoptext
\setupcolors[rgb=no]
\startMPcode
draw lmt_svg [ filename = "sample.svg" ] ;
\stopMPcode
but recolor gives an error:
metapost log > >> picture
metapost log > ! Wrong picture color model: redpart of gre
.).
(The aim is not to install unusable stuff.)
Legend:
%=I guess no +=I guess yes ?=I am not sure
[translated from the Czech version of the Installer]
+ Additional fonts
+ ConTeXt etc.
+ LuaTeX
+ MetaPost and Metafont
+ Recommended Fonts
+ TeXWorks
+ Auxillary programmes for W.
% Additional
) + 5mm, 0) ;
\stopMPcode
\stoptext
but recolor gives an error:
metapost log> >> picture
metapost log> ! Wrong picture color model: redpart of grey object.
metapost log> _f_:=(redpart(EXPR0),
metapost log>
greenpart(EXPR0),bluepart(EXPR0));if.bou...
metapost log
t to CMYK with the above cited profile chain?
Mmm, no. Acrobat Pro can do proper profile conversions of graphics. Don’t know
another tool.
> Or shall I tell the designer: These are the values I need as CMYK, just
> do it.
Exactly ;) Unfortunately they can’t really do that with Inkscape.
to CMYK with the above cited profile chain?
Or shall I tell the designer: These are the values I need as CMYK, just
do it.
> Colors that you define in TeX or Metapost are a different problem. I
> *think* they should use the output intent as their profile. But I
> don’t know if the intent option
system that will work
world-wide, even if HKS is still usual in Germany and Toyo in Japan.)
It could also work to use spot colors and have the printshop convert them to
“their” CMYK profile.
Colors that you define in TeX or Metapost are a different problem. I *think*
they should use the output
On 2/15/2020 12:25 PM, Fabrice Couvreur wrote:
Hi Henri,
Why does the blue path not rotate 90 with the draw command but rotate
with the fill command?
compare
draw origin -- (0,0.2cm) -- (4cm,0.2cm) -- (4cm,0) --
(4.1cm,-0.05cm) -- (0.1cm,-0.05cm) -- cycle rotated alpha withcolor red;
On 15-02-2020 12:25, Fabrice Couvreur wrote:
> Hi Henri,
> Why does the blue path not rotate 90 with the draw command but rotate
> with the fill command?
>
Why not draw the match as a picture first, then rotate and shift that
picture?
Also, if you use a local scale unit, it will be easier to
en. 14 févr. 2020 à 16:43, Fabrice L a
> écrit :
>
>> Hi,
>>
>> Le 13 févr. 2020 à 16:45, Fabrice Couvreur
>> a écrit :
>>
>>
>> How to have the color defined by {yellow!60!black} with Metapost
it :
> 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.
>
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
i Henri,
Thank you for your answer. The idea is to make the graph as an attachment. I
converted to Metapost but the road is still long!
The code is from percusse on StackExchange. As you can see, there is a
problem with the ellipse. How do I fix this ?
Thank you
Fabrice
\usemodule[tikz
On 2/14/20 10:45 AM, Fabrice Couvreur wrote:
> Hi,
> How to have the color defined by {yellow!60!black} with Metapost ?
\usemodule[tikz]
\starttext
\startMPcode
fill fullsquare scaled 1cm withcolor (.6yellow + black) ;
\stopMPcode
\starttikzpicture
\fill[yellow!60!black] (0,0) rectangl
Hi,
How to have the color defined by {yellow!60!black} with Metapost ?
Thank you.
Fabrice
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
Hi Mikael,
Thanks.
Fabrice
Le mar. 11 févr. 2020 à 14:01, Mikael P. Sundqvist a
écrit :
> On Tue, Feb 11, 2020 at 1:22 PM Fabrice Couvreur <
> fabrice1.couvr...@gmail.com> wrote:
>
>> Hi Hans,
>> I tried this but without success :
>>
>> \startMPcode
>> suite{1,0};
>> suite{2,1};
>>
On Tue, Feb 11, 2020 at 1:22 PM Fabrice Couvreur <
fabrice1.couvr...@gmail.com> wrote:
> Hi Hans,
> I tried this but without success :
>
> \startMPcode
> suite{1,0};
> suite{2,1};
> \stopMPcode
>
> Fabrice
>
> Le mar. 11 févr. 2020 à 13:08, Hans Hagen a écrit :
>
>> On 2/11/2020
Hi Hans,
I tried this but without success :
\startMPcode
suite{1,0};
suite{2,1};
\stopMPcode
Fabrice
Le mar. 11 févr. 2020 à 13:08, Hans Hagen a écrit :
> On 2/11/2020 11:50 AM, Fabrice Couvreur wrote:
> > Hi,
> > I have some problems with the following macro :
> >
> > tex error
On 2/11/2020 11:50 AM, Fabrice Couvreur wrote:
Hi,
I have some problems with the following macro :
tex error > mp error on line 23 in file /home/viserion/macro.tex:
! Missing argument to suite.
{
<*> suite{
1,0}; suite(2,1); ;
That macro has more parameters than you thought.
I'll
Hi,
I have some problems with the following macro :
tex error > mp error on line 23 in file /home/viserion/macro.tex:
! Missing argument to suite.
{
<*> suite{
1,0}; suite(2,1); ;
That macro has more parameters than you thought.
I'll continue by pretending that each missing argument
is
Hans was so kind to help me with a setup for some generated output. I am trying
to understand every line of his example so I can expand on his exmaple to make
it fully functional. In his example there is:
context('draw
What error are you getting?
(perhaps you need "save carre,p,a,b,c,d,N,P,M ;")
A perpendicular line is also the line "rotated 90" (about the intersection
point).
Alan
On Sun, 26 Jan 2020 00:09:38 +0100
Fabrice Couvreur wrote:
> Hi,
> The point M is such that the line (CM) is perpendicular to
Hi,
The point M is such that the line (CM) is perpendicular to the line (NP).
I do not understand the error of this code.
Thank you
Fabrice
\usecolors[xwi]
\starttext
\startMPcode
path carre, p;
carre = unitsquare scaled 138;
pair a, b, c, d, N, P, M;
a = point 0 of carre;
b = point 1
= true,
width= 15,
height = 2.1,
depth= 0,
] ;
lmt_registerglyph [ category = "symbols", unicode = "0x2015", code
= "QuotationDash ;" ] ;
\stopMPcalculation
\definefontfeature[default][default][metapost=symbols]
% \showg
n-example.tex
Here one sees that the function « document.myfunction » is well defined in Lua
and is known in ConTeXt, but I cannot use it in a Metapost code: how can one do
that?
you confuse lua and mp functions
\startluacode
function MP.myfunction(n,x)
return math.sin(n*x)
« document.myfunction » is well defined in Lua
and is known in ConTeXt, but I cannot use it in a Metapost code: how can one do
that?
Thanks in advance for any help.
Best regards: Otared
___
If your question is of i
-list daemon will let through a PDF, but I am
enclosing the current (almost final) version of the table place card
(with my daughter's name).
The figure to the left is an Apollonius Gasket of tangential circles
made with MetaPost signifying all the family connections that each
partner brings
This is a dirty hack to change the color of the crop marks and the page
number at the corner of a page when \setuplayout[marking=on].
Edit the file:
tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv
in the distribution, changing two lines:
- (here i'm reproducing only the last
ound for the page.
> I've seen there's something about that in the mailing list history. I'll look
> into that.
>
> BTW, the MP file producing the marks is
>
> metapost/context/base/mpiv/mp-crop.mpiv
Sorry for mixing up marks and markings.
> Am 2019-12-19 um 19:08 schrieb Han
for the page.
I've seen there's something about that in the mailing list history. I'll
look into that.
BTW, the MP file producing the marks is
metapost/context/base/mpiv/mp-crop.mpiv
Massi
___
If your question
ed after mtxrun.
> >
> > "context —make" is running, but no format.
> >
> > I checked folders after the installation.
> > Folders, texmf-cache, texmf-fonts, texmf-local, texmf-modules,
> > texmf-project are empty.
> > texmf folder contains {fonts
texmf-cache, texmf-fonts, texmf-local, texmf-modules,
> texmf-project are empty.
> texmf folder contains {fonts,metapost, tex,web2c}
> texmf-context folder contains {colors,context,doc}
> However, I couldn’t find base files, script files, etc.
> Is it normal? Is it rela
run.
>
> "context —make" is running, but no format.
>
> I checked folders after the installation.
> Folders, texmf-cache, texmf-fonts, texmf-local, texmf-modules, texmf-project
> are empty.
> texmf folder contains {fonts,metapost, tex,web2c}
> texmf-context folder con
stallation.
Folders, texmf-cache, texmf-fonts, texmf-local, texmf-modules, texmf-project
are empty.
texmf folder contains {fonts,metapost, tex,web2c}
texmf-context folder contains {colors,context,doc}
However, I couldn’t find base files, script files, etc.
Is it normal? Is it related with Catalina?
I ha
exmf-local, texmf-modules, texmf-project
are empty.
texmf folder contains {fonts,metapost, tex,web2c}
texmf-context folder contains {colors,context,doc}
However, I couldn’t find base files, script files, etc.
Is it normal? Is it related with Catalina?
Have a nice weekend.
Best regards,
in the timeline. Using
MetaPost, the date for the timeline is read directly from the
document, then plotted relative to the \overlaywidth. Changing the
date in the Markdown document winds up repositioning the timeline dot
automagically.
https://impacts.to/
The book is going to be released under a CC
Fabrice Couvreur schrieb am 01.12.2019 um 21:56:
Hi Hans,
I updated lmtx, but your code does not compile except that the output
is a pdf file where it is written ERROR.
Can you clear the cache.
Wolfgang
___
If
On 12/1/2019 11:32 AM, Fabrice Couvreur wrote:
Hello
Thank you for your suggestion. However, it works with context and not
with lmtx.
Fabrice
\starttext
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8;
color brown;
brown = (0.128,0.00,0.00);
Hello
Thank you for your suggestion. However, it works with context and not with
lmtx.
Fabrice
\starttext
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8;
color brown;
brown = (0.128,0.00,0.00);
path twos, threes, sixes;
twos = fullcircle
> \
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 question is
Hello,
I have a little trouble with the management of transparency : the colors
are not respected.
Thank you.
Fabrice
\starttext
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8;
color brown;
brown = (0.165,0.42,0.42);
path twos, threes;
twos =
[svgtest]
\stopTEXpage
\startTEXpage
\includesvgbuffer[svgtest][offset=2bp]
\stopTEXpage
or in metapost disguise:
\startMPpage
vardef svg expr c = lmt_svg [ code = c ] enddef ;
draw svg "
" ;
\stopMPpage
It is not a replacement for metapost (which is more
d in backend, 0 common vectors, 1 common hashes, load
time 0.321 seconds
mkiv lua stats > metapost: 0.005 seconds, loading: 0.122, execution:
0.004, n: 3, average: 0.043, instances: 1, luacalls: 223, memory: 3.265
M
mkiv lua stats > graphics processing time: 0.005 seconds including tex,
1 p
s, load
time 0.321 seconds
mkiv lua stats > metapost: 0.005 seconds, loading: 0.122, execution:
0.004, n: 3, average: 0.043, instances: 1, luacalls: 223, memory: 3.265
M
mkiv lua stats > graphics processing time: 0.005 seconds including tex,
1 processed images, 1 unique asked, 1 bad names
mkiv
> 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
'context-test', input
'./context-test', result 'context-test'
fonts > latin 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 './contex
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
color[KindergartenEqual] [darkgreen]
\definecolor[KindergartenPlus] [darkred]
\definecolor[KindergartenMinus] [darkred]
\definecolor[KindergartenTimes] [darkblue]
\definecolor[KindergartenDivided][darkblue]
\definefontfeature
[mathextra]
[metapost=kindergarten]
\setupbodyfont[dejavu]
\
gt; > I am trying to get the following with the 1 elevated and 2 above the =
> > character. The square brackets and all in between I would like italic
> > and OPT below both terms.
> >
> > *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph*
> >
> &g
anybody be able to help. Would Metapost be needed here?
When you look at the command definition in setup-en.pdf you can two
lines below the command which refer to the two arguments.
1 2
\startparagraph [...] [..,..=..,..] ... \stopparagraph
OPT
Dear list members,
I am trying to get the following with the 1 elevated and 2 above the =
character. The square brackets and all in between I would like italic and
OPT below both terms.
*\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph*
Would anybody be able to help. Would Metapost
Fabrice Couvreur schrieb am 23.09.2019 um 23:31:
Hi Wolfgang,
As I understand it, the following instructions have no effect on the
figures
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8 ;
You change the font because you typeset your labels in math mode.
Fabrice Couvreur schrieb am 23.09.2019 um 16:12:
Hello,
I can not change the font size of my figures in the table.
\startxcell[foregroundstyle={\switchtobodyfont[...]}]
or
\setupxtable[smallbodyfont][foregroundstyle={\switchtobodyfont[...]}]
\startxcell[smallbodyfont]
Wolfgang
On 9/23/19 4:12 PM, Fabrice Couvreur wrote:
Hello,
I can not change the font size of my figures in the table.
Thank you
Fabrice
Does changing
\usecolors [xwi]
to
\usecolors [ema]
help?
All best
Thomas
___
Hello,
I can not change the font size of my figures in the table.
Thank you
Fabrice
\usecolors[xwi]
\startbuffer[myfigure]
\dontleavehmode
\startMPcode
defaultfont := "texgyrepagella-regular*default" ;
defaultscale :=0.8 ;
Dear Jeroen,
If you change “pair a;” to “numeric a;” in the second MPcode, it draws a circle
without error.
Best regards,
Dalyoung
>
> \placefloatright{}{
> \startMPcode
> pair a;
numeric a;
> a := 2cm;
> draw fullcircle scaled (2*a);
> \stopMPcode}
>
> \stoptext
>
On Wed, 18 Sep 2019, Jeroen wrote:
\startMPcode
pair a;
a := 2cm;
You define a to be a pair and then assign it to a number. Metapost is
telling you that you cannot do that:
(xpart a,ypart a)
56.6929
! Equation cannot be performed (pair=numeric).
;
<*> pair a; a := 2cm;
draw full
I have been working with MetaPost as following, which worked fine with one
startMPcode section with variables, but with 2 startMPcode Metapost
sections, it keeps telling me the numbers dont add up:
\definefloat [floatright][figure]
\setupfloat [floatright][default={right,none
On 9/11/2019 2:18 PM, Henning Hraban Ramm wrote:
Am 2019-09-11 um 13:46 schrieb Henning Hraban Ramm :
\definecolor[VerlaufVon][c=75,m=5,y=95,k=60]
\definecolor[VerlaufNach][c=88,m=95,y=5,k=60]
Of course I need values between 0 and 1.
Sorry for the noise.
I think I’m too tired...
there is an
Am 2019-09-11 um 13:46 schrieb Henning Hraban Ramm :
> \definecolor[VerlaufVon][c=75,m=5,y=95,k=60]
> \definecolor[VerlaufNach][c=88,m=95,y=5,k=60]
Of course I need values between 0 and 1.
Sorry for the noise.
I think I’m too tired...
Greetlings, Hraban
---
https://www.fiee.net
Hi,
I’m trying to get a linear shade in the background of my presentation.
But it seems like MetaPost can’t handle my self-defined colors:
\definecolor[VerlaufVon][c=75,m=5,y=95,k=60]
\definecolor[VerlaufNach][c=88,m=95,y=5,k=60]
\startuniqueMPgraphic{Verlauf}
% old method, also doesn’t work
on of mkiv files are different but I suppose it is related to other
"system" files of context).
Is it "safe" to simply run always
$ mtxrun --generate; context --make
after each context/lmtx update? May be one should add there commands in
'install.sh'?
> so what does the
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) ;
\
ind of features users
>> would like to see.
>>
>> http://www.pragma-ade.com/general/magazines/mag-1104-mkiv.pdf
>
> Finally got around to playing around with the new interface. Here is an
> example of how to define new key-value driven macros in metapost:
around to playing around with the new interface. Here is an
example of how to define new key-value driven macros in metapost:
https://adityam.github.io/context-blog/post/new-metafun-interface/
Aditya
___
If your
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
On Tue, Aug 27, 2019 at 10:16 AM Fabrice Couvreur <
fabrice1.couvr...@gmail.com> wrote:
> Hi Mikael,
> I did not think about using Metapost, I tried with the keys of the command
> \framed without success.
> I use the following code for my headings (thank you Aditya) and I would
Hi Mikael,
I did not think about using Metapost, I tried with the keys of the command
\framed without success.
I use the following code for my headings (thank you Aditya) and I would
like to use your code instead.
Thank you.
Fabrice
\setupbackgrounds
[header]
[text]
[frame=off
tely
>>> positioning, and can’t be logically contained inside a \startnarrower?
>>>
>>> Regards
>>> Jon
>>>
>>>
>>>> On Aug 21, 2019, at 8:53 PM, Jon Wong >>> <mailto:jhannw...@gmail.com>> wrote:
>>>>
>
gt;>
>>> \setupnarrower[left=2cm, right=2cm] % what does middle do, actually?
>>> \startnarrower
>>> \dontleavehmode\framed[width=local]{testing}
>>>
>>> Since this works for left offset: \framed[width=local]{testing}
>>> \endnarrower
>&g
> I got some progress!
>>
>> \setupnarrower[left=2cm, right=2cm] % what does middle do, actually?
>> \startnarrower
>> \dontleavehmode\framed[width=local]{testing}
>>
>> Since this works for left offset: \framed[width=local]{testing}
>> \endnarrower
>>
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
cult it is to implement this kind of graphics. Also,
it could be useful to be able to input the equation f(x,y)=0 and to receive
the curves as MetaPost paths. It seems that one can do contour plots with
the help of lua if that is something that helps (
http://franko.github.io/graph-toolkit/contour.html).
newidth = .025mm, offset = .1mm,
]
xsized 8cm
;
\stopMPcode
The output error:
loading metafun, including plain.mp version 1.004 for metafun iv and xl
pages > flushing realpage 9, userpage 8, subpage 9
metapost log> ! Missing ':' has been inserted.
We have eofill in MP (in pdf/ps in fact) and that likely will do what you need.
Alan
On Sat, 17 Aug 2019 00:31:38 +0100
Adam Reviczky wrote:
> Hi Hans,
>
> One MetaPost feature that I was looking forward to is the ability to create
> a fill between two shapes.
> Something li
Hi Hans,
One MetaPost feature that I was looking forward to is the ability to create
a fill between two shapes.
Something like a difference function of two path's.
For logos I use the workaround with creating a path alongside the excluded
areas but it is always cumbersome.
I have briefly
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 |
path= fullcircle
> scaled 3cm
> shifted (3.5cm,0cm),
> ] withcolor "darkblue" ;
>
> but of course the low level interface with its many variables for
> tweaking stays around. Other examples are shown in the mentioned document.
>
. Arrows can be drawn with
>
>draw lmt_arrow [
>kind= "draw",
>location= "middle",
>alternative = "curved",
>path= fullcircle
>scaled 3cm
>shifted (3.5cm,0cm),
>
801 - 900 of 4530 matches
Mail list logo