Prerelease 6 of 1.4.0

2006-03-04 Thread Lars Gullik Bjønnes

This will be the last prerelease before the 1.4.0 proper is released.

Unless critical problems is discovered this will become 1.4.0 in a
reasonable short time.

Help to make sure that pre6 does not contain any brown-paperbag bugs
will be appreciated.

You can get pre6 from:

ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.gz

-- 
Lgb



[LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi All,

How can I preserve the ongoing numbering of the Enumerate environment 
across subsections?

I am writing a tutorial, which is a step-by-step guide through some 
functions of some software. Since the sequence of actions is of some 
importance, the Enumerate environment is perfect here.

This tutorial will be a bit lengthy, thus I would like to insert some 
intermediate titles (preferably subsections or subsubsections), so that 
the user knows what's coming next. Roughly like this:

STARTING UP
  1. Text Text Text Text Text ...
  2. Text Text Text Text Text ...
  3. Text Text Text Text Text ...
LOGGING IN
  4. Text Text Text Text Text ...
  5. Text Text Text Text Text ...
QUERYING
  6. Text Text Text Text Text ...
  7. Text Text Text Text Text ...

... I think you get the idea. 

My question is, how do you achieve this in LyX? (One particular challenge 
is that the numbering shall be truly automatic, i.e. I don't want to 
specify starting numbers after an intermediate title)

Thanks for any hint,
and have a nice day!

- Joerg


PS: Please DO NOT cc me with your reply. I'm already reading the list ;-)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: Symbol fonts in Mandriva 2006.

2006-03-04 Thread Roy Schestowitz

_/ On Thu 02 Mar 2006 19:08:10 GMT, [Rudi Gaelzer] wrote : \_

Hi Rudi,

I have a similar problem, as well as a few suggestions or pointers.



I'm baffled!
I've just installed Paul Smith's rpm package for LyX 1.3.7 in my 
Mandriva 2006

LE system.  He developed the package for Mandriva 2005 LE, but the package
seemed to work for the 2006 release as well.



Good  distribution.  I saw it recently when migrating a friend  to  64-bit
Linux  and  was impressed. It comes with a comprehensive set of fonts  for
all  I can, tell but I believe the problem that you describe is  unrelated
to fonts.



However, I just noticed that I lost the display of several math symbols like
Greek letters, \parallel, \perp, etc.  I lost them only on the display;
LyXPreview shows the symbols all right.



While I work on LyX under Fedora Core, I have the exact same problem on my
main workstation which is SuSE. It used to work fine on that SuSE box, but
at  some  stage I began to get LaTeX sequences rather than the symbols.  I
did not upgrade the system or anything.



I tried installing the auxiliary packages fonts-ttf-latex-0.1-1mdk.noarch.rpm
and latex-xft-fonts-0.1-1.noarch.rpm alternatively and also with both
packages installed and nothing works.  I even uninstalled the 1.3.7 package
and returned to the 1.3.6 version, but still no symbols on display.

Does anyone has any idea what I'm doing wrong?

Thanks



First of all, I suggest you try to change interface fonts under prefences.
If this does not help, consider more TrurType fonts, although I suspect it
it *them* that broke things in the first place. Last thing I would consid-
er  is trying the same on an adjacent machine, if one is available. See if
updates  to  Mandriva  or some more font RPM's make a difference.  If  you
found  a  solution, I would be interested in hearing about it  too.  Fonts
were  my natural instinct, considering them to be the culprit. However,  I
would  suggest something more lateral because I haven't yet found a  solu-
tion.  I wonder if an option exists in LyX somewhere, which controls  this
behaviour because, as I said, it used to work fine.

Best wishes,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Uwe Stöhr

Joerg Hau schrieb:

How can I preserve the ongoing numbering of the Enumerate environment 
across subsections?


See attached LyX-example file.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi,

 How can I preserve the ongoing numbering of the Enumerate environment
 across subsections?

 See attached LyX-example file.

Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:

 My question is, how do you achieve this in LyX? (One particular
 challenge is that the numbering shall be truly automatic, i.e. I don't
 want to specify starting numbers after an intermediate title)

any hint ... ?

Thanks,

- Joerg


(PS: I'm afraid this posting will mess up threading somewhat, but I have 
not found a way to reply to a single message from inside the digest?)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Herbert Voss

Joerg Hau wrote:


How can I preserve the ongoing numbering of the Enumerate environment
across subsections?




See attached LyX-example file.



Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:




My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I don't
want to specify starting numbers after an intermediate title)



any hint ... ?


package mdwlist

Herbert




Re: Rweave for Windows Lyx (problem solved!)

2006-03-04 Thread Cheng-shan (Frank) Liu
Thank you, Nicolás. Also thank Uwe Ligges, Brian D. Ripley, and Paul 
Johnson for their advices. Here is a summary of the advices about how to 
make Rweave work in Lyx under Windows:


Suppose your Lyx is installed in C:\ProgramFiles\Lyx and your R in
C:\ProgramFiles\R-2.2.1.

1. Create a R file MakeSweave.R with the following lines and then put
it in C:\ProgramFiles\Lyx\bin\ (this is a path registered in Lyx).

library(tools)
args - commandArgs()
inp - args[length(args)]
Sweave(inp)
base - sub(\.(Rnw|Rtex)$, , inp)
texi2dvi(paste(base, .tex, sep=), pdf=TRUE)
shell.exec(paste(base, .pdf, sep=))

2. Create a batch script called Rweave.bat with the follwowing line,
and put it in C:\ProgramFiles\Lyx\bin\. (Note that back slash /,
rather than slash /, is used in the script.)
C:/ProgramFiles/R-2.2.1/bin/Rterm --no-save --args %1
C:/ProgramFiles/LyX/bin/MakeSweave.R %1.log

3. Put noweb.sty (can be found in google, or simply grab this file:
http://www.lsi.upc.es/~tpl/noweb.sty) in
C:\ProgramFiles\Miktex\tex\latex\noweb\ and refresh MikTex.

4. Reconfigure Lyx (go to Edit- Reconfigure). Check if you have
document class article(noweb) (Layout-Document), If not, you may need
to reinstall Lyx.

5. Last, make Lyx recognize the converter script Rweave. Go to
Edit-Preferences-Converters. In the From pulldown, choose Noweb. In
the To pulldown, choose LaTeX. Hit the new button toward the bottom.
Then, make sure the Converter Noweb-LaTeX is chosen, and in the box
called Converter type Rweave $$i without the quotation .


To test if the installation is done, check out Dr. Paul Johnson's
example file (http://pj.freefaculty.org/stat/Distributions/Gamma-02.lyx
). See if you can view its pdf file.


-Frank Liu



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Maria Gouskova
This question seems to come up on the mailing list in different forms  
about once a week. Perhaps it should be explained in the LyX User's  
Guide and/or have a prominent LyX wiki page devoted to it?


Maria

On Mar 4, 2006, at 4:53 PM, Herbert Voss wrote:


Joerg Hau wrote:

How can I preserve the ongoing numbering of the Enumerate  
environment

across subsections?

See attached LyX-example file.
Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre- 
defined counter. This is exactly what I want to avoid:

My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I  
don't

want to specify starting numbers after an intermediate title)

any hint ... ?


package mdwlist

Herbert






Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Sven Schreiber
Lars Gullik Bjønnes schrieb:
 This will be the last prerelease before the 1.4.0 proper is released.
 
 Unless critical problems is discovered this will become 1.4.0 in a
 reasonable short time.
 
 Help to make sure that pre6 does not contain any brown-paperbag bugs
 will be appreciated.
 

If you guys really want to get it thoroughly tested, I humbly suggest
providing binaries for all supported platforms.

(Please don't confuse unwillingness-to-build with unwillingness-to-help,
but it's so much more efficient if the people who have everything
already set up for making a binary just upload their output, and if the
time of normal users is actually used for testing instead of struggling
with the build process.)

Looking forward to 1.4 with excitement...!
-sven


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.


On 3/4/06, Sven Schreiber [EMAIL PROTECTED] wrote:
 Lars Gullik Bjønnes schrieb:
  This will be the last prerelease before the 1.4.0 proper is released.
 
  Unless critical problems is discovered this will become 1.4.0 in a
  reasonable short time.
 
  Help to make sure that pre6 does not contain any brown-paperbag bugs
  will be appreciated.
 

 If you guys really want to get it thoroughly tested, I humbly suggest
 providing binaries for all supported platforms.

 (Please don't confuse unwillingness-to-build with unwillingness-to-help,
 but it's so much more efficient if the people who have everything
 already set up for making a binary just upload their output, and if the
 time of normal users is actually used for testing instead of struggling
 with the build process.)

 Looking forward to 1.4 with excitement...!
 -sven



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Sven Schreiber [EMAIL PROTECTED]
Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 5:33 PM
Subject: Re: Prerelease 6 of 1.4.0


I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.

---  Some Windows information.

This is not quite as new but might be useful for
testing until there is a newer binary,

http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe

It was provided by Angus Leeming. To get spellchecking to work,
the newly downloaded dictionary (aspell5-6.0-0)goes in
C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
ignore spellchecking until they finish re-building the newer dicts and
put them into packages which they intend to do for Lyx1.4.0 proper.

I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset 
etc.)

into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
smoothly and the problem that some of us had of typing sh configure
again at the end of the installation has been resolved.

Regards,
Stephen





Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Stacia Hartleben [EMAIL PROTECTED]
 To: Sven Schreiber [EMAIL PROTECTED]
 Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
 Sent: Saturday, March 04, 2006 5:33 PM
 Subject: Re: Prerelease 6 of 1.4.0


 I agree completely - I was trying to figure out how to compile it for
 windows but couldn't...But I would very much like to test the new
 version.

 ---  Some Windows information.

 This is not quite as new but might be useful for
 testing until there is a newer binary,

 http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe

 It was provided by Angus Leeming. To get spellchecking to work,
 the newly downloaded dictionary (aspell5-6.0-0)goes in
 C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
 ignore spellchecking until they finish re-building the newer dicts and
 put them into packages which they intend to do for Lyx1.4.0 proper.

 I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
 etc.)
 into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
 smoothly and the problem that some of us had of typing sh configure
 again at the end of the installation has been resolved.

 Regards,
 Stephen






Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
the device is not ready
Assertion triggered in void boost::throw_exceptionconst
std::exception by failing check false in file ../../src/boost.C:29

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
 I can't get this version to work. Do I need to build the dictionaries
 to make it work? I tried doing sh configure and it still won't load. I
 uninstalled the old version of LyX too to make sure nothing was
 interfering.

 On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:
 
  - Original Message -
  From: Stacia Hartleben [EMAIL PROTECTED]
  To: Sven Schreiber [EMAIL PROTECTED]
  Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
  Sent: Saturday, March 04, 2006 5:33 PM
  Subject: Re: Prerelease 6 of 1.4.0
 
 
  I agree completely - I was trying to figure out how to compile it for
  windows but couldn't...But I would very much like to test the new
  version.
 
  ---  Some Windows information.
 
  This is not quite as new but might be useful for
  testing until there is a newer binary,
 
  http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
 
  It was provided by Angus Leeming. To get spellchecking to work,
  the newly downloaded dictionary (aspell5-6.0-0)goes in
  C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
  ignore spellchecking until they finish re-building the newer dicts and
  put them into packages which they intend to do for Lyx1.4.0 proper.
 
  I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
  etc.)
  into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
  smoothly and the problem that some of us had of typing sh configure
  again at the end of the installation has been resolved.
 
  Regards,
  Stephen
 
 
 
 



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
 Sorry, more specifically, I get this error when trying to run lyx:

 exception caught:
 boost::filesystem::is_directory:
 J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
 the device is not ready
 Assertion triggered in void boost::throw_exceptionconst
 std::exception by failing check false in file ../../src/boost.C:29

 On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
  I can't get this version to work. Do I need to build the dictionaries
  to make it work? I tried doing sh configure and it still won't load. I
  uninstalled the old version of LyX too to make sure nothing was
  interfering.
 
  On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:
  
   - Original Message -
   From: Stacia Hartleben [EMAIL PROTECTED]
   To: Sven Schreiber [EMAIL PROTECTED]
   Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
   Sent: Saturday, March 04, 2006 5:33 PM
   Subject: Re: Prerelease 6 of 1.4.0
  
  
   I agree completely - I was trying to figure out how to compile it for
   windows but couldn't...But I would very much like to test the new
   version.
  
   ---  Some Windows information.
  
   This is not quite as new but might be useful for
   testing until there is a newer binary,
  
   http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
  
   It was provided by Angus Leeming. To get spellchecking to work,
   the newly downloaded dictionary (aspell5-6.0-0)goes in
   C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
   ignore spellchecking until they finish re-building the newer dicts and
   put them into packages which they intend to do for Lyx1.4.0 proper.
  
   I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
   etc.)
   into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation 
   went
   smoothly and the problem that some of us had of typing sh configure
   again at the end of the installation has been resolved.
  
   Regards,
   Stephen
  
  
  
  
 



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Sven Schreiber [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 7:56 PM
Subject: Re: Prerelease 6 of 1.4.0


I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

No, Aspell isn't needed to make LyX work, if you don't install
Aspell then LyX just doen't have that functionality. I think you
forgot to rename your LyX config folder up in Application data.

I have 3 Windows version of LyX installed and 1 Cygwin and all 
this works. C:\Documents and Settings\UserID\Application Data 
I made a desktop link to this directory which stores your LyX

prefs: C:\Documents and Settings\UserID\Application Data\LyX

I started by renaming that LyX folder in Application Data, to LyX137,
so that LyX doesn't see a LyX folder. When I installed LyX137v3, it
made its own LyX folder. Next, I renamed it, LyX, to LyX137v3. Next
I installed LyX140v2 which makes its own LyX folder. I rename
(right-click on folder, choose rename) that LyX folder to LyX140v2
when I want to switch back to using LyX137. Next I rename the
the folder called Lyx137 to simply LyX.

IOW, I put the preferences folder LyX in sync with the Lyx version
executable I want to use. Enrico thinks my method can be simplified.

When I installed the old WinLyX137, I selected C:\LyX and made a 
desktop link (right-click on lyx.bat or lyx.exe, Send To, and choose

Desktop (create shortcut) which puts a shortcut on the desktop.

When I installed LyX137v3 I installed it to C:\Lyx137v3. Then I used
the process described above to put a link for that lyx.exe on the desktop.
One can rename the shortcuts so that they say LyX137v3 etc to keep 
track of them. Finally I installed WinLyX140v2 in C:\Lyx140v2 and
made a desktop link for it. 


In summary, if I have been using WinLyx137 with the folder LyX
which has been used to store the 137 settings, and I want to use
LyX140v2; then I click on my Application data shortcut link which
is on my desktop and rename LyX to LyX137. I rename the LyX140v2
folder to LyX. Then I click on the desktop link which is named for
the LyX140v2 .exe or bat. I keep them matched up the lyx.exe version 
and the the LyX configuration file which was made during the install of 
that lyx.exe version and stored up in \Application data in a LyX folder.
Enrico's advice is in a recent thread, maybe in response to the **post. 


I didn't use Control Panel, Add and Remove Programs, to uninstall
my original version of LyX (137). It is not prudent to replace LyX137
with LyX140 now. IMO it is safer to keep both programs until Lyx1.4.1

I think a backup of C:\Aspell that works with LyX137 should be made
before building a new dictionary, especially data and dict. Building
the new dict made overwrite the old files in those folders and they
need to be kept separate from the /lib/aspell-0.60 contents. That is
why I think it is better to wait for the new dict packages being readied.
Installing Aspell is not part of the installing LyX140v2 method, but
apllies to how fully LyX140v2 functions afterwards. I don't think that
spellchecking works as well in 140 as 137 anyway. The fix is for 1.4.1

-

http://www.mail-archive.com/lyx-users@lists.lyx.org/ a good resource.
**To: lyx-users@lists.lyx.org
**Sent: Thursday, February 16, 2006 8:38 AM
**Subject: Re: side-by-side installation of 1.3.7 and 1.4.0

Stephen Harris [EMAIL PROTECTED] writes:


Maybe that sounded complicated, but it takes less than
15 seconds to switch back and forth by renaming folders. 
I don't know if it is this easy using Linux, but there should

be a way.


Enrico wrote:
You need not renaming your folders. Call one folder LyX137 and the 
otherLyX140 (place them wherever you want, too), than in your batch 
files call the lyx binary using the -userdir option to point it to the

location of the right folder.

C:\LyX\bin\lyx.exe -userdir C:\whatever\LyX137  - for lyx 1.3.7
C:\LyX140\bin\lyx.exe -userdir C:\whatever\LyX140   - for lyx 1.4.0



I see you have another post about this. I will mail this and read
your next. First glimpse seems like you are merging the build
instructions and the rather easy Angus LyX140v2 installation.

Regards,
Stephen 







Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Sven Schreiber [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 8:55 PM
Subject: Re: Prerelease 6 of 1.4.0


Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:

Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
the device is not ready
Assertion triggered in void boost::throw_exceptionconst
std::exception by failing check false in file ../../src/boost.C:29



Well, this is odd. In the instructions for building LyX, I've seen a line 
like  J:\MSYS\home\Angus\LyX\ QTDIR=J:\MinSys\home\Angus\qt3
because this is what Angus uses (J:). I think it was in install.Win32. 
Anyway the instructions say to change these values to those appropriate 
on your system. 
I have no J: drive so this quirk doen't display its menacing fangs.


 Angus wrote in  install.Win32:

3.2 Compile the QT library

   Create two .bat files, in the top-level directory of the Qt tree,
   my_configure.bat and my_make.bat. Mine are shown below. 
   Obviously, you'll have to tweak them ;-)


   $ cat my_configure.bat
   set QTDIR=J:\MinSys\home\Angus\qt3
   set MINGW=J:\MinGW
   set PATH=J:\MinSys\home\Angus\qt3\bin;
J:\MinGW\bin;C:\WINDOWS\system32; C:\WINDOWS
   set QMAKESPEC=win32-g++
   configure.bat -verbose

-

Regards,
Stephen



Prerelease 6 of 1.4.0

2006-03-04 Thread Lars Gullik Bjønnes

This will be the last prerelease before the 1.4.0 proper is released.

Unless critical problems is discovered this will become 1.4.0 in a
reasonable short time.

Help to make sure that pre6 does not contain any brown-paperbag bugs
will be appreciated.

You can get pre6 from:

ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.gz

-- 
Lgb



[LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi All,

How can I preserve the ongoing numbering of the Enumerate environment 
across subsections?

I am writing a tutorial, which is a step-by-step guide through some 
functions of some software. Since the sequence of actions is of some 
importance, the Enumerate environment is perfect here.

This tutorial will be a bit lengthy, thus I would like to insert some 
intermediate titles (preferably subsections or subsubsections), so that 
the user knows what's coming next. Roughly like this:

STARTING UP
  1. Text Text Text Text Text ...
  2. Text Text Text Text Text ...
  3. Text Text Text Text Text ...
LOGGING IN
  4. Text Text Text Text Text ...
  5. Text Text Text Text Text ...
QUERYING
  6. Text Text Text Text Text ...
  7. Text Text Text Text Text ...

... I think you get the idea. 

My question is, how do you achieve this in LyX? (One particular challenge 
is that the numbering shall be truly automatic, i.e. I don't want to 
specify starting numbers after an intermediate title)

Thanks for any hint,
and have a nice day!

- Joerg


PS: Please DO NOT cc me with your reply. I'm already reading the list ;-)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: Symbol fonts in Mandriva 2006.

2006-03-04 Thread Roy Schestowitz

_/ On Thu 02 Mar 2006 19:08:10 GMT, [Rudi Gaelzer] wrote : \_

Hi Rudi,

I have a similar problem, as well as a few suggestions or pointers.



I'm baffled!
I've just installed Paul Smith's rpm package for LyX 1.3.7 in my 
Mandriva 2006

LE system.  He developed the package for Mandriva 2005 LE, but the package
seemed to work for the 2006 release as well.



Good  distribution.  I saw it recently when migrating a friend  to  64-bit
Linux  and  was impressed. It comes with a comprehensive set of fonts  for
all  I can, tell but I believe the problem that you describe is  unrelated
to fonts.



However, I just noticed that I lost the display of several math symbols like
Greek letters, \parallel, \perp, etc.  I lost them only on the display;
LyXPreview shows the symbols all right.



While I work on LyX under Fedora Core, I have the exact same problem on my
main workstation which is SuSE. It used to work fine on that SuSE box, but
at  some  stage I began to get LaTeX sequences rather than the symbols.  I
did not upgrade the system or anything.



I tried installing the auxiliary packages fonts-ttf-latex-0.1-1mdk.noarch.rpm
and latex-xft-fonts-0.1-1.noarch.rpm alternatively and also with both
packages installed and nothing works.  I even uninstalled the 1.3.7 package
and returned to the 1.3.6 version, but still no symbols on display.

Does anyone has any idea what I'm doing wrong?

Thanks



First of all, I suggest you try to change interface fonts under prefences.
If this does not help, consider more TrurType fonts, although I suspect it
it *them* that broke things in the first place. Last thing I would consid-
er  is trying the same on an adjacent machine, if one is available. See if
updates  to  Mandriva  or some more font RPM's make a difference.  If  you
found  a  solution, I would be interested in hearing about it  too.  Fonts
were  my natural instinct, considering them to be the culprit. However,  I
would  suggest something more lateral because I haven't yet found a  solu-
tion.  I wonder if an option exists in LyX somewhere, which controls  this
behaviour because, as I said, it used to work fine.

Best wishes,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Uwe Stöhr

Joerg Hau schrieb:

How can I preserve the ongoing numbering of the Enumerate environment 
across subsections?


See attached LyX-example file.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi,

 How can I preserve the ongoing numbering of the Enumerate environment
 across subsections?

 See attached LyX-example file.

Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:

 My question is, how do you achieve this in LyX? (One particular
 challenge is that the numbering shall be truly automatic, i.e. I don't
 want to specify starting numbers after an intermediate title)

any hint ... ?

Thanks,

- Joerg


(PS: I'm afraid this posting will mess up threading somewhat, but I have 
not found a way to reply to a single message from inside the digest?)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
All standard disclaimers apply.
Never take life seriously. You won't get out alive anyway.


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Herbert Voss

Joerg Hau wrote:


How can I preserve the ongoing numbering of the Enumerate environment
across subsections?




See attached LyX-example file.



Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:




My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I don't
want to specify starting numbers after an intermediate title)



any hint ... ?


package mdwlist

Herbert




Re: Rweave for Windows Lyx (problem solved!)

2006-03-04 Thread Cheng-shan (Frank) Liu
Thank you, Nicolás. Also thank Uwe Ligges, Brian D. Ripley, and Paul 
Johnson for their advices. Here is a summary of the advices about how to 
make Rweave work in Lyx under Windows:


Suppose your Lyx is installed in C:\ProgramFiles\Lyx and your R in
C:\ProgramFiles\R-2.2.1.

1. Create a R file MakeSweave.R with the following lines and then put
it in C:\ProgramFiles\Lyx\bin\ (this is a path registered in Lyx).

library(tools)
args - commandArgs()
inp - args[length(args)]
Sweave(inp)
base - sub(\.(Rnw|Rtex)$, , inp)
texi2dvi(paste(base, .tex, sep=), pdf=TRUE)
shell.exec(paste(base, .pdf, sep=))

2. Create a batch script called Rweave.bat with the follwowing line,
and put it in C:\ProgramFiles\Lyx\bin\. (Note that back slash /,
rather than slash /, is used in the script.)
C:/ProgramFiles/R-2.2.1/bin/Rterm --no-save --args %1
C:/ProgramFiles/LyX/bin/MakeSweave.R %1.log

3. Put noweb.sty (can be found in google, or simply grab this file:
http://www.lsi.upc.es/~tpl/noweb.sty) in
C:\ProgramFiles\Miktex\tex\latex\noweb\ and refresh MikTex.

4. Reconfigure Lyx (go to Edit- Reconfigure). Check if you have
document class article(noweb) (Layout-Document), If not, you may need
to reinstall Lyx.

5. Last, make Lyx recognize the converter script Rweave. Go to
Edit-Preferences-Converters. In the From pulldown, choose Noweb. In
the To pulldown, choose LaTeX. Hit the new button toward the bottom.
Then, make sure the Converter Noweb-LaTeX is chosen, and in the box
called Converter type Rweave $$i without the quotation .


To test if the installation is done, check out Dr. Paul Johnson's
example file (http://pj.freefaculty.org/stat/Distributions/Gamma-02.lyx
). See if you can view its pdf file.


-Frank Liu



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Maria Gouskova
This question seems to come up on the mailing list in different forms  
about once a week. Perhaps it should be explained in the LyX User's  
Guide and/or have a prominent LyX wiki page devoted to it?


Maria

On Mar 4, 2006, at 4:53 PM, Herbert Voss wrote:


Joerg Hau wrote:

How can I preserve the ongoing numbering of the Enumerate  
environment

across subsections?

See attached LyX-example file.
Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre- 
defined counter. This is exactly what I want to avoid:

My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I  
don't

want to specify starting numbers after an intermediate title)

any hint ... ?


package mdwlist

Herbert






Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Sven Schreiber
Lars Gullik Bjønnes schrieb:
 This will be the last prerelease before the 1.4.0 proper is released.
 
 Unless critical problems is discovered this will become 1.4.0 in a
 reasonable short time.
 
 Help to make sure that pre6 does not contain any brown-paperbag bugs
 will be appreciated.
 

If you guys really want to get it thoroughly tested, I humbly suggest
providing binaries for all supported platforms.

(Please don't confuse unwillingness-to-build with unwillingness-to-help,
but it's so much more efficient if the people who have everything
already set up for making a binary just upload their output, and if the
time of normal users is actually used for testing instead of struggling
with the build process.)

Looking forward to 1.4 with excitement...!
-sven


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.


On 3/4/06, Sven Schreiber [EMAIL PROTECTED] wrote:
 Lars Gullik Bjønnes schrieb:
  This will be the last prerelease before the 1.4.0 proper is released.
 
  Unless critical problems is discovered this will become 1.4.0 in a
  reasonable short time.
 
  Help to make sure that pre6 does not contain any brown-paperbag bugs
  will be appreciated.
 

 If you guys really want to get it thoroughly tested, I humbly suggest
 providing binaries for all supported platforms.

 (Please don't confuse unwillingness-to-build with unwillingness-to-help,
 but it's so much more efficient if the people who have everything
 already set up for making a binary just upload their output, and if the
 time of normal users is actually used for testing instead of struggling
 with the build process.)

 Looking forward to 1.4 with excitement...!
 -sven



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Sven Schreiber [EMAIL PROTECTED]
Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 5:33 PM
Subject: Re: Prerelease 6 of 1.4.0


I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.

---  Some Windows information.

This is not quite as new but might be useful for
testing until there is a newer binary,

http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe

It was provided by Angus Leeming. To get spellchecking to work,
the newly downloaded dictionary (aspell5-6.0-0)goes in
C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
ignore spellchecking until they finish re-building the newer dicts and
put them into packages which they intend to do for Lyx1.4.0 proper.

I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset 
etc.)

into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
smoothly and the problem that some of us had of typing sh configure
again at the end of the installation has been resolved.

Regards,
Stephen





Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:

 - Original Message -
 From: Stacia Hartleben [EMAIL PROTECTED]
 To: Sven Schreiber [EMAIL PROTECTED]
 Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
 Sent: Saturday, March 04, 2006 5:33 PM
 Subject: Re: Prerelease 6 of 1.4.0


 I agree completely - I was trying to figure out how to compile it for
 windows but couldn't...But I would very much like to test the new
 version.

 ---  Some Windows information.

 This is not quite as new but might be useful for
 testing until there is a newer binary,

 http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe

 It was provided by Angus Leeming. To get spellchecking to work,
 the newly downloaded dictionary (aspell5-6.0-0)goes in
 C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
 ignore spellchecking until they finish re-building the newer dicts and
 put them into packages which they intend to do for Lyx1.4.0 proper.

 I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
 etc.)
 into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
 smoothly and the problem that some of us had of typing sh configure
 again at the end of the installation has been resolved.

 Regards,
 Stephen






Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
the device is not ready
Assertion triggered in void boost::throw_exceptionconst
std::exception by failing check false in file ../../src/boost.C:29

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
 I can't get this version to work. Do I need to build the dictionaries
 to make it work? I tried doing sh configure and it still won't load. I
 uninstalled the old version of LyX too to make sure nothing was
 interfering.

 On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:
 
  - Original Message -
  From: Stacia Hartleben [EMAIL PROTECTED]
  To: Sven Schreiber [EMAIL PROTECTED]
  Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
  Sent: Saturday, March 04, 2006 5:33 PM
  Subject: Re: Prerelease 6 of 1.4.0
 
 
  I agree completely - I was trying to figure out how to compile it for
  windows but couldn't...But I would very much like to test the new
  version.
 
  ---  Some Windows information.
 
  This is not quite as new but might be useful for
  testing until there is a newer binary,
 
  http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
 
  It was provided by Angus Leeming. To get spellchecking to work,
  the newly downloaded dictionary (aspell5-6.0-0)goes in
  C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
  ignore spellchecking until they finish re-building the newer dicts and
  put them into packages which they intend to do for Lyx1.4.0 proper.
 
  I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
  etc.)
  into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
  smoothly and the problem that some of us had of typing sh configure
  again at the end of the installation has been resolved.
 
  Regards,
  Stephen
 
 
 
 



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
 Sorry, more specifically, I get this error when trying to run lyx:

 exception caught:
 boost::filesystem::is_directory:
 J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
 the device is not ready
 Assertion triggered in void boost::throw_exceptionconst
 std::exception by failing check false in file ../../src/boost.C:29

 On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:
  I can't get this version to work. Do I need to build the dictionaries
  to make it work? I tried doing sh configure and it still won't load. I
  uninstalled the old version of LyX too to make sure nothing was
  interfering.
 
  On 3/4/06, Stephen Harris [EMAIL PROTECTED] wrote:
  
   - Original Message -
   From: Stacia Hartleben [EMAIL PROTECTED]
   To: Sven Schreiber [EMAIL PROTECTED]
   Cc: Lars Gullik Bjønnes [EMAIL PROTECTED]; lyx-users@lists.lyx.org
   Sent: Saturday, March 04, 2006 5:33 PM
   Subject: Re: Prerelease 6 of 1.4.0
  
  
   I agree completely - I was trying to figure out how to compile it for
   windows but couldn't...But I would very much like to test the new
   version.
  
   ---  Some Windows information.
  
   This is not quite as new but might be useful for
   testing until there is a newer binary,
  
   http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
  
   It was provided by Angus Leeming. To get spellchecking to work,
   the newly downloaded dictionary (aspell5-6.0-0)goes in
   C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
   ignore spellchecking until they finish re-building the newer dicts and
   put them into packages which they intend to do for Lyx1.4.0 proper.
  
   I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
   etc.)
   into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation 
   went
   smoothly and the problem that some of us had of typing sh configure
   again at the end of the installation has been resolved.
  
   Regards,
   Stephen
  
  
  
  
 



Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Sven Schreiber [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 7:56 PM
Subject: Re: Prerelease 6 of 1.4.0


I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

No, Aspell isn't needed to make LyX work, if you don't install
Aspell then LyX just doen't have that functionality. I think you
forgot to rename your LyX config folder up in Application data.

I have 3 Windows version of LyX installed and 1 Cygwin and all 
this works. C:\Documents and Settings\UserID\Application Data 
I made a desktop link to this directory which stores your LyX

prefs: C:\Documents and Settings\UserID\Application Data\LyX

I started by renaming that LyX folder in Application Data, to LyX137,
so that LyX doesn't see a LyX folder. When I installed LyX137v3, it
made its own LyX folder. Next, I renamed it, LyX, to LyX137v3. Next
I installed LyX140v2 which makes its own LyX folder. I rename
(right-click on folder, choose rename) that LyX folder to LyX140v2
when I want to switch back to using LyX137. Next I rename the
the folder called Lyx137 to simply LyX.

IOW, I put the preferences folder LyX in sync with the Lyx version
executable I want to use. Enrico thinks my method can be simplified.

When I installed the old WinLyX137, I selected C:\LyX and made a 
desktop link (right-click on lyx.bat or lyx.exe, Send To, and choose

Desktop (create shortcut) which puts a shortcut on the desktop.

When I installed LyX137v3 I installed it to C:\Lyx137v3. Then I used
the process described above to put a link for that lyx.exe on the desktop.
One can rename the shortcuts so that they say LyX137v3 etc to keep 
track of them. Finally I installed WinLyX140v2 in C:\Lyx140v2 and
made a desktop link for it. 


In summary, if I have been using WinLyx137 with the folder LyX
which has been used to store the 137 settings, and I want to use
LyX140v2; then I click on my Application data shortcut link which
is on my desktop and rename LyX to LyX137. I rename the LyX140v2
folder to LyX. Then I click on the desktop link which is named for
the LyX140v2 .exe or bat. I keep them matched up the lyx.exe version 
and the the LyX configuration file which was made during the install of 
that lyx.exe version and stored up in \Application data in a LyX folder.
Enrico's advice is in a recent thread, maybe in response to the **post. 


I didn't use Control Panel, Add and Remove Programs, to uninstall
my original version of LyX (137). It is not prudent to replace LyX137
with LyX140 now. IMO it is safer to keep both programs until Lyx1.4.1

I think a backup of C:\Aspell that works with LyX137 should be made
before building a new dictionary, especially data and dict. Building
the new dict made overwrite the old files in those folders and they
need to be kept separate from the /lib/aspell-0.60 contents. That is
why I think it is better to wait for the new dict packages being readied.
Installing Aspell is not part of the installing LyX140v2 method, but
apllies to how fully LyX140v2 functions afterwards. I don't think that
spellchecking works as well in 140 as 137 anyway. The fix is for 1.4.1

-

http://www.mail-archive.com/lyx-users@lists.lyx.org/ a good resource.
**To: lyx-users@lists.lyx.org
**Sent: Thursday, February 16, 2006 8:38 AM
**Subject: Re: side-by-side installation of 1.3.7 and 1.4.0

Stephen Harris [EMAIL PROTECTED] writes:


Maybe that sounded complicated, but it takes less than
15 seconds to switch back and forth by renaming folders. 
I don't know if it is this easy using Linux, but there should

be a way.


Enrico wrote:
You need not renaming your folders. Call one folder LyX137 and the 
otherLyX140 (place them wherever you want, too), than in your batch 
files call the lyx binary using the -userdir option to point it to the

location of the right folder.

C:\LyX\bin\lyx.exe -userdir C:\whatever\LyX137  - for lyx 1.3.7
C:\LyX140\bin\lyx.exe -userdir C:\whatever\LyX140   - for lyx 1.4.0



I see you have another post about this. I will mail this and read
your next. First glimpse seems like you are merging the build
instructions and the rather easy Angus LyX140v2 installation.

Regards,
Stephen 







Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: Stacia Hartleben [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: Sven Schreiber [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Saturday, March 04, 2006 8:55 PM
Subject: Re: Prerelease 6 of 1.4.0


Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben [EMAIL PROTECTED] wrote:

Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale:
the device is not ready
Assertion triggered in void boost::throw_exceptionconst
std::exception by failing check false in file ../../src/boost.C:29



Well, this is odd. In the instructions for building LyX, I've seen a line 
like  J:\MSYS\home\Angus\LyX\ QTDIR=J:\MinSys\home\Angus\qt3
because this is what Angus uses (J:). I think it was in install.Win32. 
Anyway the instructions say to change these values to those appropriate 
on your system. 
I have no J: drive so this quirk doen't display its menacing fangs.


 Angus wrote in  install.Win32:

3.2 Compile the QT library

   Create two .bat files, in the top-level directory of the Qt tree,
   my_configure.bat and my_make.bat. Mine are shown below. 
   Obviously, you'll have to tweak them ;-)


   $ cat my_configure.bat
   set QTDIR=J:\MinSys\home\Angus\qt3
   set MINGW=J:\MinGW
   set PATH=J:\MinSys\home\Angus\qt3\bin;
J:\MinGW\bin;C:\WINDOWS\system32; C:\WINDOWS
   set QMAKESPEC=win32-g++
   configure.bat -verbose

-

Regards,
Stephen



Prerelease 6 of 1.4.0

2006-03-04 Thread Lars Gullik Bjønnes

This will be the last prerelease before the 1.4.0 proper is released.

Unless critical problems is discovered this will become 1.4.0 in a
reasonable short time.

Help to make sure that pre6 does not contain any brown-paperbag bugs
will be appreciated.

You can get pre6 from:

ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/pre/lyx-1.4.0pre6.tar.gz

-- 
Lgb



[LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi All,

How can I preserve the ongoing numbering of the "Enumerate" environment 
across subsections?

I am writing a tutorial, which is a "step-by-step" guide through some 
functions of some software. Since the sequence of actions is of some 
importance, the "Enumerate" environment is perfect here.

This tutorial will be a bit lengthy, thus I would like to insert some 
"intermediate titles" (preferably subsections or subsubsections), so that 
the user "knows what's coming next". Roughly like this:

STARTING UP
  1. Text Text Text Text Text ...
  2. Text Text Text Text Text ...
  3. Text Text Text Text Text ...
LOGGING IN
  4. Text Text Text Text Text ...
  5. Text Text Text Text Text ...
QUERYING
  6. Text Text Text Text Text ...
  7. Text Text Text Text Text ...

... I think you get the idea. 

My question is, how do you achieve this in LyX? (One particular challenge 
is that the numbering shall be truly automatic, i.e. I don't want to 
specify "starting numbers" after an intermediate title)

Thanks for any hint,
and have a nice day!

- Joerg


PS: Please DO NOT cc me with your reply. I'm already reading the list ;-)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
"All standard disclaimers apply."
Never take life seriously. You won't get out alive anyway.


Re: Symbol fonts in Mandriva 2006.

2006-03-04 Thread Roy Schestowitz

_/ On Thu 02 Mar 2006 19:08:10 GMT, [Rudi Gaelzer] wrote : \_

Hi Rudi,

I have a similar problem, as well as a few suggestions or pointers.



I'm baffled!
I've just installed Paul Smith's rpm package for LyX 1.3.7 in my 
Mandriva 2006

LE system.  He developed the package for Mandriva 2005 LE, but the package
seemed to work for the 2006 release as well.



Good  distribution.  I saw it recently when migrating a friend  to  64-bit
Linux  and  was impressed. It comes with a comprehensive set of fonts  for
all  I can, tell but I believe the problem that you describe is  unrelated
to fonts.



However, I just noticed that I lost the display of several math symbols like
Greek letters, \parallel, \perp, etc.  I lost them only on the display;
LyXPreview shows the symbols all right.



While I work on LyX under Fedora Core, I have the exact same problem on my
main workstation which is SuSE. It used to work fine on that SuSE box, but
at  some  stage I began to get LaTeX sequences rather than the symbols.  I
did not upgrade the system or anything.



I tried installing the auxiliary packages fonts-ttf-latex-0.1-1mdk.noarch.rpm
and latex-xft-fonts-0.1-1.noarch.rpm alternatively and also with both
packages installed and nothing works.  I even uninstalled the 1.3.7 package
and returned to the 1.3.6 version, but still no symbols on display.

Does anyone has any idea what I'm doing wrong?

Thanks



First of all, I suggest you try to change interface fonts under prefences.
If this does not help, consider more TrurType fonts, although I suspect it
it *them* that broke things in the first place. Last thing I would consid-
er  is trying the same on an adjacent machine, if one is available. See if
updates  to  Mandriva  or some more font RPM's make a difference.  If  you
found  a  solution, I would be interested in hearing about it  too.  Fonts
were  my natural instinct, considering them to be the culprit. However,  I
would  suggest something more lateral because I haven't yet found a  solu-
tion.  I wonder if an option exists in LyX somewhere, which controls  this
behaviour because, as I said, it used to work fine.

Best wishes,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Uwe Stöhr

Joerg Hau schrieb:

How can I preserve the ongoing numbering of the "Enumerate" environment 
across subsections?


See attached LyX-example file.

regards Uwe


newfile1.lyx
Description: application/lyx


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Joerg Hau
Hi,
>
>> How can I preserve the ongoing numbering of the "Enumerate" environment
>> across subsections?

> See attached LyX-example file.

Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:

> My question is, how do you achieve this in LyX? (One particular
> challenge is that the numbering shall be truly automatic, i.e. I don't
> want to specify "starting numbers" after an intermediate title)

any hint ... ?

Thanks,

- Joerg


(PS: I'm afraid this posting will mess up threading somewhat, but I have 
not found a way to reply to a single message from inside the digest?)


-- 
joerg.hau(at)dplanet.ch * Lausanne, Switzerland
http://homepage.sunrise.ch/mysunrise/joerg.hau/
"All standard disclaimers apply."
Never take life seriously. You won't get out alive anyway.


Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Herbert Voss

Joerg Hau wrote:


How can I preserve the ongoing numbering of the "Enumerate" environment
across subsections?




See attached LyX-example file.



Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre-defined 
counter. This is exactly what I want to avoid:




My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I don't
want to specify "starting numbers" after an intermediate title)



any hint ... ?


package mdwlist

Herbert




Re: Rweave for Windows Lyx (problem solved!)

2006-03-04 Thread Cheng-shan (Frank) Liu
Thank you, Nicolás. Also thank Uwe Ligges, Brian D. Ripley, and Paul 
Johnson for their advices. Here is a summary of the advices about how to 
make Rweave work in Lyx under Windows:


Suppose your Lyx is installed in C:\ProgramFiles\Lyx and your R in
C:\ProgramFiles\R-2.2.1.

1. Create a R file "MakeSweave.R" with the following lines and then put
it in "C:\ProgramFiles\Lyx\bin\" (this is a path registered in Lyx).

library(tools)
args <- commandArgs()
inp <- args[length(args)]
Sweave(inp)
base <- sub("\.(Rnw|Rtex)$", "", inp)
texi2dvi(paste("base", ".tex", sep=""), pdf=TRUE)
shell.exec(paste("base", ".pdf", sep=""))

2. Create a batch script called "Rweave.bat" with the follwowing line,
and put it in "C:\ProgramFiles\Lyx\bin\". (Note that back slash "/",
rather than slash "/", is used in the script.)
C:/ProgramFiles/R-2.2.1/bin/Rterm --no-save --args "%1"
 "%1.log"

3. Put noweb.sty (can be found in google, or simply grab this file:
http://www.lsi.upc.es/~tpl/noweb.sty) in
C:\ProgramFiles\Miktex\tex\latex\noweb\ and refresh MikTex.

4. Reconfigure Lyx (go to Edit-> Reconfigure). Check if you have
document class "article(noweb)" (Layout->Document), If not, you may need
to reinstall Lyx.

5. Last, make Lyx recognize the converter script Rweave. Go to
Edit->Preferences->Converters. In the "From" pulldown, choose Noweb. In
the "To" pulldown, choose LaTeX. Hit the "new" button toward the bottom.
Then, make sure the Converter Noweb->LaTeX is chosen, and in the box
called "Converter" type "Rweave $$i" without the quotation "".


To test if the installation is done, check out Dr. Paul Johnson's
example file (http://pj.freefaculty.org/stat/Distributions/Gamma-02.lyx
). See if you can view its pdf file.


-Frank Liu



Re: [LyX] Keep enumeration across subsections?

2006-03-04 Thread Maria Gouskova
This question seems to come up on the mailing list in different forms  
about once a week. Perhaps it should be explained in the LyX User's  
Guide and/or have a prominent LyX wiki page devoted to it?


Maria

On Mar 4, 2006, at 4:53 PM, Herbert Voss wrote:


Joerg Hau wrote:

How can I preserve the ongoing numbering of the "Enumerate"  
environment

across subsections?

See attached LyX-example file.
Thanks Uwe, but your file uses \setcounter{enumi}{4}, i.e. a pre- 
defined counter. This is exactly what I want to avoid:

My question is, how do you achieve this in LyX? (One particular
challenge is that the numbering shall be truly automatic, i.e. I  
don't

want to specify "starting numbers" after an intermediate title)

any hint ... ?


package mdwlist

Herbert






Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Sven Schreiber
Lars Gullik Bjønnes schrieb:
> This will be the last prerelease before the 1.4.0 proper is released.
> 
> Unless critical problems is discovered this will become 1.4.0 in a
> reasonable short time.
> 
> Help to make sure that pre6 does not contain any brown-paperbag bugs
> will be appreciated.
> 

If you guys really want to get it thoroughly tested, I humbly suggest
providing binaries for all supported platforms.

(Please don't confuse unwillingness-to-build with unwillingness-to-help,
but it's so much more efficient if the people who have everything
already set up for making a binary just upload their output, and if the
time of normal users is actually used for testing instead of struggling
with the build process.)

Looking forward to 1.4 with excitement...!
-sven


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.


On 3/4/06, Sven Schreiber <[EMAIL PROTECTED]> wrote:
> Lars Gullik Bjønnes schrieb:
> > This will be the last prerelease before the 1.4.0 proper is released.
> >
> > Unless critical problems is discovered this will become 1.4.0 in a
> > reasonable short time.
> >
> > Help to make sure that pre6 does not contain any brown-paperbag bugs
> > will be appreciated.
> >
>
> If you guys really want to get it thoroughly tested, I humbly suggest
> providing binaries for all supported platforms.
>
> (Please don't confuse unwillingness-to-build with unwillingness-to-help,
> but it's so much more efficient if the people who have everything
> already set up for making a binary just upload their output, and if the
> time of normal users is actually used for testing instead of struggling
> with the build process.)
>
> Looking forward to 1.4 with excitement...!
> -sven
>


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: "Stacia Hartleben" <[EMAIL PROTECTED]>

To: "Sven Schreiber" <[EMAIL PROTECTED]>
Cc: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]>; 
Sent: Saturday, March 04, 2006 5:33 PM
Subject: Re: Prerelease 6 of 1.4.0


I agree completely - I was trying to figure out how to compile it for
windows but couldn't...But I would very much like to test the new
version.

---  Some Windows information.

This is not quite as new but might be useful for
testing until there is a newer binary,

http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe

It was provided by Angus Leeming. To get spellchecking to work,
the newly downloaded dictionary (aspell5-6.0-0)goes in
C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
ignore spellchecking until they finish re-building the newer dicts and
put them into packages which they intend to do for Lyx1.4.0 proper.

I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset 
etc.)

into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
smoothly and the problem that some of us had of typing "sh configure"
again at the end of the installation has been resolved.

Regards,
Stephen





Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

On 3/4/06, Stephen Harris <[EMAIL PROTECTED]> wrote:
>
> - Original Message -
> From: "Stacia Hartleben" <[EMAIL PROTECTED]>
> To: "Sven Schreiber" <[EMAIL PROTECTED]>
> Cc: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]>; 
> Sent: Saturday, March 04, 2006 5:33 PM
> Subject: Re: Prerelease 6 of 1.4.0
>
>
> I agree completely - I was trying to figure out how to compile it for
> windows but couldn't...But I would very much like to test the new
> version.
>
> ---  Some Windows information.
>
> This is not quite as new but might be useful for
> testing until there is a newer binary,
>
> http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
>
> It was provided by Angus Leeming. To get spellchecking to work,
> the newly downloaded dictionary (aspell5-6.0-0)goes in
> C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
> ignore spellchecking until they finish re-building the newer dicts and
> put them into packages which they intend to do for Lyx1.4.0 proper.
>
> I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
> etc.)
> into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
> smoothly and the problem that some of us had of typing "sh configure"
> again at the end of the installation has been resolved.
>
> Regards,
> Stephen
>
>
>
>


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
"J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale":
the device is not ready
Assertion triggered in void boost::throw_exception by failing check "false" in file ../../src/boost.C:29

On 3/4/06, Stacia Hartleben <[EMAIL PROTECTED]> wrote:
> I can't get this version to work. Do I need to build the dictionaries
> to make it work? I tried doing sh configure and it still won't load. I
> uninstalled the old version of LyX too to make sure nothing was
> interfering.
>
> On 3/4/06, Stephen Harris <[EMAIL PROTECTED]> wrote:
> >
> > - Original Message -
> > From: "Stacia Hartleben" <[EMAIL PROTECTED]>
> > To: "Sven Schreiber" <[EMAIL PROTECTED]>
> > Cc: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]>; 
> > Sent: Saturday, March 04, 2006 5:33 PM
> > Subject: Re: Prerelease 6 of 1.4.0
> >
> >
> > I agree completely - I was trying to figure out how to compile it for
> > windows but couldn't...But I would very much like to test the new
> > version.
> >
> > ---  Some Windows information.
> >
> > This is not quite as new but might be useful for
> > testing until there is a newer binary,
> >
> > http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
> >
> > It was provided by Angus Leeming. To get spellchecking to work,
> > the newly downloaded dictionary (aspell5-6.0-0)goes in
> > C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
> > ignore spellchecking until they finish re-building the newer dicts and
> > put them into packages which they intend to do for Lyx1.4.0 proper.
> >
> > I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
> > etc.)
> > into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation went
> > smoothly and the problem that some of us had of typing "sh configure"
> > again at the end of the installation has been resolved.
> >
> > Regards,
> > Stephen
> >
> >
> >
> >
>


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stacia Hartleben
Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben <[EMAIL PROTECTED]> wrote:
> Sorry, more specifically, I get this error when trying to run lyx:
>
> exception caught:
> boost::filesystem::is_directory:
> "J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale":
> the device is not ready
> Assertion triggered in void boost::throw_exception std::exception&> by failing check "false" in file ../../src/boost.C:29
>
> On 3/4/06, Stacia Hartleben <[EMAIL PROTECTED]> wrote:
> > I can't get this version to work. Do I need to build the dictionaries
> > to make it work? I tried doing sh configure and it still won't load. I
> > uninstalled the old version of LyX too to make sure nothing was
> > interfering.
> >
> > On 3/4/06, Stephen Harris <[EMAIL PROTECTED]> wrote:
> > >
> > > - Original Message -
> > > From: "Stacia Hartleben" <[EMAIL PROTECTED]>
> > > To: "Sven Schreiber" <[EMAIL PROTECTED]>
> > > Cc: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]>; 
> > > Sent: Saturday, March 04, 2006 5:33 PM
> > > Subject: Re: Prerelease 6 of 1.4.0
> > >
> > >
> > > I agree completely - I was trying to figure out how to compile it for
> > > windows but couldn't...But I would very much like to test the new
> > > version.
> > >
> > > ---  Some Windows information.
> > >
> > > This is not quite as new but might be useful for
> > > testing until there is a newer binary,
> > >
> > > http://wiki.lyx.org/uploads/Windows/LyX140pre/lyx-1.4.0pre_win32_setup_v2.exe
> > >
> > > It was provided by Angus Leeming. To get spellchecking to work,
> > > the newly downloaded dictionary (aspell5-6.0-0)goes in
> > > C:\Aspell\lib\aspell-0.60 and it has to be built. It might be better to
> > > ignore spellchecking until they finish re-building the newer dicts and
> > > put them into packages which they intend to do for Lyx1.4.0 proper.
> > >
> > > I also copied the contents ~\aspell6\aspell-0.60.4\data (iso-8859-1.cset
> > > etc.)
> > > into the folder, C:\Aspell\lib\aspell-0.6; the rest of the installation 
> > > went
> > > smoothly and the problem that some of us had of typing "sh configure"
> > > again at the end of the installation has been resolved.
> > >
> > > Regards,
> > > Stephen
> > >
> > >
> > >
> > >
> >
>


Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: "Stacia Hartleben" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: "Sven Schreiber" <[EMAIL PROTECTED]>; 
Sent: Saturday, March 04, 2006 7:56 PM
Subject: Re: Prerelease 6 of 1.4.0


I can't get this version to work. Do I need to build the dictionaries
to make it work? I tried doing sh configure and it still won't load. I
uninstalled the old version of LyX too to make sure nothing was
interfering.

No, Aspell isn't needed to make LyX work, if you don't install
Aspell then LyX just doen't have that functionality. I think you
forgot to rename your LyX config folder up in Application data.

I have 3 Windows version of LyX installed and 1 Cygwin and all 
this works. "C:\Documents and Settings\UserID\Application Data" 
I made a desktop link to this directory which stores your LyX

prefs: C:\Documents and Settings\UserID\Application Data\LyX

I started by renaming that LyX folder in Application Data, to LyX137,
so that LyX doesn't see a LyX folder. When I installed LyX137v3, it
made its own LyX folder. Next, I renamed it, LyX, to LyX137v3. Next
I installed LyX140v2 which makes its own LyX folder. I rename
(right-click on folder, choose rename) that LyX folder to LyX140v2
when I want to switch back to using LyX137. Next I rename the
the folder called Lyx137 to simply LyX.

IOW, I put the preferences folder LyX in sync with the Lyx version
executable I want to use. Enrico thinks my method can be simplified.

When I installed the "old" WinLyX137, I selected C:\LyX and made a 
desktop link (right-click on lyx.bat or lyx.exe, Send To, and choose

Desktop (create shortcut) which puts a shortcut on the desktop.

When I installed LyX137v3 I installed it to C:\Lyx137v3. Then I used
the process described above to put a link for that lyx.exe on the desktop.
One can rename the shortcuts so that they say LyX137v3 etc to keep 
track of them. Finally I installed WinLyX140v2 in C:\Lyx140v2 and
made a desktop link for it. 


In summary, if I have been using WinLyx137 with the folder LyX
which has been used to store the 137 settings, and I want to use
LyX140v2; then I click on my Application data shortcut link which
is on my desktop and rename LyX to LyX137. I rename the LyX140v2
folder to LyX. Then I click on the desktop link which is named for
the LyX140v2 .exe or bat. I keep them matched up the lyx.exe version 
and the the LyX configuration file which was made during the install of 
that lyx.exe version and stored up in \Application data in a LyX folder.
Enrico's advice is in a recent thread, maybe in response to the **post. 


I didn't use Control Panel, Add and Remove Programs, to uninstall
my original version of LyX (137). It is not prudent to replace LyX137
with LyX140 now. IMO it is safer to keep both programs until Lyx1.4.1

I think a backup of C:\Aspell that works with LyX137 should be made
before building a new dictionary, especially data and dict. Building
the new dict made overwrite the old files in those folders and they
need to be kept separate from the /lib/aspell-0.60 contents. That is
why I think it is better to wait for the new dict packages being readied.
Installing Aspell is not part of the installing LyX140v2 method, but
apllies to how fully LyX140v2 functions afterwards. I don't think that
spellchecking works as well in 140 as 137 anyway. The fix is for 1.4.1

-

http://www.mail-archive.com/lyx-users@lists.lyx.org/ a good resource.
**To: 
**Sent: Thursday, February 16, 2006 8:38 AM
**Subject: Re: side-by-side installation of 1.3.7 and 1.4.0

Stephen Harris <[EMAIL PROTECTED]> writes:


Maybe that sounded complicated, but it takes less than
15 seconds to switch back and forth by renaming folders. 
I don't know if it is this easy using Linux, but there should

be a way.


Enrico wrote:
You need not renaming your folders. Call one folder LyX137 and the 
otherLyX140 (place them wherever you want, too), than in your batch 
files call the lyx binary using the -userdir option to point it to the

location of the right folder.

C:\LyX\bin\lyx.exe -userdir C:\whatever\LyX137  <- for lyx 1.3.7
C:\LyX140\bin\lyx.exe -userdir C:\whatever\LyX140   <- for lyx 1.4.0



I see you have another post about this. I will mail this and read
your next. First glimpse seems like you are merging the build
instructions and the rather easy Angus LyX140v2 installation.

Regards,
Stephen 







Re: Prerelease 6 of 1.4.0

2006-03-04 Thread Stephen Harris


- Original Message - 
From: "Stacia Hartleben" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: "Sven Schreiber" <[EMAIL PROTECTED]>; 
Sent: Saturday, March 04, 2006 8:55 PM
Subject: Re: Prerelease 6 of 1.4.0


Whoops, sorry about the spam. Unplugging my J drive seemed to do the
trick (I have a card reader with several drives attached). Hope this
is fixed in the final installer :)

On 3/4/06, Stacia Hartleben <[EMAIL PROTECTED]> wrote:

Sorry, more specifically, I get this error when trying to run lyx:

exception caught:
boost::filesystem::is_directory:
"J:\MSYS\home\Angus\LyX\devel\build\installprefix\Resources\locale":
the device is not ready
Assertion triggered in void boost::throw_exception by failing check "false" in file ../../src/boost.C:29



Well, this is odd. In the instructions for building LyX, I've seen a line 
like  "J:\MSYS\home\Angus\LyX\" QTDIR=J:\MinSys\home\Angus\qt3
because this is what Angus uses (J:). I think it was in install.Win32. 
Anyway the instructions say to change these values to those appropriate 
on your system. 
I have no J: drive so this quirk doen't display its menacing fangs.


 Angus wrote in  install.Win32:

"3.2 Compile the QT library

   Create two .bat files, in the top-level directory of the Qt tree,
   my_configure.bat and my_make.bat. Mine are shown below. 
   Obviously, you'll have to tweak them ;-)


   $ cat my_configure.bat
   set QTDIR=J:\MinSys\home\Angus\qt3
   set MINGW=J:\MinGW
   set PATH=J:\MinSys\home\Angus\qt3\bin;
J:\MinGW\bin;C:\WINDOWS\system32; C:\WINDOWS
   set QMAKESPEC=win32-g++
   configure.bat -verbose"

-

Regards,
Stephen