Hi, the following example just prints »Hello World!«, without the square. What's wrong? \startuseMPgraphic{test} fill fullsquare scaled 5cm; \stopuseMPgraphic \starttext Hello World! \useMPgraphic{test} \stoptext ConTeXt ver: 2010.03.20 22:59 MKIV this is luatex, version beta-0.50.0-2009122419 BTW: The same with luatex 0.52 Thanks in advance. marco
On Wed, Mar 31, 2010 at 2:33 AM, Marco
Hi,
the following example just prints »Hello World!«, without the square. What's wrong?
\startuseMPgraphic{test} fill fullsquare scaled 5cm; \stopuseMPgraphic
\starttext Hello World! \useMPgraphic{test} \stoptext
ConTeXt ver: 2010.03.20 22:59 MKIV this is luatex, version beta-0.50.0-2009122419 BTW: The same with luatex 0.52 works ok here MTXrun | current version: 2010.03.30 18:56 This is LuaTeX, Version beta-0.52.0-2010031803 (rev 3515)
-- luigi
On 31 Mar 2010, at 03:00, luigi scarso wrote:
On Wed, Mar 31, 2010 at 2:33 AM, Marco
wrote: Hi,
the following example just prints »Hello World!«, without the square. What's wrong?
\startuseMPgraphic{test} fill fullsquare scaled 5cm; \stopuseMPgraphic
\starttext Hello World! \useMPgraphic{test} \stoptext
ConTeXt ver: 2010.03.20 22:59 MKIV this is luatex, version beta-0.50.0-2009122419 BTW: The same with luatex 0.52 works ok here MTXrun | current version: 2010.03.30 18:56 This is LuaTeX, Version beta-0.52.0-2010031803 (rev 3515)
works ok here MacOsX 10.4 This is LuaTeX, Version beta-0.52.0-2010031913 ConTeXt ver: 2010.03.30 18:56 MKIV fmt: 2010.3.30 int: english/ english Willi
-- luigi ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________
Hi,
Do you have all the formats generated? (mptopdf etc.)
No. Thanks for the hint (the logfile also told me, I know now). It works now. The problem was that I use a system-wide setup and the $TEXMFCACHE tree was not writable by the users. I now introduced the »chmod« line, see below. I'm not an expert. This is how I update my system. Is this correct? Or can the metafun format also be generated by root, so I can remove the world write access? # sh first-setup.sh --extras=all # . /usr/local/share/context/tex/setuptex # cp luatex-0.52 /usr/local/share/context/bin/luatex # cp luatex-0.52 /usr/local/share/context/tex/texmf-linux/bin/luatex # chmod -R a+rwx /usr/local/share/context/te/texmf-cache # luatools --generate # texhash # context --make # texexec --make $ context test.tex BTW: Can I achieve that the luatex binary will not be overwritten by first-setup.sh? Thanks for your replies. marco
On Wed, Mar 31, 2010 at 14:32, Marco wrote:
Hi,
Do you have all the formats generated? (mptopdf etc.)
No. Thanks for the hint (the logfile also told me, I know now). It works now. The problem was that I use a system-wide setup and the $TEXMFCACHE tree was not writable by the users. I now introduced the »chmod« line, see below.
I'm not an expert. This is how I update my system. Is this correct? Or can the metafun format also be generated by root, so I can remove the world write access?
# sh first-setup.sh --extras=all # . /usr/local/share/context/tex/setuptex # cp luatex-0.52 /usr/local/share/context/bin/luatex # cp luatex-0.52 /usr/local/share/context/tex/texmf-linux/bin/luatex # chmod -R a+rwx /usr/local/share/context/te/texmf-cache
You can most probably do export TEXMFCACHE=~/.context/texmf-cache as well (but then every user would have to generate his own database).
# luatools --generate # texhash # context --make # texexec --make
$ context test.tex
BTW: Can I achieve that the luatex binary will not be overwritten by first-setup.sh?
Do you mean because of the old luatex binary (Hans seems to have been a bit busy in the meantime) in linux or is there some other reason? In theory you can do ./first-setup.sh --flags='[you need a pattern to ignore luatex binary when syncing]' An alternative would be to add texmf-local/bin to PATH and put your version of luatex to that place. If you have a script, you don't need to call setuptex. It should be enough to set the PATH variable properly. Mojca
Hi Mojca
You can most probably do export TEXMFCACHE=~/.context/texmf-cache as well (but then every user would have to generate his own database).
OK. That's true. But then I will end up in redundant data. Maybe export TEXMFCACHE=/var/tmp/context/texmf-cache works. Then I have no world write permission in the /usr tree. I'll check it next update.
Do you mean because of the old luatex binary (Hans seems to have been a bit busy in the meantime) in linux or is there some other reason?
No. The luatex binary is way too old for the »beta« tree. But it's not a real problem as it always can be updated manually.
./first-setup.sh --flags='[you need a pattern to ignore luatex binary when syncing]'
This looks nice as a workaround 'till 0.50 will face away. But how will this pattern look like? Kinda regex? The files in question are /usr/local/share/context/bin/luatex /usr/local/share/context/tex/texmf-linux/bin/luatex Thanks for your help and answers. marco
On Thu, Apr 1, 2010 at 21:43, Marco wrote:
Do you mean because of the old luatex binary (Hans seems to have been a bit busy in the meantime) in linux or is there some other reason?
No. The luatex binary is way too old for the »beta« tree. But it's not a real problem as it always can be updated manually.
It's updated now. That should not happen for linux under any normal circumstances, but some of developers were too busy this time.
./first-setup.sh --flags='[you need a pattern to ignore luatex binary when syncing]'
This looks nice as a workaround 'till 0.50 will face away. But how will this pattern look like? Kinda regex?
Take a look at "man rsync" under "FILTER RULES". One would need some experimenting, I'm not sure what would work best. Mojca
participants (4)
-
luigi scarso
-
Marco
-
Mojca Miklavec
-
Willi Egger