Re: conflict beamer, eulervm (with mnwe)

2022-03-31 Thread Neal Becker via lyx-users
Yes, that fixed it!  Thanks!

On Thu, Mar 31, 2022 at 12:32 PM Jürgen Spitzmüller via lyx-users <
lyx-users@lists.lyx.org> wrote:

> Am Donnerstag, dem 31.03.2022 um 12:09 -0400 schrieb Neal Becker via
> lyx-users:
> > Strange conflict.  Using beamer, if
> > \usepackage{eulervm} is added, then when
> > \hat{a} used something happened that causes:
> >
> > ! Undefined control sequence.
> >  \hat
> >
> > l.39 \end{frame}
> >
> > without \hat{} there is no error, and without \usepackage{eulervm}
> > there is no error.
>
> I think the problem is not related to beamer. The eulervm package
> assumes classic (pdf)latex, not lua- or xelatex.
>
> Jürgen
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


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


conflict beamer, eulervm (with mnwe)

2022-03-31 Thread Neal Becker via lyx-users
Strange conflict.  Using beamer, if
\usepackage{eulervm} is added, then when
\hat{a} used something happened that causes:

! Undefined control sequence.

 \hat

l.39 \end{frame}


without \hat{} there is no error, and without \usepackage{eulervm} there is
no error.


Any thoughts?

Thanks,

Neal


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


Re: beamer reference to a page number?

2022-03-30 Thread Neal Becker via lyx-users
OK, I got it.  If I use  I get the slide number, which is what I
wanted.

On Wed, Mar 30, 2022 at 3:04 PM Neal Becker  wrote:

> Hmm, a bit more complicated than I thought.  I really want the cross
> reference to the slide number, which is indicated in the footer.
> When I put \section, I get an un-numbered slide so page numbers and slide
> numbers are not the same.
> Weirdly, I put in 3 labels and 3 cross references to them.  They all look
> the same format (even in the LaTeX code).  For some reason I can't see, 2
> of them did give me a cross reference corresponding to the slide number, as
> I want, but the 3rd gave me what seems to be the page number (which is 4
> greater than the slide number) because I have 4 \sections before this.
>
> On Wed, Mar 30, 2022 at 2:21 PM Paul A. Rubin via lyx-users <
> lyx-users@lists.lyx.org> wrote:
>
>> On 3/30/22 13:56, Neal Becker via lyx-users wrote:
>> > Can I make a reference to a page number in a beamer document?  How?
>> >
>> >
>> When you say "beamer document", do you mean a Beamer slide show or a
>> Beamer article class document?
>>
>> For a slide show, you can put the cursor in either the title or body of
>> the frame to be referenced and use Insert > Label... to insert a label.
>> Then, where the page number should appear, use Insert >
>> Cross-Reference..., pick the label of the target frame, and set the
>> "Reference Format:" box to one of the three options that contains
>> "".
>>
>>
>>
>>
>> --
>> lyx-users mailing list
>> lyx-users@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>
>
>
> --
> *Those who don't understand recursion are doomed to repeat it*
>


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


Re: beamer reference to a page number?

2022-03-30 Thread Neal Becker via lyx-users
Hmm, a bit more complicated than I thought.  I really want the cross
reference to the slide number, which is indicated in the footer.
When I put \section, I get an un-numbered slide so page numbers and slide
numbers are not the same.
Weirdly, I put in 3 labels and 3 cross references to them.  They all look
the same format (even in the LaTeX code).  For some reason I can't see, 2
of them did give me a cross reference corresponding to the slide number, as
I want, but the 3rd gave me what seems to be the page number (which is 4
greater than the slide number) because I have 4 \sections before this.

On Wed, Mar 30, 2022 at 2:21 PM Paul A. Rubin via lyx-users <
lyx-users@lists.lyx.org> wrote:

> On 3/30/22 13:56, Neal Becker via lyx-users wrote:
> > Can I make a reference to a page number in a beamer document?  How?
> >
> >
> When you say "beamer document", do you mean a Beamer slide show or a
> Beamer article class document?
>
> For a slide show, you can put the cursor in either the title or body of
> the frame to be referenced and use Insert > Label... to insert a label.
> Then, where the page number should appear, use Insert >
> Cross-Reference..., pick the label of the target frame, and set the
> "Reference Format:" box to one of the three options that contains "".
>
>
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


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


beamer reference to a page number?

2022-03-30 Thread Neal Becker via lyx-users
Can I make a reference to a page number in a beamer document?  How?
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


beamer frame (again)

2022-03-15 Thread Neal Becker via lyx-users
I'm trying to get used to the lyx way to insert beamer frames.  Compared to
the inset method I've been using I find it a bit inefficient, but maybe I
need to learn some keyboard shortcuts to help with that.

One thing I'm having trouble with is inserting a beamer frame into a
sequence of existing frames.  I have frame 1, a frame separator, and then
frame 2.  If I try to put the cursor at the end of the separator, and then
switch to "frame" from pulldown, this will not insert a frame, but seems to
modify frame 2 (the cursor is placed in the title of frame 2).

The only way I could get a frame inserted is to first in "standard" mode
type some random characters, and then I could switch to "frame" to get a
new frame inserted.  What am I missing?

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


multirow table elements

2022-02-28 Thread Neal Becker via lyx-users
I wanted to make some of the column headings multirow, because otherwise
they would use too much horizontal space.

I see that I can select the cell, then settings/column settings, set a
width will then autowrap the cell text, and I can use ctrl-enter to put the
linebreak where I want.

There is also in settings/row a multirow check box.  What does this do?

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


Re: LuaTeX vs XeTeX

2021-12-17 Thread Neal Becker via lyx-users
I thought all LaTeX have to pass strict tests and produce identical
results.  Any difference due to different fonts.  Is this correct?

On Fri, Dec 17, 2021 at 6:06 AM Herbert Voss via lyx-users
 wrote:
>
> Am 16.12.21 um 22:12 schrieb Virgil Arrington via lyx-users:
> > Starting with the completely clean files, I added the Microtype
> > package to both and compiled them. As with my first test, I got
> > different results. XeTeX once again produced many more hyphenated
> > lines -- essentially the same as it produced without Microtype -- than
> > did LuaTeX. Neither produced any significant overfull lines at the
> > right margin.
> >
> > So, it seems as if Microtype behaves differently with XeTeX and LuaTeX
> > -- at least on my system.
> >
>
> Sure, microtype for xetex is not the same as microtype for luatex.
>
> Herbert
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



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


Re: Graphic file formatsx

2021-12-09 Thread Neal Becker via lyx-users
I've had some issues similar to this, although none of my timings are
as long as you describe.  I often create plots with matplotlib.  I
believe that if you draw, say a scatterplot with 10^6 data points, the
resulting pdf will contain 10^6 instructions to draw points.  This may
cause slow rendering (and printing!).  The most straightforward fix I
know of is don't do that, write code to resample the results to a
smaller set.  However, that requires work on my part.

I've searched a couple of times for a software solution (say, a
backend for mpl that would automatically simplify plots), but so far I
haven't found anything.  Similarly, it would be nice to have a
solution that directly simplifies a pdf.  I don't think this is the
same thing as compressing a pdf (although I could be wrong).

On Thu, Dec 9, 2021 at 4:44 AM Dr Eberhard Lisse via lyx-users
 wrote:
>
> Steve,
>
> On the Mac I do
>
> brew install --cask pdf-squeezer
>
> works well, and so I bought the license.  Comes even with a command line
> utility so it went straight into the Makefile :-)-O
>
> I must confess, I have a 3.9 MB accounting software of which I only need
> the installation part which is 6 pages, so I use qpdf to pull out those,
> making 75K.
>
>  brew install qpdf
>
> Besides not having answered (timed) how long it takes, I would
> personally, besides looking at shrinkers, int he first instance look at
> how the sucker is generated and work on that.
>
> I save my images on R with ggplot2::ggsave and the help page shows:
>
> device  Device to use. Can either be a device function (e.g. png),
> or one of "eps", "ps", "tex" (pictex), "pdf", "jpeg",
> "tiff", "png", "bmp", "svg" or "wmf" (windows only).
>
> I however, put the R chunks into my LyX files so that the images are
> generated on the fly (knitR).
>
> You asked in another message how many words my handbook has.  It has 25
> child documents and I don't know how to run the stats from the comand
> line, but the result has 950 pages. As I wrote elsewhere when working
> on a chapter I can compile that child document separately which takes
> 5-10 seconds and look at that before running the Makefile. Works for me.
>
> greetings, el
>
> On 08/12/2021 19:37, Steve Litt wrote:
> > Rich Shepard said on Wed, 8 Dec 2021 07:51:56 -0800 (PST)
> >
> >> On Wed, 8 Dec 2021, Dr Eberhard Lisse wrote:
> >
> >>> For my big handbook (which takes 110 seconds to compile (70 on the
> >>> M1)) I have split this into child documents which compile
> >>> individually within 10 to 15 seconds.
> >>
> >> How about loading a PDF image that's 3,704,503 bytes in size while
> >> reading your big handbook?
> >
> > OK, 3,704,503 bytes got my attention. No wonder it's slow.
> >
> > There are ways to shrink PDF size:
> >
> > Web search: linux shrink pdf size
> >
> > SteveT
> [...]
>
>
> --
> To email me replace 'nospam' with 'el'
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



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