www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/11/19:56:28

Date: Thu, 11 Aug 1994 16:43:33 +0400 (EDT)
From: kaikow AT standards DOT com (Howard)
Subject: stack overflow
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: kaikow AT standards DOT com

I am tryting to port the latex2rtf and rtf2latex programs from unix to
MS-DOS using DJGPP. 

I have changed none of the source code or the makefile, other than to adhere
to the 8.3 file name limit. No problem compiling or using coff2exe.

x.tex is a copy of the internal.tex file that comes with the source
distribution. I was testing to see if I could convert it and compare it to
the internal.rtf file that comes with the source distribution.

I got the following error with latex2rtf (I have to name it latex2rt). It is
compiled with the DJPP GCC. I have broken the lines so they fit in email.
 
 c:/tex/latex2rt/work/latex2rt.exe: ERROR: error in LaTeX-File: x.tex at 
 linenumber: 2
 -> internal stack-overflow
 program aborted
 {\rtf1\pc\fs20\deff0\deflang1024{\stylesheet{\fs20\lang1031\snext0 Normal;}}
 {\info{\version1}}\widowctrl\ftnbj\sectd\linex0\endnhere\qj 
 {\fonttbl{\f0\fnil Tms New Roman;}{\f1\fnil Courier New;}{\f2\fnil Arial;}
 {\f3\fnil Arial;}{\f4\fnil LucidaHandwriting;}{\f5\fnil Symbol;}{\f6\fnil 
 Ferdsch;}}-

I sent the error to the program's author and got the following response. How
does one track this down? If I can get my hands on Tex, I could then print
the documentation and perhaps find an explanation. (Hmmm, although my
internet host (a BSDI system) does not allow us to use the C compiler,
perhaps Tex is available, I'll have to check on that.)

>This seems to be a problem with your msdos port. I just checked it here and
>it translates the file ok. If you happen to find a bug, i.e. you find what 
>causes the problems on msdos, please let me know.
>Thanks for your help.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019