* luatex and typescripts/fonts @ 2007-08-29 11:05 Thomas A. Schmitz 2007-08-29 11:28 ` Wolfgang Schuster 2007-08-29 11:52 ` Hans Hagen 0 siblings, 2 replies; 9+ messages in thread From: Thomas A. Schmitz @ 2007-08-29 11:05 UTC (permalink / raw) To: mailing list for ConTeXt users Hi guys, I missed some of the excitement of the last two weeks because I was away. I tested the latest versions of ConTeXt and luatex and have some problems: 1. Is there a simple switch to between luatex and pdftex? If I want to write typescripts with the new name: syntax, I'd like to have the old typsecripts as well to remain compatible. So: is there something like a simple switch \ifluatex? 2. I tested with a number of OpenType fonts from my Adobe Type Classics CD: ConTeXt Mkiv can address these fonts (which is wonderful), but it does not read the kerning information. I don't know whether this is because Adobe's kerning tables are so big (kerning appears to work with the TeXGyre fonts and Latin Modern) or because the Adobe fonts have these tables included in a somewhat different way. Will be back with lots of more question re. Greek soon! All best Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 11:05 luatex and typescripts/fonts Thomas A. Schmitz @ 2007-08-29 11:28 ` Wolfgang Schuster 2007-08-29 11:52 ` Hans Hagen 1 sibling, 0 replies; 9+ messages in thread From: Wolfgang Schuster @ 2007-08-29 11:28 UTC (permalink / raw) To: mailing list for ConTeXt users 2007/8/29, Thomas A. Schmitz <thomas.schmitz@uni-bonn.de>: > Hi guys, > > I missed some of the excitement of the last two weeks because I was > away. I tested the latest versions of ConTeXt and luatex and have > some problems: > > 1. Is there a simple switch to between luatex and pdftex? If I want > to write typescripts with the new name: syntax, I'd like to have the > old typsecripts as well to remain compatible. So: is there something > like a simple switch \ifluatex? Hi Thomas, you can try group your pdfTeX typescripts in \beginOLDTEX ... \endOLDTEX and your LuaTeX typescripts in \beginLUATEX ... \endLUATEX groups, or you make two extra files--one for pdfTeX and one for LuaTeX--with the file type mkii and mkiv and load them in your typescript file with \loadmarkfile{type-...}. > 2. I tested with a number of OpenType fonts from my Adobe Type > Classics CD: ConTeXt Mkiv can address these fonts (which is > wonderful), but it does not read the kerning information. I don't > know whether this is because Adobe's kerning tables are so big > (kerning appears to work with the TeXGyre fonts and Latin Modern) or > because the Adobe fonts have these tables included in a somewhat > different way. Sorry, not my price class. > Will be back with lots of more question re. Greek soon! > > All best > > Thomas Welcome back! 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 11:05 luatex and typescripts/fonts Thomas A. Schmitz 2007-08-29 11:28 ` Wolfgang Schuster @ 2007-08-29 11:52 ` Hans Hagen 2007-08-29 14:07 ` Thomas A. Schmitz 2007-09-03 8:08 ` Wolfgang Schuster 1 sibling, 2 replies; 9+ messages in thread From: Hans Hagen @ 2007-08-29 11:52 UTC (permalink / raw) To: mailing list for ConTeXt users Thomas A. Schmitz wrote: > Hi guys, > > I missed some of the excitement of the last two weeks because I was > away. I tested the latest versions of ConTeXt and luatex and have > some problems: > > 1. Is there a simple switch to between luatex and pdftex? If I want > to write typescripts with the new name: syntax, I'd like to have the > old typsecripts as well to remain compatible. So: is there something > like a simple switch \ifluatex? one option is to make two versions (name.mkii and name.mkiv) and then in the name.tex file say \loadmarkfile{name} which will choose the right variant then > 2. I tested with a number of OpenType fonts from my Adobe Type > Classics CD: ConTeXt Mkiv can address these fonts (which is > wonderful), but it does not read the kerning information. I don't > know whether this is because Adobe's kerning tables are so big > (kerning appears to work with the TeXGyre fonts and Latin Modern) or > because the Adobe fonts have these tables included in a somewhat > different way. depends on the way you define things ... maybe the kerning is language dependent? kern is a feature in base mode, we use tex's kerning and ligatures and can only have simple replacement, in node mode, mkiv does everything itself > Will be back with lots of more question re. Greek soon! good 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 11:52 ` Hans Hagen @ 2007-08-29 14:07 ` Thomas A. Schmitz 2007-08-29 16:29 ` Hans Hagen 2007-09-03 8:08 ` Wolfgang Schuster 1 sibling, 1 reply; 9+ messages in thread From: Thomas A. Schmitz @ 2007-08-29 14:07 UTC (permalink / raw) To: mailing list for ConTeXt users Wolfgang, Hans, thanks a lot for your replies, that was extremely helpful. On Aug 29, 2007, at 1:52 PM, Hans Hagen wrote: > > one option is to make two versions (name.mkii and name.mkiv) and > then in > the name.tex file say \loadmarkfile{name} which will choose the right > variant then > Ah, so \loadmarkfile is the magic switch. I had the idea to use .mkii and .mkiv but couldn't figure out how to. Now that's very useful for all further experiments... > depends on the way you define things ... maybe the kerning is language > dependent? kern is a feature > > in base mode, we use tex's kerning and ligatures and can only have > simple replacement, in node mode, mkiv does everything itself > Okay, I tried this minimal definition in my typescript: \definefontfeature [jens] [mode=node,kern=yes] \starttypescript [serif] [jenson] \definefontsynonym [Jenson-Roman] [name:AJensonPro- Regular] [features=jens] \stoptypescript \starttypescript [serif] [jenson] \definefontsynonym [Serif] [Jenson-Roman] [features=jens] \stoptypescript \starttypescript [Jenson] \definetypeface [Jenson] [rm] [serif] [jenson] [default] \stoptypescript But still no joy: I don't get any kerning. Tried with all sorts of settings for script= and language=, but to no avail. 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 14:07 ` Thomas A. Schmitz @ 2007-08-29 16:29 ` Hans Hagen 2007-08-29 17:21 ` Hans Hagen 0 siblings, 1 reply; 9+ messages in thread From: Hans Hagen @ 2007-08-29 16:29 UTC (permalink / raw) To: mailing list for ConTeXt users Thomas A. Schmitz wrote: > But still no joy: I don't get any kerning. Tried with all sorts of > settings for script= and language=, but to no avail. there is indeed aproblem with kerning, depends on the kind of lookup (only the real complex contextual ones work); i'll fix it 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 16:29 ` Hans Hagen @ 2007-08-29 17:21 ` Hans Hagen 2007-08-29 17:49 ` Thomas A. Schmitz 0 siblings, 1 reply; 9+ messages in thread From: Hans Hagen @ 2007-08-29 17:21 UTC (permalink / raw) To: mailing list for ConTeXt users Hans Hagen wrote: > Thomas A. Schmitz wrote: > >> But still no joy: I don't get any kerning. Tried with all sorts of >> settings for script= and language=, but to no avail. > > there is indeed aproblem with kerning, depends on the kind of lookup > (only the real complex contextual ones work); i'll fix it i'm preparing a new upload that should fix it ... \starttext \setupcolors[state=start] \definefontfeature [default-base] [script=dftl,language=dflt,liga=yes,kern=yes,tlig=yes,trep=yes] \definefontfeature [default-node] [script=dftl,language=dflt,liga=yes,kern=yes,tlig=yes,trep=yes,mode=node] \definefontfeature [default-none] [script=dftl,language=dflt,liga=yes,kern=no, tlig=yes,trep=yes] \startoverlay {\vtop{\color[red] {\font\test=name:lmroman12regular*default-node \test \input ward \input zapf \input linden }}} {\vtop{\color[green]{\font\test=name:lmroman12regular*default-base \test \input ward \input zapf \input linden }}} {\vtop{\color[blue] {\font\test=name:lmroman12regular*default-none \test \input ward \input zapf \input linden }}} \stopoverlay \blank \startoverlay {\vtop{\color[red] {\font\test=name:texgyrepagella*default-node \test \input ward \input zapf \input linden }}} {\vtop{\color[green]{\font\test=name:texgyrepagella*default-base \test \input ward \input zapf \input linden }}} {\vtop{\color[blue] {\font\test=name:texgyrepagella*default-none \test \input ward \input zapf \input linden }}} \stopoverlay \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 17:21 ` Hans Hagen @ 2007-08-29 17:49 ` Thomas A. Schmitz 2007-08-29 18:51 ` Hans Hagen 0 siblings, 1 reply; 9+ messages in thread From: Thomas A. Schmitz @ 2007-08-29 17:49 UTC (permalink / raw) To: mailing list for ConTeXt users On Aug 29, 2007, at 7:21 PM, Hans Hagen wrote: > i'm preparing a new upload that should fix it ... > Very nice sample file... But the 19:22 version doesn't fix it for the Adobe fonts. Kerning has worked for me with the TeXGyre and LM fonts. Thanks for looking into it, Hans! Best Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 17:49 ` Thomas A. Schmitz @ 2007-08-29 18:51 ` Hans Hagen 0 siblings, 0 replies; 9+ messages in thread From: Hans Hagen @ 2007-08-29 18:51 UTC (permalink / raw) To: mailing list for ConTeXt users Thomas A. Schmitz wrote: > On Aug 29, 2007, at 7:21 PM, Hans Hagen wrote: > >> i'm preparing a new upload that should fix it ... >> > > Very nice sample file... But the 19:22 version doesn't fix it for the > Adobe fonts. Kerning has worked for me with the TeXGyre and LM fonts. that was base kerning -) what font? i need to look into the font in order to see what is the problem i'll send you a file showing that at least my fonts work -) ----------------------------------------------------------------- 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: luatex and typescripts/fonts 2007-08-29 11:52 ` Hans Hagen 2007-08-29 14:07 ` Thomas A. Schmitz @ 2007-09-03 8:08 ` Wolfgang Schuster 1 sibling, 0 replies; 9+ messages in thread From: Wolfgang Schuster @ 2007-09-03 8:08 UTC (permalink / raw) To: mailing list for ConTeXt users 2007/8/29, Hans Hagen <pragma@wxs.nl>: > Thomas A. Schmitz wrote: > > Hi guys, > > > > I missed some of the excitement of the last two weeks because I was > > away. I tested the latest versions of ConTeXt and luatex and have > > some problems: > > > > 1. Is there a simple switch to between luatex and pdftex? If I want > > to write typescripts with the new name: syntax, I'd like to have the > > old typsecripts as well to remain compatible. So: is there something > > like a simple switch \ifluatex? Hi Hans, can't this be integrated in \usetypescriptfile to look at first for a file with the extensions mkii, mkiii or mkiv and if there is no file use a tex file as fallback. Wolfgang > one option is to make two versions (name.mkii and name.mkiv) and then in > the name.tex file say \loadmarkfile{name} which will choose the right > variant then > > > 2. I tested with a number of OpenType fonts from my Adobe Type > > Classics CD: ConTeXt Mkiv can address these fonts (which is > > wonderful), but it does not read the kerning information. I don't > > know whether this is because Adobe's kerning tables are so big > > (kerning appears to work with the TeXGyre fonts and Latin Modern) or > > because the Adobe fonts have these tables included in a somewhat > > different way. > > depends on the way you define things ... maybe the kerning is language > dependent? kern is a feature > > in base mode, we use tex's kerning and ligatures and can only have > simple replacement, in node mode, mkiv does everything itself > > > Will be back with lots of more question re. Greek soon! > > good > > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-03 8:08 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-08-29 11:05 luatex and typescripts/fonts Thomas A. Schmitz 2007-08-29 11:28 ` Wolfgang Schuster 2007-08-29 11:52 ` Hans Hagen 2007-08-29 14:07 ` Thomas A. Schmitz 2007-08-29 16:29 ` Hans Hagen 2007-08-29 17:21 ` Hans Hagen 2007-08-29 17:49 ` Thomas A. Schmitz 2007-08-29 18:51 ` Hans Hagen 2007-09-03 8:08 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).