Re: [NTG-context] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Hans Hagen

On 26-1-2011 6:43, Vnpenguin wrote:

Hi,
The file context-setup-mswin.zip has 23M size at
http://minimals.contextgarden.net/setup/. Here are files inside of
this ZIP:
===
|-- bin
|-- context
|   |-- context
|   |   |-- context
|   |   |   `-- first-setup.bat
|   |   `-- first-setup.bat
|   |-- first-setup.bat
|   `-- mswin
|   |-- bin
|   `-- first-setup.bat
|-- first-setup.bat


Could you tell me why these files were doubled many times ?


probably because the minimals were installed several times using the 
same root but a different subpath


-
  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] new beta

2011-01-26 Thread Hans Hagen

On 26-1-2011 8:50, Alan BRASLAU wrote:

On Tuesday 18 January 2011 20:13:36 Renaud AUBIN wrote:

Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}

Please type another input file name:
! Emergency stop.
to be read again
\relax
l.42 \loadmarkfile{catc-ini}



There appears to be a problem (for quite some time, not just for the current
beta) of the robustness of \loadmarkfile{}. Indeed, quite often, the conditions
under which this occurs is not clear to me, but almost systematically,
updating the minimals gives such errors. The update succeeds by entering the
full path, such as
/usr/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv
and repeating the whole path many times, for all instances of unfound markfiles
(under X11, right-click is your friend)!

It is strange, as the update process finds the other files perfectly well, and
is really annoying.


it is probably a side effect of files being renamed, i.e. the new name 
is mkiv while the old one is tex; in that case the file database has to 
be rebuild (using mtxrun --generate); it can also happen when there are 
new files added


so, the main question is: why isn't mtxrun --generate run?

Hans

-
  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] new beta

2011-01-26 Thread Hans Hagen

On 25-1-2011 9:18, Marco Pessotto wrote:

Hans Hagenpra...@wxs.nl  writes:


- If you are adventurous you can add the following to cont-new.mkiv

\enablemode[*nofonts]

This will postpone font loading and will be default soon. This saves
runtime when you use another font than latin modern. When no font is
loaded before the first \starttext, modern will kick in. A side effect
is that any text typeset before \starttext will not show up in the
output. If you observe that, you need to setup a bodyfont explicitly
beforehand. In practice there should be no problems. The delayed
loading is somewhat tricky but has been tested for a while.



If felt adventurous and I found the following problem:


new beta that checks for math and mono being loaded and if not it loads
modern fallbacks

-
  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] new beta

2011-01-26 Thread Thomas Schmitz

On Wed, 26 Jan 2011 09:26:18 +0100
 Hans Hagen pra...@wxs.nl wrote:

On 26-1-2011 8:50, Alan BRASLAU wrote:

On Tuesday 18 January 2011 20:13:36 Renaud AUBIN wrote:

Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}

Please type another input file name:
! Emergency stop.
to be read again
\relax
l.42 \loadmarkfile{catc-ini}



There appears to be a problem (for quite some time, not 
just for the current
beta) of the robustness of \loadmarkfile{}. Indeed, 
quite often, the conditions
under which this occurs is not clear to me, but almost 
systematically,
updating the minimals gives such errors. The update 
succeeds by entering the

full path, such as
/usr/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv
and repeating the whole path many times, for all 
instances of unfound markfiles

(under X11, right-click is your friend)!

It is strange, as the update process finds the other 
files perfectly well, and

is really annoying.


it is probably a side effect of files being renamed, 
i.e. the new name is mkiv while the old one is tex; in 
that case the file database has to be rebuild (using 
mtxrun --generate); it can also happen when there are new 
files added


so, the main question is: why isn't mtxrun --generate 
run?


Hans


Yes, I have encountered this problem many times during the 
last weeks. Aborting the format-making, rerunning mtxrun 
--generate works too, after that, all the files that have 
been flagged before are found. So the question is: is 
mtxrun --generate maybe run too early in the process, 
before all the files are copied into their place?


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2011-01-26 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes:

 On 25-1-2011 9:18, Marco Pessotto wrote:
 Hans Hagenpra...@wxs.nl  writes:

 - If you are adventurous you can add the following to cont-new.mkiv

 \enablemode[*nofonts]

 This will postpone font loading and will be default soon. This saves
 runtime when you use another font than latin modern. When no font is
 loaded before the first \starttext, modern will kick in. A side effect
 is that any text typeset before \starttext will not show up in the
 output. If you observe that, you need to setup a bodyfont explicitly
 beforehand. In practice there should be no problems. The delayed
 loading is somewhat tricky but has been tested for a while.


 If felt adventurous and I found the following problem:

 new beta that checks for math and mono being loaded and if not it loads
 modern fallbacks


Works here. Thanks


-- 
Marco

___
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] SVG is not rendered in the new beta

2011-01-26 Thread Wolfgang Schuster

Am 26.01.2011 um 02:49 schrieb Anand Raj:

 Hi,
 
 svg images are not rendered in the new beta.
 
 \startxmlsetups xml:img
 \externalfigure[\xmlatt{#1}{src}]
 \stopxmlsetups

Does it work in a normal document?

\starttext
\externalfigure[figure.svg]
\stoptext

Wolfgang

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

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


Re: [NTG-context] new beta

2011-01-26 Thread Hans Hagen

On 26-1-2011 9:41, Thomas Schmitz wrote:

On Wed, 26 Jan 2011 09:26:18 +0100
Hans Hagen pra...@wxs.nl wrote:

On 26-1-2011 8:50, Alan BRASLAU wrote:

On Tuesday 18 January 2011 20:13:36 Renaud AUBIN wrote:

Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}

Please type another input file name:
! Emergency stop.
to be read again
\relax
l.42 \loadmarkfile{catc-ini}



There appears to be a problem (for quite some time, not just for the
current
beta) of the robustness of \loadmarkfile{}. Indeed, quite often, the
conditions
under which this occurs is not clear to me, but almost systematically,
updating the minimals gives such errors. The update succeeds by
entering the
full path, such as
/usr/local/context/beta/tex/texmf-context/tex/context/base/catc-ini.mkiv
and repeating the whole path many times, for all instances of unfound
markfiles
(under X11, right-click is your friend)!

It is strange, as the update process finds the other files perfectly
well, and
is really annoying.


it is probably a side effect of files being renamed, i.e. the new name
is mkiv while the old one is tex; in that case the file database has
to be rebuild (using mtxrun --generate); it can also happen when there
are new files added

so, the main question is: why isn't mtxrun --generate run?

Hans


Yes, I have encountered this problem many times during the last weeks.
Aborting the format-making, rerunning mtxrun --generate works too, after
that, all the files that have been flagged before are found. So the
question is: is mtxrun --generate maybe run too early in the process,
before all the files are copied into their place?


I just synced the minimals on a xubuntu virtual machine and it works ok. 
I never saw that problem, and recently I updated 6 machines that ran the 
minimals without problems (and i see mtxrun --generate being run). Maybe 
next time capture all the messages on the console so that we can see 
what happens at your end.


Hans

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


[NTG-context] Pdfselect in texexec not working!?

2011-01-26 Thread Verhaag, G.C.H.M.

Hi,

I use ConTeXt minimals (MkIV, MTXrun | current version: 2011.01.18 
19:34) and want to select a few pages from a larger pdf-file using the 
familiar --pdfselect switch from texexec.


However this option is not working any more; the run ends with the 
following error message:


.
(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 17 ({)
### bottom level
No pages of output.
Transcript written on texexec.log.
TeXExec | runtime: 1.237985

Perhaps something has changed of which I am unaware?

Regards,
Gerard Verhaag
___
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] SVG is not rendered in the new beta

2011-01-26 Thread Anand Raj
yes.
works fine for jpg images.



On Wed, Jan 26, 2011 at 5:27 PM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 26.01.2011 um 02:49 schrieb Anand Raj:

  Hi,
 
  svg images are not rendered in the new beta.
 
  \startxmlsetups xml:img
  \externalfigure[\xmlatt{#1}{src}]
  \stopxmlsetups

 Does it work in a normal document?

 \starttext
 \externalfigure[figure.svg]
 \stoptext

 Wolfgang


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

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

 ___

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

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


Re: [NTG-context] Pdfselect in texexec not working!?

2011-01-26 Thread Thomas Schmitz

On Wed, 26 Jan 2011 10:39:46 +0100
 Verhaag, G.C.H.M. verhaagg...@ziggo.nl wrote:

Hi,

I use ConTeXt minimals (MkIV, MTXrun | current version: 
2011.01.18 19:34) and want to select a few pages from a 
larger pdf-file using the familiar --pdfselect switch 
from texexec.


However this option is not working any more; the run 
ends with the following error message:


.
(\end occurred inside a group at level 1)

### simple group (level 1) entered at line 17 ({)
### bottom level
No pages of output.
Transcript written on texexec.log.
TeXExec | runtime: 1.237985

Perhaps something has changed of which I am unaware?

Regards,


You have to update. This has been fixed (and discussed 
here).


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Widgets color option not working with Mark IV

2011-01-26 Thread Hans Hagen

On 26-1-2011 1:49, Reviczky, Adam wrote:

Hi,

I was playing a bit more with the field style properties and found out that if 
the font size is always different it works, but as soon as it has a size that 
was used before it defaults back to normal.

Here's the minimal example:

% begin of example
\starttext

\setupfields
[label,frame,horizontal]
[offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80]
[height=40pt,width=100pt,align=middle,background=screen,backgroundscreen=.90,frame=off]
[height=40pt,width=100pt,color=red,align=right,style=type,background=screen,backgroundscreen=.90,frame=off]

\setupfield
[sizea]
[horizontal]
[style={\switchtobodyfont[20pt]}]

\setupfield
[sizeb]
[horizontal]
[style={\switchtobodyfont[28pt]}]

\setupfield
[sizec]
[horizontal]
[style={\switchtobodyfont[20pt]}]

\definefield [Emaila] [line] [sizea] [] [pra...@wxs.nl]
\definefield [Emailb] [line] [sizeb] [] [pra...@wxs.nl]
\definefield [Emailc] [line] [sizec] [] [pra...@wxs.nl]

\field [Emaila] [your email]
\par
\field [Emailb] [your email]
\par
\field [Emailc] [your email]

\stoptext
% end of example

(field of Emaila has fontsize 20pt as defined, field of Emailb has fontsize 
28pt as defined, but field of Emailc defaults back to normal 12pt? size instead 
of the defined 20pt. See attached pdf.)


in scrn-fld.mkiv patch this:

fontsize= \fontbody, % \currentfontbodysize,

and remake the formats.

-
  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] Pdfselect in texexec not working!?

2011-01-26 Thread Hans Hagen

On 26-1-2011 10:40, Thomas Schmitz wrote:


You have to update. This has been fixed (and discussed here).


also, there is now a mkiv variant:

context --extra=select --help

(in due time all those texexec extras will become mkiv ones i.e. no 
longer hard coded in the script but a special sort of style)


Hans

-
  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] SVG is not rendered in the new beta

2011-01-26 Thread luigi scarso
On Wed, Jan 26, 2011 at 10:27 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 26.01.2011 um 02:49 schrieb Anand Raj:

 Hi,

 svg images are not rendered in the new beta.

 \startxmlsetups xml:img
         \externalfigure[\xmlatt{#1}{src}]
 \stopxmlsetups

 Does it work in a normal document?

 \starttext
 \externalfigure[figure.svg]
 \stoptext
works ok with latest minimals (of course inkscape must be installed)
-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SVG is not rendered in the new beta

2011-01-26 Thread luigi scarso
On Wed, Jan 26, 2011 at 10:27 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:

 Am 26.01.2011 um 02:49 schrieb Anand Raj:

 Hi,

 svg images are not rendered in the new beta.

 \startxmlsetups xml:img
         \externalfigure[\xmlatt{#1}{src}]
 \stopxmlsetups

 Does it work in a normal document?

 \starttext
 \externalfigure[figure.svg]
 \stoptext
works ok with latest minima(of course inkscape must be installed)
-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \definesynonyms broken?

2011-01-26 Thread Verhaag, G.C.H.M.

Hi,

I use \definesynonyms in several documents but it seems to be broken! 
For testing purposes I use the folowing command:


\definesynonyms[kind][kinds][\infull]

\kind{to}{test one!}
\kind{t}{sonething else}

\definesynonyms[state][states][\infull]

\state{a}{anything}
\state{ab}{anything b}

\starttext

My test \infull{to}!

\stoptext

The \infull{to} in the My test.. line is empty, but if I remove the 
\definesynonyms[state]... and \state commands the line says: My test 
test one!! Isn't this very weird?


What has happened?

Regards,
Gerard Verhaag

P.S. I use ConTeXt  ver: 2011.01.18 19:34 MKIV  fmt: 2011.1.19  int: 
english/english!


___
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] Pdfselect in texexec not working!?

2011-01-26 Thread Verhaag, G.C.H.M.

Hans Hagen wrote:


On 26-1-2011 10:40, Thomas Schmitz wrote:


You have to update. This has been fixed (and discussed here).



also, there is now a mkiv variant:

context --extra=select --help

(in due time all those texexec extras will become mkiv ones i.e. no 
longer hard coded in the script but a special sort of style)


Hans

 


Hi,

Thanks a lot, and sorry for the noise!

Regards,
Gerard Verhaag
___
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] Widgets color option not working with Mark IV

2011-01-26 Thread Hans Hagen

On 26-1-2011 1:49, Reviczky, Adam wrote:


As for the color option, I couldn't figure out why it's not working at all. 
Some hints appreciated.


it was not yet implemented (passing the info was, but not adding it to 
the pdf stream)


i uploaded a new beta

Hans

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


[NTG-context] math mode underbar broken ?

2011-01-26 Thread Steffen Wolfrum
Hi,

I just came across this discrepancy:

\starttext

\startformula
  H_1 + H_A = f(\underbar{α})
\stopformula

$  H_1 + H_A = f(\underbar{α}) $

\startformula
  H_1 + H_A = f(\overbar{α})
\stopformula

$  H_1 + H_A = f(\overbar{α}) $


\stoptext



Is this known or is under/overbar broken in display math mode?

Steffen

(2011.01.14 14:44 MKIV)
___
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] \definesynonyms broken?

2011-01-26 Thread Peter Münster
Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes:

 \definesynonyms[kind][kinds][\infull]
 \definesynonyms[state][states][\infull]

Don't use the same command. Better:

\definesynonyms[kind][kinds][\KindFull]
\definesynonyms[state][states][\StateFull]

-- 
   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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] math mode underbar broken ?

2011-01-26 Thread Vedran Miletić
2011/1/26 Steffen Wolfrum cont...@st.estfiles.de

 Hi,

 I just came across this discrepancy:

 \starttext

 \startformula
  H_1 + H_A = f(\underbar{α})
 \stopformula

 $  H_1 + H_A = f(\underbar{α}) $

 \startformula
  H_1 + H_A = f(\overbar{α})
 \stopformula

 $  H_1 + H_A = f(\overbar{α}) $


 \stoptext



 Is this known or is under/overbar broken in display math mode?

 Steffen

 (2011.01.14 14:44 MKIV)


IIRC, this has been broken for a while.

Regards,

Vedran Miletić
___
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] SVG is not rendered in the new beta

2011-01-26 Thread Wolfgang Schuster

Am 26.01.2011 um 10:39 schrieb Anand Raj:

 yes. 
 works fine for jpg images.

But does it also work with svg-images?

Wolfgang

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

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


Re: [NTG-context] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Vnpenguin
On Wed, Jan 26, 2011 at 09:24, Hans Hagen pra...@wxs.nl wrote:
 On 26-1-2011 6:43, Vnpenguin wrote:

 Hi,
 The file context-setup-mswin.zip has 23M size at
 http://minimals.contextgarden.net/setup/. Here are files inside of
 this ZIP:
 ===
 |-- bin
 |-- context
 |   |-- context
 |   |   |-- context
 |   |   |       `-- first-setup.bat
 |   |   `-- first-setup.bat
 |   |-- first-setup.bat
 |   `-- mswin
 |       |-- bin
 |       `-- first-setup.bat
 |-- first-setup.bat
 

 Could you tell me why these files were doubled many times ?

 probably because the minimals were installed several times using the same
 root but a different subpath

This's NOT my installation on hard disk! It's the _content_ of file
_context-setup-mswin.zip_ on the site
http://minimals.contextgarden.net/setup/
___
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] new beta

2011-01-26 Thread Mojca Miklavec
 so, the main question is: why isn't mtxrun --generate run?

It is run. But this has been broken since the very beginning.

When you run mtxrun --generate from withit mtx-update in creates a
different database and updates that one (at least that used to be a
problem in past; I didn't check that recently, but it is one of few
longstanding nasty bugs (the other one is inability to properly set
the platform in a decent way)).

Most of the time it is not as nasty since formats for MKIV are rebuild
later anyway, so often one would not notice the problem. At the end
there are two databases then.

It would help to know how you calculate the md5 hash and why it
chooses two different hashes ... But I will try to check again.

Mojca
___
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] new beta

2011-01-26 Thread Mojca Miklavec
On Wed, Jan 26, 2011 at 13:31, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 so, the main question is: why isn't mtxrun --generate run?

 It is run. But this has been broken since the very beginning.

 When you run mtxrun --generate from withit mtx-update in creates a
 different database and updates that one (at least that used to be a
 problem in past; I didn't check that recently, but it is one of few
 longstanding nasty bugs (the other one is inability to properly set
 the platform in a decent way)).

 Most of the time it is not as nasty since formats for MKIV are rebuild
 later anyway, so often one would not notice the problem. At the end
 there are two databases then.

Or maybe not. I need to have a closer look again. I tried to reinstall
now and it generated only a single database (for mkiv, but for mkii
some files were missing), however there was no mkiv format.

Mojca
___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Mojca Miklavec
On Wed, Jan 26, 2011 at 06:43, Vnpenguin vnpeng...@vnoss.org wrote:
 Hi,
 The file context-setup-mswin.zip has 23M size at
 http://minimals.contextgarden.net/setup/. Here are files inside of
 this ZIP:
 ===

 Could you tell me why these files were doubled many times ?

Hmmm ... that is something that I would like to know as well ... :) :) :)

Most probably there was some extra folder lying around. The code that
generates it is

mv mswin context
rm context-setup-mswin.zip
zip -r context-setup-mswin context
mv context mswin

If folder named context existed at some point in time, it probably
triggered recursive behaviour.

Mojca
___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Vnpenguin
On Wed, Jan 26, 2011 at 13:40, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Wed, Jan 26, 2011 at 06:43, Vnpenguin vnpeng...@vnoss.org wrote:
 Hi,
 The file context-setup-mswin.zip has 23M size at
 http://minimals.contextgarden.net/setup/. Here are files inside of
 this ZIP:
 ===

 Could you tell me why these files were doubled many times ?

 Hmmm ... that is something that I would like to know as well ... :) :) :)

 Most probably there was some extra folder lying around. The code that
 generates it is

 mv mswin context
 rm context-setup-mswin.zip
 zip -r context-setup-mswin context
 mv context mswin

 If folder named context existed at some point in time, it probably
 triggered recursive behaviour.

 Mojca


For me, that's packaging error. We need only _ONE_ folder bin and
_ONE_ file first-setup.bat to do installation.
___
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] Widgets color option not working with Mark IV

2011-01-26 Thread Reviczky, Adam
it was not yet implemented (passing the info was, but not adding it to 
the pdf stream)

i uploaded a new beta

Thanks, color and fontsize works perfectly now!

Could you also have a look at whats going on with the alignment to the first 
field?

And since we're at it, I can't get the field+javascript working with mkiv, is 
that suppose to work?
All I want to do is the accented glyphs in a text field, aka:
\setupfield
[TextSetup][...][...][...]
[,
regionin=JS(Initialize_TeX_Key),
afterkey=JS(Convert_TeX_Key),
validate=JS(Convert_TeX_String)]

Works with mkii, but has no effect with mkiv.

Thanks again,
Adam
___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Mojca Miklavec
On Wed, Jan 26, 2011 at 14:46, Vnpenguin wrote:

 For me, that's packaging error. We need only _ONE_ folder bin and
 _ONE_ file first-setup.bat to do installation.

I definitely agree with that. It is just that I'm not sure how this
weird structure has been created in the first place.

I removed it of course, but since I probably didn't diagnose it
properly, it is not excluded that the situation won't repeat. If it
does and goes unnoticed by me, do not hesitate to remind me again.

In any case ... thanks a lot for the report.

Mojca
___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Stefan Müller

Hi,

I just downloaded context-setup-mswin.zip from 
http://minimals.contextgarden.net/setup/
It is 3.83MB and contains only one context and one bin folder. Maybe 
this was fixed by now(?)


Kind regards,
Stefan.

On 26.01.2011 14:46, Vnpenguin wrote:

On Wed, Jan 26, 2011 at 13:40, Mojca Miklavec
mojca.miklavec.li...@gmail.com  wrote:

On Wed, Jan 26, 2011 at 06:43, Vnpenguinvnpeng...@vnoss.org  wrote:

Hi,
The file context-setup-mswin.zip has 23M size at
http://minimals.contextgarden.net/setup/. Here are files inside of
this ZIP:
===

Could you tell me why these files were doubled many times ?


Hmmm ... that is something that I would like to know as well ... :) :) :)

Most probably there was some extra folder lying around. The code that
generates it is

mv mswin context
rm context-setup-mswin.zip
zip -r context-setup-mswin context
mv context mswin

If folder named context existed at some point in time, it probably
triggered recursive behaviour.

Mojca



For me, that's packaging error. We need only _ONE_ folder bin and
_ONE_ file first-setup.bat to do installation.

___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread Mojca Miklavec
On Wed, Jan 26, 2011 at 15:01, Stefan Müller wrote:
 Hi,

 I just downloaded context-setup-mswin.zip from
 http://minimals.contextgarden.net/setup/
 It is 3.83MB and contains only one context and one bin folder. Maybe
 this was fixed by now(?)

It was fixed during my first reply. The only question is whether it
will stay that way :)

Mojca
___
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] context-setup-mswin.zip : so many doubles files ?

2011-01-26 Thread luigi scarso
On Wed, Jan 26, 2011 at 3:03 PM, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 On Wed, Jan 26, 2011 at 15:01, Stefan Müller wrote:
 Hi,

 I just downloaded context-setup-mswin.zip from
 http://minimals.contextgarden.net/setup/
 It is 3.83MB and contains only one context and one bin folder. Maybe
 this was fixed by now(?)

 It was fixed during my first reply. The only question is whether it
 will stay that way :)
let's see the next beta


-- 
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \definesynonyms broken?

2011-01-26 Thread Verhaag, G.C.H.M.

Peter Münster wrote:


Verhaag, G.C.H.M. verhaagg...@ziggo.nl writes:

 


\definesynonyms[kind][kinds][\infull]
\definesynonyms[state][states][\infull]
   



Don't use the same command. Better:

\definesynonyms[kind][kinds][\KindFull]
\definesynonyms[state][states][\StateFull]

 


Hi,

Thanks for the tip!

I didn't know that I was free to choose the command representing the 
last parameter of the \definesynonyms command! So that's why I used 
\infull in both definitions, but your suggestion is of course THE solution.


Regards,
Gerard Verhaag
___
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] problem with margin=0pt

2011-01-26 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes:

 When you use “location=hanging” and set the margin to 0pt contexts sets
 the margin to 1.5em. I don’t know what do you want to achieve but maybe
 “location=serried” is what you want.

Another question: does it make sense, that context overwrites the
margin=0pt?

Imagine, you have some wrapper (simplified user-friendly macro):

\definedescription[SpecialDesc][location=hanging, margin=1em] % 1em = default
\def\SetMargin#1{\setupdescriptions[SpecialDesc][margin=#1]}

Now, because of this (for me unexpected) behaviour, the \SetMargin
becomes more complicated:
if #1 == 0pt then location=serried else margin=#1 endif

IMHO, it would make more sense, if context just accepts the user
supplied margin, and when location=hanging and margin=0, then it prints
a warning message: Hey, you can get the same with location=serried! ;)

-- 
   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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Help regarding IEEE citation style

2011-01-26 Thread Julius Canute
I wan to cite references in my ConTeXt document using IEEE citation style. 
Specifically for Web URL. How to do that using ConTeXt and BiBTeX?
Regards
A.Julius Canute
___
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] \bufferprefix in MKIV

2011-01-26 Thread Mojca Miklavec
Dear Hans,

one of the latest versions of MKIV breaks the following code:
\edef\GNUPLOTfile  {\bufferprefix gnuplot-\GNUPLOTnumber}%
since \bufferprefix is not defined any more. Is there any reason for
that? In particular ...

meta-ini.mkiv:  {\bufferprefix mprun.#1}
page-app.mkiv:  {\immediate\openout\scratchwrite=\bufferprefix\@@texdim.tmp
page-app.mkiv:  {\readlocfile{\bufferprefix\@@texdim.tmp}\donothing\donothing}
page-app.mkiv:   \executesystemcommand{texexec
\bufferprefix\@@texapp.tex --once --batch}%
page-app.mkiv: \executesystemcommand{dvips \bufferprefix\@@texapp}%
page-app.mkiv: \executesystemcommand{ps2pdf
\bufferprefix\@@texapp.ps \bufferprefix\@@texapp.pdf}%
page-app.mkiv:%  \executesystemcommand{texmfstart pstopdf
\bufferprefix\@@texapp.ps \bufferprefix\@@texapp.pdf}%
page-app.mkiv:[\bufferprefix\@@texapp.\ifdone eps\else pdf\fi]

Thanks,
Mojca
___
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] new beta

2011-01-26 Thread Mojca Miklavec
I think I understand at least part of the problem now.

When I run ./first-setup.sh it runs
/usr/local/texlive/2010/bin/x86_64-darwin/mktexlsr
/usr/local/texlive/2010/bin/x86_64-darwin/mtxrun
instead of mktexlsr and mtxrun from the newly installed distribution.

Is anyone willing to try to change part of first-setup.sh into


Option A (more bullet-proof):
-
CONTEXTROOT=$PWD/tex

OLDPATH=$PATH

# download or rsync the latest scripts first
rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .

# download or update the distribution
# you may remove the --context=beta switch if you want to use current
export PATH=$PWD/bin:$CONTEXTROOT/texmf-$platform/bin:$OLDPATH
mtxrun --script ./bin/mtx-update.lua --force --update --engine=all
--context=beta --platform=$platform --texroot=$CONTEXTROOT $@

export PATH=$CONTEXTROOT/texmf-$platform/bin:$OLDPATH
mtxrun --script ./bin/mtx-update.lua --force --make --engine=all $@
-
Option B:
-
CONTEXTROOT=$PWD/tex

# download or rsync the latest scripts first
rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin .

# download or update the distribution
# you may remove the --context=beta switch if you want to use current
export PATH=$PWD/bin:$CONTEXTROOT/texmf-$platform/bin:$PATH
mtxrun --script ./bin/mtx-update.lua --force --update --make
--engine=all --context=beta --platform=$platform
--texroot=$CONTEXTROOT $@
-

and test if that behaves any better?

The problem is that in the first step one doesn't necessary have
mtxrun  luatex at all or they might be too recent, so we have to put
$PWD/bin/ in front of PATH. However it might be much better to use
(now existing) luatex and mtxrun from $CONTEXTROOT/texmf-$platform/bin
when updating the database and making formats. Later I decided that
one also needs $CONTEXTROOT/texmf-$platform/bin before calling
--update since mktexlsr is also called at the end of update.

I will rewrite some of the scripts from scratch anyway, but I hope
that this should work now. I would have to test whether there is a
more elegant way for enforcing some specific type of platform when
uname lies.

Mojca
___
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] first-setup for windows

2011-01-26 Thread Mojca Miklavec
I would like to ask windows users to test the attached setup file if
it works any better (and to make sure that I didn't do any mistakes
while typing).

I have put the updated version of first-setup.sh on the server
already, but for Windows I simply don't dare to do it until somebody
confirms that it seems to be ok. In both cases it would be great to
get feedback if the problems with missing files are solved.

Mojca

PS: please remove the .txt ending (gmail doesn't allow sending .bat files)
@echo off

setlocal

echo okay  ok.log
ruby -e File.delete('ok.log')
if not exist ok.log goto okay

echo.
echo You need to install Ruby first (if you want to use pdfTeX or XeTeX).
echo Fetching files anyway.
echo.

:okay


set OWNPATH=%~dp0
set CONTEXTROOT=%OWNPATH%tex

set PATH=%OWNPATH%bin;%CONTEXTPATH%\texmf-mswin\bin;%PATH%

set CYGWIN=nontsec

rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 
'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin

mtxrun --script ./bin/mtx-update.lua --force --update --make --engine=all 
--context=beta --texroot=%CONTEXTROOT% %*

echo.
echo When you want to use context, you need to initialize the tree with:
echo.
echo   %CONTEXTROOT%\setuptex.bat %CONTEXTROOT%
echo.
echo You can associate this command with a shortcut to the cmd prompt.
echo.

if not exist ok.log goto end

echo.
echo If you want to use pdfTeX or XeTeX you need to install Ruby first.
echo Remake formats or rerun this script afterwards.
echo.

del /q ok.log

:end

endlocal

___
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] first-setup for windows

2011-01-26 Thread Procházka Lukáš

Hello Mojca,

On Wed, 26 Jan 2011 20:31:47 +0100, Mojca Miklavec 
mojca.miklavec.li...@gmail.com wrote:


I would like to ask windows users to test the attached setup file if
it works any better (and to make sure that I didn't do any mistakes
while typing).

I have put the updated version of first-setup.sh on the server
already, but for Windows I simply don't dare to do it until somebody
confirms that it seems to be ok. In both cases it would be great to
get feedback if the problems with missing files are solved.

Mojca


I launched your modified first-setup.bat - it seems the latest Ctx version was 
updated successfully.

I also tried to compile some sample files - no problem.

OS: WinXP Home Edition, SP3.


BTW: It normally happens to me that I have to run 'mtxrun --generate' after I 
updated Ctx.

Not today (? - I don't know why); but normally I'm using a slightly modified 
'first-setup.bat' calling mtxrun automatically.

So if you thought this would be useful (actually it may depend on whether an 
explicit 'mtxrun --generate' after update is necessary what I don't know - 
always reality shows me), it might be good to add the call to the end of 
first-setup.bat (see the attached first-setup-alt.bat).


Best regards,

Lukas@echo off

setlocal

echo okay  ok.log
ruby -e File.delete('ok.log')
if not exist ok.log goto okay

echo.
echo You need to install Ruby first (if you want to use pdfTeX or XeTeX).
echo Fetching files anyway.
echo.

:okay


set OWNPATH=%~dp0
set CONTEXTROOT=%OWNPATH%tex

set PATH=%OWNPATH%bin;%CONTEXTPATH%\texmf-mswin\bin;%PATH%

set CYGWIN=nontsec

rsync -av --exclude 'rsync.exe' --exclude 'cygwin1.dll' --exclude 
'cygiconv-2.dll' rsync://contextgarden.net/minimals/setup/mswin/bin/ bin

mtxrun --script ./bin/mtx-update.lua --force --update --make --engine=all 
--context=beta --texroot=%CONTEXTROOT% %*

echo.
echo When you want to use context, you need to initialize the tree with:
echo.
echo   %CONTEXTROOT%\setuptex.bat %CONTEXTROOT%
echo.
echo You can associate this command with a shortcut to the cmd prompt.
echo.

if not exist ok.log goto end

echo.
echo If you want to use pdfTeX or XeTeX you need to install Ruby first.
echo Remake formats or rerun this script afterwards.
echo.

del /q ok.log

:end

endlocal

call tex/setuptex.bat

mtxrun.exe --generate
___
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] new beta

2011-01-26 Thread Alan BRASLAU
On Wednesday 26 January 2011 19:56:04 Mojca Miklavec wrote:
 
 I will rewrite some of the scripts from scratch anyway, but I hope
 that this should work now. I would have to test whether there is a
 more elegant way for enforcing some specific type of platform when
 uname lies.
 

Maybe bash --version would be more reliable than uname?

Alan
___
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] new beta

2011-01-26 Thread Taco Hoekwater


On 01/26/11 22:01, Alan BRASLAU wrote:
 On Wednesday 26 January 2011 19:56:04 Mojca Miklavec wrote:

 I will rewrite some of the scripts from scratch anyway, but I hope
 that this should work now. I would have to test whether there is a
 more elegant way for enforcing some specific type of platform when
 uname lies.

 
 Maybe bash --version would be more reliable than uname?

If you do something like that, then you may as well do

 $ file /bin/ls

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] first-setup for windows

2011-01-26 Thread Mojca Miklavec
2011/1/26 Procházka Lukáš l...@pontex.cz:
 Hello Mojca,

 I launched your modified first-setup.bat - it seems the latest Ctx version
 was updated successfully.

Thanks a lot for testing ...

 BTW: It normally happens to me that I have to run 'mtxrun --generate' after
 I updated Ctx.

(or that format generation breaks ...)

 So if you thought this would be useful (actually it may depend on whether an
 explicit 'mtxrun --generate' after update is necessary what I don't know -

It *is* necessary if some new files appear. The problem was that
usually the wrong mtxrun was called which had zero effect since it
possibly updated the cache in TeX Live or some other ConTeXt
distribution (under another path).

You can try the following:
- make sure that there is no tex in your path (set PATH ...)
- delete texmf-cache
- delete some files (for example context.mkiv and a few random other files)
- call first-setup.bat (the modified version that I sent you without
an explicit mtxrun --generate)
- call setuptex (or manually set PATH)
- try to compile some file

The mtxrun --generate at the end of script doesn't really help since
already the format generation is broken if some new files arrive.

Thanks,
Mojca
___
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] automatically regenerate database before making format

2011-01-26 Thread Mojca Miklavec
Hans,

you already check if the format is old and automatically launch the
equivalent of context --make if existing format is outdated. Why not
also automatically updating the database just before regenerating the
format?

Mojca
___
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] automatically regenerate database before making format

2011-01-26 Thread Khaled Hosny
On Wed, Jan 26, 2011 at 10:37:42PM +0100, Mojca Miklavec wrote:
 Hans,
 
 you already check if the format is old and automatically launch the
 equivalent of context --make if existing format is outdated. Why not
 also automatically updating the database just before regenerating the
 format?

And while at it, try update the database when context script is not
found (which is one of the frequently occurring issues and the error
message don't give much clue).

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] \bufferprefix in MKIV

2011-01-26 Thread Wolfgang Schuster

Am 26.01.2011 um 17:46 schrieb Mojca Miklavec:

 Dear Hans,
 
 one of the latest versions of MKIV breaks the following code:
\edef\GNUPLOTfile  {\bufferprefix gnuplot-\GNUPLOTnumber}%
 since \bufferprefix is not defined any more. Is there any reason for
 that? In particular ...

MkIV stores the buffer content in memory and therefore no external
file was generated which needed a protected name with \bufferprefix.

When you save a buffer with \savebuffer[…] context adds \jobname
as prefix to the file, therefore you can use \jobname in \GNUPLOTfile.

You should also take a look into Adityas filter module.

Wolfgang

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

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


[NTG-context] platform/architecture (was: new beta)

2011-01-26 Thread Mojca Miklavec
On Wed, Jan 26, 2011 at 22:16, Taco Hoekwater wrote:
 Maybe bash --version would be more reliable than uname?

 If you do something like that, then you may as well do

  $ file /bin/ls

Not too useful either ...

 bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.
 file /bin/ls
/bin/ls: Mach-O universal binary with 2 architectures
/bin/ls (for architecture x86_64):  Mach-O 64-bit executable x86_64
/bin/ls (for architecture i386):Mach-O executable i386

However ... this discussion was already being held long ago ... there
is no reason why luatex could not be as smart as bash --version is
and aware of the architecture it was compiled for (that is not
necessary the platform it is running on; an obvious case being i386
luatex running on 64-bit Mas OS X for example). Somebody would have to
write some simple code to check for that though.

Mojca
___
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] automatically regenerate database before making format

2011-01-26 Thread Arthur Reutenauer
 And while at it, try update the database when context script is not
 found

  That is actually the exact same issue :-)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] reference tag for equations.

2011-01-26 Thread Jeong Dalyoung
Dear all,

1. I have used \startalign many times before without tag and it worked well.
Thanks Aditya.
now, I tried to set a tag for an equation using \NR[+]:
But there is no reference numbers in the output. Since there is no mention 
about this problem in the list, I think that it is my only problem,
Should I do something special for this?

\starttext

\startformula\startalign[align={middle, left}]
\NC  x \NC =  n\times r, \NR[+]
\NC  y \NC = {{n-1}\choose {r-1}}, \NR[+]
\NC z \NC =  (n-1)\times {r}, \NR[+]
\stopalign\stopformula

\stoptext

2. Is there a command to reduce the width of the space between letters? For 
some Korean fonts, the space between letters is a little bit wide. I think that 
it is not  a simple command, it may be very difficult job for me. However, is 
there a way to do that?

My system is Mac OSX 10.6, ConTeXt Minimal   ver: 2010.11.12 18:22 MKIV.

Thank you for reading.

Best regards,

Dalyoung


___
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] reference tag for equations.

2011-01-26 Thread Aditya Mahajan


On Jan 26, 2011, at 7:35 PM, Jeong Dalyoung hak...@me.com wrote:

 Dear all,
 
 1. I have used \startalign many times before without tag and it worked well.
 Thanks Aditya.
 now, I tried to set a tag for an equation using \NR[+]:
 But there is no reference numbers in the output. Since there is no mention 
 about this problem in the list, I think that it is my only problem,
 Should I do something special for this?
 \starttext

\placeformula
 
 \startformula\startalign[align={middle, left}]
 \NC  x \NC =  n\times r, \NR[+]
 \NC  y \NC = {{n-1}\choose {r-1}}, \NR[+]
 \NC z \NC =  (n-1)\times {r}, \NR[+]
 \stopalign\stopformula
 
 \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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] platform/architecture (was: new beta)

2011-01-26 Thread Taco Hoekwater


On 01/27/11 00:21, Mojca Miklavec wrote:
 However ... this discussion was already being held long ago ... there
 is no reason why luatex could not be as smart as bash --version is
 and aware of the architecture it was compiled for (that is not
 necessary the platform it is running on; an obvious case being i386
 luatex running on 64-bit Mas OS X for example). Somebody would have to
 write some simple code to check for that though.

http://tracker.luatex.org/view.php?id=562

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] platform/architecture (was: new beta)

2011-01-26 Thread Martin Schröder
2011/1/27 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 luatex running on 64-bit Mas OS X for example). Somebody would have to
 write some simple code to check for that though.

Somebody, anybody, nobody... ,-)
___
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
___