Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-30 Thread Fabrice

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
___


Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-30 Thread Hans Hagen

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
___


Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-30 Thread Fabrice Couvreur
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 pra...@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
 
 ___

___
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 fonts with ConTeXt

2014-01-29 Thread Fabrice Couvreur
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'
fontslatin modern fonts are not preloaded
languageslanguage '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}
fontsdefining  font with asked name 'LucidaBright' is not
found using lookup 'name'
fontsdefining  unknown font 'LucidaBright', loading aborted
fontsdefining  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'
pagesflushing 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.
___
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 fonts with ConTeXt

2014-01-29 Thread Hans Hagen

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
___


Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread H. van der Meer

On 29 jan. 2014, at 20:04, Fabrice Couvreur fabrice1.couvr...@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-ad...@tug.org.

Hans van der Meer
___
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 fonts with ConTeXt

2014-01-29 Thread Aditya Mahajan

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
___


Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread Fabrice Couvreur
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 adit...@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
 
 ___

___
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 fonts with ConTeXt

2014-01-29 Thread Wolfgang Schuster

Am 29.01.2014 um 21:33 schrieb Aditya Mahajan adit...@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
___


Re: [NTG-context] Lucida fonts with ConTeXt

2014-01-29 Thread Wolfgang Schuster

Am 29.01.2014 um 22:28 schrieb Fabrice Couvreur fabrice1.couvr...@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___
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
___