Re: Feature I'd most to see in LyX

2024-11-07 Thread Neal Becker
I was thinking about how to control the feature.  I think actually causing
the preview to select the correct page is another topic, and I would guess
not difficult.  One thought is that when the user adds page=N to latex
options lyx will notice and modify the preview.  That's probably not the
best approach IMO because others might reasonably ask, what about other
latex options?  Instead, suppose page=N is given to lyx through a dialog
option, which will then pre-populate the latex options with page=N.

On Thu, Nov 7, 2024 at 11:08 AM Richard Kimberly Heck 
wrote:

> On 11/7/24 10:15 AM, Scott Kostyshak wrote:
> > On Thu, Nov 07, 2024 at 09:18:23AM GMT, Neal Becker wrote:
> >> I use lyx all the time.  The one thing I'd most like to see added is I
> >> often include graphics from multipage pdf and select the page to include
> >> using latex option page=n.  That works fine, except the preview always
> >> shows page1, which makes it a bit tricky to get right.  Would be great
> if
> >> the preview showed the correct page.
> > I think yourself from 11 years ago would agree with you ;)
> > https://www.lyx.org/trac/ticket/9039
> >
> > I also strongly agree with you! I think it is possible to fix this, and
> my feeling is it isn't that hard (although I'm often wrong on this). I
> outlined a plan here: https://www.lyx.org/trac/ticket/6403#comment:9
> > but did not get any feedback on it.
> >
> > @LyX developers: It would be nice to at least agree on what a patch
> would look like. Again, I am not volunteering to write it. But for example,
> is there agreement this would involve a new copier variable (as discussed
> in my plan linked above)?
>
> What you suggest there seems right to me. But I'm not expert on that
> sort of issue.
>
> Riki
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> https://lists.lyx.org/mailman/listinfo/lyx-users
>


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


Re: Feature I'd most to see in LyX

2024-11-07 Thread Jean-Marc Lasgouttes

Le 07/11/2024 à 21:55, Scott Kostyshak a écrit :

On Thu, Nov 07, 2024 at 12:58:49PM GMT, Neal Becker wrote:

Instead, suppose page=N is given to lyx through a dialog
option, which will then pre-populate the latex options with page=N.


Indeed this is a good possibility to consider.


A question for Neal: if you put the graphics inset in a preview inset, 
does it show the right page?


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


Re: Feature I'd most to see in LyX

2024-11-07 Thread Scott Kostyshak
On Thu, Nov 07, 2024 at 12:58:49PM GMT, Neal Becker wrote:
> Instead, suppose page=N is given to lyx through a dialog
> option, which will then pre-populate the latex options with page=N.

Indeed this is a good possibility to consider.

Scott


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


Re: Feature I'd most to see in LyX

2024-11-07 Thread Richard Kimberly Heck

On 11/7/24 10:15 AM, Scott Kostyshak wrote:

On Thu, Nov 07, 2024 at 09:18:23AM GMT, Neal Becker wrote:

I use lyx all the time.  The one thing I'd most like to see added is I
often include graphics from multipage pdf and select the page to include
using latex option page=n.  That works fine, except the preview always
shows page1, which makes it a bit tricky to get right.  Would be great if
the preview showed the correct page.

I think yourself from 11 years ago would agree with you ;)
https://www.lyx.org/trac/ticket/9039

I also strongly agree with you! I think it is possible to fix this, and my 
feeling is it isn't that hard (although I'm often wrong on this). I outlined a 
plan here: https://www.lyx.org/trac/ticket/6403#comment:9
but did not get any feedback on it.

@LyX developers: It would be nice to at least agree on what a patch would look 
like. Again, I am not volunteering to write it. But for example, is there 
agreement this would involve a new copier variable (as discussed in my plan 
linked above)?


What you suggest there seems right to me. But I'm not expert on that 
sort of issue.


Riki


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


Re: Feature I'd most to see in LyX

2024-11-07 Thread Scott Kostyshak
On Thu, Nov 07, 2024 at 09:18:23AM GMT, Neal Becker wrote:
> I use lyx all the time.  The one thing I'd most like to see added is I
> often include graphics from multipage pdf and select the page to include
> using latex option page=n.  That works fine, except the preview always
> shows page1, which makes it a bit tricky to get right.  Would be great if
> the preview showed the correct page.

I think yourself from 11 years ago would agree with you ;)
https://www.lyx.org/trac/ticket/9039

I also strongly agree with you! I think it is possible to fix this, and my 
feeling is it isn't that hard (although I'm often wrong on this). I outlined a 
plan here: https://www.lyx.org/trac/ticket/6403#comment:9
but did not get any feedback on it.

@LyX developers: It would be nice to at least agree on what a patch would look 
like. Again, I am not volunteering to write it. But for example, is there 
agreement this would involve a new copier variable (as discussed in my plan 
linked above)?

I've wanted to work on this, and I don't think it would be too hard. But I will 
not find the time anytime soon. If anyone volunteers to work on it, I will be 
happy to provide feedback and testing.

By the way, thanks for sticking with LyX Neal even though it doesn't have the 
thing you'd most like to see!

Scott


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


Feature I'd most to see in LyX

2024-11-07 Thread Neal Becker
I use lyx all the time.  The one thing I'd most like to see added is I
often include graphics from multipage pdf and select the page to include
using latex option page=n.  That works fine, except the preview always
shows page1, which makes it a bit tricky to get right.  Would be great if
the preview showed the correct page.

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