# [NTG-context] Compiling a large metapost document

Stefan Nedeljkovic tsar.srb at gmail.com
Thu Jun 2 04:41:31 CEST 2022

```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 at 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