Re: [NTG-context] lucida ot
Am 25.04.2012 um 21:10 schrieb Mari Voipio: On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \definetypeface[mainface][cg][calligraphy][lucidaot] [default][features=default] \setupbodyfont[mainface] \definebodyfontenvironment[default][em=cg] \starttext \input knuth roman {\cg calligraphic} roman {\em emphasized} roman \stoptext Works fine in a single file, but as soon as I try using it in a project environment, it hangs.. A minimal environment test file: \startenvironment env_ms_blackletter \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \setupbodyfont[mainface] \stopenvironment There are two ways to get around this: 1. Load the environment before \startcomponent or \startproduct 2. Add a definition for a math font, e.g. \definetypeface[mainface][mm][math][lucidaot][default] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \definetypeface[mainface][cg][calligraphy][lucidaot] [default][features=default] \setupbodyfont[mainface] \definebodyfontenvironment[default][em=cg] \starttext \input knuth roman {\cg calligraphic} roman {\em emphasized} roman \stoptext Works fine in a single file, but as soon as I try using it in a project environment, it hangs.. A minimal environment test file: \startenvironment env_ms_blackletter \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \setupbodyfont[mainface] \stopenvironment And this is what it hangs onto: \3mainface-12pt-mm-mr--3 \font_helpers_preset_math_family_indeed ...csname \scriptfont #1\csname \??f... \font_helpers_set_math_family ...amily_indeed #1#2 \else \font_helpers_set_ma... \font_helpers_bidirectional_mathstrategy_nop ...r \textfont \c_font_fam_mr_r... inserted text ...bidirectional_mathstrategy_nop \fi \font_helpers_apply_co... \font_helpers_synchronize_math ...math_strategies \fi ... (Not going to give in yet - but maybe, just maybe, I'll migrate couple of centuries for now...) Thank you again for your patience, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You need \starttypescript[serif][blackletter] but there is a shorter method: \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] \setupbodyfont[lucidaot] \starttext Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright \stoptext OK, so I went and got stuck again... I want to use blackletter as my bodyfont (text and headings, no footers or headers or captions or anything else), BUT I'd prefer to use Lucida Calligraphy OT (\cg) as the font in emphasis both for the sake of legibility and because that is at least close to correct for the period I'm doing. If I do {\lucidablackletter component 5-loops-broad } that is a) not neat and b) overrides any definition in my environment file like \definebodyfontenvironment[lucidablackletter][em=cg] or \definebodyfontenvironment[default][em=cg] I can get either or, but not both - I think I'm being a clueless again, operating outside of the standard five font switches definitely is uncharted waters for me... So what's the neatest way of ensuring that when I compile this particular version of my product (with the appropriate environment file), bodyfont is blackletter and emphasis is calligraphy? All the other versions will use ConTeXt defaults (or at least close), it's just this one that needs a bit of expert help... Thank you for your patience, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Am 24.04.2012 um 18:57 schrieb Mari Voipio: On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You need \starttypescript[serif][blackletter] but there is a shorter method: \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] \setupbodyfont[lucidaot] \starttext Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright \stoptext OK, so I went and got stuck again... I want to use blackletter as my bodyfont (text and headings, no footers or headers or captions or anything else), BUT I'd prefer to use Lucida Calligraphy OT (\cg) as the font in emphasis both for the sake of legibility and because that is at least close to correct for the period I'm doing. If I do {\lucidablackletter component 5-loops-broad } that is a) not neat and b) overrides any definition in my environment file like \definebodyfontenvironment[lucidablackletter][em=cg] or \definebodyfontenvironment[default][em=cg] I can get either or, but not both - I think I'm being a clueless again, operating outside of the standard five font switches definitely is uncharted waters for me... So what's the neatest way of ensuring that when I compile this particular version of my product (with the appropriate environment file), bodyfont is blackletter and emphasis is calligraphy? All the other versions will use ConTeXt defaults (or at least close), it's just this one that needs a bit of expert help… \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \definetypeface[mainface][cg][calligraphy][lucidaot] [default][features=default] \setupbodyfont[mainface] \definebodyfontenvironment[default][em=cg] \starttext \input knuth roman {\cg calligraphic} roman {\em emphasized} roman \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Am 20.04.2012 um 15:24 schrieb Mari Voipio: On Wed, Apr 18, 2012 at 14:37, Mari Voipio mari.voi...@iki.fi wrote: Now I can at least get started, and figure out about the Blackletter a bit later It turns out that I need it rather sooner than later ARGH, I give up! ConTeXt finds the Lucida Blackletter OT font on my system (Mac OS X), because: mtxrun --script fonts --list --all --pattern=Lucida* says (among others) lucidablackletterot lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf lucidablackletterotnormal lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf lucidablackletterotregular lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf But whatever versions of font synonyms and typescripts and all other commands I try, I always get something like typescripts unknown: library 'blackletter I'm sure I'm missing something really elementary here, but what? This is one of my more recent attempts at calling for the font: \starttypescript [rm] [blackletter] \definefontsynonym [Serif] [file:LucidaBlackletterOT.otf] \stoptypescript \definetypeface [blackletter] [rm][serif] [blackletter] \setupbodyfont[blackletter] Any ideas of what I'm doing wrong? You need \starttypescript[serif][blackletter] but there is a shorter method: \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] \setupbodyfont[lucidaot] \starttext Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \definetypeface[lucidablackletter][rm][specserif][Lucida Blackletter OT] \setupbodyfont[lucidaot] \starttext Lucida Bright {\lucidablackletter Lucida Blackletter} Lucida Bright \stoptext ...and of course it works... :-) Thanks a million, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Wed, Apr 18, 2012 at 14:37, Mari Voipio mari.voi...@iki.fi wrote: Now I can at least get started, and figure out about the Blackletter a bit later It turns out that I need it rather sooner than later ARGH, I give up! ConTeXt finds the Lucida Blackletter OT font on my system (Mac OS X), because: mtxrun --script fonts --list --all --pattern=Lucida* says (among others) lucidablackletterot lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf lucidablackletterotnormal lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf lucidablackletterotregular lucidablackletterot /Users/Mari/Library/Fonts/LucidaBlackletterOT.otf But whatever versions of font synonyms and typescripts and all other commands I try, I always get something like typescripts unknown: library 'blackletter I'm sure I'm missing something really elementary here, but what? This is one of my more recent attempts at calling for the font: \starttypescript [rm] [blackletter] \definefontsynonym [Serif] [file:LucidaBlackletterOT.otf] \stoptypescript \definetypeface [blackletter] [rm][serif] [blackletter] \setupbodyfont[blackletter] Any ideas of what I'm doing wrong? TIA, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On 20-4-2012 15:24, Mari Voipio wrote: This is one of my more recent attempts at calling for the font: \starttypescript [rm] [blackletter] \definefontsynonym [Serif] [file:LucidaBlackletterOT.otf] \stoptypescript \definetypeface [blackletter] [rm][serif] [blackletter] \setupbodyfont[blackletter] Any ideas of what I'm doing wrong? something \starttypescript [serif] [somecollection] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:somecolllection.otf] [features=default] % \definefontsynonym [SerifBold] [file:somecolllectionbold.otf] [features=default] % \definefontsynonym [SerifItalic] [file:somecolllectionitalic.otf] [features=default] % \definefontsynonym [SerifBoldItalic] [file:somecolllectionbolditalic.otf] [features=default] \stoptypescript \starttypescript[someinstance] \definetypeface [someinstance] [rm] [serif] [somecollection] [default] \stoptypescript and then \usetypescript[someinstance] \setupbdyfont[someinstance] or just \definetypeface [someinstance] [rm] [serif] [somecollection] [default] \setupbdyfont[someinstance] so, the name typescript maps names and if you have conflicts, you can best use filenames there then you define a typeface either or not using a typescript (depends on reuse) .. you need to make sure that it's 'expanded' then you enable the bodyfont now, in your code, some auto loading of a type-imp-* file kicks in, so if you'd put your code in such a file (say type-imp-xxx.mkiv), the \setupbodyfont[xxx] would have loaded that one (try with \tracetypescriptstrue) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Hello, more font dummy questions about using Lucida OT... On Fri, Apr 13, 2012 at 21:06, Mari Voipio mari.voi...@iki.fi wrote: Now I can at least get started, and figure out about the Blackletter a bit later It turns out that I need it rather sooner than later as it is used in my source of inspiration. But I just can't figure out how to use it! (Otherwise this is good news because gothic hand is my least bad calligraphy font, so the handwritten copy of the book might be somewhat representable, although I trust ConTeXt to make the nicely typeset versions.) I know that I've managed to use a Gothic or Fraktur font once upon a time (long, long ago in texexec), but don't have a clue how. The font chapter of the manual mentions macros \goth and \frak, can they be used somehow? I'd call the Lucida Blackletter Gothic, but I'm not picky... The file is called LucidaBlackletterOT.otf and the font name (I assume) is Lucida Blackletter OT - and there's only a Regular available (which is correct as the Gothic lettering should always stand straight, without any slant). All the other fonts in the family work, I just need to find out how to load the Blackletter for one product in my project. Thanks in advance, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Sat, Apr 7, 2012 at 00:25, Hans Hagen pra...@wxs.nl wrote: Just copy the *.otf files to for instance a directory yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot and then run mtxrun --generate after that \setupbodyfont[lucidaot] should work. It does! I had a prolonged fight with my Mac about using an up-to-date version of ConTeXt, but once I got that far, the rest wasn't that bad. So the next for dummies question is: If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do I access Blackletter, Calligraphy and Handwriting? A quick excursion into \cg and \hw didn't work out, I think I'm missing something here... I'd have a real use for all of the three like about right now, recreating something from 15th and 17th century with 21st century technology, with output in both period style and in various more modern forms - ConTeXt should be the perfect tool for the job, if I can learn enough to make it work :-) Thank you, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Am 13.04.2012 um 19:12 schrieb Mari Voipio: On Sat, Apr 7, 2012 at 00:25, Hans Hagen pra...@wxs.nl wrote: Just copy the *.otf files to for instance a directory yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot and then run mtxrun --generate after that \setupbodyfont[lucidaot] should work. It does! I had a prolonged fight with my Mac about using an up-to-date version of ConTeXt, but once I got that far, the rest wasn't that bad. So the next for dummies question is: If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do I access Blackletter, Calligraphy and Handwriting? A quick excursion into \cg and \hw didn't work out, I think I'm missing something here... I'd have a real use for all of the three like about right now, recreating something from 15th and 17th century with 21st century technology, with output in both period style and in various more modern forms - ConTeXt should be the perfect tool for the job, if I can learn enough to make it work :-) I attached a modified version of the typescript file where I added calligraphic and handwriting, blackletter is missing because there is no font command for the style. \setupbodyfont[lucidanova] \define[1]\LucidaTest {\begingroup #1\tf Regular \it Italic \sl Slanted \bf Bold \bi BoldItalic \bs BoldSlanted \tf fi fl VA \par \endgroup} \starttext \LucidaTest\rm \LucidaTest\ss \LucidaTest\tt \LucidaTest\hw \LucidaTest\cg \stoptext Wolfgang type-imp-lucida-opentype.mkiv Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Fri, Apr 13, 2012 at 20:40, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: I attached a modified version of the typescript file where I added calligraphic and handwriting, That was quick! And working, of course. :-) Not sure I like the word spacing of the handwriting font and the kerning on the calligraphy version, but that's why we have ConTeXt, for a bit of tweaking. Now I can at least get started, and figure out about the Blackletter a bit later - especially as it probably isn't appropriate style for this project anyway, wrong time and place (and probably least legible of these, too). Thank you! Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Hello! On Fri, Mar 16, 2012 at 22:50, Hans Hagen pra...@wxs.nl wrote: It's now possible to order the new lucida open type (+math) fonts. If I ask nicely, could somebody who understands these things update the following wiki page accordingly? http://wiki.contextgarden.net/Lucida (I think my problem is that I can't figure out how to update the TeXShop combo on my Mac. But it is also possible I'm being a clueless idiot, so I'd really appreciate some extra hints.) Giving up for tonight, Mari ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On 6-4-2012 23:15, Mari Voipio wrote: Hello! On Fri, Mar 16, 2012 at 22:50, Hans Hagenpra...@wxs.nl wrote: It's now possible to order the new lucida open type (+math) fonts. If I ask nicely, could somebody who understands these things update the following wiki page accordingly? http://wiki.contextgarden.net/Lucida (I think my problem is that I can't figure out how to update the TeXShop combo on my Mac. But it is also possible I'm being a clueless idiot, so I'd really appreciate some extra hints.) Just copy the *.otf files to for instance a directory yourtexroot/tex/texmf-fonts/fonts/opentype/data/lucidaot and then run mtxrun --generate after that \setupbodyfont[lucidaot] should work. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] lucida ot
Hi, It's now possible to order the new lucida open type (+math) fonts. Pretty cheap for user group members, Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On Fri, 16 Mar 2012, Hans Hagen wrote: It's now possible to order the new lucida open type (+math) fonts. Great news! Finally another opentype math font. I am assuming that ConTeXt already has support for the fonts, right? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On 16-3-2012 22:03, Aditya Mahajan wrote: On Fri, 16 Mar 2012, Hans Hagen wrote: It's now possible to order the new lucida open type (+math) fonts. Great news! Finally another opentype math font. I am assuming that ConTeXt already has support for the fonts, right? sure, see type-imp-lucidaopentype.mkiv Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
Where to order? Is there special pricing for NTG members? Or else what does it cost? Hans van der Meer On 16 mrt. 2012, at 21:50, Hans Hagen wrote: Hi, It's now possible to order the new lucida open type (+math) fonts. Pretty cheap for user group members, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lucida ot
On 16-3-2012 23:08, Meer, H. van der wrote: Where to order? Is there special pricing for NTG members? Or else what does it cost? http://tug.org/store/lucida/order.html - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___