[XeTeX] XeTeX terminates with inscrutable diagnostic "! Emergency stop"

2024-07-28 Thread Philip Taylor (RHBNC) via XeTeX

Last few lines were as follows :

Underfull \vbox (badness 1) has occurred while \output is active
Underfull \vbox (badness 1) has occurred while \output is active [10283]
Underfull \vbox (badness 1) has occurred while \output is active [10284]
[10285] [10286] [10287] [10288] [10289] [10290] [10291] [10292] [10293]
New entity: &etaisub; [10294] [10295] [10296] [10297] [10298] [10299]
New monad:  [10300] [10301] [10302] [10303] [10304] [10305] [10306]
[10307] [10308] [10309] [10310] [10311] [10312] [10313] [10314]
New entity: &Aemac; [10315] [10316] [10317] [10318] [10319] [10320] [10321]
[10322] [10323] [10324
! Emergency stop.
 ...box \pagebox } \shipout \box \pagebox
 \global \colcount = 0 \glo...

\XML element: /qp ->\endgraf
\Endgroup {qp}
l.9423 ...ities in its past.

Transcript written on Dictionary-2-6.log.

xdvipdfmx:fatal: File ended prematurely


No output PDF file written.

D:\Dictionary>

The log file is rather more scrutable, but offers no clue as to whether this 
"7FFF limit might somehow be overcome ...


[10285] [10286] [10287] [10288] [10289] [10290] [10291] [10292] [10293]
New entity: &etaisub; [10294] [10295] [10296] [10297] [10298] [10299]
New monad:  [10300] [10301] [10302] [10303] [10304] [10305] [10306]
[10307] [10308] [10309] [10310] [10311] [10312] [10313] [10314]
New entity: &Aemac; [10315] [10316] [10317] [10318] [10319] [10320] [10321]
[10322] [10323] [10324
! Emergency stop.
 ...box \pagebox } \shipout \box \pagebox
 \global \colcount = 0 \glo...

\XML element: /qp ->\endgraf
\Endgroup {qp}
l.9423 ...ities in its past.

dvi length exceeds "7FFF

--
Philip Taylor


This email, its contents and any attachments are intended solely for the 
addressee and may contain confidential information. In certain circumstances, 
it may also be subject to legal privilege. Any unauthorised use, disclosure, or 
copying is not permitted. If you have received this email in error, please 
notify us and immediately and permanently delete it. Any views or opinions 
expressed in personal emails are solely those of the author and do not 
necessarily represent those of Royal Holloway, University of London. It is your 
responsibility to ensure that this email and any attachments are virus free.


Re: [XeTeX] XeTeX terminates with inscrutable diagnostic "! Emergency stop"

2024-07-28 Thread David Carlisle
the same error is in classic tex (with the same fixed value)

tex.ch has


The length of |dvi_file| should not exceed |@"7FFF|; we set |cur_s:=-2|
to prevent further \.{DVI} output causing infinite recursion.
@z

@x [32.601] l.11918 - dvi_swap: check dvi file size
begin if dvi_limit=dvi_buf_size then
@y
begin if dvi_ptr>(@"7FFF-dvi_offset) then
  begin cur_s:=-2;
  fatal_error("dvi length exceeds ""7FFF");
@.dvi length exceeds...@>
  end;
if dvi_limit=dvi_buf_size then
@z

@x [32.602] l.11932 -  empty the last bytes: check dvi file size
if dvi_ptr>0 then write_dvi(0,dvi_ptr-1)
@y
if dvi_ptr>(@"7FFF-dvi_offset) then
  begin cur_s:=-2;
  fatal_error("dvi length exceeds ""7FFF");
@.dvi length exceeds...@>
  end;
if dvi_ptr>0 then write_dvi(0,dvi_ptr-1)
@z



On Sun, 28 Jul 2024 at 19:46, Philip Taylor (RHBNC) via XeTeX 
wrote:

> Last few lines were as follows :
>
> Underfull \vbox (badness 1) has occurred while \output is active
> Underfull \vbox (badness 1) has occurred while \output is active
> [10283]
> Underfull \vbox (badness 1) has occurred while \output is active
> [10284]
> [10285] [10286] [10287] [10288] [10289] [10290] [10291] [10292] [10293]
> New entity: &etaisub; [10294] [10295] [10296] [10297] [10298] [10299]
> New monad:  [10300] [10301] [10302] [10303] [10304] [10305] [10306]
> [10307] [10308] [10309] [10310] [10311] [10312] [10313] [10314]
> New entity: &Aemac; [10315] [10316] [10317] [10318] [10319] [10320] [10321]
> [10322] [10323] [10324
> ! Emergency stop.
>  ...box \pagebox } \shipout \box \pagebox
>   \global \colcount = 0
> \glo...
>
> \XML element: /qp ->\endgraf
>  \Endgroup {qp}
> l.9423 ...ities in its past.
>
> Transcript written on Dictionary-2-6.log.
>
> xdvipdfmx:fatal: File ended prematurely
>
>
> No output PDF file written.
>
> D:\Dictionary>
>
> The log file is rather more scrutable, but offers no clue as to whether
> this "7FFF limit might somehow be overcome ...
>
>
> [10285] [10286] [10287] [10288] [10289] [10290] [10291] [10292] [10293]
> New entity: &etaisub; [10294] [10295] [10296] [10297] [10298] [10299]
> New monad:  [10300] [10301] [10302] [10303] [10304] [10305] [10306]
> [10307] [10308] [10309] [10310] [10311] [10312] [10313] [10314]
> New entity: &Aemac; [10315] [10316] [10317] [10318] [10319] [10320] [10321]
> [10322] [10323] [10324
> ! Emergency stop.
>  ...box \pagebox } \shipout \box \pagebox
>   \global \colcount = 0
> \glo...
>
> \XML element: /qp ->\endgraf
>  \Endgroup {qp}
> l.9423 ...ities in its past.
>
> dvi length exceeds "7FFF
>
> --
> *Philip Taylor*
>
> This email, its contents and any attachments are intended solely for the
> addressee and may contain confidential information. In certain
> circumstances, it may also be subject to legal privilege. Any unauthorised
> use, disclosure, or copying is not permitted. If you have received this
> email in error, please notify us and immediately and permanently delete it.
> Any views or opinions expressed in personal emails are solely those of the
> author and do not necessarily represent those of Royal Holloway, University
> of London. It is your responsibility to ensure that this email and any
> attachments are virus free.
>
>


Re: [XeTeX] [EXT] Re: XeTeX terminates with inscrutable diagnostic "! Emergency stop"

2024-07-28 Thread Philip Taylor (RHBNC) via XeTeX

David Carlisle wrote:
the same error is in classic tex (with the same fixed value)

tex.ch has


The length of |dvi_file| should not exceed |@"7FFF|;
So I'm stuffed.  OK, thank you David.
--
** Phil.

This email, its contents and any attachments are intended solely for the 
addressee and may contain confidential information. In certain circumstances, 
it may also be subject to legal privilege. Any unauthorised use, disclosure, or 
copying is not permitted. If you have received this email in error, please 
notify us and immediately and permanently delete it. Any views or opinions 
expressed in personal emails are solely those of the author and do not 
necessarily represent those of Royal Holloway, University of London. It is your 
responsibility to ensure that this email and any attachments are virus free.