Re: My book isn't compiling, having something to do with refstyle

2023-05-02 Thread Steve Litt
Udicoudco said on Wed, 3 May 2023 00:32:30 +0300

>On Wed, May 3, 2023 at 12:11 AM Steve Litt 
>wrote:
>>
>> One of my books, which a couple weeks ago compiled just fine, now
>> errors out as follows:'
>>
>> Argument of \eqref has an extra }.
>>
>> 1) Did something change about the refstyle package in the last few
>> weeks?  

Good. So I'm not crazy. Thanks for the info!

>
>The amsmath package robustified \eqref and it broke how refstyle
>handled amsmath.
>
>> 2) Did LyX make a change that affected how the refstyle package
>> works?  
>
>No that I'm aware of.

Good. One less thing to worry about.

>
>> 3) Within the LyX user interface, where can I see the configuration
>> that affects the usage of the refstyle package?  
>
>What exactly do you mean?

:-)

Rereading, I see I didn't express myself clearly.

I found the answer to my badly expressed question. On the 
Document=>Document_settings=>Document_class window there's a checkbox
called "Use Refstyle (Not Prettyref) for cross reference". It was
checked. I unchecked it, the document compiled, and I couldn't find any
differences in the PDF, so I worked around the problem.

Everyone, if you have "Use Refstyle (Not Prettyref) for cross
reference" checked on the Document Class window, be on the lookout for
trouble if you have later TeXLive installations. I recently upgraded
from 2021 to 2023 a week or so ago, and I'm pretty sure that's why the
symptom appeared at about the same time.

>
>FWIW, Jürgen Spitzmüller notified the author of refstly,
>and he replied that he will fix it.

Excellent!

>See also https://www.lyx.org/trac/ticket/12708 and
>https://www.mail-archive.com/lyx-users@lists.lyx.org/msg114795.html

:-) I should have read that thread more carefully.

Thanks for the help, Udi.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: My book isn't compiling, having something to do with refstyle

2023-05-02 Thread Udicoudco
On Wed, May 3, 2023 at 12:11 AM Steve Litt  wrote:
>
> One of my books, which a couple weeks ago compiled just fine, now
> errors out as follows:'
>
> Argument of \eqref has an extra }.
>
> 1) Did something change about the refstyle package in the last few
> weeks?

The amsmath package robustified \eqref and it broke how refstyle
handled amsmath.

> 2) Did LyX make a change that affected how the refstyle package works?

No that I'm aware of.

> 3) Within the LyX user interface, where can I see the configuration
> that affects the usage of the refstyle package?

What exactly do you mean?

FWIW, Jürgen Spitzmüller notified the author of refstly,
and he replied that he will fix it.

See also https://www.lyx.org/trac/ticket/12708 and
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg114795.html

Best,
Udi

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


My book isn't compiling, having something to do with refstyle

2023-05-02 Thread Steve Litt
One of my books, which a couple weeks ago compiled just fine, now
errors out as follows:'

Argument of \eqref has an extra }.

By MWEing the created TeX file and running LuaLaTeX on it, I found that
the problem disappears when I commented out \input refstyle , except
that *then* other problems happened. I found nothing about refstyle in
any of my document settings, nor in my layout file. Looking at my LyX
file in Vim, I found the following line:

\use_refstyle 1

So in the editor I changed the 1 to 0, saved and ran LyX again. This
time I got an error on almost every \ref, or at least about 10 of them.

So here are my questions:

1) Did something change about the refstyle package in the last few
weeks?

2) Did LyX make a change that affected how the refstyle package works?

3) Within the LyX user interface, where can I see the configuration
that affects the usage of the refstyle package?

Thanks,

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


preparing abbreviations in the text for latex

2023-05-02 Thread Wolfgang Engelmann
Where can I find information for preparing abbreviations in the text for 
latex,


such as etc or i.e.

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


SOLVED > Re: how to tell LyX that there is a 2023 texlive

2023-05-02 Thread Wolfgang Engelmann



Am 02.05.23 um 17:42 schrieb José Matos:

On Tue, 2023-05-02 at 16:43 +0200, Wolfgang Engelmann wrote:

How can I tell LyX that there is a 2023 texlive which I installed
just now.

It is in
/usr/local/texlive/2023
and I have the PATHs set in ~/.profile.

However, LyX uses still
/usr/local/texlive/2022

Wolfgang


What happens if you try:
Tools -> Reconfigure

then restart LyX.

Does that works?


Thanks, José, for the reminder. I forgot the reconfigure,
and thanks, Steve, for the texhash. Now its working.

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


Re: how to tell LyX that there is a 2023 texlive

2023-05-02 Thread Steve Litt
José Matos said on Tue, 02 May 2023 16:42:17 +0100

>On Tue, 2023-05-02 at 16:43 +0200, Wolfgang Engelmann wrote:
>> How can I tell LyX that there is a 2023 texlive which I installed
>> just now.
>> 
>> It is in
>> /usr/local/texlive/2023
>> and I have the PATHs set in ~/.profile.
>> 
>> However, LyX uses still
>> /usr/local/texlive/2022
>> 
>> Wolfgang  
>
>What happens if you try:
>Tools -> Reconfigure
>
>then restart LyX.
>
>Does that works?

Before doing that, if I were you I'd do a texhash as root.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: how to tell LyX that there is a 2023 texlive

2023-05-02 Thread José Matos
On Tue, 2023-05-02 at 16:43 +0200, Wolfgang Engelmann wrote:
> How can I tell LyX that there is a 2023 texlive which I installed
> just now.
> 
> It is in
> /usr/local/texlive/2023
> and I have the PATHs set in ~/.profile.
> 
> However, LyX uses still
> /usr/local/texlive/2022
> 
> Wolfgang

What happens if you try:
Tools -> Reconfigure

then restart LyX.

Does that works?
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


how to tell LyX that there is a 2023 texlive

2023-05-02 Thread Wolfgang Engelmann

How can I tell LyX that there is a 2023 texlive which I installed just now.

It is in
/usr/local/texlive/2023
and I have the PATHs set in ~/.profile.

However, LyX uses still
/usr/local/texlive/2022

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


Re: Add parameter to the index entry

2023-05-02 Thread Wolfgang Engelmann



Am 01.05.23 um 13:31 schrieb Wolfgang Engelmann:



Am 01.05.23 um 12:03 schrieb Ehud Behar:
I want to insert a "people" index into my document so that an index 
entry has the

[people]
"parameter" appended to it. Like this:
\index[people]{Dirac, Paul} and \index[people]{Maxwell, James Clerk}

So I want to make some changes to the index entry that is defined in 
the stdinsets.inc file.


I tried to insert the following lines in my local layout but it gives 
me '\index{peopleDirac, Paul}' instead of '\index[people]{Dirac, Paul}':


InsetLayout Index
 LabelString   Idx
 Decoration    classic
 Font
   Size    Small
 EndFont
 LabelFont
   Color   indexlabel
   Size    Small
 EndFont
 LatexParam people  #< New
 MultiPar  false
 CustomPars    false
 ForcePlain    true
 ContentAsLabel    true
 PassThruChars @|!
End

Any idea how to achieve it?






Is there a reason not to use the
name index
of LyX?

Wolfgang

 Sorry, I don't understand your question.
Ehud Behar

> I probably misunderstood your questioning.

> I usually use the name index besides the subject index
> You probably know this and have something else in mind
> Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users