ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: simplefonts vs typescripts
@ 2015-05-21 19:40 david.boerschlein
  2015-05-21 20:14 ` Pablo Rodriguez
  0 siblings, 1 reply; 8+ messages in thread
From: david.boerschlein @ 2015-05-21 19:40 UTC (permalink / raw)
  To: ntg-context


I have the following:

\setupbodyfontenvironment[default][em=italic,x=9.0pt,xx=8.0pt,a=12.0pt,b=14.0pt,c=16.0pt,d=18.0pt,e=24.0pt,small=8.0pt]

Per: http://wiki.contextgarden.net/Font_Switching

However ConTeXt has a syntax error.

! Missing \endcsname inserted
! You can't use `\dimexpr' in restricted horizontal mode

If I change the above to just:
\setupbodyfontenvironment[default][em=italic]

then the .tex compiles and runs and generates PDF output, albeit with the wrong point sizes.

Please advise!    Thanks.

David Boerschlein
(214) 412-3275 home office land
(585) 278-4687 cell
www.linkedin.com/in/davidboerschlein
____________________________________________________________
High School Yearbooks
View Class Yearbooks Online Free. Reminisce & Buy a Reprint Today!
http://thirdpartyoffers.juno.com/TGL3141/555e34d459b534d357cbst01duc
___________________________________________________________________________________
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] 8+ messages in thread
* Re: simplefonts vs typescripts
@ 2015-05-13 16:09 david.boerschlein
  2015-05-13 16:47 ` Wolfgang Schuster
  2015-05-13 16:56 ` Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: david.boerschlein @ 2015-05-13 16:09 UTC (permalink / raw)
  To: ntg-context

I am still not able to set up the Noto fonts due mostly to sketchy/lack-of documentation on setting up ConTeXt fonts.

I understand I need to set up typescripts but do not understand the syntax and/or semantics of the different commands and how to map the font names/paths (otf and ttf files) to reference them in the typescripts.   I would like to create a utility that will create the typescript file for MKIV from the otf/ttf files themselves.

Please provide me with any help/documentation.

Thanks.

David Boerschlein
(214) 412-3275 home office land
(585) 278-4687 cell
www.linkedin.com/in/davidboerschlein


---------- Original Message ----------
From: "david.boerschlein@juno.com" <david.boerschlein@juno.com>
To: ntg-context@ntg.nl
Subject: simplefonts vs typescripts
Date: Mon, 4 May 2015 16:26:43 GMT

I have been trying for weeks to set up the Google Noto fonts for ConTeXt.   I have tried (but do not understand all the syntax and parameters of) typescripts and simplefonts.

It seems that I probably should gravitate towards typescripts because the typescripts seem to be what comes with the distribution of other fonts.

Is there detailed documentation describing all the parameters in detail and giving examples?   All I found is some vague examples without any explanations in the contextgarden.net wiki.

Is there a tool that I can use to look at the .ttf or .otf file and discern the values I need to put into the typescripts?   Is there a tool to generate typescripts from the .ttf and/or .otf files or would one be easy for me to write in say Korn, Perl, or Python?

Please advise!

Thanks.

David Boerschlein
(214) 412-3275 home office land
(585) 278-4687 cell
www.linkedin.com/in/davidboerschlein
____________________________________________________________
What Apple Didn’t say
One little-known tech company behind Apple is positioned to dominate.
http://thirdpartyoffers.juno.com/TGL3141/5553777a5d1b4777a2cf6st03duc
___________________________________________________________________________________
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] 8+ messages in thread
* simplefonts vs typescripts
@ 2015-05-04 16:26 david.boerschlein
  2015-05-04 16:47 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: david.boerschlein @ 2015-05-04 16:26 UTC (permalink / raw)
  To: ntg-context

I have been trying for weeks to set up the Google Noto fonts for ConTeXt.   I have tried (but do not understand all the syntax and parameters of) typescripts and simplefonts.

It seems that I probably should gravitate towards typescripts because the typescripts seem to be what comes with the distribution of other fonts.

Is there detailed documentation describing all the parameters in detail and giving examples?   All I found is some vague examples without any explanations in the contextgarden.net wiki.

Is there a tool that I can use to look at the .ttf or .otf file and discern the values I need to put into the typescripts?   Is there a tool to generate typescripts from the .ttf and/or .otf files or would one be easy for me to write in say Korn, Perl, or Python?

Please advise!

Thanks.

David Boerschlein
(214) 412-3275 home office land
(585) 278-4687 cell
www.linkedin.com/in/davidboerschlein

____________________________________________________________
Forget the iPhone 6
1 little-known Apple supplier holds wealth-changing growth potential.
http://thirdpartyoffers.juno.com/TGL3141/55479dd6d67bc1dd66582st03duc
___________________________________________________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2015-05-21 21:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 19:40 simplefonts vs typescripts david.boerschlein
2015-05-21 20:14 ` Pablo Rodriguez
2015-05-21 21:19   ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2015-05-13 16:09 david.boerschlein
2015-05-13 16:47 ` Wolfgang Schuster
2015-05-13 16:56 ` Hans Hagen
2015-05-04 16:26 david.boerschlein
2015-05-04 16:47 ` 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).