Dear Gavin,
I am aware of these resources. My question is about docs of those Metapost
libs which are in the distribution in Metapost directory.
On Thu, Jan 11, 2024 at 9:12 PM Gavin via ntg-context
wrote:
> Hi Shiv,
>
> I am working with MetaPost in ConTeXt. Here are the resour
Hi Shiv,
I am working with MetaPost in ConTeXt. Here are the resources I use, roughly in
the order I search when trying to solve a problem.
- MetaFun Manual (http://www.pragma-ade.nl/general/manuals/metafun-p.pdf) This
is most comprehensive and helpful source.
- MetaPost Manual (http
I have files in my installation like 'mp-form.mkiv, mp-chem.mkiv' and so on.
-- Respect,
Shiv Shankar Dayal
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
Thanks for all the help. I have decided to use Metapost as it is tightly
integrated with Asymptote and I find it fun.
-- Respect,
Shiv Shankar Dayal
___
If your question is of interest to others as well, please add
. For people who don’t know
they might be happy with a “programming system” we’d need a different
poster. (The LaTeX-based SPBuchsatz targets this clientele.)
I want to show a few interesting things that are possible with
ConTeXt/MetaPost and a few basics how it works.
I guess I’ll use the “christmas
Hello LuaMetaFun Fans,
Can I use mp.inject.path in Lua to create a disconnected path in MetaPost?
This is for my module that draws globes. I currently do something like this for
drawing the continents. (This MWE has two triangular continents.)
\startluacode
continents = {}
continents[1
On 1/8/2024 1:50 AM, Shiv Shankar Dayal wrote:
I see many libraries for Metapost in Context source. Where are these
documented? I see Metafun manual as well, but I do not find all the
included libraries described.
i'm not sure what you mean with library ... can you give an example?
Hans
I see many libraries for Metapost in Context source. Where are these
documented? I see Metafun manual as well, but I do not find all the
included libraries described.
--
Respect,
Shiv Shankar Dayal
___
If your
Hi Taco,
thanks for your help. This works for me!
On Jan. 5 2024, at 2:13 pm, Taco Hoekwater wrote:
> Hi,
>
> Here is 'a' way to draw the subpath, at least. I do not have time to come up
> with a nice “thicker in the middle” solution.
> Best wishes,
> Taco
>
>
> \startMPcode
> numeric u; u=1cm;
>
> > >> path A; A = z0..z1..z2..z3..z4 ;
> > >> pair AStartPoint; AStartPoint = point 0 of A;
> > >> pair AEndPoint; AEndPoint = point 4 of A;
> > >> path B; B = z5..z6;
> > >> pair BStartPoint; BStartPoint = point 0 of B;
> > >
Hi,
Here is 'a' way to draw the subpath, at least. I do not have time to come up
with a nice “thicker in the middle” solution.
Best wishes,
Taco
\startMPcode
numeric u; u=1cm;
%equiangular spiral
numeric a, k ;
a = 2.3; %scaling factor
k = 8.61722335;
path S;
S = right for t=1 upto 360: .. a
Hi all,
I have this MWE. Now I want to draw only the subpath of S between gong6 and
gong7 with a red line which is narrower at the two ends and thicker in the
middle part. How to achieve this?
Thanks!
Emanuel
\setuppapersize[A4,landscape]
\starttext
\startMPcode
numeric u; u=1cm;
%equiangular
Dayal wrote:
It would be nice to either support Metapost 3D or Asymptote. Right now I
generate images separately and embed them in PDF using externalfigure command
which works but I have to maintain all the graphics separately.
It is possible to obtain simple integration for asymptote using
ears
> gimmick:
>
> https://www.pragma-ade.nl/2023
>
> Of course it screams metapost but tex and lua are also involved. See it as
> compensation for the lack of an end-of-year update. The last page of the
> result
Dear Hans,
> Le 2 janv. 2024 à 05:35, Hans Hagen via ntg-context a
> écrit :
>
> On 1/1/2024 3:33 PM, vm via ntg-context wrote:
>> On 01/01/2024 13:28, Hans Hagen wrote:
>>> Of course it screams metapost but tex and lua are also involved. See it as
>>>
On 1/1/2024 3:33 PM, vm via ntg-context wrote:
On 01/01/2024 13:28, Hans Hagen wrote:
Of course it screams metapost but tex and lua are also involved. See
it as compensation for the lack of an end-of-year update. The last
page of the result has a bit of explanation.
Beautiful indeed
On 01/01/2024 13:28, Hans Hagen wrote:
Of course it screams metapost but tex and lua are also involved. See it
as compensation for the lack of an end-of-year update. The last page of
the result has a bit of explanation.
Beautiful indeed !
(And thank you for all the good work)
Is the puzzle
Hi,
As a side effect (spin off) of this years xmas card we have a new years
gimmick:
https://www.pragma-ade.nl/2023
Of course it screams metapost but tex and lua are also involved. See it
as compensation for the lack of an end-of-year update. The last page of
the result has a bit
On Sun, 31 Dec 2023, Shiv Shankar Dayal wrote:
> It would be nice to either support Metapost 3D or Asymptote. Right now I
> generate images separately and embed them in PDF using externalfigure command
> which works but I have to maintain all the graphics separately.
It is possible
On 12/30/2023 8:04 PM, Shiv Shankar Dayal wrote:
Hi all,
It would be nice to either support Metapost 3D or Asymptote. Right now I
generate images separately and embed them in PDF using externalfigure
command which works but I have to maintain all the graphics separately.
next year we
On 30/12/23 30/12/23, 12:04, Shiv Shankar Dayal wrote:
It would be nice to either support Metapost 3D
Very simple MP pseudo 3D is included in
tex/texmf-context/metapost/context/base/mpiv/mp-tres.mpiv
Alan
Hi Shiv and Fabrice,
> On Dec 30, 2023, Shiv Shankar Dayal wrote:
> It would be nice to either support Metapost 3D or Asymptote.
> On Dec 6, 2021, Fabrice L wrote:
> I would be very interested to see an example of a Metafun drawing made with
> the help of LuaTeX to speed up so
Hi all,
It would be nice to either support Metapost 3D or Asymptote. Right now I
generate images separately and embed them in PDF using externalfigure
command which works but I have to maintain all the graphics separately.
Respect,
Shiv
me suggestions. When all is stable I
can spend a few hours on optimizing if needed.
I am a novice at both Lua and MetaPost. I’m also new to Git and have never
shared anything of substance with the ConTeXt community. (This barely counts as
substantive, but I figure it’s best to start smal
;% Add a border,
if you want.
\stopMPpage
I am a novice at both Lua and MetaPost. I’m also new to Git and have never
shared anything of substance with the ConTeXt community. (This barely counts as
substantive, but I figure it’s best to start small.) I’m sure many of you could
find
On Wed, 13 Dec 2023 18:55:34 +0100
Wolfgang Schuster wrote:
> This was added a few years ago (AFAIR to provide something similar to
> the TikZ color command).
You actually mean similar to the MetaPost color command.
(corner=round still works) or create your own background as metapost
graphic with rounded corners.
Oh, yes, here’s Hans’ fix.
Hraban
if not modules then modules = { } end modules ['lpdf-rul'] = {
version = 1.001,
comment = "companion to grph-rul.mkiv",
author= &
background as metapost
graphic with rounded corners.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3
Hi,
in my ConTeXt book, some examples for \framed with rounded corners look
odd, as if the MetaPost calculation of rounded corners fails.
I can’t find a minimal example that shows the problem, and I can’t
imagine which of the settings in my extensive environment would cause it.
Find below
t = "\JapaneseFont 日本語"
> >> ], AEndPoint););
> >>
> >> p3:=image(
> >> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> >> BStartPoint);
> >> );
> >>
> >> p4:=image(draw A; label(lmt_outline
gt; > >> z3 = (10,70);
> > >> z4 = (30,50);
> > >> z5 = (90,70);
> > >> z6 = (-10,70);
> > >>
> > >> path A; A = z0..z1..z2..z3..z4 ;
> > >> pair AStartPoint; AStartPoint = point 0 of A;
> > >> pair AEn
t;>
> >> p2:=image(draw A; label(lmt_outline [
> >> text = "\JapaneseFont 日本語"
> >> ], AEndPoint););
> >>
> >> p3:=image(
> >> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> >> BStartPoint);
>
>> label(textext("\notonaskharabic \textdir TRT دانگ") scaled 1.2,
> >> BStartPoint);
> >> );
> >>
> >> p4:=image(draw A; label(lmt_outline [
> >> text = "\KoreanFont 한국어"
> >> ], AStartPoint););
> >>
mage(
>> draw B withcolor blue;
>> );
>> \stopMPinclusions
>>
>> \starttext
>>
>> \dorecurse{6}{ % Frame
>> \setupMPpage[background=color, backgroundcolor=SpringGreen]
>> \startMPpage[pagestate=start]
>> currentime := #1 ;
>>
n) withcolor
> magenta ;
> for k=1 upto currentime: draw p[k]; endfor
> setbounds currentpicture to TheFrame ;
>
> desiredformat := 1080;% In pixels (will be converted by default at 72dpi)
> currentpicture := currentpicture xysized (desiredformat ,desiredformat );
>
> \stopMPpage
&
t := 1080;% In pixels (will be converted by default at 72dpi)
> currentpicture := currentpicture xysized (desiredformat ,desiredformat );
>
> \stopMPpage
> }
>
> \stoptext
> On Nov. 27 2023, at 11:25 pm, Aditya Mahajan wrote:
> > On Mon, 27 Nov 2023, Fabrice L wrote:
>
e L wrote:
>
> > Hi,
> >
> > It is fun fact very easy to do. You just use \startMPpage (…) \stopMPpage
> > multiple times. Here is an example which build an animation of a particle
> > moving according to a Brownian motion.
>
> A very similar option is to pass a variabl
pass a variable to a metapost drawing. This is what
I use:
https://adityam.github.io/context-blog/post/metapost-animation/
It only works when viewed in acrobat, you can just comment out the animation
part and wrap it in \startTEXpage .. \stopTEXpage to get multi
0;% In pixels (will be converted by default at 72dpi)
currentpicture := currentpicture xysized (desiredformat ,desiredformat );
\stopMPpage
}
\stoptext
% 8< ---
> Le 27 nov. 2023 à 13:49, Emanuel Han via ntg-context a
> écrit :
>
> How can
How can I achieve multipage metapost output from ConTeXt? The result should be
a multipage pdf. It contains just a metapost graphic per page. The graphic has
always the same bounding box and evolves from page to page: Some elements to be
drawn are added, and some others would ideally also
white 1mm thick border in a Metapost
>> label. Here is my code, which doesn't draw the border at all and which draws
>> the text in white instead of black (I'm using mkiv and mkxl version
>> 2023.09.26 18:19 on osx-arm6):
>> |
>> |beginfig(1);
>> %
Am 19.11.23 um 16:41 schrieb Emanuel Han via ntg-context:
I'd like to surround black text with a white 1mm thick border in a
Metapost label. Here is my code, which doesn't draw the border at all
and which draws the text in white instead of black (I'm using mkiv and
mkxl version 2023.09.26 18
I'd like to surround black text with a white 1mm thick border in a Metapost
label. Here is my code, which doesn't draw the border at all and which draws
the text in white instead of black (I'm using mkiv and mkxl version 2023.09.26
18:19 on osx-arm6):
beginfig(1);
% Define the text and colors
On 11/11/2023 11:43 PM, Paul Mazaitis wrote:
On 11 Nov 2023, at 14:52, Aditya Mahajan wrote:
Last time I checked tree-sitter on neovim, there were no good tree-sitters for
context. I'd be interested in testing this out.
Happy to have feedback!
Does the parser detect nested metapost
On 11 Nov 2023, at 14:52, Aditya Mahajan wrote:
> Last time I checked tree-sitter on neovim, there were no good tree-sitters
> for context. I'd be interested in testing this out.
Happy to have feedback!
> Does the parser detect nested metapost and luatex environments?
The parser r
document
> hierarchy.)
Last time I checked tree-sitter on neovim, there were no good tree-sitters for
context. I'd be interested in testing this out.
Does the parser detect nested metapost and luatex environme
.
Fixed.
Any suggestions as to what needs to be changed to get the diagram to
display correctly?
I saved it again and now it seems to work.
Thank you!
BTW, for my book I made a new one in MetaPost, see attachment.
\startMPpage
input layout.mp;
draw Layout;
\stopMPpage
Hraban
% Diagram of lay
On 07/11/2023 14:54, Lutz Haseloff wrote:
mutool convert -o metapost.svg -O text=path metapost.pdf
Hope it helps a little
yes, mutool was the key to remember.
thanks!
.F
___
If your question is of interest to
Hi Floris,
directly generating SVG with ConTeXt LMTX is not possible.
But, using LMTX to generate SVGs has some advantages over MPOST.
You can use ConTeXt's advanced color management (transparency and more) and you
can use the very nice font management.
So my "metapost" file is:
\s
With the latest lmtx installed, what would be the correct cli command to
generate a svg outputfile from a metapost source?
.Floris
___
If your question is of interest to others as well, please add an entry
in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf
> > <https://typoday.in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf>
> > and
> > https://twitter.com/santhoshtr/status/1577596445917470722
> > <https://twitter.com/santhoshtr/status/1577596445917470722>
>
tr/status/1577596445917470722>
Long live to metapost & metafont
(& mflua :-) :-) :-) )
when the font was released we (MS & HH) played a bit with it and
wondered about making a math companion ...
Hans
-
https://typoday.in/spk_papers/Santhosh_Thottingal_Typoday2023.pdf
and
https://twitter.com/santhoshtr/status/1577596445917470722
Long live to metapost & metafont
(& mflua :-) :-) :-) )
--
luigi
___
If your
r:
> > Hi,
> > I would like to obtain, if possible, a gray gradient like
in the
> image.
> > My code uses Metapost but maybe this is possible with
Metafun.
>
> Have a look into the Metafun manual, chapter 8.1 “shading”.
> > Best Wishes
> > Keith
> >
> > On Thu, 5 Oct 2023, 20:52 Henning Hraban Ramm, > <mailto:te...@fiee.net>> wrote:
> >
> > Am 05.10.23 um 21:50 schrieb Fabrice Couvreur:
> > > Hi,
> > > I would like to obtain, if possi
, if possible, a gray gradient like in the
image.
> My code uses Metapost but maybe this is possible with Metafun.
Have a look into the Metafun manual, chapter 8.1 “shading”.
Hraban
___
If your question
in, if possible, a gray gradient like in the image.
> > My code uses Metapost but maybe this is possible with Metafun.
>
> Have a look into the Metafun manual, chapter 8.1 “shading”.
>
> Hraban
>
>
> ___
Yes, indeed. The metafun manual also explains things about overlays and layers
I hadn't known. I'd previously ignored that manual.
Thank you,
Peter
> On 5/10/2023, at 7:05 PM, Thomas A. Schmitz
> wrote:
>
> Have a look at chapter 6.4 of the metafun manual. You need StartPage ...
> StopPage
Am 05.10.23 um 21:50 schrieb Fabrice Couvreur:
Hi,
I would like to obtain, if possible, a gray gradient like in the image.
My code uses Metapost but maybe this is possible with Metafun.
Have a look into the Metafun manual, chapter 8.1 “shading”.
Hraban
Hi,
I would like to obtain, if possible, a gray gradient like in the image. My
code uses Metapost but maybe this is possible with Metafun.
Thanks.
Fabrice
\starttext
\startMPcode
u=1.2cm;
interim ahangle := 30;
z0=(0,0);
z1=(3u,0
Have a look at chapter 6.4 of the metafun manual. You need StartPage ...
StopPage in your MPcode, then you can knock yourself out by using
variables such as PaperHeight or TextHeight and do all sorts of
calculations.
All best
Thomas
On 10/5/23 05:54, peter.hopcroft--- via ntg-context wrote:
Hello list,
I want to draw lines on a page. I want to pass my line coordinates as a percent
of \width or \textheight, rather than as millimetres. So that if I change the
page size I don't need to change the coordinates.
The MWE below compiles but the pdf does not have any lines drawn on it.
Would it be possible to list the contents to whet our appetites?
Best Wishes
Keith McKay
On Tue, 22 Aug 2023, 18:43 luigi scarso, wrote:
>
> An unmissable issue of MAPS, totally dedicated to MetaPost by Taco.
> Once free I will put it in the mp repository.
>
An unmissable issue of MAPS, totally dedicated to MetaPost by Taco.
Once free I will put it in the mp repository.
--
luigi
___
If your question is of interest to others as well, please add an entry to the
Wiki
. One
of the predefined units is 'uu' with an associated \ununit (dimension)
variable and it's is also interfaced to metafun. That means that when
you use uu in metapost graphics you have to make sure that you save the
meaning and/or numeric uu now.
The idea is that just as in mp one can say
pt 11pt 12pt 14.4pt 17.3pt 20.7pt
4pt 5pt 6pt 7pt 8pt 9pt, undefined: 11.2pt 12.8pt 14pt 16.8pt 16pt 19.2pt 24pt
30pt 36pt
mkiv lua stats > metapost: 0.000 seconds, loading: 0.033, execution: 0.000, n:
3, average: 0.011, instances: 1, luacalls: 14196 (file: 13784, text: 0, script:
393, log:
gister the needed macro for \definefontfeature -- and we want to
move forward with the new regime and not look back.
well, you wented symbols so ... why lua then (btw, no need for squeezine
as there are virtual commands for scaling; not for rotating; an
alternative is to define some chars in
On 8/12/2023 7:19 PM, Thangalin wrote:
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and not
Thanks Hans.
The \newinteger approach would always increment the value, regardless of
conditionals within the MetaPost code (i.e., it was like legend :=
"\ConcurrentTextGet" would always invoke the macro just be referencing the
MPgraphic and nothing would prevent its execution).
> On 7 Aug 2023, at 18:13, Henning Hraban Ramm wrote:
>
> while it’s too late for this year’s conferences, I’d like to have some nice
> ConTeXt, MetaPost or general TeX stickers for next year’s.
> Do you have ideas?
Here's my suggestion for a sticker that we can't us
cker camps.
Looking at other stickers I guess hacker humor is often a bit crude or
pubertal.
I didn’t say we should print this design – Moss or maybe DANTE will.
I’d like to have some interesting/funny stickers to promote ConTeXt (and
MetaPost/MetaFun). And while I like the Dodo, it’s a MkII
like to have some nice ConTeXt, MetaPost or general TeX stickers for next year’s.Do you have ideas?Find attached an example by Moss.Hraban___If your question is of interest to others as well, please add an entry
Hi,
while it’s too late for this year’s conferences, I’d like to have some
nice ConTeXt, MetaPost or general TeX stickers for next year’s.
Do you have ideas?
Find attached an example by Moss.
Hraban
TeXies do it in groups-pink-on-black.pdf-flat-no-ICC.pdf
Description: Adobe PDF document
I am in awe at this. Thanks for sharing.
On Wed, 19 Jul 2023 at 18:11, Henning Hraban Ramm wrote:
> Am 19.07.23 um 14:07 schrieb Taco Hoekwater:
> > First, find the actual point along the curve of the wave you want, then
> you can ask for the direction of the wave at that time, and its point:
>
Am 19.07.23 um 14:07 schrieb Taco Hoekwater:
First, find the actual point along the curve of the wave you want, then you can
ask for the direction of the wave at that time, and its point:
Thank you!
pair itime, iangle, boatpos;
itime = (wave[3] intersectiontimes
Hi,
First, find the actual point along the curve of the wave you want, then you can
ask for the direction of the wave at that time, and its point:
\startuseMPgraphic{Waves}
numeric height,stops,yoffset;
stops := 10;
height := OverlayHeight/10;
path wave[]; % storing waves
draw
On 19/07/2023 12:32, Henning Hraban Ramm wrote:
I find the waves not yet very convincing.
Depending on the intended weather,
I'd rather flatten the amplitudes out with the distance.
Unlike mountains, waves do not get much higher at the horizon.
.F
Hi,
I’d like a presentation progress indicator that looks like a boat on
waves – and if it works, it can also become a bike on hills or a mars
rover on dunes. But my math skills are lacking.
Below’s a mostly working draft.
* I find the waves not yet very convincing. Would it make sense to
d not work when more
sophisticated MetaPost transformations might be needed.
Along the lines of the conversion downsampler, a resolution reporter and
manual resampling could be more efficient than reconverting the bitmap
image at every run, of which there ca
. I've
tested all of the below with the latest ConTeXt.
If you give Metapost an out-of-order gradient, it produces an invalid
PDF. Both pages in this example:
\startbuffer[gradient]
http://www.w3
On 7/5/2023 3:47 PM, Leah Neukirchen wrote:
Hi,
I've been trying to use the 'cmarrows' metapost library with ConTeXt/mplib.
Essentially it's a thin wrapper around the cmr metafont sources to get
the arrowheads.
This triggers an incompatibility between mplib and classic mpost/mf:
pt#:=1pt
Hi,
I've been trying to use the 'cmarrows' metapost library with ConTeXt/mplib.
Essentially it's a thin wrapper around the cmr metafont sources to get
the arrowheads.
This triggers an incompatibility between mplib and classic mpost/mf:
pt#:=1pt;
In MetaFont/MetaPost pt# is an allowed identifier
(?) thesis of one
student. He never published the source code, and apparently he stopped
hosting it at all.
i suppose that it runs on a university machine
Unfortunately silent disappearance is a common fate of the really
interesting ConTeXt and MetaPost projects from Brno.
probably true for many
, and apparently he stopped
hosting it at all.
Unfortunately silent disappearance is a common fate of the really
interesting ConTeXt and MetaPost projects from Brno.
Hraban
___
If your question is of interest to others
https://ea.rna.nl/archimate/free-archimate-overview-pdf/
<https://ea.rna.nl/archimate/free-archimate-overview-pdf/>
The story at the end tells a bit about LMTX and how it was done (it's about
2500 lines of lua to parse the XML and produce the LMTX statements, and about
3500 lines of ME
CJK JP]
\definetypeface [noto-jp] [mm] [math] [pagella] [default]
\setupbodyfont [noto-jp]
\mainlanguage [ja]
\setscript [nihongo]
Thank you.
How do I change that in my setup?
My setup is creating the same stuff in different languages from XML
input (LMTX using lua and METAPOST), which means I need to
gt; \setupbodyfont [noto-jp]
>
> \mainlanguage [ja]
>
> \setscript [nihongo]
Thank you.
How do I change that in my setup?
My setup is creating the same stuff in different languages from XML input (LMTX
using lua and METAPOST), which means I need to adapt the following setup
eported buglets have been fixed.
>
> - The biggest addition is however a new number model. In metapost one can now
> use 'posit' (positfun instance) as number mode which will use (currently 32
> bit but at some point 64 bit) posit unums. It's also bit of a playground
> because 32
hen try to fix it (read: deal with it). It's a lot
> of work but we're getting there.
>
> - A few reported buglets have been fixed.
>
> - The biggest addition is however a new number model. In metapost one
> can now use 'posit' (positfun instance) as number mode which wil
number model. In metapost one
can now use 'posit' (positfun instance) as number mode which will use
(currently 32 bit but at some point 64 bit) posit unums. It's also bit
of a playground because 32 bit posits are not more accurate than 64 bit
doubles. It anyhow exposed some potential issues
umeral. You have 4 digit
>>> Kaktovik numerals for 2023, with both a 0 and a 1.
> je kunt direct dat nummer converteren maar blijkbaar gaf ik de verkeerde
> volgorde uit:
>
> \useMPlibrary[kaktovik] % de officiele manier
>
> \definefontfeature
> [default]
> [def
, with both a 0 and a 1.
je kunt direct dat nummer converteren maar blijkbaar gaf ik de verkeerde
volgorde uit:
\useMPlibrary[kaktovik] % de officiele manier
\definefontfeature
[default]
[default]
[metapost=kaktovik]
\setupbodyfont[dejavu]
\starttext
2023 \kaktoviknumerals{5}\kaktoviknumerals
-pod.nl
-
meta-imp-kaktovik.pdf
Description: Adobe PDF document
%D \module
%D [ file=meta-imp-kaktovik,
%Dversion=2023.04.18,
%D title=\METAPOST\ Graphics,
%D subtitle=Kaktovik Numbers,
%D author
On 4/13/2023 4:42 AM, Gavin via ntg-context wrote:
Hi Aditya,
Thanks for the suggestions. I hadn’t thought to dig into the MetaPost produced
when typesetting a LaTeX document.
In principle, it should be easier to adapt the feynmp.mp (attached) code to
make it work with LMTX.
This sounds
Hi Aditya,
Thanks for the suggestions. I hadn’t thought to dig into the MetaPost produced
when typesetting a LaTeX document.
> In principle, it should be easier to adapt the feynmp.mp (attached) code to
> make it work with LMTX.
This sounds like a good summer project for me. I’ll be
On Wed, 12 Apr 2023, Gavin via ntg-context wrote:
> Hi Aditya,
>
> > Have you tried using feynmp (the metapost macros) directly instead of the
> > LaTeX wrapper? Can you create an example that works with metapost but fails
> > in ConTeXt?
>
> No, I’m not
Hi Aditya,
> Have you tried using feynmp (the metapost macros) directly instead of the
> LaTeX wrapper? Can you create an example that works with metapost but fails
> in ConTeXt?
No, I’m not sure how to do that. I looked at the manual, and it has some
examples where new styles ar
t; "shapes" of paths available. So, which ones are actually needed?
>
> I think the needed shapes are:
> - dashed or dotted paths already built into MetaPost
> - paths that are wiggly, zig-zag or coiled
> - optional arrows on the paths
> - optional dots or blobs at t
k the needed shapes are:
- dashed or dotted paths already built into MetaPost
- paths that are wiggly, zig-zag or coiled
- optional arrows on the paths
- optional dots or blobs at the connecting points
This is plenty for someone doing Standard Model physics. Model builders doing
supersymmetric,
feynman with LaTeX in the past, but it
> > doesn’t look like either works directly with ConTeXt. My diagrams are
> > pretty basic (example below). Does anyone have a ConTeXt solution they
> > like? If not, I’ll add it to my list of summer MetaPost projects.
> Maybe Alan's node
101 - 200 of 4565 matches
Mail list logo