Re: lyxpipe

2018-07-23 Thread Wolfgang Engelmann

Am 28.03.2018 um 17:18 schrieb Richard Kimberly Heck:

On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:

I can't find lyxpipe in the .lyx path. I would like to use jabref's
lyx export.

First, check that you have set this properly in Tools> Preferences>
Paths. Note
that it may be a dotfile, in which case it is "hidden" unless you use
"ls -a".
how would the full filename be here? Could somebody kindly send the 
paths both for LyX and for Jabref? My is /home/we/lyxpipe

  But
you can make it whatever you want.

Also, make sure you set the lyxpipe location in jabref. It is under
Options> Preferences>
External Programs, then click "Settings for LyX/Kile" and enter the full
filename,

my is /home/we/lyxpipe

This is the error of LyX: verify that Lyx is running and that the 
lyxpipe is valid [/home/we/lyxpipe.in]At the bottom of the jabref 
bib-file I am told that the citation is pushed successfully to the lyx 
file, but it did not arrive there.

I tried also lyxpipe.in in Lyx as well as in Jabref - same error

Thanks, Richard, for your hint

Wolfgang


R





Re: lyxpipe

2018-07-21 Thread Jürgen Spitzmüller
Am Freitag, den 20.07.2018, 13:49 +0200 schrieb Wolfgang Engelmann:
> I have compiled lyx again:
> LyX Version 2.3.0
> (Samstag, 24. Februar 2018)
> Systemverzeichnis: /usr/local/share/lyx/
> Benutzerverzeichnis: ~/.lyx/
> Qt-Version (Laufzeit): 4.8.7
> Qt-Version (bei Erstellung): 4.8.7
> 
> In the user directory ~/.lyx/ all directories except the first 2
> (bind, cache) are empty. I guess, this shouldn't be so.

No, that's correct. The other directories are user directories reserved
for your own stuff.

Jürgen


>  I used .configure, make, and sudo make install. What might have been
> gone wrong?
> 
> Wolfgang

signature.asc
Description: This is a digitally signed message part


Re: lyxpipe works

2018-03-29 Thread Wolfgang Engelmann



Am 28.03.2018 um 19:36 schrieb Michael Berger:

Wolfgang,

this is how you may put your path to 'lyxpipe'

Michael


On 28.03.2018 19:22, Richard Kimberly Heck wrote:

On 03/28/2018 12:07 PM, Wolfgang Engelmann wrote:


Am 28.03.2018 um 17:18 schrieb Richard Kimberly Heck:

On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:

I can't find lyxpipe in the .lyx path. I would like to use jabref's
lyx export.

First, check that you have set this properly in Tools> Preferences>
Paths. Note that it may be a dotfile, in which case it is "hidden"
unless you use
"ls -a". But you can make it whatever you want.

Also, make sure you set the lyxpipe location in jabref. It is under
Options> Preferences>
External Programs, then click "Settings for LyX/Kile" and enter the 
full

filename.

ok, now I understand. I just have to create a file called lyxpipe with
nothing inside at the proper location and refer to it in the jabref
program. Thanks.

No. You need to tell LyX (in the preferences) where you want the pipes
to be, and
then LyX will create the pipes when it starts. You also need to tell
JabRef where
the pipes are. LyX needs to know where to read data from; JabRef needs
to know
where to write it to. You can use ~/.lyx/.lyxpipe if you like, which I
guess counts
as a default, or you can put the pipe elsewhere. It doesn't matter.

These are not normal files but "named pipes", for which see
 https://en.wikipedia.org/wiki/Named_pipe
This is one of many forms of inter-process communication.

Riki




Thanks to all who helped me to understand the lyx-pipe business. I 
prefer to push the citations into lyx from Jabref instead of selecting 
it inside lyx from the bib file.

Wolfgang
Wolfgang


Re: lyxpipe

2018-03-28 Thread Michael Berger

Wolfgang,

this is how you may put your path to 'lyxpipe'

Michael


On 28.03.2018 19:22, Richard Kimberly Heck wrote:

On 03/28/2018 12:07 PM, Wolfgang Engelmann wrote:


Am 28.03.2018 um 17:18 schrieb Richard Kimberly Heck:

On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:

I can't find lyxpipe in the .lyx path. I would like to use jabref's
lyx export.

First, check that you have set this properly in Tools> Preferences>
Paths. Note that it may be a dotfile, in which case it is "hidden"
unless you use
"ls -a". But you can make it whatever you want.

Also, make sure you set the lyxpipe location in jabref. It is under
Options> Preferences>
External Programs, then click "Settings for LyX/Kile" and enter the full
filename.
  

ok, now I understand. I just have to create a file called lyxpipe with
nothing inside at the proper location and refer to it in the jabref
program. Thanks.

No. You need to tell LyX (in the preferences) where you want the pipes
to be, and
then LyX will create the pipes when it starts. You also need to tell
JabRef where
the pipes are. LyX needs to know where to read data from; JabRef needs
to know
where to write it to. You can use ~/.lyx/.lyxpipe if you like, which I
guess counts
as a default, or you can put the pipe elsewhere. It doesn't matter.

These are not normal files but "named pipes", for which see
     https://en.wikipedia.org/wiki/Named_pipe
This is one of many forms of inter-process communication.

Riki






Re: lyxpipe

2018-03-28 Thread Richard Kimberly Heck
On 03/28/2018 12:07 PM, Wolfgang Engelmann wrote:
>
>
> Am 28.03.2018 um 17:18 schrieb Richard Kimberly Heck:
>> On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:
>>> I can't find lyxpipe in the .lyx path. I would like to use jabref's
>>> lyx export.
>> First, check that you have set this properly in Tools> Preferences>
>> Paths. Note that it may be a dotfile, in which case it is "hidden"
>> unless you use
>> "ls -a". But you can make it whatever you want.
>>
>> Also, make sure you set the lyxpipe location in jabref. It is under
>> Options> Preferences>
>> External Programs, then click "Settings for LyX/Kile" and enter the full
>> filename.
>>  
> ok, now I understand. I just have to create a file called lyxpipe with
> nothing inside at the proper location and refer to it in the jabref
> program. Thanks.

No. You need to tell LyX (in the preferences) where you want the pipes
to be, and
then LyX will create the pipes when it starts. You also need to tell
JabRef where
the pipes are. LyX needs to know where to read data from; JabRef needs
to know
where to write it to. You can use ~/.lyx/.lyxpipe if you like, which I
guess counts
as a default, or you can put the pipe elsewhere. It doesn't matter.

These are not normal files but "named pipes", for which see
    https://en.wikipedia.org/wiki/Named_pipe
This is one of many forms of inter-process communication.

Riki



Re: lyxpipe

2018-03-28 Thread Wolfgang Engelmann



Am 28.03.2018 um 17:18 schrieb Richard Kimberly Heck:

On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:

I can't find lyxpipe in the .lyx path. I would like to use jabref's
lyx export.

First, check that you have set this properly in Tools> Preferences>
Paths. Note
that it may be a dotfile, in which case it is "hidden" unless you use
"ls -a". But
you can make it whatever you want.

Also, make sure you set the lyxpipe location in jabref. It is under
Options> Preferences>
External Programs, then click "Settings for LyX/Kile" and enter the full
filename.

R
ok, now I understand. I just have to create a file called lyxpipe with 
nothing inside at the proper location and refer to it in the jabref 
program. Thanks.

Wolfgang


Re: lyxpipe

2018-03-28 Thread Richard Kimberly Heck
On 03/28/2018 08:12 AM, Wolfgang Engelmann wrote:
> I can't find lyxpipe in the .lyx path. I would like to use jabref's
> lyx export.

First, check that you have set this properly in Tools> Preferences>
Paths. Note
that it may be a dotfile, in which case it is "hidden" unless you use
"ls -a". But
you can make it whatever you want.

Also, make sure you set the lyxpipe location in jabref. It is under
Options> Preferences>
External Programs, then click "Settings for LyX/Kile" and enter the full
filename.

R


Re: lyxpipe (LyX / Jabref)

2012-05-15 Thread Enrico Forestieri
On Tue, May 15, 2012 at 05:37:39PM +0200, Bernd Kappenberg wrote:

 Thanks, that did it!
 
 Bernd :)
 

You're welcome :)

-- 
Enrico


Re: lyxpipe (LyX / Jabref)

2012-05-15 Thread Enrico Forestieri
On Tue, May 15, 2012 at 05:37:39PM +0200, Bernd Kappenberg wrote:

 Thanks, that did it!
 
 Bernd :)
 

You're welcome :)

-- 
Enrico


Re: lyxpipe (LyX / Jabref)

2012-05-15 Thread Enrico Forestieri
On Tue, May 15, 2012 at 05:37:39PM +0200, Bernd Kappenberg wrote:

> Thanks, that did it!
> 
> Bernd :)
> 

You're welcome :)

-- 
Enrico


Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread Enrico Forestieri

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered \\.\pipe\lyxpipe under LyX...paths and
\\.\pipe\lyxpipe.in in Jabref  (external programmes/LyX-Kile).

However, I still get the answer check if LyX is running and if the
lyxpipe settings are correct.

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread UD
I am missing the point of this.  Is this aimed at bypassing the usual 
Insert/citation dialog?

EK

On 05/03/2012 05:20 PM, Enrico Forestieri wrote:

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered \\.\pipe\lyxpipe under LyX...paths and
\\.\pipe\lyxpipe.in in Jabref  (external programmes/LyX-Kile).

However, I still get the answer check if LyX is running and if the
lyxpipe settings are correct.

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread Enrico Forestieri

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered \\.\pipe\lyxpipe under LyX...paths and
\\.\pipe\lyxpipe.in in Jabref  (external programmes/LyX-Kile).

However, I still get the answer check if LyX is running and if the
lyxpipe settings are correct.

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread UD
I am missing the point of this.  Is this aimed at bypassing the usual 
Insert/citation dialog?

EK

On 05/03/2012 05:20 PM, Enrico Forestieri wrote:

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered \\.\pipe\lyxpipe under LyX...paths and
\\.\pipe\lyxpipe.in in Jabref  (external programmes/LyX-Kile).

However, I still get the answer check if LyX is running and if the
lyxpipe settings are correct.

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual  Computational Neuroscience
*Director*, Center for Excellence in Computational  Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural  Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread Enrico Forestieri

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered "\\.\pipe\lyxpipe" under LyX...paths and
"\\.\pipe\lyxpipe.in" in Jabref  (external programmes/LyX-Kile).

However, I still get the answer "check if LyX is running and if the
lyxpipe settings are correct".

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



Re: lyxpipe (LyX / Jabref)

2012-05-03 Thread UD
I am missing the point of this.  Is this aimed at bypassing the usual 
Insert/citation dialog?

EK

On 05/03/2012 05:20 PM, Enrico Forestieri wrote:

Bernd Kappenberg wrote:

Hello,

I am using LyX 2.0.3 / Jabref 2.7.2 / Windows 7.

I want to push data directly from Jabref to LyX.

I entered "\\.\pipe\lyxpipe" under LyX...paths and
"\\.\pipe\lyxpipe.in" in Jabref  (external programmes/LyX-Kile).

However, I still get the answer "check if LyX is running and if the
lyxpipe settings are correct".

What went wrong?


Use \\.\pipe\lyxpipe for both LyX and Jabref.



--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness/ Professor
*Director*, The laboratory of Visual & Computational Neuroscience
*Director*, Center for Excellence in Computational & Systems Neuroscience
/Friedman Brain Institute/
Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology,
The Mount Sinai School of Medicine
One Gustave Levy Place,
NY, NY, 10029


Re: lyxpipe, jabref and windows with LyX 1.5.1

2007-08-30 Thread Abdelrazak Younes

S. Teinturier wrote:

Hi everyone!

I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1).

When I try to insert a citation from JabRef to LyX document, through the 
direct icon LyX in JabRef, an error message appears about LyxPipe.


Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still 
valid for the LyX 1.5.1???


Yes, unfortunately.

Abdel.



Re: lyxpipe, jabref and windows with LyX 1.5.1

2007-08-30 Thread Abdelrazak Younes

S. Teinturier wrote:

Hi everyone!

I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1).

When I try to insert a citation from JabRef to LyX document, through the 
direct icon LyX in JabRef, an error message appears about LyxPipe.


Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still 
valid for the LyX 1.5.1???


Yes, unfortunately.

Abdel.



Re: lyxpipe, jabref and windows with LyX 1.5.1

2007-08-30 Thread Abdelrazak Younes

S. Teinturier wrote:

Hi everyone!

I've installed Lyx 1.5.1 and JabRef 2.3b (win XP SP1).

When I try to insert a citation from JabRef to LyX document, through the 
direct icon "LyX" in JabRef, an error message appears about LyxPipe.


Is the following message (2007-01-01, LyX 1.4.3-5 and JabRef 2.2b) still 
valid for the LyX 1.5.1???


Yes, unfortunately.

Abdel.



Re: Lyxpipe?

2006-02-16 Thread Georg Baum
Matthias Schmidt wrote:

 Hallo zusammen,
 
 ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.

The language of this list is englsh, so I'll answer in english.

 Diese Frage konnte ich auch über google etc. nicht für mich erklären:
 was ist die Lyx-pipe? Die wird gelegentlich erwähnt aber nirgends so
 richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
 Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
 externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
 Rechner nicht.

The LyX pipe is not available on windows. See
http://wiki.lyx.org/LyX/LyXServer for an explanation what you can do with
it.

 Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
 gefunden werden, wenn ich Zitate einfüge? Stil des
 Literaturverzeichnisses natbib mit angabe von Autor und Jahr.
 Zitatangabe im Text:
(author?) [1, S. 223]
 Literaturangabe im Literaturverzeichnis:
[2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
 Eckenhagen, 1953.

This is a completely different problem. You can insert citations also
without the LyX pipe. See http://wiki.lyx.org/BibTeX/BibTeX for BibTeX
related information.


Georg




Re: Lyxpipe?

2006-02-16 Thread Juergen Spitzmueller
Matthias Schmidt wrote:
 Hallo zusammen,

Hello (this is an English writing list).

 ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.

 Diese Frage konnte ich auch über google etc. nicht für mich erklären:
 was ist die Lyx-pipe? 

Basically, it's the interface which is used for communication of LyX with 
external programs. For instance, JabRef can pass citations directly to LyX 
that way.

 Die wird gelegentlich erwähnt aber nirgends so
 richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
 Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
 externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
 Rechner nicht.

AFAIK Windows does not feature pipes (except if you are using cygwin).

 Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
 gefunden werden, wenn ich Zitate einfüge? Stil des
 Literaturverzeichnisses natbib mit angabe von Autor und Jahr.
 Zitatangabe im Text:
    (author?) [1, S. 223]
 Literaturangabe im Literaturverzeichnis:
    [2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
 Eckenhagen, 1953.

If you are using LyX's own citation dialog, the pipe is not needed. This is a 
different problem (probably LaTeX does not find your bib file?)

HTH,
Jürgen


Re: Lyxpipe?

2006-02-16 Thread Georg Baum
Matthias Schmidt wrote:

 Hallo zusammen,
 
 ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.

The language of this list is englsh, so I'll answer in english.

 Diese Frage konnte ich auch über google etc. nicht für mich erklären:
 was ist die Lyx-pipe? Die wird gelegentlich erwähnt aber nirgends so
 richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
 Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
 externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
 Rechner nicht.

The LyX pipe is not available on windows. See
http://wiki.lyx.org/LyX/LyXServer for an explanation what you can do with
it.

 Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
 gefunden werden, wenn ich Zitate einfüge? Stil des
 Literaturverzeichnisses natbib mit angabe von Autor und Jahr.
 Zitatangabe im Text:
(author?) [1, S. 223]
 Literaturangabe im Literaturverzeichnis:
[2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
 Eckenhagen, 1953.

This is a completely different problem. You can insert citations also
without the LyX pipe. See http://wiki.lyx.org/BibTeX/BibTeX for BibTeX
related information.


Georg




Re: Lyxpipe?

2006-02-16 Thread Juergen Spitzmueller
Matthias Schmidt wrote:
 Hallo zusammen,

Hello (this is an English writing list).

 ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.

 Diese Frage konnte ich auch über google etc. nicht für mich erklären:
 was ist die Lyx-pipe? 

Basically, it's the interface which is used for communication of LyX with 
external programs. For instance, JabRef can pass citations directly to LyX 
that way.

 Die wird gelegentlich erwähnt aber nirgends so
 richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
 Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
 externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
 Rechner nicht.

AFAIK Windows does not feature pipes (except if you are using cygwin).

 Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
 gefunden werden, wenn ich Zitate einfüge? Stil des
 Literaturverzeichnisses natbib mit angabe von Autor und Jahr.
 Zitatangabe im Text:
    (author?) [1, S. 223]
 Literaturangabe im Literaturverzeichnis:
    [2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
 Eckenhagen, 1953.

If you are using LyX's own citation dialog, the pipe is not needed. This is a 
different problem (probably LaTeX does not find your bib file?)

HTH,
Jürgen


Re: Lyxpipe?

2006-02-16 Thread Georg Baum
Matthias Schmidt wrote:

> Hallo zusammen,
> 
> ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.

The language of this list is englsh, so I'll answer in english.

> Diese Frage konnte ich auch über google etc. nicht für mich erklären:
> was ist die Lyx-pipe? Die wird gelegentlich erwähnt aber nirgends so
> richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
> Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
> externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
> Rechner nicht.

The LyX pipe is not available on windows. See
http://wiki.lyx.org/LyX/LyXServer for an explanation what you can do with
it.

> Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
> gefunden werden, wenn ich Zitate einfüge? Stil des
> Literaturverzeichnisses "natbib" mit angabe von Autor und Jahr.
> Zitatangabe im Text:
>"(author?) [1, S. 223]"
> Literaturangabe im Literaturverzeichnis:
>"[2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
> Eckenhagen, 1953."

This is a completely different problem. You can insert citations also
without the LyX pipe. See http://wiki.lyx.org/BibTeX/BibTeX for BibTeX
related information.


Georg




Re: Lyxpipe?

2006-02-16 Thread Juergen Spitzmueller
Matthias Schmidt wrote:
> Hallo zusammen,

Hello (this is an English writing list).

> ich arbeite mich zur Zeit in Lyx auf Windwos XP ein.
>
> Diese Frage konnte ich auch über google etc. nicht für mich erklären:
> was ist die Lyx-pipe? 

Basically, it's the interface which is used for communication of LyX with 
external programs. For instance, JabRef can pass citations directly to LyX 
that way.

> Die wird gelegentlich erwähnt aber nirgends so
> richtig erklärt: Gibts das auch in Windows (hab ich) oder nur in
> Linux? Im Bibtex-Programm JabRef nämlich ist als Pfad zu einem
> externen Programm Lyx-pipe angegeben, doch die finde ich auf meinem
> Rechner nicht.

AFAIK Windows does not feature pipes (except if you are using cygwin).

> Vielleicht hängt damit ja zusammen, dass in Lyx die Autorennamen nicht
> gefunden werden, wenn ich Zitate einfüge? Stil des
> Literaturverzeichnisses "natbib" mit angabe von Autor und Jahr.
> Zitatangabe im Text:
>    "(author?) [1, S. 223]"
> Literaturangabe im Literaturverzeichnis:
>    "[2] Oswald Gerhard. Eckenhagen und Denklingen ...  Selbstverlag,
> Eckenhagen, 1953."

If you are using LyX's own citation dialog, the pipe is not needed. This is a 
different problem (probably LaTeX does not find your bib file?)

HTH,
Jürgen


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Jean-Marc Lasgouttes
 Rob == Rob S [EMAIL PROTECTED] writes:

Rob Rob S wrote:

 
 
 Also, if someone can explain what TeXFiles.sh is intended to do
 since on windows XP it fails at line 1. (Herbert or Jean-Marc
 perhaps). I note no trouble without it though.
 
 
 By adding the path to lyx/bin manually at line 1 thus:
 
 #!/bin/sh
 
 to
 
 #!C:/lyx/bin/sh
 
 the now script works! It tells me:

Could you try to change the first line to (notice the space):
#! /bin/sh

 Indexing files of type cls Indexing files of type sty Indexing
 files of type bst
 
Rob For the record I now have three empty files in my .lyx folder

Rob bstFiles.lst etc.

 I guess that must mean something in the scheme of things.

These scripts are supposed to populate the lists of packages for the
ViewTeX Information dialog.

It would be interesting to run the scripts by hand and see why they
fail. I suspect this is because they rely on the program kpsewhich,
which here returns a list of all the files of a certain type known to
TeX. I am not sure what is the equivalent program for miktex.

JMarc


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Paul A. Rubin
Rob S wrote:
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S


I'm pretty sure that, possibly among other things, those are the lists 
you see when you click View - TeX information in LyX.  So what *do* you 
see there?  If you get a list of class/style/bst files, then presumably 
there are non-empty .lst files lurking somewhere.  If those lists are 
empty, then what happens when you insert a bibliography and try to 
select the BiBTeX style from the drop-down list?

FYI, my document root (Win XP) has three non-empty .lst files in it.
-- Paul


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Rob S
Jonathan;

  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web 
service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in 
JabRef
and to select a bibliography style. 

To get this working and also to be able to ViewTex information you 
need to:

1. Associate your .sh files with sh.exe (..\lyx\bin) Possibly not needed 
but doing so works!
2. Install GnuWin32 findutils.exe (the package setup) from

http://gnuwin32.sourceforge.net/packages/findutils.htm
3. Ensure the GnuWin32\bin directory is in you system PATH ahead of any 
Windows File

Rob S
with thanks to Jean-Marc and Paul Rubin for their help on this one.
I'll also add a note to the Wiki.


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Jean-Marc Lasgouttes
 Rob == Rob S [EMAIL PROTECTED] writes:

Rob Rob S wrote:

 
 
 Also, if someone can explain what TeXFiles.sh is intended to do
 since on windows XP it fails at line 1. (Herbert or Jean-Marc
 perhaps). I note no trouble without it though.
 
 
 By adding the path to lyx/bin manually at line 1 thus:
 
 #!/bin/sh
 
 to
 
 #!C:/lyx/bin/sh
 
 the now script works! It tells me:

Could you try to change the first line to (notice the space):
#! /bin/sh

 Indexing files of type cls Indexing files of type sty Indexing
 files of type bst
 
Rob For the record I now have three empty files in my .lyx folder

Rob bstFiles.lst etc.

 I guess that must mean something in the scheme of things.

These scripts are supposed to populate the lists of packages for the
ViewTeX Information dialog.

It would be interesting to run the scripts by hand and see why they
fail. I suspect this is because they rely on the program kpsewhich,
which here returns a list of all the files of a certain type known to
TeX. I am not sure what is the equivalent program for miktex.

JMarc


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Paul A. Rubin
Rob S wrote:
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S


I'm pretty sure that, possibly among other things, those are the lists 
you see when you click View - TeX information in LyX.  So what *do* you 
see there?  If you get a list of class/style/bst files, then presumably 
there are non-empty .lst files lurking somewhere.  If those lists are 
empty, then what happens when you insert a bibliography and try to 
select the BiBTeX style from the drop-down list?

FYI, my document root (Win XP) has three non-empty .lst files in it.
-- Paul


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Rob S
Jonathan;

  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web 
service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in 
JabRef
and to select a bibliography style. 

To get this working and also to be able to ViewTex information you 
need to:

1. Associate your .sh files with sh.exe (..\lyx\bin) Possibly not needed 
but doing so works!
2. Install GnuWin32 findutils.exe (the package setup) from

http://gnuwin32.sourceforge.net/packages/findutils.htm
3. Ensure the GnuWin32\bin directory is in you system PATH ahead of any 
Windows File

Rob S
with thanks to Jean-Marc and Paul Rubin for their help on this one.
I'll also add a note to the Wiki.


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Jean-Marc Lasgouttes
> "Rob" == Rob S <[EMAIL PROTECTED]> writes:

Rob> Rob S wrote:
>>
>>> 
>>> 
>>> Also, if someone can explain what TeXFiles.sh is intended to do
>>> since on windows XP it fails at line 1. (Herbert or Jean-Marc
>>> perhaps). I note no trouble without it though.
>> 
>> 
>> By adding the path to lyx/bin manually at line 1 thus:
>> 
>> #!/bin/sh
>> 
>> to
>> 
>> #!C:/lyx/bin/sh
>> 
>> the now script works! It tells me:

Could you try to change the first line to (notice the space):
#! /bin/sh

>> Indexing files of type cls Indexing files of type sty Indexing
>> files of type bst
>> 
Rob> For the record I now have three empty files in my .lyx folder

Rob> bstFiles.lst etc.

>> I guess that must mean something in the scheme of things.

These scripts are supposed to populate the lists of packages for the
View>TeX Information dialog.

It would be interesting to run the scripts by hand and see why they
fail. I suspect this is because they rely on the program kpsewhich,
which here returns a list of all the files of a certain type known to
TeX. I am not sure what is the equivalent program for miktex.

JMarc


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Paul A. Rubin
Rob S wrote:
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S


I'm pretty sure that, possibly among other things, those are the lists 
you see when you click View -> TeX information in LyX.  So what *do* you 
see there?  If you get a list of class/style/bst files, then presumably 
there are non-empty .lst files lurking somewhere.  If those lists are 
empty, then what happens when you insert a bibliography and try to 
select the BiBTeX style from the drop-down list?

FYI, my document root (Win XP) has three non-empty .lst files in it.
-- Paul


Re: lyxpipe and BibTeX in Windows XP

2004-09-13 Thread Rob S
Jonathan;

  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web 
service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in 
JabRef
and to select a bibliography style. 

To get this working and also to be able to View>>Tex information you 
need to:

1. Associate your .sh files with sh.exe (..\lyx\bin) Possibly not needed 
but doing so works!
2. Install GnuWin32 findutils.exe (the package setup) from

http://gnuwin32.sourceforge.net/packages/findutils.htm
3. Ensure the GnuWin32\bin directory is in you system PATH ahead of any 
Windows File

Rob S
with thanks to Jean-Marc and Paul Rubin for their help on this one.
I'll also add a note to the Wiki.


Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
 
Ok, this will hide it.
When the prompt appears to open with
Browse to /lyx/bin and select sh.exe
check the always use.. box
I hope that won't upset other .sh files!
Can someone correct this if need be. This method associates .sh files 
with sh.exe.

BTW This does not solve the error, just hides it!
Also, if someone can explain what TeXFiles.sh is intended to do since on 
windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I note no 
trouble without it though.

Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.
By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
I guess that must mean something in the scheme of things.
Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S




Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
 
Ok, this will hide it.
When the prompt appears to open with
Browse to /lyx/bin and select sh.exe
check the always use.. box
I hope that won't upset other .sh files!
Can someone correct this if need be. This method associates .sh files 
with sh.exe.

BTW This does not solve the error, just hides it!
Also, if someone can explain what TeXFiles.sh is intended to do since on 
windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I note no 
trouble without it though.

Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.
By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
I guess that must mean something in the scheme of things.
Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S




Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I 
get a
 
Ok, this will hide it.
When the prompt appears to "open with"
Browse to /lyx/bin and select sh.exe
check the "always use.." box
I hope that won't upset other .sh files!
Can someone correct this if need be. This method associates .sh files 
with sh.exe.

BTW This does not solve the error, just hides it!
Also, if someone can explain what TeXFiles.sh is intended to do since on 
windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I note no 
trouble without it though.

Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.
By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
I guess that must mean something in the scheme of things.
Rob S



Re: lyxpipe and BibTeX in Windows XP

2004-09-11 Thread Rob S
Rob S wrote:

 

Also, if someone can explain what TeXFiles.sh is intended to do since 
on windows XP it fails at line 1. (Herbert or Jean-Marc perhaps). I 
note no trouble without it though.

By adding the path to lyx/bin manually at line 1 thus:
#!/bin/sh
to
#!C:/lyx/bin/sh
the now script works! It tells me:
Indexing files of type cls
Indexing files of type sty
Indexing files of type bst
For the record I now have three empty files in my .lyx folder
bstFiles.lst
etc.
I guess that must mean something in the scheme of things.
Rob S




Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Rob S
Jonathan Fram wrote:
I am having trouble creating a lyx pipe in Windows XP.  My goal is to use
 

I'm not aware that this is possible in Windows - I watch with interest.
A related problem occurs when I insert a BiBTeX Reference (Insert-Lists 
TOC-BiBTeX Reference).  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in JabRef
and to select a bibliography style.  

This appears quite normally in XP but does not mess things in any way - 
just cancel it. (In ME it cancels instantly if my memory holds)

After that I can add references
(Insert-Citation Reference), so in a sense I don't need the lyx to JabRef
pipe, 

Correct, I find it very easy once the dialog box is filled in with the 
database name and the bib style

but I should be able to get the pipe working and I should be able to
use the BibTex Generated Reference without getting a strange error message.
 

Once you have specified the bib file and style file once and then saved 
the document you will not be bothered by this again.

Thanks in advance for your help,
-Jon
recent convert from MS Word
 

Rob S


Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Angus Leeming
Rob S wrote:
 Jonathan Fram wrote:
I am having trouble creating a lyx pipe in Windows XP.
 I'm not aware that this is possible in Windows - I watch with interest.

It isn't. The lyxserver uses a unix-only API.

-- 
Angus



Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Rob S
Jonathan Fram wrote:
I am having trouble creating a lyx pipe in Windows XP.  My goal is to use
 

I'm not aware that this is possible in Windows - I watch with interest.
A related problem occurs when I insert a BiBTeX Reference (Insert-Lists 
TOC-BiBTeX Reference).  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in JabRef
and to select a bibliography style.  

This appears quite normally in XP but does not mess things in any way - 
just cancel it. (In ME it cancels instantly if my memory holds)

After that I can add references
(Insert-Citation Reference), so in a sense I don't need the lyx to JabRef
pipe, 

Correct, I find it very easy once the dialog box is filled in with the 
database name and the bib style

but I should be able to get the pipe working and I should be able to
use the BibTex Generated Reference without getting a strange error message.
 

Once you have specified the bib file and style file once and then saved 
the document you will not be bothered by this again.

Thanks in advance for your help,
-Jon
recent convert from MS Word
 

Rob S


Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Angus Leeming
Rob S wrote:
 Jonathan Fram wrote:
I am having trouble creating a lyx pipe in Windows XP.
 I'm not aware that this is possible in Windows - I watch with interest.

It isn't. The lyxserver uses a unix-only API.

-- 
Angus



Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Rob S
Jonathan Fram wrote:
I am having trouble creating a lyx pipe in Windows XP.  My goal is to use
 

I'm not aware that this is possible in Windows - I watch with interest.
A related problem occurs when I insert a BiBTeX Reference (Insert->Lists &
TOC->BiBTeX Reference).  I get a message box saying 'Windows cannot open
this file: TeXFiles.sh ... What do you want to do? () Use the Web service to
find the appropriate program () Select the program from a list'. I can't
find an appropriate program for TeXFiles.sh.  After the message box I get a
BibTeX-Qt dialog which allows me to add the *.bib file I created in JabRef
and to select a bibliography style.  

This appears quite normally in XP but does not mess things in any way - 
just cancel it. (In ME it cancels instantly if my memory holds)

After that I can add references
(Insert->Citation Reference), so in a sense I don't need the lyx to JabRef
pipe, 

Correct, I find it very easy once the dialog box is filled in with the 
database name and the bib style

but I should be able to get the pipe working and I should be able to
use the BibTex Generated Reference without getting a strange error message.
 

Once you have specified the bib file and style file once and then saved 
the document you will not be bothered by this again.

Thanks in advance for your help,
-Jon
recent convert from MS Word
 

Rob S


Re: lyxpipe and BibTeX in Windows XP

2004-09-09 Thread Angus Leeming
Rob S wrote:
> Jonathan Fram wrote:
>>I am having trouble creating a lyx pipe in Windows XP.
> I'm not aware that this is possible in Windows - I watch with interest.

It isn't. The lyxserver uses a unix-only API.

-- 
Angus



Re: lyxpipe

2004-01-27 Thread Angus Leeming
Wolfgang Engelmann wrote:

 I startet incidently lyx as root. Removed the .lyx directory which
 was created.
 
 If I now try under my ~ to pipe references into lyx, pybliographic
 can't connect to lyx. Error is: no input pipe  /root/.lyx/lyxpipe.in
 
 However, the pybliographic setting for Lyxpipe is ~/.lyx/lyxpipe.
 
 I guess there is somewhere in a lyx setting the wrong path. Where?
 help is appreciated

Have a look at your .lyx/preferences file. 
1. It may be that it is now owned by root so that you can't alter it 
as a normal user.
2. The entry in question is a full path. Eg, my own is:
\serverpipe /home/angus/.lyx-1.4.x/server


-- 
Angus



Re: lyxpipe

2004-01-27 Thread Angus Leeming
Wolfgang Engelmann wrote:

 I startet incidently lyx as root. Removed the .lyx directory which
 was created.
 
 If I now try under my ~ to pipe references into lyx, pybliographic
 can't connect to lyx. Error is: no input pipe  /root/.lyx/lyxpipe.in
 
 However, the pybliographic setting for Lyxpipe is ~/.lyx/lyxpipe.
 
 I guess there is somewhere in a lyx setting the wrong path. Where?
 help is appreciated

Have a look at your .lyx/preferences file. 
1. It may be that it is now owned by root so that you can't alter it 
as a normal user.
2. The entry in question is a full path. Eg, my own is:
\serverpipe /home/angus/.lyx-1.4.x/server


-- 
Angus



Re: lyxpipe

2004-01-27 Thread Angus Leeming
Wolfgang Engelmann wrote:

> I startet incidently lyx as root. Removed the .lyx directory which
> was created.
> 
> If I now try under my ~ to pipe references into lyx, pybliographic
> can't connect to lyx. Error is: no input pipe  /root/.lyx/lyxpipe.in
> 
> However, the pybliographic setting for Lyxpipe is ~/.lyx/lyxpipe.
> 
> I guess there is somewhere in a lyx setting the wrong path. Where?
> help is appreciated

Have a look at your .lyx/preferences file. 
1. It may be that it is now owned by root so that you can't alter it 
as a normal user.
2. The entry in question is a full path. Eg, my own is:
\serverpipe "/home/angus/.lyx-1.4.x/server"


-- 
Angus



Re: lyxpipe refuses to die

2002-12-11 Thread Steven Homolya
Praedor Atrebates wrote:


I use pybliographic as my reference manager for lyx.  For it to work properly 
for me, I have to manually delete the lyxpipe.in and lyxpipe.out files in 
my ~/.lyx directory before starting a new lyx session in order to 
pybliographic to work.  The old lyxpipe entries remain from the last lyx 
session and starting lyx with them resident renders pybliographic unable to 
interface with lyx.

Is there an easy way to fix this behavior?  I am running lyx-1.2.0.


Yes. Upgrade or downgrade lyx.


Steve

--
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: lyxpipe refuses to die

2002-12-11 Thread Steven Homolya
Praedor Atrebates wrote:


I use pybliographic as my reference manager for lyx.  For it to work properly 
for me, I have to manually delete the lyxpipe.in and lyxpipe.out files in 
my ~/.lyx directory before starting a new lyx session in order to 
pybliographic to work.  The old lyxpipe entries remain from the last lyx 
session and starting lyx with them resident renders pybliographic unable to 
interface with lyx.

Is there an easy way to fix this behavior?  I am running lyx-1.2.0.


Yes. Upgrade or downgrade lyx.


Steve

--
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: lyxpipe refuses to die

2002-12-11 Thread Steven Homolya
Praedor Atrebates wrote:


I use pybliographic as my reference manager for lyx.  For it to work properly 
for me, I have to manually delete the lyxpipe.in and lyxpipe.out "files" in 
my ~/.lyx directory before starting a new lyx session in order to 
pybliographic to work.  The old lyxpipe entries remain from the last lyx 
session and starting lyx with them resident renders pybliographic unable to 
interface with lyx.

Is there an easy way to fix this behavior?  I am running lyx-1.2.0.


Yes. Upgrade or downgrade lyx.


Steve

--
Steven Homolya
School of Physics and Materials Engineering
Monash University VIC 3800
Australia
Tel: INT +61 3 9905 3694
Fax: INT +61 3 9905 3637




Re: lyxpipe

2000-09-15 Thread German Poo Caaman~o

On Fri, 15 Sep 2000, Herbert Voss wrote:
 #!/usr/bin/perl
 # voss /000915
 $User = "\x7e$ENV{'USER'}";   # get USER from env
 #print "$User/\n";
 if (-e "$User/.lyx/lyxpipe.in" || -e "$User/.lyx/lyxpipe.out") {
   print "delete pipefiles\n";
   system ("rm -f $User/.lyx/lyxpipe*");
 }
 else { print "no pipefiles\n"; }
 exec "/usr/bin/lyx -width 800 -height 950";

I would change the last line.  I prefer:

exec "/usr/bin/lyx @ARGV";

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: lyxpipe

2000-09-15 Thread German Poo Caaman~o

On Fri, 15 Sep 2000, Herbert Voss wrote:
 #!/usr/bin/perl
 # voss /000915
 $User = "\x7e$ENV{'USER'}";   # get USER from env
 #print "$User/\n";
 if (-e "$User/.lyx/lyxpipe.in" || -e "$User/.lyx/lyxpipe.out") {
   print "delete pipefiles\n";
   system ("rm -f $User/.lyx/lyxpipe*");
 }
 else { print "no pipefiles\n"; }
 exec "/usr/bin/lyx -width 800 -height 950";

I would change the last line.  I prefer:

exec "/usr/bin/lyx @ARGV";

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html




Re: lyxpipe

2000-09-15 Thread German Poo Caaman~o

On Fri, 15 Sep 2000, Herbert Voss wrote:
> #!/usr/bin/perl
> # voss /000915
> $User = "\x7e$ENV{'USER'}";   # get USER from env
> #print "$User/\n";
> if (-e "$User/.lyx/lyxpipe.in" || -e "$User/.lyx/lyxpipe.out") {
>   print "delete pipefiles\n";
>   system ("rm -f $User/.lyx/lyxpipe*");
> }
> else { print "no pipefiles\n"; }
> exec "/usr/bin/lyx -width 800 -height 950";

I would change the last line.  I prefer:

exec "/usr/bin/lyx @ARGV";

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html