Re: cannot recover my file

2014-05-17 Thread Richard Heck

On 05/17/2014 07:27 PM, Patrick Dupre wrote:

Hello,

After lyx crashed, I cannot recover my file:
  unusual contents found: [Unknown [sub [mathbf [char N mathalpha][char O 
mathalpha]] [char 2 mathalpha]]]
unusual contents found: [Unknown [sub [mathrm [char N mathalpha][char O 
mathalpha]] [char 2 mathalpha]]]

And lyx run for ever. I need to kill it 
This new version is really painful

I NEED TO RECOVER THIS FILE.
THis several months of works!!!


First, you should see if you have a backup in your backups directory. If 
not, then look for an autosave file, which will be named #yourfile.lyx#, 
in the same directory as that file. (If you do not have automatic backup 
set, or autosave, that would be a good idea.) If you have neither of 
those, or any other backup, then send me the file, and I'll recover it 
for you as best I can.


Regarding the crash, do you know what you were doing when it happened?

Richard



cannot recover my file

2014-05-17 Thread Patrick Dupre
Hello,

After lyx crashed, I cannot recover my file:
 unusual contents found: [Unknown [sub [mathbf [char N mathalpha][char O 
mathalpha]] [char 2 mathalpha]]]
unusual contents found: [Unknown [sub [mathrm [char N mathalpha][char O 
mathalpha]] [char 2 mathalpha]]]

And lyx run for ever. I need to kill it 
This new version is really painful

I NEED TO RECOVER THIS FILE.
THis several months of works!!!


Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Unbolding and resizing text

2014-05-17 Thread Steve Burnham

On May 17, 2014 at 12:05:30 PM, Jürgen Spitzmüller (sp...@lyx.org) wrote:

2014-05-17 18:56 GMT+02:00 Steve Burnham:
One other question:  I have a section in my appendix that needs to be single 
spaced instead of double.  If I highlight the text and go to paragraph settings 
I see the line spacing options.  I try to set that section to single spaced but 
then get compile errors:

! LaTeX Error: Command \singlespace already defined.  
! LaTeX Error: Command \singlespace already defined.

I’m thinking maybe something in the class file is preventing single space from 
happening.  Am I on the right track?

No. What happens here is that the class provides its own \singlespace command, 
but LyX loads the setspace package for singlespacing, which also defines 
\singlespace, and the two definitions clash.
 
 Is there simple fix for this and am I even doing it right?

In the lyx layout file (uuthesis.layout), add the following line (for example 
under the "PageStyle Headings" line):

Provides setspace 1

Restart LyX and the error should vanish.

HTH
Jürgen


Awesome, worked like a charm.

-Steve



Re: Unbolding and resizing text

2014-05-17 Thread Jürgen Spitzmüller
2014-05-17 18:56 GMT+02:00 Steve Burnham:

> One other question:  I have a section in my appendix that needs to be
> single spaced instead of double.  If I highlight the text and go to
> paragraph settings I see the line spacing options.  I try to set that
> section to single spaced but then get compile errors:
>
> ! LaTeX Error: Command \singlespace already defined.
>
> ! LaTeX Error: Command \singlespace already defined.
>
>
> I’m thinking maybe something in the class file is preventing single space
> from happening.  Am I on the right track?
>

No. What happens here is that the class provides its own \singlespace
command, but LyX loads the setspace package for singlespacing, which also
defines \singlespace, and the two definitions clash.


>  Is there simple fix for this and am I even doing it right?
>

In the lyx layout file (uuthesis.layout), add the following line (for
example under the "PageStyle Headings" line):

Provides setspace 1


Restart LyX and the error should vanish.


HTH

Jürgen



>
> -Steve
>


Re: Unbolding and resizing text

2014-05-17 Thread Steve Burnham
On May 17, 2014 at 02:08:07 AM, Jürgen Spitzmüller (sp...@lyx.org) wrote:
2014-05-16 23:49 GMT+02:00 Steve Burnham:
i’m nearly done with my thesis except for a couple of minor formatting issues.  
All of my chapter headings and section headings are bolded and larger text than 
the rest of the document.  I need these to be the same font size and unbolded.  
If I highlight the text and right click and go to text style I can unbold the 
chapter title and section title as well as decrease the font size but the 
section number and the chapter number simply remain the same.  Is this 
something defined in the LaTeX class file or something that can be changed in 
LyX and how would I go about it?  

Yes, this is defined in the class. If you look at your class file, you'll 
probably find defintions of \chapter, \section etc. where the font weight and 
size are set. Sorry, I cannot look myself now.

Jürgen


I think I’ve located the section where it’s defined, just need to mess with it 
some and learn some LaTeX syntax to change it.  

One other question:  I have a section in my appendix that needs to be single 
spaced instead of double.  If I highlight the text and go to paragraph settings 
I see the line spacing options.  I try to set that section to single spaced but 
then get compile errors:

! LaTeX Error: Command \singlespace already defined.  
! LaTeX Error: Command \singlespace already defined.

I’m thinking maybe something in the class file is preventing single space from 
happening.  Am I on the right track?  Is there simple fix for this and am I 
even doing it right?

-Steve

Re: How to tell LyX to add empty line after paragraphs of my style?

2014-05-17 Thread Enrico Forestieri
Roman Inflianskas writes:
> 
> Thank you, it works and looks better, than -separator-.

Just for information. This issue is solved for the next major release (2.2).
To achieve your goal you can either simply hit  after an environment
or use a local layout with NextNoIndent set to false, as you already did
(but now it will work).

-- 
Enrico



Re: Unbolding and resizing text

2014-05-17 Thread Jürgen Spitzmüller
2014-05-16 23:49 GMT+02:00 Steve Burnham:

> i’m nearly done with my thesis except for a couple of minor formatting
> issues.  All of my chapter headings and section headings are bolded and
> larger text than the rest of the document.  I need these to be the same
> font size and unbolded.  If I highlight the text and right click and go to
> text style I can unbold the chapter title and section title as well as
> decrease the font size but the section number and the chapter number simply
> remain the same.  Is this something defined in the LaTeX class file or
> something that can be changed in LyX and how would I go about it?
>

Yes, this is defined in the class. If you look at your class file, you'll
probably find defintions of \chapter, \section etc. where the font weight
and size are set. Sorry, I cannot look myself now.

Jürgen



>
>
>
> -Steve
>
>
>