mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Texmacs crashing when loading a file


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: address@hidden
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Texmacs crashing when loading a file
  • Date: Wed, 22 Oct 2008 17:53:23 +0200

Eric wrote:

Martin Costabel wrote:


The offending input is obvious:

\newcommand{\tmtextbf}[1]{\tmtextbf{#1}}
\newcommand{\subsection}{{\macro{{\macro{1}{{\medskip}{\bigskip}
{\noindent}\tmtextbf{{\Large }}}}}}}

Texmacs interprets this as a command to go into an infinite loop, and after a couple of hundred iterations, it mercifully throws a segmentation fault and crashes.

Thanks. Anyone know why Texmacs generated this LaTeX?

I know that the TeXmacs -> LaTeX translator is
written in Scheme, and that it's located in:

src/TeXmacs/progs

in the TeXmacs codebase. It's not impossible
to read and fix the code, then send a patch,
for such a bug.



Archive powered by MHonArc 2.6.19.

Top of page