]>
git.lyx.org Git - lyx.git/log
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:05:19 +0000 (15:05 +0200)]
Set boundary correctly in getPosNearX
The code that looks whether neighbor block has a different direction
should look to the left or to the right depending on the direction of
the current block.
Fixes part of bug #10569
(cherry picked from commit
e3d252cd6256b32745b93c0cb0fd5170f448f91c )
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:08:50 +0000 (15:08 +0200)]
editXY: make cursor positionning correct over non editable inset
Instead of using complicated (and wrong) code, it is better to use
getPosNearX here.
Also simplify the code by removing temporary variables.
Fixes part of #10569.
(cherry picked from commit
6a0c1c65734e0f25eb4fcbfb8926c98b77117c29 )
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 14:56:06 +0000 (16:56 +0200)]
Work around bug in QTextLine::xToCursor
With RtL text, the method can be non-monotonic wrt x value (which is a
Qt bug). To work around this, we check whether positions adjacent to
those returned by xToCursor look better. Depending on whether the new
x position is too small or too large, we look backward or forward for
a better solution.
The performance is probably not great, but this is only needed for
user interactions, so the performance penalty should not be a problem.
Fixes part of #10569.
(cherry picked from commit
da590925cd6749587b9f500ecdaa457e34bc0f4a )
Enrico Forestieri [Sat, 20 May 2017 00:36:16 +0000 (02:36 +0200)]
Fix bug #10469
Uwe Stöhr [Tue, 16 May 2017 21:47:35 +0000 (23:47 +0200)]
Color.cpp: backport fix for bug #10656
Uwe Stöhr [Tue, 16 May 2017 21:44:32 +0000 (23:44 +0200)]
InsetFloat.cpp: backport fix for bug #10618
Juergen Spitzmueller [Mon, 1 May 2017 15:34:25 +0000 (17:34 +0200)]
Do not add symbols twice to Encoding::symbolsList()
Also sort the list properly.
Fixes #10644
Richard Heck [Tue, 16 May 2017 01:35:33 +0000 (21:35 -0400)]
Start 2.2.4 development.
Richard Heck [Mon, 8 May 2017 13:20:54 +0000 (09:20 -0400)]
Typos.
Richard Heck [Sun, 7 May 2017 16:36:01 +0000 (12:36 -0400)]
Prepare for 2.2.3.
Uwe Stöhr [Sat, 29 Apr 2017 14:00:36 +0000 (16:00 +0200)]
ia.po: updates for 2.2.3 from Giovanni
Uwe Stöhr [Mon, 24 Apr 2017 21:02:09 +0000 (23:02 +0200)]
lyx2lyx/lyx_2_2.py: backport another box reversion issue
Scott Kostyshak [Mon, 24 Apr 2017 05:18:10 +0000 (01:18 -0400)]
NEWS: fix typo
Uwe Stöhr [Sun, 23 Apr 2017 12:22:34 +0000 (14:22 +0200)]
Arabic Shortcuts.lyx: remove an inset-info
as reported on the lyx-docs list this inset prevents the compilation of the file on Mac OS
Uwe Stöhr [Sat, 22 Apr 2017 23:39:52 +0000 (01:39 +0200)]
Shortcuts.lyx: save with LyX 2.2.2
Changelog-UserGuide-LyX_22x.txt: document a missing translation
Uwe Stöhr [Sat, 22 Apr 2017 17:16:00 +0000 (19:16 +0200)]
Arabic doc files: some fine-tuning
a phantom does trick better than a space because the output won't be changed
Uwe Stöhr [Fri, 21 Apr 2017 22:35:38 +0000 (00:35 +0200)]
Win installer: prepare for LyX 2.2.3
Uwe Stöhr [Fri, 21 Apr 2017 22:05:51 +0000 (00:05 +0200)]
Arabic Intro.lyx: fix LyX logo in section headings
the previous commit changed the LyX logo to be in English but that broke the PDF bookmark text and also the TOC. The solution is to use the real logo and a short title with \texorpdfstring
Uwe Stöhr [Thu, 20 Apr 2017 21:53:18 +0000 (23:53 +0200)]
Arabic Intro.lyx: mark LTR text as English like we do for the Hebrew doc files
thanks to Mike from the lyx-docs list for this
Uwe Stöhr [Thu, 20 Apr 2017 20:38:19 +0000 (22:38 +0200)]
UserGuide.lyx: fix a typo
- also 2 formatting fixes
Uwe Stöhr [Thu, 20 Apr 2017 20:20:50 +0000 (22:20 +0200)]
backport fix for bug #10440
thanks Enrico!
Uwe Stöhr [Tue, 18 Apr 2017 21:53:27 +0000 (23:53 +0200)]
- backport fix for bug #10466
Handle the command \multicolumn correctly in math macros
Uwe Stöhr [Mon, 17 Apr 2017 20:13:46 +0000 (22:13 +0200)]
lyx2lyx/lyx_2_0.py: fix box reversion and conversion routines
Uwe Stöhr [Mon, 17 Apr 2017 19:06:47 +0000 (21:06 +0200)]
lyx2lyx/lyx_2_2.py: rewrite the box reversion routines
- will fix several bugs with nested boxes
Uwe Stöhr [Mon, 17 Apr 2017 13:26:17 +0000 (15:26 +0200)]
Revert "French Tutorial.lyx: some typographic fixes"
This reverts commit
2a10603c875c7936b006ac8e2bd4eb52a5ad2334 .
Uwe Stöhr [Mon, 17 Apr 2017 13:19:17 +0000 (15:19 +0200)]
doc files: update the changelogs
jpc [Mon, 17 Apr 2017 08:16:56 +0000 (10:16 +0200)]
Translate two remaining chunks
Uwe Stöhr [Mon, 17 Apr 2017 02:10:48 +0000 (04:10 +0200)]
PDF-form.lyx: some minor fixes
Uwe Stöhr [Sun, 16 Apr 2017 21:14:25 +0000 (23:14 +0200)]
doc files: improve 3 PDFs
Kornel Benko [Sun, 16 Apr 2017 19:15:35 +0000 (21:15 +0200)]
Update sk.po
Uwe Stöhr [Sun, 16 Apr 2017 18:06:28 +0000 (20:06 +0200)]
German EmbeddedObjects.lyx: correct an image path
Uwe Stöhr [Sun, 16 Apr 2017 17:57:59 +0000 (19:57 +0200)]
status.22x: the image update deserves an entry
Uwe Stöhr [Sun, 16 Apr 2017 17:54:51 +0000 (19:54 +0200)]
doc files: update more images
- the ERT example
- the Japanese screenshot images
- adapt the LyX files accordingly
Uwe Stöhr [Sun, 16 Apr 2017 17:09:48 +0000 (19:09 +0200)]
French Tutorial.lyx: some typographic fixes
- footnotes should be after the sentence dot
Uwe Stöhr [Sun, 16 Apr 2017 17:08:26 +0000 (19:08 +0200)]
doc files: update images
- as requested by a user we can use PostScript level 3 for EPS and PDF version 1.5
- he also requested to update the screenshot images
- rescale the SVG image to the CSS standard (96 dpi) as recommended by Inkscape
- update the docs files to the new screenshot image size
Uwe Stöhr [Sun, 16 Apr 2017 14:37:05 +0000 (16:37 +0200)]
lyx2lyx/lyx_2_2.py: fix 2 issues with the reversion of boxes
Uwe Stöhr [Sun, 16 Apr 2017 14:01:05 +0000 (16:01 +0200)]
de.po: use a more suitable translation
Uwe Stöhr [Sun, 16 Apr 2017 13:59:11 +0000 (15:59 +0200)]
French Math.lyx: a tiny correction
Uwe Stöhr [Sun, 16 Apr 2017 13:55:46 +0000 (15:55 +0200)]
French Math.lyx: revert [
ade28912 /lyxgit]
LyX 2.2.x can only handle the fileformat of LyX 2.2
(I kept the new translation)
Uwe Stöhr [Sun, 16 Apr 2017 13:46:27 +0000 (15:46 +0200)]
PDF-form.lyx: some corrections and updates
jpc [Sun, 16 Apr 2017 07:17:42 +0000 (09:17 +0200)]
Translate a sentence
Uwe Stöhr [Sat, 15 Apr 2017 02:59:30 +0000 (04:59 +0200)]
PDF-form.lyx: New German translation
- also many fixes and updates of the English version
- also some according fixes in de.po
Uwe Stöhr [Fri, 14 Apr 2017 16:02:00 +0000 (18:02 +0200)]
sv.po: updates from Jim
Uwe Stöhr [Thu, 13 Apr 2017 23:41:14 +0000 (01:41 +0200)]
Win installer: add package that is nowadays necessary to compile the PDF-form example file
Uwe Stöhr [Thu, 13 Apr 2017 23:05:35 +0000 (01:05 +0200)]
pt_BR.po: update from Georger
Uwe Stöhr [Thu, 13 Apr 2017 22:58:54 +0000 (00:58 +0200)]
Math.lyx: correct wrong info about \mathindent
Uwe Stöhr [Tue, 4 Apr 2017 21:54:31 +0000 (23:54 +0200)]
GuiDialog.cpp: remove question marks from Windows dialogs
backported from master, fixes bug #10098, patch from Guillaume
Uwe Stöhr [Tue, 4 Apr 2017 00:46:53 +0000 (02:46 +0200)]
pt_BR.po: update by Georger
Uwe Stöhr [Mon, 3 Apr 2017 22:22:17 +0000 (00:22 +0200)]
uk.po: update from Yuri
Enrico Forestieri [Sun, 2 Apr 2017 22:15:47 +0000 (00:15 +0200)]
Update it.po
Enrico Forestieri [Sun, 2 Apr 2017 22:07:53 +0000 (00:07 +0200)]
Fix bug #10554
The \lyxdeleted macro cannot cope with \newpage & co.
jpc [Sat, 1 Apr 2017 09:13:43 +0000 (11:13 +0200)]
Revert " Additions to record needed external applications and LaTeX packages"
This reverts commit
fe17ad57004b3a2e7404e3f7e42941dba77cd5eb .
Commit not appropriate after discussion on the list
jpc [Sat, 1 Apr 2017 08:47:35 +0000 (10:47 +0200)]
Update fr.po
jpc [Tue, 14 Feb 2017 15:24:41 +0000 (16:24 +0100)]
Additions to record needed external applications and LaTeX packages
needed fot ctest standard exports to run without failures
Juergen Spitzmueller [Sat, 1 Apr 2017 06:24:21 +0000 (08:24 +0200)]
de.po
Kornel Benko [Fri, 31 Mar 2017 20:33:08 +0000 (22:33 +0200)]
Update sk.po
Richard Heck [Fri, 31 Mar 2017 19:22:10 +0000 (15:22 -0400)]
Remerge strings.
Enrico Forestieri [Mon, 27 Mar 2017 13:00:43 +0000 (15:00 +0200)]
Fix #9732: Inconsistent font properties for the preview and superscript insets
(cherry picked from commit
b6f8a84a359d717a5d87f58a3403b3c6b64440e3 )
Enrico Forestieri [Fri, 3 Mar 2017 12:00:32 +0000 (13:00 +0100)]
Fix bug #10579
The \lyxdeleted macro cannot cope with empty lines.
(cherry picked from commit
5940dc53aab9fec6cd02f8be337f0e6c9b2e5fb1 )
Juergen Spitzmueller [Sun, 19 Mar 2017 15:15:03 +0000 (16:15 +0100)]
Consider text-mode accents of the form {\v a} in BiblioInfo
Fixes #9340.
Jean-Marc Lasgouttes [Fri, 10 Mar 2017 18:54:15 +0000 (19:54 +0100)]
Fix crash when adding newline at the end of a paragraph
This is a regression at
b0673bd1 . The code referred to row.pit(),
which was not correctly initialized in this case. The bug does not
exist in master, since the code in redoParagraph has been cleaned-up
and row.pit() is always correct.
Two corrective measures are taken, each of which would fix the bug:
- do not use row.pit() in breakRow, but directly the pit parameter.
- initialize row.pit() correctly in the faulty case.
Enrico Forestieri [Sat, 4 Mar 2017 23:14:53 +0000 (00:14 +0100)]
Fix configuring for Qt 5.8
They moved the QT_QPA_DEFAULT_PLATFORM_NAME definition to the newly
introduced qtgui-config.h header.
Enrico Forestieri [Wed, 1 Mar 2017 08:19:18 +0000 (09:19 +0100)]
Allow Input of local includes from local layout files
When including files, LyX always searches the user and the system
directory, in that order. This means that when using local layout
files broken down into multiple includes, the various includes should
be specified with a path relative to the user layouts directory
(typically ~/.lyx/layouts), making this very impractical.
This commit allows including local files by specifying their path
as explicitly relative to the main layout file position, i.e., by
specifying their path with either "./" or "../". If the main layout
is not loaded from a local file, the usual search order is used,
even if the path are explicitly relative. So, for system layouts,
both "Input ./name.inc" and "Input name.inc" are equivalent.
(cherry picked from commit
17ab47b3e6acafae8f11e6363ee64252b26c81e7 )
Guillaume Munch [Mon, 19 Dec 2016 23:15:58 +0000 (00:15 +0100)]
Fix compilation with Qt5.8dev
(cherry picked from commit
6d375ddeac49ac8c6340398c9797354edca3f5d1 )
Enrico Forestieri [Sat, 25 Feb 2017 20:00:25 +0000 (21:00 +0100)]
Allow inserting consecutive dashes
Because latex allows to do so, and there is no easy way to achieve this.
This was apparently implemented to allow cycling between the various dash
types, but it was a bad idea bringing no benefit and causing griefs.
Juergen Spitzmueller [Fri, 17 Feb 2017 07:35:41 +0000 (08:35 +0100)]
Use \providecommand for logical markup macros
\strong is already defined by recent fontspec.
Also use non-long definition (starred version), since the insets
only contain one paragraph.
Juergen Spitzmueller [Sun, 19 Feb 2017 11:25:23 +0000 (12:25 +0100)]
Compatibility fix for acmsiggraph.cls v0.93
Reported by Jean-Pierre Chrétien, fix suggested by Günter Milde.
Also add a note about obsolescence of the class, by Jean-Pierre.
Guillaume Munch [Mon, 20 Feb 2017 22:59:24 +0000 (23:59 +0100)]
Introduce support/Cache.h
Useful to cache copies of objects, including shared_ptrs. No risks of dangling
pointer, and avoid naked pointers in the source.
Fix memory leak when compiling with Qt5.
As part as the backport to stable, this code has been change to work
with C++98.
(cherry picked from commit
33b696c8acf2e64b44d449180781de6dbc203709 )
(cherry picked from commit
e04079aa528ecbf4a8e39ed2b19c3cb50174e151 )
(cherry picked from commit
5211ca52cac2ad7a6669d15c39f2cee172d18323 )
(cherry picked from commit
8353a53cc38fe364bee516e86a08251e4ae974fc )
Juergen Spitzmueller [Sat, 18 Feb 2017 09:40:42 +0000 (10:40 +0100)]
Output Preamble code of InPreamble styles before the styles themselves.
This assures that macros are defined.
Fixes: #10215
Jean-Marc Lasgouttes [Wed, 22 Feb 2017 15:13:19 +0000 (16:13 +0100)]
Fix crash when selecting muticolumn in math
The cells that are part of the multicolumn are not in the cache, and
it is OK.
Fixes bug #10486.
Juergen Spitzmueller [Thu, 23 Feb 2017 09:44:59 +0000 (10:44 +0100)]
de.po
Juergen Spitzmueller [Thu, 23 Feb 2017 09:44:05 +0000 (10:44 +0100)]
Fix Fixme module description to make it translatable
See #10058
Scott Kostyshak [Fri, 11 Nov 2016 16:55:31 +0000 (11:55 -0500)]
Theorem style: set NextNoIndent to 0
After a Theorem environment, LaTeX does by default indent the
following paragraph.
I checked various classes and no ModifyStyle was needed. The
hollywood and broadway classes are strange cases where there is an
indent after the Theorem environment, but it is much smaller than
the normal indent. The indent is the same as the opening indent of
normal text, which we currently ignore. Further, I don't expect it
is common to use theorems in these classes.
(cherry picked from commit
f9ee47dfa2706bed34431177723dfdc5c2d2a7db )
Scott Kostyshak [Sun, 19 Feb 2017 23:20:52 +0000 (18:20 -0500)]
Fix ParIndent for various "Standard" styles
(cherry picked from commit
2b1a99e57d7e44fe61ef152a18da0f3e98aefb97 )
Scott Kostyshak [Wed, 22 Feb 2017 16:55:12 +0000 (11:55 -0500)]
Remove a \textipa that snuck into es/UserGuide.lyx
This empty inset caused problems with LuaTeX + system fonts (see
b863fb07 ). Although these problems seem to be resolved, this empty
inset is not supposed to be there.
Uwe Stöhr [Mon, 13 Feb 2017 23:17:51 +0000 (00:17 +0100)]
zh_CN.po: updates from Zheru
- also add Zheru to the CREDITS
Juergen Spitzmueller [Sun, 5 Feb 2017 17:02:34 +0000 (18:02 +0100)]
Use localized item when calculating the panel stack's tree widget width.
The current version was wrong for non-English dialogs, and even for
the English one, due to the translator commands that were not removed
for calculation (as in "Formats[[output]]").
Juergen Spitzmueller [Sun, 5 Feb 2017 14:42:03 +0000 (15:42 +0100)]
Correctly enable/disable citation dialog widgets on initialization.
Thanks Guillaume for pointing this out.
Jean-Marc Lasgouttes [Fri, 27 Jan 2017 15:09:03 +0000 (16:09 +0100)]
Fix flushing of row that was cut after an hyphen
When using Qt stuff in breakAt, it may happen that the row is broken
after an hyphen (whereas the old code would only consider spaces).
The fact that we abuse the Row::right_boundary() property to detect when
a row should be flushed broke justification when a row is cut at an
hyphen.
Fix this by introducing a new Row::flushed() property and set it as needed.
(cherry picked from commit
8e7d0c2002bdc69c95f3a43f7c78d13fe47ce5f3 )
Jean-Marc Lasgouttes [Thu, 26 Jan 2017 13:10:23 +0000 (14:10 +0100)]
Fix wrong splitting of text row
The code that tries to decide whether it is worth splitting a given
text row element had a shortcoming: it did not take into account the
left margin of the new row that would be created.
The problem is that this left margin is not the same as the left
margin of the current row, because there can be for example
indentation effects.
To fix this problem, we pass the amount of available space on the
next row as a parameter of Row::shortenIfNeeded.
Note that there is no need to care about RtL row elements at this
point, since the bidi algorithm will be applied to the row
subsequently.
(cherry picked from commit
8491962c6bc1c73df076fa4807cc6ee295ccce41 )
Jean-Marc Lasgouttes [Mon, 6 Feb 2017 09:28:47 +0000 (10:28 +0100)]
Compilation fix in C++98 mode.
Jean-Marc Lasgouttes [Mon, 7 Nov 2016 09:14:39 +0000 (10:14 +0100)]
Handle properly unicode paragraph/line break
They are shown on screen by arrow or pilcrow symbol and cause a line break.
They are still not handled in LaTeX output, though.
(cherry picked from commit
6dfbab31245df074df4d1664321e2ff434f3ca6a )
Kornel Benko [Fri, 3 Feb 2017 11:25:32 +0000 (12:25 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Fri, 27 Jan 2017 15:36:06 +0000 (16:36 +0100)]
Make sanitize more robust to dangling pointers.
It is necessary to sanitize the new_word iterator too.
(cherry picked from commit
344f7f2e7dbfda5b24df2fa6b18846c3aa25cb40 )
Juergen Spitzmueller [Fri, 27 Jan 2017 08:15:47 +0000 (09:15 +0100)]
Handle backslash in escape function.
Fixes: #4595.
Candidate for stable
Juergen Spitzmueller [Thu, 26 Jan 2017 17:32:26 +0000 (18:32 +0100)]
Generalize the protection of brackets in citation arguments
Whenever an argument delimiter is used inside the argument, the argument
needs to be grouped, that is
\cites({text (text) text})
or
\cite[{text [text] text}]
This fixes the original case reported in #2751 which is independent
from the general issue that the pre- and postnote field take literal
code.
Uwe Stöhr [Thu, 26 Jan 2017 01:16:53 +0000 (02:16 +0100)]
Win installer: fix 2 bugs and update libraries
Guillaume Munch [Sun, 15 Jan 2017 00:40:23 +0000 (01:40 +0100)]
Fix compilation with --disable-cxx11
Uwe Stöhr [Mon, 23 Jan 2017 00:12:09 +0000 (01:12 +0100)]
pt_BR.po: update from Georger
Kornel Benko [Sun, 22 Jan 2017 08:10:54 +0000 (09:10 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Fri, 20 Jan 2017 23:30:20 +0000 (00:30 +0100)]
Fix metrics of math characters with 0 width
It seems that QTextLayout does not handle properly a single character
with 0 width. This breaks drawing of things like \not.
No status line needed as this amends
24648404 .
Juergen Spitzmueller [Fri, 20 Jan 2017 09:23:44 +0000 (10:23 +0100)]
de.po
Richard Heck [Thu, 19 Jan 2017 20:41:46 +0000 (15:41 -0500)]
Regeneate CREDITS.
Richard Heck [Thu, 19 Jan 2017 20:34:45 +0000 (15:34 -0500)]
Allow LyX to open empty files (created, e.g., via "touch").
Patch from new contributor Jan Niklas Hasse.
(cherry picked from commit
0d77a7e3251aa7a971a365e3fa698ce9f26e2b9d )
Richard Heck [Thu, 19 Jan 2017 20:23:35 +0000 (15:23 -0500)]
Add some remarks about defining formatted references.
Richard Heck [Thu, 19 Jan 2017 02:47:40 +0000 (21:47 -0500)]
Do not replace "--" with "\twohyphens" in formula macros.
(cherry picked from commit
5cb5d2cb5a5c369cabcb784899f4a00c7eaf6aa3 )
Enrico Forestieri [Tue, 17 Jan 2017 19:03:37 +0000 (20:03 +0100)]
Update it.po
Richard Heck [Sun, 15 Jan 2017 16:40:17 +0000 (11:40 -0500)]
Remerge strings.
jpc [Sun, 15 Jan 2017 06:43:54 +0000 (07:43 +0100)]
Update fr.po
Richard Heck [Sat, 14 Jan 2017 21:12:58 +0000 (16:12 -0500)]
Section and Section* should have the same font size.
Going with normal corresponds better to how the PDF displays.
(cherry picked from commit
cb6ea902566e064185fecf11c870b8df55939c9f )