]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoDocBook: simplify precooked bibliography code.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:46:40 +0000 (05:46 +0200)]
DocBook: simplify precooked bibliography code.

3 years agoDocBook: remove useless includes.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:40:34 +0000 (05:40 +0200)]
DocBook: remove useless includes.

3 years agoMore functions in anonymous namespace.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:39:46 +0000 (05:39 +0200)]
More functions in anonymous namespace.

3 years agoDocBook: fine tuning of new lines.
Thibaut Cuvelier [Tue, 18 Aug 2020 03:37:46 +0000 (05:37 +0200)]
DocBook: fine tuning of new lines.

3 years agoDocBook: improve comments.
Thibaut Cuvelier [Tue, 18 Aug 2020 02:56:25 +0000 (04:56 +0200)]
DocBook: improve comments.

3 years agoDocBook: new logic to handle the new lines, only used in output_docbook for now.
Thibaut Cuvelier [Mon, 17 Aug 2020 22:37:34 +0000 (00:37 +0200)]
DocBook: new logic to handle the new lines, only used in output_docbook for now.

3 years agoXML: memorise if the last thing that is getting output is a line feed.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:44:02 +0000 (23:44 +0200)]
XML: memorise if the last thing that is getting output is a line feed.

3 years agoDocBook: documentation for the new tags.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:35:40 +0000 (23:35 +0200)]
DocBook: documentation for the new tags.

3 years agoDocBook: define new arguments in layouts to configure new-line behaviour.
Thibaut Cuvelier [Mon, 17 Aug 2020 21:06:26 +0000 (23:06 +0200)]
DocBook: define new arguments in layouts to configure new-line behaviour.

3 years agoSimplify code to generate only one paragraph at a time.
Thibaut Cuvelier [Sat, 15 Aug 2020 22:59:43 +0000 (00:59 +0200)]
Simplify code to generate only one paragraph at a time.

3 years agoA few more constants to avoid copies
Thibaut Cuvelier [Sun, 16 Aug 2020 17:07:14 +0000 (19:07 +0200)]
A few more constants to avoid copies

3 years agoDocBook: add a layout tag to tell whether an item is the abstract or not.
Thibaut Cuvelier [Mon, 3 Aug 2020 14:04:26 +0000 (16:04 +0200)]
DocBook: add a layout tag to tell whether an item is the abstract or not.

3 years agoDocBook: simplify code to handle abstracts.
Thibaut Cuvelier [Sun, 2 Aug 2020 18:43:39 +0000 (20:43 +0200)]
DocBook: simplify code to handle abstracts.

3 years agoDocBook: use DocBookWrapperMergeWithPrevious in the code.
Thibaut Cuvelier [Sun, 2 Aug 2020 16:58:36 +0000 (18:58 +0200)]
DocBook: use DocBookWrapperMergeWithPrevious in the code.

3 years agoDocBook: fix for ordering.
Thibaut Cuvelier [Sun, 2 Aug 2020 16:07:07 +0000 (18:07 +0200)]
DocBook: fix for ordering.

3 years agoDocBook: make openParTag/closeTag use paragraphs instead of layouts.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:35:16 +0000 (17:35 +0200)]
DocBook: make openParTag/closeTag use paragraphs instead of layouts.

Not useful per se, but will be next with checking whether the wrapper tags should be opened/closed.

3 years agoDocBook: use DocBookItemTag within paragraphs.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:28:50 +0000 (17:28 +0200)]
DocBook: use DocBookItemTag within paragraphs.

This is at least helpful for AAS, even though it slightly resembles a repurposition of that parameter.

3 years agoMerge findLastParagraph and findLastBibliographyParagraph to lower code duplication.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:23:37 +0000 (17:23 +0200)]
Merge findLastParagraph and findLastBibliographyParagraph to lower code duplication.

Maybe these functions should move to ParagraphList.h/cpp?

3 years agoSlight code-consistency improvements.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:17:25 +0000 (17:17 +0200)]
Slight code-consistency improvements.

3 years agoDocBook: add new layout parameter DocBookWrapperMergeWithPrevious.
Thibaut Cuvelier [Sun, 2 Aug 2020 15:07:38 +0000 (17:07 +0200)]
DocBook: add new layout parameter DocBookWrapperMergeWithPrevious.

3 years agoDocBook: allow empty paragraphs before the <info> section.
Thibaut Cuvelier [Sun, 2 Aug 2020 14:52:33 +0000 (16:52 +0200)]
DocBook: allow empty paragraphs before the <info> section.

3 years agode.po
Juergen Spitzmueller [Sat, 19 Sep 2020 06:58:35 +0000 (08:58 +0200)]
de.po

3 years agoSeparate string for translation
Yuriy Skalko [Thu, 17 Sep 2020 16:53:09 +0000 (19:53 +0300)]
Separate string for translation

3 years agoShow slanted caret (cursor) when text style emphasis/italics/slanted.
Daniel Ramoeller [Fri, 18 Sep 2020 08:14:46 +0000 (10:14 +0200)]
Show slanted caret (cursor) when text style emphasis/italics/slanted.

Fixes for bug #11428. Emphasis is used regularly and it is helpful to
see whether the next text will be written emphasized directly from the
cursor.

This is also implemented in MS Word and Google docs but not in
LibreWriter.

Also fixes the caret for RTL languages whose width was previously
extended into the wrong direction.

3 years agoAvoid crash when string only has one char
José Matos [Fri, 18 Sep 2020 00:09:36 +0000 (01:09 +0100)]
Avoid crash when string only has one char

3 years agoWhitespace cleanup
José Matos [Fri, 18 Sep 2020 00:07:39 +0000 (01:07 +0100)]
Whitespace cleanup

3 years agoUpdate UserGuide
Yuriy Skalko [Thu, 17 Sep 2020 10:39:44 +0000 (13:39 +0300)]
Update UserGuide

3 years agoIncrement preferences format to 34: rename Cyrillic *.kmap files
Yuriy Skalko [Thu, 17 Sep 2020 12:32:43 +0000 (15:32 +0300)]
Increment preferences format to 34: rename Cyrillic *.kmap files

3 years agoFixup graphics height conversion when special is non-empty
Juergen Spitzmueller [Thu, 17 Sep 2020 06:43:04 +0000 (08:43 +0200)]
Fixup graphics height conversion when special is non-empty

3 years agoFix Makefile.am after 821603def308
Juergen Spitzmueller [Thu, 17 Sep 2020 06:00:54 +0000 (08:00 +0200)]
Fix Makefile.am after 821603def308

3 years agoFix Cyrillic keyboard map files
Yuriy Skalko [Wed, 16 Sep 2020 07:21:07 +0000 (10:21 +0300)]
Fix Cyrillic keyboard map files

3 years agoUpdate Russian localization
Yuriy Skalko [Wed, 9 Sep 2020 05:56:38 +0000 (08:56 +0300)]
Update Russian localization

3 years agoAccount for Windows paths (#11975)
Juergen Spitzmueller [Thu, 17 Sep 2020 05:17:36 +0000 (07:17 +0200)]
Account for Windows paths (#11975)

3 years agoRevert "Show toolbar context menu only when clicking on the toolbar"
Jean-Marc Lasgouttes [Wed, 16 Sep 2020 14:54:33 +0000 (16:54 +0200)]
Revert "Show toolbar context menu only when clicking on the toolbar"

Something is wrong.

This reverts commit f25253f89ac121b1981fe26f0b90af9e2bbbe849.

3 years agoShow toolbar context menu only when clicking on the toolbar
Daniel Ramoeller [Tue, 15 Sep 2020 06:04:16 +0000 (08:04 +0200)]
Show toolbar context menu only when clicking on the toolbar

Previsouly it was on the whole application window, except on disabled toolbar
buttons.

Fix for bug #11949

3 years agoctests: invert 'wontfix' failing lyx2lyx tests
Scott Kostyshak [Tue, 15 Sep 2020 22:00:31 +0000 (18:00 -0400)]
ctests: invert 'wontfix' failing lyx2lyx tests

We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:

https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn

3 years agoAdd method FontMetrics::italic()
Jean-Marc Lasgouttes [Mon, 14 Sep 2020 14:26:19 +0000 (16:26 +0200)]
Add method FontMetrics::italic()

This can be useful for ticket #11428.

3 years agoShow custom text styles in status bar
Yuriy Skalko [Mon, 31 Aug 2020 07:29:14 +0000 (10:29 +0300)]
Show custom text styles in status bar

Fixes bug #11951.

3 years agoFix ru Beamer_Article polyglossia exports
Scott Kostyshak [Sun, 13 Sep 2020 05:27:19 +0000 (01:27 -0400)]
Fix ru Beamer_Article polyglossia exports

Set fonts to DejaVu to avoid the following error:

  ! Package polyglossia Error: The current latin font  does not
  contain the "Cyrillic" script!

This choice of font is consistent with the Russian intro and
tutorial manuals.

3 years agoFix documentation for LFUN_LAYOUT
Scott Kostyshak [Sat, 12 Sep 2020 23:29:01 +0000 (19:29 -0400)]
Fix documentation for LFUN_LAYOUT

The argument 'ignorenests' was renamed to 'ignoreautonests' at
d6fb2abb.

3 years ago#6401 correct cursor movement for word forward/backward with enabled Mac style (mac_l...
Stephan Witt [Sat, 12 Sep 2020 12:34:56 +0000 (14:34 +0200)]
#6401 correct cursor movement for word forward/backward with enabled Mac style (mac_like_cursor_movement)

The change includes a rewrite of the cursor movement when „mac style“ is enabled and don’t change anything otherwise.
The new code for mac uses the document iterator to go forward or backward. The traversal stops at word boundaries.
If going forward the position increments until a word is reached (if not already inside) and stops at the end of the word.
If going backward it does the same in opposite direction. The cursor jumps over non-editable insets and math.
Editable (open) insets are entered and the cursor move detects word boundaries inside them.

3 years agoUninvert two Hebrew pdf5 systemF tests
Scott Kostyshak [Fri, 11 Sep 2020 18:06:33 +0000 (14:06 -0400)]
Uninvert two Hebrew pdf5 systemF tests

These exports now pass, and the output looks reasonable to me
(although I do not know Hebrew). I believe they work now because of
Jürgen's fixes at a7ad0747 and d7b64b8e.

3 years agoRefactor runCommand
Yuriy Skalko [Thu, 10 Sep 2020 21:22:55 +0000 (00:22 +0300)]
Refactor runCommand

3 years agoFixup 5202d44e: make caret geometry update lazy
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 13:45:30 +0000 (15:45 +0200)]
Fixup 5202d44e: make caret geometry update lazy

Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computation will take place just
before painting the caret.

It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.

Fixes bug #11912.

3 years agoru Beamer: make absolute path relative
Scott Kostyshak [Fri, 11 Sep 2020 04:51:10 +0000 (00:51 -0400)]
ru Beamer: make absolute path relative

3 years agoWorkaround Qtbug regarding the QAbstractScrollArea::mouseMoveEvent(...) (06969f9d...
Eugene Chornyi [Thu, 10 Sep 2020 18:40:48 +0000 (20:40 +0200)]
Workaround Qtbug regarding the QAbstractScrollArea::mouseMoveEvent(...) (06969f9d) is only needed until Qt 5.15.1 as it was fixed there.

3 years agoDocumentation for ctrl-click on a reference
Richard Kimberly Heck [Thu, 10 Sep 2020 17:09:16 +0000 (13:09 -0400)]
Documentation for ctrl-click on a reference

3 years agoLet Ctrl-Click on a reference jump to the corresponding label.
Daniel Ramöller [Thu, 10 Sep 2020 16:38:41 +0000 (12:38 -0400)]
Let Ctrl-Click on a reference jump to the corresponding label.

Fix some warnings while we're at it. (That part by RKH.)

3 years agoShow child documents in outline with their paths.
Daniel Ramöller [Thu, 10 Sep 2020 16:28:20 +0000 (12:28 -0400)]
Show child documents in outline with their paths.

3 years agoAdd FIXME
Richard Kimberly Heck [Tue, 8 Sep 2020 22:01:07 +0000 (18:01 -0400)]
Add FIXME

3 years agoFixup ad954a32: make space insets easier to see.
Jean-Marc Lasgouttes [Wed, 9 Sep 2020 09:07:48 +0000 (11:07 +0200)]
Fixup ad954a32: make space insets easier to see.

The previous code left one extra pixel on each side of the visible space, and
spaces became too small to be readable.

3 years agoRemove unneeded space for \nolimits
Jean-Marc Lasgouttes [Wed, 9 Sep 2020 08:35:35 +0000 (10:35 +0200)]
Remove unneeded space for \nolimits

3 years agoUpdate Russian Beamer docs
Yuriy Skalko [Tue, 8 Sep 2020 08:47:22 +0000 (11:47 +0300)]
Update Russian Beamer docs

3 years agoAvoid spurious requirements
Enrico Forestieri [Tue, 8 Sep 2020 23:32:51 +0000 (01:32 +0200)]
Avoid spurious requirements

The macros defined in the symbols file are only used for on-screen
representation, so that their definition should not require the use
on any latex package. Their definition should be taken into account
only when they are overridden by user macros with same name.

3 years agoTry to use the right width for math symbols
Enrico Forestieri [Tue, 8 Sep 2020 20:30:02 +0000 (22:30 +0200)]
Try to use the right width for math symbols

The rules for typesetting math differ from the rules for typesetting
text. For example, two italic 'f' chars have to be typeset more closely
than two 'o' chars in text mode, but not in math mode. Qt provides a
method that returns the distance appropriate for drawing a subsequent
character in text mode, but nothing for math mode. Typically, the
distance appropriate for drawing the next character in math mode is
the actual width span by the character, corrected by the rules of
an appendix in the TeXbook. Recently, those rules are followed more
closely in LyX but not exactly, and we have to find a way to adapt to them.
Some symbols may need more spacing around them than the width they span.
So, we use the distance suggested by Qt, unless it is less than the
width of the rectangle bounding the symbol. Before Qt 5.11 the used method
was QFontMetrics::width(), but since then it has been declared obsolete
in favor of QFontMetrics::horizontalAdvance(), whose name conveys better
its meaning.

3 years agoFix warnings in DTL targets on Windows (use STDC)
Eugene Chornyi [Mon, 7 Sep 2020 19:27:37 +0000 (21:27 +0200)]
Fix warnings in DTL targets on Windows (use STDC)

3 years agoCmake build: Try to omit using directory names as source-files in po
Kornel Benko [Mon, 7 Sep 2020 19:12:22 +0000 (21:12 +0200)]
Cmake build: Try to omit using directory names as source-files in po

Previously there are po-entries like
  #: lib/examples/Articles:0 src/TocBackend.cpp:296
  #:src/frontends/qt/GuiExternal.cpp:87
  msgid "External Material"
  msgstr ""

now:
  #: src/TocBackend.cpp:296 src/frontends/qt/GuiExternal.cpp:87
  #: lib/examples/Articles:0
  msgid "External Material"
  msgstr ""

(The string at 'lib/examples/Articles:0' proceeds also from the directory name 'lib/examples/External_Material')

This makes it easier to use some po-editors like 'linguist'

3 years agoAdd Russian translation of Beamer manual, by Henry Chern
Yuriy Skalko [Mon, 7 Sep 2020 06:55:14 +0000 (09:55 +0300)]
Add Russian translation of Beamer manual, by Henry Chern

3 years agoRevert "Fixup 5202d44e: make caret geometry update lazy"
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 14:00:06 +0000 (16:00 +0200)]
Revert "Fixup 5202d44e: make caret geometry update lazy"

Something is wrong with the cursor.

This reverts commit dc35f1ddf49f8944001a916ad2bcbf2965401cc4.

3 years agoFixup 5202d44e: make caret geometry update lazy
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 13:45:30 +0000 (15:45 +0200)]
Fixup 5202d44e: make caret geometry update lazy

Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computaiton will take place just
before painting the caret.

It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.

Fixes bug #11912.

3 years agoFixup e1be71da5: avoid duplication of layout
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 12:16:47 +0000 (14:16 +0200)]
Fixup e1be71da5: avoid duplication of layout

If the containing paragraph has kept its layout, reset the layout of
the first paragraph of the newly inserted inset.

3 years agoFixup f96b99dcb35: read correctly \limits after macros
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 10:13:42 +0000 (12:13 +0200)]
Fixup f96b99dcb35: read correctly \limits after macros

Move InsetMacro::limits_ to InsetMacro::Private, where it should have
been from the start. This means that limits_ is now copied when the
macro is cloned.

3 years agoFix on-screen display of special math fonts
Enrico Forestieri [Sun, 6 Sep 2020 16:16:04 +0000 (18:16 +0200)]
Fix on-screen display of special math fonts

Make sure that the on-screen representation of the special math fonts
mathbb, mathds, mathfrak, mathcal, and mathscr matches the latex output.

3 years agoAdd some hspacers
Juergen Spitzmueller [Sat, 5 Sep 2020 06:23:56 +0000 (08:23 +0200)]
Add some hspacers

3 years agoset defaults for float_placement and float_alignment
Juergen Spitzmueller [Sat, 5 Sep 2020 06:09:02 +0000 (08:09 +0200)]
set defaults for float_placement and float_alignment

3 years ago#11756 Respect system preferences for tabbing on Mac
Stephan Witt [Sun, 30 Aug 2020 20:25:34 +0000 (22:25 +0200)]
#11756 Respect system preferences for tabbing on Mac

3 years agoUpdate Russian localization
Yuriy Skalko [Fri, 4 Sep 2020 16:03:15 +0000 (19:03 +0300)]
Update Russian localization

3 years agoFix dist
Pavel Sanda [Fri, 4 Sep 2020 07:29:56 +0000 (09:29 +0200)]
Fix dist

3 years agoRename and update description of fonts
Enrico Forestieri [Thu, 3 Sep 2020 19:45:36 +0000 (21:45 +0200)]
Rename and update description of fonts

3 years agoUpdate check_glyphs.lyx.
Pavel Sanda [Thu, 3 Sep 2020 16:38:34 +0000 (18:38 +0200)]
Update check_glyphs.lyx.

3 years agoCmake build: Amend a9afdbb7 and 46fca4dc
Kornel Benko [Thu, 3 Sep 2020 16:27:12 +0000 (18:27 +0200)]
Cmake build: Amend a9afdbb7 and 46fca4dc

Partly revert installing fonds in system dir, not needed after
a9afdbb7 (Personalize fonts)

3 years agoPersonalize fonts
Enrico Forestieri [Thu, 3 Sep 2020 15:46:30 +0000 (17:46 +0200)]
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.

3 years agoFixup 2e784b2f: consider default layout too.
Jean-Marc Lasgouttes [Thu, 3 Sep 2020 10:55:06 +0000 (12:55 +0200)]
Fixup 2e784b2f: consider default layout too.

And simplify the test at the same time.

3 years agoUpdate sk.po
Kornel Benko [Thu, 3 Sep 2020 10:03:11 +0000 (12:03 +0200)]
Update sk.po

3 years agoTools(listFontWithLang.pl): Handle also fonts provided by lyx
Kornel Benko [Thu, 3 Sep 2020 09:45:04 +0000 (11:45 +0200)]
Tools(listFontWithLang.pl): Handle also fonts provided by lyx

These fonts are normally not handled by fontconfig

3 years agoFoward-port tooltip addition from stable (3a7560dcb07)
Juergen Spitzmueller [Thu, 3 Sep 2020 06:55:46 +0000 (08:55 +0200)]
Foward-port tooltip addition from stable (3a7560dcb07)

3 years agode.po
Juergen Spitzmueller [Thu, 3 Sep 2020 06:53:32 +0000 (08:53 +0200)]
de.po

3 years agoAccelerators
Richard Kimberly Heck [Wed, 2 Sep 2020 14:22:21 +0000 (10:22 -0400)]
Accelerators

3 years agoWindows: fix in CMakeLists for warning flags.
Thibaut Cuvelier [Wed, 2 Sep 2020 13:05:20 +0000 (15:05 +0200)]
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.

3 years agoAdjust debug output for fonts
Enrico Forestieri [Tue, 1 Sep 2020 10:12:55 +0000 (12:12 +0200)]
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!

3 years agoLocalization
Richard Kimberly Heck [Tue, 1 Sep 2020 05:41:10 +0000 (01:41 -0400)]
Localization

3 years agoImproved fix for edit button
Richard Kimberly Heck [Mon, 31 Aug 2020 15:20:49 +0000 (11:20 -0400)]
Improved fix for edit button

3 years agoFix problem with edit button.
Richard Kimberly Heck [Sat, 22 Aug 2020 19:21:53 +0000 (15:21 -0400)]
Fix problem with edit button.

The previous implementation relied upon the cursor being immediately
in front of the inset. A bad idea.

3 years agoFix bug 4475.
Richard Kimberly Heck [Sat, 22 Aug 2020 19:15:47 +0000 (15:15 -0400)]
Fix bug 4475.
Add ability to create child from the include dialog.

3 years agoCmake build: Install lyx fonts in system dir too on linux
Kornel Benko [Sun, 30 Aug 2020 18:30:21 +0000 (20:30 +0200)]
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.

3 years agoAdd FIXME: do we need to update scrollbar at each draw()?
Jean-Marc Lasgouttes [Sun, 30 Aug 2020 17:15:20 +0000 (19:15 +0200)]
Add FIXME: do we need to update scrollbar at each draw()?

Related to ticket #11947.

3 years agoAdd lilypond wrapper scripts to cmake install
Stephan Witt [Sun, 30 Aug 2020 13:39:05 +0000 (15:39 +0200)]
Add lilypond wrapper scripts to cmake install

3 years ago#11756 cleanup the view menu on Mac
Stephan Witt [Sun, 30 Aug 2020 13:34:44 +0000 (15:34 +0200)]
#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.

3 years agoFix conversion and reversion of relative totalheights/heights
Juergen Spitzmueller [Sun, 30 Aug 2020 09:44:08 +0000 (11:44 +0200)]
Fix conversion and reversion of relative totalheights/heights

3 years ago#11756 hide additional menu items in edit menu on Mac
Stephan Witt [Sun, 30 Aug 2020 09:24:04 +0000 (11:24 +0200)]
#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.

3 years agoRemove unused leftover from Makefile.
Stephan Witt [Sun, 30 Aug 2020 07:02:55 +0000 (09:02 +0200)]
Remove unused leftover from Makefile.

3 years agoThis test is no more just about stmary10.
Pavel Sanda [Sun, 30 Aug 2020 08:50:05 +0000 (10:50 +0200)]
This test is no more just about stmary10.

3 years agoAdd new section about problems on opensuse.
Pavel Sanda [Sun, 30 Aug 2020 08:47:32 +0000 (10:47 +0200)]
Add new section about problems on opensuse.

3 years agoAmend aef29bb:
Kornel Benko [Sun, 30 Aug 2020 07:58:29 +0000 (09:58 +0200)]
Amend aef29bb:

3 years agoctests: mark ru XY dvi3_systemF tests wrong output
Scott Kostyshak [Sun, 30 Aug 2020 02:53:14 +0000 (22:53 -0400)]
ctests: mark ru XY dvi3_systemF tests wrong output

3 years agoru XY examples: set fonts to DejaVu
Scott Kostyshak [Sun, 30 Aug 2020 02:47:10 +0000 (22:47 -0400)]
ru XY examples: set fonts to DejaVu

This choice of fonts is consistent with the Russian Intro manual,
and fixes compilation with XeTeX.

3 years agoctests: invert ru XY LuaTeX tests
Scott Kostyshak [Sun, 30 Aug 2020 02:38:10 +0000 (22:38 -0400)]
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

3 years agoctests: invert ru Math LuaTeX tests
Scott Kostyshak [Sat, 29 Aug 2020 18:01:23 +0000 (14:01 -0400)]
ctests: invert ru Math LuaTeX tests

There are issues due to varioref. Consistent with 6e50327a.

3 years agoUse correct width for \fint
Enrico Forestieri [Sat, 29 Aug 2020 18:10:26 +0000 (20:10 +0200)]
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.

3 years agoru UserGuide: set default output format to pdf2
Scott Kostyshak [Sat, 29 Aug 2020 17:49:02 +0000 (13:49 -0400)]
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.