Re: upright text in Alternative Proof String

2024-05-27 Thread Paul Rubin



On 5/27/24 13:32, Alexander Dunlap wrote:

Hi all,

I would like to generate output like

\begin{proof}[Proof of Theorem~\textup{3}]
...
\end{proof}

However, LyX does not seem to let me set the text style of "upright" 
within the "Alternative Proof String" -- when I set it there it just 
immediately changes back to "Default". Is there a way around this?


thanks and best,
Alex

Inside the Alternative Proof String, after "Theorem", click Insert > TeX 
Code (or use the shortcut, usually Ctrl+L but your mileage may vary), 
then type "\textup{3}".


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


Re: can i just upgrade from 2.3.7 to 2.3.8 without any loss of data/files and etc...?

2024-05-24 Thread Eberhard W Lisse
I use homebrew as package manager on the mac, and manually installed
2.4.0 RC4 over the app. No drama, rally, a few little hickups here and
there, maybe also due to my upgrading basictex.

Homebrew then put 2.3.8 on top of that and I only noticed the
difference in the Find command, which now opens a (permanent) window on
the bottom). All 2.4.0 files were read.

If you use a package manager, just upgrade.

el

On 24/05/2024 11:55, Pavel Sanda wrote:
> On Fri, May 24, 2024 at 10:56:37AM +0300, matan guedj wrote:
>> I have the  2.3.7 with many files with specific configurations
>> (like Hebrew, special colors, special macros, shortcuts, packages,
>> etc...) if I just download the newer version will it be a seamless
>> transition? or is it more involved than that?
> 
> 2.3.7 -> 2.3.8 should be seamless. 2.3.7 -> 2.4.0 might need some
> tinkering around
> 
>> I also wonder if it's worth it at all as the changes seem very
>> minor, and not something I've used.
> 
> The main reason why 2.3.8 was released is that it can read 2.4.x
> files as well. If you don't need that and the fixes described in the
> announcement sound irrelevant you can stay with 2.3.7.
> 
> Pavel


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


Re: version 2.4

2024-05-24 Thread Richard Kimberly Heck

On 5/24/24 09:44, Sergio Celani wrote:

Hello to all LyX users
Where could I download the trial version 2.4? I can't find it on the 
site ftp.lyx.org/pub/lyx/ .


Look in the devel/lyx-2.4/ directory.

Riki

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


Re: can i just upgrade from 2.3.7 to 2.3.8 without any loss of data/files and etc...?

2024-05-24 Thread Pavel Sanda
On Fri, May 24, 2024 at 10:56:37AM +0300, matan guedj wrote:
> I have the  2.3.7 with many files with specific configurations (like
> Hebrew, special colors, special macros, shortcuts, packages, etc...) if I
> just download the newer version will it be a seamless transition? or is it
> more involved than that?

2.3.7 -> 2.3.8 should be seamless. 2.3.7 -> 2.4.0 might need some tinkering 
around

> I also wonder if it's worth it at all as the changes seem very minor, and
> not something I've used.

The main reason why 2.3.8 was released is that it can read 2.4.x files as well.
If you don't need that and the fixes described in the announcement sound 
irrelevant you can stay with 2.3.7.

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


Re: Feature suggestion: Table/matrix toolbar button

2024-05-23 Thread Richard Kimberly Heck

Il giorno gio 23 mag 2024 alle ore 21:36  ha scritto:

LyX 2.4.0 has a cool toolbar button that makes it very easy to insert a table 
of any size into text. It is grayed out in math mode. It would be very useful 
to have the same button insert a matrix in math mode.

Lorenzo Bertini  (23 May 2024 22:48):

Hi,
maybe you're already aware of this, but there is a matrix insert
button that does exactly that. It appears in the math toolbar and you
can drag the matrix to make it as big as you want, add parentheses,
etc. See screenshot attached.

On 5/23/24 16:01, fcana...@gmail.com wrote:

Sure, and there is also a menu item that shows that dialog. My suggestion is to 
bypass the dialog and utilize an existing button on the standard toolbar for 
two purposes depending on the context.


I agree: It is somewhat different. You might file an enhancement 
request. It might not be that hard to do.


Riki


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


Re: Feature suggestion: Table/matrix toolbar button

2024-05-23 Thread fcanatay
Sure, and there is also a menu item that shows that dialog. My suggestion is to 
bypass the dialog and utilize an existing button on the standard toolbar for 
two purposes depending on the context.


Best,
Fatihcan




> Lorenzo Bertini  (23 May 2024 22:48):
> 
> Hi,
> maybe you're already aware of this, but there is a matrix insert
> button that does exactly that. It appears in the math toolbar and you
> can drag the matrix to make it as big as you want, add parentheses,
> etc. See screenshot attached.
> 
> Cheers,
> Lorenzo
> 
> Il giorno gio 23 mag 2024 alle ore 21:36  ha scritto:
>> 
>> LyX 2.4.0 has a cool toolbar button that makes it very easy to insert a 
>> table of any size into text. It is grayed out in math mode. It would be very 
>> useful to have the same button insert a matrix in math mode.
>> 
>> Fatihcan Atay
>> 
>> 
>> --
>> 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: Feature suggestion: Table/matrix toolbar button

2024-05-23 Thread Lorenzo Bertini
Hi,
maybe you're already aware of this, but there is a matrix insert
button that does exactly that. It appears in the math toolbar and you
can drag the matrix to make it as big as you want, add parentheses,
etc. See screenshot attached.

Cheers,
Lorenzo

Il giorno gio 23 mag 2024 alle ore 21:36  ha scritto:
>
> LyX 2.4.0 has a cool toolbar button that makes it very easy to insert a table 
> of any size into text. It is grayed out in math mode. It would be very useful 
> to have the same button insert a matrix in math mode.
>
> Fatihcan Atay
>
>
> --
> 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 refresh images of equations

2024-05-22 Thread Andrew Parsloe


On 23/05/2024 6:13 am, David Cardon wrote:

Version 2.4.0~RC4
(Sunday, March 24, 2024)

Qt Version (run-time): 6.6.1 on platform windows
Qt Version (compile-time): 6.6.1
OS Version (run-time): Windows 11 Version 23H2
Python detected: 3.11.4 
(C:\Users\David\AppData\Local\Programs\Python\Python311\python.exe)


I am having a problem with the images created for equations when 
"Instant preview" is turned on. I created a document on one computer 
with a 4K 32" monitor.  When I opened the same document on my laptop 
with a 4K 16" monitor, the equations were all microscopic, but the 
images for the equations would not refresh to look right on the new 
display.  Is there a way to force a refresh?  If not, then this may be 
a bug.


Thanks,
David


Changing the zoom level forces a redrawing of previews. I've made a 
shortcut for


command-sequence buffer-zoom-in; buffer-zoom-out

which leaves the zoom level as it was but forces a document-wide 
redrawing of previews.


Andrew

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


Re: Bug while cutting rows of a table

2024-05-19 Thread Jean-Marc Lasgouttes

Le 19/05/2024 à 19:14, emile a écrit :
On several occasions I have encountered a LyX2.4R4 crash when trying to 
delete several consecutive rows from a table, either under Windows or 
Linux. I have reproduced this phenomenon on the empty table attached.




Hello Émile,

Can you describe precisely what you do to obtain a crash? I tried a bit, 
but I am probably not doing the right things.


JMarc

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


Re: Problem with displaying ipe-generated pdf in LyX

2024-05-19 Thread fcanatay


> 
> Am Sonntag, dem 19.05.2024 um 14:39 +0300 schrieb fcana...@gmail.com:
>> attached a small test pdf (a simple circle), which is displayed fine
>> in every pdf previewer and browser I tried, except in LyX. I wonder
>> if my setup is the culprit here (LyX 2.4.0~RC4 & Texlive Basic & Mac
>> apple silicon). Could anyone confirm that this pdf is correctly
>> displayed in their LyX window?
> 
> Fatihcan,
> 
> your PDF shows up in LyX as you expect as a preview on the canvas. This
> is with LyX 2.4.0~RC4 with TeXLive 2024 on Ubuntu 22.04.4
> 
> PDF preview works for you apart from this file?
> 

Yes, every other pdf displays fine in my LyX window, except those produced in 
ipe.

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


Re: Problem with displaying ipe-generated pdf in LyX

2024-05-19 Thread Tobias Hilbricht
Am Sonntag, dem 19.05.2024 um 14:39 +0300 schrieb fcana...@gmail.com:
>  attached a small test pdf (a simple circle), which is displayed fine
> in every pdf previewer and browser I tried, except in LyX. I wonder
> if my setup is the culprit here (LyX 2.4.0~RC4 & Texlive Basic & Mac
> apple silicon). Could anyone confirm that this pdf is correctly
> displayed in their LyX window?

Fatihcan,

your PDF shows up in LyX as you expect as a preview on the canvas. This
is with LyX 2.4.0~RC4 with TeXLive 2024 on Ubuntu 22.04.4

PDF preview works for you apart from this file?

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


Re: LyX 2.3.8 Released

2024-05-18 Thread Richard Heck

On 5/18/2024 8:22 PM, William R. Buckley wrote:

Installation goes so well that I received this message:

Requested package unknown miktex-config-2.9


What OS? Windows?

LyX does not install anything to do with MikTeX. It may be that 
configuration is triggering some kind of behavior in MikTeX. We've seen 
odd behavior from MikTeX before, which is why we stopped bundling it 
with LyX.



Also, originally, the URL was ftp://ftp...

When Firefox got that URL, Firefox then asked me to find an FTP app.

Which URL was originally an ftp link? The links below all work for me. 
I've tested all the links on the download page, as well.


Riki

PS Sarcasm is neither welcome nor required.




On Sat, May 18, 2024 at 12:06 PM Richard Kimberly Heck 
 wrote:


On 5/18/24 14:22, Edwin Burmeister wrote:
> The URL for downloading LyX 2.3.8 only gives me LyX 2.3.7.

There's a delay updating the website. Look here:

http://ftp.lyx.org/pub/lyx/bin/2.3.8/

for binaries, or here:

http://ftp.lyx.org/pub/lyx/stable/2.3.x/

for source.

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: LyX 2.3.8 Released

2024-05-18 Thread William R. Buckley
Installation goes so well that I received this message:

Requested package unknown miktex-config-2.9


Also, originally, the URL was ftp://ftp...

When Firefox got that URL, Firefox then asked me to find an FTP app.


wrb

On Sat, May 18, 2024 at 12:06 PM Richard Kimberly Heck 
wrote:

> On 5/18/24 14:22, Edwin Burmeister wrote:
> > The URL for downloading LyX 2.3.8 only gives me LyX 2.3.7.
>
> There's a delay updating the website. Look here:
>
> http://ftp.lyx.org/pub/lyx/bin/2.3.8/
>
> for binaries, or here:
>
> http://ftp.lyx.org/pub/lyx/stable/2.3.x/
>
> for source.
>
> 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: LyX 2.3.8 Released

2024-05-18 Thread Richard Kimberly Heck

On 5/18/24 14:22, Edwin Burmeister wrote:
The URL for downloading LyX 2.3.8 only gives me LyX 2.3.7. 


There's a delay updating the website. Look here:

http://ftp.lyx.org/pub/lyx/bin/2.3.8/

for binaries, or here:

http://ftp.lyx.org/pub/lyx/stable/2.3.x/

for source.

Riki


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


Re: LyX 2.3.8 Released

2024-05-18 Thread Edwin Burmeister
The URL for downloading LyX 2.3.8 only gives me LyX 2.3.7.

Help, please!

***
Edwin Burmeister
Research Professor of Economics Emeritus
Duke University
Commonwealth Professor of Economics Emeritus
University of Virginia
e...@econ.duke.edu



On May 17, 2024, at 8:45 PM, Richard Kimberly Heck  wrote:

Public release of LyX version 2.3.8
===

We are proud to announce the release of LyX 2.3.8. This is the eighth
and final maintenance release in the 2.3.x series. LyX 2.4.0 will be released
very shortly, so many users may wish to wait for that rather than upgrading
to 2.3.8. Some users, however, may want or need to continue using the 2.3.x
series. We encourage those users to upgrade to this version.

You can download LyX 2.3.8 from 
https://urldefense.com/v3/__https://www.lyx.org/Download/__;!!OToaGQ!v5YtxYIOLpoM3cybybvHQURCuBWiIADZaReE33mw--4-z1DcR6fDuAlZriazUX4lGhd56fB869xANSSP$
 .

LyX is a document processor that encourages an approach to writing based
on the structure of your documents and not simply their appearance. It is
released under a Free and Open Source Software license.

LyX 2.3.8 is the result of on-going efforts to make our stable version
more reliable and more stable. Several bugs and crashes have been fixed here,
but the main addition is the ability to import and export files in the new
2.4.x format.

If you think you have found a bug in LyX 2.3.8, please open a bug report at
https://urldefense.com/v3/__https://www.lyx.org/trac/wiki/BugTrackerHome__;!!OToaGQ!v5YtxYIOLpoM3cybybvHQURCuBWiIADZaReE33mw--4-z1DcR6fDuAlZriazUX4lGhd56fB8605Nk5Vk$
 . If you're not sure whether it
really is a bug, you can e-mail the LyX developers' mailing list (lyx-devel
 lists.lyx.org) and ask.

If you have trouble using LyX or have a question, consult the documentation
that comes with LyX (under the Help or Apple menu) and the LyX wiki, which
is at 
https://urldefense.com/v3/__https://wiki.lyx.org/__;!!OToaGQ!v5YtxYIOLpoM3cybybvHQURCuBWiIADZaReE33mw--4-z1DcR6fDuAlZriazUX4lGhd56fB86-njFsJk$
 . If you can't find the answer there, e-mail the
LyX users' list (lyx-users  lists.lyx.org), where you will find an
active community of people who are ready to help.

We hope you enjoy using LyX 2.3.8.

The LyX team.
https://urldefense.com/v3/__https://www.lyx.org__;!!OToaGQ!v5YtxYIOLpoM3cybybvHQURCuBWiIADZaReE33mw--4-z1DcR6fDuAlZriazUX4lGhd56fB86-NbZLNN$

What's new
==

** Updates:
***

* DOCUMENT INPUT/OUTPUT

- Fix nested underwave (\uwave) (bug 12922).

- Update lilypond converter settings (bug 12618).


* USER INTERFACE

- Add a few missing autocorrect combinations and allow cycling through arrows
  (bug 12711).

- Reflect in the on-screen representation of math insets the fact that some
  insets, such as \text, \mbox, \fbox and \makebox, inherit the text font
  of the containing inset (bug 12950).


* LYX2LYX

- Allow for import and export to the 2.4.x format.


* BUILD/INSTALLATION

- Adding binary path for Homebrew on MacOS-arm64 (bug 12619).


** Bug fixes:
*

* DOCUMENT INPUT/OUTPUT

- Fix leaking of linespace settings between paragraphs if they have
  different alignment (bug 12638).

- Do not load mathrsfs if unicode-math is required (bug 12734).


* USER INTERFACE

- Avoid crashing on a recursive macro definition (bug 12633).

- Fix several problems where insets did not react on click on
  the Mac (bugs 12279, 12418, 12820).

- Fix issue with on-screen instant preview and the mathpazo package.

- Hide multi-keystroke accelerators in Mac menu (bug 12693).


* INTERNALS

- Fix wrong computation of what is an obviously fake PID number.

- remove a pair of static methods that were unused and hid another
  one.

- Fix crash when missing python3 on MacOS (bug 12523).


* LYX2LYX

- Fixed a bug in reversion to 1.6.


* TEX2LYX

- Fix import of umlauts and ß in math (bug 12739).


* BUILD/INSTALLATION

- Update included boost library to version 1.75.0.

- Fix warning when configuring with Qt 5.15.1x.

- Do not halt compilation because of a too new autoconf or automake version.

--
lyx-users mailing list
lyx-users@lists.lyx.org
https://urldefense.com/v3/__http://lists.lyx.org/mailman/listinfo/lyx-users__;!!OToaGQ!v5YtxYIOLpoM3cybybvHQURCuBWiIADZaReE33mw--4-z1DcR6fDuAlZriazUX4lGhd56fB869wdN3cK$

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


Re: Avoid inserting \beginL

2024-05-15 Thread Udicoudco
On Fri, May 10, 2024 at 10:56 PM Ron Yutkin  wrote:
>>
>> You can specify in the Language package "always babel" and pass the option 
>> in the document class options.
>>
>
> How do I specify options in the document class options?

In Document->Settings->Document Class->Class Options->Custom.
I attached an example file.

Udi


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


Re: overlay and overprint

2024-05-14 Thread Scott Kostyshak
On Sat, May 11, 2024 at 04:05:09PM GMT, Patrick Dupre via lyx-users wrote:
> Hello Scott,
> 
> Here is an example.
> 
> Currently, the picture is displayed with the items. This limits the size of 
> the picture.
> What I would prefer is to have the picture shown in large as an item (here 
> #2), and then
> it disappears with the following item.
> 
> Thank.
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
> ===
> 
> 
> > Sent: Wednesday, May 08, 2024 at 4:30 PM
> > From: "Scott Kostyshak" 
> > To: lyx-users@lists.lyx.org
> > Subject: Re: overlay and overprint
> >
> > On Wed, May 08, 2024 at 12:14:52PM GMT, Patrick Dupre via lyx-users wrote:
> > > Hello,
> > > 
> > > In an itemized environment (in beamer) with overlay specifications option 
> > > +-
> > > I wish to to show a picture only for the second item.
> > > Without my picture, the items displays normally, one after the other ones.
> > > I try to show a picture (which must only appear with item 2),
> > > associated only with the second item, and to have the picture 
> > > disappearing with the following items,
> > > and show the items normally (without picture).
> > > 
> > > Is there a solution?
> > 
> > If you send a minimal example I can take a look.
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users

Hi Patrick,

I was traveling so I'm sorry for the late reply. I just sat down to take a look.

Thanks for sending an example to the list.

There is a lot of non-minimal elements in your .lyx file. Can you please
make as simple of an example as possible to illustrate the issue?

See here for more information:

  https://wiki.lyx.org/FAQ/MinimalExample

Scott


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


Re: Page break completely destroyed

2024-05-13 Thread Herbert Voss



Am 08.05.24 um 18:19 schrieb Andreas Plihal:


thank you very much for your very specific advice: *multicols in a 
figure environment.*

But unlike your guess, I use *pdfs in a multicol environments*.
Is this allowed?


I can not run your document. Missing images and so on ...
I didn't say that it is not allowed. I said "it makes no sense". Use
parboxes side by side.

Herbert




I'll show you a place in my lyx document where I use this.
There are many such constellations in my document.
To check this, I'll send you the associated lyx files.
What do you think about that?
Andreas
*Gesendet:* Dienstag, 07. Mai 2024 um 11:15 Uhr
*Von:* lyx-users-requ...@lists.lyx.org
*An:* lyx-users@lists.lyx.org
*Betreff:* lyx-users Digest, Vol 236, Issue 1
Send lyx-users mailing list submissions to
lyx-users@lists.lyx.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.lyx.org/mailman/listinfo/lyx-users
or, via email, send a message with subject or body 'help' to
lyx-users-requ...@lists.lyx.org

You can reach the person managing the list at
lyx-users-ow...@lists.lyx.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyx-users digest..."


Today's Topics:

1. Re: Questions about an Idea for a feature in LyX
(Richard Kimberly Heck)
2. Page break completely destroyed (Andreas Plihal)
3. Re: Page break completely destroyed (Rich Shepard)
4. how to add this shortcut? (matan guedj)
5. Re: how to add this shortcut? (Richard Kimberly Heck)
6. centering all ert environments in document (matan guedj)
7. Re: centering all ert environments in document
(Richard Kimberly Heck)
8. Re: how to add this shortcut? (Andrew Parsloe)
9. Stop command during compilation (Andreas Plihal)
10. Re: Stop command during compilation (Scott Kostyshak)
11. Re: Stop command during compilation (Richard Kimberly Heck)
12. Re: Stop command during compilation (Rich Shepard)
13. Re: Stop command during compilation (Richard Kimberly Heck)
14. Re: Stop command during compilation (Rich Shepard)
15. Re: Stop command during compilation (Richard Kimberly Heck)
16. Re: Stop command during compilation (Richard Kimberly Heck)
17. Re: Stop command during compilation (Rich Shepard)
18. Re: Stop command during compilation (Scott Kostyshak)
19. crash inserting branch (Paolo M)
20. Re: crash inserting branch (Paolo M)
21. Page break completely destroyed (Andreas Plihal)
22. Re: crash inserting branch (Scott Kostyshak)
23. Re: Page break completely destroyed (Herbert Voss)
24. Page break completely destroyed (Andreas Plihal)


--

Message: 1
Date: Thu, 2 May 2024 20:31:23 -0400
From: Richard Kimberly Heck 
To: matan guedj , lyx-users@lists.lyx.org
Subject: Re: Questions about an Idea for a feature in LyX
Message-ID: <0a6b3d44-0fba-265a-0b35-1b2acf539...@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 5/2/24 18:28, matan guedj wrote:
> Hello,
> I don't really know how the mail listing works, new to the concept.
> I've had a few questions revolving around an idea recently trying to
> teach myself pgfplots.
> I'm fairly new to LyX and LaTeX in general (started using both in
> January) and I'm also no programmer but I wanted to add a new feature
> to LyX of a plotting tool.
> What I'm thinking of is on the math bar or some other bar, add a plot
> icon that will open a window with all the parameters for the mostly
> used plots (2D/3D, Cartesian/polar/spherical..., scatter/bars/pie...,
> parametric curves or surfaces, implicit functions, vector fields, and
> more).
> I'm still learning pgfplots but it follows a fairly simple and well
> defined formula for most of the plots so it most likely can be 
automated.

> And now it opens some questions:
>
> 1. Is there a way I can start work on it as a personal project (I
> specifically want it to be a personal thing, to see if I'm capable of
> this, and also it can't look bad on the resume), and when I believe
> it's done and an acceptable feature, present it to the developers and
> implement it for the next version?

Yes, this is an open source project, so anyone can work on it. Whether
something gets accepted into the codebase is a different question, but
this seems like something that could be useful to a lot of people. Doing
what you describe will take some real programming, though we'll all be
happy to point you in the right direction. That kind of discussion is
better on lyx-devel, though.

I should probably warn you that, with 2.4.0 about to be released, it
will be a while before the next major release. The sort of thing you
describe would mean storing new info in the LyX file, which changes the
format of the file. That can only be done at major releases, so this
would have to be for 2.5.0.

That said, LyX already has an extensible ability to include 'external
material'. If you

Re: Avoid inserting \beginL

2024-05-10 Thread Ron Yutkin
>
> You can specify in the Language package "always babel" and pass the option
> in the document class options.
>
>
How do I specify options in the document class options?
My usepackage line is as follows:

\usepackage[bidi=basic, layout=tabular, provide=*]{babel}

Which I assume I should comment out, I then have:

\babelprovide[main, import]{hebrew}

\babelprovide{rl}

Which I assume I shouldn't comment out.


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


Re: Avoid inserting \beginL

2024-05-10 Thread Udicoudco
On Fri, May 10, 2024, 9:06 PM Ron Yutkin  wrote:

> Hi,
>
> I'm using LyX for university and I'm trying to write a document in Hebrew
> but I had to switch to using babel and LuaLaTeX due to some annoying
> packages like so:
> 1. Document Settings > Language > Language package > none
> 2. Latex preamble:
>
> \usepackage[bidi=basic, layout=tabular, provide=*]{babel}
>
> \babelprovide[main, import]{hebrew}
>
> \babelprovide{rl}
>
> 3. File > Export > PDF (LuaTeX)
>
>
> Once I try to export, I "undefined control sequence" on the following
> commands: \beginL, \endL, \beginR, \endR, \R, \L
>
> It seems like LyX adds these around numbers and words in english.
>

Should be fixed in 2.4.0 which is about to release. Can you test with
2.4RC4? It is available in the download page in LyX's web page.

You can specify in the Language package "always babel" and pass the option
in the document class options.

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: 2.4.0~RC4 Keyboard shortcut Command-period

2024-05-09 Thread Jürgen Spitzmüller
Am Mittwoch, dem 08.05.2024 um 00:03 +0300 schrieb fcana...@gmail.com:
> Version 2.4.0~RC4 on Mac seems to have assigned the shortcut Command-
> period to a strange character that looks like a grey dot on screen.
> The Code Preview Pane reveals that it writes “\@.” to the file. Does
> anyone know what this is for? 

That's an "end of sentence period". This is only relevant for some
languages (such as English) where periods at the end of sentences have
more space than within sentences (e.g., after abbreviations).

LaTeX automatically inserts such longer spaces only after lowercase
letters. So if your sentence ends with an uppercase letter ("This is
Richard III.") or a number, you'll need this (in English).

Vice versa, you need a "normal space" (Ctrl+Alt+Space, LateX "\ ")
after periods following lowercase letters within sentences (e.g., with
abbreviations).

> I am unable to assign a different function to Command-period (it says
> “Command disabled” when I try), which used to work fine in version
> 2.3.7.

Might be a variant of
https://www.lyx.org/trac/ticket/12973

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


Re: preview of ert environment inside a table cell has weird bounds

2024-05-09 Thread Jean-Marc Lasgouttes

Le 08/05/2024 à 20:33, matan guedj a écrit :
In using the latest version of LyX (2.3.7) when I insert an ERT 
environment inside a preview, and all of that inside a table cell the 
output on the lyx file takes a huge part of the page-length preview of 
the ERT inside LyX file  (I can't 
fit it all in the screen)


the code inside ERT environment 

but the compiled file actually handles it correctly as you can see in 
the pic here the compiled output 


is there a way to ensure that the preview inside the lyx document itself 
will also be bounded to a certain size. just for ease of readability 
inside the LyX document itself.


Matin,

Could you give us a minimal demo file, so that we can play with it? Do 
you use luatex like Tobias described?


JMarc

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


Re: preview of ert environment inside a table cell has weird bounds

2024-05-09 Thread Tobias Hilbricht
Am Mittwoch, dem 08.05.2024 um 21:33 +0300 schrieb matan guedj:
> In using the latest version of LyX (2.3.7) when I insert an ERT
> environment inside a preview, and all of that inside a table cell the
> output on the lyx file takes a huge part of the page-length preview
> of the ERT inside LyX file (I can't fit it all in the screen)
> the code inside ERT environment
> but the compiled file actually handles it correctly as you can see in
> the pic here the compiled output

I observe the very same with math insets when the preselected output is
with *PDF (luatex)*, but not with pdflatex or xetex. To reproduce, open
a document, document > settings > output > preselected output
PDF(luatex), insert some text and math, close document and open again.
Previews takes up huge space and make work uncomfortable. Remedy /
workaround: Choose output xetex or pdflatex. This is with LyX 2.3.7 and
2.4.0~RC4 on Ubuntu 22.04.4 with 

lualatex --version
This is LuaHBTeX, Version 1.18.0 (TeX Live 2024)
Development id: 7611

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


Re: crash inserting branch

2024-05-08 Thread Scott Kostyshak
On Wed, May 08, 2024 at 12:28:27PM GMT, Paolo M wrote:
> Also saving to another file leads to crash
> Here below the automatic report.
> Here included the two files involved.

And just to confirm, you can reproduce this from a fresh file, with only
the following in the preamble?

  \usepackage{amssymb}
  \DeclareUnicodeCharacter{25A2}{$\square$}

The reason I ask is that I wonder if something else in your main
document is triggering the issue.

Scott


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


Re: overlay and overprint

2024-05-08 Thread Scott Kostyshak
On Wed, May 08, 2024 at 12:14:52PM GMT, Patrick Dupre via lyx-users wrote:
> Hello,
> 
> In an itemized environment (in beamer) with overlay specifications option +-
> I wish to to show a picture only for the second item.
> Without my picture, the items displays normally, one after the other ones.
> I try to show a picture (which must only appear with item 2),
> associated only with the second item, and to have the picture disappearing 
> with the following items,
> and show the items normally (without picture).
> 
> Is there a solution?

If you send a minimal example I can take a look.

Scott


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


Re: crash inserting branch

2024-05-08 Thread Paolo M
Also saving to another file leads to crash
Here below the automatic report.
Here included the two files involved.

p.

--- crash report
(  1) /usr/bin/lyx:
lyx::frontend::Alert::doError(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string,
std::allocator > const&, bool)
(  2) /usr/bin/lyx:
lyx::frontend::Alert::error(std::__cxx11::basic_string, std::allocator > const&,
std::__cxx11::basic_string,
std::allocator > const&, bool)
(  3) /usr/bin/lyx: /usr/bin/lyx(+0x46f1ea) [0x557b1f9f31ea]
(  4) /lib64/libc.so.6: /lib64/libc.so.6(+0x41240) [0x7f77e1641240]
(  5) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e7e04)
[0x7f77e1fe7e04]
(  6) /usr/bin/lyx: /usr/bin/lyx(+0x806155) [0x557b1fd8a155]
(  7) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e8615)
[0x7f77e1fe8615]
(  8) /lib64/libQt6Gui.so.6: QAction::triggered(bool)
(  9) /lib64/libQt6Gui.so.6: QAction::activate(QAction::ActionEvent)
( 10) /lib64/libQt6Core.so.6: QObject::event(QEvent*)
( 11) /lib64/libQt6Widgets.so.6:
QApplicationPrivate::notify_helper(QObject*, QEvent*)
( 12) /usr/bin/lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
( 13) /lib64/libQt6Core.so.6: QCoreApplication::notifyInternal2(QObject*,
QEvent*)
( 14) /lib64/libQt6Core.so.6:
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
( 15) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x3c1fd3)
[0x7f77e21c1fd3]
( 16) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5d710)
[0x7f77e2512710]
( 17) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5f358)
[0x7f77e2514358]
( 18) /lib64/libglib-2.0.so.0:
/lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f77e2514a0c]
( 19) /lib64/libQt6Core.so.6:
QEventDispatcherGlib::processEvents(QFlags)
( 20) /lib64/libQt6Core.so.6:
QEventLoop::exec(QFlags)
( 21) /lib64/libQt6Core.so.6: QCoreApplication::exec()
( 22) /usr/bin/lyx: lyx::LyX::exec(int&, char**)
( 23) /usr/bin/lyx: /usr/bin/lyx(main+0x54) [0x557b1f8c92c4]
( 24) /lib64/libc.so.6: /lib64/libc.so.6(+0x2a1f0) [0x7f77e162a1f0]
( 25) /lib64/libc.so.6: /lib64/libc.so.6(__libc_start_main+0x8b)
[0x7f77e162a2b9]
( 26) /usr/bin/lyx: /usr/bin/lyx(_start+0x27) [0x557b1f8d5095]
--- end

Il giorno mar 7 mag 2024 alle ore 11:17 Paolo M <
paolo.m.pumilia.gnar...@gmail.com> ha scritto:

> Crash happens when the preamble includes the following commands:
>
> \usepackage{amssymb}
>
> \DeclareUnicodeCharacter{25A2}{$\square$}
>
>
> In my test, crash happened at the insertion of a second branch, just
> typing a character in.
>
>
> p.
>
> Il giorno lun 6 mag 2024 alle ore 17:41 Scott Kostyshak 
> ha scritto:
>
>> On Mon, May 06, 2024 at 03:06:00PM GMT, Paolo M wrote:
>> > Crash happens often, not always, as I try to insert text into a newly
>> > created branch.
>> > Every time, I have to reopen lyx. Last modifications saved, luckily.
>>
>> Thanks for the report, Paolo. I can't reproduce. Are you able to try to
>> figure out a simple recipe to reproduce?
>>
>> I tried the following:
>>
>> 1. New document.
>> 2. Insert > Insert New Branch and I called it "blah".
>> 3. Insert text into the branch.
>>
>> Everything seems as expected here.
>>
>> Perhaps you can only reproduce with a particular document?
>>
>> Does the crash happen after you type a letter inside the branch? Or when
>> you move the cursor outside of the branch?
>>
>> 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.
>


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


branch-test-1.lyx
Description: application/lyx


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


Re: Clipping graphics in Lyx

2024-05-07 Thread Rich Shepard

On Tue, 7 May 2024, Brian Kneller via lyx-users wrote:


I have tried clipping graphics to remove white spaces and centre it on the
page. I have been unable to find a detailed  description as to how it
should be done. From my experience I have assumed the zero in the bottom
LHS of the graphic to which a pair of coordinates and associated and
likewise the is another pair on the top RHS. I centre the graphic
horizontally by changing the “x” values on the clipping  entries and this
seems to be quite easy the vertical parameters (y) are more difficult to
adjust. I am finding the outcome of adjustments is difficult to predict
making trimming time consuming. How does the presentation logic respond to
changes in clipping values I suspect the float function interacts with
this?. All my figures are one page high so I really don’t need to float
(?) 1-  would suppressing floating help and if so what is best way ?


Brian,

Perhaps I'm not understanding your issues, so take my comments with this
thought in mind.

When I insert a figure I use the 'insert figure float' icon to open a figure
window. In the caption window I add a label then the caption text. When
done, I use the trackball to set the cursor above the caption. Pressing
Alt-A C centers the cursor in the figure window and that's where I click the
'insert graphics' icon.

Browsing to the figure's location (usually an 'images' subdirectory in the
project's directory tree) I select the figure. When inserted I use
ctrl-shift s to save the figure.

Now I can trim excess space surrounding the image to be seen in the complied
report. Right-clicking on the image itself brings up the settings option.
Clicking on that I select the 'Coordinates' tab and, by trial-and-error
adjust the x and y values until the excess white space (or other unwanted
content) is removed. While doing this I use 'Apply' button instead of the
'Save' button so I can continue trimming until satisfied.

HTH,

Rich

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


Re: crash inserting branch

2024-05-07 Thread Paolo M
Crash happens when the preamble includes the following commands:

\usepackage{amssymb}

\DeclareUnicodeCharacter{25A2}{$\square$}


In my test, crash happened at the insertion of a second branch, just typing
a character in.


p.

Il giorno lun 6 mag 2024 alle ore 17:41 Scott Kostyshak 
ha scritto:

> On Mon, May 06, 2024 at 03:06:00PM GMT, Paolo M wrote:
> > Crash happens often, not always, as I try to insert text into a newly
> > created branch.
> > Every time, I have to reopen lyx. Last modifications saved, luckily.
>
> Thanks for the report, Paolo. I can't reproduce. Are you able to try to
> figure out a simple recipe to reproduce?
>
> I tried the following:
>
> 1. New document.
> 2. Insert > Insert New Branch and I called it "blah".
> 3. Insert text into the branch.
>
> Everything seems as expected here.
>
> Perhaps you can only reproduce with a particular document?
>
> Does the crash happen after you type a letter inside the branch? Or when
> you move the cursor outside of the branch?
>
> 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: Page break completely destroyed

2024-05-06 Thread Herbert Voss




Am 06.05.24 um 16:20 schrieb Andreas Plihal via lyx-users:

I shrink the files again and put them in a 7z archive.


it looks like that you are using multicols in a figure environment, 
which is,

of course, not a good idea. However the pdf output doesn't allow to see
what really happens ...

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


Re: crash inserting branch

2024-05-06 Thread Scott Kostyshak
On Mon, May 06, 2024 at 03:06:00PM GMT, Paolo M wrote:
> Crash happens often, not always, as I try to insert text into a newly
> created branch.
> Every time, I have to reopen lyx. Last modifications saved, luckily.

Thanks for the report, Paolo. I can't reproduce. Are you able to try to
figure out a simple recipe to reproduce?

I tried the following:

1. New document.
2. Insert > Insert New Branch and I called it "blah".
3. Insert text into the branch.

Everything seems as expected here.

Perhaps you can only reproduce with a particular document?

Does the crash happen after you type a letter inside the branch? Or when
you move the cursor outside of the branch?

Scott


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


Re: crash inserting branch

2024-05-06 Thread Paolo M
Crash happens often, not always, as I try to insert text into a newly
created branch.
Every time, I have to reopen lyx. Last modifications saved, luckily.

thanks

p.



Il lun 6 mag 2024, 13:55 Paolo M  ha
scritto:

> sorry, i cannot login at the https://www.lyx.org/trac/wiki/BugTrackerHome
> because i can't see where to register.
> I am using Version 2.4.0~RC4
>
> Here is the the automatic  report:
>
> --- start
> (  1) /usr/bin/lyx:
> lyx::frontend::Alert::doError(std::__cxx11::basic_string std::char_traits, std::allocator > const&,
> std::__cxx11::basic_string,
> std::allocator > const&, bool)
> (  2) /usr/bin/lyx:
> lyx::frontend::Alert::error(std::__cxx11::basic_string std::char_traits, std::allocator > const&,
> std::__cxx11::basic_string,
> std::allocator > const&, bool)
> (  3) /usr/bin/lyx: /usr/bin/lyx(+0x46f1ea) [0x5573fa8d71ea]
> (  4) /lib64/libc.so.6: /lib64/libc.so.6(+0x41240) [0x7fcdb5041240]
> (  5) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e7e04)
> [0x7fcdb59e7e04]
> (  6) /usr/bin/lyx: /usr/bin/lyx(+0x806155) [0x5573fac6e155]
> (  7) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x1e8615)
> [0x7fcdb59e8615]
> (  8) /lib64/libQt6Gui.so.6: QAction::triggered(bool)
> (  9) /lib64/libQt6Gui.so.6: QAction::activate(QAction::ActionEvent)
> ( 10) /lib64/libQt6Core.so.6: QObject::event(QEvent*)
> ( 11) /lib64/libQt6Widgets.so.6:
> QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ( 12) /usr/bin/lyx: lyx::frontend::GuiApplication::notify(QObject*,
> QEvent*)
> ( 13) /lib64/libQt6Core.so.6: QCoreApplication::notifyInternal2(QObject*,
> QEvent*)
> ( 14) /lib64/libQt6Core.so.6:
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> ( 15) /lib64/libQt6Core.so.6: /lib64/libQt6Core.so.6(+0x3c1fd3)
> [0x7fcdb5bc1fd3]
> ( 16) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5d710)
> [0x7fcdb5f12710]
> ( 17) /lib64/libglib-2.0.so.0: /lib64/libglib-2.0.so.0(+0x5f358)
> [0x7fcdb5f14358]
> ( 18) /lib64/libglib-2.0.so.0:
> /lib64/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fcdb5f14a0c]
> ( 19) /lib64/libQt6Core.so.6:
> QEventDispatcherGlib::processEvents(QFlags)
> ( 20) /lib64/libQt6Core.so.6:
> QEventLoop::exec(QFlags)
> ( 21) /lib64/libQt6Core.so.6: QCoreApplication::exec()
> ( 22) /usr/bin/lyx: lyx::LyX::exec(int&, char**)
> ( 23) /usr/bin/lyx: /usr/bin/lyx(main+0x54) [0x5573fa7ad2c4]
> ( 24) /lib64/libc.so.6: /lib64/libc.so.6(+0x2a1f0) [0x7fcdb502a1f0]
> ( 25) /lib64/libc.so.6: /lib64/libc.so.6(__libc_start_main+0x8b)
> [0x7fcdb502a2b9]
> ( 26) /usr/bin/lyx: /usr/bin/lyx(_start+0x27) [0x5573fa7b9095]
> --- end
>
>
> p.
>
> --
> --- 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: Stop command during compilation

2024-05-05 Thread Scott Kostyshak
On Sun, May 05, 2024 at 03:25:42PM GMT, Richard Kimberly Heck wrote:

> Apparently, you did it, Scott!

Ha! I have a strong memory of really wanting to do it, but I don't
remember actually doing it :)

Discussion was here:

  
https://www.mail-archive.com/search?l=mid=20221120230056.xbznerxk4ui4aql4%40gary
> 
> For what it's worth, the previous timeout was 3 minutes. Note that this is
> per-process, so running LaTeX multiple times could take more than 3 minutes,
> and it would not trigger this message.

Note that the main issue where this comes up is with knitr or something
similar (which runs an R program before getting to LaTeX compilation).

Scott


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


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:

I have not either. It's a very long timeout. But if you have lots of images 
that need converting, etc, or programs that have to be compiled, then you 
could see it.


Riki,

That makes sense.

Thanks for explaining.

Regards,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 13:36, Richard Kimberly Heck wrote:

On 5/5/24 11:25, Scott Kostyshak wrote:
On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users 
wrote:

Hi,
  the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either
stop or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.
  Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels 
like it is. That is, during the dialog, I believe the code is still 
running.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.



All that said, I personally would be in favor of removing the dialog, 
now that the user can cancel the process at anytime on their own 
(this didn't use to be possible). I think we had a discussion about 
that but I forgot how others felt about it.


I think we decided it was worth having both, though I am not sure. The 
manual cancellation thing doesn't always work. What might be nice 
would be to make the timeout a preference, and then setting it at 0 
would disable it. Obviously too late to do that for 2.4.0.


Actually, on closer inspection, it turns out we did disable this for 2.4.0:

int timeout_ms()
{
    // Starting in 2.4.0, we allow the user to cancel the background
    // process at any time with LFUN_EXPORT_CANCEL, so the timeout dialog
    // is no longer useful.
    // "-1" effectively disables the timeout (it is a special case in
    // SystemcallPrivate::waitWhile()).
    return -1;
}

Apparently, you did it, Scott!

For what it's worth, the previous timeout was 3 minutes. Note that this 
is per-process, so running LaTeX multiple times could take more than 3 
minutes, and it would not trigger this message.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 14:31, Rich Shepard wrote:

On Sun, 5 May 2024, Richard Kimberly Heck wrote:

There's a timeout for the compilation process in case something goes 
wrong

and it enters an infinite loop. It's a pretty generous time, though I
can't remember what it is, or even where it's set.


Riki,

Well, okay. Guess I never encountered that situation. I've had 
non-printable

characters in bibliographic entries that I didn't catch when copying them
into JabRef or issues with missing TexLive modules, but nothing to ask me
whether I want pdflatex to continue.


I have not either. It's a very long timeout. But if you have lots of 
images that need converting, etc, or programs that have to be compiled, 
then you could see it.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


There's a timeout for the compilation process in case something goes wrong
and it enters an infinite loop. It's a pretty generous time, though I
can't remember what it is, or even where it's set.


Riki,

Well, okay. Guess I never encountered that situation. I've had non-printable
characters in bibliographic entries that I didn't catch when copying them
into JabRef or issues with missing TexLive modules, but nothing to ask me
whether I want pdflatex to continue.

Thanks,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 13:42, Rich Shepard wrote:

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either 
stop

or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.


Riki,

I've never seen this happen. I run only linux and I see the build 
process in
the status bar at the bottom of the LyX window. The process halts only 
when

there's an error somewhere.

A curious mind wants to know,


There's a timeout for the compilation process in case something goes 
wrong and it enters an infinite loop. It's a pretty generous time, 
though I can't remember what it is, or even where it's set.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Rich Shepard

On Sun, 5 May 2024, Richard Kimberly Heck wrote:


the compilation of lyx files is repeatedly interrupted (apparently at
random). A window "LyX: Stop command?" appears. Then you can either stop
or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.


It is. Which is why, if you leave your computer, you can find this dialog AND 
a completed compilation.


Riki,

I've never seen this happen. I run only linux and I see the build process in
the status bar at the bottom of the LyX window. The process halts only when
there's an error somewhere.

A curious mind wants to know,

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


Re: Stop command during compilation

2024-05-05 Thread Richard Kimberly Heck

On 5/5/24 11:25, Scott Kostyshak wrote:

On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote:

Hi,
  
the compilation of lyx files is repeatedly interrupted (apparently at

random). A window "LyX: Stop command?" appears. Then you can either
stop or continue compiling. It is not clear to me when and why this
interruption occurs. Its appearance cannot be controlled by me.
  
Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels like it 
is. That is, during the dialog, I believe the code is still running.


It is. Which is why, if you leave your computer, you can find this 
dialog AND a completed compilation.




All that said, I personally would be in favor of removing the dialog, now that 
the user can cancel the process at anytime on their own (this didn't use to be 
possible). I think we had a discussion about that but I forgot how others felt 
about it.


I think we decided it was worth having both, though I am not sure. The 
manual cancellation thing doesn't always work. What might be nice would 
be to make the timeout a preference, and then setting it at 0 would 
disable it. Obviously too late to do that for 2.4.0.


Riki


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


Re: Stop command during compilation

2024-05-05 Thread Scott Kostyshak
On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote:
> Hi,
>  
> the compilation of lyx files is repeatedly interrupted (apparently at
> random). A window "LyX: Stop command?" appears. Then you can either
> stop or continue compiling. It is not clear to me when and why this
> interruption occurs. Its appearance cannot be controlled by me.
>  
> Please can you help me?

I believe it (should be) at a deterministic time, not random.

And I don't think compilation is actually interrupted, it just feels like it 
is. That is, during the dialog, I believe the code is still running.

All that said, I personally would be in favor of removing the dialog, now that 
the user can cancel the process at anytime on their own (this didn't use to be 
possible). I think we had a discussion about that but I forgot how others felt 
about it.

Scott


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


Re: how to add this shortcut?

2024-05-04 Thread Andrew Parsloe

On 5/05/2024 9:52 am, Richard Kimberly Heck wrote:

On 5/4/24 15:03, matan guedj wrote:
I want to add a shortcut that will open a preview environment and 
inside it opens an ert environment and "insert-preview insert-ert" 
and "\insert-preview \insert-ert" aren't working, so I don't know if 
it's a syntax error or something more fundamental here.


You need to use the command-sequence LFUN to do this. It just tells 
LyX that you are going to give a series of commands. Otehrwise, it 
interprets everything as one command. So something like:


command-sequence insert-preview; insert-ert

Riki


Riki, I believe this is called a "thinko". It should be:

 command-sequence preview-insert; ert-insert

I've considered a shortcut for this sequence but prefer to insert the 
insets separately using  Ctrl+P to insert the preview inset and the LyX 
supplied Ctrl+L to  insert an ert inset. That way I can select text or a 
table and simply tap Ctrl+P to wrap it in a preview inset and see (after 
a pause) the result. If I want an ert inset inside a preview inset then 
I hold down the Ctrl key and tap P then L (which are diagonally adjacent 
on my keyboard).


Andrew

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


Re: centering all ert environments in document

2024-05-04 Thread Richard Kimberly Heck

On 5/4/24 18:12, matan guedj wrote:

hello,
I have multiple ert environments in a lyx document I also put each 
inside a preview environment so that the rendered output is aligned to 
the left, I want to have it such that all the ert (inside preview) are 
aligned to the center, I imagine it's doable with some commands in the 
preamble but I couldn't find out how.


The preview inset is a LyX-only thing, so to speak. It does not 
correspond to anything in LaTeX. It just causes whatever's in it to be 
displayed in LyX as a 'preview'. So there's no way to affect the LaTeX 
output of these, since there isn't any.


To do something like this, you would probably do best to define a custom 
inset that just wraps whatever's inside it in \begin{center} and 
\end{center}. Or, if these previews are in their own paragraph, then 
define a paragraph style to do the same thing.


Riki


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


Re: how to add this shortcut?

2024-05-04 Thread Richard Kimberly Heck

On 5/4/24 15:03, matan guedj wrote:
I want to add a shortcut that will open a preview environment and 
inside it opens an ert environment and "insert-preview insert-ert" and 
"\insert-preview \insert-ert" aren't working, so I don't know if it's 
a syntax error or something more fundamental here.


You need to use the command-sequence LFUN to do this. It just tells LyX 
that you are going to give a series of commands. Otehrwise, it 
interprets everything as one command. So something like:


command-sequence insert-preview; insert-ert

Riki


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


Re: Page break completely destroyed

2024-05-04 Thread Rich Shepard

On Sat, 4 May 2024, Andreas Plihal via lyx-users wrote:


A few days ago, when compiling my 250-page KOMA script book, the page
break was completely destroyed. In my opinion, this error was related to
the problems that MikTeX has also been having for a few days. I was able
to fix the problem (by using the command line), but compiling still
produces extremely poor and completely broken pagination. Please help
me!


Andreas,

I don't use MikTeX, but if you provide a minimal document that exhibits the
problem it will allow others to assist you.

Regards,

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


Re: Questions about an Idea for a feature in LyX

2024-05-02 Thread Richard Kimberly Heck

On 5/2/24 18:28, matan guedj wrote:

Hello,
I don't really know how the mail listing works, new to the concept.
I've had a few questions revolving around an idea recently trying to 
teach myself pgfplots.
I'm fairly new to LyX and LaTeX in general (started using both in 
January) and I'm also no programmer but I wanted to add a new feature 
to LyX of a plotting tool.
What I'm thinking of is on the math bar or some other bar, add a plot 
icon that will open a window with all the parameters for the mostly 
used plots (2D/3D, Cartesian/polar/spherical..., scatter/bars/pie..., 
parametric curves or surfaces, implicit functions, vector fields, and 
more).
I'm still learning pgfplots but it follows a fairly simple and well 
defined formula for most of the plots so it most likely can be automated.

And now it opens some questions:

1. Is there a way I can start work on it as a personal project (I 
specifically want it to be a personal thing, to see if I'm capable of 
this, and also it can't look bad on the resume), and when I believe 
it's done and an acceptable feature, present it to the developers and 
implement it for the next version?


Yes, this is an open source project, so anyone can work on it. Whether 
something gets accepted into the codebase is a different question, but 
this seems like something that could be useful to a lot of people. Doing 
what you describe will take some real programming, though we'll all be 
happy to point you in the right direction. That kind of discussion is 
better on lyx-devel, though.


I should probably warn you that, with 2.4.0 about to be released, it 
will be a while before the next major release. The sort of thing you 
describe would mean storing new info in the LyX file, which changes the 
format of the file. That can only be done at major releases, so this 
would have to be for 2.5.0.


That said, LyX already has an extensible ability to include 'external 
material'. If you look at Insert> File> External Material, you'll see 
all kinds of options there. It would not be difficult to add a pgfplot 
option, I think. This would not provide for the dialog you describe, but 
it would be a start. See Ch 7 of the Embedded Objects help file for how 
this can be done.


I can at least imagine a way of indicating in the external template an 
extra 'page' in the settings dialog that would allow for choosing of 
options, etc, like you describe. So it might not be necessary to write a 
completely new dialog, etc.


2. I also thought that the output on the LyX document itself would be 
a new environment (like the math environment) that can render those 
plots directly into LyX document without the need to compile the 
document to check if the plot is what you really wanted, so how do I 
create such an environment?


LyX already has the ability to display all kinds of things, so I don't 
think that would be difficult. Basically, LyX just needs to be told how 
to convert the file into some graphics format it can display. This can 
be done with 'external material' already.


Riki


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


Re: Calibri Font

2024-04-30 Thread Christopher Menzel
> I am a newbie to Lyx and I am using the Manchester PhD template on the LyX 
> website. Before LyX all my figures and text used Calibri font, it would be 
> great if I could use this in my LyX rendering. I have been on the web and 
> found several options however the solutions are dependant on several modules 
> being present - what is required for Lyx please?

You don’t mention what platform you are on (MacOS? Windows? Linux?) so it makes 
it difficult to answer your question precisely. If you are on Windows, then I 
believe all you need to do in LyX (as Eberhard notes in his reply) is go into 
Document → Settings → Fonts and select “Use non-TeX fonts (via XeTeX/LuaTeX)". 
That should then make all of your Windows system fonts available to you, which 
should include all of Microsoft's “Clear Type” fonts — Calibri, Cambria, etc. 
The same procedure should work under MacOS as long as you have Microsoft Office 
(or, at least, Word) installed. Under Linux, you can find detailed instructions 
for snagging these fonts →HERE 
←. (As I 
understand it, the script used in the Linux process extracts these fonts from a 
free Microsoft application (PowerPoint Viewer 2007) and hence that it is legal 
to install them for personal use.)

Chris Menzel

ps: I would agree with Eberhard in recommending a serif font for your text. :-) 
I am using Cambria (and its associated math font) for a large document and I 
must say it looks quite nice!-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Calibri Font

2024-04-30 Thread Dr Eberhard Lisse
Brian,

have you googled this?

   https://www.google.com/search?q=calibri+latex

gives 94 answers. You would put the commands into the Preamble.


Now, however, comes the obvious question: Why? :-)-O

Calibri, besides being proprietary (and not on CTAN for easy
installation into LaTeX), is a Sans-Serif font.

For a documents Serifs are usually recommended for readability, whereas
Sans Serifs are more for presentations. Obviously this is
debatable :-)-O

There is a huge number of publicly available fonts on CTAN. You can look
at the font catalogue

   https://tug.org/FontCatalogue/

or experiment with a test document containing blindtext (lorem ispum)
and use

   Document -> Settings... -> Fonts

The pulldown will offer a number of fonts and if you untick

   Use non-TeX fonts (via XeTeX/LuaTeX)

it'll offer a (limited) number of fonts and even show if they are
already installed. (You can install via the TeX Live manager).

If you tick it there is a much larger offering, which I assume are the
ones available on the OS (in my case Mac).

I myself am a NoTo fan,by the way, with Source Code Pro for Typewriter.

greetings, el

On 2024/04/29 22:13, Brian Kneller via lyx-users wrote:
> Hello,
> 
> I am a newbie to Lyx and I am using the Manchester PhD template on
> the LyX website. Before LyX all my figures and text used Calibri
> font, it would be great if I could use this in my LyX rendering. I
> have been on the web and found several options however the solutions
> are dependant on several modules being present - what is required for
> Lyx please?
> 
> Thanks in advance ( if I am addressing the wrong groups [please let
> me know)
> 
> Brian Kneller


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


Re: Endnote numbers marked with an asterisk

2024-04-29 Thread Herbert Voss




Am 28.04.24 um 21:39 schrieb Andreas Plihal:

Hi,
Thank you very much for theadvice - it works very well!
Now I have two more questions:

 1. How do I make sure that the star also appears in the list of endnotes?
 2. And how do I make sure that the star doesn't appear before the
number, but after the endnote number?





write into the preamble

\def\enmarkstyle{*}


use instead

\renewcommand\theendnote{\arabic{endnote}*}


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


Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Chris Menzel
On Sun, Apr 28, 2024 at 5:29 AM Gordon Watson via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Thanks all for the responses. As a temporary fix, I am clearing my Mac and
> keeping if for LyX and one special Mac-only app. Email and browsers etc are
> going to a Windows machine. This way, I can get my head back above water
> and see how the LyX M3 saga has developed.
>

I don't understand what "LyX M3 saga" you are referring to here. No one is
reporting any problems running LyX on M3 hardware. You should
experience absolutely no issues running 2.3.7 or the latest 2.4.0 RC on any
recent Mac, let alone a new M3 iMac. Nor do I understand what it is you are
"fixing", as you said you were "happily using LyX 2.3.6.2" under High
Sierra on your current Mac. You only said you needed to upgrade your Mac.
So just get your new Mac, install LyX and get to work. :-)

Chris Menzel

> > On 2024-04-24 22:56, eprb--- via lyx-users wrote:
> >> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
> >> High Sierra, version 10.13.6.
> >>
> >> I need to upgrade my Mac, and I want to ensure continuity with LyX.
> >>
> >> Please: What is the best LyX and new MacOS combination for me?
> >>
> >> PS: I am looking at an iMac with MacOS M3.
> >>
> >> Thanks; LyX101
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Dr Eberhard Lisse
I think this (Windows) is serious underkill :-)-O as this works out of
the box. I use Sonoma 14.4.1 and LyX 2.4.0 RC4 (but 2.3.7.2 workd
without any issues on my Sonoma 14.4.1 M2 MacBook Air)

Safari and Mail.app work very well, even though I use GoogleChrome and
BetterBird (improvement on Thunderbird) myself.


Turns out, that it was the external USB-C Hard Disk used for Time
Machine which caused the panic attacks :-)-O. Disconnected it and
voilà.

So went and bought a new drive and it also gives no problems.


greetings, el

On 2024/04/28 12:19, Gordon Watson via lyx-users wrote:
> Thanks all for the responses. As a temporary fix, I am clearing my
> Mac and keeping if for LyX and one special Mac-only app. Email and
> browsers etc are going to a Windows machine. This way, I can get my
> head back above water and see how the LyX M3 saga has developed. [el,
> reads like you have a nice vendor!] Lyx101
> 
>> On 26 Apr 2024, at 4:36 am, Eberhard W Lisse 
>> wrote:
[...]
>> I got me a Mini with an M2 and maximum RAM. No drama whatsoever,
>> other than that it Kernel Panics 5-6 times per day and so I am
>> awaiting the next software upgrade (ie 14.4.2 or 14.5) and if that
>> doesn't cure it'll go back to the vendor.
>> 
>> el
[...]

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


Re: LyX and MacOS upgrade to M3?

2024-04-28 Thread Gordon Watson via lyx-users
Thanks all for the responses. As a temporary fix, I am clearing my Mac and 
keeping if for LyX and one special Mac-only app. Email and browsers etc are 
going to a Windows machine. This way, I can get my head back above water and 
see how the LyX M3 saga has developed. [el, reads like you have a nice vendor!]
 Lyx101

> On 26 Apr 2024, at 4:36 am, Eberhard W Lisse  wrote:
> 
> Just get the box, install your user from backup, then reinstall MacTex
> and LyX 2.3.7(.2) and you are done.
> 
> LyX is a Universal Build and works out of the box.
> 
> I got me a Mini with an M2 and maximum RAM. No drama whatsoever, other
> than that it Kernel Panics 5-6 times per day and so I am awaiting the
> next software upgrade (ie 14.4.2 or 14.5) and if that doesn't cure
> it'll go back to the vendor.
> 
> el
> 
> 
> On 2024-04-24 22:56, eprb--- via lyx-users wrote:
>> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
>> High Sierra, version 10.13.6.
>> 
>> I need to upgrade my Mac, and I want to ensure continuity with LyX.
>> 
>> Please: What is the best LyX and new MacOS combination for me?
>> 
>> PS: I am looking at an iMac with MacOS M3.
>> 
>> Thanks; LyX101
> 
> 
> -- 
> 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: Endnote numbers marked with an asterisk

2024-04-27 Thread Herbert Voss




Am 27.04.24 um 11:53 schrieb Andreas Plihal via lyx-users:


I use both footnotes and endnotes in my KOMA Script book. If I don't 
intervene, both will be numbered the same way. Unfortunately, the 
reader cannot judge from its appearance alone whether it is a footnote 
or an endnote. I want to mark the footnotes as traditional numbers and 
the endnotes as starred numbers. I use the Enotez package for the 
endnotes. How can I achieve this?


write into the preamble

\def\enmarkstyle{*}

Then in the current text, the endnote gets a preceeding star, but only 
in the

text, not in the list of endnotes.

Herbert

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


Re: Subpixel antialiasing?

2024-04-25 Thread Lorenzo Bertini
Il giorno gio 25 apr 2024 alle ore 23:09 Steve Litt
 ha scritto:
>
> And why? LyX isn't WYSIWYG, so as long as the work area is readable,
> why worry about its typography?
>
> SteveT
>
> Steve Litt
>

Because I have to stare at it for much more than any other text I read
on the computer.

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


Re: Subpixel antialiasing?

2024-04-25 Thread Jean-Marc Lasgouttes
It is a matter of readability on some screens.

JMarc 

Le 25 avril 2024 23:09:14 GMT+02:00, Steve Litt  a 
écrit :
>And why? LyX isn't WYSIWYG, so as long as the work area is readable,
>why worry about its typography?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Subpixel antialiasing?

2024-04-25 Thread Steve Litt
Lorenzo Bertini said on Thu, 25 Apr 2024 20:07:24 +0200

>Dear LyX users,
>does anyone know if subpixel antialiasing can be enabled for LyX's
>workarea? Is yes, how?

And why? LyX isn't WYSIWYG, so as long as the work area is readable,
why worry about its typography?

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX and MacOS upgrade to M3?

2024-04-25 Thread Eberhard W Lisse
Just get the box, install your user from backup, then reinstall MacTex
and LyX 2.3.7(.2) and you are done.

LyX is a Universal Build and works out of the box.

I got me a Mini with an M2 and maximum RAM. No drama whatsoever, other
than that it Kernel Panics 5-6 times per day and so I am awaiting the
next software upgrade (ie 14.4.2 or 14.5) and if that doesn't cure
it'll go back to the vendor.

el


On 2024-04-24 22:56, eprb--- via lyx-users wrote:
> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS
> High Sierra, version 10.13.6.
>
> I need to upgrade my Mac, and I want to ensure continuity with LyX.
>
> Please: What is the best LyX and new MacOS combination for me?
>
> PS: I am looking at an iMac with MacOS M3.
>
> Thanks; LyX101


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


Re: Subpixel antialiasing?

2024-04-25 Thread Jean-Marc Lasgouttes

Le 25/04/2024 à 20:07, Lorenzo Bertini a écrit :

Dear LyX users,
does anyone know if subpixel antialiasing can be enabled for LyX's
workarea? Is yes, how?


What is your platform ? If it is Wayland on Linux it is not possible yet 
because the painting occurs on an intermediary pixmap and this kill 
subpixel aliasing.


I have a patch that can allow to avoid that, at the price of painting 
the whole screen at each update. I am not sure at this point whether the 
performance cost is acceptable.


JMarc

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


Re: LyX and MacOS upgrade to M3?

2024-04-25 Thread Christopher Menzel
On Apr 24, 2024, at 4:10 PM, eprb--- via lyx-users  
wrote:
> I am happily using LyX Version 2.3.6.2 (7 January 2021) with MacOS High 
> Sierra, version 10.13.6.
> 
> I need to upgrade my Mac, and I want to ensure continuity with LyX.
> 
> Please: What is the best LyX and new MacOS combination for me?
> 
> PS: I am looking at an iMac with MacOS M3.

Just get your nice new Mac (running Sonoma presumably), install the latest 
release version of LyX (2.3.7) and upgrade when 2.4 is released, which should 
be quite soon. Both should install and run flawlessly on most any Mac running 
most any reasonably recent version of MacOS.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: grammar check

2024-04-25 Thread Saša Janiška
On Wed, 24 Apr 2024 10:16:37 +
Bernt Lie via lyx-users  wrote:

> Not a perfect solution...

> I copied text from LyX into Microsoft Edge co-pilot following

[...]

> -- I then copied the corrected text from MS Edge back into LyX.

OK, that's similar to using LanguageTool/Andtidote or some other
grammar checker via web...

It would be nice to have something more integrated with LyX!


Sincerely,
Saša

-- 
A person is considered still further advanced when he regards honest
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: grammar check

2024-04-24 Thread Saša Janiška
On Wed, 24 Apr 2024 18:56:43 -0400
Steve Litt  wrote:

> Does LyX have a Markdown export? Is it any better than LyX' HTML
> export?

I'm told about this: https://wiki.lyx.org/Tips/ConvertMarkdown


Sincerely,
Saša

-- 
The working senses are superior to dull matter; mind is higher
than the senses; intelligence is still higher than the mind;
and he [the soul] is even higher than the intelligence.


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


Re: grammar check

2024-04-24 Thread Steve Litt
Saša Janiška said on Wed, 24 Apr 2024 11:24:03 +0200

>Hello,
>
>I've decided to do my note-taking (Zettelkasten) by just using pen &
>paper and when I want to produce some context I'll just use LyX -
>exporting to markdown when I want something for the web 

Does LyX have a Markdown export? Is it any better than LyX' HTML export?

Thanks,

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Pavel Sanda
On Wed, Apr 24, 2024 at 04:07:51PM +0200, Tobias Hilbricht wrote:
> > Apart from that, I could upload your scripts into wiki upload section
> > if you want to just link them.
> 
> Yes, that would be good, that makes it easier to install and use.

Ok, it is now at: https://wiki.lyx.org/uploads/Examples/gnuplot.xtemplate/
you can link to the file from wiki via 
uploads:/Examples/gnuplot.xtemplate/file...

> > And we could also mention in in our
> > manuals if you send me the pach :) Up to you.
> 
> What do you mean here?

We have some mention of .gp files in user guide of lyx 2.5:
https://www.lyx.org/trac/export/f3c5ff9cb72c5231f1e1e81452e67d6f12dadecb/lyxgit/lib/doc/UserGuide.lyx

You can edit the footnote about gnuplot (with lyx 2.4 if you have it) to 
mention the
template in wiki page and its advantage - then send the update of the UG to me, 
I'll commit it.

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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Tobias Hilbricht
Am Dienstag, dem 23.04.2024 um 11:01 +0200 schrieb Pavel Sanda:
> On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote:
> > 
> > With gnuplots as external material (gnuplot.xtemplate) something
> > similar to the inkscape.xtemplate and the xfig.xtemplate happens:
> > Labels and numbers appear in the document font, which looks way
> > better
> > and is less confusing than having different fonts in the plot. And
> > LaTeX math input is rendered.

> Ok, I see. I think it would be good to put this explanation in the
> wiki.

I have put the explanation into the wiki.

> Apart from that, I could upload your scripts into wiki upload section
> if you want to just link them.

Yes, that would be good, that makes it easier to install and use.

> And we could also mention in in our
> manuals if you send me the pach :) Up to you.

What do you mean here?

> I could even see something like that landing as part of lyx 2.5,
> if there is demand (or/and some active dev who would review/use
> this stuff).

Yes, it would be good if it gets tested on other systems (It works here
nicely on Ubuntu 22.04.4 with LyX 2.4.0~RC4 and gnuplot 5.4 patchlevel
2).

Tobias

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


RE: grammar check

2024-04-24 Thread Bernt Lie via lyx-users
(The procedure worked, even though I see that I misspelled "grammar"...)

-Original Message-
From: lyx-users  On Behalf Of Bernt Lie via 
lyx-users
Sent: Wednesday, April 24, 2024 12:17 PM
To: Saša Janiška ; lyx-users@lists.lyx.org
Subject: RE: grammar check

Not a perfect solution...

I copied text from LyX into Microsoft Edge co-pilot following 
(https://www.microsoft.com/en-us/bing/do-more-with-ai/how-to-check-your-grammar-using-bing-chat?form=MA13KP).

I used command: "Can you check this text for spelling errors and grammer 
errors?", and passed in the text to check *after* a line break (Ctrl+Enter, I 
think), and then clicked on the start button.

The results seems to be quite good, although it "fixed" a handful of errors 
that were not really errors, but rather words that co-pilot didn't know (some 
technical words from dna analysis). 
--
I then copied the corrected text from MS Edge back into LyX.

The "downside" of this procedure is that some structure was lost in the copying 
back-and-forth process (a slash "/", some bullet symbols in lists, etc.). 

-B

-Original Message-
From: lyx-users  On Behalf Of Saša Janiška
Sent: Wednesday, April 24, 2024 11:24 AM
To: lyx-users@lists.lyx.org
Subject: grammar check

Hello,

I've decided to do my note-taking (Zettelkasten) by just using pen & paper and 
when I want to produce some context I'll just use LyX - exporting to markdown 
when I want something for the web (using Tiki
CMS) or LyX/LaTeX for writing articles (pdfs), slide-presentations, books…

However, being non-native speaker/writer I do find useful to use some grammar 
checkers.

To support LanguageTool I've subscribed to Premium version, but found out that 
despite being open-source etc. it has its limitations (see e.g. 
https://github.com/valentjn/ltex-ls/issues/215).

Otoh, I've a licence for proprietary Antidote
(https://www.druide.com/en) which can check text provided as e.g.
markdown, LaTeX...

Now I wonder if you have any suggestion how to review lyx-gc to either support 
newer versions of LanguageTool or to use Antidote's ability to grammar-check 
LaTeX markup considering that lyx-gc was using chktex to do the task.

Any other suggestion how to add grammar-check feature to LyX?


Sincerely,
Saša

--
As the embodied soul continuously passes, in this body, from boyhood to youth 
to old age, the soul similarly passes into another body at death. A sober 
person is not bewildered by such a change.


-- 
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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: grammar check

2024-04-24 Thread Bernt Lie via lyx-users
Not a perfect solution...

I copied text from LyX into Microsoft Edge co-pilot following 
(https://www.microsoft.com/en-us/bing/do-more-with-ai/how-to-check-your-grammar-using-bing-chat?form=MA13KP).

I used command: "Can you check this text for spelling errors and grammer 
errors?", and passed in the text to check *after* a line break (Ctrl+Enter, I 
think), and then clicked on the start button.

The results seems to be quite good, although it "fixed" a handful of errors 
that were not really errors, but rather words that co-pilot didn't know (some 
technical words from dna analysis). 
--
I then copied the corrected text from MS Edge back into LyX.

The "downside" of this procedure is that some structure was lost in the copying 
back-and-forth process (a slash "/", some bullet symbols in lists, etc.). 

-B

-Original Message-
From: lyx-users  On Behalf Of Saša Janiška
Sent: Wednesday, April 24, 2024 11:24 AM
To: lyx-users@lists.lyx.org
Subject: grammar check

Hello,

I've decided to do my note-taking (Zettelkasten) by just using pen & paper and 
when I want to produce some context I'll just use LyX - exporting to markdown 
when I want something for the web (using Tiki
CMS) or LyX/LaTeX for writing articles (pdfs), slide-presentations, books…

However, being non-native speaker/writer I do find useful to use some grammar 
checkers.

To support LanguageTool I've subscribed to Premium version, but found out that 
despite being open-source etc. it has its limitations (see e.g. 
https://github.com/valentjn/ltex-ls/issues/215).

Otoh, I've a licence for proprietary Antidote
(https://www.druide.com/en) which can check text provided as e.g.
markdown, LaTeX...

Now I wonder if you have any suggestion how to review lyx-gc to either support 
newer versions of LanguageTool or to use Antidote's ability to grammar-check 
LaTeX markup considering that lyx-gc was using chktex to do the task.

Any other suggestion how to add grammar-check feature to LyX?


Sincerely,
Saša

--
As the embodied soul continuously passes, in this body, from boyhood to youth 
to old age, the soul similarly passes into another body at death. A sober 
person is not bewildered by such a change.


-- 
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: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-23 Thread Pavel Sanda
On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote:
> thank you for asking. When just using .gp filename directly as graphics
> inset the fonts in the plot are not the same as document fonts. E. g.
> in default settings you have CM fonts in the document and Helvetica in
> the gnuplot. Furthermore, direct graphic insets do not render LaTeX
> math in a gnuplot.
> With gnuplots as external material (gnuplot.xtemplate) something
> similar to the inkscape.xtemplate and the xfig.xtemplate happens:
> Labels and numbers appear in the document font, which looks way better
> and is less confusing than having different fonts in the plot. And
> LaTeX math input is rendered.
> I have attached a PDF showing the difference and a sample another-
> gnuplot-example.gp which contains LaTeX math.

Ok, I see. I think it would be good to put this explanation in the
wiki.

Apart from that, I could upload your scripts into wiki upload section
if you want to just link them. And we could also mention in in our
manuals if you send me the pach :) Up to you.

I could even see something like that landing as part of lyx 2.5,
if there is demand (or/and some active dev who would review/use
this stuff).

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


Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Pavel Sanda
On Sun, Apr 21, 2024 at 03:03:15PM +0200, Tobias Hilbricht wrote:
> I copied gnuplot.xtemplate and the converter scripts in Python along
> with instructions for setup and configuration on? in? the LyX wiki:
> 
> https://wiki.lyx.org/Tools/GnuplotInLyX

What is the advantage here compared to just using .gp filename directly
in graphics inset?

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


Aw: Re: Index is not displayed

2024-04-21 Thread Andreas Plihal via lyx-users
Hi Riki,

 

many thanks for your response. I have a few questions about your suggestions that I would like to quote:

 

 

    I have sometimes had trouble with the index not displaying the first time I export a file. If I change something trivial (add a space at the end of a paragraph, say) and re-export, then it appears.

 

I have already made many, many changes to my 250-page book, which is far from finished. There will probably have been spaces at the end of some paragraphs. Unfortunately that had no effect.

 

   One way to try to debug this would be to export the file to LaTeX and run everything manually. 

 

Unfortunately I don't understand this: How do I export the file to LaTeX and how do I do everything manually?

 

   Or just launch LyX from a terminal, and watch the output when you export. 

 


How do I start LyX from a terminal? And how do I observe the output when exporting?


Andreas


 

Gesendet: Samstag, 13. April 2024 um 19:30 Uhr
Von: "Richard Kimberly Heck" 
An: "Andreas Plihal" , lyx-users@lists.lyx.org
Betreff: Re: Index is not displayed



On 4/13/24 12:31, Andreas Plihal via lyx-users wrote:



Dear Herbert, 

 

I think you are responding to an email from me that is already out of date. 

 

Meanwhile I sent another file WME_Index.lyx, which uses the text processor texindy. Jürgen recommended it to me. Unfortunately that didn't work either.

 

I can't find the xindex processor you mentioned in my selection list. Instead I find xindy. Did you perhaps mean that? It doesn't work with xindy either.

 

Even if, as you suggested, I use makeindex as the processor and enter the option "-s german.ist" (Jürgen commented that he cannot find german.ist on his computer), the index is not displayed.



I have sometimes had trouble with the index not displaying the first time I export a file. If I change something trivial (add a space at the end of a paragraph, say) and re-export, then it appears.

One way to try to debug this would be to export the file to LaTeX and run everything manually. Or just launch LyX from a terminal, and watch the output when you export. Either should give you more information.

Riki

 





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


Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Tobias Hilbricht
I copied gnuplot.xtemplate and the converter scripts in Python along
with instructions for setup and configuration on? in? the LyX wiki:

https://wiki.lyx.org/Tools/GnuplotInLyX

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


Re: Help with gnuplot xtemplate needed

2024-04-20 Thread Tobias Hilbricht
I got it myself after a lot of trying and comparing:

In my file gnuplot.xtemplate I wrote "InputFormat gp", because
"InputFormat" and FileFilter extension are the same in the case of Xfig
(fig) and Inkscape (svg), but not with gnuplot: "InputFormat gnuplot"
and FileFilter .gp works!

For anyone interested I attached my working gnuplot.xtemplate. 

Sorry for making noise!

Tobias


Am Samstag, dem 20.04.2024 um 08:44 +0200 schrieb Tobias Hilbricht:
> Dear LyX-user,
> 
> I would like to have a gnuplot xtemplate. To that end I wrote a shell
> script gnuplot2pdftex.sh like this:
> 
> #!/bin/bash
> GnuplotFile=$1
> BaseName=`basename $GnuplotFile .gp`
> GnuplotName=$BaseName.ptx
> LyxName=$BaseName.pdf_tex
> gnuplot -e "set term cairolatex pdf ; set output '${GnuplotName}' "
> $GnuplotFile
> mv $GnuplotName $LyxName
> 
> This script works on the command line, and I can input the resulting
> file gnuplot.pdf_tex in LyX, and if I put it in a preview box I get a
> preview, and the document compiles.
> 
> I have similar scripts for pstex, png and eps in
> ~/.lyx/scripts and define converters like this:
> 
> \converter "gnuplot" "pdftex2" "$$s/scripts/gnuplot2pdftex.sh $$i
> $$o"
> "needauth"
> 
> and have a file gnuplot.xtemplate written after the model of
> inkscape.xtemplate in ~/.lyx/xtemplate
#
# Gnuplot External Template
#
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.
#
# author Tobias Hilbricht
#
# based on external templates by:
#
# author Asger Alstrup Nielsen
# author Angus Leeming
# author Johnathan Burchill
#
# Full author contact details are available in file CREDITS.


PreambleDef WarnNotFound
%% Print a warning encased in an fbox.
\def\lyxstripprefix#1>{}
\newcommand{\warnNotFound}[1]{%
\def\lyxtempfilename{#1}%
\fbox{Could not find

\ttfamily\expandafter\lyxstripprefix\meaning\lyxtempfilename!}%
\typeout{Could not find \lyxtempfilename!}%
}
PreambleDefEnd


PreambleDef InputOrWarn
%% Input the file if it exists, using \input, else print a warning
\newcommand{\inputOrWarn}[1]{%
\IfFileExists{#1}{\input{#1}}{\warnNotFound{#1}}}
PreambleDefEnd


Template Gnuplot
GuiName "Gnuplot"
HelpText
A Gnuplot figure.
Note that using this template automatically uses the 
document text in the image (like with the Xfig template).
HelpTextEnd
InputFormat gnuplot
FileFilter "*.{gp}"
AutomaticProduction true
Transform Rotate
Transform Resize
Preview InstantPreview
Format PDFLaTeX
TransformCommand Rotate RotationLatexCommand
TransformCommand Resize ResizeLatexCommand
Product 
"$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.pdf_tex}$$ResizeBack$$RotateBack"
UpdateFormat pdftex2
UpdateResult "$$AbsPath$$Basename.pdf_tex"
Requirement "xcolor"
Requirement "graphicx"
Requirement "mathtools"
# Preamble WarnNotFound
# Preamble InputOrWarn
ReferencedFile pdflatex "$$AbsOrRelPathMaster$$Basename.pdf_tex"
ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
FormatEnd
Format LaTeX
TransformCommand Rotate RotationLatexCommand
TransformCommand Resize ResizeLatexCommand
Product 
"$$RotateFront$$ResizeFront\\input{$$AbsOrRelPathMaster$$Basename.ps_tex}$$ResizeBack$$RotateBack"
UpdateFormat pstex2
UpdateResult "$$AbsPath$$Basename.ps_tex"
Requirement "xcolor"
Requirement "graphicx"
Requirement "mathtools"
# Preamble WarnNotFound
# Preamble InputOrWarn
ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.ps_tex"
ReferencedFile latex "$$AbsPath$$Basename.eps"
ReferencedFile dvi   "$$AbsPath$$Basename.eps"
FormatEnd
Format Ascii
Product "[InkscapeGraphics: $$FName]"
FormatEnd
Format DocBook
Product ""
UpdateFormat eps
UpdateResult "$$AbsPath$$Basename.eps"
ReferencedFile docbook "$$AbsPath$$Basename.eps"
ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
FormatEnd
Format XHTML
Product ""
UpdateFormat svg
UpdateResult "$$AbsPath$$Basename.svg"
ReferencedFile xhtml "$$AbsPath$$Basename.svg"
FormatEnd
TemplateEnd

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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Eberhard W Lisse
I would use LibreOffice and the latest Writer2LaTeX in the "UltraClean"
configuration. Then text2lyx the file and see what happens.

el


On 2024-04-17 22:57, Brian Kneller via lyx-users wrote:
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a
> PhD (75K words)and approx 80 figures, the text in Mac-word and the
> figures are in Adobe Illustrator so I have some flexibility in
> Format. Also there are many references. I hold all my references and
> comments on them in Bookends. I regret not looking at lyx/latex and
> using them much earlier so I am looking for an easy way to migrate
> this info into Lyx and I am also looking for a Thesis  template. I
> have dowloaded and installed Lyx on my Macbook Pro (Mavericks) and
> been thro the intro etc. I am trying to minimise the effort in
> migration to Lyx so any comments and advice is most welcome.
> 
> Thanks in anticipation
> 
> Regds
> 
> Brian Kneller 
> 


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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Christopher Menzel
> Le 18/04/2024 à 16:59, Christopher Menzel a écrit :
>>> Maybe you need enchant (default on debian), it uses different spell 
>>> checkers.
>>> 
>> Thank you for the suggestion. I finally got the bright idea of looking 
>> through the configure script for relevant flags and found 
>> “--with-included-hunspell”. Apparently, by default the script looks for an 
>> installed version of hunspell instead of using the version that’s included 
>> in the distribution and, for some reason, it wasn’t able to find my 
>> installed version of hunspell. But configuring with the above flag did the 
>> trick. My document is now nicely littered with wavy red underlines (as 
>> desired!). :-)
> 
> Hi,
> 
> To compile with support for the installed hunspell, you need to install the 
> libhunspell-dev package.

Hm, I don’t have libhunspell-dev installed but I definitely have spellchecking 
support and Hunspell now shows up as the spellchecker in Preferences.

-chris


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Anders Ekberg via lyx-users

> 18 apr. 2024 kl. 17:20 skrev Jean-Marc Lasgouttes :
> 
> Le 18/04/2024 à 16:59, Richard Kimberly Heck a écrit :
>>> On 4/17/24 16:57, Brian Kneller via lyx-users wrote:
>>> Hi,
>>> 
>>> I hope I am in the correct space. — I have prepared a thesis for a PhD  
>>> (75K words)and approx 80 figures, the text in Mac-word and the figures are 
>>> in Adobe Illustrator so I have some flexibility in Format. Also there are 
>>> many references. I hold all my references and comments on them in Bookends. 
>>> I regret not looking at lyx/latex and using them much earlier so I am 
>>> looking for an easy way to migrate this info into Lyx and I am also looking 
>>> for a Thesis  template. I have dowloaded and installed Lyx on my Macbook 
>>> Pro (Mavericks) and been thro the intro etc. I am trying to minimise the 
>>> effort in migration to Lyx so any comments and advice is most welcome.
>> It should not be difficult to convert the main bulk of the text. You can 
>> export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, then 
>> import the LaTeX document into LyX.
> 
> I will add that this is true if your Word document uses styles for things 
> like sections. Also, I am not sure what is going to happen if you have math 
> equations.
> 
> JMarc

Math equations at least work fine the other way around I.e. LyX to Word if you 
follow the approach on the lyx wiki
/Anders
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Stephen Buonopane


> On Apr 17, 2024, at 4:57 PM, Brian Kneller via lyx-users 
>  wrote:
> 
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
> words)and approx 80 figures, the text in Mac-word and the figures are in 
> Adobe Illustrator so I have some flexibility in Format. Also there are many 
> references. I hold all my references and comments on them in Bookends. I 
> regret not looking at lyx/latex and using them much earlier so I am looking 
> for an easy way to migrate this info into Lyx and I am also looking for a 
> Thesis  template. I have dowloaded and installed Lyx on my Macbook Pro 
> (Mavericks) and been thro the intro etc. I am trying to minimise the effort 
> in migration to Lyx so any comments and advice is most welcome.
> 

Here is a page with thesis templates for LyX
https://wiki.lyx.org/Examples/Thesis

If your university has a latex template, you can usually adapt that to LyX with 
some combination of using the Document->Settings->Preamble and the LyX layout 
file. 

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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Jean-Marc Lasgouttes

Le 18/04/2024 à 16:59, Christopher Menzel a écrit :
Maybe you need enchant (default on debian), it uses different spell 
checkers.


Thank you for the suggestion. I finally got the bright idea of looking 
through the configure script for relevant flags and found 
“--with-included-hunspell”. Apparently, by default the script looks for 
an installed version of hunspell instead of using the version that’s 
included in the distribution and, for some reason, it wasn’t able to 
find my installed version of hunspell. But configuring with the above 
flag did the trick. My document is now nicely littered with wavy red 
underlines (as desired!). :-)


Hi,

To compile with support for the installed hunspell, you need to install 
the libhunspell-dev package.


JMarc


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Jean-Marc Lasgouttes

Le 18/04/2024 à 16:59, Richard Kimberly Heck a écrit :

On 4/17/24 16:57, Brian Kneller via lyx-users wrote:

Hi,

I hope I am in the correct space. — I have prepared a thesis for a PhD 
 (75K words)and approx 80 figures, the text in Mac-word and the 
figures are in Adobe Illustrator so I have some flexibility in Format. 
Also there are many references. I hold all my references and comments 
on them in Bookends. I regret not looking at lyx/latex and using them 
much earlier so I am looking for an easy way to migrate this info into 
Lyx and I am also looking for a Thesis  template. I have dowloaded and 
installed Lyx on my Macbook Pro (Mavericks) and been thro the intro 
etc. I am trying to minimise the effort in migration to Lyx so 
any comments and advice is most welcome.


It should not be difficult to convert the main bulk of the text. You can 
export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, 
then import the LaTeX document into LyX.


I will add that this is true if your Word document uses styles for 
things like sections. Also, I am not sure what is going to happen if you 
have math equations.


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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Scott Kostyshak
On Wed, Apr 17, 2024 at 09:57:42PM GMT, Brian Kneller via lyx-users wrote:
> Hi, 
> 
> I hope I am in the correct space. — I have prepared a thesis for a PhD  (75K 
> words)and approx 80 figures, the text in Mac-word and the figures are in 
> Adobe Illustrator so I have some flexibility in Format. Also there are many 
> references. I hold all my references and comments on them in Bookends. I 
> regret not looking at lyx/latex and using them much earlier so I am looking 
> for an easy way to migrate this info into Lyx and I am also looking for a 
> Thesis  template. I have dowloaded and installed Lyx on my Macbook Pro 
> (Mavericks) and been thro the intro etc. I am trying to minimise the effort 
> in migration to Lyx so any comments and advice is most welcome.
> 
> Thanks in anticipation
> 
> Regds
> 
> Brian Kneller 

You could also consider a paid solution:

  https://wiki.lyx.org/Tools/LyXConverter

I have no idea what it supports. You might want to contact the author.

Best,
Scott


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


Re: Not able to spellcheck in RC4 under Linux

2024-04-18 Thread Christopher Menzel
> Maybe you need enchant (default on debian), it uses different spell checkers.
> 
Thank you for the suggestion. I finally got the bright idea of looking through 
the configure script for relevant flags and found “--with-included-hunspell”. 
Apparently, by default the script looks for an installed version of hunspell 
instead of using the version that’s included in the distribution and, for some 
reason, it wasn’t able to find my installed version of hunspell. But 
configuring with the above flag did the trick. My document is now nicely 
littered with wavy red underlines (as desired!). :-)

-chris
> Am 17.04.24 um 5:41 PM schrieb Christopher Menzel:
>> I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am
>>  unable to spellcheck. Tools → Spellchecker is greyed out and LyX sees 
>> no spellchecker engine under Preferences → Spellchecker. Hunspell and 
>> the English dictionary are of course installed. I found an old thread 
>> saying that Hunspell support had to be explicitly included at configure 
>> time, but I believe Hunspell is now built in. At any rate, the old 
>> “—use-hunspell” option is not recognized. Spellchecking via Hunspell 
>> works fine in the MacOS version of RC4.

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


Re: Convert Mac Word and Thesis to LyX

2024-04-18 Thread Richard Kimberly Heck

On 4/17/24 16:57, Brian Kneller via lyx-users wrote:

Hi,

I hope I am in the correct space. — I have prepared a thesis for a PhD 
 (75K words)and approx 80 figures, the text in Mac-word and the 
figures are in Adobe Illustrator so I have some flexibility in Format. 
Also there are many references. I hold all my references and comments 
on them in Bookends. I regret not looking at lyx/latex and using them 
much earlier so I am looking for an easy way to migrate this info into 
Lyx and I am also looking for a Thesis  template. I have dowloaded and 
installed Lyx on my Macbook Pro (Mavericks) and been thro the intro 
etc. I am trying to minimise the effort in migration to Lyx so 
any comments and advice is most welcome.


It should not be difficult to convert the main bulk of the text. You can 
export LaTeX from LibreOffice or use Pandoc to convert Word to LaTeX, 
then import the LaTeX document into LyX.


Graphics will be a somewhat different matter. They'll need to be in a 
format LaTeX can handle, and I'm not sure how well the automated 
conversion will handle that.


Citations will also need attention. I would guess that Bookends can 
export the BibTeX format, but the ciations themselves may or may not 
translate smoothly and need manual correction. It may help to open the 
LyX file in a simple text editor and use search and replace to fix 
citation keys.


Whether there's a good thesis template depends upon your specific needs.

Riki

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


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
I'm not using gnuplot at all. But I assume you mean that as long as I have 
produced the input (e.g., Unicode files, plots, etc.), there should be no 
problem. 

-Original Message-
From: José Matos  
Sent: Wednesday, April 17, 2024 6:52 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you trust, 
then there is no risk... or actually the same risk that you had if you run the 
script outside of LyX.
--
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread José Matos
On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you
trust, then there is no risk... or actually the same risk that you had
if you run the script outside of LyX.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Not able to spellcheck in RC4 under Linux

2024-04-17 Thread Eckhard Höffner
Maybe you need enchant (default on debian), it uses different spell 
checkers.


Am 17.04.24 um 5:41 PM schrieb Christopher Menzel:

I have compiled LyX 2.4-RC4 under Kali Linux and it works great but I am
  unable to spellcheck. Tools → Spellchecker is greyed out and LyX sees
no spellchecker engine under Preferences → Spellchecker. Hunspell and
the English dictionary are of course installed. I found an old thread
saying that Hunspell support had to be explicitly included at configure
time, but I believe Hunspell is now built in. At any rate, the old
“—use-hunspell” option is not recognized. Spellchecking via Hunspell
works fine in the MacOS version of RC4.
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


RE: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread Bernt Lie via lyx-users
OK… I just found I had put the “-shell-escape” string in the wrong cell…

I have now changed the preferences, and inserted this string in both of the 
XeTeX and LuaTeX converters from LaTeX to PDF.

Now, I get the (expected) warning that using the “-shell-escape” string is 
*dangerous*.

Question 1:

  *   Dangerous, because LyX is more likely to *crash*, or
  *   Dangerous, because it opens up my computer to hacking??

Experience – here is some listing in LyX:
[cid:image003.png@01DA90D8.A23B6C70]
This expression is taken from a Jupyter Notebook running in VSCode (language: 
Julia), where the symbols are created by “\frakm + TAB \dot + TAB = m\dot + TAB 
v”
…and here is what it looks like when I use XeTeX/LuaTeX:

[cid:image004.png@01DA90D8.F0F27C50]

Questions 2:

  *   Could I expect a better response if I install a font that supports 
Unicode, and specifies this font in the fonts scheme of Listings?
  *   If I install such a font with Unicode support (e.g., JuliaMono), would 
that rule out using XeTeX so that I should use LuaTeX?

Question 3:

  *   If I should use LuaTeX, how can I change LyX so that issuing command 
Ctrl+r produces the PDF using LuaTeX?

-B

From: Bernt Lie 
Sent: Tuesday, April 16, 2024 7:22 PM
To: Bernt Lie ; lyx-de...@lists.lyx.org; lyx-users 

Subject: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)


OK -- this is the status on my on-going experimentation on Windows 11... (I 
hope I'm almost there):



1. I experiment with KOMA script Book

2. I have:

* Upgraded all packages in MikTeX

* Installed Pygments ("pip install Pygments" in Windows Prompt)

* Figured out where the "pygmetize" script is located on my computer,

  and added location to PATH.

* In the LyX document, Documents/Settings/Fonts, checked "use non-TeX fonts

* In the Documents/Settings/Listings, changed "Syntax Highlighting Package" 
to "minted"

  [This didn't work until I set the PATH to "pygmetize"]

* In Tools/Preferences/File Handling/Converters, added "-shell-escape" at 
the end

  of the Converter line:

[cid:image001.png@01DA90D8.479231F0]

  [This line is slightly different from the Embedded document, 
since that assumed pdflatex as converter).



3. STATUS:

[cid:image002.png@01DA90D8.479231F0]



QUESTION 1: What is wrong? I *did* envoke the “-shell-escape” flag, didn’t I?



QUESTION 2: By default, Ctrl+R is keyboard shortcut for generating PDF via 
pdflatex. After I chose “use non-TeX fonts”, Ctrl+R implies generating PDF via 
XeTeX. How can I change the set-up so that Ctrl+R implies using luatex?


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


RE: color names make trouble

2024-04-15 Thread Kees Zeelenberg
On Sun, Apr 14, 2024 at 8:33 AM Andreas Plihal via lyx-users < 
 lyx-users@lists.lyx.org> wrote:

 

I have largely isolated the error (I am attaching the associated file). Now I'm 
faced with the fact that the error is apparently caused by the color names 
(RubineRed, Gray etc.) that I've been using without any problems for over a 
year! What is suddenly going on in the LYX/LATEX world?

 

Andreas

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

 

Andreas,

 

I'm not sure what's happening from your side, but if I disable the fonts you 
have and change "Gray" to "gray", then the line renders for me.

 

Thanks,

Joel 

 

In xcolor, Gray (with first letter in uppercase) is a color model, not a color. 
This can be changed by the option “svgnames” or by the option “dvipsnames”. 
Since here xolor is called by tikz, it is best to give this as an option to the 
documentclass. This worked for me, with pdflatex.

 

Kees

 

 

 

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


Re: color names make trouble

2024-04-14 Thread Joel Kulesza
On Sun, Apr 14, 2024 at 8:33 AM Andreas Plihal via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Hi,
>
> I'm working on a KOMA script book. It contains over a hundred graphics. One
> graphic is particularly complex and I've been working on it for several
> weeks. I drew about 50 curves in it, all of which are made point by point
> according to a complicated scheme:
>
>\draw [color=Gray] (0,1) -- (1,2) -- (2,3) -- (3,4);
>
> This has always worked very well so far. But a few days ago I suddenly
> got an error message.
>
>Package tikz Error: Giving up on this path. Did you forget a semicolon?
>
> I have largely isolated the error (I am attaching the associated file). Now
> I'm faced with the fact that the error is apparently caused by the color
> names (RubineRed, Gray etc.) that I've been using without any problems for
> over a year! What is suddenly going on in the LYX/LATEX world?
>
> Andreas
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users


Andreas,

I'm not sure what's happening from your side, but if I disable the fonts
you have and change "Gray" to "gray", then the line renders for me.

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


Re: Index is not displayed

2024-04-13 Thread Richard Kimberly Heck

On 4/13/24 12:31, Andreas Plihal via lyx-users wrote:

Dear Herbert,
I think you are responding to an email from me that is already out of 
date.
Meanwhile I sent another file WME_Index.lyx, which uses the text 
processor texindy. Jürgen recommended it to me. Unfortunately that 
didn't work either.
I can't find the xindex processor you mentioned in my selection list. 
Instead I find xindy. Did you perhaps mean that? It doesn't work with 
xindy either.
Even if, as you suggested, I use makeindex as the processor and enter 
the option "-s german.ist" (Jürgen commented that he cannot find 
german.ist on his computer), the index is not displayed.


I have sometimes had trouble with the index not displaying the first 
time I export a file. If I change something trivial (add a space at the 
end of a paragraph, say) and re-export, then it appears.


One way to try to debug this would be to export the file to LaTeX and 
run everything manually. Or just launch LyX from a terminal, and watch 
the output when you export. Either should give you more information.


Riki

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing + bits and pieces

2024-04-13 Thread Richard Kimberly Heck

On 4/13/24 03:00, Bernt Lie wrote:

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.


I think it's fair to say that we do, too. It's our policy to change such 
things only when there is a clear reason to do so, and consensus among 
the developers, at least.



* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?


You can make global settings in Document> Settings> Listings.


Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?


Unfortunately, that is hard-coded. It would make a lot of sense for it 
not to be, but be configurable, but that would take some doing (though I 
doubt it would be hard to do). But it would be a format change, so not 
doable until 2.5. But please do file an enhancement request if you wish.


Riki


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


Re: Index is not displayed

2024-04-13 Thread Herbert Voss




Am 13.04.24 um 10:17 schrieb Andreas Plihal via lyx-users:
Sorry - I included the wrong file. The file that I am now attaching 
also matches the text that I wrote in my first email. In this version 
the index does not work.


In your preamble you have
- \emergencystretch 1.5em

This is _not_ a good idea. Should only be used in _rare cases_ if TeX is not
able to justify a paragraph. Then you can use instead

\begin{sloppypar}
text...
\end{sloppypar}

With a global setting of emergencystretch you get Word-like documents ...

- \setlength{\parskip}{\medskipamount}

\setlength{\parindent}{0pt}

This is nonsense for KOMAScript documents. Use the optional class setting

parskip=half-



- You are using the font LinixLibertine which is for ages 
obsolet. Use

Libertinus Serif and Libertinus Sans instead.


- For your options of your makeindex you have:

-s german.ist -t MWE_Index.ilg -o MWE_Index.idx

That's wrong! You define -o MWE_Index.idx as output file, the reason
why you overwrite the input datafile, which is by default MWE_Index.idx.
Use only

-s german.ist

oder simply xindex as Indexprocessor with optional argument

-l de


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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing + bits and pieces

2024-04-13 Thread Bernt Lie via lyx-users
A difference - perhaps -- between a missing Abstract label and the Chapter 
label in *LyX* is that sections headings are quite big compared to the standard 
text, so it is easy to see the difference. While the abstract text font is only 
marginally smaller than the standard text font, so it is more difficult to see 
what it is.

*If* one sets "abstract=on" to enforce "Abstract" to be printed in the PDF 
file, it would perhaps be natural if this text also shows up in LyX.
--
Anyways, this is not a major problem -- I can always switch to the standard 
article style.
--
Thanks a lot for your great job with creating v. 2.4. I really appreciate all 
the work you have put into it, and look forward to start reading the manuals. 
Although I've used LyX for some 10 years or so, I think it will be useful to 
re-read the documentation to better familiarize myself with what is new.

So far,...
* I greatly appreciate that you have not changed the main parts of the user 
interface. I hate it when developers come out with a new version of a tool, and 
the user doesn't recognize where the menus are, etc.

* I have already used the improved system for finding missing citations and 
broken references.

* The search system looks improved.

* These are the main things I have had time to notice in some 3 days, while 
converting a large portion of my key documents from v. 2.3.x to v. 2.4
--

As a person who combines text with loads of math and computer code...
* The Program Listing settings ---
--> Do I set them individually every time I insert a program listing?
--> Or are they document settings, so that if I change one setting (e.g., font 
setting), then this takes precedence for the entire document?
--> The above question is related to how to keep consistency in listings...

Also, I'm using a couple of computer languages that are not supported by 
Program Listing...
* Modelica (for specifying mathematical models)
* Julia

Is there an ASCII file where it is possible to add specifications for more 
computer languages so that they show up in the Program Listing settings?



-Original Message-
From: lyx-users  On Behalf Of Richard Kimberly 
Heck
Sent: Friday, April 12, 2024 10:02 PM
To: Herbert Voss ; lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On 4/12/24 12:42, Herbert Voss wrote:
> Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:
>> Aha! It only adds "Abstract" to the PDF file when using KOMA-script, 
>> not in the LyX editor itself!
>>
>> For the Standard Article style, "Abstract" is inserted into the LyX 
>> editor by default. I find that clarifying, and it would be nice if 
>> the same happened when using KOMA-script.
>
> It is easy to add the abstract part into the LyX layout file of the 
> scrartcl class or creating an own layout file.

For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
     LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

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: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 16:02 -0400 schrieb Richard Kimberly
Heck:
> For some reason, scrclass.inc explicitly removes the heading:

The reason is to indicate on the output. That's intentional. For the
same reason, we remove the chapter labels in KOMA layouts.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Richard Kimberly Heck

On 4/12/24 12:42, Herbert Voss wrote:

Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:
Aha! It only adds "Abstract" to the PDF file when using KOMA-script, 
not in the LyX editor itself!


For the Standard Article style, "Abstract" is inserted into the LyX 
editor by default. I find that clarifying, and it would be nice if 
the same happened when using KOMA-script.


It is easy to add the abstract part into the LyX layout file of the 
scrartcl class

or creating an own layout file.


For some reason, scrclass.inc explicitly removes the heading:

Input stdstruct.inc

Style Abstract
    LabelType No_Label
End

If we're agreed that's wrong, it's easy enough to fix.

Riki


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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 13:41 schrieb Bernt Lie via lyx-users:

Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the 
LyX editor itself!

For the Standard Article style, "Abstract" is inserted into the LyX editor by 
default. I find that clarifying, and it would be nice if the same happened when using 
KOMA-script.



It is easy to add the abstract part into the LyX layout file of the 
scrartcl class

or creating an own layout file.

Herbert




-Original Message-
From: lyx-users  On Behalf Of José Matos
Sent: Friday, April 12, 2024 1:02 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:

Thanks.
  
I have tried with inserting the text “abstract=on” (with and withough

prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does not 
change how the document looks in lyx.

--
José Abílio
--
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 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Rich Shepard

On Fri, 12 Apr 2024, José Matos wrote:


So the question is if the label should be there for consistency. I am
inclined to say yes but I have no strong feelings about this. :-)


On 2.3.7.1 The word "Abstract" appears on the LyX screen when the document
is scrreport (KOMA-Script Report) and on the PDF (pdflatex) but only in the
body text font and left-aligned. It used to be in a section font and
centered.

HTH,

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 12:27 + schrieb Bernt Lie:
> As far as I know, KOMA is independent of LyX. So I don't understand
> why inserting the label "Abstract" in the LyX *editor* can be seen as
> overriding KOMA's default settings. 

Well, it indicates what people can expect in the output (at least by
default)

> At least not if the user inserts the command "abstract=on" in the
> settings.

That's not possible.

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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
As far as I know, KOMA is independent of LyX. So I don't understand why 
inserting the label "Abstract" in the LyX *editor* can be seen as overriding 
KOMA's default settings. 

At least not if the user inserts the command "abstract=on" in the settings.


-Original Message-
From: lyx-users  On Behalf Of Jürgen 
Spitzmüller
Sent: Friday, April 12, 2024 1:52 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> For the Standard Article style, "Abstract" is inserted into the LyX 
> editor by default. I find that clarifying, and it would be nice if the 
> same happened when using KOMA-script.

No, we don't want to override KOMA's default settings, which are well 
rationalized in the manual.

--
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 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 11:41 + schrieb Bernt Lie via lyx-
users:
> For the Standard Article style, "Abstract" is inserted into the LyX
> editor by default. I find that clarifying, and it would be nice if
> the same happened when using KOMA-script.

No, we don't want to override KOMA's default settings, which are well
rationalized in the manual.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.04.2024 um 09:41 + schrieb Bernt Lie via lyx-
users:
> When I use KOMA script and Article style, and insert an Abstract, the
> headline "Abstract" is not inserted. This is different from previous
> versions, I think??

No, it has been the case for KOMA since a long time (always?)

> Is this a bug?

No. See KOMA script manual, sec. 3.8 and the abstract={on,off} KOMA
script option.

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


RE: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Bernt Lie via lyx-users
Aha! It only adds "Abstract" to the PDF file when using KOMA-script, not in the 
LyX editor itself!

For the Standard Article style, "Abstract" is inserted into the LyX editor by 
default. I find that clarifying, and it would be nice if the same happened when 
using KOMA-script.

-Original Message-
From: lyx-users  On Behalf Of José Matos
Sent: Friday, April 12, 2024 1:02 PM
To: lyx-users@lists.lyx.org
Subject: Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:
> 
> Thanks.
>  
> I have tried with inserting the text “abstract=on” (with and withough 
> prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does not 
change how the document looks in lyx.

--
José Abílio
--
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 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread José Matos
On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:
> 
> Thanks.
>  
> I have tried with inserting the text “abstract=on” (with and withough
> prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does
not change how the document looks in lyx.

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


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread Herbert Voss



Am 12.04.24 um 11:57 schrieb Bernt Lie:


Thanks.

I have tried with inserting the text “abstract=on” (with and withough 
prepending/appending it with “), but this has no effect.




no problem here ... Used File->new, then Document->Settings abd abstract=on.
I have nothing in the added into the preamble.

Herbert

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