Re: background in branches, dark mode.

2024-10-04 Thread Paolo M
In branches, text background is black while math text background is gray,
the same as the background in the normal text.
I think text background in branches should be the same gray.

p.

Il ven 4 ott 2024, 22:51 Richard Kimberly Heck  ha
scritto:

> On 10/4/24 11:44 AM, Paolo M wrote:
>
> Thank you.
> As i am at it, how to change the default background in branches?
>
> I don't think there is a way to do that.
>
> Riki
>
>
> Il giorno gio 3 ott 2024 alle ore 23:23 Richard Kimberly Heck <
> rikih...@gmail.com> ha scritto:
>
>> On 10/3/24 11:56 AM, Paolo M wrote:
>>
>> This is a file created by lyx 2.3, containing test0 branch, opened by
>> 2.4.
>> A new branch, test1 has been here created.
>>
>> test1 is ok, white text on black background, while background in test0 is
>> white and text is white, hence not readable. How to fix?
>>
>> Under Document> Settings> Branches, you can choose the colors for
>> branches.
>>
>> Riki
>>
>>
>
> --
> --- Paolo M. Pumilia - 347 231 54 96.
>
>
> --
> 
> Richard Kimberly (Riki) Heck
> Professor of Philosophy and Professor of Linguistics
> Brown University
>
> Pronouns: they/them/their
> Website:  http://rkheck.frege.org/
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: background in branches, dark mode.

2024-10-04 Thread Richard Kimberly Heck

On 10/4/24 11:44 AM, Paolo M wrote:

Thank you.
As i am at it, how to change the default background in branches?


I don't think there is a way to do that.

Riki


Il giorno gio 3 ott 2024 alle ore 23:23 Richard Kimberly Heck 
 ha scritto:


On 10/3/24 11:56 AM, Paolo M wrote:

This is a file created by lyx 2.3, containing test0 branch,
opened by 2.4.
A new branch, test1 has been here created.

test1 is ok, white text on black background, while background in
test0 is white and text is white, hence not readable. How to fix?


Under Document> Settings> Branches, you can choose the colors for
branches.

Riki




--
--- Paolo M. Pumilia - 347 231 54 96.



--

Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:http://rkheck.frege.org/
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: background in branches, dark mode.

2024-10-04 Thread Paolo M
Thank you.
As i am at it, how to change the default background in branches?

p.

Il giorno gio 3 ott 2024 alle ore 23:23 Richard Kimberly Heck <
rikih...@gmail.com> ha scritto:

> On 10/3/24 11:56 AM, Paolo M wrote:
>
> This is a file created by lyx 2.3, containing test0 branch, opened by 2.4.
> A new branch, test1 has been here created.
>
> test1 is ok, white text on black background, while background in test0 is
> white and text is white, hence not readable. How to fix?
>
> Under Document> Settings> Branches, you can choose the colors for branches.
>
> Riki
>
>

-- 
--- Paolo M. Pumilia - 347 231 54 96.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX usage and Tricks

2024-10-04 Thread Neal Becker
I noticed you're writing about communications, which is my area of
interest.  Just curious what specific topics you are writing about, if you
don't mind sharing?

On Fri, Oct 4, 2024 at 8:24 AM Jean-Marc Lasgouttes 
wrote:

> Le 04/10/2024 à 09:17, A-Imam Al-Sammak a écrit :
> > Dear all
> >
> > I would like to thank you for supporting my journey with LyX. During my
> > journey I document my experience in one file that is a reference for me.
> > I learnt  a lot of tricks from the internet, upwork.com
> >  jobs and definitely from the LyX user group. I feel
> > that this can be useful for other LyX group users. I am attaching the
> > LyX file without the images as its size is 3.52 which is not allowed
> here.
> >
> > I hope that this will be useful to you and appreciate any comments as I
> > am going to use it to train others on LyX. You can reach me on:
> > imam.sam...@gmail.com .
>
> Hello A-Iman,
>
> Thank you for this large document! With my developer hat on, I jumped
> directly to section “My issues with LyX” :) There are issues that I
> would like your comment about:
>
> * “Need space between Table and its title”: What title are you
> mentioning here? Is that the caption? On screen or in PDF output?
>
> * “Line spacing in lists seems to be large”: again, is that in screen or
> in the output? We exert as little control as possible on the design
> choices of the classes we support. However, we try to show on screen a
> faithful version of the output.
>
> * “Therefore sign does not convert well”: what is the “therefore sign”?
>   Is this a version of this ticket: https://www.lyx.org/trac/ticket/13083
>
> For these issues, I guess that a small example file would be the best
> demonstration.
>
> Best,
> JMarc
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
*Those who don't understand recursion are doomed to repeat it*
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX usage and Tricks

2024-10-04 Thread Jean-Marc Lasgouttes

Le 04/10/2024 à 09:17, A-Imam Al-Sammak a écrit :

Dear all

I would like to thank you for supporting my journey with LyX. During my 
journey I document my experience in one file that is a reference for me. 
I learnt  a lot of tricks from the internet, upwork.com 
 jobs and definitely from the LyX user group. I feel 
that this can be useful for other LyX group users. I am attaching the 
LyX file without the images as its size is 3.52 which is not allowed here.


I hope that this will be useful to you and appreciate any comments as I 
am going to use it to train others on LyX. You can reach me on: 
imam.sam...@gmail.com .


Hello A-Iman,

Thank you for this large document! With my developer hat on, I jumped 
directly to section “My issues with LyX” :) There are issues that I 
would like your comment about:


* “Need space between Table and its title”: What title are you 
mentioning here? Is that the caption? On screen or in PDF output?


* “Line spacing in lists seems to be large”: again, is that in screen or 
in the output? We exert as little control as possible on the design 
choices of the classes we support. However, we try to show on screen a 
faithful version of the output.


* “Therefore sign does not convert well”: what is the “therefore sign”?
 Is this a version of this ticket: https://www.lyx.org/trac/ticket/13083

For these issues, I guess that a small example file would be the best 
demonstration.


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


Re: LyX usage and Tricks

2024-10-04 Thread A-Imam Al-Sammak
Dear all
Following is a G-Drive link for images used in the above file + the LyX
file as well.

Best regards.

A-Imam

https://drive.google.com/drive/folders/1Zvn9FLcimi2yViAu_9i3BmAx6UcDxQFU?usp=sharing


On Fri, Oct 4, 2024 at 10:17 AM A-Imam Al-Sammak 
wrote:

> Dear all
>
> I would like to thank you for supporting my journey with LyX. During my
> journey I document my experience in one file that is a reference for me. I
> learnt  a lot of tricks from the internet, upwork.com jobs and definitely
> from the LyX user group. I feel that this can be useful for other LyX group
> users. I am attaching the LyX file without the images as its size is 3.52
> which is not allowed here.
>
> I hope that this will be useful to you and appreciate any comments as I am
> going to use it to train others on LyX. You can reach me on:
> imam.sam...@gmail.com.
>
>
>
> Best regards.
>
>
> A-Imam
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to underline and color hyperlinks?

2024-09-29 Thread Jürgen Spitzmüller
Am Sonntag, dem 29.09.2024 um 07:50 + schrieb Stef Pillaert:
> Taht's correct, but I want all hyperlinks be like that automatically.

You can do that with the following preamble code:

\usepackage{soul}
\usepackage{color}
\AddToHook{package/hyperref/after}{%
  \NewCommandCopy\myurl\url
  \RenewDocumentCommand\url{m}{\color{blue}\ul{\mbox{\myurl{#1
  \NewCommandCopy\myhref\href
 
\RenewDocumentCommand\href{mm}{\color{blue}\ul{\mbox{\myhref{#1}{#2
}

Note that the drawback is that the links won't be broken across lines.

Having underlined links that print out (as in Word) is simply not
implemented in many PDF viewers, as others have stressed. Personally I
also doubt its usability. In print, having ULRs italicized is much more
convenient (and also conventional).

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


Re: LyX and newpax

2024-09-29 Thread Jürgen Spitzmüller
Am Sonntag, dem 29.09.2024 um 07:52 + schrieb Stef Pillaert:
> Thanks, but I don't think that's the isuue here: when I use newpax
> using techworks to compile everything, all my links in the pdfs work.
> When I try to do this via Lyx, just some of them do work.

Sure, since newpax does similar things to what is described in the
quotation for its predecessor, pax.

I was responding to Eberhard's suggestion that pdfpages might be
sufficient.

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


Re: LyX and newpax

2024-09-29 Thread Stef Pillaert
Thanks, but I don't think that's the isuue here: when I use newpax using 
techworks to compile everything, all my links in the pdfs work. When I try to 
do this via Lyx, just some of them do work.
Stef

Van: lyx-users  namens Jürgen Spitzmüller 

Verzonden: zaterdag 28 september 2024 10:18
Aan: lyx-users@lists.lyx.org 
Onderwerp: Re: LyX and newpax

Am Freitag, dem 27.09.2024 um 22:26 +0200 schrieb Dr Eberhard Lisse:
> I do my PDFs with Insert -> File -> External Material.
>
> If necessary I put a little ERT in front to it fits on the page
> (Portrait vs Landscape), but that is not relevant here.
>
> All links in the PDF continue to work.

See texdoc newpax for why this isn't technically possible for many
links.

Also see the pdfpages manual which makes clear that:

"Links and other interactive features of PDF documents When including
pages of a PDF only the so called content stream of these pages is
copied but no links. Up to now there are no TeX-engines (pdfTeX, XeTeX,
...) available that can copy links or other interactive features of a
PDF document, too.
Thus, all kinds of links1 will get lost during inclusion. (Using
\includepdf, \includegraphics, or other low-level commands.)
However, there’s a glimmer of hope. Some links may be extracted and
later reinserted by a package called pax which can be downloaded from
CTAN [3]. Have a look at it!"

pdfpages is the package that is employed by Insert > File > External
Material.

--
Jürgen
--
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


Re: LyX and newpax

2024-09-28 Thread Jürgen Spitzmüller
Am Freitag, dem 27.09.2024 um 22:26 +0200 schrieb Dr Eberhard Lisse:
> I do my PDFs with Insert -> File -> External Material.
> 
> If necessary I put a little ERT in front to it fits on the page
> (Portrait vs Landscape), but that is not relevant here.
> 
> All links in the PDF continue to work.

See texdoc newpax for why this isn't technically possible for many
links.

Also see the pdfpages manual which makes clear that:

"Links and other interactive features of PDF documents When including
pages of a PDF only the so called content stream of these pages is
copied but no links. Up to now there are no TeX-engines (pdfTeX, XeTeX,
...) available that can copy links or other interactive features of a
PDF document, too.
Thus, all kinds of links1 will get lost during inclusion. (Using
\includepdf, \includegraphics, or other low-level commands.)
However, there’s a glimmer of hope. Some links may be extracted and
later reinserted by a package called pax which can be downloaded from
CTAN [3]. Have a look at it!"

pdfpages is the package that is employed by Insert > File > External
Material.

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


Re: Can't input tables

2024-09-27 Thread Richard Kimberly Heck

On 9/27/24 7:49 PM, Richard Opheim wrote:
I was working on a file, and "Tables" stopped working. When I click on 
"Tables," the attached screen appears. Nothing can be input into the 
column and row boxes; no table can be made.


This is Windows?

Try hitting Alt-R (the keyboard accelerator for the Row box) and see if 
that allows you to enter a number. It looks like the entry boxes are 
weirdly compressed, so it might be that you just can't see what's being 
entered.


There have also been reports on Windows of weirdness caused by the Qt 
theme being used. You might try switching the theme, and maybe even 
switching it back after that. I do not know how to do that, as I'm not 
on Windows, but there has been discussion on this list, so you could 
check the archives.


Riki

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


Re: LyX and newpax

2024-09-27 Thread Stef Pillaert
If I export my .lyx file from within LyX as a LaTeX(pdf) file (.tex), I can 
compile the latter succesfully with TeXworks, with all links functioning in the 
pdf file.
Does this confirm what you think?
(Or could it be that I use another "version" of MiKTeX for LyX and TeXworks, 
without me realizing that?)
Stef


Van: lyx-users  namens Jürgen Spitzmüller 

Verzonden: vrijdag 27 september 2024 13:43
Aan: lyx-users@lists.lyx.org 
Onderwerp: Re: LyX and newpax

Am Freitag, dem 27.09.2024 um 10:44 + schrieb Stef Pillaert:
> Since some links do work using LyX instead of MikTeX for step 2: how
> can I make all the links work using LyX? Why don't they all work?

My guess is that it's having to do with LyX using the tmp directory for
processing the files and mangling file names to have unique naming,
while the newpax files (which also aren't copied to the tmp) link to
files in the local working directory and to unmangled names.

Making this package work with LyX will presumable require a bit of
effort and maybe some extra scripts (but I think it's possible in
general)

--
Jürgen
--
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


Re: LyX and newpax

2024-09-27 Thread Dr Eberhard Lisse
Stef,

I do my PDFs with Insert -> File -> External Material.

If necessary I put a little ERT in front to it fits on the page
(Portrait vs Landscape), but that is not relevant here.

All links in the PDF continue to work.


However, I would start looking at translating the Powerpoints with
Pandoc into a format more useful in the LyX/LaTeX context.

And, in any case, I do my own presentations exclusively in Beamer (in
LyX)...

el


On 2024/09/27 12:44, Stef Pillaert wrote:
[...]
> I try to combine newpax with LyX, since I have a lot of powerpoints, 
> transformed to pdfs, that I want to import in LyX. Those
> powerpoint-pdfs have a lot of hyperlinks in them, that I would like
> to function also in the LyX-output. I add 3 such pdf's with
> hyperlinks in them:
[...]


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


Re: LyX and newpax

2024-09-27 Thread Jürgen Spitzmüller
Am Freitag, dem 27.09.2024 um 16:25 +0200 schrieb Jürgen Spitzmüller:
> Am Freitag, dem 27.09.2024 um 14:11 + schrieb Stef Pillaert:
> > If I export my .lyx file from within LyX as a LaTeX(pdf) file
> > (.tex),
> > I can compile the latter succesfully with TeXworks, with all links
> > functioning in the pdf file.
> > Does this confirm what you think? 
> 
> Yes, this is expected.

I suggest you file an enhancement request so this will not be
forgotten.

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


Re: LyX and newpax

2024-09-27 Thread Jürgen Spitzmüller
Am Freitag, dem 27.09.2024 um 14:11 + schrieb Stef Pillaert:
> If I export my .lyx file from within LyX as a LaTeX(pdf) file (.tex),
> I can compile the latter succesfully with TeXworks, with all links
> functioning in the pdf file.
> Does this confirm what you think? 

Yes, this is expected.

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


Re: LyX and newpax

2024-09-27 Thread Jürgen Spitzmüller
Am Freitag, dem 27.09.2024 um 10:44 + schrieb Stef Pillaert:
> Since some links do work using LyX instead of MikTeX for step 2: how
> can I make all the links work using LyX? Why don't they all work?

My guess is that it's having to do with LyX using the tmp directory for
processing the files and mangling file names to have unique naming,
while the newpax files (which also aren't copied to the tmp) link to
files in the local working directory and to unmangled names.

Making this package work with LyX will presumable require a bit of
effort and maybe some extra scripts (but I think it's possible in
general)

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


Re: Error message

2024-09-25 Thread A-Imam Al-Sammak
Thank you Maria for your email.

Actually, ehn I compiled the Embedded Objects manual , it was fine.

I don't know how to move the texmf directory.

Best regards.

A-Imam

On Wed, Sep 25, 2024 at 1:44 PM Maria Gouskova  wrote:

> That looks like a version of the errors I've been encountering for a
> while:
>
> https://www.mail-archive.com/lyx-users@lists.lyx.org/msg11.html
>
> The current best guess is that it's some problem with the installation,
> possibly an older package you have that conflicts with whatever LyX is
> doing. One thing to try is to temporarily move your texmf directory
> (assuming you have one in your home folder) somewhere else and try to
> compile the doc again.
>
> Also, see if you can compile the Embedded Objects manual that comes with
> LyX (click on Help>Embedded Objects).That's a file I cannot compile without
> encountering multiple missing bracket and $ errors.
>
> On Wed, Sep 25, 2024 at 1:22 AM A-Imam Al-Sammak 
> wrote:
>
>> Dear all
>> I have a file which was working fine. Recently, it gave me the following
>> error. I searched for '$' and deleted it but the error persists. I even
>> copied the text containing '$'  and it was working fine. Any suggestions?
>>
>> Best regards.
>>
>> A-Imam
>>
>> [image: image.png]
>> --
>> 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


Re: Missing bracket errors

2024-09-25 Thread Maria Gouskova
Yep, doing this right now--I think I only really need the bibtex/bst
directory, anyway.

On Wed, Sep 25, 2024 at 6:49 AM Jürgen Spitzmüller 
wrote:

> Am Mittwoch, dem 25.09.2024 um 06:47 -0400 schrieb Maria Gouskova:
> > A happy ending to this story: I moved my home/me/texmf directory
> > somewhere else temporarily, and both files are compiling fine now. I
> > have no idea which package was causing the error, but that was indeed
> > the source of these bugs.
>
> Good to know. Maybe re-enter the files one by one to find the bad guy.
>
> --
> Jürgen
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Missing bracket errors

2024-09-25 Thread Jürgen Spitzmüller
Am Mittwoch, dem 25.09.2024 um 06:47 -0400 schrieb Maria Gouskova:
> A happy ending to this story: I moved my home/me/texmf directory
> somewhere else temporarily, and both files are compiling fine now. I
> have no idea which package was causing the error, but that was indeed
> the source of these bugs.

Good to know. Maybe re-enter the files one by one to find the bad guy.

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


Re: Missing bracket errors

2024-09-25 Thread Maria Gouskova
A happy ending to this story: I moved my home/me/texmf directory somewhere
else temporarily, and both files are compiling fine now. I have no idea
which package was causing the error, but that was indeed the source of
these bugs. Thanks, Jürgen!

On Tue, Sep 24, 2024 at 12:14 PM Jürgen Spitzmüller 
wrote:

> Am Montag, dem 23.09.2024 um 12:47 -0400 schrieb Maria Gouskova:
> > Follow-up: I was able to compile as PDF every other manual in LyX,
> > except for two: Embedded Objects (as described earlier), and,
> > ironically, Linguistics (for an unrelated, much simpler reason--see
> > error screenshot below).
> >
> > A closer look at the Embedded Objects file tells me it's full of
> > tables with multiple columns and all sorts of complicated stuff
> > inside the tables, so it's like the files that are giving me this
> > problem.
>
> It really looks like a problem with your installation. Can you check
> whether you have up-to-date packages and maybe older packages
> interfering from your personal tex path?
>
> --
> Jürgen
> --
> 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


Re: Error message

2024-09-25 Thread Maria Gouskova
That looks like a version of the errors I've been encountering for a while:

https://www.mail-archive.com/lyx-users@lists.lyx.org/msg11.html

The current best guess is that it's some problem with the installation,
possibly an older package you have that conflicts with whatever LyX is
doing. One thing to try is to temporarily move your texmf directory
(assuming you have one in your home folder) somewhere else and try to
compile the doc again.

Also, see if you can compile the Embedded Objects manual that comes with
LyX (click on Help>Embedded Objects).That's a file I cannot compile without
encountering multiple missing bracket and $ errors.

On Wed, Sep 25, 2024 at 1:22 AM A-Imam Al-Sammak 
wrote:

> Dear all
> I have a file which was working fine. Recently, it gave me the following
> error. I searched for '$' and deleted it but the error persists. I even
> copied the text containing '$'  and it was working fine. Any suggestions?
>
> Best regards.
>
> A-Imam
>
> [image: image.png]
> --
> 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


Re: Missing bracket errors

2024-09-24 Thread Jürgen Spitzmüller
Am Montag, dem 23.09.2024 um 12:47 -0400 schrieb Maria Gouskova:
> Follow-up: I was able to compile as PDF every other manual in LyX,
> except for two: Embedded Objects (as described earlier), and,
> ironically, Linguistics (for an unrelated, much simpler reason--see
> error screenshot below). 
> 
> A closer look at the Embedded Objects file tells me it's full of
> tables with multiple columns and all sorts of complicated stuff
> inside the tables, so it's like the files that are giving me this
> problem.

It really looks like a problem with your installation. Can you check
whether you have up-to-date packages and maybe older packages
interfering from your personal tex path?

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


Re: Missing bracket errors

2024-09-23 Thread Jürgen Spitzmüller
Am Montag, dem 23.09.2024 um 10:35 -0400 schrieb Maria Gouskova:
> I can't provide a MWE because it happens unpredictably, but I did
> encounter a version of my problem in a setting that others might
> reproduce: about a million missing bracket errors while trying to
> make a PDF of the Embedded Objects lyx file.

Just a shot in the dark: does it help if you select "Put
fragile content out of moving arguments" in Document >
Settings > Output?

The only error in your log is due to a missing graphic.

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


Re: How to underline and color hyperlinks?

2024-09-23 Thread Maria Gouskova
It depends on what the other settings are. When I put pdfborderstyle={U} in
that Extra Options menu, I do get underlining, as long as links are not
colored at the same time (that's in the basic options tab). You might have
to read the hyperref manual more closely to get the underlining to be the
right color to print, too.

What PDF reader are you using? I don't see underlining in one of my
readers, but I do see it in the other. The package's defaults make it a
pale turquoise color, which won't print well. BTW, the hyperref manual
mentions that PDF readers vary in whether they display some of the link
formatting.

On Mon, Sep 23, 2024 at 2:39 AM Stef Pillaert 
wrote:

>
> I don't manage to realize this, both with or without colors: if I put
> this, no underlined hyperlinks in my output.
> Am I doing it the wrong way (see screenshot)?
> Stef
> --
> *Van:* Maria Gouskova 
> *Verzonden:* zondag 22 september 2024 19:01
> *Aan:* Stef Pillaert 
> *CC:* lyx-users 
> *Onderwerp:* Re: How to underline and color hyperlinks?
>
> Link formatting is handled by the hyperref package in LyX, so you can
> change some options natively (e.g. choose to put boxes over the links,
> which will print even if the links are not in color). There are also
> additional options you can pass through Documents>Settings>PDF
> Properties>Additional Options:
>
>
> https://mirror.math.princeton.edu/pub/CTAN/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf
>
> I think "pdfborderstyle" is what you want.
>
> Best,
> Maria
>
> On Sun, Sep 22, 2024 at 12:53 PM Stef Pillaert 
> wrote:
>
> I know, but it would be more logical if this would be some kind of
> option/setting for all hyperlinks, I think.
> Stef
> ------
> *Van:* Axel Dessecker 
> *Verzonden:* zondag 22 september 2024 13:26
> *Aan:* lyx-users 
> *CC:* Stef Pillaert 
> *Onderwerp:* Re: How to underline and color hyperlinks?
>
> Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
> > Something I'm struggling with for a long time now...
> > A (probably simple?) thing: I don't succeed in giving hyperlinks both a
> > color and underline them.
>  I want this, since my students often print my
> > course material in black&white (easier reading/studying than reading on
> > laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
> > way, they sometimes don't see/notice that there is actually a hyperlink
> > they should click on (what they have to do starting from the digital
> > version of the of the text, of course 😉) Thanks for pointing me in the
> > right direction. I've added a MWE, so you can see what settings I'm
> using.
> > Stef
>
> Stef,
>
> You can underline hyperlinks like any text:
> edit -> text style -> adjust -> underline
>
> For the Welkomstvideo, see the MWE.
>
> Axel
> --
> 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


Re: Install from source, ouch

2024-09-23 Thread Pavel Sanda
On Thu, Sep 19, 2024 at 03:53:21PM -0400, Maria Gouskova wrote:
> What is up? Upgrading used to be fairly straightforward, and now I feel
> like I'm spending half an afternoon package-wrangling instead of writing my
> papers...

Ubuntu maintainer of PPA upgrades is gone and no one else stood up to replace 
him.
Until someone volunteers the straightofrward way is gone.


If compiling is problem and you feel courageous you could try to mix
mint 22 repos with ubuntu noble (lyx 2.4.0 RC3) or ubuntu 24.10 (lyx 2.4.1), see

https://forums.linuxmint.com/viewtopic.php?t=426742

Mixing with debian backports might work as well, as ubuntu just uses debian's
packages without much tinkering, but untested.

In both cases there is mild chance to break your system if you don't
do it properly.

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


Re: Cross-Platform Path Issues in LyX 2.4

2024-09-23 Thread Jürgen Spitzmüller
Am Montag, dem 23.09.2024 um 10:11 +0200 schrieb Pavel Sanda:
> > Ok, now I can follow, this indeed looks like regression. I created
> > ticket #13097
> > for this.
> 
> FYI the issue was fixed by Juergen and will be released as part of
> future LyX 2.4.3.

Note further that if you need this urgently earlier, you can achieve it
by editing the LyX file itself in a text editor. Look for

bibfiles ""

But only do this if you know what you are doing!

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


Re: Cross-Platform Path Issues in LyX 2.4

2024-09-23 Thread Pavel Sanda
On Tue, Sep 17, 2024 at 02:18:25PM +0200, Pavel Sanda wrote:
> > > > > In LyX 2.3, I could directly input a relative path in the dialog box 
> > > > > under the local database.
> > > > > However, in LyX 2.4, I can only click "add local..." and then select
> > > > > from the file browser, which results in an absolute path.  Chenyu
> > > > > Gao
> > > >
> > > > This is indeed annoying. When the file is local, you might solve this
> > > > by creating a hard link to the file in the other directory. On Windows
> > > > this can be done with the command mklink /H  ; e.g.
> > > > mklink /H bg.bib "..\other folder\bg.bib"
> > > > (https://learn.microsoft.com/en-us/windows-server/administration/windo
> > > > ws-com mands/mklink). But I don't know whether MacOS is able to follow
> > > > this link.
> > > 
> > > I have problem to reproduce the problem in the first place.
> > > I can can type e.g. "../file.bst" directly in the field.
> > > You can not?
> > >
> > I thought the OP was referring to the dialog box for adding a bibliography
> > (a .bib file).
> > (menu: Add / List/Content/References). When choosing Add Local, a
> > file-browser menu opens,
> > and when entering a relative path (e.g. ..\folderA\newbib.bib), LyX accepts
> > this but changes it to an
> > absolute path (e.g. C:\Papers\folderA\newbib.bib).
> > The OP also noted that this full-path entry cannot be edited and so cannot
> > be changed back to a relative path.
> 
> Ok, now I can follow, this indeed looks like regression. I created ticket 
> #13097
> for this.

FYI the issue was fixed by Juergen and will be released as part of future LyX 
2.4.3.
Pavel
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to underline and color hyperlinks?

2024-09-22 Thread Stef Pillaert
Strange, even if I open your changed MWE, I don't get underlined hyperlinks. 
Any idea what I'm doing wrong?
LyX 2.4.1, Windows 11.
Stef

Van: Udicoudco 
Verzonden: zondag 22 september 2024 19:20
CC: Stef Pillaert ; lyx-users 

Onderwerp: Re: How to underline and color hyperlinks?

>> Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
>> > Something I'm struggling with for a long time now...
>> > A (probably simple?) thing: I don't succeed in giving hyperlinks both a
>> > color and underline them.
>>  I want this, since my students often print my
>> > course material in black&white (easier reading/studying than reading on
>> > laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
>> > way, they sometimes don't see/notice that there is actually a hyperlink
>> > they should click on (what they have to do starting from the digital
>> > version of the of the text, of course 😉) Thanks for pointing me in the
>> > right direction. I've added a MWE, so you can see what settings I'm using.
>> > Stef
>>

The colorlinks option disables link borders pretty late,
so you will need to enable them back in the begindocument
hook (or later).  Adding the line

\AtBeginDocument{\hypersetup{pdfborderstyle={/S/U/W 1}}}

to the preamble underlines the links, see the attached.

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


Re: How to underline and color hyperlinks?

2024-09-22 Thread Stef Pillaert

I don't manage to realize this, both with or without colors: if I put this, no 
underlined hyperlinks in my output.
Am I doing it the wrong way (see screenshot)?
Stef
[cid:08d23c52-a777-4ba9-adfa-79308ff31c18]

Van: Maria Gouskova 
Verzonden: zondag 22 september 2024 19:01
Aan: Stef Pillaert 
CC: lyx-users 
Onderwerp: Re: How to underline and color hyperlinks?

Link formatting is handled by the hyperref package in LyX, so you can change 
some options natively (e.g. choose to put boxes over the links, which will 
print even if the links are not in color). There are also additional options 
you can pass through Documents>Settings>PDF Properties>Additional Options:

https://mirror.math.princeton.edu/pub/CTAN/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf

I think "pdfborderstyle" is what you want.

Best,
Maria

On Sun, Sep 22, 2024 at 12:53 PM Stef Pillaert 
mailto:stef.pilla...@kuleuven.be>> wrote:
I know, but it would be more logical if this would be some kind of 
option/setting for all hyperlinks, I think.
Stef

Van: Axel Dessecker mailto:ades...@gwdg.de>>
Verzonden: zondag 22 september 2024 13:26
Aan: lyx-users mailto:lyx-users@lists.lyx.org>>
CC: Stef Pillaert mailto:stef.pilla...@kuleuven.be>>
Onderwerp: Re: How to underline and color hyperlinks?

Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
> Something I'm struggling with for a long time now...
> A (probably simple?) thing: I don't succeed in giving hyperlinks both a
> color and underline them.
 I want this, since my students often print my
> course material in black&white (easier reading/studying than reading on
> laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
> way, they sometimes don't see/notice that there is actually a hyperlink
> they should click on (what they have to do starting from the digital
> version of the of the text, of course 😉) Thanks for pointing me in the
> right direction. I've added a MWE, so you can see what settings I'm using.
> Stef

Stef,

You can underline hyperlinks like any text:
edit -> text style -> adjust -> underline

For the Welkomstvideo, see the MWE.

Axel
--
lyx-users mailing list
lyx-users@lists.lyx.org<mailto: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


Re: Cannot print greek characters.

2024-09-22 Thread Paolo M
Should i add some special package?
I am on suse/tumbleweed.
p.

Il giorno dom 22 set 2024 alle ore 21:16 Scott Kostyshak 
ha scritto:

> On Sun, Sep 22, 2024 at 05:10:03PM GMT, Paolo M wrote:
> > Here included a mwe.
> >
> > Here included a mwe.
> > Cannot print greek characters.
> > LyX returns:  "LaTeX Error: This NFSS system isn't set up properly."
>
> Compiles fine here. Not sure what NSS is.
>
> Scott
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
--- Paolo M. Pumilia - 347 231 54 96.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Cannot print greek characters.

2024-09-22 Thread Herbert Voss





Am 22.09.24 um 21:16 schrieb Scott Kostyshak:

On Sun, Sep 22, 2024 at 05:10:03PM GMT, Paolo M wrote:

Here included a mwe.

Here included a mwe.
Cannot print greek characters.
LyX returns:  "LaTeX Error: This NFSS system isn't set up properly."

Compiles fine here. Not sure what NSS is.


New Font Selection Schmeme:
https://www.latex-project.org/help/documentation/fntguide.pdf


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


Re: Cannot print greek characters.

2024-09-22 Thread Scott Kostyshak
On Sun, Sep 22, 2024 at 05:10:03PM GMT, Paolo M wrote:
> Here included a mwe.
> 
> Here included a mwe.
> Cannot print greek characters.
> LyX returns:  "LaTeX Error: This NFSS system isn't set up properly."

Compiles fine here. Not sure what NSS is.

Scott


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


Re: preview after updates

2024-09-22 Thread Dr Eberhard Lisse
Phillipe has bee so kind as to forward me an MWE.

On my Mac M2 Sequoia 15.0 and LyX 2.4.2 (hot off the press :-)-O) it
fails to preview the PDFTricks example too, and shows the TiKZ one.

It compiles with LuaLaTeX to PDF but not with PDFLaTeX. Can that have
anything to do with the Preview?

el

On 2024/09/10 15:35, camus.phili...@free.fr wrote:
> 
> First part of an answer from myself : preview works fine with tikz
> pictures. The problem seems to be linked with pstricks, but why ?
> 
> Thanks
> 
> 
[...]
>
> 
Hello> Since I have installed Lyx2.4, the instant preview doesn't work
fine :
> For math preview, it's just very slow, but for pstricks pictures I
> get no preview at all, and the console show : ghostcript failed on
> page ... I Installed texlive-fontutils, then the warning change to: 
> epstopdf failed on page ...
> 
> I have read something about cprotect.sty and suffix.sty : both are 
> installed (with latexextra). The problem appears with archlinux
> (endeavour, garuda and manjaro) and with debian (Sparky).
> 
> Any idea ? Thanks Philippe#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 620
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\begin_preamble
\usepackage{tikz,pst-plot}
\usepackage{tikz-3dplot}
\usetikzlibrary{arrows.meta} % for arrow size
\usetikzlibrary{3d} % for canvas is
\usepackage{xcolor}
\usepackage[outline]{contour} % glow around text
\contourlength{0.9pt}
\usetikzlibrary{bending} % for arrow head angle

\colorlet{veccol}{green!50!black}
\colorlet{myred}{red!70!black}
\colorlet{mycontourred}{red!55!black!3} % for contour
\colorlet{mycontourred2}{red!55!black!6} % for contour
\colorlet{myblue}{blue!70!black}
\colorlet{mydarkred}{red!40!black}
\colorlet{mydarkblue}{blue!30!black}
\colorlet{CMScol}{red!80!black}
\colorlet{ATLAScol}{blue!80!black}
\tikzset{>=latex} % for LaTeX arrow head
\tikzstyle{axis}=[->,thick,line cap=round]
\tikzstyle{detector}=[thick,draw=mydarkred,rotate around z=\ang]
\tikzstyle{beam pipe}=[draw=blue!20!black!50,fill=blue!20!black!10,rotate 
around z=\ang]
\tikzstyle{detector surface}=[red!60!black!10,opacity=0.5,rotate around z=\ang]
\usetikzlibrary{angles,quotes} % for pic (angle labels)
\newcommand*{\vv}[1]{\vec{\mkern0mu#1}} % aligned vector arrow
\end_preamble
\use_default_options true
\maintain_unincluded_children no
\language english
\language_package default
\inputencoding auto-legacy
\fontencoding auto
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_roman_osf false
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_formatted_ref 0
\use_minted 0
\use_lineno 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tablestyle default
\tracking_changes false
\output_changes false
\change_bars false
\postpone_fragile_content false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\docbook_table_output 0
\docbook_mathml_prefix 1
\end_header

\begin_body

\begin_layout Standard
\begin_inset Preview

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
tdplotsetmaincoords{75}{50}
\end_layout

\begin_layout Plain Layout


\backslash
begin{tikzpicture}[scale=2.7,tdplot_main_coords,rotate around x=90]
\end_layout

\begin_layout Plain Layout

  
\end_layout

\begin_layout Plain Layout

  % VARIABLES
\end_layout

\begin_layout Plain Layout

  
\backslash
def
\backslash
rvec{1.2}
\end_layout

\begin_layout Plain Layout

  
\backslash
def
\backslash
thetavec{40}
\end_layout

\begin_layout Plain Layout

  
\backslash
def
\backslash
phivec{70}
\end_layout

\begin_layout Plain Layout

  
\backslash
def
\backslash
w{0.2}
\end_layout

\begin_layout Plain Layout

  
\backslash
coordinate (O) at (0,0,0);
\end_layout

\begin_layout Plain Layout

  
\backslash
tdplotsetcoord{O'}{0.04

Re: How to underline and color hyperlinks?

2024-09-22 Thread Udicoudco
>> Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
>> > Something I'm struggling with for a long time now...
>> > A (probably simple?) thing: I don't succeed in giving hyperlinks both a
>> > color and underline them.
>>  I want this, since my students often print my
>> > course material in black&white (easier reading/studying than reading on
>> > laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
>> > way, they sometimes don't see/notice that there is actually a hyperlink
>> > they should click on (what they have to do starting from the digital
>> > version of the of the text, of course 😉) Thanks for pointing me in the
>> > right direction. I've added a MWE, so you can see what settings I'm using.
>> > Stef
>>

The colorlinks option disables link borders pretty late,
so you will need to enable them back in the begindocument
hook (or later).  Adding the line

\AtBeginDocument{\hypersetup{pdfborderstyle={/S/U/W 1}}}

to the preamble underlines the links, see the attached.

Udi

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


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


Re: How to underline and color hyperlinks?

2024-09-22 Thread Maria Gouskova
Link formatting is handled by the hyperref package in LyX, so you can
change some options natively (e.g. choose to put boxes over the links,
which will print even if the links are not in color). There are also
additional options you can pass through Documents>Settings>PDF
Properties>Additional Options:

https://mirror.math.princeton.edu/pub/CTAN/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf

I think "pdfborderstyle" is what you want.

Best,
Maria

On Sun, Sep 22, 2024 at 12:53 PM Stef Pillaert 
wrote:

> I know, but it would be more logical if this would be some kind of
> option/setting for all hyperlinks, I think.
> Stef
> --
> *Van:* Axel Dessecker 
> *Verzonden:* zondag 22 september 2024 13:26
> *Aan:* lyx-users 
> *CC:* Stef Pillaert 
> *Onderwerp:* Re: How to underline and color hyperlinks?
>
> Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
> > Something I'm struggling with for a long time now...
> > A (probably simple?) thing: I don't succeed in giving hyperlinks both a
> > color and underline them.
>  I want this, since my students often print my
> > course material in black&white (easier reading/studying than reading on
> > laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
> > way, they sometimes don't see/notice that there is actually a hyperlink
> > they should click on (what they have to do starting from the digital
> > version of the of the text, of course 😉) Thanks for pointing me in the
> > right direction. I've added a MWE, so you can see what settings I'm
> using.
> > Stef
>
> Stef,
>
> You can underline hyperlinks like any text:
> edit -> text style -> adjust -> underline
>
> For the Welkomstvideo, see the MWE.
>
> Axel
> --
> 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


Re: How to underline and color hyperlinks?

2024-09-22 Thread Stef Pillaert
I know, but it would be more logical if this would be some kind of 
option/setting for all hyperlinks, I think.
Stef

Van: Axel Dessecker 
Verzonden: zondag 22 september 2024 13:26
Aan: lyx-users 
CC: Stef Pillaert 
Onderwerp: Re: How to underline and color hyperlinks?

Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
> Something I'm struggling with for a long time now...
> A (probably simple?) thing: I don't succeed in giving hyperlinks both a
> color and underline them.
 I want this, since my students often print my
> course material in black&white (easier reading/studying than reading on
> laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
> way, they sometimes don't see/notice that there is actually a hyperlink
> they should click on (what they have to do starting from the digital
> version of the of the text, of course 😉) Thanks for pointing me in the
> right direction. I've added a MWE, so you can see what settings I'm using.
> Stef

Stef,

You can underline hyperlinks like any text:
edit -> text style -> adjust -> underline

For the Welkomstvideo, see the MWE.

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


Re: How to underline and color hyperlinks?

2024-09-22 Thread Axel Dessecker
Am Sonntag, 22. September 2024, 10:59:28 CEST schrieb Stef Pillaert:
> Something I'm struggling with for a long time now...
> A (probably simple?) thing: I don't succeed in giving hyperlinks both a
> color and underline them.
 I want this, since my students often print my
> course material in black&white (easier reading/studying than reading on
> laptop screen, and B/W is a lot cheaper then printing in color 🙁). This
> way, they sometimes don't see/notice that there is actually a hyperlink
> they should click on (what they have to do starting from the digital
> version of the of the text, of course 😉) Thanks for pointing me in the
> right direction. I've added a MWE, so you can see what settings I'm using.
> Stef

Stef,

You can underline hyperlinks like any text:
edit -> text style -> adjust -> underline

For the Welkomstvideo, see the MWE.

Axel

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


Re: Cross-reference to figure

2024-09-21 Thread Jürgen Spitzmüller
Am Samstag, dem 21.09.2024 um 10:49 +0200 schrieb Herbert Voss:
> ok, but that is completely different to the caption case.

Sure. Undoubtedly we have applied protection too wide in moving arg
context. I understand that caption needs to be excluded. My question
was whether the protection should be applied to the limited case of
\thanks (which I will probably do) or whether there are other cases
than \thanks to consider.

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


Re: Cross-reference to figure

2024-09-21 Thread Herbert Voss




Am 21.09.24 um 10:30 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 08:54 +0200 schrieb Herbert Voss:

Yes, \thanks is a footnote and that is fragile. However, using
\thanks
inside
a caption is wrong LaTeX code, because it also moved into the
listoftables|figures
and you'll get it _two_ times in the output.
A \thanks should (without \protect) only be used together with the
optional
argument which gets the caption titel without thanks.

\caption[foo]{foo\thanks{bar}}

   Then all is fine: for LaTeX and for LyX ... :-)

The problem is not about \thanks in a caption, but about a label in
\thanks, as in


ok, but that is completely different to the caption case.

Herbert



\documentclass{article}
\usepackage[T1]{fontenc}

\begin{document}

\title{title\thanks{\label{fn:bla-blah}bla blah}}
\maketitle

see footnote \ref{fn:bla-blah}
\end{document}



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


Re: Cross-reference to figure

2024-09-21 Thread Jürgen Spitzmüller
Am Samstag, dem 21.09.2024 um 08:54 +0200 schrieb Herbert Voss:
> Yes, \thanks is a footnote and that is fragile. However, using
> \thanks 
> inside
> a caption is wrong LaTeX code, because it also moved into the 
> listoftables|figures
> and you'll get it _two_ times in the output.
> A \thanks should (without \protect) only be used together with the
> optional
> argument which gets the caption titel without thanks.
> 
> \caption[foo]{foo\thanks{bar}}
> 
>   Then all is fine: for LaTeX and for LyX ... :-)

The problem is not about \thanks in a caption, but about a label in
\thanks, as in

\documentclass{article}
\usepackage[T1]{fontenc}

\begin{document}

\title{title\thanks{\label{fn:bla-blah}bla blah}}
\maketitle

see footnote \ref{fn:bla-blah}
\end{document}

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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss

Am 21.09.24 um 08:24 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 08:13 +0200 schrieb Jürgen Spitzmüller:

Am Samstag, dem 21.09.2024 um 07:55 +0200 schrieb Herbert Voss:

but a label is not fragile and it is also common that it is inside
the caption. It shouldn't preceeded by \protect. Then all is fine:
inside and outside

I understand, but that's a different issue (and I need to investigate
why we introduced the protection).

The background is
https://www.lyx.org/trac/ticket/9404

I am a bit irritated now as to whether we need to protect labels in
\thanks notes only (where we get an error otherwise) or in more cases.



Yes, \thanks is a footnote and that is fragile. However, using \thanks 
inside
a caption is wrong LaTeX code, because it also moved into the 
listoftables|figures

and you'll get it _two_ times in the output.
A \thanks should (without \protect) only be used together with the optional
argument which gets the caption titel without thanks.

\caption[foo]{foo\thanks{bar}}

 Then all is fine: for LaTeX and for LyX ... :-)

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


Re: Cross-reference to figure

2024-09-20 Thread Jürgen Spitzmüller
Am Samstag, dem 21.09.2024 um 08:13 +0200 schrieb Jürgen Spitzmüller:
> Am Samstag, dem 21.09.2024 um 07:55 +0200 schrieb Herbert Voss:
> > but a label is not fragile and it is also common that it is inside
> > the caption. It shouldn't preceeded by \protect. Then all is fine:
> > inside and outside
> 
> I understand, but that's a different issue (and I need to investigate
> why we introduced the protection).

The background is
https://www.lyx.org/trac/ticket/9404

I am a bit irritated now as to whether we need to protect labels in
\thanks notes only (where we get an error otherwise) or in more cases.

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


Re: Cross-reference to figure

2024-09-20 Thread Jürgen Spitzmüller
Am Samstag, dem 21.09.2024 um 07:55 +0200 schrieb Herbert Voss:
> but a label is not fragile and it is also common that it is inside
> the caption. It shouldn't preceeded by \protect. Then all is fine:
> inside and outside

I understand, but that's a different issue (and I need to investigate
why we introduced the protection).

I just wanted to point out here that there is an easier workaround. 

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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss

Am 21.09.24 um 07:42 schrieb Jürgen Spitzmüller:

Am Freitag, dem 20.09.2024 um 20:19 +0200 schrieb Herbert Voss:

Put the label after the caption, means  _outside_ of it.  Then you
need to delete the auxiliary files or save, close and reopen the LyX
file.

In LyX 2.4, you do not need to do this manually. Go to Document >
Settings > Output (Dokument > Einstellungen > Ausgabe) and select "Put
fragile content out of moving arguments"
("Zerbrechlichen Inhalt aus beweglichen Argumenten verschieben"), and
LyX will take care for you.


but a label is not fragile and it is also common that it is inside the 
caption.

It shouldn't preceeded by \protect. Then all is fine: inside and outside

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


Re: Cross-reference to figure

2024-09-20 Thread Jürgen Spitzmüller
Am Freitag, dem 20.09.2024 um 20:19 +0200 schrieb Herbert Voss:
> Put the label after the caption, means  _outside_ of it.  Then you
> need to delete the auxiliary files or save, close and reopen the LyX
> file.

In LyX 2.4, you do not need to do this manually. Go to Document >
Settings > Output (Dokument > Einstellungen > Ausgabe) and select "Put
fragile content out of moving arguments"
("Zerbrechlichen Inhalt aus beweglichen Argumenten verschieben"), and
LyX will take care for you.

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


Re: Cross-reference to figure

2024-09-20 Thread Herbert Voss




Am 20.09.24 um 11:50 schrieb Andreas Plihal via lyx-users:

Dear community,
In a KOMA book, I include numerous graphics that I want to refer to 
with cross-references. As soon as I have established an index of 
figures, the numbers in the cross-references are no longer correct. 
They correspond to the outline number of the respective text section. 
The generated page number is also that of the index of figures, not 
that of the graphic.


Looks like a bug in LyX. It puts a \protect before a \label if it is 
inside a \caption.
This leads to a "multiply defined label"  problemwith the wrong figure 
number.

Put the label after the caption, means  _outside_ of it.  Then you need
to delete the auxiliary files or save, close and reopen the LyX file.

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


Re: Install from source, ouch

2024-09-20 Thread Maria Gouskova
Interesting, I'll try the Optional Sources thing. It was turned off on my
Mint 22 system, and that didn't prevent me from compiling LyX from source
on that.

I've also tried to install the .deb packages, but hit a Qt plugin bug when
trying to run LyX, even though I installed the lyx-common dependencies as
well. I'll keep digging.

On Fri, Sep 20, 2024 at 11:28 AM Paul Rubin  wrote:

>
> On 9/19/24 15:53, Maria Gouskova wrote:
> > Hi all,
> >
> > I'm trying to install 2.4.1 on Linux Mint 21.3. I have previously
> > successfully compiled it from source on 22, and now I cannot work on
> > the files produced on my other computer using the 21.3 computer
> > because of lyx2lyx failures. So I figured I'd just compile from source
> > on this other machine, and it is just a nightmare.
> >
> > When I try to run ./configure, I get "configure: error: cannot compile
> > a simple Qt executable. Check you have the right $QTDIR."
> >
> > I went to the LyxOnUbuntu wiki, which might be out of date, and tried
> > to remove and add the stable repository, only to get the error "This
> > PPA does not support jammy". When I looked at the stable repo index,
> > https://launchpad.net/~lyx-devel/+archive/ubuntu/release , it became
> > clear that this repo is not being updated anymore. So it's basically
> > compile from source or bust.
> >
> > So then I followed the next tip on that wiki, which is to run
> >
> > $ sudo apt-get build-dep lyx
> >
> > And I got "E: You must put some 'deb-src' URIs in your sources.list"
> >
> > Now, I've already spent about 30 minutes sorting out my Qt5
> > installation (that took some doing, but qmake-qt5 --version tells me I
> > am "using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu" so I thought
> > I was all set).
> >
> > What is up? Upgrading used to be fairly straightforward, and now I
> > feel like I'm spending half an afternoon package-wrangling instead of
> > writing my papers...
> >
> > Maria
> >
>
> Before running apt-get build-dep, open the Software Sources application,
> go to Official Repositories > Optional Sources and make sure that
> "Source code repositories" is turned on. On my (Mint) system, it was off
> by default, and I had to turn it on in order to compile LyX dependencies.
>
> Paul
>
> --
> 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


Re: Install from source, ouch

2024-09-20 Thread Paul Rubin





On 9/19/24 15:53, Maria Gouskova wrote:

Hi all,

I'm trying to install 2.4.1 on Linux Mint 21.3. I have previously 
successfully compiled it from source on 22, and now I cannot work on 
the files produced on my other computer using the 21.3 computer 
because of lyx2lyx failures. So I figured I'd just compile from source 
on this other machine, and it is just a nightmare.


When I try to run ./configure, I get "configure: error: cannot compile 
a simple Qt executable. Check you have the right $QTDIR."


I went to the LyxOnUbuntu wiki, which might be out of date, and tried 
to remove and add the stable repository, only to get the error "This 
PPA does not support jammy". When I looked at the stable repo index, 
https://launchpad.net/~lyx-devel/+archive/ubuntu/release , it became 
clear that this repo is not being updated anymore. So it's basically 
compile from source or bust.


So then I followed the next tip on that wiki, which is to run

$ sudo apt-get build-dep lyx

And I got "E: You must put some 'deb-src' URIs in your sources.list"

Now, I've already spent about 30 minutes sorting out my Qt5 
installation (that took some doing, but qmake-qt5 --version tells me I 
am "using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu" so I thought 
I was all set).


What is up? Upgrading used to be fairly straightforward, and now I 
feel like I'm spending half an afternoon package-wrangling instead of 
writing my papers...


Maria



Before running apt-get build-dep, open the Software Sources application, 
go to Official Repositories > Optional Sources and make sure that 
"Source code repositories" is turned on. On my (Mint) system, it was off 
by default, and I had to turn it on in order to compile LyX dependencies.


Paul

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


Re: Install from source, ouch

2024-09-20 Thread Richard Kimberly Heck

On 9/19/24 3:53 PM, Maria Gouskova wrote:

Hi all,

I'm trying to install 2.4.1 on Linux Mint 21.3. I have previously 
successfully compiled it from source on 22, and now I cannot work on 
the files produced on my other computer using the 21.3 computer 
because of lyx2lyx failures. So I figured I'd just compile from source 
on this other machine, and it is just a nightmare.


When I try to run ./configure, I get "configure: error: cannot compile 
a simple Qt executable. Check you have the right $QTDIR."


I went to the LyxOnUbuntu wiki, which might be out of date, and tried 
to remove and add the stable repository, only to get the error "This 
PPA does not support jammy". When I looked at the stable repo index, 
https://launchpad.net/~lyx-devel/+archive/ubuntu/release , it became 
clear that this repo is not being updated anymore. So it's basically 
compile from source or bust.


So then I followed the next tip on that wiki, which is to run

$ sudo apt-get build-dep lyx

And I got "E: You must put some 'deb-src' URIs in your sources.list"

Now, I've already spent about 30 minutes sorting out my Qt5 
installation (that took some doing, but qmake-qt5 --version tells me I 
am "using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu" so I thought 
I was all set).


What is up? Upgrading used to be fairly straightforward, and now I 
feel like I'm spending half an afternoon package-wrangling instead of 
writing my papers...


Unforunately, I do not use Mint, so do not know anything about its 
idiosyncracies. However, I am curious about the lyx2lyx errors. Those 
should not be happening. If you remember what the issue was, or can 
reproduce it, please let us know.


Riki


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


Aw: Re: Loading 'expl3.sty' aborted!

2024-09-20 Thread Andreas Plihal via lyx-users
Thanks a very lot!

 

I have renewed the installation of MikTex and it works again. Thank you very much!

 

Andreas




Gesendet: Donnerstag, 19. September 2024 um 16:55 Uhr
Von: "Richard Kimberly Heck" 
An: "Andreas Plihal" , "LYX-Support" 
Betreff: Re: Loading 'expl3.sty' aborted!



On 9/19/24 4:26 AM, Andreas Plihal via lyx-users wrote:



Dear community,

 

the conversion of even the simplest LYX files ends with an abort due to an error:

 


! LaTeX Error: Mismatched LaTeX support files detected.

(LaTeX) Loading 'expl3.sty' aborted!

(LaTeX)

(LaTeX) The L3 programming layer in the LaTeX format

(LaTeX) is dated 2024-08-16, but in your TeX tree the files require

(LaTeX) at least 2024-08-30.

 

I think I updated the packages in my MikTex console during a conversion. I shouldn't have done that ...




Yes, your TeX installation looks corrupted. I guess the thing to try would be uninstalling it and then reinstalling. When doing that, you might try TeXLive, which is, in our experience, more stable.

Riki





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


Re: Install from source, ouch

2024-09-19 Thread Manuel Luque
Hello Maria.

I am seeing that LyX 2.4.1 is on Debian backports:

https://packages.debian.org/bookworm-backports/lyx

I don't know whether you can use Debian backports in Linux Mint. If I
use Linux Minut, than I would use the Debian edition to have greater
compatibility with the Debian repositories.

I also work writing papers. Compiling software is not option for me.

Best regards.
Manuel.



On Thu, 2024-09-19 at 15:53 -0400, Maria Gouskova wrote:
> Hi all,
> 
> I'm trying to install 2.4.1 on Linux Mint 21.3. I have previously
> successfully compiled it from source on 22, and now I cannot work on
> the files produced on my other computer using the 21.3 computer
> because of lyx2lyx failures. So I figured I'd just compile from
> source on this other machine, and it is just a nightmare.
> 
> When I try to run ./configure, I get "configure: error: cannot
> compile a simple Qt executable. Check you have the right $QTDIR."
> 
> I went to the LyxOnUbuntu wiki, which might be out of date, and tried
> to remove and add the stable repository, only to get the error "This
> PPA does not support jammy". When I looked at the stable repo index,
> https://launchpad.net/~lyx-devel/+archive/ubuntu/release , it became
> clear that this repo is not being updated anymore. So it's basically
> compile from source or bust.
> 
> So then I followed the next tip on that wiki, which is to run
> 
> $ sudo apt-get build-dep lyx
> 
> And I got "E: You must put some 'deb-src' URIs in your sources.list"
> 
> Now, I've already spent about 30 minutes sorting out my Qt5
> installation (that took some doing, but qmake-qt5 --version tells me
> I am "using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu" so I
> thought I was all set).
> 
> What is up? Upgrading used to be fairly straightforward, and now I
> feel like I'm spending half an afternoon package-wrangling instead of
> writing my papers...
> 
> Maria

-- 
Manuel Luque
www.uned.es/universidad/docentes/ciencias/manuel-luque-gallego.html

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


Re: Loading 'expl3.sty' aborted!

2024-09-19 Thread A-Imam Al-Sammak
When installing TexLive be patient as it takes a long time as it about 8
gb! (but it is worth the wait). I used MikTex but stopped updating (and it
could not download anymore)!!


On Thu, 19 Sep 2024 at 17:55 Richard Kimberly Heck 
wrote:

> On 9/19/24 4:26 AM, Andreas Plihal via lyx-users wrote:
>
> Dear community,
>
> the conversion of even the simplest LYX files ends with an abort due to an
> error:
>
>
> ! LaTeX Error: Mismatched LaTeX support files detected.
>
> (LaTeX) Loading 'expl3.sty' aborted!
>
> (LaTeX)
>
> (LaTeX) The L3 programming layer in the LaTeX format
>
> (LaTeX) is dated 2024-08-16, but in your TeX tree the files require
>
> (LaTeX) at least 2024-08-30.
>
>
> I think I updated the packages in my MikTex console during a conversion. I
> shouldn't have done that ...
>
> Yes, your TeX installation looks corrupted. I guess the thing to try would
> be uninstalling it and then reinstalling. When doing that, you might try
> TeXLive, which is, in our experience, more stable.
>
> Riki
>
> --
> 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


Re: Loading 'expl3.sty' aborted!

2024-09-19 Thread Richard Kimberly Heck

On 9/19/24 4:26 AM, Andreas Plihal via lyx-users wrote:

Dear community,
the conversion of even the simplest LYX files ends with an abort due 
to an error:


! LaTeX Error: Mismatched LaTeX support files detected.

(LaTeX) Loading 'expl3.sty' aborted!

(LaTeX)

(LaTeX) The L3 programming layer in the LaTeX format

(LaTeX) is dated 2024-08-16, but in your TeX tree the files require

(LaTeX) at least 2024-08-30.

I think I updated the packages in my MikTex console during a 
conversion. I shouldn't have done that ...


Yes, your TeX installation looks corrupted. I guess the thing to try 
would be uninstalling it and then reinstalling. When doing that, you 
might try TeXLive, which is, in our experience, more stable.


Riki

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


Re: TLC3 & LyX

2024-09-18 Thread Saša Janiška
On Wed, 18 Sep 2024 19:52:41 +0200
Eberhard W Lisse  wrote:

> Never needed any/either of them, CTAN is your friend.

:-)

-- 
Everyone is forced to act helplessly according to the qualities
he has acquired from the modes of material nature; therefore no
one can refrain from doing something, not even for a moment.


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


Re: TLC3 & LyX

2024-09-18 Thread Eberhard W Lisse
Never needed any/either of them, CTAN is your friend.

el

On 17/09/2024 09:07, Saša Janiška wrote:
> Hello,
> 
> after deciding to settle (again) on LyX/LaTeX for all my writings, I
> discovered there is a new, 3rd edition of The Latex Companion and
> wonder whether do you recommend it for using it with LyX?
> 
> What about new edition of Graphics Companion?
> 
> I still have copy of The TeX Book - not used much, but not TLC2 and
> TLGC2...
> 
> 
> Sincerely,
> Saša
> 


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


Re: TLC3 & LyX

2024-09-17 Thread Saša Janiška
On Tue, 17 Sep 2024 09:14:27 -0400
Neal Becker  wrote:

> The latest edition I see of Graphics Companion is 2022.  Is there
> something newer?

That's the one I was thinking of...

Sincerely,
Saša

-- 
A person is said to be elevated in yoga when, having renounced
all material desires, he neither acts for sense gratification
nor engages in fruitive activities.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: TLC3 & LyX

2024-09-17 Thread Neal Becker
On Tue, Sep 17, 2024 at 3:07 AM Saša Janiška  wrote:

> Hello,
>
> after deciding to settle (again) on LyX/LaTeX for all my writings, I
> discovered there is a new, 3rd edition of The Latex Companion and
> wonder whether do you recommend it for using it with LyX?
>
> What about new edition of Graphics Companion?
>

The latest edition I see of Graphics Companion is 2022.  Is there something
newer?

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


Re: Cross-Platform Path Issues in LyX 2.4

2024-09-17 Thread Pavel Sanda
> > > > In LyX 2.3, I could directly input a relative path in the dialog box 
> > > > under the local database.
> > > > However, in LyX 2.4, I can only click "add local..." and then select
> > > > from the file browser, which results in an absolute path.  Chenyu
> > > > Gao
> > >
> > > This is indeed annoying. When the file is local, you might solve this
> > > by creating a hard link to the file in the other directory. On Windows
> > > this can be done with the command mklink /H  ; e.g.
> > > mklink /H bg.bib "..\other folder\bg.bib"
> > > (https://learn.microsoft.com/en-us/windows-server/administration/windo
> > > ws-com mands/mklink). But I don't know whether MacOS is able to follow
> > > this link.
> > 
> > I have problem to reproduce the problem in the first place.
> > I can can type e.g. "../file.bst" directly in the field.
> > You can not?
> >
> I thought the OP was referring to the dialog box for adding a bibliography
> (a .bib file).
> (menu: Add / List/Content/References). When choosing Add Local, a
> file-browser menu opens,
> and when entering a relative path (e.g. ..\folderA\newbib.bib), LyX accepts
> this but changes it to an
> absolute path (e.g. C:\Papers\folderA\newbib.bib).
> The OP also noted that this full-path entry cannot be edited and so cannot
> be changed back to a relative path.

Ok, now I can follow, this indeed looks like regression. I created ticket #13097
for this.

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


Re: TLC3 & LyX

2024-09-17 Thread Rich Shepard

On Tue, 17 Sep 2024, Saša Janiška wrote:


after deciding to settle (again) on LyX/LaTeX for all my writings, I
discovered there is a new, 3rd edition of The Latex Companion and wonder
whether do you recommend it for using it with LyX?


Saša.

Yes. It has more packages and descriptions. It comes in two very long
volumes and is worth the weight and time reading pertinent
chapters/sections.

HTH,

Rich

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


Re: Background color

2024-09-17 Thread Steve Litt
A-Imam Al-Sammak said on Tue, 17 Sep 2024 07:48:30 +0300

>Hi
>Hope this answers your question
>
>Lyx 2.4 comes with "dark theme" as default, which I did not like as it
>is not nice as it does not display graphs clearly. I like the LyX 2.3
>theme, so to change it, in the preferences > Look and feel > user
>interface > user interface style > "windowsvista".

This is good information. I've enjoyed the black on beige yellow since
the 1990's, back in the days when LyX used xforms. So when I get LyX
2.4 from my Void Linux distro, I'll change the user interface style to
"windowsvista".

Thanks,

SteveT

Steve Litt 

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


Re: Background color

2024-09-16 Thread A-Imam Al-Sammak
Hi
Hope this answers your question

Lyx 2.4 comes with "dark theme" as default, which I did not like as it is
not nice as it does not display graphs clearly. I like the LyX 2.3 theme,
so to change it, in the preferences > Look and feel > user interface > user
interface style > "windowsvista".

A-Imam

On Sun, Sep 15, 2024 at 6:47 PM Richard Kimberly Heck 
wrote:

> On 9/15/24 11:33 AM, Paul Rubin wrote:
>
> On 9/14/24 21:37, Zhongjin Lu via lyx-users wrote:
>
> Dear LyX team,
> I've installed the newest version. How can I switch back to the original
> background color?
>
> Are you using dark mode? If so, the reason for the switch is because LyX
> now pays attention to system dark mode.
>
>
> Riki
>
> --
> 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


RE: Cross-Platform Path Issues in LyX 2.4

2024-09-16 Thread Kees Zeelenberg
> Van: Pavel Sanda 
> Verzonden: maandag 16 september 2024 11:11
...
> On Thu, Sep 12, 2024 at 11:10:57AM +0200, Kees Zeelenberg wrote:
> > > Additionally, I've noticed a change in setting the BibTeX database
path.
> > > In LyX 2.3, I could directly input a relative path in the dialog box
under the
> local database.
> > > However, in LyX 2.4, I can only click "add local..." and then select
> > > from the file browser, which results in an absolute path.  Chenyu
> > > Gao
> >
> > This is indeed annoying. When the file is local, you might solve this
> > by creating a hard link to the file in the other directory. On Windows
> > this can be done with the command mklink /H  ; e.g.
> > mklink /H bg.bib "..\other folder\bg.bib"
> > (https://learn.microsoft.com/en-us/windows-server/administration/windo
> > ws-com mands/mklink). But I don't know whether MacOS is able to follow
> > this link.
> 
> I have problem to reproduce the problem in the first place.
> I can can type e.g. "../file.bst" directly in the field.
> You can not?
>
I thought the OP was referring to the dialog box for adding a bibliography
(a .bib file).
(menu: Add / List/Content/References). When choosing Add Local, a
file-browser menu opens,
and when entering a relative path (e.g. ..\folderA\newbib.bib), LyX accepts
this but changes it to an
absolute path (e.g. C:\Papers\folderA\newbib.bib).
The OP also noted that this full-path entry cannot be edited and so cannot
be changed back to a relative path.

Kees



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


Re: Cross-Platform Path Issues in LyX 2.4

2024-09-16 Thread Pavel Sanda
On Thu, Sep 12, 2024 at 11:10:57AM +0200, Kees Zeelenberg wrote:
> > Additionally, I've noticed a change in setting the BibTeX database path.
> > In LyX 2.3, I could directly input a relative path in the dialog box under 
> > the local database.
> > However, in LyX 2.4, I can only click "add local..." and then select from 
> > the file
> > browser, which results in an absolute path.  Chenyu Gao
> 
> This is indeed annoying. When the file is local, you might solve this by
> creating a hard link to the file in the other directory. On Windows this can
> be done with the command mklink /H  ; e.g.  mklink /H bg.bib
> "..\other folder\bg.bib"
> (https://learn.microsoft.com/en-us/windows-server/administration/windows-com
> mands/mklink). But I don't know whether MacOS is able to follow this link. 

I have problem to reproduce the problem in the first place.
I can can type e.g. "../file.bst" directly in the field.
You can not?

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


Re: easy entering symbols

2024-09-15 Thread Saša Janiška
On Fri, 13 Sep 2024 10:41:11 -0400
Richard Kimberly Heck  wrote:

Hello Riki,

> You can redefine the key bindings to do this. Just assign, in this
> case, "unicode-insert 2648" to whatever key you want. (The codepoint
> is given in hex.) You can also define key sequences, so maybe
> something like Alt-Shift-A and then a again, for Aries; different
> follow-ups for other symbols.

Wow!!

Thanks a lot for the tip - it opens a new door in the Lyx's exploration
land. I did two >400p books in the paste using LYX/LaTeX, but realising
how little I know about it. Moreover, it becomes more and more
featureful, so I'm glad deciding to choose it for my main non-coding
driver. 


Sincerely,
Saša 

-- 
One who sees inaction in action, and action in inaction,
is intelligent among men, and he is in the transcendental position,
although engaged in all sorts of activities.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Background color

2024-09-15 Thread Richard Kimberly Heck

On 9/15/24 11:33 AM, Paul Rubin wrote:

On 9/14/24 21:37, Zhongjin Lu via lyx-users wrote:

Dear LyX team,
I've installed the newest version. How can I switch back to the 
original background color?


Are you using dark mode? If so, the reason for the switch is because LyX 
now pays attention to system dark mode.



Riki

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


Re: Background color

2024-09-15 Thread Paul Rubin




On 9/14/24 21:37, Zhongjin Lu via lyx-users wrote:

Dear LyX team,
I've installed the newest version. How can I switch back to the 
original background color?

Thanks,
Dr. Lu


***
Zhongjin (Gene) Lu, PhD

Associate Professor of Finance

B312 Amos Hall

Terry College of Business

The University of Georgia

https://sites.google.com/view/genelu/home




Try going to Tools > Preferences... > Look & Feel > Colors, click on 
"background", then click "Alter...", choose your preferred color, and 
accept it.


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


Re: easy entering symbols

2024-09-13 Thread Richard Kimberly Heck

On 9/13/24 10:02 AM, Saša Janiška wrote:

Hello,

I'm writing text/notes where there is a need to often enter astro
(planets, zodiac) symbols.

So far, I'd use:

\usepackage{wasysym}
\usepackage{marvosym}

in my preamble (not sure which one is required) and then:

\Aries as ert.

Now I'd like to define some kind of snippets/abbreviations to enter
Unicode symbols like: "♈"

This is easy in e.g. editors like Emacs, but I'd like to focus more on
solely using LyX as The Editor for all my non-coding stuff.

Any hint?


You can redefine the key bindings to do this. Just assign, in this case, 
"unicode-insert 2648" to whatever key you want. (The codepoint is given 
in hex.) You can also define key sequences, so maybe something like 
Alt-Shift-A and then a again, for Aries; different follow-ups for other 
symbols.


Riki


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


RE: Cross-Platform Path Issues in LyX 2.4

2024-09-12 Thread Kees Zeelenberg
> In LyX 2.4, the software only supports relative paths within the current
folder. For
> files located in parent directories, it now uses absolute paths instead.
This is a
> change from LyX 2.3, which was able to use relative paths more
extensively.

When adding a subdocument, you may still give a relative path by typing its
location
explicitly in the box at the top of the Subdocument window appearing after
clicking
Insert / List .. / Subdocument. You can also edit the location after the
subdocument has
been included in the usual way by browsing.

> Additionally, I've noticed a change in setting the BibTeX database path.
In LyX 2.3,
> I could directly input a relative path in the dialog box under the local
database.
> However, in LyX 2.4, I can only click "add local..." and then select from
the file
> browser, which results in an absolute path.
> Chenyu Gao

This is indeed annoying. When the file is local, you might solve this by
creating a hard link
to the file in the other directory. On Windows this can be done with the
command mklink /H  ; e.g.
mklink /H bg.bib "..\other folder\bg.bib"
(https://learn.microsoft.com/en-us/windows-server/administration/windows-com
mands/mklink). But I don't know
whether MacOS is able to follow this link. 

Kees


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


Re: preview after updates

2024-09-12 Thread Dr Eberhard Lisse
Make a Minimal Working Example, ie a LyX file showing ONLY the graph and
turn everything else off in LyX.

If you can't figure it out by the post that here...

el


On 2024/09/01 12:06, camus.phili...@free.fr wrote:
> Hello
> Since I have installed Lyx2.4, the instant preview doesn't work fine :
> For math preview, it's just very slow, but for pstricks pictures I get
> no preview at all, and the console show :
> ghostcript failed on page ...
> I Installed texlive-fontutils, then the warning change to:
> epstopdf failed on page ...
> 
> I have read something about cprotect.sty and suffix.sty : both are
> installed (with latexextra).
> The problem appears with archlinux (endeavour, garuda and manjaro) and
> with debian (Sparky).
> 
> Any idea ?
> Thanks
> Philippe
> 


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


Re: Printing customer list

2024-09-12 Thread Dr Eberhard Lisse
Wrong Group?

el

On 2024/09/10 20:19, Rich Shepard wrote:
> I'm using 3.11 on Slackware64-14.2 because it does all I need.
> Except, I cannot find how to print display produced by Business ->
> Customers -> Customers Overview.
> 
> In Reports -> Business -> Customer or Customer Summary only a single 
> customer can be displayed and printed. I want a list of all from the 
> Business menu. How can I do this, other than a .png screen shot?
> 
> TIA,
> 
> Rich


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


Re: preview after updates

2024-09-10 Thread camus . philippe



First part of an answer from myself : preview works fine with tikz pictures. 
The problem seems to be linked with pstricks, but why ? 


Thanks 

- Mail original -

De: "camus philippe"  
À: "mailing lyx"  
Envoyé: Dimanche 1 Septembre 2024 12:06:25 
Objet: preview after updates 



Hello 
Since I have installed Lyx2.4, the instant preview doesn't work fine : 

For math preview, it's just very slow, but for pstricks pictures I get no 
preview at all, and the console show : 

ghostcript failed on page ... 
I Installed texlive-fontutils, then the warning change to: 

epstopdf failed on page ... 


I have read something about cprotect.sty and suffix.sty : both are installed 
(with latexextra). 
The problem appears with archlinux (endeavour, garuda and manjaro) and with 
debian (Sparky). 


Any idea ? 
Thanks 
Philippe 

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


Re: Updating Lyx

2024-09-09 Thread Alex Boche
It worked out smoothly. Thanks guys.

On Mon, Sep 9, 2024 at 3:01 PM Alex Boche  wrote:

> I'd like to update to the latest version of Lyx (2.4) in order to use the
> new counter manipulation feature
> .
>
> But I have a potentially delicate configuration in my current version that
> I cannot afford to mess up. What is the recommended way to install the new
> version without screwing up the old version, and allowing to revert to the
> old version if necessary?
>
> Currently on Lyx 2.3.3 and Mac OS 14.6.1.
>
> Thank you,
> Alex
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Chapter numbering in 2 parts of a document

2024-09-09 Thread Udicoudco
On Mon, Sep 9, 2024 at 4:15 PM Jürgen Spitzmüller  wrote:
>
> Am Montag, dem 09.09.2024 um 15:04 +0200 schrieb Matthias Schmidt:
> > I can't find a way to set this up. Is this even possible and how can
> > it be set?
>
> \setcounter{chapter}{0}
>
> in TeX mode immediately before the new chapter 1
>

You can also go to Edit -> Manage Counter Values...
and set the chapter counter to 0 from there. This way
the GUI and the PDF will be synchronized.
See https://wiki.lyx.org/LyX/NewInLyX24#counters

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


Re: Chapter numbering in 2 parts of a document

2024-09-09 Thread Jürgen Spitzmüller
Am Montag, dem 09.09.2024 um 15:04 +0200 schrieb Matthias Schmidt:
> I can't find a way to set this up. Is this even possible and how can
> it be set?

\setcounter{chapter}{0}

in TeX mode immediately before the new chapter 1 

HTH,
-- 
Jürgen
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: end of line space (removed by mistake)

2024-09-08 Thread Dr Eberhard Lisse
Thanks, doesn't work, so I'll make a MWE :-)-O

el


On 2024/09/04 19:57, Richard Kimberly Heck wrote:
> On 9/4/24 05:18, Dr Eberhard Lisse wrote:
>> I have accessed lyx files with the Subline Text editor which I had
>> misconfigured to remove all spaces trailing at end of lines.
>>
>> This has lead to a number concatenations of the last word from the
>> previous line to the first word in the following line, visible in the
>> GUI and in the PDF.
>>
>> Is there a way of fixing this for all files (perl/python or whatever)?
> 
> It might be safe to add a space to the end of every line. If so:
> 
> perl -pe -ibak 's/$/ /' NewFile.lyx
> 
> or, maybe only if there's not already a space there:
> 
> perl -pe -ibak 's/\S$/ /' NewFile.lyx
> 
> Riki
> 
> 


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


Re: Missing bracket errors

2024-09-07 Thread Jürgen Spitzmüller
Am Dienstag, dem 27.08.2024 um 18:20 -0400 schrieb Maria Gouskova:
> This is a general question. For the past few years--can't be sure how
> long it's been--I've been seeing an increasing number of "Missing }
> inserted" errors crop up. Usually it will happen in a table of some
> complexity (bibliography references inside a table, IPA fonts, merged
> rows/columns, etc.), but not necessarily a table containing LaTeX
> code. It's frustrating to encounter these, because I haven't inserted
> any { brackets, so there shouldn't be any } ones, missing or
> otherwise.
> 
> I'm currently on Lyx 2.4.1, but it's been an issue for quite a few
> versions running now. 
> 
> My usual approach toward debugging these errors is to comment out the
> offending portion of the text, usually a table, and to copy text into
> a new table bit by bit. It's slow and annoying. I'd like to know
> where these errors are coming from so I can hopefully avoid
> introducing them in the first place.

If you are able to provide us with minimal example files exposing these
errors, fixing them will be much easier.

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


Re: Lyx: three questions

2024-09-05 Thread Richard Kimberly Heck

On Thu, 5 Sep 2024, johann.pla...@th-deg.de wrote:

3. How can I incorporate a new paket in lyx? I have read that one should
"write ERT LaTeX-Code into the document". But what does this mean? 
Please,

be very detailed in your answers.


There's no general answer to this. Different packages have different 
requirements and work in completely different ways. Some packages are 
already supported through LyX modules, which are selected under 
Document> Settings> Modules. If a package isn't supported that way, then 
supporting it will involve different things depending upon what it does.


So, if you could give a specific example, we could go on from there.

Riki



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


Re: Lyx: three questions

2024-09-05 Thread Richard Kimberly Heck

On 9/5/24 8:13 AM, johann.pla...@th-deg.de wrote:

Hallo everybody,

I am a new user of Lyx and have three questions:

1. I want to write down the set of positiv real numbers including 
zero, which is in mathematical language an R with a superscript (+) 
and a subscript (0). In Lyx I can write only a super- or a subscript, 
but not both. How can I write a super- and a subscript at once?


As Rich said, this is easy. Just type _ and then enter the subscript; 
then use the right arrow to exit the subscript. Then type ^ and enter 
the superscript. Note that you can get these from the toolbar, too.


Also, you can enter the usual math symbol for the reals: You can find it 
on the toolbar on the submenu headed by the upside down delta. Or you 
can enter: \mathbb (math blackboard), then space, then enter "R". Again, 
use the arrow keys to exit this environment.


2. I wrote a mathematical definition with a head-line "Difinition of 
xxx", followed by the correponding text. I could also generate a box 
around my definition. Now I want to draw a line in my box which 
separates my head-line from the text. What should I do?


It would help to see an example file that does the part you can do.

3. How can I incorporate a new paket in lyx? I have read that one 
should "write ERT LaTeX-Code into the document". But what does this 
mean? Please, be very detailed in your answers.


You mean new package?

Riki

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


Re: Lyx: three questions

2024-09-05 Thread Rich Shepard

On Thu, 5 Sep 2024, johann.pla...@th-deg.de wrote:


1. I want to write down the set of positiv real numbers including zero,
which is in mathematical language an R with a superscript (+) and a
subscript (0). In Lyx I can write only a super- or a subscript, but not
both. How can I write a super- and a subscript at once?


Johann,

Using math mode you can select a format that allows you to insert both sub-
and superscripts.


2. I wrote a mathematical definition with a head-line "Difinition of xxx",
followed by the correponding text. I could also generate a box around my
definition. Now I want to draw a line in my box which separates my
head-line from the text. What should I do?


I've no idea.


3. How can I incorporate a new paket in lyx? I have read that one should
"write ERT LaTeX-Code into the document". But what does this mean? Please,
be very detailed in your answers.


While I don't know what a 'paket' is, ERT is an unfortunate historical term
(Evil Red Text) for inserting LaTeX in the LyX document. On my hosts I use
Ctrl-l (control key + 'l') to open a box with a red outline (I don't
remember on which menu that's found). Start your LaTeX string with a
backslash. This is probably in one of the help manuals available on the help
menu.

HTH,

Rich

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


Re: end of line space (removed by mistake)

2024-09-04 Thread Richard Kimberly Heck

On 9/4/24 05:18, Dr Eberhard Lisse wrote:

I have accessed lyx files with the Subline Text editor which I had
misconfigured to remove all spaces trailing at end of lines.

This has lead to a number concatenations of the last word from the
previous line to the first word in the following line, visible in the
GUI and in the PDF.

Is there a way of fixing this for all files (perl/python or whatever)?


It might be safe to add a space to the end of every line. If so:

perl -pe -ibak 's/$/ /' NewFile.lyx

or, maybe only if there's not already a space there:

perl -pe -ibak 's/\S$/ /' NewFile.lyx

Riki


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


Re: XeTeX as default output format has vanished in 2.4

2024-09-03 Thread Bernd via lyx-users

That turned out to be the true reason for this issue:

http://lists.lyx.org/pipermail/lyx-users/2024-July/007009.html

I would support re-enabling XeTeX as default font.

Bernd

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


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Alex Boche
Got it. Oh right, the visible number might be nice, but the referencing is
the main thing.

On Sun, Sep 1, 2024 at 11:43 AM Richard Kimberly Heck 
wrote:

> On 9/1/24 12:33 PM, Alex Boche wrote:
>
> I did find a solution. [I wasn't sure of the etiquette as far as closing a
> solved thread.]
>
> It's helpful, in case someone else has the same issue. Even months later,
> and searches the list.
>
> The key is to put a label inside the Subequation box but outside the math
> environment. Then put labels on individual lines the math environment.
> Then you can reference either the whole subequation (e.g. 1) or individual
> lines (e.g. 1.1, 1.2, etc.).
>
> I thought you had wanted there to be a visible number for the whole thing.
> I'm not sure I'd have figured out the solution anyway, though.
>
> Riki
>
>
>
>  On Sun, Sep 1, 2024 at 11:24 AM Richard Kimberly Heck 
> wrote:
>
>> On 8/23/24 2:34 PM, Alex Boche wrote:
>> > Hi,
>> >
>> > Lyx newbie here.
>> >
>> > I'd like to write an optimization problem with an objective on the
>> > first line and constraints on subsequent lines (picture below).
>> >
>> > But I'd like a number label on the full problem and separate number
>> > labels on some (or all) lines. What is the best way to do this in Lyx?
>> >
>> > I see some stuff about Subequations in the manual but I don't see how
>> > to get the number for the whole problem, in addition to the lines.
>>
>> The subequation stuff is a bit of a hack. Honestly, I don't know how to
>> do this even in LaTeX; I suspect that LyX will not natively support
>> whatever the solution might be. Complex constructs sometimes have not
>> been implemented, just because no-one yet found a need.
>>
>> Riki
>>
>>
>>
>>
>
> --
> 
> Richard Kimberly (Riki) Heck
> Professor of Philosophy and Professor of Linguistics
> Brown University
>
> Pronouns: they/them/their
> Website:  http://rkheck.frege.org/
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Richard Kimberly Heck

On 9/1/24 12:33 PM, Alex Boche wrote:
I did find a solution. [I wasn't sure of the etiquette as far as 
closing a solved thread.]


It's helpful, in case someone else has the same issue. Even months 
later, and searches the list.


The key is to put a label inside the Subequation box but outside the 
math environment. Then put labels on individual lines the math 
environment.
Then you can reference either the whole subequation (e.g. 1) or 
individual lines (e.g. 1.1, 1.2, etc.).


I thought you had wanted there to be a visible number for the whole 
thing. I'm not sure I'd have figured out the solution anyway, though.


Riki



 On Sun, Sep 1, 2024 at 11:24 AM Richard Kimberly Heck 
 wrote:


On 8/23/24 2:34 PM, Alex Boche wrote:
> Hi,
>
> Lyx newbie here.
>
> I'd like to write an optimization problem with an objective on the
> first line and constraints on subsequent lines (picture below).
>
> But I'd like a number label on the full problem and separate number
> labels on some (or all) lines. What is the best way to do this
in Lyx?
>
> I see some stuff about Subequations in the manual but I don't
see how
> to get the number for the whole problem, in addition to the lines.

The subequation stuff is a bit of a hack. Honestly, I don't know
how to
do this even in LaTeX; I suspect that LyX will not natively support
whatever the solution might be. Complex constructs sometimes have not
been implemented, just because no-one yet found a need.

Riki






--

Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:http://rkheck.frege.org/
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Alex Boche
I did find a solution. [I wasn't sure of the etiquette as far as closing a
solved thread.]
The key is to put a label inside the Subequation box but outside the math
environment. Then put labels on individual lines the math environment.
Then you can reference either the whole subequation (e.g. 1) or individual
lines (e.g. 1.1, 1.2, etc.).



On Sun, Sep 1, 2024 at 11:24 AM Richard Kimberly Heck 
wrote:

> On 8/23/24 2:34 PM, Alex Boche wrote:
> > Hi,
> >
> > Lyx newbie here.
> >
> > I'd like to write an optimization problem with an objective on the
> > first line and constraints on subsequent lines (picture below).
> >
> > But I'd like a number label on the full problem and separate number
> > labels on some (or all) lines. What is the best way to do this in Lyx?
> >
> > I see some stuff about Subequations in the manual but I don't see how
> > to get the number for the whole problem, in addition to the lines.
>
> The subequation stuff is a bit of a hack. Honestly, I don't know how to
> do this even in LaTeX; I suspect that LyX will not natively support
> whatever the solution might be. Complex constructs sometimes have not
> been implemented, just because no-one yet found a need.
>
> Riki
>
>
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Richard Kimberly Heck

On 8/23/24 2:34 PM, Alex Boche wrote:

Hi,

Lyx newbie here.

I'd like to write an optimization problem with an objective on the 
first line and constraints on subsequent lines (picture below).


But I'd like a number label on the full problem and separate number 
labels on some (or all) lines. What is the best way to do this in Lyx?


I see some stuff about Subequations in the manual but I don't see how 
to get the number for the whole problem, in addition to the lines.


The subequation stuff is a bit of a hack. Honestly, I don't know how to 
do this even in LaTeX; I suspect that LyX will not natively support 
whatever the solution might be. Complex constructs sometimes have not 
been implemented, just because no-one yet found a need.


Riki



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


Re: Compose keys don't work in LyX anymore

2024-08-30 Thread John Coppens
On Mon, 26 Aug 2024 11:27:43 -0400
Paul Rubin  wrote:

> Might this be OS-specific? I'm on Linux Mint 22 with Qt 5.15.13 and
> LyX 2.4.1. My compose key combo (right ALT + " + a to get ä)
> continues to work. It displays the accent character (", ~, `) until I
> hit the letter key, at which point the accented character appears.
> This is with both "traditional" encoding (my default) and UTF-8.

Hi Paul.

A couple of days after I posted the original issue, I found that changing
the input method (using a Slackware script called imconfig), from 'none'
to 'ibus', and doing a logout/login cycle, composition started working
again. 

I haven't had the time yet to test the third option (Fcitx5) yet, which
might also work. Over all the years (>25 years) I've been using Linux,
I never touched the IM. I wonder it was originally 'none' or if some
program changed it. Composing has always worked well.

Anyway, if anyone encounters issues with Composing, check 'imconfig'
(which in other distros seems to be called im-config). 'ibus', I
noticed, also shows that the composing is 'underway', first confirming
that the Compose key was pressed, and then each part. And does this in
text and in graphics mode.

Cheers,

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


Re: Compose keys don't work in LyX anymore

2024-08-26 Thread Paul Rubin


On 8/25/24 22:12, John Coppens wrote:

Hi guys...

I'm hoping your collective knowledge helps me out.

I'm not a frequent LyX user (2.3.6.1) but when I had to edit a document
with accented characters (á, é, ... and ñ's) this doesn't seem to work
anymore. As you can see, in the mail program it _does_ work.

Also, I'm quite sure this worked before. When I type Win + ' + a, I get 'a
on the screen.

I have a suspicion that the problem comes from Qt5.15. Most of  my applications
are Gtk based and work fine. I am still running X11.

It's not a UTF-8 problem - I can still copy&paste from other texts into LyX.

I tried to redefine the Compose key onto the CapsLock - no change. Gtk works,
Qt doesn't.

Anyone know what could have happened?

John
Might this be OS-specific? I'm on Linux Mint 22 with Qt 5.15.13 and LyX 
2.4.1. My compose key combo (right ALT + " + a to get ä) continues to 
work. It displays the accent character (", ~, `) until I hit the letter 
key, at which point the accented character appears. This is with both 
"traditional" encoding (my default) and UTF-8.


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


Re: Compose keys don't work in LyX anymore

2024-08-26 Thread John Coppens
On Sun, 25 Aug 2024 23:12:39 -0300
John Coppens  wrote:

> I have a suspicion that the problem comes from Qt5.15. Most of  my
> applications are Gtk based and work fine. I am still running X11.

LibreCAD - Qt5.15 based - exhibits the same problem.

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


Re: LyX and font caching

2024-08-21 Thread Michael Dean Pugh
Hello, José,

I am using 2.4 on Windows 11. I am not using equation preview, but I have 
created LyX math macros for some of the new symbols that use Insert -> special 
characters to indicate these symbols in the LyX UI, which may involve the same 
underlying technology. I don’t know what font those symbols are coming from 
(this was actually the topic of a question I asked in this forum a couple of 
weeks ago), but they’re not coming from mine (nor did I expect them to, 
although it would be nice to have more control over the fonts used for symbols 
in the user interface). To be clear, since there was confusion the last time, 
the user interface is using glyphs from some font that you guys chose, I guess, 
though I don’t know what it is, but glyphs from my font show up in the compiled 
document as expected. Updates to my font are not reflected in the LyX document 
and are when compiled in plain LaTeX. And, like I said, I can delete the font 
and LyX doesn’t even notice.

Thanks, again,
Mike Pugh

Get Outlook for iOS<https://aka.ms/o0ukef>

From: José Matos 
Sent: Wednesday, August 21, 2024 4:19:18 AM
To: Michael Dean Pugh 
Cc: lyx-users@lists.lyx.org 
Subject: Re: LyX and font caching


I think that this is related with math preview.

Are you using LyX 2.4?

What is your OS... Help->About LyX

On Tue, Aug 20, 2024, 18:23 Michael Dean Pugh 
mailto:mdp...@hotmail.com>> wrote:
I hope someone can explain the problem I am having, because I am stumped.  I am 
creating a few new fonts with various mathematics symbols.  As a result, I 
periodically compile documents which use them so that I can see what the new 
fonts look like in context.  Some of these documents are written in LyX, others 
in straight LaTeX.  These fonts are .otf and in both cases, I am using 
XeLaTeX/XeTeX for compilation.  Here's the strange part.  Today, I noticed that 
the changes I had recently made to the font were not showing up in the LyX 
compilation.  But they are showing up in the LaTeX compilation.  What is 
weirder is that changes to the document itself do show up in LyX—it is the font 
that is not changing.  So I thought, well, something is getting cached 
somewhere.  It gets even weirder.  I deleted one of the fonts.  My LaTeX 
compilation now gives errors because it cannot find the font, but LyX still 
compiles—albeit displaying the document using the old version of the font.  
What is getting cached, by what, and where?  I'm mystified.

Thank you,
Mike Pugh
--
lyx-users mailing list
lyx-users@lists.lyx.org<mailto: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


Re: LyX and font caching

2024-08-21 Thread José Matos
I think that this is related with math preview.

Are you using LyX 2.4?

What is your OS... Help->About LyX

On Tue, Aug 20, 2024, 18:23 Michael Dean Pugh  wrote:

> I hope someone can explain the problem I am having, because I am stumped.
> I am creating a few new fonts with various mathematics symbols.  As a
> result, I periodically compile documents which use them so that I can see
> what the new fonts look like in context.  Some of these documents are
> written in LyX, others in straight LaTeX.  These fonts are .otf and in both
> cases, I am using XeLaTeX/XeTeX for compilation.  Here's the strange part.
> Today, I noticed that the changes I had recently made to the font were not
> showing up in the LyX compilation.  But they are showing up in the LaTeX
> compilation.  What is weirder is that changes to the document itself *do* show
> up in LyX—it is the font that is not changing.  So I thought, well,
> something is getting cached somewhere.  It gets even weirder.  I deleted
> one of the fonts.  My LaTeX compilation now gives errors because it cannot
> find the font, but LyX still compiles—albeit displaying the document
> using the old version of the font.  What is getting cached, by what, and
> where?  I'm mystified.
>
> Thank you,
> Mike Pugh
> --
> 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


Re: Graphics inside equations

2024-08-20 Thread fcanatay

> Richard Kimberly Heck   (19 Aug 2024 18:14):
> 
> On 8/19/24 6:22 AM, fcana...@gmail.com wrote:
>> Greetings,
>> 
>> In LaTeX it is possible to put graphics inside equation environments with 
>> the usual \includegraphics command. However in Lyx 2.4.1, the menu command 
>> Insert-->Graphics is grayed out when the cursor is inside an equation. Does 
>> anyone know the reason why?
> 
> LyX simply doesn't support this. It would be possible but would take some 
> work. You, however, can do it raw: Just type "\includegraphics", then 
> backslash followed by {, to get the argument (LyX treats just { as the 
> symbol), and enter the name of the file as normal.
> 
> Riki
> 

I see. Anyway, it’s no showstopper. LyX already supports the most useful LaTex 
constructs and there often seems to be some workaround when it doesn't.

Best,

Fatihcan Atay 

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


Re: LyX 2.4.1 for Windows does not see its own layouts directory

2024-08-19 Thread Richard Kimberly Heck

Whoops. I did not add the list.

On 8/19/24 2:09 PM, Richard Kimberly Heck wrote:
Please keep discussion on the list, in case others have something to 
contribute.


On 8/19/24 12:38 PM, Marek L. Szwabowicz wrote:

/Something is going wrong in the configuration process/.
There sure is… That’s why I’ve posted it here.


It always puzzles me why people who are asking for help think they are 
entitled to sarcasm. My policy is to give people one such opportunity.



/DEBUG: Removing file textclass.lst/
/DEBUG: Removing file packages.lst/
/INFO: checking LaTeX configuration...  default values/


This suggests that configure is being run with the 
--without-latex-config option. That is how it is run if you see:



and choose "Without LaTeX". Please try deleting (or just renaming) 
your 2.4 user directory and then doing a fresh reconfigure (which 
should happen automatically when you start LyX 2.4). If it still 
fails, please repost the log.


Riki




--

Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:http://rkheck.frege.org/
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Graphics inside equations

2024-08-19 Thread Richard Kimberly Heck

On 8/19/24 6:22 AM, fcana...@gmail.com wrote:

Greetings,

In LaTeX it is possible to put graphics inside equation environments with the 
usual \includegraphics command. However in Lyx 2.4.1, the menu command 
Insert-->Graphics is grayed out when the cursor is inside an equation. Does 
anyone know the reason why?


LyX simply doesn't support this. It would be possible but would take 
some work. You, however, can do it raw: Just type "\includegraphics", 
then backslash followed by {, to get the argument (LyX treats just { as 
the symbol), and enter the name of the file as normal.


Riki


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


Re: LyX 2.4.1 for Windows does not see its own layouts directory

2024-08-19 Thread Richard Kimberly Heck

On 8/18/24 6:56 PM, Marek L. Szwabowicz wrote:

Hi everyone
I’ve installed LyX 2.4.1 for Windows on a Windows 10 machine.
Right at the end of the installation process I obtain this message box:
graphic


Something is going wrong in the configuration process. There is a log 
file, configure.log, in your LyX user directory, whose location is 
indicated in the About LyX dialog. You can have a look yourself, 
perhaps, to diagnose the problem, or post the file here.


Riki

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


Re: eps file

2024-08-18 Thread Patrick Dupre via lyx-users
OK,

I am sorry, I just cannot reproduce the crashes of lyx.
Actually, the issue came from that fact that my eps.gz file was not visible 
under lyx
(it was OK with gv). Hence, I tried to edit the BoundingBox in the eps file.
But doing so my eps.gz generator erased the .eps because I used gzip.
generating a correct eps.gz file allows running properly lyx.

Thank for the comments.
Thank to the lyx managers.


> Subject: Re: eps file
>
> On 8/18/24 7:16 AM, Patrick Dupre via lyx-users wrote:
> > Hello,
> >
> > With the new version of lyx, I am facing the following issue.
> > I insert an eps file.
> > but when I compile the document, lyx just remove my eps file
> >
> > ! Package pdftex.def Error: File `Two-level_recoil-eps-converted-to.pdf' 
> > not fo
> > und: using draft setting.
> >
> > See the pdftex.def package documentation for explanation.
> >
> > This is not acceptable.
> >
> > How can I fix this issue ?
>
> Does this happen with all eps files or just that one?
>
> Can you run LyX from a terminal and get more information?
>
> Can you post an example file that has this problem? I cannot reproduce it.
>
> Riki
>
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: eps file

2024-08-18 Thread Richard Kimberly Heck

On 8/18/24 7:29 AM, Patrick Dupre via lyx-users wrote:

In addition lyx crashes as soon as I try to play with the bounding Box,
And then Server.cpp (1015): LyX is already running in another instance
and 'use single instance' is active


What do you mean "play with the bounding box"?

Riki


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


Re: eps file

2024-08-18 Thread Richard Kimberly Heck

On 8/18/24 7:16 AM, Patrick Dupre via lyx-users wrote:

Hello,

With the new version of lyx, I am facing the following issue.
I insert an eps file.
but when I compile the document, lyx just remove my eps file

! Package pdftex.def Error: File `Two-level_recoil-eps-converted-to.pdf' not fo
und: using draft setting.

See the pdftex.def package documentation for explanation.

This is not acceptable.

How can I fix this issue ?


Does this happen with all eps files or just that one?

Can you run LyX from a terminal and get more information?

Can you post an example file that has this problem? I cannot reproduce it.

Riki


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


Re: eps file

2024-08-18 Thread Patrick Dupre via lyx-users
In addition lyx crashes as soon as I try to play with the bounding Box,
And then
Server.cpp (1015): LyX is already running in another instance
and 'use single instance' is active

but
 ps -aux |grep lyx
pdupre 29145  0.0  0.0 227792  2180 pts/10   S+   13:28   0:00 grep 
--color=auto lyx

showing that there is no lyx running.

I never faced all these issues in the past.
lyx-2.4.1-1.fc40.x86_64

>
> Hello,
> 
> With the new version of lyx, I am facing the following issue.
> I insert an eps file.
> but when I compile the document, lyx just remove my eps file
> 
> ! Package pdftex.def Error: File `Two-level_recoil-eps-converted-to.pdf' not 
> fo
> und: using draft setting.
> 
> See the pdftex.def package documentation for explanation.
> 
> This is not acceptable.
> 
> How can I fix this issue ?
> 
> Thanks
> 
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
> ===
> 
> -- 
> 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


Re: Parsing of math expressions

2024-08-16 Thread Pavel Sanda
On Thu, Aug 15, 2024 at 02:15:24PM -0300, Rudi Gaelzer wrote:
> Since the last upgrade it seems that a very useful property has been lost.
> Before, whenever Mathematica worked out some mathematical result, I would 
> TeXForm it, thereby generating the LaTeX source, copy it and paste it into 
> LyX 
> in any mathematical environment.  LyX would always parse correctly the LaTeX 
> expression.
> Now, I always get the commands, without parsing.  Is there some configuration 
> that changed since the last update?

Parsing latex math into math environment works normally for me, but I might not
undertand your exact steps (what's exactly in the clipboard?, which way you 
paste it?).

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


Re: Parsing of math expressions

2024-08-15 Thread José Matos
On Thu, 2024-08-15 at 14:15 -0300, Rudi Gaelzer wrote:
> Since the last upgrade it seems that a very useful property has been
> lost.
> Before, whenever Mathematica worked out some mathematical result, I
> would TeXForm it, thereby generating the LaTeX source, copy it and
> paste it into LyX in any mathematical environment.  LyX would always
> parse correctly the LaTeX expression.
> Now, I always get the commands, without parsing.  Is there some
> configuration that changed since the last update?

I think that you are referring to math (instant) preview.

I have a similar setup (the only difference is that I am using what it
will be Fedora 41). I will look into this still this month, hopefully
before 2.4.2 is released.

Sometimes the preview works and others it does not. I need to look
carefully on what is going on.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


  1   2   3   4   5   6   7   8   9   10   >