Re: LyXWin not working on XP

2005-06-23 Thread Michael Wojcik

Paul A. Rubin wrote:

Rob S wrote:


More info please! subst??


subst (short for substitute) is an old DOS command that is still 
supported


Thanks for following up on this for me, Paul.  I've been travelling and 
have fallen behind on my personal email.


One additional note: if you open a command window and type help subst 
or subst /?, you'll get some usage information.


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-23 Thread Michael Wojcik

Paul A. Rubin wrote:

Rob S wrote:


More info please! subst??


subst (short for substitute) is an old DOS command that is still 
supported


Thanks for following up on this for me, Paul.  I've been travelling and 
have fallen behind on my personal email.


One additional note: if you open a command window and type help subst 
or subst /?, you'll get some usage information.


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-23 Thread Michael Wojcik

Paul A. Rubin wrote:

Rob S wrote:


More info please! subst??


subst (short for "substitute") is an old DOS command that is still 
supported


Thanks for following up on this for me, Paul.  I've been travelling and 
have fallen behind on my personal email.


One additional note: if you open a command window and type "help subst" 
or "subst /?", you'll get some usage information.


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-18 Thread Paul A. Rubin

Rob S wrote:


Quick Windows tip: rather than mapping a local network drive, try 
subst, which is faster (operates directly at the filesystem level - no 
SMB generation and parsing, no transfers through the loopback 
interface), cleaner, and safer (no unnecessarily-shared directory).  
You can make the subst command an autorun entry in the Registry so it 
takes effect every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that computer jargon literate.


Cheers

Rob S


subst (short for substitute) is an old DOS command that is still 
supported.  It allows you to assign a local drive letter to a directory. 
 In Ye Olde Days, I think the main use was to shorten path names, 
because the Windows environment was too tiny to allow long paths.  So 
(assuming you did not have an actual drive mapped to X:), you could use 
X: as shorthand for C:\this\that\the\other\thing.


Suppose that I have an urge to use LyX on files located in My 
Documents\Assorted Junk (note the spaces).  I can execute the command


subst X: C:\Documents and Settings\my.login\My Documents\Assorted Junk

and thereafter direct LyX to files in the X: root folder.  LyX can also 
access files in subdirectories, *provided* the subdirectory does not 
contain any spaces.  Thus LyX sees My Documents\Assorted 
Junk\file1.lyx as X:\file1.lyx and My Documents\Assorted 
Junk\exams\test1.lyx as X:\exams\test1.lyx, but good luck with My 
Documents\Assorted Junk\last night.lyx or My Documents\Assorted 
Junk\Weird Stuff\file3.lyx.


To undo the substitution, just issue subst X: /d at a command prompt.

Michael's correct that the substitution could be set up in the registry 
to be run automatically, but registry hacking is pretty intimidating to 
novices (and rightly so).  A perhaps easier solution is to add it to the 
Startup folder.  The steps for Win XP (should be basically the same in 
Win 2K) are as follows:


1.  Right-click the Start button, click Open, double-click Programs and 
then Startup.


2.  Right-click on an empty part of the folder and select New - Shortcut.

3.  Where it asks for the location of the item, type cmd (no quotes) 
and click Next.


4.  Rename the shortcut to something mnemonic, such as Substitute X for 
My Docs (or Play with Fire).  Click Finish.


5.  Right-click the new icon in the Startup folder and click Properties. 
 In the target text box, *after* cmd.exe, add the following:


/C subst X: C:\Documents and Settings\myid\My Documents

(using whatever *unused* drive letter you like in lieu of X, changing 
myid to your log-in id, and extending the path as desired.


6.  Test it by double-clicking the shortcut.  A command window should 
open and immediately close again.  Now see if you can navigate to X: in 
Windows Explorer, or from a command prompt, or in LyX.


-- Paul



Re: LyXWin not working on XP

2005-06-18 Thread Paul A. Rubin

Rob S wrote:


Quick Windows tip: rather than mapping a local network drive, try 
subst, which is faster (operates directly at the filesystem level - no 
SMB generation and parsing, no transfers through the loopback 
interface), cleaner, and safer (no unnecessarily-shared directory).  
You can make the subst command an autorun entry in the Registry so it 
takes effect every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that computer jargon literate.


Cheers

Rob S


subst (short for substitute) is an old DOS command that is still 
supported.  It allows you to assign a local drive letter to a directory. 
 In Ye Olde Days, I think the main use was to shorten path names, 
because the Windows environment was too tiny to allow long paths.  So 
(assuming you did not have an actual drive mapped to X:), you could use 
X: as shorthand for C:\this\that\the\other\thing.


Suppose that I have an urge to use LyX on files located in My 
Documents\Assorted Junk (note the spaces).  I can execute the command


subst X: C:\Documents and Settings\my.login\My Documents\Assorted Junk

and thereafter direct LyX to files in the X: root folder.  LyX can also 
access files in subdirectories, *provided* the subdirectory does not 
contain any spaces.  Thus LyX sees My Documents\Assorted 
Junk\file1.lyx as X:\file1.lyx and My Documents\Assorted 
Junk\exams\test1.lyx as X:\exams\test1.lyx, but good luck with My 
Documents\Assorted Junk\last night.lyx or My Documents\Assorted 
Junk\Weird Stuff\file3.lyx.


To undo the substitution, just issue subst X: /d at a command prompt.

Michael's correct that the substitution could be set up in the registry 
to be run automatically, but registry hacking is pretty intimidating to 
novices (and rightly so).  A perhaps easier solution is to add it to the 
Startup folder.  The steps for Win XP (should be basically the same in 
Win 2K) are as follows:


1.  Right-click the Start button, click Open, double-click Programs and 
then Startup.


2.  Right-click on an empty part of the folder and select New - Shortcut.

3.  Where it asks for the location of the item, type cmd (no quotes) 
and click Next.


4.  Rename the shortcut to something mnemonic, such as Substitute X for 
My Docs (or Play with Fire).  Click Finish.


5.  Right-click the new icon in the Startup folder and click Properties. 
 In the target text box, *after* cmd.exe, add the following:


/C subst X: C:\Documents and Settings\myid\My Documents

(using whatever *unused* drive letter you like in lieu of X, changing 
myid to your log-in id, and extending the path as desired.


6.  Test it by double-clicking the shortcut.  A command window should 
open and immediately close again.  Now see if you can navigate to X: in 
Windows Explorer, or from a command prompt, or in LyX.


-- Paul



Re: LyXWin not working on XP

2005-06-18 Thread Paul A. Rubin

Rob S wrote:


Quick Windows tip: rather than mapping a local network drive, try 
subst, which is faster (operates directly at the filesystem level - no 
SMB generation and parsing, no transfers through the loopback 
interface), cleaner, and safer (no unnecessarily-shared directory).  
You can make the subst command an autorun entry in the Registry so it 
takes effect every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that "computer jargon" literate.


Cheers

Rob S


subst (short for "substitute") is an old DOS command that is still 
supported.  It allows you to assign a local drive letter to a directory. 
 In Ye Olde Days, I think the main use was to shorten path names, 
because the Windows environment was too tiny to allow long paths.  So 
(assuming you did not have an actual drive mapped to X:), you could use 
X: as shorthand for C:\this\that\the\other\thing.


Suppose that I have an urge to use LyX on files located in "My 
Documents\Assorted Junk" (note the spaces).  I can execute the command


subst X: "C:\Documents and Settings\my.login\My Documents\Assorted Junk"

and thereafter direct LyX to files in the X: root folder.  LyX can also 
access files in subdirectories, *provided* the subdirectory does not 
contain any spaces.  Thus LyX sees "My Documents\Assorted 
Junk\file1.lyx" as X:\file1.lyx and "My Documents\Assorted 
Junk\exams\test1.lyx" as X:\exams\test1.lyx, but good luck with "My 
Documents\Assorted Junk\last night.lyx" or "My Documents\Assorted 
Junk\Weird Stuff\file3.lyx".


To undo the substitution, just issue subst X: /d at a command prompt.

Michael's correct that the substitution could be set up in the registry 
to be run automatically, but registry hacking is pretty intimidating to 
novices (and rightly so).  A perhaps easier solution is to add it to the 
Startup folder.  The steps for Win XP (should be basically the same in 
Win 2K) are as follows:


1.  Right-click the Start button, click Open, double-click Programs and 
then Startup.


2.  Right-click on an empty part of the folder and select New -> Shortcut.

3.  Where it asks for the location of the item, type "cmd" (no quotes) 
and click Next.


4.  Rename the shortcut to something mnemonic, such as "Substitute X for 
My Docs" (or "Play with Fire").  Click Finish.


5.  Right-click the new icon in the Startup folder and click Properties. 
 In the target text box, *after* cmd.exe, add the following:


/C subst X: "C:\Documents and Settings\myid\My Documents"

(using whatever *unused* drive letter you like in lieu of X, changing 
myid to your log-in id, and extending the path as desired.


6.  Test it by double-clicking the shortcut.  A command window should 
open and immediately close again.  Now see if you can navigate to X: in 
Windows Explorer, or from a command prompt, or in LyX.


-- Paul



Re: LyXWin not working on XP

2005-06-16 Thread Michael Wojcik

Brian Williams wrote:


If it could deal with spaces in the user directory, surely it
wouldn't need that restriction?

The way I get around this is to map a local network drive (X:) to the
Documents and Settings directory so as to avoid having to create yet
another top level directory.


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.


(Personally, I don't use the Documents and Settings directory at all 
if I can help it.  I have a sensible user directory with a non-spacey path.)


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-16 Thread Rob S


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that computer jargon literate.


Cheers

Rob S
--


R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: LyXWin not working on XP

2005-06-16 Thread Michael Wojcik

Brian Williams wrote:


If it could deal with spaces in the user directory, surely it
wouldn't need that restriction?

The way I get around this is to map a local network drive (X:) to the
Documents and Settings directory so as to avoid having to create yet
another top level directory.


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.


(Personally, I don't use the Documents and Settings directory at all 
if I can help it.  I have a sensible user directory with a non-spacey path.)


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-16 Thread Rob S


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that computer jargon literate.


Cheers

Rob S
--


R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: LyXWin not working on XP

2005-06-16 Thread Michael Wojcik

Brian Williams wrote:


If it could deal with spaces in the user directory, surely it
wouldn't need that restriction?

The way I get around this is to map a local network drive (X:) to the
Documents and Settings directory so as to avoid having to create yet
another top level directory.


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.


(Personally, I don't use the "Documents and Settings" directory at all 
if I can help it.  I have a sensible user directory with a non-spacey path.)


--
Michael Wojcik




Re: LyXWin not working on XP

2005-06-16 Thread Rob S


Quick Windows tip: rather than mapping a local network drive, try subst, 
which is faster (operates directly at the filesystem level - no SMB 
generation and parsing, no transfers through the loopback interface), 
cleaner, and safer (no unnecessarily-shared directory).  You can make 
the subst command an autorun entry in the Registry so it takes effect 
every time you reboot.





More info please! subst??

Can provide a more detailed step by step method for this - it may help 
others, like myself, who are not that "computer jargon" literate.


Cheers

Rob S
--


R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: LyXWin not working on XP

2005-06-09 Thread lamikr
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika

Nicolás wrote:

I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit-Preferences-File formats, for PDF the viewer is 
acrobat.exe and for postcript is gsview32.exe


Be sure also that you have lyx_path\bin\ and 
lyx_path\share\lyx\ in the PATH before you run reconfigure


Hope it helps


David Boutillier wrote:


I am having difficulty getting LyXWin working properly.
 

1) I have followed the detailed notes for installing LyXWin on XP 
from the

LyX/WindowsSetup page of the LyX wiki-wiki.
 

2) I have opened LyX from a command window with the command lyx -dbg 
3. In

the command prompt window. Among the things produced on the screen are:
Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. 
Some of it

is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi 


n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] .
.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the 
search path.
I tried changing my PATH to include every folder with an .exe file 
that has

anything to do with LyX, but that hasn't seemed to make any difference.
 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user 
name, and
that got things mostly working, but when I try to export of view a 
.lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No 
information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a 
nearby
folder whose name does not contain any spaces. Also, when I export a 
.lyx
file as a .ps file, ghostview does not open, and I cannot control 
where the

.ps file goes. Is this to be expected?

 


Any help would be muchly appreciated.
 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 










Re: LyXWin not working on XP

2005-06-09 Thread Angus Leeming

lamikr wrote:
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika


It would be interesting to see if you have problems with LyX/Win 1.3.6pre, 
available at http://wiki.lyx.org/Windows/LyX136pre


Angus



Re: LyXWin not working on XP

2005-06-09 Thread lamikr
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika

Nicolás wrote:

I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit-Preferences-File formats, for PDF the viewer is 
acrobat.exe and for postcript is gsview32.exe


Be sure also that you have lyx_path\bin\ and 
lyx_path\share\lyx\ in the PATH before you run reconfigure


Hope it helps


David Boutillier wrote:


I am having difficulty getting LyXWin working properly.
 

1) I have followed the detailed notes for installing LyXWin on XP 
from the

LyX/WindowsSetup page of the LyX wiki-wiki.
 

2) I have opened LyX from a command window with the command lyx -dbg 
3. In

the command prompt window. Among the things produced on the screen are:
Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. 
Some of it

is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi 


n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] .
.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the 
search path.
I tried changing my PATH to include every folder with an .exe file 
that has

anything to do with LyX, but that hasn't seemed to make any difference.
 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user 
name, and
that got things mostly working, but when I try to export of view a 
.lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No 
information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a 
nearby
folder whose name does not contain any spaces. Also, when I export a 
.lyx
file as a .ps file, ghostview does not open, and I cannot control 
where the

.ps file goes. Is this to be expected?

 


Any help would be muchly appreciated.
 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 










Re: LyXWin not working on XP

2005-06-09 Thread Angus Leeming

lamikr wrote:
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika


It would be interesting to see if you have problems with LyX/Win 1.3.6pre, 
available at http://wiki.lyx.org/Windows/LyX136pre


Angus



Re: LyXWin not working on XP

2005-06-09 Thread lamikr
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika

Nicolás wrote:

I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit->Preferences->File formats, for PDF the viewer is 
"acrobat.exe" and for postcript is "gsview32.exe"


Be sure also that you have "\bin\" and 
"\share\lyx\" in the PATH before you run "reconfigure"


Hope it helps


David Boutillier wrote:


I am having difficulty getting LyXWin working properly.
 

1) I have followed the detailed notes for installing LyXWin on XP 
from the

LyX/WindowsSetup page of the LyX wiki-wiki.
 

2) I have opened LyX from a command window with the command lyx -dbg 
3. In

the command prompt window. Among the things produced on the screen are:
Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. 
Some of it

is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi 


n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] .
.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the 
search path.
I tried changing my PATH to include every folder with an .exe file 
that has

anything to do with LyX, but that hasn't seemed to make any difference.
 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\name>, and
that got things mostly working, but when I try to export of view a 
.lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No 
information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a 
nearby
folder whose name does not contain any spaces. Also, when I export a 
.lyx
file as a .ps file, ghostview does not open, and I cannot control 
where the

.ps file goes. Is this to be expected?

 


Any help would be muchly appreciated.
 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:   [EMAIL PROTECTED]

 










Re: LyXWin not working on XP

2005-06-09 Thread Angus Leeming

lamikr wrote:
I have also this same problem. And as the error box comes before Lyx 
really is fully started, it is impossible to get in the preferences dialog.

I will however try your other suggestions tomorrow.

Mika


It would be interesting to see if you have problems with LyX/Win 1.3.6pre, 
available at http://wiki.lyx.org/Windows/LyX136pre


Angus



Re: LyXWin not working on XP

2005-06-06 Thread Angus Leeming

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.



Any help would be muchly appreciated.


Muchly? :)

I don't think that I've ever seen the error that you appear to be reporting.

   configure: error: cannot find chkconfig.ltx script.

You should find this script at

   System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

If it is there then can you run

   $ dir \LaTeX\LyX\lyx\share\lyx
   $ latex chkconfig.ltx

???

One of the things that this will do is generate a little sed script, 
chkconfig.sed. Common versions of sed on Windows fail to work with this sed 
script because it contains DOS line endings rather than UNIX ones. So, 
either get a version of sed that can cope (I believe that there are 
recommendations on the wiki pages) or patch configure to remove the DOS 
line endings before running sed. There's a version of configure in the CVS 
tree that does this:


http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/configure.m4.diff?r1=texttr1=1.60.2.19r2=texttr2=1.60.2.22diff_format=h
( Equivalent URL: http://tinyurl.com/d7rer )

Angus




 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 







Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
 User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier [EMAIL PROTECTED] wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: LyXWin not working on XP

2005-06-06 Thread Paul A. Rubin

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


As someone else pointed out in the thread, be sure that you do not try 
to start LyX from a directory containing spaces in its name or path. 
Bad Things Will Happen.


Also, it makes a difference what directory is current when you start LyX 
(in that it will, among other things, create all sorts of new defaults 
if you start it from someplace other than your normal working 
directory).  This is actually good if you like having different LyX 
setups for different sorts of projects but can be confusing if 
unintended.  My suggestion (once you have LyX working) is to create a 
Windows shortcut to the program with Target: set to


path to LyX bin\lyx.exe -userdir path to your home directory

and Start in: set to path to LyX bin (making sure that the paths are 
free of spaces).



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean?


The reconfiguration shell script looked for a file named chkconfig.ltx 
and did not find it.



How can I fix it?


The first step is to make sure that it's there -- should be in LyX 
install directory\share\lyx.  If it's not there, something ate it -- 
you need to get a copy from somewhere (ask and someone will e-mail it to 
you).


If it's there, the problem may have to do with the path to it (spaces?). 
 When you run Edit-Reconfigure from inside LyX (started in debug 
mode), somewhere near the top of the stuff that shows up in the 
background command window should be something akin to


C:/LyX/share/lyx/configure

(which comes from my setup, so yours will be different).  The 
configuration script attempts to deduce where chkconfig.ltx is by 
peeling off the path portion of that line.  If the path is somehow wrong 
(or contains spaces), that could account for the can't find it message.



Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.


Are they on your Windows command search path?  (If you open a command 
prompt and type path, are they listed?)  If so, they should be part of 
the stuff that spewed out above (the line that ended with wbem.



I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference.


Certain external programs that LyX wants to use (notably latex.exe) need 
to be on the Windows command path.  Others (notably Acrobat Reader, if 
that's what you want to use for viewing PDFs) need not be.  IIRC, 
ImageMagick and Ghostscript binaries need to be on the command path.



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4


This should work.


5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working,


Gets rid of those annoying spaces.


but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces.


Actually, spaces in the path to Acrobat Reader are not a problem, since 
they are not processed by any natively Unix helpers.


However, having Acrobat Reader installed and LyX knowing that's what you 
want to use are two separate things.  Wander over to 
Edit-Preferences-File formats-PDF (dvipdfm) and contemplate the 
Viewer: entry.  If it's blank, enter acrord32 and click Modify.  Repeat 
for the other PDF formats, then Save.



Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?


Yes.  First, export does not view a document, it creates an output file 
in the exported format.  If you want to view a document as Postscript, 
repeat what you did for Acrobat Reader above, but do it to the 
Postscript file format and make the viewer gsview32 rather than 
acrord32.  This will add Postscript to the choices on the View menu.


As far as where exported files go, they go to the same directory from 
whence the LyX file came (true for all export formats).


 

Any help would be muchly appreciated. 


Stop back with more specifics if the collected wisdom of the thread 
doesn't get you squared away.


-- Paul



 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]





Re: LyXWin not working on XP

2005-06-06 Thread Angus Leeming

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.



Any help would be muchly appreciated.


Muchly? :)

I don't think that I've ever seen the error that you appear to be reporting.

   configure: error: cannot find chkconfig.ltx script.

You should find this script at

   System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

If it is there then can you run

   $ dir \LaTeX\LyX\lyx\share\lyx
   $ latex chkconfig.ltx

???

One of the things that this will do is generate a little sed script, 
chkconfig.sed. Common versions of sed on Windows fail to work with this sed 
script because it contains DOS line endings rather than UNIX ones. So, 
either get a version of sed that can cope (I believe that there are 
recommendations on the wiki pages) or patch configure to remove the DOS 
line endings before running sed. There's a version of configure in the CVS 
tree that does this:


http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/configure.m4.diff?r1=texttr1=1.60.2.19r2=texttr2=1.60.2.22diff_format=h
( Equivalent URL: http://tinyurl.com/d7rer )

Angus




 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 







Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
 User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier [EMAIL PROTECTED] wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: LyXWin not working on XP

2005-06-06 Thread Paul A. Rubin

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


As someone else pointed out in the thread, be sure that you do not try 
to start LyX from a directory containing spaces in its name or path. 
Bad Things Will Happen.


Also, it makes a difference what directory is current when you start LyX 
(in that it will, among other things, create all sorts of new defaults 
if you start it from someplace other than your normal working 
directory).  This is actually good if you like having different LyX 
setups for different sorts of projects but can be confusing if 
unintended.  My suggestion (once you have LyX working) is to create a 
Windows shortcut to the program with Target: set to


path to LyX bin\lyx.exe -userdir path to your home directory

and Start in: set to path to LyX bin (making sure that the paths are 
free of spaces).



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean?


The reconfiguration shell script looked for a file named chkconfig.ltx 
and did not find it.



How can I fix it?


The first step is to make sure that it's there -- should be in LyX 
install directory\share\lyx.  If it's not there, something ate it -- 
you need to get a copy from somewhere (ask and someone will e-mail it to 
you).


If it's there, the problem may have to do with the path to it (spaces?). 
 When you run Edit-Reconfigure from inside LyX (started in debug 
mode), somewhere near the top of the stuff that shows up in the 
background command window should be something akin to


C:/LyX/share/lyx/configure

(which comes from my setup, so yours will be different).  The 
configuration script attempts to deduce where chkconfig.ltx is by 
peeling off the path portion of that line.  If the path is somehow wrong 
(or contains spaces), that could account for the can't find it message.



Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.


Are they on your Windows command search path?  (If you open a command 
prompt and type path, are they listed?)  If so, they should be part of 
the stuff that spewed out above (the line that ended with wbem.



I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference.


Certain external programs that LyX wants to use (notably latex.exe) need 
to be on the Windows command path.  Others (notably Acrobat Reader, if 
that's what you want to use for viewing PDFs) need not be.  IIRC, 
ImageMagick and Ghostscript binaries need to be on the command path.



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4


This should work.


5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working,


Gets rid of those annoying spaces.


but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces.


Actually, spaces in the path to Acrobat Reader are not a problem, since 
they are not processed by any natively Unix helpers.


However, having Acrobat Reader installed and LyX knowing that's what you 
want to use are two separate things.  Wander over to 
Edit-Preferences-File formats-PDF (dvipdfm) and contemplate the 
Viewer: entry.  If it's blank, enter acrord32 and click Modify.  Repeat 
for the other PDF formats, then Save.



Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?


Yes.  First, export does not view a document, it creates an output file 
in the exported format.  If you want to view a document as Postscript, 
repeat what you did for Acrobat Reader above, but do it to the 
Postscript file format and make the viewer gsview32 rather than 
acrord32.  This will add Postscript to the choices on the View menu.


As far as where exported files go, they go to the same directory from 
whence the LyX file came (true for all export formats).


 

Any help would be muchly appreciated. 


Stop back with more specifics if the collected wisdom of the thread 
doesn't get you squared away.


-- Paul



 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]





Re: LyXWin not working on XP

2005-06-06 Thread Angus Leeming

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.



Any help would be muchly appreciated.


Muchly? :)

I don't think that I've ever seen the error that you appear to be reporting.

   configure: error: cannot find chkconfig.ltx script.

You should find this script at

   System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

If it is there then can you run

   $ dir \LaTeX\LyX\lyx\share\lyx
   $ latex chkconfig.ltx

???

One of the things that this will do is generate a little sed script, 
chkconfig.sed. Common versions of sed on Windows fail to work with this sed 
script because it contains DOS line endings rather than UNIX ones. So, 
either get a version of sed that can cope (I believe that there are 
recommendations on the wiki pages) or patch configure to remove the DOS 
line endings before running sed. There's a version of configure in the CVS 
tree that does this:


http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/configure.m4.diff?r1=text=1.60.2.19=text=1.60.2.22_format=h
( Equivalent URL: http://tinyurl.com/d7rer )

Angus




 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:   [EMAIL PROTECTED]

 







Re: LyXWin not working on XP

2005-06-06 Thread Brian Williams
You have
 
>> User Lyx directory: 'C:/Documents and Settings/db/.lyx/' 
 
Maybe the problem is that you have your user directory set to a directory with 
spaces in the pathname?  It may not be in this case, but I'm sure it will give 
you trouble later.
 
http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup says:
 
"Install the programs above into folders that contain no spaces in the name. 
Eg. C:\LyX"
 
If it could deal with spaces in the user directory, surely it wouldn't need 
that restriction?
 
The way I get around this is to map a local network drive (X:) to the Documents 
and Settings directory so as to avoid having to create yet another top level 
directory.
 

 
 
Brian

David Boutillier <[EMAIL PROTECTED]> wrote:
I am having difficulty getting LyXWin working properly. 



1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 



2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.



What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4



5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?



Any help would be muchly appreciated. 



djb



David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email: [EMAIL PROTECTED]





-
Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail

Re: LyXWin not working on XP

2005-06-06 Thread Paul A. Rubin

David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 


As someone else pointed out in the thread, be sure that you do not try 
to start LyX from a directory containing spaces in its name or path. 
Bad Things Will Happen.


Also, it makes a difference what directory is current when you start LyX 
(in that it will, among other things, create all sorts of new defaults 
if you start it from someplace other than your normal working 
directory).  This is actually good if you like having different LyX 
setups for different sorts of projects but can be confusing if 
unintended.  My suggestion (once you have LyX working) is to create a 
Windows shortcut to the program with Target: set to


\lyx.exe -userdir 

and Start in: set to  (making sure that the paths are 
free of spaces).



3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean?


The reconfiguration shell script looked for a file named chkconfig.ltx 
and did not find it.



How can I fix it?


The first step is to make sure that it's there -- should be in install directory>\share\lyx.  If it's not there, something ate it -- 
you need to get a copy from somewhere (ask and someone will e-mail it to 
you).


If it's there, the problem may have to do with the path to it (spaces?). 
 When you run Edit->Reconfigure from inside LyX (started in debug 
mode), somewhere near the top of the stuff that shows up in the 
background command window should be something akin to


C:/LyX/share/lyx/configure

(which comes from my setup, so yours will be different).  The 
configuration script attempts to deduce where chkconfig.ltx is by 
peeling off the path portion of that line.  If the path is somehow wrong 
(or contains spaces), that could account for the "can't find it" message.



Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.


Are they on your Windows command search path?  (If you open a command 
prompt and type "path", are they listed?)  If so, they should be part of 
the stuff that spewed out above (the line that ended with wbem.



I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference.


Certain external programs that LyX wants to use (notably latex.exe) need 
to be on the Windows command path.  Others (notably Acrobat Reader, if 
that's what you want to use for viewing PDFs) need not be.  IIRC, 
ImageMagick and Ghostscript binaries need to be on the command path.



4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4


This should work.


5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working,


Gets rid of those annoying spaces.


but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces.


Actually, spaces in the path to Acrobat Reader are not a problem, since 
they are not processed by any natively Unix helpers.


However, having Acrobat Reader installed and LyX knowing that's what you 
want to use are two separate things.  Wander over to 
Edit->Preferences->File formats->PDF (dvipdfm) and contemplate the 
Viewer: entry.  If it's blank, enter acrord32 and click Modify.  Repeat 
for the other PDF formats, then Save.



Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?


Yes.  First, export does not view a document, it creates an output file 
in the exported format.  If you want to view a document as Postscript, 
repeat what you did for Acrobat Reader above, but do it to the 
Postscript file format and make the viewer gsview32 rather than 
acrord32.  This will add Postscript to the choices on the View menu.


As far as where exported files go, they go to the same directory from 
whence the LyX file came (true for all export formats).


 

Any help would be muchly appreciated. 


Stop back with more specifics if the collected wisdom of the thread 
doesn't get you squared away.


-- Paul



 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:   [EMAIL PROTECTED]





LyXWin not working on XP

2005-06-05 Thread David Boutillier
I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 



RE: LyXWin not working on XP

2005-06-05 Thread Steven Ning
 
Sorry for such a brief response to a detailed question, but have you tried
to view as DVI? (I believe it's ctrl-d) Also, does it correctly export to
pdf?

Steven

-Original Message-
From: David Boutillier [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 05, 2005 3:23 PM
To: lyx-users@lists.lyx.org
Subject: LyXWin not working on XP

I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 




Re: LyXWin not working on XP

2005-06-05 Thread Nicolás
I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit-Preferences-File formats, for PDF the viewer is 
acrobat.exe and for postcript is gsview32.exe


Be sure also that you have lyx_path\bin\ and lyx_path\share\lyx\ 
in the PATH before you run reconfigure


Hope it helps


David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 

 


1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 


2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 


Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 


3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 


5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 







LyXWin not working on XP

2005-06-05 Thread David Boutillier
I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 



RE: LyXWin not working on XP

2005-06-05 Thread Steven Ning
 
Sorry for such a brief response to a detailed question, but have you tried
to view as DVI? (I believe it's ctrl-d) Also, does it correctly export to
pdf?

Steven

-Original Message-
From: David Boutillier [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 05, 2005 3:23 PM
To: lyx-users@lists.lyx.org
Subject: LyXWin not working on XP

I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 




Re: LyXWin not working on XP

2005-06-05 Thread Nicolás
I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit-Preferences-File formats, for PDF the viewer is 
acrobat.exe and for postcript is gsview32.exe


Be sure also that you have lyx_path\bin\ and lyx_path\share\lyx\ 
in the PATH before you run reconfigure


Hope it helps


David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 

 


1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 


2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 


Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 


3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 


5) I deleted the .lyx folder from c:\documents and settings\user name, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says Cannot view file. No information
for viewing PDF (dvipdfm). I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

 







LyXWin not working on XP

2005-06-05 Thread David Boutillier
I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:   [EMAIL PROTECTED]

 



RE: LyXWin not working on XP

2005-06-05 Thread Steven Ning
 
Sorry for such a brief response to a detailed question, but have you tried
to view as DVI? (I believe it's ctrl-d) Also, does it correctly export to
pdf?

Steven

-Original Message-
From: David Boutillier [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 05, 2005 3:23 PM
To: lyx-users@lists.lyx.org
Subject: LyXWin not working on XP

I am having difficulty getting LyXWin working properly. 

 

1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 

2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 

Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 

3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 

.

configure: error: cannot find chkconfig.ltx script.

 

What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 

4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 

5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 

djb

 

David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

 




Re: LyXWin not working on XP

2005-06-05 Thread Nicolás
I don't really know if this is the problem, but be sure you have the 
directories containing acrobat.exe and gsview32.exe in the PATH. Then 
check that in Edit->Preferences->File formats, for PDF the viewer is 
"acrobat.exe" and for postcript is "gsview32.exe"


Be sure also that you have "\bin\" and "\share\lyx\" 
in the PATH before you run "reconfigure"


Hope it helps


David Boutillier wrote:
I am having difficulty getting LyXWin working properly. 

 


1) I have followed the detailed notes for installing LyXWin on XP from the
LyX/WindowsSetup page of the LyX wiki-wiki. 

 


2) I have opened LyX from a command window with the command lyx -dbg 3. In
the command prompt window. Among the things produced on the screen are: 


Path of binary: C:/LaTeX/LyX/lyx/bin/

Checking whether LyX is run in place. no

System directory search path: C:/LaTeX/LyX/lyx/Resources/lyx/;
C:/LaTeX/LyX/lyx/share/lyx/;usr/local/share/lyx

System directory: 'C:/LaTeX/LyX/lyx/share/lyx/'

User Lyx directory: 'C:/Documents and Settings/db/.lyx/' .

 


3) When I reconfigure I get a lot of stuff in the command window. Some of it
is as follows:

C:\LaTeX\LyX\lyx\share\lyx\..\..\bin;
C:\LaTeX\LyX\lyx\bin;c:\latex\imagemagick-6.2.3-q16;C:\LaTeX\texmf\miktex\bi
n;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sustem32\Wbem

Usage: C:\LaTeX\LyX\lyx\bin\sed.exe [OPTION] . 


.

configure: error: cannot find chkconfig.ltx script.

 


What does this error mean? How can I fix it? Also, I have the folders
c:\latex\gs, and c:\latex\ghostgm that are not mentioned in the search path.
I tried changing my PATH to include every folder with an .exe file that has
anything to do with LyX, but that hasn't seemed to make any difference. 

 


4) I have upgraded to a more recent version of sed. When I enter sed
-version into the command window, I get:

GNU sed version 4.1.4

 


5) I deleted the .lyx folder from c:\documents and settings\, and
that got things mostly working, but when I try to export of view a .lyx file
as a .pdf, I get a dialogue box that says "Cannot view file. No information
for viewing PDF (dvipdfm)". I have Acrobat reader 7.0 installed in a nearby
folder whose name does not contain any spaces. Also, when I export a .lyx
file as a .ps file, ghostview does not open, and I cannot control where the
.ps file goes. Is this to be expected?

 

Any help would be muchly appreciated. 

 


djb

 


David Boutillier

PhD Candidate (ABD)

--

Department of Philosophy

The University of Western Ontario

London, Ontario, Canada

N6A 3K7

--

Phone: 416-567-1362

Fax: 519-661-3922

Email:   [EMAIL PROTECTED]