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),
>
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
uot;,
alternative = "curved",
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
On 8/12/2019 1:33 PM, Jon Wong wrote:
Hi Taco!
Very enlightening!
I’ll just use both MetaPost and SVG for their intended purposes. (SVG
will come from workflow involving GIMP/Inkscape; MetaPost for logical,
rather than graphical, figures.)
if you have inkscape installed you can do
On 8/12/2019 1:15 PM, Taco Hoekwater wrote:
Hi,
On 12 Aug 2019, at 12:10, Jon Wong wrote:
Hi all,
Is it possible to convert SVG to MetaPost?
Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
SVG to PDF). I don’t like to allow shell access to TeX.
If I can
Hi Taco!
Very enlightening!
I’ll just use both MetaPost and SVG for their intended purposes. (SVG will come
from workflow involving GIMP/Inkscape; MetaPost for logical, rather than
graphical, figures.)
Regards
Jon
> On Aug 12, 2019, at 7:30 PM, luigi scarso wrote:
>
>
>
>
On Mon, Aug 12, 2019 at 12:11 PM Jon Wong wrote:
> Hi all,
>
> Is it possible to convert SVG to MetaPost?
>
> Currently, I have Bash scripts in my workflow to invoke Inkscape
> (converting SVG to PDF). I don’t like to allow shell access to TeX.
>
> If I can convert SVG to
Hi,
> On 12 Aug 2019, at 12:10, Jon Wong wrote:
>
> Hi all,
>
> Is it possible to convert SVG to MetaPost?
>
> Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
> SVG to PDF). I don’t like to allow shell access to TeX.
>
> If I
Hi all,
Is it possible to convert SVG to MetaPost?
Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
SVG to PDF). I don’t like to allow shell access to TeX.
If I can convert SVG to MetaPost, I will gladly Git-track MetaPost files
instead of SVG files. That will do
On Sun, 11 Aug 2019 11:12:55 -0700
Henri Menke wrote:
> Thank you for the quick repsonse. This looks good to me. However,
> could you tell me a way to get the correct baseline with textext? When
> I use
>
> \startMPpage
> draw btex dummy etex shifted (0,0);
> draw btex foo etex
On 8/11/19 10:51 AM, Hans Hagen wrote:
> I'll do this (lmtx):
>
> metapost> use 'textext(.)' instead of 'btex ..... etex'
> metapost> rewrapping btex ... etex at the outer level [[dummy]]
> metapost> rewrapping btex ... etex at the outer le
On 8/11/2019 6:09 PM, Henri Menke wrote:
Dear devs,
There seems to be a bug in the MetaPost integration of ConTeXt. The MWE
below should produce three different labels “dummy foo bar” but instead
produces “bar bar bar”. The same example works correctly in plain
MetaPost. Originally reported
Dear devs,
There seems to be a bug in the MetaPost integration of ConTeXt. The MWE
below should produce three different labels “dummy foo bar” but instead
produces “bar bar bar”. The same example works correctly in plain
MetaPost. Originally reported on
https://tex.stackexchange.com
On 8/3/2019 5:22 PM, Henning Hraban Ramm wrote:
Hi,
in my books I typeset captions onto full page images, therefore I need a
background; in the attached example it’s just a white box, usually I use a
MetaPost shadow (some of you helped me with that a few years ago, current code
see https
Hi,
in my books I typeset captions onto full page images, therefore I need a
background; in the attached example it’s just a white box, usually I use a
MetaPost shadow (some of you helped me with that a few years ago, current code
see https://wiki.contextgarden.net/Drop_shadows).
Now
to do a number of announcements about the future of ConTeXt, LuaTeX
and MetaPost (LMTX) which should be exciting you as well!
If you have not registered yet, please consider joining us at
’t Sjetootje, Bassenge-Boirs, Belgium on September 16–21, 2019.
Some other ‘surprise' talks have been
fixed the bug already but as I'm also are in the
middle of some math and metapost experiments so it didn't make it into
an update yet.
Hans
-
Hans Hagen | PRAGMA ADE
every glyph carefully in a metapost file "cas-chars.mp":
beginglyph(20013,1000,1000,0);
% a lot of fillings and drawingsendglyph;
then call them in a test file:
\definemetafont[cas-logo][cas-chars.mp]
\startTEXpage
\definefont[cas][cas@cas-logo]
\cas 中國科學院\stopTEXpage
I
On 7/5/2019 8:32 AM, Zhichu wrote:
Hi everyone,
I was using metapost to generate some symbols, as in
"tex/texmf-context/metapost/context/fonts/mpiv/demo-symbols.tex"
How do you use these symbols in a document? Do you call them up by
number somehow? Using some glyph interface do
Hi everyone,
I was using metapost to generate some symbols, as in
"tex/texmf-context/metapost/context/fonts/mpiv/demo-symbols.tex"
Occasionally, I want to customize a glyph whose charcode is a little large, say
the character "院":
=
used fixed values, in the actual document that would not be
good - too
many different cells.
I am trying a further approach using MetaPost and OverlayBox. Seems possible
(line
wrapping also an issue), but quite involved...
Thanks, Martin
New MWS:
\setupTABLE[c][1][width=20mm]
\setupTABLE[c
On Fri, 17 May 2019 09:43:29 +0200
Rudolf Bahr wrote:
> And then the same .png-image
> to which I added a red frame by GIMP2.10. This one shows artefacts in
> ConTeXt!
I *always* use MetaPost to add features (and to clip) images.
These features (arrows, labels, etc.) are then
and thanks Wolfgang!
Best regards,
Dalyoung
> 2019. 5. 13. 오후 10:04, Hans Hagen 작성:
>
> On 5/13/2019 2:14 PM, Jeong Dal wrote:
>> Dear Wolfgang,
>> I found the following code with a comment “code by Wolfgang” at
>> https://adityam.github.io/context-blog/post/metapos
On 5/13/2019 2:14 PM, Jeong Dal wrote:
Dear Wolfgang,
I found the following code with a comment “code by Wolfgang” at
https://adityam.github.io/context-blog/post/metapost-animation/
|\unprotect|
|\installnamespace{MPanimationvariables}\unexpanded\def\startMPanimation{\dodoublegroupempty
Dear Wolfgang,
I found the following code with a comment “code by Wolfgang” at
https://adityam.github.io/context-blog/post/metapost-animation/
<https://adityam.github.io/context-blog/post/metapost-animation/>
\unprotect
\installnamespace{MPanimationvariables}
\unexpanded\def\startMPani
On 4/25/2019 4:31 PM, Mojca Miklavec wrote:
On Thu, 25 Apr 2019 at 16:23, Hans Hagen wrote:
Ideally someone should fix Geogebra to allow outputting
ConTeXt-friendly TikZ images.
or just efficient metapost
Oh, sure! (That might require a bit more work, but probably worth
doing if someone
On Thu, 25 Apr 2019 at 16:23, Hans Hagen wrote:
>
> > Ideally someone should fix Geogebra to allow outputting
> > ConTeXt-friendly TikZ images.
>
> or just efficient metapost
Oh, sure! (That might require a bit more work, but probably worth
doing if someone wants to
, but need some
info how to adjust GeoGebra's TikZ output (suitable for LaTeX) for
ConTeXt?
Ideally someone should fix Geogebra to allow outputting
ConTeXt-friendly TikZ images.
or just efficient metapost
The differences should be small enough that this should be doable.
Hans
it looks at
> the colors defined in tex rather than colors defined in metapost.
> This allows you to easily share the same colors in text and figures.
That's great and desirable!
> As an elegent example of this see this excellent imitation of Byrne's
> Euclid:
> https://github.com/
c) to \start... \stop... pairs. There are a few other quirks which
> have simple workarounds. I am not sure if they are documented
> anywhere.
OK.
> If you are more comfortable using a visual tool like GeoGebra than
> writing the tikz/metapost code by hand, then I'd say that simply
> proc
("A", A) withcolor "myblue";
dotlabel.rt ("B", B) withcolor "myblue";
dotlabel.bot("C", C) withcolor "myblue";
\stopMPpage
\stoptext
In ConTeXt, if you put quotes around the name of a color, it looks at the
colors defined in te
f-modules directory from a
> standard context distribution to the lmtx tree.
OK. Will try to do it.
> If you are intending on preparing math exams, I may suggest that
> native MetaPost IS better adapted for many reasons AND easier to use
> in ConTeXt.
I believe it is, but it seem
quirks which have
simple workarounds. I am not sure if they are documented anywhere.
If you are more comfortable using a visual tool like GeoGebra than writing
the tikz/metapost code by hand, then I'd say that simply process the
generate latex code through latex to generate standalone pdfs
stributed or
installed (yet) by the lmtx install.sh script. All that you need to do is to
copy the texmf-modules directory from a standard context distribution to the
lmtx tree.
If you are intending on preparing math exams, I may suggest that native
MetaPost IS better adapted for many reasons AND easi
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 ;
>
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
On Sat, 20 Apr 2019 23:49:26 +0200
Hans Hagen wrote:
> > let latex=textext ;
>
> That crashed here.
In fact, when I used makecirc.mp, I just commented out the following few lines
at the head of the file:
%input latex;
%
% Commands definitions to do the labeled easier %
%
Hi Aditya and Gilles,
It seems to me that adding a bar in the margin either with framedtext or with
MetaPost, lacks the ability to continue through a page break. Using the ConTeXt
built-in sidebar mechanism has the advantage of continuing through a page
break, but it is still not perfetct
On 4/20/2019 11:16 PM, Alan Braslau wrote:
On Sat, 20 Apr 2019 23:00:09 +0200
Hans Hagen wrote:
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
Why not
let
On Sat, 20 Apr 2019 23:00:09 +0200
Hans Hagen wrote:
> 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
Why not
let latex=textext ;
> > Another
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
Hans Hagen writes:
> On 4/19/2019 5:48 PM, Andrea De Michele wrote:
>>
>> I'm trying to use with Context makecirc a metapost library to draw
>> electric circuits, but I have problems with the labels of the circuits
>> element that are not displayed correctly.
>
Thanks, that's exactly what I needed.
I got inspired by your post at
https://adityam.github.io/context-blog/post/frame-with-solid-left-line/ for my
original code.
I just added linecap:=butt; at the beginning of the metapost code to get
squared ends.
Gilles
> Framed does not provide eno
\startleftbartext
\input knuth
\stopleftbartext
\stoptext
Framed does not provide enough hooks to control the spaces. For something
like this, you can also use metapost to draw the background:
\showframe
\showboxes
\defineframedtext[leftbartext][
width=broad,
frame=off
On 4/19/2019 5:48 PM, Andrea De Michele wrote:
I'm trying to use with Context makecirc a metapost library to draw
electric circuits, but I have problems with the labels of the circuits
element that are not displayed correctly.
FIRST EXAMPLE (No labels are displayed)
-
\starttext
I'm trying to use with Context makecirc a metapost library to draw
electric circuits, but I have problems with the labels of the circuits
element that are not displayed correctly.
FIRST EXAMPLE (No labels are displayed)
-
\starttext
\startMPinclusions
input makecirc
'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
Hi Thorsten,
I had the same problem a couple of months ago.
Use sized instead of scaled now.
The same goes for xscaled and yscaled.
Greetings Lutz
Am 4. April 2019 01:31:29 MESZ schrieb "Thorsten S."
:
>Hello!
>
>The simple Metapost code that follows worked fine until upgrad
On 4/4/2019 1:31 AM, Thorsten S. wrote:
Hello!
The simple Metapost code that follows worked fine until upgrading to
recent beta. I don't have a clue exactly when this behaviour was
introduced since I switched just recently from the standard Texlive
version available in Arch Linux
Hello!
The simple Metapost code that follows worked fine until upgrading to recent
beta. I don't have a clue exactly when this behaviour was introduced since I
switched just recently from the standard Texlive version available in Arch
Linux.
\starttext
\startMPcode
draw externalfigure
on the current Context beta and
luatex). Of course with the proper mwe's (tex, metapost, lua, or a
combination of these) we will try to solve them all, we have been
testing. In due time more about this project will be revealed.
Hans Hagen & Alan Braslau
Hi Hans,
Thanks for the link to the code. A q
with the proper mwe's (tex, metapost, lua, or a combination of
these) we will try to solve them all, we have been testing. In due time
more about this project will be revealed.
Hans Hagen & Alan Braslau
Hi Hans,
Thanks for the link to the code. A quick install suggests that a 'hello
w
://www.pragma-ade.nl/install.htm
Of course you should keep your current installation too. We're sure that
there will be issues so when you run into unexpected surprises, you can
blame us (and fall-back on the current Context beta and luatex). Of
course with the proper mwe's (tex, metapost, lua
> In this minimal example, the frame doesn't appear (or if i set
> > [frame=on,leftframe=off] all the frame is rendered) and the left and
> > right offsets are not took into account.
>
> textbackground uses metapost for ALL backgrounds and the default metapost
> code to draw the
> > > examples).
> > > I suppose Hans Hagen made use of metafun to do it but I encounter some
> > > problems with 'textbackgrounds'.
> > >
> > > In this minimal example, the frame doesn't appear (or if i set
> > > [frame=on,leftframe=off] al
kgrounds'.
> >
> > In this minimal example, the frame doesn't appear (or if i set
> > [frame=on,leftframe=off] all the frame is rendered) and the left and
> > right offsets are not took into account.
>
> textbackground uses metapost for ALL backgrounds and the default metap
afun to do it but I encounter some
problems with 'textbackgrounds'.
In this minimal example, the frame doesn't appear (or if i set
[frame=on,leftframe=off] all the frame is rendered) and the left and
right offsets are not took into account.
textbackground uses metapost for ALL backgrounds and t
ATEXFUNCTIONALITY)") ;
instead of
numeric LUATEXFUNCTIONALITY ; LUATEXFUNCTIONALITY :=
runscript("mp.print(LUATEXFUNCTIONALITY)") ;
Now I have
tex/texmf-context/metapost/context/base/mpiv$ grep -r LUATEXFUNCTIONALITY
mp-mlib.mpiv:%numeric LUATEXFUNCTIONALITY ; LUATEXFUNCTIONALITY :=
runscrip
ecute[[
> boolean mplib ; mplib := true ;
> input metafun.mp ;
> ]]
>
> print(ret.log)
> }
> \bye
>
>
in mp-mlib.mpiv it seems that we should have
string LUATEXFUNCTIONALITY ; LUATEXFUNCTIONALITY :=
runscript("mp.print(LUATEXFUNCTIONALITY)") ;
instead of
numeri
, Context NTG <
context...@gmail.com>
Context NTG schrieb am 10.03.19 um 16:59:
> I am trying to get a metapost drawing as logo added to right upper
> corner of a DIN B style letterhead, but it does not show up, just the
> letter itself. Is there anything to change to the layers
Context NTG schrieb am 10.03.19 um 16:59:
I am trying to get a metapost drawing as logo added to right upper
corner of a DIN B style letterhead, but it does not show up, just the
letter itself. Is there anything to change to the layers for the MP toe
reveal itself?
The letter module uses
I am trying to get a metapost drawing as logo added to right upper corner
of a DIN B style letterhead, but it does not show up, just the letter
itself. Is there anything to change to the layers for the MP toe reveal
itself?
Thanks, Jeroen
% BEGIN MP LOGO SETUP
\startuseMPgraphic{mpglogo}
path
e (context) log.
show
is a MetaPost command that will get included in the log with:
\enabletrackers [metapost.showlog]
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
;}initializations
{\meta_f...
\page_fitting_stop_command ...eter \c!command {#1}
\page_fitting_stop_normal
Is there a workaround here? Ultimately I want to replace "12" with a loop
variable in MetaPost.
Thanks,
~MHB
___
tional.
>
>Every metapost graphic does at least this at its start:
>
>save x,y;
>currentpicture := nullpicture;
>currentpen:=defaultpen;
>
>so pair xx[]; would have worked just fine.
>
>In general, I would advice to stay away from single-let
“z" is
defined as a shortcut for "(x,y)”. Both of these are
traditional.
Every metapost graphic does at least this at its start:
save x,y;
currentpicture := nullpicture;
currentpen:=defaultpen;
so pair xx[]; would have worked just fine.
In general, I would adv
of code, but you usually constantly need the user manual at hand, and
> > doing something low level is more tricky. ConTeXt support might be
> > occasionally broken.
>
> Thank you. It seems that metaPost/Fun is a way to go...
MetaPost is native to luatex (MPlib is integrate
e the same in a lot less lines
> of code, but you usually constantly need the user manual at hand, and
> doing something low level is more tricky. ConTeXt support might be
> occasionally broken.
Thank you. It seems that metaPost/Fun is a way to go...
Sincerely,
Gour
--
As a lamp
-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
end 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?
Sincerely,
Gour
--
When your intelligence has passed out of the dense forest
of delusion, you
), new metapost modules (alan is for instance
working on a new graph module), some bidi-layout stuff, some (interfaces
to) low level math configuration options (needs thinking). These will
happen in the betas but they are unlikely to interfere with regular
functionality. If something more drastic
Thanks a lot Wolfgang and Marco. :-)
juh
Am 08.02.19 um 12:57 schrieb Wolfgang Schuster:
>
>
> Jan U. Hasecke schrieb am 08.02.19 um 12:36:
>> Hi all,
>>
>> I make my first steps with Metapost.
>>
>> I would like to set the background of all page
Jan U. Hasecke schrieb am 08.02.19 um 12:36:
Hi all,
I make my first steps with Metapost.
I would like to set the background of all pages to a Metapost graphic.
But only the first page has the defined background.
I also tried with
\startuseMPgraphic
with no success
--- mwe
On Fri, 8 Feb 2019 12:36:16 +0100
"Jan U. Hasecke" wrote:
> \definelayer[kreisbackground][width=70mm,height=70mm]
\definelayer[kreisbackground][width=70mm,height=70mm, state=repeat]
start: layer appears only on the current page
stop : layer doesn't show up
repeat : layer prints on
Hi all,
I make my first steps with Metapost.
I would like to set the background of all pages to a Metapost graphic.
But only the first page has the defined background.
I also tried with
\startuseMPgraphic
with no success
--- mwe ---
\startreusableMPgraphic{kreis}
draw fullcircle scaled
; See https://tex.stackexchange.com/a/32308/323 which is based on an example in
> the metafun manual.
Thank you all!
I guess I can reduce the flow cases to <10 and use \parshape directly; thinking
in lines looks a bit easier than the MetaPost way.
Calculating the MP path from the TIFF alpha
Hi,
I guess your problem is to find the two points of intersection between p
and r ? If so, the problem is that intersectionpoint does return the same
intersection when there is several, as it is the case here. So a quick
solution that you can do is to find intersections for the two part. A
Hi,
@ Henri Thank you
@ Alan How to use it in my code ?
Thank you
Fabrice
Le dim. 3 févr. 2019 à 21:26, Alan Braslau a
écrit :
> On Mon, 4 Feb 2019 09:19:26 +1300
> Henri Menke wrote:
>
> > Use the infont operator.
>
> Easier yet, the string can contain the font switch \bf:
>
> draw
Dear Fabrice,
Metapost is great for drawiang figures but it is not easy for me to use it.
> b:= fullcircle scaled 2cm shifted (0,-3cm);
> pair A, B ;
> A:= p intersectionpoint r ;
> B:= p intersectionpoint r ;
> path u ;
> u:= A--B--cycle ;
A and B are the same point.
On Mon, 4 Feb 2019 09:19:26 +1300
Henri Menke wrote:
> Use the infont operator.
Easier yet, the string can contain the font switch \bf:
draw textext("\bf "(i)) ;
___
If your question is of interest to others as
901 - 1000 of 4548 matches
Mail list logo