Re: [NTG-context] Typescripts for Dummies

2012-05-15 Thread Marco Pessotto
Bill Meahan wmeaha...@gmail.com writes:

 Is there a document anywhere that would be the equivalent of
 Typescripts for Dummies? (as if such a book really existed)

I guess real documentation is a fantastic booklet:
http://www.h2o-books.com/node/11

Cheers

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


Re: [NTG-context] Typescripts for Dummies

2012-05-15 Thread Wolfgang Schuster

Am 15.05.2012 um 19:28 schrieb Bill Meahan:

 Is there a document anywhere that would be the equivalent of Typescripts for 
 Dummies? (as if such a book really existed)
 
 I am trying to write some typescripts for the Venturis ADF and Beneris ADF 
 families (and a few others) using Wolfgang's typescripts for Fontin et. al. 
 as a guide. I can't seem to figure out what, \s! or \typescripttwo of 
 \typescriptthree do and the examples I have looked at on the wiki either 
 don't contain them or don't explain them .

The \s!… string are a method to save memory in TeX but you don’t have to use 
it, just use “serif” instead of “\s!serif”.

With \typescriptone etc. you can access the value in the arguments for 
\starttypescripts, e.g. in the following example

  \starttypescript [serif] [venturis]

\typescriptone expands to “serif” and \typescripttwo expands to “venturis”.

 I also don't seem to be able to find a command reference for \starttypescript 
 which explains what the various option fields mean or what predefined 
 values exist for each.

The first argument of \starttypescript can be

  - serif
  - sans
  - mono
  - handwriting
  - calligraphy

and the first argument of \definefontsynonym can be

  – Serif
  - SerifItalic
  - SerifBold
  - SerifSlanted
  - SerifBoldItalic
  - SerifBoldSlanted
  - SerifCaps
  - Sans
  - SansItalic
  – …
  - Mono
  - MonoItalic
  - …
  - Handwriting
  - Calligraphy

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
___


Re: [NTG-context] Typescripts for Dummies

2012-05-15 Thread Bill Meahan

Thank you Wolfgang!!

I've used LaTeX off and on since the 1980's but never did anything with 
Plain TeX so that's why I did not recognize the \s!  .


Bill Meahan K8QN

I want to live other lives. I've never quite believed that
one chance is all I get. Writing is my way of making
other chances.
   --  Anne Tyler


On 05/15/2012 14:16, Wolfgang Schuster wrote:

Am 15.05.2012 um 19:28 schrieb Bill Meahan:


The \s!… string are a method to save memory in TeX but you don’t have to use 
it, just use “serif” instead of “\s!serif”.

With \typescriptone etc. you can access the value in the arguments for 
\starttypescripts, e.g. in the following example

   \starttypescript [serif] [venturis]

\typescriptone expands to “serif” and \typescripttwo expands to “venturis”.


I also don't seem to be able to find a command reference for \starttypescript which 
explains what the various option fields mean or what predefined values exist 
for each.

The first argument of \starttypescript can be

   - serif
   - sans
   - mono
   - handwriting
   - calligraphy

and the first argument of \definefontsynonym can be

   – Serif
   - SerifItalic
   - SerifBold
   - SerifSlanted
   - SerifBoldItalic
   - SerifBoldSlanted
   - SerifCaps
   - Sans
   - SansItalic
   – …
   - Mono
   - MonoItalic
   - …
   - Handwriting
   - Calligraphy

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
___


Re: [NTG-context] typescripts and font loading (was: Project structure, (simple)font woes)

2012-04-16 Thread Alan BRASLAU
On Mon, 16 Apr 2012 13:27:56 +0200
luigi scarso luigi.sca...@gmail.com wrote:

 On Mon, Apr 16, 2012 at 1:19 PM, Wolfgang Schuster
 schuster.wolfg...@googlemail.com wrote:
 
  BTW: I can give a talk about typescripts and font loading at the
  next conference when there is interest in this.
 +1
 make a separate thread for this

++

Alan
___
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
___


Re: [NTG-context] typescripts

2010-11-12 Thread Herbert Voss
Am 12.11.2010 15:32, schrieb Herbert Voss:
 I am still playing with typescripts...
 In this example I get sans serif and mono
 but for the roman libertine I get the lm mono. What
 is wrong?

ok. I got it ...
When I change edit a typescript, do I have to run one
of the configuration scripts or is read every time when
I run a document?

Herbert
___
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
___


Re: [NTG-context] typescripts

2010-11-12 Thread Hans Hagen

On 12-11-2010 5:29, Herbert Voss wrote:

Am 12.11.2010 15:32, schrieb Herbert Voss:

I am still playing with typescripts...
In this example I get sans serif and mono
but for the roman libertine I get the lm mono. What
is wrong?


ok. I got it ...
When I change edit a typescript, do I have to run one
of the configuration scripts or is read every time when
I run a document?


typescript are loaded at runtime

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
___


Re: [NTG-context] typescripts

2010-11-12 Thread Hans Hagen

On 12-11-2010 3:32, Herbert Voss wrote:

I am still playing with typescripts...
In this example I get sans serif and mono
but for the roman libertine I get the lm mono. What
is wrong?


i see

define fonts forced type afm of fvmr8a not found

so what is the real name of that font?

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
___


Re: [NTG-context] typescripts

2010-11-12 Thread Herbert Voss
Am 12.11.2010 17:57, schrieb Hans Hagen:
 On 12-11-2010 3:32, Herbert Voss wrote:
 I am still playing with typescripts...
 In this example I get sans serif and mono
 but for the roman libertine I get the lm mono. What
 is wrong?
 
 i see
 
 define fonts forced type afm of fvmr8a not found
 
 so what is the real name of that font?

   rawname=BeraSansMono-Roman,

But that was not my problem. The libertine regular wasn't found

Herbert
___
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
___


Re: [NTG-context] typescripts

2010-11-12 Thread Hans Hagen

On 12-11-2010 6:41, Herbert Voss wrote:

Am 12.11.2010 17:57, schrieb Hans Hagen:

On 12-11-2010 3:32, Herbert Voss wrote:

I am still playing with typescripts...
In this example I get sans serif and mono
but for the roman libertine I get the lm mono. What
is wrong?


i see

define fonts  forced type afm of fvmr8a not found

so what is the real name of that font?


rawname=BeraSansMono-Roman,

But that was not my problem. The libertine regular wasn't found


works ok here, the included font is:

c:/data/develop/tex-context/tex/texmf-fonts/fonts/data/libertine/LinBiolinum_Re-0.6.4.otf




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


Re: [NTG-context] typescripts

2010-11-12 Thread Herbert Voss
Am 12.11.2010 19:07, schrieb Hans Hagen:
 On 12-11-2010 7:00, Herbert Voss wrote:

 that one is no problem, it is the sans serif font. I have problems
 with the Libertine Regular, eg.
 -rw-r--r--  1 voss users 434528 15. Jun 23:42 LinLibertine_Re-4.7.5.otf
 
 this one gets included too:
 
 c:/data/develop/tex-context/tex/texmf-fonts/fonts/data/libertine/LinLibertine_Re-4.7.5.otf
 
 
 what does your log say?

the problem was the lower case letter of serif in
\setups[font:fallback:serif]
This was the reason why the serif font (libertine) wasn't used.
With  \setups[font:fallback:Serif]  it is ok.


\starttypescriptcollection[mylibertine]

\starttypescript[serif][libertine]
\definefontsynonym[Serif]   [name:linlibertineo]
 [features=default]
\definefontsynonym[SerifItalic] [name:Linux Libertine O Italic]
 [features=default]
\definefontsynonym[SerifBold]   [name:Linux Libertine O Bold]
 [features=default]
\definefontsynonym[SerifBoldItalic] [name:Linux Libertine O Bold
Italic] [features=default]
\definefontsynonym[SerifSlanted][name:Linux Libertine Slanted O]
[features=default]
\definefontsynonym[SerifSlantedBold][name:Linux Libertine Slanted O
Bold][features=default]
\definefontsynonym[SerifCaps]   [name:Linux Libertine O
Capitals][features=smallcaps]
\stoptypescript

\starttypescript[sans][biolinum][name]
\setups[font:fallback:Serif]
...


Herbert
___
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
___


Re: [NTG-context] typescripts

2010-11-11 Thread Mojca Miklavec
On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote:

 Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:

 You need something like this:

 \starttypescript [mono] [bera] [name]
    \definefontsynonym [Mono] [file:fvmr8a.pfb]

 \definefontsynonym [Mono] [file:fvmr8a.afm]

The file:*.pfb didn't sound right to me either, but I misinterpreted
from not-precise-enough reading that pfb worked. Thanks for correcting
me.

Mojca
___
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
___


Re: [NTG-context] typescripts

2010-11-11 Thread Hans Hagen

On 11-11-2010 12:03, Mojca Miklavec wrote:

On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote:


Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:


You need something like this:

\starttypescript [mono] [bera] [name]
\definefontsynonym [Mono] [file:fvmr8a.pfb]


\definefontsynonym [Mono] [file:fvmr8a.afm]


The file:*.pfb didn't sound right to me either, but I misinterpreted
from not-precise-enough reading that pfb worked. Thanks for correcting
me.


i can support that suffix too if needed

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


Re: [NTG-context] typescripts

2010-11-11 Thread Mojca Miklavec
 The file:*.pfb didn't sound right to me either, but I misinterpreted
 from not-precise-enough reading that pfb worked. Thanks for correcting
 me.

 i can support that suffix too if needed

You have to find both afm and pfb with the same name. So maybe it does
make sense to also allow pfb. (pfb might be the more intuitive of the
two.)

Mojca
___
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
___


Re: [NTG-context] typescripts

2010-11-10 Thread Mojca Miklavec
2010/11/10 Herbert Voss herbert.v...@fu-berlin.de:

 I can use the beramono font in this way:

 \definefont [Bera] [fvmr8a at 9.5pt]

 \starttext
 \Bera
 \input knuth
 \stoptext

 but how would I insert it into a typescript of libertine,
 where the mono font should used from bera?

You need something like this:

\starttypescript [mono] [bera] [name]
\definefontsynonym [Mono] [file:fvmr8a.pfb]
\stoptypescript

\starttypescript[libertine]
   \definetypeface[libertine][rm][serif][libertine][default]
   \definetypeface[libertine][ss][sans] [libertine][default]
   \definetypeface[libertine][tt][mono] [bera] [default][rscale=0.85]
   \definetypeface[libertine][mm][math] [modern]   [default]
\stoptypescript

Instead of the one definition above you can also define the following
if you want to access the font by name Bera:

\starttypescript [mono] [bera]
\definefontsynonym [Bera] [file:fvmr8a.pfb]
\stoptypescript

\starttypescript [mono] [bera] [name]
\definefontsynonym [Mono] [Bera]
\stoptypescript


Mojca
___
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
___


Re: [NTG-context] typescripts

2010-11-10 Thread Herbert Voss
Am 10.11.2010 21:28, schrieb Mojca Miklavec:

 You need something like this:
 
 \starttypescript [mono] [bera] [name]
 \definefontsynonym [Mono] [file:fvmr8a.pfb]
 \stoptypescript

thanks! It worked only in this way:

\starttypescript [mono] [bera] [name]
\definefontsynonym [Mono] [fvmr8a]
\stoptypescript

Herbert
___
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
___


Re: [NTG-context] typescripts

2010-11-10 Thread Wolfgang Schuster

Am 10.11.2010 um 21:28 schrieb Mojca Miklavec:

 You need something like this:
 
 \starttypescript [mono] [bera] [name]
\definefontsynonym [Mono] [file:fvmr8a.pfb]

\definefontsynonym [Mono] [file:fvmr8a.afm]

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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Vnpenguin
On Tue, Aug 17, 2010 at 01:37, Hans Hagen pra...@wxs.nl wrote:
 On 15-8-2010 8:15, Vnpenguin wrote:

 2009/12/17 Boštjan Vesnicerbostjan.vesni...@gmail.com:

 Do the typescripts for the MathTime fonts exist?

 I have the same question. Anyone could give us some typescripts for
 MathTimePro 2 please.

 (1) make a directory texmf-fonts/fonts/data/mathtimes
 (2) copy the fonts there
 (3) run mtxrun --generate
 (4) test if it works:

 \setupbodyfont[mathtimes]

 \starttext
  test $e=mc^2$
 \stoptext

 The free version seems to be lm compatible so that should work I guess given
 that the same mapping is used. For the pro variant (with extra scripts) the
 vfu file probably needs to be extended with vectors the those.

 Hans


Thank you, I'll try it,

Regards
___
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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Vnpenguin
On Tue, Aug 17, 2010 at 01:37, Hans Hagen pra...@wxs.nl wrote:
 On 15-8-2010 8:15, Vnpenguin wrote:

 2009/12/17 Boštjan Vesnicerbostjan.vesni...@gmail.com:

 Do the typescripts for the MathTime fonts exist?

 I have the same question. Anyone could give us some typescripts for
 MathTimePro 2 please.

 (1) make a directory texmf-fonts/fonts/data/mathtimes
 (2) copy the fonts there

Only *.pfb file are ok ?

 (3) run mtxrun --generate
 (4) test if it works:

 \setupbodyfont[mathtimes]

 \starttext
  test $e=mc^2$
 \stoptext


That does not work. In the PDF file I see only TeXGyreTermes-Regular font.

Thanks,
___
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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Hans Hagen

On 17-8-2010 7:56, Vnpenguin wrote:


Only *.pfb file are ok ?


plus afm and for math tfm


\setupbodyfont[mathtimes]

\starttext
  test $e=mc^2$
\stoptext



That does not work. In the PDF file I see only TeXGyreTermes-Regular font.


no messages concerning missing fonts in the log?

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


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Hans Hagen

On 17-8-2010 8:27, Vnpenguin wrote:

On Tue, Aug 17, 2010 at 20:16, Hans Hagenpra...@wxs.nl  wrote:

On 17-8-2010 7:56, Vnpenguin wrote:


Only *.pfb file are ok ?


plus afm and for math tfm



Done.


\setupbodyfont[mathtimes]

\starttext
  test $e=mc^2$
\stoptext



That does not work. In the PDF file I see only TeXGyreTermes-Regular
font.


no messages concerning missing fonts in the log?



Log file attached.
Here are some files of MT Pro 2:


19/02/2009  03:0019 690 mt2bbdf.pfb
19/02/2009  03:00   738 mt2bbdf.pfm
19/02/2009  03:00   704 mt2bbdf.tfm
19/02/2009  03:0019 443 mt2bbds.pfb
19/02/2009  03:00   738 mt2bbds.pfm
19/02/2009  03:00   712 mt2bbds.tfm



so, the wrong names are used ... as I don't have these fonts you or 
someone has to do it:


- entry for mathtimespro in type-otf.mkiv

- make a mathtimespro-math.lfg (copy from mathtimes-math.lfg with other 
names or provide a list of comparable names)


- maybe extra vectors for math-vfu.lua (but best leave that to mojca, 
aditya and me and just provide the info)


as a starter you can provide us a list of

mathtimes  mathtimespro

name   proname

plus a relevant map file

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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Aditya Mahajan

On Tue, 17 Aug 2010, Hans Hagen wrote:


On 17-8-2010 8:27, Vnpenguin wrote:

 On Tue, Aug 17, 2010 at 20:16, Hans Hagenpra...@wxs.nl  wrote:
  On 17-8-2010 7:56, Vnpenguin wrote:
 
   Only *.pfb file are ok ?
 
  plus afm and for math tfm
 


 Done.

\setupbodyfont[mathtimes]
   
\starttext

  test $e=mc^2$
\stoptext
   
  
   That does not work. In the PDF file I see only TeXGyreTermes-Regular

   font.
 
  no messages concerning missing fonts in the log?
 


 Log file attached.
 Here are some files of MT Pro 2:

 
 19/02/2009  03:0019 690 mt2bbdf.pfb
 19/02/2009  03:00   738 mt2bbdf.pfm
 19/02/2009  03:00   704 mt2bbdf.tfm
 19/02/2009  03:0019 443 mt2bbds.pfb
 19/02/2009  03:00   738 mt2bbds.pfm
 19/02/2009  03:00   712 mt2bbds.tfm



so, the wrong names are used ... as I don't have these fonts you or someone 
has to do it:


Are we talking about mathtime pro fonts or mathtime pro lite fonts? The 
lite version was availabe for free, so I can try to make typescripts for 
them. But I do not have the pro version.


Aditya
___
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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-17 Thread Vnpenguin
On Wed, Aug 18, 2010 at 01:55, Aditya Mahajan adit...@umich.edu wrote:
 On Tue, 17 Aug 2010, Hans Hagen wrote:

 On 17-8-2010 8:27, Vnpenguin wrote:

  On Tue, Aug 17, 2010 at 20:16, Hans Hagenpra...@wxs.nl  wrote:
   On 17-8-2010 7:56, Vnpenguin wrote:
 Only *.pfb file are ok ?
    plus afm and for math tfm
 
  Done.

 \setupbodyfont[mathtimes]
    \starttext
   test $e=mc^2$
 \stoptext
 That does not work. In the PDF file I see only
TeXGyreTermes-Regular
    font.
    no messages concerning missing fonts in the log?
 
  Log file attached.
  Here are some files of MT Pro 2:

  
  19/02/2009  03:00            19 690 mt2bbdf.pfb
  19/02/2009  03:00               738 mt2bbdf.pfm
  19/02/2009  03:00               704 mt2bbdf.tfm
  19/02/2009  03:00            19 443 mt2bbds.pfb
  19/02/2009  03:00               738 mt2bbds.pfm
  19/02/2009  03:00               712 mt2bbds.tfm


 so, the wrong names are used ... as I don't have these fonts you or
 someone has to do it:

 Are we talking about mathtime pro fonts or mathtime pro lite fonts? The lite
 version was availabe for free, so I can try to make typescripts for them.
 But I do not have the pro version.


Here is full list of PFB files: http://pastebin.com/EX1ECWSx
___
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
___


Re: [NTG-context] Typescripts for MathTimePro 2? (was MathTime Lite fonts for free)

2010-08-16 Thread Hans Hagen

On 15-8-2010 8:15, Vnpenguin wrote:

2009/12/17 Boštjan Vesnicerbostjan.vesni...@gmail.com:

Do the typescripts for the MathTime fonts exist?


I have the same question. Anyone could give us some typescripts for
MathTimePro 2 please.


(1) make a directory texmf-fonts/fonts/data/mathtimes
(2) copy the fonts there
(3) run mtxrun --generate
(4) test if it works:

\setupbodyfont[mathtimes]

\starttext
  test $e=mc^2$
\stoptext

The free version seems to be lm compatible so that should work I guess 
given that the same mapping is used. For the pro variant (with extra 
scripts) the vfu file probably needs to be extended with vectors the those.


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
___


Re: [NTG-context] typescripts

2010-03-18 Thread Wolfgang Schuster

Am 18.03.10 02:32, schrieb Michael Saunders:

Consider, for example, something like this:  a book on film with a header:
Fellini's Roma and 8 1/2.  I'm used to setting something like this
in this way:
Fellini's \it{Roma} and \it{\cvfrac{8}{1}{2}}
(where \cvfrac{}{}{} is a macro that gives me a compound vulgar fraction).
The header is itself in smallcaps, so what comes out is:
Fellini'ssmall caps
Romaitalic small caps
andsmall caps
8italic proportional lining  (italic and lining (i.e., uppercase)
because it's a title)
1/2italic numeratoritalicitalic denominator
all with minimal effort on the part of the writer.  It seems natural that way.
   

\setupbodyfont[pagella]

\definefontfeature[smcp][smcp=yes]
\definefontfeature[frac][frac=yes]

\setuphead[chapter][textstyle=\addfs{frac}\addfs{smcp}]

\starttext

\chapter{Fellini’s {\it Roma} and 8 1/2}

\input knuth

\stoptext

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
___


Re: [NTG-context] typescripts

2010-03-18 Thread Wolfgang Schuster

Am 18.03.10 02:32, schrieb Michael Saunders:

Do you need condensed and regular width together in the running text
or do you want one in the text and the other in the header?
 

The different widths of my sans is one thing I hadn't counted on using
much (I spend more time in serif) but, since I have the fonts, I
thought it would be nice to be able to use them.  More than the
specific uses I've mentioned above, I'm used to the freedom of being
able to use what I have when the need arises.
   

The easiest way is to use different typeface for regular width and
condensed, e.g.

\definetypeface[myfont][...]

and

\definetypeface[myfontcd]

You can then switch between both with \myfont and \myfontcd.

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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Mojca Miklavec
On Wed, Mar 17, 2010 at 09:20, Wolfgang Schuster wrote:
 Am 17.03.10 02:26, schrieb Michael Saunders:

 2. As far as I can tell from trying to decode examples, there is some
 hidden connection between the first arguments of the second typescript
 block and the font switches.  So, for example, a secret connection
 between SerifBoldItalic and \bi seems to connect Junicode-BoldItalic
 to \bi.  Fine, but, in all the examples I've seen, there are no more
 than two weights and no widths.  In some cases, I have five weights
 (light, book, medium, semi-bold, bold).  How do I set up the
 typescript for this and the switches in the text?  Must I learn more
 pairs like (SerifBoldItalic, \bi)?

Yes, but there are not many (tf, it, sl, bf, bi, bs, sc) and I assume
that they are extensible. See also below.

 You need more typefaces. One for light, another one for condensed etc.

 styles:

 Serif       - \rm
 Sans        - \ss
 Mono        - \tt
 Handwriting - \hw
 Calligraphy - \cg

 alternatives:

 --
 Italic      - \tf
 Slanted     - \sl
 Bold        - \bf
 BoldItalic  - \bi
 BoldSlanted - \bs
 Caps        - \sc

 combinations:

 SerifItalic - \rm\it, \rmit
 SansSlanted - \ss\sl, \sssl
 MonoBold    - \tt\bf, \ttbf

Maybe I'm wrong, but shouldn't it be possible (I didn't test) to
modify font-unk.mkiv and add a few extra definitions to the following?
(Maybe not modify font-unk itself, but just adding a couple of more
definitons to the typescript.)

\definebodyfont [default] [rm]
  [tf=Serif sa 1,
   bf=SerifBold sa 1,
   it=SerifItalic sa 1,
   sl=SerifSlanted sa 1,
   bi=SerifBoldItalic sa 1,
   bs=SerifBoldSlanted sa 1,
   sc=SerifCaps sa 1]

You could add your
  in=SerifYourFontVariantName sa 1,
  bd=SerifYourOtherFontVariantName sa 1,

And then
   \definefontsynonym[SerifYourFontVariantName][YourFontName]

It's true that most people don't do that, but I see no reason for not
extending the model for your particular needs.

Mojca
___
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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster

Am 17.03.10 10:04, schrieb Mojca Miklavec:

Maybe I'm wrong, but shouldn't it be possible (I didn't test) to
modify font-unk.mkiv and add a few extra definitions to the following?
(Maybe not modify font-unk itself, but just adding a couple of more
definitons to the typescript.)

\definebodyfont [default] [rm]
   [tf=Serif sa 1,
bf=SerifBold sa 1,
it=SerifItalic sa 1,
sl=SerifSlanted sa 1,
bi=SerifBoldItalic sa 1,
bs=SerifBoldSlanted sa 1,
sc=SerifCaps sa 1]

You could add your
   in=SerifYourFontVariantName sa 1,
   bd=SerifYourOtherFontVariantName sa 1,
   

The last time i did this you needed for MkIV also

\definefontalternative[in]
\definefontalternative[bd]

but be carefull with the shortcuts, \in is already used (references).

And then
\definefontsynonym[SerifYourFontVariantName][YourFontName]

It's true that most people don't do that, but I see no reason for not
extending the model for your particular needs.
   

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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Mojca Miklavec
On Wed, Mar 17, 2010 at 10:11, Wolfgang Schuster wrote:
 Am 17.03.10 10:04, schrieb Mojca Miklavec:

 Maybe I'm wrong, but shouldn't it be possible (I didn't test) to
 modify font-unk.mkiv and add a few extra definitions to the following?
 (Maybe not modify font-unk itself, but just adding a couple of more
 definitons to the typescript.)

 \definebodyfont [default] [rm]
   [tf=Serif sa 1,
    bf=SerifBold sa 1,
    it=SerifItalic sa 1,
    sl=SerifSlanted sa 1,
    bi=SerifBoldItalic sa 1,
    bs=SerifBoldSlanted sa 1,
    sc=SerifCaps sa 1]

 You could add your
   in=SerifYourFontVariantName sa 1,
   bd=SerifYourOtherFontVariantName sa 1,


 The last time i did this you needed for MkIV also

 \definefontalternative[in]
 \definefontalternative[bd]

 but be carefull with the shortcuts, \in is already used (references).

I know, but it's up to Michael to choose the names for his scheme.
It's not very wise to override existing comands anyway; and almost any
two-letter could could be taken for language switching. (\sl should
stand for Slovenian, though it has a lower priority than font
switching.)

If he decides not to use cross-references, it may even work (with zero
guarantee).

Mojca
___
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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster

Am 17.03.10 12:33, schrieb Mojca Miklavec:

I know, but it's up to Michael to choose the names for his scheme.
It's not very wise to override existing comands anyway; and almost any
two-letter could could be taken for language switching. (\sl should
stand for Slovenian, though it has a lower priority than font
switching.)
   

You loose the language shortcut but you're still able to change hyphenation
patterns with \language[...], that's not possible with references.

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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster

Am 17.03.10 13:16, schrieb Michael Saunders:

You can apply only *one* feature to \definefontfeatures.
 

I've seen examples like this:
[...]
so I think you mean to say that I can apply only one feature to
\definefontsynonym or to \definetypeface.

Yes.

I tried this and it checks out.  Thanks---it's nice to see hz working.
Protrusion is only on the right margin?
   
Left and right but quotation marks do not appear so often on the left 
margin.

(Also, I'm hoping that having a dozen different sets of font features won't
require twelve times as many switches and feature names as this.  I think
there is some easier method for switching---Hans mentioned \addff{}, but
I can't find anything in the docs.  If that works, that would make two kinds
of switches, one for some kinds of features and another for other kinds.)
   

\addff, \subff etc. are rather new commands and therefore only documented
in the source, you're free to add them to the wiki.

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
___


Re: [NTG-context] typescripts

2010-03-17 Thread Wolfgang Schuster

Hi Michael,

do you need all of your fonts at the same time in your document?

Do you plan to switch between oldstyle and lining figures each sentence?

Do you need condensed and regular width together in the running text
or do you want one in the text and the other in the header?

ConTeXt is not a DTP program and has a completely different concept.

Before we can give you better answers think about what do want
to achieve and where do you need a certain font feature and style,
when you have a clear picture about this ty to describe it and we
try to help you.

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
___


Re: [NTG-context] Typescripts tutorials?

2006-06-22 Thread Idris Samawi Hamid
Hi Jason,

You can start here:

http://wiki.contextgarden.net/Fonts

Hans has a nice ConTeXt magazine on installing system: mag-0009.pdf (u can  
find it on the pragma site).

Best
Idris

On Thu, 22 Jun 2006 10:27:24 -0600, Jason Knight [EMAIL PROTECTED]  
wrote:

 I'm getting ready to get some new fonts working and I'm trying to figure
 out typescripts. Specifically, I'm confused about the syntax of the

 \starttypescript [][][]

 statements. Is there an explanation of these files in non-code (ie,
 English)?

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Typescripts tutorials?

2006-06-22 Thread Richard Gabriel




Hello Jason,I'd recommend you the Bill McClain's Context Beginner Help page:http://home.salamander.com/~wmcclain/context-help.htmlJust when I've found this, typescripts and other font-related things stopped to be a mystery for me... ;-)-RichardFrom: Jason Knight [mailto:[EMAIL PROTECTED]To: ntg-context@ntg.nlSent: Thu, 22 Jun 2006 18:27:24 +0200Subject: [NTG-context] Typescripts tutorials?Hello --

I'm getting ready to get some new fonts working and I'm trying to figure
out typescripts. Specifically, I'm confused about the syntax of the

\starttypescript [][][]

statements. Is there an explanation of these files in non-code (ie,
English)?

jason
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typescripts for free ;-)

2003-08-15 Thread Hans Hagen
At 22:52 13/08/2003 +0200, you wrote:
Hello!
I hope not to get into your spam filter with a for free message! ;-)
I thought after all that begging and getting help
I should do a bit for the community...
I made a lot of typescript for URW and Lino fonts.
If anyone is interested, I'll put them on my homepage
(not the fonts, only the typescripts).
BTW: I'll drop my ConTeXt cookbook project.
I've never enough time to care about it like it was needed.
Sorry and and big thanks to all who helped until now!
can you (or someoneelse) turn the usefull bits into myways so that the 
collection is somehow is not lost?

hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context