Re: Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Jürgen Spitzmüller
Am Freitag, den 24.02.2017, 11:11 -0800 schrieb Christos Makridis:
> Just to give an example of one of my citations, see below.
> 
> @article{JaimovichSiu:highskilled,
> title={{High-skilled immigration, STEM employment, and non-routine-
> biased technical change}},
> author={Jaimovich, Nir, and Siu, Henry E.},
> journal={NBER working paper},
> year={2017},
> volume={},
> number={},
> pages={},
> }

Remove the comma before " and " in the author list, i.e.

> author={Jaimovich, Nir and Siu, Henry E.},

HTH
Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Alt+M opens Mathematical Spacing menu

2017-02-24 Thread CieMaKat .
Hi,
The workaround works. And I'm also glad it'll be fixed in the next release.

Thank you for your help!

2017-02-24 21:07 GMT+01:00 Richard Heck :

> On 02/24/2017 12:56 PM, Scott Kostyshak wrote:
> > On Fri, Feb 24, 2017 at 08:39:04AM +0100, CieMaKat . wrote:
> >> Hi,
> >>
> >> Thank you for the response.
> >> I'm running v2.2.2.
> >>
> >> You said it's known bug - can I do something to get rid of it or is it
> up
> >> to KDE developers?
> > See here:
> > http://www.lyx.org/trac/ticket/10261
> >
> > In particular, see comment 16 for a workaround:
> > http://www.lyx.org/trac/ticket/10261#comment:16
>
> And, for the record, the fix should be in 2.2.3.
>
> I'd forgotten I'd held it back from 2.2.2, since it seemed so risky. I'm
> glad it's
> not a new incarnation of the bug.
>
> Richard
>
>
>


-- 
*M.Ciesiółka*


Re: Alt+M opens Mathematical Spacing menu

2017-02-24 Thread Richard Heck
On 02/24/2017 12:56 PM, Scott Kostyshak wrote:
> On Fri, Feb 24, 2017 at 08:39:04AM +0100, CieMaKat . wrote:
>> Hi,
>>
>> Thank you for the response.
>> I'm running v2.2.2.
>>
>> You said it's known bug - can I do something to get rid of it or is it up
>> to KDE developers?
> See here:
> http://www.lyx.org/trac/ticket/10261
>
> In particular, see comment 16 for a workaround:
> http://www.lyx.org/trac/ticket/10261#comment:16

And, for the record, the fix should be in 2.2.3.

I'd forgotten I'd held it back from 2.2.2, since it seemed so risky. I'm
glad it's
not a new incarnation of the bug.

Richard




Re: Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Wolfgang Engelmann

Could you supply the references as you have it in your reference list?

You should have something like

Mian, Atif and Sufi, Amir

i.e. no comma after Atif

Wolfgang


Am 24.02.2017 um 20:11 schrieb Christos Makridis:


Inline image 1





Fwd: Lyx PDF Error w/ Bib File

2017-02-24 Thread Christos Makridis
Hey Lyx Community,

Think I sent my original email to the wrong community address. Thank you in
advance!

-- Forwarded message --
From: Christos Makridis 
Date: Fri, Feb 24, 2017 at 9:47 AM
Subject: Lyx PDF Error w/ Bib File
To: lyx-users-h...@lists.lyx.org


Hey Lyx Community,

First time emailing the general list, so apologies if there's something I
am overlooking. I am a PhD candidate at Stanford working in economics and a
big fan of Lyx because of how easy it makes editing while still retaining
the flexibility and beautiful typesetting inherent in Latex.

The recent 2.2.2 version seems to produce a problem with my .bib file. In
particular, when I PDF my document, it gives a series of errors (see below).

[image: Inline image 1]

I have spent quite a bit of time diagnosing the errors. First, I want to
note in case it is not clear that these errors never arise in previous
versions -- and I am still using 1.2.2 now because this newer version isn't
working for me. Second, it appears that one of the problems is when the
word "and" is in the citation; then double braces can partially remedy the
problem. I am not sure about the first three errors that came up though.

Just to give an example of one of my citations, see below.

@article{JaimovichSiu:highskilled,

title={{High-skilled immigration, STEM employment, and non-routine-biased
technical change}},

author={Jaimovich, Nir, and Siu, Henry E.},

journal={NBER working paper},

year={2017},

volume={},

number={},

pages={},

}


Does anyone know what the source of the problem is and/or a remedy?


Thank you for your time and interest!

-- 
Christos Makridis
Ph.D. Candidate, Stanford University
Department of Management Science & Engineering
Department of Economics
www.christosmakridis.com



-- 
Christos Makridis
Ph.D. Candidate, Stanford University
Department of Management Science & Engineering
Department of Economics
www.christosmakridis.com


Re: Alt+M opens Mathematical Spacing menu

2017-02-24 Thread Scott Kostyshak
On Fri, Feb 24, 2017 at 08:39:04AM +0100, CieMaKat . wrote:
> Hi,
> 
> Thank you for the response.
> I'm running v2.2.2.
> 
> You said it's known bug - can I do something to get rid of it or is it up
> to KDE developers?

See here:
http://www.lyx.org/trac/ticket/10261

In particular, see comment 16 for a workaround:
http://www.lyx.org/trac/ticket/10261#comment:16

Scott


signature.asc
Description: PGP signature


RE: new operators in LyX?

2017-02-24 Thread Bernt Lie

-Original Message-
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Jean-Marc Lasgouttes
Sent: fredag 24. februar 2017 16.35
To: lyx-users@lists.lyx.org
Subject: Re: new operators in LyX?

Le 24/02/2017 à 16:07, Bernt Lie a écrit :
> I use LyX 2.2 on Win10.
>
> I need to typeset the signum function as an operator. I have tried to insert 
> "\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

The right command is operatorname, I think. LyX is not yet able to display it 
properly , though.

Jmarc
--
On "operatorname" -- this is somewhat fragile, I guess. I assume I have 
AMSMath. If I do the following in math or display math...: type "\operatorname" 
followed by an opening brace "{", LyX adds the closing brace. Then type the 
operator name inside of the braces to have "\operatorname{sgn}" where the 
cursor now is just after the "n" and before the closing brace. Then hit "space" 
to move out of the brace. The math still looks like "\operatorname{sgn}". 
However, if I go out of the math/display math *and* have set up LyX with math 
preview, then it looks ok. But a slightest mistake causes an erroneous 
preview...

-B

-B




RE: new operators in LyX?

2017-02-24 Thread Bernt Lie


-Original Message-
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Jean-Marc Lasgouttes
Sent: fredag 24. februar 2017 16.35
To: lyx-users@lists.lyx.org
Subject: Re: new operators in LyX?

Le 24/02/2017 à 16:07, Bernt Lie a écrit :
> I use LyX 2.2 on Win10.
>
> I need to typeset the signum function as an operator. I have tried to insert 
> "\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

The right command is operatorname, I think. LyX is not yet able to display it 
properly , though.

Jmarc
---
Yes, that works. At least in preview...

Thanks.
-Bernt




Re: new operators in LyX?

2017-02-24 Thread Jean-Marc Lasgouttes

Le 24/02/2017 à 16:07, Bernt Lie a écrit :

I use LyX 2.2 on Win10.

I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.


The right command is operatorname, I think. LyX is not yet able to 
display it properly , though.


JMarc




RE: new operators in LyX?

2017-02-24 Thread Bernt Lie

-Original Message-
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
David L. Johnson
Sent: fredag 24. februar 2017 16.20
To: lyx-users@lists.lyx.org
Subject: Re: new operators in LyX?

On 02/24/2017 10:07 AM, Bernt Lie wrote:
> I use LyX 2.2 on Win10.
>
> I need to typeset the signum function as an operator. I have tried to insert 
> "\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.
>
> Is there a syntax for this?
>
> -Bernt

\rm{sgn}  ??

-- 
David L. Johnson
Department of Mathematics
Lehigh University
--
...or \mathrm ? But this gives "wrong" distance in the expressions, I think.

-Bernt



RE: new operators in LyX?

2017-02-24 Thread Bernt Lie
From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Paul A. Rubin
Sent: fredag 24. februar 2017 16.28
To: lyx-users@lists.lyx.org
Subject: Re: new operators in LyX?

On 02/24/2017 10:07 AM, Bernt Lie wrote:

I use LyX 2.2 on Win10.



I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.



Is there a syntax for this?



-Bernt
Assuming that you are loading AMSMath, try adding 
\DeclareMathOperator{\sgn}{sgn} to the document preamble and then use \sgn in 
math insets.

Paul
--
I’m pretty sure that I managed to do it without changing the preamble a few 
days ago, but I cannot remember what command I used...

-Bernt


Re: new operators in LyX?

2017-02-24 Thread Paul A. Rubin

On 02/24/2017 10:07 AM, Bernt Lie wrote:

I use LyX 2.2 on Win10.

I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

Is there a syntax for this?

-Bernt
Assuming that you are loading AMSMath, try adding 
\DeclareMathOperator{\sgn}{sgn} to the document preamble and then use 
\sgn in math insets.


Paul



Re: new operators in LyX?

2017-02-24 Thread David L. Johnson

On 02/24/2017 10:07 AM, Bernt Lie wrote:

I use LyX 2.2 on Win10.

I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

Is there a syntax for this?

-Bernt


\rm{sgn}  ??

--
David L. Johnson
Department of Mathematics
Lehigh University



new operators in LyX?

2017-02-24 Thread Bernt Lie
I use LyX 2.2 on Win10.

I need to typeset the signum function as an operator. I have tried to insert 
"\mathop{sgn}", but this gives "sgn" in italic, and not in roman as it should.

Is there a syntax for this?

-Bernt