Re: [NTG-context] mkiv goes beta

2007-08-07 Thread Hans Hagen
Peter Rolf wrote:
> Hans Hagen schrieb:
>> Hi,
>>
>> ConTeXt MKiV goes beta.
>>
> no big problems on windows. only
> 
> - texmfstart.exe is missing in the binaries

i noticed this, somehow there is/was a problem with the ruby to exe 
conversion

> - pdftex should be updated to 1.40.5

will happen in due time, i don;t generate binaries myself and have to 
fetch them -)

> - luatools.lua: (e)shell output needs a crlf after the last line (prompt
> is printed directly after the runtime output)

there is actually a

if environment.platform == "unix" then
 io.write("\n")
end


at the end of luatools

> - the default font sizes for latin modern differ in pdftex (t1) and
> luatex (otf); but I still haven't updated the texmf-subtree..

hm, i hav eto look into that

> i have tested one of my bigger docs and all worked fine. also luatex
> runs without any problems (after i changed all encodings from iso-latin
> to utf-8).

good to hear that

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

2007-08-07 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote:
>>> I must admit that I find this a bit frustrating. The tex-gyre font
>>> project looks so promising, but users need a simpler syntax to use
>>> the fonts (I know we want need this anymore with luatex, but it
>>> needs to be fixed anyway).
>> This type of patch to type-gyr.tex should help:
>>
>> -\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2
>> b,t2c,l7x]
>> +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t
>> 5,t2a,t2b,t2c,l7x]
>>
>> (you can't define a typeface for an undefined typescript).
>>
>> Hans doesn't like avantgarde, so for you adventor you will have
>> to create a completely new typescript, as it was never previously
>> defined in the core.
>>
>> Cheers,
>> Taco
> 
> 'type-gyr.tex' defines!!! adventor. But the encoding-script is wrong, 
> as Thomas has pointed out. 

Oops, I should study the files more before replying, sorry.

> I still have some questions:
> 
> - A complete (all gyre-fonts) type-script makes sense. Will 'type-
> gyr' be fixed, or should I create my own?

It should get fixed.

> - What are the map-files at the gyre-site for?

The xxx-hh zips you mean? these are absolete.

> - Is the second \loadmapfile entry above redundant?

I _think_ so, but am not completely sure.

> - What is the correct texfont syntax, to install adventors small-caps 
> variant?

I do not know, I am not even sure you should run texfont.

> - There are enc-files in the ??dvips?? subdirectory of the font tree:
> 
>  'fonts/enc/dvips/tex-gyre/q--sc.enc
> 
> Should I make use from these files? Will they be found there?

The enc files will (should) be found automatically by pdftex, even
if they are in the dvips folder. But this depends on the previous
question somehow.

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] mkiv goes beta

2007-08-07 Thread Hans Hagen
Arthur Reutenauer wrote:
>> maybe, just copy mtxrun.lua and luatools.lua to suffixless variants in 
>> the bin path, faster too
> 
>   Didn't help. Apparently the problem is the two files inputted at the
> beginning of mtx-fonts.lua (luat-log.lua and font-syn.lua); copying them
> in the current directory solves the problem with mtxrun, but whatever I
> try luatools doesn't find them.

hm, i have to look into that, maybe i use a wrong search method

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] mkiv goes beta

2007-08-07 Thread Taco Hoekwater
luigi scarso wrote:
> On 8/6/07, Hans Hagen <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> ConTeXt MKiV goes beta.
> 
> I believe that it's up, I had to make simbolic links of texlua and
> luatexlua just for sure to luatex, and i made some tests .

you can drop luatexlua again, it is not needed.

> I'm not able to compile luatexref-t:
> $>texmfstart texexec --luatex  --pdf --environments=luatexref-env.tex
> luatexref-t.tex
> I have
> ! TeX capacity exceeded, sorry [parameter stack size=6000].

Odd (to say the least), it runs fine here. Can you try with only
"texexec luatexref-t.tex"?

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] update mkiv

2007-08-07 Thread Hans Hagen
Hi,

I'm uploading an update. This fixes the missing texmfstart in the 
windows related zips. I also added format generation entries in the 
toolsmenu of scite. Because luatex runs from temp paths, you need to 
regenerate a format after updating.

I also extended ctxtools --update (not tested).

luatools and mtxrun now accept a --selfupdate flag that will replace the 
existing one in the bin path by the one in the script path


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] update mkiv

2007-08-07 Thread Roy Zuo
Hi Hans,

Thanks for the update. But the newer version of setuptex just does not
work for me. Commenting out all the "unset" sentences and it is fine
for me.

Roy

On 8/7/07, Hans Hagen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm uploading an update. This fixes the missing texmfstart in the
> windows related zips. I also added format generation entries in the
> toolsmenu of scite. Because luatex runs from temp paths, you need to
> regenerate a format after updating.
>
> I also extended ctxtools --update (not tested).
>
> luatools and mtxrun now accept a --selfupdate flag that will replace the
> existing one in the bin path by the one in the script path
>
>
> 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] OpenType in ConTeXt

2007-08-07 Thread Taco Hoekwater
Pascal de Bruijn wrote:
> On 8/6/07, Hans Hagen <[EMAIL PROTECTED]> wrote:
>>
>> well, i still use texfont for type 1 fonts, but for open type i use
>> luatex anyway which can handle it directly (actually, mkiv also uses afm
>> files instead of tfm when available, so texfont is not needed any more)
> 
> 
> How stable/reliable is LuaTeX for general use?

Well, "not at all" is the wisest answer I can give.

But I know for a fact that there are people out there (you know who
you are!) that  use luatex for production work already. As long as you
stick to the highlevel context interface, are not interested in the
archivability of documents and do not hit a showstopper bug, it is
somewhat ok to do that.

Luatex is an early beta. I am always happy to hear about bugs, but
it may take a while for them to get fixed (in the next beta), so
don't start anything time-critical in luatex that cannot easily
be handled in another way, just in case.

> Does LuaTeX already support OpenType things like
> SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

Yes. Best read the magazine has mentioned, and lookup
\definefontfeature.

   http://www.pragma-ade.com/general/magazines/mag-0012.pdf

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] OpenType in ConTeXt

2007-08-07 Thread Hans Hagen
Pascal de Bruijn wrote:
> On 8/6/07, *Hans Hagen* <[EMAIL PROTECTED] > wrote:
> 
> 
> well, i still use texfont for type 1 fonts, but for open type i use
> luatex anyway which can handle it directly (actually, mkiv also uses afm
> files instead of tfm when available, so texfont is not needed any more) 
> 
> 
> How stable/reliable is LuaTeX for general use?

good enough for me to start using it in projects (where i know what i 
need and not -)

> Does LuaTeX already support OpenType things like
> SmallCaps, Old Style Figures, Alternates, Ligatures, etc?

yes, yes, yes, yes, etc


-
   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] OpenType in ConTeXt

2007-08-07 Thread Patrick Gundlach
Hi,

> It is nice to have such scripts. But I would like to know what goes 
> on behind the scene. In principle one has to know all the steps to do 
> it by hand. 


Just use the great otftotfm by hand and you know what is missing. Then
try to read the source code of otfinstall and try to underst and what
the steps are.

Patrick
___
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] mkiv goes beta

2007-08-07 Thread Thomas A. Schmitz

On Aug 6, 2007, at 11:46 PM, Taco Hoekwater wrote:

> This is a known problem to me: the beta doesn't deal with horizontal
> lines in tables properly (any kind of \span actually, but the problem
> is most obvious in lines). FWIW, the svn trunk version should work
> properly.

Hi Taco,

please let me know if this isn't helpful or if I should take this off  
the list. Maybe you're interested: I checked out the svn trunk from  
svn://scm.foundry.supelec.fr/svn/luatex

This gives me

luatex --version
This is luaTeX, Version 3.141592-beta-0.10.1-2007072515

But I still get the same behavior.

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] mkiv goes beta

2007-08-07 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
> On Aug 6, 2007, at 11:46 PM, Taco Hoekwater wrote:
> 
>> This is a known problem to me: the beta doesn't deal with horizontal
>> lines in tables properly (any kind of \span actually, but the problem
>> is most obvious in lines). FWIW, the svn trunk version should work
>> properly.
> 
> Hi Taco,
> 
> please let me know if this isn't helpful or if I should take this off  
> the list. Maybe you're interested: I checked out the svn trunk from  
> svn://scm.foundry.supelec.fr/svn/luatex
> 
> This gives me

Impossible, because:

> luatex --version
> This is luaTeX, Version 3.141592-beta-0.10.1-2007072515

this binary was compiled on July 25, 3pm localtime.

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] Double integral and subscripts

2007-08-07 Thread Shen Chen
I am using "ConTeXt ver: 2007.01.12", and \iint is not defined even when
newmat is imported. Taco's tip worked.

As I tried on live.contextgarden.net, which is running the latest ConTeXt,
\iint\limits_{...} works as intended.

Thank you.


On 8/5/07 10:10 PM, "Aditya Mahajan" <[EMAIL PROTECTED]> wrote:

> On Sun, 5 Aug 2007, Taco Hoekwater wrote:
> 
>> Shen Chen wrote:
>>> Hi all,
>>> 
>>> I want to typeset double integral with subscript beneath the integral
>>> symbol.
>>> 
>>> I found [EMAIL PROTECTED] for double integral, and used the usual \limits in
>>> plain tex:
>>> [EMAIL PROTECTED] x \ge 0,\NR 0 \le y \le T\stopsubstack}
>> 
>> 
>>> The subscript did go below the integral, but the two integral symbols are
>>> separate from each other. Any tips? Thanks a lot!
>> 
>> $$
>> [EMAIL PROTECTED]
>> {\startsubstack x \ge 0,\NR 0 \le y \le \stopsubstack}
>> $$
>> 
>> (it should be possible to do this more elegant, though)
> 
> \iint\limits should work correctly. It is based on the same macro in
> amsmath.
> 
> If you always need \limits, I can provide an option for \displaylimits
> or \nolimits after int, iint, and iiint.
> 
> I did not know about [EMAIL PROTECTED], and it looks horrible
> (\int\!\!\!\int). This should be replaced by \iint and triint should
> be replaced by iiint.
> 
> 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
> __
> _

___
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] mkiv goes beta

2007-08-07 Thread Peter Rolf
Hans Hagen schrieb:
> Peter Rolf wrote:
>> Hans Hagen schrieb:
>>> Hi,
>>>
>>> ConTeXt MKiV goes beta.
>>>
>> no big problems on windows. only
>>
>> - texmfstart.exe is missing in the binaries
> 
> i noticed this, somehow there is/was a problem with the ruby to exe 
> conversion
> 
>> - pdftex should be updated to 1.40.5
> 
> will happen in due time, i don;t generate binaries myself and have to 
> fetch them -)
>
sigh, same here.
the binaries on Akira's site are up to date (only the label is wrong)

>> - luatools.lua: (e)shell output needs a crlf after the last line (prompt
>> is printed directly after the runtime output)
> 
> there is actually a
> 
> if environment.platform == "unix" then
>  io.write("\n")
> end
> 
> 
> at the end of luatools
>
the error only apears, when the runtime is shown.
e.g. 'luatools --variables' works

>> - the default font sizes for latin modern differ in pdftex (t1) and
>> luatex (otf); but I still haven't updated the texmf-subtree..
> 
> hm, i hav eto look into that
> 
>> i have tested one of my bigger docs and all worked fine. also luatex
>> runs without any problems (after i changed all encodings from iso-latin
>> to utf-8).
> 
> good to hear that
>
in the meantime i have checked (&changed) all my documents. no problems
so far. only one included example file ([..]\context\sample\sample.tex)
contains a problematic character (line 24)


283-–288 (September 1993) \NC \NR
^

for luatex. it is encoded in iso-latin-1 (emacs says so).

peter


> 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] mkiv goes beta

2007-08-07 Thread Arthur Reutenauer
> 283-–288 (September 1993) \NC \NR
> ^
> 
> for luatex. it is encoded in iso-latin-1 (emacs says so).

  What's in the file is byte 0x96 (vim is smarter than Emacs!).
Therefore it cannot be latin-1; I guess it's Windows-1252, which often
pretends to be latin-1. What you're displaying in the line above is
U+2013 EN DASH; it does indeed make sense.

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
___


[NTG-context] luatex and defaultscale

2007-08-07 Thread Peter Rolf
Only to make Taco happy ;)

donno if this an already known problem.

Peter


% - - - - - - - - - -
\startuniqueMPgraphic{foo}
%  defaultfont:="\truefontname{Sans}";
  defaultscale:=1.1;

  label("?",origin);

\stopuniqueMPgraphic

\starttext
\null

\uniqueMPgraphic{foo}

\stoptext
___
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] mkiv goes beta

2007-08-07 Thread Peter Rolf
Arthur Reutenauer schrieb:
>> 283-–288 (September 1993) \NC \NR
>> ^
>>
>> for luatex. it is encoded in iso-latin-1 (emacs says so).
> 
>   What's in the file is byte 0x96 (vim is smarter than Emacs!).

I was ignoring any other encoding than iso-latin-9 'til yesterday. So I
guess it's more my fault than one of emacs.
But maybe I should install vim here (only to test the encodings) ;)

> Therefore it cannot be latin-1; I guess it's Windows-1252, which often
> pretends to be latin-1. What you're displaying in the line above is
> U+2013 EN DASH; it does indeed make sense.
>
Thanks for the info (also to Tobias),

Peter

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

___
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] luatex and interaction

2007-08-07 Thread Peter Rolf
hi,

every peace of code with interactive elements gives me this error message


systems : begin file walkfield at line 5
(./walkfield.tuo)
javascript  : loading script set fld
(r:/tex/texmf-local/tex/context/base/java-fld.tex)
! Undefined control sequence.
\dopresetfieldsymbol #1->\checkobjectreferences
\doifobjectfoundelse
{SYM}{#...
\dosetupfield ...tfieldsymbol \@@DriverFieldValue
  \setbox \scratchbox
\hbox ...
\dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
  \iftrialtypesetting
\else ...

   \egroup
\globalcommacommand ...tackedfieldnumber ]\egroup
  \bgroup
\globalprocesscommaitem ...globalcommacommand {#1}
  \expandafter
\globalproces...
...
l.43 \smashedvbox{\fieldstack[sequence]}
%
?

every interactive element should produce this error, but i can also send
a test file.


best, 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] update mkiv

2007-08-07 Thread Aditya Mahajan
Quoting Hans Hagen <[EMAIL PROTECTED]>:

> Hi,
>
> I'm uploading an update.

Thank for MKIV. It looks pretty good. I am assuming that the speed 
issues will be sorted out by the time of the final release.

> This fixes the missing texmfstart in the
> windows related zips. I also added format generation entries in the
> toolsmenu of scite. Because luatex runs from temp paths, you need to
> regenerate a format after updating.

Something is broken at the garden. It says luatools not found. Luatex 
was working yesterday on the garden.

> I also extended ctxtools --update (not tested).

Some initial remarks.

* A newline is missing somewhere in luatools. I get

LuaTools | running command: luatex 
--fmt="D:/Profiles/fkb384/LOCALS~1/Temp/luate
x-cache/context/30023ed61c3aac84b97b84c266f644dc/formats/cont-en" 
--lua="D:/Prof
iles/fkb384/LOCALS~1/Temp/luatex-cache/context/30023ed61c3aac84b97b84c266f644dc/
formats/cont-en.lua" "test.tex"This is luaTeX, Version 
3.141592-beta-0.10.1-2007
080317 (Web2C 7.5.6)

There should be a \n after "test.tex"

Also

LuaTools | runtime: 54.791 secondsTeXUtil | parsing file test.tui

there should be a \n after seconds.

* There is something wrong with typescripts.

\definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
\setupbodyfont[mainface,11pt]

\starttext
\input tufte
\stoptext

gives me

   \relax \xxdododefinefont ...tspec 
{#4}\newfontidentifier  
\let \localrelativefontsiz...
\fontstrategy ...me \fontclass #2#3#4#5\endcsname   
\tryingfontfalse \fi  ...yle 
\fontalternative \fontsize  
 \fi \iftryingfont \fontstr...
\synchronizefont ...strategy \the \fontstrategies   
\relax \fi \iftryingfont \...
 \getvalue [EMAIL PROTECTED]@ \fontstyle }
   \edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[mainface,11pt]


The above code works fine with pdftex.

* I really like the new pretty printing module. The single quote 
correct displays correctly. And the state machine for pretty printing 
is much easier to understand in lua than it was in tex.

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] Double integral and subscripts

2007-08-07 Thread Aditya Mahajan
Quoting Shen Chen <[EMAIL PROTECTED]>:

> I am using "ConTeXt ver: 2007.01.12", and \iint is not defined even when
> newmat is imported. Taco's tip worked.

They were added pretty recently. You can either update your context, or 
if you do not want to do that, add the following in your environment 
file (copied from math-tex.tex).

%D More integrals (AM):

\def\dointkern{\mkern-6mu\mathchoice{\mkern-3mu}{}{}{}}

\definemathcommand [iint]   {\repeatintegral\plusone  }
\definemathcommand [iiint]  {\repeatintegral\plustwo  }
\definemathcommand [nt] {\repeatintegral\plusthree}

\def\repeatintegral#1%
  {\scratchtoks\emptytoks
   \let\dointlimits\nolimits
   \dorecurse{#1}{\appendtoks \intop \dointkern \to \scratchtoks}
   \appendtoks \intop \dointlimits \to \scratchtoks
   \edef\dodorepeatintegral{\the\scratchtoks}%
   \futurelet\next\dorepeatintegral}

%D If the \type{\limits} option is used after \type{\iint}, use
%D \type{\mathop} and fudge the left hand space a bit to make the
%D subscript visually centered.

\def\dorepeatintegral
   {\ifx\next\limits\dointlimitcorrection \else
\ifx\next\displaylimits \dointlimitcorrection \fi\fi
\dodorepeatintegral}

\def\dointlimitcorrection
  {\mkern-7mu\mathchoice{\mkern-2mu}{}{}{}%
   \mathop\bgroup
 \mkern7mu\mathchoice{\mkern2mu}{}{}{}%
 \let\dointlimits\egroup}


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] OpenType in ConTeXt

2007-08-07 Thread Hans van der Meer

On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:

>
>> Does LuaTeX already support OpenType things like
>> SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
>
> Yes. Best read the magazine has mentioned, and lookup
> \definefontfeature.
>
>http://www.pragma-ade.com/general/magazines/mag-0012.pdf
>

I seem not to be able to reach/allowed on this link.
Nor did I find it in the download/magazine section of the pragma site.
How do I get this?

Hans van der Meer


___
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] OpenType in ConTeXt

2007-08-07 Thread luigi scarso
> >http://www.pragma-ade.com/general/magazines/mag-0012.pdf
> >
>
> I seem not to be able to reach/allowed on this link.
> Nor did I find it in the download/magazine section of the pragma site.
> How do I get this?
it works for me;
try
http://context.aanhet.net/general/magazines/mag-0012.pdf

PS I have a pending  answer for you (error in textbackground with
metapost), just to say that I remember it
-- 
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
___
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] mkiv goes beta

2007-08-07 Thread Thomas A. Schmitz

On Aug 7, 2007, at 3:37 PM, Taco Hoekwater wrote:

> Impossible, because:
>
>> luatex --version
>> This is luaTeX, Version 3.141592-beta-0.10.1-2007072515
>
> this binary was compiled on July 25, 3pm localtime.
>
> Best wishes,
> Taco


Sorry, you're right, of course. svn version works as advertised.  
Sorry for the noise.

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] OpenType in ConTeXt

2007-08-07 Thread Pascal de Bruijn
On Mon, 2007-08-06 at 22:07 +0200, Patrick Gundlach wrote:
> Hi Pascal,
> 
> > I'll give otfinstall a shot tomorrow.
> 
> this is the oinst file for the adobe garamond premier I've used. There
> is no support for opticals yet. This is really a simple tool.
> 
> adobe_garamond_premier_pro.oinst:
> --
> vendor  "adobe"
> collection  "garamond"
> 
> # 'sans' or 'serif'
> fontclass   "serif"
> 
> # Allowed variants are 'default', 'osf'
> variants%w(default osf)
> 
> # Supported faces are 'regular' 'bold' 'italic' and 'bolditalic'
> regular "GaramondPremrPro.otf"
> bold"GaramondPremrPro-Bd.otf"
> italic  "GaramondPremrPro-It.otf"
> bolditalic  "GaramondPremrPro-BdIt.otf"
> --

I adjusted it to my own situation (AGaramondPro, not the Premier
version). And I ran it succesfully. However, I can't see where the files
have gone? Compiling my .tex file also doesn't change anything.

I declared this, maybe I went wrong here... I tried several different
font names:

\usetypescript[AGaramondPro][texnansi]
\setupbodyfont[AGaramondPro]

I also tried 'garamond', 'adobegaramondpro'.

Besides this I also noticed the script didn't support Semibold, which to
me is very essential. The Bold version of AGaramondPro doesn't have any
small caps, and Semibold just looks beter.

And if I understand the script correctly, the font in converted into
static versions supporting OsF and Sc, right? (Ruby isn't very readable,
when you're not a Ruby programmer).

Regards,
Pascal de Bruijn
-- 
http://blog.pcode.nl/
http://www.linkselente.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] update mkiv

2007-08-07 Thread Arthur Reutenauer
> Something is broken at the garden. It says luatools not found. Luatex 
> was working yesterday on the garden.

  Fixed.
___
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] update mkiv

2007-08-07 Thread Hans Hagen
Aditya Mahajan wrote:
> Quoting Hans Hagen <[EMAIL PROTECTED]>:
> 
>> Hi,
>>
>> I'm uploading an update.
> 
> Thank for MKIV. It looks pretty good. I am assuming that the speed 
> issues will be sorted out by the time of the final release.

party, but keep in mind that control has its price (esp with regards to 
fonts)

but we can gain some speed when traditional code is swapped by lua based 
code

> * A newline is missing somewhere in luatools. I get
> 
> LuaTools | running command: luatex 
> --fmt="D:/Profiles/fkb384/LOCALS~1/Temp/luate
> x-cache/context/30023ed61c3aac84b97b84c266f644dc/formats/cont-en" 
> --lua="D:/Prof
> iles/fkb384/LOCALS~1/Temp/luatex-cache/context/30023ed61c3aac84b97b84c266f644dc/
> formats/cont-en.lua" "test.tex"This is luaTeX, Version 
> 3.141592-beta-0.10.1-2007
> 080317 (Web2C 7.5.6)
> 
> There should be a \n after "test.tex"

some tricky interference between tex and lua (buffering) since the 
newline is there

> * There is something wrong with typescripts.
> 
> \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
> \setupbodyfont[mainface,11pt]
> 
> \starttext
> \input tufte
> \stoptext

hm, maybe a missing font ... we're open type gyre now

> * I really like the new pretty printing module. The single quote 
> correct displays correctly. And the state machine for pretty printing 
> is much easier to understand in lua than it was in tex.

but .. work in progress -)

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] OpenType in ConTeXt

2007-08-07 Thread Hans Hagen
Hans van der Meer wrote:
> On Aug 7, 2007, at 9:16, Taco Hoekwater wrote:
> 
>>> Does LuaTeX already support OpenType things like
>>> SmallCaps, Old Style Figures, Alternates, Ligatures, etc?
>> Yes. Best read the magazine has mentioned, and lookup
>> \definefontfeature.
>>
>>http://www.pragma-ade.com/general/magazines/mag-0012.pdf
>>
> 
> I seem not to be able to reach/allowed on this link.
> Nor did I find it in the download/magazine section of the pragma site.
> How do I get this?

it's really 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] luatex and interaction

2007-08-07 Thread Hans Hagen
Peter Rolf wrote:
> hi,
> 
> every peace of code with interactive elements gives me this error message
> 
> 
> systems : begin file walkfield at line 5
> (./walkfield.tuo)
> javascript  : loading script set fld
> (r:/tex/texmf-local/tex/context/base/java-fld.tex)
> ! Undefined control sequence.
> \dopresetfieldsymbol #1->\checkobjectreferences
> \doifobjectfoundelse
> {SYM}{#...
> \dosetupfield ...tfieldsymbol \@@DriverFieldValue
>   \setbox \scratchbox
> \hbox ...
> \dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
>   \iftrialtypesetting
> \else ...
> 
>\egroup
> \globalcommacommand ...tackedfieldnumber ]\egroup
>   \bgroup
> \globalprocesscommaitem ...globalcommacommand {#1}
>   \expandafter
> \globalproces...
> 
> l.43 \smashedvbox{\fieldstack[sequence]}
> %
> ?
> 
> every interactive element should produce this error, but i can also send
> a test file.


% engine=luatex

\starttext

\setupinteraction[state=start]

\chapter[first]{First}

test \in{chapter}[second]

\chapter[second]{Second}

test \in{chapter}[first]

\stoptext

works ok here; nothing was changed in that code

-
   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] update mkiv

2007-08-07 Thread Aditya Mahajan
Quoting Hans Hagen <[EMAIL PROTECTED]>:

> Aditya Mahajan wrote:

>> * There is something wrong with typescripts.
>>
>> \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
>> \setupbodyfont[mainface,11pt]
>>
>> \starttext
>> \input tufte
>> \stoptext
>
> hm, maybe a missing font ... we're open type gyre now

I am confused. I do not have open type version of charter. I thought 
that it was still possible to use traditional type 1 fonts with mkiv.

The above code also fails on the garden, which means that it will fail 
on traditional installations.

So, how do I use the free bitstream charter that ships with tex 
distributions? I am using the context standalone distribution and have 
afm version of charter (bchb8a.afm, bchbi8a.afm, bchr8a.afm, 
bhcri8a.afm) and the pfb versions of the same fonts. I do not have otf 
version of charter.


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] luatex and interaction

2007-08-07 Thread Peter Rolf
Hans Hagen schrieb:
> Peter Rolf wrote:
>> hi,
>>
>> every peace of code with interactive elements gives me this error message
>>
>>
>> systems : begin file walkfield at line 5
>> (./walkfield.tuo)
>> javascript  : loading script set fld
>> (r:/tex/texmf-local/tex/context/base/java-fld.tex)
>> ! Undefined control sequence.
>> \dopresetfieldsymbol #1->\checkobjectreferences
>> \doifobjectfoundelse
>> {SYM}{#...
>> \dosetupfield ...tfieldsymbol \@@DriverFieldValue
>>   \setbox \scratchbox
>> \hbox ...
>> \dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
>>   \iftrialtypesetting
>> \else ...
>> 
>>\egroup
>> \globalcommacommand ...tackedfieldnumber ]\egroup
>>   \bgroup
>> \globalprocesscommaitem ...globalcommacommand {#1}
>>   \expandafter
>> \globalproces...
>> 
>> l.43 \smashedvbox{\fieldstack[sequence]}
>> %
>> ?
>>
>> every interactive element should produce this error, but i can also send
>> a test file.
> 
> 
> % engine=luatex
> 
> \starttext
> 
> \setupinteraction[state=start]
> 
> \chapter[first]{First}
> 
> test \in{chapter}[second]
> 
> \chapter[second]{Second}
> 
> test \in{chapter}[first]
> 
> \stoptext
> 
> works ok here; nothing was changed in that code
>
same here. try the attached (old) example. works with pdftex, breaks
with luatex.

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

\setupoutput[pdftex]
\setupinteraction[state=start]
\setupcolors[state=start]

\starttext

\tracefieldstrue

\switchtobodyfont[96pt]

\def\FS#1{\framed[width=4cm,height=4cm,strut=no]{\red\bf#1}}%

\definesymbol [empty]   []

\definesymbol [one] [\FS{1}]
\definesymbol [two] [\FS{2}]
\definesymbol [three]   [\FS{3}]
\definesymbol [four][\FS{4}]
\definesymbol [five][\FS{5}]


\setupfield[interaction]
  [width=4cm,height=4cm,
%   frame=off,
   framecolor=blue,
   offset=none,% default offset causes different positioning of walk button and 
fieldstack
   clickin=JS(Walk_Field{sequence})]

\definefield[Walk][check][interaction][empty][empty]


\definefieldstack[sequence]
  [one,two,three,four,five]
  [frame=off,
   offset=none,% default offset causes different positioning of walk button and 
fieldstack
  ]


\defineproperty[interaction][layer][title=interaction, state=start]


\vbox{\normaloffinterlineskip
\smashedvbox{\fieldstack[sequence]}%
%
\startproperty[interaction]%
\field[Walk]
\stopproperty%
}

\blank[2cm]
\showfields

\stoptext
___
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] update mkiv

2007-08-07 Thread Hans Hagen
Aditya Mahajan wrote:
> Quoting Hans Hagen <[EMAIL PROTECTED]>:
> 
>> Aditya Mahajan wrote:
> 
>>> * There is something wrong with typescripts.
>>>
>>> \definetypeface[mainface][rm][serif][charter][default][encoding=texnansi]
>>> \setupbodyfont[mainface,11pt]
>>>
>>> \starttext
>>> \input tufte
>>> \stoptext
>> hm, maybe a missing font ... we're open type gyre now
> 
> I am confused. I do not have open type version of charter. I thought 
> that it was still possible to use traditional type 1 fonts with mkiv.

should work, but for the moment wait till luatex is fixed for indexing 
such fonts

btw, mkiv will not use the tfm files but the afm files

> So, how do I use the free bitstream charter that ships with tex 
> distributions? I am using the context standalone distribution and have 
> afm version of charter (bchb8a.afm, bchbi8a.afm, bchr8a.afm, 
> bhcri8a.afm) and the pfb versions of the same fonts. I do not have otf 
> version of charter.

well, in principle we no longer have font encodings, when the afm file 
is found, it will be used and > 256 chars are possible then



-
   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] OpenType in ConTeXt

2007-08-07 Thread Wolfgang Werners-Lucchini
> > It is nice to have such scripts. But I would like to know what
> > goes on behind the scene. In principle one has to know all the 
> > steps to do it by hand. 
> 
> Just use the great otftotfm by hand and you know what is missing.
> Then try to read the source code of otfinstall and try to underst 
> and what the steps are.
> 
> Patrick

The otftotfm documentation is exemplary!

I would like to volunteer to help writing such docs for texfont or
otfinstall. But it is very difficult to get the information. Not all 
of us are able to read sourcecode in perl and ruby and lua.

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] luatex and interaction

2007-08-07 Thread Hans Hagen
Peter Rolf wrote:
> Hans Hagen schrieb:
>> Peter Rolf wrote:
>>> hi,
>>>
>>> every peace of code with interactive elements gives me this error message
>>>
>>>
>>> systems : begin file walkfield at line 5
>>> (./walkfield.tuo)
>>> javascript  : loading script set fld
>>> (r:/tex/texmf-local/tex/context/base/java-fld.tex)
>>> ! Undefined control sequence.
>>> \dopresetfieldsymbol #1->\checkobjectreferences
>>> \doifobjectfoundelse
>>> {SYM}{#...
>>> \dosetupfield ...tfieldsymbol \@@DriverFieldValue
>>>   \setbox \scratchbox
>>> \hbox ...
>>> \dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
>>>   \iftrialtypesetting
>>> \else ...
>>> 
>>>\egroup
>>> \globalcommacommand ...tackedfieldnumber ]\egroup
>>>   \bgroup
>>> \globalprocesscommaitem ...globalcommacommand {#1}
>>>   \expandafter
>>> \globalproces...
>>> 
>>> l.43 \smashedvbox{\fieldstack[sequence]}
>>> %
>>> ?
>>>
>>> every interactive element should produce this error, but i can also send
>>> a test file.
>>
>> % engine=luatex
>>
>> \starttext
>>
>> \setupinteraction[state=start]
>>
>> \chapter[first]{First}
>>
>> test \in{chapter}[second]
>>
>> \chapter[second]{Second}
>>
>> test \in{chapter}[first]
>>
>> \stoptext
>>
>> works ok here; nothing was changed in that code
>>
> same here. try the attached (old) example. works with pdftex, breaks
> with luatex.

hm, i need a way more minimal example (tracing)

can be a bug in luatex too, there are some known things

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] OpenType in ConTeXt

2007-08-07 Thread Wolfgang Werners-Lucchini
> >> well, i still use texfont for type 1 fonts, but for open type i
> >> use luatex anyway which can handle it directly (actually, mkiv also
> >> usese afm files instead of tfm when available, so texfont is not 
> >> needed any more)
> > 
> > How stable/reliable is LuaTeX for general use?
> 
> Well, "not at all" is the wisest answer I can give.

Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

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] luatex and interaction

2007-08-07 Thread Peter Rolf
Hans Hagen schrieb:
> Peter Rolf wrote:
>> Hans Hagen schrieb:
>>> Peter Rolf wrote:
 hi,

 every peace of code with interactive elements gives me this error message


 systems : begin file walkfield at line 5
 (./walkfield.tuo)
 javascript  : loading script set fld
 (r:/tex/texmf-local/tex/context/base/java-fld.tex)
 ! Undefined control sequence.
 \dopresetfieldsymbol #1->\checkobjectreferences
 \doifobjectfoundelse
 {SYM}{#...
 \dosetupfield ...tfieldsymbol \@@DriverFieldValue
   \setbox \scratchbox
 \hbox ...
 \dofield ...abel ,\v!frame ,\v!horizontal ][][][]}
   \iftrialtypesetting
 \else ...
 
\egroup
 \globalcommacommand ...tackedfieldnumber ]\egroup
   \bgroup
 \globalprocesscommaitem ...globalcommacommand {#1}
   \expandafter
 \globalproces...
 
 l.43 \smashedvbox{\fieldstack[sequence]}
 %
 ?

 every interactive element should produce this error, but i can also send
 a test file.
>>> % engine=luatex
>>>
>>> \starttext
>>>
>>> \setupinteraction[state=start]
>>>
>>> \chapter[first]{First}
>>>
>>> test \in{chapter}[second]
>>>
>>> \chapter[second]{Second}
>>>
>>> test \in{chapter}[first]
>>>
>>> \stoptext
>>>
>>> works ok here; nothing was changed in that code
>>>
>> same here. try the attached (old) example. works with pdftex, breaks
>> with luatex.
> 
> hm, i need a way more minimal example (tracing)
>
ok, i will try to create a 'more minimal' example.

> can be a bug in luatex too, there are some known things
> 
> 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] OpenType in ConTeXt

2007-08-07 Thread Arthur Reutenauer
> Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

  And Mark III! That's what ConTeXt Live does

http://live.contextgarden.net/

  There are some configuration issues and I haven't solved them all,
but that's mostly because I'm waiting for the steam to disappear after
the explosion of updates since two days.

  In a couple of days I should have come up to a definitive solution and
I can document it on the site; I planned on doing that anyway.
___
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] Usage of \setupfootnotedefinition?

2007-08-07 Thread Matt Gushee
Thanks to Albrecht and Steffen for their quick and informative replies.

I guess \setupfootnotedefinition isn't what I am looking for. It seems 
to mainly be a way to customize the footnote *numbering*, right? What I 
wanted to try was to put footnotes in the margin. My text has a lot of 
footnotes, and a few of them are absurdly long (no, I didn't write the 
book); the conventional layout results at several points in truly 
abominable pages, so I thought I'd try something unconventional. Guess 
I'll have to do it some other way.

-- 
Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language : matt.gushee.net/rascl/ :
___
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] Splitting footnotes

2007-08-07 Thread Matt Gushee
Hello, folks--

I am trying to typeset a book that has many footnotes; most of them are 
of moderate length, but a few are terribly long[*]. I am trying to use 
\setupfootnotes[split=*], but so far haven't got good results. You see, 
there is only one footnote that really needs to be split across pages 
(it takes up about two-thirds of a page); if I use [split=tolerant], 
many footnotes get split, which I would like to avoid, but if I say 
[split=strict], the longest one does not get split. I have also tried 
numeric values, but that doesn't seem to do anything. So my 
questions/comments are:

  1. What does a numeric value represent, and what is the range of useful
 values? I first tried fairly small values like 1, 10, 25, thinking
 it was the number of lines, then thought it might be a tolerance
 value (as in \badness), and tried 1000 and 1. None of these
 numbers had any effect.

  2. It seems there is a very large gap between 'strict' and 'tolerant'.
 Might it not be a good idea to have four steps, e.g. 'verystrict',
 'strict', 'tolerant', and 'verytolerant'; or 'verystrict', 'strict',
 'medium', and 'tolerant'?


  [*] Of course, the ideal solution would be to edit or delete the overly
  long ones. However, I'm working with a well-known 19th century
  text. Thus, it's in the public domain and I can legally do
  whatever I want with it, but I don't feel it would be appropriate
  to make substantive alterations to the content.

-- 
Matt Gushee
: Bantam - lightweight file manager : matt.gushee.net/software/bantam/ :
: RASCL's A Simple Configuration Language : matt.gushee.net/rascl/ :
___
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] update of mswincontext.zip from 06-Aug-2007+installation and usage of xetex 0.997

2007-08-07 Thread Ardi
Hello all,

I have fetched mswincontext.zip from 06-Aug-2007. I would like to update it to 
the 
latest status of ConTeXt and then install the latest (dev.) version 0.997 of 
XeTeX
but I miss somehow the procedure on the context/xetex mailing list.
Can somebody help me?
Thanks and regards,

Ardi

   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.___
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] OpenType in ConTeXt

2007-08-07 Thread Taco Hoekwater
Wolfgang Werners-Lucchini wrote:
 well, i still use texfont for type 1 fonts, but for open type i
 use luatex anyway which can handle it directly (actually, mkiv also
 usese afm files instead of tfm when available, so texfont is not 
 needed any more)
>>> How stable/reliable is LuaTeX for general use?
>> Well, "not at all" is the wisest answer I can give.
> 
> Is it possible to run both (mkiv/LuaTeX and mkii/pdfTeX) in parallel?

Certainly. In the past year, I have been happy running all of these
at the same time:

texexec  | texexec --pdftex  % engine=pdftex
texexec --aleph  % engine=aleph
texexec --luatex % engine=luatex
texexec --xetex  % engine=xetex


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