Lyx-1.1.6 and Included files

2001-01-18 Thread ben

Hello,

I've seen the following problem in lyx-1.1.6: when I include a lyx file
into another lyx file, the latex compilation fails because the
translation is:

\Include{the_subfile}

instead of:

\include{the_subfile}

Of course putting \def\Include#1{\include{#1}} in the pramble makes it
work, but it is a temporary fix.

Bye,
BG




Re: Lyx-1.1.6 and Included files

2001-01-19 Thread Friedemann Baitinger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 18 Jan 2001, ben wrote:

> Hello,
> 
> I've seen the following problem in lyx-1.1.6: when I include a lyx file
> into another lyx file, the latex compilation fails because the
> translation is:
> 
> \Include{the_subfile}
> 
> instead of:
> 
> \include{the_subfile}
> 
> Of course putting \def\Include#1{\include{#1}} in the pramble makes it
> work, but it is a temporary fix.

Thanks for providing the temp fix. Without it I'd have to fallback to
1.1.5, however, even with the fix I am encountering serious problems
(core dump) whenever I include a .lyx file which contains a Bibliography
section and then do a View->DVI or any other "View" selection. If I just
load that file as a separate .lyx file I can edit and view this without
problems.

Any 'temp fixes' for that too?

- -- 
Friedemann Baitinger  [EMAIL PROTECTED]   http://baiti.net/fb/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6aDQm8ZparKdkcvIRAr8aAJ9nSOG2PxJdIbo9+3cHEQ6GLjLi6wCffmW7
R6DzWE9L6VugocEX487bLao=
=UYd0
-END PGP SIGNATURE-




Re: Lyx-1.1.6 and Included files

2001-01-19 Thread ben

Lior Silberman a écrit :

> Hello,
>
> The bug is in lyx_func.C (patch at the end of this message), where
> insetinclude was changed to get the command name as a parameter (rather
> than being hard-coded). (lyx_func.C rev. 1.113, insetinclude.C rev 1.37)

Ok, the patch works fine. Thank you!

BG





Re: Lyx-1.1.6 and Included files

2001-01-19 Thread ben

Friedemann Baitinger a écrit :

> > Of course putting \def\Include#1{\include{#1}} in the pramble makes it
> > work, but it is a temporary fix.
>
> Thanks for providing the temp fix. Without it I'd have to fallback to
> 1.1.5, however, even with the fix I am encountering serious problems
> (core dump) whenever I include a .lyx file which contains a Bibliography
> section and then do a View->DVI or any other "View" selection. If I just
> load that file as a separate .lyx file I can edit and view this without
> problems.
>
> Any 'temp fixes' for that too?

I have tried to put a Bibliography section, and it is true that it crashes
systematically! I don't see any latex command that could prevent from this !
;-)

BG