ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Lucida fonts with ConTeXt
@ 2014-01-29 19:04 Fabrice Couvreur
  2014-01-29 19:29 ` Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Fabrice Couvreur @ 2014-01-29 19:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
I want to use the Lucida fonts. I understand that these are commercial
fonts that
I must buy. What should buy and where ?
In the meantime, I tried to test the following file :

\setuppapersize[A4]
\setuplayout
  [backspace=15mm,
   width=middle,
   topspace=15mm,
   height=middle,
   header=0pt,
   footer=0pt]
\setuppagenumbering[location=]
\mainlanguage[fr]
\loadtypescriptfile[lucida-typeone]
\setupbodyfont[lucida,12pt]
\setupTABLE[each][each][width=1cm,height=1cm,align={middle,lohi}]
\starttext
\startluacode
context.bTABLE()
  context.bTR()
      context.bTD() context.math("x") context.eTD()
      context.bTD() context.math("f(x)") context.eTD()
  for i=-1,5 do
    context.bTR()
    context.bTD() context(i) context.eTD()
    context.bTD() context(-i^2+5*i-8) context.eTD()
    context.eTR()
  end
  context.eTR()
context.eTABLE()
\stopluacode
\stoptext

fab@debian:~$ source context/tex/setuptex
Setting "/home/fab/context/tex" as ConTeXt root.
fab@debian:~$ context demo10.tex

mtx-context     | run 1: luatex
--fmt="/home/fab/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
--jobname="demo10"
--lua="/home/fab/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
--no-parse-first-line --c:currentrun=1 --c:fulljobname="./demo10.tex"
--c:input="./demo10.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)
 \write18 enabled.
(/home/fab/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
job             > passes > version mismatch: 1.22 <> 1.24

ConTeXt  ver: 2014.01.26 16:07 MKIV beta  fmt: 2014.1.27  int:
english/english

system          > 'cont-new.mkiv' loaded
(/home/fab/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
system          > files > jobname 'demo10', input './demo10', result
'demo10'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
(/home/fab/demo10.tex
(/home/fab/context/tex/texmf-context/tex/context/base/type-imp-lucida-typeone.mkiv){/home/fab/texmf/fonts/type1/bh/lucida/fonts/map/dvips/lucida.map}
fonts           > defining > font with asked name 'LucidaBright' is not
found using lookup 'name'
fonts           > defining > unknown font 'LucidaBright', loading aborted
fonts           > defining > unable to define 'LucidaBright' as
'lucida-12pt-rm-tf-0--0'
{/home/fab/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
backend         > xmp > using file
'/home/fab/context/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1
 )
)</home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afmType1:
Could not understand Type1 font:
/home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afm
mtx-context     | fatal error: return code: 1fab@debian:~$

Thank you.

[-- Attachment #1.2: Type: text/html, Size: 3930 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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 19:04 Lucida fonts with ConTeXt Fabrice Couvreur
@ 2014-01-29 19:29 ` Hans Hagen
  2014-01-29 19:32 ` H. van der Meer
  2014-01-29 20:33 ` Aditya Mahajan
  2 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2014-01-29 19:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/29/2014 8:04 PM, Fabrice Couvreur wrote:
> Hi,
> I want to use the Lucida fonts. I understand that these are commercial
> fonts that I must buy. What should buy and where?

https://www.tug.org/store/lucida/opentype.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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 19:04 Lucida fonts with ConTeXt Fabrice Couvreur
  2014-01-29 19:29 ` Hans Hagen
@ 2014-01-29 19:32 ` H. van der Meer
  2014-01-29 20:33 ` Aditya Mahajan
  2 siblings, 0 replies; 10+ messages in thread
From: H. van der Meer @ 2014-01-29 19:32 UTC (permalink / raw)
  To: NTG ConTeXt


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


On 29 jan. 2014, at 20:04, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:

> Hi, 
> I want to use the Lucida fonts. I understand that these are commercial fonts that I must buy. What should buy and where ? 

Available from lucida-admin@tug.org.

Hans van der Meer

[-- Attachment #1.2: Type: text/html, Size: 1267 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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 19:04 Lucida fonts with ConTeXt Fabrice Couvreur
  2014-01-29 19:29 ` Hans Hagen
  2014-01-29 19:32 ` H. van der Meer
@ 2014-01-29 20:33 ` Aditya Mahajan
  2014-01-29 21:23   ` Fabrice
                     ` (2 more replies)
  2 siblings, 3 replies; 10+ messages in thread
From: Aditya Mahajan @ 2014-01-29 20:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 29 Jan 2014, Fabrice Couvreur wrote:

> Hi,
> I want to use the Lucida fonts. I understand that these are commercial
> fonts that
> I must buy. What should buy and where ?
> In the meantime, I tried to test the following file :
>
....
> \loadtypescriptfile[lucida-typeone]
> \setupbodyfont[lucida,12pt]

...
> )</home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afmType1:
> Could not understand Type1 font:
> /home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afm

If you don't have the fonts, but the opentype version of the font rather 
than the type1 version. If you have the type1 fonts, it should be possible 
to use them with ConTeXt.

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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 20:33 ` Aditya Mahajan
@ 2014-01-29 21:23   ` Fabrice
  2014-01-30  9:52     ` Hans Hagen
  2014-01-29 21:28   ` Fabrice Couvreur
  2014-01-29 21:30   ` Wolfgang Schuster
  2 siblings, 1 reply; 10+ messages in thread
From: Fabrice @ 2014-01-29 21:23 UTC (permalink / raw)
  To: ntg-context

> If you have the type1 fonts
How do we know?
Sorry, but I'm not at all an expert font !
___________________________________________________________________________________
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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 20:33 ` Aditya Mahajan
  2014-01-29 21:23   ` Fabrice
@ 2014-01-29 21:28   ` Fabrice Couvreur
  2014-01-29 21:32     ` Wolfgang Schuster
  2014-01-29 21:30   ` Wolfgang Schuster
  2 siblings, 1 reply; 10+ messages in thread
From: Fabrice Couvreur @ 2014-01-29 21:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

If you have the type1 fonts

How do we know ?
Sorry, but I'm not at all an expert font !


2014-01-29 Aditya Mahajan <adityam@umich.edu>

> On Wed, 29 Jan 2014, Fabrice Couvreur wrote:
>
>  Hi,
>> I want to use the Lucida fonts. I understand that these are commercial
>> fonts that
>> I must buy. What should buy and where ?
>> In the meantime, I tried to test the following file :
>>
>>  ....
>
>> \loadtypescriptfile[lucida-typeone]
>> \setupbodyfont[lucida,12pt]
>>
>
> ...
>
>  )</home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afmType1:
>> Could not understand Type1 font:
>> /home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afm
>>
>
> If you don't have the fonts, but the opentype version of the font rather
> than the type1 version. If you have the type1 fonts, it should be possible
> to use them with ConTeXt.
>
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 2865 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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 20:33 ` Aditya Mahajan
  2014-01-29 21:23   ` Fabrice
  2014-01-29 21:28   ` Fabrice Couvreur
@ 2014-01-29 21:30   ` Wolfgang Schuster
  2 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2014-01-29 21:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.01.2014 um 21:33 schrieb Aditya Mahajan <adityam@umich.edu>:

> On Wed, 29 Jan 2014, Fabrice Couvreur wrote:
> 
>> Hi,
>> I want to use the Lucida fonts. I understand that these are commercial
>> fonts that
>> I must buy. What should buy and where ?
>> In the meantime, I tried to test the following file :
>> 
> ....
>> \loadtypescriptfile[lucida-typeone]
>> \setupbodyfont[lucida,12pt]
> 
> ...
>> )</home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afmType1:
>> Could not understand Type1 font:
>> /home/fab/texmf/fonts/type1/bh/lucida/fonts/afm/bh/lucida/lbr.afm
> 
> If you don't have the fonts, but the opentype version of the font rather than the type1 version. If you have the type1 fonts, it should be possible to use them with ConTeXt.

When you have the type 1 version of the font and don’t need math the specserif and specsans typescripts can be used (\definefontfamily doesn’t work because context uses only the basic font loader for type 1 fonts):

\definetypeface [mainface] [rm] [specserif] [Lucida Bright]     [default]
\definetypeface [mainface] [ss] [specsans]  [Lucida Sans]       [default]

\setupbodyfont[mainface]

\starttext
\input knuth \ss \input knuth
\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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 21:28   ` Fabrice Couvreur
@ 2014-01-29 21:32     ` Wolfgang Schuster
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2014-01-29 21:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 29.01.2014 um 22:28 schrieb Fabrice Couvreur <fabrice1.couvreur@gmail.com>:

>> If you have the type1 fonts 
> How do we know ? 
> Sorry, but I'm not at all an expert font !

The opentype version of the fonts have otf as files extension while the type 1 version consists of files with afm and pub as file extension.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 896 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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-29 21:23   ` Fabrice
@ 2014-01-30  9:52     ` Hans Hagen
  2014-01-30 17:48       ` Fabrice Couvreur
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2014-01-30  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1/29/2014 10:23 PM, Fabrice wrote:
>> If you have the type1 fonts
> How do we know?
> Sorry, but I'm not at all an expert font !

just buy the open type versions from tug ... less hassle and more complete

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] 10+ messages in thread

* Re: Lucida fonts with ConTeXt
  2014-01-30  9:52     ` Hans Hagen
@ 2014-01-30 17:48       ` Fabrice Couvreur
  0 siblings, 0 replies; 10+ messages in thread
From: Fabrice Couvreur @ 2014-01-30 17:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hi,
Thank you to you for your answers. As I have to write text with math
formulas, I'll probably buy them.
Fabrice


2014-01-30 Hans Hagen <pragma@wxs.nl>

> On 1/29/2014 10:23 PM, Fabrice wrote:
>
>> If you have the type1 fonts
>>>
>> How do we know?
>> Sorry, but I'm not at all an expert font !
>>
>
> just buy the open type versions from tug ... less hassle and more complete
>
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 2995 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] 10+ messages in thread

end of thread, other threads:[~2014-01-30 17:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 19:04 Lucida fonts with ConTeXt Fabrice Couvreur
2014-01-29 19:29 ` Hans Hagen
2014-01-29 19:32 ` H. van der Meer
2014-01-29 20:33 ` Aditya Mahajan
2014-01-29 21:23   ` Fabrice
2014-01-30  9:52     ` Hans Hagen
2014-01-30 17:48       ` Fabrice Couvreur
2014-01-29 21:28   ` Fabrice Couvreur
2014-01-29 21:32     ` Wolfgang Schuster
2014-01-29 21:30   ` 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).