Re: Cannot use some greek letters

2014-05-06 Thread Stephan Witt
Am 06.05.2014 um 04:07 schrieb Steve Burnham dan...@gmail.com:

 Forum,
 
 I am currently writing my thesis in LyX and am writing a number of equations, 
 many of which use greek letters.  All has been working fine until today when 
 I needed to use the greek letter “phi”.  When trying to use that letter I get 
 “could not find LaTeX command for character “phi” (code point 0x3d5).  I am 
 using the latest LyX on OSX with MacTeX.  In the description of the error it 
 says Some characters of your document are probably not representable in the 
 chosen encoding.  Changing the document encoding to utf8 could help.”  I 
 tried changing my encoding to utf8 but it just breaks the document even more 
 and doesn’t like the other greek letters.  Any advice on how to get around 
 this?

Hi Steve,

I've tried it with LyX 2.1.0 on a Mac book.  I have no problem with it when 
making an PDF with pdflatex.  I've attached my example document.  Please, 
verify it and send your example if you cannot get it to work.

Stephan


Letter-phi.lyx
Description: Binary data


Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
 Read the last answer in this mail:
 http://marc.info/?l=lyx-usersm=139595652821799w=2

It may be worth to copy paste this email to note into beamer manual as a note,
it would help frustrated users to get through the first shock what improved
beamer support means ;)

Pavel


problem displaying angstrom symbol

2014-05-06 Thread Ider Ronneberger

Hi,

I have a problem in lyx displaying the angstom symbol using \AA within 
the math mode, i.e. if I want to view the document as pdf the angstrom 
sign is not there. However it works if I write \AA in Tex mode or insert 
it from InsertSpecial Charecters Symbols...


On the bottom pane of the lyx display, there is a short info message. In 
one case it says Type: simple Macro:AA  and in the other case ( which 
works)   it just says Type: simple. What is the difference? How can 
resolve this issue?


Thanks in advance!

Ider


Re: problem displaying angstrom symbol

2014-05-06 Thread Jens Nöckel

On May 6, 2014, at 8:45 AM, Ider Ronneberger wrote:

 Hi,
 
 I have a problem in lyx displaying the angstom symbol using \AA within the 
 math mode, i.e. if I want to view the document as pdf the angstrom sign is 
 not there. However it works if I write \AA in Tex mode or insert it from 
 InsertSpecial Charecters Symbols...
 
 On the bottom pane of the lyx display, there is a short info message. In one 
 case it says Type: simple Macro:AA  and in the other case ( which works)   
 it just says Type: simple. What is the difference? How can resolve this 
 issue?
 
 Thanks in advance!
 
 Ider

The problem is that \AA is a text mode command, not meant for equation 
environments. In LyX, I get the correct output if I enter the Å symbol from the 
keyboard (shift-option-A on the Mac). In an equation, LyX then replaces that 
symbol by \mathring{A}, which displays properly in the PDF output. So you could 
alternatively also enter \mathring{A} in the LyX math editor. 



test

2014-05-06 Thread asllearner

test

--
Using Opera's mail client: http://www.opera.com/mail/



weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



please disregard. this is a test of nntp server.

2014-05-06 Thread asllearner

this is a test of sending email via nntp server. Please disregard.

--
Using Opera's mail client: http://www.opera.com/mail/



this is a test of sending viaa nntp

2014-05-06 Thread asllearner


test test ignore
--
Using Opera's mail client: http://www.opera.com/mail/



Re: converting from LyX 2.0 to 2.1

2014-05-06 Thread Hugh Medal
José Matos jamatos at lyx.org writes:

 
 On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote:
  I doubt that. The document is rather simple, and Hugh wrote he cannot 
open
  any document.
 
 Oops, I did not read all the details. I am sorry for making wrong claims. 
 
  I suspected lyx2lyx fails for some reason (python problem?), that's why I
  looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh 
can
  check what happens if he runs lyx2lyx on the file manually.
  
  Jürgen
 
 It is weird indeed since lyx requires lyx-common so lyx2lyx should be 
available. Python is a central part of
 a Fedora installation, it is not possible to remove it and lyx2lyx only 
requires the standard library.
 

If I need to I can just move to Fedora 20 (I am currently using 19). Just let 
me know if I should do that.

Thanks,
Hugh




Setmathfont, babel, blindtext, unicode-math

2014-05-06 Thread asllearner

I am trying to use a japanese font called


--
:-)



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. That solved one mystery for me.



[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)



Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Julio Rojas
Thanks Scott,

This shortcut is quite useful in getting me over the old Frame
environment hangover. Nevertheless, while trying both methods another
problem appeared: To get out of the title of a Frame pressing return is
not enough. One has to use the arrows to get out of the Frame title  box
and then issue return to get to the next line. Now, the next line is not
indented, so I pressed tab in order to indent the line inside the Frame.
To my surprise, this line belongs to a Frame environment, so one has to
change it manually to a standard environment. Weird things do not stop
there, as one might believe that issuing return would get you out of this
environment, but no, as one can issue as many CRs as wanted, a behavior
that I believe is completely unintended, isn't it so?

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 6, 2014 at 12:22 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Mon, May 5, 2014 at 11:58 PM, Julio Rojas jcredbe...@gmail.com wrote:
  Actually is the separator what annoys me the most. Is there any way in
  which it is automatically inserted by the UI? I find myself doing
  copy-paste all the tame from the previous slide in order to add a CR, a
  separator, a new title and an indented line. Without the separator I
 would
  be doing a couple of CRs to get out of the Frame environment, then
 adding
  a new Frame title. Somehow this workflow is kind of faster/smoother.

 Hi Julio,

 The following is taken from the LyX Beamer manual (Help  Specific
 Manuals  Beamer):

 There is a simple automated way to start a new frame: Issue Edit⇒Start
 New Environment (Alt+P Return) if you are in a non-nested Frame
 paragraph, or Edit⇒Start New Parent Environment (Alt+P Shift+Return),
 respectively, if you are in a nested paragraph within the frame!

 Best,

 Scott



math formulae in section titles

2014-05-06 Thread Bieniasz


Hello,

I am using the svmono class to write a book. My question is:

is there any way to put mathematical formulae in the titles
of the sections or chapters in such a way so that they have the proper
size (adapter to the size of letters used for the titles) ?

A simple placing of the formulae does not look nice.

Leslaw



The persistent problem with svmono class and \boldsymbol font

2014-05-06 Thread Bieniasz


Hello,

About a year ago I asked about the problem that I have while using
the svmono class. I have done some additional tests and it seems
to me that there must be some bug in the LyX template for svmono.
So, if the author of this template reads my message, I would appreciate
some help. The problem is as follows:

I need to use the font \boldsymbol in the equation editor.
This font is properly visible under LyX, but when I generate a pdf
file, then the font looks identical as the standard equation
editor font (that is the letters are not thicker). I suspect that
this is a bug in the svmono LyX template, because the problem does
not occur in the default document template of LyX, that is when the svmono 
class is not used. In the latter case the font looks properly in pdf files.

I hope there is some way to fix this problem ?

Leslaw



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. I was also confused about the different
behavior in different documents. This clears it up.




indexing in 2.1

2014-05-06 Thread Ingar Pareliussen
Hi

I have some problems to get indexing to work in LyX 2.1. The attached lyx file 
should generate the same list as presented (in the same order) in Norwegian, 
however, it seem to be sorted in english in the index. It has been a couple of 
months since I last tried to index somthing, but then it worked flawessly out 
of the box :).

Am I missing something? I see there is a new option field in the 
document-setting but putting -L norwegian for xindy, as a test, gave me no 
index :)

I am on Linux and texlive 2013.

Ingar

index_21.lyx
Description: index_21.lyx


Re: Cannot use some greek letters

2014-05-06 Thread Stephan Witt
Am 06.05.2014 um 04:07 schrieb Steve Burnham dan...@gmail.com:

 Forum,
 
 I am currently writing my thesis in LyX and am writing a number of equations, 
 many of which use greek letters.  All has been working fine until today when 
 I needed to use the greek letter “phi”.  When trying to use that letter I get 
 “could not find LaTeX command for character “phi” (code point 0x3d5).  I am 
 using the latest LyX on OSX with MacTeX.  In the description of the error it 
 says Some characters of your document are probably not representable in the 
 chosen encoding.  Changing the document encoding to utf8 could help.”  I 
 tried changing my encoding to utf8 but it just breaks the document even more 
 and doesn’t like the other greek letters.  Any advice on how to get around 
 this?

Hi Steve,

I've tried it with LyX 2.1.0 on a Mac book.  I have no problem with it when 
making an PDF with pdflatex.  I've attached my example document.  Please, 
verify it and send your example if you cannot get it to work.

Stephan


Letter-phi.lyx
Description: Binary data


Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
 Read the last answer in this mail:
 http://marc.info/?l=lyx-usersm=139595652821799w=2

It may be worth to copy paste this email to note into beamer manual as a note,
it would help frustrated users to get through the first shock what improved
beamer support means ;)

Pavel


problem displaying angstrom symbol

2014-05-06 Thread Ider Ronneberger

Hi,

I have a problem in lyx displaying the angstom symbol using \AA within 
the math mode, i.e. if I want to view the document as pdf the angstrom 
sign is not there. However it works if I write \AA in Tex mode or insert 
it from InsertSpecial Charecters Symbols...


On the bottom pane of the lyx display, there is a short info message. In 
one case it says Type: simple Macro:AA  and in the other case ( which 
works)   it just says Type: simple. What is the difference? How can 
resolve this issue?


Thanks in advance!

Ider


Re: problem displaying angstrom symbol

2014-05-06 Thread Jens Nöckel

On May 6, 2014, at 8:45 AM, Ider Ronneberger wrote:

 Hi,
 
 I have a problem in lyx displaying the angstom symbol using \AA within the 
 math mode, i.e. if I want to view the document as pdf the angstrom sign is 
 not there. However it works if I write \AA in Tex mode or insert it from 
 InsertSpecial Charecters Symbols...
 
 On the bottom pane of the lyx display, there is a short info message. In one 
 case it says Type: simple Macro:AA  and in the other case ( which works)   
 it just says Type: simple. What is the difference? How can resolve this 
 issue?
 
 Thanks in advance!
 
 Ider

The problem is that \AA is a text mode command, not meant for equation 
environments. In LyX, I get the correct output if I enter the Å symbol from the 
keyboard (shift-option-A on the Mac). In an equation, LyX then replaces that 
symbol by \mathring{A}, which displays properly in the PDF output. So you could 
alternatively also enter \mathring{A} in the LyX math editor. 



test

2014-05-06 Thread asllearner

test

--
Using Opera's mail client: http://www.opera.com/mail/



weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



please disregard. this is a test of nntp server.

2014-05-06 Thread asllearner

this is a test of sending email via nntp server. Please disregard.

--
Using Opera's mail client: http://www.opera.com/mail/



this is a test of sending viaa nntp

2014-05-06 Thread asllearner


test test ignore
--
Using Opera's mail client: http://www.opera.com/mail/



Re: converting from LyX 2.0 to 2.1

2014-05-06 Thread Hugh Medal
José Matos jamatos at lyx.org writes:

 
 On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote:
  I doubt that. The document is rather simple, and Hugh wrote he cannot 
open
  any document.
 
 Oops, I did not read all the details. I am sorry for making wrong claims. 
 
  I suspected lyx2lyx fails for some reason (python problem?), that's why I
  looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh 
can
  check what happens if he runs lyx2lyx on the file manually.
  
  Jürgen
 
 It is weird indeed since lyx requires lyx-common so lyx2lyx should be 
available. Python is a central part of
 a Fedora installation, it is not possible to remove it and lyx2lyx only 
requires the standard library.
 

If I need to I can just move to Fedora 20 (I am currently using 19). Just let 
me know if I should do that.

Thanks,
Hugh




Setmathfont, babel, blindtext, unicode-math

2014-05-06 Thread asllearner

I am trying to use a japanese font called


--
:-)



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. That solved one mystery for me.



[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)



Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Julio Rojas
Thanks Scott,

This shortcut is quite useful in getting me over the old Frame
environment hangover. Nevertheless, while trying both methods another
problem appeared: To get out of the title of a Frame pressing return is
not enough. One has to use the arrows to get out of the Frame title  box
and then issue return to get to the next line. Now, the next line is not
indented, so I pressed tab in order to indent the line inside the Frame.
To my surprise, this line belongs to a Frame environment, so one has to
change it manually to a standard environment. Weird things do not stop
there, as one might believe that issuing return would get you out of this
environment, but no, as one can issue as many CRs as wanted, a behavior
that I believe is completely unintended, isn't it so?

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 6, 2014 at 12:22 AM, Scott Kostyshak skost...@lyx.org wrote:

 On Mon, May 5, 2014 at 11:58 PM, Julio Rojas jcredbe...@gmail.com wrote:
  Actually is the separator what annoys me the most. Is there any way in
  which it is automatically inserted by the UI? I find myself doing
  copy-paste all the tame from the previous slide in order to add a CR, a
  separator, a new title and an indented line. Without the separator I
 would
  be doing a couple of CRs to get out of the Frame environment, then
 adding
  a new Frame title. Somehow this workflow is kind of faster/smoother.

 Hi Julio,

 The following is taken from the LyX Beamer manual (Help  Specific
 Manuals  Beamer):

 There is a simple automated way to start a new frame: Issue Edit⇒Start
 New Environment (Alt+P Return) if you are in a non-nested Frame
 paragraph, or Edit⇒Start New Parent Environment (Alt+P Shift+Return),
 respectively, if you are in a nested paragraph within the frame!

 Best,

 Scott



math formulae in section titles

2014-05-06 Thread Bieniasz


Hello,

I am using the svmono class to write a book. My question is:

is there any way to put mathematical formulae in the titles
of the sections or chapters in such a way so that they have the proper
size (adapter to the size of letters used for the titles) ?

A simple placing of the formulae does not look nice.

Leslaw



The persistent problem with svmono class and \boldsymbol font

2014-05-06 Thread Bieniasz


Hello,

About a year ago I asked about the problem that I have while using
the svmono class. I have done some additional tests and it seems
to me that there must be some bug in the LyX template for svmono.
So, if the author of this template reads my message, I would appreciate
some help. The problem is as follows:

I need to use the font \boldsymbol in the equation editor.
This font is properly visible under LyX, but when I generate a pdf
file, then the font looks identical as the standard equation
editor font (that is the letters are not thicker). I suspect that
this is a bug in the svmono LyX template, because the problem does
not occur in the default document template of LyX, that is when the svmono 
class is not used. In the latter case the font looks properly in pdf files.

I hope there is some way to fix this problem ?

Leslaw



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. I was also confused about the different
behavior in different documents. This clears it up.




indexing in 2.1

2014-05-06 Thread Ingar Pareliussen
Hi

I have some problems to get indexing to work in LyX 2.1. The attached lyx file 
should generate the same list as presented (in the same order) in Norwegian, 
however, it seem to be sorted in english in the index. It has been a couple of 
months since I last tried to index somthing, but then it worked flawessly out 
of the box :).

Am I missing something? I see there is a new option field in the 
document-setting but putting -L norwegian for xindy, as a test, gave me no 
index :)

I am on Linux and texlive 2013.

Ingar

index_21.lyx
Description: index_21.lyx


Re: Cannot use some greek letters

2014-05-06 Thread Stephan Witt
Am 06.05.2014 um 04:07 schrieb Steve Burnham :

> Forum,
> 
> I am currently writing my thesis in LyX and am writing a number of equations, 
> many of which use greek letters.  All has been working fine until today when 
> I needed to use the greek letter “phi”.  When trying to use that letter I get 
> “could not find LaTeX command for character “phi” (code point 0x3d5).  I am 
> using the latest LyX on OSX with MacTeX.  In the description of the error it 
> says "Some characters of your document are probably not representable in the 
> chosen encoding.  Changing the document encoding to utf8 could help.”  I 
> tried changing my encoding to utf8 but it just breaks the document even more 
> and doesn’t like the other greek letters.  Any advice on how to get around 
> this?

Hi Steve,

I've tried it with LyX 2.1.0 on a Mac book.  I have no problem with it when 
making an PDF with pdflatex.  I've attached my example document.  Please, 
verify it and send your example if you cannot get it to work.

Stephan


Letter-phi.lyx
Description: Binary data


Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Pavel Sanda
Jürgen Spitzmüller wrote:
> Read the last answer in this mail:
> http://marc.info/?l=lyx-users=139595652821799=2

It may be worth to copy paste this email to note into beamer manual as a note,
it would help frustrated users to get through the first shock what improved
beamer support means ;)

Pavel


problem displaying angstrom symbol

2014-05-06 Thread Ider Ronneberger

Hi,

I have a problem in lyx displaying the angstom symbol using \AA within 
the math mode, i.e. if I want to view the document as pdf the angstrom 
sign is not there. However it works if I write \AA in Tex mode or insert 
it from Insert>Special Charecters> Symbols...


On the bottom pane of the lyx display, there is a short info message. In 
one case it says "Type: simple Macro:AA"  and in the other case ( which 
works)   it just says "Type: simple". What is the difference? How can 
resolve this issue?


Thanks in advance!

Ider


Re: problem displaying angstrom symbol

2014-05-06 Thread Jens Nöckel

On May 6, 2014, at 8:45 AM, Ider Ronneberger wrote:

> Hi,
> 
> I have a problem in lyx displaying the angstom symbol using \AA within the 
> math mode, i.e. if I want to view the document as pdf the angstrom sign is 
> not there. However it works if I write \AA in Tex mode or insert it from 
> Insert>Special Charecters> Symbols...
> 
> On the bottom pane of the lyx display, there is a short info message. In one 
> case it says "Type: simple Macro:AA"  and in the other case ( which works)   
> it just says "Type: simple". What is the difference? How can resolve this 
> issue?
> 
> Thanks in advance!
> 
> Ider

The problem is that \AA is a text mode command, not meant for equation 
environments. In LyX, I get the correct output if I enter the Å symbol from the 
keyboard (shift-option-A on the Mac). In an equation, LyX then replaces that 
symbol by \mathring{A}, which displays properly in the PDF output. So you could 
alternatively also enter \mathring{A} in the LyX math editor. 



test

2014-05-06 Thread asllearner

test

--
Using Opera's mail client: http://www.opera.com/mail/



weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



please disregard. this is a test of nntp server.

2014-05-06 Thread asllearner

this is a test of sending email via nntp server. Please disregard.

--
Using Opera's mail client: http://www.opera.com/mail/



this is a test of sending viaa nntp

2014-05-06 Thread asllearner


test test ignore
--
Using Opera's mail client: http://www.opera.com/mail/



Re: converting from LyX 2.0 to 2.1

2014-05-06 Thread Hugh Medal
José Matos  lyx.org> writes:

> 
> On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote:
> > I doubt that. The document is rather simple, and Hugh wrote he cannot 
open
> > any document.
> 
> Oops, I did not read all the details. I am sorry for making wrong claims. 
> 
> > I suspected lyx2lyx fails for some reason (python problem?), that's why I
> > looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh 
can
> > check what happens if he runs lyx2lyx on the file manually.
> > 
> > Jürgen
> 
> It is weird indeed since lyx requires lyx-common so lyx2lyx should be 
available. Python is a central part of
> a Fedora installation, it is not possible to remove it and lyx2lyx only 
requires the standard library.
> 

If I need to I can just move to Fedora 20 (I am currently using 19). Just let 
me know if I should do that.

Thanks,
Hugh




Setmathfont, babel, blindtext, unicode-math

2014-05-06 Thread asllearner

I am trying to use a japanese font called


--
:-)



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. That solved one mystery for me.



[resent sorry if repeats] blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner
[This is being resent. I seem to be having mail server problems. Sorry if it
appears multiple times]

I am trying to use a font for my main font, and also for math latin and
greek characters, while keeping the rest as is.
At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to
english:
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the
document preferences, however using
\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,
blindtext english/math.

%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will
be set...
%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and
lower case  latin and numbers % any font will do

\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even
standard ones...

(NB, this is heavily redacted from a larger set of uses of unicode-math
for nefarious purposes, so this a best effort to produce a MWE for what
seems to be the crux of the matter).

PS apparently an incomplete version of this post got sent. please ignore.
-- 
:-)



blindtext, unicode-math, and babel won't play nice because of setmathfont

2014-05-06 Thread asllearner


I am trying to use a font for my main font, and also for math latin and  
greek characters, while keeping the rest as is.

At the same time, I want to use blindtext.
blindtext only allows \blindmathtrue if the language has been set to  
english:  
http://texblog.org/2011/02/26/generating-dummy-textblindtext-with-latex-for-testing/
This I believe I have to do via the language package custom area in the  
document preferences, however using

\usepackage[english]{babel}
breaks unicode-math.
I get
! Font \l_tmpb_font has only 8 fontdimen parameters.

If I use the default language package, all works, except, as stated above,  
blindtext english/math.


%This is in my preamble:
\usepackage[vargreek-shape=unicode]{unicode-math}
\setmathfont{Latin Modern Math} % this is obligatory or no math font will  
be set...

%everything works to here. But this setmathfonts is causing the problem
\setmathfont[range=\mathit/{latin, Latin}]{SNsanafonmaruP} %  upper and  
lower case  latin and numbers % any font will do


\setmainfont[Mapping= tex-text]{SNsanafonmaruP} % not actually relevant
\usepackage{blindtext}

The font doesn't matter; I get the same behavior whatever font I use, even  
standard ones...


(NB, this is heavily redacted from a larger set of uses of unicode-math  
for nefarious purposes, so this a best effort to produce a MWE for what  
seems to be the crux of the matter).


PS apparently an incomplete version of this post got sent. please ignore.
--
:-)



Re: Beamer in Lyx 2.1.0

2014-05-06 Thread Julio Rojas
Thanks Scott,

This shortcut is quite useful in getting me over the old "Frame"
environment hangover. Nevertheless, while trying both methods another
"problem" appeared: To get out of the title of a "Frame" pressing return is
not enough. One has to use the arrows to get out of the "Frame title"  box
and then issue return to get to the next line. Now, the next line is not
indented, so I pressed tab in order to indent the line inside the "Frame".
To my surprise, this line belongs to a "Frame" environment, so one has to
change it manually to a standard environment. Weird things do not stop
there, as one might believe that issuing return would get you out of this
environment, but no, as one can issue as many CRs as wanted, a behavior
that I believe is completely unintended, isn't it so?

Regards.

-
Julio Rojas
jcredbe...@gmail.com


On Tue, May 6, 2014 at 12:22 AM, Scott Kostyshak  wrote:

> On Mon, May 5, 2014 at 11:58 PM, Julio Rojas  wrote:
> > Actually is the "separator" what annoys me the most. Is there any way in
> > which it is "automatically" inserted by the UI? I find myself doing
> > copy-paste all the tame from the previous slide in order to add a CR, a
> > separator, a new title and an indented line. Without the separator I
> would
> > be doing a couple of CRs to get out of the "Frame" environment, then
> adding
> > a new "Frame" title. Somehow this workflow is kind of faster/smoother.
>
> Hi Julio,
>
> The following is taken from the LyX Beamer manual (Help > Specific
> Manuals > Beamer):
>
> There is a simple automated way to start a new frame: Issue Edit⇒Start
> New Environment (Alt+P Return) if you are in a non-nested Frame
> paragraph, or Edit⇒Start New Parent Environment (Alt+P Shift+Return),
> respectively, if you are in a nested paragraph within the frame!
>
> Best,
>
> Scott
>


math formulae in section titles

2014-05-06 Thread Bieniasz


Hello,

I am using the svmono class to write a book. My question is:

is there any way to put mathematical formulae in the titles
of the sections or chapters in such a way so that they have the proper
size (adapter to the size of letters used for the titles) ?

A simple placing of the formulae does not look nice.

Leslaw



The persistent problem with svmono class and \boldsymbol font

2014-05-06 Thread Bieniasz


Hello,

About a year ago I asked about the problem that I have while using
the svmono class. I have done some additional tests and it seems
to me that there must be some bug in the LyX template for svmono.
So, if the author of this template reads my message, I would appreciate
some help. The problem is as follows:

I need to use the font \boldsymbol in the equation editor.
This font is properly visible under LyX, but when I generate a pdf
file, then the font looks identical as the standard equation
editor font (that is the letters are not thicker). I suspect that
this is a bug in the svmono LyX template, because the problem does
not occur in the default document template of LyX, that is when the svmono 
class is not used. In the latter case the font looks properly in pdf files.

I hope there is some way to fix this problem ?

Leslaw



Re: Ctrl-Enter handling is different whether AMS math is used explicitly or automatically

2014-05-06 Thread Anders Host-Madsen
Thanks for the tip. I was also confused about the different
behavior in different documents. This clears it up.




indexing in 2.1

2014-05-06 Thread Ingar Pareliussen
Hi

I have some problems to get indexing to work in LyX 2.1. The attached lyx file 
should generate the same list as presented (in the same order) in Norwegian, 
however, it seem to be sorted in english in the index. It has been a couple of 
months since I last tried to index somthing, but then it worked flawessly out 
of the box :).

Am I missing something? I see there is a new option field in the 
document-setting but putting -L norwegian for xindy, as a test, gave me no 
index :)

I am on Linux and texlive 2013.

Ingar

index_21.lyx
Description: index_21.lyx