Re: [NTG-context] luatex on debian
George N. White III wrote: > debian (unstable,testing?) users can get a snapshot release of luatex in > apt package form. > > This works for me, but there are a few things that needed slight adjustment, > so > I wanted to report them here to encourage others to start testing it. > > I needed to set TEXMF=/etc/texmf. Luatools doesn't seem to handle the {..} > in the variables that are combined in TEXMF. Also, when it didn't find hm, it should handle the {} ok (well, i did rewrite that part a bit because it didn't handle some cases; can you send me the TEXMF spec that failed?) > AlProTex.sty, the message indicated that it couldn't find AlProTeX.sty > ('x'-->'X')! >ls c:/data/develop/tex/texmf/tex/generic/dratex/AlProTeX.sty /dev/fs/C/data/develop/tex/texmf/tex/generic/dratex/AlProTex.sty >kpsewhich AlProTeX.sty c:/data/develop/tex/texmf/tex/generic/dratex/AlProTeX.sty >luatools AlProTeX.sty c:/data/develop/tex/texmf/tex/generic/dratex/AlProTex.sty so, the file actually is named with an 'x' ; luatools (i.e. the file handler written in lua) can handle mixed cases in a way that it will always resolve to the syetem filename, here the one with th elower case x; so i guess that kpse is reporting wrong is there an alias file involved (i ignore that one, actually alias files are not supposed to exist any longer) > For testing, you can just set some simplified TEXMF, e.g.,: > > export > TEXMF={$HOME/texmf,/usr/local/texmf,/usr/share/texmf-texlive,/usr/share/texmf} > > or you can edit /etc/texmf/texmf.d/05TeXMF.cnf to simplify things like: > > TEXMFDIST = /usr/share/texmf-{texlive,tetex} > > In my case, I no longer have texmf-textex, so this became just > > TEXMFDIST = /usr/share/texmf-texlive > > Then run: "update-texmf" and "luatools --generate" > > You can check the TEXMF variable with: > > $ luatools --expand-var TEXMF > > More tests to make sure the configuration is working: > > $ luatools msam7.afm > /usr/share/texmf-texlive/fonts/afm/bluesky/ams/msam7.afm > > Then build the format: > > $ luatools --ini --verbose --compile cont-en > > and compile something: > > $ texexec --luatex foo > TeXExec | processing document 'foo' > TeXExec | no ctx file found > TeXExec | tex processing method: context > TeXExec | TeX run 1 > TeXExec | writing option file foo.top > TeXExec | using randomseed 967 > TeXExec | tex engine: luatex > TeXExec | tex format: cont-en > > This is luaTeX, Version 3.141592-beta-0.11.2-2007092410 (Web2C 7.5.6) > (./foo.tex > > ConTeXt ver: 2007.09.28 16:52 MKIV fmt: 2007.10.12 int: english/english > [...] btw, i have to find a way to report that a cache path is not present of writable Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
[NTG-context] luatex on debian
debian (unstable,testing?) users can get a snapshot release of luatex in apt package form. This works for me, but there are a few things that needed slight adjustment, so I wanted to report them here to encourage others to start testing it. I needed to set TEXMF=/etc/texmf. Luatools doesn't seem to handle the {..} in the variables that are combined in TEXMF. Also, when it didn't find AlProTex.sty, the message indicated that it couldn't find AlProTeX.sty ('x'-->'X')! For testing, you can just set some simplified TEXMF, e.g.,: export TEXMF={$HOME/texmf,/usr/local/texmf,/usr/share/texmf-texlive,/usr/share/texmf} or you can edit /etc/texmf/texmf.d/05TeXMF.cnf to simplify things like: TEXMFDIST = /usr/share/texmf-{texlive,tetex} In my case, I no longer have texmf-textex, so this became just TEXMFDIST = /usr/share/texmf-texlive Then run: "update-texmf" and "luatools --generate" You can check the TEXMF variable with: $ luatools --expand-var TEXMF More tests to make sure the configuration is working: $ luatools msam7.afm /usr/share/texmf-texlive/fonts/afm/bluesky/ams/msam7.afm Then build the format: $ luatools --ini --verbose --compile cont-en and compile something: $ texexec --luatex foo TeXExec | processing document 'foo' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file foo.top TeXExec | using randomseed 967 TeXExec | tex engine: luatex TeXExec | tex format: cont-en This is luaTeX, Version 3.141592-beta-0.11.2-2007092410 (Web2C 7.5.6) (./foo.tex ConTeXt ver: 2007.09.28 16:52 MKIV fmt: 2007.10.12 int: english/english [...] -- George N. White III <[EMAIL PROTECTED]> Head of St. Margarets Bay, Nova Scotia ___ 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 ___
Re: [NTG-context] encoding/compiling issues (macosx)
On 10/8/07, Andrea Valle wrote: > Hi to all, > > we (I and Miriam, who is in CC, but she should be now on the list) are > setting up our ConTeXt installation in order to (re-)typeset the academic > journal we are editors. > We are both on macosx: the idea is to use XeTeX. > I installed on Miriam's macbook mactex, and I also have updated it from the > mactex site. Exactly like mine. > We're experiencing this problem: > we have an utf 8 text and I'm compiling with no problem on my machine. On > Miriam's one > 1. if we compile with ConTeXt-pdftex (specifying the regime) we are having > little black boxes near the non-ascii char (i.e. an accented glyph is > rendered as non accented glyph + box) The problem is that your utf-8 text doesn't use normal "eacute", but rather "e + combining acute accant", and pdfTeX will never be able to handle that. I could send you a patch to remove those black boxes, but you won't be able to put them over the character before it, so that won't help you at all. TeX needs accent specification before the character. A combining accent after the character cannot be handled, at least not in pdfTeX - XeTeX and LuaTeX should be fine with it. Can you try to convert the text again using pdftotext -enc UTF-8 your-pdf-document.pdf and copy that text into the main document? > 2. if we compile with XeConTeXt the resulting pdf simply skips the accents > (e.g an accented glyph is rendered non accented) The default font (LM) doesn't work properly with any version of ConTeXt prior to 2007.09.28. But if you load some system font, the accents should work OK. If you are using XeTeX, I strongly recommend you to use both the same version of ConTeXt. The one from January and the one form September differ considerably. (Even with the latest one I have some problems again - I need to figure out where the problem is, but it's nothing critical.) > More: > We can't do > ctxtools --updatecontext > > it complaint it cannot fetch the zip Download the zip manually and unzip it to the folder where the old ConTeXt resides. Run mktexlsr and texexec --make [--xtx] --all. updatecontext doesn't do anything else. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Feature request for backgrounds
Wolfgang Schuster wrote: > 2007/10/11, Hans Hagen <[EMAIL PROTECTED]>: >> Wolfgang Schuster wrote: >> >>> I know and I used a backgroundcolor and a background simultaneously >>> in my posted example but what I want is a interface in localframed >> without >>> the overlay solution, the background should also repeated horizontal and >>> vertical and not streched in both directions. >> >> \defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}] >> >> \framed[width=15cm,height=25cm,backgroundimage=cow.pdf >> ,background=image]{test} > > > Hi Hans, > > nearly perfect but can I also test if the requested figure did really exist > with > something like > \doiffigure{\framedparameter{backgroundimage}}{\backgroundimage{...}}. > > I hope there will be a hidden feature section in the ConTeXtbook with all of > ConTeXt's > little features I don't know at the moment. \starttext \def\doiffigureelse#1% {\getfiguredimensions[#1]% \ifcase\figurewidth \expandafter\secondoftwoarguments \else \expandafter\firstoftwoarguments \fi} \doiffigureelse{cow.pdf}{yes}{no} \doiffigureelse{xxx.pdf}{no}{yes} \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] encoding/compiling issues (macosx)
Hi to all, still no way here: damned black boxes! What do you all think? Should I address it to the mac tex list? (this one, I guess: http://www.esm.psu.edu/mac-tex/ ) Best -a- On 10 Oct 2007, at 09:13, Andrea Valle wrote: Hi to all, So, no clues? Being it a fresh install we really do not know what to do...we're getting bored of those little black squares...:-) Thanks Best -a- On 8 Oct 2007, at 16:05, Andrea Valle wrote: Thanks Wolfgang, Can you send e example to the list. http://www.cirma.unito.it/andrea/misc/ 01_etc: the pdf from which we copied and pasted andreaConTeXt: compiled with XeConTeXt (fine) env_etc: the env (we're using a project structure). We have tested both with and without the \enableregime[utf] miriamConTeXt: here we have black boxes miriamXeTeX: here we loose accents prd/pro: just for the record, the structure files semiotiche: the bib files we refer to source: the tex source More: We can't do ctxtools --updatecontext it complaint it cannot fetch the zip you can download the zip-file from pragma-ade.nl or one of the mirrors on unzip the file in your local tex tree Thanks (but why cannot I?) Differences: 1. I am on macbook pro, she's on macbook (both on 2007 intel) 2. I'm using the English version of the macosx system, she's using the Italian one. shouldn't be a problem I guest so too Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) _ __ 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 _ __ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) __ _ 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) ___ 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 ___
Re: [NTG-context] Feature request for backgrounds
2007/10/11, Hans Hagen <[EMAIL PROTECTED]>: > > Wolfgang Schuster wrote: > > > I know and I used a backgroundcolor and a background simultaneously > > in my posted example but what I want is a interface in localframed > without > > the overlay solution, the background should also repeated horizontal and > > vertical and not streched in both directions. > > > \defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}] > > \framed[width=15cm,height=25cm,backgroundimage=cow.pdf > ,background=image]{test} Hi Hans, nearly perfect but can I also test if the requested figure did really exist with something like \doiffigure{\framedparameter{backgroundimage}}{\backgroundimage{...}}. I hope there will be a hidden feature section in the ConTeXtbook with all of ConTeXt's little features I don't know at the moment. Wolfgang ___ 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 ___
Re: [NTG-context] Feature request for backgrounds
Aditya Mahajan wrote: > On Thu, 11 Oct 2007, Hans Hagen wrote: > >> Wolfgang Schuster wrote: >> >>> I know and I used a backgroundcolor and a background simultaneously >>> in my posted example but what I want is a interface in localframed without >>> the overlay solution, the background should also repeated horizontal and >>> vertical and not streched in both directions. >> \defineoverlay[image][\backgroundimage1\overlaywidth\overlayheight{\externalfigure[\framedparameter{backgroundimage}]}] >> >> \framed[width=15cm,height=25cm,backgroundimage=cow.pdf,background=image]{test} > > Wow, I never thought of this before. This is a really nice way to > generate and use key-value pairs on the fly. whenever i see a reason i provide a \xxxparameter now, but beware of potential clashes, i can imagine prefixes in some cases, \framed[width=15cm,height=25cm,x:backgroundimage=cow.pdf,background=image]{test} Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___