Include files in .bind files?

2007-05-07 Thread Steve Litt
Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT


Re: Include files in .bind files?

2007-05-07 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT



\bind_file name-of-other-file

In the event of collisions, I think that last loaded wins, but I won't 
swear to that (might be first loaded).


/Paul




Include files in .bind files?

2007-05-07 Thread Steve Litt
Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT


Re: Include files in .bind files?

2007-05-07 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT



\bind_file name-of-other-file

In the event of collisions, I think that last loaded wins, but I won't 
swear to that (might be first loaded).


/Paul




Include files in .bind files?

2007-05-07 Thread Steve Litt
Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT


Re: Include files in .bind files?

2007-05-07 Thread Paul A. Rubin

Steve Litt wrote:

Hi all,

Is there a way to put something like a #include inside a bind file?

Thanks

SteveT



\bind_file name-of-other-file

In the event of collisions, I think that last loaded wins, but I won't 
swear to that (might be first loaded).


/Paul




Re: include files and the converter process

2005-05-09 Thread Kevin Pfeiffer
I wrote:
 I followed the instructions for including another Lyx file in my
 document and this worked fine except for one thing: I am using a
 wrapper script between the LaTeX and the dvi output to add index tags
 and this is not working on the included file.

 It seems to me that Lyx should do this:
 merge files - run my convertor script (which then calls latex)

 And that this should work, but maybe I've done something wrong?

Looking at the tex output, the \include command is part of LaTeX, so my 
little script never sees these included files (they are included only 
when the tex files are processed by latex). Solution it seems is that my 
little script will have to look for any \includes in the main file and 
add them to its own processing list.

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: include files and the converter process

2005-05-09 Thread Kevin Pfeiffer
I wrote:
 I followed the instructions for including another Lyx file in my
 document and this worked fine except for one thing: I am using a
 wrapper script between the LaTeX and the dvi output to add index tags
 and this is not working on the included file.

 It seems to me that Lyx should do this:
 merge files - run my convertor script (which then calls latex)

 And that this should work, but maybe I've done something wrong?

Looking at the tex output, the \include command is part of LaTeX, so my 
little script never sees these included files (they are included only 
when the tex files are processed by latex). Solution it seems is that my 
little script will have to look for any \includes in the main file and 
add them to its own processing list.

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: include files and the converter process

2005-05-09 Thread Kevin Pfeiffer
I wrote:
> I followed the instructions for including another Lyx file in my
> document and this worked fine except for one thing: I am using a
> wrapper script between the LaTeX and the dvi output to add index tags
> and this is not working on the included file.
>
> It seems to me that Lyx should do this:
> merge files -> run my convertor script (which then calls latex)
>
> And that this should work, but maybe I've done something wrong?

Looking at the tex output, the \include command is part of LaTeX, so my 
little script never sees these included files (they are included only 
when the tex files are processed by latex). Solution it seems is that my 
little script will have to look for any \includes in the main file and 
add them to its own processing list.

-Kevin

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


include files and the converter process

2005-05-08 Thread Kevin Pfeiffer
Hi all,

One last question for the evening and then quiet and peace, again. :-)

I followed the instructions for including another Lyx file in my document 
and this worked fine except for one thing: I am using a wrapper script 
between the LaTeX and the dvi output to add index tags and this is not 
working on the included file.

It seems to me that Lyx should do this:
merge files - run my convertor script (which then calls latex)

And that this should work, but maybe I've done something wrong?

Adding an Idx by hand works fine; if this won't work, is there a way in 
LaTeX to issue a command to escape to shell and run this script (or an 
exec function)?

-Kevin
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


include files and the converter process

2005-05-08 Thread Kevin Pfeiffer
Hi all,

One last question for the evening and then quiet and peace, again. :-)

I followed the instructions for including another Lyx file in my document 
and this worked fine except for one thing: I am using a wrapper script 
between the LaTeX and the dvi output to add index tags and this is not 
working on the included file.

It seems to me that Lyx should do this:
merge files - run my convertor script (which then calls latex)

And that this should work, but maybe I've done something wrong?

Adding an Idx by hand works fine; if this won't work, is there a way in 
LaTeX to issue a command to escape to shell and run this script (or an 
exec function)?

-Kevin
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


include files and the converter process

2005-05-08 Thread Kevin Pfeiffer
Hi all,

One last question for the evening and then quiet and peace, again. :-)

I followed the instructions for including another Lyx file in my document 
and this worked fine except for one thing: I am using a wrapper script 
between the LaTeX and the dvi output to add index tags and this is not 
working on the included file.

It seems to me that Lyx should do this:
merge files -> run my convertor script (which then calls latex)

And that this should work, but maybe I've done something wrong?

Adding an Idx by hand works fine; if this won't work, is there a way in 
LaTeX to issue a command to escape to shell and run this script (or an 
exec function)?

-Kevin
-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the temporary 
buffer directory -- if you use Insert - Include File, even pointing to a 
file in another directory, I don't think LyX copies the file to the temp 
directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window behind LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
Sorry i should qualify this is only a problem if i wish to look at a 
formatted output (dvi pdf or ps).  If i export the latex it works fine.

Geoff
On Wed, 6 Apr 2005, Geoffrey Lloyd wrote:
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the 
temporary buffer directory -- if you use Insert - Include File, even 
pointing to a file in another directory, I don't think LyX copies the file 
to the temp directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window behind LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Michael Wojcik
Geoffrey Lloyd wrote:
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification (c:/) is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?

(And is argument actually misspelled in the error message?  I really 
must download the source so I can start submitting patches.  This is 
just the sort of thing that the main developers never get around to 
because it's not a showstopper for anyone, but is trivial to fix, so 
it's ideal for a community-contributed patch.)

--
Michael Wojcik


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
 Michael == Michael Wojcik [EMAIL PROTECTED] writes:

Michael Geoffrey Lloyd wrote:
 The path to the target is c:\lyxfiles\thesis\ch3.lyx The full error
 message is -- Error: Cannot open file:
 C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
 Invalid arguement --

Michael This looks to me like a simple case of LyX not recognizing
Michael that a path which starts with a drive letter specification
Michael (c:/) is an absolute path and not a relative one.

No, this is normal, because the ch3.tex file is generated by LyX in
the tmp path. What is probably not good is that the second ':' should
be changed to '@' too.

Michael (And is argument actually misspelled in the error message?

I do not think so. I did not find this string in lyx source, anyway.

JMarc


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
This looks to me like a simple case of LyX not recognizing that a path which 
starts with a drive letter specification (c:/) is an absolute path and not 
a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?
The solution! If i just remove the c:/ i can include files from 
anywhere.

Many thanks to everyone for their help.
And yes I can't spell arguement(sic)


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
 Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes:

  This looks to me like a simple case of LyX not recognizing that a
 path which starts with a drive letter specification (c:/) is an
 absolute path and not a relative one.
 
 Could you try without the drive letter, that is setting the target
 to /lyxfiles/thesis/ch3.tex?

Geoffrey The solution! If i just remove the c:/ i can include files
Geoffrey from anywhere.

Note that it is better in general to input the file names as relative
to where the master file is. So if you have
  c:\lyxfiles\thesis\thesis.lyx
  c:\lyxfiles\thesis\ch3.lyx
just include ch3.lyx in thesis.lyx.

JMarc



Re: Include files

2005-04-06 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification (c:/) is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?

The solution! If i just remove the c:/ i can include files from anywhere.
Hmm.  I can reproduce the error (using LyX 1.3.5 on Win XP Pro), but 
with a different proximate cause and fix.  I have no trouble including a 
file with an absolute path (including drive letter) if I specify the 
path either by using the browse button in the dialog (which brings the 
path in with / separators) or if I type it in with / separators.  If 
I type it in with \ separators, though, I get Geoffrey's error message.

So I suspect it's not the driver letter but the Unix v. Windows path 
separators at fault.

-- Paul


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the temporary 
buffer directory -- if you use Insert - Include File, even pointing to a 
file in another directory, I don't think LyX copies the file to the temp 
directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window behind LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
Sorry i should qualify this is only a problem if i wish to look at a 
formatted output (dvi pdf or ps).  If i export the latex it works fine.

Geoff
On Wed, 6 Apr 2005, Geoffrey Lloyd wrote:
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the 
temporary buffer directory -- if you use Insert - Include File, even 
pointing to a file in another directory, I don't think LyX copies the file 
to the temp directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window behind LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Michael Wojcik
Geoffrey Lloyd wrote:
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification (c:/) is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?

(And is argument actually misspelled in the error message?  I really 
must download the source so I can start submitting patches.  This is 
just the sort of thing that the main developers never get around to 
because it's not a showstopper for anyone, but is trivial to fix, so 
it's ideal for a community-contributed patch.)

--
Michael Wojcik


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
 Michael == Michael Wojcik [EMAIL PROTECTED] writes:

Michael Geoffrey Lloyd wrote:
 The path to the target is c:\lyxfiles\thesis\ch3.lyx The full error
 message is -- Error: Cannot open file:
 C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
 Invalid arguement --

Michael This looks to me like a simple case of LyX not recognizing
Michael that a path which starts with a drive letter specification
Michael (c:/) is an absolute path and not a relative one.

No, this is normal, because the ch3.tex file is generated by LyX in
the tmp path. What is probably not good is that the second ':' should
be changed to '@' too.

Michael (And is argument actually misspelled in the error message?

I do not think so. I did not find this string in lyx source, anyway.

JMarc


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
This looks to me like a simple case of LyX not recognizing that a path which 
starts with a drive letter specification (c:/) is an absolute path and not 
a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?
The solution! If i just remove the c:/ i can include files from 
anywhere.

Many thanks to everyone for their help.
And yes I can't spell arguement(sic)


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
 Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes:

  This looks to me like a simple case of LyX not recognizing that a
 path which starts with a drive letter specification (c:/) is an
 absolute path and not a relative one.
 
 Could you try without the drive letter, that is setting the target
 to /lyxfiles/thesis/ch3.tex?

Geoffrey The solution! If i just remove the c:/ i can include files
Geoffrey from anywhere.

Note that it is better in general to input the file names as relative
to where the master file is. So if you have
  c:\lyxfiles\thesis\thesis.lyx
  c:\lyxfiles\thesis\ch3.lyx
just include ch3.lyx in thesis.lyx.

JMarc



Re: Include files

2005-04-06 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification (c:/) is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
/lyxfiles/thesis/ch3.tex?

The solution! If i just remove the c:/ i can include files from anywhere.
Hmm.  I can reproduce the error (using LyX 1.3.5 on Win XP Pro), but 
with a different proximate cause and fix.  I have no trouble including a 
file with an absolute path (including drive letter) if I specify the 
path either by using the browse button in the dialog (which brings the 
path in with / separators) or if I type it in with / separators.  If 
I type it in with \ separators, though, I get Geoffrey's error message.

So I suspect it's not the driver letter but the Unix v. Windows path 
separators at fault.

-- Paul


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the temporary 
buffer directory -- if you use Insert -> Include File, even pointing to a 
file in another directory, I don't think LyX copies the file to the temp 
directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window "behind" LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
Sorry i should qualify this is only a problem if i wish to look at a 
formatted output (dvi pdf or ps).  If i export the latex it works fine.

Geoff
On Wed, 6 Apr 2005, Geoffrey Lloyd wrote:
The fact that the drive letter (and colon) appear twice is also quite odd. 
Is the trailing part of the path (public.gmane.org) really part of the path 
to the target file?  It's also odd that the path would start in the 
temporary buffer directory -- if you use Insert -> Include File, even 
pointing to a file in another directory, I don't think LyX copies the file 
to the temp directory.

Can you post the full error message, plus the correct path to the target?
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
Are you finding the target by browsing, or typing in the path directly?
The same happens whether I type the path, with / or \, or if I browse.
Does the DOS window "behind" LyX report anything useful?
No information in the DOS window.


Re: Include files

2005-04-06 Thread Michael Wojcik
Geoffrey Lloyd wrote:
The path to the target is c:\lyxfiles\thesis\ch3.lyx
The full error message is
--
Error: Cannot open file:
C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
Invalid arguement
--
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification ("c:/") is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
"/lyxfiles/thesis/ch3.tex"?

(And is "argument" actually misspelled in the error message?  I really 
must download the source so I can start submitting patches.  This is 
just the sort of thing that the main developers never get around to 
because it's not a showstopper for anyone, but is trivial to fix, so 
it's ideal for a community-contributed patch.)

--
Michael Wojcik


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Wojcik <[EMAIL PROTECTED]> writes:

Michael> Geoffrey Lloyd wrote:
>> The path to the target is c:\lyxfiles\thesis\ch3.lyx The full error
>> message is -- Error: Cannot open file:
>> C:/lyx/tmp/lyx_tmpdir3780a04072/lyx_tmpbuf0/c:/lyxfiles/thesis/ch3.tex
>> Invalid arguement --

Michael> This looks to me like a simple case of LyX not recognizing
Michael> that a path which starts with a drive letter specification
Michael> ("c:/") is an absolute path and not a relative one.

No, this is normal, because the ch3.tex file is generated by LyX in
the tmp path. What is probably not good is that the second ':' should
be changed to '@' too.

Michael> (And is "argument" actually misspelled in the error message?

I do not think so. I did not find this string in lyx source, anyway.

JMarc


Re: Include files

2005-04-06 Thread Geoffrey Lloyd
This looks to me like a simple case of LyX not recognizing that a path which 
starts with a drive letter specification ("c:/") is an absolute path and not 
a relative one.

Could you try without the drive letter, that is setting the target to 
"/lyxfiles/thesis/ch3.tex"?
The solution! If i just remove the "c:/" i can include files from 
anywhere.

Many thanks to everyone for their help.
And yes I can't spell arguement(sic)


Re: Include files

2005-04-06 Thread Jean-Marc Lasgouttes
>>>>> "Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes:

>>  This looks to me like a simple case of LyX not recognizing that a
>> path which starts with a drive letter specification ("c:/") is an
>> absolute path and not a relative one.
>> 
>> Could you try without the drive letter, that is setting the target
>> to "/lyxfiles/thesis/ch3.tex"?

Geoffrey> The solution! If i just remove the "c:/" i can include files
Geoffrey> from anywhere.

Note that it is better in general to input the file names as relative
to where the master file is. So if you have
  c:\lyxfiles\thesis\thesis.lyx
  c:\lyxfiles\thesis\ch3.lyx
just include "ch3.lyx" in thesis.lyx.

JMarc



Re: Include files

2005-04-06 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
This looks to me like a simple case of LyX not recognizing that a path 
which starts with a drive letter specification ("c:/") is an absolute 
path and not a relative one.

Could you try without the drive letter, that is setting the target to 
"/lyxfiles/thesis/ch3.tex"?

The solution! If i just remove the "c:/" i can include files from anywhere.
Hmm.  I can reproduce the error (using LyX 1.3.5 on Win XP Pro), but 
with a different proximate cause and fix.  I have no trouble including a 
file with an absolute path (including drive letter) if I specify the 
path either by using the browse button in the dialog (which brings the 
path in with "/" separators) or if I type it in with "/" separators.  If 
I type it in with "\" separators, though, I get Geoffrey's error message.

So I suspect it's not the driver letter but the Unix v. Windows path 
separators at fault.

-- Paul


Re: Include files

2005-04-05 Thread Georg Baum
Geoffrey Lloyd wrote:

 I get the following message when i do anything but include form the same
 directory
 
 Error: Cannot open file:
 
 C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
 Invalid arguement
 
 Somewhere it must be converting / to @ or some such

Strange. Maybe it converts \ to @? Unfortunately I can't help any further
because I have no LyX + development environment setup on windows.


Georg



Re: Include files

2005-04-05 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
The fact that the drive letter (and colon) appear twice is also quite 
odd.  Is the trailing part of the path (public.gmane.org) really part of 
the path to the target file?  It's also odd that the path would start in 
the temporary buffer directory -- if you use Insert - Include File, 
even pointing to a file in another directory, I don't think LyX copies 
the file to the temp directory.

Can you post the full error message, plus the correct path to the target?
Are you finding the target by browsing, or typing in the path directly?
Does the DOS window behind LyX report anything useful?  (If you don't 
have the DOS window, try running LyX with the -dbg 262145 switch in the 
command line and see what happens.)

-- Paul


Re: Include files

2005-04-05 Thread Georg Baum
Geoffrey Lloyd wrote:

 I get the following message when i do anything but include form the same
 directory
 
 Error: Cannot open file:
 
 C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
 Invalid arguement
 
 Somewhere it must be converting / to @ or some such

Strange. Maybe it converts \ to @? Unfortunately I can't help any further
because I have no LyX + development environment setup on windows.


Georg



Re: Include files

2005-04-05 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
The fact that the drive letter (and colon) appear twice is also quite 
odd.  Is the trailing part of the path (public.gmane.org) really part of 
the path to the target file?  It's also odd that the path would start in 
the temporary buffer directory -- if you use Insert - Include File, 
even pointing to a file in another directory, I don't think LyX copies 
the file to the temp directory.

Can you post the full error message, plus the correct path to the target?
Are you finding the target by browsing, or typing in the path directly?
Does the DOS window behind LyX report anything useful?  (If you don't 
have the DOS window, try running LyX with the -dbg 262145 switch in the 
command line and see what happens.)

-- Paul


Re: Include files

2005-04-05 Thread Georg Baum
Geoffrey Lloyd wrote:

> I get the following message when i do anything but include form the same
> directory
> 
> Error: Cannot open file:
> 
> C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
> Invalid arguement
> 
> Somewhere it must be converting / to @ or some such

Strange. Maybe it converts \ to @? Unfortunately I can't help any further
because I have no LyX + development environment setup on windows.


Georg



Re: Include files

2005-04-05 Thread Paul A. Rubin
Geoffrey Lloyd wrote:
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
The fact that the drive letter (and colon) appear twice is also quite 
odd.  Is the trailing part of the path (public.gmane.org) really part of 
the path to the target file?  It's also odd that the path would start in 
the temporary buffer directory -- if you use Insert -> Include File, 
even pointing to a file in another directory, I don't think LyX copies 
the file to the temp directory.

Can you post the full error message, plus the correct path to the target?
Are you finding the target by browsing, or typing in the path directly?
Does the DOS window "behind" LyX report anything useful?  (If you don't 
have the DOS window, try running LyX with the -dbg 262145 switch in the 
command line and see what happens.)

-- Paul


Include files

2005-04-04 Thread Geoffrey Lloyd
Hi
I am using the Include file tool and wondered whether it was possible to 
include files that are not in the same directory as the Main file.  At 
present i can only get it to work if all the files are in the same 
directory.

Anyone know a work around for this
Geoff


Re: Include files

2005-04-04 Thread Jean-Marc Lasgouttes
 Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes:

Geoffrey Hi I am using the Include file tool and wondered whether it
Geoffrey was possible to include files that are not in the same
Geoffrey directory as the Main file. At present i can only get it to
Geoffrey work if all the files are in the same directory.

Hello,

It is supposed to work with LyX =1.3.5.

JMarc


Re: Include files

2005-04-04 Thread Geoffrey Lloyd
Hello,
It is supposed to work with LyX =1.3.5.
I am using 1.3.5 on windows and it doesnt seem to work.
JMarc


Re: Include files

2005-04-04 Thread Georg Baum
Geoffrey Lloyd wrote:

 Hi
 
 I am using the Include file tool and wondered whether it was possible to
 include files that are not in the same directory as the Main file.  At
 present i can only get it to work if all the files are in the same
 directory.

This should be possible, using either relative or absolute file names. Which
version of LyX do you run? Older 1.3 releases had a bug, but it is fixed at
least in 1.3.5.

Please describe the problem more detailed if it does not work for you with
LyX 1.3.5.


Georg



Re: Include files

2005-04-04 Thread Geoffrey Lloyd
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
On Mon, 4 Apr 2005, Rob S wrote:
Geoffrey Lloyd wrote:
Hello,
It is supposed to work with LyX =1.3.5.

I am using 1.3.5 on windows and it doesnt seem to work.

I'm not seeing this Geoff. I can include files from other drives let alone 
local directories.

What is your dir naming structure -  avoid addresses with spaces.
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Include files

2005-04-04 Thread Geoffrey Lloyd
Hi
I am using the Include file tool and wondered whether it was possible to 
include files that are not in the same directory as the Main file.  At 
present i can only get it to work if all the files are in the same 
directory.

Anyone know a work around for this
Geoff


Re: Include files

2005-04-04 Thread Jean-Marc Lasgouttes
 Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes:

Geoffrey Hi I am using the Include file tool and wondered whether it
Geoffrey was possible to include files that are not in the same
Geoffrey directory as the Main file. At present i can only get it to
Geoffrey work if all the files are in the same directory.

Hello,

It is supposed to work with LyX =1.3.5.

JMarc


Re: Include files

2005-04-04 Thread Geoffrey Lloyd
Hello,
It is supposed to work with LyX =1.3.5.
I am using 1.3.5 on windows and it doesnt seem to work.
JMarc


Re: Include files

2005-04-04 Thread Georg Baum
Geoffrey Lloyd wrote:

 Hi
 
 I am using the Include file tool and wondered whether it was possible to
 include files that are not in the same directory as the Main file.  At
 present i can only get it to work if all the files are in the same
 directory.

This should be possible, using either relative or absolute file names. Which
version of LyX do you run? Older 1.3 releases had a bug, but it is fixed at
least in 1.3.5.

Please describe the problem more detailed if it does not work for you with
LyX 1.3.5.


Georg



Re: Include files

2005-04-04 Thread Geoffrey Lloyd
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
On Mon, 4 Apr 2005, Rob S wrote:
Geoffrey Lloyd wrote:
Hello,
It is supposed to work with LyX =1.3.5.

I am using 1.3.5 on windows and it doesnt seem to work.

I'm not seeing this Geoff. I can include files from other drives let alone 
local directories.

What is your dir naming structure -  avoid addresses with spaces.
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Include files

2005-04-04 Thread Geoffrey Lloyd
Hi
I am using the Include file tool and wondered whether it was possible to 
include files that are not in the same directory as the Main file.  At 
present i can only get it to work if all the files are in the same 
directory.

Anyone know a work around for this
Geoff


Re: Include files

2005-04-04 Thread Jean-Marc Lasgouttes
>>>>> "Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes:

Geoffrey> Hi I am using the Include file tool and wondered whether it
Geoffrey> was possible to include files that are not in the same
Geoffrey> directory as the Main file. At present i can only get it to
Geoffrey> work if all the files are in the same directory.

Hello,

It is supposed to work with LyX >=1.3.5.

JMarc


Re: Include files

2005-04-04 Thread Geoffrey Lloyd
Hello,
It is supposed to work with LyX >=1.3.5.
I am using 1.3.5 on windows and it doesnt seem to work.
JMarc


Re: Include files

2005-04-04 Thread Georg Baum
Geoffrey Lloyd wrote:

> Hi
> 
> I am using the Include file tool and wondered whether it was possible to
> include files that are not in the same directory as the Main file.  At
> present i can only get it to work if all the files are in the same
> directory.

This should be possible, using either relative or absolute file names. Which
version of LyX do you run? Older 1.3 releases had a bug, but it is fixed at
least in 1.3.5.

Please describe the problem more detailed if it does not work for you with
LyX 1.3.5.


Georg



Re: Include files

2005-04-04 Thread Geoffrey Lloyd
I get the following message when i do anything but include form the same 
directory

Error: Cannot open file:
C:/lyx/tmp//c:@[EMAIL PROTECTED]@ch3.tex
Invalid arguement
Somewhere it must be converting / to @ or some such
Geoff
On Mon, 4 Apr 2005, Rob S wrote:
Geoffrey Lloyd wrote:
Hello,
It is supposed to work with LyX >=1.3.5.

I am using 1.3.5 on windows and it doesnt seem to work.

I'm not seeing this Geoff. I can include files from other drives let alone 
local directories.

What is your dir naming structure -  avoid addresses with spaces.
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: include files

2001-03-29 Thread Herbert Voss

Wolfgang Engelmann wrote:
 
 How do I separate a book manuscript into different include files?
 
 I should have done it from the very begin, but I didnt.
 After having included many figures it became difficult to handle the fine
 tuning of figure sizes, figure positions, etc since it takes quite some time
 to reload the dvi preview
 
 What is the best way to do it in the present stage?

I do it in my way:

take the original document and do a "file-save", for example as chapter
1
than i delete all what's not chapter 1. than i reload the original
document and do the same as often I need it. all new include files
have now the same preamble.

at least insert in the main document the include-commands.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: include files

2001-03-29 Thread Herbert Voss

  to reload the dvi preview
 
  What is the best way to do it in the present stage?
 
 I do it in my way:
 
 take the original document and do a "file-save", for example as chapter

sorry, i meant "file-save as" ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: include files

2001-03-29 Thread Thomas Templin

Am Donnerstag, 29. Mrz 2001 01:53 schrieben Sie:
 How do I separate a book manuscript into different include files?
 Example as it is now:

 Title, Table of contents, list of figures, list of tables and
 Introduction chapter 1
 chapter 2

 chapter 19

 I want it in file 1 `Introduction with
 include file (chapter 1)
 include file (chapter 2)

 include file (chapter 19)

 and create files to be included as
 e-introduction.lyx
 e-chapter1.lyx
 .
 e-chapter19.lyx

Save your document with:
LyXmenu  File  Save as  Chapter_01.lyx
delete everything eccept your Chapter 1
... loop until last Chapter

Open your base Document, go to the first chapter and do:
LyXMenu  Include  Include File  Chapter_01.lyx
... loop until last chapter

Thats it.
All files have the same document layout and LaTeX preamble.

-
German :

Stammdatei sichern  mit:
LyxMen  Datei  Speichern unter  Kapitel_01.lyx
... weiter bis letztes Kapitel

Stammdatei ffnen, gehe an die Position des ersten Kapitels und 
fge mit:
LyXMen  Einfgen  Include Datei  Kapitel_01.lyx
... weiter bis letztes Kapitel
Das wars.

Alle Dateien haben die selben Dokumentlayouts, da alle aus dem 
gleichen Dokument abgeleitet wurden. Der LaTeX Vorspann ist auch 
immer gleich.

Tschss,
Thomas
-- 
Thomas Templin
Postfach 2519
26365 Wilhelmshaven



Re: include files

2001-03-29 Thread Herbert Voss

Wolfgang Engelmann wrote:
 
 How do I separate a book manuscript into different include files?
 
 I should have done it from the very begin, but I didnt.
 After having included many figures it became difficult to handle the fine
 tuning of figure sizes, figure positions, etc since it takes quite some time
 to reload the dvi preview
 
 What is the best way to do it in the present stage?

I do it in my way:

take the original document and do a "file-save", for example as chapter
1
than i delete all what's not chapter 1. than i reload the original
document and do the same as often I need it. all new include files
have now the same preamble.

at least insert in the main document the include-commands.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: include files

2001-03-29 Thread Herbert Voss

  to reload the dvi preview
 
  What is the best way to do it in the present stage?
 
 I do it in my way:
 
 take the original document and do a "file-save", for example as chapter

sorry, i meant "file-save as" ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: include files

2001-03-29 Thread Thomas Templin

Am Donnerstag, 29. Mrz 2001 01:53 schrieben Sie:
 How do I separate a book manuscript into different include files?
 Example as it is now:

 Title, Table of contents, list of figures, list of tables and
 Introduction chapter 1
 chapter 2

 chapter 19

 I want it in file 1 `Introduction with
 include file (chapter 1)
 include file (chapter 2)

 include file (chapter 19)

 and create files to be included as
 e-introduction.lyx
 e-chapter1.lyx
 .
 e-chapter19.lyx

Save your document with:
LyXmenu  File  Save as  Chapter_01.lyx
delete everything eccept your Chapter 1
... loop until last Chapter

Open your base Document, go to the first chapter and do:
LyXMenu  Include  Include File  Chapter_01.lyx
... loop until last chapter

Thats it.
All files have the same document layout and LaTeX preamble.

-
German :

Stammdatei sichern  mit:
LyxMen  Datei  Speichern unter  Kapitel_01.lyx
... weiter bis letztes Kapitel

Stammdatei ffnen, gehe an die Position des ersten Kapitels und 
fge mit:
LyXMen  Einfgen  Include Datei  Kapitel_01.lyx
... weiter bis letztes Kapitel
Das wars.

Alle Dateien haben die selben Dokumentlayouts, da alle aus dem 
gleichen Dokument abgeleitet wurden. Der LaTeX Vorspann ist auch 
immer gleich.

Tschss,
Thomas
-- 
Thomas Templin
Postfach 2519
26365 Wilhelmshaven



Re: include files

2001-03-29 Thread Herbert Voss

Wolfgang Engelmann wrote:
> 
> How do I separate a book manuscript into different include files?
> 
> I should have done it from the very begin, but I didn´t.
> After having included many figures it became difficult to handle the fine
> tuning of figure sizes, figure positions, etc since it takes quite some time
> to reload the dvi preview
> 
> What is the best way to do it in the present stage?

I do it in my way:

take the original document and do a "file->save", for example as chapter
1
than i delete all what's not chapter 1. than i reload the original
document and do the same as often I need it. all new include files
have now the same preamble.

at least insert in the main document the include-commands.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: include files

2001-03-29 Thread Herbert Voss

> > to reload the dvi preview
> >
> > What is the best way to do it in the present stage?
> 
> I do it in my way:
> 
> take the original document and do a "file->save", for example as chapter

sorry, i meant "file->save as" ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: include files

2001-03-29 Thread Thomas Templin

Am Donnerstag, 29. März 2001 01:53 schrieben Sie:
> How do I separate a book manuscript into different include files?
> Example as it is now:
>
> Title, Table of contents, list of figures, list of tables and
> Introduction chapter 1
> chapter 2

> chapter 19

> I want it in file 1 `Introduction´ with
> include file (chapter 1)
> include file (chapter 2)

> include file (chapter 19)
>
> and create files to be included as
> e-introduction.lyx
> e-chapter1.lyx
> .
> e-chapter19.lyx

Save your document with:
LyXmenu > File > Save as > Chapter_01.lyx
delete everything eccept your Chapter 1
... loop until last Chapter

Open your base Document, go to the first chapter and do:
LyXMenu > Include > Include File > Chapter_01.lyx
... loop until last chapter

Thats it.
All files have the same document layout and LaTeX preamble.

-
German :

Stammdatei sichern  mit:
LyxMenü > Datei > Speichern unter > Kapitel_01.lyx
... weiter bis letztes Kapitel

Stammdatei öffnen, gehe an die Position des ersten Kapitels und 
füge mit:
LyXMenü > Einfügen > Include Datei > Kapitel_01.lyx
... weiter bis letztes Kapitel
Das wars.

Alle Dateien haben die selben Dokumentlayouts, da alle aus dem 
gleichen Dokument abgeleitet wurden. Der LaTeX Vorspann ist auch 
immer gleich.

Tschüss,
Thomas
-- 
Thomas Templin
Postfach 2519
26365 Wilhelmshaven



include files

2001-03-28 Thread Wolfgang Engelmann

How do I separate a book manuscript into different include files?

I should have done it from the very begin, but I didnt.
After having included many figures it became difficult to handle the fine 
tuning of figure sizes, figure positions, etc since it takes quite some time 
to reload the dvi preview 

What is the best way to do it in the present stage?

Example as it is now:

Title, Table of contents, list of figures, list of tables and Introduction
chapter 1
chapter 2
.
.
.
.
chapter 19

in one file

I want it in file 1 `Introduction with 
include file (chapter 1)
include file (chapter 2)
.
.
.
.
include file (chapter 19)

and create files to be included as 
e-introduction.lyx
e-chapter1.lyx
.
.
.
e-chapter19.lyx

how do I create those files from the existing file containing the whole book 

especially:
how do I keep the document class, style etc, 

that is, should I first create  template files with these requirements, and 
paste the different chapter contents into it? Will the book-chapter structure 
be kept?

Is there a better method than cut and paste the chapters? 

I guess the references are taken care of allright.

Before experimenting I thought somebody has experience and could give me a 
quick advice. I would appreciate it. 

Wolfgang Engelmann














include files

2001-03-28 Thread Wolfgang Engelmann

How do I separate a book manuscript into different include files?

I should have done it from the very begin, but I didnt.
After having included many figures it became difficult to handle the fine 
tuning of figure sizes, figure positions, etc since it takes quite some time 
to reload the dvi preview 

What is the best way to do it in the present stage?

Example as it is now:

Title, Table of contents, list of figures, list of tables and Introduction
chapter 1
chapter 2
.
.
.
.
chapter 19

in one file

I want it in file 1 `Introduction with 
include file (chapter 1)
include file (chapter 2)
.
.
.
.
include file (chapter 19)

and create files to be included as 
e-introduction.lyx
e-chapter1.lyx
.
.
.
e-chapter19.lyx

how do I create those files from the existing file containing the whole book 

especially:
how do I keep the document class, style etc, 

that is, should I first create  template files with these requirements, and 
paste the different chapter contents into it? Will the book-chapter structure 
be kept?

Is there a better method than cut and paste the chapters? 

I guess the references are taken care of allright.

Before experimenting I thought somebody has experience and could give me a 
quick advice. I would appreciate it. 

Wolfgang Engelmann














include files

2001-03-28 Thread Wolfgang Engelmann

How do I separate a book manuscript into different include files?

I should have done it from the very begin, but I didn´t.
After having included many figures it became difficult to handle the fine 
tuning of figure sizes, figure positions, etc since it takes quite some time 
to reload the dvi preview 

What is the best way to do it in the present stage?

Example as it is now:

Title, Table of contents, list of figures, list of tables and Introduction
chapter 1
chapter 2
.
.
.
.
chapter 19

in one file

I want it in file 1 `Introduction´ with 
include file (chapter 1)
include file (chapter 2)
.
.
.
.
include file (chapter 19)

and create files to be included as 
e-introduction.lyx
e-chapter1.lyx
.
.
.
e-chapter19.lyx

how do I create those files from the existing file containing the whole book 

especially:
how do I keep the document class, style etc, 

that is, should I first create  template files with these requirements, and 
paste the different chapter contents into it? Will the book-chapter structure 
be kept?

Is there a better method than cut and paste the chapters? 

I guess the references are taken care of allright.

Before experimenting I thought somebody has experience and could give me a 
quick advice. I would appreciate it. 

Wolfgang Engelmann














Re: include files

2000-03-07 Thread Jean-Marc Lasgouttes

 "Wolfgang" == Wolfgang Riedel [EMAIL PROTECTED] writes:

Wolfgang Hi, I´ve a nice lyx file which includes some other lyx files
Wolfgang (via \inlude). If I´d modified something in this subfiles
Wolfgang and want to look at the resulting dvi (new dvi window or
Wolfgang refreshed old one) then I see, that the batch latex process
Wolfgang was *not* started. That means, I see the old text again. Is
Wolfgang it correct? Can I configure the right behaviour? I use
Wolfgang lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

This bug has been corrected in later LyX versions. Upgrade to lyx
1.1.4fix1.

JMarc



Re: include files

2000-03-07 Thread Jean-Marc Lasgouttes

 "Wolfgang" == Wolfgang Riedel [EMAIL PROTECTED] writes:

Wolfgang Hi, I´ve a nice lyx file which includes some other lyx files
Wolfgang (via \inlude). If I´d modified something in this subfiles
Wolfgang and want to look at the resulting dvi (new dvi window or
Wolfgang refreshed old one) then I see, that the batch latex process
Wolfgang was *not* started. That means, I see the old text again. Is
Wolfgang it correct? Can I configure the right behaviour? I use
Wolfgang lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

This bug has been corrected in later LyX versions. Upgrade to lyx
1.1.4fix1.

JMarc



Re: include files

2000-03-07 Thread Jean-Marc Lasgouttes

> "Wolfgang" == Wolfgang Riedel <[EMAIL PROTECTED]> writes:

Wolfgang> Hi, I´ve a nice lyx file which includes some other lyx files
Wolfgang> (via \inlude). If I´d modified something in this subfiles
Wolfgang> and want to look at the resulting dvi (new dvi window or
Wolfgang> refreshed old one) then I see, that the batch latex process
Wolfgang> was *not* started. That means, I see the old text again. Is
Wolfgang> it correct? Can I configure the right behaviour? I use
Wolfgang> lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

This bug has been corrected in later LyX versions. Upgrade to lyx
1.1.4fix1.

JMarc



include files

2000-03-06 Thread Wolfgang Riedel

Hi,

I´ve a nice lyx file which includes some other lyx files (via \inlude).
If I´d modified something in this subfiles and want to look at the
resulting dvi (new dvi window or refreshed old one) then I see, that the
batch latex process was *not* started. That means, I see the old text
again. 
Is it correct? Can I configure the right behaviour?
I use lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

Regards,
Wolfgang
-- 
[EMAIL PROTECTED]



include files

2000-03-06 Thread Wolfgang Riedel

Hi,

I´ve a nice lyx file which includes some other lyx files (via \inlude).
If I´d modified something in this subfiles and want to look at the
resulting dvi (new dvi window or refreshed old one) then I see, that the
batch latex process was *not* started. That means, I see the old text
again. 
Is it correct? Can I configure the right behaviour?
I use lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

Regards,
Wolfgang
-- 
[EMAIL PROTECTED]



include files

2000-03-06 Thread Wolfgang Riedel

Hi,

I´ve a nice lyx file which includes some other lyx files (via \inlude).
If I´d modified something in this subfiles and want to look at the
resulting dvi (new dvi window or refreshed old one) then I see, that the
batch latex process was *not* started. That means, I see the old text
again. 
Is it correct? Can I configure the right behaviour?
I use lyx-1.0.3-1 (in german) at a redhat 6.0 linux box.

Regards,
Wolfgang
-- 
[EMAIL PROTECTED]