Re: [NTG-context] context/luatex on amd64

2007-09-05 Thread zs


   The garden uses Debian. And file tells me the luatex binary is
 actually 32-bit, although I wonder how this can be possible.

Problem is on 64bit gentoo. On a 32bit (at home) it works.


   What is your error message exactly?
 
Commands

luatools --ini --compile --verbose cont-en

and

texmfstart texexec --make --all --luatex

do not produce error message at all.


But

texmfstart texexec --luatex something.tex

ends with:

This is luaTeX, Version 3.141592-beta-0.11.0-2007082309 (Web2C 7.5.6)
luatex: 
/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.fmt:
No such file or directory LuaTools | running command: luatex
--fmt=/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en
--lua=/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.luc
something.tex







___
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] context/luatex on amd64

2007-09-05 Thread zs
On Tue, 4 Sep 2007 22:28:03 +0200 (CEST)
Peter Münster [EMAIL PROTECTED] wrote:

 In the meantime, you could just replace the executable with the i586


I've tried precompiled binaries. They either do not run at all or behave 
identically.

ZS
___
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] texgyre

2007-09-05 Thread Hans Hagen
Hi all,

The TG Cursor fonts files are ready for download from the TG site:

http://www.gust.org.pl/projects/e-foundry/tex-gyr


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] texgyre

2007-09-05 Thread Andrea Valle

(Doesn't work here the url)
Best

-a-

On 5 Sep 2007, at 13:32, Hans Hagen wrote:


Hi all,

The TG Cursor fonts files are ready for download from the TG site:

http://www.gust.org.pl/projects/e-foundry/tex-gyr


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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

2007-09-05 Thread Hans Hagen
Andrea Valle wrote:
 (Doesn't work here the url)

append an e

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] context/luatex on amd64

2007-09-05 Thread Peter Münster
On Wed, 5 Sep 2007, zs wrote:

  In the meantime, you could just replace the executable with the i586
 
 I've tried precompiled binaries. They either do not run at all or behave
 identically.

You mean, format generation does not work with i586 binary neither?

Strange, then it seems that you encounter another problem than the
luatex Segmentation fault mentioned 3 weeks ago here on this list...

No problem here (also linux-amd64) with default installation from
http://pmrb.free.fr/texlive/ and replacement of luatex binary afterwards.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
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] mkiv and xml

2007-09-05 Thread Hans Hagen
Hi,

I uploaded a new beta which may be of interest to xml lovers.

The current (mkii) XML handler is based on hooking code into active  
characters. This works ok but has limitations.

In MKIV we will have an alternative method which has a few advantages:

= you have access to arbitrary elements using a subset of xpath
= you can attach fully expandable hooks to elements, using 'setups'
= for manu cases xml processing is faster (no need for definitions and 
save/flush)
= with lua as programming environemnt rather tricky manipulations are 
possible

The downside of this method is

= loading a document eats a bit of memory

Think of this:

First we load a file (pretty fast btw given that the whole tree is built 
in memory in such a way that it can also be flushed as-is)

\xmlload{main}{cont-en.xml}{}

We hook a specific setup into one of the elements

\xmlgrab{main}{cd:command}{cd-demo}

This setup is (here #1 represents the current node):

\startxmlsetups cd-demo
\NC \xmlatt{#1}{name} \NC \xmlatt{#1}{file} \NC \NR
\stopxmlsetups

Now we can say:

\starttabulate[|l|l|]
\NC command \NC file \NC \NR
\xmlall{main}{//cd:command}
\stoptabulate

This gives us a two column table

There is a truckload of (to be documented) commands, for instance one 
can filter wlements with:

first \xmlfilter{main}{cd:command/first()} \blank[2*big]
last  \xmlfilter{main}{cd:command/last()}  \blank[2*big]

first \xmlfirst{main}{cd:command} \blank[2*big]
last  \xmllast {main}{cd:command} \blank[2*big]

You can flush whole (sub)trees, access elements by index, etc

A variant of the table builder (without the need for adding hooks) is

\startxmlsetups cd-demo
\NC \xmlatt{#1}{name} \NC \xmlatt{#1}{file} \NC \NR
\stopxmlsetups

\starttabulate[|l|l|]
\NC command \NC file \NC \NR
\xmlcommand{main}{//cd:command}{cd-demo}
\stoptabulate

Or:

\startxmlsetups another-demo
\NC \xmlatt{#1}{name} \NC \xmlatt{#1}{file} \NC \NR
\stopxmlsetups

\starttabulate[|l|l|]
\NC command \NC file \NC \NR
\xmlfilter{main}{//cd:command/command('another-demo')}
\stoptabulate

I reimplemented the presentation mml module (partially) using this 
mechanism.

The regular definitions still work but processing a file is done 
differently:

\xmlprocess{id}{filename}{optional initiaization setup}

It probably takes a while to get accustomed to this, but this mixture of 
stream and tree handling of xml files looks promising.

The current functionality is still experimental and details may change 
but the base is there.


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] texgyre

2007-09-05 Thread Kumar Appaiah
On Wed, Sep 05, 2007 at 01:48:55PM +0200, Andrea Valle wrote:
 (Doesn't work here the url)

http://www.gust.org.pl/projects/e-foundry/tex-gyre works.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
___
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] context/luatex on amd64

2007-09-05 Thread Arthur Reutenauer
 texmfstart texexec --make --all --luatex
 
 do not produce error message at all.

  This does not indicate that all the format files have been compiled.
Are there where luatools looks for them?
(/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.fmt)
If not, can you send the exact output of texexec --luatex --make --all (maybe by
private mail)? If yes, this is extremely weird.

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] context/luatex on amd64

2007-09-05 Thread Taco Hoekwater
Arthur Reutenauer wrote:
 texmfstart texexec --make --all --luatex

 do not produce error message at all.
 
   This does not indicate that all the format files have been compiled.
 Are there where luatools looks for them?
 (/tmp/luatex-cache/context/2bee42bddafb2afd5c3c1eaea23baaa5/formats/cont-en.fmt)
 If not, can you send the exact output of texexec --luatex --make --all (maybe 
 by
 private mail)? If yes, this is extremely weird.

There was a bug in the binary that crashed the executable depending on
the memory load location, so it is no sutprise that different machines
gave different results. The current SVN trunk should have a fixed the
problem.

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
___


[NTG-context] xetex and external pdf stretching

2007-09-05 Thread Andrea Valle

Hi,

I'm experimenting with xetex as suggested. All ok up to know.
But I'm having a strange problem with figures.
Typically I create my diagrams with Omnigraffle, export them in pdf  
(default setting) and reimport them in ConTeXt. Always fine.


Using texexec --xtx I'm having a strange scale in vertical dimension,  
i.e. the figure is vertically stretched. The figure is ok, because  
the problem does not arise when I omit the -xtx flag.


The code I'm using is trivial

\placefigure{{\em Semiotiche}: produzione, distribuzione e accesso.}
{\externalfigure[pipeline][width=\textwidth]}


No stretching using a png instead of a pdf

\placefigure{{\em Semiotiche}: produzione, distribuzione e accesso.}
{\externalfigure[pipeline][width=\textwidth]}

I guess it could it be in some way related to fonts (the fig is a a  
diagram labelled with text)?


Many thanks

Best

-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)



--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




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

2007-09-05 Thread Idris Samawi Hamid
On Wed, 05 Sep 2007 05:32:46 -0600, Hans Hagen [EMAIL PROTECTED] wrote:

 Hi all,

 The TG Cursor fonts files are ready for download from the TG site:

 http://www.gust.org.pl/projects/e-foundry/tex-gyr

Are the other gyre fonts (otf's) in the distribution yet?

:-)

Best
Idris

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

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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

2007-09-05 Thread Hans Hagen
Idris Samawi Hamid wrote:
 On Wed, 05 Sep 2007 05:32:46 -0600, Hans Hagen [EMAIL PROTECTED] wrote:
 
 Hi all,

 The TG Cursor fonts files are ready for download from the TG site:

 http://www.gust.org.pl/projects/e-foundry/tex-gyr
 
 Are the other gyre fonts (otf's) in the distribution yet?

support files are, but i didn't update the minimals



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