Re: Install unavaliable classes in Lyx

2006-01-01 Thread mywebs2005-lyx
Stephen, the instructions you gave me worked fine.  In C:\texmf\tex\latex\cv 
I had got only the CV.sty file (why?).  Then, I downloaded and copied the 
cv.cls and it is ok now!  Thanks a lot! :-)

Abraços!
   Douglas

---
I copied cv.cls to C:\texmf\tex\latex\cv
then ran Miktex Options: Refresh Now
which is the same as Linux, texconfig/rehash.

Then I opened LyX and ran reconfigure and
then closed it as directed. This eliminated
the error message I reported above with cv.lyx file
which is found in \Lyx\...Examples. I also noticed that
there is a cv.sty contained under C:\texmf\sub-dir and that
there is a cv.layout file under C:\LyX\resources\lyx\layouts.

Regards,
Stephen



-
 Yahoo! doce lar. Faça do Yahoo! sua homepage.

Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
 If you View-LaTeX info-BibTeX styles, can you see the .bst file?

No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.

Bo


Re: Install unavaliable classes in Lyx

2006-01-01 Thread Stephen Harris


- Original Message - 
From: [EMAIL PROTECTED]

To: Lyx Contribute lyx-users@lists.lyx.org
Sent: Sunday, January 01, 2006 6:24 AM
Subject: Re: Install unavaliable classes in Lyx


Stephen, the instructions you gave me worked fine.  In 
C:\texmf\tex\latex\cv I had got only the CV.sty file (why?).  Then, I 
downloaded and copied the cv.cls and it is ok now!  Thanks a lot! :-)




You only had the Cv.sty file because that is normal for the Miktex
installation which provides your Latex functions. LyX usually comes
with the cv.layout and the cv.cls files; they are installed automatically.
Actually, I wasn't sure that this idea would completely work.


From your other message:


Well, I don't have the Resources directory, and the TeX Information 
command don't work on my windows version of lyx.  It don't recognize

the .sh files and the commands inside it.

SH: Lyx needs helper programs. Python for py scripts. Msys provides
sh.exe and sed.exe and if you don't have them it causes problems. Some
other programs have different versions of sh.exe and sed.exe and if they
are used it can also cause problems because the install isn't complete.

http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe?download
Pick a download mirror nearest you. It should install into C:\Msys\1.0\bin

LyX works best on Windows XP. Windows 98 takes more effort and
I think Win95 is a lost cause. I think you should save all your valuable
LyX files into a safe folder. Then delete LyX and any helper programs
you are unsure about, then upgrade. These new windows lyx packages
work good. But if you use a modem or have an old Windows, then maybe not. 
There may be a new WinLyX 1.4.0 download in a couple weeks.


Happy New Year!
Stephen 





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Paul A. Rubin

Bo Peng wrote:

If you View-LaTeX info-BibTeX styles, can you see the .bst file?



No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.



I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is 
in a directory with spaces in the path, but not if it's in a space-free 
location (e.g., C:\Temp).  When there are spaces in the path, this is 
what I find in the temp directory:


1.  The .tex file contains what I think is a correctly constructed path 
to the .bst file (e.g., \bibliographystyle{\stringC:/Documents and 
Settings/my_id/Desktop/mybstfile\string}).


2.  Notwithstanding (1), the .aux file has an un-escaped reference to 
the .bst file (e.g., \bibstyle{C:/Documents and 
Settings/my_id/Desktop/mybstfile} -- note the spaces in the path).


3.  The .tex.dep dependency file lists the .bst file with space (e.g., 
C:/Documents and Settings/my_id/Desktop/mydecsci.bst) -- not sure if 
that's a problem or not.


My best guess, and it's just a guess, is that bibtex's being handed a 
path with spaces and choking on them.


/Paul







Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Angus Leeming
Paul A. Rubin wrote:
 Bo Peng wrote:
If you View-LaTeX info-BibTeX styles, can you see the .bst file?

 No. The .bst file is under the same directory as the .lyx file. I use
 'browse' in the bib tex dialog to use it. Under linux, this is enough.

 I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is
 in a directory with spaces in the path, but not if it's in a space-free
 location (e.g., C:\Temp).  When there are spaces in the path, this is
 what I find in the temp directory:

 1.  The .tex file contains what I think is a correctly constructed path
 to the .bst file (e.g., \bibliographystyle{\stringC:/Documents and
 Settings/my_id/Desktop/mybstfile\string}).

A. Don't do that. BibTeX and spaces in paths don't live well
together. In fact they don't live together at all.

We jump through a lot of hoops to ensure that your BibTeX data base will
continue to work if it lives in a path with spaces. I don't see any reason
at all to add a heap of fragile code to cover the .bst file too.

In my view this one get's filed under WONTFIX.

 My best guess, and it's just a guess, is that bibtex's being handed a
 path with spaces and choking on them.

-- 
Angus



Space between the numbering and the caption in TOC

2006-01-01 Thread [EMAIL PROTECTED]

The problem is when I have a section number  9 and a figure no.  9. Then there
is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...

Any suggestion???

Thx.





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
  My best guess, and it's just a guess, is that bibtex's being handed a
  path with spaces and choking on them.

I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo


Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Kevin Pfeiffer
[EMAIL PROTECTED] writes:
 The problem is when I have a section number  9 and a figure no.  9.
 Then there is no space left before the caption starts.
[...]
 1.1 The ..
 1.5 The ..
 2.10The...
 2.11The...
[...]
 But I don't know how to do for the TOC...

I _think_ (i.e. unless someone here gives a better answer, which is 
always possible) that your answer will be:
\usepackage{tocloft}

Look at the doc for the package and it should offer an answer I think...

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Stephen Harris


- Original Message - 
From: Bo Peng [EMAIL PROTECTED]

To: Angus Leeming [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org; lyx-devel@lists.lyx.org
Sent: Sunday, January 01, 2006 9:01 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



 My best guess, and it's just a guess, is that bibtex's being handed a
 path with spaces and choking on them.


I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
[SH: I think it has to do with quoting.]
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo

The Miktex installation doc recommends installing Miktex into paths
and/or directories without spaces. LyX has a history of problems
with paths having spaces some passed on from Miktex.

http://wiki.lyx.org/pmwiki.php/Windows/LyX136pre
13 July 2005
Axel Rasche reported that spaces in the file path caused BibTeX to fail. The 
adopted solution copies the BibTeX data base to the temp directory, mangling 
its name in the process into something that's both recognizable to the user 
and useable by BibTeX. Note that this fix hasn't yet made it into the 
official sources.


http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup LyX1.3.5
Install the programs above into folders that contain no spaces in the
name. Eg. C:\LyX

http://wiki.lyx.org/pmwiki.php/Windows/LyX136

Although LyX swallows path and folder names with blanks (such as C:\Program 
Files\...) this is not necessarily true for the other programs, and it is 
recommended to install them in the default locations suggested by the 
programs, or in paths without blanks (such as C:\Programs\...), just to be 
on the safe side.



http://wiki.lyx.org/pmwiki.php/Windows/LyX137pre
The Instant Preview script will now run successfully when the path to the 
Ghostscript executable contains spaces.


I think it is easier for the user to follow the Miktex recommended
policy and observe the LyX documented warnings rather than
follow MS conditioning which is aimed against *nix ported apps.

The mistake is making C:\Program files the default for LyX and
friends. Paths with spaces is an unneccessary and useless, aimed
at confining customers to MS products or products that pay MS for
licensing to the detriment of Open Source free software. I think
your suggestion boils down to giving warnings (not only for just .bst)
for deficiencies in other programs, inside the LyX program. I think
those type of warning belong in Readmes or install instructions.

Regards,
Stephen






Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

The problem is when I have a section number  9 and a figure no.  9. 
Then there

is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...


http://tug.org/TeXnik/mainFAQ.cgi?file=tocloft/TOC#label

Herbert



Re: Install unavaliable classes in Lyx

2006-01-01 Thread mywebs2005-lyx
Stephen, the instructions you gave me worked fine.  In C:\texmf\tex\latex\cv 
I had got only the CV.sty file (why?).  Then, I downloaded and copied the 
cv.cls and it is ok now!  Thanks a lot! :-)

Abraços!
   Douglas

---
I copied cv.cls to C:\texmf\tex\latex\cv
then ran Miktex Options: Refresh Now
which is the same as Linux, texconfig/rehash.

Then I opened LyX and ran reconfigure and
then closed it as directed. This eliminated
the error message I reported above with cv.lyx file
which is found in \Lyx\...Examples. I also noticed that
there is a cv.sty contained under C:\texmf\sub-dir and that
there is a cv.layout file under C:\LyX\resources\lyx\layouts.

Regards,
Stephen



-
 Yahoo! doce lar. Faça do Yahoo! sua homepage.

Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
 If you View-LaTeX info-BibTeX styles, can you see the .bst file?

No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.

Bo


Re: Install unavaliable classes in Lyx

2006-01-01 Thread Stephen Harris


- Original Message - 
From: [EMAIL PROTECTED]

To: Lyx Contribute lyx-users@lists.lyx.org
Sent: Sunday, January 01, 2006 6:24 AM
Subject: Re: Install unavaliable classes in Lyx


Stephen, the instructions you gave me worked fine.  In 
C:\texmf\tex\latex\cv I had got only the CV.sty file (why?).  Then, I 
downloaded and copied the cv.cls and it is ok now!  Thanks a lot! :-)




You only had the Cv.sty file because that is normal for the Miktex
installation which provides your Latex functions. LyX usually comes
with the cv.layout and the cv.cls files; they are installed automatically.
Actually, I wasn't sure that this idea would completely work.


From your other message:


Well, I don't have the Resources directory, and the TeX Information 
command don't work on my windows version of lyx.  It don't recognize

the .sh files and the commands inside it.

SH: Lyx needs helper programs. Python for py scripts. Msys provides
sh.exe and sed.exe and if you don't have them it causes problems. Some
other programs have different versions of sh.exe and sed.exe and if they
are used it can also cause problems because the install isn't complete.

http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe?download
Pick a download mirror nearest you. It should install into C:\Msys\1.0\bin

LyX works best on Windows XP. Windows 98 takes more effort and
I think Win95 is a lost cause. I think you should save all your valuable
LyX files into a safe folder. Then delete LyX and any helper programs
you are unsure about, then upgrade. These new windows lyx packages
work good. But if you use a modem or have an old Windows, then maybe not. 
There may be a new WinLyX 1.4.0 download in a couple weeks.


Happy New Year!
Stephen 





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Paul A. Rubin

Bo Peng wrote:

If you View-LaTeX info-BibTeX styles, can you see the .bst file?



No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.



I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is 
in a directory with spaces in the path, but not if it's in a space-free 
location (e.g., C:\Temp).  When there are spaces in the path, this is 
what I find in the temp directory:


1.  The .tex file contains what I think is a correctly constructed path 
to the .bst file (e.g., \bibliographystyle{\stringC:/Documents and 
Settings/my_id/Desktop/mybstfile\string}).


2.  Notwithstanding (1), the .aux file has an un-escaped reference to 
the .bst file (e.g., \bibstyle{C:/Documents and 
Settings/my_id/Desktop/mybstfile} -- note the spaces in the path).


3.  The .tex.dep dependency file lists the .bst file with space (e.g., 
C:/Documents and Settings/my_id/Desktop/mydecsci.bst) -- not sure if 
that's a problem or not.


My best guess, and it's just a guess, is that bibtex's being handed a 
path with spaces and choking on them.


/Paul







Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Angus Leeming
Paul A. Rubin wrote:
 Bo Peng wrote:
If you View-LaTeX info-BibTeX styles, can you see the .bst file?

 No. The .bst file is under the same directory as the .lyx file. I use
 'browse' in the bib tex dialog to use it. Under linux, this is enough.

 I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is
 in a directory with spaces in the path, but not if it's in a space-free
 location (e.g., C:\Temp).  When there are spaces in the path, this is
 what I find in the temp directory:

 1.  The .tex file contains what I think is a correctly constructed path
 to the .bst file (e.g., \bibliographystyle{\stringC:/Documents and
 Settings/my_id/Desktop/mybstfile\string}).

A. Don't do that. BibTeX and spaces in paths don't live well
together. In fact they don't live together at all.

We jump through a lot of hoops to ensure that your BibTeX data base will
continue to work if it lives in a path with spaces. I don't see any reason
at all to add a heap of fragile code to cover the .bst file too.

In my view this one get's filed under WONTFIX.

 My best guess, and it's just a guess, is that bibtex's being handed a
 path with spaces and choking on them.

-- 
Angus



Space between the numbering and the caption in TOC

2006-01-01 Thread [EMAIL PROTECTED]

The problem is when I have a section number  9 and a figure no.  9. Then there
is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...

Any suggestion???

Thx.





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
  My best guess, and it's just a guess, is that bibtex's being handed a
  path with spaces and choking on them.

I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo


Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Kevin Pfeiffer
[EMAIL PROTECTED] writes:
 The problem is when I have a section number  9 and a figure no.  9.
 Then there is no space left before the caption starts.
[...]
 1.1 The ..
 1.5 The ..
 2.10The...
 2.11The...
[...]
 But I don't know how to do for the TOC...

I _think_ (i.e. unless someone here gives a better answer, which is 
always possible) that your answer will be:
\usepackage{tocloft}

Look at the doc for the package and it should offer an answer I think...

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Stephen Harris


- Original Message - 
From: Bo Peng [EMAIL PROTECTED]

To: Angus Leeming [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org; lyx-devel@lists.lyx.org
Sent: Sunday, January 01, 2006 9:01 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



 My best guess, and it's just a guess, is that bibtex's being handed a
 path with spaces and choking on them.


I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
[SH: I think it has to do with quoting.]
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo

The Miktex installation doc recommends installing Miktex into paths
and/or directories without spaces. LyX has a history of problems
with paths having spaces some passed on from Miktex.

http://wiki.lyx.org/pmwiki.php/Windows/LyX136pre
13 July 2005
Axel Rasche reported that spaces in the file path caused BibTeX to fail. The 
adopted solution copies the BibTeX data base to the temp directory, mangling 
its name in the process into something that's both recognizable to the user 
and useable by BibTeX. Note that this fix hasn't yet made it into the 
official sources.


http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup LyX1.3.5
Install the programs above into folders that contain no spaces in the
name. Eg. C:\LyX

http://wiki.lyx.org/pmwiki.php/Windows/LyX136

Although LyX swallows path and folder names with blanks (such as C:\Program 
Files\...) this is not necessarily true for the other programs, and it is 
recommended to install them in the default locations suggested by the 
programs, or in paths without blanks (such as C:\Programs\...), just to be 
on the safe side.



http://wiki.lyx.org/pmwiki.php/Windows/LyX137pre
The Instant Preview script will now run successfully when the path to the 
Ghostscript executable contains spaces.


I think it is easier for the user to follow the Miktex recommended
policy and observe the LyX documented warnings rather than
follow MS conditioning which is aimed against *nix ported apps.

The mistake is making C:\Program files the default for LyX and
friends. Paths with spaces is an unneccessary and useless, aimed
at confining customers to MS products or products that pay MS for
licensing to the detriment of Open Source free software. I think
your suggestion boils down to giving warnings (not only for just .bst)
for deficiencies in other programs, inside the LyX program. I think
those type of warning belong in Readmes or install instructions.

Regards,
Stephen






Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

The problem is when I have a section number  9 and a figure no.  9. 
Then there

is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...


http://tug.org/TeXnik/mainFAQ.cgi?file=tocloft/TOC#label

Herbert



Re: Install unavaliable classes in Lyx

2006-01-01 Thread mywebs2005-lyx
Stephen, the instructions you gave me worked fine.  In "C:\texmf\tex\latex\cv" 
I had got only the "CV.sty" file (why?).  Then, I downloaded and copied the 
cv.cls and it is ok now!  Thanks a lot! :-)

Abraços!
   Douglas

---
I copied cv.cls to C:\texmf\tex\latex\cv
then ran Miktex Options: "Refresh Now"
which is the same as Linux, texconfig/rehash.

Then I opened LyX and ran reconfigure and
then closed it as directed. This eliminated
the error message I reported above with cv.lyx file
which is found in \Lyx\...Examples. I also noticed that
there is a cv.sty contained under C:\texmf\sub-dir and that
there is a cv.layout file under C:\LyX\resources\lyx\layouts.

Regards,
Stephen



-
 Yahoo! doce lar. Faça do Yahoo! sua homepage.

Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
> If you View->LaTeX info->BibTeX styles, can you see the .bst file?

No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.

Bo


Re: Install unavaliable classes in Lyx

2006-01-01 Thread Stephen Harris


- Original Message - 
From: <[EMAIL PROTECTED]>

To: "Lyx Contribute" 
Sent: Sunday, January 01, 2006 6:24 AM
Subject: Re: Install unavaliable classes in Lyx


Stephen, the instructions you gave me worked fine.  In 
"C:\texmf\tex\latex\cv" I had got only the "CV.sty" file (why?).  Then, I 
downloaded and copied the cv.cls and it is ok now!  Thanks a lot! :-)




You only had the Cv.sty file because that is normal for the Miktex
installation which provides your Latex functions. LyX usually comes
with the cv.layout and the cv.cls files; they are installed automatically.
Actually, I wasn't sure that this idea would completely work.


From your other message:


"Well, I don't have the "Resources" directory, and the "TeX Information" 
command don't work on my windows version of lyx.  It don't recognize

the ".sh" files and the commands inside it."

SH: Lyx needs helper programs. Python for py scripts. Msys provides
sh.exe and sed.exe and if you don't have them it causes problems. Some
other programs have different versions of sh.exe and sed.exe and if they
are used it can also cause problems because the install isn't complete.

http://prdownloads.sourceforge.net/mingw/MSYS-1.0.10.exe?download
Pick a download mirror nearest you. It should install into C:\Msys\1.0\bin

LyX works best on Windows XP. Windows 98 takes more effort and
I think Win95 is a lost cause. I think you should save all your valuable
LyX files into a safe folder. Then delete LyX and any helper programs
you are unsure about, then upgrade. These new windows lyx packages
work good. But if you use a modem or have an old Windows, then maybe not. 
There may be a new WinLyX 1.4.0 download in a couple weeks.


Happy New Year!
Stephen 





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Paul A. Rubin

Bo Peng wrote:

If you View->LaTeX info->BibTeX styles, can you see the .bst file?



No. The .bst file is under the same directory as the .lyx file. I use
'browse' in the bib tex dialog to use it. Under linux, this is enough.



I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is 
in a directory with spaces in the path, but not if it's in a space-free 
location (e.g., C:\Temp).  When there are spaces in the path, this is 
what I find in the temp directory:


1.  The .tex file contains what I think is a correctly constructed path 
to the .bst file (e.g., \bibliographystyle{\string"C:/Documents and 
Settings/my_id/Desktop/mybstfile\string"}).


2.  Notwithstanding (1), the .aux file has an "un-escaped" reference to 
the .bst file (e.g., \bibstyle{"C:/Documents and 
Settings/my_id/Desktop/mybstfile"} -- note the spaces in the path).


3.  The .tex.dep dependency file lists the .bst file with space (e.g., 
C:/Documents and Settings/my_id/Desktop/mydecsci.bst) -- not sure if 
that's a problem or not.


My best guess, and it's just a guess, is that bibtex's being handed a 
path with spaces and choking on them.


/Paul







Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Angus Leeming
Paul A. Rubin wrote:
> Bo Peng wrote:
>>>If you View->LaTeX info->BibTeX styles, can you see the .bst file?

>> No. The .bst file is under the same directory as the .lyx file. I use
>> 'browse' in the bib tex dialog to use it. Under linux, this is enough.

> I can reproduce the problem (Win XP, LyX 1.3.7pre5) if the .bst file is
> in a directory with spaces in the path, but not if it's in a space-free
> location (e.g., C:\Temp).  When there are spaces in the path, this is
> what I find in the temp directory:

> 1.  The .tex file contains what I think is a correctly constructed path
> to the .bst file (e.g., \bibliographystyle{\string"C:/Documents and
> Settings/my_id/Desktop/mybstfile\string"}).

A. Don't do that. BibTeX and "spaces in paths" don't live well
together. In fact they don't live together at all.

We jump through a lot of hoops to ensure that your BibTeX data base will
continue to work if it lives in a path with spaces. I don't see any reason
at all to add a heap of fragile code to cover the .bst file too.

In my view this one get's filed under WONTFIX.

> My best guess, and it's just a guess, is that bibtex's being handed a
> path with spaces and choking on them.

-- 
Angus



Space between the numbering and the caption in TOC

2006-01-01 Thread [EMAIL PROTECTED]

The problem is when I have a section number > 9 and a figure no. > 9. Then there
is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...

Any suggestion???

Thx.





Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Bo Peng
> > My best guess, and it's just a guess, is that bibtex's being handed a
> > path with spaces and choking on them.

I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo


Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Kevin Pfeiffer
[EMAIL PROTECTED] writes:
> The problem is when I have a section number > 9 and a figure no. > 9.
> Then there is no space left before the caption starts.
[...]
> 1.1 The ..
> 1.5 The ..
> 2.10The...
> 2.11The...
[...]
> But I don't know how to do for the TOC...

I _think_ (i.e. unless someone here gives a better answer, which is 
always possible) that your answer will be:
\usepackage{tocloft}

Look at the doc for the package and it should offer an answer I think...

-Kevin

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


Re: [announce] sixth release of LyXWinInstaller

2006-01-01 Thread Stephen Harris


- Original Message - 
From: "Bo Peng" <[EMAIL PROTECTED]>

To: "Angus Leeming" <[EMAIL PROTECTED]>
Cc: ; 
Sent: Sunday, January 01, 2006 9:01 PM
Subject: Re: [announce] sixth release of LyXWinInstaller



> My best guess, and it's just a guess, is that bibtex's being handed a
> path with spaces and choking on them.


I am not quite sure why miktex/bibtex can not handle a path with
spaces, whereas miktex/latex can. Anyway, if this is a problem that
[SH: I think it has to do with quoting.]
will be classified as WONTFIX, it would be better to warn the user
about this when a .bst file is selected in the bibtex dialog. If a
user is *allowed* to select and use a .bst file, and end up with no
bibliography in the output, his confidence in lyx will suffer.

Bo

The Miktex installation doc recommends installing Miktex into paths
and/or directories without spaces. LyX has a history of problems
with paths having spaces some passed on from Miktex.

http://wiki.lyx.org/pmwiki.php/Windows/LyX136pre
13 July 2005
Axel Rasche reported that spaces in the file path caused BibTeX to fail. The 
adopted solution copies the BibTeX data base to the temp directory, mangling 
its name in the process into something that's both recognizable to the user 
and useable by BibTeX. Note that this fix hasn't yet made it into the 
official sources.


http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup LyX1.3.5
Install the programs above into folders that contain no spaces in the
name. Eg. C:\LyX

http://wiki.lyx.org/pmwiki.php/Windows/LyX136

Although LyX swallows path and folder names with blanks (such as C:\Program 
Files\...) this is not necessarily true for the other programs, and it is 
recommended to install them in the default locations suggested by the 
programs, or in paths without blanks (such as C:\Programs\...), just to be 
on the safe side.



http://wiki.lyx.org/pmwiki.php/Windows/LyX137pre
The Instant Preview script will now run successfully when the path to the 
Ghostscript executable contains spaces.


I think it is easier for the user to follow the Miktex recommended
policy and observe the LyX documented warnings rather than
follow MS conditioning which is aimed against *nix ported apps.

The mistake is making C:\Program files the default for LyX and
friends. Paths with spaces is an unneccessary and useless, aimed
at confining customers to MS products or products that pay MS for
licensing to the detriment of Open Source "free" software. I think
your suggestion boils down to giving warnings (not only for just .bst)
for deficiencies in other programs, inside the LyX program. I think
those type of warning belong in Readmes or install instructions.

Regards,
Stephen






Re: Space between the numbering and the caption in TOC

2006-01-01 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

The problem is when I have a section number > 9 and a figure no. > 9. 
Then there

is no space left before the caption starts.

AN EXAMPLE

1.1 The ..
1.5 The ..
2.10The...
2.11The...


I solve in list of figures with this command:

[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{3.0em}}
   ^
   |
width of the box for numbers --|

But I don't know how to do for the TOC...


http://tug.org/TeXnik/mainFAQ.cgi?file=tocloft/TOC#label

Herbert