Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Aditya Mahajan via ntg-context

On Mon, 31 Oct 2022, Joel via ntg-context wrote:

>  I found what it was, a % in the text preventing a \stopitemize to close a 
> list. Thanks! --Joel

mtxrun concheck filename 

is very useful in such situations.

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
 I found what it was, a % in the text preventing a \stopitemize to close a 
list. Thanks! --Joel

On Sunday, October 30, 2022 at 07:56:44 PM MDT, Gavin 
 wrote:  
 
 Hi Joel,

I get this error frequently when I forget to stop an environment, for example a 
\startsection with no \stopsection or a \startplacefigure with no 
\stopplacefigure. This freqeuntly doesn’t cause an error because the engine is 
happily packing my entire book into a margin figure.

See if there something you should have stopped near the place where things go 
bad?

Good luck!
Gavin


> On Oct 30, 2022, at 7:46 PM, Joel via ntg-context  wrote:
> 
> I have a very large document that, when compiled, produces a PDF, but reports 
> the error "mtx-context    | fatal error: return code: 1".
> 
> The PDF can open, but after about 100 pages in, the content starts appearing 
> all in the wrong place.
> 
> Usually when I compile, it says there is an error, and I just scroll up until 
> I find the details. I've scrolled through the output, and *.log file, but 
> cannot see anything that looks like an error.
> 
> It could be that just because the document is so long (about 1200 pages), I 
> can't find the error among the huge logs, but I looked through them all 
> carefully.
> 
> How can I isolate the error when ConTeXt isn't showing it? Is there some 
> setting for showing only errors, or revealing more details about an error?
> 
> --Joel
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki    : https://contextgarden.net
> ___

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Gavin via ntg-context
Hi Joel,

I get this error frequently when I forget to stop an environment, for example a 
\startsection with no \stopsection or a \startplacefigure with no 
\stopplacefigure. This freqeuntly doesn’t cause an error because the engine is 
happily packing my entire book into a margin figure.

See if there something you should have stopped near the place where things go 
bad?

Good luck!
Gavin


> On Oct 30, 2022, at 7:46 PM, Joel via ntg-context  wrote:
> 
> I have a very large document that, when compiled, produces a PDF, but reports 
> the error "mtx-context | fatal error: return code: 1".
> 
> The PDF can open, but after about 100 pages in, the content starts appearing 
> all in the wrong place.
> 
> Usually when I compile, it says there is an error, and I just scroll up until 
> I find the details. I've scrolled through the output, and *.log file, but 
> cannot see anything that looks like an error.
> 
> It could be that just because the document is so long (about 1200 pages), I 
> can't find the error among the huge logs, but I looked through them all 
> carefully.
> 
> How can I isolate the error when ConTeXt isn't showing it? Is there some 
> setting for showing only errors, or revealing more details about an error?
> 
> --Joel
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
I have a very large document that, when compiled, produces a PDF, but reports 
the error "mtx-context | fatal error: return code: 1".
The PDF can open, but after about 100 pages in, the content starts appearing 
all in the wrong place.
Usually when I compile, it says there is an error, and I just scroll up until I 
find the details. I've scrolled through the output, and *.log file, but cannot 
see anything that looks like an error.
It could be that just because the document is so long (about 1200 pages), I 
can't find the error among the huge logs, but I looked through them all 
carefully.

How can I isolate the error when ConTeXt isn't showing it? Is there some 
setting for showing only errors, or revealing more details about an error?

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] is something wrong with the mailing list?

2022-10-30 Thread Henning Hraban Ramm via ntg-context

Am 30.10.22 um 16:56 schrieb Gavin:

Hi Hraban,

It has been pretty quiet, but there were some posts on Oct 27. You could check 
the bottom of the web version to see if you have been missing activity.

https://mailman.ntg.nl/pipermail/ntg-context/2022/date.html


Of course, could have thought of that myself. Thank you for the 
reminder. So I didn’t miss anything. (In other parts of the internet, 
everyone is busy leaving Twitter...)


Hraban

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context

Am 30.10.22 um 16:54 schrieb Hans Hagen via ntg-context:

On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote:

This used to work:

\definefontfallback[seguiFB]
   [file:seguisym.ttf]
   [0x0-0xF]
   [check=yes,force=no]

\definetypeface [contextstart] [ss] [sans]  [segoe] 
[default][fallbacks=seguiFB]


(Intention is to take all missing characters from this symbol font.)


But with current LMTX, I get:



tex error   > tex error on line 48 in file env_contextstart.tex:

lua error:

 registered function call [1145]: 
...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: 
attempt to perform arithmetic on a nil value (field 'depth')
Your example is too minimal so i can't test it. Do you also set those 
fallbacks on a math font (as the error has to do with math fallbacks).


Ok, find attached a quite minimal example.

Yes, I had the fallback activated for math (since some enumeration 
symbols were missing), but I get an error also without math.



Btw, 0x0-0xF is a bit over the top,


Well, if I want to replace all missing characters without thinking too 
much which that might be?


Hraban


fontfallbacktest.tex
Description: TeX document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] is something wrong with the mailing list?

2022-10-30 Thread Gavin via ntg-context
Hi Hraban,

It has been pretty quiet, but there were some posts on Oct 27. You could check 
the bottom of the web version to see if you have been missing activity.

https://mailman.ntg.nl/pipermail/ntg-context/2022/date.html 


Gavin


> On Oct 30, 2022, at 9:47 AM, Henning Hraban Ramm via ntg-context 
>  wrote:
> 
> Hi again,
> I didn’t get any mails from ntg-context between 2022-10-26, 01:52 and my 
> mails now. Was there no activity?
> 
> (Maybe I was switched off due to bounced mails, because my provider had left 
> outdate the ssl certificate of the mail server...)
> 
> Hraban
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Hans Hagen via ntg-context

On 10/30/2022 4:43 PM, Henning Hraban Ramm via ntg-context wrote:

This used to work:

\definefontfallback[seguiFB]
   [file:seguisym.ttf]
   [0x0-0xF]
   [check=yes,force=no]

\definetypeface [contextstart] [ss] [sans]  [segoe] 
[default][fallbacks=seguiFB]


(Intention is to take all missing characters from this symbol font.)


But with current LMTX, I get:



tex error   > tex error on line 48 in file env_contextstart.tex:

lua error:

 registered function call [1145]: 
...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: 
attempt to perform arithmetic on a nil value (field 'depth')
Your example is too minimal so i can't test it. Do you also set those 
fallbacks on a math font (as the error has to do with math fallbacks).


Btw, 0x0-0xF is a bit over the top,

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] is something wrong with the mailing list?

2022-10-30 Thread Henning Hraban Ramm via ntg-context

Hi again,
I didn’t get any mails from ntg-context between 2022-10-26, 01:52 and my 
mails now. Was there no activity?


(Maybe I was switched off due to bounced mails, because my provider had 
left outdate the ssl certificate of the mail server...)


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] something’s wrong with \definefontfallback

2022-10-30 Thread Henning Hraban Ramm via ntg-context

This used to work:

\definefontfallback[seguiFB]
  [file:seguisym.ttf]
  [0x0-0xF]
  [check=yes,force=no]

\definetypeface [contextstart] [ss] [sans]  [segoe] 
[default][fallbacks=seguiFB]


(Intention is to take all missing characters from this symbol font.)


But with current LMTX, I get:



tex error   > tex error on line 48 in file env_contextstart.tex:

lua error:

	registered function call [1145]: 
...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: 
attempt to perform arithmetic on a nil value (field 'depth')

stack traceback:
	...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:2339: in 
local 'action'
	...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:3166: in 
upvalue 'applytweaks'
	...-14/tex/texmf-context/tex/context/base/mkxl/math-act.lmt:3200: in 
upvalue 'mathematics_tweakaftercopyingfont'
	[string "local mathematics_tweakaftercopyingfont = mat..."]:5: in local 
'runner'
	...-14/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:504: in 
field 'aftercopyingcharacters'
	...-14/tex/texmf-context/tex/context/base/mkxl/font-con.lmt:859: in 
field 'scale'
	...-14/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:672: in 
function <...-14/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt:664>

(...tail calls...)
	...-14/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:378: in 
function <...-14/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:366>

(...tail calls...)
	...-14/tex/texmf-context/tex/context/base/mkxl/font-def.lmt:484: in 
field 'read'
	...-14/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1371: in 
function <...-14/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1228>

(...tail calls...)  

43 \usetypescriptfile[contextstart]
44 \usebodyfont[modern]
45 \usebodyfont[cambria]
46 \usebodyfont[segoe]
47
48 >>  \setupbodyfont[contextstart,10pt]


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Undefined control sequence \bodyfontsizevariable

2022-10-30 Thread Henning Hraban Ramm via ntg-context

Latest LMTX, probably an error in mkxl/s-fonts-show.mkxl:


\starttext

\showbodyfont

\showbodyfontenvironment % error!

As you can see, the font class is called \quotation{\fontclass} and the 
bodyfont is typeset from \quotation{\fontname\font} in 
\the\globalbodyfontsize.


\stoptext


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___