Re: LilyPond preview inset with included files

2014-08-12 Thread Scott Kostyshak
On Sat, Aug 9, 2014 at 4:50 PM, Tao Cumplido taocumpl...@gmail.com wrote:
 Also the preview doesn't seem to work at all when xelatex is used. Is there
 a workaround maybe?
 I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.


 2014-08-09 20:48 GMT+02:00 Tao Cumplido taocumpl...@gmail.com:

 Hi all,

 is there a way to make lilypond-snippets inside a preview-inset display
 when the snippet includes another lilypond-file with \include?
 I already removed all the --safe and -dsafe options from the
 lilypond-converters, this at least makes it possible to use \include in
 snippets generally, i.e. the compiled pdf looks fine.
 Just the preview processing fails.

Hi Tao,

For your first question, consider external templates. See Help  Customization.
For your second question, please post a minimal working example and a
screenshot of what is displayed (doesn't seem to work at all does
not say what happens. Is a red dot shown? Is nothing shown? Is the
LaTeX shown?).

Best,

Scott


Re: LilyPond preview inset with included files

2014-08-12 Thread Scott Kostyshak
On Sat, Aug 9, 2014 at 4:50 PM, Tao Cumplido taocumpl...@gmail.com wrote:
 Also the preview doesn't seem to work at all when xelatex is used. Is there
 a workaround maybe?
 I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.


 2014-08-09 20:48 GMT+02:00 Tao Cumplido taocumpl...@gmail.com:

 Hi all,

 is there a way to make lilypond-snippets inside a preview-inset display
 when the snippet includes another lilypond-file with \include?
 I already removed all the --safe and -dsafe options from the
 lilypond-converters, this at least makes it possible to use \include in
 snippets generally, i.e. the compiled pdf looks fine.
 Just the preview processing fails.

Hi Tao,

For your first question, consider external templates. See Help  Customization.
For your second question, please post a minimal working example and a
screenshot of what is displayed (doesn't seem to work at all does
not say what happens. Is a red dot shown? Is nothing shown? Is the
LaTeX shown?).

Best,

Scott


Re: LilyPond preview inset with included files

2014-08-12 Thread Scott Kostyshak
On Sat, Aug 9, 2014 at 4:50 PM, Tao Cumplido  wrote:
> Also the preview doesn't seem to work at all when xelatex is used. Is there
> a workaround maybe?
> I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.
>
>
> 2014-08-09 20:48 GMT+02:00 Tao Cumplido :
>
>> Hi all,
>>
>> is there a way to make lilypond-snippets inside a preview-inset display
>> when the snippet includes another lilypond-file with \include?
>> I already removed all the --safe and -dsafe options from the
>> lilypond-converters, this at least makes it possible to use \include in
>> snippets generally, i.e. the compiled pdf looks fine.
>> Just the preview processing fails.

Hi Tao,

For your first question, consider external templates. See Help > Customization.
For your second question, please post a minimal working example and a
screenshot of what is displayed ("doesn't seem to work at all" does
not say what happens. Is a red dot shown? Is nothing shown? Is the
LaTeX shown?).

Best,

Scott


LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Hi all,

is there a way to make lilypond-snippets inside a preview-inset display
when the snippet includes another lilypond-file with \include?
I already removed all the --safe and -dsafe options from the
lilypond-converters, this at least makes it possible to use \include in
snippets generally, i.e. the compiled pdf looks fine.
Just the preview processing fails.

Regards,
Tao


Re: LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Also the preview doesn't seem to work at all when xelatex is used. Is there
a workaround maybe?
I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.


2014-08-09 20:48 GMT+02:00 Tao Cumplido taocumpl...@gmail.com:

 Hi all,

 is there a way to make lilypond-snippets inside a preview-inset display
 when the snippet includes another lilypond-file with \include?
 I already removed all the --safe and -dsafe options from the
 lilypond-converters, this at least makes it possible to use \include in
 snippets generally, i.e. the compiled pdf looks fine.
 Just the preview processing fails.

 Regards,
 Tao



LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Hi all,

is there a way to make lilypond-snippets inside a preview-inset display
when the snippet includes another lilypond-file with \include?
I already removed all the --safe and -dsafe options from the
lilypond-converters, this at least makes it possible to use \include in
snippets generally, i.e. the compiled pdf looks fine.
Just the preview processing fails.

Regards,
Tao


Re: LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Also the preview doesn't seem to work at all when xelatex is used. Is there
a workaround maybe?
I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.


2014-08-09 20:48 GMT+02:00 Tao Cumplido taocumpl...@gmail.com:

 Hi all,

 is there a way to make lilypond-snippets inside a preview-inset display
 when the snippet includes another lilypond-file with \include?
 I already removed all the --safe and -dsafe options from the
 lilypond-converters, this at least makes it possible to use \include in
 snippets generally, i.e. the compiled pdf looks fine.
 Just the preview processing fails.

 Regards,
 Tao



LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Hi all,

is there a way to make lilypond-snippets inside a preview-inset display
when the snippet includes another lilypond-file with \include?
I already removed all the --safe and -dsafe options from the
lilypond-converters, this at least makes it possible to use \include in
snippets generally, i.e. the compiled pdf looks fine.
Just the preview processing fails.

Regards,
Tao


Re: LilyPond preview inset with included files

2014-08-09 Thread Tao Cumplido
Also the preview doesn't seem to work at all when xelatex is used. Is there
a workaround maybe?
I'm using LyX 2.1.1, LilyPond 2.18, Tex Live 2014 under Linux Mint 17.


2014-08-09 20:48 GMT+02:00 Tao Cumplido :

> Hi all,
>
> is there a way to make lilypond-snippets inside a preview-inset display
> when the snippet includes another lilypond-file with \include?
> I already removed all the --safe and -dsafe options from the
> lilypond-converters, this at least makes it possible to use \include in
> snippets generally, i.e. the compiled pdf looks fine.
> Just the preview processing fails.
>
> Regards,
> Tao
>


I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Hi all,

For easier writing, I split the chapters of my thesis
in many files.
So I have a Main file (doc class=book) where I
specify my (preamble, title, author), insert (toc,
index, and biblio), and include the different chapter
files.

But the navigate menu in the Main document only shows
the content of this Main doc, and not the content of
the included chapters. Also, when viewing the TOC
(table of content) from the view menu, it only shows
the TOC of the main doc.

Remark: the TOC is ok in the dvi, .ps and .pdf files.
And choosing include or input as an include type
has no effect.

Ideas? Anyway, thank you all for your help!

My version is 1.3.7 of 17thJan2006, on
(win*!*$$_2000Pro.. sorry).
I am a new LyX user: and LyX is great, no doubt! Thank
you to developpers and the community.

Boris
http://boris.saulnier.free.fr






___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Jean-Marc Lasgouttes
 Boris == Boris Saulnier [EMAIL PROTECTED] writes:

Boris But the navigate menu in the Main document only shows the
Boris content of this Main doc, and not the content of the included
Boris chapters. Also, when viewing the TOC (table of content) from
Boris the view menu, it only shows the TOC of the main doc.

This is unfortunately the current state of affairs. Not much you can
do now.

JMarc


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Ok. Thank you very much Jean-Marc.
Boris

 
 This is unfortunately the current state of affairs.
 Not much you can
 do now.
 
 JMarc
 







___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Georg Baum
Boris Saulnier wrote:

 Ok. Thank you very much Jean-Marc.

You are not the only one who wants this:
http://bugzilla.lyx.org/show_bug.cgi?id=2037


Georg



I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Hi all,

For easier writing, I split the chapters of my thesis
in many files.
So I have a Main file (doc class=book) where I
specify my (preamble, title, author), insert (toc,
index, and biblio), and include the different chapter
files.

But the navigate menu in the Main document only shows
the content of this Main doc, and not the content of
the included chapters. Also, when viewing the TOC
(table of content) from the view menu, it only shows
the TOC of the main doc.

Remark: the TOC is ok in the dvi, .ps and .pdf files.
And choosing include or input as an include type
has no effect.

Ideas? Anyway, thank you all for your help!

My version is 1.3.7 of 17thJan2006, on
(win*!*$$_2000Pro.. sorry).
I am a new LyX user: and LyX is great, no doubt! Thank
you to developpers and the community.

Boris
http://boris.saulnier.free.fr






___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Jean-Marc Lasgouttes
 Boris == Boris Saulnier [EMAIL PROTECTED] writes:

Boris But the navigate menu in the Main document only shows the
Boris content of this Main doc, and not the content of the included
Boris chapters. Also, when viewing the TOC (table of content) from
Boris the view menu, it only shows the TOC of the main doc.

This is unfortunately the current state of affairs. Not much you can
do now.

JMarc


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Ok. Thank you very much Jean-Marc.
Boris

 
 This is unfortunately the current state of affairs.
 Not much you can
 do now.
 
 JMarc
 







___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Georg Baum
Boris Saulnier wrote:

 Ok. Thank you very much Jean-Marc.

You are not the only one who wants this:
http://bugzilla.lyx.org/show_bug.cgi?id=2037


Georg



I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Hi all,

For easier writing, I split the chapters of my thesis
in many files.
So I have a "Main" file (doc class="book") where I
specify my (preamble, title, author), insert (toc,
index, and biblio), and include the different chapter
files.

But the navigate menu in the Main document only shows
the content of this Main doc, and not the content of
the included chapters. Also, when viewing the TOC
(table of content) from the "view" menu, it only shows
the TOC of the main doc.

Remark: the TOC is ok in the dvi, .ps and .pdf files.
And choosing "include" or "input" as an include type
has no effect.

Ideas? Anyway, thank you all for your help!

My version is 1.3.7 of 17thJan2006, on
(win*&!*$$_2000Pro.. sorry).
I am a new LyX user: and LyX is great, no doubt! Thank
you to developpers and the community.

Boris
http://boris.saulnier.free.fr






___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Jean-Marc Lasgouttes
> "Boris" == Boris Saulnier <[EMAIL PROTECTED]> writes:

Boris> But the navigate menu in the Main document only shows the
Boris> content of this Main doc, and not the content of the included
Boris> chapters. Also, when viewing the TOC (table of content) from
Boris> the "view" menu, it only shows the TOC of the main doc.

This is unfortunately the current state of affairs. Not much you can
do now.

JMarc


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Boris Saulnier
Ok. Thank you very much Jean-Marc.
Boris

> 
> This is unfortunately the current state of affairs.
> Not much you can
> do now.
> 
> JMarc
> 







___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


Re: I can't navigate Included files from the MAIN doc

2006-02-14 Thread Georg Baum
Boris Saulnier wrote:

> Ok. Thank you very much Jean-Marc.

You are not the only one who wants this:
http://bugzilla.lyx.org/show_bug.cgi?id=2037


Georg



Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi
I have a LyX file for a book that essentially contains a list of 
include statements for the single chapters.  Additionally, it has a 
long preamble with all the formatting instructions.


Since I am now fiddling with formatting details, I would like LyX/LaTeX 
to typeset everything from scratch  whenever I chose the ViewPDF 
option. Is it possible to do that?  Most of the times LyX seems to 
relies on the previously generated files.


Thanks for the help,

Stefano



__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Sven Schreiber
Stefano Franchi schrieb:
 I have a LyX file for a book that essentially contains a list of include
 statements for the single chapters.  Additionally, it has a long
 preamble with all the formatting instructions.
 
 Since I am now fiddling with formatting details, I would like LyX/LaTeX
 to typeset everything from scratch  whenever I chose the ViewPDF
 option. Is it possible to do that?  Most of the times LyX seems to
 relies on the previously generated files.
 
 Thanks for the help,
 
 Stefano

Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992

good luck,
sven


Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi


On Oct 26, 2005, at 10:28 AM, Sven Schreiber wrote:


Stefano Franchi schrieb:
I have a LyX file for a book that essentially contains a list of 
include

statements for the single chapters.  Additionally, it has a long
preamble with all the formatting instructions.

Since I am now fiddling with formatting details, I would like 
LyX/LaTeX

to typeset everything from scratch  whenever I chose the ViewPDF
option. Is it possible to do that?  Most of the times LyX seems to
relies on the previously generated files.

Thanks for the help,

Stefano


Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992



Yes, it seems to be related, but I am not sure exactly how. My 
situation is a bit more complex than what you and Paul described in the 
bug report, as I have about 10 files included in the master file. I 
have not been able to track down what triggers the update and what 
doesn't. I suppose I will have to use the add a space/delete a space 
trick on all of them to force LyX to update.  I have added a few lines 
describing my situation to the bug report.


BTW, I could not find a panel in LyX preference related to the /temp 
directory. Do you know where it is?


Cheers,

S.


good luck,
sven


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Paul A. Rubin

Stefano Franchi wrote:

  BTW, I could not find a panel in LyX preference related to the /temp

directory. Do you know where it is?


Edit-Preferences-Paths has a check box for whether to use a temp 
directory; next to that is a box to enter the path (and a browse button 
for non-typists).


Paul



Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi
I have a LyX file for a book that essentially contains a list of 
include statements for the single chapters.  Additionally, it has a 
long preamble with all the formatting instructions.


Since I am now fiddling with formatting details, I would like LyX/LaTeX 
to typeset everything from scratch  whenever I chose the ViewPDF 
option. Is it possible to do that?  Most of the times LyX seems to 
relies on the previously generated files.


Thanks for the help,

Stefano



__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Sven Schreiber
Stefano Franchi schrieb:
 I have a LyX file for a book that essentially contains a list of include
 statements for the single chapters.  Additionally, it has a long
 preamble with all the formatting instructions.
 
 Since I am now fiddling with formatting details, I would like LyX/LaTeX
 to typeset everything from scratch  whenever I chose the ViewPDF
 option. Is it possible to do that?  Most of the times LyX seems to
 relies on the previously generated files.
 
 Thanks for the help,
 
 Stefano

Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992

good luck,
sven


Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi


On Oct 26, 2005, at 10:28 AM, Sven Schreiber wrote:


Stefano Franchi schrieb:
I have a LyX file for a book that essentially contains a list of 
include

statements for the single chapters.  Additionally, it has a long
preamble with all the formatting instructions.

Since I am now fiddling with formatting details, I would like 
LyX/LaTeX

to typeset everything from scratch  whenever I chose the ViewPDF
option. Is it possible to do that?  Most of the times LyX seems to
relies on the previously generated files.

Thanks for the help,

Stefano


Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992



Yes, it seems to be related, but I am not sure exactly how. My 
situation is a bit more complex than what you and Paul described in the 
bug report, as I have about 10 files included in the master file. I 
have not been able to track down what triggers the update and what 
doesn't. I suppose I will have to use the add a space/delete a space 
trick on all of them to force LyX to update.  I have added a few lines 
describing my situation to the bug report.


BTW, I could not find a panel in LyX preference related to the /temp 
directory. Do you know where it is?


Cheers,

S.


good luck,
sven


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Paul A. Rubin

Stefano Franchi wrote:

  BTW, I could not find a panel in LyX preference related to the /temp

directory. Do you know where it is?


Edit-Preferences-Paths has a check box for whether to use a temp 
directory; next to that is a box to enter the path (and a browse button 
for non-typists).


Paul



Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi
I have a LyX file for a book that essentially contains a list of 
include statements for the single chapters.  Additionally, it has a 
long preamble with all the formatting instructions.


Since I am now fiddling with formatting details, I would like LyX/LaTeX 
to typeset everything from scratch  whenever I chose the View>>PDF 
option. Is it possible to do that?  Most of the times LyX seems to 
relies on the previously generated files.


Thanks for the help,

Stefano



__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Sven Schreiber
Stefano Franchi schrieb:
> I have a LyX file for a book that essentially contains a list of include
> statements for the single chapters.  Additionally, it has a long
> preamble with all the formatting instructions.
> 
> Since I am now fiddling with formatting details, I would like LyX/LaTeX
> to typeset everything from scratch  whenever I chose the View>>PDF
> option. Is it possible to do that?  Most of the times LyX seems to
> relies on the previously generated files.
> 
> Thanks for the help,
> 
> Stefano

Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992

good luck,
sven


Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Stefano Franchi


On Oct 26, 2005, at 10:28 AM, Sven Schreiber wrote:


Stefano Franchi schrieb:
I have a LyX file for a book that essentially contains a list of 
include

statements for the single chapters.  Additionally, it has a long
preamble with all the formatting instructions.

Since I am now fiddling with formatting details, I would like 
LyX/LaTeX

to typeset everything from scratch  whenever I chose the View>>PDF
option. Is it possible to do that?  Most of the times LyX seems to
relies on the previously generated files.

Thanks for the help,

Stefano


Hi, could you check whether or not your problem is related to bug 1992?
http://bugzilla.lyx.org/show_bug.cgi?id=1992



Yes, it seems to be related, but I am not sure exactly how. My 
situation is a bit more complex than what you and Paul described in the 
bug report, as I have about 10 files included in the master file. I 
have not been able to track down what triggers the update and what 
doesn't. I suppose I will have to use the "add a space/delete a space" 
trick on all of them to force LyX to update.  I have added a few lines 
describing my situation to the bug report.


BTW, I could not find a panel in LyX preference related to the /temp 
directory. Do you know where it is?


Cheers,

S.


good luck,
sven


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Forcing LyX to retypeset included files?

2005-10-26 Thread Paul A. Rubin

Stefano Franchi wrote:

 > BTW, I could not find a panel in LyX preference related to the /temp

directory. Do you know where it is?


Edit->Preferences->Paths has a check box for whether to use a temp 
directory; next to that is a box to enter the path (and a browse button 
for non-typists).


Paul



RE: Included files do not update

2004-02-13 Thread Jim Ragsdale
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
 Sent: Tuesday, February 10, 2004 3:39 AM
 To: [EMAIL PROTECTED]
 Subject: Included files do not update


 Hi.. I have a few files included using Insert - Include File (with
 the Include option) in a master document and when I make a change in
 any of the included files, and update the dvi of the master
 document, the changes aren't shown. The archive has a mail regarding
 this same issue for the 1.1.6fix1 release and it was identified as a
 bug in LyX then is this still a bug or am I missing something? I
 tried closing all the files, closing LyX etc. but nothing seems to
 make a difference. What does make a difference is if I do something
 drastic like change the include to input or so... I've done such
 inclusions before (around 15mos. back) but can't remember
 encountering this problem earlier.. I'm using 1.3.3 on a Mandrake
 machine..

 Thanks,
 nirmal




Re: Included files do not update

2004-02-13 Thread Nirmal Govind


Jim Ragsdale wrote:
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.
I'm not sure that restarting LyX makes a diff. on Linux.. just 
confimed it in fact.. so looks like you're slightly better off.. 
:-) My current workaround (which may help you cos it doesn't require 
a restart) is to change an Include (any include will do, not 
necessarily the included file that was changed) to Input and then 
update dvi.. after the next change on an included file, I change the 
input back to include and this process continues..

I searched for a bug report regarding this on bugzilla but can't 
find one.. now that you've confirmed it, I'll file it..

Thanks,
nirmal


RE: Included files do not update

2004-02-13 Thread Jim Ragsdale
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
 Sent: Tuesday, February 10, 2004 3:39 AM
 To: [EMAIL PROTECTED]
 Subject: Included files do not update


 Hi.. I have a few files included using Insert - Include File (with
 the Include option) in a master document and when I make a change in
 any of the included files, and update the dvi of the master
 document, the changes aren't shown. The archive has a mail regarding
 this same issue for the 1.1.6fix1 release and it was identified as a
 bug in LyX then is this still a bug or am I missing something? I
 tried closing all the files, closing LyX etc. but nothing seems to
 make a difference. What does make a difference is if I do something
 drastic like change the include to input or so... I've done such
 inclusions before (around 15mos. back) but can't remember
 encountering this problem earlier.. I'm using 1.3.3 on a Mandrake
 machine..

 Thanks,
 nirmal




Re: Included files do not update

2004-02-13 Thread Nirmal Govind


Jim Ragsdale wrote:
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.
I'm not sure that restarting LyX makes a diff. on Linux.. just 
confimed it in fact.. so looks like you're slightly better off.. 
:-) My current workaround (which may help you cos it doesn't require 
a restart) is to change an Include (any include will do, not 
necessarily the included file that was changed) to Input and then 
update dvi.. after the next change on an included file, I change the 
input back to include and this process continues..

I searched for a bug report regarding this on bugzilla but can't 
find one.. now that you've confirmed it, I'll file it..

Thanks,
nirmal


RE: Included files do not update

2004-02-13 Thread Jim Ragsdale
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Nirmal Govind
> Sent: Tuesday, February 10, 2004 3:39 AM
> To: [EMAIL PROTECTED]
> Subject: Included files do not update
>
>
> Hi.. I have a few files included using Insert -> Include File (with
> the Include option) in a master document and when I make a change in
> any of the included files, and update the dvi of the master
> document, the changes aren't shown. The archive has a mail regarding
> this same issue for the 1.1.6fix1 release and it was identified as a
> bug in LyX then is this still a bug or am I missing something? I
> tried closing all the files, closing LyX etc. but nothing seems to
> make a difference. What does make a difference is if I do something
> "drastic" like change the include to input or so... I've done such
> inclusions before (around 15mos. back) but can't remember
> encountering this problem earlier.. I'm using 1.3.3 on a Mandrake
> machine..
>
> Thanks,
> nirmal
>



Re: Included files do not update

2004-02-13 Thread Nirmal Govind


Jim Ragsdale wrote:
I have had that same problem. I am on the windows version and have an
included file. I have to shut down lyx and restart to get it to update.
I'm not sure that restarting LyX makes a diff. on Linux.. just 
confimed it in fact.. so looks like you're slightly better off.. 
:-) My current workaround (which may help you cos it doesn't require 
a restart) is to change an "Include" (any include will do, not 
necessarily the included file that was changed) to "Input" and then 
update dvi.. after the next change on an included file, I change the 
input back to include and this process continues..

I searched for a bug report regarding this on bugzilla but can't 
find one.. now that you've confirmed it, I'll file it..

Thanks,
nirmal


Included files do not update

2004-02-10 Thread Nirmal Govind
Hi.. I have a few files included using Insert - Include File (with 
the Include option) in a master document and when I make a change in 
any of the included files, and update the dvi of the master 
document, the changes aren't shown. The archive has a mail regarding 
this same issue for the 1.1.6fix1 release and it was identified as a 
bug in LyX then is this still a bug or am I missing something? I 
tried closing all the files, closing LyX etc. but nothing seems to 
make a difference. What does make a difference is if I do something 
drastic like change the include to input or so... I've done such 
inclusions before (around 15mos. back) but can't remember 
encountering this problem earlier.. I'm using 1.3.3 on a Mandrake 
machine..

Thanks,
nirmal


Included files do not update

2004-02-10 Thread Nirmal Govind
Hi.. I have a few files included using Insert - Include File (with 
the Include option) in a master document and when I make a change in 
any of the included files, and update the dvi of the master 
document, the changes aren't shown. The archive has a mail regarding 
this same issue for the 1.1.6fix1 release and it was identified as a 
bug in LyX then is this still a bug or am I missing something? I 
tried closing all the files, closing LyX etc. but nothing seems to 
make a difference. What does make a difference is if I do something 
drastic like change the include to input or so... I've done such 
inclusions before (around 15mos. back) but can't remember 
encountering this problem earlier.. I'm using 1.3.3 on a Mandrake 
machine..

Thanks,
nirmal


Included files do not update

2004-02-10 Thread Nirmal Govind
Hi.. I have a few files included using Insert -> Include File (with 
the Include option) in a master document and when I make a change in 
any of the included files, and update the dvi of the master 
document, the changes aren't shown. The archive has a mail regarding 
this same issue for the 1.1.6fix1 release and it was identified as a 
bug in LyX then is this still a bug or am I missing something? I 
tried closing all the files, closing LyX etc. but nothing seems to 
make a difference. What does make a difference is if I do something 
"drastic" like change the include to input or so... I've done such 
inclusions before (around 15mos. back) but can't remember 
encountering this problem earlier.. I'm using 1.3.3 on a Mandrake 
machine..

Thanks,
nirmal


archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]
echo  OPTIONS:
echo -jcompress with bzip2
echo -zcompress with gzip
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case $1 in
-j)
COMPRESS=bzip2 $ARCHNAME
;;
-z)
COMPRESS=gzip $ARCHNAME
;;
*)
COMPRESS=
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d   -f 2` `cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib
$COMPRESS

if [ $? -eq 0 ]; then
echo Lyx archive created successfully
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ $1 = -j ] || [ $1 = -z ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ]  [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM=-
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f $1 ]  [ -d `dirname $1` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

 Hello!
 There was a request of such functionality. I did a smal bash script 
 which can do that 'cause I found it usefull.
 If someone interested please test.
 
 
 Regards
 wo
 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
 Nice script :) Just a question: does it support include files
 (recursively, I guess)? My cursory reading of the code makes me
 think that it does not... JMarc
 
Marcin What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes [EMAIL PROTECTED]:

  Marcin == Marcin Bukat [EMAIL PROTECTED] writes:
 
 Marcin Hello! There was a request of such functionality. I did a smal
 Marcin bash script which can do that 'cause I found it usefull. If
 Marcin someone interested please test.
  Nice script :) Just a question: does it support include files
  (recursively, I guess)? My cursory reading of the code makes me
  think that it does not... JMarc
  
 Marcin What do You mean by 'recursively'?
 
 Do you look at what other .lyx files are used, in order to attach them
 too, along with all the files they may themselves use?
 
 JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 wodz == wodz  [EMAIL PROTECTED] writes:

  Do you look at what other .lyx files are used, in order to attach
 them too, along with all the files they may themselves use?

wodz Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
 Hello! There was a request of such functionality. I did a smal
 bash script which can do that 'cause I found it usefull. If
 someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]
echo  OPTIONS:
echo -jcompress with bzip2
echo -zcompress with gzip
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case $1 in
-j)
COMPRESS=bzip2 $ARCHNAME
;;
-z)
COMPRESS=gzip $ARCHNAME
;;
*)
COMPRESS=
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d   -f 2` `cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib
$COMPRESS

if [ $? -eq 0 ]; then
echo Lyx archive created successfully
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ $1 = -j ] || [ $1 = -z ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ]  [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM=-
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f $1 ]  [ -d `dirname $1` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

 Hello!
 There was a request of such functionality. I did a smal bash script 
 which can do that 'cause I found it usefull.
 If someone interested please test.
 
 
 Regards
 wo
 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 Marcin == Marcin Bukat [EMAIL PROTECTED] writes:

Marcin Hello! There was a request of such functionality. I did a smal
Marcin bash script which can do that 'cause I found it usefull. If
Marcin someone interested please test.
 Nice script :) Just a question: does it support include files
 (recursively, I guess)? My cursory reading of the code makes me
 think that it does not... JMarc
 
Marcin What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes [EMAIL PROTECTED]:

  Marcin == Marcin Bukat [EMAIL PROTECTED] writes:
 
 Marcin Hello! There was a request of such functionality. I did a smal
 Marcin bash script which can do that 'cause I found it usefull. If
 Marcin someone interested please test.
  Nice script :) Just a question: does it support include files
  (recursively, I guess)? My cursory reading of the code makes me
  think that it does not... JMarc
  
 Marcin What do You mean by 'recursively'?
 
 Do you look at what other .lyx files are used, in order to attach them
 too, along with all the files they may themselves use?
 
 JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
 wodz == wodz  [EMAIL PROTECTED] writes:

  Do you look at what other .lyx files are used, in order to attach
 them too, along with all the files they may themselves use?

wodz Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
 Hello! There was a request of such functionality. I did a smal
 bash script which can do that 'cause I found it usefull. If
 someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


archive with all included files in document

2003-06-27 Thread Marcin Bukat
Hello!
There was a request of such functionality. I did a smal bash script 
which can do that 'cause I found it usefull.
If someone interested please test.

Regards
wo
#!/bin/sh
# This script creates archive with lyx file and all included files (graphics 
# and so on). It can make plain tar archive or compress it with bz2 or gz
#
# Author: Marcin Bukat
# email : [EMAIL PROTECTED]
# Ths script is a FREE software
# Use at Your own risk

function usage
#Prints usage instructions
{
echo "Usage: lyx_pak.sh [OPTONS] [FULL PATH TO LYX FILE]"
echo " OPTIONS:"
echo "-jcompress with bzip2"
echo "-zcompress with gzip"
exit
}

function archive
#Creates archive
{
ARCHNAME=`basename $LYXFILENAME lyx`tar
   case "$1" in
-j)
COMPRESS="bzip2 $ARCHNAME"
;;
-z)
COMPRESS="gzip $ARCHNAME"
;;
*)
COMPRESS=""
esac

cd $WORKDIR

tar cvf $ARCHNAME $LYXFILENAME `cat $LYXFILENAME|grep filename|cut -d " " -f 2` "`cat 
$LYXFILENAME|grep BibTeX|cut -d { -f2|tr -d '}'`.bib"
$COMPRESS

if [ $? -eq 0 ]; then
echo "Lyx archive created successfully"
else
exit 1
fi
}
#Main part starts here

#Check if there is any parameter
if [ $# -gt 0 ]; then
#Ok we got two parameters so first is a commpress switch
if [ $# -eq 2 ]; then
if [ "$1" = "-j" ] || [ "$1" = "-z" ]; then
PARAM=$1
LYXFILENAME=`basename $2`
WORKDIR=`dirname $2`
if [ -f $2 ] && [ -d `dirname $2` ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
else
usage
fi
else
#One parameter - only path to the file
PARAM="-"
LYXFILENAME=`basename $1`
WORKDIR=`dirname $1`
if [ -f "$1" ] && [ -d "`dirname $1`" ]; then
#parameters are correct so make archive
archive $PARAM
else
usage
fi
fi
else
usage
fi


Re: archive with all included files in document

2003-06-27 Thread Christian Ridderström
On Fri, 27 Jun 2003, Marcin Bukat wrote:

> Hello!
> There was a request of such functionality. I did a smal bash script 
> which can do that 'cause I found it usefull.
> If someone interested please test.
> 
> 
> Regards
> wo
> 
I hope you don't mind that I put the script on-line here:

http://ev-en.org/wiki/moin.cgi/LyxConvertFilesIntoArchive

and put a reference to it in the online FAQ here:

http://ev-en.org/wiki/moin.cgi/LyxFAQ#line355

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:

Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.

Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...

JMarc


Re: archive with all included files in document

2003-06-27 Thread Marcin Bukat
Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.
Nice script :)

Just a question: does it support include files (recursively, I guess)?
My cursory reading of the code makes me think that it does not...
JMarc


What do You mean by 'recursively'?

Regards
wo


Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:

Marcin> Hello! There was a request of such functionality. I did a smal
Marcin> bash script which can do that 'cause I found it usefull. If
Marcin> someone interested please test.
>> Nice script :) Just a question: does it support include files
>> (recursively, I guess)? My cursory reading of the code makes me
>> think that it does not... JMarc
>> 
Marcin> What do You mean by 'recursively'?

Do you look at what other .lyx files are used, in order to attach them
too, along with all the files they may themselves use?

JMarc



Re: archive with all included files in document

2003-06-27 Thread wodz
Cytowanie Jean-Marc Lasgouttes <[EMAIL PROTECTED]>:

> > "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:
> 
> Marcin> Hello! There was a request of such functionality. I did a smal
> Marcin> bash script which can do that 'cause I found it usefull. If
> Marcin> someone interested please test.
> >> Nice script :) Just a question: does it support include files
> >> (recursively, I guess)? My cursory reading of the code makes me
> >> think that it does not... JMarc
> >> 
> Marcin> What do You mean by 'recursively'?
> 
> Do you look at what other .lyx files are used, in order to attach them
> too, along with all the files they may themselves use?
> 
> JMarc
Hmm no.
Could You send me tarbal with example of such situation?

Regards
wo





Re: archive with all included files in document

2003-06-27 Thread Jean-Marc Lasgouttes
> "wodz" == wodz  <[EMAIL PROTECTED]> writes:

>>  Do you look at what other .lyx files are used, in order to attach
>> them too, along with all the files they may themselves use?

wodz> Hmm no. Could You send me tarbal with example of such situation?

Here is a short one. I have been especially annoying, because I use
the same image twice, but from different directories.

This is not just to be annoying: people who would appreciate such a
feature the most are those who have big multipart document with
several directories and things like that.

Have fun...

JMarc



test.tar.gz
Description: Binary data


Re: archive with all included files in document

2003-06-27 Thread R.A.G.G.
El Viernes, 27 de Junio de 2003 12:36, Jean-Marc Lasgouttes escribió:
> Hello! There was a request of such functionality. I did a smal
> bash script which can do that 'cause I found it usefull. If
> someone interested please test.


I've found your script very insteresting, but I've had to add some lines 
because I use my own bibtex style file (.bst) and I want it to be in the 
tarball too.

I've also changed the way the script obtains the .gz and .bz2 archives, 
because it didn't work fine if the file was in a FAT partiton.

I've been testing it for a while and I think it works properly.


Regards,
Rafa


lyx_pak.sh
Description: application/shellscript


Finding included files

2003-01-02 Thread Mark Carroll
Sometimes when I include some XFig or EPS or something as a floating
figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX errors
about not being able to find the file or the bounding box and things.

However, if I export to LaTeX, and then just use latex and dvips with no
extra command line options beyond foo.tex and foo.dvi, it works fine.

Does anybody have any idea what's going on? (-:

BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I want
to use -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode to
keep my images nice.

Thanks,
Mark




Re: Finding included files

2003-01-02 Thread Paul A. Rubin
[posted and mailed]

Mark Carroll [EMAIL PROTECTED] wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

 Sometimes when I include some XFig or EPS or something as a floating
 figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX
 errors about not being able to find the file or the bounding box and
 things. 
 
 However, if I export to LaTeX, and then just use latex and dvips with
 no extra command line options beyond foo.tex and foo.dvi, it works
 fine. 
 
 Does anybody have any idea what's going on? (-:
 
 BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I
 want to use -dAutoFilterColorImages=false
 -dColorImageFilter=/FlateEncode to keep my images nice.
 
 Thanks,
 Mark
 
 
 

Been there, done that.  When you use the view commands, LyX creates a 
temp directory, writes out a TeX file (and I think stores copies of the 
figures there), processes it through LaTeX and passes it to the viewer of 
choice.  Assuming you exit LyX gracefully, on its way out the door it 
cleans up that directory.

you use the File | Export menu item to export to Postscript, it does the 
same thing (temp directory, run LaTeX, run the DVI file through dvips), 
but then copies the Postscript output file to your working directory.  
The problem is that the PS file contains links to the copies of the 
graphics files that were in the temp directory (and presumably have since 
been purged), not to the figure files in your working directory.  In 
contrast, when you export a LaTeX file, there doesn't seem to be any 
processing, hence no temp directory, hence the links point to the 
original graphics files.

Regarding ps2pdf options, try Edit | Preferences, click the Conversion 
tab, then the Converters tab, then Postscript-PDF and fiddle with the 
Converter box.  (This works in LyX 1.2.2, but I'm pretty sure it's 
unchanged from 1.1.6.)

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University   
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE





Finding included files

2003-01-02 Thread Mark Carroll
Sometimes when I include some XFig or EPS or something as a floating
figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX errors
about not being able to find the file or the bounding box and things.

However, if I export to LaTeX, and then just use latex and dvips with no
extra command line options beyond foo.tex and foo.dvi, it works fine.

Does anybody have any idea what's going on? (-:

BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I want
to use -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode to
keep my images nice.

Thanks,
Mark




Re: Finding included files

2003-01-02 Thread Paul A. Rubin
[posted and mailed]

Mark Carroll [EMAIL PROTECTED] wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

 Sometimes when I include some XFig or EPS or something as a floating
 figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX
 errors about not being able to find the file or the bounding box and
 things. 
 
 However, if I export to LaTeX, and then just use latex and dvips with
 no extra command line options beyond foo.tex and foo.dvi, it works
 fine. 
 
 Does anybody have any idea what's going on? (-:
 
 BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I
 want to use -dAutoFilterColorImages=false
 -dColorImageFilter=/FlateEncode to keep my images nice.
 
 Thanks,
 Mark
 
 
 

Been there, done that.  When you use the view commands, LyX creates a 
temp directory, writes out a TeX file (and I think stores copies of the 
figures there), processes it through LaTeX and passes it to the viewer of 
choice.  Assuming you exit LyX gracefully, on its way out the door it 
cleans up that directory.

you use the File | Export menu item to export to Postscript, it does the 
same thing (temp directory, run LaTeX, run the DVI file through dvips), 
but then copies the Postscript output file to your working directory.  
The problem is that the PS file contains links to the copies of the 
graphics files that were in the temp directory (and presumably have since 
been purged), not to the figure files in your working directory.  In 
contrast, when you export a LaTeX file, there doesn't seem to be any 
processing, hence no temp directory, hence the links point to the 
original graphics files.

Regarding ps2pdf options, try Edit | Preferences, click the Conversion 
tab, then the Converters tab, then Postscript-PDF and fiddle with the 
Converter box.  (This works in LyX 1.2.2, but I'm pretty sure it's 
unchanged from 1.1.6.)

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University   
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE





Finding included files

2003-01-02 Thread Mark Carroll
Sometimes when I include some XFig or EPS or something as a floating
figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX errors
about not being able to find the file or the bounding box and things.

However, if I export to LaTeX, and then just use latex and dvips with no
extra command line options beyond foo.tex and foo.dvi, it works fine.

Does anybody have any idea what's going on? (-:

BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I want
to use -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode to
keep my images nice.

Thanks,
Mark




Re: Finding included files

2003-01-02 Thread Paul A. Rubin
[posted and mailed]

Mark Carroll <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

> Sometimes when I include some XFig or EPS or something as a floating
> figure, then use LyX 1.1.6fix4 to export to PostScript, I get LaTeX
> errors about not being able to find the file or the bounding box and
> things. 
> 
> However, if I export to LaTeX, and then just use latex and dvips with
> no extra command line options beyond foo.tex and foo.dvi, it works
> fine. 
> 
> Does anybody have any idea what's going on? (-:
> 
> BTW, is there a way to get export-to-PDF to pass options to ps2pdf? I
> want to use -dAutoFilterColorImages=false
> -dColorImageFilter=/FlateEncode to keep my images nice.
> 
> Thanks,
> Mark
> 
> 
> 

Been there, done that.  When you use the view commands, LyX creates a 
temp directory, writes out a TeX file (and I think stores copies of the 
figures there), processes it through LaTeX and passes it to the viewer of 
choice.  Assuming you exit LyX gracefully, on its way out the door it 
cleans up that directory.

you use the File | Export menu item to export to Postscript, it does the 
same thing (temp directory, run LaTeX, run the DVI file through dvips), 
but then copies the Postscript output file to your working directory.  
The problem is that the PS file contains links to the copies of the 
graphics files that were in the temp directory (and presumably have since 
been purged), not to the figure files in your working directory.  In 
contrast, when you export a LaTeX file, there doesn't seem to be any 
processing, hence no temp directory, hence the links point to the 
original graphics files.

Regarding ps2pdf options, try Edit | Preferences, click the Conversion 
tab, then the Converters tab, then Postscript->PDF and fiddle with the 
Converter box.  (This works in LyX 1.2.2, but I'm pretty sure it's 
unchanged from 1.1.6.)

-- Paul

*
Paul A. Rubin  Phone:(517) 432-3509
Department of Management   Fax:  (517) 432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University   
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
*
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE





Re: Book layout and included files problem.

2001-06-08 Thread Dekel Tsur

On Thu, Jun 07, 2001 at 05:36:25PM -0600, Fernando Pérez wrote:
 I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
 create a document which includes other lyx documents using the article
 class, everything is fine. But if I change the master document layout to
 be book or Thesis (University of Colorado's thesis, specifically), the
 included files vanish! That is, the include gray boxes are still present
 in the lyx document, but when a latex file is produced (either
 automatically for making the PostScript or explicitly by Latex Export), the
 \include{file} lines are simply not there! As far as I can tell this is a
 lyx bug, can anyone confirm and suggest solutions?

Currently, the documentclass of the master file should be equal to the
documentclass of the included files.



Re: Book layout and included files problem.

2001-06-08 Thread Fernando Pérez

Dekel Tsur wrote:
 
 Currently, the documentclass of the master file should be equal to the
 documentclass of the included files.

Thanks a lot (also to Herbert) for the reply. It worked perfectly. I wonder
if it might be worth having a little message in the File Include box
indicating that styles have to match across master/subfiles. It can be
somewhat of a disconcerting problem to run into, and a simple warning could
help a lot of people.

Regards,

Fernando



Re: Book layout and included files problem.

2001-06-08 Thread Dekel Tsur

On Thu, Jun 07, 2001 at 05:36:25PM -0600, Fernando Pérez wrote:
 I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
 create a document which includes other lyx documents using the article
 class, everything is fine. But if I change the master document layout to
 be book or Thesis (University of Colorado's thesis, specifically), the
 included files vanish! That is, the include gray boxes are still present
 in the lyx document, but when a latex file is produced (either
 automatically for making the PostScript or explicitly by Latex Export), the
 \include{file} lines are simply not there! As far as I can tell this is a
 lyx bug, can anyone confirm and suggest solutions?

Currently, the documentclass of the master file should be equal to the
documentclass of the included files.



Re: Book layout and included files problem.

2001-06-08 Thread Fernando Pérez

Dekel Tsur wrote:
 
 Currently, the documentclass of the master file should be equal to the
 documentclass of the included files.

Thanks a lot (also to Herbert) for the reply. It worked perfectly. I wonder
if it might be worth having a little message in the File Include box
indicating that styles have to match across master/subfiles. It can be
somewhat of a disconcerting problem to run into, and a simple warning could
help a lot of people.

Regards,

Fernando



Re: Book layout and included files problem.

2001-06-08 Thread Dekel Tsur

On Thu, Jun 07, 2001 at 05:36:25PM -0600, Fernando Pérez wrote:
> I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
> create a document which includes other lyx documents using the article
> class, everything is fine. But if I change the "master document" layout to
> be book or Thesis (University of Colorado's thesis, specifically), the
> included files vanish! That is, the "include" gray boxes are still present
> in the lyx document, but when a latex file is produced (either
> automatically for making the PostScript or explicitly by Latex Export), the
> \include{file} lines are simply not there! As far as I can tell this is a
> lyx bug, can anyone confirm and suggest solutions?

Currently, the documentclass of the master file should be equal to the
documentclass of the included files.



Re: Book layout and included files problem.

2001-06-08 Thread Fernando Pérez

Dekel Tsur wrote:
> 
> Currently, the documentclass of the master file should be equal to the
> documentclass of the included files.

Thanks a lot (also to Herbert) for the reply. It worked perfectly. I wonder
if it might be worth having a little message in the File Include box
indicating that styles have to match across master/subfiles. It can be
somewhat of a disconcerting problem to run into, and a simple warning could
help a lot of people.

Regards,

Fernando



Book layout and included files problem.

2001-06-07 Thread Fernando Pérez

I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
create a document which includes other lyx documents using the article
class, everything is fine. But if I change the master document layout to
be book or Thesis (University of Colorado's thesis, specifically), the
included files vanish! That is, the include gray boxes are still present
in the lyx document, but when a latex file is produced (either
automatically for making the PostScript or explicitly by Latex Export), the
\include{file} lines are simply not there! As far as I can tell this is a
lyx bug, can anyone confirm and suggest solutions?

I can include specific example files if someone needs clarification.

Regards,

Fernando Perez.



Re: Book layout and included files problem.

2001-06-07 Thread Herbert Voss



On Thu, 7 Jun 2001, Fernando [iso-8859-1] Pérez wrote:

 I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
 create a document which includes other lyx documents using the article
 class, everything is fine. But if I change the master document layout to
 be book or Thesis (University of Colorado's thesis, specifically), the
 included files vanish! That is, the include gray boxes are still present
 in the lyx document, but when a latex file is produced (either
 automatically for making the PostScript or explicitly by Latex Export), the
 \include{file} lines are simply not there! As far as I can tell this is a
 lyx bug, can anyone confirm and suggest solutions?

how should this work, when you have a file with layout x and
another file with layout y? most of the deklarations are
document-wide ones.
all files must have the same class, than all works well.

Herbert




Book layout and included files problem.

2001-06-07 Thread Fernando Pérez

I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
create a document which includes other lyx documents using the article
class, everything is fine. But if I change the master document layout to
be book or Thesis (University of Colorado's thesis, specifically), the
included files vanish! That is, the include gray boxes are still present
in the lyx document, but when a latex file is produced (either
automatically for making the PostScript or explicitly by Latex Export), the
\include{file} lines are simply not there! As far as I can tell this is a
lyx bug, can anyone confirm and suggest solutions?

I can include specific example files if someone needs clarification.

Regards,

Fernando Perez.



Re: Book layout and included files problem.

2001-06-07 Thread Herbert Voss



On Thu, 7 Jun 2001, Fernando [iso-8859-1] Pérez wrote:

 I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
 create a document which includes other lyx documents using the article
 class, everything is fine. But if I change the master document layout to
 be book or Thesis (University of Colorado's thesis, specifically), the
 included files vanish! That is, the include gray boxes are still present
 in the lyx document, but when a latex file is produced (either
 automatically for making the PostScript or explicitly by Latex Export), the
 \include{file} lines are simply not there! As far as I can tell this is a
 lyx bug, can anyone confirm and suggest solutions?

how should this work, when you have a file with layout x and
another file with layout y? most of the deklarations are
document-wide ones.
all files must have the same class, than all works well.

Herbert




Book layout and included files problem.

2001-06-07 Thread Fernando Pérez

I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
create a document which includes other lyx documents using the article
class, everything is fine. But if I change the "master document" layout to
be book or Thesis (University of Colorado's thesis, specifically), the
included files vanish! That is, the "include" gray boxes are still present
in the lyx document, but when a latex file is produced (either
automatically for making the PostScript or explicitly by Latex Export), the
\include{file} lines are simply not there! As far as I can tell this is a
lyx bug, can anyone confirm and suggest solutions?

I can include specific example files if someone needs clarification.

Regards,

Fernando Perez.



Re: Book layout and included files problem.

2001-06-07 Thread Herbert Voss



On Thu, 7 Jun 2001, Fernando [iso-8859-1] Pérez wrote:

> I'm using Lyx 1.1.6fix1 and am encountering the following problem: if I
> create a document which includes other lyx documents using the article
> class, everything is fine. But if I change the "master document" layout to
> be book or Thesis (University of Colorado's thesis, specifically), the
> included files vanish! That is, the "include" gray boxes are still present
> in the lyx document, but when a latex file is produced (either
> automatically for making the PostScript or explicitly by Latex Export), the
> \include{file} lines are simply not there! As far as I can tell this is a
> lyx bug, can anyone confirm and suggest solutions?

how should this work, when you have a file with layout x and
another file with layout y? most of the deklarations are
document-wide ones.
all files must have the same class, than all works well.

Herbert




Re: Crossreferencing to references in included files

2001-02-21 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 05:32:49PM +1030, Robert Koehler wrote:
 Hi all,
 
 In my thesis, I have a main lyx file which "includes" other lyx files.
 So basically I have broken my chapters up that way. I was wondering how
 exactly to crossreference in a chapter a reference label in one of the
 included lyx files. At the moment lyx can't find any references other
 than the ones in the current lyx file. I know this can be done, I have
 seen a friends thesis, although he isn't around to ask anymore. :(
 
 Can anyone point me in the right direction?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label
where label is the required label.



Re: Crossreferencing to references in included files

2001-02-21 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 05:32:49PM +1030, Robert Koehler wrote:
 Hi all,
 
 In my thesis, I have a main lyx file which "includes" other lyx files.
 So basically I have broken my chapters up that way. I was wondering how
 exactly to crossreference in a chapter a reference label in one of the
 included lyx files. At the moment lyx can't find any references other
 than the ones in the current lyx file. I know this can be done, I have
 seen a friends thesis, although he isn't around to ask anymore. :(
 
 Can anyone point me in the right direction?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|label
where label is the required label.



Re: Crossreferencing to references in included files

2001-02-21 Thread Dekel Tsur

On Wed, Feb 21, 2001 at 05:32:49PM +1030, Robert Koehler wrote:
> Hi all,
> 
> In my thesis, I have a main lyx file which "includes" other lyx files.
> So basically I have broken my chapters up that way. I was wondering how
> exactly to crossreference in a chapter a reference label in one of the
> included lyx files. At the moment lyx can't find any references other
> than the ones in the current lyx file. I know this can be done, I have
> seen a friends thesis, although he isn't around to ask anymore. :(
> 
> Can anyone point me in the right direction?

Suppose that your files are master.lyx, chap1.lyx, chap2.lyx,
and you want to insert a label from chap2.lyx to chap1.lyx.
There are three methods:

1. Open master.lyx, open the insert reference dialog, and return to chap1.lyx.
Now, whenever you open the insert reference dialog in chap1.lyx, you will
get a list of all labels in all the files.

2. Open chap2.lyx, open the insert reference dialog, and without closing the
dialog, return to chap1.lyx, and then insert the reference.
This doesn't work in LyX 1.1.6.

3. In LyX 1.1.6, type M-x reference-insert ref|++||++|
where  is the required label.



Crossreferencing to references in included files

2001-02-20 Thread Robert Koehler

Hi all,

In my thesis, I have a main lyx file which "includes" other lyx files.
So basically I have broken my chapters up that way. I was wondering how
exactly to crossreference in a chapter a reference label in one of the
included lyx files. At the moment lyx can't find any references other
than the ones in the current lyx file. I know this can be done, I have
seen a friends thesis, although he isn't around to ask anymore. :(

Can anyone point me in the right direction?

Thanks in advance
Robert Koehler




Crossreferencing to references in included files

2001-02-20 Thread Robert Koehler

Hi all,

In my thesis, I have a main lyx file which "includes" other lyx files.
So basically I have broken my chapters up that way. I was wondering how
exactly to crossreference in a chapter a reference label in one of the
included lyx files. At the moment lyx can't find any references other
than the ones in the current lyx file. I know this can be done, I have
seen a friends thesis, although he isn't around to ask anymore. :(

Can anyone point me in the right direction?

Thanks in advance
Robert Koehler




Crossreferencing to references in included files

2001-02-20 Thread Robert Koehler

Hi all,

In my thesis, I have a main lyx file which "includes" other lyx files.
So basically I have broken my chapters up that way. I was wondering how
exactly to crossreference in a chapter a reference label in one of the
included lyx files. At the moment lyx can't find any references other
than the ones in the current lyx file. I know this can be done, I have
seen a friends thesis, although he isn't around to ask anymore. :(

Can anyone point me in the right direction?

Thanks in advance
Robert Koehler




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





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





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





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




  1   2   >