[NTG-context] Lucida fonts with ConTeXt

Fabrice Couvreur fabrice1.couvreur at gmail.com
Wed Jan 29 20:04:29 CET 2014


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 at debian:~$ source context/tex/setuptex
Setting "/home/fab/context/tex" as ConTeXt root.
fab at 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 at debian:~$

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140129/22a91bf4/attachment-0001.html>


More information about the ntg-context mailing list