Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I really like the idea of the emp package - you write your MetaPost sources directly in LaTeX source. However, I can't make this package work. I read the official readme, but to no avail. Some of my problems:

  • Should every emp command go inside an empfile environment?
  • Should I have one big empfile environment that contains all of my TeX source? (If yes, then it's terribly ugly!)
  • Why am I mixing TeX code and MetaPost code inside emp* environments?
  • Do I have to put emp environment inside a figure environment?
  • Can I have multiple unnamed empfile environments?

In other words: How does this thing work?

share|improve this question
    
Have you read the package documentation? It contains examples. –  Gonzalo Medina Sep 12 '11 at 23:27
    
@Gonzalo: I did, but they are not explanatory enough for me - all of the commands are explained without showing the full TeX source, or for example the empfile environment spans for the whole document (which is very short). –  Jasiu Sep 12 '11 at 23:29
1  
I suggest you to look also at the more recent packages mpgraphics and gmp (I'm the author of the latter). –  egreg Sep 12 '11 at 23:47
add comment

1 Answer

I suggest you to look also at the more recent packages mpgraphics and gmp (I'm the author of the latter), as emp looks not to have been maintained for a long time.

Both package do what emp is able to do, and much more.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.