Re: MetaPost paths

Lars Madsen <[email protected]> Mon, 27 Apr 2026 07:42:24 +0000
Newsgroups gmane.comp.tex.texhax
Message-ID <GV2PR01MB120989D5499E91CD05C05D3CAF2362@GV2PR01MB12098.eurprd01.prod.exchangelabs.com>
--_000_GV2PR01MB120989D5499E91CD05C05D3CAF2362GV2PR01MB12098eu_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

UIC cutbefore BSLOPE cutafter UH

runs the wrong way, try

  draw  z0 -- z1 -- ( UOC cutbefore BSLOPE cutafter UH ) -- z2 --
    z3 -- z4 -- z5 -- z6 --  z7
    -- reverse ( UIC cutbefore BSLOPE cutafter UH )
    ;

Personally I'd save the contents of the two ()'s as their own paths, then t=
hey are easier to manipulate and investigate.



Lars Madsen
Programm=F8r

Institut for Matematik
Aarhus Universitet

person.au.dk/daleif@math<https://person.au.dk/daleif@math>

________________________________
From: texhax <[email protected]> on behalf of Walte=
r Burkhard <[email protected]>
Sent: 27 April 2026 02:07
To: [email protected] <[email protected]>
Subject: MetaPost paths

Hello,   I have attached the program  test.mp<http://test.mp/>  that draws
the path correctly but then adds one additional/unwanted
line   z7-- z0  .   The program is attached below.

Comments, help etc.  all welcome.

Walt Burkhard

--_000_GV2PR01MB120989D5499E91CD05C05D3CAF2362GV2PR01MB12098eu_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
UIC cutbefore BSLOPE cutafter UH</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
runs the wrong way, try</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; draw &nbsp;z0 -- z1 -- ( UOC cutbefore BSLOPE cutafter UH ) -- z2 --=
&nbsp;</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; z3 -- z4 -- z5 -- z6 -- &nbsp;z7</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; -- reverse ( UIC cutbefore BSLOPE cutafter UH )</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; ;</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Personally I'd save the contents of the two ()'s as their own paths, then t=
hey are easier to manipulate and investigate.</div>
<div id=3D"Signature" class=3D"elementToProof">
<div class=3D"elementToProof" style=3D"font-family: Calibri, Helvetica, san=
s-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
 font-family: Tahoma; font-size: 13px;">
<br>
</div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
 font-family: Tahoma; font-size: 13px;">
<br>
<span style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt=
; color: rgb(23, 78, 134);"><b>Lars Madsen</b></span></div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
 font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0=
, 0, 0);">
Programm=F8r</div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
"><span style=3D"font-family: Tahoma; font-size: 13px;"><br>
</span><span style=3D"font-family: Calibri, Helvetica, sans-serif; font-siz=
e: 13px;"></span><span style=3D"font-family: Calibri, Helvetica, sans-serif=
; font-size: 12pt; color: rgb(23, 78, 134);"><b>Institut for Matematik</b><=
/span><span style=3D"font-family: Tahoma; font-size: 13px;"><br>
</span><span style=3D"font-family: Calibri, Helvetica, sans-serif; font-siz=
e: 12pt; color: rgb(0, 0, 0);">Aarhus Universitet</span></div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
 font-size: 13px;">
<span style=3D"font-family: Tahoma;"><br>
</span><span style=3D"font-family: Calibri, Helvetica, sans-serif;"></span>=
</div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
"><span style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12=
pt; color: rgb(0, 0, 0);"><a href=3D"https://person.au.dk/daleif@math" titl=
e=3D"https://person.au.dk/daleif@math" style=3D"color: rgb(0, 0, 0);">perso=
n.au.dk/daleif@math</a></span><span style=3D"font-family: Tahoma; font-size=
: 13px;"><br>
</span></div>
<div class=3D"elementToProof" style=3D"margin-right: 0px; margin-left: 0px;=
 font-family: Tahoma; font-size: 13px;">
<br>
</div>
</div>
<div id=3D"appendonsend"></div>
<hr style=3D"display:inline-block;width:98%" tabindex=3D"-1">
<div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st=
yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> texhax &lt;texhax-bou=
[email protected]&gt; on behalf of Walter Burkhard &lt;wburkh=
[email protected]&gt;<br>
<b>Sent:</b> 27 April 2026 02:07<br>
<b>To:</b> [email protected] &lt;[email protected]&gt;<br>
<b>Subject:</b> MetaPost paths</font>
<div>&nbsp;</div>
</div>
<div>
<div dir=3D"ltr">
<div dir=3D"ltr">
<div dir=3D"ltr">
<div dir=3D"ltr">
<div dir=3D"ltr">
<div dir=3D"ltr">
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
Hello, &nbsp; I have attached the program &nbsp;<a href=3D"http://test.mp/"=
 originalsrc=3D"http://test.mp/" target=3D"_blank">test.mp</a> &nbsp;that d=
raws&nbsp;</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
the path correctly but then adds one additional/unwanted</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
line &nbsp; z7-- z0 &nbsp;. &nbsp; The program is attached below.</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
<br>
</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
Comments, help etc. &nbsp;all welcome.</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
<br>
</div>
<div class=3D"x_gmail_default" style=3D"font-family:garamond,&quot;times ne=
w roman&quot;,serif; font-size:large">
Walt Burkhard</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_GV2PR01MB120989D5499E91CD05C05D3CAF2362GV2PR01MB12098eu_--