ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* System font searching suddenly stopped
@ 2012-06-01  8:10 Marco Pallante
  2012-06-01  8:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Pallante @ 2012-06-01  8:10 UTC (permalink / raw)
  To: ntg-context

Hello,

Sorry if this is a stupid question, but I'm a novice ConTeXt user,
switching from LaTeX and
without so much time :(

I made some time ago a very small test document using the nice
Delicious font, which I
put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the
straightforward
document:

\usemodule[simplefonts]
\setmainfont[Delicious]
\mainlanguage [it]
\setupbodyfont [10pt]
\setupheadertexts []
\starttext
Lorem ipsum dolor sit amet
\stoptext

It worked without a problem, as the pdf remembered me. Now, I tried to
compile it
again, but it doesn't find the Delicious font anymore; on the
contrary, it doesn't find
system fonts anymore.

I followed the instructions in the TeX Live Guide, ran mtxrun --script
fonts --reload
and context --generate again, without any change. However, I noticed that the
mtxrun doesn't walk into the /usr/share/fonts directory, but only
inside those from
TeX Live.

Have you any idea of what's happening? If you need them I can attach the output
of any of these scripts.

Thank you very much for your help,

Marco
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
  2012-06-01  8:10 System font searching suddenly stopped Marco Pallante
@ 2012-06-01  8:18 ` Wolfgang Schuster
  2012-06-01 18:12   ` Marco Pallante
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-06-01  8:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 01.06.2012 um 10:10 schrieb Marco Pallante:

> Hello,
> 
> Sorry if this is a stupid question, but I'm a novice ConTeXt user,
> switching from LaTeX and
> without so much time :(
> 
> I made some time ago a very small test document using the nice
> Delicious font, which I
> put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the
> straightforward
> document:
> 
> \usemodule[simplefonts]
> \setmainfont[Delicious]
> \mainlanguage [it]
> \setupbodyfont [10pt]
> \setupheadertexts []
> \starttext
> Lorem ipsum dolor sit amet
> \stoptext
> 
> It worked without a problem, as the pdf remembered me. Now, I tried to
> compile it
> again, but it doesn't find the Delicious font anymore; on the
> contrary, it doesn't find
> system fonts anymore.
> 
> I followed the instructions in the TeX Live Guide, ran mtxrun --script
> fonts --reload
> and context --generate again, without any change. However, I noticed that the
> mtxrun doesn't walk into the /usr/share/fonts directory, but only
> inside those from
> TeX Live.
> 
> Have you any idea of what's happening? If you need them I can attach the output
> of any of these scripts.
> 
> Thank you very much for your help,


Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
  2012-06-01  8:18 ` Wolfgang Schuster
@ 2012-06-01 18:12   ` Marco Pallante
  2012-06-01 18:23     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Pallante @ 2012-06-01 18:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

This solves partially the problem: now it takes the delicious font,
but as default
it uses the heavy weight and not the roman; the \bf command switches to bold
and \it to italic.

If I use \setmainfont[Delicious-Roman], it always uses the roman, and
the \bf and
\it commands doesn't change anything.

Moreover, even if it pickups Delicious, if I run the query
  $ mtxrun --script fonts --list --all --pattern=Delicious*
it gives an empty result.

Marco


2012/6/1 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>
> Am 01.06.2012 um 10:10 schrieb Marco Pallante:
>
>> Hello,
>>
>> Sorry if this is a stupid question, but I'm a novice ConTeXt user,
>> switching from LaTeX and
>> without so much time :(
>>
>> I made some time ago a very small test document using the nice
>> Delicious font, which I
>> put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the
>> straightforward
>> document:
>>
>> \usemodule[simplefonts]
>> \setmainfont[Delicious]
>> \mainlanguage [it]
>> \setupbodyfont [10pt]
>> \setupheadertexts []
>> \starttext
>> Lorem ipsum dolor sit amet
>> \stoptext
>>
>> It worked without a problem, as the pdf remembered me. Now, I tried to
>> compile it
>> again, but it doesn't find the Delicious font anymore; on the
>> contrary, it doesn't find
>> system fonts anymore.
>>
>> I followed the instructions in the TeX Live Guide, ran mtxrun --script
>> fonts --reload
>> and context --generate again, without any change. However, I noticed that the
>> mtxrun doesn't walk into the /usr/share/fonts directory, but only
>> inside those from
>> TeX Live.
>>
>> Have you any idea of what's happening? If you need them I can attach the output
>> of any of these scripts.
>>
>> Thank you very much for your help,
>
>
> Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
  2012-06-01 18:12   ` Marco Pallante
@ 2012-06-01 18:23     ` Hans Hagen
       [not found]       ` <CADr0mj-2tLYJeVZsAAPny6xp5uhD8J31QTJAnRoLfsFK=D=6MA@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2012-06-01 18:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1-6-2012 20:12, Marco Pallante wrote:
> This solves partially the problem: now it takes the delicious font,
> but as default
> it uses the heavy weight and not the roman; the \bf command switches to bold
> and \it to italic.
>
> If I use \setmainfont[Delicious-Roman], it always uses the roman, and
> the \bf and
> \it commands doesn't change anything.
>
> Moreover, even if it pickups Delicious, if I run the query
>    $ mtxrun --script fonts --list --all --pattern=Delicious*
> it gives an empty result.

did the (internal) names of those fonts change?

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
       [not found]               ` <CADr0mj-Pp=7kr56PRcA5gf-oA4hQYgQc+afnR8j5uSaVG=w5GA@mail.gmail.com>
@ 2012-06-04 17:55                 ` Hans Hagen
  2012-06-04 18:01                   ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2012-06-04 17:55 UTC (permalink / raw)
  To: Marco Pallante, mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
  2012-06-04 17:55                 ` Hans Hagen
@ 2012-06-04 18:01                   ` Wolfgang Schuster
  2012-06-04 20:36                     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2012-06-04 18:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.06.2012 um 19:55 schrieb Hans Hagen:

> 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

My typescripts package in the minimals have support for the delicious font but I defined it as sans.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: System font searching suddenly stopped
  2012-06-04 18:01                   ` Wolfgang Schuster
@ 2012-06-04 20:36                     ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2012-06-04 20:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4-6-2012 20:01, Wolfgang Schuster wrote:

>>     \definefontsynonym [Serif]           [file:deliciousroman] [features=default]

> My typescripts package in the minimals have support for the delicious font but I defined it as sans.

So, what is it .. a sans roman ?

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-04 20:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-01  8:10 System font searching suddenly stopped 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
2012-06-04 18:01                   ` Wolfgang Schuster
2012-06-04 20:36                     ` Hans Hagen

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).