From: Matthias Weber <matweber@indiana.edu>
Subject: Re: Metapost and TeX
Date: Mon, 23 Aug 2004 22:02:50 -0500 [thread overview]
Message-ID: <156E4279-F57A-11D8-94A4-000A959AFACC@indiana.edu> (raw)
In-Reply-To: <77347076e58b.76e58b773470@tampabay.rr.com>
This is not exactly an answer to your question, but it might
solve your problem.
You can use overlays with any figure, see cont-eni.pdf page 150ff.
The mechanism is not so much the tex-engine TeX but one of the many
little
add-ons that come with ConText and exploit features of PDF.
In particular, you can use your PDFs directly in ConText.
I found this easier than to teach my picture producing applications to
use the
right fonts in the right way at the right place.
Matthias
On Aug 23, 2004, at 9:48 PM, skhilji@tampabay.rr.com wrote:
> I don't have any experience in metapost. I would appreciate if
> someone would please answer this question without me having to do thru
> tutorials and metapost source code.
>
> I was wondering how does metapost talk to TeX? Quicky glancing
> through the metafun book, I found out that you can super-impose text
> typeset by TeX on top of a diagram. I imagine you could do the same
> with mathematical equations too.
>
> So how does metapost interact with TeX? Let me guess:
>
> 1) Metapost could first write down to a file the text that it wan't
> TeX to typeset. It could then run TeX on the file. TeX produces a
> DVI file and metapost reads it back. It can then superimpose it on
> top of a picture.
>
> 2) Metapost could also be including within itself a simplified
> version of TeX. But that would be reinventing the wheel.
>
> So how does it happen in reality?
>
> The reason that I am asking is that I am interested in producing some
> diagrams using the libHARU PDF library (a C++ library to produce PDF
> files). Beautiful Text support, however, is missing from the library.
> I was wondering if I could hack it up so that I could somehow use TeX
> for the text part and C++ calls for the graphics part.
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
next prev parent reply other threads:[~2004-08-24 3:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 2:48 Metapost and TeX [OT] skhilji
2004-08-24 3:02 ` Matthias Weber [this message]
2004-08-24 6:08 ` Brooks Moses
2004-08-24 8:18 ` Hans Hagen
2004-08-24 6:14 ` Taco Hoekwater
2004-08-24 8:21 ` Hans Hagen
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=156E4279-F57A-11D8-94A4-000A959AFACC@indiana.edu \
--to=matweber@indiana.edu \
--cc=ntg-context@ntg.nl \
/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).