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 ) )
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 -----------------------------------------------------------------
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]
...
)
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
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 -----------------------------------------------------------------
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
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 you have the type1 fonts
How do we know ?
Sorry, but I'm not at all an expert font !
2014-01-29 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]
...
)
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 ____________________________________________________________ _______________________
Am 29.01.2014 um 22:28 schrieb Fabrice Couvreur
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
Am 29.01.2014 um 21:33 schrieb 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]
...
)
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
participants (6)
-
Aditya Mahajan
-
Fabrice
-
Fabrice Couvreur
-
H. van der Meer
-
Hans Hagen
-
Wolfgang Schuster