Re: [NTG-context] bug? gap appears in columnset

2013-09-16 Thread Aditya Mahajan

On Mon, 16 Sep 2013, Lars Huttar wrote:


I was advised to report the bug back to this list, with an even more
minimized example.
Here it is below.
This bug occurs in both mkiv and mkii, in the latest versions (current
beta).

|\setupinterlinespace[line=12pt]

\definecolumnset[columnset1][n=2]
\setupcolumnset[columnset1][distance=5mm,balance=yes]

\starttext

\section{Introduction}
\startcolumnset[columnset1]
   \dorecurse {7} { \input knuth }
\stopcolumnset

\section{Bibliography}
\setupinterlinespace[line=9.3pt]
\startcolumnset[columnset1]
   \dorecurse {10} { \input knuth }
\stopcolumnset

\stoptext


Note the gap across both columns on p. 3, about 3/4 of the way down.
Any suggestions for a workaround would be appreciated.


Any particular reason you are using columnsets rather than \startcolumns 
or \startmixedcolumns. Columnsets are for specialized layout requirements, 
and in my experience, mixing columnsets with text that is not in 
columnsets is a bit tricky.


\startsetups normal
\setupinterlinespace[line=12pt]
\stopsetups

\startsetups tight
\setupinterlinespace[line=9.3pt]
\stopsetups
\setupmixedcolumns[distance=5mm, balance=yes]

\starttext
\section{Introduction}
\startmixedcolumns[setups=normal]
   \dorecurse {7} { \input knuth }
\stopmixedcolumns

\section{Bibliography}

\startmixedcolumns[setups=tight]
   \dorecurse {10} { \input knuth }
\stopmixedcolumns


Aditya (not sure why the interlinespacing is not working)


___
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] bug? gap appears in columnset

2013-09-16 Thread Lars Huttar
I was advised to report the bug back to this list, with an even more
minimized example.
Here it is below.
This bug occurs in both mkiv and mkii, in the latest versions (current
beta).

|\setupinterlinespace[line=12pt]

\definecolumnset[columnset1][n=2]
\setupcolumnset[columnset1][distance=5mm,balance=yes]

\starttext

\section{Introduction}
\startcolumnset[columnset1]
\dorecurse {7} { \input knuth } 
\stopcolumnset

\section{Bibliography}
\setupinterlinespace[line=9.3pt]
\startcolumnset[columnset1]
\dorecurse {10} { \input knuth }
\stopcolumnset

\stoptext


Note the gap across both columns on p. 3, about 3/4 of the way down.
Any suggestions for a workaround would be appreciated.

Lars

|

On 9/16/2013 2:29 PM, Lars Huttar wrote:
> FYI, I have posted this question on
> http://tex.stackexchange.com/questions/133586/bug-unwanted-gap-in-2nd-columnset
> Marco and phg were able to reproduce the problem, including in the
> latest versions.
> I don't plan to keep posting in both places, but wanted to leave a
> pointer from this thread to the other one.
>
> Regards,
> Lars
>
>

___
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] bug? gap appears in columnset

2013-09-16 Thread Lars Huttar
FYI, I have posted this question on
http://tex.stackexchange.com/questions/133586/bug-unwanted-gap-in-2nd-columnset
Marco and phg were able to reproduce the problem, including in the
latest versions.
I don't plan to keep posting in both places, but wanted to leave a
pointer from this thread to the other one.

Regards,
Lars

On 9/13/2013 4:07 PM, Lars Huttar wrote:
>> Hello,
>> We have a document where a gap occurs in a columnset under certain
>> conditions.
>>

___
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] Bug in maths prime (derivative)

2013-09-16 Thread Otared Kavian
Hi Hans,

I noticed that recently a discrepancy in the way the prime is positioned in the 
presence of an index as in $f'_n$ or $f_n'$ (please see the attached PDF). 
However the positioning is correct in expressions such as $u^k_n$.
The problem shows up only in mkiv, and as far as I can say the differnece 
between the results in mkii and mkiv appeared recently (unfortunately I can't 
say when…).

 begin minimal-example.tex
\starttext
\startbuffer[math]
If for $n \geq 1$ we consider $f_{n} : {\Bbb R} \longrightarrow {\Bbb R}$ a 
real valued function, and $u_{n} : {\Bbb Z} \longrightarrow {\Bbb Z}$ then we 
denote
\startformula
f'_{n}(x) := \lim_{h\to 0}{f_{n}(x + h) - f_{n}(x) \over 
h}\qquad\mbox{and}\quad u^k_{n} := u_{n}(k)
\stopformula
\stopbuffer

\getbuffer[math]

\switchtobodyfont[times]
\getbuffer[math]

\switchtobodyfont[palatino]
\getbuffer[math]

\stoptext
 end  minimal-example.tex


bug-prime.pdf
Description: Adobe PDF document
___
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] mtxrun --script server help broken

2013-09-16 Thread Thomas A. Schmitz

On 09/16/2013 10:38 AM, Hans Hagen wrote:

weird .. can you put some prints in mtx-server-ctx-help.lua and see if
it is loaded? it works okay here


Wait: is the last line a hint, at the beginning of the start?

mtxrun --script server --auto

mtx-server  | running at port: 31415
mtx-server  | document root: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua

mtx-server  | main index file: unknown

___
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] mtxrun --script server help broken

2013-09-16 Thread Thomas A. Schmitz

On 09/16/2013 10:38 AM, Hans Hagen wrote:

weird .. can you put some prints in mtx-server-ctx-help.lua and see if
it is loaded? it works okay here


Hmm, no, it looks like it isn't loaded at all, I put a print statement 
in and don't see anything on the console.

___
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] mtxrun --script server help broken

2013-09-16 Thread Hans Hagen

On 9/16/2013 10:26 AM, Thomas A. Schmitz wrote:

On 09/16/2013 09:31 AM, Hans Hagen wrote:

mtxrun --script server --auto

and then go to the reported url should work

the --auto makes the server resolve its document root


The error I reported occurs with --auto; while
mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an
error:

mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-help.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-help.lua
mtx-server  | requested action: /mtx-server-ctx-help.lua
mtx-server  | performing action: /mtx-server-ctx-help.lua
mtx-server  | locating script:
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua

mtx-server  | loading script:
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua

mtx-server  | return type: nil
mtx-server  | handling error 404: Not Found


weird .. can you put some prints in mtx-server-ctx-help.lua and see if 
it is loaded? it works okay here



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mtxrun --script server help broken

2013-09-16 Thread Thomas A. Schmitz

On 09/16/2013 09:31 AM, Hans Hagen wrote:

mtxrun --script server --auto

and then go to the reported url should work

the --auto makes the server resolve its document root


The error I reported occurs with --auto; while 
mtx-server-ctx-fonttest.lua runs OK, mtx-server-ctx-help.lua throws an 
error:


mtx-server  | request from: 127.0.0.1
mtx-server  | request data: GET /mtx-server-ctx-help.lua HTTP/1.1
mtx-server  | requested url: /mtx-server-ctx-help.lua
mtx-server  | requested action: /mtx-server-ctx-help.lua
mtx-server  | performing action: /mtx-server-ctx-help.lua
mtx-server  | locating script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua
mtx-server  | loading script: 
/mnt/shared/context/tex/texmf-context/scripts/context/lua/mtx-server-ctx-help.lua

mtx-server  | return type: nil
mtx-server  | handling error 404: Not Found

___
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] mtxrun --script server help broken

2013-09-16 Thread Hans Hagen

On 9/15/2013 8:09 PM, Thomas A. Schmitz wrote:

This still isn't working, AFAICS.

On 07/03/2013 07:02 PM, Thomas A. Schmitz wrote:

Hi,

was trying to use the help server this morning while I was offline, and
it doesn't work, AFAICS. Here's the 
error:


mtxrun --script server --auto

and then go to the reported url should work

the --auto makes the server resolve its document root


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___