Re: Fwd: RC3 bug

2011-05-03 Thread Richard Heck
On 05/03/2011 04:49 AM, Liviu Andronic wrote:
 -- Forwarded message --
 From: Kristian Hovde Liland kristian.lil...@umb.no
 Date: Tue, May 3, 2011 at 10:47 AM
 Subject: RE: RC3 bug
 To: Liviu Andronic landronim...@gmail.com


 Hi Liviu,

 I tested again and the following gives the mentioned crash:

 - Create new LyX document
 - Make figure float
 - Insert figure in figure float
 - Save document
 - Replace file that figure in float is using while document is open
 - Crash

Can't reproduce with 2.0.0 on F14.

Richard



moderncv (in Fedora, again)

2011-05-03 Thread Manolo Martínez
Dear list,

Some more issues I'm encountering in my new Fedora box. Now I cannot get
LyX to compile my moderncv CVs. It's something to do with hyperref,
which is installed, and does not depend on the box use hyperref
support being ticked or not. In fact, an empty moderncv document (with
the right preamble) gives the same error. 

I attach here such a MWE, and the log.

As always, thanks.
Manolo




MWE.lyx
Description: application/lyx
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 
2011.5.1)  3 MAY 2011 15:43
entering extended mode
 restricted \write18 enabled.
 %-line parsing enabled.
**archivo_nuevo1.tex
(./archivo_nuevo1.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.

(/usr/share/texlive/texmf-dist/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2010/05/24 v0.8 modern curriculum vitae document class

(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2010/04/10 v1.9 e-TeX tools for LaTeX
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count79
)
\etb@tempcnta=\count80
) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
\Gread@gobject=\count81
)) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texlive/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n -- OT1/lmr/m/n on input line 22.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it -- OML/lmm/m/it on input line 23.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n -- OMS/lmsy/m/n on input line 24.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `normal'
(Font)  OMX/cmex/m/n -- OMX/lmex/m/n on input line 25.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 26.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it -- OML/lmm/b/it on input line 27.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n -- OMS/lmsy/b/n on input line 28.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n -- OMX/lmex/m/n on input line 29.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 31.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `normal'
(Font)  OT1/cmss/m/n -- OT1/lmss/m/n on input line 32.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it -- OT1/lmr/m/it on input line 33.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `normal'
(Font)  OT1/cmtt/m/n -- OT1/lmtt/m/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `bold'
(Font)  OT1/cmss/bx/n -- OT1/lmss/bx/n on input line 36.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it -- OT1/lmr/bx/it on input line 37.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n -- OT1/lmtt/m/n on input line 38.
) (/usr/share/texlive/texmf-dist/tex/latex/marvosym/marvosym.sty
Package: marvosym 2006/05/11 v2.1 Martin Vogel's Symbols font definitions
) 

Re: Auto-reload pdf files on Mac?

2011-05-03 Thread Daniel Lohmann

On 31.01.2011, at 18:17, Murat Yildizoglu wrote:

 I confirm that Skim is able to autoload the pdf and keep the actual view of 
 the file. You have just tell it, the first time you update the PDF, that you 
 want it to auto-load it (I have not found a way to tell it to auto-load 
 without asking this question).

That's easy, there is a hidden preference for this:
   
http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=Hidden_Preferences#Auto_Reload

Basically, all you have to do to get rid of this question is to open a Terminal 
window and enter:
   defaults write -app Skim SKAutoReloadFileUpdate -boolean true

Daniel





smime.p7s
Description: S/MIME cryptographic signature


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the 
 first time I've used LyX. The error messages are as follows: 
 LaTex Error: \mathbb allowed only in math mode. 
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted. 
 Extra }, or forgotten $. 
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted. 
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

please post the file causing the problem.

rh




SV: unwanted blank page

2011-05-03 Thread Ingar Pareliussen
Hi 

I am adding som images (not in floats) to my appendix on a report I am 
writing, 
and suddenly there is a blank page. Have been trying to find
out why, but I just can't. 

The subsection just jumps over a whole page :S

Probably one of the pictures are to large for page, even if it does not 
look that way. Try to reduce the size of the images. 

It might also be  some other issues. One might be that LaTeX does not know 
where the pagebreak should go if there is to little text. Try insert a 
Document-formatting-clearpage 
where you want a page break.

If this does not work we would need the LaTeX-log :)

hth,
Ingar Pareliussen

RE: Can't export my document to PDF

2011-05-03 Thread Rasband, Alexandra Paige (ST-Student)

From: Richard Heck [rgh...@comcast.net]
Sent: Tuesday, May 03, 2011 2:22 PM
To: Rasband, Alexandra Paige (ST-Student)
Cc: lyx-users@lists.lyx.org
Subject: Re: Can't export my document to PDF

On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the
 first time I've used LyX. The error messages are as follows:
 LaTex Error: \mathbb allowed only in math mode.
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted.
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

please post the file causing the problem.

rh




11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx
Description: 11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:40 PM, Rasband, Alexandra Paige (ST-Student) wrote:
 
 From: Richard Heck [rgh...@comcast.net]
 Sent: Tuesday, May 03, 2011 2:22 PM
 To: Rasband, Alexandra Paige (ST-Student)
 Cc: lyx-users@lists.lyx.org
 Subject: Re: Can't export my document to PDF

 On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the
 first time I've used LyX. The error messages are as follows:
 LaTex Error: \mathbb allowed only in math mode.
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted.
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

 please post the file causing the problem.

You seem to be trying to do italics using math mode. This is definitely
wrong and will cause you problems at some point. Just use Ctrl-E to get
emphasis.

More generally, way too much of your text is in math mode. You use math
(Ctrl-M) only for formulas. If you hit Ctrl-M again when inside math,
you are still in math, but are in a kind of text mode inside math.
This is not what you want, and it will cause problems.

You have this kind of problem at the end of (b) Motivation, which seems
to be where the error is. Much of the text here is actually inside math.
This is certainly a bug in LyX, that it either allowed you to do this or
output what it did. I'd suggest you erase it and retype it. Use math
mode only for math, and break out of it for text. You do this by simply
hitting the space bar.

When you are in math, there should be little corners around the math.
This lets you see where it is. If they aren't just around a formula, it
is wrong.

Also, your Z-sub-n thing is in many cases really more complicated than
it needs to be. The subscript is inside the math bold that makes the
Z, rather than outside it.

I'm attaching a cleaned up version of your file that at least compiles.
You'll see where I stopped and, by comparing this to your document, can
hopefully see how to continue.

rh



new.lyx
Description: application/lyx


Re: SV: unwanted blank page

2011-05-03 Thread Christian Wilhelmsen
When the image is to big the subsection title never follows the image,  and
when I try to insert a clear page nothing happens :/ I will send you the
code tomorrow, thank you for helping me :)

On May 3, 2011 7:28 PM, Ingar Pareliussen ingar.parelius...@dmmh.no
wrote:



 I am adding som images (not in floats) to my appendix on a report I am
writing,
 and suddenly there is a blank page. Have been trying to find
 out why, but I just can't.
 
 The subsection just jumps over a whole page :S

 Probably one of the pictures are to large for page, even if it does not
 look that way. Try to reduce the size of the images.

 It might also be  some other issues. One might be that LaTeX does not know
 where the pagebreak should go if there is to little text. Try insert a
 Document-formatting-clearpage
 where you want a page break.

 If this does not work we would need the LaTeX-log :)

 hth,
 Ingar Pareliussen


Re: Fwd: RC3 bug

2011-05-03 Thread Richard Heck
On 05/03/2011 04:49 AM, Liviu Andronic wrote:
 -- Forwarded message --
 From: Kristian Hovde Liland kristian.lil...@umb.no
 Date: Tue, May 3, 2011 at 10:47 AM
 Subject: RE: RC3 bug
 To: Liviu Andronic landronim...@gmail.com


 Hi Liviu,

 I tested again and the following gives the mentioned crash:

 - Create new LyX document
 - Make figure float
 - Insert figure in figure float
 - Save document
 - Replace file that figure in float is using while document is open
 - Crash

Can't reproduce with 2.0.0 on F14.

Richard



moderncv (in Fedora, again)

2011-05-03 Thread Manolo Martínez
Dear list,

Some more issues I'm encountering in my new Fedora box. Now I cannot get
LyX to compile my moderncv CVs. It's something to do with hyperref,
which is installed, and does not depend on the box use hyperref
support being ticked or not. In fact, an empty moderncv document (with
the right preamble) gives the same error. 

I attach here such a MWE, and the log.

As always, thanks.
Manolo




MWE.lyx
Description: application/lyx
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 
2011.5.1)  3 MAY 2011 15:43
entering extended mode
 restricted \write18 enabled.
 %-line parsing enabled.
**archivo_nuevo1.tex
(./archivo_nuevo1.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.

(/usr/share/texlive/texmf-dist/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2010/05/24 v0.8 modern curriculum vitae document class

(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2010/04/10 v1.9 e-TeX tools for LaTeX
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count79
)
\etb@tempcnta=\count80
) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
\Gread@gobject=\count81
)) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texlive/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n -- OT1/lmr/m/n on input line 22.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it -- OML/lmm/m/it on input line 23.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n -- OMS/lmsy/m/n on input line 24.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `normal'
(Font)  OMX/cmex/m/n -- OMX/lmex/m/n on input line 25.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 26.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it -- OML/lmm/b/it on input line 27.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n -- OMS/lmsy/b/n on input line 28.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n -- OMX/lmex/m/n on input line 29.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 31.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `normal'
(Font)  OT1/cmss/m/n -- OT1/lmss/m/n on input line 32.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it -- OT1/lmr/m/it on input line 33.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `normal'
(Font)  OT1/cmtt/m/n -- OT1/lmtt/m/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n -- OT1/lmr/bx/n on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `bold'
(Font)  OT1/cmss/bx/n -- OT1/lmss/bx/n on input line 36.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it -- OT1/lmr/bx/it on input line 37.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n -- OT1/lmtt/m/n on input line 38.
) (/usr/share/texlive/texmf-dist/tex/latex/marvosym/marvosym.sty
Package: marvosym 2006/05/11 v2.1 Martin Vogel's Symbols font definitions
) 

Re: Auto-reload pdf files on Mac?

2011-05-03 Thread Daniel Lohmann

On 31.01.2011, at 18:17, Murat Yildizoglu wrote:

 I confirm that Skim is able to autoload the pdf and keep the actual view of 
 the file. You have just tell it, the first time you update the PDF, that you 
 want it to auto-load it (I have not found a way to tell it to auto-load 
 without asking this question).

That's easy, there is a hidden preference for this:
   
http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=Hidden_Preferences#Auto_Reload

Basically, all you have to do to get rid of this question is to open a Terminal 
window and enter:
   defaults write -app Skim SKAutoReloadFileUpdate -boolean true

Daniel





smime.p7s
Description: S/MIME cryptographic signature


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the 
 first time I've used LyX. The error messages are as follows: 
 LaTex Error: \mathbb allowed only in math mode. 
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted. 
 Extra }, or forgotten $. 
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted. 
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

please post the file causing the problem.

rh




SV: unwanted blank page

2011-05-03 Thread Ingar Pareliussen
Hi 

I am adding som images (not in floats) to my appendix on a report I am 
writing, 
and suddenly there is a blank page. Have been trying to find
out why, but I just can't. 

The subsection just jumps over a whole page :S

Probably one of the pictures are to large for page, even if it does not 
look that way. Try to reduce the size of the images. 

It might also be  some other issues. One might be that LaTeX does not know 
where the pagebreak should go if there is to little text. Try insert a 
Document-formatting-clearpage 
where you want a page break.

If this does not work we would need the LaTeX-log :)

hth,
Ingar Pareliussen

RE: Can't export my document to PDF

2011-05-03 Thread Rasband, Alexandra Paige (ST-Student)

From: Richard Heck [rgh...@comcast.net]
Sent: Tuesday, May 03, 2011 2:22 PM
To: Rasband, Alexandra Paige (ST-Student)
Cc: lyx-users@lists.lyx.org
Subject: Re: Can't export my document to PDF

On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the
 first time I've used LyX. The error messages are as follows:
 LaTex Error: \mathbb allowed only in math mode.
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted.
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

please post the file causing the problem.

rh




11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx
Description: 11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:40 PM, Rasband, Alexandra Paige (ST-Student) wrote:
 
 From: Richard Heck [rgh...@comcast.net]
 Sent: Tuesday, May 03, 2011 2:22 PM
 To: Rasband, Alexandra Paige (ST-Student)
 Cc: lyx-users@lists.lyx.org
 Subject: Re: Can't export my document to PDF

 On 05/03/2011 03:15 PM, Alexandra wrote:
 I'm having problems exporting my LyX file to PDF. My problem is that this is 
 the
 first time I've used LyX. The error messages are as follows:
 LaTex Error: \mathbb allowed only in math mode.
 [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
 Missing $ inserted.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Extra }, or forgotten $.
 Missing } Inserted
 Missing $ Inserted.
 Missing } Inserted
 Missing } Inserted

 Thanks for the help!

 please post the file causing the problem.

You seem to be trying to do italics using math mode. This is definitely
wrong and will cause you problems at some point. Just use Ctrl-E to get
emphasis.

More generally, way too much of your text is in math mode. You use math
(Ctrl-M) only for formulas. If you hit Ctrl-M again when inside math,
you are still in math, but are in a kind of text mode inside math.
This is not what you want, and it will cause problems.

You have this kind of problem at the end of (b) Motivation, which seems
to be where the error is. Much of the text here is actually inside math.
This is certainly a bug in LyX, that it either allowed you to do this or
output what it did. I'd suggest you erase it and retype it. Use math
mode only for math, and break out of it for text. You do this by simply
hitting the space bar.

When you are in math, there should be little corners around the math.
This lets you see where it is. If they aren't just around a formula, it
is wrong.

Also, your Z-sub-n thing is in many cases really more complicated than
it needs to be. The subscript is inside the math bold that makes the
Z, rather than outside it.

I'm attaching a cleaned up version of your file that at least compiles.
You'll see where I stopped and, by comparing this to your document, can
hopefully see how to continue.

rh



new.lyx
Description: application/lyx


Re: SV: unwanted blank page

2011-05-03 Thread Christian Wilhelmsen
When the image is to big the subsection title never follows the image,  and
when I try to insert a clear page nothing happens :/ I will send you the
code tomorrow, thank you for helping me :)

On May 3, 2011 7:28 PM, Ingar Pareliussen ingar.parelius...@dmmh.no
wrote:



 I am adding som images (not in floats) to my appendix on a report I am
writing,
 and suddenly there is a blank page. Have been trying to find
 out why, but I just can't.
 
 The subsection just jumps over a whole page :S

 Probably one of the pictures are to large for page, even if it does not
 look that way. Try to reduce the size of the images.

 It might also be  some other issues. One might be that LaTeX does not know
 where the pagebreak should go if there is to little text. Try insert a
 Document-formatting-clearpage
 where you want a page break.

 If this does not work we would need the LaTeX-log :)

 hth,
 Ingar Pareliussen


Re: Fwd: RC3 bug

2011-05-03 Thread Richard Heck
On 05/03/2011 04:49 AM, Liviu Andronic wrote:
> -- Forwarded message --
> From: Kristian Hovde Liland 
> Date: Tue, May 3, 2011 at 10:47 AM
> Subject: RE: RC3 bug
> To: Liviu Andronic 
>
>
> Hi Liviu,
>
> I tested again and the following gives the mentioned crash:
>
> - Create new LyX document
> - Make figure float
> - Insert figure in figure float
> - Save document
> - Replace file that figure in float is using while document is open
> - Crash
>
Can't reproduce with 2.0.0 on F14.

Richard



moderncv (in Fedora, again)

2011-05-03 Thread Manolo Martínez
Dear list,

Some more issues I'm encountering in my new Fedora box. Now I cannot get
LyX to compile my moderncv CVs. It's something to do with hyperref,
which is installed, and does not depend on the box "use hyperref
support" being ticked or not. In fact, an empty moderncv document (with
the right preamble) gives the same error. 

I attach here such a MWE, and the log.

As always, thanks.
Manolo




MWE.lyx
Description: application/lyx
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 
2011.5.1)  3 MAY 2011 15:43
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**archivo_nuevo1.tex
(./archivo_nuevo1.tex
LaTeX2e <2009/09/24>
Babel  and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.

(/usr/share/texlive/texmf-dist/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2010/05/24 v0.8 modern curriculum vitae document class

(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
) (/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2010/04/10 v1.9 e-TeX tools for LaTeX
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count79
)
\etb@tempcnta=\count80
) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2010/01/28 v2.1 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
) (/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/02/14 v0.04n Graphics/color for pdfTeX
\Gread@gobject=\count81
)) (/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texlive/texmf-dist/tex/latex/lm/lmodern.sty
Package: lmodern 2009/10/30 v1.6 Latin Modern Fonts
LaTeX Font Info:Overwriting symbol font `operators' in version `normal'
(Font)  OT1/cmr/m/n --> OT1/lmr/m/n on input line 22.
LaTeX Font Info:Overwriting symbol font `letters' in version `normal'
(Font)  OML/cmm/m/it --> OML/lmm/m/it on input line 23.
LaTeX Font Info:Overwriting symbol font `symbols' in version `normal'
(Font)  OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 24.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `normal'
(Font)  OMX/cmex/m/n --> OMX/lmex/m/n on input line 25.
LaTeX Font Info:Overwriting symbol font `operators' in version `bold'
(Font)  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info:Overwriting symbol font `letters' in version `bold'
(Font)  OML/cmm/b/it --> OML/lmm/b/it on input line 27.
LaTeX Font Info:Overwriting symbol font `symbols' in version `bold'
(Font)  OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 28.
LaTeX Font Info:Overwriting symbol font `largesymbols' in version `bold'
(Font)  OMX/cmex/m/n --> OMX/lmex/m/n on input line 29.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `normal'
(Font)  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 31.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `normal'
(Font)  OT1/cmss/m/n --> OT1/lmss/m/n on input line 32.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `normal'
(Font)  OT1/cmr/m/it --> OT1/lmr/m/it on input line 33.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `normal'
(Font)  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 34.
LaTeX Font Info:Overwriting math alphabet `\mathbf' in version `bold'
(Font)  OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 35.
LaTeX Font Info:Overwriting math alphabet `\mathsf' in version `bold'
(Font)  OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 36.
LaTeX Font Info:Overwriting math alphabet `\mathit' in version `bold'
(Font)  OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 37.
LaTeX Font Info:Overwriting math alphabet `\mathtt' in version `bold'
(Font)  OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 38.
) (/usr/share/texlive/texmf-dist/tex/latex/marvosym/marvosym.sty
Package: marvosym 2006/05/11 v2.1 Martin Vogel's Symbols font definitions
) 

Re: Auto-reload pdf files on Mac?

2011-05-03 Thread Daniel Lohmann

On 31.01.2011, at 18:17, Murat Yildizoglu wrote:

> I confirm that Skim is able to autoload the pdf and keep the actual view of 
> the file. You have just tell it, the first time you update the PDF, that you 
> want it to auto-load it (I have not found a way to tell it to auto-load 
> without asking this question).

That's easy, there is a "hidden preference" for this:
   
http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=Hidden_Preferences#Auto_Reload

Basically, all you have to do to get rid of this question is to open a Terminal 
window and enter:
   defaults write -app Skim SKAutoReloadFileUpdate -boolean true

Daniel





smime.p7s
Description: S/MIME cryptographic signature


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:15 PM, Alexandra wrote:
> I'm having problems exporting my LyX file to PDF. My problem is that this is 
> the 
> first time I've used LyX. The error messages are as follows: 
> LaTex Error: \mathbb allowed only in math mode. 
> [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
> Missing $ inserted. 
> Extra }, or forgotten $. 
> Extra }, or forgotten $.
> Extra }, or forgotten $.
> Missing } Inserted
> Missing $ Inserted. 
> Missing } Inserted
> Missing } Inserted
>
> Thanks for the help!
>
please post the file causing the problem.

rh




SV: unwanted blank page

2011-05-03 Thread Ingar Pareliussen
Hi 

>I am adding som images (not in floats) to my appendix on a report I am 
>writing, 
>and suddenly there is a blank page. Have been trying to find
>out why, but I just can't. 
>
>The subsection just jumps over a whole page :S

Probably one of the pictures are to large for page, even if it does not 
look that way. Try to reduce the size of the images. 

It might also be  some other issues. One might be that LaTeX does not know 
where the pagebreak should go if there is to little text. Try insert a 
Document->formatting->clearpage 
where you want a page break.

If this does not work we would need the LaTeX-log :)

hth,
Ingar Pareliussen

RE: Can't export my document to PDF

2011-05-03 Thread Rasband, Alexandra Paige (S)

From: Richard Heck [rgh...@comcast.net]
Sent: Tuesday, May 03, 2011 2:22 PM
To: Rasband, Alexandra Paige (S)
Cc: lyx-users@lists.lyx.org
Subject: Re: Can't export my document to PDF

On 05/03/2011 03:15 PM, Alexandra wrote:
> I'm having problems exporting my LyX file to PDF. My problem is that this is 
> the
> first time I've used LyX. The error messages are as follows:
> LaTex Error: \mathbb allowed only in math mode.
> [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
> Missing $ inserted.
> Extra }, or forgotten $.
> Extra }, or forgotten $.
> Extra }, or forgotten $.
> Missing } Inserted
> Missing $ Inserted.
> Missing } Inserted
> Missing } Inserted
>
> Thanks for the help!
>
please post the file causing the problem.

rh




11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx
Description: 11-03(Mar)-25(Fri)-1230[Gardner and Rasband Group Project].lyx


Re: Can't export my document to PDF

2011-05-03 Thread Richard Heck
On 05/03/2011 03:40 PM, Rasband, Alexandra Paige (S) wrote:
> 
> From: Richard Heck [rgh...@comcast.net]
> Sent: Tuesday, May 03, 2011 2:22 PM
> To: Rasband, Alexandra Paige (S)
> Cc: lyx-users@lists.lyx.org
> Subject: Re: Can't export my document to PDF
>
> On 05/03/2011 03:15 PM, Alexandra wrote:
>> I'm having problems exporting my LyX file to PDF. My problem is that this is 
>> the
>> first time I've used LyX. The error messages are as follows:
>> LaTex Error: \mathbb allowed only in math mode.
>> [...ach\mathbb{Z_\mbox{\ensuremath{n.}} -You're in trouble here.]
>> Missing $ inserted.
>> Extra }, or forgotten $.
>> Extra }, or forgotten $.
>> Extra }, or forgotten $.
>> Missing } Inserted
>> Missing $ Inserted.
>> Missing } Inserted
>> Missing } Inserted
>>
>> Thanks for the help!
>>
> please post the file causing the problem.
>
You seem to be trying to do italics using math mode. This is definitely
wrong and will cause you problems at some point. Just use Ctrl-E to get
emphasis.

More generally, way too much of your text is in math mode. You use math
(Ctrl-M) only for formulas. If you hit Ctrl-M again when inside math,
you are still in math, but are in a kind of "text mode inside math".
This is not what you want, and it will cause problems.

You have this kind of problem at the end of (b) Motivation, which seems
to be where the error is. Much of the text here is actually inside math.
This is certainly a bug in LyX, that it either allowed you to do this or
output what it did. I'd suggest you erase it and retype it. Use math
mode only for math, and break out of it for text. You do this by simply
hitting the space bar.

When you are in math, there should be little corners around the math.
This lets you see where it is. If they aren't just around a formula, it
is wrong.

Also, your Z-sub-n thing is in many cases really more complicated than
it needs to be. The subscript is inside the "math bold" that makes the
Z, rather than outside it.

I'm attaching a cleaned up version of your file that at least compiles.
You'll see where I stopped and, by comparing this to your document, can
hopefully see how to continue.

rh



new.lyx
Description: application/lyx


Re: SV: unwanted blank page

2011-05-03 Thread Christian Wilhelmsen
When the image is to big the subsection title never follows the image,  and
when I try to insert a clear page nothing happens :/ I will send you the
code tomorrow, thank you for helping me :)

On May 3, 2011 7:28 PM, "Ingar Pareliussen" 
wrote:
>
>
>
> >I am adding som images (not in floats) to my appendix on a report I am
writing,
> >and suddenly there is a blank page. Have been trying to find
> >out why, but I just can't.
> >
> >The subsection just jumps over a whole page :S
>
> Probably one of the pictures are to large for page, even if it does not
> look that way. Try to reduce the size of the images.
>
> It might also be  some other issues. One might be that LaTeX does not know
> where the pagebreak should go if there is to little text. Try insert a
> Document->formatting->clearpage
> where you want a page break.
>
> If this does not work we would need the LaTeX-log :)
>
> hth,
> Ingar Pareliussen