Commit Graph

42341 Commits

Author SHA1 Message Date
Juergen Spitzmueller
199fb4b934 set defaults for float_placement and float_alignment 2020-09-05 08:09:02 +02:00
Stephan Witt
45e8ea4acc #11756 Respect system preferences for tabbing on Mac 2020-09-04 23:28:27 +02:00
Yuriy Skalko
ace9fbb6a0 Update Russian localization 2020-09-04 19:01:50 +02:00
Pavel Sanda
a218f64a56 Fix dist 2020-09-04 09:29:56 +02:00
Enrico Forestieri
50294f6442 Rename and update description of fonts 2020-09-03 21:46:16 +02:00
Pavel Sanda
bc93c6f99e Update check_glyphs.lyx. 2020-09-03 18:39:05 +02:00
Kornel Benko
838853f99e Cmake build: Amend a9afdbb7 and 46fca4dc
Partly revert installing fonds in system dir, not needed after
a9afdbb7 (Personalize fonts)
2020-09-03 18:27:12 +02:00
Enrico Forestieri
a9afdbb73c Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
2020-09-03 17:46:30 +02:00
Jean-Marc Lasgouttes
efc8d44d09 Fixup 2e784b2f: consider default layout too.
And simplify the test at the same time.
2020-09-03 12:56:33 +02:00
Kornel Benko
5b43b84e43 Update sk.po 2020-09-03 12:03:11 +02:00
Kornel Benko
a45f539bb5 Tools(listFontWithLang.pl): Handle also fonts provided by lyx
These fonts are normally not handled by fontconfig
2020-09-03 11:49:58 +02:00
Juergen Spitzmueller
5c83c5c410 Foward-port tooltip addition from stable (3a7560dcb0) 2020-09-03 08:55:46 +02:00
Juergen Spitzmueller
a67c8a356e de.po 2020-09-03 08:53:32 +02:00
Richard Kimberly Heck
5606e934ac Accelerators 2020-09-02 10:22:26 -04:00
Thibaut Cuvelier
9d8ef32d13 Windows: fix in CMakeLists for warning flags.
/Wp64 was used to debug 64-bit incompatibilities. /W4 is used for warnings.

Don't enable /Wx to turn warnings into errors, as the dependencies won't build.
2020-09-02 15:06:13 +02:00
Enrico Forestieri
8039b34802 Adjust debug output for fonts
This restores the debug output as it was intended before the
introduction of the LYXERR macro that was unconditionally outputing
an end of line. This is how this output was appearing until lyx 1.5:

Looking for font family cmr10 ... got: cmr10
 got it normal!

instead of as it was since lyx 1.6 and until now:

Looking for font family cmr10 ...
got: cmr10
 got it
normal!
2020-09-01 12:12:55 +02:00
Richard Kimberly Heck
1ba785f2c6 Localization 2020-09-01 01:41:10 -04:00
Richard Kimberly Heck
3c25899eab Improved fix for edit button 2020-08-31 11:20:49 -04:00
Richard Kimberly Heck
cf7e32ee8f Fix problem with edit button.
The previous implementation relied upon the cursor being immediately
in front of the inset. A bad idea.
2020-08-31 10:50:59 -04:00
Richard Kimberly Heck
a385b7dc2b Fix bug 4475.
Add ability to create child from the include dialog.
2020-08-31 10:20:52 -04:00
Kornel Benko
46fca4dc1d Cmake build: Install lyx fonts in system dir too on linux
1.) Math-editor seems to use system fonts, so install it there.
2.) We use fonts from the support-dir, so install them there too.

This is something automake may take int account too.
2020-08-30 20:30:21 +02:00
Jean-Marc Lasgouttes
d68f6f7f40 Add FIXME: do we need to update scrollbar at each draw()?
Related to ticket #11947.
2020-08-30 19:16:38 +02:00
Stephan Witt
102e9297d7 Add lilypond wrapper scripts to cmake install 2020-08-30 15:39:05 +02:00
Stephan Witt
292799a4bd #11756 cleanup the view menu on Mac
Using US english desktop language LyX's Mac OS adds some items to the view menu:
1. Show/Hide Tab Bar and
2. Enter Full Screen
These items won't work properly and it's better to hide them.
2020-08-30 15:35:02 +02:00
Juergen Spitzmueller
a99695ce82 Fix conversion and reversion of relative totalheights/heights 2020-08-30 11:44:08 +02:00
Stephan Witt
1c5a2fc0ec #11756 hide additional menu items in edit menu on Mac
Mac OS adds two extra menu entries to the edit menu.
These menu items are:
1. Start Dictation...
2. Emoji & Symbols
Both menu items don't work with LyX.
Therefore they shouldn't be present and the new code hides them.
2020-08-30 11:24:59 +02:00
Stephan Witt
784139da50 Remove unused leftover from Makefile. 2020-08-30 11:24:59 +02:00
Pavel Sanda
2fad89df08 This test is no more just about stmary10. 2020-08-30 10:50:58 +02:00
Pavel Sanda
5054204d53 Add new section about problems on opensuse. 2020-08-30 10:50:58 +02:00
Kornel Benko
f74739075e Amend aef29bb: 2020-08-30 09:58:29 +02:00
Scott Kostyshak
73aef078ac ctests: mark ru XY dvi3_systemF tests wrong output 2020-08-30 00:34:06 -04:00
Scott Kostyshak
1146e6ba43 ru XY examples: set fonts to DejaVu
This choice of fonts is consistent with the Russian Intro manual,
and fixes compilation with XeTeX.
2020-08-30 00:34:06 -04:00
Scott Kostyshak
aef29bbe6f ctests: invert ru XY LuaTeX tests
The following error is given during the compilation:

  ! Package xypdf Error: pdfTeX version 1.40.0 or higher is needed for the xypdf
2020-08-30 00:33:51 -04:00
Scott Kostyshak
57253974bc ctests: invert ru Math LuaTeX tests
There are issues due to varioref. Consistent with 6e50327a.
2020-08-29 14:57:50 -04:00
Enrico Forestieri
80f94a9398 Use correct width for \fint
Both QTextLine::naturalTextWidth() and QTextLine::horizontalAdvance()
return the same value for \fint. However, examining esint10.ttf with
fontforge does not reveal any issue with the metrics. The fact that
\fint seems to be the only affected symbol might be due to its code
point, which corresponds to a space, so that maybe Qt makes some
assumptions on the metrics.

As QTextLine::naturalTextWidth() returns the width of the line that is
occupied by text, in the case of a single symbol we can obtain the
same value by using the width of the rectangle bounding the symbol.
2020-08-29 20:10:26 +02:00
Scott Kostyshak
c225b758cb ru UserGuide: set default output format to pdf2
This is consistent with the math manual, and some of the other
formats don't work, because of varioref issues.
2020-08-29 14:00:07 -04:00
Scott Kostyshak
2a665dcc05 ctests: invert LuaTeX + DavidCLM exports
Thanks to Jürgen, who mentions the following:

  luaotfload does not find "DavidCLM". In fact, at least on my system,
  there is no such font, only "DavidCLM Medium" (and other shapes). This
  one is found. Apparently, luaotfload cannot infer from the one to the
  other.

  As opposed to LuaTEX, XeTeX also queries TEXMF so maybe it just finds
  its font there.
2020-08-29 11:12:05 -04:00
Kornel Benko
74e37a4791 Tools(listFontWithLang.pl): Amend 99508630, polish also the style 2020-08-29 15:26:58 +02:00
Kornel Benko
084781d530 Revert "Ignore missing glyphs for fr/Customization.lyx"
This reverts commit 7ec0870cce.
After setting the Dejavu font in c4cba1d3, this is no longer needed
2020-08-29 15:20:49 +02:00
jpc
c4cba1d323 Set Deja Vu as non-TeX fonts to make xetex/luatex succeed 2020-08-29 14:26:32 +02:00
Juergen Spitzmueller
d7b64b8e59 Fix Hebrew intro with LuaTeX
(use iftex rather than ifpdf)
2020-08-29 11:55:56 +02:00
Juergen Spitzmueller
6f476b960e Localize format prettyName in some more places (#11954) 2020-08-29 11:50:43 +02:00
Pavel Sanda
78f97fcc10 UG: Import and review changes from Phil Netro.
Chapter 4-6 & Appendix.
Only few bits actually.
2020-08-28 20:54:26 +02:00
Enrico Forestieri
8a826918de Amend f96b99dc 2020-08-28 17:39:01 +02:00
Daniel Ramoeller
ad561fc9bc Fix for bug #11948
Force plain layout in soul char styles.
2020-08-28 08:08:39 +02:00
Juergen Spitzmueller
3fc095e3bc Do not \protect label in subfloat caption (#11950) 2020-08-28 07:32:29 +02:00
Yuriy Skalko
3bd358a2f6 Prevent permanent disabling of comboboxes in Vertical/Horizontal space dialogs 2020-08-28 07:07:44 +02:00
Kornel Benko
0eb2589818 Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp 2020-08-27 19:05:52 +02:00
Juergen Spitzmueller
4fdcf0e929 address deprecation warning 2020-08-27 14:43:23 +02:00
Pavel Sanda
28dd0e1f21 Fix Qt4 compilation. 2020-08-27 14:05:22 +02:00