Re: Hebrew document, numbers inside marginal note and footnote change to small font size

2022-03-26 Thread Jürgen Spitzmüller via lyx-users
Am Freitag, dem 25.03.2022 um 19:11 + schrieb tush via lyx-users:
> I noticed that changing the Language package to polyglossia removes
> the \beginL and \endL.
> 
> Why is it?

Because the Bidi package (used by polyglossia) internally sets the
correct direction to Arabic numbers.

If language package is none, LyX cannot know you actually want
polyglossia.

The \small output is a bug.

> How can I avoid the \beginL and \endL when using "None" as the
> Language package, and also remove the \small{} change for the font
> size?

Put the number in ERT (TeXMode).

Jürgen





small font size digits f.lyx
Description: application/lyx


signature.asc
Description: This is a digitally signed message part
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Hebrew document, numbers inside marginal note and footnote change to small font size

2022-03-25 Thread tush via lyx-users
Consider the attached LyX file.
The document's language is Hebrew and the Language package is set to "None".
I inserted a marginal note and typed inside
```
א 1
```

For some reason, the latex code for the "1" is transformed into
```
{\small{} }{\beginL 1\endL}
```

Same happens with footnotes.

I noticed that changing the Language package to polyglossia removes the \beginL 
and \endL.

Why is it?

How can I avoid the \beginL and \endL when using "None" as the Language 
package, and also remove the \small{} change for the font size?

However, inside a caption, digits doesn't seem to change font size

I guess I need to amend the Inset Layout in the stdinsets.inc file for the 
marginal note and the footnote, but I don't know what needs to be changed.

small font size digits.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users