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


LyX display of align counters

2022-02-17 Thread Scott Kostyshak via lyx-users
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


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


Re: Useful to know how many branch insets are used?

2022-02-13 Thread Scott Kostyshak via lyx-users
On Sat, Feb 12, 2022 at 06:34:40PM +0100, Peter GAAL via lyx-users wrote:
> For me, the main use of branches is to separate the single language versions
> of a document needing to be translated into multiple languages. In this
> specific use case, it is extremely important that all languages have the
> /same/ number of branch insets, but this holds in my opinion even for the
> exemplary question-answer branches described in the LyX docs.
> 
> So yes, I think it’s a /very/ good idea to show the number of branch insets
> in the dialog.

Thanks, PG. This is helpful feedback and I hadn't thought of that use case.

Scott


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


Useful to know how many branch insets are used?

2022-02-11 Thread Scott Kostyshak via lyx-users
I use a lot of branches in my documents. I don't think many others do,
so I'm not sure how relevant this will be. But occasionally I find I
want to remove unused branches. Does anyone else come across this?

It would be pretty easy to write a Python script that does this
externally. That's my current plan.

However, I wonder if it would be useful more generally to display in
Document > Settings > Branches how many times each branch is used (i.e.,
how many insets of each branch there are). It would be a column, along
with the current columns "Activated", "Color", and "Filename Suffix".
For example, one could sort the branches by clicking on the column
header.

Would others find this useful? I'm guessing it's just me and maybe one
or two others, in which case it might be best not to propose this
feature on lyx-devel and just take the easy approach of writing the
Python script. Nonetheless I thought I would ask for feedback since
branches are such a flexible tool I'm not sure how others use them.

Scott


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


Re: pdf (lua) of a lyx document

2022-02-06 Thread Scott Kostyshak via lyx-users
On Sun, Feb 06, 2022 at 10:03:30AM +0100, Jürgen Spitzmüller via lyx-users 
wrote:
> Am Samstag, dem 05.02.2022 um 13:41 -0500 schrieb Scott Kostyshak via
> lyx-users:
> > I'm not sure (I did not do a bisect) but I think the recent commits
> > broke some ctests. Attached is an example document that fails on
> > current master that used to pass.
> 
> Please try again after d66c27de667b9.

Works well, thanks for the 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: pdf (lua) of a lyx document

2022-02-05 Thread Scott Kostyshak via lyx-users
On Sat, Feb 05, 2022 at 07:49:34AM +0100, Jürgen Spitzmüller via lyx-users 
wrote:
> Am Freitag, dem 04.02.2022 um 17:27 +0100 schrieb Jürgen Spitzmüller
> via lyx-users:
> > However, Wolfgang's file reveals more language nesting problems which
> > I need to tackle.
> 
> Actually, the other problems seem to be related to problems in the
> complex setup. So from LyX's side, the issue seems solved.

Thanks for working on this, Jürgen.

I'm not sure (I did not do a bisect) but I think the recent commits
broke some ctests. Attached is an example document that fails on
current master that used to pass.

With unicode encoding in Document > Settings > Language, pdflatex
compilation succeeds, but it fails when changing to some custom
encodings. As for why we test that this Hebrew document compiles with
encoding "Chinese (simplified) (EUC-CN)", I have no idea.

Scott


012-hebrew_he.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


Re: lyx 2.4.0dev crashes

2022-01-29 Thread Scott Kostyshak via lyx-users
On Sat, Jan 29, 2022 at 09:34:37AM +0100, Wolfgang Engelmann via lyx-users 
wrote:
> 
> 
> Am 28.01.22 um 19:30 schrieb Scott Kostyshak via lyx-users:
> > On Fri, Jan 28, 2022 at 05:33:05PM +0100, Jean-Marc Lasgouttes via 
> > lyx-users wrote:
> > > Le 28/01/2022 à 16:47, Wolfgang Engelmann via lyx-users a écrit :
> > > > <
> > > > 
> > > > Am 28.01.22 um 16:36 schrieb Jean-Marc Lasgouttes via lyx-users:
> > > > > Le 28/01/2022 à 16:34, Wolfgang Engelmann via lyx-users a écrit :
> > > > > > Neither do I.
> > > > > > But usually it is due to me, doing something wrong
> > > > > 
> > > > > I have seen total hangs with thunderbird, until I disabled hardware
> > > > > acceleration.
> > > > > 
> > > > > JMarc
> > > > 
> > > > Can't recall, that I enabled hardware acceleration.
> > > 
> > > It is on by default these days.
> > > 
> > > > I can start lyx again, the document where it hung, has .lyx#
> > > > 
> > > > I tried to use
> > > > view other formats
> > > >    view PDF(LuaTeX)
> > > > for a pdf output of the lyx file
> > > > 
> > > > when the trouble started. It might have to do with this?
> > > 
> > > I don't know... And I do not like the XCB errors tht are shown, either.
> > > Sorry.
> > 
> > I wonder if doing 'ldd' on the 'lyx' binary could give helpful errors on a 
> > potential problem.
> > 
> > Scott
> > 
> > 
> where does one find the lyx binary?

Type "which -a lyx"

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.0dev crashes

2022-01-28 Thread Scott Kostyshak via lyx-users
On Fri, Jan 28, 2022 at 05:33:05PM +0100, Jean-Marc Lasgouttes via lyx-users 
wrote:
> Le 28/01/2022 à 16:47, Wolfgang Engelmann via lyx-users a écrit :
> > <
> > 
> > Am 28.01.22 um 16:36 schrieb Jean-Marc Lasgouttes via lyx-users:
> > > Le 28/01/2022 à 16:34, Wolfgang Engelmann via lyx-users a écrit :
> > > > Neither do I.
> > > > But usually it is due to me, doing something wrong
> > > 
> > > I have seen total hangs with thunderbird, until I disabled hardware
> > > acceleration.
> > > 
> > > JMarc
> > 
> > Can't recall, that I enabled hardware acceleration.
> 
> It is on by default these days.
> 
> > I can start lyx again, the document where it hung, has .lyx#
> > 
> > I tried to use
> > view other formats
> >   view PDF(LuaTeX)
> > for a pdf output of the lyx file
> > 
> > when the trouble started. It might have to do with this?
> 
> I don't know... And I do not like the XCB errors tht are shown, either.
> Sorry.

I wonder if doing 'ldd' on the 'lyx' binary could give helpful errors on a 
potential problem.

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.0dev crashes

2022-01-28 Thread Scott Kostyshak via lyx-users
On Fri, Jan 28, 2022 at 03:57:38PM +0100, Wolfgang Engelmann via lyx-users 
wrote:
> 
> 
> Am 28.01.22 um 11:38 schrieb Jean-Marc Lasgouttes via lyx-users:
> > Le 28/01/2022 à 11:23, Wolfgang Engelmann via lyx-users a écrit :
> > > on a terminal
> > > 
> > > $ lyx
> > > 
> > > but it crashes with this output on the terminal:
> > > 
> > > qt.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 598,
> > > resource id: 0, major code: 20 (GetProperty), minor code: 0
> > > /usr/include/c++/10/bits/stl_stack.h:274: void std::stack<_Tp,
> > > _Sequence>::pop() [with _Tp = int; _Sequence =
> > > std::__debug::deque >]: Assertion
> > > '__builtin_expect(!this->empty(), true)' failed.
> > > Abgebrochen
> > > 
> > > what should I do?
> > 
> > Can you run it under gdb?
> > 
> > gdb lyx
> > run
> > [crash]
> > bt
> > 
> > JMarc
> > 
> Thanks, Jean-Marc .
> This is what I got after waiting for quite some time:
> 
> $ gdb lyx
> GNU gdb (Debian 10.1-2) 10.1.90.20210103-git
> Copyright (C) 2021 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> .
> Find the GDB manual and other documentation resources online at:
> .
> 
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from lyx...
> (gdb)

After you see that prompt "(gdb)", then type "run" and press .

Scott


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


Re: Remove textquotedblplain from preamble

2022-01-16 Thread Scott Kostyshak via lyx-users
On Sun, Jan 16, 2022 at 06:49:37PM +, tush via lyx-users wrote:
> I noticed that LyX adds the following to my document preable:
> 
>  LyX specific LaTeX commands.
> \providecommand\textquotedblplain{%
> \bgroup\addfontfeatures{Mapping=}\char34\egroup}
> 
> Where in the document settings or in the LyX preferences is the specific 
> setting that is related to the above? How do I remove it?

Hi tush,

I might be able to help if you provide a minimal example .lyx file
(i.e., a small .lyx file where the above code is indeed added to the
preamble).

Could you also please explain why you want to remove that code?

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: TOC in pdf colored red

2022-01-09 Thread Scott Kostyshak via lyx-users
On Sun, Jan 09, 2022 at 06:45:03AM +0200, Joseph Hesse wrote:
> On 1/9/22 06:36, Scott Kostyshak via lyx-users wrote:
> > On Sun, Jan 09, 2022 at 06:20:47AM +0200, Joseph Hesse via lyx-users wrote:
> > > On 1/8/22 11:56, Herbert Voss via lyx-users wrote:
> > > > > On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote:
> > > > > > Hi,
> > > > > > I am writing a book in lyx.  When I look at the pdf the TOC
> > > > > > appears red.  How can I fix this so it is in black and white? I
> > > > > > want to keep my URL links as colored blue.
> > > > Go into  the preferences menue and insert the following options for
> > > > hyperref
> > > > 
> > > >      colorlinks,
> > > >      citecolor=black,
> > > >      filecolor=black,
> > > >      linkcolor=black,
> > > >      urlcolor=blue,
> > > >      linktocpage,
> > > >      linktoc=all
> > > > 
> > > > 
> > > > Herbert
> > > Thank you for your response.  This doesn't work for me.  I am using Lyx
> > > 2.3.6.1.
> > > 
> > > I go to Tools -> Preference -> Colors and do not see anything like options
> > > for hyperref.
> > > 
> > > Did I make an error?
> > > 
> > > Thank you,
> > > Joe
> > Hi Joe,
> > 
> > Try under Document > Settings > PDF Properties.
> > 
> > Scott
> > 
> Thank you Scott,
> Where is this information documented?

Hi Joe,

For the documentation, see Help > User Guide and search for the section "PDF 
properties".

Scott


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


Re: TOC in pdf colored red

2022-01-08 Thread Scott Kostyshak via lyx-users
On Sun, Jan 09, 2022 at 06:20:47AM +0200, Joseph Hesse via lyx-users wrote:
> On 1/8/22 11:56, Herbert Voss via lyx-users wrote:
> > 
> > > On 08/01/2022 06:32, Joseph Hesse via lyx-users wrote:
> > > > Hi,
> > > > I am writing a book in lyx.  When I look at the pdf the TOC
> > > > appears red.  How can I fix this so it is in black and white? I
> > > > want to keep my URL links as colored blue.
> > 
> > Go into  the preferences menue and insert the following options for
> > hyperref
> > 
> >     colorlinks,
> >     citecolor=black,
> >     filecolor=black,
> >     linkcolor=black,
> >     urlcolor=blue,
> >     linktocpage,
> >     linktoc=all
> > 
> > 
> > Herbert
> Thank you for your response.  This doesn't work for me.  I am using Lyx
> 2.3.6.1.
> 
> I go to Tools -> Preference -> Colors and do not see anything like options
> for hyperref.
> 
> Did I make an error?
> 
> Thank you,
> Joe

Hi Joe,

Try under Document > Settings > PDF Properties.

Scott


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


Re: LuaTeX vs XeTeX

2021-12-22 Thread Scott Kostyshak via lyx-users
On Wed, Dec 22, 2021 at 10:03:46AM -0500, Steve Litt via lyx-users wrote:
> Scott Kostyshak via lyx-users said on Wed, 22 Dec 2021 07:55:24 -0500
> 
> >On Wed, Dec 22, 2021 at 07:26:57AM -0500, Steve Litt via lyx-users
> >wrote:
> >> Scott Kostyshak via lyx-users said on Mon, 20 Dec 2021 20:55:18 -0500
> >>   
> >> >On Mon, Dec 20, 2021 at 03:49:33PM -0500, Steve Litt via lyx-users
> >> >wrote:
> >> >  
> >> >> Because I
> >> >> personalize every book, I need to recompile for every order, so I
> >> >> might research using PDFTeX. Thanks for the tip.
> >> >
> >> >Does the personalization change every page or just a few?  
> >> 
> >> Almost every page. There's a command defined in the doc's preamble,
> >> and before compilation, the person's name is substituted for a token
> >> in the name. That command prints in the page footers on every
> >> mainmatter page that isn't the first page of a chapter.
> >> 
> >> The footer says "Prepared exclusively for Scott Kostyshak",
> >> discretely, in a red/maroon bar.  
> >
> >Thanks for those details. If the footer is in the same x,y location of
> >every page, it might be fast to use a program like pdftk to overlay a
> >"stamp" on each page, rather than recompiling.
> 
> I might be able to do it that way, but if I could, somebody else could
> easily use the same technique to undo it.

I don't think it would be any more hackable that compiling from LaTeX. I
think you're right it's possible to have "layers" which make editing a
bit more easier, but it's also possible to "flatten" a PDF.

Scott


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


Re: LuaTeX vs XeTeX

2021-12-22 Thread Scott Kostyshak via lyx-users
On Wed, Dec 22, 2021 at 07:26:57AM -0500, Steve Litt via lyx-users wrote:
> Scott Kostyshak via lyx-users said on Mon, 20 Dec 2021 20:55:18 -0500
> 
> >On Mon, Dec 20, 2021 at 03:49:33PM -0500, Steve Litt via lyx-users
> >wrote:
> >
> >> Because I
> >> personalize every book, I need to recompile for every order, so I
> >> might research using PDFTeX. Thanks for the tip.  
> >
> >Does the personalization change every page or just a few?
> 
> Almost every page. There's a command defined in the doc's preamble, and
> before compilation, the person's name is substituted for a token in the
> name. That command prints in the page footers on every mainmatter page
> that isn't the first page of a chapter.
> 
> The footer says "Prepared exclusively for Scott Kostyshak", discretely,
> in a red/maroon bar.

Thanks for those details. If the footer is in the same x,y location of
every page, it might be fast to use a program like pdftk to overlay a
"stamp" on each page, rather than recompiling.

Scott


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


Re: LuaTeX vs XeTeX

2021-12-20 Thread Scott Kostyshak via lyx-users
On Mon, Dec 20, 2021 at 03:49:33PM -0500, Steve Litt via lyx-users wrote:

> Because I
> personalize every book, I need to recompile for every order, so I might
> research using PDFTeX. Thanks for the tip.

Does the personalization change every page or just a few?

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: changing tex in the code preview pane of LyX

2021-12-15 Thread Scott Kostyshak via lyx-users
On Wed, Dec 15, 2021 at 11:16:58AM +0100, Wolfgang Engelmann via lyx-users 
wrote:
> I got a \foreignlanguage{english} error in the legend of a figure in a
> German version which was caused by a lyx-note inserted from the English
> version into the legend. This kind of error is difficult to find, but thanks
> to Herbert Voss who pointed me to the tex line I could eliminate it.
> My question is, could I have done it also by eliminating it (i.e.
> \foreignlanguage{english}) directly in the tex code preview pane of the lyx
> document?

Hi Wolfgang, unfortunately this is not possible and not likely to be
possible for a while. It's a commonly requested feature and would be
great to have, but it would be quite difficult to implement.

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 think we need a better name than "MWE"

2021-12-14 Thread Scott Kostyshak via lyx-users
On Tue, Dec 14, 2021 at 03:05:41PM -0500, Steve Litt via lyx-users wrote:
> Hi all,
> 
> Here on the LyX list we use the word MWE to mean the simplest example
> that still exhibits the symptom. But MWE stands for Minimum *Working*
> Example, and by definition, the file that exhibits the symptom does not
> "work". Also, I think I've seen MWE used on various LaTeX venues to
> mean the smallest file that works, for a specific feature you want to
> incorporate.
> 
> Can anyone think of a better name for the tiniest file that exhibits a
> symptom?

Indeed it is confusing.

What are your thoughts on "minimal example" ?

Note that we have a Wiki page, although it doesn't address your question:

  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: END-OF-FRAME, once again..

2021-11-17 Thread Scott Kostyshak
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.

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

2021-10-19 Thread Scott Kostyshak
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.

> > What abut making it so that if the user changes the layout to "frame 
> > title", then a *new* frame is started (i.e., LyX realizes "oh this frame 
> > already has a frame title so the user must want a new frame)?
> 
> I still tend to prefer the way I suggested because of its simplicity
> (especially for new users or people who use, say, beamer not frequently)
> unless it has some flaw I missed.

Perhaps we can start by writing some use cases that are currently annoying with 
the current interface. Then we can propose different interfaces to make those 
workflows easier. I think your proposal is a reasonable one, but I'm not sure 
it's the only one. Also, I'm hesitant to start this conversation since I would 
really want to see Jürgen's thoughts and I don't think he has much time these 
days.

The main confusion I see is that I think users would like one key combination 
that always produces a new frame. Currently, the user has to think whether to 
do "Alt + P, return" or "Alt + P, shift + return", depending on what nesting 
level they are currently at. Do you agree this is the main problem that your 
proposal and my proposal were both trying to solve? Is there any other big 
issue with the current 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: END-OF-FRAME, once again..

2021-10-13 Thread Scott Kostyshak
On Wed, Oct 13, 2021 at 07:59:16AM -0700, Rich Shepard wrote:
> On Wed, 13 Oct 2021, Scott Kostyshak wrote:
> 
> > 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?
> > 
> > What abut making it so that if the user changes the layout to "frame
> > title", then a *new* frame is started (i.e., LyX realizes "oh this frame
> > already has a frame title so the user must want a new frame)?
> 
> Scott,
> 
> I don't recall the exact keystrokes, but if the cursor is at the end of the
> last line in a frame and one presses (IIRC), shift-ctrl-enter, then an
> end-of-frame and new frame below that magically appears. That does the job,
> but takes two hands and a couple of fingers. :-)

Thanks, Rich. That's what I do also and it is the recommended approach.

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

2021-10-13 Thread Scott Kostyshak
On Wed, Oct 13, 2021 at 12:13:30PM +0200, Daniel wrote:
> On 13/10/2021 00:32, UD K wrote:
> > On 10/12/21 7:49 PM, Steve Litt wrote:
> > > UD K said on Mon, 11 Oct 2021 17:47:46 +0200
> > > 
> > > > I SHOULD know this, because it came up in the (distant) past, but
> > > > either I forgot, or Lyx has changed-- probably a little of both.
> > > >     I wanted to cut a frame from a lyx/beamer presentation and put it
> > > > in
> > > > another place in the presentation. Control-X, and Control-V failed. So
> > > > I tried to insert a new frame, but that came without an end-of-frame,
> > > I like LyX as much as the next guy --- I'm selling about 9 books
> > > authored in LyX. But when it comes to putting together a slide
> > > presentation with Beamer, I think LyX adds more complexity than it
> > > removes. When I use Beamer at all, I just edit the LaTeX in an editor.
> > > Doing that would be the kiss of death writing a book, but Beamer/LaTeX
> > > uses only a small subset of LaTeX.
> > > 
> > > SteveT
> > > 
> > > Steve Litt
> > > Spring 2021 featured book: Troubleshooting Techniques of the Successful
> > > Technologisthttp://www.troubleshooters.com/techniques
> > Steve-- I TOTALLY agree with you about the Lyx/Beamer combo being a
> > killjoy experience.  To make matters worse, I use this combination only
> > rarely, and in between, pandemics, Former-Presidents and other plagues
> > brush away what I knew about using it, so the experience is usually like
> > a root-canal: painful, frustrating and disappointing. It is harder to
> > use than the much maligned Impress of the even-more-maligned
> > LibreOffice, but of course the output, if I ever get to that stage, is
> > MUCH better looking.  Whether that improved look is worth the pain
> > depends on your pain threshold ;-)
> > 
> > -- 
> > Ehud Kaplan, Ph.D.
> 
> Hi,
> 
> It's always great to get feedback on LyX.

+1 especially *constructive* feedback :)

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

What abut making it so that if the user changes the layout to "frame title", 
then a *new* frame is started (i.e., LyX realizes "oh this frame already has a 
frame title so the user must want a new frame)?

Scott


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


Re: LibreOffice to LyX

2021-10-04 Thread Scott Kostyshak
On Mon, Oct 04, 2021 at 12:55:34PM +, Virgil Arrington wrote:
> On October 3, Steve Litt (on the LyX User 
> List) wrote:
> 
> > Several times, on long wordprocessing documents, I personally have had
> > LibreOffice writer styles spontaneously change. At one point my
> > personal problem with LibreOffice style prevented me from converting a
> > 300 page doc made in MS Word to LibreOffice. The import went just fine,
> > but the styles kept changing, and keeping them all intact was like
> > playing whack-a-mole.
> 
> > I had an even worse personal failure involving changing styles in
> > LibreOffice's Impress, which contained the 90+ slide presentation I
> > license to companies for their internal Universal Troubleshooting
> > Process course, that now I need to rewrite the entire thing in Beamer.
> 
> At the risk of joining in a flame war, I feel a need to share my experiences 
> with LyX and LibreOffice. As I am on both LyX’s and LibreOffice’s user lists, 
> I am posting this message to both lists.
> 
> I have used both LyX and LibreOffice for decades, the former going back to 
> version 1.4 and the latter going back to its origins as StarOffice and later 
> as OpenOffice.org. Over the years I have found myself having a love/hate 
> relationship with both. I have had to learn that each has its own way of 
> working, and when I try to make either work like the other, I run into 
> problems.
> 
> My current work is primarily with slide presentations, and I bounce back and 
> forth between LyX/Beamer and LO Impress (as well as 
> RMarkdown/Slidy/Ioslides). I have found that with LyX, I can very happily 
> change formatting after composing my content and, so long as I am satisfied 
> with Beamer’s slide designs and themes, it works very well. But, I usually 
> find myself getting very frustrated when I want to change some design detail. 
> It often requires a Google search to learn the right LaTeX command to achieve 
> the change I want. After spending hours trying to achieve a certain result 
> and editing preamble and/or LaTeX code, I often find I just give up and move 
> it all to LO Impress just to get the job done.
> 
> On the flip side, I have had to learn that LO Impress doesn’t like having 
> slide formats changed *after* the presentation substance has been composed. 
> While my styles haven’t suddenly changed on me, I have learned that changes 
> made to Impress master slides do not always get to all slides in a 
> presentation. Through painful experience, I have learned that, if I ever make 
> any direct changes to a particular slide’s format, it seems to disassociate 
> that slide from the master slide. So, after hours of composing and wrestling 
> with Impress’s master slides trying to get it all to behave, I find I often 
> just give up and move it all to LyX/Beamer just to get the job done.
> 
> And in those cases where my slide design needs are particularly simple, I run 
> to Rstudio and Slidy to create a quick and dirty (and well behaved) slide 
> presentation.
> 
> And, so I bounce back and forth between the programs using the one that will 
> let me get the job done efficiently. I find they all require considerable 
> commitment of time and effort to achieve the desired results. Each has some 
> feature I find maddening and each has some feature I find indispensable. In 
> short, despite my obsessive search for the perfect document processing 
> system, I have learned it doesn’t exist. I will continue to use whatever tool 
> best meets the need at hand. Sometimes it’s LyX, sometimes it’s LibreOffice 
> and sometimes it’s
> RMarkdown.

Thanks for this helpful comparison, Virgil! It was interesting for me to read 
about your experience and workflow.

I'm happy to have both LyX and LO and I'm very thankful to all of the 
developers giving their free time for these open source programs!

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 chrome as pdf viewer

2021-09-22 Thread Scott Kostyshak
On Wed, Sep 22, 2021 at 08:42:39AM -0400, Neal Becker wrote:
> 1. Wayland is the new thing to replace X11 (eventually)
> 2. Many of us work from home, and need to do presentations
> 
> But sharing screens under wayland doesn't work well.  My usual way to
> present from lyx is to use the view button, which opens a window with
> evince as viewer (or okular will also work).  Then to present from
> chrome, I will have a choice on X11 of sharing screen, a window, or a
> chrome tab.  I would normally choose to share the pdf viewer window.
> 
> This doesn't work on wayland.  Running chrome on wayland shows no
> windows to share.
> 
> But a thought is sharing a chrome  tab might work.  So that brings up
> my question, how can I configure lyx to open a chrome tab as the pdf
> viewer?  From what I can see, chrome seems to be an adequate viewer
> for most presentation purposes (has basics, no fancy features though).
> 
> Thanks,
> Neal

Tools > Preferences > File Handling > File Formats, choose your format (e.g., 
PDF (pdflatex)), and under "Viewer" select "Custom" and put in "chromium" (or 
the Chrome equivalent). Note that I did not test this.

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 don't I get an answer?

2021-09-13 Thread Scott Kostyshak
On Mon, Sep 13, 2021 at 08:29:46PM +0200, Andreas Plihal wrote:
> Dear LYX community,
>  
> I've sent you some inquiries in the past two weeks, but haven't
> received a response.
>  
> I beg you to answer my question(s) in a solution-oriented manner - as
> most time in the past.
>  
> For example, I gratefully remember Jürgen's (Spitzmüller) quick and
> uncomplicated interventions!
>  
> However, if my last problems I have raised are unsolvable, please let
> me know. Then at least I know my way around. But staying in the dark
> is very "uncomfortable" ...
>  
> Or if I'm getting on your nerves with my inquiries, please tell me
> who I could turn to instead.
>  
> Thanks very much!

Hi Andreas,

I think a lot of people are just busy. These days are quite difficult for a lot 
of people. We've had our schedules and commitments squeezed, stretched, and 
mixed all up. All of us are volunteers.

It sounds like you might be open to some constructive feedback. I remember that 
for one of your questions you did not post a minimal example. This makes it 
difficult to help. It's nice when the person who wants help tries to make it as 
easy as possible to help them. I think someone else pointed out that you did 
not post a minimal example and you replied "I had already radically shortened 
the LYX file." Well, that's still not a minimal example. And when someone is 
volunteering their time to help you and they point out how you could have made 
it easier, to get such a reply does not make other people want to jump in and 
spend time (often it takes a long time to solve and communicate a solution) to 
help you. For more information, you can study the following:

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

Please also read our list netiquette, in particular the top-posting versus 
bottom-posting:

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

To be clear, I'm not at all upset; I just mention the above since it sounded 
like you might be interested in what else you can do in the future to increase 
the chance of getting help. Unfortunately I'm ignorant in the area of your 
questions.

I hope someone finds a solution to the problem!

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: How to modify text alignment

2021-09-08 Thread Scott Kostyshak
On Wed, Sep 08, 2021 at 11:56:49AM +0200, Ricardo Berlasso wrote:
> El mié, 8 sept 2021 a las 11:35, Dr Eberhard Lisse ()
> escribió:
> 
> > RTFM :-)-O
> >
> 
> Please, stop this.

+1 I take a lot of pride when recommending lyx-users in pointing out that it is 
a friendly and respectful list. You might argue that "RTFM" is a fair response 
in some cases, but it is certainly not friendly. You might argue that 
friendliness and respect should not be goals of this list, but I would disagree 
with 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: Simple keyboard shortcut

2021-07-25 Thread Scott Kostyshak
On Sun, Jul 25, 2021 at 08:48:51AM +0300, Baris Erkus wrote:
> Could someone explain *step-by-step* how to add a shortcut to insert italic
> "i.e." when I press Ctrl+i+e?
> 

Hi Barış,

I don't know if it's possible to use that particular key sequence for the 
shortcut. I tried and it doesn't work for me. In case it's still helpful, I can 
tell how to use a different key sequence.

First let's make sure we get the command-sequence that you want. The general 
way to do this is written up step-by-step here:

http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531

I think the command-sequence you want is the following:

  command-sequence font-emph; self-insert i.e.; font-emph

Copy that command-sequence line (starting with "command-sequence" and ending 
with the second "font-emph"), then in LyX go to Tools > Preferences > Editing > 
Shortcuts. Then click on "New". In the box "Function", paste the 
command-sequence. Then click on the blank rectangle and then press the key 
sequence you want (unfortunately I think your ideal sequence doesn't work). 
Then press "OK".

I'm sorry I couldn't figure out how to do it with "Ctrl+i+e". It did work for 
me with "Ctrl + ;".

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: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 06:59:27PM +0200, Ricardo Berlasso wrote:
> El dom, 4 jul 2021 a las 17:15, <_johnny7_...@web.de> escribió:
> 
> > Hello,
> >
> > is there a way to paste text (from a source such as LibreOffice) into
> > LyX and keeping the words in italics emphasized?
> > If not, could such an option be implemented?
> >
> 
> As Scott pointed out, right now it's not possible on a direct way, but you
> can use LibreOffice's own tools to "tag" text in italic and then use the
> "paste as LaTeX" option on LyX. It goes like this:
> 
> - On Writer, make a copy of the document (don't work on the original!)
> - Open the search and replace tool (Ctrl-H)
> - On the Search box, write the following, complete with parenthesis: (.*)
> - With the cursor still on the search box, enable "Regular Expressions"
> and, under Format, select Italics (you'll see the word Italic bellow the
> search box)
> - On the Replace box, write \emph{$1}
> - Replace
> 
> You'll see that all the italic text will be surrounded with the \emph{·}
> tag. Now, you can copy the text to the clipboard and go to LyX → Edit →
> Paste Special → Paste as LaTeX.
> 
> Of course, for short texts it's not worth doing all that, but for longer
> texts, it works pretty well.

Cool idea, Ricardo! This way is better than exporting/importing HTML in the 
sense that you will only get the \emph part formatted. Exporting and importing 
the HTML might give a bunch of different formatting that is not desired.

Scott


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


Re: Paste text with italics

2021-07-04 Thread Scott Kostyshak
On Sun, Jul 04, 2021 at 05:15:43PM +0200, _johnny7_...@web.de wrote:
> Hello,
> 
> is there a way to paste text (from a source such as LibreOffice) into
> LyX and keeping the words in italics emphasized?
> If not, could such an option be implemented?

Hi _johnny7,

In theory this should be possible. When copying, LibreOffice writer appears to 
save two MIME types, plain text (which does not preserve the italics), and HTML 
(which should). LyX can import HTML, so in theory you might be able to go to 
Edit > Paste Special > Paste from HTML. However, I just tested this and it 
didn't work for me. And unfortunately I don't have time to look into why it 
didn't work, but I still write this email just in case anyone else wants to dig 
:)

Note that "Paste from HTML" does not show up in the menu in some cases. In my 
opinion this should be greyed out instead of invisible.

It might work more smoothly if you are willing to export to a .html file and 
then import that from LyX. That's not as convenient as using your system 
clipboard, but it might work better.

Scott


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


Re: Pasting latex in a lyx file

2021-04-22 Thread Scott Kostyshak
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.

Scott


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


Re: add appendix to a chapter

2021-04-12 Thread Scott Kostyshak
On Mon, Apr 12, 2021 at 05:17:55PM +0200, Wolfgang Engelmann wrote:
> 
> 
> Am 12.04.21 um 16:26 schrieb Ricardo Berlasso:
> > 
> > 
> > El lun, 12 abr 2021 a las 16:14, Jürgen Spitzmüller ( > >) escribió:
> > 
> > Am Mo., 12. Apr. 2021 um 14:47 Uhr schrieb Wolfgang Engelmann
> > mailto:engelm...@uni-tuebingen.de>>:
> > 
> > Is there a way to add an additional appendix to one or more
> > chapters in
> > addition to the one at the very end of the document (book)?
> > 
> > 
> > https://ctan.org/pkg/appendix 
> > 
> > HTH
> > Jürgen
> > 
> > 
> > For a working example on the use of the Appendix package, check
> > 
> > https://github.com/scottkosty/lyx-princeton-diss
> > 
> > 
> > Regards,
> > Ricardo
> > 
> > Wolfgang
> > -- lyx-users mailing list
> > lyx-users@lists.lyx.org 
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> > 
> > 
> > -- lyx-users mailing list
> > lyx-users@lists.lyx.org 
> > http://lists.lyx.org/mailman/listinfo/lyx-users
> > 
> > 
> > 
> Thanks, Jürgen and Ricardo.
> Ricardo, I can't access
> https://library.princeton.edu/special-collections/sites/default/files/MuddDissertationRequirements.pdf
> I get:
> Oops! This page doesn't exist
> Should I write
>  scott.kostys...@gmail.com
> who is given there as an address?

Perhaps the following is an updated link:

https://library.princeton.edu/special-collections/file/44213/download?token=YE7XonQq

I'm not sure if the new requirements are different.

In any case, I don't think the Princeton-specific requirements are
relevant to what you are interested in. You can just look at the .lyx
files for an example of having a separate appendix for each chapter.

There might be a better way in recent versions of LyX to achieve this. I
really don't 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: You use bookmarks in LyX. Tell me about it

2021-04-06 Thread Scott Kostyshak
On Mon, Apr 05, 2021 at 02:17:02PM -0400, Paul A. Rubin wrote:

> I rarely use bookmarks, and when I do...

This opening phrase made me think you might be "The Most Interesting LyXer in 
the World" (https://www.youtube.com/watch?v=nYR3TPKKzdE).

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: reveal a multi-line math line-by-line?

2021-02-22 Thread Scott Kostyshak
On Mon, Feb 22, 2021 at 02:00:09PM +0700, Murat Yildizoglu wrote:
> 
> 
> > Le 22 févr. 2021 à 12:56, Scott Kostyshak  a écrit :
> > 
> > Is there a way to not have to use full ERT to reveal a multi-line math
> > line-by-line? This can be accomplished with LaTeX with the following
> > solution:
> > 
> >  
> > https://tex.stackexchange.com/questions/60689/uncover-lines-of-an-align-environment-with-beamer
> > 
> > but I don't see how I can avoid doing the full align in ERT. Is there
> > any other easier LyX-friendly solution?
> > 
> > Scott
> > -- 
> > lyx-users mailing list
> > lyx-users@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-users 
> > <http://lists.lyx.org/mailman/listinfo/lyx-users>
> 
> Hello Scott,
> 
> I use this kind of trick (see the LyX screenshot). Is this what you are 
> looking for?

Hi Murat,

Thanks for that example! Are those separate equations (from LyX's
perspective) or is it a multi-line construct? I think they are separate,
which makes sense and gives some flexibility. But it might be difficult
to align things. But perhaps I should not be so picky :)

Attached is an example and with manual \onslide it can be made to work.
I'm not sure if this approach generalizes for other cases, but I think
it will work for me.

Thanks for your help!

Scott


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


Beamer: reveal a multi-line math line-by-line?

2021-02-21 Thread Scott Kostyshak
Is there a way to not have to use full ERT to reveal a multi-line math
line-by-line? This can be accomplished with LaTeX with the following
solution:

  
https://tex.stackexchange.com/questions/60689/uncover-lines-of-an-align-environment-with-beamer

but I don't see how I can avoid doing the full align in ERT. Is there
any other easier LyX-friendly solution?

Scott


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


Re: Failure bilding 2.3.6.1

2021-02-19 Thread Scott Kostyshak
On Fri, Feb 19, 2021 at 05:09:59PM -0800, Rich Shepard wrote:
> On Fri, 19 Feb 2021, Scott Kostyshak wrote:
> 
> > Just to try something different, do you feel like trying the cmake build?
> > Let us know if you want instructions for how to use cmake.
> 
> Scott,
> 
> I can try that. Since I switched from Red Hat-7 to Slackware-8.0 in 2003
> I've built Lyx using the SlackBuild script (copy attached.) And it's always
> worked flawlessly for me ... until earlier this week when I inadvertently
> removed all the SBo packages while upgrading the distribution (and spent the
> rest of the week re-building and re-installing them).
> 
> I should mention that the SlackBuild script worked fine last month in the
> upgrade from 2.6.3 to 2.6.3.1. That's why I'm puzzled it now fails. Same
> Qt4 and Qt5/PyQt5 versions as then.
> 
> And long ago I switched from writing tools for me in C to Python so I'm 20
> years out of data on all the different C/C++ compilers now out there.
> 
> Carpe weekend,
> 
> Rich

Makes sense, Rich. I was just thinking it might provide a clue as to
what's going on with the other build. Sometimes different build systems
give different errors. Similar to C++: if I don't understand an error
from GCC, sometimes I compile with Clang.

Scott


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


Re: Failure bilding 2.3.6.1

2021-02-19 Thread Scott Kostyshak
On Fri, Feb 19, 2021 at 04:32:48PM -0800, Rich Shepard wrote:
> On Fri, 19 Feb 2021, Rich Shepard wrote:
> 
> > Did that and had the same result.
> 
> I don't see a different issue in the build log with --enable=qt5 in the
> config options. That build log is attached.

Just to try something different, do you feel like trying the cmake build?
Let us know if you want instructions for how to use 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: How to avoid RCS and use git always?

2020-12-17 Thread Scott Kostyshak
On Thu, Dec 17, 2020 at 12:15:17PM +0100, Matěj Cepl wrote:
> Hi,
> 
> I am trying to persuade my wife to start using VCS for her
> documents, and avoid pressing her to use command line for it. I
> thought that just by running git init in the directory her
> documents are stored, LyX would understand that I want to use git
> exclusively, but it still suggests RCS. I have to git add and git
> commit the document to make LyX understand my preferences.
> 
> Is there somewhere some option which would switch off RCS for her
> forever?
> 
> Best,
> 
> Matěj

Hi Matěj,

From what I understand, the reason that things are the way they are in
LyX is that git was added "recently". I'm not sure about adding an
option/preference. In general, we are hesitant to add preferences like
this, and I believe you're the first one to ask for it.

One possibility that *might* satisfy you would be to default to Git if
RCS is not detected on the system. For example, on Linux if the command
"ci" is not available and the command "git" is available, LyX could just
assume Git is intended and can do the setup. However, I'm not sure what
I think of that and I'm not sure what other LyX developers think of
that.

Although I'm also a gitophile, in my opinion the biggest downside to
choosing Git by default and to LyX doing "git init" is that Git can
create lots of files (in its internal .git directory). I do not know if
users would expect this and especially since using Dropbox is so common,
users might be surprised and confused (by Dropbox syncing) from the
creation of so many files.

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: Tab autocomplete behavior in tables

2020-12-03 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 08:08:44PM -0500, Paul A. Rubin wrote:

> An interesting related behavior has to do with the escape key. In other
> programs (such as programming IDEs), if I get autocompletion hints I don't
> want, I typically hit the escape key to get rid of them. So, having
> reproduced the problem with Maria's help, my instinct was to hit Esc and
> then Tab ... except Esc boots me out of the table. I can understand the
> logic (sort of), but I wonder if there is a way to repurpose the escape key
> to just stop hints without moving the cursor?

I have a similar annoyance when I open the layout box (with alt + p, ) 
in a read-only document. I remember I spent some time trying to figure out 
where in the code the escape was received and processed (i.e., not processed), 
but failed to make progress.

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 notes support?

2020-12-02 Thread Scott Kostyshak
On Wed, Dec 02, 2020 at 11:17:07AM -0500, Neal Becker wrote:
> Is there any direct support for beamer notes, or do we need to use ERT?

Is Insert > Custom inset > Beamer Note what you're looking for?

Scott


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


Re: Tab autocomplete behavior in tables

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 05:45:59PM -0500, Paul A. Rubin wrote:
> On 11/30/20 5:13 PM, Scott Kostyshak wrote:

> Scott: Perhaps you can alleviate my confusion here.

Thanks for joining the conversation, Paul. It seems we have a mystery.

> I use the CUA bind file
> (with a couple of tweaks) and have the same binding for Tab that you listed.
> In the preferences dialog, tab completion is on for math mode and off for
> text mode.

Just to be clear, I think you mean *automatic* completion is on for
math mode and off for text mode. It took me a while to understand the
distinction.

> In a math inset, if I type something like \right and start
> playing with the tab key, it does various completion tasks. If I'm not part
> way into a LaTeX command (but, say, in an align* environment), tabbing moves
> from cell to cell.
> 
> In a text table, Tab moves from cell to cell, period. I do *not* under any
> circumstances get prompted to do word completion. (If it matters, I do have
> continuous spell checking on, using Enchant.) So I can't reproduce the
> problem.

> While I'm not complaining, either I don't understand the problem or
> you and Maria both failed to appease some digital deity with whom I am
> apparently on good terms.

Well shoot, I was hoping it was the opposite---that some deity was doing me a 
favor by trying to help with completion, and all I would have to do is piss 
them off. Gaining their favor seems much more challenging.

> This is on Linux Mint 20, so behavior should be the same as on Ubuntu Focal.

Interesting differences. If in preferences you turn automatic completion on for 
text, does that change anything? If not, it might just be that completion in 
text mode is (conveniently) broken for 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: Tab autocomplete behavior in tables

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 04:11:41PM -0500, Maria Gouskova wrote:
> Hi LyX users,
> 
> I'm probably missing something obvious in Preferences, but I couldn't
> figure out how to turn off tab autocompletion for tables. I don't mind it
> in math mode, so it's checked, but I pretty much never ever want that
> behavior in a table. When I hit the Tab key in a table, I want to advance
> to the next cell, and not to see a drop-down menu of random words that
> start with the same string I just typed.
> 
> so, how do I make Tab always advance to the next cell in a table?

I have similar preferences to you. We just had a similar discussion on 
lyx-devel:

  
https://www.mail-archive.com/search?l=mid=20201120032750.3austjolf7ornvpg%40tallinn

You mention that you "don't mind it in math mode". If you also don't
mind *not* having it in math, then the solution is simple:

rebind . The default binding is the following:

  "command-alternatives 
completion-accept;cell-forward;tab-insert;outline-in;depth-increment"

Just remove the "completion-accept" part in your rebinding.

If you do want to keep autocompletion for math, then things are more
complicated. I have a simple patch that does this, but you would have to
compile LyX with the patch. If you by chance use Ubuntu, I can compile a
.deb for you, but I can't compile for other platforms.

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 LyX for publication

2020-11-30 Thread Scott Kostyshak
On Mon, Nov 30, 2020 at 10:32:55AM -0600, Les Denham wrote:
> I mentioned in a post back in March this year that I had a book in
> publication for which I was using LyX to prepare the final PDF for the
> printer, adhering to rather rigid specifications by the publisher.
> 
> That book has now been published, using my PDF for everything but the
> cover. Both I and the publisher are happy with the results.
> 
> If anyone wants advice with a similar project I am happy to help.

Congrats, Les! If you are up for it, add it to the Wiki:

https://wiki.lyx.org/LyX/ProducedPublications

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 under WSL2 using VcXsrv (sharing clipboard problems)

2020-11-28 Thread Scott Kostyshak
On Sat, Nov 28, 2020 at 09:55:53AM -0500, Richard Kimberly Heck wrote:
> On 11/27/20 2:47 PM, Cris Fuhrman wrote:
> > Hello, 
> >
> > I recently started using LyX  on my Windows 10 via WSL2 (Ubuntu) with
> > VcXsrv. The application is snappy and I like configuring the
> > supporting tools in linux (especially the tex configurations). 
> >
> > Sadly, I can't get the clipboard to work consistently outside of X.
> > For example:
> >
> >  1. In Windows, start the VcXsrv
> >  2. In WSL2, start LyX, create New file
> >  3. In Windows, copy some text (e.g., from Notepad++)
> >  4. In LyX paste (this works)
> >  5. In LyX, change the text, then Copy
> >  6. In Notepad++, paste (no effect). Windows-V (to show the clipboard
> > history) shows no trace of the newly copied text from LyX.
> >  7. Try steps 2-4 again and it no longer works, implying something
> > "breaks" the Xserver in those steps.
> >
> > I'm able to do copy/paste with other applications such as xfe (file
> > explorer) and gedit (text editor), so I know my XServer
> > can work properly (at least sometimes). 
> >
> > Is there some option I need to configure in LyX to get it to use the
> > proper clipboard that can be shared outside (assuming that is how it's
> > working with xfe and gedit), or is this a bug?
> 
> I guess it's a bug, but I'm not sure we ever considered this kind of
> setup. (Apparently, what's on the X clipboard is not appearing on the
> Windows one. Does that work with other Linux apps?) I'd suggest you
> either file it on trac or raise it on the devel list.

I don't know if it's relevant, but does LyX work with Wayland's
clipboard? And if it does, is it because there is a compatibility layer?

Scott


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


Re: 'su lyx' changes file access privileges

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 04:31:24PM +0200, paolo m.  wrote:
> Kornel Benko wrote:
> 
> > Am Sun, 27 Sep 2020 14:03:44 +0200
> > schrieb "paolo m. " :
> > 
> >> Kornel Benko wrote:
> >> 
> >> > Am Sun, 27 Sep 2020 13:19:52 +0200
> >> > schrieb "paolo m." :
> >> >   
> >> >> Sometimes, while  in user1 session, I find convenient launching lyx as
> >> >> user2
> >> >> (same group as user1)  to open a lyx file, through 'su'.
> >> >> As user2 changes and save that file, access privileges are changed as
> >> >> well. That does not happen when a text file is opened by kwrite, so it
> >> >> should be something specific to lyx.
> >> >>  
> >> >> Before 'su' switch:
> >> >> text file x-rw-rw-r--
> >> >> lyx file xx.lyx-rw-rw-r--
> >> >> 
> >> >> Switching and modifying file x (by  kwrite)  and xx.lyx (by lyx):
> >> >>   x  -rw-rw-r--
> >> >>   xx.lyx -rw---
> >> >> 
> >> >> (Same results when  launching 'dolphin' file manager as user2 to open
> >> >> a lyx file, through 'su'').
> >> >>   
> >> > 
> >> > Have you checked the setting of 'umask' for both users?
> >> > 
> >> > Kornel
> >> Yes, umask is set in /etc/zshenv;  kwrite complies with that
> >> specification Maybe lyx reads a different umask setting?
> >> 
> >> thanks
> >> 
> >> p.
> >> 
> > 
> > Hm, I meant the output of the command 'umask'.
> > Maybe it is set be /etc/zshenv, but there may be different handling (like
> > include of user specific file).
> > 
> >  Here it is for example
> >  $ umask
> > 22
> > 
> > Kornel
> 
> Umask is the same for both users: 
> % umask
>  002
>  
> 
> % grep -i umask /etc/zshenv
>   umask u=rwx,g=rwx,o=rx 

Is the following discussion related?

https://www.mail-archive.com/search?l=mid=ptceag%245s5%241%40blaine.gmane.org

Scott


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


Re: A general layout/ layout-less lyx file

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 10:36:08AM -0400, Scott Kostyshak wrote:

> Not that I know of but I think it's a good idea. We do have the concept
> of "no color" and "no language". You make a good argument in my opinion
> for something like "no class".

To expand on this, the idea is not that the document would have actually *no* 
class. But there could be a special class called "basic" or something that only 
has "standard" layout and that does not generate a warning when included in any 
other class that has a standard layout. Something like 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: A general layout/ layout-less lyx file

2020-09-27 Thread Scott Kostyshak
On Sun, Sep 27, 2020 at 01:38:18PM +0300, email.i...@gmail.com wrote:
> Hello,
> 
> I maintain a file with many macros which I use in all of my projects.
> My projects usually differ in their layout (e.g., due to submitting to
> different journals) so I commonly get a warning of mismatch between the
> layout of the macros file and the layout of the project file.

Seems like a common workflow and I can see how that would be annoying.

> Even after I silence the pop-up message I see a warning in the LyX log and
> it causes the compilation to run much slower.

The "much slower" part is surprising to me. It could be a bug in LyX.
Could you please provide a minimal example where it runs much slower?

> Is there a way to define the macros file to be layout-less (since it is not
> a stand-alone file so I never compile it) or maybe define it to be of a
> user-defined layout that will be compatible with any article layout I will
> be using (of course, I guess I'll need to manually define and extend this
> list of compatible layouts).

Not that I know of but I think it's a good idea. We do have the concept
of "no color" and "no language". You make a good argument in my opinion
for something like "no class". A related idea we've discussed before in
different contexts is the idea that child documents could share document
settings of master documents. In this case, you want the child document
to inherit the document class of the master document. This is not
implemented yet, but there are a few different use cases we would want
that general framework.

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: Anyone using LyX for quizes on Canvas with math?

2020-09-04 Thread Scott Kostyshak
On Fri, Sep 04, 2020 at 04:32:19PM -0400, Richard Kimberly Heck wrote:
> On 9/4/20 1:47 PM, Scott Kostyshak wrote:
> > On Fri, Sep 04, 2020 at 12:06:18PM -0400, Richard Kimberly Heck wrote:
> >> On 9/3/20 10:20 AM, Scott Kostyshak wrote:
> >>> There are some resources online about turning LaTeX math into the format 
> >>> used on Canvas, but I haven't actually tried anything. Has anyone done 
> >>> this? If so, what are the steps you take from getting from LyX to Canvas 
> >>> quiz? Do you use the LyX HTML export?
> >> I hadn't thought to do this, but it's a good idea. Note that you can
> >> just copy the relevant code out of the Code Preview pane, so don't
> >> really have to export.
> > I prefer to export since I want to export the entire exam. That is, I
> > don't want to use LyX just as an equation editor.
> 
> You can do that and remove the various bits you don't need. Or you can
> preview the whole body and copy and paste that (minus the body tags).
> 
> That said, Canvas lets you create individual questions on the quiz,
> which you may well want to do. In that case, you'd be cutting and
> pasting parts.

Good idea. I'm hoping to eventually automate the process of cutting them
up into multiple questions. I know there is an API for Canvas so it
might be possible. In any case, I wouldn't be able to get to that for a
while.

Scott


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


Re: Anyone using LyX for quizes on Canvas with math?

2020-09-04 Thread Scott Kostyshak
On Fri, Sep 04, 2020 at 12:06:18PM -0400, Richard Kimberly Heck wrote:
> On 9/3/20 10:20 AM, Scott Kostyshak wrote:
> > There are some resources online about turning LaTeX math into the format 
> > used on Canvas, but I haven't actually tried anything. Has anyone done 
> > this? If so, what are the steps you take from getting from LyX to Canvas 
> > quiz? Do you use the LyX HTML export?
> 
> I hadn't thought to do this, but it's a good idea. Note that you can
> just copy the relevant code out of the Code Preview pane, so don't
> really have to export.

I prefer to export since I want to export the entire exam. That is, I
don't want to use LyX just as an equation editor.

> A quick test shows that pasting MathML into Canvas does seem to work,
> though maybe setting the math export type to HTML (under Formats, in
> Document Settings) would be safer, if it worked.

Nice, I didn't know about that option. I will experiment with it.

Thanks,

Scott


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


Anyone using LyX for quizes on Canvas with math?

2020-09-03 Thread Scott Kostyshak
There are some resources online about turning LaTeX math into the format used 
on Canvas, but I haven't actually tried anything. Has anyone done this? If so, 
what are the steps you take from getting from LyX to Canvas quiz? Do you use 
the LyX HTML export?

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 create a child document

2020-08-19 Thread Scott Kostyshak
On Wed, Aug 19, 2020 at 04:00:51PM -0400, Richard Kimberly Heck wrote:
> On 8/19/20 3:24 AM, Wolfgang Engelmann wrote:
> > I want to create a child document for chapter 1 of a book
> > (Koma-script) in LyX. In the help file 'Embedded Objects' it is, as
> > far as I can see, not described how to create it.
> > What I do:
> > 1- In the table of content of the outline I go to chapter 1 and
> > mouse-click right.
> > 2- I select section (which is actually a chapter) which blues the
> > chapter (except the title of the chapter)
> > 3- I choose Insert > file > child document
> > 4- A box pops up 'LyX Child Document' and here I am lost:
> > There is a line File: . Browse ...
> > but if I enter in either File or Browse a name for the child, say
> > Chapter_1 I am told that the file could not be found.
> >
> > Could somebody kindly tell me what has to be done in order to get the
> > selected chapter exported as a child?
> 
> Create the document first, in the normal way (File> New). Then cut and
> paste the content into it. (Probably make sure you have the same
> document class, etc, first.) Then include the new document in the old one.
> 
> Alternatively: Use your OS to copy the original file to Chapter_1.lyx.
> Then delete everything except chapter 1. Then remove Chapter 1 from the
> old file and instead include the new file. (That may be easiest, in the
> end.)

Unfortunately, Wolfgang's expected behavior does not exist yet:

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

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't upgrade LyX on Focal Fossa

2020-07-13 Thread Scott Kostyshak
On Sun, Jul 12, 2020 at 11:08:40AM +0200, Kees Zeelenberg wrote:
> Op 12-07-2020 om 00:06 schreef Paul A. Rubin:
> > ...
> > 
> > Is anybody else having problems upgrading to 2.3.5.1 for Focal via the
> > PPA?
> > 
> In the right-hand corner of the ppa-page
> (https://launchpad.net/~lyx-devel/+archive/ubuntu/release) you see that the
> amd64 version, which you probably want to install, failed to build. So there
> is no update, and Synaptic etc correctly see this.

Looks like the problem is the following:

The following packages have unmet dependencies:
 sbuild-build-depends-lyx-dummy : Depends: libboost-signals-dev but it is not 
installable or
   libboost-signals1.67-dev but it is 
not going to be installed

Liviu, do you know how to solve this for the PPA?

Scott


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


Re: Intermediate .tex file during 'Convert' differs from manual export, causes problems

2020-06-11 Thread Scott Kostyshak
On Thu, Jun 11, 2020 at 05:43:42PM +0200, Alexander wrote:
> Hi Jürgen,
> 
> On Thu, 11 Jun 2020 14:13:34 +0200
> Jürgen Spitzmüller  wrote:
> 
> > The reason for the difference is this commit:
> > commit e798db5739871aaa29f95de321c52f19058064c9
> > (…)
> > The converter flag "nice" will get you the LaTeX file which is also
> > used for export.
> 
> This is the even-greater-than-I-could-hope-for answer I could not
> even hope for :-)
> 
> Adding 'nice' as flag for the converter solves the case (and the
> question marks in my head) – thank you very much for your effort.

That's great the problem seems to be solved. Alexander, would you mind
still filing a bug/enhancement report for Pandoc? Even though the issue
doesn't affect you anymore, it would affect others. I suggest to make a
minimal example .tex file and to post it here:

  https://github.com/jgm/pandoc/issues

Let us know what issue number is so we can follow the discussion.

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: LyX crashes when selecting Document menu item on Mageia 7 (64 bits)

2020-05-09 Thread Scott Kostyshak
On Sat, May 09, 2020 at 04:10:36PM +0200, Antonio García Cordero wrote:
> Sorry for the delay in answering you.

No problem, thanks for the response!

> lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno
> split|s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F"
> and "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar
> página doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C"
> and "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> support/lassert.cpp (51): ASSERTION static_cast char>(ascii[i]) < 0x80 VIOLATED IN /home/iurt/rpmbuild/BUILD/lyx-
> 2.3.1/src/support/docstring.cpp:54
> (  1) lyx: lyx::doAssertWithCallstack(bool)
> (  2) lyx: lyx::doAssert(char const*, char const*, long)
> (  3) lyx: lyx::from_ascii(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  4) lyx: lyx::frontend::GuiApplication::languageModel()
> (  5) lyx:
> lyx::frontend::GuiDocument::GuiDocument(lyx::frontend::GuiView&)
> (  6) lyx: lyx::frontend::createGuiDocument(lyx::frontend::GuiView&)
> (  7) lyx:
> lyx::frontend::GuiView::build(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  8) lyx:
> lyx::frontend::GuiView::findOrBuild(std::__cxx11::basic_string std::char_traits, std::allocator > const&, bool)
> (  9) lyx: lyx::frontend::GuiView::doShowDialog(QString const&, QString
> const&, lyx::Inset*)
> ( 10) lyx: lyx() [0x10b1228]
> ( 11) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
> void**)
> ( 12) lyx: lyx::frontend::GuiView::triggerShowDialog(QString const&,
> QString const&, lyx::Inset*)
> ( 13) lyx:
> lyx::frontend::GuiView::showDialog(std::__cxx11::basic_string std::char_traits, std::allocator > const&,
> std::__cxx11::basic_string,
> std::allocator > const&, lyx::Inset*)
> ( 14) lyx: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&,
> lyx::DispatchResult&)
> ( 15) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
> const&, lyx::DispatchResult&)
> ( 16) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest
> const&)
> ( 17) lyx: lyx::dispatch(lyx::FuncRequest const&)
> ( 18) lyx: lyx::frontend::Action::action()
> ( 19) lyx: lyx() [0x110f336]
> ( 20) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int,
> void**)
> ( 21) /lib64/libQt5Widgets.so.5: QAction::triggered(bool)
> ( 22) /lib64/libQt5Widgets.so.5:
> QAction::activate(QAction::ActionEvent)
> ( 23) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2c950c)
> [0x7fad58a1550c]
> ( 24) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2d0600)
> [0x7fad58a1c600]
> ( 25) /lib64/libQt5Widgets.so.5: QMenu::mouseReleaseEvent(QMouseEvent*)
> ( 26) /lib64/libQt5Widgets.so.5: QWidget::event(QEvent*)
> ( 27) /lib64/libQt5Widgets.so.5: QMenu::event(QEvent*)
> ( 28) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ( 29) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
> QEvent*)
> ( 30) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
> ( 31) /lib64/libQt5Core.so.5:
> QCoreApplication::notifyInternal2(QObject*, QEvent*)
> ( 32) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
> QWidget*, QWidget**, QPointer&, bool, bool)
> ( 33) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1be1dd)
> [0x7fad5890a1dd]
> ( 34) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x1c06a8)
> [0x7fad5890c6a8]
> ( 35) /lib64/libQt5Widgets.so.5:
> QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ( 36) /lib64/libQt5Widgets.so.5: QApplication::notify(QObject*,
> QEvent*)
> ( 37) lyx: lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
> ( 38) /lib64/libQt5Core.so.5:
> QCoreApplication::notifyInternal2(QObject*, QEvent*)
> ( 39) /lib64/libQt5Gui.so.5:
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate
> ::MouseEvent*)
> ( 40) /lib64/libQt5Gui.so.5:
> QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface
> Private::WindowSystemEvent*)
> ( 41) /lib64/libQt5Gui.so.5:
> QWindowSystemInterface::sendWindowSystemEvents(QFlags ssEventsFlag>)
> ( 42) /lib64/libQt5XcbQpa.so.5: 

Re: Let it run

2020-04-30 Thread Scott Kostyshak
On Thu, Apr 30, 2020 at 10:29:04PM +0200, Daniel wrote:
> Hi
> 
> I have a large document that takes more than 10 minutes to compile. In
> between LyX seems to stop the process to ask me whether I want to "Let it
> run" or "Stop it". Is there a way to turn this dialog off? Otherwise, I
> always have to attend to LyX while waiting for the typesetting to finish.

I agree it is annoying for certain cases. For me it is annoying when I
use knitr. For you, is it purely LaTeX compilation that is taking the
time or something else?

I believe the process is not stopped. Try an experiment: when you get
the dialog, wait 10 more minutes until you're sure your script would
have finished, and then click "let it run"---it should immediately show
the PDF.

Scott


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


Re: LaTeX Log scrolled to top

2020-04-27 Thread Scott Kostyshak
On Mon, Apr 27, 2020 at 10:51:30AM +0200, Kornel Benko wrote:
> Am Sun, 26 Apr 2020 23:38:23 -0400
> schrieb Scott Kostyshak :
> 
> > On Sat, Mar 14, 2020 at 12:44:34PM +0100, Daniel wrote:
> > > Hi,
> > > 
> > > Whenever I click on LyX's work area, the LaTeX Log gets scrolled to the 
> > > top.
> > > This makes it a bit tricky to go back and forth between the LaTeX Log and
> > > LyX's work area while fixing errors and warnings.
> > > 
> > > Is there a specific reason this scrolling to the top happens?  
> > 
> > For me, it does not scroll to the top. It scrolls to the LaTeX output
> > corresponding to where the cursor is.
> > 
> > Does it do that with every document or just one?
> > 
> > Best,
> > 
> > Scott
> 
> I see the same as Daniel. Master _and_ branch.

Thanks for checking, Kornel. I see that I misread Daniel's message. I
thought he was talking about the LaTeX source preview box. I now see the
same behavior with the LaTeX Log as you and Daniel, that it scrolls to
the top. My guess as to why it happens is that we are taking into
account the possibility that the .log file has changed and so we reload
it. I haven't looked in the code to confirm this guess. If that is
indeed the case, then we would need a better mechanism to see if the log
file has changed.

Scott


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


Re: LaTeX Log scrolled to top

2020-04-26 Thread Scott Kostyshak
On Sat, Mar 14, 2020 at 12:44:34PM +0100, Daniel wrote:
> Hi,
> 
> Whenever I click on LyX's work area, the LaTeX Log gets scrolled to the top.
> This makes it a bit tricky to go back and forth between the LaTeX Log and
> LyX's work area while fixing errors and warnings.
> 
> Is there a specific reason this scrolling to the top happens?

For me, it does not scroll to the top. It scrolls to the LaTeX output
corresponding to where the cursor is.

Does it do that with every document or just one?

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: knitr and LuaLaTeX

2020-04-23 Thread Scott Kostyshak
On Thu, Apr 23, 2020 at 09:31:53PM +0200, Dr Eberhard Lisse wrote:
> Hi,
> 
> I have a LyX/knitR document which is
> 
>   Document -> Settings -> Formats
>   Default Output Format: PDF (LuaTeX)
> 
> produces PDF without issue.
> 
> Export to TeX
> 
>   latexmk pgf.tex
> 
> produces PDF without issue
> 
> 
> Export to Rnw
> 
>   R -e 'library(knitr);knit("pgf.Rnw")' && latexmk pgf.tex
> 
> fails as there is no
> 
>   \usepackage[latin9]{luainputenc}
> 
> in the Rnw which is however present in the pgf.tex.
> 
> Should that not be there as determined by the Default Output Format?

I can see why you would expect that. Currently in LyX, from what I
understand, the default output format does not affect non-default
output. If your default output is set to PDF (LuaTeX) and you export to
knitr, LyX thinks "OK they don't want the default output format since
they chose a different output".

However, I do see your point that if LyX had to guess what flavor of TeX
it should write the .Rnw in, choosing the flavor that is in the chain
for the default output format is a good guess.

This discussion seems somewhat related to the following feature, which
is not yet implemented:

https://wiki.lyx.org/GSoC/GSoCProjectIdeasFor2014#toc4

Scott


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


Re: onehalfspace

2020-04-05 Thread Scott Kostyshak
On Thu, Aug 08, 2019 at 08:19:29PM +0200, Patrick Dupre wrote:
> Hello,
> 
> It seems that there is an issue with: onehalfspace
> 
> Can I get some feedback?
> 
> See attached file.

You might want to file a bug report so we don't forget about this
(please remove the preamble code when you attach the file). I can
reproduce that I get an error with the .lyx file, but I don't 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: End-of-frame separator in lyx/Beamer

2020-03-26 Thread Scott Kostyshak
On Thu, Mar 26, 2020 at 07:50:53AM -0400, UD Kap wrote:
> 
> On 3/25/20 1:07 PM, Jürgen Spitzmüller wrote:
> 
> Am Mittwoch, den 25.03.2020, 12:33 -0400 schrieb UD Kap:
> 
> Jurgen-- The alt-shift-P-return shortcut does not work in my
> system/environment, and adding a separate frame (environment?) below
> is not what I needed to separate one from from the one following it
> in an existing presentation-- I needed just a separator.
> 
> Why do you need a separator if no other frame follows?
> 
> Jürgen
> 
> 
> 
> 
> Jurgen & Scott,
> 
> As I mentioned above, I have an old presentation, which was prepared
> with Lyx/Beamer.  I wanted to update it, by adding a new slide, which
> was to be followed by a subsection header from the old presentation. 
> I inserted the new slide/frame from the Insert menu (Separated Frame
> Below), which inserts a frame separator followed by Frame.. Frame
> Title etc., following TNODT (The New Way Of Doing Things.)  Upon
> compiling (with no errors reported), that newly inserted frame and
> frame title generates a blank space and other unexpected and
> undesired effects.  That is the reason I needed just a separator.  My
> mother told me I was special, but that situation must have happened
> to others before, and might happen again, which is why I screamed
> publicly for help.

I see, thanks for the explanation, Ehud.

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 separator in lyx/Beamer

2020-03-25 Thread Scott Kostyshak
On Wed, Mar 25, 2020 at 12:33:56PM -0400, UD Kap wrote:
> Jurgen-- The alt-shift-P-return shortcut does not work in my system/
> environment, and adding a separate frame (environment?) below is not
> what I needed to separate one from from the one following it in an
> existing presentation-- I needed just a separator. 

Hi Ehud,

Please bottom-post (https://wiki.lyx.org/FAQ/ListNetiquette#tofu).

Indeed, it is difficult and frustrating to transition to a new way of
doing things. You might just want to stick with an older version of LyX
until you have the time and energy to deal with the transition and to
read Help > Specific Manuals > Beamer Presentations.

If you send us a minimal example, and describe exactly what you would
like to achieve as the end goal, we can tell you the "new" way of doing
things. It's always fun to argue whether the new way of doing things is
better/worse than the old way, but let's separate that discussion from
"how do accomplish things in the new way?".

As for just needing a separator, I'm not sure that manually inserting a
separator is the best way to accomplish what you want to do in the *new*
way of using Beamer in LyX.

Extra credit reading:

  http://xyproblem.info/
  https://wiki.lyx.org/FAQ/MinimalExample

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: how to use parselog flag

2020-02-23 Thread Scott Kostyshak
On Sun, Feb 23, 2020 at 04:26:29AM +, Amra, Nasir wrote:
> Hello,
>I am trying to debug why a converter does not work in lyx 2.3.3 (using 
> miktex 2.9 on windows 7)  , but I am able to run the script in a windows 
> command window (cmd.exe). How do I set parselog flag  in the converter and 
> where would I find the log file? Is it just placing "parselog" in the flag 
> option or "parselog=TRUE" or something else?
> What I am trying to resolve is why the MS Word converter:
> pandoc -s --filter pandoc-citeproc --csl vancouver-superscript.csl   -f latex 
> -o $$o -t docx $$i
> 
> gives me a " lyx - can not convert file" error message. Moreover, I am able 
> to run the script above in a windows command line (cmd.exe) successfully.  
> Any help would be much appreciated.

Maybe you will get helpful output if when you start LyX on the command
line you use "-dbg". For example:

  lyx -dbg any

should give a lot of output. Perhaps there's a better flag to choose.

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: Espace dans le chemin d'accès

2020-02-16 Thread Scott Kostyshak
On Sun, Feb 16, 2020 at 09:31:47AM +, Paul Rey wrote:
> Je viens d'installer la version 2.3.4.2  de Lyx et avec mes fichiers dont le 
> chemin d'accès contient des espaces, il me répond méchamment (voir image 
> jointe) alors que tout marchait très bien avec la version 2.3.Ce n'est pas 
> terriblement génant, puisque si l'on enlève effectivement les espaces, cela 
> fonctionne correctement mais tout de même ... !Sinon, c'est un outil 
> magnifique.

Thanks for the report, Paul. Can you post the output from reconfiguring
LyX? It seems that we check to see if your TeX installation allows
spaces or not while reconfiguring. (if interested in seeing the source
code, grep for 'tex_allows_spaces'). As for why the change, it could be
because when you installed 2.3.4.2 you also installed a newer version of
your TeX distribution. Or it could be a code change in LyX, but since I
can't reproduce it's hard to know.

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: Extremely slow to save file (2.3.4, Windows)

2020-02-13 Thread Scott Kostyshak
On Thu, Feb 13, 2020 at 10:35:23PM -0500, Jim Rockford wrote:
> Thank you for the information that this was (is) a recognized problem.
> However, after the update to 2.3.4.2, I am still experiencing the exact
> same slow file saving problem on Windows 10.  I rebooted just to be sure,
> and I did check that I had the newest version installed.  Anyone else
> notice that this problem persists?

Hi Jim,

Take a look here:

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

There is a proposed fix and new binaries should be available soon!

Also, please bottom-post (https://www.lyx.org/MailingLists#toc8) in future 
posts.

Best,

Scott

> Jim
> 
> On Sun, Feb 9, 2020 at 8:44 PM Scott Kostyshak  wrote:
> 
> > On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
> > > Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
> > > click the save button and have to wait 3-5 seconds for the file saving
> > > process to complete, during which time the cursor is basically frozen
> > (i.e.
> > > I cannot click back into the document and edit).
> > >
> > > At first I thought my computer may have needed a reboot, but that didn't
> > > help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
> > > can tell this hangup is specifically a v.2.3.4 issue.
> >
> > I Jim, I think you ran into this issue:
> > https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
> > soon that fixes it.
> >
> > Best,
> >
> > 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: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote:
> On 2/10/20 4:03 PM, Martin Weise wrote:
> > On 10.02.20 21:52, Scott Kostyshak wrote:
> > > On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> > > > On 10.02.20 17:34, Kornel Benko wrote:
> > > > > Am Mon, 10 Feb 2020 16:54:27 +0100
> > > > > schrieb Martin Weise :
> > > > > 
> > > > > > > I'm wondering whether LyX successfully compiles the PDF file in 
> > > > > > > the
> > > > > > > temp directory but then fails to copy or move it to the target 
> > > > > > > directory.
> > > > > > > 
> > > > > > > Paul
> > > > > > No, Document -> View (pdflatex) produces nothing either. Nor does 
> > > > > > the
> > > > > > LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves 
> > > > > > .aux,
> > > > > > .dvi,. log, .tex and .dep-pdf files.
> > > > > > 
> > > > > > Martin
> > > > > That (.dvi) is the clue probably. Select different output in
> > > > > Document->Settings...->Formats->Default output format: -> PDF 
> > > > > (pdflatex)
> > > > > 
> > > > >   Kornel
> > > > > 
> > > > No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> > > > error message, when run through LyX, regardless of what I choose as the
> > > > default output format.
> > > Still I think Kornel picked up on an important clue: we need to figure
> > > out why there's a .dvi file in the temporary directory. If you exit LyX
> > > and start LyX again (which should use a fresh temp dir), and compile a
> > > simple .lyx file, can you confirm that there's a .dvi in the temporary
> > > directory?
> > > 
> > > Scott
> > > 
> > Positive. There's a .dvi file in the (new) temporary directory after I
> > choose File->Export->PDF (pdflatex).
> > 
> Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools >
> Preferences... > File Handling > Converters and, if so, what do the
> "Converter:" and "Extra flag:" boxes say?

In addition to Paul's question, can you send us your preferences file?
It is a text file and you can find its location by going to Help > About
and looking in the "User directory" path that is listed there.

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: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> On 10.02.20 17:34, Kornel Benko wrote:
> > Am Mon, 10 Feb 2020 16:54:27 +0100
> > schrieb Martin Weise :
> >
> >>> I'm wondering whether LyX successfully compiles the PDF file in the
> >>> temp directory but then fails to copy or move it to the target directory.
> >>>
> >>> Paul
> >>>  
> >> No, Document -> View (pdflatex) produces nothing either. Nor does the
> >> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
> >> .dvi,. log, .tex and .dep-pdf files.
> >>
> >> Martin
> >
> > That (.dvi) is the clue probably. Select different output in
> > Document->Settings...->Formats->Default output format: -> PDF (pdflatex)
> >
> > Kornel
> >
> No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> error message, when run through LyX, regardless of what I choose as the
> default output format.

Still I think Kornel picked up on an important clue: we need to figure
out why there's a .dvi file in the temporary directory. If you exit LyX
and start LyX again (which should use a fresh temp dir), and compile a
simple .lyx file, can you confirm that there's a .dvi in the temporary
directory?

Scott


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


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote:
> On 10.02.20 02:43, Scott Kostyshak wrote:
> > On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
> >> Dear all,
> >>
> >> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
> >> (successfully) for almost two years). However, I recently switched
> >> laptops and therefore needed to reinstall ubuntu.
> >>
> >> On the new machine, LyX fails to export pdf files via pdflatex and
> >> LuaTeX. There is no pdf file after running export. The only thing that
> >> does work is using ps2pdf.
> >>
> >> Here's the message output from Lyx:
> >>
> >> ***
> >> 05:44:25.151: Previewing ...
> >> 05:44:25.154: (buffer-view: Ctrl+R)
> >> 05:44:25.158: pdflatex  "Document.tex"
> >> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.233:  restricted \write18 enabled.
> >> 05:44:25.243: entering extended mode
> >> 05:44:25.244: (./Document.tex
> >> 05:44:25.253: LaTeX2e <2017-04-15>
> >> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.254:
> >> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
> >> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.453:  restricted \write18 enabled.
> >> 05:44:25.462: entering extended mode
> >> 05:44:25.463: (./Document.tex
> >> 05:44:25.464: LaTeX2e <2017-04-15>
> >> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.466:
> >> 05:44:25.593: Successful export to format: PDF
> >> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
> >> VIOLATED IN ../../src/Buffer.cpp:4382
> >> ***
> >>
> >> Any idea what might be wrong?
> >>
> >> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
> >> does work.
> > Hi Martin,
> >
> > When you run pdflatex manually on LaTeX code produced by LyX,
> > does it have a non-zero exit code?
> >
> > Can you send a .lyx minimal example file that reproduces the error?
> >
> > Best,
> >
> > Scott
> 
> Sure thing... here you go. But it's really just any .lyx file.
> 
> Running pdflatex manually yields a zero exit code (and thus, a .pdf file).
> 
> Thanks for your help,

Thanks for the example file. As you probably expected, it compiles fine
on my computer (although it was good to check). 

How did you install LyX? Did you install it from the Ubuntu repository,
or a PPA, or did you manually compile?

When you do the export, do you get an error dialog? What does the
message pane say right after doing the export?

The line about the assertion in your output means that LyX did not
detect an error when exporting but at the same time there is no export
file. So LyX is just as confused as we are it seems.

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: Extremely slow to save file (2.3.4, Windows)

2020-02-09 Thread Scott Kostyshak
On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
> Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
> click the save button and have to wait 3-5 seconds for the file saving
> process to complete, during which time the cursor is basically frozen (i.e.
> I cannot click back into the document and edit).
> 
> At first I thought my computer may have needed a reboot, but that didn't
> help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
> can tell this hangup is specifically a v.2.3.4 issue.

I Jim, I think you ran into this issue:
https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
soon that fixes it.

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: PDF export fails with pdflatex and LuaTeX

2020-02-09 Thread Scott Kostyshak
On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
> Dear all,
> 
> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
> (successfully) for almost two years). However, I recently switched
> laptops and therefore needed to reinstall ubuntu.
> 
> On the new machine, LyX fails to export pdf files via pdflatex and
> LuaTeX. There is no pdf file after running export. The only thing that
> does work is using ps2pdf.
> 
> Here's the message output from Lyx:
> 
> ***
> 05:44:25.151: Previewing ...
> 05:44:25.154: (buffer-view: Ctrl+R)
> 05:44:25.158: pdflatex  "Document.tex"
> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> 2017/Debian) (preloaded format=pdflatex)
> 05:44:25.233:  restricted \write18 enabled.
> 05:44:25.243: entering extended mode
> 05:44:25.244: (./Document.tex
> 05:44:25.253: LaTeX2e <2017-04-15>
> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
> loaded.
> 05:44:25.254:
> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> 2017/Debian) (preloaded format=pdflatex)
> 05:44:25.453:  restricted \write18 enabled.
> 05:44:25.462: entering extended mode
> 05:44:25.463: (./Document.tex
> 05:44:25.464: LaTeX2e <2017-04-15>
> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
> loaded.
> 05:44:25.466:
> 05:44:25.593: Successful export to format: PDF
> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
> VIOLATED IN ../../src/Buffer.cpp:4382
> ***
> 
> Any idea what might be wrong?
> 
> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
> does work.

Hi Martin,

When you run pdflatex manually on LaTeX code produced by LyX,
does it have a non-zero exit code?

Can you send a .lyx minimal example file that reproduces the error?

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: Image paths when exporting from Lyx

2020-01-21 Thread Scott Kostyshak
On Tue, Jan 21, 2020 at 04:40:06PM +0100, muzzle wrote:
> Hello,
> 
> I am trying to setup LyX to export directly to the reStructuredText format.
> I adapted these instructions
>  just replacing markdown
> with rst.
> 
> Unfortunately LyX changes the path of every image.
> 
> e.g. this figure
> 
> .. figure:: 
> 0_home_muzzle_Nextcloud_Stuff_Stuff_documentation_source_img_pressure.jpg
>:alt: Pressure
>:width: 80.0%
> 
>Pressure
> 
> should be
> 
> .. figure:: img/pressure.jpg
>:alt: Pressure
>:width: 80.0%
> 
>Pressure
> 
> I think LyX is replacing the image path with that of a copy of the image
> created to allow the converter to do its job. This is the correct behavior
> if the output format will somehow embed the image in the document, but that
> is not the case for reStructuredText (or for markdown, for that matter).
> 
> If I export the lyx file as latex from the GUI, and then convert it to
> reStructuredText using the command
> 
> pandoc --wrap=none -f latex -t rst -o file.rst file.tex
> 
> the image path is correct, is there a way to obtain the same effect from
> the UI conversion and export system?
> 
> Best,
> 
> Emme

Hi Emme,

It's helpful to always cross-reference your posts. That way, if someone
solves your question on one list, others with the same problem who find
your other post can follow the link and see the solution. Here's your
other post:

  
https://tex.stackexchange.com/questions/524505/image-path-when-exporting-from-lyx

I don't know the answer to you question but I hope someone else does!

Best of luck,

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.3.3 & chapter appendices

2020-01-09 Thread Scott Kostyshak
On Thu, Jan 09, 2020 at 03:00:57PM +, Bernt Lie wrote:
> Happy New Year to LyX:ers.
> 
> 
> 
> I’m about to reorganize some lecture notes, and would like to have the 
> possibility of chapter appendices.
> 
> 
> 
> Does anyone have experience with how to achieve this?
> 
> ·   What type of style/template is recommended?
> 
> ·   How to add needed packages? (E.g., pointers to help files – there are 
> quite a few of , and it is sometimes difficult to find the relevant 
> information.)

Hi Bernt,

You can try this LyX template:

  https://github.com/scottkosty/lyx-princeton-diss

It shows how each chapter can have its own appendix and own list of
references. From what I remember, it uses some hacks, so if you find
something else you might want to go with that.

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: Creating custom shortcut for cross-referencing

2020-01-02 Thread Scott Kostyshak
On Tue, Dec 31, 2019 at 10:53:50PM -0800, Hung-Tzu Chang wrote:
> Hi,
> 
> I would like to ask about how to create custom keyboard shortcut for the
> "Insert | Cross-Reference" function in LyX. I searched through the list in
> Preferences->Editing->Shortcuts and couldn't find the corresponding item
> for such function. I also searched through the LyX bind folder for the
> program and found the function "reference-insert" in the file "aqua.bind".
> However, the function "reference-insert" cannot be found in the preference
> menu. Manually adding the "reference-insert" line to the bind file
> user.bind in the .config folder doesn't work. The LyX version in question
> is 2.3.3 (both Windows and Mac).
> 
> Thank you and happy new year!
> 
> Best,
> Hung-Tzu

The following might be helpful for learning how to figure out the
correct command:

http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531

> -- 
> 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: LyX crashes when selecting Document menu item on Mageia 7 (64 bits)

2019-12-27 Thread Scott Kostyshak
On Mon, Aug 12, 2019 at 03:10:04PM -, Antonio García Cordero wrote:
> Hi,
> 
> When selecting the bottom Document menu item on LyX 2.3.1 (Mageia 7, 64 
> bits), it crashes. I get this through the console:
> 
> lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview 
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno split|
> s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F" and 
> "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar página 
> doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C" and 
> "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información 
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> [antonio@Gimli BOINC]$ lyx
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Code Preview 
> Pane|P" and "Panel del esquema|P" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Entorno split|
> s" and "Entorno cases|s" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Fantasma|F" and 
> "Espacio fino|f" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Limpiar página 
> doble|b" and "Optional Line Break|B" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Cita...|C" and 
> "Marco|c" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Información 
> TeX|X" and "Comprobar TeX|X" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries "Comentarios 
> PDF|F" and "Diagrama Feynman|F" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> frontends/qt4/Menus.cpp (752): Menu warning: menu entries 
> "Configuración...|o" and "Comprimido|o" share the same shortcut.
> support/lassert.cpp (51): ASSERTION static_cast(ascii[i]) 
> < 0x80 VIOLATED IN /home/iurt/rpmbuild/BUILD/lyx-2.3.1/src/support/
> docstring.cpp:54
> (  1) lyx: lyx::doAssertWithCallstack(bool)
> (  2) lyx: lyx::doAssert(char const*, char const*, long)
> (  3) lyx: lyx::from_ascii(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  4) lyx: lyx::frontend::GuiApplication::languageModel()
> (  5) lyx: 
> lyx::frontend::GuiDocument::GuiDocument(lyx::frontend::GuiView&)
> (  6) lyx: lyx::frontend::createGuiDocument(lyx::frontend::GuiView&)
> (  7) lyx: lyx::frontend::GuiView::build(std::__cxx11::basic_string std::char_traits, std::allocator > const&)
> (  8) lyx: 
> lyx::frontend::GuiView::findOrBuild(std::__cxx11::basic_string std::char_traits, std::allocator > const&, bool)
> (  9) lyx: lyx::frontend::GuiView::doShowDialog(QString const&, QString 
> const&, lyx::Inset*)
> ( 10) lyx: lyx() [0x10b1228]
> ( 11) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int, 
> void**)
> ( 12) lyx: lyx::frontend::GuiView::triggerShowDialog(QString const&, 
> QString const&, lyx::Inset*)
> ( 13) lyx: 
> lyx::frontend::GuiView::showDialog(std::__cxx11::basic_string std::char_traits, std::allocator > const&, 
> std::__cxx11::basic_string, 
> std::allocator > const&, lyx::Inset*)
> ( 14) lyx: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, 
> lyx::DispatchResult&)
> ( 15) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest 
> const&, lyx::DispatchResult&)
> ( 16) lyx: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest 
> const&)
> ( 17) lyx: lyx::dispatch(lyx::FuncRequest const&)
> ( 18) lyx: lyx::frontend::Action::action()
> ( 19) lyx: lyx() [0x110f336]
> ( 20) /lib64/libQt5Core.so.5: QMetaObject::activate(QObject*, int, int, 
> void**)
> ( 21) /lib64/libQt5Widgets.so.5: QAction::triggered(bool)
> ( 22) /lib64/libQt5Widgets.so.5: QAction::activate(QAction::ActionEvent)
> ( 23) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2c8b4c) 
> [0x7f8b8482bb4c]
> ( 24) /lib64/libQt5Widgets.so.5: /lib64/libQt5Widgets.so.5(+0x2cfbe0) 
> [0x7f8b84832be0]
> ( 25) /lib64/libQt5Widgets.so.5: 

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

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

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

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

Scott


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


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

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

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

Scott


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


Improvement for tooltip of "Save as Document Defaults"

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

  Save settings as LyX's default document settings

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

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

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

  Save settings as the defaults for new documents

Any comments or alternative proposals?

Thanks,

Scott


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


Re: Convert float figure to float table?

2019-09-26 Thread Scott Kostyshak
On Thu, Sep 26, 2019 at 10:14:19AM -0700, Rich Shepard wrote:
> I goofed and put a table in a figure float. Can I directly convert it?

Maybe if you edit the .lyx file with a text editor (which I don't
recommend). I think the feature you're hoping for (which doesn't exist
yet) would be a layout tag that specifies which layouts can be converted
to other layouts.

Scott


signature.asc
Description: PGP signature


Re: Export child document to pdf2 from command line

2019-08-26 Thread Scott Kostyshak
On Mon, Aug 26, 2019 at 10:55:42AM -0300, Rudi Gaelzer wrote:
> On Sun, Aug 25, 2019 at 9:11 PM Richard Kimberly Heck 
> wrote:
> 
> > > Another detail came up.  I did a simple test with a document containing
> > 3
> > > short chapters.
> > >
> > > From the GUI, in Settings -> Child Documents -> Master Document Output
> > ->
> > > Include only selected children  I can select only some child documents
> > and
> > > then create the PDF in File -> Export -> PDF (pdflatex).  The exported
> > PDF
> > > will contain only the selected child(ren), with all the cross-references.
> > >
> > > However, if I export from command line with
> > > lyx --export pdf2 master.lyx
> > > the PDF will invariably contain the whole document.
> > > I can sen the test files if you wish.
> >
> > Can you file a bug report about this?
> >
> > Riki
> >
> >
> >
> I can, but I'll need to initiate myself to the process...
> If I go to the main page (www.lyx.org) and click Bug Tracker, it opens the
> LyX Bug Tracker
> page in https://www.lyx.org/trac/wiki/BugTrackerHome
> I believe that's the correct place to report bugs, right?
> I will have to register first, in this case.

That's the place. Sorry for the extra trouble to register, but this way
the next time you come across a bug it will be easier to report it.
Thanks for taking the time to do it.

Scott


signature.asc
Description: PGP signature


Re: Export child document to pdf2 from command line

2019-08-23 Thread Scott Kostyshak
On Fri, Aug 23, 2019 at 05:10:44PM -0300, Rudi Gaelzer wrote:
> I have a multi-part document with chapters that are included as child
> documents.  I can successfully export the whole document to PDF in a
> terminal using the standard way given in the ImportExport FAQ in WikiLyX:
> 
> lyx --export pdf2 master.lyx
> 
> Now, if I want to export only some of the childs to PDF, is there a
> standard way to accomplish this?
> The only other relevant instruction in the FAQ is related to branches:
> 
> lyx -x "command-sequence branch-activate b1; branch-deactivate b2" -E pdf2
> outfile.pdf infile.lyx
> 
> but I don't think it applies to my case.

Is putting each of your child documents in a separate branch a
possibility? That way you could use the solution you found. I'm not
aware of a different approach (maybe someone else knows though).

Best,

Scott


signature.asc
Description: PGP signature


Re: [ANNOUNCE] LyX 2.3.3

2019-07-11 Thread Scott Kostyshak
On Thu, Jul 11, 2019 at 11:00:57AM -0400, Maria Gouskova wrote:

> Any idea when Liviu's PPA and/or the official Debian release are going to
> be updated to 2.3.3? I just had LyX 2.3.2 crash on me (the Instant Preview
> Math bug) and I see that the bug is fixed in 2.3.3, so I was hoping to
> upgrade without having to build from source.

I'm CC'ing Liviu. I think he's busy but he'll let us know when he can
update the PPA.

Maria, if you are by chance interested in compiling LyX, start a
separate email thread and we can help you get it set up. This way, if
you are interested, you could use the 2.3.x branch, which is a
development version (i.e., updated every day), but is quite stable and
is what most developers use for daily work (I believe). I know this was
not the suggestion you were looking for, but I offer it nonetheless.

Best

Scott


signature.asc
Description: PGP signature


Re: Articles written with LyX

2019-05-09 Thread Scott Kostyshak
On Thu, May 09, 2019 at 07:58:35AM +0200, Dr Eberhard Lisse wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Scott,
> 
> I like the look, in particular the front page matter.
> 
> Can you send me (e...@lisse.na) the source(s) of one to have a look how
> you did that?

Hi Eberhard,

I didn't make the website or any document there. I don't have any
sources.

Scott


signature.asc
Description: PGP signature


Re: Articles written with LyX

2019-05-08 Thread Scott Kostyshak
On Wed, May 08, 2019 at 02:36:45PM -0300, Carlos Knauer wrote:
> Hi
> 
> Where do I found articles written using LyX ? Is there a site ?

Not sure if this is what you mean, but I don't think we have a list of
published articles that used LyX. We do have one for some books though:

  https://wiki.lyx.org/LyX/ProducedPublications

Best,

Scott


signature.asc
Description: PGP signature


Re: Outline pane bug

2019-05-08 Thread Scott Kostyshak
On Wed, May 08, 2019 at 02:04:22PM -0400, Paul A. Rubin wrote:
> On 5/8/19 4:37 AM, Horsfield, Andrew P wrote:
> > Hi,
> > 
> > I am using LyX Version 2.3.2 on a desktop machine running Kubuntu 19.04
> > (Qt 5.12.2). I find that the outline pane refreshes itself every time I
> > type a character, which is rather distracting.

That would be very distracting to me as well.

> > The work-around is to
> > close the pane when typing. I do not have this problem on my Mac
> > laptop.
> > 
> > Andrew
> I don't see that (LyX 2.3.2, Mint 18.3, Qt 4.8.7), which suggests that it
> might be related either to the operating system (or window manager?) or to
> the Qt version.

I also can't reproduce. I'm on Ubuntu (default GNOME) 19.04 with system
Qt 5.12.2. I self-compiled LyX though. I can test tomorrow on the Ubuntu
version from the repository, if that would help.

How did you get LyX? From the Ubuntu repository or self-compiled or PPA?

Scott


signature.asc
Description: PGP signature


Re: Quicker build

2019-04-21 Thread Scott Kostyshak
On Sun, Apr 21, 2019 at 10:09:34AM +0200, Daniel wrote:
> On 2019-04-20 19:21, Scott Kostyshak wrote:
> > On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote:
> > > Hi,
> > > 
> > > My manuscript takes very long to fully compile, a couple of minutes. I 
> > > have
> > > already tried to only compile parts of it but there was not much 
> > > difference.
> > > 
> > > Since LaTeX is running several rounds in order to get all the references 
> > > and
> > > such right, is there a way to get LyX to run less rounds?
> > 
> > You can define your own converter. See Help > Customization.
> > 
> > Scott
> > 
>  Thanks! It's a bit sparse on information what I would have to set there to
> achieve what I am after though. Any ideas welcome.

It's been a long time since I've made a custom converter, so I don't
know off-hand.

Does it do what you want if you remove "latex=pdflatex" in the converter
flag for the converter LaTeX (pdflatex) -> PDF (pdflatex)? (if you use
something other than pdfLaTeX, adapt accordingly).

Scott


signature.asc
Description: PGP signature


Re: Quicker build

2019-04-20 Thread Scott Kostyshak
On Sat, Apr 20, 2019 at 03:51:11PM +0200, Daniel wrote:
> Hi,
> 
> My manuscript takes very long to fully compile, a couple of minutes. I have
> already tried to only compile parts of it but there was not much difference.
> 
> Since LaTeX is running several rounds in order to get all the references and
> such right, is there a way to get LyX to run less rounds?

You can define your own converter. See Help > Customization.

Scott


signature.asc
Description: PGP signature


Re: Embedding sounds and video in beamer class

2019-04-17 Thread Scott Kostyshak
On Thu, Apr 18, 2019 at 11:45:05AM +1000, Anthony wrote:
> I have attached an MWE.
> 
> Running LyX2.3.0 under windows 10. Using Adobe Acrobat Pro DC.
> 
> My problem is that I can compile the LyX document to generate a pdf, however, 
> when I click on the link in the pdf, the following message appears.

I think I've heard this issue reported a few times. I don't know
anything about this (I'm on Ubuntu). Hopefully we can figure out the
root cause with Adobe Acrobat and fix that, but just in case it helps,
many users have reported success using Sumatra PDF view.

Best,

Scott


signature.asc
Description: PGP signature


Re: Lyx sluggish on Windows 10

2019-03-08 Thread Scott Kostyshak
On Fri, Mar 08, 2019 at 08:47:34PM +0100, David Belius wrote:
> Hi,
> 
> Recently Lyx has been sluggish when typing equations and scrolling in
> moderately sized documents, to the point that it becomes very frustrating.
> Is this known to be an issue with current versions? I am using a fresh
> install of Lyx 2.3.2-2 on an up-to-date version of Windows 10 (Version
> 1809). On Lyx 2.3.2 (2018-12-20) on Ubuntu 18.04.2 LTS on a much older
> computer editing same document is very snappy.

I'm not sure I have seen such a report. It is hard to know how to
diagnose the problem. When you see the sluggishness, are you by chance
working on a file that is in a Dropbox folder and you have automatic
save set to a high frequency? That's just a random guess. We have seen
some problems from users with both Windows and Dropbox.

Scott


signature.asc
Description: PGP signature


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-07 Thread Scott Kostyshak
On Tue, Feb 05, 2019 at 12:26:20PM +0200, Dr Eberhard Lisse wrote:
> Hi,
> 
> on MacOs 10.14.2 I loaded
> 
> https://wiki.lyx.org/uploads/Modules/soul.module
> 
> into LyX 2.3.2, validated and converted it and am getting messages such
> as these:
> 
> 
> LyX: Unknown InsetLayout tag [around line 19 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 20 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 39 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 40 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 60 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 61 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 81 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 82 of file  current token:
> 'Static' context: '']
> LyX: Unknown InsetLayout tag [around line 101 of file  current token:
> 'LabelType' context: '']
> LyX: Unknown InsetLayout tag [around line 102 of file  current token:
> 'Static' context: '']
> 
> What can I do to avoid these?

I don't know, but I can confirm that I see the same.

Scott


signature.asc
Description: PGP signature


Re: characters marked in red

2019-02-25 Thread Scott Kostyshak
On Mon, Jan 21, 2019 at 09:50:55AM +0100, paolo m.  wrote:
> Jean-Marc Lasgouttes wrote:
> 
> > Le 19/01/2019 à 10:34, paolo m.  a écrit :
> >> Jean-Marc Lasgouttes wrote:
> >> 
> >>>
> >>> This is a feature (good or bad) : previews that are too small, where
> >>> "small" is defined as 0.1in (used to be hardcoded to 10 pixels) are
> >>> marked in red.
> >>>
> >>> This is probably what you see here.
> >>>
> >> 
> >> That happens on Lenovo B590 /ubuntu , not on hp elitebook / opensuse .
> >> same lyx 2.3.2
> > 
> > What other differences in terms of screen resolution and zoom level? We
> > may have a bug in this respect.
> > 
> >> How to change preview?
> > 
> > Well, you can disable previews for math in the preferences, but it is
> > probably too much.
> > 
> > JMarc
> 
> While my test file is open, as I change the instant preview size from 1.0  to 
> 1.2 i get :
> 
>  Assertion false violated in
> file: ../../src/CoordCache.cpp, line: 31
> There has been an error with this document.
> LyX will attempt to close it safely.
> The current document was closed.
> 
> Followed by :
> 
> SIGSEGV signal caught!
> Sorry, you have found a bug in LyX, hope you have not lost any data.
> Please read the bug-reporting instructions in 'Help->Introduction' and send 
> us a bug report, if necessary. Thanks!
> Bye.
> 
> Then I open another file and perform the above change in preview size, 
> eveything is ok. 
> Reopening my test file afterwards,  red marks are not shown any more

Do you compile LyX by chance?

Scott


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >