ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Including a separate .mp file
@ 2020-03-15 15:48 Gerben Wierda
  2020-03-15 17:39 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda @ 2020-03-15 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I’d like to load a separate file with definitions. Something that contains

% file: my definitions.mp
\startMPdefinitions
… my definitions ...
\stopMPdefinitions

How do I get this loaded in LuaTeX? How are files found if I want it somewhere in my personal text tree?

G
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Including a separate .mp file
  2020-03-15 15:48 Including a separate .mp file Gerben Wierda
@ 2020-03-15 17:39 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2020-03-15 17:39 UTC (permalink / raw)
  To: ntg-context

On 3/15/20 4:48 PM, Gerben Wierda wrote:
> I’d like to load a separate file with definitions. Something that contains
>
> % file: my definitions.mp
> \startMPdefinitions
> … my definitions ...
> \stopMPdefinitions

Hi Gerben,

I never use MetaFun, but a simple \input{definitions.mp} seemed to work
with the code contained in buffers from a to f from metafun-welcome.tex.

If this doesn’t work, please provide a minimal sample.

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-03-15 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 15:48 Including a separate .mp file Gerben Wierda
2020-03-15 17:39 ` Pablo Rodriguez

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