ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to use system fonts
@ 2013-10-18 15:55 Sven Huynink
  2013-10-18 15:59 ` Sven Huynink
  2013-10-18 16:03 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Sven Huynink @ 2013-10-18 15:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 3506 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] 4+ messages in thread

* Re: How to use system fonts
  2013-10-18 15:55 How to use system fonts Sven Huynink
@ 2013-10-18 15:59 ` Sven Huynink
  2013-10-18 16:03 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Sven Huynink @ 2013-10-18 15:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 4491 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] 4+ messages in thread

* Re: How to use system fonts
  2013-10-18 15:55 How to use system fonts Sven Huynink
  2013-10-18 15:59 ` Sven Huynink
@ 2013-10-18 16:03 ` Wolfgang Schuster
  2013-10-20 21:27   ` Sven Huynink
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2013-10-18 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 18.10.2013 um 17:55 schrieb Sven Huynink <sven@huynink.nl>:

> I seem no to be able to use system fonts, not with /simplefonts neither with typescripts. When I define 
> 
> \starttypescript [serif] [arnoproregular]
> \definefontsynonym [Serif] [name:arnoproregular]
> \definefontsynonym [SerifItalic] [name:arnoproitalic]
> \definefontsynonym [SerifBoldItalic] [name:arnoproitaliccaption]
> \definefontsynonym [SerifCaps] [name:arnoproregular]
> \stoptypescript
> 
> (or any other system font in my Windows font directory e:/windows/ fonts as defined in osfontdir), I get        

You have to define also a typeface to use the typescript, e.g.

\starttypescript [serif] [arnoproregular]
  …
\stoptypescript

\definetypeface [myfont] [rm] [serif] [arnoproregular] [default]

\setupbodyfont[myfont]

\starttext
\input knuth
\stoptext

> fonts           > typescripts > unknown library 'loc'
> {E:/texprogs/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-math.map}{E:/texprogs/texlive/2013/texmf-dist/fonts/map/dvips/lm/lm-rm.map}{E:/texprogs/texlive/2013/texmf-dist/fonts/map/pdftex/context/mkiv-base.map}
> fonts           > 'fallback modern rm 11pt' is loaded
> 
> First, I don't understand "unknown library 'loc' " > I haven't defined that. Or does it mean 'local'? When I do the same with, say, garamond, I also get the line "unknown library 'garamond' " > why does it think garamond is in a library? 
> When I do 
> 
> mtxrun --script fonts --list --info --pattern=arnoproregular*
> 
> mtxfonts gives me all kinds of information, so the font *is* known to ConTeXt. Or is that a rash conclusion?       

Which information do you get?

> Second, there is not even a mention of the typescript or the font in the log. Why is that? Is it purely a syntax error in my setup as copied above?
> 
> Thirdly - of course - my question is: how can  I  make ConTeXt use my system fonts?       

On Windows and Mac you can use system fonts out of the box, you have to write only a typescript or use simplefonts.

> I use TexLive (most recent version), Texworks and Windows 7. Before I had a standalone ConTeXt set-up, which gave the same problems.

Can you try the following example with the current beta from the ConTeXt Suite.

\definefontfamily [mainface] [rm] [Arno Pro]

\setupbodyfont[mainface]

\starttext
\input knuth
\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 4983 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] 4+ messages in thread

* Re: How to use system fonts
  2013-10-18 16:03 ` Wolfgang Schuster
@ 2013-10-20 21:27   ` Sven Huynink
  0 siblings, 0 replies; 4+ messages in thread
From: Sven Huynink @ 2013-10-20 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 9839 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] 4+ messages in thread

end of thread, other threads:[~2013-10-20 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-18 15:55 How to use system fonts Sven Huynink
2013-10-18 15:59 ` Sven Huynink
2013-10-18 16:03 ` Wolfgang Schuster
2013-10-20 21:27   ` Sven Huynink

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