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: 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-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: 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 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: 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: Scheduled maintenance of LyX servers (Mar 21, 2024) [done]

2024-03-21 Thread Scott Kostyshak
On Thu, Mar 21, 2024 at 11:42:13PM +0100, Pavel Sanda wrote:
> On Wed, Mar 20, 2024 at 10:23:40AM +0100, Pavel Sanda wrote:
> > we plan to do the major transition of our web infrastructure soon.
> 
> We are done with the transition.
> 
> Basic summary:
> 
> - ftp server for wiki (not the ftp.lyx.org) is deceased.
>   For uploading material use wiki-uploads.git, all developers have rw access.
>   We need to do proxy for users, but I haven't seen this usage in past years,
>   so we are probably fine with that solution.
> 
> - svn server is deceased.
>   dictionary repo moved to dictionaries.git, all devs have rw access.
>   www-user repo moved to www-user.git, previous contributors have rw access.
> 
> - www.lyx.org should work very similarly as before.
> 
> - wiki.lyx.org - there will be more changes here. Many modules seen updates,
>   some modules do no exist anymore/no one updated for new PHP. I tried to fix
>   the most flagrant cases, but I'm sure some corners won't work. 
> 
> - bug tracker (lyx.org/trac) - updated to the most recent version, some
>   UI changes, but it should feel familiar. Few plugins were not ported
>   to new python and do not work anymore - most notable keywords.
>   We allow users to register again, let's see how that goes.
>   Gmail often refuses traffic from trac, JMarc has ambition to spin full
>   fledged mailing service with bells and whistles demanded by google
>   at some moment.
>   
> 
> I'll update relevant descriptions on our web/wiki to reflect the changes
> in the coming days + smaller polishing left out.
> If something does not work, please report back, we may or may not fix it ;)
> 
> This was a long ride, thanks JMarc for beating the trac dragon :)

Thanks a lot to both of you! I don't imagine that was fun, but it certainly was 
very important.

Scott


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


Re: Table in table

2024-03-10 Thread Scott Kostyshak
On Sun, Mar 10, 2024 at 05:05:40PM +0100, Jürgen Spitzmüller wrote:
> Am Sonntag, dem 10.03.2024 um 11:29 -0400 schrieb Scott Kostyshak:
> > By the way, how does this work with RTL languages? Is the cursor
> > connected to the inset when it is on the right of the inset?
> 
> Haven't inspected the code, but after a quick testing I'd say yes. 

Thanks,
Scott


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


Re: Table in table

2024-03-10 Thread Scott Kostyshak
On Sun, Mar 10, 2024 at 04:17:52PM +0100, Jürgen Spitzmüller wrote:
> Am Sonntag, dem 10.03.2024 um 15:15 +0100 schrieb Paolo M:
> > Yes, It works if the cursor is on the right of the math inset. That
> > is strange!
> 
> Not so strange. When the cursor is before the inset, the inset is "at
> point" of (i.e., connected to) the cursor. So in the 2.3 case, with
> this cursor position, LyX passes the table changes to the wrong inset
> (math). At least this would be my ad-hoc analysis.

By the way, how does this work with RTL languages? Is the cursor
connected to the inset when it is on the right of the inset? I wonder
what RTL users expect.

Scott


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


Re: 14.4 font

2024-03-02 Thread Scott Kostyshak
On Sat, Mar 02, 2024 at 03:46:51PM -0800, John White wrote:
> Hi Doc,
> 
> I am doing a brief to a court that requires 
> minimum font size of 14.4 but can't seem to get 
> lyx 2.3.6 to print larger than 12 font.  I use article 
> (standard class). Any suggestions?  

Go to Document > Settings > Document Class and change it to "Article
(Standard Class with Extra Font Sizes)". Then when you click on the
"Fonts" tab, you will see additional entries under "Base size".

Scott


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


Re: Regression: output from LyX 2.4.0 RC3 won't compile (worked with LyX 2.3.7)

2024-02-29 Thread Scott Kostyshak
On Thu, Feb 29, 2024 at 08:51:52AM +0100, Adrian Kieß wrote:
> Dear LyX list and LyX developers,
> 
> I too want to report the in the message below mentioned regression.
> 
> I have a long LyX document, which still works in LyX 2.3 when I save to
> the LyX 2.3 format and open the document on NetBSD with Lyx 2.3.
> 
> Trying to compile the document to PDF (pdflatex) whith LyX 2.4-RC3 on
> Debian/testing fails.
> 
> The errors are the following:
> 
> Paragraph ended before \@newl@bel was complete.
> Extra }, or forgotten \endgroup.
> LaTeX Error: Missing \begin{document}.
> Reference undefined
> 
> Thank you very much for your kind attention.
> 
> Sincerely,
> 
> Adrian Kieß

Dear Adrian,

I'm not sure this issue is known. Would it be possible to make a short
example that shows the issue? Or even a medium-sized .lyx document would
be fine as long as it doesn't depend on other files (e.g., images or
child documents).

This could be a big help so we could catch a bug before the 2.4.0 final release.

Thanks,
Scott



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


Re: Re: Which manual has appendix details?

2024-01-20 Thread Scott Kostyshak
On Sat, Jan 20, 2024 at 03:50:48PM +0100, Daniel via lyx-users wrote:
> On 2024-01-19 23:17, Scott Kostyshak wrote:
> > On Fri, Jan 19, 2024 at 03:01:50PM -0700, Hal Kierstead wrote:
> > > 
> > > 
> > > > On Jan 19, 2024, at 2:54 PM, Scott Kostyshak  wrote:
> > > > 
> > > > On Fri, Jan 19, 2024 at 02:32:21PM -0700, Hal Kierstead via lyx-users 
> > > > wrote:
> > > > > 
> > > > > 
> > > > > > On Jan 19, 2024, at 9:33 AM, Rich Shepard 
> > > > > >  wrote:
> > > > > > 
> > > > > > On Fri, 19 Jan 2024, Paul Rubin wrote:
> > > > > > 
> > > > > > > Section 6.4 of the User's Guide is titled "Appendices". It's 
> > > > > > > rather brief,
> > > > > > > so I don't know if it will answer your question(s).
> > > > > > 
> > > > > > Paul,
> > > > > > 
> > > > > > Thank you. When I scanned the sections in Chapter 6 I missed that 
> > > > > > one.
> > > > > > 
> > > > > > Regards,
> > > > > > 
> > > > > > Rich
> > > > > > -- 
> > > > > > lyx-users mailing list
> > > > > > lyx-users@lists.lyx.org
> > > > > > http://lists.lyx.org/mailman/listinfo/lyx-users
> > > > > 
> > > > > I often find myself looking through several manuals trying to find 
> > > > > information. It would be much better if I could make a single search 
> > > > > of all manuals. Maybe there is a way and I just do not know it.
> > > > 
> > > > Open up advanced find and click on the "settings" tab. Then choose "All 
> > > > manuals".
> > > > 
> > > > Scott
> > > > -- 
> > > > lyx-users mailing list
> > > > lyx-users@lists.lyx.org
> > > > http://lists.lyx.org/mailman/listinfo/lyx-users
> > > 
> > > Very nice Scott. I thought there might be a good way of doing this.
> > > Hal
> > 
> > It would be nice to have something like Help > Search all manuals, and
> > it would essentially open advanced find and set it to search all
> > manuals. Currently it's a bit hidden.
> > 
> > Scott
> 
> Also one cannot currently search the manuals without opening another
> document which is a little odd.

Agreed. We would need to allow the advanced find pane to be opened
without a buffer.

Scott


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


Re: Re: Which manual has appendix details?

2024-01-19 Thread Scott Kostyshak
On Fri, Jan 19, 2024 at 03:01:50PM -0700, Hal Kierstead wrote:
> 
> 
> > On Jan 19, 2024, at 2:54 PM, Scott Kostyshak  wrote:
> > 
> > On Fri, Jan 19, 2024 at 02:32:21PM -0700, Hal Kierstead via lyx-users wrote:
> >> 
> >> 
> >>> On Jan 19, 2024, at 9:33 AM, Rich Shepard  
> >>> wrote:
> >>> 
> >>> On Fri, 19 Jan 2024, Paul Rubin wrote:
> >>> 
> >>>> Section 6.4 of the User's Guide is titled "Appendices". It's rather 
> >>>> brief,
> >>>> so I don't know if it will answer your question(s).
> >>> 
> >>> Paul,
> >>> 
> >>> Thank you. When I scanned the sections in Chapter 6 I missed that one.
> >>> 
> >>> Regards,
> >>> 
> >>> Rich
> >>> -- 
> >>> lyx-users mailing list
> >>> lyx-users@lists.lyx.org
> >>> http://lists.lyx.org/mailman/listinfo/lyx-users
> >> 
> >> I often find myself looking through several manuals trying to find 
> >> information. It would be much better if I could make a single search of 
> >> all manuals. Maybe there is a way and I just do not know it.
> > 
> > Open up advanced find and click on the "settings" tab. Then choose "All 
> > manuals".
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> Very nice Scott. I thought there might be a good way of doing this.
> Hal

It would be nice to have something like Help > Search all manuals, and
it would essentially open advanced find and set it to search all
manuals. Currently it's a bit hidden.

Scott


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


Re: Re: Which manual has appendix details?

2024-01-19 Thread Scott Kostyshak
On Fri, Jan 19, 2024 at 02:32:21PM -0700, Hal Kierstead via lyx-users wrote:
> 
> 
> > On Jan 19, 2024, at 9:33 AM, Rich Shepard  wrote:
> > 
> > On Fri, 19 Jan 2024, Paul Rubin wrote:
> > 
> >> Section 6.4 of the User's Guide is titled "Appendices". It's rather brief,
> >> so I don't know if it will answer your question(s).
> > 
> > Paul,
> > 
> > Thank you. When I scanned the sections in Chapter 6 I missed that one.
> > 
> > Regards,
> > 
> > Rich
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> 
> I often find myself looking through several manuals trying to find 
> information. It would be much better if I could make a single search of all 
> manuals. Maybe there is a way and I just do not know it.

Open up advanced find and click on the "settings" tab. Then choose "All 
manuals".

Scott


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


Re: Failed to clone the git repo of lyx.

2024-01-13 Thread Scott Kostyshak
On Sun, Jan 14, 2024 at 09:06:28AM +0800, Hongyi Zhao wrote:
> Hi,
> 
> I'm trying to clone the git repo of lyx, but always fail, as shown below:
> 
> werner@X10DAi:~$ git clone g...@git.lyx.org:lyx
> Cloning into 'lyx'...
> kex_exchange_identification: Connection closed by remote host
> Connection closed by 127.0.0.1 port 1
> fatal: Could not read from remote repository.

I sometimes have problems as well to clone.

One possibility would be to try the following:

  https://github.com/cburschka/lyx

Note however that (1) it is unofficial and I don't know the owner of
that repository so you have to decide if you trust it; and (2) it is 10
months out of date.

Scott


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


Re: Re: Re: Some bugs with Lyx 2.3 and a lot of bugs with Lyx 2.4 using abntex2 document class

2023-12-30 Thread Scott Kostyshak
On Sat, Dec 30, 2023 at 02:46:18PM -0300, Jéssica Milaré wrote:
> Thank you for the tip. I looked at the manual and figured it out. It's
> quite handy for other operators I am using in my thesis, too.

Great!

Scott


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


Re: Re: Some bugs with Lyx 2.3 and a lot of bugs with Lyx 2.4 using abntex2 document class

2023-12-30 Thread Scott Kostyshak
On Sat, Dec 30, 2023 at 03:27:31PM +0200, Udicoudco wrote:
> On Sat, Dec 30, 2023 at 3:16 PM Jéssica Milaré  wrote:
> >
> > But I think Lyx should not change a literal LaTeX code that I insert 
> > manually.
> 
> I agree. I opened a ticket: https://www.lyx.org/trac/ticket/13022

Thanks a lot for sharing the .lyx file, Jéssica, and to Udi for
reporting the issue.

Jéssica, an off-topic question out of curiosity: do you use instant
preview to view math? If not, do you know about LyX math macros? I
wonder if you might like using a math macro for your \setsep command,
for example. If you don't mind the LaTeX, then no need to change
anything but thought I would ask just in case. If you're curious, I
could make an example .lyx file with a math macro for \setsep.

Scott


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


Re: slow cursor speed

2023-12-18 Thread Scott Kostyshak
On Mon, Dec 18, 2023 at 09:04:24AM -0700, Tim Garrett wrote:
> Scott,
> 
> Sorry to trouble you again. As mentioned below, downgrading to 2.3.0 fixes my 
> slow cursor speed issue. It however does present the new problem of no being 
> able to edit files I have written since. Specifically I get this error 
> message now:
> 
> filepath.lyx is from a newer version of LyX and the lyx2lyx script failed to 
> convert it.
> 
> Is there a straightforward workaround?

Hi Tim,

If you still have access to the newer version of LyX, you can open the file 
there and then go to File > Export > LyX 2.3.x. That should produce a file that 
does open fine in 2.3.0.

Scott


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


Re: GnuPlot

2023-11-30 Thread Scott Kostyshak
On Thu, Nov 30, 2023 at 11:27:22PM +0200, Dr Eberhard W Lisse wrote:
> Can you please post it here, so I can try it on 2.3.7.2 on
> the Mac, where there is no examples button.

Try to go to File > New from Template, then in that dialog go up one directory. 
Then go to Examples. Then gnuplot.lyx

Or just use your file browser to search for a file called "gnuplot.lyx" and 
open it that way.

I think opening example files will be easier in 2.4.0.

Scott


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


Re: GnuPlot

2023-11-30 Thread Scott Kostyshak
On Thu, Nov 30, 2023 at 07:27:01PM +0100, Pavel Sanda wrote:
> On Thu, Nov 30, 2023 at 11:24:36AM -0500, Dan wrote:
> > I'm trying to incoporate GnuPlot into LyX.  As I understand things, I have
> > to add a path for LyX to find it.  How do I go about doing that?
> 
> Works out of the box for me.

Same here (on Ubuntu). Note that we have an example .lyx file that we ship with 
LyX. Go to File > Open Example in 2.4.x. I'm not sure how to open it in 2.3.x. 
Maybe File > Open and then click on the examples button.

Scott


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


Re: slow cursor speed

2023-11-27 Thread Scott Kostyshak
On Mon, Nov 27, 2023 at 01:00:13PM -0700, Tim Garrett wrote:
> Hi Scott,
> 
> I found a clue. The problem of slow cursor speed is not present in 2.3.0, but 
> it is present in all versions subsequent to that.
> 

That's great, Tim! Indeed I think JMarc said there had been some important 
changes between 2.3.0 and 2.3.1. If you ever happen to visit a city where a LyX 
developer lives, perhaps you can meet up and finally figure out the mystery ;).

Scott


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


Re: slow cursor speed

2023-11-18 Thread Scott Kostyshak
On Sat, Nov 18, 2023 at 08:30:16PM -0700, Tim Garrett wrote:
> Hi Scott,
> 
> I backtracked on LyX version to 2.3.0 from 2018. That seems to have fixed
> the slow cursor and typing seed problems fingers crossed. It does however
> introduce a new problem which is the below. If you know a simple fix I
> should be good I hope.
> 
> Thank you
> 
> Tim

Hi Tim,

In the newer LyX, you need to go to file > Export > LyX 2.3.x.

Scott


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


Re: slow cursor speed

2023-11-17 Thread Scott Kostyshak
On Fri, Nov 17, 2023 at 11:47:20AM -0700, Tim Garrett wrote:
> Scott,
> 
> Is it worth trying as an emergency solution reverting to an older version of 
> LyX? If so, any in particular?
> 
> Thanks
> 
> Tim

I don't know. I'm not even sure if an older version of LyX will open on
the newest macOS.

It would be great if we can find someone else who can reproduce this. We
do have a sizable macOS user population, and have never, as far as I've
known, received a report like this.

There's surely a bug somewhere, but I fear we might not be able to
figure out how to squash it if no one else can reproduce 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: slow cursor speed

2023-11-14 Thread Scott Kostyshak
On Tue, Nov 14, 2023 at 08:38:54AM -0700, Tim Garrett wrote:
> Hi Scott,
> 
> Here’s a video showing how it slows down
> https://www.dropbox.com/scl/fi/jtfm92l11orb9254xsz5z/Screen-Recording-2023-11-14-at-7.50.08-AM.mov?rlkey=fzk7aaycqabgul55ipun4ste5=0
> 
> I don’t experience this issue on any other application, including Word or 
> Overleaf.
> 
> Thanks again
> 
> Tim

Thanks, that screencast is very helpful.

Another follow-up question. If you save the document and reopen it, then
are things faster (at the beginning before the problem is triggered
again)? I'm trying to figure out whether the problem is due to the
number of characters you've typed versus the number of characters
present in the document.

Also, can you copy/paste the information in LyX > About ?

Scott


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


Re: slow cursor speed

2023-11-14 Thread Scott Kostyshak
On Tue, Nov 14, 2023 at 07:53:19AM -0700, Tim Garrett wrote:
> Slow typing from the beginning till the end alas. See attached.
> 
> Thanks for looking at this.
> 
> Tim

Thanks, that screencast is very helpful.

Another follow-up question. If you save the document and reopen it, then
are things faster (at the beginning before the problem is triggered
again)? I'm trying to figure out whether the problem is due to the
number of characters you've typed versus the number of characters
present in the document.

Also, can you copy/paste the information in LyX > About ?

Scott


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


Re: slow cursor speed

2023-11-14 Thread Scott Kostyshak
On Mon, Nov 13, 2023 at 11:52:23AM -0700, Tim Garrett wrote:
> Scott, the same is also true of typing speed. If I hold down a letter the 
> rate at which the letter is typed slows down progressively the more letters 
> there are. I type faster, so…
> 
> Tim

Hi Tim,

Thanks for testing the beta version. I can't reproduce that issue. Do you think 
you could make a screencast and post it so we could see how it slows down? 
After the issue occurs, if you take your finger off and wait a second, and then 
start typing is it back to normal (until you trigger the issue)? Or once it 
happens it is slow typing from there on out?

Scott


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


Re: slow cursor speed

2023-11-07 Thread Scott Kostyshak
On Tue, Nov 07, 2023 at 05:24:13PM -0700, Tim Garrett wrote:
> Thank you Scott!
> 
> Found LyX-2.4.0~beta5+qt5-x86_64-arm64-cocoa.dmg in France.
> 
> Did the trick. No cursor problems at all.
> 
> Now *very* happy.
> 
> Tim

That's great, Tim! Remember it's just a pre-release. Final release won't
be for a couple of months. But that's good to know there's some hope!

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: slow cursor speed

2023-11-07 Thread Scott Kostyshak
On Mon, Nov 06, 2023 at 10:07:56AM -0700, Tim Garrett wrote:
> I’m near the point that I have to abandon LyX after using it religiously as
> an academic since 2000 (when it was kLyX-0.12). That makes me *very* sad.
> 
> The problem is that as a paragraph gets longer, the cursor gets slower. The
> paragraph doesn’t have to be very long (e.g. a few sentences) for this to be
> a significant issue. A single paragraph of plain text could be the only
> thing in the document.
> 
> Thanks to those who have helped previously but still no progress. Scouring
> forums, I see others with similar problems but no obviously pertinent
> solutions.
> 
> Many, many thanks for any further advice.
> 
> 
> What I have tried:
> 1. Full reinstall including deleting prior LyX-2.3 folder in Application\
> Support
> 2. Reconfiguring
> 3. Adding to preferences \force_paint_single_char false

That sounds like a very frustrating experience.

Have you tried a pre-release of 2.4.0? I forget if you've already tried
it. It might make things a bit better, and the final release of 2.4.0 is
not too far away.

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: tex2LyX error

2023-09-29 Thread Scott Kostyshak
On Fri, Sep 29, 2023 at 08:28:31AM -0700, Hal Kierstead via lyx-users wrote:
> All - 
> 
> I have a 1227 line LaTeX file that compiles fine. I would like to import it 
> into LyX 2.3.7. Every time I try the import ends at line 543. This is just 
> before an \end{proof}. After adding the missing \end{proof} the shortened LyX 
> file works fine. 
> 
> I have tried importing other LaTeX files without problems. I have also tried 
> restarting LyX. What could be happening?

Could you please make a minimal example .tex file?

Thanks,
Scott


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


Re: Problem converting some svgz

2023-09-15 Thread Scott Kostyshak
On Fri, Sep 15, 2023 at 07:31:01PM +0200, Dan via lyx-users wrote:
> 
> 
> > Both PDFs (attached) display only the shadow of the arrow, not the arrow 
> > itself.
> >
> Forgot to add the attachments, I am dumb :(.

Thanks, this is helpful. This way if we hear of a report of the problem we know 
what the root issue is.

Scott


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


Re: Problem converting some svgz

2023-09-15 Thread Scott Kostyshak
On Tue, Sep 12, 2023 at 06:05:50PM +0200, Dan via lyx-users wrote:
> 
> 
> > I have replaced cairosvg (version 2.5.2) for Inkscape (version 1.3, the 
> > latest AppImage(d)), but the problem partially persists: now the Undo icon 
> > displays properly in workarea and PDF, but Redo does not in neither of 
> > them. See the attached images.
> >
> Sorry, I meant now Redo is not showing properly
>  1. Neither in LyX workarea nor in PDF output when cache is enabled.
>  2. Only in PDF output when cache is disabled.

Can you reproduce the problem directly on the command line with cairosvg and 
inkscape?

Scott


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


Re: Any Windows users test Beta 5 yet?

2023-09-11 Thread Scott Kostyshak
On Tue, Sep 12, 2023 at 04:21:00AM +0300, Udicoudco wrote:
> On Tue, Sep 12, 2023 at 3:38 AM Andrew Parsloe  wrote:
> >
> >
> > On 12/09/2023 9:01 am, Scott Kostyshak wrote:
> > > 2.4.0 Beta 5 was recently released (available here: 
> > > http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/).
> > >
> > > Have any Windows users tested it yet? If so, has it gone smoothly?
> 
> Works great on my laptop.
> 
> > > Also, can you remind me: the beta 5 installs in parallel to your 2.3.x
> > > release right? So you can still use 2.3.x after installing it? Which one
> > > is default? For example, if you double-click to open a .lyx file, does
> > > it open with 2.3.x or with the newly installed Beta 5?
> 
> Yes to all, I think the default is the last one installed, but I'm not sure.
> 
> > I've just installed beta 5 on windows 10. It runs in parallel to 2.3.x.
> > The document I was working on in beta 3 opens and everything seems to be
> > OK except for the desktop icon which is featureless (lacks the LyX).
> > beta 5 is the default, even when clicking on old 2.3.x files.
> 
> Note that the the logo in 2.3.x on windows was not the correct one,
> it should be as in the attached image.

Thanks for the replies, Andrew and Udi! That is helpful to know.

Scott


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


Any Windows users test Beta 5 yet?

2023-09-11 Thread Scott Kostyshak
2.4.0 Beta 5 was recently released (available here: 
http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/).

Have any Windows users tested it yet? If so, has it gone smoothly?

Also, can you remind me: the beta 5 installs in parallel to your 2.3.x
release right? So you can still use 2.3.x after installing it? Which one
is default? For example, if you double-click to open a .lyx file, does
it open with 2.3.x or with the newly installed Beta 5?

I'm going to meet with a friend who I might be able to convince to test
Beta 5, but I wanted to be able to let him know of any known issues, or
anything to look out for.

Thanks,
Scott


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


Re: Problems with insert Graphics on MacOS

2023-09-09 Thread Scott Kostyshak
On Wed, Jul 19, 2023 at 05:22:51PM -0400, Scott Kostyshak wrote:
> On Wed, Jul 19, 2023 at 03:55:40PM +0200, markhsalmon wrote:
> > 
> > Hi Scott
> > Yes of course happy to help you guys in any way.  I am on holiday at the 
> > moment but send it through and I’ll get to it as soon as I can.
> > Cheers
> > Mark
> 
> Great, thanks Mark! I'll make a note to send you an email after our next 
> pre-release with the details.

Hi Mark,

If you're still interested in testing, you can get the just-released
development version here:

  http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/
 
If you save any .lyx file with it, you won't be able to open it in
2.3.x. So only use the test version for seeing what's different and
whether the bug you came across is indeed gone.

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: beamer usability

2023-08-18 Thread Scott Kostyshak
On Fri, Aug 18, 2023 at 11:33:15AM -0400, Neal Becker wrote:
> If I change my workflow it does, I need to only copy/paste the frame
> contents (not the entire frame).  So insert separated frame and then paste
> in the contents does seem to work.  This is probably much better than what
> I was doing.  Thanks!

Great! I know it's not ideal, but I'm not sure there's any quick fix.

Scott


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


Re: beamer usability

2023-08-18 Thread Scott Kostyshak
On Fri, Aug 18, 2023 at 10:59:20AM -0400, Neal Becker wrote:
> On Fri, Aug 18, 2023 at 10:13 AM Scott Kostyshak  wrote:
> 
> > On Fri, Aug 18, 2023 at 07:49:45AM -0400, Neal Becker wrote:
> > > I've been using LyX for quite a while and beamer for even quite a while
> > > longer, but my knowledge of LyX is fairly superficial.
> > >
> > > I frequently produce slides which incorporate a graph on the left with
> > > bulleted text on the right.  An example LaTeX code is below.  I do need
> > to
> > > use ERT for the minipage.  The reason for the minipage is to shrink the
> > > text on the left.  I cut/paste LaTeX here because pasting LyX doesn't
> > seem
> > > to include the ERT.
> > >
> > > Since this structure is a bit tedious to enter I usually prefer to
> > > copy/paste the frame, changing the text and the figure but keeping the
> > > structure.
> > >
> > > This copy/pasting is a bit more difficult than I would hope.  Firstly, to
> > > successfully copy/paste a beamer frame it is best to make sure there is a
> > > frame separator.  Position the cursor just at the end of this frame
> > > separator before the frame you wish to copy, then select down to the end
> > of
> > > the frame.
> > >
> > > When pasting, it seems best to position cursor just after a frame
> > > separator.  If this is not done (frame separators not used) I frequently
> > > wind up with a frame title outside of a frame, a situation that seems
> > > difficult to recover from (although at least 1 time I did fix it by
> > > positioning the cursor near the start of the frame title and selecting
> > > "frame").
> > >
> > > Assuming I've placed the cursor at the end of the graphic of the frame
> > I'd
> > > like to copy, the procedure to get frame separator inserted seems
> > tedious.
> > > 1.  Hit enter.  Now I'm in "columns"
> > > 2. Hit dedent.  Now I'm still in "columns" but outside the frame
> > > 3. Change to "standard" . For some reason, this moves cursor back inside
> > > frame
> > > 4. Hit dedent again.  Now finally I can hit enter to produce the frame
> > > separator.
> > >
> > > Is there an easier way?
> > >
> > > Thanks,
> > > Neal
> >
> > For your specific question, does this thread help you out?
> >
> >   https://www.mail-archive.com/lyx-users@lists.lyx.org/msg104013.html
> >
> > Basically, if you figure out a command sequence that does what you want
> > then you can bind it to a shortcut. I know this isn't out-of-the-box
> > user-friendly, but perhaps it helps your use case.
> >
> > More generally, I've also found similar workflows to be unexpectedly
> > complicated. I think that LyX's beamer workflow needs some improvements.
> > Thankfully, LyX's beamer support was hugely improved several years ago.
> > Before then, from what I understand it was a bunch of Beamer-specific hacks
> > cobbled together; now it is just a well-defined special case of a document
> > class. So I think the hard work is done, and all the required functionality
> > is there, we just need to improve the interface/workflow.
> >
> > I have some ideas, based on sporadic discussions on the list. But I have
> > no time to work on the code, and I do not want to start long conversations
> > unless there is a volunteer willing to work on the code. Anyone who would
> > be interested in working on the code, let me know and I will put the time
> > into organizing my thoughts.
> >
> > In the meantime, I think it would be helpful to collect several use cases
> > that are unexpected complicated, like the one that you bring up.
> >
> > Thanks.  I've never learned about key bindings or command sequences, maybe
> it's time to learn about that.
> Since insert frame separator is no longer on the menu it seems my procedure
> has become more complex.
> I looked at the email thread.  First thing suggest edit/start new parent
> environment(frame).  I don't see this in edit.  I'm on
> lyx-2.4.0beta3.

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

Does Insert > Separated Frame [above/below] help?

Scott


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


Re: beamer usability

2023-08-18 Thread Scott Kostyshak
On Fri, Aug 18, 2023 at 07:49:45AM -0400, Neal Becker wrote:
> I've been using LyX for quite a while and beamer for even quite a while
> longer, but my knowledge of LyX is fairly superficial.
> 
> I frequently produce slides which incorporate a graph on the left with
> bulleted text on the right.  An example LaTeX code is below.  I do need to
> use ERT for the minipage.  The reason for the minipage is to shrink the
> text on the left.  I cut/paste LaTeX here because pasting LyX doesn't seem
> to include the ERT.
> 
> Since this structure is a bit tedious to enter I usually prefer to
> copy/paste the frame, changing the text and the figure but keeping the
> structure.
> 
> This copy/pasting is a bit more difficult than I would hope.  Firstly, to
> successfully copy/paste a beamer frame it is best to make sure there is a
> frame separator.  Position the cursor just at the end of this frame
> separator before the frame you wish to copy, then select down to the end of
> the frame.
> 
> When pasting, it seems best to position cursor just after a frame
> separator.  If this is not done (frame separators not used) I frequently
> wind up with a frame title outside of a frame, a situation that seems
> difficult to recover from (although at least 1 time I did fix it by
> positioning the cursor near the start of the frame title and selecting
> "frame").
> 
> Assuming I've placed the cursor at the end of the graphic of the frame I'd
> like to copy, the procedure to get frame separator inserted seems tedious.
> 1.  Hit enter.  Now I'm in "columns"
> 2. Hit dedent.  Now I'm still in "columns" but outside the frame
> 3. Change to "standard" . For some reason, this moves cursor back inside
> frame
> 4. Hit dedent again.  Now finally I can hit enter to produce the frame
> separator.
> 
> Is there an easier way?
> 
> Thanks,
> Neal

For your specific question, does this thread help you out?

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

Basically, if you figure out a command sequence that does what you want then 
you can bind it to a shortcut. I know this isn't out-of-the-box user-friendly, 
but perhaps it helps your use case.

More generally, I've also found similar workflows to be unexpectedly 
complicated. I think that LyX's beamer workflow needs some improvements. 
Thankfully, LyX's beamer support was hugely improved several years ago. Before 
then, from what I understand it was a bunch of Beamer-specific hacks cobbled 
together; now it is just a well-defined special case of a document class. So I 
think the hard work is done, and all the required functionality is there, we 
just need to improve the interface/workflow.

I have some ideas, based on sporadic discussions on the list. But I have no 
time to work on the code, and I do not want to start long conversations unless 
there is a volunteer willing to work on the code. Anyone who would be 
interested in working on the code, let me know and I will put the time into 
organizing my thoughts.

In the meantime, I think it would be helpful to collect several use cases that 
are unexpected complicated, like the one that you bring up.

Scott


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


Re: Laggy cursor

2023-08-12 Thread Scott Kostyshak
On Sat, Aug 12, 2023 at 11:34:18AM -0600, Tim Garrett wrote:
> In hindsight, should have anticipated the python was unrelated to speed. 
> Apologies
> 
> I’ve minimized applications checking Activity Monitor. Nothing stands out and 
> all other applications work as expected. It’s always just been LyX.

Tim, would you be willing to test the next development version? We are working 
on releasing 2.4.0 and I wonder if somehow 2.4.0 will make your problems go 
away.

Scott


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


Re: In outline, filter only by branch *name*

2023-08-11 Thread Scott Kostyshak
On Fri, Aug 11, 2023 at 10:28:08AM +0200, Jürgen Spitzmüller wrote:
> Am Donnerstag, dem 03.08.2023 um 11:23 -0400 schrieb Paul Rubin:
> > > Is it possible to filter by only the branch *name*?
> > It's a hack, but how about surrounding the branch name (at creation) 
> > with punctuation marks or something else that distinguishes it from 
> > text? For instance, rather than naming the branch "Trivia" you could 
> > name it "bTrivia" (the "b" being applied routinely to branch names)
> > or 
> > "@Trivia" (assuming Elon Musk has no objection) or "*Trivia*".
> 
> Since the branch title is divided by colon from the content in the
> outliner, filtering for "title:" will probably help in most cases

Ah thanks that is a helpful tip! I'll remember that. I just need to remember to 
type the full branch name (rather than a partial match) before the colon.

Scott


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


Re: Laggy cursor

2023-08-09 Thread Scott Kostyshak
On Tue, Aug 08, 2023 at 03:23:03PM -0600, Tim Garrett wrote:
> Thanks again Scott for your response and thoughtful help. I attach the file. 
> I updated LyX to 2.3.7. This has indeed only been a problem in the past 
> couple of years. I’ve sort of tolerated it because I mostly collaborate now 
> rather than writing myself — getting old and rusty. For collaborations I use 
> Overleaf though I still prefer LyX.
> 
> In 2001, KLyX changed my life, but because of the top search result! E

Thanks, Tim. I can't reproduce with the file you sent so that at least rules 
out that theory that I had.

Unfortunately I'm not sure how to proceed.

Scott


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


Re: Laggy cursor

2023-08-09 Thread Scott Kostyshak
On Wed, Aug 09, 2023 at 11:42:20AM +0200, Jean-Marc Lasgouttes wrote:
> 
> 
> Le 8 août 2023 22:42:04 GMT+02:00, Scott Kostyshak  a écrit 
> :
> >By the way, what is KLyX? Was that the original name of LyX? When I search 
> >for KLyX on Wikipedia, it redirects to something surprising; you have my 
> >sympathy if you've been using that since 2001 ;)
> 
> KLyX was a semi-hostile fork of LyX by Mathias Ettrich (LyX creator) after he 
> gave the keys of LyX to go create KDE.
> 
> http://www.lyx.org/WhatAboutKLyX

Ah good to know! I had no idea.

Thanks,
Scott


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


Re: Laggy cursor

2023-08-08 Thread Scott Kostyshak
On Tue, Aug 08, 2023 at 08:23:15AM -0600, Tim Garrett wrote:
> 
> Hi Scott,
> 
> Thank you for the quick response. Definitely not a branch. If the source 
> LaTeX pane is the code preview pane, that is not open either (I also noticed 
> that suggestion searching through threads).
> 
> My troubleshooting step is simply open new file, paste text from a paragraph 
> from some other file, double paste, and notice the difference in cursor speed.
> 
> Thanks again
> 
> Tim

Thanks for those details, Tim!

It's good to know those two theories of mine are not correct.

Thanks for sending your system info in your initial message, that's helpful. In 
particular, it's helpful to know that you're on macOS, if I understand 
correctly. We have definitely seen strange things reported by macOS users the 
last couple years.

I see you are on LyX 2.3.6.2. Can you test the most recent version of LyX? I do 
not see an entry in the changelog from 2.3.6.2 to 2.3.7 
(http://lists.lyx.org/pipermail/lyx-announce/2023/12.html) that appears 
related to your issue, but it's still worth checking. Also, 2.3.7 might be 
compiled with a newer version of Qt which can bring fixes as well so maybe 
you'll get lucky.

By the way, what is KLyX? Was that the original name of LyX? When I search for 
KLyX on Wikipedia, it redirects to something surprising; you have my sympathy 
if you've been using that since 2001 ;)

Do I understand correctly that you did not experience this issue before? If so, 
do you know when the issue started to appear for you? Was it during an upgrade 
of LyX versions?

I haven't heard of this particular issue before from any user (perhaps others 
have?), so it might be difficult to debug and figure out the root cause.

Even though you can reproduce the issue from just opening a new file, it would 
still be helpful for you to send us a file where the cursor speed is slow for 
you. The reason for this is that it's possible to change the default document 
settings of new documents, so a new file for you is not necessarily the same as 
a new file for me. I don't *think* this is the root issue, but it would still 
be helpful to rule it out.

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: Laggy cursor

2023-08-08 Thread Scott Kostyshak
On Mon, Aug 07, 2023 at 04:27:44PM -0600, Tim Garrett wrote:
> I’ve been having a problem with cursor and typing speed. I find the speed of 
> the cursor is inversely proportional to the length of the paragraph I write. 
> Fine for one sentence. Anything more is pretty bad and of course gets 
> tiresome. I’d appreciate any ideas as I’ve been a user since KLyX 0.3 in 2001 
> so pretty much my entire career is now on a super-laggy platform.

Hi Tim,

Are you by chance editing inside a branch inset? I ask because it's a known 
problem that editing is slow inside a large branch.

Second, do you by chance have the source LaTeX pane open (showing the LaTeX)? 
If so, that could cause slowness also.

Scott


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


Re: In outline, filter only by branch *name*

2023-08-04 Thread Scott Kostyshak
On Thu, Aug 03, 2023 at 02:00:39PM -0400, Richard Kimberly Heck wrote:
> 
> On 8/3/23 12:40, Scott Kostyshak wrote:
> > On Thu, Aug 03, 2023 at 11:23:37AM -0400, Paul Rubin wrote:
> > > On 8/3/23 08:50, Scott Kostyshak wrote:
> > > > I have an unhealthy obsession with branches.
> > > I can put you in touch with an arborist who can help you trim them.
> > > > When I use the outline pane and select "Branches" and under filter put 
> > > > the branch name, it also searches the *contents* of the branch insets.
> > > > 
> > > > Is it possible to filter by only the branch *name*?
> > > It's a hack, but how about surrounding the branch name (at creation) with
> > > punctuation marks or something else that distinguishes it from text? For
> > > instance, rather than naming the branch "Trivia" you could name it 
> > > "bTrivia"
> > > (the "b" being applied routinely to branch names) or "@Trivia" (assuming
> > > Elon Musk has no objection) or "*Trivia*".
> > That's a good idea. Best workaround so far.
> 
> This sounds like a bug to me. I guess it's because we put some of the branch
> content into the outliner.

Good to know!

Scott


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


Re: LyX generated preamble package loading order.

2023-08-04 Thread Scott Kostyshak
On Fri, Aug 04, 2023 at 10:27:28AM +0300, Folsk Pratima wrote:

> Then there is still a question as to why the declared module does not do
> what it is supposed to do? Or do you think I should create a different
> thread for this question?

Could you please attach a simple example .lyx file?

Thanks,
Scott


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


Re: In outline, filter only by branch *name*

2023-08-03 Thread Scott Kostyshak
On Thu, Aug 03, 2023 at 11:23:37AM -0400, Paul Rubin wrote:
> On 8/3/23 08:50, Scott Kostyshak wrote:
> > I have an unhealthy obsession with branches.
> I can put you in touch with an arborist who can help you trim them.
> > When I use the outline pane and select "Branches" and under filter put the 
> > branch name, it also searches the *contents* of the branch insets.
> > 
> > Is it possible to filter by only the branch *name*?
> It's a hack, but how about surrounding the branch name (at creation) with
> punctuation marks or something else that distinguishes it from text? For
> instance, rather than naming the branch "Trivia" you could name it "bTrivia"
> (the "b" being applied routinely to branch names) or "@Trivia" (assuming
> Elon Musk has no objection) or "*Trivia*".

That's a good idea. Best workaround so far.

Thanks,
Scott


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


In outline, filter only by branch *name*

2023-08-03 Thread Scott Kostyshak
I have an unhealthy obsession with branches.

When I use the outline pane and select "Branches" and under filter put the 
branch name, it also searches the *contents* of the branch insets.

Is it possible to filter by only the branch *name*?

Thanks,
Scott


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


Re: scrolling

2023-08-01 Thread Scott Kostyshak
On Tue, Aug 01, 2023 at 02:54:53PM -0400, Tom Goldring via lyx-users wrote:
> 
> When writing something in LyX, as soon as I get to the bottom of the window,
> I end up typing the rest of it into the lowest line of the window. Is there
> a way to get LyX to vertically scroll down even if there is no text there?

Tools > Preferences > Editing > Control and click on on "Scroll below end of 
document".

Scott


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


Re: Joining newlines in paste (was: Pasting latex in a lyx file)

2023-07-28 Thread Scott Kostyshak
On Thu, Jul 27, 2023 at 10:28:51PM -0400, Richard Kimberly Heck wrote:
> 
> On 7/27/23 12:07, Pavel Sanda wrote:
> > On Thu, Apr 22, 2021 at 12:38:32PM -0400, Scott Kostyshak wrote:
> > > On Tue, Apr 20, 2021 at 12:15:56AM +0200, Dr Eberhard W Lisse wrote:
> > > > On 2021-04-19 14:47 , Christoph Schmitz wrote:
> > > > > > Am 19.04.2021 um 14:43 schrieb Daniel :
> > > > > > 
> > > > > > On 10/4/21 16:07, Mario D wrote:
> > > > > > > Paul,
> > > > > > > Ctrl+Shift+V works just fine for me, thanks!
> > > > > > > My fault, and I beg your pardon for this, for not having tried the
> > > > > > > relative option in "Edit -> Paste Special" : I just tried the 
> > > > > > > "Paste
> > > > > > > from LaTeX", which doesn't work in my case (I am pasting tikz
> > > > > > > figures, so @rich: I was referring to the second option).  Thank 
> > > > > > > you
> > > > > > > everybody.  :)
> > > > > > Actually, I am wondering whether preserving newlines should be the
> > > > > > default.  I don't think one can expect that the default paste 
> > > > > > command
> > > > > > changes the format that way.  Instead the "special" option should be
> > > > > > paste with removing newlines, I think.
> > > > > > --
> > > > > > Daniel
> > > > [...]
> > > > > I want to second this proposal!
> > > > > 
> > > > > I do not know how much work it would be to create a new setting, which
> > > > > would allow users to use whatever method they prefer.  If I have to
> > > > > chose between the two options, Daniel's proposal is my preference.
> > > > > 
> > > > > Chris
> > > > > 
> > > > Me three :-)-O
> > > I also get confused by this and I think new LyX users are especially 
> > > confused.
> > > I also vote for considering a change of the default behavior.
> > Dear all,
> > 
> > this is one of my last items on the TODO list for the 2.4 release.
> > 
> > Bunch of people expressed their opinion that our default for paste operation
> > should preserve newlines. I do not have strong opinion but agree that in my
> > experience I have to go to Paste Special sub menu quite often to preserve
> > the newlines.
> > 
> > Before looking what would need change, is there reasonable unanimous 
> > agreement
> > that this should be the default or are there folks who prefer current 
> > behaviour
> > which joins the lines by default?
> 
> I agree that the default should be to preserve newlines.

+1

Scott


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


Re: Problems with insert Graphics on MacOS

2023-07-19 Thread Scott Kostyshak
On Wed, Jul 19, 2023 at 03:55:40PM +0200, markhsalmon wrote:
> 
> Hi Scott
> Yes of course happy to help you guys in any way.  I am on holiday at the 
> moment but send it through and I’ll get to it as soon as I can.
> Cheers
> Mark

Great, thanks Mark! I'll make a note to send you an email after our next 
pre-release with the details.

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: Problems with insert Graphics on MacOS

2023-07-19 Thread Scott Kostyshak
On Wed, Jul 19, 2023 at 10:31:26AM +0200, Stephan Witt wrote:
> Am 19.07.2023 um 10:05 schrieb markhsalmon :
> > 
> > This was an error I encountered nearly a year ago and reported about 9 
> > months ago I think- why couldn’t it be fixed in latest release??
> 
> The fix is 4 weeks old. There was no release since then.
>  
> > What can I do to help fix it??  Please!!
> 
> The next release will be with the fix for it.

Mark, would you be interested in testing a pre-release that has the fix in it? 
We could use your feedback, since we only have one or two people using macOS on 
the LyX development team.

Thanks,
Scott


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


Re: biblatex question

2023-06-29 Thread Scott Kostyshak
On Wed, Jun 28, 2023 at 03:17:28PM -0700, Rich Shepard wrote:
> 
> I'm getting a build error at the bibliography grey box at the end of the
> document: "Package inputenc error: keyboard character used is undefined."
> 
> In the biblatex cheat sheet the first command in the preamble should be
> \usepackage[utf8]{inputenc}
> but in my document it's
> \usepackage[latin9]{inputenc}
> 
> I don't see where in Settings I can change that. It must be an option in one
> of the settings and I don't know which one.
> 
> Pointer needed.

In Document > Settings > Language change the Encoding radio button from 
"Language default" to "Other" and in the scrollbox select "Unicode (utf8)".

Scott


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


Re: open old LyX format fails

2023-06-15 Thread Scott Kostyshak
On Thu, Jun 15, 2023 at 02:24:49PM +0200, Herbert Voss wrote:
> 
> 
> 
> Am 15.06.23 um 12:19 schrieb Herbert Voss:
> > Hello all,
> > 
> > I have an really old document and want to open it with
> > 2.4.0 Beta2, but it fail with: "Incompatible Command"
> > 
> > My old format is 2.18
> > 
> > macOS Sonora and TL23
> > 
> > Any hints?
> 
> with lyx2lyx my.lyx
> I get a converted LyX file with LyxFormat 613. But reading this file with
> LyX 2.4 it stops the input at
> 
> \begin_inset CommandInset ref
> nolink "false"
> LatexCommand ref
> reference "abb1-1"
> \end_inset

If you manually remove that chunk in a text editor, does LyX 2.4 then open 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: I don't understand this

2023-06-12 Thread Scott Kostyshak
On Mon, Jun 12, 2023 at 02:28:50PM +0300, Udicoudco wrote:
> On Mon, Jun 12, 2023 at 11:04 AM Scott Kostyshak  wrote:
> > >
> > > On 2023-06-10 21:49, Richard Kimberly Heck wrote:
> 
> > > >
> > > > It's because the 'blackboard' font is quite limited (to ASCII caps, I
> > > > think). If you type characters not present in that font, you get weird
> > > > results.
> > > >
> 
> With modern math fonts (open type) the range of 'blackboard'
> characters is wider,
> and it includes small latin letters, and arabic numerals as well.
> 
> > In this case, LyX creates the corresponding LaTeX code "$\mathbb{0}$", 
> > which is valid LaTeX. It is true that the output is counter-intuitive. I'm 
> > not convinced we should do anything here.
> 
> With unicode-math, "$\mathbb{0}$" should be rendered as "ퟘ" (U+1D7D8),
> but it seems that  LyX is not aware of that. Attached is an example.
> Should I open
> a ticket? I don't currently have access to my Linux machine, and can't
> test it with master.

Interesting, that's good to know. I don't have Times New Roman on my system so 
I can't test.

Scott


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


Re: I don't understand this

2023-06-12 Thread Scott Kostyshak
On Mon, Jun 12, 2023 at 07:28:18AM +0200, Daniel wrote:
> 
> On 2023-06-10 21:49, Richard Kimberly Heck wrote:
> > On 6/10/23 02:17, Daniel wrote:
> > > On 2023-06-10 05:54, Tom Goldring wrote:
> > > > If I put in the [\mathbb] "R" followed by _\aleph_0, the R and
> > > > the aleph show up correctly, but the zero (the subscript of the
> > > > aleph) shows up as a different character (I think it's the
> > > > character that's used in formal logic to mean something like "is
> > > > not a proof of").
> > > 
> > > I do not know why it is showing different symbols.
> > 
> > It's because the 'blackboard' font is quite limited (to ASCII caps, I
> > think). If you type characters not present in that font, you get weird
> > results.
> > 
> > Riki
> 
> I see. Would be better to get an undefined symbol, e.g. questions marks,
> rather than weird symbols. But I guess there is some technical reason for
> this.
> 
> Daniel

In this case, LyX creates the corresponding LaTeX code "$\mathbb{0}$", which is 
valid LaTeX. It is true that the output is counter-intuitive. I'm not convinced 
we should do anything here.

We could try to do something to make it more clear that we're still in the 
\mathbb inset, if the red corners aren't clear enough. I've been bitten by 
these types of issues also. But I have no concrete suggestion.

We could provide a module called something like "Error on likely mistakes". I'm 
guessing it would be easy to write LaTeX that gives an error if not certain 
characters are used inside \mathbb. But the user would have to first manually 
add that module, and I'm not sure the most people who would benefit from that 
module would be the ones to add 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: Advanced text editing commands

2023-05-06 Thread Scott Kostyshak
On Fri, May 05, 2023 at 03:56:38PM +0200, Jean-Marc Lasgouttes wrote:
> Le 05/05/2023 à 13:29, José Matos a écrit :
> > On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote:
> > > Because of my jealousy I will make a trite joke: instead of using
> > > Emacs bindings in LyX, why not just implement all of LyX inside of
> > > Emacs?
> > > 
> > > Scott
> > 
> > Because we, at least I, prefer C++ and Python over lisp. :-D
> 
> Implement python in lisp.

Thank you for humoring me, José and JMarc :)

Scott


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


Re: Advanced text editing commands

2023-05-03 Thread Scott Kostyshak
On Sun, Apr 30, 2023 at 08:16:06PM -0500, Christopher Menzel wrote:
> On Apr 30, 2023, at 1:20 PM, John Beattie  wrote:
> > On 2023-04-27 12:41 -0400, Scott Kostyshak wrote:
> > 
> >> Out of curiosity, do the emacs users on this list actually use emacs.bind?
> > 
> > Yes. Linux Mint 20.1, also on Windows 10.
> 
> Absolutely, under both MacOS Ventura and Kali Linux 2023.1 (both running Lyx 
> 2.3 7). I do add a number of tweaks of my own, but the default is pretty good.

I can see that a lot of people are using the emacs.bind file. That's great! It 
must work smoothly since (1) from these responses I can tell there are a lot of 
users and (2) I don't see many bugs about it. I'm jealous since I don't think 
we will get Vim-functionality anytime. Because of my jealousy I will make a 
trite joke: instead of using Emacs bindings in LyX, why not just implement all 
of LyX inside of Emacs?

Scott


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


Re: Advanced text editing commands

2023-04-27 Thread Scott Kostyshak
On Thu, Apr 27, 2023 at 11:27:45AM -0400, Richard Kimberly Heck wrote:
> On 4/27/23 10:57, Scott Kostyshak wrote:
> > I imagine Emacs users have similar desires to use Emacs features in LyX.
> 
> In the case of Emacs, there is the file emacs.bind, which implements some of
> the Emacs key bindings. The problem with vi is the modes, which would take
> work to implement. But you could certainly implement some kind of 'trigger'
> keystroke (something you don't use much, say the pipe), and then implement
> some vi key bindings as key sequences. I.e., in effect the pipe would
> 'switch modes' momentarily. This would not work well for character-type
> navigation, but for other commands it might work.
> 
> It may be that the things some key bindings do is not yet implemented. But
> you can do a lot with sequences of LyX commands (via the command-sequence
> LFUN).

Ah that makes sense. I didn't realize that key difference which I can see makes 
it more difficult to have Vim-like functionality in LyX.

Out of curiosity, do the emacs users on this list actually use emacs.bind?

Scott


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


Re: Advanced text editing commands

2023-04-27 Thread Scott Kostyshak
On Thu, Apr 27, 2023 at 10:01:59AM -0400, Richard Kimberly Heck wrote:
> On 4/27/23 03:13, R. H. van der Gaag wrote:
> > Having come from Vim and Obsidian, I find I miss a number of ‘advanced’ 
> > text editing commands, like jumping to a particular place in the text with 
> > just a few keystrokes,
> Such as?
> > or selecting a sentence.
> 
> I don't know how easy this would be to do in a multi-lingual way.

R. H., to answer your question directly, yes I miss them :). I am used to Vim, 
and I often wish I could use Vim-like features in LyX. e.g., I love using 'g;' 
in Vim. I think the first 'g;' in LyX can be down with "Navigate back" ('Ctrl + 
shift + <' or something like that) but I would love to go through the entire 
change list as quickly as with 'g;'.

Also, I've requested persistent undo (https://www.lyx.org/trac/ticket/12578), 
which I've gotten used to in Vim.

I imagine Emacs users have similar desires to use Emacs features in LyX.

That said, without considerable work, I don't see it happening in LyX anytime 
soon.

Scott


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


Re: Donations to lyx.og

2023-04-19 Thread Scott Kostyshak
On Wed, Apr 19, 2023 at 12:09:37PM +, Cesare Padovani wrote:
> Hello everyone,
> I recently joined this list. I tried to donate to lyx.org, but couldn't, 
> because it doesn't seem to be accepting donations.
> Is it for you too?

Unfortunately I think our donations aren't working well. We had problems 
setting things up.

Sorry for the inconvenience, and thank you for wanting to donate!

Scott


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


Re: Fonts for LyX

2023-04-02 Thread Scott Kostyshak
On Sun, Apr 02, 2023 at 10:37:33AM +0200, Eckhard Höffner wrote:
> Fontforge, in some special cases also inkscape. Inkscape has some
> advantaages. The first curves of the O, D, B, P, d, p or o have all been the
> same, sometimes scaled or flipped. The ampersand (et) uses a flipped 3, the
> ß is based on f+s.  The f is close to the old long s (which was used for
> example also in english printing at least until the 18th century).
> 
> But I'm actually looking for hints like: the superscripts are to bold, the
> accent grave is to far on the left side, I need bold italics small caps, the
> spacing of italic capitals (used in the headers of the standard article
> class)  must be corrected and so on.
> 
> 
> Am 01.04.23 um 20:46 schrieb Scott Kostyshak:
> > What tools do you use to develop the font?

Thanks for sharing those details!

Scott


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


Re: Fonts for LyX

2023-04-01 Thread Scott Kostyshak
On Sat, Apr 01, 2023 at 03:56:58PM +0200, Eckhard Höffner wrote:
> Hello all,
> this is not really a central Lyx topic, but I hope I'll be forgiven.
> 
> I have started designing a font. As I have been working with Lyx for over 20
> years, and the font should primarily work well with LyX (XeTeX), be usable
> without problems. Other uses don't interest me so much.
> 
> At the following link you can find the font and a long PDF document created
> with LyX, which practically only uses the package realscripts for the
> preamble.
> 
> https://www.fatto.de/wiki/doku.php/playground:font
> 
> Therefore my question: Is anyone interested in supporting me, i.e. finding
> errors, making suggestions for improvement, etc.?

Thanks for sharing, Eckhard! I looked at the pdf there. Cool font!

What tools do you use to develop the font?

I took a look at the PDF. One thing I noticed is that for the page numbers, in 
41 and 42 they appear to be centered vertically but for 43 it seems more like 
top aligned. Not sure if that makes sense, but it seemed a little off to me.

Good work!

Scott


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


Re: versioning

2023-03-31 Thread Scott Kostyshak
On Fri, Mar 31, 2023 at 01:45:12PM +0200, Patrick Dupre wrote:
> Hello,
> 
> Is it possible to manage a version number with lyx?
> (it means keeping also a track of the previous versions)
> 
> Thank.

Are you talking about building LyX? If so, are you building with CMake?
If so, see the CMake flags 'LYX_PROGRAM_SUFFIX=OFF' and
'LYX_LOCALVERSIONING=ON'. I'm guessing there's an alternative way if
you're using autotools instead of CMake.

Scott


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


Re: Broken document

2023-03-15 Thread Scott Kostyshak
On Wed, Mar 15, 2023 at 01:17:33PM +0100, Daniel wrote:
> On 15/03/2023 12:18, Axel Dessecker via lyx-users wrote:
> > Am Mittwoch, 15. März 2023, 12:05:24 CET schrieb Eckhard Höffner:
> > > Accroding to the log, the error ist in refstyle.cfg
> > > 
> > > 
> > > ! Argument of \eqref  has an extra }.
> > > 
> > >   \par
> > > l.526lsttxt= \RSlsttxt}
> > > 
> > > I've run across a `}' that doesn't seem to match anything.
> > > 
> > > Runaway argument?
> > > ! Paragraph ended before \eqref  was complete.
> > > 
> > >  \par
> > > l.526lsttxt= \RSlsttxt}
> > > 
> > > > Very strange. The error also appears when I use TeXworks instead of
> > > > LyX to compile the exported .tex file. The file and the log are 
> > > > attached.
> > > > 
> > > > Daniel
> > 
> > refstyle.cfg is twelve years old and it still works, which implies some
> > stability. I would rather suspect a font issue but haven't found the 
> > culprit.
> > 
> > Axel
> 
> I have already stated a clean installation of TeXLive but it takes ages.

I'm not sure if it is any better but note that there is a .iso for installing 
TeXLive.

Scott


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


Re: speaker notes & Beamer

2023-02-23 Thread Scott Kostyshak
On Thu, Feb 23, 2023 at 05:57:05PM +0100, Patrick Dupre wrote:
> 
> 
> > Sent: Thursday, February 23, 2023 at 5:25 PM
> > From: "Saša Janiška" 
> > To: lyx-users@lists.lyx.org
> > Subject: Re: speaker notes & Beamer
> >
> > On Thu, 23 Feb 2023 10:26:01 -0500
> > Scott Kostyshak  wrote:
> > 
> > > In LyX, a "Beamer note" is just an inset, so it is saved in the .lyx
> > > file as any inset (e.g., like a URL inset or a Note inset). There is
> > > also a Note environment, and it is saved like any environment.
> Are you talking about the beamer Note ?

Yes. There is both a Beamer Note command and a Note environment. I usually use 
the command, but sometimes it's helpful to use the environment.

Scott


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


Re: speaker notes & Beamer

2023-02-23 Thread Scott Kostyshak
On Thu, Feb 23, 2023 at 05:25:48PM +0100, Saša Janiška wrote:
> On Thu, 23 Feb 2023 10:26:01 -0500
> Scott Kostyshak  wrote:
> 
> > In LyX, a "Beamer note" is just an inset, so it is saved in the .lyx
> > file as any inset (e.g., like a URL inset or a Note inset). There is
> > also a Note environment, and it is saved like any environment.
> 
> Aha, that's good to know. Thank you for teaching me something new...
> 
> > When compiling to PDF, you need to add some preamble code, otherwise
> > the Note contents will be ignored (by Beamer). I'm using this basic
> > setup:
> > 
> > % https://tex.stackexchange.com/a/21872/12212
> > \usepackage{pgfpages}
> > \setbeamertemplate{note page}[plain]
> > \setbeameroption{show notes on second screen=right}
> 
> I did that and now I can see the Notes. :-)
> 
> > One tip: sometimes I think Pympress gets confused and is not sure
> > which monitor is for you and which is for the audience. If it starts
> > up the wrong way, press "s" to swap. Just in case though, you might
> > want to make sure the presenter notes on the first slide aren't too
> > embarrassing if they are accidentally revealed to the audience :).
> 
> Jürgen helped me, so I'll use pdfpc. ;-)

Great! I think pdfpc is a great choice.

> > I have used a video slide successfully before with Pympress. I
> > remember searching and I think I found it is also supported by pdfpc
> > but I could not test it. Also with Pympress, I remember it worked on
> > one computer and for some reason did not work on the other. I did not
> > narrow it down to whether it was a difference in Pympress viewer
> > versions, or what, but I did come away with the feeling that it was
> > "fragile".
> 
> pdfpc-movie package is the key!

Ah perhaps that was the missing dependency on my other system.

> > This week and next are a bit busy for me. How time-sensitive is this?
> > I can try to find time to make a full Pympress example and send you
> > the .lyx file and video file and see if it works for you. Would that
> > help?
> 
> Heh, deadline is tomorrow afternoon, but everything is fine now. :-)
> 
> Thank you for your assistance and for your readiness to help!

I'm glad you got it figured out. Hope it goes smoothly tomorrow!

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: speaker notes & Beamer

2023-02-23 Thread Scott Kostyshak
On Thu, Feb 23, 2023 at 03:42:51PM +0100, Saša Janiška wrote:
> On Thu, 23 Feb 2023 07:46:17 -0500
> Scott Kostyshak  wrote:
> 
> Hello Scott,
> 
> > On Thu, Feb 23, 2023 at 01:07:03PM +0100, Saša Janiška wrote:
> 
> > I've heard great things about pdfpc and also Pympress. For Pympress,
> > then notes are embedded in the .pdf file themselves (by adding a
> > right/left side of PDF pages I think). 
> 
> Does Pympress use Beamer notes embedded within LyX file?

In LyX, a "Beamer note" is just an inset, so it is saved in the .lyx
file as any inset (e.g., like a URL inset or a Note inset). There is
also a Note environment, and it is saved like any environment.

When compiling to PDF, you need to add some preamble code, otherwise the
Note contents will be ignored (by Beamer). I'm using this basic setup:

% https://tex.stackexchange.com/a/21872/12212
\usepackage{pgfpages}
\setbeamertemplate{note page}[plain]
\setbeameroption{show notes on second screen=right}

> Btw, I've installed it and it looks great, but have to figure out if
> the setup 
> - multiple displays etc. are eas easy as with pdfpc since presentation
> will be done by not-so-tech-savvy person. :-)

One tip: sometimes I think Pympress gets confused and is not sure which
monitor is for you and which is for the audience. If it starts up the
wrong way, press "s" to swap. Just in case though, you might want to
make sure the presenter notes on the first slide aren't too embarrassing
if they are accidentally revealed to the audience :).

> > Indeed you have to use the Pympress viewer.
> 
> Yeah, similar as with pdfpc..
> 
> > I'm not sure how to use Evince with presentation notes. I've never
> > tried that.
> 
> I am sure Pympres can handle speaker notes as pdfpc...but have to find
> out how to compile presentation by using "video" slide...

I have used a video slide successfully before with Pympress. I remember
searching and I think I found it is also supported by pdfpc but I could
not test it. Also with Pympress, I remember it worked on one computer
and for some reason did not work on the other. I did not narrow it down
to whether it was a difference in Pympress viewer versions, or what, but
I did come away with the feeling that it was "fragile".

This week and next are a bit busy for me. How time-sensitive is this? I
can try to find time to make a full Pympress example and send you the
.lyx file and video file and see if it works for you. Would that help?

Scott


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


Re: speaker notes & Beamer

2023-02-23 Thread Scott Kostyshak
On Thu, Feb 23, 2023 at 01:07:03PM +0100, Saša Janiška wrote:
> Hello,
> 
> I need to put together one presentation and wonder how to deal with the 
> speaker 
> notes in Beamer?
> 
> Are they visible in Linux PDF viewers like Atril/Evince or Acrobat if I'd 
> just 
> copy presentation on USB stick to present under Windows OS?
> 
> One option for presenting might be to use (https://pdfpc.github.io/), but in 
> that case it seems that preferrable way is to use notes embedded in *.pdfpc 
> files, possibly formatted with Markdown markup.

Hi Saša,

I've heard great things about pdfpc and also Pympress. For Pympress,
then notes are embedded in the .pdf file themselves (by adding a
right/left side of PDF pages I think). Indeed you have to use the
Pympress viewer.

I'm not sure how to use Evince with presentation notes. I've never tried
that.

Scott


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


Re: Changing default for view C-r?

2023-01-18 Thread Scott Kostyshak
On Wed, Jan 18, 2023 at 10:09:00AM -0500, Neal Becker wrote:
> I'm just playing with lyx-2.4 beta (thanks for providing the copr on
> Fedora!).
> How do I customize so that lualatex is used when I hit C-r?

You can do it per-document by going to:

  Document > Settings > Formats > Default output format

or you can change the default in preferences:

  Tools > Preferences > File Handling > File Formats > Default Output Formats

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 make LyX work with Mac OS 13.1:solved

2022-12-15 Thread Scott Kostyshak
On Thu, Dec 15, 2022 at 04:38:40PM +0100, Stephan Witt wrote:
> Am 15.12.2022 um 16:22 schrieb Scott Kostyshak :
> > 
> > On Thu, Dec 15, 2022 at 04:05:27PM +0100, Stephan Witt wrote:
> >> Am 14.12.2022 um 17:02 schrieb Scott Kostyshak :
> >>> 
> >>> On Wed, Dec 14, 2022 at 05:55:17PM +0200, Dr Eberhard Lisse wrote:
> >>>> Hal,
> >>>> 
> >>>> the command is
> >>>> 
> >>>>   sudo xcode-select --install
> >>>> 
> >>>> you will then be asked for your password.
> >>>> 
> >>>> It is a system wide installation of the command line tools (of XCode)
> >>>> and hence must be done as administrator (technically root).
> >>>> 
> >>>> The complete XCode will of course also install python3 but is a few GB
> >>>> too much.
> >>>> 
> >>>> el
> >>> 
> >>> Is there a way from the command line to install only Python on macOS?
> >> 
> >> AFAIK you can choose either so called „Xcode Command Line Tools“ or „Xcode 
> >> Developer Package“.
> >> 
> >> The command line tools include e.g. clang, git and python3 and SDKs. 
> >> The disk image of version 12.2 has 431M and 14.2 has 672M. 
> >> The unpacked files require approximately 2GB..3GB.
> >> 
> >> Without the command line tools installed there is a small python3 utility 
> >> only.
> >> The execution of this python3 triggers a popup asking the user for 
> >> installation of the command line tools.
> >> 
> >> https://www.lyx.org/trac/ticket/12523
> >> 
> >> Unfortunately this popup is raised on first python presence check by LyX. 
> >> Shortly after this LyX raises its own popup to tell the user the 
> >> configuration has failed.
> >> This 2nd popup hides the first one partially and distracts users from the 
> >> first.
> >> 
> >> The easiest solution for users would be to allow download and install of 
> >> the command line
> >> tools by confirmation of the first question, wait until it is finished (it 
> >> really takes a while)
> >> and restart LyX's configuration.
> > 
> > Thanks for that detailed explanation, Stephan. Do I understand then that
> > this issue is a long-term issue on macOS that we should expect for
> > future versions as well? That is, it is not just an issue that appears
> > when upgrading to Ventura. As is, even a new Apple computer that comes
> > with Ventura pre-installed will not have Python by default and thus will
> > have the issue.
> 
> Yes, that’s true.
> 
> > It's good to know that LyX's own python check triggers the popup. Would
> > it make sense to have a lighter python check that does not raise the
> > popup, and conditional on that check LyX can give a user-friendly
> > message like "macOS will prompt you to install python, which is
> > necessary for LyX. We suggest you click on yes/accept/install“ ?
> 
> Something like that I had in mind too. Probably it’s enough to check for the 
> platform and version (now we know how to do so :) ) and to modify the LyX
> message prompt on configuration failure. The hard thing would be to debug
> the solution. But I’ll try to come up with a solution for it.

If Python is not found on a system, do we still try to run configure.py?
I can test this on Linux at some point, but I guess the best on all
platforms is to then not even try to run configure.py and instead give a
clear message "Python not found. LyX will not work correctly.", and then
maybe link to platform specific info on what to do if Python is not
found.

In any case, this definitely seems tricky.

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 make LyX work with Mac OS 13.1:solved

2022-12-15 Thread Scott Kostyshak
On Thu, Dec 15, 2022 at 04:05:27PM +0100, Stephan Witt wrote:
> Am 14.12.2022 um 17:02 schrieb Scott Kostyshak :
> > 
> > On Wed, Dec 14, 2022 at 05:55:17PM +0200, Dr Eberhard Lisse wrote:
> >> Hal,
> >> 
> >> the command is
> >> 
> >> sudo xcode-select --install
> >> 
> >> you will then be asked for your password.
> >> 
> >> It is a system wide installation of the command line tools (of XCode)
> >> and hence must be done as administrator (technically root).
> >> 
> >> The complete XCode will of course also install python3 but is a few GB
> >> too much.
> >> 
> >> el
> > 
> > Is there a way from the command line to install only Python on macOS?
> 
> AFAIK you can choose either so called „Xcode Command Line Tools“ or „Xcode 
> Developer Package“.
> 
> The command line tools include e.g. clang, git and python3 and SDKs. 
> The disk image of version 12.2 has 431M and 14.2 has 672M. 
> The unpacked files require approximately 2GB..3GB.
> 
> Without the command line tools installed there is a small python3 utility 
> only.
> The execution of this python3 triggers a popup asking the user for 
> installation of the command line tools.
> 
> https://www.lyx.org/trac/ticket/12523
> 
> Unfortunately this popup is raised on first python presence check by LyX. 
> Shortly after this LyX raises its own popup to tell the user the 
> configuration has failed.
> This 2nd popup hides the first one partially and distracts users from the 
> first.
> 
> The easiest solution for users would be to allow download and install of the 
> command line
> tools by confirmation of the first question, wait until it is finished (it 
> really takes a while)
> and restart LyX's configuration.

Thanks for that detailed explanation, Stephan. Do I understand then that
this issue is a long-term issue on macOS that we should expect for
future versions as well? That is, it is not just an issue that appears
when upgrading to Ventura. As is, even a new Apple computer that comes
with Ventura pre-installed will not have Python by default and thus will
have the issue.

It's good to know that LyX's own python check triggers the popup. Would
it make sense to have a lighter python check that does not raise the
popup, and conditional on that check LyX can give a user-friendly
message like "macOS will prompt you to install python, which is
necessary for LyX. We suggest you click on yes/accept/install" ?

Of course, this will not cover all of the cases. For example, if a
different program triggered the prompt and they said "no", then I
imagine they will not see the popup again.

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 make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Scott Kostyshak
On Wed, Dec 14, 2022 at 05:55:17PM +0200, Dr Eberhard Lisse wrote:
> Hal,
> 
> the command is
> 
>sudo xcode-select --install
> 
> you will then be asked for your password.
> 
> It is a system wide installation of the command line tools (of XCode)
> and hence must be done as administrator (technically root).
> 
> The complete XCode will of course also install python3 but is a few GB
> too much.
> 
> el

Is there a way from the command line to install only Python on macOS?

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 make LyX work with Mac OS 13.1:solved

2022-12-14 Thread Scott Kostyshak
On Wed, Dec 14, 2022 at 04:50:02AM -0700, Hal Kierstead wrote:
> 
> 
> > On Dec 13, 2022, at 5:38 PM, Scott Kostyshak  wrote:
> > 
> > On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
> >> All -
> >> 
> >> I just upgraded to Mac OS 13.1. I was not given a chance to install 
> >> python. How do I check if I have the right version of python?
> >> 
> >> I cannot reconfigure LyX. I get the message: The system reconfiguration 
> >> has failed. Default textclass is used but LyX may not be able to work 
> >> properly. Please reconfigure again if needed. 
> >> 
> >> Reconfiguring again does not work either.
> >> 
> >> Also, I have a bind file that LyX finds, but does not use. Is this because 
> >> LyX needs to be reconfigured?
> >> 
> >> I tried reinstalling LyX, but that did not help.
> >> 
> >> What should I do next?
> > 
> > I don't have any experience with macOS, but one user found that the 
> > following worked:
> > 
> >  xcode-select --install
> > 
> > source: https://twitter.com/IvanWerning/status/1599544006962139136
> > 
> > Scott
> > -- 
> Thanks Scott. I forgot to reply to the list.
> 
>  For some reason this failed to install xcode, but downloading it from the 
> app store worked, and now my LyX is working. Probably I should not have 
> needed to download all of xcode, but it is simple this way.

Good to know, Hal! Indeed, probably there is a more simple way.

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 make LyX work with Mac OS 13.1?

2022-12-13 Thread Scott Kostyshak
On Tue, Dec 13, 2022 at 05:02:30PM -0700, Hal Kierstead via lyx-users wrote:
> All -
> 
> I just upgraded to Mac OS 13.1. I was not given a chance to install python. 
> How do I check if I have the right version of python?
> 
> I cannot reconfigure LyX. I get the message: The system reconfiguration has 
> failed. Default textclass is used but LyX may not be able to work properly. 
> Please reconfigure again if needed. 
> 
> Reconfiguring again does not work either.
> 
> Also, I have a bind file that LyX finds, but does not use. Is this because 
> LyX needs to be reconfigured?
> 
> I tried reinstalling LyX, but that did not help.
> 
> What should I do next?

I don't have any experience with macOS, but one user found that the following 
worked:

  xcode-select --install
  
source: https://twitter.com/IvanWerning/status/1599544006962139136

Scott


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


Re: Can you reproduce this bug?

2022-12-06 Thread Scott Kostyshak


On Tue, Dec 06, 2022 at 10:20:30AM +0100, kzsta...@gmail.com wrote:
> 
> 
> > -Oorspronkelijk bericht-
> > Van: lyx-users  Namens Scott Kostyshak
> > Verzonden: zondag 4 december 2022 21:39
> > Aan: LyX Users 
> > Onderwerp: Can you reproduce this bug?
> > 
> > Dear all,
> > 
> > Can you reproduce this bug on your system?
> > 
> >   https://www.lyx.org/trac/ticket/12435
> > 
> > It's helpful to know the type of systems on which it can be reproduced.
> > Specifically, it will be helpful to figure out whether the bug only
> surfaces on
> > certain operating systems, and only with certain configurations.
> > 
> > Here is the recipe to reproduce the bug:
> > 
> >   1. Maximize (non-fullscreen) the window
> >   2. Enter Full screen mode
> >   3. Exit Full screen.
> > 
> > After step 3, does the LyX window return to the state after step (1)?
> > i.e., is the window maximized?
> > 
> > If you try to reproduce it, please state:
> > 
> > 1. Can you reproduce the bug?
> > 2. Your operating system and version number (version number is
> >especially helpful for macOS users).
> > 3. Copy/paste the info from Help > About. 
> 
> 1. No. The screen returns to a maximized view.
> 2. Windows 11 Pro 22H2, build: 22621.900
> 3.  LyX versie 2.3.6.1
> (dinsdag 29 december 2020)
> Bibliotheek-map: C:\Program Files\LyX 2.3\Resources\
> Gebruikersmap: ~\AppData\Roaming\LyX2.3\
> Qt-versie (run-time): 5.15.2
> Qt-versie (compile-time): 5.15.2

Thank you all, this information is helpful! I think we've got enough
information. I guess it's not the Qt version then, because Wolfgang can
reproduce with 5.15.2 and kzstatis cannot reproduce with 5.15.2. It's
also not a macOS-specific issue since Wolfgang is on Linux.

I'll move discussion to the trac ticket now.

Thanks for your help!

Scott


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


Can you reproduce this bug?

2022-12-04 Thread Scott Kostyshak
Dear all,

Can you reproduce this bug on your system?

  https://www.lyx.org/trac/ticket/12435

It's helpful to know the type of systems on which it can be reproduced.
Specifically, it will be helpful to figure out whether the bug only
surfaces on certain operating systems, and only with certain
configurations.

Here is the recipe to reproduce the bug:

  1. Maximize (non-fullscreen) the window
  2. Enter Full screen mode
  3. Exit Full screen.

After step 3, does the LyX window return to the state after step (1)?
i.e., is the window maximized?

If you try to reproduce it, please state:

1. Can you reproduce the bug?
2. Your operating system and version number (version number is
   especially helpful for macOS users).
3. Copy/paste the info from Help > About.


Here's my own responses to the 3 questions:

1. No. (the window is correctly restored as maximized after 3 for me).
2. Ubuntu 22.04.
3. Pasted info is below:
  
   Version 2.4.0dev
   (Sunday, December 4, 2022)
   
   Built from git commit hash abd69b06
   Qt Version (run-time): 5.15.3 on platform xcb
   Qt Version (compile-time): 5.15.3
   Python detected: python3 -tt

Thanks!

Scott


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


Re: Cannot Create New Frame

2022-11-16 Thread Scott Kostyshak
On Thu, Nov 17, 2022 at 07:43:50AM +1100, Gordon Watson wrote:
> Hi Scott,
> 
> On the subject of LyX and Mac! LyX — LyX Version 2.3.6.2 (7 January 2021) — 
> is more important to me than my Monterey v12.6 Mac. (Ventura is on hold.) I 
> am currently locked out of hundreds of essays with a lyx2lyx problem. SO: Is 
> it time for me to buy a PC?
> 
> NB: I am a heavy user of LyX, often 14 hours per day. BUT: it is a black box 
> to me, and that’s how I want it to stay: for I do not expect to fiddle with 
> the engine when I buy a car! And, yes, to escape my current dilemma, I’d be 
> happy to BUY LyX or hire a consultant.
> 
> In particular: I have no familiarity with the jargon — python, Koma, 
> Linux/Unix — and I hope to remain that way
> 
> If a PC is the BEST solution, then recommendations for a suitable PC — or 
> ones to avoid — will be happily received!
> 
> Thanks; Gordon

Hi Gordon,

Ouch! That sounds really frustrating! I do not think you should buy a new 
computer just because of this. We are working on releasing 2.4.0, and I wonder 
if this will somehow work for you since it has a lot of improvements compared 
to the version you're using.

Wow, 14 hours a day! I wonder if there is an entry in the Guiness Book of World 
Records for LyX usage?

It is our goal that you should not have to know anything about Python, Unix, 
Qt, C++, etc., to use LyX. Unfortunately, in practice it's hard to achieve that 
since LyX has a lot of things it needs to work well and sometimes the parts 
don't line up.

Best,
Scott

> 
> > On 17 Nov 2022, at 3:22 am, Scott Kostyshak  wrote:
> > 
> > On Mon, Nov 14, 2022 at 11:10:14AM -0800, Michela Giorcelli via lyx-users 
> > wrote:
> >> Hi,
> >> 
> >> I recently upgraded my Mac to Ventura and in Lyx the create new 
> >> environment option has disappeared and I’m not able to create a new frame, 
> >> not even using the key board option. Could anyone help with this?
> > 
> > Hi Michela,
> > 
> > Unfortunately, we've seen a lot of strange issues reported by LyX users 
> > upgrading to Ventura. Further, we have only one LyX developer whose main 
> > operating system is macOS and I'm not even sure if they are on Ventura so I 
> > don't know if there will be a fix anytime soon since it's hard to figure 
> > out what the problem is and how to fix it. I'm really sorry for the 
> > inconvenience!
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> 


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


Re: Cannot Create New Frame

2022-11-16 Thread Scott Kostyshak
On Mon, Nov 14, 2022 at 11:10:14AM -0800, Michela Giorcelli via lyx-users wrote:
> Hi,
> 
> I recently upgraded my Mac to Ventura and in Lyx the create new environment 
> option has disappeared and I’m not able to create a new frame, not even using 
> the key board option. Could anyone help with this?

Hi Michela,

Unfortunately, we've seen a lot of strange issues reported by LyX users 
upgrading to Ventura. Further, we have only one LyX developer whose main 
operating system is macOS and I'm not even sure if they are on Ventura so I 
don't know if there will be a fix anytime soon since it's hard to figure out 
what the problem is and how to fix it. I'm really sorry for the inconvenience!

Scott


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


Re: Why is Theorems (ams-extended) not available?

2022-11-04 Thread Scott Kostyshak
On Fri, Nov 04, 2022 at 04:02:59PM -0400, Neal Becker wrote:
> Why is Theorems (ams-extended) not available (Add is grayed out)?  See
> screenshot below.  This is lyx-2.3.6.1 on Fedora 36.

I think first you have to add Theorems (AMS). It's strange in your
screenshot there's no text in the box. The box should explain that the
extended module requires the base module.

Scott


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


Re: Few bits about netiquette (was: Drawing an arc)

2022-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2022 at 04:02:05PM +0200, Pavel Sanda wrote:
> On Thu, Oct 06, 2022 at 07:14:50PM +0200, Daniel wrote:

> What our netiquette indeed does not cover is kindness and I find
> it impossible to impose it from outside. What can we do as a
> community is to decide that we might not want to scare user
> newbies -- if you the only thing you have to say is RTFM, just
> leave the thread and move to another one. 
> 
> I must confess though that in cases where someone is repeatedly
> outsourcing his effort to *at least try* to find some solution on
> his own, the RTFM might be approprite input... In my view of course,
> but if there is some community sense that we should try to declare
> some positive approach in the netiquette, we are free to discuss it
> on this list and set our boundaries :)

How about a maximum of one use of "RTM" per year? Use it wisely.

I would be in favor of a policy that encourages respectful, and
informative, replies. That said, I don't volunteer to lead the effort.

Scott


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


Re: Rebinding ESC to \

2022-10-19 Thread Scott Kostyshak
On Wed, Oct 19, 2022 at 08:13:24AM -0500, Christopher Menzel wrote:
> You don’t identify your OS. Pavel gives you the answer for Linux. If you are 
> on MacOS, Karabiner-Elements can do that sort of remapping in a jiffy via a 
> convenient graphical interface. On Windows it’s a bit more work. You can 
> either edit the registry (instructions are easy to find), use the Microsoft 
> Powertoys program, or use the much more powerful AutoHotkey scripting app. 
> AutoHotkey requires you to create a text file with some quirky syntax but 
> it’s a super powerful program that can do way more than  keys remapping. 
> Again, exact instructions are easy to google.
> 
> -chris

I don't know if it's still relevant, but at some point there was a problem with 
karabiner and LyX I think that caused crashes:

  https://www.lyx.org/trac/ticket/9992

Scott
 http://lists.lyx.org/mailman/listinfo/lyx-users


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


Re: Book about LyX 2.4

2022-10-17 Thread Scott Kostyshak
On Mon, Oct 17, 2022 at 10:03:51PM +0200, Ricardo Berlasso wrote:
> Thanks to all!
> 
> @ Bernt Lie
> 
> > Any idea of when LyX 2.4 is released?
> 
> I'm not the right person to answer that! :)

I don't think anyone knows. All of our schedules have been disrupted by
the craziness of the last few years. We are in a weird state where
development is happening, but we are not necessarily getting closer to
2.4.0.

> > What is your workflow for writing a book in multiple languages?
> 
> For the first draft, I start by writing in my native language (Spanish).
> Then I "save as" to create the other files, change their languages and do a
> first translation. Finally, I work more or less in parallel with all of
> them: changing language helps finding new ways to explain things!

Thanks! I think that's how we handle the translations of our manuals as
well. It would be nice if there were an easier workflow so that
everything could be in one .lyx file, but perhaps no such workflow
exists.

> > can you export your .lyx file to 2.3.x, and open the exported file in
> master?
> 
> Not this week, sorry. I'll try to get some free time ASAP.

Don't worry about it! I'll ask you again whenever we are close to
releasing 2.4.0 if we really want lyx2lyx to get some extra testing with
complex documents.

> @ Jack Lyon
> 
> > Would you be so kind as to share the color scheme you are using in LyX?
> 
> It's just the default "breeze dark" theme from my Plasma desktop, I haven't
> changed anything in LyX.
> 
> @ John White

Note that there are improvements to the dark theme in 2.4.0dev, so they
might not work as smoothly on 2.3.x.

Scott


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


Re: Book about LyX 2.4

2022-10-17 Thread Scott Kostyshak
On Mon, Oct 17, 2022 at 03:17:20PM +0200, Ricardo Berlasso wrote:
> I'm a bit crazy, let's face it, so not only have I updated the book I once
> wrote about LyX, I've done it in English, Spanish and Italian. Here they
> are:
> 
> [EN]
> https://frommindtotype.wordpress.com/lyx-book/
> [ES]
> https://elpinguinotolkiano.wordpress.com/latexxetexlyx/
> [IT]
> https://ilpinguinoscrittore.wordpress.com/xelatexlyx/
> 
> Comments and corrections are welcome. Surely there will be many corrections
> ;)

This is great! Congratulations, and thank you. I have questions :)

What is your workflow for writing a book in multiple languages? Are they
completely separate .lyx files, or do you produce them from the same
.lyx file?

Only if you have time (no worries if not!):
Since you have 2.4.0dev set up: can you export your .lyx file to 2.3.x,
and open the exported file in master? Does compilation succeed? Are
there any differences in the PDF? (a great tool for checking is
diffpdf). Doing this "roundtrip" conversion is a helpful test of
lyx2lyx. If you also have 2.3.x installed, in addition to the above, can
you check that 2.3.x can compile the file that you exported from
2.4.0dev?

Thanks,
Scott


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


Re: Batch convert LyX files that require `needauth` action

2022-10-01 Thread Scott Kostyshak
On Sat, Oct 01, 2022 at 04:48:19PM -0400, Steven Paulson wrote:
> Hi Scott,
> 
> Genius workaround! Following your suggestion, I created a different user
> directory where I added an additional line `\use_converter_needauth false`
> to the preference file. Running `lyx` with the `-userdir` argument pointing
> toward the new user directory perfectly solved the problem. Thank you so
> much. I really appreciate your help.

Great! I'm glad it worked for you. I do think there are things we can do to 
make this easier for users since I think this is a common workflow. But at the 
moment no one is working on this.

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: Batch convert LyX files that require `needauth` action

2022-10-01 Thread Scott Kostyshak
On Sat, Oct 01, 2022 at 08:39:05AM -0400, Steven Paulson wrote:
> Dear LyX users,
> 
> I have LyX files (that require `knitr` converter) synced over GitHub across
> multiple computers. It is tedious sometimes when I pull the files to a new
> machine and convert all of them to PDF, because I have to open every single
> one of them in LyX and grant their permission to always run before I can
> batch convert them with a makefile. I know it is possible to get around
> this hassle by unchecking the `Use needauth option` box for the converter
> in the preference, but I feel it is not the optimal solution for me because
> I do want a warning of security for LyX documents I am not familiar with. I
> am wondering if there is a command line option (I am thinking of something
> along the lines of `--assume-yes`) that I can pass to `lyx` to grant
> permission for the converter to run LyX documents I am familiar with. That
> way I do not need to uncheck the `needauth` option globally. If you have
> any idea how to do this or if you have other solutions, please let me know.
> 
> Thank you,
> Yuwen

Hi Yuwen, I've come across this as well and have the same goal as you
(to not disable globally but to allow controling on the command line).

The current approach I use is that I created a command 'lyx-noauth',
that uses the '-usedir' argument that points to a user directory where I
did uncheck the "Use needauth option" box.

I use 'lyx -e blah.lyx' when I don't want needauth disabled, and
'lyx-noauth -e blah.lyx' when I do want to disable need auth on the
command line.

Do you think that will work with your workflow?

Scott


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


Re: lyx 2.4.0 dev -download

2022-08-01 Thread Scott Kostyshak
On Mon, Aug 01, 2022 at 08:59:30AM +0200, Wolfgang Engelmann wrote:
> What is the recommended download place and -way for the latest
> lyx 2.4.0 dev

Hi Wolfgang, I don't think there is a recent lyx 2.4.0 dev.

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: Top toolbar missing after switching from debian 10 to debian 11 (bullseye)

2022-05-16 Thread Scott Kostyshak
On Thu, May 12, 2022 at 09:56:08AM -0700, John White wrote:
> The main lyx tool bar is gone, the one with 
> 
> File, Edit, View, Insert, Navigate, Document, Tools, Help.
> 
> Any thoughts on how I might get it back?

What operating system are you on? I saw something like this a long time ago on 
Ubuntu and the following fixed it for me:

  sudo apt-get remove appmenu-qt5

Here is the thread:

  
https://www.mail-archive.com/search?l=mid=CAO7dr0hxjaR-heXCPN%2BPdvWa37ckVKqRnY-Co1dH8YuVj-KXFQ%40mail.gmail.com

I doubt that issue is still around, but just thought I'd throw out another shot 
in the dark.

Scott


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


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Scott Kostyshak via lyx-users
On Sun, Apr 03, 2022 at 11:31:40AM -0600, Joel Kulesza wrote:
> On Sun, Apr 3, 2022 at 11:07 Scott Kostyshak via lyx-users <
> lyx-users@lists.lyx.org> wrote:
> 
> > On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> > > On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> > > lyx-users@lists.lyx.org> wrote:
> > >
> > > > Dear all LyX branch users,
> > > >
> > > > Have you ever wished there were a way to open (or close) all insets of
> > a
> > > > certain branch? We have a pending patch on lyx-devel that would add an
> > > > option to the context-menu when you right-click on the inset of a
> > > > branch. E.g., we could add two entries "Open All" and "Close All".
> > > >
> > > > Would you use this feature? Could you describe a particular use case
> > > > i.e., some context and a reason why you want to open all branch insets
> > > > of a specific branch in that context?
> > >
> > >
> > > Scott,
> > >
> > > I have used branches and I see how this might be helpful. However, I’m
> > > never editing in such an en masse manner that this would be helpful to
> > me,
> > > so I would likely not use it. However, if you have a use case that it’s
> > > helpful for, I see no downside to it.
> >
> > Thanks, Joel. As for the downside, we try not to clutter menus too much
> > so it's nice to know that people will use a feature. It seems like an
> > intuitive feature to add and the functionality fits well in that menu,
> > but it would still be nice to know that someone would use it.
> 
> 
> Scott,
> 
> Agreed, which is why I said *if you* have a use case, then I see no
> downside. The downside would be clutter without at least one use case.

Indeed I missed that. I think we agree.

Scott


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


Re: Request for feedback: open/close all insets of a branch ?

2022-04-03 Thread Scott Kostyshak via lyx-users
On Sun, Apr 03, 2022 at 09:23:39AM -0600, Joel Kulesza wrote:
> On Sat, Apr 2, 2022 at 08:37 Scott Kostyshak via lyx-users <
> lyx-users@lists.lyx.org> wrote:
> 
> > Dear all LyX branch users,
> >
> > Have you ever wished there were a way to open (or close) all insets of a
> > certain branch? We have a pending patch on lyx-devel that would add an
> > option to the context-menu when you right-click on the inset of a
> > branch. E.g., we could add two entries "Open All" and "Close All".
> >
> > Would you use this feature? Could you describe a particular use case
> > i.e., some context and a reason why you want to open all branch insets
> > of a specific branch in that context?
> 
> 
> Scott,
> 
> I have used branches and I see how this might be helpful. However, I’m
> never editing in such an en masse manner that this would be helpful to me,
> so I would likely not use it. However, if you have a use case that it’s
> helpful for, I see no downside to it.

Thanks, Joel. As for the downside, we try not to clutter menus too much
so it's nice to know that people will use a feature. It seems like an
intuitive feature to add and the functionality fits well in that menu,
but it would still be nice to know that someone would use it.

Scott


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


Request for feedback: open/close all insets of a branch ?

2022-04-02 Thread Scott Kostyshak via lyx-users
Dear all LyX branch users,

Have you ever wished there were a way to open (or close) all insets of a
certain branch? We have a pending patch on lyx-devel that would add an
option to the context-menu when you right-click on the inset of a
branch. E.g., we could add two entries "Open All" and "Close All".

Would you use this feature? Could you describe a particular use case
i.e., some context and a reason why you want to open all branch insets
of a specific branch in that context?

Scott


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


Re: using LanguageTool with LyX

2022-03-31 Thread Scott Kostyshak via lyx-users
On Wed, Mar 30, 2022 at 03:27:22PM +0200, Saša Janiška via lyx-users wrote:
> Hello,
> 
> I'd like to check my documents with the LanguageTool. There is support for it
> for different editors and LaTeX via LTeX Language Server
> (https://github.com/valentjn/ltex-ls), but wonder if there is something to add
> support for LyX?
> 
> In the Wiki there is info https://wiki.lyx.org/Tools/LyX-GrammarChecker wich 
> is
> probably obsolete?
> 
> In the past I was using Antidote, but after upgrading they removed Linux
> support from the desktop version, so I'd prefere to support LanugeTool...

Hi Gour,

I've used the grammar checker in the past and found it useful, but
indeed I remember it required some setting up. I haven't used it in a
while so I wouldn't be surprised if the Wiki page is outdated.

I don't think there's any other option for LyX that fits in seamlessly,
unfortunately. I wish LyX had native grammar checking just like it has
spell checking, but currently no one is working on 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: Does LyX's natively support Beamer \onslide command?

2022-03-17 Thread Scott Kostyshak via lyx-users
On Thu, Mar 17, 2022 at 07:12:37AM +0100, Jürgen Spitzmüller via lyx-users 
wrote:
> Am Mittwoch, dem 16.03.2022 um 11:46 -0400 schrieb Scott Kostyshak via
> lyx-users:
> > In LyX can I use the \onslide command without ERT? 
> 
> No.
> 
> > Perhaps there's no native LyX support since the functionality can be
> > achieved with \uncover or \only?
> 
> I think this was not existing when the layout was set up, and not yet
> added since nobody missed it.

Makse sense, thanks.

Scott


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


Re: END-OF-FRAME, once again..

2022-03-16 Thread Scott Kostyshak via lyx-users
On Thu, Nov 18, 2021 at 12:04:56AM -0500, Scott Kostyshak wrote:
> On Tue, Oct 19, 2021 at 10:29:05AM -0400, Scott Kostyshak wrote:
> > On Thu, Oct 14, 2021 at 03:14:48PM +0200, Daniel wrote:
> > > On 13/10/2021 16:50, Scott Kostyshak wrote:
> > > > On Wed, Oct 13, 2021 at 12:13:30PM +0200, Daniel wrote:
> > > > > Something that I thought while using beamer with LyX was that it 
> > > > > seems that
> > > > > it would be easier if Frames would not "hang together". I mean: right 
> > > > > now,
> > > > > if you press enter at the end or beginning of a frame, you get a new 
> > > > > line
> > > > > that is extending the same frame. Wouldn't it be easier if you get a 
> > > > > new
> > > > > frame this way and instead would just nest stuff in order to get it 
> > > > > onto a
> > > > > specific frame? So, no need for separators either. There may be 
> > > > > issues with
> > > > > this suggestion that I have not thought careful enough about but on 
> > > > > the face
> > > > > of it, it seems like a good idea to me and to solve the issues you
> > > > > mentioned. What do you think?
> > > > 
> > > > I think the workflow you're suggesting makes the not-always-true 
> > > > assumption that the user does not use the "frame" layout for the 
> > > > *content* of the frame, and only uses nested layouts (e.g., itemize or 
> > > > standard). Did I understand right?
> > > 
> > > Yes. It is not a conservative approach. It suggest to not use the frame
> > > layout for the content because, if I see it correctly, this can be equally
> > > achieved by using a nested standard layout. So, why not have just one way 
> > > of
> > > doing things. And it seems to me more consistent in that, say, itemized
> > > lists have to be nested as well within a frame which makes them appear at
> > > another level than the content of the frame when not nested but they are
> > > not. Isn't that a bit strange or misleading?
> > > 
> > > Instead, everything will have to be nested if it should go on a frame. (Of
> > > course there must be a lyx2lyx mechanism to transfer old beamer documents 
> > > to
> > > the new "nesting-style".)
> > > 
> > > The workflow would in the new style would be like this:
> > > 
> > > 1. Select the Frame layout to create a new frame.
> > > 2. Press enter which creates a nested Standard paragraph to add content.
> > > 3. Press enter twice to un-nest and get a Frame layout which starts a new
> > > frame.
> > > 
> > > Doesn't this appear more simple and intuitive?
> > 
> > It does. I think it is a reasonable proposal. I'm just not sure
> > everyone will agree. For example, our own beamer example uses the
> > frame layout for content.
> 
> One use case that would benefit from your suggested interface:
> 
> It's currently annoying to change a "Frame" to a "Fragile Frame" or
> "Plain Frame". Consider the following pseudo code:
> 
>   [frame content...]
>   [more frame content...]
>   [nested itemize]
>   [frame content...]
> 
> You can't just select all paragraphs and change to the new
> (Fragile/Plain) Frame. With your workflow, I think it would be
> sufficient to change the first paragraph.

I've been thinking more about your proposal. As I work more with Beamer,
I think your proposal makes a lot of sense and would simplify things.
The first thing we would need to ask is if there's any functionality
that can be achieved with allowing the "frame" environment, as opposed
to requiring a nested standard enviornment.

Scott


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


Does LyX's natively support Beamer \onslide command?

2022-03-16 Thread Scott Kostyshak via lyx-users
In LyX can I use the \onslide command without ERT? Perhaps there's no
native LyX support since the functionality can be achieved with \uncover
or \only? I'm still wrapping my head around overlays in Beamer.

I did a search but only found that we added support (at 3ab2798b) for
\onslide for Powerdot.

Thanks,
Scott


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


Re: Continuation of lists across beamer frames

2022-03-15 Thread Scott Kostyshak via lyx-users
On Tue, Mar 15, 2022 at 04:48:10PM -0400, Paul A. Rubin via lyx-users wrote:
> On 3/15/22 15:29, Herbert Voss via lyx-users wrote:
> > 
> > 
> > Am 15.03.22 um 19:36 schrieb Paul A. Rubin via lyx-users:
> > > On 3/15/22 13:07, markhsalmon wrote:
> > > > Thank you Paul, I really appreciate your response but this is
> > > > such a common issue - at least for me- every lecture pack I
> > > > produce has this problem perhaps every 5 slides so its really
> > > > driving me round the bend. I just leave the environment behind
> > > > by default and manually add the next number  but it looks cheap
> > > > and nasty. Why can’t there be an option to restart previous
> > > > numbering? I seem to remember that option exists in scientific
> > > > word so it must be possible to implement this as a very simple
> > > > click choice? I have been pointed to the ERT route before but
> > > > this is really a cry to the developers of Lyx. Thanks again
> > > > Paul.
> > > > Cheers,
> > > > Mark
> > > > 
> > > > Decision making is about predicting counterfactuals
> > > > 
> > > > 
> > > My bad. I forgot that one of the devs (Jürgen?) already created a
> > > workaround in the form of a module. I've attached a different MWE.
> > > You just have to add the "Beamer Resumable Enumerate" module and
> > > then choose "Enumerate-Resume" rather than "Enumerate" from the
> > > environment selection list.
> > 
> > using package enumitem, defining an own list
> > 
> > \newlist{myEnum}{enumerate}{3}
> > \setlist{myEnum}{resume}
> > 
> > putting it into a LyX layout and you can use the new list myEnum which
> > always
> > has a continuing counter.
> > 
> > Herbert
> Is enumitem compatible with Beamer? The Beamer layout forbids the enumitem
> module.

I think you're right that there's conflicts:

  https://github.com/josephwright/beamer/issues/342

Scott


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


Re: search in master

2022-03-07 Thread Scott Kostyshak via lyx-users
On Mon, Mar 07, 2022 at 06:46:39PM +0100, Wolfgang Engelmann via lyx-users 
wrote:
> It seems that I can't search for items in child documents in the master, but
> have to go to the various childs in the master and repeat there the search.
> Or is there something I missed?
> Wolfgang

In advanced find, one workaround is to click on "Settings" and then
"Open documents".

I wish that advanced find had an option for "child documents" that was
selected by default. It is on my todo list, but I doubt I would get to
it for a few years.

Scott


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


Re: LyX display of align counters

2022-02-19 Thread Scott Kostyshak via lyx-users
On Sat, Feb 19, 2022 at 05:20:03AM +0100, Daniel via lyx-users wrote:
> On 2022-02-18 22:15, Scott Kostyshak via lyx-users wrote:
> > On Fri, Feb 18, 2022 at 09:53:32PM +0100, Daniel via lyx-users wrote:
> > > On 2022-02-18 17:03, Scott Kostyshak via lyx-users wrote:
> > > > On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote:
> > > > > On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote:
> > > > > > I like to renumber my align numbers within frame. e.g., Instead of 
> > > > > > "equation
> > > > > > 3", I essentially use them as "3rd line of equation on this frame" 
> > > > > > which makes
> > > > > > it easy for students to ask questions and refer to the line number.
> > > > > > 
> > > > > > I do this with the following LaTeX code in the preamble:
> > > > > > 
> > > > > > \AtBeginEnvironment{align}{\setcounter{equation}{0}}
> > > > > > 
> > > > > > I'm greedy and would like to adapt the LyX layout to show the same.
> > > > > > 
> > > > > > Specifying "Within" frame seems to almost do what I want:
> > > > > > 
> > > > > > Counter equation
> > > > > > Within   frame
> > > > > > End
> > > > > > 
> > > > > > However, if I'm on Frame 10, it will show 10.1, 10.2, etc..., where 
> > > > > > I would
> > > > > > prefer just 1, 2, ...
> > > > > > 
> > > > > > If the above can't be tweaked to work, perhaps a different approach 
> > > > > > to using
> > > > > > "Within" would be to have the Frame layout reset the equation 
> > > > > > counter to 0?
> > > > > > 
> > > > > > Scott
> > > > > 
> > > > > Maybe you could provide a minimal example of the frame setup you 
> > > > > have? I
> > > > > guess you are working with some "frame" counter definition.
> > > > 
> > > > Ah indeed there is some interaction with another local patch I have
> > > > applied. I don't think the patch is necessary to reproduce the issue in
> > > > this thread (without it, it seems LyX marks them as #.1, #.2, #.3, #.4;
> > > > but for completeness I attach it (it is against current master).
> > > > 
> > > > I also attach an example .lyx file. I saved it as 2.3.x format just for
> > > > simplicity, but I am testing on current master. Note that the LyX file
> > > > has a preamble (that resets the counter to 0 in LaTeX) as well as a
> > > > local layout (that specifies the Within).
> > > > 
> > > > I also attach a screenshot, which has Frame number patch applied.
> > > > Instead of the equation labels "1.1, 1.2, 2.1, 2.2", I would prefer
> > > > "1, 2, 1, 2" in the LyX display.
> > > > 
> > > > Thanks,
> > > > Scott
> > > 
> > > Like so:
> > > 
> > > Counter equation
> > >Within  frame
> > >LabelString \arabic{equation}
> > > End
> > > 
> > > ?
> > 
> > Perfect! Thanks.
> > 
> > > By the way, why do you use
> > > 
> > > \AtBeginEnvironment{align}{\setcounter{equation}{0}}
> > > 
> > > rather than
> > > 
> > > \AtBeginEnvironment{frame}{\setcounter{equation}{0}}
> > > 
> > > ?
> > > 
> > > If you use the latter, you can use different equation environments without
> > > getting ambiguous numbers within a frame.
> > 
> > That's a good idea. I might change to that. The reason why I initially
> > chose "align" was so that if I do two (small) aligns on one frame, both
> > would restart to (1). But that's a very rare situation anyway.
> 
> Okay, so you want them to restart at (1) on the same frame. So, if you had
> two equation environments on one frame you couldn't say "3rd line of
> equation on this frame" but would have to say "3rd line of the first
> equation on this frame" or so.

Indeed there would be ambiguity.

> > I guess I might want to do both of the above LaTeX commands, in theory.
> > Almost all the time though, it's just one align on one frame so it won't
> > make a big difference.
> 
> If you have the latter command, the former seems superfluous because you
> cannot have an equation that goes over more than one frame, or?
> 
> The former (your) LaTeX command mimics what enumerated lists do. Just notice
> that the layout code I provided restarts within frame and hence mimics the
> latter LaTeX command above not the former. I am not sure that it is
> currently possible to mimic enumerated list counters in LyX. For example,
> 
> Counter equation
>   Within  equation
>   LabelString \arabic{equation}
> End
> 
> just leads to a crash. (Maybe for obvious reasons?) Maybe what would be
> needed is a reset of a counter depending on an environment rather than
> another counter?

Ah true that is a good idea. I suppose the first step is for me to
figure out what I really want :). Thanks for your comments above. I'll
think more and test a couple of things.

Scott


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


Re: LyX display of align counters

2022-02-18 Thread Scott Kostyshak via lyx-users
On Fri, Feb 18, 2022 at 09:53:32PM +0100, Daniel via lyx-users wrote:
> On 2022-02-18 17:03, Scott Kostyshak via lyx-users wrote:
> > On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote:
> > > On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote:
> > > > I like to renumber my align numbers within frame. e.g., Instead of 
> > > > "equation
> > > > 3", I essentially use them as "3rd line of equation on this frame" 
> > > > which makes
> > > > it easy for students to ask questions and refer to the line number.
> > > > 
> > > > I do this with the following LaTeX code in the preamble:
> > > > 
> > > > \AtBeginEnvironment{align}{\setcounter{equation}{0}}
> > > > 
> > > > I'm greedy and would like to adapt the LyX layout to show the same.
> > > > 
> > > > Specifying "Within" frame seems to almost do what I want:
> > > > 
> > > > Counter equation
> > > > Within   frame
> > > > End
> > > > 
> > > > However, if I'm on Frame 10, it will show 10.1, 10.2, etc..., where I 
> > > > would
> > > > prefer just 1, 2, ...
> > > > 
> > > > If the above can't be tweaked to work, perhaps a different approach to 
> > > > using
> > > > "Within" would be to have the Frame layout reset the equation counter 
> > > > to 0?
> > > > 
> > > > Scott
> > > 
> > > Maybe you could provide a minimal example of the frame setup you have? I
> > > guess you are working with some "frame" counter definition.
> > 
> > Ah indeed there is some interaction with another local patch I have
> > applied. I don't think the patch is necessary to reproduce the issue in
> > this thread (without it, it seems LyX marks them as #.1, #.2, #.3, #.4;
> > but for completeness I attach it (it is against current master).
> > 
> > I also attach an example .lyx file. I saved it as 2.3.x format just for
> > simplicity, but I am testing on current master. Note that the LyX file
> > has a preamble (that resets the counter to 0 in LaTeX) as well as a
> > local layout (that specifies the Within).
> > 
> > I also attach a screenshot, which has Frame number patch applied.
> > Instead of the equation labels "1.1, 1.2, 2.1, 2.2", I would prefer
> > "1, 2, 1, 2" in the LyX display.
> > 
> > Thanks,
> > Scott
> 
> Like so:
> 
> Counter equation
>   Within  frame
>   LabelString \arabic{equation}
> End
> 
> ?

Perfect! Thanks.

> By the way, why do you use
> 
> \AtBeginEnvironment{align}{\setcounter{equation}{0}}
> 
> rather than
> 
> \AtBeginEnvironment{frame}{\setcounter{equation}{0}}
> 
> ?
> 
> If you use the latter, you can use different equation environments without
> getting ambiguous numbers within a frame.

That's a good idea. I might change to that. The reason why I initially
chose "align" was so that if I do two (small) aligns on one frame, both
would restart to (1). But that's a very rare situation anyway.

I guess I might want to do both of the above LaTeX commands, in theory.
Almost all the time though, it's just one align on one frame so it won't
make a big difference.

Thank you!
Scott


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


Re: LyX display of align counters

2022-02-18 Thread Scott Kostyshak via lyx-users
On Fri, Feb 18, 2022 at 02:52:35PM +0100, Daniel via lyx-users wrote:
> On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote:
> > I like to renumber my align numbers within frame. e.g., Instead of "equation
> > 3", I essentially use them as "3rd line of equation on this frame" which 
> > makes
> > it easy for students to ask questions and refer to the line number.
> > 
> > I do this with the following LaTeX code in the preamble:
> > 
> > \AtBeginEnvironment{align}{\setcounter{equation}{0}}
> > 
> > I'm greedy and would like to adapt the LyX layout to show the same.
> > 
> > Specifying "Within" frame seems to almost do what I want:
> > 
> > Counter equation
> > Within   frame
> > End
> > 
> > However, if I'm on Frame 10, it will show 10.1, 10.2, etc..., where I would
> > prefer just 1, 2, ...
> > 
> > If the above can't be tweaked to work, perhaps a different approach to using
> > "Within" would be to have the Frame layout reset the equation counter to 0?
> > 
> > Scott
> 
> Maybe you could provide a minimal example of the frame setup you have? I
> guess you are working with some "frame" counter definition.

Ah indeed there is some interaction with another local patch I have
applied. I don't think the patch is necessary to reproduce the issue in
this thread (without it, it seems LyX marks them as #.1, #.2, #.3, #.4;
but for completeness I attach it (it is against current master).

I also attach an example .lyx file. I saved it as 2.3.x format just for
simplicity, but I am testing on current master. Note that the LyX file
has a preamble (that resets the counter to 0 in LaTeX) as well as a
local layout (that specifies the Within).

I also attach a screenshot, which has Frame number patch applied.
Instead of the equation labels "1.1, 1.2, 2.1, 2.2", I would prefer
"1, 2, 1, 2" in the LyX display.

Thanks,
Scott
From 0c03fad85cd099e467db015f98af4b2cf9dd9141 Mon Sep 17 00:00:00 2001
From: Scott Kostyshak 
Date: Thu, 27 Jan 2022 17:11:48 -0500
Subject: [PATCH] beamer.layout: display frame number in LyX display

TODO:
(LyXMessage-ID:)
For some reason, if one keeps the TocLevel to 4, the label "Frame ..."
disappears. But, I guess, as long as you don't use Subsubsection in your
presentation, it should be no problem?

TODO:
(LyXMessage-ID:)
But instead of an empty LabelString, LyX seems to treat it the same as if it
hadn't been defined and adds just the number in front. Maybe this is a bug?

Motivation: Doug would find it useful, racoon suggested upstream
also:

LyXMessage-ID:

Thanks to racoon for the help. I think I would have given up on my
initial try without your help.

TODO (optional): in fragile frame layout, any way to just append "(fragile)",
to avoid having to duplicate "\theframe" ? Also for plain frame.
---
 lib/layouts/beamer.layout | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout
index d824522c8b..eab352bbdf 100644
--- a/lib/layouts/beamer.layout
+++ b/lib/layouts/beamer.layout
@@ -58,6 +58,9 @@ AddToPreamble
   }
 EndPreamble
 
+Counter frame
+End
+
 
 #
 # STANDARD STYLE
@@ -478,14 +481,16 @@ End
 # FRAMES
 #
 
+
 Style Frame
   Category Frames
   Margin   First_Dynamic
   LeftMargin   xx
   LatexTypeEnvironment
   LatexNameframe
-  LabelString  "Frame"
-  TocLevel 4
+  LabelString  "Frame \theframe"
+  LabelCounter frame
+  TocLevel 3
   KeepEmpty1
   NextNoIndent 1
   AlignLeft
@@ -543,7 +548,7 @@ End
 
 Style PlainFrame
   CopyStyle Frame
-  LabelString   "Frame (plain)"
+  LabelString   "Frame \theframe (plain)"
   Argument 3
 MenuString  "Frame Options"
 LabelString "Options"
@@ -554,7 +559,7 @@ End
 
 Style FragileFrame
   CopyStyle Frame
-  LabelString   "Frame (fragile)"
+  LabelString   "Frame \theframe (fragile)"
   Argument 3
 MenuString  "Frame Options"
 LabelString "Options"
@@ -995,7 +1000,8 @@ Style Title
   BottomSep1
   ParSep   1
   AlignCenter
-  LabelTypeNo_Label
+  LabelTypeStatic
+  LabelString  " "
   Argument 1
 LabelString   "Short Title|S"
 Tooltip   "Short title which appears in the sidebar/header"
@@ -1010,6 +1016,7 @@ Style Title
   DocBookTag   title
   DocBookTagType   paragraph
   DocBookInInfomaybe
+  LabelCounter frame
 End
 
 Style Title_(Plain_Frame)
-- 
2.32.0



example.23.lyx
Description: application/lyx


signature.asc
Description: PGP signature
-- 
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   >