Re: [NTG-context] alpha: mplib broken?

2009-07-17 Thread Thomas A. Schmitz


On Jul 16, 2009, at 11:47 PM, Hans Hagen wrote:


works ok here (just to be sure i uploaded an alpha zip)

there is curently something wrong in the 0.42 binary so don't be too  
surprised if somethign fails, after all it's alpha!


Hans


Hi,

there is something wrong with the \buildtextaccent macro; this fails  
with the alpha:


\define\longe{\buildtextaccent\textmacron e}

\starttext

\longe

\stoptext

It works with the beta, and the definition of \buildtextaccent in enco- 
ini.mkiv hasn't changed, so I'm at a loss what's going wrong here.


All best

Thomas
___
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] alpha: mplib broken?

2009-07-17 Thread Peter Rolf

Hans Hagen schrieb:

Peter Rolf wrote:

Hi,

I just finished a first draft version of my adapted mp specials. 
Sadly no test run is possible, as mplib is broken here. I also tested 
with the untouched distribution, but every MP graphic (example 
attached) produces this error message:


works ok here (just to be sure i uploaded an alpha zip)

thanks for that. i also updated luatex (beta-0.42.0-2009071623), but no 
luck.

maybe another xp only mystery? i will check on vista over the weekend.

there is curently something wrong in the 0.42 binary so don't be too 
surprised if somethign fails, after all it's alpha!



sure, would be too boring if everything works from the start ;)


Hans


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





___
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] alpha: mplib broken?

2009-07-17 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 
 On Jul 16, 2009, at 11:47 PM, Hans Hagen wrote:
 
 works ok here (just to be sure i uploaded an alpha zip)

 there is curently something wrong in the 0.42 binary so don't be too
 surprised if somethign fails, after all it's alpha!

 Hans
 
 Hi,
 
 there is something wrong with the \buildtextaccent macro; this fails
 with the alpha:
 
 \define\longe{\buildtextaccent\textmacron e}

The \accent primitive was broken, there is a fix in the luatex
repository now.

Best wishes,
Taco
___
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] alpha: mplib broken?

2009-07-17 Thread Taco Hoekwater


Peter Rolf wrote:
 Hans Hagen schrieb:
 Peter Rolf wrote:
 Hi,

 I just finished a first draft version of my adapted mp specials.
 Sadly no test run is possible, as mplib is broken here. I also tested
 with the untouched distribution, but every MP graphic (example
 attached) produces this error message:

 works ok here (just to be sure i uploaded an alpha zip)

 thanks for that. i also updated luatex (beta-0.42.0-2009071623), but no
 luck.
 maybe another xp only mystery? i will check on vista over the weekend.

Can you try whether it works after you delete

r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en-metafun.mem

(manually?)

Best wishes,
Taco
___
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] alpha: mplib broken?

2009-07-17 Thread Thomas A. Schmitz


On Jul 17, 2009, at 10:46 AM, Taco Hoekwater wrote:


there is something wrong with the \buildtextaccent macro; this fails
with the alpha:

\define\longe{\buildtextaccent\textmacron e}


The \accent primitive was broken, there is a fix in the luatex
repository now.


Thanks Taco, it works again with the latest trunk!

Thomas
___
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] Two newbie questions about Texfont

2009-07-17 Thread Harrie Frericks
I've been looking into luatex and got it running now. However, i'm not sure
how to link a font that I want to use in my ConText documents to an actual
font file on my disk. For example, I have tried:

\definebodyfont[12pt][rm][
tf=c:\fonts\ITC Stone Serif\SR__.AFM
]

It doesn't work, so I guess this approach is both naive and optimistic.

I also read the manual Texfont explained for clues, but that didn't help
either.

Could someone show me how to use type1 font files with Luatex without having
to go the TexFont route.

Thanks, Harrie.

On Tue, Jul 14, 2009 at 8:13 PM, Hans Hagen pra...@wxs.nl wrote:

 Harrie Frericks wrote:

 Now that I finally have Context running I'm trying to install a number of
 type1 fonts. I've read the Texfont manual, but I couldn't find answers to
 these questions:
 1. Can Texfont recursively process a font tree?

 I have a directory font tree like this:

 c:\fonts\type1\font-family1
 c:\fonts\type1\font-family2
 c:\fonts\type1\font-family3

 each font-family subdirectory has a number of .afm files. If I set
 --sourcepath to c:\fonts\type1 can Texfont recurse all the subdirectories
 of
 the font families and locate and process the .afm files?


 2. Can Texfont handle .afm files with extensions in uppercase?

 Most of my type1 font files are in uppercase like: XYZ_.AFM   I can
 only
 get Texfont to process these files if I first rename them to lowercase,
 like
 XYZ_.AFM


 since you're new to context you can consider skipping pdftex and moving on
 to either xetex or luatex (which uses context mkiv)

 for luatex/mkiv you don't need to mess around with fonts as this combo
 directly handles afm/pfb files so there is no need for creating tfm metrics

 Hans


 -
  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

 ___

___
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] Two newbie questions about Texfont

2009-07-17 Thread Hans Hagen

Harrie Frericks wrote:

I've been looking into luatex and got it running now. However, i'm not sure
how to link a font that I want to use in my ConText documents to an actual
font file on my disk. For example, I have tried:

\definebodyfont[12pt][rm][
tf=c:\fonts\ITC Stone Serif\SR__.AFM
]


1. get rid of the funny names, so copy it to sr.afm (and also the pfb file)

2. put the files in your tex tree (texmf-fonts/fonts/afm/... and 
/type1/...) and run luatools --generate


3. then try:

\definedfont[sr at 12pt] test

and see if you get the font

if that works, then take a look at the type-otf files to see how to 
define typescripts


most of the font manuals can be skipped when using luatex/mkiv

Hans

-
  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] alpha: mplib broken?

2009-07-17 Thread Peter Rolf

Taco Hoekwater schrieb:

Peter Rolf wrote:
  

Hans Hagen schrieb:


Peter Rolf wrote:
  

Hi,

I just finished a first draft version of my adapted mp specials.
Sadly no test run is possible, as mplib is broken here. I also tested
with the untouched distribution, but every MP graphic (example
attached) produces this error message:


works ok here (just to be sure i uploaded an alpha zip)

  

thanks for that. i also updated luatex (beta-0.42.0-2009071623), but no
luck.
maybe another xp only mystery? i will check on vista over the weekend.



Can you try whether it works after you delete

r:/tex/texmf-cache/luatex-cache/context/d0b787cd25b9175dc4eaa276af366360/formats/cont-en-metafun.mem

(manually?)

  

i also checked the date of the mem-files and all were created newly.
anyhow, i gave it a try (you never know), but no surprise. same result 
after deleting the mem file.



Best wishes,
Taco
___
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] Two newbie questions about Texfont

2009-07-17 Thread Wolfgang Schuster


Am 17.07.2009 um 11:11 schrieb Harrie Frericks:

Could someone show me how to use type1 font files with Luatex  
without having to go the TexFont route.


When you placed your fonts in the TeX directory (afm plus pfb files)  
regenerate the file database

with 'context --generate' to let ConTeXt know about the new files.

To see what the real names of the fonts is you can show the complete  
list on the terminal with
'mtxrun --script fonts --list', you can narrow down the list with  
names when you use a search
pattern what could e in your case something like 'mtxrun --script  
fonts --list --pattern=*stone*'


When you're font is not listed in the output from mtxrun update also  
the font database with

the command 'mtxrun --script font --regenrate'.

To use the fonts in your document you can write a typescript for them  
by hand [1] or use
the simplefonts module which offers a simpler method and does the hard  
work itself hidden

for the user.

[1] http://wiki.contextgarden.net/Fonts_in_LuaTex

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] Two newbie questions about Texfont

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 11:53 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 17.07.2009 um 11:11 schrieb Harrie Frericks:

  Could someone show me how to use type1 font files with Luatex without
 having to go the TexFont route.


 When you placed your fonts in the TeX directory (afm plus pfb files)
 regenerate the file database
 with 'context --generate' to let ConTeXt know about the new files.

A question :
isn't afm  inside pfb ?

-- 
luigi
___
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] Two newbie questions about Texfont

2009-07-17 Thread Taco Hoekwater


luigi scarso wrote:
 A question :
 isn't afm  inside pfb ?

No (which is a bit annoying, and explains the existence of .pfm files)

Best wishes,
Taco
___
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] Two newbie questions about Texfont

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 12:17 PM, Taco Hoekwater t...@elvenkind.com wrote:



 luigi scarso wrote:
  A question :
  isn't afm  inside pfb ?

 No (which is a bit annoying, and explains the existence of .pfm files)

 ah ok, sorry, I was confused by this (on font-forge mailling list):


   1) import widths from .afm file not working

 Widths are not imported from afm files. Why should they be? Glyph widths
 are in the pfa/pfb files and those are correct. Importing them from afm
 files can just introduce errors.




-- 
luigi
___
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] multipage tabular

2009-07-17 Thread Vafa Khalighi
Does ConTeXt allow users to typeset multipage tabular and if it does, then
can someone please tell me what kind of algorithm ConTeXt uses  for these?
___
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] multipage tabular

2009-07-17 Thread Wolfgang Schuster


Am 17.07.2009 um 12:33 schrieb Vafa Khalighi:


Does ConTeXt allow users to typeset multipage tabular


all table environments in context can be split across pages

and if it does, then can someone please tell me what kind of  
algorithm ConTeXt uses  for these?


???

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] multipage tabular

2009-07-17 Thread Vafa Khalighi

  and if it does, then can someone please tell me what kind of algorithm
 ConTeXt uses  for these?


 ???


In TeX you can not have multi page tabular unless you program something. I
want to know about the ConTeXt algorithm of doing this.  In LaTeX there are
two packages longtable and suopertabular each with advantages and
disadvantages so I have been interested to see how ConTeXt handles multipage
tabular.
___
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] multipage tabular

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 1:03 PM, Vafa Khalighi v...@users.berlios.dewrote:





  and if it does, then can someone please tell me what kind of algorithm
 ConTeXt uses  for these?


 ???


 In TeX you can not have multi page tabular unless you program something. I
 want to know about the ConTeXt algorithm of doing this.  In LaTeX there are
 two packages longtable and suopertabular each with advantages and
 disadvantages so I have been interested to see how ConTeXt handles multipage
 tabular.

hmm, the definitive answer is in the code --and into the Hans's head -- .
-- 
luigi
___
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] Two newbie questions about Texfont

2009-07-17 Thread Arthur Reutenauer
 ah ok, sorry, I was confused by this (on font-forge mailling list):
 
 
   1) import widths from .afm file not working

 Widths are not imported from afm files. Why should they be? Glyph widths
 are in the pfa/pfb files and those are correct. Importing them from afm
 files can just introduce errors.

  Some metric information is indeed already present in pfa / pfb files, but not
all of it (ligatures, kerning...)

Arthur
___
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] multipage tabular

2009-07-17 Thread Wolfgang Schuster


Am 17.07.2009 um 13:03 schrieb Vafa Khalighi:

In LaTeX there are two packages longtable and suopertabular each  
with advantages and disadvantages so I have been interested to see  
how ConTeXt handles multipage tabular.


When you want to make a decision which table you want to you take a  
look at this table: http://wiki.contextgarden.net/Tables_Overview


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] multipage tabular

2009-07-17 Thread Vafa Khalighi
thanks heaps  for the details
___
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] new current version

2009-07-17 Thread Hans Hagen

Hi,

I've uploaded a current release (so for a moment no beta and alpha). 
Last years current was dedicated to Mojca but as she's too busy to use 
the latest greatest shw probably won't even notice that there is a 
current apart from the fact that her garden will have problems.


So, this years current (and there probably will be a few in succesion) 
is dedicated to Wolfgang who by now knows the source code better than I 
do. Also, his prompt and detailed answering of questions on the list 
saved me quite some mails gave me more time to work on MkIV.


The MkIV code needs a luatex 0.42 which is released today (a next step 
towards 0.50 which will be released at eurotex) so you need to fetch a 
binary from the gforce repository, or hope that new binaries will 
blossom on the garden.


Going current also gives Patrick the opportunity to see if the new git 
repository structure and synchronization works ok.


Hans

-
  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] multipage tabular

2009-07-17 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 17.07.2009 um 13:03 schrieb Vafa Khalighi:

In LaTeX there are two packages longtable and suopertabular each with 
advantages and disadvantages so I have been interested to see how 
ConTeXt handles multipage tabular.


When you want to make a decision which table you want to you take a look 
at this table: http://wiki.contextgarden.net/Tables_Overview


ah, nice page

Hans

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


[NTG-context] two new docs

2009-07-17 Thread Hans Hagen

I uploaded

http://www.pragma-ade.com/general/manuals/mk.pdf (latest version, will 
have a few more chapters but be finished at 0.50 when i start a new one)


http://www.pragma-ade.com/general/manuals/cld-mkiv.pdf (just as 
playground for lua lovers)


Hans



-
  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] new current version

2009-07-17 Thread Patrick Gundlach
Hello Hans and others,

thanks for the new stable release!

 Going current also gives Patrick the opportunity to see if the new git
 repository structure and synchronization works ok.

keeping my fingers crossed...

For the announcement see:

http://contextgarden.wordpress.com/2009/07/17/new-git-repository/


Patrick

... celebrating contextgarden's fifth birthday next friday! (2009-07-24)
___
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] Two newbie questions about Texfont

2009-07-17 Thread Harrie Frericks
Thanks, Wolfgang, that was another step in the right direction. Could you
help me with the next step? This is what I did so far. (N.B. I'm not
interested in TeX's standard fonts. I want to use my own type1 and otf fonts
which are in c:\fonts).
1. I set OSFONTDIR to c:\fonts
2. I ran mtxrun --script font --reload

That was succesfull. Mtxrun recursed the entire font directory tree.

3. I ran mtxrun --script fonts --list --pattern=*stone*.
I got about twenty lines of output in three columns. Here is an example:

stonesans  StoneSans c:/fonts/ITC Stone Sans/SS__.AFM

So far, so good. Now, I want to use this font and you included a link to a
Wiki article. This article says I have to use a typescript. The example
typescript from the Wiki uses the \definetypeface command. I searched
everywhere for a good description of this command, but wasn't able to find
one, unfortunately. Using the example from the Wiki:

\definetypeface [Bonum] [rm] [serif] [bonum] [default]

how would I use this command to be able to use my Stone Sans font from the
mtxrun output? In the [Bonum] example I can't find a reference to a font
file of the type c:\fonts\etc.

Any help would be greatly appreciated.

Thanks, Harrie.





On Fri, Jul 17, 2009 at 11:53 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 17.07.2009 um 11:11 schrieb Harrie Frericks:

  Could someone show me how to use type1 font files with Luatex without
 having to go the TexFont route.


 When you placed your fonts in the TeX directory (afm plus pfb files)
 regenerate the file database
 with 'context --generate' to let ConTeXt know about the new files.

 To see what the real names of the fonts is you can show the complete list
 on the terminal with
 'mtxrun --script fonts --list', you can narrow down the list with names
 when you use a search
 pattern what could e in your case something like 'mtxrun --script fonts
 --list --pattern=*stone*'

 When you're font is not listed in the output from mtxrun update also the
 font database with
 the command 'mtxrun --script font --regenrate'.

 To use the fonts in your document you can write a typescript for them by
 hand [1] or use
 the simplefonts module which offers a simpler method and does the hard work
 itself hidden
 for the user.

 [1] http://wiki.contextgarden.net/Fonts_in_LuaTex

 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

 ___

___
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] empty page - how?

2009-07-17 Thread Ciro Soto
Hi All,

I want each chapter to start on an odd number page, and  the preceding
page to be totally empty (no header,
no footer).

Before the \chapter command, I tried:

\page[odd,blank] ... didn't work. I get the header and footer
\page[odd,empty] ... didn't work. I get an extra page (empty)
\page[odd,makeup] ... didn't work. I get the same as in the first case

what is the combination I need to use?

thank you
Ciro






-- Links of your interest:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
http://www.myspace.com/sotoaguirre
___
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] empty page - how?

2009-07-17 Thread Aditya Mahajan

On Fri, 17 Jul 2009, Ciro Soto wrote:


Hi All,

I want each chapter to start on an odd number page, and  the preceding
page to be totally empty (no header,
no footer).

Before the \chapter command, I tried:

\page[odd,blank] ... didn't work. I get the header and footer
\page[odd,empty] ... didn't work. I get an extra page (empty)
\page[odd,makeup] ... didn't work. I get the same as in the first case

what is the combination I need to use?


See
http://wiki.contextgarden.net/Titles#Truly_empty_pagebreak_before_chapters

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] alpha: mplib broken?

2009-07-17 Thread Peter Rolf

Peter Rolf schrieb:

Hi,

I just finished a first draft version of my adapted mp specials. Sadly 
no test run is possible, as mplib is broken here. I also tested with 
the untouched distribution, but every MP graphic (example attached) 
produces this error message:


[..]


I have installed the latest und greatest luatex version (0.42 - non dll 
version, 3x 3.8Mb...) and there are no problems with the mp graphic 
anymore. Taco, please make a dll version next time ;)



Best wishes,  Peter
___
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] Math symbols issue with context minimals distribution and

2009-07-17 Thread Hans Hagen

Aditya Mahajan wrote:

Hans, any idea why this is happening. char-def.lua is loaded before 
math-pln.mkiv. Even then, why doesn't the redefinition in math-pln take 
precedence?


well, math-pln is loaded beforemath-ini and that one does the 
definitions so you need to revert that order in context.mkiv


probably ok now that math-pln is stripped to the bone but of course 
*you* will test it -)


Hans


-
  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] new current version

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 2:19 PM, Patrick Gundlach patr...@gundla.ch wrote:

 Hello Hans and others,

 thanks for the new stable release!

  Going current also gives Patrick the opportunity to see if the new git
  repository structure and synchronization works ok.

 keeping my fingers crossed...

 For the announcement see:

 http://contextgarden.wordpress.com/2009/07/17/new-git-repository/

Is stable OK ?
With git I have
***\edef\contextversion{2008.10.31 13:58}
*
(and no formats -- need etex)
-- 
luigi
___
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] new current version

2009-07-17 Thread Patrick Gundlach
Hi Luigi,

 http://contextgarden.wordpress.com/2009/07/17/new-git-repository/

 Is stable OK ?
 With git I have
 ***\edef\contextversion{2008.10.31 13:58}
 *
 (and no formats -- need etex)

I should have mentioned that it will be updated shortly after
midnight...

Sorry about that

Patrick

(so tomorrow you can just say `git pull'. :)
-- 
ConTeXt wiki and more: 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] new current version

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 7:27 PM, Patrick Gundlach patr...@gundla.ch wrote:

 Hi Luigi,

  http://contextgarden.wordpress.com/2009/07/17/new-git-repository/
 
  Is stable OK ?
  With git I have
  ***\edef\contextversion{2008.10.31 13:58}
  *
  (and no formats -- need etex)

 I should have mentioned that it will be updated shortly after
 midnight...

 Sorry about that

 Patrick

ok
in the meanwhile I will try *zip  from pragma
-- 
luigi
___
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] off topic: math symbols for latex

2009-07-17 Thread Patrick Gundlach
Hi,

this is a nice website where you can draw a symbol with your mouse and
the site will tell you how you get the symbol in LaTeX. Again, LaTeX tries to
be one step ahead... :)

http://detexify.kirelabs.org/classify.html

(found on the Mac OS X TeX mailing list)

Patrick
-- 
ConTeXt wiki and more: 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] off topic: math symbols for latex

2009-07-17 Thread Mojca Miklavec
On Fri, Jul 17, 2009 at 21:02, Patrick Gundlach wrote:
 Hi,

 this is a nice website where you can draw a symbol with your mouse and
 the site will tell you how you get the symbol in LaTeX. Again, LaTeX tries to
 be one step ahead... :)

 http://detexify.kirelabs.org/classify.html

 (found on the Mac OS X TeX mailing list)

This tool is a few days (ok, maybe weeks) old. Most symbols are equal
anyway, but I'm sure that you can convince the author to add ConTeXt
commands as well. (He claims to be LaTeX beginner, so handling ConTeXt
should be equally trivial for him :)

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


Re: [NTG-context] off topic: math symbols for latex

2009-07-17 Thread luigi scarso
On Fri, Jul 17, 2009 at 9:02 PM, Patrick Gundlach patr...@gundla.ch wrote:

 Hi,

 this is a nice website where you can draw a symbol with your mouse and
 the site will tell you how you get the symbol in LaTeX. Again, LaTeX tries
 to
 be one step ahead... :)

 http://detexify.kirelabs.org/classify.html



 http://www.imgseek.net/index.html

more general than symbols
-- 
luigi
___
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
___