]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoOmit floating point exception
Kornel Benko [Fri, 31 May 2019 10:55:12 +0000 (12:55 +0200)]
Omit floating point exception

5 years agoTemporary hack to try to solve #11457 on windows
José Matos [Fri, 31 May 2019 09:43:02 +0000 (10:43 +0100)]
Temporary hack to try to solve #11457 on windows

Redirect the standard output and standard error of the script to a file called debug.txt in the temporary directory.

5 years agoFix spacing
Juergen Spitzmueller [Fri, 31 May 2019 09:26:40 +0000 (11:26 +0200)]
Fix spacing

5 years agoResolve shortcut conflict
Juergen Spitzmueller [Fri, 31 May 2019 09:24:08 +0000 (11:24 +0200)]
Resolve shortcut conflict

Since all used letters are taken, we use the slash

5 years agoRemove superfluous "Insert"
Juergen Spitzmueller [Fri, 31 May 2019 08:58:03 +0000 (10:58 +0200)]
Remove superfluous "Insert"

This is in the "Insert" menu.

5 years agoFix toprule with booktabs/longtable and captions
Juergen Spitzmueller [Fri, 31 May 2019 08:48:00 +0000 (10:48 +0200)]
Fix toprule with booktabs/longtable and captions

5 years agoForgot this part
Richard Kimberly Heck [Fri, 31 May 2019 00:39:43 +0000 (20:39 -0400)]
Forgot this part

5 years agoFix bug #11588.
Richard Kimberly Heck [Fri, 31 May 2019 00:32:35 +0000 (20:32 -0400)]
Fix bug #11588.

Check for the local file before calling kpsewhich.

5 years agode.po
Juergen Spitzmueller [Thu, 30 May 2019 09:52:33 +0000 (11:52 +0200)]
de.po

5 years agoCorrect German localization
Juergen Spitzmueller [Thu, 30 May 2019 09:47:54 +0000 (11:47 +0200)]
Correct German localization

List in the context of TOC, LOF, LOT etc. is not "Liste", but
"Verzeichnis"

5 years agoUpdate sk.po
Kornel Benko [Wed, 29 May 2019 08:58:13 +0000 (10:58 +0200)]
Update sk.po

5 years agoUpdate it.po
Enrico Forestieri [Wed, 29 May 2019 07:25:39 +0000 (09:25 +0200)]
Update it.po

5 years agoAdd remark about edit menu to release notes.
Richard Kimberly Heck [Tue, 28 May 2019 20:47:11 +0000 (16:47 -0400)]
Add remark about edit menu to release notes.

5 years agoRe-order and re-shortcut the edit menu.
Richard Kimberly Heck [Tue, 28 May 2019 03:51:31 +0000 (23:51 -0400)]
Re-order and re-shortcut the edit menu.

5 years agoAttempt to fix #11457
José Matos [Tue, 28 May 2019 15:22:32 +0000 (16:22 +0100)]
Attempt to fix #11457

In python 3 the colors need to be strings and not bytes:

This was the equivalent of

>> print("%s" % b"1")
"b'1'"

since the colors were bytes the call to dvipng was something like

dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'"  "lyxpreviewxBJEqm.dvi"

Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.

5 years agoAdd a separator.
Richard Kimberly Heck [Tue, 28 May 2019 04:23:32 +0000 (00:23 -0400)]
Add a separator.

5 years agoPut "cancel" option in visible position at top of menu when it is
Richard Kimberly Heck [Tue, 28 May 2019 03:34:49 +0000 (23:34 -0400)]
Put "cancel" option in visible position at top of menu when it is
active.

5 years agoAllow click on the 'spinner' to cancel export.
Richard Kimberly Heck [Tue, 28 May 2019 03:20:45 +0000 (23:20 -0400)]
Allow click on the 'spinner' to cancel export.

5 years agoFix crash reported by Kornel.
Richard Kimberly Heck [Mon, 27 May 2019 04:06:10 +0000 (00:06 -0400)]
Fix crash reported by Kornel.

See https://marc.info/?l=lyx-devel&m=155879185229073&w=2.

The problem is that, after saving the document and reloading, the
TOC is corrupted, more or less, when we run through updateBuffer.
So we reset it first.

5 years agoAdd a testcase for buffer-write-as
Kornel Benko [Mon, 27 May 2019 08:21:15 +0000 (10:21 +0200)]
Add a testcase for buffer-write-as

5 years agoPrefer mathmode commands over textmode ones
Enrico Forestieri [Sun, 26 May 2019 11:06:44 +0000 (13:06 +0200)]
Prefer mathmode commands over textmode ones

Translating → to \rightarrow in a \ce inset produces the right
glyph. Instead, translating it to \textrightarrow produces a
different glyph (β).

5 years agoUse ranges
Enrico Forestieri [Sun, 26 May 2019 10:31:02 +0000 (12:31 +0200)]
Use ranges

5 years agoSupplement the fix for bug #11586
Enrico Forestieri [Sun, 26 May 2019 07:56:34 +0000 (09:56 +0200)]
Supplement the fix for bug #11586

The mhchem \ce inset is a text mode environment but allows entering
spaces and mathmode commands. However, even if it doesn't allow unicode
symbols, LyX allows entering them (by copy/paste, for example), causing
latex errors. As a unicode symbol may have a proper latex representation
from the unicodesymbols file, use it instead of the bare symbol. Here, we
don't care about the mode because both text and math mode should be allowed.
For example, the ⟶ symbol is not recognized but its latex representation
(\longrightarrow) is fine. Of course, there may be symbols that are
not recognized anyway, but this is better because they cause explicit
errors from mhchem instead of cryptic iconv errors in case they cannot
be represented in the document encoding.

5 years agoPartial fix for bug #11586
Enrico Forestieri [Sun, 26 May 2019 07:27:46 +0000 (09:27 +0200)]
Partial fix for bug #11586

Do not replace a latex command with the corresponding symbol
in the unicodesymbols file unless it can be encoded in the
document encoding.

5 years agoCJK package is never used with non-TeX fonts.
Günter Milde [Sat, 25 May 2019 23:45:35 +0000 (01:45 +0200)]
CJK package is never used with non-TeX fonts.

Prepare for languages that use CJK with TeX fonts and Polyglossia
with non-TeX fonts.

Korean is already supported by Polyglossia,
LyX support will follow (file version change).

5 years agoAdapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].
Günter Milde [Sat, 25 May 2019 11:55:34 +0000 (13:55 +0200)]
Adapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].

5 years agoMake doc/UserGuide.lyx independent of French and Spanish language LaTeX support.
Günter Milde [Sat, 25 May 2019 11:24:25 +0000 (13:24 +0200)]
Make doc/UserGuide.lyx independent of French and Spanish language LaTeX support.

5 years agoctest tagging update.
Günter Milde [Fri, 24 May 2019 18:05:42 +0000 (20:05 +0200)]
ctest tagging update.

5 years agoRemove non-required ternary conditional.
Günter Milde [Fri, 24 May 2019 20:48:06 +0000 (22:48 +0200)]
Remove non-required ternary conditional.

In a branch only entered when not using Xe- or LuaTeX,
we don't need to care about polyglossia.

5 years agoCell in delimiter inset should not be tight
Jean-Marc Lasgouttes [Fri, 24 May 2019 09:10:17 +0000 (11:10 +0200)]
Cell in delimiter inset should not be tight

Fixes bug #11337.

5 years agoAmend 7f125f62d2, Introduce doc preference for line numbering
Kornel Benko [Fri, 24 May 2019 16:17:50 +0000 (18:17 +0200)]
Amend 7f125f62d2, Introduce doc preference for line numbering

Correct expected lyx files created by tex2lyx.

5 years agoRead line edit label
Juergen Spitzmueller [Fri, 24 May 2019 15:51:42 +0000 (17:51 +0200)]
Read line edit label

Otherwise it is not clear what this means.

5 years agosize tweak
Juergen Spitzmueller [Fri, 24 May 2019 15:39:22 +0000 (17:39 +0200)]
size tweak

5 years agolineno: dump lineno buffer token if false/empty as well.
Pavel Sanda [Fri, 24 May 2019 13:50:10 +0000 (15:50 +0200)]
lineno: dump lineno buffer token if false/empty as well.

Oversmarted myself. Wanted to save .lyx header from overbloating but
dialog's UI depends on those tokens when disabling the option in UI.

5 years agolineno: convert ui GB to CB per Juergen's request
Pavel Sanda [Fri, 24 May 2019 13:40:09 +0000 (15:40 +0200)]
lineno: convert ui GB to CB per Juergen's request

5 years agoComplete lyx2lyx for new "lineno" settings.
Günter Milde [Fri, 24 May 2019 11:49:32 +0000 (13:49 +0200)]
Complete lyx2lyx for new "lineno" settings.

5 years agoUpdate test doc for #11584
Günter Milde [Thu, 23 May 2019 14:25:51 +0000 (16:25 +0200)]
Update test doc for #11584

5 years agoUpdate sk.po
Kornel Benko [Fri, 24 May 2019 10:00:13 +0000 (12:00 +0200)]
Update sk.po

5 years agode.po: update
Juergen Spitzmueller [Fri, 24 May 2019 09:11:45 +0000 (11:11 +0200)]
de.po: update

5 years agoSome grammar and casing fixes and tooltip improvements
Juergen Spitzmueller [Fri, 24 May 2019 08:59:00 +0000 (10:59 +0200)]
Some grammar and casing fixes and tooltip improvements

5 years agoFix typo in de.po
Juergen Spitzmueller [Fri, 24 May 2019 08:20:01 +0000 (10:20 +0200)]
Fix typo in de.po

5 years agoUpdate sk.po
Kornel Benko [Thu, 23 May 2019 16:15:31 +0000 (18:15 +0200)]
Update sk.po

5 years agoUserGuide.lyx - few notes for lineno.
Pavel Sanda [Thu, 23 May 2019 14:15:38 +0000 (16:15 +0200)]
UserGuide.lyx - few notes for lineno.

5 years agoIntroduce doc preference for line numbering.
Pavel Sanda [Thu, 23 May 2019 13:13:27 +0000 (15:13 +0200)]
Introduce doc preference for line numbering.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208781.html

5 years agoResave NumberingUi.ui in qt5 designer
Pavel Sanda [Thu, 23 May 2019 13:11:39 +0000 (15:11 +0200)]
Resave NumberingUi.ui in qt5 designer

5 years agoAlways paint text decoration when painting inset.
Jean-Marc Lasgouttes [Thu, 23 May 2019 09:30:35 +0000 (11:30 +0200)]
Always paint text decoration when painting inset.

Fixes bug #11402.

5 years agoFixup da2696cc: do not clear useful information from row
Jean-Marc Lasgouttes [Thu, 23 May 2019 08:26:08 +0000 (10:26 +0200)]
Fixup da2696cc: do not clear useful information from row

Ensure before calling breakRow that the row is empty.

Remove Row::clear(), which has unnatural semantics.

Fixes bug #11396.

5 years agoInclude all parent branches in the menu.
Richard Kimberly Heck [Thu, 23 May 2019 02:00:31 +0000 (22:00 -0400)]
Include all parent branches in the menu.

Previously, we only included branches from the master document. This
includes those from the parent, grandparent, etc, and does so in a way
that won't crash on recursive includes.

5 years agoChange how branches are displayed on the menus.
Richard Kimberly Heck [Thu, 23 May 2019 01:32:32 +0000 (21:32 -0400)]
Change how branches are displayed on the menus.

Show this document's branches first in the menu, and then show the
master document's branches on a sub-menu.

5 years agoUse ranges.
Richard Kimberly Heck [Thu, 23 May 2019 01:27:24 +0000 (21:27 -0400)]
Use ranges.

5 years agoRe-organize and comment code a bit.
Richard Kimberly Heck [Thu, 23 May 2019 00:57:39 +0000 (20:57 -0400)]
Re-organize and comment code a bit.

5 years agoInitialize row preperly on clear()
Jean-Marc Lasgouttes [Wed, 22 May 2019 09:53:58 +0000 (11:53 +0200)]
Initialize row preperly on clear()

It is not enough to get rid of the row elements, obviously. In
particular, changebar_ may never get reset.

Fixes bug #11396.

5 years agoUpdate sk.po
Kornel Benko [Tue, 21 May 2019 12:16:33 +0000 (14:16 +0200)]
Update sk.po

5 years agoAdd hint to warning.
Juergen Spitzmueller [Tue, 21 May 2019 11:26:57 +0000 (13:26 +0200)]
Add hint to warning.

5 years agode-po
Juergen Spitzmueller [Tue, 21 May 2019 11:20:10 +0000 (13:20 +0200)]
de-po

5 years agoFix warning message
Juergen Spitzmueller [Tue, 21 May 2019 11:06:37 +0000 (13:06 +0200)]
Fix warning message

5 years agoCheck character encodability with pass-thru in command insets
Juergen Spitzmueller [Tue, 21 May 2019 10:59:18 +0000 (12:59 +0200)]
Check character encodability with pass-thru in command insets

Fixes: #11584
5 years agoUpdate sk.po
Kornel Benko [Tue, 21 May 2019 05:26:01 +0000 (07:26 +0200)]
Update sk.po

5 years agoInform user of the new name of the emergency file.
Richard Kimberly Heck [Tue, 21 May 2019 01:23:40 +0000 (21:23 -0400)]
Inform user of the new name of the emergency file.

5 years agoAdd bg.gmo to repo
Jean-Marc Lasgouttes [Mon, 20 May 2019 10:28:36 +0000 (12:28 +0200)]
Add bg.gmo to repo

5 years agoRemove files that do not exist anymore
Jean-Marc Lasgouttes [Mon, 20 May 2019 10:16:57 +0000 (12:16 +0200)]
Remove files that do not exist anymore

5 years agoUpdate sk.po
Kornel Benko [Sun, 19 May 2019 18:04:20 +0000 (20:04 +0200)]
Update sk.po

5 years agoFix compilation
Enrico Forestieri [Sun, 19 May 2019 14:34:57 +0000 (16:34 +0200)]
Fix compilation

This amends [b88a3747/lyxgit].

5 years agoRemove redundant condition
Enrico Forestieri [Sun, 19 May 2019 10:33:46 +0000 (12:33 +0200)]
Remove redundant condition

The removed condition is always true.
This amends [61efbff5/lyxgit].

5 years agoAdd submenu to math context menu
Enrico Forestieri [Sun, 19 May 2019 09:45:13 +0000 (11:45 +0200)]
Add submenu to math context menu

The "Rows & Columns" optional submenu is more easily accessible in
the math context menu rather having to navigate to the "Edit" menu.
All possible accelerators are already taken, so use the space bar.

5 years agoFix bug #10498
Enrico Forestieri [Sat, 18 May 2019 14:06:33 +0000 (16:06 +0200)]
Fix bug #10498

Use the selection as the argument of a macro also when the
macro has only optional arguments.

5 years agoFix bug #10499
Enrico Forestieri [Sat, 18 May 2019 09:36:07 +0000 (11:36 +0200)]
Fix bug #10499

The array environment has to be explicitly parsed in math mode.

5 years agoctests: sort dedicated test samples
Günter Milde [Fri, 17 May 2019 12:03:28 +0000 (14:03 +0200)]
ctests: sort dedicated test samples

5 years agoRegister new module.
Günter Milde [Thu, 16 May 2019 19:21:09 +0000 (21:21 +0200)]
Register new module.

5 years agoTab binding: outline-in before depth-increment
Scott Kostyshak [Thu, 16 May 2019 17:58:18 +0000 (13:58 -0400)]
Tab binding: outline-in before depth-increment

Same for BackTab. The outline-in was originally (31398779)
introduced to the command-sequence at the end. Probably it was
placed at the end to be conservative (i.e., so that it would only
change behavior where there was a no-op before).

This fixes #11576.

5 years agounicodesymbols: force cp858 for DOUBLE LOW LINE
Scott Kostyshak [Thu, 16 May 2019 17:43:34 +0000 (13:43 -0400)]
unicodesymbols: force cp858 for DOUBLE LOW LINE

This fixes compilation of inputenc-cp858.lyx (assuming the system
iconv has corresponding support).

Thanks to Günter Milde.

5 years agoSearch for python3 first, then python2 in autoconf
Jean-Marc Lasgouttes [Thu, 16 May 2019 16:32:14 +0000 (18:32 +0200)]
Search for python3 first, then python2 in autoconf

Python 3.x shall have priority over python 2.x. In 2.5.0dev, support
for python2 will be removed.

Now, we ignore all pythonx.y names, which are not relevant, and do not try
either the basic "python" name.

5 years agoFormat incremented to 574: Ruby inset, fixes for Japanese.
Günter Milde [Wed, 15 May 2019 15:32:09 +0000 (17:32 +0200)]
Format incremented to 574: Ruby inset, fixes for Japanese.

New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()

5 years agoNew module for Ruby (furigana) text.
Günter Milde [Mon, 13 May 2019 14:31:53 +0000 (16:31 +0200)]
New module for Ruby (furigana) text.

New fileversion and conversion routines will follow once tested.

5 years agoDocument conflict of Arab and Farsi with utf8x.
Günter Milde [Thu, 16 May 2019 11:41:49 +0000 (13:41 +0200)]
Document conflict of Arab and Farsi with utf8x.

5 years agoFix configure.py to work with python3 again (it continues to work with python2(.7))
José Matos [Thu, 16 May 2019 08:27:12 +0000 (09:27 +0100)]
Fix configure.py to work with python3 again (it continues to work with python2(.7))

5 years agoSome Asian langagues allow to wrap text at any position
Jean-Marc Lasgouttes [Tue, 14 May 2019 20:44:29 +0000 (22:44 +0200)]
Some Asian langagues allow to wrap text at any position

This is hardcoded for now for simplicity and to allow backporting to
2.3.

The behavior is unchanged for all languages but Chinese, Japanese or
Korean.

Fixes part of bug #10299.

5 years agoFix #11062, new LaTeX feature "textschwa".
Günter Milde [Tue, 14 May 2019 15:12:46 +0000 (17:12 +0200)]
Fix #11062, new LaTeX feature "textschwa".

Following the suggestion in the Babel-Azerbaijani documentation,
we use the glyphs from the Cyrillic fonts for the Latin
text character. This fits better than IPA fonts (assuming there are matching
Latin and Cyrillic fonts specified) and also provides bold etc.

5 years agoFix small typo.
Günter Milde [Tue, 14 May 2019 14:39:35 +0000 (16:39 +0200)]
Fix small typo.

5 years agoUpdate author info.
Günter Milde [Mon, 13 May 2019 20:50:36 +0000 (22:50 +0200)]
Update author info.

5 years agoAdd comment (fixme) about #8479.
Günter Milde [Mon, 13 May 2019 08:42:41 +0000 (10:42 +0200)]
Add comment (fixme) about #8479.

5 years agoctest update.
Günter Milde [Mon, 13 May 2019 08:41:45 +0000 (10:41 +0200)]
ctest update.

5 years agoPrevent assert due to some odd role in older qt versions.
Juergen Spitzmueller [Tue, 14 May 2019 12:05:46 +0000 (14:05 +0200)]
Prevent assert due to some odd role in older qt versions.

5 years agoRevert "Try to compute row height like it should be done"
Jean-Marc Lasgouttes [Mon, 13 May 2019 08:47:47 +0000 (10:47 +0200)]
Revert "Try to compute row height like it should be done"

This is not done right at all. The best is to revert for now and
think about how to do it properly.

This reverts commit 66a3d64346332e47252b37dbc0f80158738987dc.

5 years agoRevert "GMO for BG"
Richard Kimberly Heck [Mon, 13 May 2019 03:30:49 +0000 (23:30 -0400)]
Revert "GMO for BG"

This reverts commit 5b84f11f80d1ec160dbfa312bc2358cfd7abec72.

5 years agoGMO for BG
Richard Kimberly Heck [Mon, 13 May 2019 03:30:13 +0000 (23:30 -0400)]
GMO for BG

5 years agoRename for clarity.
Richard Kimberly Heck [Mon, 13 May 2019 03:16:25 +0000 (23:16 -0400)]
Rename for clarity.

5 years agoMicro-tweak
Juergen Spitzmueller [Sun, 12 May 2019 11:37:13 +0000 (13:37 +0200)]
Micro-tweak

The bullet form is relevant for the display in the About dialog.

5 years agoUpdate it.po
Enrico Forestieri [Sun, 12 May 2019 08:43:27 +0000 (10:43 +0200)]
Update it.po

5 years agode.po
Juergen Spitzmueller [Sun, 12 May 2019 07:31:09 +0000 (09:31 +0200)]
de.po

5 years agoDoc updates
Juergen Spitzmueller [Sun, 12 May 2019 07:26:53 +0000 (09:26 +0200)]
Doc updates

5 years agoGuiDocument: Further encoding GUI improvement
Juergen Spitzmueller [Sun, 12 May 2019 07:10:24 +0000 (09:10 +0200)]
GuiDocument: Further encoding GUI improvement

Move the odd "(no inputenc)" option out of the encoding list.

5 years agoNewly created inline math is not numbered
Jean-Marc Lasgouttes [Sat, 11 May 2019 21:18:10 +0000 (23:18 +0200)]
Newly created inline math is not numbered

The bad initialisation created phantom entries in equation ToC

Fixes bug #11423.

5 years agoUserGuide: update encoding documentation
Juergen Spitzmueller [Sat, 11 May 2019 18:09:51 +0000 (20:09 +0200)]
UserGuide: update encoding documentation

5 years agode.po
Juergen Spitzmueller [Sat, 11 May 2019 17:08:36 +0000 (19:08 +0200)]
de.po

5 years agoCorrect entry string
Juergen Spitzmueller [Sat, 11 May 2019 17:04:36 +0000 (19:04 +0200)]
Correct entry string

5 years agoFix indentation
Juergen Spitzmueller [Sat, 11 May 2019 16:59:42 +0000 (18:59 +0200)]
Fix indentation

5 years agoMicro-typographic fix
Juergen Spitzmueller [Sat, 11 May 2019 10:17:09 +0000 (12:17 +0200)]
Micro-typographic fix

5 years agoFurther encoding GUI improvements
Juergen Spitzmueller [Sat, 11 May 2019 10:16:52 +0000 (12:16 +0200)]
Further encoding GUI improvements

5 years agode.po
Juergen Spitzmueller [Sat, 11 May 2019 10:16:18 +0000 (12:16 +0200)]
de.po