Re: [NTG-context] mptopdf missing
Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posse epo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? Another question: when I run mtxrun --script I obtain nothing: [eposse@flamenco:~/Tests/latex] mtxrun --script [eposse@flamenco:~/Tests/latex] My question is: shouldn't this return a list of available scripts? Thanks. Mojca ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mptopdf missing
On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagen pra...@wxs.nl wrote: On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. I'm using it for stand-alone graphics, to be included in a latex file, to be compiled with pdflatex. In short, I have a diagram in mp, and I used to do the following: mpost diagram.mp mptopdf diagram.1 My understanding is that the .1 file generated by mpost is actually an .eps file, but pdflatex doesn't accept it, and that's why I used mptopdf. I do not see any options in either mpost or context that would allow me to do that. How could I use any of these to get a pdf? Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mptopdf missing
On Tue, Nov 29, 2011 at 3:45 PM, Hans Hagen pra...@wxs.nl wrote: On 29-11-2011 20:36, Ernesto Posse wrote: On Tue, Nov 29, 2011 at 12:51 PM, Hans Hagenpra...@wxs.nl wrote: On 29-11-2011 18:07, Ernesto Posse wrote: Thanks, On Tue, Nov 29, 2011 at 11:44 AM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Nov 28, 2011 at 21:44, Ernesto Posseepo...@gmail.com wrote: Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? I would suggest to ask the Ubuntu maintainer of TeX Live package. I can tell you that mptopdf is a different package in TeX Live 2011, but ConTeXt should have a dependency on that package. What exactly Ubuntu did on their system ... I have no idea. The developer is free to ask questions here, but in principle we cannot help you much unless some Ubuntu freak speaks up. I thought that mptopdf was part of ConTeXt... to is it part of TeX Live instead? It is part of context but as context moves on (mkiv) no user will use mptopdf as (1) mp processing is built into the core, and (2) fo rstand alone graphics the mkiv related context and metapost scripts can do the same as mptopdf. I'm using it for stand-alone graphics, to be included in a latex file, to be compiled with pdflatex. In short, I have a diagram in mp, and I used to do the following: mpost diagram.mp mptopdf diagram.1 My understanding is that the .1 file generated by mpost is actually an ..eps file, but pdflatex doesn't accept it, and that's why I used mptopdf. I do not see any options in either mpost or context that would allow me to do that. How could I use any of these to get a pdf? what happens if you rename the .1 to .mps? inclusion of mp in pdftex should work ok in latex (as it uses the mp to pdf converter that is also used in mptopdf) That seems to do the trick, thanks! Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mptopdf missing
Hi. I have a fresh installation of ConTeXt on Ubuntu 11.10, straight from Ubuntu's repository (version 2011.05.18.20110627-1) but the mptopdf script seems to be missing, and mtxrun doesn't show any available scripts. What could be the problem? [eposse@flamenco:~/Tests/latex] mptopdf mptopdf: command not found [eposse@flamenco:~/Tests/latex] mtxrun --script [eposse@flamenco:~/Tests/latex] In synaptic's package manager I can see that the following files where installed, but not the actual script... /usr/share/texmf/tex/mptopdf /usr/share/texmf/tex/mptopdf/config /usr/share/texmf/tex/mptopdf/config/mptopdf.ini Thanks -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] luatex-cache setup
Hello. I use a few tools from ConTeXt such as mptopdf, and whenever I run them they generate a 'luatex-cache' folder directly under my user folder, but this luatex-cache folder is not hidden. How can I configure ConTeXt or luatex to tell it where the cache folder should be? (I looked up the archives and docs but I didn't find anything about this.) Thanks -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-cache setup
I'm confused. my /etc/texmf.cnf file contains: TEXMFCACHE = /var/tex/cache and this directory exists but it is empty. Why is this being ignored? If I don't have a user-specific environment variable with that name, shouldn't the one from texmf.cnf be used? Furthermore, when I run kpsewhich -var-value TEXMFCACHE it shows that directory, but when I run texconfig, TEXMFCACHE does not appear under kpathsea variables. What is the problem? PS: I'm running context 2009.11.26-2, luatex 0.60.1-1build2, texlive-luatex 2009-10 on ubuntu 10.10. On Tue, Apr 12, 2011 at 11:29 AM, Marco net...@lavabit.com wrote: On 2011-04-12 Ernesto Posse epo...@cs.queensu.ca wrote: Hello. I use a few tools from ConTeXt such as mptopdf, and whenever I run them they generate a 'luatex-cache' folder directly under my user folder, but this luatex-cache folder is not hidden. How can I configure ConTeXt or luatex to tell it where the cache folder should be? (I looked up the archives and docs but I didn't find anything about this.) Point the environment variable TEXMFCACHE to a directory where the user has write access to. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___