[NTG-context] index and interaction

2009-09-09 Thread Bernd Militzer

Hi all!

using

pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.9.7  int: english/english
or
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.9.7  int: english/english

the following code does not work like accepted:

% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\starttext
\input tufte
\index[one]{one}\index[two]{two}\index[last]{last}
%
\page
\placeindex[alternative=A]
\stoptext
% --- snip

The index is OK, but no interaction are possible !

zur Seite(null)

What is wrong?


Bernd



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

2009-09-09 Thread Willi Egger

Hi,

Bernds example does also not allow jumping back to page one in the  
ConTeXt version of 2009-08-30.


Willi
On Sep 9, 2009, at 8:21 AM, Bernd Militzer wrote:


Hi all!

using

pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2009.9.7  int: english/ 
english

or
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.08.19 17:10 MKIV  fmt: 2009.9.7  int: english/ 
english


the following code does not work like accepted:

% --- snip
\setupcolors[state=start]
\setupinteraction[state=start]
%
\starttext
\input tufte
\index[one]{one}\index[two]{two}\index[last]{last}
%
\page
\placeindex[alternative=A]
\stoptext
% --- snip

The index is OK, but no interaction are possible !

zur Seite(null)

What is wrong?


Bernd



__ 
_
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] References in MKIV and bib module

2009-09-09 Thread Jean Magnan de Bornier
Le 09 septembre à 00:07:50 Hans Hagen pra...@wxs.nl écrit notamment:

| Jean Magnan de Bornier wrote:
|  Le 05 septembre à 11:23:44 Mojca Miklavec mojca.miklavec.li...@gmail.com 
écrit notamment:
| 
|  | The bib module almost works (Hans and Taco - thanks a lot!).
| 
|  Here is how it works for me:
| 
|  texexec --xtx myfile: creates and populates myfile.bbl, and bib works ok
| 
|  Then,
| 
|  context myfile: myfile.bbl is still there but is now **empty**!!
|  And no more references...
| 
|  :-(
| 
|  This is LuaTeX, Version beta-0.43.0-2009081914

| hard to test ... anyway, Thomas Schmitz is coordinating the bib tests
| so best coordinate with him


Here are two small files:
bbaa.tex
...
\usemodule[bib]

\setupbibtex [database=/home/jean/bbaa]
\setuppublications[sorttype=bbl]
\starttext

\cite[aj]

\completepublications[criterium=all]
\stoptext


and bbaa.bib


@article{aj,
   author= {H. Averch and L. Johnson},
   title = {Behavior of the Firm under Regulatory Constraint},
   journal   = {American Economic Review},
   year  = {1962},
   volume= {52}
}
.

With texexec I get what is expected, not with context (producing an empty
bbl file).

With texexec I have these lines in the .blg file:

Database file #1: /home/jean/bbaa.bib
You've used 1 entry,
2181 wiz_defined-function locations,
499 strings with 3613 characters,
and the built_in function-call counts, 436 in all, are:  

Whereas with context:

I found no \citation commands---while reading file bbaa.aux
I found no \bibdata command---while reading file bbaa.aux
I found no \bibstyle command---while reading file bbaa.aux

tia,
-- 
Jean
___
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] Bug with tilde in URL

2009-09-09 Thread luigi scarso
On Tue, Sep 8, 2009 at 10:30 PM, Aditya Mahajanadit...@umich.edu wrote:
 Hi,

 When using tilde in a url, it gets converted to a space.

 \useURL[test][http://somewhere/~something]


 \starttext \from[test] \stoptext

temp. workaround
\useURL[test][http://somewhere/\lettertilde something]
\starttext \from[test] \stoptext

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Urgent: Strange index problems

2009-09-09 Thread Taco Hoekwater

Hi Xan,

I forwarded your 'complete' document to myself but count not
run it at all (my pgf is too old, I guess). At a guess, and
especially because you said it is urgent, you could try this
for the offending \index entry:

\index
   [amplada+mitjana respecte de k+1 valors]
   {amplada+mitjan respecte de \mathematics{k+1} valors}


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] \tfa or \bfa etc. doesn't work in math mode

2009-09-09 Thread Hans Hagen

Khaled Hosny wrote:

On Wed, Sep 09, 2009 at 12:34:46AM +0200, Hans Hagen wrote:

Khaled Hosny wrote:

The following example, when process with mkiv, will result in math
italic in the first two examples, where it should be roman and roman
bold.

\starttext
$\bfb Hello World$ % doesn't work

$\tfb Hello World$ % doesn't work too

$\tf Hello World$ % fine

$\bf Hello World$ % fine
\stoptext
i'm bot that convinced that \bfb should work in math mode; normally one  
sets the size elsewhere (style=...); also, bold math (in titles and  
such) is kind for special anyway as bold has meaning in math


It does work with MkII, so I thought it should work for MkIV too.


mkii is more driven by the original set of cm/lm fonts, while mkiv is 
driven by unicode math


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

2009-09-09 Thread Hans Hagen

Bernd Militzer wrote:


The index is OK, but no interaction are possible !


fixed in next beta

-
  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] Bug with tilde in URL

2009-09-09 Thread Hans Hagen

Aditya Mahajan wrote:

Hi,

When using tilde in a url, it gets converted to a space.

\useURL[test][http://somewhere/~something]

\starttext \from[test] \stoptext


fixed in next beta (also breaking over lines)

-
  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] metapost-pdf problem

2009-09-09 Thread Hans Hagen

Jean Magnan de Bornier wrote:


** mkiv output:
ERROR: Leaders not followed by proper glue.


probably fixed in latest beta

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] new beta

2009-09-09 Thread Hans Hagen

Hi,

I uploaded a new beta

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] Errors on making lua documentation

2009-09-09 Thread luigi scarso
On Tue, Sep 8, 2009 at 9:36 AM, luigi scarsoluigi.sca...@gmail.com wrote:
 On Tue, Sep 8, 2009 at 9:29 AM, Hans Hagenpra...@wxs.nl wrote:
 luigi scarso wrote:

 Any hints ?

 i have it fixed but before i upload i want to fix a few other things as well

It seems fixed, but I've run only few examples, so next days I will be
more precise .


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2009-09-09 Thread Chen Shen
Hi,
There seems to be a new problem with mathalign, as in the minimal sample
below:
Thanks a lot.

%
\starttext
\startformula
\startalign
  \NC a \NC = b + c \NR
\stopalign
\stopformula
\stoptext
%

Version:
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.09 12:49 MKIV  fmt: 2009.9.9  int: english/english

Error message:
! Improper \halign inside $$'s.
\dobothaligneqalignno ...group }\fi \fi #1\halign
  \ifcase \eqalignmode \or
t...
to be read again
   \NC
l.4   \NC
  a \NC = b + c \NR


shenchen


On Wed, Sep 9, 2009 at 8:03 PM, Hans Hagen pra...@wxs.nl wrote:

 Hi,

 I uploaded a new beta

 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-09-09 Thread Aditya Mahajan

On Wed, 9 Sep 2009, Chen Shen wrote:


Hi,
There seems to be a new problem with mathalign, as in the minimal sample
below:
Thanks a lot.

%
\starttext
\startformula
\startalign
 \NC a \NC = b + c \NR
\stopalign
\stopformula
\stoptext
%

Version:
This is LuaTeX, Version beta-0.43.0-2009081911
ConTeXt  ver: 2009.09.09 12:49 MKIV  fmt: 2009.9.9  int: english/english

Error message:
! Improper \halign inside $$'s.
\dobothaligneqalignno ...group }\fi \fi #1\halign
 \ifcase \eqalignmode \or
t...
to be read again
  \NC
l.4   \NC
 a \NC = b + c \NR



Seems to be an engine problem:

\starttext
$$ \halign{# \cr a \cr b \cr} $$
\stoptext

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
___


[NTG-context] singlesided/doublesided

2009-09-09 Thread Wolfgang Schuster

Hi Hans,

why had you made the decision to change between single- and doublesided
documents with the \setupagenumbering command and not with \setuplayout
where one yould expect such a setup?

I think the following quote from Steffen Wolfrum answers my question:

Sometimes ConTeXt's syntax looks kind of female to me:
It certainly has an inner logic, but this is far more ... rich  
and varied as my single-minded, male structured mind would expect -)


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] mkIV framedcontent not working

2009-09-09 Thread Hans Hagen

Thomas Floeren wrote:

Hi,

\stopframedcontent gives an undefined control sequence in mkIV. mkII is ok.

Any ideas?


start with making a small example that shows the problem


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