Re: [NTG-context] MKIV on Mactex Texlive 2008 (Context broken)
My impression from reading installation directions for minimals is that when you open a shell, and if you have your .bash_profile configured, that setuptex will be sourced. That must set some sort of path while the current shell is active? Will that interfere with needing to suddenly latex a file? AFAIK not if you issue latex from a different shell where setuptex hasn't been sourced. As for your broken MacTeX installation, did you customize it in any way before you updated ConTeXt via rsync? If not then the easiest road back to a working MacTeX setup might be reinstalling the MacTeX package from scratch and then placing the Minimals alongside ... Best wishes, Oliver ___ 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] Another small caps problem with some fonts (and old-style figures)
2009/9/23 Hans Hagen pra...@wxs.nl Mika Ritola wrote: 2009/9/22 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 22.09.2009 um 12:43 schrieb Mika Ritola: Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug, it seems -- which is strange because I don't see why old-style figures should affect ligatures at all (not that I know anything about these things), and also because the second line should disable ligatures in small caps altogether. \definefontfeature[smallcaps][smallcaps][liga=no] Did it work with this redefinition of the smallcaps feature? \definefontfeature[smallcaps][smallcaps][mode=node] With \setfontfeature{oldstyle}, I don't seem to get any small caps at all in node mode. If I replace it with the line that you suggest below, small caps seem to work well regardless of mode. So, problem solved for me. Thanks! does \addfontfeaturetoset{oldstyle} work? That seems to behave the same as \setfontfeature{oldstyle}, i.e. it generates GEOff. And again, I don't get small caps in node mode. So far, the only way to get small caps and old-style figures working properly together has been to use \setmainfont[Adobe Jenson Pro][oldstylefigures=yes], as suggested by Wolfgang. Here's my current test file, with all the different variations commented out: \usemodule[simplefonts] %\setfontfeature{oldstyle} %\addfontfeaturetoset{oldstyle} \definefontfeature[smallcaps][smallcaps][liga=no] %\definefontfeature[smallcaps][smallcaps][mode=node] %\setmainfont[Adobe Jenson Pro] \setmainfont[Adobe Jenson Pro][oldstylefigures=yes] \starttext {\sc Geoff} % GEOff or GEOFF? 1954 % do old-style figures work? \stoptext Mika ___ 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 on Mactex Texlive 2008 (Context broken)
David Arnold wrote: Hans, My impression from reading installation directions for minimals is that when you open a shell, and if you have your .bash_profile configured, that setuptex will be sourced. That must set some sort of path while the current shell is active? Will that interfere with needing to suddenly latex a file? D. On Sep 23, 2009, at 2:04 PM, Hans Hagen wrote: David Arnold wrote: Hans, No. I have Mactex texlive 2008 installed and I used the rsync directions on: http://wiki.contextgarden.net/Running_Mark_IV The result is I no longer have a functioning context installation. I will try installing the minimals, but I'd really like to get my Mactex installation correct and the directions on the above page correct. you should install the minimals alongside (not combined) with mactex; the operate isolated and can be updated independently and used without interference (issue the setuptex script to switch to the minimals tree) yes, as latex is not in the minimals. however, normally you will then just use a separate shell if you're running from an editor, and using mkiv, you can just run the context script (use the full path to it) and it will operate in the tree that it sits in Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Using MetaPost to create fonts
Hi! I have the impression that I did see that MetaPost can be used to create full fonts and not only pictures. (In fact to keep the potential of METAFONT, but extending it to OpenType /PostScript/TrueType (??) fonts.) I even think there was mention about Perl in this respect. Did I dream or not (yes I start to dream about ConTeXt and MetaPost !!!). Could you point me to the right direction and provide links and/or email address of the persons who are involved? Thanks, -- Alain ___ 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] Using MetaPost to create fonts
On Thu, Sep 24, 2009 at 11:41 AM, Alain Delmotte espera...@swing.be wrote: Hi! I have the impression that I did see that MetaPost can be used to create full fonts and not only pictures. (In fact to keep the potential of METAFONT, but extending it to OpenType /PostScript/TrueType (??) fonts.) I even think there was mention about Perl in this respect. Did I dream or not (yes I start to dream about ConTeXt and MetaPost !!!). Could you point me to the right direction and provide links and/or email address of the persons who are involved? I really like karel piska. -- 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] Using MetaPost to create fonts
Alain Delmotte wrote: Hi! I have the impression that I did see that MetaPost can be used to create full fonts and not only pictures. (In fact to keep the potential of METAFONT, but extending it to OpenType /PostScript/TrueType (??) fonts.) I even think there was mention about Perl in this respect. Did I dream or not (yes I start to dream about ConTeXt and MetaPost !!!). Could you point me to the right direction and provide links and/or email address of the persons who are involved? there is metatype1 (used by the lm/gyre project) and there will be metaot for opentype as part of the lm/gyre open type math project) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] strange page breaks with latest beta
Hello, 2 strange page breaks here (version 2009.09.23 10:07): \def\mySection{\section{bla}\dorecurse{30}{text }} \starttext \title{bla} \dorecurse3{ \mySection\par bla} \section{bla} \dorecurse{30}{text } \dorecurse3{ \subsection{bla} \bTABLE \dorecurse{10}{\bTR \bTD bla \eTD \eTR} \eTABLE} \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)
2009/9/24 Mika Ritola the.thin@gmail.com 2009/9/23 Hans Hagen pra...@wxs.nl Mika Ritola wrote: 2009/9/22 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 22.09.2009 um 12:43 schrieb Mika Ritola: Hello again, I just discovered another weird problem with small caps when using some fonts, e.g. Adobe Jenson Pro or Adobe Garamond Pro. When old-style figures are enabled, the code below generates GEOff instead of GEOFF. Another ligature bug, it seems -- which is strange because I don't see why old-style figures should affect ligatures at all (not that I know anything about these things), and also because the second line should disable ligatures in small caps altogether. \definefontfeature[smallcaps][smallcaps][liga=no] Did it work with this redefinition of the smallcaps feature? \definefontfeature[smallcaps][smallcaps][mode=node] With \setfontfeature{oldstyle}, I don't seem to get any small caps at all in node mode. If I replace it with the line that you suggest below, small caps seem to work well regardless of mode. So, problem solved for me. Thanks! does \addfontfeaturetoset{oldstyle} work? That seems to behave the same as \setfontfeature{oldstyle}, i.e. it generates GEOff. And again, I don't get small caps in node mode. So far, the only way to get small caps and old-style figures working properly together has been to use \setmainfont[Adobe Jenson Pro][oldstylefigures=yes], as suggested by Wolfgang. Here's my current test file, with all the different variations commented out: \usemodule[simplefonts] %\setfontfeature{oldstyle} %\addfontfeaturetoset{oldstyle} \definefontfeature[smallcaps][smallcaps][liga=no] %\definefontfeature[smallcaps][smallcaps][mode=node] %\setmainfont[Adobe Jenson Pro] \setmainfont[Adobe Jenson Pro][oldstylefigures=yes] \starttext {\sc Geoff} % GEOff or GEOFF? 1954 % do old-style figures work? \stoptext I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and \addfontfeaturetoset{oldstyle} result in small caps not working at all. Mika ___ 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] buffer problem (mkii)
Hi Hans, can you add an \unexpanded (as in mkiv) to the mkii definition of \getbuffer? [buff-ini.mkii] \unexpanded\def\getbuffer {\dodoubleempty\dogetbuffer} Without it compilation breaks here somehow (error with my nested buffers). No such problems with the \unexpanded definition. And before you ask: no minimal example yet and hopefully there is no need to generate one anymore ;) [..] fonts : using map file: texnansi-microsoft-tahoma {r:/tex/texmf-fonts/fonts/map/pdftex/context/texnansi-microsoft-tahoma.map}) (././flib/icons-shell32dll-32bit-48x48.xml) (././flib/icons-thunderbird.xml) . ./include/icons/pdf-icon_24bpp-48x48.png figures : dimensions of pdf-icon_24bpp-48x48.png loaded from figurefile itself color : themaintextcolor is not defined [MP to PDF] (./window-mpgraph.2) [MP to PDF] (./window-mpgraph.3) [MP to PDF] (./window-mpgraph.4)) [MP to PDF] (./window-mpgraph.5)) Runaway argument? ]\relax \global \advance \commalevel \minusone \setups [Window:box]\setups \ETC . ! File ended while scanning use of \next2. inserted text \par * window.tex \emergencyend ? ! Emergency stop. inserted text \par * window.tex \emergencyend ! == Fatal error occurred, no output PDF file produced! Transcript written on window.log. TeXExec | runtime: 3.9375 Best wishes, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Another small caps problem with some fonts (and old-style figures)
Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and \addfontfeaturetoset{oldstyle} result in small caps not working at all. that's for Wolfgang to sort out then (that is: the interaction betweem his settings and dynamic features) 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] buffer problem (mkii)
Peter Rolf wrote: Hi Hans, can you add an \unexpanded (as in mkiv) to the mkii definition of \getbuffer? ok - 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] strange page breaks with latest beta
Peter Münster wrote: Hello, 2 strange page breaks here (version 2009.09.23 10:07): \def\mySection{\section{bla}\dorecurse{30}{text }} \starttext \title{bla} \dorecurse3{ \mySection\par bla} \section{bla} \dorecurse{30}{text } \dorecurse3{ \subsection{bla} \bTABLE \dorecurse{10}{\bTR \bTD bla \eTD \eTR} \eTABLE} \stoptext hm, strange indeed; maybe something needs to be adapted to the new spacing code Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] themaintextcolor (mkii)
Hi Hans, can you also define 'themaintextcolor' for mkii? Otherwise my log file has dozends of identical warnings color: themaintextcolor is not defined Best wishes, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Using MetaPost to create fonts
Thanks to both of you Luigi and Hans. Alain Hans Hagen a écrit : Alain Delmotte wrote: Hi! I have the impression that I did see that MetaPost can be used to create full fonts and not only pictures. (In fact to keep the potential of METAFONT, but extending it to OpenType /PostScript/TrueType (??) fonts.) I even think there was mention about Perl in this respect. Did I dream or not (yes I start to dream about ConTeXt and MetaPost !!!). Could you point me to the right direction and provide links and/or email address of the persons who are involved? there is metatype1 (used by the lm/gyre project) and there will be metaot for opentype as part of the lm/gyre open type math project) 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] Another small caps problem with some fonts (and old-style figures)
Am 24.09.2009 um 14:24 schrieb Hans Hagen: Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and \addfontfeaturetoset{oldstyle} result in small caps not working at all. that's for Wolfgang to sort out then (that is: the interaction betweem his settings and dynamic features) there is one method to get oldstyle figures with my module (which i showed him) and should use, if he don't like this method the alternative is to define his own fontfeatures and use them (\set...font[...][features=myfeature]) as suggested by Hans in a previous mail i enabled node mode by default, you can switch back to base mode with \setupsimplefonts[mode=base] 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] textcolor (mkii)
Hi, while struggling with my colortest for overprinting I run into this curious test case. Mkiv is running fine, but mkii gives no color (block 1 is black instead of blue) or the color is 'shifted' one line into the next textcolor block (block 3 and 4: 'Blue text.' is black and 'Black text.' is blue). Example attached. Best wishes, Peter \setupcolors[state=start] \starttext \unprotect \ifnum\contextmarkmode=4 \def\@@currentcolorname{undefined} \fi \starttextcolor[blue] Blue text.\par \stoptextcolor \starttextcolor[black] Black text.\par \stoptextcolor \starttextcolor[blue] Blue text.\par \type{\currentcolorname: }\currentcolorname\par \type{\@@currentcolorname: }\@@currentcolorname\par \type{\@@themaintextcolor: }\@@themaintextcolor\par \stoptextcolor \starttextcolor[black] Black text.\par \type{\currentcolorname: }\currentcolorname\par \type{\@@currentcolorname: }\@@currentcolorname\par \type{\@@themaintextcolor: }\@@themaintextcolor\par \stoptextcolor \protect \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] Another small caps problem with some fonts (and old-style figures)
2009/9/24 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 24.09.2009 um 14:24 schrieb Hans Hagen: Mika Ritola wrote: I have to reply to my own mail because I just updated simplefonts and noticed that the latest version behaves a bit differently. The [oldstylefigures=yes] option still works perfectly, but now both \setfontfeature{oldstyle} and \addfontfeaturetoset{oldstyle} result in small caps not working at all. that's for Wolfgang to sort out then (that is: the interaction betweem his settings and dynamic features) there is one method to get oldstyle figures with my module (which i showed him) and should use, if he don't like this method the alternative is to define his own fontfeatures and use them (\set...font[...][features=myfeature]) I do use the method that you suggested. I only reported the problems with the other methods because I didn't know whether the behaviour was expected or caused by some bug that you or Hans might want to know about. Thanks for helping, Mika ___ 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] metaobj and luatex 0.42.0
Hi Matthijs, Thank you for your two follow ups to my original question. Both of the techniques you suggested also work for me, so I'm able to continue now. Cheers, Matt ___ 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] Another small caps problem with some fonts (and old-style figures)
Am 24.09.2009 um 17:26 schrieb the.thin.air: there is one method to get oldstyle figures with my module (which i showed him) and should use, if he don't like this method the alternative is to define his own fontfeatures and use them (\set...font[...][features=myfeature]) I do use the method that you suggested. I only reported the problems with the other methods because I didn't know whether the behaviour was expected or caused by some bug that you or Hans might want to know about. But when you want to make sure it's a ConTeXt bug typescripts are a better way, my module has to many other things around them and and it's hard to tell who cause the problem. 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] Bugs in defineenumeration
Hi all, The example below shows: lemma 1 (lemmatitle ) Problems: - the word lemma is repeated before the title : (lemmatitle - spaces after the title: title ) Example: %MTXrun | current version: 2009.09.23 10:07 %linux-32, current beta \defineenumeration[lemma][title=yes] \starttext \startlemma{title} \stoplemma \stoptext Kind regards, Bernard ___ 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 ___