[NTG-context] fatal error in latest beta

2015-03-27 Thread Alan Bowen
The following MWE

\enableregime[utf-8]
\mainlanguage[en]

\starttext
\input knuth
 \stoptext

crashes with the report

tex errorerror on line 2 in file
/Users/bowen1/Desktop/TestTeX/test.tex: ! LuaTeX fatal error error in error
handling


The culprit seems to be
\enableregime[utf-8]


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
___

[NTG-context] Problem after updating TeXlive 2014

2015-03-27 Thread Fabrice Couvreur
 Hi,
Following an update TeXlive 2014, the compilation of my old files causes the
same error :

loading : ConTeXt File Macros / Helpers
! LuaTeX error
...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: attempt to
call local 'implement' (a nil value)
stack traceback:
...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: in
function 'code'
...ab/texlive/2014/texmf-dist/tex/context/base/util-lua.lua:84: in
function 'loadedluacode'
...ab/texlive/2014/texmf-dist/tex/context/base/luat-env.lua:104: in
function 'luafilechunk'
...ab/texlive/2014/texmf-dist/tex/context/base/luat-cod.lua:45: in
function 'registercode'
[\directlua]:1: in main chunk.
\registerctxluafile ...ua.registercode(#1,#2)}

l.31 \registerctxluafile{file-ini}{1.001}

?

Best regards,
Fabrice
___
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 after updating TeXlive 2014

2015-03-27 Thread Hans Hagen

On 3/27/2015 2:24 PM, Fabrice Couvreur wrote:

Hi,
Following an update TeXlive 2014, the compilation of my old files causes
the same error:

loading : ConTeXt File Macros / Helpers
! LuaTeX error
...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: attempt
to call local 'implement' (a nil value)
stack traceback:
 ...ab/texlive/2014/texmf-dist/tex/context/base/file-ini.lua:49: in
function 'code'
 ...ab/texlive/2014/texmf-dist/tex/context/base/util-lua.lua:84: in
function 'loadedluacode'
 ...ab/texlive/2014/texmf-dist/tex/context/base/luat-env.lua:104: in
function 'luafilechunk'
 ...ab/texlive/2014/texmf-dist/tex/context/base/luat-cod.lua:45: in
function 'registercode'
 [\directlua]:1: in main chunk.
\registerctxluafile ...ua.registercode(#1,#2)}

l.31 \registerctxluafile{file-ini}{1.001}

?


as mentioned .. the beta works with luatex .80

-
  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] Customising referencing failures (\in, etc)

2015-03-27 Thread Wolfgang Schuster

 Am 27.03.2015 um 14:22 schrieb robin.kirk...@csiro.au:
 
 Folks,
 
 Is there a way to customise the ?? that is substituted in the output when a 
 reference does not work out (nonexistent reference label, etc)?  I’d like to 
 make it more obvious for proofreading (like making it red, putting a marker 
 in the margin, or something).
 
 Cheers, Robin
 
 \starttext
 \input tufte
 Bad reference \in[missing].
 \input tufte
 \stoptext

\def\dummyreference{\inmargin[style=\tttf,color=red]{??}}

\starttext
\input tufte
Bad reference \in[missing].
\input tufte
\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] Customising referencing failures (\in, etc)

2015-03-27 Thread Robin.Kirkham
 Am 27.03.2015 um 14:22 schrieb robin.kirk...@csiro.au:
 
 Is there a way to customise the ?? that is substituted in the output when a 
 reference does not work out (nonexistent reference label, etc)?  I’d like to 
 make it more obvious for proofreading (like making it red, putting a marker 
 in the margin, or something).
 
 Cheers, Robin
 
 \def\dummyreference{\inmargin[style=\tttf,color=red]{??}}
 
 \starttext
 \input tufte
 Bad reference \in[missing].
 \input tufte
 \stoptext
 
 Wolfgang

Thank you once again Wolfgang — Robin
___
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] footnotes broken in latest beta?

2015-03-27 Thread Pablo Rodriguez
Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

\starttext
a\footnote{b}
\stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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] fatal error in latest beta

2015-03-27 Thread Hans Hagen

On 3/27/2015 1:41 PM, Alan Bowen wrote:

The following MWE

\enableregime[utf-8]


i'll fix it but you don't need that command normally


\mainlanguage[en]

\starttext
\input knuth
  \stoptext

crashes with the report

tex errorerror on line 2 in file
/Users/bowen1/Desktop/TestTeX/test.tex: ! LuaTeX fatal error error in
error handling



The culprit seems to be
\enableregime[utf-8]


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
___




--

-
  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] fatal error in latest beta

2015-03-27 Thread Alan Bowen
Thanks, Hans. I will delete it anyway.

Alan

On Fri, Mar 27, 2015 at 11:34 AM, Hans Hagen pra...@wxs.nl wrote:

 On 3/27/2015 1:41 PM, Alan Bowen wrote:

 The following MWE

 \enableregime[utf-8]


 i'll fix it but you don't need that command normally

  \mainlanguage[en]

 \starttext
 \input knuth
   \stoptext

 crashes with the report

 tex errorerror on line 2 in file
 /Users/bowen1/Desktop/TestTeX/test.tex: ! LuaTeX fatal error error in
 error handling



 The culprit seems to be
 \enableregime[utf-8]


 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
 
 ___



 --

 -
   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
 
 ___
___
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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Hans,

context --version gives:
mtx-context | current version: 2015.03.27 21:39

but running context file.tex says:

Fatal Error  Your format does not match the base files!

Format Version   2015.03.26 22:52 MKIV
Files Version2015.03.27 21:39

I used first-setup as always to update. What is my mistake? How can I fix
it?
Thanks
Christian

2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___

___
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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Sorry Hans,

found the error myself:

In the file publ-ini.lua there is a 7 at the beginning. Removing it fixes
the problem.

Christian

2015-03-27 22:12 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 there must be a file missing:

 context --make cont-en gives:

 error loading file: publ-ini.lua (aborting)

 So the Format file isn't generated.

 Thanks for fixing it
 Christian


 2015-03-27 22:08 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 context --version gives:
 mtx-context | current version: 2015.03.27 21:39

 but running context file.tex says:

 Fatal Error  Your format does not match the base files!

 Format Version   2015.03.26 22:52 MKIV
 Files Version2015.03.27 21:39

 I used first-setup as always to update. What is my mistake? How can I fix
 it?
 Thanks
 Christian

 2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___




___
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] footnotes broken in latest beta?

2015-03-27 Thread Hans Hagen

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

 \starttext
 a\footnote{b}
 \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some 1000 
changes to go)


thanks for testing

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] footnotes broken in latest beta?

2015-03-27 Thread Christian Prim
Hans,

there must be a file missing:

context --make cont-en gives:

error loading file: publ-ini.lua (aborting)

So the Format file isn't generated.

Thanks for fixing it
Christian

2015-03-27 22:08 GMT+01:00 Christian Prim christian.p...@gmx.ch:

 Hans,

 context --version gives:
 mtx-context | current version: 2015.03.27 21:39

 but running context file.tex says:

 Fatal Error  Your format does not match the base files!

 Format Version   2015.03.26 22:52 MKIV
 Files Version2015.03.27 21:39

 I used first-setup as always to update. What is my mistake? How can I fix
 it?
 Thanks
 Christian

 2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl:

 On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

 Hans,

 I’m afraid that footnotes are broken in latest beta from
 2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

 Both numbers in body and footnote are missing.

 Many thanks for your help,


 i uploaded a beta ... with a few more things done in notes (some 1000
 changes to go)

 thanks for testing

 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
 
 ___



___
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] footnotes broken in latest beta?

2015-03-27 Thread Hans Hagen

On 3/27/2015 10:08 PM, Christian Prim wrote:

Hans,

context --version gives:
mtx-context | current version: 2015.03.27 21:39

but running context file.tex says:

Fatal Error  Your format does not match the base files!

Format Version   2015.03.26 22:52 MKIV
Files Version2015.03.27 21:39


normally a format will be generated automatically but you can force it 
with context --make


Hans



I used first-setup as always to update. What is my mistake? How can I
fix it?
Thanks
Christian

2015-03-27 21:37 GMT+01:00 Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl:

On 3/27/2015 6:46 PM, Pablo Rodriguez wrote:

Hans,

I’m afraid that footnotes are broken in latest beta from
2015-03-26 22:54:

  \starttext
  a\footnote{b}
  \stoptext

Both numbers in body and footnote are missing.

Many thanks for your help,


i uploaded a beta ... with a few more things done in notes (some
1000 changes to go)

thanks for testing

Hans


--__--__-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 74
tel:087%20875%2068%2074 | www.pragma-ade.com
http://www.pragma-ade.com
  | www.pragma-pod.nl
http://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 mailto:ntg-context@ntg.nl /
http://www.ntg.nl/mailman/__listinfo/ntg-context
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/
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
___




--

-
  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] \appendtoks and structuring commands

2015-03-27 Thread Sam Ḥilluc
On 2015-03-25 10:23, Hans Hagen wrote:
 \startsetups [document:titlepage]
   bla bla \documentvariable{title} bla bla
 \stopsetups
 
 \setupdocument
   [before=\directsetup{document:titlepage}]
 
 
 \startdocument[title=Some title]
 
 ...
 
 \stopdocument
 

Thanks.

Can one always use `startdocument` rather than `starttext`, are there any
drawbacks ?

-- 
H.-E.
___
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] \appendtoks and structuring commands

2015-03-27 Thread Hans Hagen

On 3/27/2015 11:27 PM, Sam Ḥilluc wrote:

On 2015-03-25 10:23, Hans Hagen wrote:

\startsetups [document:titlepage]
   bla bla \documentvariable{title} bla bla
\stopsetups

\setupdocument
   [before=\directsetup{document:titlepage}]


\startdocument[title=Some title]

...

\stopdocument



Thanks.

Can one always use `startdocument` rather than `starttext`, are there any
drawbacks ?


it's just a wrapper around starttext

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] Change behavior for \getbuffer

2015-03-27 Thread Rik Kabel
The behavior of \getbuffer has changed with the new beta. With the 
following sample code, one line of text is produced with the 2015-03-25 
beta. Two lines of text are produced with the more recent betas.


   \startbuffer
   A
   \stopbuffer
   \starttext
   A \getbuffer
   \stoptext

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