ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lucida ot
@ 2012-03-16 20:50 Hans Hagen
  2012-03-16 21:03 ` Aditya Mahajan
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Hans Hagen @ 2012-03-16 20:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-03-16 20:50 lucida ot Hans Hagen
@ 2012-03-16 21:03 ` Aditya Mahajan
  2012-03-16 22:00   ` Hans Hagen
  2012-03-16 22:08 ` Meer, H. van der
  2012-04-06 21:15 ` Mari Voipio
  2 siblings, 1 reply; 19+ messages in thread
From: Aditya Mahajan @ 2012-03-16 21:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-03-16 21:03 ` Aditya Mahajan
@ 2012-03-16 22:00   ` Hans Hagen
  0 siblings, 0 replies; 19+ messages in thread
From: Hans Hagen @ 2012-03-16 22:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-03-16 20:50 lucida ot Hans Hagen
  2012-03-16 21:03 ` Aditya Mahajan
@ 2012-03-16 22:08 ` Meer, H. van der
  2012-03-16 22:10   ` Hans Hagen
  2012-04-06 21:15 ` Mari Voipio
  2 siblings, 1 reply; 19+ messages in thread
From: Meer, H. van der @ 2012-03-16 22:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 286 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 2429 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-03-16 22:08 ` Meer, H. van der
@ 2012-03-16 22:10   ` Hans Hagen
  0 siblings, 0 replies; 19+ messages in thread
From: Hans Hagen @ 2012-03-16 22:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-03-16 20:50 lucida ot Hans Hagen
  2012-03-16 21:03 ` Aditya Mahajan
  2012-03-16 22:08 ` Meer, H. van der
@ 2012-04-06 21:15 ` Mari Voipio
  2012-04-06 21:25   ` Hans Hagen
  2 siblings, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-06 21:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello!

On Fri, Mar 16, 2012 at 22:50, Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-06 21:15 ` Mari Voipio
@ 2012-04-06 21:25   ` Hans Hagen
  2012-04-13 17:12     ` Mari Voipio
  0 siblings, 1 reply; 19+ messages in thread
From: Hans Hagen @ 2012-04-06 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mari Voipio

On 6-4-2012 23:15, Mari Voipio wrote:
> Hello!
>
> On Fri, Mar 16, 2012 at 22:50, Hans Hagen<pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-06 21:25   ` Hans Hagen
@ 2012-04-13 17:12     ` Mari Voipio
  2012-04-13 17:40       ` Wolfgang Schuster
  0 siblings, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-13 17:12 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

On Sat, Apr 7, 2012 at 00:25, Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-13 17:12     ` Mari Voipio
@ 2012-04-13 17:40       ` Wolfgang Schuster
  2012-04-13 18:06         ` Mari Voipio
  0 siblings, 1 reply; 19+ messages in thread
From: Wolfgang Schuster @ 2012-04-13 17:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Mari Voipio

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]


Am 13.04.2012 um 19:12 schrieb Mari Voipio:

> On Sat, Apr 7, 2012 at 00:25, Hans Hagen <pragma@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

[-- Attachment #2: type-imp-lucida-opentype.mkiv --]
[-- Type: application/octet-stream, Size: 4219 bytes --]

%D \module
%D   [       file=type-lucida-opentype,
%D        version=2011.05.18,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Lucida Nova Opentype,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% NOTA BENE: class feattures and goodies get expanded!

\starttypescriptcollection[lucida-opentype]

    \starttypescript [lucidanova,lucidaot,otlucida]
        \loadfontgoodies[lucida-opentype-math]
        \definetypeface [\typescriptone] [\s!rm] [\s!serif]       [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!ss] [\s!sans]        [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!tt] [\s!mono]        [\typescriptone] [\s!default] [\s!features=\s!none]
        \definetypeface [\typescriptone] [\s!hw] [\s!handwriting] [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!cg] [\s!calligraphy] [\typescriptone] [\s!default] [\s!features=\s!default]
        \definetypeface [\typescriptone] [\s!mm] [\s!math]        [\typescriptone] [\s!default]
        % for the moment here:
        \setupmathrendering[\typescriptone][\s!it=\s!italic]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [\s!serif] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Serif]            [\s!file:LucidaBrightOT.otf]
        \definefontsynonym [\s!SerifBold]        [\s!file:LucidaBrightOT-Demi.otf]
        \definefontsynonym [\s!SerifItalic]      [\s!file:LucidaBrightOT-Italic.otf]
        \definefontsynonym [\s!SerifBoldItalic]  [\s!file:LucidaBrightOT-DemiItalic.otf]
        \definefontsynonym [\s!SerifSlanted]     [\s!SerifItalic]
        \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic]
    \stoptypescript

    \starttypescript [\s!sans] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Sans]            [\s!file:LucidaSansOT.otf]
        \definefontsynonym [\s!SansBold]        [\s!file:LucidaSansOT-Demi.otf]
        \definefontsynonym [\s!SansItalic]      [\s!file:LucidaSansOT-Italic.otf]
        \definefontsynonym [\s!SansBoldItalic]  [\s!file:LucidaSansOT-DemiItalic.otf]
        \definefontsynonym [\s!SansSlanted]     [\s!SansItalic]
        \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
    \stoptypescript

    \starttypescript [\s!mono] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Mono]            [\s!file:LucidaSansTypewriterOT.otf]
        \definefontsynonym [\s!MonoBold]        [\s!file:LucidaSansTypewriterOT-Bold.otf]
        \definefontsynonym [\s!MonoItalic]      [\s!file:LucidaSansTypewriterOT-Oblique.otf]
        \definefontsynonym [\s!MonoBoldItalic]  [\s!file:LucidaSansTypewriterOT-BoldOblique.otf]
        \definefontsynonym [\s!MonoSlanted]     [\s!MonoItalic]
        \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
    \stoptypescript

    \starttypescript [\s!math] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!MathRoman]     [\s!file:LucidaBrightMathOT.otf]      [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math]
        \definefontsynonym [\s!MathRomanBold] [\s!file:LucidaBrightMathOT-Demi.otf] [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math]
    \stoptypescript

    \starttypescript [\s!handwriting] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Handwriting] [\s!file:LucidaHandwritingOT.otf]
    \stoptypescript

    \starttypescript [\s!calligraphy] [lucidanova,lucidaot,otlucida]
        \definefontsynonym [\s!Calligraphy] [\s!file:LucidaCalligraphyOT.otf]
    \stoptypescript

\stoptypescriptcollection

\endinput

\starttext

    \setupbodyfont[lucidanova]

%   \showfont[Serif][all]
%   \showfont[MathRoman][all]

    \usemodule[fnt-31]

    \startluacode
        fonts.tracers.coverage {
            "LucidaMathOT.otf",
            "LucidaBrightOT.otf",
            "LucidaSansOT-Typewriter.otf",
        }
    \stopluacode

\stoptext

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-13 17:40       ` Wolfgang Schuster
@ 2012-04-13 18:06         ` Mari Voipio
  2012-04-18 11:37           ` Mari Voipio
  0 siblings, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-13 18:06 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users, Hans Hagen

On Fri, Apr 13, 2012 at 20:40, Wolfgang Schuster
<schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-13 18:06         ` Mari Voipio
@ 2012-04-18 11:37           ` Mari Voipio
  2012-04-20 13:24             ` Mari Voipio
  0 siblings, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-18 11:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

more "font dummy" questions about using Lucida OT...


On Fri, Apr 13, 2012 at 21:06, Mari Voipio <mari.voipio@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-18 11:37           ` Mari Voipio
@ 2012-04-20 13:24             ` Mari Voipio
  2012-04-20 13:59               ` Hans Hagen
  2012-04-21  9:36               ` Wolfgang Schuster
  0 siblings, 2 replies; 19+ messages in thread
From: Mari Voipio @ 2012-04-20 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Apr 18, 2012 at 14:37, Mari Voipio <mari.voipio@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-20 13:24             ` Mari Voipio
@ 2012-04-20 13:59               ` Hans Hagen
  2012-04-21  9:36               ` Wolfgang Schuster
  1 sibling, 0 replies; 19+ messages in thread
From: Hans Hagen @ 2012-04-20 13:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mari Voipio

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-20 13:24             ` Mari Voipio
  2012-04-20 13:59               ` Hans Hagen
@ 2012-04-21  9:36               ` Wolfgang Schuster
  2012-04-21 11:52                 ` Mari Voipio
  2012-04-24 16:57                 ` Mari Voipio
  1 sibling, 2 replies; 19+ messages in thread
From: Wolfgang Schuster @ 2012-04-21  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 20.04.2012 um 15:24 schrieb Mari Voipio:

> On Wed, Apr 18, 2012 at 14:37, Mari Voipio <mari.voipio@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-21  9:36               ` Wolfgang Schuster
@ 2012-04-21 11:52                 ` Mari Voipio
  2012-04-24 16:57                 ` Mari Voipio
  1 sibling, 0 replies; 19+ messages in thread
From: Mari Voipio @ 2012-04-21 11:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
<schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-21  9:36               ` Wolfgang Schuster
  2012-04-21 11:52                 ` Mari Voipio
@ 2012-04-24 16:57                 ` Mari Voipio
  2012-04-24 17:53                   ` Wolfgang Schuster
  1 sibling, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-24 16:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
<schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-24 16:57                 ` Mari Voipio
@ 2012-04-24 17:53                   ` Wolfgang Schuster
  2012-04-25 19:10                     ` Mari Voipio
  0 siblings, 1 reply; 19+ messages in thread
From: Wolfgang Schuster @ 2012-04-24 17:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.04.2012 um 18:57 schrieb Mari Voipio:

> On Sat, Apr 21, 2012 at 12:36, Wolfgang Schuster
> <schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-24 17:53                   ` Wolfgang Schuster
@ 2012-04-25 19:10                     ` Mari Voipio
  2012-04-29 10:24                       ` Wolfgang Schuster
  0 siblings, 1 reply; 19+ messages in thread
From: Mari Voipio @ 2012-04-25 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster
<schuster.wolfgang@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:

                   \3>mainface-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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: lucida ot
  2012-04-25 19:10                     ` Mari Voipio
@ 2012-04-29 10:24                       ` Wolfgang Schuster
  0 siblings, 0 replies; 19+ messages in thread
From: Wolfgang Schuster @ 2012-04-29 10:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mari Voipio


Am 25.04.2012 um 21:10 schrieb Mari Voipio:

> On Tue, Apr 24, 2012 at 20:53, Wolfgang Schuster
> <schuster.wolfgang@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-04-29 10:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 20:50 lucida ot Hans Hagen
2012-03-16 21:03 ` Aditya Mahajan
2012-03-16 22:00   ` Hans Hagen
2012-03-16 22:08 ` Meer, H. van der
2012-03-16 22:10   ` Hans Hagen
2012-04-06 21:15 ` Mari Voipio
2012-04-06 21:25   ` Hans Hagen
2012-04-13 17:12     ` Mari Voipio
2012-04-13 17:40       ` Wolfgang Schuster
2012-04-13 18:06         ` Mari Voipio
2012-04-18 11:37           ` Mari Voipio
2012-04-20 13:24             ` Mari Voipio
2012-04-20 13:59               ` Hans Hagen
2012-04-21  9:36               ` Wolfgang Schuster
2012-04-21 11:52                 ` Mari Voipio
2012-04-24 16:57                 ` Mari Voipio
2012-04-24 17:53                   ` Wolfgang Schuster
2012-04-25 19:10                     ` Mari Voipio
2012-04-29 10:24                       ` 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).