Re: Backtick in LyX's "LyX-Code" mode

2017-10-05 Thread Scott Kostyshak
On Thu, Sep 28, 2017 at 08:48:13AM +, Guenter Milde wrote:
> On 2017-09-27, Bruce Momjian wrote:
> > On Wed, Sep 27, 2017 at 12:41:27PM -0400, Scott Kostyshak wrote:
> >> On Mon, Sep 25, 2017 at 10:24:47PM +, Bruce Momjian wrote:
> >> > I am using LyX 2.1.2 on Ubuntu 14.04.
> >> > 
> >> > If I enter this:
> >> > 
> >> >   ab'c de`f
> >> > 
> >> > in "Standard" mode I get PDF output with proper left/right single
> >> > quotes.  However, if I switch to LyX-Code mode for that text, I get as
> >> > PDF output:
> >> > 
> >> >  ab'c de'f
> 
> >> Testing on 2.1.0 and on 2.3.0dev, I get the following as PDF output:
> 
> >>   ab’c de‘f
> 
> >> which is different from what you get, but also not what you want.
> 
> > Actually, that would be fine output, as long as they look different.
> 
> >> > This is a problem for text of shell scripts.  I the want backticks
> >> > because backtick means 'execute' in the shell.
> >> > 
> >> > What I have done instead to get literal backticks output is to use a
> >> > TeX Code URT (Ugly Red Text) block inside the "LyX-Code mode" block and
> >> > used \char18, which properly outputs the backtick.
> >> > 
> >> > Is this expected behavior?  Is that the recommended solution for this?
> 
> >> I have not seen a report of this, but I haven't seen an indication that
> >> a lot of people are using LyX-Code, so I'm not sure if is known.
> 
> > OK, not sure what could be the cause then.  I am using ps2pdf to produce
> > the PDF.
> 
> The view in PDF depends on the selected fonts rather than export route. I
> get identic results with PDF (pdflatex) and PDF (ps2pdf).
> 
> You may experiment with different fonts, as well as checking the result of
> drag-and-drop from the PDF. Here, it is
>  ab'c de`f  with PDF(pdflatex) and ab' de`f with PDF(ps2pdf).
> 
> > What I have done as a work-around is to warn in my Makefile if a
> > backquote is used in the LyX document.
> 
> Did you try with listings?

Hi Bruce,

I just wanted to make sure that you saw Günter's message (pasted above),
since he had a good idea, to experiment with different fonts.

Best,

Scott


signature.asc
Description: PGP signature


Re: Is this crash a bug?

2017-10-05 Thread Steve Hnizdur

Bug filed

On 05/10/17 14:14, Jürgen Spitzmüller wrote:
2017-10-05 15:09 GMT+02:00 Joel Kulesza >:


On Thu, Oct 5, 2017 at 6:01 AM, Steve Hnizdur mailto:hound...@gmail.com>> wrote:

Is this local to me? Any thoughts.


I can reproduce on LyX 2.2.3 on OS X 10.11.6.


And with both LyX 2.2.4dev and 2.3dev.

Please file a bug report.

Jürgen



--

Steve Hnizdur


RE: LyX & BibTeX & complex author names

2017-10-05 Thread Bernt Lie
Wolfgang,

Thanks a lot for giving the BibTeX syntax rule... I have always (?) used 
“Firstname Surname”…

-Bernt

From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Wolfgang Engelmann
Sent: torsdag 5. oktober 2017 16.26
To: lyx-users@lists.lyx.org
Subject: Re: LyX & BibTeX & complex author names




Am 05.10.2017 um 16:19 schrieb Wolfgang Engelmann:



Am 05.10.2017 um 15:55 schrieb Bernt Lie:

I use LyX 2.2.2 on 64 bits Windows 10. Should probably upgrade to the latest 
LyX, but then again my set-up mostly works.



I'm using JabRef to handle BibTeX, and struggle to correctly handle authors 
"Arthur E. Bryson, Jr. and Yu-Chi Ho". I use a Harvard reference style.



What is the correct way to write the author name in the author field of 
BibTeX/JabRef? I have tried with:



"Arthur E. {Bryson, Jr.} and Yu-Chi Ho" -- which leads to "Bryson, Jr., A.E., & 
Ho, Y.-Ch." In the typeset bibliography list. Perhaps ok (although I'd like 
"and" instead of "&" -- "&" looks too much like "Donald Duck & Co"...)



However, in LyX, this pops up as "Arthur E. Bryson and Ho (1975)". If I skip 
the comma in the braces ({Bryson, Jr.} --> {Bryson Jr.}), it appears as "Jr. 
and Ho (1975)" in LyX...

--

So -- what is the "correct" way to handle such a slightly complicated name?

-

BL
Have you tried to mouse-click on the author field and select
normalize to BibTex name format
? You might also choose a different style file. Tell us, how you would like to 
have your citation.
Wolfgang
see also
https://tex.stackexchange.com/questions/223817/how-to-deal-with-an-author-name-with-jr-in-bibliography
which boils down to

If a name has "Junior" component (and no "von" component), it needs to be 
entered as SurnameComponent, JuniorComponent, FirstNameComponent. Note that 
there are now two commas, not one. This is a BibTeX syntax rule that's 
independent of the bibliography style you employ.

Hence, you need to enter the second author's name as Bassett, Jr., Gilbert.


Re: LyX & BibTeX & complex author names

2017-10-05 Thread Wolfgang Engelmann



Am 05.10.2017 um 16:19 schrieb Wolfgang Engelmann:




Am 05.10.2017 um 15:55 schrieb Bernt Lie:

I use LyX 2.2.2 on 64 bits Windows 10. Should probably upgrade to the latest 
LyX, but then again my set-up mostly works.

I'm using JabRef to handle BibTeX, and struggle to correctly handle authors "Arthur 
E. Bryson, Jr. and Yu-Chi Ho". I use a Harvard reference style.

What is the correct way to write the author name in the author field of 
BibTeX/JabRef? I have tried with:

"Arthur E. {Bryson, Jr.} and Yu-Chi Ho" -- which leads to "Bryson, Jr., A.E., & Ho, Y.-Ch." In the typeset bibliography list. 
Perhaps ok (although I'd like "and" instead of "&" -- "&" looks too much like "Donald Duck & Co"...)

However, in LyX, this pops up as "Arthur E. Bryson and Ho (1975)". If I skip the comma in 
the braces ({Bryson, Jr.} --> {Bryson Jr.}), it appears as "Jr. and Ho (1975)" in LyX...
--
So -- what is the "correct" way to handle such a slightly complicated name?
-
BL

Have you tried to mouse-click on the author field and select
/normalize to BibTex name format/
? You might also choose a different style file. Tell us, how you would 
like to have your citation.

Wolfgang

see also
https://tex.stackexchange.com/questions/223817/how-to-deal-with-an-author-name-with-jr-in-bibliography
which boils down to

If a name has "Junior" component (and no "von" component), it needs to 
be entered as |SurnameComponent, JuniorComponent, FirstNameComponent|. 
Note that there are now two commas, not one. This is a BibTeX syntax 
rule that's independent of the bibliography style you employ.


Hence, you need to enter the second author's name as |Bassett, Jr., 
Gilbert|.




Re: LyX & BibTeX & complex author names

2017-10-05 Thread Wolfgang Engelmann



Am 05.10.2017 um 15:55 schrieb Bernt Lie:

I use LyX 2.2.2 on 64 bits Windows 10. Should probably upgrade to the latest 
LyX, but then again my set-up mostly works.

I'm using JabRef to handle BibTeX, and struggle to correctly handle authors "Arthur 
E. Bryson, Jr. and Yu-Chi Ho". I use a Harvard reference style.

What is the correct way to write the author name in the author field of 
BibTeX/JabRef? I have tried with:

"Arthur E. {Bryson, Jr.} and Yu-Chi Ho" -- which leads to "Bryson, Jr., A.E., & Ho, Y.-Ch." In the typeset bibliography list. 
Perhaps ok (although I'd like "and" instead of "&" -- "&" looks too much like "Donald Duck & Co"...)

However, in LyX, this pops up as "Arthur E. Bryson and Ho (1975)". If I skip the comma in 
the braces ({Bryson, Jr.} --> {Bryson Jr.}), it appears as "Jr. and Ho (1975)" in LyX...
--
So -- what is the "correct" way to handle such a slightly complicated name?
-
BL

Have you tried to mouse-click on the author field and select
/normalize to BibTex name format/
? You might also choose a different style file. Tell us, how you would 
like to have your citation.

Wolfgang


LyX & BibTeX & complex author names

2017-10-05 Thread Bernt Lie
I use LyX 2.2.2 on 64 bits Windows 10. Should probably upgrade to the latest 
LyX, but then again my set-up mostly works.

I'm using JabRef to handle BibTeX, and struggle to correctly handle authors 
"Arthur E. Bryson, Jr. and Yu-Chi Ho". I use a Harvard reference style.

What is the correct way to write the author name in the author field of 
BibTeX/JabRef? I have tried with:

"Arthur E. {Bryson, Jr.} and Yu-Chi Ho" -- which leads to "Bryson, Jr., A.E., & 
Ho, Y.-Ch." In the typeset bibliography list. Perhaps ok (although I'd like 
"and" instead of "&" -- "&" looks too much like "Donald Duck & Co"...)

However, in LyX, this pops up as "Arthur E. Bryson and Ho (1975)". If I skip 
the comma in the braces ({Bryson, Jr.} --> {Bryson Jr.}), it appears as "Jr. 
and Ho (1975)" in LyX...
--
So -- what is the "correct" way to handle such a slightly complicated name?
-
BL 


Re: Is this crash a bug?

2017-10-05 Thread Jürgen Spitzmüller
2017-10-05 15:09 GMT+02:00 Joel Kulesza :

> On Thu, Oct 5, 2017 at 6:01 AM, Steve Hnizdur  wrote:
>
>> Is this local to me? Any thoughts.
>
>
> I can reproduce on LyX 2.2.3 on OS X 10.11.6.
>

And with both LyX 2.2.4dev and 2.3dev.

Please file a bug report.

Jürgen


Re: Is this crash a bug?

2017-10-05 Thread Joel Kulesza
On Thu, Oct 5, 2017 at 6:01 AM, Steve Hnizdur  wrote:

> Is this local to me? Any thoughts.


I can reproduce on LyX 2.2.3 on OS X 10.11.6.


Re: Is this crash a bug?

2017-10-05 Thread Paul A. Rubin

On 10/05/2017 08:01 AM, Steve Hnizdur wrote:

Hi

I create a new document (standard article will do) and enter math 
input mode. I then enter \xx followed by left cursor arrow, I then 
move the cursor to between the two x's enter \ and then the right 
cursor. This then gives me (without the asterisks)




Assertion false violated in
file: ../../src/CoordCache.cpp, line: 31
There has been an error with this document.
LyX will attempt to close it safely.
LyX: Attempting to save document newfile1.lyx
  Saved to /home/steve/newfile1.lyx.emergency. Phew.

The current document was closed.

*

Is this local to me? Any thoughts.


It's not local to you. I just reproduced it here (Linux Mint 18.2, LyX 
2.2.3) with exactly the same error message. I would suggest searching 
the bug tracker for "CoordCache", to see if there's already a bug for 
it, and filing one if not.


Paul


Is this crash a bug?

2017-10-05 Thread Steve Hnizdur

Hi

I create a new document (standard article will do) and enter math input 
mode. I then enter \xx followed by left cursor arrow, I then move the 
cursor to between the two x's enter \ and then the right cursor. This 
then gives me (without the asterisks)




Assertion false violated in
file: ../../src/CoordCache.cpp, line: 31
There has been an error with this document.
LyX will attempt to close it safely.
LyX: Attempting to save document newfile1.lyx
  Saved to /home/steve/newfile1.lyx.emergency. Phew.

The current document was closed.

*

Is this local to me? Any thoughts.
--

Steve Hnizdur


Re: split viewing

2017-10-05 Thread Jean-Marc Lasgouttes

Le 05/10/2017 à 10:15, Patrick Dupre a écrit :

Hello,

The split viewing (upper and lower) works well when only one document is open 
(we can simultaneous
access to 2 parts of the document).
However, when more documents are opened, then the splitting is weird,
mixing of upper, lower, left and right corners. Actually, all the
documents are split.
Maybe I missed something, but it would be a lot more convenient if
we could split the documents one by one, cf, keep a document
non split, while another one is split.


Hello,

I am not sure that I understand. Can you show us a screenshot, maybe?

JMarc


split viewing

2017-10-05 Thread Patrick Dupre
Hello,

The split viewing (upper and lower) works well when only one document is open 
(we can simultaneous 
access to 2 parts of the document).
However, when more documents are opened, then the splitting is weird,
mixing of upper, lower, left and right corners. Actually, all the 
documents are split.
Maybe I missed something, but it would be a lot more convenient if
we could split the documents one by one, cf, keep a document
non split, while another one is split.

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
===