[NTG-context] ## not permitted in the presence of .

2012-07-14 Thread Eythan Weg

Hi,

I run into trouble with  mkiv   (ConTeXt  ver: 
2012.05.30 11:26 MKIV  fmt: 2012.7.7  int:
english/english).

A small example:
\starttext
\def\c#1#2{\halign{##\hfil##\cr\bf#1\quad#2\cr}}
\c{11}{this}
\stoptext 

gives and  error: 

! Only one # is allowed per tab.

This runs error-free  under mkii (pdftex, xetex), plain tex
(luatex, xetex), latex (luatex) etc.

Would someone comment? 

Thank you,
Eythan 



___
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] ## not permitted in the presence of .

2012-07-14 Thread Eythan Weg




Thank you.  But isn't  \donknuthmode suppose to keep the
compatibility with standard  tex?  

Eythan 



Wolfgang Schuster schuster.wolfg...@gmail.com
Sat, 14 Jul 2012 17:39:12 +0200

   Am 14.07.2012 um 17:20 schrieb Eythan Weg:
   
Hi,

I run into trouble with  mkiv   (ConTeXt  ver: 
2012.05.30 11:26 MKIV  fmt: 2012.7.7  int:
english/english).

A small example:
\starttext
\def\c#1#2{\halign{##\hfil##\cr\bf#1\quad#2\cr}}
\c{11}{this}
\stoptext 

gives and  error: 

! Only one # is allowed per tab.

This runs error-free  under mkii (pdftex, xetex), plain tex
(luatex, xetex), latex (luatex) etc.

Would someone comment? 
   
   The error message is not very helpful in this case because the  is the 
problem.
   
   In MkIV we made a while ago _, ^ and  normal characters in the text and you
   don’t have to write \_ (or \textunderscore) etc. to use them. A side effect 
of this
   was that \halign can’t be used anymore in a document (which isn’t recommended
   anyway because ConTeXt has other high level table interfaces), when you now
   want to use \halign to create a command put it in a \unprotect … \protect 
block
   or use the \aligntab (it’s a LuaTeX primitive with the same meaning as ).
   
   \unprotect
   
   \def\one#1#2{\halign{##\hfil##\cr\bf#1\quad#2\cr}}
   
   \protect
   
   \def\two#1#2{\halign{##\hfil\aligntab##\cr\bf#1\aligntab\quad#2\cr}}
   
   \starttext
   
   \one{underscore}{_}
   
   \two{ampersand}{}
   
   \stoptext
   
   BTW: \c is already defined as a accent macro.
   
   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
___

[NTG-context] Wrong radical with euler.otf and texlive 2011.

2011-07-26 Thread Eythan Weg

Hi, 

I use euler.otf with texlive 2011.  The expression 

$1\over\sqrt{{1\over b^2}+{1\over a^2}}$ 

is typeset with a wrong radical.

Here:

  $$1\over\sqrt{{1\over b^2}+{1\over a^2}}$$  

it seems correct.

Beta also exhibits the same behavior.

Is the font or the format, or, perhaps, something else?

Thank, Eythan 

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


[NTG-context] cont-sys.mkiv in texlive 2011

2011-07-12 Thread Eythan Weg


Hi,

I have installed tl-2011 a few days ago.  Context mkiv runs ok.  But to
configure page size I put a few commands in cont-sys.mkiv under
home:.texlive2011/tex-config which is the result of mtxrun --expand-path
TEXMFCONFIG.

However, the file has no effect on context and nor is it found by 
mtxrun cont-sys.mkiv.

TEXMF is found as:

home:.texlive2011/texmf-config:home:texmf:
!!selfautoparent:texmf-config:!!selfautoparent:texmf-project:
!!selfautoparent:texmf-fonts:!!/usr/local/texlive/texmf-local:
!!selfautoparent:texmf-dist:!!selfautoparent:linux-64:!!selfautoparent:texmf
(one line)

What do I miss?

Thank you,

Eythan 

___
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] cont-sys.mkiv in texlive 2011

2011-07-12 Thread Eythan Weg

luigi scarso luigi.sca...@gmail.com
Tue, 12 Jul 2011 17:07:10 +0200

   On Tue, Jul 12, 2011 at 4:58 PM, Eythan Weg eythan...@gmail.com wrote:
   
   
Hi,
   
I have installed tl-2011 a few days ago.  Context mkiv runs ok.  But to
configure page size I put a few commands in cont-sys.mkiv under
home:.texlive2011/tex-config which is the result of mtxrun --expand-path
TEXMFCONFIG.
   
However, the file has no effect on context and nor is it found by
mtxrun cont-sys.mkiv.
   
TEXMF is found as:
   
home:.texlive2011/texmf-config:home:texmf:
!!selfautoparent:texmf-config:!!selfautoparent:texmf-project:
!!selfautoparent:texmf-fonts:!!/usr/local/texlive/texmf-local:

!!selfautoparent:texmf-dist:!!selfautoparent:linux-64:!!selfautoparent:texmf
(one line)
   
What do I miss?
   
Thank you,
   Does it work if you put it under
   texmf-project ?

I did put it under TEXMFSYSCONFIG and it works.  But I think it is
better kept in a  personal directory.  I suspect that TEXMFPROJECT
will do too.  But it is not appropriate as it would apply to every
user. 

   
   -- 
   luigi


Eythan  


___
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] cont-sys.mkiv in texlive 2011

2011-07-12 Thread Eythan Weg

Taco Hoekwater t...@elvenkind.com
Tue, 12 Jul 2011 17:22:37 +0200

   On 07/12/2011 05:07 PM, luigi scarso wrote:
On Tue, Jul 12, 2011 at 4:58 PM, Eythan Wegeythan...@gmail.com  wrote:
   
   
Hi,
   
I have installed tl-2011 a few days ago.  Context mkiv runs ok.  But to
configure page size I put a few commands in cont-sys.mkiv under
home:.texlive2011/tex-config which is the result of mtxrun --expand-path
TEXMFCONFIG.
   
However, the file has no effect on context and nor is it found by
mtxrun cont-sys.mkiv.
   
TEXMF is found as:
   
home:.texlive2011/texmf-config:home:texmf:
!!selfautoparent:texmf-config:!!selfautoparent:texmf-project:
!!selfautoparent:texmf-fonts:!!/usr/local/texlive/texmf-local:

!!selfautoparent:texmf-dist:!!selfautoparent:linux-64:!!selfautoparent:texmf
(one line)
   
What do I miss?
   
Thank you,
Does it work if you put it under
texmf-project ?
   
   Try (if you did not have the substructure already):
   
 ~/.texlive2011/texmf-config/tex/context/cont-sys.mkiv
   
   Best wishes,
   Taco


Yes... This works.  

Thank you.
Eythan  

___
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] cont-sys.mkiv in texlive 2011

2011-07-12 Thread Eythan Weg




John Culleton j...@wexfordpress.com
Tue, 12 Jul 2011 11:55:36 -0400

   On Tuesday, July 12, 2011 10:58:18 am Eythan Weg wrote:
   
Hi,
   

   
I have installed tl-2011 a few days ago. Context mkiv runs ok. 
   
   Where did you find TL-2011? All I find is TL-2010

Yes.  Sorry, this is a  frozen 2011.
   
   -- 
   
   John Culleton
   
   Death Wore Black Police procedural: http://www.deathworeblack.com/
   
   Create Book Covers with Scribus
   
   http://booklocker.com/books/4055.html
   
   
___
   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
   
___



Eythan 


___
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] \halign

2011-02-25 Thread Eythan Weg

Wolfgang Schuster schuster.wolfg...@googlemail.com
Thu, 24 Feb 2011 22:20:01 +0100

   Am 24.02.2011 um 17:56 schrieb Eythan Weg:
   

Hi,

I have just installed beta. 

The line:

\starttext
  \halign{\hfil#\hfil\quad\cr This That\cr12\cr} 
\stoptext

is not typeset and the  are left in place.  What could be the problem?
   
   Since a while ^, _ and  can be used in text mode like any other character.
   
   You can disable this with \donknuthmode at the begin of your document or
   use the \aligntab where you would normally use  but the best thing is
   to use one of contexts build in table environment.
   
   Wolfgang

Thank you.  I think that \halign, being a primitive of tex, should be
respected.  If a user wants to use it, it should be usable
unconditionally.  

Eythan 

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


[NTG-context] Configuration files

2011-02-25 Thread Eythan Weg

Hi, 

Where can I find information about the contents of following files? 

context.cnf   
contextcnf.lua

texmf.cnf
texmfcnf.lua


Also I used to have cont-sys.tex in ~/texmf/tex.  What is the analogous
file for mkiv?  

Thank you.
Eythan  




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


[NTG-context] \halign

2011-02-24 Thread Eythan Weg

Hi,

I have just installed beta. 

The line:

\starttext
   \halign{\hfil#\hfil\quad\cr This That\cr12\cr} 
\stoptext

is not typeset and the  are left in place.  What could be the problem?

Thank you.
Eythan 

___
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] Texlive 2009 and stable context

2010-08-04 Thread Eythan Weg

Taco Hoekwater t...@elvenkind.com
Tue, 03 Aug 2010 19:33:39 +0200


   
   Almost. You need this file
   
 http://minimals.metatex.org/current/misc/web2c/texmfcnf.lua
   
   and it should go into texlive/texmf/web2c/ or somewhere else
   where it can be found (any location where texmf.cnf will be found)
   and then it should work, I think. But I cannot test this, so
   be warned that it may not work.
   
   Best wishes,
   Taco

This helps somewhat.

It seems that the definitions

TEXMFOS = $SELFAUTODIR,
TEXMFMAIN   = $SELFAUTOPARENT/texmf,
TEXMFCONTEXT= $SELFAUTOPARENT/texmf-context,
TEXMFLOCAL  = $SELFAUTOPARENT/texmf-local,
TEXMFFONTS  = $SELFAUTOPARENT/texmf-fonts,
TEXMFPROJECT= $SELFAUTOPARENT/texmf-project,

are not true for my case.

How do I set these variables so that  things will work correctly? 

Running mtxrun --generate spits this 

MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin'
MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr'
MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.'
MTXrun | resolvers: variable 'TEXMFCNF' set to ''
MTXrun | resolvers: variable 'TEXMF' set to ''
MTXrun | resolvers: variable 'TEXOS' set to '/usr


No wonder that cont-en is not found when I run mtxrun --compile cont-en.  

I would like mtxrun --compile cont-en to find the context distribution
within TEXMFLOCAL = /usr/local/share/texmf.  Here is the directory
structure in /usr/local/share/texmf where I keep the context package.
In addition under /usr/share/texmf-texlive  are all fonts that are used by
all things tex.  


./
./fonts
./fonts/cid
./fonts/afm
./fonts/fea
./fonts/map
./fonts/data
./fonts/type1
./fonts/vf
./fonts/tfm
./fonts/pfm
./fonts/truetype
./fonts/enc
./fonts/misc
./doc
./doc/fonts
./doc/context
./doc/latex
./bibtex
./bibtex/bst
./ls-R
./metapost
./metapost/context
./context
./context/config
./context/data
./tex
./tex/context
./tex/generic
./tex/latex
./web2c
./web2c/context.cnf
./web2c/natural.tcx
./web2c/contextcnf.lua
./scripts
./scripts/context
 

Thank you,

Eythan 

___
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] Texlive 2009 and stable context

2010-08-04 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Tue, 03 Aug 2010 19:40:40 +0200

   On 3-8-2010 6:48, Eythan Weg wrote:
   
Sometimes in June I was no longer able to compile context beta, running
into a problem that persists with the new stable (7-30-2010).  Hans
suggested in response to a similar problem by someone else, to install
minimals.  But this seems to me wasteful because I use parts of latex.
   
   The minimals are independent; also, you get the latest binaries with it.


I know, but I need more than context and I am not happy with the
duplication the installation of minimals entails.  

I hope that correct configuration would bring things the way they were
just a month or two ago.

Thank you,
Eythan 

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


[NTG-context] Texlive 2009 and stable context

2010-08-03 Thread Eythan Weg


Hi,

Sometimes in June I was no longer able to compile context beta, running
into a problem that persists with the new stable (7-30-2010).  Hans
suggested in response to a similar problem by someone else, to install
minimals.  But this seems to me wasteful because I use parts of latex.

Running (with luatex version beta-0.62.0-2010080309 (rev 3794))

mtxrun --generate 

gives this:
   
   MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin'
   MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr'
   MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.'
   MTXrun | resolvers: variable 'TEXMFCNF' set to ''
   MTXrun | resolvers: variable 'TEXMF' set to ''
   MTXrun | resolvers: variable 'TEXOS' set to '/usr'
   MTXrun | resolvers
   MTXrun | resolvers: warning: no lua configuration files found
   MTXrun | resolvers
   MTXrun | resolvers

Should I be able to compile the current context under texlive 2009?  If
so, how? If not, would it compile with the current version texlive 2010?


Many thanks,
Eythan 

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


[NTG-context] failure with luatools --generate

2010-06-11 Thread Eythan Weg

Hi,

I ran into trouble compiling beta of June 10.  It seems to me that
luatools is now a script run under mtxrun.  Under linux I made
executable the scripts scripts/context/stubs/unix/{mtxrun,context,
luatools}.  Now when I run

luatools --generate 

I get


MTXrun | forcing cache reload
MTXrun | fileio: warning: no lua configuration files found
MTXrun |
MTXrun |
MTXrun | the resolver databases are not present or outdated
MTXrun | fileio: using suffix based filetype 'lua'
MTXrun | fileio: using suffix based filetype 'lua'
MTXrun | fileio: remembering file 'mtx-base.lua'
MTXrun | fileio: using suffix based filetype 'lua'
MTXrun | unknown script 'base.lua' or 'mtx-base.lua'
MTXrun |
MTXrun | runtime: 0.008 seconds

What does it mean?

I had no trouble with earlier versions of luatools 

Thank you.

Eythan

___
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] failure with luatools --generate

2010-06-11 Thread Eythan Weg

Thank you. I ran
  
mtxrun --generate

MTXrun | fileio: variable 'SELFAUTOLOC' set to '/usr/bin'
MTXrun | fileio: variable 'SELFAUTODIR' set to '/usr'
MTXrun | fileio: variable 'SELFAUTOPARENT' set to '/'
MTXrun | fileio: variable 'TEXMFCNF' set to '/etc/texmf/texmf.cnf'
MTXrun | fileio: variable 'TEXMF' set to ''
MTXrun | fileio: variable 'TEXOS' set to '/usr'
MTXrun |
MTXrun | fileio: warning: no lua configuration files found
MTXrun |

I have manually exported the TEXMFCNF. 

Here are the commands: 

w...@fermat:~$ ls -l `which mtxrun`
lrwxrwxrwx 1 root root 56 2010-06-11 10:15 /usr/bin/mtxrun -
 /usr/local/share/texmf/scripts/context/stubs/unix/mtxrun
 
   w...@fermat:~$ ls -l `which luatools`
lrwxrwxrwx 1 root root 58 2010-06-11 11:03 /usr/bin/luatools -
 /usr/local/share/texmf/scripts/context/stubs/unix/luatools

w...@fermat:~$ ls -l `which context`
lrwxrwxrwx 1 root root 57 2010-06-11 10:14 /usr/bin/context -
 /usr/local/share/texmf/scripts/context/stubs/unix/context



Eythan 



Hans Hagen pra...@wxs.nl
Fri, 11 Jun 2010 17:43:43 +0200

   On 11-6-2010 5:21, Eythan Weg wrote:
   
Hi,
   
I ran into trouble compiling beta of June 10.  It seems to me that
luatools is now a script run under mtxrun.  Under linux I made
executable the scripts scripts/context/stubs/unix/{mtxrun,context,
luatools}.  Now when I run
   
 luatools --generate
   
   use mtxrun --generate
   
   Hans
   

___
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] A problem with \useURL or \from

2009-08-24 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sat, 22 Aug 2009 12:45:49 +0200

   Eythan Weg wrote:
   
Hi,
   
With current context and luatex revision 3038 I use this sample:
   
\setupinteraction[state=start]
\setupurl[color=blue]
\starttext
\useURL[here][http://google.com]
\from[here]
\stoptext
   
It compiles with the link shown correctly but in
greenish color.  Pressing on it, the browser tries to visit
http://here/ .
   
I am not sure where the source of the problem is, context or luatex.
   
   context i.e. me
   
   Hans


Thank you for the fix.  The  \setupurl for color,
however, is still not working.

Eythan 

___
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] A problem with \useURL or \from

2009-08-21 Thread Eythan Weg


Hi,

With current context and luatex revision 3038 I use this sample:

\setupinteraction[state=start]
\setupurl[color=blue]
\starttext
\useURL[here][http://google.com]
\from[here]
\stoptext

It compiles with the link shown correctly but in
greenish color.  Pressing on it, 
the browser tries to visit http://here/ .

I am not sure where the source of the problem is, context or luatex.

Thank you, Eythan


___
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] \everymath problem

2009-08-19 Thread Eythan Weg

Hi,


I use luatex 0.43 with yesterday's beta.  Running 
 
  \everymath = {\displaystyle}
  
  \starttext
  ${a\over  b}$
  
  \stoptext

results in 

  ! Use of \dospecialabout doesn't match its definition.
  l.4 ${a\over  b
   }$

Plain format under luatex has no problem here.

If I change \over to \times it runs with fonts changed
to roman (i.e, not math italics).

Thank you.

Eythan 



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

2009-04-21 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Mon, 20 Apr 2009 10:19:54 +0200

   Am Sun, 19 Apr 2009 13:37:26 -0400 schrieb Eythan Weg:
   
   luatools --show-path tex
   
   luatools --show-path lua

This is only for the lua path (with line breaks introduced)
   
   Why don't you trust Hans? He had probably a reason why he asked for
   the output of the path for tex. 

This is an oversight, I was too busy with bizarre
behavior of the lua extension.

   (In my case font-syn.lua was searched along the *tex*-path, and I
   found the error in my texmf.cnf by inspecting the output of
   kpsewhich --show-path=tex. I used kpsewhich because I'm more used to
   it and because it is independant from context, so problems there
   can't be the fault of the lua code).

True, but lua is quite unique to context at the
moment.  So search with other tools is not
particularly helpful for the fine details.
   
   -- 
   Ulrike Fischer 
   
Eytrhan

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

2009-04-20 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sun, 19 Apr 2009 18:15:34 +0200

   Eythan Weg wrote:
Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200
   
   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   I tried this
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
  did you run luatools --generate to make a file database?
Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  Note that
luatools font-syn.lua  shows nothing.
  I had this problem too. In my case it was an error in my
texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua?   -- 
   Ulrike Fischer 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   luatools --show-path tex
   
   luatools --show-path lua

It appears that neglected the tex path.  Sorry...
Here is the complete listing:

w...@gauss:~/  luatools --show-path lua 
luatools --show-path lua 
.:.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!/var/lib/texmf/tex/context//:
!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:!!
/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///:
/home/weg/.texmf-config/scripts/luatex//:
/home/weg/.texmf-config/scripts/context//:
/home/weg/.texmf-config/scripts///:
/home/weg/.texmf-var/scripts/luatex//:
/home/weg/.texmf-var/scripts/context//:
/home/weg/.texmf-var/scripts///:
/home/weg/texmf/scripts/luatex//:
/home/weg/texmf/scripts/context//:
/home/weg/texmf/scripts///:
/etc/texmf/scripts/luatex//:
/etc/texmf/scripts/context//:
/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:
!!/var/lib/texmf/scripts/context//:
!!/var/lib/texmf/scripts///:
!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:
!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:
!!/usr/share/texmf/scripts///:
!!/usr/share/texmf-texlive/scripts/luatex//:
!!/usr/share/texmf-texlive/scripts/context//:
!!/usr/share/texmf-texlive/scripts///

w...@gauss:~/  luatools --show-path tex
luatools --show-path tex
.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/plain//:
/home/weg/.texmf-config/tex/generic//:
/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/plain//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:
/home/weg/texmf/tex/plain//:
/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:
/etc/texmf/tex/context//:
/etc/texmf/tex/plain//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!
/var/lib/texmf/tex/context//:!!/var/lib/texmf/tex/plain//:
!!/var/lib/texmf/tex/generic//:!!/var/lib/texmf/tex///:
!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/plain//:
!!/usr/local/share/texmf/tex/generic//:
!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:
!!/usr/share/texmf/tex/plain//:
!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:
!!/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/plain//:
!!/usr/share/texmf-texlive/tex/generic//:
!!/usr/share/texmf-texlive/tex///


Eythan

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

2009-04-19 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sat, 18 Apr 2009 21:21:37 +0200

   Eythan Weg wrote:
   
Hi,
   
I tried this 
   
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
I think that this line in mtx-fonts.lua is the culprit:
 dofile(resolvers.find_file(font-syn.lua))
   
although this file:
font-syn.lua
   
exists.
   
Any hints
   
   it should just work ok
   
   did you run luatools --generate to make a file database?

Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  

shows nothing.

Eythan 

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

2009-04-19 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200

   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   
I tried this 
   
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
   
   did you run luatools --generate to make a file database?

Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  

Note that 

   luatools font-syn.lua  

shows nothing.
   
   I had this problem too. In my case it was an error in my texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua? 
   
   -- 
   Ulrike Fischer 

The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.

Eythan 

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

2009-04-19 Thread Eythan Weg

Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 18:02:45 +0200

   Am Sun, 19 Apr 2009 11:00:54 -0400 schrieb Eythan Weg:
   
  I had this problem too. In my case it was an error in my texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua? 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   What does 
kpsewhich --show-path=tex 
   return?

What does it has to do with lua files?

   -- 
   Ulrike Fischer 

Eythan 

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

2009-04-19 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Sun, 19 Apr 2009 18:15:34 +0200

   Eythan Weg wrote:
Ulrike Fischer ne...@nililand.de
Sun, 19 Apr 2009 15:57:05 +0200
   
   Am Sun, 19 Apr 2009 09:17:06 -0400 schrieb Eythan Weg:
   I tried this
  mtxrun --verbose --reload --script fonts
   
but it fails with:
   
  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua
   
  cannot open : No such file or directory
  did you run luatools --generate to make a file database?
Yes.  And I find no errors in doing so.  I have
no problems using context with the standard fonts
defined otf-type.tex.  Note that
luatools font-syn.lua  shows nothing.
  I had this problem too. In my case it was an error in my
texmf.cnf.
   What does kpsewhich --show-path=tex return? And where exactly is
   font-syn.lua?   -- 
   Ulrike Fischer 
   
The file is in the base directory of context.  In
fact luatools cannot find any *.lua that I tried
in the base directory.  Other files are ok.
   
   luatools --show-path tex
   
   luatools --show-path lua

This is only for the lua path (with line breaks introduced)

.:.:/home/weg/.texmf-config/tex/context//:
/home/weg/.texmf-config/tex/generic//:/home/weg/.texmf-config/tex///:
/home/weg/.texmf-var/tex/context//:
/home/weg/.texmf-var/tex/generic//:
/home/weg/.texmf-var/tex///:
/home/weg/texmf/tex/context//:/home/weg/texmf/tex/generic//:
/home/weg/texmf/tex///:/etc/texmf/tex/context//:
/etc/texmf/tex/generic//:
/etc/texmf/tex///:!!/var/lib/texmf/tex/context//:!!/var/lib/texmf/tex/generic//:
!!/var/lib/texmf/tex///:!!/usr/local/share/texmf/tex/context//:
!!/usr/local/share/texmf/tex/generic//:!!/usr/local/share/texmf/tex///:
!!/usr/share/texmf/tex/context//:!!/usr/share/texmf/tex/generic//:
!!/usr/share/texmf/tex///:!!/usr/share/texmf-texlive/tex/context//:
!!/usr/share/texmf-texlive/tex/generic//:!!/usr/share/texmf-texlive/tex///
:/home/weg/.texmf-config/scripts/luatex//:/home/weg/.texmf-config/scripts/context//
:/home/weg/.texmf-config/scripts///:/home/weg/.texmf-var/scripts/luatex//:
/home/weg/.texmf-var/scripts/context//:/home/weg/.texmf-var/scripts///:
/home/weg/texmf/scripts/luatex//:/home/weg/texmf/scripts/context//:
/home/weg/texmf/scripts///:/etc/texmf/scripts/luatex//:
/etc/texmf/scripts/context//:/etc/texmf/scripts///:
!!/var/lib/texmf/scripts/luatex//:!!/var/lib/texmf/scripts/context//
:!!/var/lib/texmf/scripts///:!!/usr/local/share/texmf/scripts/luatex//:
!!/usr/local/share/texmf/scripts/context//:
!!/usr/local/share/texmf/scripts///:!!/usr/share/texmf/scripts/luatex//:
!!/usr/share/texmf/scripts/context//:!!/usr/share/texmf/scripts///:
!!/usr/share/texmf-texlive/scripts/luatex//:
!!/usr/share/texmf-texlive/scripts/context//:!!/usr/share/texmf-texlive/scripts///

It contains:
!!/usr/local/share/texmf/scripts/context//
and 
!!/usr/local/share/texmf/tex/context//

And the lua scripts in the first directories are
found but not in the second. 

I miss something...


Eythan

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

2009-04-18 Thread Eythan Weg


Hi,

I tried this 

  mtxrun --verbose --reload --script fonts

but it fails with:

  MTXrun | using script: 
/usr/local/share/texmf/scripts/context/lua/mtx-fonts.lua

  cannot open : No such file or directory

I think that this line in mtx-fonts.lua is the culprit:
  
   dofile(resolvers.find_file(font-syn.lua))

although this file:
  
  font-syn.lua

exists.

Any hints

Thank you, 
Eythan

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

2009-04-17 Thread Eythan Weg

Taco Hoekwater t...@elvenkind.com
Fri, 17 Apr 2009 09:44:47 +0200

   Hans Hagen wrote:
Eythan Weg wrote:
   
Hi,
With the latest beta running under  luatex 0.39 I cannot
compile the simplest of files.  With 0.38 they run
fine. Also plain tex runs ok.
   
Here is where it stops:
   
local/share/texmf/tex/context/base/type-otf.tex \
(/usr/local/share/texmf/tex/context/base/type-otf.mkiv))\
(/usr/local/share/texmf/tex/context/base/type-otf.mkivMTXrun\
| fatal error, no return code, message: luatex: execution interrupted

looks like a crash
   
   Definately. More information is needed, like: what was that input file,
   where did you get your binary, and what is your operation system?
   
   Best wishes,
   Taco


I compiled luatex myself.  When it runs with
context plain version of the format it shows this
banner: 

   This is LuaTeX, Version snapshot-0.39.0-2009041518

Here is the config log for the compilation of
luatex.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by TeX Live configure 2009test-1.6, which was
generated by GNU Autoconf 2.63.  Invocation command line was

  $ ../source/configure --enable-cxx-runtime-hack --disable-afm2pl 
--disable-aleph --disable-bibtex --disable-bibtex8 --disable-cfftot1 
--disable-cjkutils --disable-detex --disable-devnag --disable-dialog 
--disable-dtl --enable-dump-share --disable-dvi2tty --disable-dvidvi 
--disable-dviljk --disable-dvipdfm --disable-dvipdfmx --disable-dvipos 
--disable-dvipsk --disable-gsftopk --disable-lacheck --disable-lcdf-typetools 
--disable-makeindexk --disable-mf --disable-mmafm --disable-mmpfb --disable-mp 
--disable-musixflx --disable-otfinfo --disable-otftotfm --disable-pdfopen 
--disable-pdftex --disable-ps2eps --disable-ps2pkm --disable-psutils 
--disable-seetexk --disable-t1dotlessj --disable-t1lint --disable-t1rawafm 
--disable-t1reencode --disable-t1testpage --disable-t1utils --disable-tex 
--disable-tex4htk --disable-tpic2pdftex --disable-ttf2pk --disable-ttfdump 
--disable-ttftotype42 --disable-vlna --disable-web-progs --disable-xdv2pdf 
--disable-xdvipdfmx --without-system-kpathsea --without-system-freetype2 
--without-system-gd --without-system-libpng --without-system-teckit 
--without-system-zlib --without-system-t1lib --disable-shared 
--disable-largefile

## - ##
## Platform. ##
## - ##

hostname = gauss
uname -m = x86_64
uname -r = 2.6.29-1-amd64
uname -s = Linux
uname -v = #1 SMP Sat Apr 4 16:54:07 UTC 2009

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /home/weg/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games


## --- ##
## Core tests. ##
## --- ##

configure:2193: checking build system type
configure:2211: result: x86_64-unknown-linux-gnu
configure:2233: checking host system type
configure:2248: result: x86_64-unknown-linux-gnu
configure:2322: Assuming `--enable-web2c=yes'
configure:2543: Using `kpathsea' headers and library from TL tree
configure:2659: Using `libpng' headers and library from TL tree
configure:2716: Using `zlib' headers and library from TL tree
configure:2744: checking for a BSD-compatible install
configure:2812: result: /usr/bin/install -c
configure:2823: checking whether build environment is sane
configure:2866: result: yes
configure:2891: checking for a thread-safe mkdir -p
configure:2930: result: /bin/mkdir -p
configure:2943: checking for gawk
configure:2959: found /usr/bin/gawk
configure:2970: result: gawk
configure:2981: checking whether make sets $(MAKE)
configure:3003: result: yes
configure:3058: checking for style of include used by make
configure:3086: result: GNU
configure:3156: checking for gcc
configure:3172: found /usr/bin/gcc
configure:3183: result: gcc
configure:3415: checking for C compiler version
configure:3423: gcc --version 5
gcc (Debian 4.3.2-1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3427: $? = 0
configure:3434: gcc -v 5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1' 
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release 
--build

Re: [NTG-context] new beta

2009-04-17 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Fri, 17 Apr 2009 16:22:38 +0200

   Eythan Weg wrote:
   
Hi, 
   
With the latest beta running under  luatex 0.39 I cannot
compile the simplest of files.  With 0.38 they run
fine. Also plain tex runs ok.
   
Here is where it stops:
   
local/share/texmf/tex/context/base/type-otf.tex \
(/usr/local/share/texmf/tex/context/base/type-otf.mkiv))\
(/usr/local/share/texmf/tex/context/base/type-otf.mkivMTXrun\
| fatal error, no return code, message: luatex: execution interrupted
   
   did you remake the formats? not all intermediate trunk versions get a
   new version number (say 0.38); there is some checking for the format
   but this assumes incremented numbers

I believe I did.
   
   normally context will regenerate the format automatically when it is
   updated but when you do the binary after that it assumes that nothing
   has changed
   
   so ... can you remake the formats with context --make

I have done this now (although originally I used
luatools --generate; luatools --compile cont-en)
but no change.  The same execution interrupted.

In an earlier message I have provided logs,
which may contain hints, (but I could not find any).
   
   (i tried this on one of the x64 machines after compilation and it
   solved the problem)
   
   Hans

Thanks, Eythan 

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

2009-04-17 Thread Eythan Weg

Taco Hoekwater t...@elvenkind.com
Fri, 17 Apr 2009 17:53:17 +0200

   Eythan Weg wrote:

In an earlier message I have provided logs,
which may contain hints, (but I could not find any).
   
   Neither can I. The situation is weird because you seem to be the
   only person (so far?) suffering from this problem.


Ok.  I had this definition in cont-sys.tex

\definefontfeature
[default] [default]
[protrusion=pure, expansion=quality, mode=node, script=latn,
 liga=yes]   

0.38 works with it and 0.39 does not.

Why the diff?
   
   Best wishes,
   Taco


Thank you.

Eythan 

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

2009-04-17 Thread Eythan Weg

Hans Hagen pra...@wxs.nl
Fri, 17 Apr 2009 18:48:11 +0200

   Eythan Weg wrote:
Taco Hoekwater t...@elvenkind.com
Fri, 17 Apr 2009 17:53:17 +0200
   
   Eythan Weg wrote:
In an earlier message I have provided logs,
which may contain hints, (but I could not find any).
  Neither can I. The situation is weird because you seem to be
the
   only person (so far?) suffering from this problem.
   
   
Ok.  I had this definition in cont-sys.tex
   
\definefontfeature
[default] [default]
[protrusion=pure, expansion=quality, mode=node, script=latn,
 liga=yes]   
   
0.38 works with it and 0.39 does not.
   
Why the diff?
   
   what font do you test?

No font in particular.  I thought that any
subsequent request for a  body font with this
default feature would be fulfilled this way.

   btw, such a patch is rather inefficient as it will expand nearly all
   fonts which might not be what you want

   and indeed it crashes
   
Thank you.  Eythan 

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

2009-04-17 Thread Eythan Weg

Taco Hoekwater t...@elvenkind.com
Fri, 17 Apr 2009 19:36:51 +0200

   Eythan Weg wrote:
   
Ok.  I had this definition in cont-sys.tex
   
\definefontfeature
[default] [default]
[protrusion=pure, expansion=quality, mode=node, script=latn,
 liga=yes]   
   
0.38 works with it and 0.39 does not.
   
Why the diff?
   
   Thanks, that solved it. It crashed because there is a new optimization
   in 0.39.0 that had a bug. Fix is in the luatex trunk now (#2313).

Yes, it works, but I still ponder Hans' remarks.
   
   Best wishes,
   Taco

Thanks, Eythan 


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

2009-04-16 Thread Eythan Weg


Hi, 

With the latest beta running under  luatex 0.39 I cannot
compile the simplest of files.  With 0.38 they run
fine. Also plain tex runs ok.

Here is where it stops:

local/share/texmf/tex/context/base/type-otf.tex \
(/usr/local/share/texmf/tex/context/base/type-otf.mkiv))\
(/usr/local/share/texmf/tex/context/base/type-otf.mkivMTXrun\
| fatal error, no return code, message: luatex: execution interrupted

Thanks, Eythan 



Hans Hagen pra...@wxs.nl
Thu, 16 Apr 2009 23:33:40 +0200

   Hi,
   
   I uploaded a beta matching luatex 0.39 (+ some fixes)
   
   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] new beta

2009-04-10 Thread Eythan Weg


Hi,

Compiled luatex 0.38 and tried today's  beta.

When I running 
   
  luatools --ini --compile cont-en

it end with this:  

   (/usr/local/share/texmf/tex/context/base/symb-nav.tex))
   ! LuaTeX error /usr/local/share/texmf/tex/context/base/luat-cnf.lua:99: bad 
argument #3 to 'format' (string expected, got nil)
   stack traceback:
[C]: in function 'format'
/usr/local/share/texmf/tex/context/base/luat-cnf.lua:99: in function 
'dumpstate'
main ctx instance:1: in main chunk.
   inserted text ...vironment.jobname...lui,501)}
 \showcontextbanner 
\produc...
   \dump -\the \everydump 
   \normaldump 
   l.343 \protect \errorstopmode \dump
   \endinput


Any hints here?

Thanks,  Eythan 



Hans Hagen pra...@wxs.nl
Fri, 10 Apr 2009 13:05:54 +0200

   Hi,
   
   I uploaded a new beta, one that needs luatex beta 0.38, which has just
   been released. The most important things:
   
   - some fixes in the new structure code
   - bookmarks are now supported in the new structure
   - otf math kerning is supported (neat)
   - some cleanup of lua code
   - the usual bug fixes
   
   as said ... you need luatex 0.38
   
   there will be a current when luatex 0.40 is available
   
   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] new beta

2009-04-10 Thread Eythan Weg

Wolfgang Schuster schuster.wolfg...@googlemail.com
Fri, 10 Apr 2009 15:18:43 +0200

   Am 10.04.2009 um 15:13 schrieb Eythan Weg:
   
   
   
Hi,
   
Compiled luatex 0.38 and tried today's  beta.
   
When I running
   
 luatools --ini --compile cont-en
   
it end with this:
   
[...]
   
Any hints here?
   
   luatools --selfupdate
   mtxrun --selfupdate
   
   the format is generated automatic when you process you document
   
   Wolfgang


Works well.  Thank you.

Eythan  

___
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] colored labels in mp

2009-03-27 Thread Eythan Weg


Hi, the following does not seem to use color.  Am
I missing something?  Never used this feature
before...

I use mkiv with luatex 0.36.

\startMPcode
draw  thelabel(btex RED  etex, (0,0))  withcolor blue;
\stopMPcode
\stoptext


Thanks, Eythan 


___
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] colored labels in mp

2009-03-27 Thread Eythan Weg

Wolfgang Schuster schuster.wolfg...@googlemail.com
Fri, 27 Mar 2009 13:45:42 +0100

   Am 27.03.2009 um 13:37 schrieb Eythan Weg:
   
Hi, the following does not seem to use color.  Am
I missing something?  Never used this feature
before...
   
I use mkiv with luatex 0.36.
   
\startMPcode
draw  thelabel(btex RED  etex, (0,0))  withcolor blue;
   
   label(\textext{\red RED},origin) ;
   
   Wolfgang
   
Basically, you moved it to TeX to do the coloring,
which is ok.

Now, draw thelabel(btex RED etex, (0,0)) scaled 2; works.  
In the same manner , I think,
withcolor should work.At least this is my
understanding of the manual.  But instead it is
silently ignored.  So my question is whether it 
is a bug or not. 

This may not be a context's  issue but a metapost's itself.

Thanks,  Eythan 


___
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] n\choose k

2009-03-25 Thread Eythan Weg


Hi,

In math display mode n choose k does not enlarge
parentheses.  This for mkiv beta of about March
18.

Eythan

   


___
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] \cap is not defined

2009-03-25 Thread Eythan Weg


Hi, 

Today I found that  
$A \cap $B results in:

! Undefined control sequence.
\normalcap -\dohandlemathtoken 
{cap}
l.3 $$A\cap
B$$

Thanks,  Eythan 


___
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] Value of Metapost variable as a label

2009-03-23 Thread Eythan Weg

Aditya Mahajan adit...@umich.edu
Sun, 22 Mar 2009 22:24:17 -0400 (EDT)

   On Mon, 23 Mar 2009, Mojca Miklavec wrote:
   
This however fails:
k:=2;
label.bot(textext($1\over  decimal k  $), (10,0)) ;
   
Try with \frac instead.
   
   Or prevent expansion of \over
   
   label.bot(textext($1\noexpand\over  decimal k  $), (10,0)) ;

Why \atop or \choose do not need \noexpand?
What is special about \over?   
   
   Aditya


Thanks,

Eythan 

___
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] Value of Metapost variable as a label

2009-03-22 Thread Eythan Weg

Curious Learn curiousle...@gmail.com
Sat, 21 Mar 2009 22:40:46 + (UTC)

   Aditya Mahajan adityam at umich.edu writes:
   

 For example, if I had to typeset (n_{1},n{2},...,n_{100}), how
 could I do that.

label.bot (textext($n_{  decimal i  }), ... ) ;

This however fails:
k:=2; 
label.bot(textext($1\over  decimal k  $), (10,0)) ; 

with this error:

6401a0e1a39f3ee04c60209dc5/formats/cont-en-metafun.mem
! Use of \dospecialabout doesn't match its definition.
l.1 \MPLIBsettext{415}{$1\dospecialabout 2
  $}
\processMPgraphic ...e \MPuserinclusions ;\!!es )}
  \global \settrue \METAFUNi...

___
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 questions about use of system ttf fonts

2008-03-01 Thread Eythan Weg

Hans Hagen [EMAIL PROTECTED]
Fri, 29 Feb 2008 18:09:19 +0100

   Eythan Weg wrote:
Hi,

I am trying to use truetype fonts with mkiv.

When loading a font given a full path name like
this:

\font\test=/usr/share/fonts/truetype/freefont/FreeSans.ttf at 12pt
   
   do you need to provide the full path?

It turns out that I do not.  But I thought it should work even when OSFONTDIR
is not defined. 
   
   why not set OSFONTDIR?
   
   OSFONTDIR=/usr/share/fonts/truetype/freefont//
   
   or so

Well, this type of definition fails with error error  
define font: font with name ... is not found

But this

OSFONTDIR=/usr/share/fonts/truetype/freefont

works.

Also this

OSFONTDIR=/usr/share/fonts/truetype/{freefont,ttf-dejavu}

but these do not:

OSFONTDIR=/usr/share/fonts/truetype/{freefont;ttf-dejavu}
OSFONTDIR=/usr/share/fonts/truetype/{freefont:ttf-dejavu}
OSFONTDIR=/usr/share/fonts/truetype/{freefont,ttf-dejavu}//

Also a definition that works in the shell, fails when appears only in
texmf.cnf  when TEXMFCNF is defined in the shell.

Luatex with plain format does read texmf.cnf and correctly interpret
all the above variations including 
OSFONTDIR=/usr/share/fonts/truetype//.

Thank you, eythan






___
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 questions about use of system ttf fonts

2008-03-01 Thread Eythan Weg

Wolfgang Schuster [EMAIL PROTECTED]
Fri, 29 Feb 2008 19:00:48 +0100

   Hi Eythan,
   
   i wrote a typescriptfile for the complete family, you try if it will
   work for you.
   
   For all toher interested people, you could download the fonts from the
   following page (scroll down to the section Downloading fonts): 
   http://www.gnu.org/software/freefont/
   
   Wolfgang
   


Thank you.  I admit though that I do not have an
inherent particular interest in Freefont.  I
have just tried to make the recognition of system
fonts working.  I happen to choose this one.

Probably will make use of the typescripts you have
written as a template for other fonts.

Thanks again, eythan


___
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 questions about use of system ttf fonts

2008-03-01 Thread Eythan Weg

Hans Hagen [EMAIL PROTECTED]
Fri, 29 Feb 2008 18:10:31 +0100

   Eythan Weg wrote:
   
What does context need to find the font?
   
   mtxrun --script font --reload
   
   will generate a font database which will provide access by name
   
   Hans

I created the table as suggested above and in the file names.tma appears a
line line like:

  [caliban]={ ttf, Caliban, Caliban.ttf,  false },

I thought one might use 

\font\test=caliban at 12pt

but this fails:  

 Font \test=caliban at 12pt not loadable: metric data not found or bad.


Now I remove the data base, and also the files 

   Caliban.tma
   Caliban.tmc

and define 

\font\test=Caliban at 12pt 

This works, provided that OSFONTDIR is well-defined in the shell.

Thank you.  eythan 


___
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 questions about use of system ttf fonts

2008-02-29 Thread Eythan Weg
Hi,

I am trying to use truetype fonts with mkiv.

When loading a font given a full path name like
this:

\font\test=/usr/share/fonts/truetype/freefont/FreeSans.ttf at 12pt
   
the log shows 

 report  load otf: loading: /usr/share/fonts/truetype/freefont//FreeSans.ttf
 report  load otf: enhance: before
 report  load otf: enhance: enrich
 report  load otf: enhance: registering tlig feature
 report  load otf: enhance: registering trep feature
 report  load otf: enhance: flatten
 report  load otf: flattening 'specifications' tables
 report  load otf: flattening 'anchor' tables
 report  load otf: flattening 'gpos' tables
 report  load otf: flattening 'gsub' tables
 report  load otf: enhance: analyze
 report  load otf: enhance: after
 report  load otf: replacing 'kerns' tables by 'mykerns' tables
 report  load otf: enhance: patch
 report  load otf: enhance: strip
 report  load otf: enhance: pack
 report  load otf: file size: 458648
 report  load otf: saving: in cache
 fonts  : resetting map file list
 {/usr/local/share/texmf/fonts/map/pdftex/context/original-empty.map}
 fonts  : using map file: original-base
 {/usr/local/share/texmf/fonts/map/pdftex/context/original-base.map}
 fonts  : using map file: lm-math
 {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}
 fonts  : using map file: lm-rm
 {/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}
 fonts  : using map file: original-ams-base
 {/usr/local/share/texmf/fonts/map/pdftex/context/original-ams-base.map}
 fonts  : using map file: original-ams-euler
 {/usr/local/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}
 fonts  : using map file: original-public-lm
 {/usr/local/share/texmf/fonts/map/pdftex/context/original-public-lm.map} [1.1]
 systems: end file 11 at line 24
  )
 !luaTeX error (file FreeSans.ttf): cannot open OpenType font file for reading
  == Fatal error occurred, no output PDF file produced!


How can I tell what's wrong?



Defining

\font\test=FreeSans.ttf at 12pt

results in 

 error  define font: font with name FreeSans is not found
 error  define font: name: FreeSans, loading aborted
 ! Font \test=FreeSans at 12pt not loadable: metric data not found or bad.

while using this construction with luatex's plain format seems to work
(I assume some definition to register the font).

What does context need to find the font?

Thanks,  Eythan 



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