ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* system fonts access under macosx (again)
@ 2014-12-23 16:42 j. van den hoff
  2014-12-23 18:14 ` Hans Hagen
  2014-12-23 18:44 ` Pablo Rodriguez
  0 siblings, 2 replies; 9+ messages in thread
From: j. van den hoff @ 2014-12-23 16:42 UTC (permalink / raw)
  To: ntg-context

as advised I have installed standalone context in order to get better  
support of system fonts under macosx.
I now have had the following happen to me:

1.
after installation of `standalone' and straightening out unrelated  
problems with `\usemodule' usage I managed to get proper
support of -- that's the specific font I wanted to use -- the `Optima'  
font family. Notably I got italics
where I wanted them. so far so good.

2.
then I discovered that standalone context does not include the very nice  
`EB Garamond' font (although
there are some files in the context tree apparently related to tweaking  
some things related to this font) -- contrary to
texlive where `context` finds this font just fine.

3.
instead of putting this font into the standalone `context' tree (which I  
tried initially without luck -- on second thought
I probably would have needed to do a `mtxrun --script fonts --reload' ...)  
I installed these (otf) fonts systemwide.

(as an aside: is there a way of notifying standalone context of the  
location of the `texlive' font directories?)

4.
contrary to what I seem to have read in the documentation somewhere (??)  
the fonts were than _not_ looked up "on demand" (i.e.
where not found automatically when compiling the document wanting to use  
this font) but only found after I did a manual `mtxrun --script fonts  
--reload'

5.
now `ebgaramond' works fine _but_ out of the `Optima' fonts now only the  
regular font is found and reported by `mtxrun ... fonts`
if I interpret this output correctly:

optima          optimaregular   /System/Library/Fonts/Optima.ttc   index:   
4
optimanormal    optimaregular   /System/Library/Fonts/Optima.ttc   index:   
4
optimaregular   optimaregular   /System/Library/Fonts/Optima.ttc   index:   
4

so I seem back to square one in this respect :-(.
I can only assume that this has been caused by the `--reload' run (see  
item 1. above: intitially `optima' italics worked) and/or maybe still
fragile support of these `ttc' (true type collection) files? just a guess.

what am I doing wrong _this_ time?

thx,

joerg

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 16:42 system fonts access under macosx (again) j. van den hoff
@ 2014-12-23 18:14 ` Hans Hagen
  2014-12-23 22:53   ` j. van den hoff
  2014-12-23 18:44 ` Pablo Rodriguez
  1 sibling, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2014-12-23 18:14 UTC (permalink / raw)
  To: ntg-context

On 12/23/2014 5:42 PM, j. van den hoff wrote:

> what am I doing wrong _this_ time?

hard to guess from a distance but whenever i want to use some font and 
want also to be sure that i use the same one each time (esp system 
fonts) i just copy them to someplace under texmf-fonts/fonts/data

after copying a font you need to run mtxrun --generate in order to 
update the file database (after that not found founds will trugger a 
remake of the font database)

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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 16:42 system fonts access under macosx (again) j. van den hoff
  2014-12-23 18:14 ` Hans Hagen
@ 2014-12-23 18:44 ` Pablo Rodriguez
  2014-12-23 19:31   ` Wolfgang Schuster
  1 sibling, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2014-12-23 18:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/23/2014 05:42 PM, j. van den hoff wrote:
> [...]
> so I seem back to square one in this respect :-(.
> I can only assume that this has been caused by the `--reload' run (see  
> item 1. above: intitially `optima' italics worked) and/or maybe still
> fragile support of these `ttc' (true type collection) files? just a guess.
> 
> what am I doing wrong _this_ time?

Hi Jörg,

I cannot tell, but maybe there is something that might work.

From your ConTeXt Suite directory, remove tex/texmf-cache/luatex-cache/.

And then compile the documents with Optima and EB Garamond. (ConTeXt
will perform the required tasks before.)

--reload didn’t work for me and this method worked. I remove
tex/texmf-cache/luatex-cache/ everytime I install a new font.

Just in case it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 18:44 ` Pablo Rodriguez
@ 2014-12-23 19:31   ` Wolfgang Schuster
  2014-12-23 22:32     ` j. van den hoff
  2014-12-23 22:50     ` j. van den hoff
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2014-12-23 19:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 23.12.2014 um 19:44 schrieb Pablo Rodriguez <oinos@gmx.es>:
> 
> On 12/23/2014 05:42 PM, j. van den hoff wrote:
>> [...]
>> so I seem back to square one in this respect :-(.
>> I can only assume that this has been caused by the `--reload' run (see  
>> item 1. above: intitially `optima' italics worked) and/or maybe still
>> fragile support of these `ttc' (true type collection) files? just a guess.
>> 
>> what am I doing wrong _this_ time?
> 
> Hi Jörg,
> 
> I cannot tell, but maybe there is something that might work.
> 
> From your ConTeXt Suite directory, remove tex/texmf-cache/luatex-cache/.
> 
> And then compile the documents with Optima and EB Garamond. (ConTeXt
> will perform the required tasks before.)
> 
> --reload didn’t work for me and this method worked. I remove
> tex/texmf-cache/luatex-cache/ everytime I install a new font.

There is no need to remove the latex-cache folder because you can use the force
option (i.e. mtxrun —script font —reload —force) to rebuild the whole cache.

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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 19:31   ` Wolfgang Schuster
@ 2014-12-23 22:32     ` j. van den hoff
  2014-12-24  7:41       ` Wolfgang Schuster
  2014-12-23 22:50     ` j. van den hoff
  1 sibling, 1 reply; 9+ messages in thread
From: j. van den hoff @ 2014-12-23 22:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster

On Tue, 23 Dec 2014 20:31:46 +0100, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

>
>> Am 23.12.2014 um 19:44 schrieb Pablo Rodriguez <oinos@gmx.es>:
>>
>> On 12/23/2014 05:42 PM, j. van den hoff wrote:
>>> [...]
>>> so I seem back to square one in this respect :-(.
>>> I can only assume that this has been caused by the `--reload' run (see
>>> item 1. above: intitially `optima' italics worked) and/or maybe still
>>> fragile support of these `ttc' (true type collection) files? just a  
>>> guess.
>>>
>>> what am I doing wrong _this_ time?
>>
>> Hi Jörg,
>>
>> I cannot tell, but maybe there is something that might work.
>>
>> From your ConTeXt Suite directory, remove tex/texmf-cache/luatex-cache/.
>>
>> And then compile the documents with Optima and EB Garamond. (ConTeXt
>> will perform the required tasks before.)
>>
>> --reload didn’t work for me and this method worked. I remove
>> tex/texmf-cache/luatex-cache/ everytime I install a new font.
>
> There is no need to remove the latex-cache folder because you can use  
> the force
> option (i.e. mtxrun —script font —reload —force) to rebuild the whole  
> cache.

thanks to both of you. in fact, just doing `mtxrun —script font —reload  
—force'
restored sane behaviour (italics back again etc.).

so, I understand that _this_ actually rebuilds the font data base? what,  
then, is just issuing `--reload'
good for? I also don't understand, why `context' got apparently confused  
(i.e. stopped recognizing `optima italics')
by issuing just `mtxrun —script font —reload' (which I did -- successfully  
-- to make `context' recognize the newly
installed EB Garamond font).

joerg

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


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 19:31   ` Wolfgang Schuster
  2014-12-23 22:32     ` j. van den hoff
@ 2014-12-23 22:50     ` j. van den hoff
  1 sibling, 0 replies; 9+ messages in thread
From: j. van den hoff @ 2014-12-23 22:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 23 Dec 2014 20:31:46 +0100, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

> There is no need to remove the latex-cache folder because you can use  
> the force
> option (i.e. mtxrun —script font —reload —force) to rebuild the whole  
> cache.
> Wolfgang

FYI: `-force' seems not to be documented, at least I can't find it at  
`http://wiki.contextgarden.net/Mtxrun'.


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 18:14 ` Hans Hagen
@ 2014-12-23 22:53   ` j. van den hoff
  0 siblings, 0 replies; 9+ messages in thread
From: j. van den hoff @ 2014-12-23 22:53 UTC (permalink / raw)
  To: ntg-context, Hans Hagen

On Tue, 23 Dec 2014 19:14:26 +0100, Hans Hagen <pragma@wxs.nl> wrote:

> On 12/23/2014 5:42 PM, j. van den hoff wrote:
>
>> what am I doing wrong _this_ time?
>
> hard to guess from a distance but whenever i want to use some font and  
> want also to be sure that i use the same one each time (esp system  
> fonts) i just copy them to someplace under texmf-fonts/fonts/data

understood.

>
> after copying a font you need to run mtxrun --generate in order to  
> update the file database (after that not found founds will trugger a  
> remake of the font database)

could you please explain what the difference is between `mtxrun  
--generate' and `mtxrun fonts --rebuild {-force}'?

thx, joerg
>
> 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
> ___________________________________________________________________________________


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-23 22:32     ` j. van den hoff
@ 2014-12-24  7:41       ` Wolfgang Schuster
  2014-12-24 10:14         ` j. van den hoff
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2014-12-24  7:41 UTC (permalink / raw)
  To: j. van den hoff; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 825 bytes --]


> Am 23.12.2014 um 23:32 schrieb j. van den hoff <veedeehjay@googlemail.com>:
> 
> thanks to both of you. in fact, just doing `mtxrun —script font —reload —force'
> restored sane behaviour (italics back again etc.).
> 
> so, I understand that _this_ actually rebuilds the font data base? what, then, is just issuing `—reload’ good for?

When you make a new installation and context runs for the first time
it make a scan for all available fonts and store some information about
each font but this will take some time (although this is now faster than
it has been in the past).

To add a new font to this list you can use "mtxrun —script font —reload“
which adds only new fonts to the list which is faster than a complete
rebuild of the list which is done with the "force“ option.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 3483 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: system fonts access under macosx (again)
  2014-12-24  7:41       ` Wolfgang Schuster
@ 2014-12-24 10:14         ` j. van den hoff
  0 siblings, 0 replies; 9+ messages in thread
From: j. van den hoff @ 2014-12-24 10:14 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On Wed, 24 Dec 2014 08:41:53 +0100, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

>
>> Am 23.12.2014 um 23:32 schrieb j. van den hoff  
>> <veedeehjay@googlemail.com>:
>>
>> thanks to both of you. in fact, just doing `mtxrun —script font —reload  
>> —force'
>> restored sane behaviour (italics back again etc.).
>>
>> so, I understand that _this_ actually rebuilds the font data base?  
>> what, then, is just issuing `—reload’ good for?
>
> When you make a new installation and context runs for the first time
> it make a scan for all available fonts and store some information about
> each font but this will take some time (although this is now faster than
> it has been in the past).
>
> To add a new font to this list you can use "mtxrun —script font —reload“
> which adds only new fonts to the list which is faster than a complete
> rebuild of the list which is done with the "force“ option.

I see. but could there be some "loose ends" in this? since what happenend  
in my case was:

1.
after de-novo installation of `context' standalone, `optima.ttc' was  
recognized completely (including italics and bold).

2.
after adding  `ebgaramond' it was not recognized before doing a `mtxrun  
—script font —reload'.
so up to here this is perfectly in accord with your explanation. but

3.
at this point `optima' was no longer recognized beyond the `regular'  
variant. so something "bad"
happened to the database during step 2 it seems although according to your  
explantion it only
should have led to appending information for ebgaramond without affecting  
the rest.

4.
the complete rebuild (`-force') restored everything to normal.

just in case this deserves further inspection.

joerg

>
> Wolfgang


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2014-12-24 10:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 16:42 system fonts access under macosx (again) j. van den hoff
2014-12-23 18:14 ` Hans Hagen
2014-12-23 22:53   ` j. van den hoff
2014-12-23 18:44 ` Pablo Rodriguez
2014-12-23 19:31   ` Wolfgang Schuster
2014-12-23 22:32     ` j. van den hoff
2014-12-24  7:41       ` Wolfgang Schuster
2014-12-24 10:14         ` j. van den hoff
2014-12-23 22:50     ` j. van den hoff

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