From: Stefan Nedeljkovic via ntg-context <ntg-context@ntg.nl>
To: Max Chernoff <mseven@telus.net>
Cc: Stefan Nedeljkovic <tsar.srb@gmail.com>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Compiling a large metapost document
Date: Thu, 2 Jun 2022 04:41:31 +0200 [thread overview]
Message-ID: <CAGraPNeM35084iyuXtfhU4v90-g34bcR=Goyh9cM91QFqOLe6w@mail.gmail.com> (raw)
In-Reply-To: <86576d0a-1fa1-114a-7179-761e44834354@telus.net>
[-- Attachment #1.1: Type: text/plain, Size: 860 bytes --]
There is one more problem: the pdf generated has incorrect margins. I tried
to manually calculate the size in ps points and run gs directly, but the
results are the same. How can I get an accurate rendering of the page?
On Thu, Jun 2, 2022 at 4:22 AM Max Chernoff <mseven@telus.net> wrote:
> On 2022-06-01 8:00 p.m., Stefan Nedeljkovic wrote:
> > Thank you very much Max! It works indeed! One more question. How would I
> > import the eps file back into MPpage, so I could do trickery with text.
>
> Convert the PostScript file into PDF with either "ps2pdf" or
> GhostScript, then you can import the file with "externalfigure":
>
> \startMPpage
> draw externalfigure "belgrade_gm.pdf";
> draw textext.top("One") shifted (264.352, 116.362);
> draw textext.top("Two") shifted (306.821, 186.907);
> \stopMPpage
>
> -- Max
>
[-- Attachment #1.2: Type: text/html, Size: 1259 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-06-02 2:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 14:48 Stefan Nedeljkovic via ntg-context
2022-06-01 16:43 ` Stefan Nedeljkovic via ntg-context
2022-06-01 17:24 ` Bruce Horrocks via ntg-context
2022-06-01 17:35 ` Stefan Nedeljkovic via ntg-context
2022-06-01 18:34 ` Thomas A. Schmitz via ntg-context
2022-06-01 20:15 ` Stefan Nedeljkovic via ntg-context
2022-06-01 20:16 ` Stefan Nedeljkovic via ntg-context
2022-06-01 20:25 ` Thomas A. Schmitz via ntg-context
2022-06-01 21:30 ` Stefan Nedeljkovic via ntg-context
2022-06-01 22:26 ` Bruce Horrocks via ntg-context
2022-06-02 7:18 ` Thomas A. Schmitz via ntg-context
2022-06-02 8:51 ` Stefan Nedeljkovic via ntg-context
2022-06-02 10:15 ` Hans Hagen via ntg-context
2022-06-02 10:36 ` Stefan Nedeljkovic via ntg-context
2022-06-01 23:45 ` Max Chernoff via ntg-context
2022-06-02 2:00 ` Stefan Nedeljkovic via ntg-context
2022-06-02 2:22 ` Max Chernoff via ntg-context
2022-06-02 2:41 ` Stefan Nedeljkovic via ntg-context [this message]
2022-06-02 3:21 ` Stefan Nedeljkovic via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGraPNeM35084iyuXtfhU4v90-g34bcR=Goyh9cM91QFqOLe6w@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=mseven@telus.net \
--cc=tsar.srb@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).