[NTG-context] Background image
Hi, I'm trying to layout a book for Lulu.com. I'm working with a 9x6 paper size, which is going to be printed on 9.25x6.25 stock paper to enable full bleed printing. I have managed to get a background image using a background layer. However, I don't seem to be able to get it to the right size. Sample files: http://area42.pcode.nl/context/ In the PDF you can see, that I'm stuck with a white edge. I need the background picture to fill my entire page with no white left. I also need to crop marks to remain on top of the background image. The supplied background image has the same height/width ratio as the stock page. However I would like TeX to stretch the ratio if necessary. I'd appreciate any suggestion on how to achieve this. Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] OpenType in ConTeXt
Hi, I managed to install my Adobe OpenType fonts into ConTeXt: texfont --makepath --install --en=texnansi --ve=adobe --co=AdobeGaramondPro --preproc --lcdf However, loading the font like this does not work: \usetypescriptfile[texnansi-adobe-adobegaramondpro] \setupbodyfont[AdobeGaramondPro] Can anybody lend me some aid? Did I mess up the installation? Or am I using the wrong syntax? I'm using TeXlive 2007. Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] adventor
On Aug 4, 2007, at 11:45 PM, Wolfgang Werners-Lucchini wrote: I have some problems useing the font adventor from gyre project. After downloading the fonts and the context map-files from the gyre-site, I tried the following: \usetypescriptfile[type-gyr] \definetypeface[adventor][ss][sans][adventor][default][encoding=ec] \setupbodyfont[adventor,ss,9pt] \starttext \ss Bla \stoptext but I get ! Font \*adventor12ptsstfss*:=TeXGyreAdventor-Regular at 12.0pt not loadable: Metric (TFM) file not found. I had a look at the typescripts and the mapfiles, and I think I see why your approach isn't working. All tex-gyre fonts are only defined in terms of a [serif] typescript (line 52-66 of type-gyr.tex). So I tried to change your minimal example to this: \usetypescriptfile[type-gyr] \definetypeface[adventor][rm][serif][adventor][default][encoding=ec] \setupbodyfont[adventor,ss,9pt] \starttext \ss Bla \stoptext However, I now get hundreds of warnings in my log (attached below). I can't pinpoint it, but it looks like ConTeXt is looking for a file qag-name.map which isn't there. Upon further investigation: I get these warnings whenever I use one of the new tex-gyre font names. So defining a typeface like this: \definetypeface[main][rm][serif][palatino][default][encoding=ec] \setupbodyfont[main,9pt] works wonderfully. Defining it like this \definetypeface[main][rm][serif][pagella][default][encoding=ec] \setupbodyfont[main,9pt] should give the identical results, but triggers the warnings. I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway). All best Thomas pdfTeX warning: pdftex (file all-base.map): cannot open font map file fonts : using map file: qag-ec {/usr/local/texlive/2007/../texmf-local/fonts/map/dvips/tex-gyre/qag- ec.map} fonts : using map file: qag-name pdfTeX warning: pdftex (file qag-name.map): cannot open font map file fonts : using map file: default pdfTeX warning: pdftex (file default.map): cannot open font map file fonts : using map file: ec pdfTeX warning: pdftex (file ec.map): cannot open font map file fonts : using map file: special {/usr/local/texlive/2007/texmf-dist/fonts/map/fontname/special.map pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for [EMAIL PROTECTED]': font file present but not included, will be treated as font file not present pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for [EMAIL PROTECTED]': font file present but not included, will be treated as font file not present pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): invalid entry for [EMAIL PROTECTED]': unknown name `dec06' ignored pdfTeX warning: pdftex (file /usr/local/texlive/2007/texmf-dist/fonts/ map/fontn ame/special.map): ambiguous entry for [EMAIL PROTECTED]': font file present but not included, will be treated as font file not present ___ 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] adventor
Thomas A. Schmitz wrote: I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway). This type of patch to type-gyr.tex should help: -\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2b,t2c,l7x] +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t5,t2a,t2b,t2c,l7x] (you can't define a typeface for an undefined typescript). Hans doesn't like avantgarde, so for you adventor you will have to create a completely new typescript, as it was never previously defined in the core. Cheers, Taco pdfTeX warning: pdftex (file ec.map): cannot open font map file fonts : using map file: special {/usr/local/texlive/2007/texmf-dist/fonts/map/fontname/special.map FYI: This is *not* a font map file, despite it's name. The loading gets triggered by mistake due to this line in type-ini.tex: \usetypescript[#3,\t!map][#4][\t!name,\t!default,\typefaceencoding,\t!special]% ___ 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] Background image
Pascal de Bruijn wrote: Hi, I'm trying to layout a book for Lulu.com. I'm working with a 9x6 paper size, which is going to be printed on 9.25x6.25 stock paper to enable full bleed printing. I have managed to get a background image using a background layer. However, I don't seem to be able to get it to the right size. Sample files: http://area42.pcode.nl/context/ In the PDF you can see, that I'm stuck with a white edge. I need the background picture to fill my entire page with no white left. I also need to crop marks to remain on top of the background image. The supplied background image has the same height/width ratio as the stock page. However I would like TeX to stretch the ratio if necessary. I'd appreciate any suggestion on how to achieve this. width=\overlaywidth,height=\overlayheight maybe set set backgroundoffset to 1pt (slightly bleeding) - 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] mkiv goes beta
Hi, ConTeXt MKiV goes beta. Now, why today, 06/08/07? It happens to be the birthday of one of the most demanding users on this list and when at bachotek 2007 we discussed the moment of going beta Arthur suggested that this would be the perfect day. I could not agree more, especially because Mojca is one of the most demanding and testing users and eagerly awaiting new things. So, Mojca, here's your birthday present! It's part of a package from Taco, Arthur, Patrick and me .. - of course there is the luaTeX binary, even better than the beta (be patient with taco in fixing bugs) - then there is a new wiki page (cleverly hidden till today, you don't want to know what tricks arthur used to get it all running well) - of course you can now also try luaTeX/MkIV on the wiki running page (don't complain too much to patrick about performance) - and yes, you need the latest ConTeXt zip as well (i cross my fingers that it works ok) On the website there is the usual zip, but also a new magazine, one that tells how to install luaTeX: http://www.pragma-ade.com/general/magazines/mag-0012.pdf When I was preparing this release I had Major Impacts 2 and Split Decision (by Steve Morse) running in loop-mode on the sqeezebox. I realize that LuaTeX will have a major impact on ConTeXt, as has the decision to split into MkII and MkIV. The experiences of many years of user demand and usage will be reflected in upcoming releases. The challenge will be to get the mosy ou tof all engines. A few extra notes: - typescripts are reorganized so that in luaTeX open type fonts are used instead, by default some features are enabled - using type one fonts is possible (no encoding needed), but the backend needs a fix to support wide fonts, Taco is working on this - typesetting arab and such is possible, more on this later on this list; scripts like chinese is work in progress - there is much experimental, unused code, but expect to see more of it coming into action the next months - make sure to install lua itself because 'luac' is needed to bytecompile cached data (much faster) - make sure to set the TEXMFCACHE environment variable as well as TEXMFCNF and TEXMF; caching is really needed and because we no longer use kpse MkIV needs to know what tree to use I uploaded the lot, minimals included. Expect more frequent uploades since I'm not sure if thinks work for all platforms. Also, be prepared to keep your own binaries uptodate. And ... from now on xetex users should use the official \definefontfeature interface as well. Happy testing ... 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 ___
Re: [NTG-context] Background image
Hi Pascal, I spend more than one hour on this, to find a clean solution. So please add this to the wiki. And if you can, send my a copy of the nice background image (never mind if not). I felt in love with this, while testing your example. Anyhow, the cut markings are still lying under the picture (Hans?), the rest should work. The automatical scaling of the image uses a tricky method from this mailing list http://archive.contextgarden.net/message/20070719.232314.12cb4f5f.en.html Best wishes, Peter BTW: do you set a bleed|crop-box? Pascal de Bruijn schrieb: Hi, I'm trying to layout a book for Lulu.com. I'm working with a 9x6 paper size, which is going to be printed on 9.25x6.25 stock paper to enable full bleed printing. I have managed to get a background image using a background layer. However, I don't seem to be able to get it to the right size. Sample files: http://area42.pcode.nl/context/ In the PDF you can see, that I'm stuck with a white edge. I need the background picture to fill my entire page with no white left. I also need to crop marks to remain on top of the background image. The supplied background image has the same height/width ratio as the stock page. However I would like TeX to stretch the ratio if necessary. I'd appreciate any suggestion on how to achieve this. Regards, Pascal de Bruijn \definepapersize[Lulu-Print][width=6.00in,height=9.00in] \definepapersize[Lulu-Stock][width=6.25in,height=9.25in] % [ paper ] [ printpaper ] \setuppapersize[Lulu-Print][Lulu-Stock] \setuplayout[location=middle,marking=on] \setuppagenumbering[alternative=doublesided] \setupbackgrounds[leftpage] [background={Watermark-Left,layer-with-marking}]% background doesn't work \setupbackgrounds[rightpage][background={Watermark-Right,layer-with-marking}] \definelayer[Watermark-Left] [repeat=yes,width=\printpaperwidth,height=\printpaperheight, hoffset=-.5\dimexpr\printpaperwidth-\paperwidth, voffset=-.5\dimexpr\printpaperheight-\paperheight] \definelayer[Watermark-Right] [repeat=yes,width=\printpaperwidth,height=\printpaperheight, hoffset=-.5\dimexpr\printpaperwidth-\paperwidth, voffset=-.5\dimexpr\printpaperheight-\paperheight] \setlayer[Watermark-Left][preset=topleft] {\externalfigure[lowres][maxwidth=\printpaperwidth,maxheight=\printpaperheight,width=10in]}% width maxwidth; value doesn't matter \setlayer[Watermark-Right][preset=topleft] {\externalfigure[lowres][maxwidth=\printpaperwidth,maxheight=\printpaperheight,width=10in]} \starttext \showframe Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fus\-ce commodo. Curabitur quis metus. Cras lacus ipsum, lacinia eu, eleifend in, pellentesque quis, tellus. Sed eget sem a ipsum nonummy aliquam. Curabitur ut nibh a lectus sagittis bibendum. Praesent egestas sapien eu risus. Suspendisse a quam. Nunc volutpat posuere orci. Duis ultrices cursus tellus. Phasellus ante sapien, pharetra ac, malesuada condimentum, viverra sit amet, ligula. Donec nisl libero, placerat nec, euismod eget, euismod lobortis, eros. Nam posuere interdum neque. Maecenas a lacus. Etiam semper viverra libero. Proin ornare accumsan erat. Ut fringilla. Morbi pretium risus nec urna. Nunc nec ligula vel risus sodales lobortis. Fusce consectetuer, risus elementum tincidunt vulputate, arcu turpis porta sem, vitae feugiat arcu est non elit. Nulla facilisi. Duis interdum quam ac purus. Morbi commodo lacus lacinia tortor. Suspendisse potenti. Nullam dapibus risus at dolor. Donec ac felis eu urna varius venenatis. Quisque ac sapien id quam tempor auctor. Donec vel ipsum. Phasellus lorem lacus, iaculis tristique, pellentesque vitae, cursus sed, leo. Morbi massa metus, facilisis at, placerat a, varius in, justo. Vestibulum vehicula consectetuer sapien. In sodales, orci ac convallis sollicitudin, pede ligula luctus erat, ut elementum tellus libero vel urna. Sed scelerisque diam a leo vehicula nonummy. Donec velit dui, volutpat ornare, auctor vel, ultricies eu, nulla. Aliquam quis nisi a nulla tristique semper. Phasellus varius mi at sapien. Integer ornare, mi id consequat nonummy, sem purus pellentesque nibh, eu lobortis neque elit a purus. Nullam nisi. Pellentesque cursus lectus lobortis sem. Sed felis. Ut justo libero, malesuada non, congue sit amet, hendrerit eget, velit. Curabitur iaculis, diam non tincidunt cursus, tortor odio varius mauris, sed pharetra augue urna ac erat. Maecenas eu sapien. Suspendisse vel magna nec metus tempor consectetuer. Sed mollis tincidunt lorem. Sed tempus adipiscing tellus. Sed elit odio, venenatis ac, dignissim at, vehicula eget, ante. \stoptext ___ 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 :
Re: [NTG-context] mkiv goes beta
Am 06.08.2007 um 12:52 schrieb Hans Hagen: Hi, ConTeXt MKiV goes beta. Now, why today, 06/08/07? It happens to be the birthday of one of the most demanding users on this list and when at bachotek 2007 we discussed the moment of going beta Arthur suggested that this would be the perfect day. I could not agree more, especially because Mojca is one of the most demanding and testing users and eagerly awaiting new things. So, Mojca, here's your birthday present! ... Happy testing ... ... and Happy Birthday Mojca!! Steffen ___ 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] mkiv goes beta
On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote: Hi, ConTeXt MKiV goes beta. wow ! more fun for texhackers ! So, Mojca, here's your birthday present! Happy birthday Mojca ! -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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] mkiv goes beta
Hans Hagen schrieb: Hi, ConTeXt MKiV goes beta. Now, why today, 06/08/07? It happens to be the birthday of one of the most demanding users on this list and when at bachotek 2007 we discussed the moment of going beta Arthur suggested that this would be the perfect day. I could not agree more, especially because Mojca is one of the most demanding and testing users and eagerly awaiting new things. So, Mojca, here's your birthday present! [..] My best wishes to both birthday childs :) Peter ___ 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] mkiv goes beta
On Aug 6, 2007, at 4:13 PM, Peter Rolf wrote: My best wishes to both birthday childs :) Peter My best wishes, too! Of course I was impatient and unwrapped Mojca's birthday present... First reports, on OS X, powerpc: 1. The luatex binary in the macosxtex.zip does not work on my system, I get: luatex --version zsh: exec format error: tex/texmf-macosx/bin/luatex It may have been built for i386 exclusively. 2. I could only generate the database and the formats after having set the variables explicitly: export TEXMFCNF=/usr/local/texlive/2007/texmf/web2c export TEXMF={/Users/tas/texmf,/usr/local/texlive/texmf-local,/usr/ local/texlive/2007/texmf,/usr/local/texlive/2007/texmf-dist,/usr/ local/texlive/2007/texmf-doc,/usr/local/texlive/2007/texmf-config,/ usr/local/texlive/2007/texmf-var,/usr/local/texlive/2007/texmf.gwtex,/ Users/tas/.texlive2007} 3. After that, I could generate the database and the format without errors. However, mtxrun still seems to need some variables set: mtxrun --script fonts --list --pattern=pagella Error in lua file loading: cannot open : No such file or directory I will continue my experiments later, also on an i386 OS X laptop and, if I can, on a linux system. Best, and thanks so much for providing something to play with! 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 ___
Re: [NTG-context] mkiv goes beta
luatex --version zsh: exec format error: tex/texmf-macosx/bin/luatex It has been reported and should be fixed sortly. In the mean time you can try replacing the binary with the content of http://foundry.supelec.fr/frs/download.php/494/luatex-beta-0.10.1-macosx-universal.tar.bz2 It may have been built for i386 exclusively. Indeed. The above link should yield a “universal” binary which, unfortunately, I haven't been able to test on PPC, so I'm interested in your feedback (as well as other's!). 2. I could only generate the database and the formats after having set the variables explicitly: Yes, this is for the moment a feature. As Hans said, kpathsea isn't used any more, so even setting TEXMFCNF is not enough, as its contents aren't always inspected (at least under certain circumstances). mtxrun --script fonts --list --pattern=pagella Error in lua file loading: cannot open : No such file or directory No idea about this one, sorry. Setting LUATEXDIR might help. Arthur ___ 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] Background image
Hi, On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote: Hi Pascal, I spend more than one hour on this, to find a clean solution. So please add this to the wiki. I will when I'm more comfortable with ConTeXt. And if you can, send my a copy of the nice background image (never mind if not). I felt in love with this, while testing your example. I'm sorry, it's a commercial image. I don't own the copyright. However it can be purchased at high resolution (color) for an affordable price: http://www.istockphoto.com/file_closeup/people_specific_attributes/race/mixed_background/3259587_old_paper_xxl.php?id=3259587 I hope the link doesn't break, if it does search for Old Paper XXL. iStockPhoto has lots of really good artwork available at reasonable prices. Anyhow, the cut markings are still lying under the picture (Hans?), the rest should work. The automatical scaling of the image uses a tricky method from this mailing list http://archive.contextgarden.net/message/20070719.232314.12cb4f5f.en.html Indeed, it would be nicer to have the cropmarks on top. Though this is not essential to me. Lulu.com actually doesn't want crop marks. Best wishes, Peter BTW: do you set a bleed|crop-box? No clue? How do I do that? What does it do? Basically Lulu will print a 9.25x6.25 image onto their paper. Then a centered 9x6 page will be cut from that. This way full bleed print is achieved. Though I'm still wondering about one thing: What's better in my case \printpapersize or \overlaysize? Thanks for your excellent help, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] PDF Metadata / Attachments
Hi, With LaTeX I was able to set my own PDF metadata, is this possible with ConTeXt? I mean things like: Title, Subject, Author, Keywords, Creator, Producer? Also, I generally like to include my .tex source file into my PDF as a text file attachment. LaTeX has a package for this, does ConTeXt have similar functionality? Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] mkiv goes beta
Arthur Reutenauer wrote: mtxrun --script fonts --list --pattern=pagella Error in lua file loading: cannot open : No such file or directory No idea about this one, sorry. Setting LUATEXDIR might help. This is some sort of bootstrap error, I have had similar problems in the past, but it was fixed after a bit of ad hoc tinkering. I will try a clean install on some machine tomorrow, see if I can figure out what is wrong that way. Best, 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 ___
Re: [NTG-context] mkiv goes beta
Taco Hoekwater wrote: Arthur Reutenauer wrote: mtxrun --script fonts --list --pattern=pagella Error in lua file loading: cannot open : No such file or directory No idea about this one, sorry. Setting LUATEXDIR might help. This is some sort of bootstrap error, I have had similar problems in the past, but it was fixed after a bit of ad hoc tinkering. I will try a clean install on some machine tomorrow, see if I can figure out what is wrong that way. there should be an mtx-fonts.lua in the scripts/context/lua path use the latest mtxrun - 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] OpenType in ConTeXt
On Mon, 2007-08-06 at 09:45 +0200, Patrick Gundlach wrote: Hi, Can anybody lend me some aid? You could use otfinstall to install your opentype fonts. http://wiki.contextgarden.net/otfinstall I already noticed that script, however... It seems texfont already has support for OpenType. It has the --preproc and --lcdf parameters. After running: texfont --makepath --install -en=texnansi --ve=adobe --co=adobegaramondpro --preproc --lcdf It generated these files: /opt/texlive/texmf-local/fonts$ ls -1 tfm/adobe/adobegaramondpro/ texnansi-AGaramondPro-Regular--base.tfm texnansi-AGaramondPro-Regular--lcdfj.tfm texnansi-AGaramondPro-Regular.tfm texnansi-AGaramondPro-Semibold--base.tfm texnansi-AGaramondPro-Semibold--lcdfj.tfm texnansi-AGaramondPro-Semibold.tfm ... /opt/texlive/texmf-local/fonts$ ls -1 type1/adobe/adobegaramondpro/ AGaramondPro-Regular.pfb AGaramondPro-Semibold.pfb ... Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Is texfont incomplete? Or am I doing something wrong? What are the advantages/downsides of both? -- http://blog.pcode.nl/ http://www.linkselente.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] Background image
Pascal de Bruijn schrieb: Hi, On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote: Hi Pascal, I spend more than one hour on this, to find a clean solution. So please add this to the wiki. I will when I'm more comfortable with ConTeXt. ok. any help is welcome. And if you can, send my a copy of the nice background image (never mind if not). I felt in love with this, while testing your example. I'm sorry, it's a commercial image. I don't own the copyright. However it can be purchased at high resolution (color) for an affordable price: http://www.istockphoto.com/file_closeup/people_specific_attributes/race/mixed_background/3259587_old_paper_xxl.php?id=3259587 I hope the link doesn't break, if it does search for Old Paper XXL. iStockPhoto has lots of really good artwork available at reasonable prices. I see ('ll store the bookmark); I have similar (free) pictures, but not in this quality. Anyhow, the cut markings are still lying under the picture (Hans?), the rest should work. The automatical scaling of the image uses a tricky method from this mailing list http://archive.contextgarden.net/message/20070719.232314.12cb4f5f.en.html Indeed, it would be nicer to have the cropmarks on top. Though this is not essential to me. Lulu.com actually doesn't want crop marks. Best wishes, Peter BTW: do you set a bleed|crop-box? No clue? How do I do that? What does it do? It simply defines the size and position of these boxes (which then become part of the document). In your case any(?) print shop then knows where to crop, even without any crop marks. See also http://www.pragma-ade.com/general/technotes/pdfboxes.pdf and (only german; sorry, couldn't find it on the english wiki) http://de.wikipedia.org/wiki/Portable_Document_Format#Angaben_der_Seitengeometrie Basically Lulu will print a 9.25x6.25 image onto their paper. Then a centered 9x6 page will be cut from that. This way full bleed print is achieved. if they don't use them, you don't need them :) Though I'm still wondering about one thing: What's better in my case \printpapersize or \overlaysize? I would prefer the printpaper sizes, as this is exactly what you want (sizes are fixed). The power of the overlay sizes is, that they automaticaly change with the environment. But this is not needed here. Thanks for your excellent help, Pascal de Bruijn My pleasure! Best, Peter ___ 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] OpenType in ConTeXt
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you. Is texfont incomplete? I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-) Or am I doing something wrong? Probably not. What are the advantages/downsides of both? Why don't you try it for yourself? Arthur ___ 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] mkiv goes beta
On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote: Hi, ConTeXt MKiV goes beta. after unzipping justtex.zip linuxtex.zip and run . setuptex /opt/texlive/ContextMKiv/tex/texmf-linux/bin# ./luatex Floating point exception in attachment $strace -v luatex (I will compile luatex from source) -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net strace-v_luatex Description: Binary data ___ 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] OpenType in ConTeXt
Hello Pascal, I already noticed that script, however... It seems texfont already has support for OpenType. It has the --preproc and --lcdf parameters. I have written otfinstall after I have played around with texfont. texfont is much more versatile then otfinstall, but I think that otfinstall is faster, easier to use and writes all necessary files. But since I never felt like reading the texfont documentation, I might be completely wrong about my assumptions on texfont. Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Is texfont incomplete? Or am I doing something wrong? What are the advantages/downsides of both? They are just two different tools for a similar purpose. Nothing wrong with each of them. There is not much to add to what Arthur said. If you need any specific help on otfinstall, I'd be glad to assist you (and update the documentation as well). Patrick ___ 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] mkiv goes beta
/opt/texlive/ContextMKiv/tex/texmf-linux/bin# ./luatex Floating point exception I guess that you run on a 64-bit processor, don't you? If it's the case you could try the binary in http://foundry.supelec.fr/frs/download.php/501/luatex-beta-0.10.1-linux-x86_64.tar.bz2 (I will compile luatex from source) Sure; and if you have problems Taco is always happy to hear bug-reports ;-) Arthur ___ 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] PDF Metadata / Attachments
Pascal de Bruijn schrieb: Hi, With LaTeX I was able to set my own PDF metadata, is this possible with ConTeXt? I mean things like: Title, Subject, Author, Keywords, Creator, Producer? http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers#PDF_Headers producer is set by pdftex, subject isn't supported yet (feature request needed!?) % use at your own (low) risk \doPDFaddtoinfo {/Subject (test subject)} Also, I generally like to include my .tex source file into my PDF as a text file attachment. LaTeX has a package for this, does ConTeXt have similar functionality? http://wiki.contextgarden.net/Verbatim_text#Embedding_the_source_code Regards, Pascal de Bruijn ___ 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] Background image
On Mon, 2007-08-06 at 19:47 +0200, Peter Rolf wrote: Pascal de Bruijn schrieb: Hi, On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote: BTW: do you set a bleed|crop-box? No clue? How do I do that? What does it do? It simply defines the size and position of these boxes (which then become part of the document). In your case any(?) print shop then knows where to crop, even without any crop marks. See also http://www.pragma-ade.com/general/technotes/pdfboxes.pdf and (only german; sorry, couldn't find it on the english wiki) http://de.wikipedia.org/wiki/Portable_Document_Format#Angaben_der_Seitengeometrie Basically Lulu will print a 9.25x6.25 image onto their paper. Then a centered 9x6 page will be cut from that. This way full bleed print is achieved. if they don't use them, you don't need them :) I can understand some basic German. I only live a couple of yards from the border. I guess my settings would be like this: Mediabox : 9.25 x 6.25 Cropbox : 9.25 x 6.25 Bleedbox : 9.25 x 6.25 Trimbox : 9.00 x 6.00 Artbox : 9.00 x 6.00 Should I supply metadata so pdfTeX can store this in the final PDF? If so, how do I do it? But Lulu probably doesn't use them... They accept PDFs make with Word/PDF-Printer, so it can't be _that_ complex. Regards, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] mkiv goes beta
Arthur Reutenauer wrote: This is some sort of bootstrap error, I have had similar problems in the past, but it was fixed after a bit of ad hoc tinkering. Just to let you know, I have the same problem as Thomas with a fresh tree on the garden (and mtx-fonts.lua is indeed found). what does luatools mtx-fonts.lua return? here: c:/data/develop/context/lua/mtx-fonts.lua at your machine scripts/context/lua/... 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 ___
Re: [NTG-context] PDF Metadata / Attachments
Peter Rolf wrote: Pascal de Bruijn schrieb: Hi, With LaTeX I was able to set my own PDF metadata, is this possible with ConTeXt? I mean things like: Title, Subject, Author, Keywords, Creator, Producer? http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers#PDF_Headers producer is set by pdftex, subject isn't supported yet (feature request needed!?) title subtitle author index 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 ___
Re: [NTG-context] mkiv goes beta
This is some sort of bootstrap error, I have had similar problems in the past, but it was fixed after a bit of ad hoc tinkering. Just to let you know, I have the same problem as Thomas with a fresh tree on the garden (and mtx-fonts.lua is indeed found). ___ 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] mkiv goes beta
On Aug 6, 2007, at 8:43 PM, Hans Hagen wrote: what does luatools mtx-fonts.lua return? here: c:/data/develop/context/lua/mtx-fonts.lua at your machine scripts/context/lua/... Hans luatools mtx-fonts.lua /usr/local/texlive/texmf-local/scripts/context/lua/mtx-fonts.lua Looks good to me. Arthur: thanks for the hints. I had the last beta luatex installed, btw, but there seems to be a slight problem on ppc. I tried the precompiled binary and compiled it myself. Both had the same behavior: they seem to be OK with simple hello world documents. One thing that I tested was this: luatex testfont This is luaTeX, Version 3.141592-beta-0.10.1-2007072515 (Web2C 7.5.6) (/usr/local/texlive/2007/texmf-dist/tex/plain/base/testfont.tex Name of the font to test = ec-lmr12 Now type a test command (\help for help):) *\table After that, processor use goes up to 100 %, and nothing happens. Don't know if this is a general problem or one with ppc. (And the last version before the beta didn't have this problem!). All best 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 ___
Re: [NTG-context] mkiv goes beta
Arthur Reutenauer wrote: at your machine scripts/context/lua/... Indeed: /opt/context/current/texmf/scripts/context/lua/mtx-fonts.lua weird then , how about mtxrun --script mtx-fonts --help if that works, you're calling an old mtxrun it resolves [mtx-|]font[s|], so it is quite tolerant - 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] mkiv goes beta
how about mtxrun --script mtx-fonts --help if that works, you're calling an old mtxrun It doesn't; anyway I haven't mtxrun in my path, I call texmfstart (is that wrong?). [EMAIL PROTECTED]:~$ mtxrun --script mtx-fonts --help -bash: mtxrun: command not found [EMAIL PROTECTED]:~$ texmfstart mtxrun --script mtx-fonts --help Error in lua file loading: cannot open : No such file or directory [EMAIL PROTECTED]:~$ luatools mtxrun.lua /opt/context/current/texmf/scripts/context/lua/mtxrun.lua (By the way, Patrick, we need a real host name for contextgarden; m1s11 is just no fun ;-) ___ 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] mkiv goes beta
Arthur Reutenauer wrote: how about mtxrun --script mtx-fonts --help btw, mtxrun is the future replacement for texmfstart cum suis (think of mtxrun --script texexec with texexec being a lua file) of course this can be stubbed then - 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] mkiv goes beta
On 8/6/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: /opt/texlive/ContextMKiv/tex/texmf-linux/bin# ./luatex Floating point exception I guess that you run on a 64-bit processor, don't you? hmm, no. Intel Core Duo T2250 @ 1.73GHz Linux luigi-laptop 2.6.15-23-686 #1 SMP PREEMPT Tue May 23 14:03:07 UTC 2006 i686 GNU/Linux Ubuntu 6.06 LTS -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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] OpenType in ConTeXt
Hi Pascal, I'll give otfinstall a shot tomorrow. this is the oinst file for the adobe garamond premier I've used. There is no support for opticals yet. This is really a simple tool. adobe_garamond_premier_pro.oinst: -- vendor adobe collection garamond # 'sans' or 'serif' fontclass serif # Allowed variants are 'default', 'osf' variants%w(default osf) # Supported faces are 'regular' 'bold' 'italic' and 'bolditalic' regular GaramondPremrPro.otf boldGaramondPremrPro-Bd.otf italic GaramondPremrPro-It.otf bolditalic GaramondPremrPro-BdIt.otf -- Put the files in otf/adobe/garamond and run ruby otfinst.rb -f otf Patrick ___ 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] Background image
Pascal de Bruijn schrieb: On Mon, 2007-08-06 at 19:47 +0200, Peter Rolf wrote: Pascal de Bruijn schrieb: Hi, On Mon, 2007-08-06 at 13:02 +0200, Peter Rolf wrote: BTW: do you set a bleed|crop-box? No clue? How do I do that? What does it do? It simply defines the size and position of these boxes (which then become part of the document). In your case any(?) print shop then knows where to crop, even without any crop marks. See also http://www.pragma-ade.com/general/technotes/pdfboxes.pdf and (only german; sorry, couldn't find it on the english wiki) http://de.wikipedia.org/wiki/Portable_Document_Format#Angaben_der_Seitengeometrie Basically Lulu will print a 9.25x6.25 image onto their paper. Then a centered 9x6 page will be cut from that. This way full bleed print is achieved. if they don't use them, you don't need them :) I can understand some basic German. I only live a couple of yards from the border. I guess my settings would be like this: Mediabox : 9.25 x 6.25 is set by pdftex, so don't ever change this one! Cropbox : 9.25 x 6.25 or cropbox=trimbox the cropbox sets the output size on the screen (what is shown); so if you set it to the trimbox values, the outer bleed|media box part is no longer shown on screen Bleedbox : 9.25 x 6.25 Trimbox : 9.00 x 6.00 Artbox : 9.00 x 6.00 yes (as I understand it; I'm no printer) Should I supply metadata so pdfTeX can store this in the final PDF? If so, how do I do it? I would suggest, that you don't use this for you current project. There is no need to use low level commands here. There is (at user level, but work in progress) % (currently only a copy of the mediabox values) \setupinteractionscreen [trimbox={[0 0 595.2756 841.8898]},% values are ignored cropbox={[0 0 595.2756 841.8898]}, ] and % low level \doPDFpageattribute{/TrimBox [0 0 595.2756 841.8898]} \doPDFpageattribute{/BleedBox [0 0 595.2756 841.8898]} ... The values are from one of my test files, so you have to calculate them for your example. The first two values represent the lower left corner (in pt), the last two values represent the upper right corner of the box. Reference point is the lower left corner of the media box. Bleedbox=Mediabox, Trimbox[ 0.125 0.125 6.125 9.125] (but in pt). But Lulu probably doesn't use them... They accept PDFs make with Word/PDF-Printer, so it can't be _that_ complex. Regards, Pascal de Bruijn Good luck and success for your book. Peter ___ 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] OpenType in ConTeXt
Hi, On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote: Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you. You're right. I'm just a curious person. I considerd texfont to be an 'official' tool, and I'd like to learn/stick to official stuff whenever possible (at least as long as that doesn't involve me losing my sanity). Is texfont incomplete? I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-) I didn't know Hans' had a Perl period... I guess that period has passed now... 2004 has been a while... Or am I doing something wrong? Probably not. What are the advantages/downsides of both? Why don't you try it for yourself? I'll give otfinstall a shot tomorrow. Thanks for the reply, Pascal de Bruijn -- http://blog.pcode.nl/ http://www.linkselente.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] mkiv goes beta
Hans Hagen schrieb: Hi, ConTeXt MKiV goes beta. no big problems on windows. only - texmfstart.exe is missing in the binaries - pdftex should be updated to 1.40.5 - luatools.lua: (e)shell output needs a crlf after the last line (prompt is printed directly after the runtime output) - the default font sizes for latin modern differ in pdftex (t1) and luatex (otf); but I still haven't updated the texmf-subtree.. i have tested one of my bigger docs and all worked fine. also luatex runs without any problems (after i changed all encodings from iso-latin to utf-8). i feel like 'alice in wonderland' (disney's version), but are now too tired to follow the rabbit :D peter ___ 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] mkiv goes beta
Arthur Reutenauer wrote: how about mtxrun --script mtx-fonts --help if that works, you're calling an old mtxrun It doesn't; anyway I haven't mtxrun in my path, I call texmfstart (is that wrong?). maybe, just copy mtxrun.lua and luatools.lua to suffixless variants in the bin path, faster too 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 ___
Re: [NTG-context] OpenType in ConTeXt
Pascal de Bruijn wrote: Hi, On Mon, 2007-08-06 at 19:54 +0200, Arthur Reutenauer wrote: Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you. You're right. I'm just a curious person. I considerd texfont to be an 'official' tool, and I'd like to learn/stick to official stuff whenever possible (at least as long as that doesn't involve me losing my sanity). Is texfont incomplete? I have no idea; but at any rate it belongs to a clearly “older” generation of scripts. The latest available version has “version=2004.02.06” in the documentation part, and even without that you can spot it quite easily since it belongs to Hans' Perl period ;-) I didn't know Hans' had a Perl period... I guess that period has passed now... 2004 has been a while... well, i still use texfont for type 1 fonts, but for open type i use luatex anyway which can handle it directly (actually, mkiv also uses afm files instead of tfm when available, so texfont is not needed any more) 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 ___
Re: [NTG-context] PDF Metadata / Attachments
Peter Münster schrieb: On Mon, 6 Aug 2007, Peter Rolf wrote: subject isn't supported yet (feature request needed!?) Feature request perhaps not needed: \setupinteraction[subtitle=my subject] you are right. no feature request needed :) Cheers, Peter ___ 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] PDF Metadata / Attachments
On Mon, 6 Aug 2007, Peter Rolf wrote: subject isn't supported yet (feature request needed!?) Feature request perhaps not needed: \setupinteraction[subtitle=my subject] Cheers, Peter -- http://pmrb.free.fr/contact/ ___ 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] adventor
I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway). This type of patch to type-gyr.tex should help: -\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2 b,t2c,l7x] +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t 5,t2a,t2b,t2c,l7x] (you can't define a typeface for an undefined typescript). Hans doesn't like avantgarde, so for you adventor you will have to create a completely new typescript, as it was never previously defined in the core. Cheers, Taco 'type-gyr.tex' defines!!! adventor. But the encoding-script is wrong, as Thomas has pointed out. --- excerpt from type-gyr.tex --- \definetypescriptprefix [n:adventor][TeXGyreAdventor] \definetypescriptprefix [f:adventor][ag] \starttypescript [serif] [pagella,termes,heros,bonum,schola,adventor] [ec,texnansi,cs,el,qx,rm,t5,t2a,t2b,t2c,l7x] \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular] [\typescriptthree-q\typescriptprefix{f:\typescripttwo}r] [encoding=\typescriptthree] ... \stoptypescript \starttypescript [sans] [heros,adventor] [name] \definefontsynonym [Sans] [\typescriptprefix{n:\typescripttwo}-Regular] ... \stoptypescript \starttypescript [map] [pagella,termes,bonum,schola,heros,adventor] [all] \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map] \stoptypescript --- I still have some questions: - A complete (all gyre-fonts) type-script makes sense. Will 'type- gyr' be fixed, or should I create my own? - What are the map-files at the gyre-site for? - Is the second \loadmapfile entry above redundant? - What is the correct texfont syntax, to install adventors small-caps variant? - There are enc-files in the ??dvips?? subdirectory of the font tree: 'fonts/enc/dvips/tex-gyre/q-encoding-sc.enc Should I make use from these files? Will they be found there? 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] mkiv goes beta
Thomas A. Schmitz wrote: Name of the font to test = ec-lmr12 Now type a test command (\help for help):) *\table After that, processor use goes up to 100 %, and nothing happens. Don't know if this is a general problem or one with ppc. (And the last version before the beta didn't have this problem!). This is a known problem to me: the beta doesn't deal with horizontal lines in tables properly (any kind of \span actually, but the problem is most obvious in lines). FWIW, the svn trunk version should work properly. I have to think about setting up some kind of 'known issues' page on the website soon, and/or start using the bug tracker at supelec. There are more bugs in the beta that have already been found, but not documented anywhere yet. 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 ___
Re: [NTG-context] mkiv goes beta
luigi scarso wrote: On 8/6/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: /opt/texlive/ContextMKiv/tex/texmf-linux/bin# ./luatex Floating point exception Could be the fabled (as in : only exists in fables) linux backward compatibily. For the next linux binary beta, I will try to remember to use an older system (and therefore linux install) for the final compilation, that should help. 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 ___
Re: [NTG-context] mkiv goes beta
On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote: Hi, ConTeXt MKiV goes beta. Now, why today, 06/08/07? It happens to be the birthday of one of the most demanding users on this list and when at bachotek 2007 we discussed the moment of going beta Arthur suggested that this would be the perfect day. I could not agree more, especially because Mojca is one of the most demanding and testing users and eagerly awaiting new things. So, Mojca, here's your birthday present! http://www.logosrl.it/context/luatex is my little present... (in attachment a quick diff for luatex.web to fix some typos) -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net *** luatex.web.orig 2007-08-06 22:07:43.0 +0200 --- luatex.web 2007-08-06 22:08:58.0 +0200 *** *** 3844,3850 function glyph_width(@!p:halfword):pointer; var w:integer; begin ! w := char_width(font(p),character(p)); { + x_displace(p); } glyph_width := w; end; @# --- 3844,3850 function glyph_width(@!p:halfword):pointer; var w:integer; begin ! w := char_width(font(p),character(p)); { $+ x_displace(p)$; } glyph_width := w; end; @# *** *** 19565,19571 case font_direction(dvi_direction) of dir__LT: begin pdf_set_rule(cur_h, cur_v, rule_wd, rule_ht); ! {pdf_dvicmd_left(rule_wd);} end; dir__LB: begin pdf_dvicmd_down(rule_ht); --- 19565,19571 case font_direction(dvi_direction) of dir__LT: begin pdf_set_rule(cur_h, cur_v, rule_wd, rule_ht); ! {$pdf_dvicmd_left(rule_wd)$;} end; dir__LB: begin pdf_dvicmd_down(rule_ht); ___ 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] mkiv goes beta
On 8/6/07, Hans Hagen [EMAIL PROTECTED] wrote: Hi, ConTeXt MKiV goes beta. I believe that it's up, I had to make simbolic links of texlua and luatexlua just for sure to luatex, and i made some tests . I'm not able to compile luatexref-t: $texmfstart texexec --luatex --pdf --environments=luatexref-env.tex luatexref-t.tex I have ! TeX capacity exceeded, sorry [parameter stack size=6000]. -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net This is luaTeX, Version 3.141592-beta-0.10.1-2007080621 (Web2C 7.5.6) (format=cont-en 2007.8.7) 7 AUG 2007 01:15 **luatexref-t.tex (./luatexref-t.tex ConTeXt ver: 2007.08.06 11:20 MKIV fmt: 2007.8.7 int: english/english language: language en is active system : cont-new loaded (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/cont-new.mkiv) (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/user/cont-sys.tex) bodyfont: 12pt rm is loaded language: patterns nl-default:default-1-2:3 fr-default:default-2-2:3 de-default:default-3-2:3 it-default:default-4-2:3 pt-default:default-5-2:3 hr-default:default-6-2:3 pl-default:default-7-2:3 cz-default:default-8-2:3 sk-default:default-9-2:3 sl-default:default-10-2:3 ru-default:default-12-2:3 en-default:default-13-2:3 uk-default:default-14-2:3 us-default:default-[13]-2:3 agr-default:default-15-2:3 da-default:default-16-2:3 sv-default:default-17-2:3 af-default:default-[1]-2:3 no-default:default-18-2:3 deo-default:default-19-2:3 es-default:default-20-2:3 ca-default:default-21-2:3 la-default:default-22-2:3 ro-default:default-23-2:3 tr-default:default-24-2:3 fi-default:default-26-2:3 hu-default:default-27-2:3 loaded specials: tex,postscript,rokicki loaded system : luatexref-t.top loaded (./luatexref-t.top specials: loading definition file tpd (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/spec-fdf.tex (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/spec-fdf.mkiv)) specials: fdf loaded ) specials: fdf,tpd loaded systems : begin file luatexref-env.tex at line 11 (./luatexref-env.tex system : module abr-02 loaded (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/s-abr-02.tex system : module abr-01 loaded (./s-abr-01.tex check : logo AMSTEX replaces a macro, use CAPITALS! check : logo CONTEXT replaces a macro, use CAPITALS! check : logo ETEX replaces a macro, use CAPITALS! check : logo LAMSTEX replaces a macro, use CAPITALS! check : logo LATEX replaces a macro, use CAPITALS! check : logo LUATEX replaces a macro, use CAPITALS! check : logo METAFONT replaces a macro, use CAPITALS! check : logo METAPOST replaces a macro, use CAPITALS! check : logo PDFETEX replaces a macro, use CAPITALS! check : logo PDFTEX replaces a macro, use CAPITALS! check : logo PICTEX replaces a macro, use CAPITALS! check : logo PPCHTEX replaces a macro, use CAPITALS! check : logo PRAGMA replaces a macro, use CAPITALS! check : logo TABLE replaces a macro, use CAPITALS! check : logo TEX replaces a macro, use CAPITALS! check : logo UTF replaces a macro, use CAPITALS! check : logo XETEX replaces a macro, use CAPITALS! check : logo METAFUN replaces a macro, use CAPITALS! )) (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-tmf.tex) (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-siz.tex) (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-otf.tex) (/opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-buy.tex) ! TeX capacity exceeded, sorry [parameter stack size=6000]. \redotruefontname #1- [EMAIL PROTECTED] \dodotruefontname #1*\relax \dodotruefontname ...??ff \fontclass #1\endcsname \else \ifcsname \??ff #1\e... \dodotruefontname ...??ff \fontclass
Re: [NTG-context] OpenType in ConTeXt
Why should I use otfinstall instead of texfont, besides the fact that texfont doesn't work? Do you really need another reason? Have you tried otfinst? The point of all these scripts is to make your life easier in generating metrics, auxiliary fonts and map files; if you tear yourself with questions before trying them much of their interest is lost on you. It is nice to have such scripts. But I would like to know what goes on behind the scene. In principle one has to know all the steps to do it by hand. 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] mkiv goes beta
On 8/6/07, Taco Hoekwater [EMAIL PROTECTED] wrote: luigi scarso wrote: On 8/6/07, Arthur Reutenauer [EMAIL PROTECTED] wrote: /opt/texlive/ContextMKiv/tex/texmf-linux/bin# ./luatex Floating point exception Could be the fabled (as in : only exists in fables) linux backward compatibily. For the next linux binary beta, I will try to remember to use an older system (and therefore linux install) for the final compilation, that should help. luatex-beta-0.10.1.tar.bz2 compiles well on my system. Also [EMAIL PROTECTED]:/opt/texlive/ContextMKiv/tex/texmf-linux/bin# ldd luatex.orig linux-gate.so.1 = (0xe000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0xb7e51000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7e2b000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0xb7e2) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7ceb000) /lib/ld-linux.so.2 (0xb7f4b000) [EMAIL PROTECTED]:/opt/texlive/ContextMKiv/tex/texmf-linux/bin# ldd luatex linux-gate.so.1 = (0xe000) libm.so.6 = /lib/tls/i686/cmov/libm.so.6 (0xb7f79000) libc.so.6 = /lib/tls/i686/cmov/libc.so.6 (0xb7e45000) /lib/ld-linux.so.2 (0xb7fba000) and -rwxr-xr-x 1 root root 7718831 2007-08-06 21:12 luatex -rwxr-xr-x 1 root root 3257344 2007-08-06 16:00 luatex.orig -- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ 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] mkiv goes beta
maybe, just copy mtxrun.lua and luatools.lua to suffixless variants in the bin path, faster too Didn't help. Apparently the problem is the two files inputted at the beginning of mtx-fonts.lua (luat-log.lua and font-syn.lua); copying them in the current directory solves the problem with mtxrun, but whatever I try luatools doesn't find them. Arthur ___ 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] mkiv goes beta
mtxrun --script fonts --list --pattern=pagella Error in lua file loading: cannot open : No such file or directory No idea about this one, sorry. Setting LUATEXDIR might help. LUAINPUTS actually. Be careful that you have to list all the directories where the relevant files can be found (in my case LUAINPUTS=/opt/context/current/texmf/tex/context/base:/opt/context/current/texmf/scripts/context/lua). ___ 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] PDF Metadata / Attachments
producer is set by pdftex, subject isn't supported yet (feature request needed!?) It is support but called 'subtitle' in ConTeXt (which always confuses me). Try this test.tex: \setupinteraction[state=start,{subtitle={the subject}}] \starttext \input tufte \stoptext $ pdfinfo test.pdf Title: test Subject:the subject Keywords: Author: Creator:ConTeXt - 2007.04.17 12:51 Producer: pdfTeX-1.40.3 ... -Sanjoy Creativity can be a social contribution, but only in so far as society is free to use the results. --Richard Stallman ___ 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 ___