ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* luaTeX and on-the-fly MetaPost compilation
@ 2008-05-23 21:28 Stephan Hennig
  2008-05-24  7:28 ` Taco Hoekwater
  2008-05-24  7:30 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Stephan Hennig @ 2008-05-23 21:28 UTC (permalink / raw)
  To: ntg-context

Hi,

I didn't have the opportunity to touch luaTeX yet, but let me ask one
question in advance:  Since luaTeX has a built-in MetaPost interpreter,
is it possible to refer to a certain figure in a MetaPost source file
for inclusion, instead of a compiled figure?

As an example, I would like to say in a TeX document (syntax may differ)

  \includeMetaPost{foo.2}

and this should not refer to the pre-compiled file

  foo.2

but to section

  figure(2);
    ...
  endfig;

in file

  foo.mp

and compile it on-the-fly.  Would that be possible?

Rationale:  I do not want to mix TeX and MetaPost code.  Probably, I'll
stick with compiling .mp files prior to the TeX run anyway, but I'm
curious about this option.

Best regards,
Stephan Hennig

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-24 16:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-23 21:28 luaTeX and on-the-fly MetaPost compilation Stephan Hennig
2008-05-24  7:28 ` Taco Hoekwater
2008-05-24  7:30 ` Hans Hagen
2008-05-24 10:49   ` Stephan Hennig
2008-05-24 13:21     ` Taco Hoekwater
2008-05-24 13:25       ` Taco Hoekwater
2008-05-24 16:54     ` Hans Hagen

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).