Dear list members, I'm a new user of conTeXt and was interested in the simpleslides module. It looks great and partially works but most graphical stuffs don't work : I've only the text using Mark IV, and get some of the graphical effects with Mark II (but not all) (I've attached pdf output and logs). I use a freshly installed ubuntu 9.04 I've installed the module (in my ~/texmf). I've added in /etc/environment the variable TEXMFCNF=/usr/share/texmf/web2c in order for luatools and MarkIV to work. cf http://wiki.contextgarden.net/Debian_installation#Postscript:_Mark_IV (the exemple file works) versions : $ texexec --lua -v TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD $ luatools -v LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT $ luatex -v This is LuaTeX, Version snapshot-0.28.0-2009041620 I hope that you have some hints on what I might have wrong, In mark IV, it looks like I have a version problem for metafun, but I'm not sure and don't now how to get the version number. Best regards Amaël Broustet
On May 6, 2009, at 6:59 PM, Amaël Broustet wrote:
Dear list members, I'm a new user of conTeXt and was interested in the simpleslides module.
It looks great and partially works but most graphical stuffs don't work : I've only the text using Mark IV, and get some of the graphical effects with Mark II (but not all) (I've attached pdf output and logs).
I use a freshly installed ubuntu 9.04
It seems you are using the texlive install from ubuntu. Normally, I would advise installing the minimals (see http://wiki.contextgarden.net/ConTeXt_Minimals ), but the ConTeXt beta is a bit unstable these days. I have run your essai.tex here and get proper output both in mkii and mkiv.
I've installed the module (in my ~/texmf). I've added in /etc/environment the variable TEXMFCNF=/usr/share/texmf/web2c in order for luatools and MarkIV to work. cf http://wiki.contextgarden.net/Debian_installation#Postscript:_Mark_IV (the exemple file works)
Yes, your logs indicate that the module and its submodules are found, so the installation is correct.
versions : $ texexec --lua -v TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
$ luatools -v LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT
$ luatex -v This is LuaTeX, Version snapshot-0.28.0-2009041620
I hope that you have some hints on what I might have wrong, In mark IV, it looks like I have a version problem for metafun, but I'm not sure and don't now how to get the version number.
Best regards Amaël Broustet
In order to get the version number, simply look at the log files. It says in the first few lines: ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.4.29 int: english/ english and ConTeXt ver: 2008.05.21 15:21 MKIV fmt: 2009.5.5 int: english/english So your ConTeXt version is almost a year old. For mkiv, which is moving very fast, this means the stone age, and I don't think anybody will be able or willing to help you with such an old version. The problem in the mkiv log is that your metafun version is not able to process the background (after l. 80), that's why you don't get any graphics. In mkii, I don't see anything obvious in the log. But as I wrote: your example compiles fine here on the latest version ConTeXt ver: 2009.05.06 16:26 MKII fmt: 2009.5.7 int: english/english so you should try and install the minimals. It's no problem having them in addition to your system TeX installation, they shouldn't interfere. Thomas
ec:ec->14->2:2 la->ec:ec->15->2:2 pt->texnansi:texnansi->16->2:2
Thank you for the advice. I followed it but still run in some problems : I used ~/context$ sh ./first-setup.sh --extras="t-simpleslides" then :~/context$ source ./tex/setuptex Everythings look fine : ~/context$ luatools t-simpleslides.tex /home/amael3/context/tex/texmf-context/tex/context/third/simple-slides/t-simpleslides.tex ~/context$ kpsewhich t-simpleslides.tex /home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex ~/context$ type texexec texexec est haché (/home/amael3/context/tex/texmf-linux/bin/texexec) ~/context$ type luatools luatools est haché (/home/amael3/context/tex/texmf-linux/bin/luatools) My essai.tex file is : ~/context$ cat essai.tex \usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24] \setupTitle [ title={Essai / Try SimpleSlides}, author={Amaël Broustet}, date={6 mai 2009}, ] \starttext \placeTitle \SlideTitle{Le premier slide} Essai \stoptext but when I run mark IV : ~/context$ texexec --lua essai.tex TeXExec | processing document 'essai.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file essai.top TeXExec | using randomseed 1287 TeXExec | tex engine: luatex TeXExec | tex format: cont-en LuaTools | running command: luatex --fmt="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en" --lua="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en.luc" "essai.tex" This is LuaTeX, Version beta-0.40.0-2009042222 (Web2C 7.5.7) \write18 enabled. (essai.tex ConTeXt ver: 2009.05.06 23:23 MKIV fmt: 2009.5.7 int: english/english system : essai.top loaded (essai.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active system : module simpleslides not found ! Undefined control sequence. l.3 \setupTitle and Mark II : ~/context$ texexec essai.tex TeXExec | processing document 'essai.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file essai.top TeXExec | using randomseed 83 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7) \write18 enabled. (/home/amael3/context/tex/texmf-context/web2c/natural.tcx) entering extended mode (./essai.tex ConTeXt ver: 2009.05.06 23:23 MKII fmt: 2009.5.7 int: english/english system : cont-new loaded (/home/amael3/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/home/amael3/context/tex/texmf-context/tex/context/base/cont-new.mkii) (/home/amael3/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (/home/amael3/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (/home/amael3/context/tex/texmf-context/tex/context/user/cont-sys.rme (/home/amael3/context/tex/texmf-context/tex/context/base/type-tmf.tex) (/home/amael3/context/tex/texmf-context/tex/context/base/type-siz.tex (/home/amael3/context/tex/texmf-context/tex/context/base/type-siz.mkii)) (/home/amael3/context/tex/texmf-context/tex/context/base/type-one.tex) (/home/amael3/context/tex/texmf-context/tex/context/base/type-akb.tex)) system : essai.top loaded (./essai.top) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:2 nl->ec:ec->2->2:2 us-> ec:ec->3->2:3 de->texnansi:texnansi->4->3:3 de->ec:ec->5->3:3 da->ec:ec->6->2:2 sv->ec:ec->7->2:2 gb->ec:ec->8->2:2 fr->texnansi:texnansi->9->2:2 fr->ec:ec->1 0->2:2 es->ec:ec->11->2:2 ca->ec:ec->12->2:2 it->texnansi:texnansi->13->2:2 it- pt->ec:ec->17 ->2:2 ro->ec:ec->18->2:2 pl->pl0:pl0->19->2:2 pl->ec:ec->20->2:2 pl->qx:qx->21-
2:2 cs->il2:il2->22->2:2 cs->ec:ec->23->2:2 sk->il2:il2->24->2:2 sk->ec:ec->25 ->2:2 hr->ec:ec->26->2:2 sl->ec:ec->27->2:2 tr->ec:ec->28->2:2 agr->agr:agr->30 ->2:2 fi->ec:ec->31->2:2 hu->ec:ec->32->2:2 ru->t2a:t2a->35->2:2 uk->t2a:t2a->3 6->3:3 loaded specials : dvips loaded systems : system commands are enabled language : language en is active specials : loading definition file tpd (/home/amael3/context/tex/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/home/amael3/context/tex/texmf-context/tex/context/base/spec-fdf.tex)) system : module simpleslides loaded (/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex loading : module simpleslides system : module default loaded (/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-default.tex simpleslides : loading default style setup
color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated ) system : module BigNumber loaded
(/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-BigNumber.te x simpleslides : loading Big Number style system : command \NormalHeight is already defined system : command \NormalWidth is already defined system : command \PictureFrameHeight is already defined system : command \PictureFrameWidth is already defined color : specification [s=0] at color simpleslides:textcolor becomes b lack ) system : module default loaded (/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-f-default.tex simpleslides : loading default font setup ! Illegal unit of measure (pt inserted). <to be read again> \relax l.31 ...\moduleparameter{simpleslides}{size}\relax ? Do you have any suggestion ? Sorry for the long logs inside the body of the email. Best, Amaël P.S : the installation of simple-slides seems to have worked : ~/context$ ls -R | grep simple simple-slides ./tex/texmf-context/doc/context/third/simple-slides: simple-slides.pdf simple-slides.tex ./tex/texmf-context/doc/context/third/simple-slides/solutions: ./tex/texmf-context/doc/context/third/simple-slides/styles: simple-slides ./tex/texmf-context/scripts/context/lua/third/simple-slides: mtx-simpleslides.lua t-simpleslides.xml simple-slides ./tex/texmf-context/tex/context/third/simple-slides: simpleslides-f-default.tex simpleslides-s-BigNumber.tex simpleslides-s-BottomSquares.tex simpleslides-s-Boxed.tex simpleslides-s-default.tex simpleslides-s-Ellipse.tex simpleslides-s-Embossed.tex simpleslides-s-Framed.tex simpleslides-s-FramedTitle.tex simpleslides-s-HorizontalStripes.tex simpleslides-s-NarrowStripes.tex simpleslides-s-RainbowStripe.tex simpleslides-s-Rounded.tex simpleslides-s-Shaded.tex simpleslides-s-SideSquares.tex simpleslides-s-Split.tex simpleslides-s-Sunrise.tex simpleslides-s-Swoosh.tex simpleslides-s-ThickStripes.tex t-simpleslides.tex t-simpleslides.tpm Le jeudi 07 mai 2009 à 09:22 +0200, Thomas A. Schmitz a écrit :
On May 6, 2009, at 6:59 PM, Amaël Broustet wrote:
Dear list members, I'm a new user of conTeXt and was interested in the simpleslides module.
It looks great and partially works but most graphical stuffs don't work : I've only the text using Mark IV, and get some of the graphical effects with Mark II (but not all) (I've attached pdf output and logs).
I use a freshly installed ubuntu 9.04
It seems you are using the texlive install from ubuntu. Normally, I would advise installing the minimals (see http://wiki.contextgarden.net/ConTeXt_Minimals ), but the ConTeXt beta is a bit unstable these days. I have run your essai.tex here and get proper output both in mkii and mkiv.
I've installed the module (in my ~/texmf). I've added in /etc/environment the variable TEXMFCNF=/usr/share/texmf/web2c in order for luatools and MarkIV to work. cf http://wiki.contextgarden.net/Debian_installation#Postscript:_Mark_IV (the exemple file works)
Yes, your logs indicate that the module and its submodules are found, so the installation is correct.
versions : $ texexec --lua -v TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
$ luatools -v LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT
$ luatex -v This is LuaTeX, Version snapshot-0.28.0-2009041620
I hope that you have some hints on what I might have wrong, In mark IV, it looks like I have a version problem for metafun, but I'm not sure and don't now how to get the version number.
Best regards Amaël Broustet
In order to get the version number, simply look at the log files. It says in the first few lines:
ConTeXt ver: 2008.05.21 15:21 MKII fmt: 2009.4.29 int: english/ english
and
ConTeXt ver: 2008.05.21 15:21 MKIV fmt: 2009.5.5 int: english/english
So your ConTeXt version is almost a year old. For mkiv, which is moving very fast, this means the stone age, and I don't think anybody will be able or willing to help you with such an old version. The problem in the mkiv log is that your metafun version is not able to process the background (after l. 80), that's why you don't get any graphics. In mkii, I don't see anything obvious in the log. But as I wrote: your example compiles fine here on the latest version ConTeXt ver: 2009.05.06 16:26 MKII fmt: 2009.5.7 int: english/english
so you should try and install the minimals. It's no problem having them in addition to your system TeX installation, they shouldn't interfere.
Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Ok I thought i didn't need to do luatools --generate I run it and after that I got the same error with markIV that with markII : ~/context$ texexec --lua essai.tex TeXExec | processing document 'essai.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file essai.top TeXExec | using randomseed 764 TeXExec | tex engine: luatex TeXExec | tex format: cont-en LuaTools | running command: luatex --fmt="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en" --lua="/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en.luc" "essai.tex" This is LuaTeX, Version beta-0.40.0-2009042222 (Web2C 7.5.7) \write18 enabled. (essai.tex ConTeXt ver: 2009.05.06 23:23 MKIV fmt: 2009.5.7 int: english/english system : essai.top loaded (essai.top) fonts : preloading latin modern fonts bodyfont : 12pt rm is loaded language : language en is active system : module simpleslides loaded (/home/amael3/texmf/tex/context/third/simple-slides/t-simpleslides.tex loading : module simpleslides system : module default loaded (/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-default.tex simpleslides : loading default style setup color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated ) system : module BigNumber loaded (/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-s-BigNumber.tex simpleslides : loading Big Number style system : command NormalHeight is already defined system : command NormalWidth is already defined system : command PictureFrameHeight is already defined system : command PictureFrameWidth is already defined ) system : module default loaded (/home/amael3/texmf/tex/context/third/simple-slides/simpleslides-f-default.tex simpleslides : loading default font setup ! Illegal unit of measure (pt inserted). <to be read again> \relax l.31 ...\moduleparameter{simpleslides}{size}\relax ? If I press "enter" to continue, I get errors with fonts like this one : define font | font with name unknown is not found define font | unknown font unknown, loading aborted define font | unable to define unknown as \*24ptsstfss* [...] define font | unable to define unknown as \*30ptmmmr1ss* fonts : needs map file: original-base mplib : making 'metafun.mp' into '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem' mplib : problems with 'metafun.mp' from '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem' ][1.1] [...] mplib : making 'metafun.mp' into '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem' mplib : problems with 'metafun.mp' from '/home/amael3/context/tex/texmf-cache/luatex-cache/context/7280baf46d1f2412a3c85f3ce864846b/formats/cont-en-metafun.mem' [2.2] systems : end file essai at line 13 ) mkiv lua stats : used config path - /home/amael3/context/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /home/amael3/context/tex/texmf-cache mkiv lua stats : input load time - 0.034 seconds mkiv lua stats : stored bytecode data - 165 modules, 42 tables, 207 chunks mkiv lua stats : cleaned up reserved nodes - 26 nodes, 9 lists of 1411 mkiv lua stats : node memory usage - 13 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : callbacks - direct: 202, indirect: 1349, total: 1551 mkiv lua stats : luatex banner - this is luatex, version beta-0.40.0 Might it be related to the actual bugs in beta ? best, Amaël
Amaël Broustet wrote:
Ok I thought i didn't need to do luatools --generate I run it and after that I got the same error with markIV that with markII :
After looking at your input, this is expected. The argument to 'size' is a dimension, so it should be followed by 'pt': \usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24pt] Best wishes, Taco
From the log (attached below), it's a problem with fonts :
Thank you !! As I wrote, I have a blank pdf (size is only 1700 bytes). there is a whole page of simpleslides : loading default font setup define font | font with name unknown is not found define font | unknown font unknown, loading aborted define font | unable to define unknown as \*24ptsstfss* I'm reading messages about beta and font generation, maybe it's related. Best Amaël Le jeudi 07 mai 2009 à 13:14 +0200, Taco Hoekwater a écrit :
Amaël Broustet wrote:
Ok I thought i didn't need to do luatools --generate I run it and after that I got the same error with markIV that with markII :
After looking at your input, this is expected. The argument to 'size' is a dimension, so it should be followed by 'pt':
\usemodule[simpleslides][style=BigNumber,font=Helvetica,size=24pt]
Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On May 7, 2009, at 1:27 PM, Amaël Broustet wrote:
From the log (attached below), it's a problem with fonts :
Thank you !! As I wrote, I have a blank pdf (size is only 1700 bytes). there is a whole page of
simpleslides : loading default font setup define font | font with name unknown is not found define font | unknown font unknown, loading aborted define font | unable to define unknown as \*24ptsstfss*
I'm reading messages about beta and font generation, maybe it's related.
Best Amaël
Hmm, I get proper output with the test document you sent, and I'm using the same version you are. Just to be safe, could you run these commands 1. rm ~/context/tex/texmf-cache/luatex-cache/* 2. luatools --generate 3. context --make 4. then rm all essai.tu* files and process essai.tex again with mkiv: 5. context essai Sorry you're having so much trouble, as you may have seen, mkiv is having a particularly busy time right now; things will probably calm down during the next days. Thomas
Merci !!!! Than you very much, it works ! I don't know why. Just a question : what is the difference between "texexec --lua" and context ? Best, Amaël Le jeudi 07 mai 2009 à 15:08 +0200, Thomas A. Schmitz a écrit :
On May 7, 2009, at 1:27 PM, Amaël Broustet wrote:
From the log (attached below), s the iit's a problem with fonts :
Thank you !! As I wrote, I have a blank pdf (size is only 1700 bytes). there is a whole page of
simpleslides : loading default font setup define font | font with name unknown is not found define font | unknown font unknown, loading aborted define font | unable to define unknown as \*24ptsstfss*
I'm reading messages about beta and font generation, maybe it's related.
Best Amaël
Hmm, I get proper output with the test document you sent, and I'm using the same version you are. Just to be safe, could you run these commands
1. rm ~/context/tex/texmf-cache/luatex-cache/*
2. luatools --generate
3. context --make
4. then rm all essai.tu* files and process essai.tex again with mkiv:
5. context essai
Sorry you're having so much trouble, as you may have seen, mkiv is having a particularly busy time right now; things will probably calm down during the next days.
Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Ok I just put in my essai.tex size=24pt istead of size=24 and there were no more errors. But the generated pdf file is blank (2 pages wihtout test or graphic). Best, Amaël Le jeudi 07 mai 2009 à 13:07 +0200, Amaël Broustet a écrit :
Ok I thought i didn't need to do luatools --generate I run it and after that I got the same error with markIV that with markII : ~/context$ texexec --lua essai.tex
! Illegal unit of measure (pt inserted). <to be read again> \relax l.31 ...\moduleparameter{simpleslides}{size}\relax
?
On Thu, 7 May 2009, Amaël Broustet wrote:
Ok I just put in my essai.tex size=24pt istead of size=24 and there were no more errors. But the generated pdf file is blank (2 pages wihtout test or graphic).
Simpleslides comes with a test script. Try the following mkdir styles mtxrun --script simpleslides --styles=BigNumber --engine=context This will create BigNumber-blue.pdf and BigNumber-red.pdf in the styles directory. Are these files correct? Aditya
These files are fine. But still no luck with my sample file (I try to remove font=Helvetica but it still not works). Best, Amaël Le jeudi 07 mai 2009 à 17:39 -0400, Aditya Mahajan a écrit :
On Thu, 7 May 2009, Amaël Broustet wrote:
Ok I just put in my essai.tex size=24pt istead of size=24 and there were no more errors. But the generated pdf file is blank (2 pages wihtout test or graphic).
Simpleslides comes with a test script. Try the following
mkdir styles mtxrun --script simpleslides --styles=BigNumber --engine=context
This will create BigNumber-blue.pdf and BigNumber-red.pdf in the styles directory. Are these files correct?
Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (5)
-
Aditya Mahajan
-
Amaël
-
Amaël Broustet
-
Taco Hoekwater
-
Thomas A. Schmitz