Problems running LyX 1.3.5-qt-nc on Windows from Explorer or a script

2005-01-29 Thread Sivan Toledo
When working with the Win32 version of LyX 1.3.5 by Ruurd (the 1.3.5-qt 
non commercial version) I run into a problem when I run LyX from either 
a .bat script or from Windows explorer (by associating .lyx with the 
binary). LyX seems to pass to latex the file name in a wrong way, so 
latex doesn't fine the file:

C:\Projects\workspace3\file_systems>c:\Programs\lyx\bin\lyx 
"C:\Projects\workspace3\file_systems\survey.lyx"
latex.exe: c:_Projects_workspace3_file_systems_survey.tex: No such file 
or directory
This is dvips(k) 5.94a Copyright 2003 Radical Eye Software 
(www.radicaleye.com)
dvips: ! DVI file can't be opened.

When I run lyx from the command prompt there is no problem at all.
Any ideas why this happens and how to fix it?
Thanks, Sivan Toledo


"Find" Erasing Words

2005-01-29 Thread Rich Shepard
  When I use the Find function (ctrl-f), enter a word to find and press the
"Find Next" button, it works just fine the first time through. If I then put
in a new search string and press the "Find Next" button, the process runs
through the entire document replacing that search string with nothing and I
cannot abort the process.
  Never before have I encountered this, and I'm currently using 1.3.5-qt on
linux.
  As I'm building the index by searching for occurrences of the same string,
this is more than an annoyance. It's a royal PITA! Has anyone had this
happen, or am I just lucky?
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Wrong Running Head For Preface: Almost Fixed

2005-01-29 Thread Rich Shepard
  I had the Preface in the wrong order before and that messed up TeX's
seeing the proper page size. Putting the Preface in the proper place, i.e.,
title page
back of title page
\frontmatter
Table of Contents
List of Figures
List of Tables
Preface
Acknowlegements
\mainmatter
  Has cleared up problems with the page size and pagination. However, the
running head on the Preface pages (except the first, of course) is "List of
Tables", and not "Preface". Everything in front of this is OK and the
/mainmatter is OK. Somehow, the correct running head got lost for the
Preface and Acknowledgements. The running heads used to be correct here.
  At the beginning of the first paragraph in the Preface I have, in ERT,
\addcontentsline{toc}{chapter}{Preface}. I don't find a clue to the answer
in TLC2 pages 207-209 or 221-222. These pages discuss page layout, including
the header/footer and using \extramarks with the fancyhdr package. I need to
use plain headers with the svmono.cls.
  Based on the Header/Footer page of Herbert's Tips & Tricks, I put
\chaptermark{Preface}
at the beginning of the Preface. This puts the word, Preface, in the running
head, but with the chapter number, 0, in front of it. Changing the command
to \chaptermark*{Preface}
produces the chapter number followed by an *.
  I think I'm close here, but missing the crucial step to get the word
without the zeroth chapter number. Clue, please.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: failed import of latex doc (relyx produces something that causes lyx2lyx to hang)

2005-01-29 Thread Michael Wojcik
Andre Poenitz wrote:
On Wed, Jan 26, 2005 at 06:59:29PM -0500, Michael Wojcik wrote:
Actually, at least in XP (and, presumably, Win2003), if the association
for the "py" file extension is correct, running foo.py from the command
line works fine, as does eg system("foo.py").  I didn't bother testing
OS functions like CreateProcess, or check the source to see how lyx2lyx
is being run.  It's a bit moot as long as lyx2lyx doesn't have an extension.
It has no extension.
Yes, I know; that's why I said it was moot.  I meant "as long as" in the 
strict sense ("until it is changed"), not in the idiomatic sense of "if 
it is true that".  Or am I missing your point?

--
Michael Wojcik



Re: follow-up: relyx / lyx2lyx problems -- next bug

2005-01-29 Thread Georg Baum
Am Donnerstag, 27. Januar 2005 23:27 schrieb Sven Schreiber:
> I hope this is useful for the relyx-programmer(s) to squash the bug...

There are no relyx programmers (anymore). It is good that you found out 
that the input to lyx2lyx and therefroe relyx and not lyx2lyx was wrong. 
However, it does not make much sense (IMO) to try to fix bugs in relyx 
unless you are really fluent in perl and can do that in a couple of 
minutes.
IMO the time would be better spent in preparing ready-to-install packages 
of tex2lyx and testing tex2lyx.


Georg



Re: Spacing in "List of Tables" -- SOLVED

2005-01-29 Thread Rich Shepard
On Sat, 29 Jan 2005, Rich Shepard wrote:
 I tried the tocloft package. However, when I try this I get two
compilation errors because the figure and table depths are being redefined
by tocloft and TeX doesn't like that. I think I need the manual approach.
Herbert, et al.:
  Redefining the [EMAIL PROTECTED]'s format with a larger label width solved the
problem.
  Bit-by-bit (pun intended) I'm learning more about LaTeX with each problem
I encounter.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Spacing in "List of Tables"

2005-01-29 Thread Rich Shepard
On Sat, 29 Jan 2005, Uwe Stöhr wrote:
In this case you have to redefine the comand [EMAIL PROTECTED], e.g.:
[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{2.8em}}
Uwe,
  Eureka! So that's how it's done. It worked, thank you very much.
  So, rather than using the tocloft package (because it genereated errors),
or using the 19-line code on the Web page to which Herbert pointed me, the
simple redefinition of [EMAIL PROTECTED]'s label field is all I needed. I just 
did not
see this from reading the TLC2.
  This has been a valuable lesson, Uwe and Herbert, and I thank you for
teaching me something new and for your patience.
  Back to the copyeditor's corrections ...
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Spacing in "List of Tables"

2005-01-29 Thread Rich Shepard
On Sat, 29 Jan 2005, Herbert Voss wrote:
http://TeXnik.de/tocloft/TOC.phtml#label
using tocloft.sty for this is easier
Hebrert,
  I tried the tocloft package. However, when I try this I get two
compilation errors because the figure and table depths are being redefined
by tocloft and TeX doesn't like that. I think I need the manual approach.
  I'm using Spriger-Verlag's 'svmono.cls'. Grepping for
[EMAIL PROTECTED]@figure returns nothing. Paging through the file I cannot find
a reference to [EMAIL PROTECTED]
  The 19-line example on the referenced Web page is for Koma-script. I need
some hand-holding here to learn what I need to do with the svmono.cls to get
that same spacing result only for the List of Tables. Do I change the
reference from [EMAIL PROTECTED] to [EMAIL PROTECTED], then copy verbatim all 
the example to
the preamble of my document?
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: How to cross reference a float

2005-01-29 Thread Steve Litt
On Friday 28 January 2005 03:40 pm, Andre Poenitz wrote:
> On Wed, Jan 26, 2005 at 11:41:56AM -0500, Steve Litt wrote:
> > Seriously, there's got to be some way to make it easier. Your method
> > of "fig:" is a start, and makes things tolerable (THANKS!), but I'm
> > wondering if something could be done with automatic labels or maybe
> > local labels.
>
> I think one thing that could and should be offered is to add the
> possibility to create a label in the 'insert reference' dialog. I
> usually write someting, notice that I need to refere to some place, then
> need ages to scroll up to that place, insert the label, go down again,
> insert the reference. Having a box where all unlabled chapters and
> figures are listed ready for labeling would simplify that task
> enourmously.
>
> Andre'

While you're at it, include a field for the graphic file, complete with browse 
button. One stop shopping.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Re: Spacing in "List of Tables"

2005-01-29 Thread =?ISO-8859-1?Q?Uwe_St=F6hr?=
Rich Shepard wrote:
I've made the {numwidth} field 5.8em! The space is clearly visible in the
Table of Contents but no effect on the List of Tables. ARRRGGGHH-H-H-H!
In this case you have to redefine the comand [EMAIL PROTECTED], e.g.:
[EMAIL PROTECTED]@dottedtocline{1}{1.5em}{2.8em}}
([EMAIL PROTECTED] is for the LOF, found on page 50 in TLC2.)
regards Uwe


Re: How to cross reference a float

2005-01-29 Thread samar j. singh
Personally, I  use cross referencing fairly regularly. As a result one tends
to add in labels anytime something may need to be cross  referenced , hence
it appears to be less of a problem. The bigger issue  is  whether having
something like a table of contents against which you cross reference is
going to be more  work or less work. Not clear if I understand the problem
with referencing figures. As long as you use a float  it should be alright
or am I missing out  because of not reading the  prior material on this.

samar

- Original Message - 
From: "Andre Poenitz" <[EMAIL PROTECTED]>
To: "Steve Litt" <[EMAIL PROTECTED]>
Cc: 
Sent: Saturday, January 29, 2005 2:10 AM
Subject: Re: How to cross reference a float


> On Wed, Jan 26, 2005 at 11:41:56AM -0500, Steve Litt wrote:
> > Seriously, there's got to be some way to make it easier. Your method
> > of "fig:" is a start, and makes things tolerable (THANKS!), but I'm
> > wondering if something could be done with automatic labels or maybe
> > local labels.
>
> I think one thing that could and should be offered is to add the
> possibility to create a label in the 'insert reference' dialog. I
> usually write someting, notice that I need to refere to some place, then
> need ages to scroll up to that place, insert the label, go down again,
> insert the reference. Having a box where all unlabled chapters and
> figures are listed ready for labeling would simplify that task
> enourmously.
>
> Andre'
>