Re: Increasing table row hight with easytable

2022-07-22 Thread jspitzm
Am Donnerstag, dem 21.07.2022 um 12:00 -0700 schrieb Rich Shepard:
> For a form I want to increase row heights in a table. The preamble
> specifies \usepackage{easytable} and I find LaTeX instructions but
> none for LyX. I'd appreciate a pointer.

I don't think easytable can be used in LyX without much TeX mode, as it
uses a special TAB environment (instead of table).

If you only want to increase row heights, the standard LaTeX way is

\renewcommand{\arraystretch}{1.5}

or whatever height you want.

Jürgen

> 
> Rich

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


Re: resume enumerate for beamer

2023-03-29 Thread jspitzm
Am Mittwoch, dem 29.03.2023 um 07:36 -0400 schrieb Neal Becker:
> Thanks for the suggestion!  Unfortunately tried on lyx-2.4-dev and
> got
> ! Undefined control sequence.
> \beamer@enum@ ...fix item}##1}\beamer@cramped 
>   \raggedright
> \beamer@first...
> l.47 \item
> 
> Attached is a minimal example using beamer, with only this beamer-
> resenumerate (not title page or frames).

There needs to be at least one frame in the document (the enumeration
itself doesn't need to be in a frame).

HTH,
Jürgen



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


Re: resume enumerate for beamer

2023-03-29 Thread jspitzm
Am Mittwoch, dem 29.03.2023 um 13:52 +0200 schrieb jspi...@gmail.com:
> There needs to be at least one frame in the document (the enumeration
> itself doesn't need to be in a frame).

FWIW this is even the case with normal enumerate and without the
module. See attached MWE which produces the same error.

Jürgen



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


Re: resume enumerate for beamer

2023-03-29 Thread jspitzm
Am Mittwoch, dem 29.03.2023 um 08:44 -0400 schrieb Neal Becker:
> The usage of this environment is, it will continue numbering of
> whatever enumeration preceded it?  Presumably also works across
> slides?

Yes, that's the idea.

Jürgen

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


Re: Is there a way to abort the file output?

2023-09-18 Thread jspitzm
Am Montag, dem 18.09.2023 um 09:40 -0400 schrieb Dan:
> Hmmm.. apparently I need to update.  I have version 2.3.7.  (Which
> has no spinning wheel!)

Yes, that's a new feature. But beware that 2.4 is not released yet, you
can only use beta versions (with the usual caveat).

Best,
Jürgen

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


Re: Problem with frame inset

2023-09-20 Thread jspitzm
Am Dienstag, dem 19.09.2023 um 15:43 +0200 schrieb Dan:
> I have come across the very same problem again with listing buttons
> (when editing externally). The solution is the very same as well.
> 
> STEPS TO REPRODUCE:
>    1. Insert > Program listing
>    2. Type something in.
>    3. Open context menu (right clic) and choose "Edit externally".
>    4. A button for the program listing inset shows whose text is
> barely readable. See attached image.
> 
> SOLUTION:
> I have tried mimicking your solution to the previous problem:
> switching the label's text colour from "foreground" to "black". See
> the text attachment (diff of changes to lib/layouts/stdinsets.inc)

Yes, perfect. I've done the change. I also verified that there is no
more missed case in stdinsets (there's another foreground case in
IPADeco, but this one's correct).

Best,
Jürgen

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


Re: LyX Unapplied changes pop-up

2024-07-02 Thread jspitzm
Am Dienstag, dem 02.07.2024 um 11:42 +0300 schrieb matan guedj:
> first of all, excuse me for writing you this way and not through the
> mailing list, but I couldn't find your response in my emails at all,
> I found it out using the archive 

Maybe you aren't subscribed to the list? I only sent the response to
the list address, not your own (but I include both now so others can
chime in with ideas).

> and regarding what you've written here:
> I actually don't have any unapplied changes in the document settings,
> and the document settings window isn't even open

This is puzzling. The code that triggers this dialog is _in_ the
document settings dialog.

But I think I understand now that this can be accessed even if the
dialog is not open. I will push what I think is a fix, but as LyX 2.4.1
has already been built, this will make its debut only in LyX 2.4.2.

Meanwhile, if you can come up with a somewhat reliable recipe to
reproduce this behavior, this would be highly helpful (as I cannot
reproduce it myself).

Thanks,
Jürgen

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


Re: warning "different LaTeX input encodings" in a single LyX file

2024-07-02 Thread jspitzm
Am Dienstag, dem 02.07.2024 um 16:25 +0300 schrieb matan guedj:
> here are the files, one is in Hebrew, and I'm using a bind file
> called cua which I'll link to just in case it's relevant

Thanks, this was helpful. This is a small glitch which will be fixed
(again, only in LyX 2.4.2).

In the meantime, you can either ignore the error or, to get rid of it,
uncheck "use non-TeX fonts" in the MacrosStandard.lyx file, then set
the encoding to "Unicode (utf8)" rather than "Traditional (auto-
selected)" (as advised in my first mail), then check use-non-tex fonts
again.

The problem here is that LyX checks for the encoding also in the
XeTeX/LuaTeX case where it actually shouldn't (since these file are
always utf8 in the output).

HTH,
Jürgen

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


Re: combinations of preview environment and ert environment doesn't work in 2.4.2?

2024-11-03 Thread jspitzm
Am Sonntag, dem 03.11.2024 um 08:59 +0200 schrieb matan guedj:
> I've checked all of these folders, I found only a few log files, not
> nearly as enough as the number of lyx files I have (there seem to be
> only 2 folders with content in them, and in those folders, there are
> in total 3 log files) I checked all those logfiles with the
> keywords of "preview", "instant", "error" and got nothing out of
> those.
> is there some other way to check this out? (also btw am I replying
> correctly to the mailing list?) 

No, but I redirect this reply now back to lyx-users.

> I've attached one of those log files if you want to have a look as
> well

This shows errors:

! Missing $ inserted.
 
$
l.79}
 ^\text{complex number}

and

! Missing $ inserted.
 
$
l.80 \]

We'd need to see the document to make a definite judgment, but it looks
like you are using invalid stuff (maybe ^ in ERT?)

HTH,
Jürgen

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


Re: numbering cells in table

2025-03-17 Thread jspitzm
Am Montag, dem 17.03.2025 um 11:28 +0100 schrieb Paolo M:
> It would be nice to display the numbering in lyx, in the future.

If you put the definition code into the preamble (rather than before
the table, as I have done), you can nest them in a preview environment
to see the result.

Or, more elegantly, you could define a counter in LyX as documented in
Help > Customization (5.3.12) and use that directly (as documented in
the User Guide, sec. 6.4). This requires some tweaking with LyX layout
definitions (e.g., in Document > Local Layout or a module).

HTH,
Jürgen

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