Re: [NTG-context] new lucida font

2012-03-24 Thread Wolfgang Schuster

Am 24.03.2012 um 01:58 schrieb Renaud AUBIN:

 Le 19/03/2012 11:36, Wolfgang Schuster a écrit :
 Can you try to attached typescript file, I replaced the files for italic and 
 bolditalic fonts for the sans style with the names from the latex example 
 document. The slanted and boldslanted alternatives for the sans style are 
 also 
 fixed.
 
 Wolfgang
 
 +Small Caps support:
 38,42d37
  \starttypescript [\s!serif] [lucidanova,lucidaot,otlucida]
  \definefontsynonym [\s!SerifCaps][\s!Serif]
 [\s!features=smallcaps]
  %definefontsynonym [\s!SerifBoldCaps][\s!SerifBold]
 [\s!features=smallcaps]
  \stoptypescript
 
 
 The SerifBoldCaps line is commented out since I get an error at
 processing… and can't figure why…

For smallcaps you can use the following command in your document:

\unexpanded\def\sc{\setff{smallcaps}}

With this you can get also smallcaps for the bold or italic style while with
the definition in the typescript (as in your patch) smallcaps are a font
switch and you can only get smallcaps for the regular style.

Bold doesn’t work because the typescript use a wrong name for the files
and Hans hasn’t released a new beta yet with the correct names.

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] new lucida font

2012-03-23 Thread Renaud AUBIN
Le 19/03/2012 11:36, Wolfgang Schuster a écrit :
 Can you try to attached typescript file, I replaced the files for italic and 
 bolditalic fonts for the sans style with the names from the latex example 
 document. The slanted and boldslanted alternatives for the sans style are 
 also 
 fixed.

 Wolfgang

+Small Caps support:
38,42d37
 \starttypescript [\s!serif] [lucidanova,lucidaot,otlucida]
 \definefontsynonym [\s!SerifCaps][\s!Serif]
[\s!features=smallcaps]
 %definefontsynonym [\s!SerifBoldCaps][\s!SerifBold]
[\s!features=smallcaps]
 \stoptypescript


The SerifBoldCaps line is commented out since I get an error at
processing… and can't figure why…

Renaud
___
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] new lucida font

2012-03-19 Thread Wolfgang Schuster

Am 19.03.2012 um 09:38 schrieb Meer, H. van der:

 I just bought the new Lucida font from TUG and installed it in my local texmf 
 under fonts/opentype/bh/lucidaot/
 Then I did:
   mtxrun --generate
   mtxrun --script font --reload
 to be sure the new install will be picked up by ConTeXt mkiv.
 
 I think I did read somewhere that mkiv will prefer otf above pfb files, if 
 these otfs are present.

It’s the users decision which font should be chosen because each font has a 
unique
name and when you want a automatic replacement (like for latin modern and 
computer
modern in mkii) you have to tell this the system.

 However, after running \setupbodyfont[lucida,10pt] the log shows the old 
 pfb's used:
 /Users/hans/TeX/texmf/fonts/type1/yandy/lucida/lbr.pfb instead of an otf?
 
 What could have happended? What am I doing wrong?
 
 By the way I do not see the lucida math fonts in the package. Are these 
 missing?

The new version of the lucida fonts use different names for the typescript, we 
have now:

- “lucida” for the old type1 version,
- “lucidaot” for the new opentype version and
- “lucidanova” as alternative name for the opentype version.

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] new lucida font

2012-03-19 Thread Wolfgang Schuster

Am 19.03.2012 um 10:38 schrieb Meer, H. van der:

 Wolfgang, thanks. 
 
 I didn't know about the new identifier lucidaot. The TUG documentation seems 
 not to mention its use for ConTeXt. The otf now loads.

The sample document for the new fonts was typeset with LaTeX and Hans missed 
the new typescript/typeface names in his announcement.

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] new lucida font

2012-03-19 Thread Meer, H. van der

On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote:

The new version of the lucida fonts use different names for the typescript, we 
have now:

- “lucida” for the old type1 version,
- “lucidaot” for the new opentype version and
- “lucidanova” as alternative name for the opentype version.

The lucidaot works. But I have observed the following, which might be caused 
by a naming difference. I am using ConTexT version 2012.03.13 21:26 MKIV; the 
latest I can download.

The example is:
\setuppapersize[A5][A5]
\setuppagenumbering[state=off]
\setupbodyfont[lucidaot,sans,10pt]
\starttext
sans {\it sans italic}.
\stoptext

But sans italic is not typeset in italic, see the output pdf below.
In the log I see a message about a missing lucidanova.lfg. Present in a more 
recent beta perhaps
In the opentype font list I do not find LucidaSansOT-Oblique but I do see 
LucidaSansOT-Italic.

Could it be something should be changed in a typescript?

Hans van der Meer

In the log:
ConTeXt  ver: 2012.03.13 21:26 MKIV  fmt: 2012.3.19  int: english/english

system   cont-new.mkiv loaded
(/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/cont-new.mkiv
system   beware: some patches loaded from cont-new.mkiv
)
system   test.top loaded
(test.top)
fontslatin modern fonts are not preloaded
languageslanguage en is active
fontstypescripts  unknown: library 'loc'
(/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/type-imp-lucida-opentype.mkiv)
fontsgoodies  goodie file 'lucidanova-math.lfg' is not found
{/Users/hans/TeX/context-new/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fontsdefining  forced type otf of LucidaSansOT-Oblique not found
fontsdefining  font with asked name 'LucidaSansOT-Oblique' is not 
found using lookup 'file'
fontsdefining  unknown font LucidaSansOT-Oblique, loading aborted
fontsdefining  unable to define LucidaSansOT-Oblique.otf as 
[lucidaot-10pt-ss-it-0--0]
backend  xmp  using file 
'/Users/hans/TeX/context-new/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1, subpage 1
 )/Users/hans/TeX/texmf/fonts/opentype/bh/lucidaot/LucidaSansOT.otf





test.pdf
Description: test.pdf
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] new lucida font

2012-03-19 Thread Wolfgang Schuster
Am 19.03.2012 um 11:12 schrieb Meer, H. van der:






On 19 mrt. 2012, at 10:01, Wolfgang Schuster wrote:


The new version of the lucida fonts use different names for the typescript, we have now:


- “lucida” for the old type1 version,
- “lucidaot” for the new opentype version and
- “lucidanova” as alternative name for the opentype version.



The "lucidaot" works. But I have observed the following, which might be caused by a naming difference. I am using ConTexT version2012.03.13 21:26 MKIV; the latest I can download.


The example is:

\setuppapersize[A5][A5]
\setuppagenumbering[state=off]It’s “state=stop” and works here only because context checks only the “state=start” case.
\setupbodyfont[lucidaot,sans,10pt]
\starttext
sans {\it sans italic}.
\stoptext


But "sans italic" is not typeset in italic, see the output pdf below.
In the log I see a message about a missing lucidanova.lfg. Present in a more recent beta perhaps


In the opentype font list I do not findLucidaSansOT-Oblique but I do see LucidaSansOT-Italic.




Could it be something should be changed in a typescript?
Can you try to attached typescript file, I replaced the files for italic and bolditalic fonts for the sans style with the names from the latex example document. The slanted and boldslanted alternatives for the sans style are also fixed.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
___