[NTG-context] fonts and luatex

Olivier Guéry nemolivier at gmail.com
Mon Apr 14 12:15:32 CEST 2008


On Mon, Apr 14, 2008 at 11:49 AM, Wolfgang Schuster
<schuster.wolfgang at googlemail.com> wrote:
>
> On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry <nemolivier at gmail.com> wrote:
>  > On Mon, Apr 14, 2008 at 2:00 AM, Yue Wang <yuleopen at gmail.com> wrote:
>  > > On 4/14/08, Hans Hagen <pragma at wxs.nl> wrote:
>  > >  > Olivier Guéry wrote:
>  > >  > >>  also if you wanted named access:
>  > >  > >>
>  > >  > >>         mtxrun --script fonts --reload
>  > >  > >
>  > >  > > Maybe it's a solution to finely have linux-libertine run with context… :o)
>  > >  > > But :
>  > >  > > mtxrun --script fonts --reload
>  > >  > > give me that : MtxRun | unknown script: fonts
>  > >  > >
>  > >  > > and :
>  > >  > > mtxrun --verbose --script fonts
>  > >  > >
>  > >  > > MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT
>  > >  > >
>  > >  > > MtxRun | loading configuration for /usr/share/texmf/web2c from
>  > >  > > /tmp/luatex-cache/context/6300afb4995fe38c77e9b86ed1ef1028/trees/f7d1b3c25487ab1e1035aff1c53b90da
>  > >  > > MtxRun | locating list of /home/nemo/.texmf-config
>  > >  > > MtxRun | locating list of /home/nemo/.texmf-var
>  > >  > > MtxRun | locating list of /home/nemo/texmf
>  > >  >
>  > >  > what strange paths: these periods
>  > >
>  > >  Umm.. most linux distribution ship texlive like this.  It's common.
>  > >  Just like TeXlive use ~/.texlive2007
>  >
>  > Hello, (damn, installation problem again, sorry for this).
>  >
>  > I'm using a local install in /usr/share/texmf/ on my Ubuntu Hardy — no
>  > recent package of Context in hardy… sad :o(.
>  > My TeX install is a texlive-2007-13 from ubuntu packages.
>  >
>  > In my ~/.bashrc I put this :
>  >
>  > export MYTEXMF=/usr/share/texmf
>  > export TEXMFCNF=$MYTEXMF/web2c
>  > export TEXMFCACHE=/tmp
>  > export TEXMFLOCAL=/usr/share/texmf
>  > export LUAINPUTS=$MYTEXMF/tex/context/base:$MYTEXMF/script/context/lua
>  > export OSFONTDIR=/usr/share/fonts/otf
>  >
>  > The TEXMFCACHE  used to be « export TEXMFCACHE=$HOME/.texmf-cache »
>  > two weeks ago (but when I change to /tmp, i removed this cached
>  > file…).
>  >
>  > My luatools and mtxrun are links from /usr/bin/ to
>  > /usr/share/texmf/scripts/conteyt/lua/ :
>  > luatool -> /usr/share/texmf/scripts/context/lua/luatools.lua and
>  > mtxran -> /usr/share/texmf/scripts/context/lua/mtxrun.lua
>  >
>  > When I update, I run :
>  >
>  > texexec --make --all --pdftex
>  > texexec --make --all --xetex
>  > luatools --generate
>  > luatools --ini --compile --verbose cont-en
>  > texexec --make --all --lua
>  >
>  > Do you need the outputs ? They seems to run fine, but it's not realy
>  > readable for me…
>  >
>  > I can run context, but some otf fonts can't be find, like the nice
>  > linuxlibertine, for exemple (context used to find it with xetex).
>
>  Can you use the TeX-Gyre Fonts, try the following example

All the tex-gyre run well.

>  % engine=luatex
>
>  \usetypescript[palatino]
>  \setupbodyfont[palatino]
>
>  \starttext
>  Hello Text!
>  \stoptext
>
>  If this did work send your typescript for the linux libertine fonts.

Yes, it work. What do you mean by « typescript » ? For calling linux
libertine, I tried this :
\definefontsynonym [LinLibertine] [LinLibertineC_Re]
\definedfont [LinLibertine at 12pt]
and this :
\definefontsynonym [LinLibertine] [name:LinLibertineO]
\definedfont [LinLibertine at 12pt]
nothing work.

I get the name with otfinfo -i
I don't creat a special file for using LinLibertine… but other fonts
like the free Tally[1] run well.
Sorry but fonts use are still strange for me…

If I understand well, if mtxrun can't build a « database » with my
fonts, names can't work ?

Olivier.

[1] http://www.josbuivenga.demon.nl/tallys.html
-- 
[Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ]
Olivier nemolivier at gmail.com http://nemolivier.blogspot.com


More information about the ntg-context mailing list