Re: [NTG-context] Font and Typescript Questions

2009-04-02 Thread Hans Hagen

curiouslearn wrote:

Aditya Mahajan adityam at umich.edu writes:


DejaVu  They typescripts were modified from Wolfgang's typescripts.

Aditya



Do you use a different font for Math in your typescript. Or, have not bothered
with the math font because there is no math in the manual. I printed some stuff
with Wolfgang's script and find that computer modern does not seem to go as well
with dejavu. Then I replaced the line

\definetypeface [\typescriptone] [mm] [math]  [modern] [default]

with

\definetypeface [\typescriptone] [mm] [math]  [palatino] [default]

knowing that palatino has math support. The math with this change to palatino
seems to go better with dejavu text for the simple math that I had (no
complicated symbols). Can someone please tell me if this is the only change I
need to make to Wolfgang's script, if I want to use palatino for math (with all
the symbols and such) in dejavu.


maybe add [rscale=0.8] or whatever looks best

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-04-01 Thread curiouslearn
Aditya Mahajan adityam at umich.edu writes:

 
 DejaVu  They typescripts were modified from Wolfgang's typescripts.
 
 Aditya


Do you use a different font for Math in your typescript. Or, have not bothered
with the math font because there is no math in the manual. I printed some stuff
with Wolfgang's script and find that computer modern does not seem to go as well
with dejavu. Then I replaced the line

\definetypeface [\typescriptone] [mm] [math]  [modern] [default]

with

\definetypeface [\typescriptone] [mm] [math]  [palatino] [default]

knowing that palatino has math support. The math with this change to palatino
seems to go better with dejavu text for the simple math that I had (no
complicated symbols). Can someone please tell me if this is the only change I
need to make to Wolfgang's script, if I want to use palatino for math (with all
the symbols and such) in dejavu.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-04-01 Thread Wolfgang Schuster


Am 01.04.2009 um 20:40 schrieb curiouslearn:


Can someone please tell me if this is the only change I
need to make to Wolfgang's script, if I want to use palatino for  
math (with all

the symbols and such) in dejavu.


Yes, that's all you have to do. I can change this in the file but
can you show me a example with the different combinations before
I'll do this.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Font and Typescript Questions

2009-03-31 Thread curiouslearn
Can someone please help me with the following questions so that I can use some
of the typescripts that Wolfgang and some others have so kindly made available.

I will use font Bera as an example, since I would like to use it.

I have a Mac OS X Version 10.5.6

(1) How do I know if I have font Bera? As in, where on my computer do I look to
see if I have font Bera installed?

(2) If I do not have the font, how do I install Bera? I see that there are files
on ctan. Where should I save this?

(3) Once I have installed the font and I have downloaded Wolfgang's
type-bera.tex file, where do I save this file? Can I save it where I save the
third-party modules. Once I save it, do I run the usual texhash, followed by
luatools --generate followed by context --make

(4) Once I have accomplished the top three steps, how do I use it in a document?
Do I just type 

\usetypescript[bera]
\switchtobodyfont[bera,12pt]

OR,
 
do I also have to type \usemodule[type-bera]

I would really appreciate any help.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread Wolfgang Schuster


Am 01.04.2009 um 00:38 schrieb curiouslearn:

Can someone please help me with the following questions so that I  
can use some
of the typescripts that Wolfgang and some others have so kindly made  
available.


I will use font Bera as an example, since I would like to use it.

I have a Mac OS X Version 10.5.6

(1) How do I know if I have font Bera? As in, where on my computer  
do I look to

see if I have font Bera installed?


All my typescripts work with XeTeX/LuaTeX only, if you want to use  
pdfTeX write

your own typescripts.

You can show a list of all available fonts for LuaTeX with 'mtxrun -- 
script fonts --list'

and for XeTeX with 'fc-list' on the terminal.

Bera is a Bitsream Vera modification and I suggest to use DejaVu  
instead, you can

find a link to the font in the file.

(2) If I do not have the font, how do I install Bera? I see that  
there are files

on ctan. Where should I save this?


The easiest way is to install the font as normal system fonts.


(3) Once I have installed the font and I have downloaded Wolfgang's
type-bera.tex file, where do I save this file? Can I save it where I  
save the
third-party modules. Once I save it, do I run the usual texhash,  
followed by

luatools --generate followed by context --make


Save the file in your local TeX tree, I have them under 'texmf-local/ 
tex/context/third/typescrips/'.


Before you could use them TeX has to know about the file, to do this  
call
'mktexlsr' for XeTeX and 'luatools --generate' or 'context --generate'  
for LuaTeX.


'context --make' is only used to create a new format file for ConTeXt  
but you

don't need this for third party files which are loaded at runtime.

(4) Once I have accomplished the top three steps, how do I use it in  
a document?

Do I just type

\usetypescript[bera]
\switchtobodyfont[bera,12pt]


\usetypescriptfile[type-...] % load the typescript file

\usetypescript[...] % load the typescript
\setupbodyfont[...]

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread Mohamed Bana

curiouslearn wrote:

Can someone please help me with the following questions so that I can use some
of the typescripts that Wolfgang and some others have so kindly made available.

I will use font Bera as an example, since I would like to use it.

I have a Mac OS X Version 10.5.6

(1) How do I know if I have font Bera? As in, where on my computer do I look to
see if I have font Bera installed?
  
if you run the minimals, and probably also linux, this should tell you 
if the font has been cached.  i'm not sure if the pattern is case sensitive.


 $ mtxrun --script font --list 
--pattern=*bera* 


(2) If I do not have the font, how do I install Bera? I see that there are files
on ctan. Where should I save this?
  

is it an OpenType font?  on linux i just put it into my ~/.fonts/ dir.

(3) Once I have installed the font and I have downloaded Wolfgang's
type-bera.tex file, where do I save this file? Can I save it where I save the
third-party modules. Once I save it, do I run the usual texhash, followed by
luatools --generate followed by context --make
  
just put it in current dir and see if it works, you won't need to run 
those commands (i think).

(4) Once I have accomplished the top three steps, how do I use it in a document?
Do I just type 


\usetypescript[bera]
\switchtobodyfont[bera,12pt]

OR,
 
do I also have to type \usemodule[type-bera]


I would really appreciate any help.

___
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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread curiouslearn

Wolfgang and Mohamed, thanks very much to both of you.

I downloaded the deja vu font and installed it as I would install any other font
on my Mac (using Add fonts feature in the font book). I see it listed now in
the font book and can use it in word. However, it does not show up when I type 

mtxrun --script fonts --list 

in the terminal. I am not interested in using Xetex. I am using MKIV, which is I
suppose Luatex and hence did not run mktexlsr. However, after I installed the
font and saved the type-dejavu.tex file in the appropriate place, I did run
luatools --generate. 

Do I have to do something so that it shows up in the list that I get by 
entering 

mtxrun --script fonts --list 

at the terminal?

Thanks in advance for your help.





___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread curiouslearn

Just wanted to say that even if Deja Vu does not show up with

mtxrun --script fonts --list 

it does work!! I am not sure why.

Wolfgang thanks so much for the typescript. 



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread Aditya Mahajan

On Wed, 1 Apr 2009, curiouslearn wrote:



Just wanted to say that even if Deja Vu does not show up with

mtxrun --script fonts --list

it does work!! I am not sure why.


Try

mtxrun --script fonts --reload

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread curiouslearn

  it does work!! I am not sure why.
 
 Try
 
 mtxrun --script fonts --reload
 
 Aditya

Thanks Aditya. That worked. Now it shows with 

mtxrun --script fonts --list.

Its a beautiful font. I was also meaning to ask you, which font you used in your
simpleslides documentation? Is It is a very beautiful document. 




___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread Aditya Mahajan

On Wed, 1 Apr 2009, curiouslearn wrote:




it does work!! I am not sure why.


Try

mtxrun --script fonts --reload

Aditya


Thanks Aditya. That worked. Now it shows with

mtxrun --script fonts --list.

Its a beautiful font. I was also meaning to ask you, which font you used in your
simpleslides documentation? Is It is a very beautiful document.


DejaVu :-) They typescripts were modified from Wolfgang's typescripts.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread Wolfgang Schuster


Am 01.04.2009 um 03:17 schrieb curiouslearn:



Just wanted to say that even if Deja Vu does not show up with

mtxrun --script fonts --list

it does work!! I am not sure why.


It works because context checks all directories if you use a font
which is not font in his internal list.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___