Re: Numbered list - multi-level

2019-10-26 Thread Paul A. Rubin

On 10/21/19 8:56 AM, Eugénio Costa wrote:

Hi Lyx users and developers

I am using LyX Version 2.3.1 on Fedora Linux.
I need help to get a Multi-level numbered list this style:

1.
1.1
1.2
1.2.1
1.2.2
2

The default is:
1.
(a)
(b)
i.
ii.
2.

This such simple thing is a pain in the ass
I need to write a law contract/agreement, where the text refers to 
previous points, and there is no other way to do it than with numbers.

I did't find a solution to follow.
Would be great to have this option without the need to write code, as 
a simple document option, for a newer version.


Thank you in advance for the help!

Coinegue


You can use the enumitem module and add a couple of lines to the 
document preamble:


\setlist[enumerate,2]{label = \theenumi.\arabic*}

\setlist[enumerate,3]{label = \theenumii.\arabic*}

It will not change how the numbering looks in the LyX GUI, but it will 
change how it looks in the compiled document. See the attached MWE. If 
you want to use this regularly, you can create a module of your own to 
implement it. You can also, in your new module, adjust the way numbering 
looks in the GUI, if it really bothers you.


Paul



newfile1.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


More obvious feedback when a reconfigure is in process

2019-10-26 Thread Cris Fuhrman
Hello,

While trying some various installs of MiKTeX recently, I had to reconfigure
LyX several times. At one point, I was trying to change the settings and
the menu wasn't working. Finally I realized that the reconfigure was still
running, and that I had just been duped by the fact that the only feedback
is on a status line at the bottom of the window (which wasn't changing
because the step the reconfigure on was one that takes more than 10 seconds
on my machine sometimes (fonts?)).

Anyway, I wondered why there isn't an progress-bar type dialog or something
with more feedback when doing a reconfigure? It can take as long as a
minute on one of my machines.

Cheers,

C. Fuhrman
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Compile warnings need removing

2019-10-26 Thread Paul A. Rubin

On 10/21/19 6:39 PM, Rich Shepard wrote:

After getting kbibtex working last week I thought all bibliographic entry
errors were corrected. Apparently not the case.

Different document, different citation. I get these warnings (from the 
log):


Class scrreprt Warning: deprecated old font command `\bf' used.
...

LaTeX Font Info:    Font shape `T1/ppl/bx/n' in size <10.95> not 
available
(Font)  Font shape `T1/ppl/b/n' tried instead on input 
line 32.


! Package inputenc Error: Keyboard character used is undefined
(inputenc)    in inputencoding `latin9'.

See the inputenc package documentation for explanation.
Type  H   for immediate help.
 ...

l.32 \newblock {\em Ecology}, {\bf 58}, 893??    (N.B. I don't know
 ?899.    where these
    characters are
    found)
You need to provide a definition with \DeclareInputText or 
\DeclareInputMath before using this key.



! Package inputenc Error: Keyboard character used is undefined
(inputenc)    in inputencoding `latin9'.

See the inputenc package documentation for explanation.
Type  H   for immediate help.
 ...

l.32 \newblock {\em Ecology}, {\bf 58}, 893–    (N.B. Because I use
  899.    -- in kbibtex.)
You need to provide a definition with \DeclareInputText or 
\DeclareInputMath before using this key.


These are warnings, not errors, so the pdflatex output is provided.

What I want to learn is where the deprecated font styles (e.g., \bf, \em)
can be found. They're not in the kbiblatex entries and in the document's
settings use of deprecated font styles is not in the preamble.

Where in settings do I fix this issue?

I don't think it's a LyX settings issue. I would take a look at the .bst 
file you are using and see if they're in it.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
On Sat, Oct 26, 2019 at 02:31:57PM -0400, Paul A. Rubin wrote:
> On 10/26/19 1:57 PM, Scott Kostyshak wrote:
> > On Sat, Oct 26, 2019 at 06:47:27PM +0200, Jürgen Spitzmüller wrote:
> > > Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
> > > >Save settings as the defaults for new documents
> > > This sounds good IMHO (is it "the defaults" or "defaults" without
> > > article?).
> > Good question, I don't know which is correct.
> > 
> > Scott
> > 
> Neither is incorrect IMO, but I would drop "the" just because (a) it's
> consistent with omitting "the" before "settings" and (b) brevity is the soul
> of wit.

Would you drop "the" or would you drop *the* "the" ? :)

Committed to master without "the" at 75bbe374. Thanks for the comments,
Jürgen and Paul!

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Paul A. Rubin

On 10/26/19 1:57 PM, Scott Kostyshak wrote:

On Sat, Oct 26, 2019 at 06:47:27PM +0200, Jürgen Spitzmüller wrote:

Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:

   Save settings as the defaults for new documents

This sounds good IMHO (is it "the defaults" or "defaults" without
article?).

Good question, I don't know which is correct.

Scott

Neither is incorrect IMO, but I would drop "the" just because (a) it's 
consistent with omitting "the" before "settings" and (b) brevity is the 
soul of wit.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
On Sat, Oct 26, 2019 at 06:47:27PM +0200, Jürgen Spitzmüller wrote:
> Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
> >   Save settings as the defaults for new documents
> 
> This sounds good IMHO (is it "the defaults" or "defaults" without
> article?).

Good question, I don't know which is correct.

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Jürgen Spitzmüller
Am Samstag, den 26.10.2019, 12:04 -0400 schrieb Scott Kostyshak:
>   Save settings as the defaults for new documents

This sounds good IMHO (is it "the defaults" or "defaults" without
article?).

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Improvement for tooltip of "Save as Document Defaults"

2019-10-26 Thread Scott Kostyshak
The current tooltip says the following:

  Save settings as LyX's default document settings

One LyX user was confused and thought this meant that these document
settings would be used for all .lyx files (e.g., existing ones as well).
This made me think we should clarify as follows:

  Save settings as LyX's default document settings for new documents

But now it's getting a little long. How about the following?

  Save settings as the defaults for new documents

Any comments or alternative proposals?

Thanks,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users