Re: Bibliographic Slop-Over

2018-10-06 Thread Daniel Kian Mc Kiernan (the best Daniel of the bunch)

On 10/06/2018 05:02 AM, John Kane wrote:


On Sat, 6 Oct 2018 at 06:27, Daniel Kian Mc Kiernan (the best Daniel 
of the bunch) wrote:



I've problems with bibliographical entries extending into the
marginal
area. With the default article layout, a URL is doing this.  With a
Springer layout, a title is doing this.

Attached are small working examples (albeit not literally minimal).

Now, I assume that I could insert a bit of mark-up into the .bib file
as a work-around, but it seems highly undesirable that I should have
distinct .bib files for different layouts.

Thanks for whatever help might be offered.


I don't have the Springer template set up but I am not seeing the 
problem with bad_bib.lyx file. the URL is breaking perfectly.


LyX 2.3.1  Ubuntu 18.04


Odd.  We are each running distributions of Linux (Fedora in my case), 
so the apps should be virtually identical.


I'll worry about this less then, as it probably won't happen when the 
publisher processes my .tex and .bib files.


Thank you for your effort!


Re: Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Richard Kimberly Heck
On 10/6/18 3:40 PM, Ricardo Berlasso wrote:
> El sáb., 6 oct. 2018 a las 21:29, Shieh, Sanford ( >) escribió:
>
> Hi Riki,
>
>  
>
> Attached is an MWE together with the PDF it generates.  Bullet
> points 2-4 are not visible on the PDF slides because of the Custom
> Item insert with nothing inside the insert box.
>
>
> When you insert something from menu, look at LyX's status bar: there
> you'll see a command (argument-insert item:1). With that code you can
> now create a custom keyboard shortcut, just write the code on the
> Function box (without the brackets).


Most LFUNs do get reported there (including this one), but not all. For
more info, you can also look at the messages pane, and active "action".


>
> You have a list of all "LyX Functions" at Help → LyX Functions.


I'll just add that, if you want to do a number of things in a row, then
you will want to use the "command-sequence" LFUN, which lets you string
things together. You could use this e.g. to insert a custom item and
then move the cursor outside it:

    command-sequence argument-insert item:1; char-forward

If you're often going to leave the item blank, then this may make sense.

Oh, and I'll also add, though you may already know this (others may
not): You can test these before assigning them to keystrokes by opening
the Command Buffer (View> Toolbars> Command Buffer, or Meta-x or Alt-x
as a shortcut) and entering the LFUN stuff there.

Riki




Re: Bold face in LyX

2018-10-06 Thread Chris Menzel
Apparently the bug has been fixed in QT 5.12.0 beta 1:
https://bugreports.qt.io/browse/QTBUG-69955.

So hopefully we'll see an update before long.

-chris

On Fri, Oct 5, 2018 at 9:06 AM Scott Kostyshak  wrote:

> Hi Hal,
>
> On Fri, Oct 05, 2018 at 06:27:26AM -0700, Hal Kierstead wrote:
> > All -
> >
> > I am using LyX 2.2.1-1 on macOS 10.14.
>
> Do you mean 2.3.1-1?
>
> > I can no longer distinguish boldface fonts from ordinary fonts in the
> LyX document, although they appear correctly in the pdf output. This is the
> case both when I enter the bold face font by hand or when I use an
> environment like Theorem. Is this a known issue? Do you need an example?
> The problem is obvious even in a two word document with the same word first
> in bold face and then not.
> >
>
> I believe this is a bug in Qt that only shows up on mojave. We are
> tracking it here:
>
>   https://www.lyx.org/trac/ticket/11271
>
> Scott
>


Re: Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Ricardo Berlasso
El sáb., 6 oct. 2018 a las 21:29, Shieh, Sanford ()
escribió:

> Hi Riki,
>
>
>
> Attached is an MWE together with the PDF it generates.  Bullet points 2-4
> are not visible on the PDF slides because of the Custom Item insert with
> nothing inside the insert box.
>

When you insert something from menu, look at LyX's status bar: there you'll
see a command (argument-insert item:1). With that code you can now create a
custom keyboard shortcut, just write the code on the Function box (without
the brackets).

You have a list of all "LyX Functions" at Help → LyX Functions.

Regards,
Ricardo




>
>
> Thanks!
>
>
>
> Sanford Shieh
>
> Associate Professor
>
> Department of Philosoph
>
> Wesleyan University
>
> 350 High Street
>
> Middletown, CT 06459
>
> USA
>
> +1 860 685 3646
>
> sanford.sh...@wesleyan.edu
>
> Reviews editor, *Journal of the History of Analytic Philosophy*
> 
>
> Follow me on Academia.edu  and
>
> ResearchGate.net 
>
>
>
> *From:* Richard Kimberly Heck 
> *Sent:* Saturday, October 6, 2018 2:28 PM
> *To:* Shieh, Sanford ; lyx-users@lists.lyx.org
> *Subject:* Re: Keyboard shortcut for inserting custom item while using
> Beamer
>
>
>
> On 10/06/2018 02:15 PM, Shieh, Sanford wrote:
>
> Hi,
>
>
>
> I find myself inserting blank custom items a lot while using Beamer, and
> so would like to have a keyboard shortcut for that.  As far as I can tell,
> there’s no LyX function that does that, so I can’t bind a key sequence to
> it.  Is there some other method that might work?
>
>
> I'm not sure I know what you mean by a 'blank custom item'. Can you post a
> small LyX file that has one in it?
>
> Riki
>


RE: Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Shieh, Sanford
Hi Riki,

Attached is an MWE together with the PDF it generates.  Bullet points 2-4 are 
not visible on the PDF slides because of the Custom Item insert with nothing 
inside the insert box.

Thanks!

Sanford Shieh
Associate Professor
Department of Philosoph
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 860 685 3646
sanford.sh...@wesleyan.edu
Reviews editor, Journal of the History of Analytic 
Philosophy
Follow me on Academia.edu and
ResearchGate.net

From: Richard Kimberly Heck 
Sent: Saturday, October 6, 2018 2:28 PM
To: Shieh, Sanford ; lyx-users@lists.lyx.org
Subject: Re: Keyboard shortcut for inserting custom item while using Beamer

On 10/06/2018 02:15 PM, Shieh, Sanford wrote:
Hi,

I find myself inserting blank custom items a lot while using Beamer, and so 
would like to have a keyboard shortcut for that.  As far as I can tell, there's 
no LyX function that does that, so I can't bind a key sequence to it.  Is there 
some other method that might work?

I'm not sure I know what you mean by a 'blank custom item'. Can you post a 
small LyX file that has one in it?

Riki


MWE.lyx
Description: MWE.lyx


MWE.pdf
Description: MWE.pdf


Re: Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Richard Kimberly Heck
On 10/06/2018 02:15 PM, Shieh, Sanford wrote:
>
> Hi,
>
>  
>
> I find myself inserting blank custom items a lot while using Beamer,
> and so would like to have a keyboard shortcut for that.  As far as I
> can tell, there’s no LyX function that does that, so I can’t bind a
> key sequence to it.  Is there some other method that might work?
>

I'm not sure I know what you mean by a 'blank custom item'. Can you post
a small LyX file that has one in it?

Riki



Keyboard shortcut for inserting custom item while using Beamer

2018-10-06 Thread Shieh, Sanford
Hi,

I find myself inserting blank custom items a lot while using Beamer, and so 
would like to have a keyboard shortcut for that.  As far as I can tell, there's 
no LyX function that does that, so I can't bind a key sequence to it.  Is there 
some other method that might work?

Thanks!

Sanford Shieh
Associate Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 860 685 3646
sanford.sh...@wesleyan.edu
Reviews editor, Journal of the History of Analytic 
Philosophy
Follow me on Academia.edu and
ResearchGate.net



Re: Bibliographic Slop-Over

2018-10-06 Thread John Kane
I don't have the Springer template set up but I am not seeing the problem
with bab.bab.lyx file. the URL is breaking perfectly.

LyX 2.3.1  Ubuntu 18.04

On Sat, 6 Oct 2018 at 06:27, Daniel Kian Mc Kiernan (the best Daniel of the
bunch)  wrote:

> I've problems with bibliographical entries extending into the marginal
> area. With the default article layout, a URL is doing this.  With a
> Springer layout, a title is doing this.
>
> Attached are small working examples (albeit not literally minimal).
>
> Now, I assume that I could insert a bit of mark-up into the .bib file
> as a work-around, but it seems highly undesirable that I should have
> distinct .bib files for different layouts.
>
> Thanks for whatever help might be offered.
>


-- 
John Kane
Kingston ON Canada


Bibliographic Slop-Over

2018-10-06 Thread Daniel Kian Mc Kiernan (the best Daniel of the bunch)
I've problems with bibliographical entries extending into the marginal 
area. With the default article layout, a URL is doing this.  With a 
Springer layout, a title is doing this.


Attached are small working examples (albeit not literally minimal).

Now, I assume that I could insert a bit of mark-up into the .bib file 
as a work-around, but it seems highly undesirable that I should have 
distinct .bib files for different layouts.


Thanks for whatever help might be offered.
@article{Ellis1842,
	author = {Ellis, Robert Leslie},
	title = {On the Foundations of the Theory of Probability},
	journaltitle = {Transactions of the Cambridge Philosophical Society},
	volume = {8},
	part = {1},
	pages = {1-6},
	date = {1843},
	url = {https://www.biodiversitylibrary.org/ia/transactionsofca08camb},
	note = {Delivered before the Cambridge Philosophical Society on 1842-02-14.}
}


@book{Kries1886,
	title = {Die Principien der Wahrscheinlichkeits-Rechnung, eine logische Untersuchung},
	author = {Kries, Johannes Adolf von},
	date = {1886},
	publisher = {Akademische Verlagsbuchhandlung von J.C.B. Mohr},
	location = {Freiburg}
}


bad_bib.lyx
Description: application/lyx


bad_bib_springer.lyx
Description: application/lyx


Re: Translation queries

2018-10-06 Thread Steve Hnizdur

On 06/10/18 06:07, Richard Kimberly Heck wrote:


Redirecting to the developers' list

On 10/5/18 8:47 AM, Steve Hnizdur wrote:

Hi

I have two questions which are illustrated by the MWE attached. It is
a simple article class lyx file in German which has a local layout of

Format 66
Style XX*
     LatexType Environment
     LatexName XX*
     LabelString   "Examples."
     Margin    First_Dynamic
     LabelType Static
     Preamble
   \theoremstyle{definition}
   \newtheorem*{XX*}{\protect\fred}
     EndPreamble
     LangPreamble
   \providecommand{\fred}{_(YY)}
     EndLangPreamble
     BabelPreamble
   \addto\captions$$lang{\renewcommand{\fred}{_(Case)}}
     EndBabelPreamble
End

The png file shows how it looks on the screen. The first question I
have is how does lyx manage to translate the LabelString "Examples. "
in the local layout to "Beispiele" as shown on the screen? The
Customisation documentation says it uses the layouttranslations file,
but this word does not exist in this file only "Beispiel". If there is
some clever pluralisation then why does it not work with Remark and
Remarks?

Secondly the \addto\caption in BabelPreamble does not get added to the
preamble and so in the final pdf attached the word "Case" is not
translated and used as the heading (even though "Case" does exist in
layouttranslations).

The customisation documentation says that such a line should be added.

Is this local to me? Or have I just misunderstood something?

I use Ubuntu 16:04 and Lyx 2.3.1





As is often the case I should have read the documentation more closely. 
It says that BabelPremable is used in Multilingual documents, so if I 
add an English section as well sure enough I get two \addto\caption 
lines in the preamble and the display shows both translations.


The first question still holds though.

Cheers
--

Steve Hnizdur