...
>> For example, the script would manage the compilation process (diffrently
>> than LyX do it) in such a way that I would be able to use vtex without
>> crashing lyx.

>LyX should not crash. Please send a backtrace so that we can ascertain what 
>is going wrong.
>
>Angus

I posted a message on this subject on lyx-devel (on 27 May 2003, subject: Re: LyX and 
vTeX)
here is:

.......

I did that for lyx-1.2.3 and lyx-1.3.2. Precisely I wrote

\format "pdf4" "pdf" "PDF (vlatex)" "" (in the FORMATS SECTION)

and

\converter "latex" "pdf4" "/usr/local/vtex/bin/vlatex $$i" "latex" (in the CONVERTERS 
SECTION)

With lyx-1.2.3 all is fine. But with lyx-1.3.2, if there is a latex error in the
document, lyx crashes with the following output:

lyx: /usr/include/g++-3/std/bastring.cc:126: basic_string<charT, traits, Allocator> 
&basic_string<charT, traits, Allocator>::replace (unsigned int, unsigned int, const 
basic_string<charT, traits, Allocator> &, unsigned int, unsigned int) [with charT = 
char, traits = string_char_traits<char>, Allocator = __default_alloc_template<true, 
0>]:  l'assertion `!(pos2 > len2)' a �chou�.
/home/pcharpen/bin/monlyxqt: line 6:  8816 Abandon

Why?
Ph. C.

More precisely:

the test was made on a RedHat-7.2. Running lyx-1.3.2 with "-dbg latex" gives (with a 
\usepackage{al} in the preamble):

Log line: ! LaTeX Error: File `al.sty' not found.
lyx: /usr/include/g++-3/std/bastring.cc:126: basic_string<charT, traits, Allocator> 
&basic_string<charT, traits, Allocator>::replace (unsigned int, unsigned int, const 
basic_string<charT, traits, Allocator> &, unsigned int, unsigned int) [with charT = 
char, traits = string_char_traits<char>, Allocator = __default_alloc_template<true, 
0>]:  l'assertion `!(pos2 > len2)' a �chou�.
Abandon

The same test on a RedHat-8.0 gives, for BOTH lyx-1.2.3 and lyx-1.3.2, a crash of lyx 
with:

Log line: ! LaTeX Error: File `al.sty' not found.
Abandon

Is this a bug in LyX?

Ph. C.

.....

Ph. C.

Reply via email to