ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Marco Pallante <marco.pallante@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: System font searching suddenly stopped
Date: Mon, 04 Jun 2012 19:55:15 +0200	[thread overview]
Message-ID: <4FCCF683.1020203@wxs.nl> (raw)
In-Reply-To: <CADr0mj-Pp=7kr56PRcA5gf-oA4hQYgQc+afnR8j5uSaVG=w5GA@mail.gmail.com>

On 4-6-2012 18:53, Marco Pallante wrote:
> Hans, sorry if I bother, but I still can't load the font. I'm using
> TL12 pretest,
> installed with the ConTeXt scheme and nothing else.
>
> Going further, I checked other system fonts and I found that ConTeXt doesn't
> load any of them. No Delicious/Cantarel/DejaVu and so on (I'm on Debian).
>
> mtxrun --script font --list --all only shows me those fonts inside the
> texmf tree.
> I followed exactly the instructions in
> http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database
> but it doesn't work.
>
> Moreover, I tried to put one of these fonts inside the texmf tree (the
> delicious),
> both in /usr/local/texlive/texmf-local/fonts/opentype/public/exljbris and
> /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/exljbris,
> I rebuild the ls-R with texhash, then the font list in ConTeXt with
> mtxrun --script font --reload, I also regenerated the ConTeXt data with
> context --generate, but the delicious font doesn't appear in the list.
>
> I really don't know what to do. Can you give me a little help?


\starttypescript [serif] [delicious] [name]
     \setups[font:fallback:serif]
     \definefontsynonym [Serif]           [file:deliciousroman] 
[features=default]
     \definefontsynonym [SerifBold]       [file:deliciousbold] 
[features=default]
     \definefontsynonym [SerifItalic]     [file:deliciousitalic] 
[features=default]
     \definefontsynonym [SerifBoldItalic] [file:deliciousbolditalic] 
[features=default]
\stoptypescript

\starttypescript [delicious]
     \definetypeface [delicious] [rm] [serif] [delicious] [default]
     \definetypeface [delicious] [tt] [mono]  [dejavu]    [default]
     \definetypeface [delicious] [mm] [math]  [xits]      [default]
\stoptypescript

\setupbodyfont[delicious]

\starttext

\input ward

\stoptext

the regular font is delicious-roman which might confuse your setup

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
___________________________________________________________________________________


  parent reply	other threads:[~2012-06-04 17:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-01  8:10 Marco Pallante
2012-06-01  8:18 ` Wolfgang Schuster
2012-06-01 18:12   ` Marco Pallante
2012-06-01 18:23     ` Hans Hagen
     [not found]       ` <CADr0mj-2tLYJeVZsAAPny6xp5uhD8J31QTJAnRoLfsFK=D=6MA@mail.gmail.com>
     [not found]         ` <4FC9115F.9030304@wxs.nl>
     [not found]           ` <CADr0mj8pJi2Us1exOkdmTMLZeGKf+RM9=T6DPhnBs6UxTDuqSg@mail.gmail.com>
     [not found]             ` <4FCA27FB.4020505@wxs.nl>
     [not found]               ` <CADr0mj-Pp=7kr56PRcA5gf-oA4hQYgQc+afnR8j5uSaVG=w5GA@mail.gmail.com>
2012-06-04 17:55                 ` Hans Hagen [this message]
2012-06-04 18:01                   ` Wolfgang Schuster
2012-06-04 20:36                     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FCCF683.1020203@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=marco.pallante@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).