Re: BibTeX author entry in LyX document

2018-08-28 Thread Paul A. Rubin

On 08/28/2018 06:01 PM, Rich Shepard wrote:

On Tue, 28 Aug 2018, Rich Shepard wrote:


 author   = {Soil Science Staff},



 But, when I link that entry into a LyX document it appears as "Staff
(1996)".


  Well, ... I just learned something new. The pdflatex output has that 
entry
in the bibliography as "Staff, Soil Science ...". Changing the JabRef 
entry

so the author field reads "Science Staff Soil" now has the PDF output as
"Soil, Science Staff."

  But, out of curiosity I wonder if there's a way to eliminate the 
comma on

this one entry.

  Anyone know?

Rich
Try putting braces around the author entry in JabRef (so that the BibTeX 
source box reads "author = {{Soil Science Staff}}". Braces around 
entries in BibTeX generally mean "literally like this, don't screw with me".


Paul


WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation

2018-08-28 Thread Uwe Stöhr

Dear LyX Windows users,

yesterday I noticed a severe bug in the LaTeX system "MiKTeX" that LyX 
is usually using under Windows. The problem is that if you

- upgrade MiKTeX or LyX
or
- install a new LaTeX package
or
- refresh the MiKTeX package database

you will end up in a broken LaTeX with error messages like "unknown 
procedure entry point".


I experimented around for more than 2 hours but could not find a 
workaround once LaTeX is broken. Even a reinstallation of LyX or MiKTeX 
doesn't help since the result are always broken DLLs and I could not 
find a way to prevent this.


Therefore I strongly recommend not to change anything in your LaTeX 
setup nor to compile LyX documents that might use special LaTeX packages 
hat are not yet installed on your PC.

Also don't install another version of LyX or reinstall LyX.

I hope this issue will be fixed soon and report back.

regards Uwe


Re: RTL Beamer LyX Bugs and problems

2018-08-28 Thread Scott Kostyshak
On Wed, Aug 29, 2018 at 01:39:34AM +0300, חיים רוזנר wrote:
> Scott,
> 
> Oh, I didn't mean to report the painter bugs. Let's list some:
> That's very usual to get weird things with box insets when using Hebrew.
> This is what you get this time.
> The alignment is wrong. The brown מסגרת is correctly aligned to the right,
> but the text itself is left-aligned. That happens for the Block environment
> and for the bullets as well in the enclosed screenshot:
> [image: image.png]
> As can be seen, the brown lines to the left that indicate the Depth hide
> the text. In other cases, the text hides the Depth lines.
> 
> I meant to report bugs that do not compile to the correct TeX.

Dear Haim,

Good to know. If you make a simple example for each of the bugs above
and post on

https://www.lyx.org/trac

there's a good chance they will be fixed. I know that the painting bugs
are not the most important to you, but it would still be nice to improve
those.

As for any LaTeX export bugs, please keep reporting those. If you know
what the correct LaTeX code that should be produced is, that makes it
easier to try to fix things.

Thanks for all of your feedback!

Best,

Scott


signature.asc
Description: PGP signature


Re: BibTeX author entry in LyX document

2018-08-28 Thread Rich Shepard

On Tue, 28 Aug 2018, Rich Shepard wrote:


 author   = {Soil Science Staff},



 But, when I link that entry into a LyX document it appears as "Staff
(1996)".


  Well, ... I just learned something new. The pdflatex output has that entry
in the bibliography as "Staff, Soil Science ...". Changing the JabRef entry
so the author field reads "Science Staff Soil" now has the PDF output as
"Soil, Science Staff."

  But, out of curiosity I wonder if there's a way to eliminate the comma on
this one entry.

  Anyone know?

Rich


Re: Keyboard shortcuts not working as expected

2018-08-28 Thread Rich Shepard

On Tue, 28 Aug 2018, Paul A. Rubin wrote:


It's not a chord. It's Alt-C (simultaneously), then down arrow (with the
other two keys released).


Paul,

  Which is the way I tried it, but didn't know the alternate name. A bar
perhaps?

Rich


Re: Keyboard shortcuts not working as expected

2018-08-28 Thread Paul A. Rubin

On 08/28/2018 02:35 PM, Rich Shepard wrote:

I'm running LyX-2.3.0 on Slackware-14.2.

  Most keyboard shortcuts work, but some do not. For example, on the Edit
menu -> Text -> lowercase is the chord 'Alt-c down' but that does 
nothing.


  Do I need to enter that chord in the settings to have it work?

Rich

Rich,

It's not a chord. It's Alt-C (simultaneously), then down arrow (with the 
other two keys released).


Paul



Keyboard shortcuts not working as expected

2018-08-28 Thread Rich Shepard

  I'm running LyX-2.3.0 on Slackware-14.2.

  Most keyboard shortcuts work, but some do not. For example, on the Edit
menu -> Text -> lowercase is the chord 'Alt-c down' but that does nothing.

  Do I need to enter that chord in the settings to have it work?

Rich


BibTeX author entry in LyX document

2018-08-28 Thread Rich Shepard

  A bibTeX entry in JabRef:

@Manual{NRCS1996,
  title= {Keys to Soil Taxonomy},
  author   = {Soil Science Staff},
  organization = {Natural Resource Conservation Service, US Department of 
Agriculture},
  edition  = {7},
  year = {1996},
  abstract = {Characteristics of soils keyed to provide identification.},
  keywords = {soils, taxonomy, key},
}

  But, when I link that entry into a LyX document it appears as "Staff
(1996)".

  How should I format the author so the reference is inserted as "Soil
Science Staff (1996)"?

Rich


Re: Standalone Class

2018-08-28 Thread Paul A. Rubin

On 08/27/2018 04:01 AM, Steve Hnizdur wrote:

Hi

I'm trying to use the standalone class but it doesn't appear in the 
dropdown in the documents settings dialogue.


When I look at Tools - Tex Information, standalone appears in both the 
latex classes and latex styles list. Also I can compile a raw *.tex 
file with pdflatex. So the latex side is available and works and lyx 
kind of knows about it. Not sure what in lyx determines what's listed 
in the dropdown though.


Any help appreciated

Using Ubuntu 16:04 Lyx 2.3.0.

Cheers
You need a LyX layout file for it. There's one at 
https://wiki.lyx.org/Layouts/Layouts (in section 7 of the user provided 
layouts portion). Park it in your local layouts folder (~/.lyx/layouts 
on a Linux system) and do Tools > Reconfigure in LyX, and you should be 
good to go.


Re: RTL Beamer LyX Bugs and problems

2018-08-28 Thread Jürgen Spitzmüller
Am Dienstag, den 28.08.2018, 13:48 +0300 schrieb חיים רוזנר:
> First Problem:
> When I write Hebrew and numbers together, the numbers always get some
> \beginL and \endL around them.
> For example:
> מטריצות {\beginL 3\endL}

This is by design, in order to get the direction right. Arguably, it
seems a bit odd and is not necessary with only one number (but that'll
be a bit more tricky to implement).

> That's not a big problem by itself. But when I do it in an inset,
> such as a Frame Title, I get this:
> 
> \begin{frame}{מטריצות {\beginL \textcolor{blue}{\LARGE{}2}\endL}}
> And the number 2 does appear in incorrect Color and Size. There is no
> reason to change these Text Style properties, and the desired TeX is:
> 
> \begin{frame}{מטריצות {\beginL 2\endL}}

Yes, this is a bug. I can reproduce. Please file a report at
https://www.lyx.org/trac/wiki/BugTrackerHome

> Second Problem:
> 
> This problem is probably very similar to the first one. When I use
> the Only inset, I automatically get an Action inset. So I write there
> "2" because I want it to appear only on slide 2. But I get
> 
> \only<{\beginL \textcolor{red}{2}\endL}>{נקודה}

This is fixed in LyX 2.3.

> Third problem:
> This problem is probably with Hebrew Beamer and has nothing to do
> with LyX. When I have an Enumerate environment or an Itemize one, and
> I want the Overlay Specification to be +-, and after the appropriate
> workaround from the above problems, I get the correct TeX:
> 
> \begin{enumerate}[<+->]
> \item סעיף {\beginL 1\endL}
> \item סעיף {\beginL 2\endL}
> \item סעיף {\beginL 3\endL}
> \end{enumerate}
> 
> Consecutively, in the pdf there are three slides. In the first slide
> I have the first item and the last one, any consecutive slide shows
> the next item, but the last item always shows up.

Yes, this looks like a beamer problem, not a LyX bug.

Jürgen

> 
> Thanks,
> Haim
> -- 
> חיים שרגא רוזנר
> טבנקין 4
> רמת גן 5230247


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


Re: LyX 2.3.0 - display of int [Workaround]

2018-08-28 Thread Scott Kostyshak
On Sun, Aug 26, 2018 at 03:26:32PM -0400, Scott Kostyshak wrote:
> On Sun, Aug 26, 2018 at 08:37:18PM +0200, M.B. Schiekel wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Am 22.08.2018 um 18:23 schrieb M.B. Schiekel:
> > > [bernhard] 1. now I managed to compile LyX-2.3.0 and LyX-2.2.4 on
> > > an older openSUSE-Leap-42.3 system with KDE-Plasma-5.8.7 with
> > > Qt-5.6.2 and TeXLive 2016. Result: /int, /iint, /iiint, /nt,
> > > /ioint - all are displayed correctly by LyX.
> > > 
> > > 2. And as before: LyX-2.3.0 and LyX-2.2.4 on a openSUSE-Leap-15.0
> > > system with KDE-Plasma 5.12.5 with Qt-5.9.4 and TeXLive 2017, i.e.
> > > 2017.20170520-lp150.8.2. Result: /int, /iint, /iiint, /nt,
> > > /ioint - all are displayed faultily by LyX, i.e. top of the
> > > integral is bottom of the line (see png-file). ...
> > 
> > 
> > Hi Scott, Kornel, Ricardo,
> > and all other interested friends,
> > 
> > now I've carried on to fool around and have found a workaround, that
> > will do for me.
> > I compiled LyX-2.3.0 on an openSUSE-Leap-15.0 system with QT-4.8.7 .
> > And hey, all integrals are displayed right :-)
> > 
> > So this integral-display-bug will be most likely in the LyX-2.3.0
> > interaction with Qt-5.9.4.
> 
> Thanks for reporting back this workaround. Hopefully we can figure out
> the root cause eventually.

Cor (now CC'd),

There are two openSUSE users, Bernhard, and Ricardo, who are seeing a
strange bug with the LyX display of \int. Can you take a look at this
thread and see if you can reproduce? Bernhard found a workaround, which
was compiling with Qt 4, but it would be nice to figure out the core
issue.

Thanks,

Scott


signature.asc
Description: PGP signature


Re: RTL Beamer LyX Bugs and problems

2018-08-28 Thread Scott Kostyshak
On Tue, Aug 28, 2018 at 01:48:07PM +0300, חיים רוזנר wrote:
> Hi,
> I use LyX for some years, both in English and in Hebrew.
> When I try to use Beamer in Hebrew I get many weird problems.

Thanks for your detailed email, Haim. I reported a "painting" problem
where the text overlaps, based on your example file, here:

https://www.lyx.org/trac/ticket/11266

I hope that there are ideas to fix the main problems you're seeing.

Best,

Scott


signature.asc
Description: PGP signature


Re: Sharpness of lyx characters

2018-08-28 Thread Jean-Marc Lasgouttes

Le 23/08/2018 à 17:35, Pol a écrit :

screen characters in lyx on hp-elitebook x360, appear unclear, i would
say that 'ink density' is not uniform.
No change switching to different fonts.
All applications display clear characters, except LyX
Lyx runs on opensuse leap 15 / plasma


Wait until LyX 2.3.1 soonish. It will use anti aliasing in the workarea 
if needed. I suspect this is what you lack here.


JMarc