Re: [NTG-context] mkiv ppchtex greek character bug
Hans Hagen wrote: the \alpha shows up, the α not (not sure why) you need the mathematical alpha \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] \stopchemical \stopTEXpage - 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 ppchtex greek character bug
Alan BRASLAU wrote: There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: (This is LuaTeX, Version snapshot-0.35.0 ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) (Almost) minimal example (and attached pdf results). \enableregime[utf] \usemodule[chemic] \starttext \startTEXpage \startchemical[width=fit,height=fit] \chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_α] \stopchemical \stopTEXpage \stoptext (Under mkiv, the \alpha becomes an ff ligature) - the ff is because you use an old version - the nullfont message is because we have only one fam now, this fixes it (i've added it to ppchtex) \ifx\Umathchar\undefined \else % for the moment we nil them, soon we will have a proper % way to deal with this \let\setsubscripts \relax \let\resetsubscripts\relax \fi the \alpha shows up, the α not (not sure why) 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 ppchtex greek character bug
Alan BRASLAU wrote: There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: (This is LuaTeX, Version snapshot-0.35.0 ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) (Almost) minimal example (and attached pdf results). \enableregime[utf] mkiv is utf by default -) - 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] \digits
Taco Hoekwater wrote: Wolfgang Schuster wrote: On Sun, Feb 15, 2009 at 5:04 PM, Wolfgang Schuster wrote: Hi, the \digits command cause a error message with the last beta in MkIV. This took much more longer than it should. In supp-num.tex, there is this definition: \def\dohandledigits {\mathcode`\,="013B \mathcode`\.="013A % pretty hard coded \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} which is causing the trouble. I assume this is just to move them out of the way, so replacing the two ones with zeroes probably works (?). ok, so we need \startmode[mkiv] \def\dohandledigits {\mathcode`\,="003B \mathcode`\.="003A % pretty hard coded \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} \stopmode \startnotmode[mkiv] \def\dohandledigits {\mathcode`\,="013B \mathcode`\.="013A % pretty hard coded \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} \stopnotmode it is on my agenda to rewrite digits in lua (we use it at pragma so i have a motive) - 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/X-1A
Tobias Burnus schreef: > You could also try to use Ghostscript with PDF/X3 option, cf. > http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#PDFX > > Example command is: > > gs -dPDFX -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor > -sDEVICE=pdfwrite -sOutputFile=out-x3.pdf PDFX_def.ps input.ps > > If I understood it correctly, one can also replace "input.ps" by > "input.pdf". > > (Note: Completely untested.) > Maybe you could use this shareware programm: http://www.pstill.com/ Info from this site: \startquotation "Convert to PDF, PDF/X and PDF/A Easy and high-quality EPS, PS, PDF and several raster image formats to PDF conversion _on Windows and MacOS X_, able to concat multiple files of all types in the output, also as mixed set. You can just drop in some PS, PDF and e.g. JPEG files and PStill will create one PDF from the input set. PStill can output also to PDF/X-1a and PDF/X-3, a focused subset of PDF for 'pre-press' work. PStill knows about CMYK and spot colors and can handle overprinting. Starting with version 1.72.18 PStill also creates PDF/A-1b, a special version of PDF for archiving purposes." \stopquotation \startquotation "The Linux, FreeBSD, Solaris, IRIX, AIX and HPUX versions are free only for personal/private and educational use. Commercial users (means: any for-profit use) must register and order a commercial type license key. The software will run without any functional restrictions but will display a notice on the console." \stopquotation From the above the impression could be raised that conversion to PDF/X-1a only works on Windows and MacOS X, but according to this post it seems to work on linux as well (?): http://www.stone.com/stoneforum/viewtopic.php?t=171 Note: Completely untested by me. Please inform us if it worked. You could also try one of these more commercial services: http://www.pdfxreport.com/doku.php?id=en:tools Thanks, Adriaan. ___ 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] slower access to ConTeXt generated pdfs in Windows Vista
On Tue, Feb 24, 2009 at 2:23 PM, Hans Hagen wrote: > Alan Stone wrote: > >> It's a portable with Intel Core Duo CPU P8400 2.26 GHz, 4Gb memory. >> > > hm, then rendering shoul dbe ok; maybe there is something special with your > documents Wouldn't know what's so special about them: picture(s), text, some interactive elements, Windows ttf fonts. As it didn't occur when openening the pdf's in Windows XP and Linux, it has something to do with Vista. Alan ___ 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] \digits
Wolfgang Schuster wrote: On Sun, Feb 15, 2009 at 5:04 PM, Wolfgang Schuster wrote: Hi, the \digits command cause a error message with the last beta in MkIV. This took much more longer than it should. In supp-num.tex, there is this definition: \def\dohandledigits {\mathcode`\,="013B \mathcode`\.="013A % pretty hard coded \expandafter\handletokens\collecteddigits\with\scandigits \ifcase\powerdigits\else\digitpowerseparator^{\savedpowerdigits}\fi} which is causing the trouble. I assume this is just to move them out of the way, so replacing the two ones with zeroes probably works (?). 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] LM typsescript problem
good . On Tue, Feb 24, 2009 at 9:52 PM, Alan Bowen wrote: > Luigi— > I do not know if what you suggest will work with Thomas’ Greek module. What > I have now (thanks to Thomas) in my environment file is: > \usetypescript[serif,sans,mono,mm][hanging][normal] > \setupalign[hz,hanging] > \setupfootnotes[align={hz,hanging}] > \startfonthandling[greekpure] > \defineprotrudefactor . 0 1 > \defineprotrudefactor , 0 1 > \defineprotrudefactor ; 0 1 > \defineprotrudefactor ? 0 1 > \defineprotrudefactor - 0 1 > \defineprotrudefactor hyphen 0 1 > \defineprotrudefactor endash 0 .5 > \defineprotrudefactor emdash 0 .33 > \stopfonthandling > \setupencoding[default=ec] > \definebodyfontenvironment[10.5pt] > \starttypescript [serif] [default] [size] > \definebodyfont [10.5pt] [rm] [default] > \stoptypescript > \definebodyfontenvironment[9.5pt] > \starttypescript [serif] [default] [size] > \definebodyfont[9.5pt] [rm] [default] > \stoptypescript > \setupbodyfont[lmodern,rm,10.5pt] > \usemodule[ancientgreek][font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9] > \def\grk{\localgreek} > \def\altgrk{\localaltgreek} > \setupfontsynonym[GreekDioxipe][handling=greekpure] > \setupfontsynonym[GreekCanonica][handling=greekpure] > and this does work with all the bells and whistles. > Alan > > On Feb 24, 2009, at 15;32,29 , luigi scarso wrote: > > On Tue, Feb 24, 2009 at 9:12 PM, Alan Bowen wrote: > > That is what he means, Aditya! *–) Many thanks. A. > > ah ok. this one > \usetypescript[serif,sans,mono][hanging][pure] > \setupalign[hanging] > \usetypescript[modern-base][texnansi] % a simplified latin-modern > typescript > \setupbodyfont[reset] > \setupbodyfont[modern] > > In mkii usually with "font installation" one means run texfont (with > appropriate switches ) on a set of fonts . > If a font is installed correctly, this font can be "loaded" , or > .better, made available to the engine > > But in in mkiv there is no need for texfont so fonts installation is > more easy: just copy them into the right places, and it's all ok. > > -- > 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 > ___ > > -- 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 ___
Re: [NTG-context] Can't find CFF table, not related to extension
\enableregime[utf] \mainlanguage[en] \definefontsynonym [myfont] [file:TITUSCBZ.TTF] \definefont [tudo] [myfont at 25pt] \starttext \tudo Here is my text. \stoptext works ok here . -- 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 ___
Re: [NTG-context] Can't find CFF table, not related to extension
Am 24.02.2009 um 21:42 schrieb Maurí cio: \definefontsynonym [myfont] [name:/home/mauricio/fontes/TITUSCBZ.ttf] \definefontsynonym [myfont] [file:TITUSCBZ] or \definefontsynonym [myfont] [name:tituscyberbitbasic] 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] Can't find CFF table, not related to extension
Maurício wrote: try to rename TITUSCBZ.TTF to TITUSCBZ.ttf If that doesn't work, then I would like a small test file and a pointer to the font, please. Here are the sites where I finded about this font and then downloaded it: http://en.wikipedia.org/wiki/TITUS_Cyberbit_Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp This is the error message: !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.ttf): can't find table `CFF ' ==> Fatal error occurred, no output PDF file produced! ConTeXt version: MtxRun | current version: 2008.11.10 21:40 Works perfectly for me, using \definefontsynonym [myfont] [file:tituscbz.ttf] Versions: This is LuaTeX, Version snapshot-0.35.0 (titus.tex ConTeXt ver: 2009.02.23 19:43 MKIV fmt: 2009.2.23 int:english/english 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] LM typsescript problem
Luigi— I do not know if what you suggest will work with Thomas’ Greek module. What I have now (thanks to Thomas) in my environment file is: \usetypescript[serif,sans,mono,mm][hanging][normal] \setupalign[hz,hanging] \setupfootnotes[align={hz,hanging}] \startfonthandling[greekpure] \defineprotrudefactor . 0 1 \defineprotrudefactor , 0 1 \defineprotrudefactor ; 0 1 \defineprotrudefactor ? 0 1 \defineprotrudefactor - 0 1 \defineprotrudefactor hyphen 0 1 \defineprotrudefactor endash 0 .5 \defineprotrudefactor emdash 0 .33 \stopfonthandling \setupencoding[default=ec] \definebodyfontenvironment[10.5pt] \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] \starttypescript [serif] [default] [size] \definebodyfont[9.5pt] [rm] [default] \stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=1.15,altfont=GreekCanonica,altscale=0.9] \def\grk{\localgreek} \def\altgrk{\localaltgreek} \setupfontsynonym[GreekDioxipe][handling=greekpure] \setupfontsynonym[GreekCanonica][handling=greekpure] and this does work with all the bells and whistles. Alan On Feb 24, 2009, at 15;32,29 , luigi scarso wrote: On Tue, Feb 24, 2009 at 9:12 PM, Alan Bowen wrote: That is what he means, Aditya! *–) Many thanks. A. ah ok. this one \usetypescript[serif,sans,mono][hanging][pure] \setupalign[hanging] \usetypescript[modern-base][texnansi] % a simplified latin-modern typescript \setupbodyfont[reset] \setupbodyfont[modern] In mkii usually with "font installation" one means run texfont (with appropriate switches ) on a set of fonts . If a font is installed correctly, this font can be "loaded" , or .better, made available to the engine But in in mkiv there is no need for texfont so fonts installation is more easy: just copy them into the right places, and it's all ok. -- 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] LM typsescript problem
Alan Bowen wrote: So, does MKIV do away with this requirement, Hans? yes - 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] Can't find CFF table, not related to extension
try to rename TITUSCBZ.TTF to TITUSCBZ.ttf If that doesn't work, then I would like a small test file and a pointer to the font, please. Here are the sites where I finded about this font and then downloaded it: http://en.wikipedia.org/wiki/TITUS_Cyberbit_Basic http://titus.fkidg1.uni-frankfurt.de/unicode/tituut.asp This is the error message: !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.ttf): can't find table `CFF ' ==> Fatal error occurred, no output PDF file produced! ConTeXt version: MtxRun | current version: 2008.11.10 21:40 And below is my small test file. (Just a note: I had to delete TITUSCBZ.* files under 'fonts/otf' in texmf-cache in order to ConTeXt look for the downcased .ttf file name instead of complaining not to be able to find the .TTF original name.) Best, Maurício %%% \enableregime[utf] \mainlanguage[en] \definefontsynonym [myfont] [name:/home/mauricio/fontes/TITUSCBZ.ttf] \definefont [tudo] [myfont at 25pt] \starttext \tudo Here is my text. \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Making necessary OpenType features on by default
On Mon, Feb 23, 2009 at 04:19:13PM -0700, Idris Samawi Hamid ادريس سماوي حامد wrote: >> OK, here is an initial version. The glyphs are scaled up since >> Scheherazade is tiny, fixed الله ligature, added لله and فلله ligatures >> as well, fixed the swash kaf and the Sindi meem and a bunch of Quranic >> marks as well: http://www.khaledhosny.org/files/simplenaskhi.zip > > Ok, thnx, Khaled. I looked at it: The الله is infinitely better, but does > not quite match the rest -- the shaddah is way too big for it (or maybe > the الله lig is too short). On closer inspection, I see that this is not > the full الله lig, but a mix of the no-vowel version with the default > shaddah. The actual FDF2 looks better. So there is still some OT work > that needs to be done. > > I also have some poetry macros that might help, need to port them to the > new system... That'd be great! > > Not too bad a font. Like Lotus, it works best at smaller text sizes, not > greater than 12 point. > > The فلله lig should be off by default, there are other Arabic word > combinations that use that combo that have nothing to do with الله. I can't think in any other word on top of my head, but I'm fine with making it a 'dlig' instead, it isn't very common any way. > > Next steps: > > 1. Can I add some fixes to this thing as well or would you like to keep > 100% maintainance? > > 2. I can try to put in some time in the coming weeks to develop this into > a default setup for ConTeXt-mkiv -- per recent discussions -- or I can > leave that to you/Otared and just review the results. Just let me know > how you would like to proceed. Of course you are welcomed, actually I won't have much free time till the end of march, it'd be nice if you can work on it. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ 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] LM typsescript problem
On Tue, Feb 24, 2009 at 9:12 PM, Alan Bowen wrote: > That is what he means, Aditya! *–) Many thanks. A. ah ok. this one \usetypescript[serif,sans,mono][hanging][pure] \setupalign[hanging] \usetypescript[modern-base][texnansi] % a simplified latin-modern typescript \setupbodyfont[reset] \setupbodyfont[modern] In mkii usually with "font installation" one means run texfont (with appropriate switches ) on a set of fonts . If a font is installed correctly, this font can be "loaded" , or .better, made available to the engine But in in mkiv there is no need for texfont so fonts installation is more easy: just copy them into the right places, and it's all ok. -- 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 ___
Re: [NTG-context] LM typsescript problem
So, does MKIV do away with this requirement, Hans? Alan On Feb 24, 2009, at 15;21,02 , Hans Hagen wrote: Alan Bowen wrote: Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re- defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) hm, margin kerning does not demands reinstallation; it only needs to be initialized at the right time because fonts are reused and enabling hz for some font that already has been defined is ignored (in mkii) which is due to the way traditional tex caches fonts - 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 ___ ___ 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] LM typsescript problem
Alan Bowen wrote: Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re-defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) hm, margin kerning does not demands reinstallation; it only needs to be initialized at the right time because fonts are reused and enabling hz for some font that already has been defined is ignored (in mkii) which is due to the way traditional tex caches fonts - 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] LM typsescript problem
That is what he means, Aditya! *–) Many thanks. A. On Feb 24, 2009, at 14;57,06 , Aditya Mahajan wrote: On Tue, 24 Feb 2009, luigi scarso wrote: On Tue, Feb 24, 2009 at 7:49 PM, Alan Bowen wrote: Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re- defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) Alan Well, I had never used margin kerning and hanging punctuation but I don't think that a font must be re-installed if margin kerning etc are to take effect . I think that Alan means that you need to reset the font, as explained in http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern 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 ___ ___ 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] \digits
On Sun, Feb 15, 2009 at 5:04 PM, Wolfgang Schuster wrote: > Hi, > > the \digits command cause a error message with the last beta in MkIV. > > > % engine=luatex > \starttext > \digits{1.000} > \stoptext > > > ! \textfont 1 is undefined (character :). > \mathematics #1->\relax \ifmmode #1\else $#1$ > \fi > \doscandigit ...\digitoutputmode ,\else .\fi \fi } > \egroup > \digitsep ...x \digitsepbox \hbox {\doscandigit #1 > }\fi \chardef \skipdigit > 0... > \scandigits #1->\if #1.\digitsep 1 > \else \if #1,\digitsep 2\else \if > #...@\digi... > \next *#1->\dododohandletokens {#1} > \dohandletokens > 1. > 000 > ... > l.3 \digits{1.000} > > > Best regards, > 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] \setbuffer
On Sat, Feb 14, 2009 at 10:09 AM, Wolfgang Schuster wrote: > Hi Hans, > > why is \setbuffer not defined with \long, I want to use it as part > of a macro and need it to allow paragraphs as content. > > Can you change this? > > TIA, > 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 ___
[NTG-context] Punctuation
On Sun, Feb 15, 2009 at 5:27 PM, Wolfgang Schuster wrote: > Hi, > > with the persian interface each character has now the catcode 11 and this > cause a few problems in the input with puctuation, see below. > > \starttext > »\CONTEXT« and »\CONTEXT’ interface« > \stoptext > > The right quillemet and the apostrophe are treated as part of the \CONTEXT > command and we should reset them (plus a few more) to catcode 12 in the > format. > > 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] LM typsescript problem
On Tue, 24 Feb 2009, luigi scarso wrote: On Tue, Feb 24, 2009 at 7:49 PM, Alan Bowen wrote: Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re-defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) Alan Well, I had never used margin kerning and hanging punctuation but I don't think that a font must be re-installed if margin kerning etc are to take effect . I think that Alan means that you need to reset the font, as explained in http://wiki.contextgarden.net/Protrusion#Use_with_Latin_Modern 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 ___
Re: [NTG-context] LM typsescript problem
Not every font, Luigi. Just Latin Modern because ConTeXt comes with it installed already. I am assuming, of course, that it is still true that margin kerning etc. must de set up before a font is installed for it to affect that font. Alan On Feb 24, 2009, at 13;59,12 , luigi scarso wrote: On Tue, Feb 24, 2009 at 7:49 PM, Alan Bowen wrote: Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re- defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) Alan Well, I had never used margin kerning and hanging punctuation but I don't think that a font must be re-installed if margin kerning etc are to take effect . -- 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] Can't find CFF table, not related to extension
luigi scarso wrote: On Tue, Feb 24, 2009 at 4:59 PM, Maurício wrote: Hi, I get this error with a font I just downloaded. It's my first attempt at using a font not provided with context minimals: %% !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.TTF): can't find table `CFF ' ==> Fatal error occurred, no output PDF file produced! %% try to rename TITUSCBZ.TTF to TITUSCBZ.ttf That is my advice as well. If that doesn't work, then I would like a small test file and a pointer to the font, please. 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] LM typsescript problem
On Tue, Feb 24, 2009 at 7:49 PM, Alan Bowen wrote: > Luigi--- > I did this because I thought it was necessary (in MKII at least) to > install/define fonts after setting up margin kerning and hanging > punctuation---which means that Latin Modern has be re-installed/re-defined > if margin kerning etc are to take effect. Is this still right? (Perhaps I am > not using the right terminology.) > Alan Well, I had never used margin kerning and hanging punctuation but I don't think that a font must be re-installed if margin kerning etc are to take effect . -- 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 ___
Re: [NTG-context] LM typsescript problem
Luigi--- I did this because I thought it was necessary (in MKII at least) to install/define fonts after setting up margin kerning and hanging punctuation---which means that Latin Modern has be re-installed/re- defined if margin kerning etc are to take effect. Is this still right? (Perhaps I am not using the right terminology.) Alan On Feb 24, 2009, at 13;41,26 , luigi scarso wrote: On Tue, Feb 24, 2009 at 7:23 PM, Alan Bowen wrote: Thanks, Thomas, it now works as it should! Repairing the way I had installed LM was the solution. I am not sure how you got the desired output using my original test file, but never mind. It now works, the journal can proceed, and I am very grateful for your guidance in sorting this out. I dont' understand a thing: does "LM" refer to the fonts under /minimals/tex/texmf/fonts/opentype/public/lm ? If yes, why did you installed them ? They come with minimals . -- 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] LM typsescript problem
On Tue, Feb 24, 2009 at 7:23 PM, Alan Bowen wrote: > Thanks, Thomas, it now works as it should! Repairing the way I had installed > LM was the solution. I am not sure how you got the desired output using my > original test file, but never mind. It now works, the journal can proceed, > and I am very grateful for your guidance in sorting this out. I dont' understand a thing: does "LM" refer to the fonts under /minimals/tex/texmf/fonts/opentype/public/lm ? If yes, why did you installed them ? They come with minimals . -- 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 ___
Re: [NTG-context] LM typsescript problem
Thanks, Thomas, it now works as it should! Repairing the way I had installed LM was the solution. I am not sure how you got the desired output using my original test file, but never mind. It now works, the journal can proceed, and I am very grateful for your guidance in sorting this out. All best, Alan On Feb 24, 2009, at 12;47,55 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 6:36 PM, Alan Bowen wrote: Thomas— I updated my original ConTeXtMinimals with --context=alpha (ConTeXt ver: 2009.02.24 16:36 MKII) and tried the test file. By the way, I got the same errors as before when the install script came to luatex, so I guess that is still broken. Anyway, no joy: the Greek is still the wrong size using \usemodule[ancientgreek]. Alan Yes, because you haven't added the lines \definebodyfontenvironment[10.5pt] \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm] [default] \stoptypescript I get the expected output here. 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 ___ ___ 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 ppchtex greek character bug
Thanks for the very rapid reply. On Tuesday 24 February 2009 18:23:48 Hans Hagen wrote: > > ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) > ^^ > > way too old So things move fast! > get the zip from the website, I'm not sure which zip you mean? So I changed --context=beta to -context=alpha in first-setup.sh and now I have ConTeXt ver: 2009.02.24 16:36 MKIV fmt: 2009.2.24 int: english/english and this gives me errors: ... ppchtex: number 0 is skipped ! Font \nullfont has only 7 fontdimen parameters. \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript ...bscript {#1}{\textfont 2}{#2} \dosetsubscript {#1}{\scri... \setsubscripts ...setsubscript \mathsubnormal {.7} \dodosetsubscript \mathsub... \putchemicaltext ...icalframe {}}\dosetsubscripts \setbox 2=\hbox {$\@@doche... ...caloffset {0}\putchemicaltext {0}{0} \undochemicaloffset ... l.9 \stopchemical ? ___ 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] beta release
Am 24.02.2009 um 17:09 schrieb Hans Hagen: As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context beta that matches this version. The most important move is that we now have a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart from bringin unicode math this also gives a better performance. (Some info about what is involved can be found in mk.pdf on the website). There might be ommisions so when you run into one, just let us know. Has the beta also some fixes for the experimental interface, normal MkIV produce no index which I get with experimental but I won't use it either because of a few other bugs. 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] PDF/X-1A
Antoine Junod wrote: >> Okay I did it but it is still not accepted by my printer (with no >> other details than 'not pdf/x-a1...'). You could also try to use Ghostscript with PDF/X3 option, cf. http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#PDFX Example command is: gs -dPDFX -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor -sDEVICE=pdfwrite -sOutputFile=out-x3.pdf PDFX_def.ps input.ps If I understood it correctly, one can also replace "input.ps" by "input.pdf". (Note: Completely untested.) Tobias ___ 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/X-1A
Antoine Junod wrote: Okay I did it but it is still not accepted by my printer (with no other details than 'not pdf/x-a1...'). just ask him for a printed report; validators can do that 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/X-1A
> By the way, is there any way to check PDF/X-1A compatibility without a > proprietary tool? AFIK none. BTW pitstop and adobe are the most important players in this area, so a certificate made from pitstop/adobe has more credibility than that one make from an open source tool -- 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 ___
Re: [NTG-context] LM typsescript problem
On Feb 24, 2009, at 6:36 PM, Alan Bowen wrote: Thomas— I updated my original ConTeXtMinimals with --context=alpha (ConTeXt ver: 2009.02.24 16:36 MKII) and tried the test file. By the way, I got the same errors as before when the install script came to luatex, so I guess that is still broken. Anyway, no joy: the Greek is still the wrong size using \usemodule[ancientgreek]. Alan Yes, because you haven't added the lines \definebodyfontenvironment[10.5pt] \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm] [default] \stoptypescript I get the expected output here. 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] LM typsescript problem
Thomas— I updated my original ConTeXtMinimals with --context=alpha (ConTeXt ver: 2009.02.24 16:36 MKII) and tried the test file. By the way, I got the same errors as before when the install script came to luatex, so I guess that is still broken. Anyway, no joy: the Greek is still the wrong size using \usemodule[ancientgreek]. Alan On Feb 24, 2009, at 11;52,52 , Alan Bowen wrote: OK. I now have alphaminimal up and running (ConTeXt ver: 2009.02.17 18:50 MKII fmt: 2009.2.24 int: english/english). (The only change is that I have it in my Applications folder). The test file \enableregime[mac] \mainlanguage[en] \definebodyfontenvironment[10.5pt] %\usetypescript[lmodern][\defaultencoding] %\starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] %\stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] %\usemodule[oldgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] \setupfootnotes [conversion =numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal] \starttext This Greek should be scaled at 2.15 its design size \localgreek{>'alfa ka`i b~hta} This is more sample text.% \footnote{This is a sample footnote} \stoptext processes but the Greek is still the wrong size. Alan On Feb 24, 2009, at 11;00,00 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 4:42 PM, Alan Bowen wrote: Well, that is what it should be. So the problem is definitely on my box. But where? I have no idea right now about how to test this further. Alan I'm aware we have made you install lots of versions, in vain. Nevertheless, I would suggest trying the current beta version. It is broken wrt mkiv, but you are still using mkii, right? So from my earlier mail: mkdir ~/alphaminimal && cd ~/alphaminimal rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --context=alpha You will get errors when the installation tries to create the luatex formats; just ignore them; mkii should be fine. At least, that's what I used here to produce the pdf. Be sure to adapt your environment variables and $PATH so you use this new version, not the older ones on your system. 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 ___ ___ 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] PDF/X-1A
Sebastien Mengin writes: > Le 24 fév 2009 à 02:27, Hans Hagen a écrit: >> the pdf code produced by pdftex/luatex is rather stupid in the sense >> that it is rather compliant >> >> you can control color to some extend using settings like >> >> \setupcolors[rgb=no] > > The OP should also control the color model (cmyk) and the > size/resolution of every picture included. And what exactly should I check that is related with the size / resolution of the pictures I included in the document? By the way, is there any way to check PDF/X-1A compatibility without a proprietary tool? All the best, -AJ ___ 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/X-1A
Hans Hagen writes: > Antoine Junod wrote: >> Dear List, >> A lot of you guys helped me through the process of setting a little >> booklet and I have to say I was proud of the result (44 full color >> pages with a lot of pictures and texts). Thanks for that. >> I'm now in the process of printing that booklet. I was happy to send >> my beautiful pdf to the printer for 250 copies, pdf file that has been >> refused because not in a PDF/X-1A format. >> I googled a bit and learned a bit about that: wikipedia has a good >> article [0] on the topic and there is LaTeX package (pdfx) for pdfTeX >> that has a good doc about that [1]. In short, PDF/X-1A is a set of >> rules and subset of PDF that ensures that the document will be see >> exactly the same for the editor and the printer (embed every fonts, >> use only CMYK and son on). >> Here is my question: is it possible to produce such documents with >> ConTeXt? It is quite frustrating to provide my printer with huge jpeg >> files. > > the pdf code produced by pdftex/luatex is rather stupid in the sense > that it is rather compliant I'm not sure that simple is a synonym of complient in that case... > you can control color to some extend using settings like > > \setupcolors[rgb=no] Okay I did it but it is still not accepted by my printer (with no other details than 'not pdf/x-a1...'). > what does the pdf validator of acrobat say? maybe the printer is bit > picky on aspects that don't really matter (like having some specific > key in a dictionary telling thisorthat) I have sadly no such tool. And I can't give the pdf to the world because of some information that it contains... (adresses and phone numbers of kids). I'll povide them with jpg. But that's not really cool. A+ -AJ ___ 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 ppchtex greek character bug
Alan BRASLAU wrote: There appears to be a bug in mkiv with greek letters (and other math symbols?) within ppchtex. I am using the latest conTeXt minimals: (This is LuaTeX, Version snapshot-0.35.0 ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.24 int: english/english) ^^ way to old get the zip from the website, unzip in texmf-context luatools --generate luatools --selfmerge mtxrun --selfmerge context --make - 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] Can't find CFF table, not related to extension
On Tue, Feb 24, 2009 at 4:59 PM, Maurício wrote: > Hi, > > I get this error with a font I just downloaded. It's > my first attempt at using a font not provided with > context minimals: > > %% > !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.TTF): can't find table > `CFF ' > ==> Fatal error occurred, no output PDF file produced! > %% try to rename TITUSCBZ.TTF to TITUSCBZ.ttf -- 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 ___
Re: [NTG-context] LM typsescript problem
OK. I now have alphaminimal up and running (ConTeXt ver: 2009.02.17 18:50 MKII fmt: 2009.2.24 int: english/english). (The only change is that I have it in my Applications folder). The test file \enableregime[mac] \mainlanguage[en] \definebodyfontenvironment[10.5pt] %\usetypescript[lmodern][\defaultencoding] %\starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] %\stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] %\usemodule[oldgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] \setupfootnotes [conversion =numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal] \starttext This Greek should be scaled at 2.15 its design size \localgreek{>'alfa ka`i b~hta} This is more sample text.% \footnote{This is a sample footnote} \stoptext processes but the Greek is still the wrong size. Alan On Feb 24, 2009, at 11;00,00 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 4:42 PM, Alan Bowen wrote: Well, that is what it should be. So the problem is definitely on my box. But where? I have no idea right now about how to test this further. Alan I'm aware we have made you install lots of versions, in vain. Nevertheless, I would suggest trying the current beta version. It is broken wrt mkiv, but you are still using mkii, right? So from my earlier mail: mkdir ~/alphaminimal && cd ~/alphaminimal rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --context=alpha You will get errors when the installation tries to create the luatex formats; just ignore them; mkii should be fine. At least, that's what I used here to produce the pdf. Be sure to adapt your environment variables and $PATH so you use this new version, not the older ones on your system. 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 ___ ___ 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] Can't find CFF table, not related to extension
Make sure that there is no space in the font name. On 2/24/09, Maurício wrote: > Hi, > > I get this error with a font I just downloaded. It's > my first attempt at using a font not provided with > context minimals: > > %% > !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.TTF): can't find table > `CFF ' > ==> Fatal error occurred, no output PDF file produced! > %% > > I found a thread on the mailing list discussing this, > but the problem seems to have been solved by changing > the extension to .TTF, but my file was already TTF > when I first saw it. > > Thanks for your help, > Maurício > > ___ > 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] LM typsescript problem
Thomas— Before I turn to your other messages (which I will follow up on, since I prefer very much to be current). \usemodule[oldgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] instead of \usemodule[ancientgreek]... gives the desired output. Alan On Feb 24, 2009, at 10;22,01 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 4:13 PM, Alan Bowen wrote: The Greek is not scaled at 2.15 See the attachment. Alan Here's my output: ___ 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 ___
[NTG-context] beta release
Hi, As prelude to LuaTeX 0.40 there is now a beta 0.35. I uploaded a context beta that matches this version. The most important move is that we now have a new math subsystem. (Specially for Mojca: iwona seems to work ok). Apart from bringin unicode math this also gives a better performance. (Some info about what is involved can be found in mk.pdf on the website). There might be ommisions so when you run into one, just let us know. 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] LM typsescript problem
On Feb 24, 2009, at 4:53 PM, Alan Bowen wrote: Thomas— Did you test this on a Mac? Alan Yes: sw_vers ProductName:Mac OS X ProductVersion: 10.5.6 BuildVersion: 9G55 ctxtools --contextversion CtxTools | context version: 2009.02.17 18:50 (/Users/tas/context/tex/ texmf-context/tex/context/base/context.tex) CtxTools | context version: 2009.02.17 18:50 (/Users/tas/context/tex/ texmf-context/tex/context/base/cont-new.tex) 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] Making necessary OpenType features on by default
Idris Samawi Hamid wrote: On Mon, 23 Feb 2009 16:23:59 -0700, Hans Hagen wrote: a quick start but with bad output is not the way to go I was about to forget why I didn't like font fallbacks in the first place, the current font fallback mechanism assigns fonts per Unicode characters, this is fine until we come to common characters like numbers or brackets: you can only assign it to one font, which isn't usually desirable. Think of this sentence: عربي 1234 عربي (English 1234 English (English) English) عربي. Here, the outer most parentheses and first numbers should use the same font of the Arabic text, while the inner ones should use the font of the English text, font fallback can't do this. Instead we need to segment the text per script and apply fonts on whole segments, the Unicode Script Property annex describes a way to handle this, see http://www.unicode.org/reports/tr24/#Script_Names_in_Rendering. Sure but that can be done by using explicit switches to another 'environment' i.e. explicitly marking sections I'm not that sure if i want to add some fuzzy automatism which then needs to handle all kind of exceptions too proper markup is a good solution Not sure I understand you, but could we do something like the following: Along the lines of \quote, \quotation: Latin text\paren{here is some arabic text\paren[somefallback]{here is some latin} more arabic}. so the fallback will be used when explicitly called. Put another way, could we add a conditional parameter to the fallback macro so that those chars are used only in situations when they are specifically called? \paren[fallback=...] \bracket[fallback=...] \brace[fallback=...] \anglebracket[fallback=...] sure, it makes sense to add that kind of structure - 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] Can't find CFF table, not related to extension
Hi, I get this error with a font I just downloaded. It's my first attempt at using a font not provided with context minimals: %% !luaTeX error (file /home/mauricio/fontes/TITUSCBZ.TTF): can't find table `CFF ' ==> Fatal error occurred, no output PDF file produced! %% I found a thread on the mailing list discussing this, but the problem seems to have been solved by changing the extension to .TTF, but my file was already TTF when I first saw it. Thanks for your help, Maurício ___ 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] LM typsescript problem
On Feb 24, 2009, at 4:42 PM, Alan Bowen wrote: Well, that is what it should be. So the problem is definitely on my box. But where? I have no idea right now about how to test this further. Alan I'm aware we have made you install lots of versions, in vain. Nevertheless, I would suggest trying the current beta version. It is broken wrt mkiv, but you are still using mkii, right? So from my earlier mail: mkdir ~/alphaminimal && cd ~/alphaminimal rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --context=alpha You will get errors when the installation tries to create the luatex formats; just ignore them; mkii should be fine. At least, that's what I used here to produce the pdf. Be sure to adapt your environment variables and $PATH so you use this new version, not the older ones on your system. 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] Font with compreensive unicode
Hi Maurício, On Mon, 23 Feb 2009 18:39:28 -0700, Maurício wrote: Is there a font I could select that would give me a wide set of unicode characters? You can also use fallbacks to fill in any holes you may encounter... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] LM typsescript problem
Thomas— Did you test this on a Mac? Alan On Feb 24, 2009, at 10;22,01 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 4:13 PM, Alan Bowen wrote: The Greek is not scaled at 2.15 See the attachment. Alan Here's my output: ___ 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] Making necessary OpenType features on by default
On Mon, 23 Feb 2009 16:23:59 -0700, Hans Hagen wrote: a quick start but with bad output is not the way to go I was about to forget why I didn't like font fallbacks in the first place, the current font fallback mechanism assigns fonts per Unicode characters, this is fine until we come to common characters like numbers or brackets: you can only assign it to one font, which isn't usually desirable. Think of this sentence: عربي 1234 عربي (English 1234 English (English) English) عربي. Here, the outer most parentheses and first numbers should use the same font of the Arabic text, while the inner ones should use the font of the English text, font fallback can't do this. Instead we need to segment the text per script and apply fonts on whole segments, the Unicode Script Property annex describes a way to handle this, see http://www.unicode.org/reports/tr24/#Script_Names_in_Rendering. Sure but that can be done by using explicit switches to another 'environment' i.e. explicitly marking sections I'm not that sure if i want to add some fuzzy automatism which then needs to handle all kind of exceptions too proper markup is a good solution Not sure I understand you, but could we do something like the following: Along the lines of \quote, \quotation: Latin text\paren{here is some arabic text\paren[somefallback]{here is some latin} more arabic}. so the fallback will be used when explicitly called. Put another way, could we add a conditional parameter to the fallback macro so that those chars are used only in situations when they are specifically called? \paren[fallback=...] \bracket[fallback=...] \brace[fallback=...] \anglebracket[fallback=...] Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] LM typsescript problem
Well, that is what it should be. So the problem is definitely on my box. But where? I have no idea right now about how to test this further. Alan On Feb 24, 2009, at 10;22,01 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 4:13 PM, Alan Bowen wrote: The Greek is not scaled at 2.15 See the attachment. Alan Here's my output: ___ 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] LM typsescript problem
On Feb 24, 2009, at 4:13 PM, Alan Bowen wrote: The Greek is not scaled at 2.15 See the attachment. Alan Here's my output: test.pdf Description: Adobe PDF document ___ 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] LM typsescript problem
The Greek is not scaled at 2.15 See the attachment. Alan LMGreekTest.pdf Description: Adobe PDF document On Feb 24, 2009, at 10;01,44 , Thomas A. Schmitz wrote: On Feb 24, 2009, at 3:46 PM, Alan Bowen wrote: Thanks, Thomas! Its does indeed compile. But the font size for the Greek is still wrong. Alan With your test file, I get properly scaled Greek output both in text and footnotes. So what is wrong with your output? 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 ___ ___ 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] LM typsescript problem
On Feb 24, 2009, at 3:46 PM, Alan Bowen wrote: Thanks, Thomas! Its does indeed compile. But the font size for the Greek is still wrong. Alan With your test file, I get properly scaled Greek output both in text and footnotes. So what is wrong with your output? 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] LM typsescript problem
Thanks, Thomas! Its does indeed compile. But the font size for the Greek is still wrong. Alan On Feb 24, 2009, at 09;05,40 , Thomas A. Schmitz wrote: When I add this at the beginning of the file: \definebodyfontenvironment[10.5pt] \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm] [default] \stoptypescript the file compiles normally. Thomas On Feb 24, 2009, at 2:54 PM, Alan Bowen wrote: This file will produce the problem: \enableregime[mac] \mainlanguage[en] \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] \setupfootnotes [conversion = numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal] \starttext This Greek should be scaled at 2.15 its design size \localgreek{>'alfa ka`i b~hta} This is more sample text.% \footnote{This is a sample footnote} \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 : 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] LM typsescript problem
When I add this at the beginning of the file: \definebodyfontenvironment[10.5pt] \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm] [default] \stoptypescript the file compiles normally. Thomas On Feb 24, 2009, at 2:54 PM, Alan Bowen wrote: This file will produce the problem: \enableregime[mac] \mainlanguage[en] \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] \setupfootnotes [conversion =numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal] \starttext This Greek should be scaled at 2.15 its design size \localgreek{>'alfa ka`i b~hta} This is more sample text.% \footnote{This is a sample footnote} \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] LM typsescript problem
Hans, This file will produce the problem: \enableregime[mac] \mainlanguage[en] \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript \setupbodyfont[lmodern,rm,10.5pt] \usemodule[ancientgreek] [font=GreekDioxipe,scale=2.15,altfont=GreekCanonica,altscale=0.9] \setupfootnotes [conversion =numbers,way=bytext,location=page,rule=on,bodyfont=9.5pt,style=normal] \starttext This Greek should be scaled at 2.15 its design size \localgreek{>'alfa ka`i b~hta} This is more sample text.% \footnote{This is a sample footnote} \stoptext Alan On Feb 24, 2009, at 08;28,26 , Hans Hagen wrote: Alan Bowen wrote: Thomas, Luigi— Thanks for tips: they are much appreciated. As it turns out, I had already reinstalled ConTeXt 2008.11.10 21:40 using TimeMachine. What is distressing is that the problem remains. I can either set an article with LM and Greek without proper scaling for the Greek or set the article with LM and proper Greek but without the footnotes (arithmetic overflow). In the first case, I have \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript and in the second \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] There is no problem with other text fonts, by the way. in order to solve this (not sure what the problem is) we need small test files (since i never use greek i have no clue otherwise) 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 ___ ___ 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] LM typsescript problem
I have tried to reproduce your problem, but I can't see anything - Greek works in footnotes and with proper scaling here. Please make a minimal example. Thomas On Feb 24, 2009, at 2:31 PM, Alan Bowen wrote: Thomas, Luigi— Thanks for tips: they are much appreciated. As it turns out, I had already reinstalled ConTeXt 2008.11.10 21:40 using TimeMachine. What is distressing is that the problem remains. I can either set an article with LM and Greek without proper scaling for the Greek or set the article with LM and proper Greek but without the footnotes (arithmetic overflow). In the SECOND case, I have \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript and in the FIRST \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] There is no problem with other text fonts, by the way. Very frustrating to say the least. Alan ___ 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/X-1A
Le 24 fév 2009 à 02:27, Hans Hagen a écrit: > the pdf code produced by pdftex/luatex is rather stupid in the sense > that it is rather compliant > > you can control color to some extend using settings like > > \setupcolors[rgb=no] The OP should also control the color model (cmyk) and the size/resolution of every picture included. These points are often causes of errors. -- Sébastien http://edilibre.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] LM typsescript problem
Alan Bowen wrote: Thomas, Luigi— Thanks for tips: they are much appreciated. As it turns out, I had already reinstalled ConTeXt 2008.11.10 21:40 using TimeMachine. What is distressing is that the problem remains. I can either set an article with LM and Greek without proper scaling for the Greek or set the article with LM and proper Greek but without the footnotes (arithmetic overflow). In the first case, I have \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript and in the second \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] There is no problem with other text fonts, by the way. in order to solve this (not sure what the problem is) we need small test files (since i never use greek i have no clue otherwise) 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] LM typsescript problem
Corrected version! Thomas, Luigi— Thanks for tips: they are much appreciated. As it turns out, I had already reinstalled ConTeXt 2008.11.10 21:40 using TimeMachine. What is distressing is that the problem remains. I can either set an article with LM and Greek without proper scaling for the Greek or set the article with LM and proper Greek but without the footnotes (arithmetic overflow). In the SECOND case, I have \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript and in the FIRST \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] There is no problem with other text fonts, by the way. Very frustrating to say the least. Alan On Feb 24, 2009, at 08;04,41 , luigi scarso wrote: On Tue, Feb 24, 2009 at 1:43 PM, Alan Bowen wrote: The minimals (both the stable and the beta versions) in contextgarden.net/minimals/setup/$platform/bin seem to be frozen at 2009.01.18 14;39. for me minimals-beta/tex# context --version MtxRun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/ context.tex MtxRun | current version: 2009.01.18 14:39 minimals# context --version MtxRun | main context file: /opt/luatex/minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 -- 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 ___ ___ 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/X-1A
Antoine Junod wrote: Dear List, A lot of you guys helped me through the process of setting a little booklet and I have to say I was proud of the result (44 full color pages with a lot of pictures and texts). Thanks for that. I'm now in the process of printing that booklet. I was happy to send my beautiful pdf to the printer for 250 copies, pdf file that has been refused because not in a PDF/X-1A format. I googled a bit and learned a bit about that: wikipedia has a good article [0] on the topic and there is LaTeX package (pdfx) for pdfTeX that has a good doc about that [1]. In short, PDF/X-1A is a set of rules and subset of PDF that ensures that the document will be see exactly the same for the editor and the printer (embed every fonts, use only CMYK and son on). Here is my question: is it possible to produce such documents with ConTeXt? It is quite frustrating to provide my printer with huge jpeg files. the pdf code produced by pdftex/luatex is rather stupid in the sense that it is rather compliant you can control color to some extend using settings like \setupcolors[rgb=no] also, you can avoid interactive features what does the pdf validator of acrobat say? maybe the printer is bit picky on aspects that don't really matter (like having some specific key in a dictionary telling thisorthat) - 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] slower access to ConTeXt generated pdfs in Windows Vista
Alan Stone wrote: It's a portable with Intel Core Duo CPU P8400 2.26 GHz, 4Gb memory. hm, then rendering shoul dbe ok; maybe there is something special with your documents 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] LM typsescript problem
Thomas, Luigi— Thanks for tips: they are much appreciated. As it turns out, I had already reinstalled ConTeXt 2008.11.10 21:40 using TimeMachine. What is distressing is that the problem remains. I can either set an article with LM and Greek without proper scaling for the Greek or set the article with LM and proper Greek but without the footnotes (arithmetic overflow). In the first case, I have \usetypescript[lmodern][\defaultencoding] \starttypescript[serif][default][size] \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] \stoptypescript and in the second \definebodyfont[9.5pt,10.5pt][rm][default] \definebodyfont[9.5pt,10.5pt][mm][default] There is no problem with other text fonts, by the way. Very frustrating to say the least. Alan On Feb 24, 2009, at 08;04,41 , luigi scarso wrote: On Tue, Feb 24, 2009 at 1:43 PM, Alan Bowen wrote: The minimals (both the stable and the beta versions) in contextgarden.net/minimals/setup/$platform/bin seem to be frozen at 2009.01.18 14;39. for me minimals-beta/tex# context --version MtxRun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/ context.tex MtxRun | current version: 2009.01.18 14:39 minimals# context --version MtxRun | main context file: /opt/luatex/minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 -- 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 ___
[NTG-context] PDF/X-1A
Dear List, A lot of you guys helped me through the process of setting a little booklet and I have to say I was proud of the result (44 full color pages with a lot of pictures and texts). Thanks for that. I'm now in the process of printing that booklet. I was happy to send my beautiful pdf to the printer for 250 copies, pdf file that has been refused because not in a PDF/X-1A format. I googled a bit and learned a bit about that: wikipedia has a good article [0] on the topic and there is LaTeX package (pdfx) for pdfTeX that has a good doc about that [1]. In short, PDF/X-1A is a set of rules and subset of PDF that ensures that the document will be see exactly the same for the editor and the printer (embed every fonts, use only CMYK and son on). Here is my question: is it possible to produce such documents with ConTeXt? It is quite frustrating to provide my printer with huge jpeg files. Thanks for the reply, -AJ [0] http://en.wikipedia.org/wiki/PDF/X [1] http://gentoo.chem.wisc.edu/tex-archive/macros/latex/contrib/pdfx/pdfx.pdf ___ 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] LM typsescript problem
On Tue, Feb 24, 2009 at 1:43 PM, Alan Bowen wrote: > The minimals (both the stable and the beta versions) in > contextgarden.net/minimals/setup/$platform/bin seem to be frozen at > 2009.01.18 14;39. for me minimals-beta/tex# context --version MtxRun | main context file: /opt/luatex/minimals-beta/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 minimals# context --version MtxRun | main context file: /opt/luatex/minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 -- 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 ___
Re: [NTG-context] LM typsescript problem
On Feb 24, 2009, at 1:43 PM, Alan Bowen wrote: The minimals (both the stable and the beta versions) in contextgarden.net/minimals/setup/$platform/bin seem to be frozen at 2009.01.18 14;39. I vaguely recall that there was going to be a mismatch between the minimals on the Garden and the minimals at Pragma, but thought that had been fixed, well, sort of. In any case, my journal is being derailed by the fact that ConTeXt 2009.01.18 has a bug affecting the use of Latin Modern with Thomas’ Greek module. Alan mkdir ~/myminimal && cd ~/myminimal rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh --context=current [lots of output snipped] ctxtools --contextversion CtxTools | context version: 2008.11.10 21:40 It's all explained at http://wiki.contextgarden.net/ConTeXt_Minimals 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] LM typsescript problem
The minimals (both the stable and the beta versions) in contextgarden.net/minimals/setup/$platform/bin seem to be frozen at 2009.01.18 14;39. I vaguely recall that there was going to be a mismatch between the minimals on the Garden and the minimals at Pragma, but thought that had been fixed, well, sort of. In any case, my journal is being derailed by the fact that ConTeXt 2009.01.18 has a bug affecting the use of Latin Modern with Thomas’ Greek module. Alan On Feb 23, 2009, at 17;37,22 , Aditya Mahajan wrote: On Mon, 23 Feb 2009, Alan Bowen wrote: Aditya and Luigi—many thanks. I will reinstall the minimals just as soon as ./first-setup.sh can get to a stable version. In first-setup.sh, remove --context=beta from the last line. 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 ___ ___ 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] Font with compreensive unicode
On Tue, Feb 24, 2009 at 2:39 AM, Maurício wrote: > Hi, > > I'm using ConTeXt to create a small table of > unicode characters. Below is my current test. The > codes are: > > U+2019 is a single quotation mark > U+2610 should be a ballot box > U+226b should be a "much greater than" (>>) > U+2115 should be the N as used to represent the natural numbers > > I get 2019 right, 2610 becomes a blank, > 226b becomes just a 'b' and 2115 is also > a blank. The choosen font is just one I > selected (randomly) for testing. > > Is there a font I could select that would give > me a wide set of unicode characters? ArialUnicode or see http://en.wikipedia.org/wiki/Arial_Unicode_MS -- 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 ___
Re: [NTG-context] slower access to ConTeXt generated pdfs in Windows Vista
It's a portable with Intel Core Duo CPU P8400 2.26 GHz, 4Gb memory. Alan On Tue, Feb 24, 2009 at 12:30 AM, Hans Hagen wrote: > Alan Stone wrote: > >> When opening ConTeXt generated pdf's in Windows Vista, a message window >> pops >> up saying something as (translated to english): >> >> - title: preparation of document contents" >> - message: "please wait while the contents of your document is being >> prepared" + progress bar "page x of total pages" >> >> This doesn't show up in Windows XP or Linux. >> >> The embedded fonts are ttf fonts like arial/tahoma/verdana/times new >> roman, >> >> >> Any idea to what that's related and how to disable it/have it run in the >> background (if possible) because it slows access to reading the pdf. >> > > hm, i use vista and have never seen such problems, maybe your machine has > not that much mem? > > Hans > ___ 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] reducing compile time
Mohamed Bana wrote: maybe someone should research LuaJIT; http://luajit.org/ lua vs luajit; http://shootout.alioth.debian.org/u32q/benchmark.php?test=all&lang=luajit&lang2=lua&box=1 thoughts? i wonder if it makes much of a difference in the way we use lua; most time is currently spent on function calls and tex-lua interfacing and if i'm right jit does not help much there long ago i did some tests and jut is indeed impressive but for larger functions (and we have many of them) you need to tune parameters in order to gain something once luatex is finished we can look into it again but keep in mind that jit is only available for someplatforms/architectures (btw i do lots if speed tests when writing lua code for mkiv, so often the code is already rather optimized) 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] Taco's \molecule fails in mkiv
molecule_lpeg.tex Description: Binary data Am 23.02.2009 um 18:14 schrieb Mojca Miklavec: thanks a lot for the very nice code :) :) :) The second example (H_2^+) does not return expected result - it should have been H\lohi{2}{+} instead, but I don't require such cases for the current document, so I guess that I'll just replace the old macro with this one for now in order not to get distracted with TeX problems too much :) You can try the attatched, it use lpeg to parse the content. 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] reducing compile time
Mohamed Bana wrote: maybe someone should research LuaJIT; http://luajit.org/ The fine print on LuaJIT: * Only x86 (i386+) CPUs are supported right now (but see below). That is the first, main reason why luajit is not included in luatex yet. The other reason is that we don't expect that much improvement because most of the lua code inside luatex is not running at full interpreter speed anyway: mkiv is spending much of its time in creating tables and table keys and the garbage collector (we benchmarked this) neither of those task will benefit from luajit. There would be some speed gain, but not a lot. I am waiting for luajit 2.0 and hoping it will support more architectures. 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 ___