]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoFix some quote inset bugs:
Juergen Spitzmueller [Wed, 7 Dec 2016 14:37:03 +0000 (15:37 +0100)]
Fix some quote inset bugs:

* Adjoining closing Single + double quote becomes double + single quote
  (for English, Swedish and German, LaTeX export as ''').

* French double quotes are converted to << >> in the LaTeX file and to
  double inverted question/interrogation marks in the output, if the font
  encoding is set to [None] or OT1 but the global default is T1. (test
  for lyxrc.fontenc instead of the document-specific fontenc setting in
  InsetQuotes.cpp).

* Quote type ignored for LyXHTML: always "English" quotes used.

See #10451

7 years agoFix 39e3fabf.
Richard Heck [Wed, 7 Dec 2016 17:29:27 +0000 (12:29 -0500)]
Fix 39e3fabf.

Rather than including the file, just cut and paste it so that we
can mark the new layouts as "ForceLocal".

7 years agoVerbatim, etc, can be used with IOP articles.
Richard Heck [Tue, 6 Dec 2016 22:54:32 +0000 (17:54 -0500)]
Verbatim, etc, can be used with IOP articles.
Fixes #10505.

(cherry picked from commit 91f980cf314183d22d5f3211d04985e34501daa5)

7 years agoUpdate it.po
Enrico Forestieri [Sun, 4 Dec 2016 23:37:13 +0000 (00:37 +0100)]
Update it.po

7 years agoFix display and output of math macros with optional arguments
Enrico Forestieri [Sun, 4 Dec 2016 21:52:22 +0000 (22:52 +0100)]
Fix display and output of math macros with optional arguments

This is a long standing issue, present since the new math macros
inception in version 1.6. It manifests as a display issue when a
macro with optional arguments appears in the optional argument of
another macro. In this case the display is messed up and it is
difficult, if not impossible, changing the arguments as they do not
appear on screen as related to a specific macro instance. It also
manifests as latex errors when compiling, even if the latex output
is formally correct, due to limitations of the xargs package used
to output the macros. Most probably, both aspects have the same
root cause, as simply enclosing in braces the macro and its
parameters solves both issues. However, when reloading a document,
lyx strips the outer braces enclosing a macro argument, thus
frustrating this possible workaround.

This commit solves the display issue by correctly accounting for
macros with optional arguments nested in the argument of another
macro, and circumvents the xargs package limitations causing errors
by enclosing in braces the macros with optional arguments appearing
in the argument of an outer macro when they are output. This means
that when loading an old document with such macros and saving it
again, the macro representation is updated and will have these
additional braces. However, as such braces are stripped by lyx on
loading, there is no risk that they accumulate.

See also this thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg197828.html

7 years agoUpdate sk.po
Kornel Benko [Sun, 4 Dec 2016 16:30:12 +0000 (17:30 +0100)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Sun, 4 Dec 2016 10:24:00 +0000 (11:24 +0100)]
de.po

7 years agoWork around dangling pointer
Guillaume Munch [Wed, 28 Sep 2016 19:57:54 +0000 (21:57 +0200)]
Work around dangling pointer

This pointer has been removed in master, but backporting the workaround is
enough.

(cherry picked from commit 79a947c9041a92805e9ac4b65594753410016fa5)

7 years agoArabic Tutorial.lyx: new translation by Hatim
Uwe Stöhr [Fri, 2 Dec 2016 01:15:55 +0000 (02:15 +0100)]
Arabic Tutorial.lyx: new translation by Hatim

7 years agoTutorial.lyx: backport today's changes
Uwe Stöhr [Tue, 29 Nov 2016 00:57:39 +0000 (01:57 +0100)]
Tutorial.lyx: backport today's changes

7 years agoEmbeddedObjects.lyx: fix a typo spotted by a user
Uwe Stöhr [Tue, 29 Nov 2016 00:30:18 +0000 (01:30 +0100)]
EmbeddedObjects.lyx: fix a typo spotted by a user

7 years agoWin installer: backport recent changes
Uwe Stöhr [Sun, 27 Nov 2016 14:33:51 +0000 (15:33 +0100)]
Win installer: backport recent changes

7 years agoAdd the icon-size to the toolbar menu
Daniel Ramöller [Sun, 9 Oct 2016 07:15:20 +0000 (09:15 +0200)]
Add the icon-size to the toolbar menu

- Adds LFUNs for setting the icon size
- Adds icons sizes to the Toolbars menu
- Uses the Toolbars menu as application context menu
- The context menu can now be user defined in stdcontext.inc

When the logical sizes differ and the icon set is changed, the correct
sizes are established only after a restart.

Fixes ticket #10428.

(cherry picked from commit e91572a00bd61d56b5386519b52d316a32974497)
(cherry picked from commit 6c92075799ae8d83f4f38e3c169c40da215e03f2)
(cherry picked from commit 7971dc83efd2a3a2d282af17cded54698340e176)

7 years agoMake insertInset use a temporary cut-and-paste area.
Jean-Marc Lasgouttes [Wed, 9 Nov 2016 14:13:41 +0000 (15:13 +0100)]
Make insertInset use a temporary cut-and-paste area.

This is a long wanted feature, although it does not go all the way to
fix #6604 (private-cut/private-paste).

Additionally, it fixes a crash that can happen when using undefined
branches. This is done by making the action when pasting unknown
branches configurable.

Fixes bug #6570.
(cherry picked from commit fb264663d8c3aadc3da0b922e31105c0aa7e319d)
(cherry picked from commit 004fdf6aebd7669c4b1df33236fe2a8f515584c0)

7 years agoWin installer: prepare for new release
Uwe Stöhr [Wed, 23 Nov 2016 02:01:56 +0000 (03:01 +0100)]
Win installer: prepare for new release

7 years agoWin installer: init.nsh: a change that I forgot to backport
Uwe Stöhr [Wed, 23 Nov 2016 02:01:08 +0000 (03:01 +0100)]
Win installer: init.nsh: a change that I forgot to backport

7 years agode.po: fix some glitches
Juergen Spitzmueller [Tue, 22 Nov 2016 09:36:37 +0000 (10:36 +0100)]
de.po: fix some glitches

7 years agoFix Polyglossia options for serbian
Juergen Spitzmueller [Mon, 21 Nov 2016 17:58:40 +0000 (18:58 +0100)]
Fix Polyglossia options for serbian

Script value is uppercase.

7 years agoAdd Andrew Parsloe.
Richard Heck [Fri, 18 Nov 2016 16:45:40 +0000 (11:45 -0500)]
Add Andrew Parsloe.

(cherry picked from commit 67bb5a2bf16d79caa86c34bf60fb4e972c132b1c)

7 years agoUpdate sk.po
Kornel Benko [Fri, 18 Nov 2016 12:31:15 +0000 (13:31 +0100)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Fri, 18 Nov 2016 10:16:20 +0000 (11:16 +0100)]
de.po

7 years agoar.po: updates from Hatim
Uwe Stöhr [Fri, 18 Nov 2016 01:12:39 +0000 (02:12 +0100)]
ar.po: updates from Hatim

7 years agoAdd three new files from Andrew Parsloe. These do for AMS-type
Richard Heck [Thu, 17 Nov 2016 15:59:49 +0000 (10:59 -0500)]
Add three new files from Andrew Parsloe. These do for AMS-type
theorem environments what the already existing "by chapter" modules
do for non-AMS ones.

(cherry picked from commit 0f5ba65eae1b3e069be0be279904c911fe02907c)

7 years agoSet default output format to XeTeX in Arabic docs
Scott Kostyshak [Mon, 14 Nov 2016 03:42:18 +0000 (22:42 -0500)]
Set default output format to XeTeX in Arabic docs

All other exports to PDF fail.

7 years agoencodings: use correct encoding "latin7" for ISO 8859-13
Uwe Stöhr [Mon, 7 Nov 2016 23:49:01 +0000 (00:49 +0100)]
encodings: use correct encoding "latin7" for ISO 8859-13

- fixes bug #10474

7 years agohollywood.lyx: remove empty paragraph
Uwe Stöhr [Mon, 7 Nov 2016 22:52:43 +0000 (23:52 +0100)]
hollywood.lyx: remove empty paragraph

- LyX correctly warned that a non-title paragraph was used in between titling paragraphs, this was even an empty paragraph

7 years agoFeynmanDiagrams.lyx: fix compilation
Uwe Stöhr [Mon, 7 Nov 2016 22:45:44 +0000 (23:45 +0100)]
FeynmanDiagrams.lyx: fix compilation

recent KOMA script versions don't accept \rm anymore

7 years agoposter-xxx.lyx: minor changes to keep uniformity of the document style
Uwe Stöhr [Mon, 7 Nov 2016 22:35:57 +0000 (23:35 +0100)]
poster-xxx.lyx: minor changes to keep uniformity of the document style

7 years agoAlways prefer breaking at word boundaries
Guillaume Munch [Sun, 6 Nov 2016 14:14:29 +0000 (15:14 +0100)]
Always prefer breaking at word boundaries

An overlong word containing a hyphen could be broken anywhere, instead of after
the hyphen.

Example: compare the line breaking of

   aaaaa-aaaaa-aaaaa-aaaaa

with

   aaa aaaaa-aaaaa-aaaaa-aaaaa

(with a very narrow window)

This also improves Chinese text in some situations (#10299)

(cherry picked from commit 50ccbd2eab8cb01ff9f7c80d3fe726297dca6fae)

7 years agoStrike out (in the output) deleted display math with track-changes
Enrico Forestieri [Sat, 5 Nov 2016 20:31:09 +0000 (21:31 +0100)]
Strike out (in the output) deleted display math with track-changes

Showing deleted display math by enabling "Show Changes in Output" was
only possible with dvi (through dvipost). Although LyX strikes out
such formulas on screen, it was impossible obtaining an output
directly using pdflatex (or other engines producing pdf) because
ulem cannot cope with display math material and gives errors.
The solution is to strike out by ourselves such deleted formulas.
I took into account several options. One of them would produce
an output similar to dvipost (which strikes out each element), but
would have required much more changes in the output routines.
Eventually, I opted for using tikz, which gives a more clean
output (as it requires to simply adding a preamble and a postamble
to the latex code of any displayed math, instead of a mark up
tailored to each particular math construct). The look of the pdf
output is similar to the way LyX strikes out the equations on screen.

Fixes #9678

7 years agodoc files: backport recent changes in master
Uwe Stöhr [Sat, 5 Nov 2016 18:20:51 +0000 (19:20 +0100)]
doc files: backport recent changes in master

7 years agoChangelog-UserGuide-LyX_22x.txt: a correction
Uwe Stöhr [Sat, 5 Nov 2016 18:03:14 +0000 (19:03 +0100)]
Changelog-UserGuide-LyX_22x.txt: a correction

7 years agoUserGuide.lyx: describe a feature
Uwe Stöhr [Sat, 5 Nov 2016 18:01:08 +0000 (19:01 +0100)]
UserGuide.lyx: describe a feature

fixes bug #3880

7 years agoUserGuide.lyx: accept changes
Uwe Stöhr [Sat, 5 Nov 2016 17:42:14 +0000 (18:42 +0100)]
UserGuide.lyx: accept changes

- update link to a Wiki page

7 years agode.po
Juergen Spitzmueller [Sat, 5 Nov 2016 07:02:25 +0000 (08:02 +0100)]
de.po

7 years agoClear background behind sub-labels when necessary.
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 10:35:22 +0000 (11:35 +0100)]
Clear background behind sub-labels when necessary.

This is analogous to what has been done to address #4889 and #10359.

Fixes bug #10475.
(cherry picked from commit d207e85cfda2893de4e6c7f419c58aa342395f47)

7 years agoFix height of cursor inside insets
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 11:01:43 +0000 (12:01 +0100)]
Fix height of cursor inside insets

It turns out that Cursor::getFont() does not return a fully realized
font in some cases. This patch uses real_current_font instead, which
seems better anyway.

I suspect that all uses of getFont() should be removed, but this is
not code that I know well.

Fixes bug #10478.
(cherry picked from commit b099d9ae15c45a9c30727078d69c0c7bd8029c9a)

7 years agoQString only uses UTF-16, not UCS-4
Jean-Marc Lasgouttes [Wed, 2 Nov 2016 16:42:56 +0000 (17:42 +0100)]
QString only uses UTF-16, not UCS-4

This means that, when a string contains high-plane Unicode characters,
the length of a docstring and the corresponding QString will be
different: Qt will encode these characters using several 16bit
characters.

We have additionally to take into account QTBUG-25536, which implies
that sometimes qstring_to_ucs4(toqstr(s)) !=s. It is not clear whether
this bug can be a problem in other places.

Fixes bug #10443.
(cherry picked from commit 5d85a42bf0a182585b800a80817a6e1208ef7ec3)

7 years agoRound values properly when drawing right margin selection
Jean-Marc Lasgouttes [Fri, 4 Nov 2016 14:57:59 +0000 (15:57 +0100)]
Round values properly when drawing right margin selection

This fixes a compiler warning reported by Uwe.
(cherry picked from commit 75fce32556d2ec3da37acf96e4bafd23b5e5609a)

7 years agoIn Color Preferences "frame of button" should be "button frame"
Daniel Ramöller [Sun, 30 Oct 2016 16:19:29 +0000 (17:19 +0100)]
In Color Preferences "frame of button" should be "button frame"

Fixes #10135.
(cherry picked from commit f054721410c87a1f014ebd9d705395b9646a3fc0)

7 years agoFix usage of multiple varieties of the same polyglossia language.
Juergen Spitzmueller [Wed, 2 Nov 2016 17:04:26 +0000 (18:04 +0100)]
Fix usage of multiple varieties of the same polyglossia language.

1. We must always output all (diverging) options, including
   default options; if not, default options might get overwritten.

2. Do not output options in \setotherlanguage, since we might have
   multiple "other languages" varieties from the same language (such
   as naustrian, nswissgerman). And the options are output for the
   language switches anyway.

Hence, LaTeXFeatures::getPolyglossiaLanguages() does not have to record
varieties. This was not done correctly anyway, since the map allowed
for one entry per language only.

7 years agoReimplement RowPainter::paintSelection() using row elements
Jean-Marc Lasgouttes [Tue, 25 Oct 2016 07:28:14 +0000 (09:28 +0200)]
Reimplement RowPainter::paintSelection() using row elements

The code is much simpler now and can be actually understood.

As a byproduct, fix bug #10424.

(cherry picked from commit a700d657b3b06541b10ddae8cc5847bd46d06aae)
(cherry picked from commit 2037cc5ef575f134de2790eda299e7becb2c5a01)
(cherry picked from commit 4159cf97c156ea2f604e3332fc2bf4d1c4926a25)
(cherry picked from commit 695b0cc33b04fa10c8134738e4726de5336267f4)

7 years agoWin installer: install special XeTeX package
Uwe Stöhr [Tue, 1 Nov 2016 15:54:08 +0000 (16:54 +0100)]
Win installer: install special XeTeX package

7 years agoArabic Intro.lyx: fixes from Hatim
Uwe Stöhr [Tue, 1 Nov 2016 14:08:40 +0000 (15:08 +0100)]
Arabic Intro.lyx: fixes from Hatim

7 years agoar.po: translations by Hatim
Uwe Stöhr [Tue, 1 Nov 2016 14:07:50 +0000 (15:07 +0100)]
ar.po: translations by Hatim

7 years agostatus update for commit 33103ebc
Tommaso Cucinotta [Tue, 1 Nov 2016 08:57:43 +0000 (09:57 +0100)]
status update for commit 33103ebc

7 years agoUse Buffer::validate() when previewing single paragraph
Juergen Spitzmueller [Mon, 31 Oct 2016 17:46:06 +0000 (18:46 +0100)]
Use Buffer::validate() when previewing single paragraph

We used to use BufferParams::validate(), which does not validate the
paragraphs.

7 years agoShow symbol name and description in plaintext export of nomenclature entries.
Tommaso Cucinotta [Sat, 29 Oct 2016 10:32:51 +0000 (12:32 +0200)]
Show symbol name and description in plaintext export of nomenclature entries.

This addresses one of the issues highlighted in #10459.
See http://www.lyx.org/trac/ticket/10459

7 years ago Update fr.po
jpc [Mon, 31 Oct 2016 18:44:33 +0000 (18:44 +0000)]
   Update fr.po

7 years agoUpdate sk.po
Kornel Benko [Mon, 31 Oct 2016 11:54:55 +0000 (12:54 +0100)]
Update sk.po

7 years agoArabic Shortcuts.lyx: increase font size
Uwe Stöhr [Mon, 31 Oct 2016 11:23:50 +0000 (12:23 +0100)]
Arabic Shortcuts.lyx: increase font size

7 years agoArabic Intro.lyx: new translation from Hatim
Uwe Stöhr [Mon, 31 Oct 2016 11:19:21 +0000 (12:19 +0100)]
Arabic Intro.lyx: new translation from Hatim

7 years agoEmbeddedObjects.lyx; remove unnecessary latexpar
Uwe Stöhr [Mon, 31 Oct 2016 10:46:42 +0000 (11:46 +0100)]
EmbeddedObjects.lyx; remove unnecessary latexpar

- this was the last issue to fix bug #10068

7 years agode.po
Juergen Spitzmueller [Mon, 31 Oct 2016 09:30:36 +0000 (10:30 +0100)]
de.po

7 years agoIssue an error message if conflicting languages are used
Juergen Spitzmueller [Thu, 27 Oct 2016 07:59:01 +0000 (09:59 +0200)]
Issue an error message if conflicting languages are used

Some languages are only supported by Babel, some only by Polyglossia.

If these are combined, we issue an error message now.

Fixes: #10456
7 years agoHandle | verbatim in index insets.
Juergen Spitzmueller [Thu, 27 Oct 2016 16:11:28 +0000 (18:11 +0200)]
Handle | verbatim in index insets.

7 years agoSort the language nesting mess with polyglossia
Enrico Forestieri [Sat, 29 Oct 2016 22:16:50 +0000 (00:16 +0200)]
Sort the language nesting mess with polyglossia

When using polyglossia, lyx was making a real mess when changing
language inside nested insets. The \begin{language} and
\end{language} commands were not well paired such that they could
easily occur just before and after the start or end of an
environment. Of course this was causing latex errors such that
"\begin{otherlanguage} ended by \end{environment}".

Fixes #9633

7 years agoQuote filenames used for forward-search with SumatraPDF
Enrico Forestieri [Thu, 27 Oct 2016 02:16:04 +0000 (04:16 +0200)]
Quote filenames used for forward-search with SumatraPDF

Single quotes are special to our parser and must be either escaped or
quoted if they are part of a filename, otherwise they are stripped out.

Fixes #10342.

7 years agoIn mathed, require xcolor instead of color when appropriate
Enrico Forestieri [Thu, 27 Oct 2016 01:18:29 +0000 (03:18 +0200)]
In mathed, require xcolor instead of color when appropriate

Fixes bug #10417.

7 years agostatus.22x
Guillaume Munch [Wed, 26 Oct 2016 08:49:35 +0000 (10:49 +0200)]
status.22x

7 years agoForgot this.
Jean-Marc Lasgouttes [Wed, 26 Oct 2016 14:20:02 +0000 (16:20 +0200)]
Forgot this.

7 years agoWork around issues with Qt5 and Arabic text
Jean-Marc Lasgouttes [Sun, 23 Oct 2016 18:52:01 +0000 (20:52 +0200)]
Work around issues with Qt5 and Arabic text

This fixes two particular problems

* with Qt5, it seems that QFontMetrics::width does not return the
  correct value for some Arabic text; this patch uses QTextLayout
  instead to compute a string width

* Likewise, the undocumented layout flags TextForceRightToLeft and
  TextForceLeftToRight do not work with Arabic text; this patch uses
  unicode override characters instead.

It might be that the two issues are related. In any case, they do not
happen with latin text where right-to-left direction is enforced. And
they do not happen with Qt4.

Additionally, remove some dead code in GuiFontMetrics::pos2x().

Fixes bug #10436.

(cherry picked from commit e832d2e90f300afb1b1255a486e56d059b2dfab7)

7 years agoRemove unused methods in anononymous namespace
Jean-Marc Lasgouttes [Wed, 19 Oct 2016 15:51:32 +0000 (17:51 +0200)]
Remove unused methods in anononymous namespace

These have been flagged by gcc 6.
(cherry picked from commit 4065f596ada672c58787a0f9faa2278621545ab9)

7 years agoFix compiler warning from clang 3.9
Jean-Marc Lasgouttes [Thu, 20 Oct 2016 07:27:12 +0000 (09:27 +0200)]
Fix compiler warning from clang 3.9
(cherry picked from commit fbba865d288d98a71c37a17458c5e02143392d9a)

7 years agoforgot de.gmo
Juergen Spitzmueller [Wed, 26 Oct 2016 10:25:38 +0000 (12:25 +0200)]
forgot de.gmo

7 years agode.po
Juergen Spitzmueller [Wed, 26 Oct 2016 10:22:14 +0000 (12:22 +0200)]
de.po

7 years agoWhen selecting special logos, set their color correctly
Jean-Marc Lasgouttes [Wed, 26 Oct 2016 09:18:25 +0000 (11:18 +0200)]
When selecting special logos, set their color correctly

Adapted from 860accd01fb81.

7 years agoForgot this.
Jean-Marc Lasgouttes [Wed, 26 Oct 2016 08:57:42 +0000 (10:57 +0200)]
Forgot this.

7 years agoArabic Shortcuts.lyx: new translation by Hatim
Uwe Stöhr [Tue, 25 Oct 2016 21:35:14 +0000 (23:35 +0200)]
Arabic Shortcuts.lyx: new translation by Hatim

7 years agoShow on screen font changes for text-in-math
Enrico Forestieri [Tue, 25 Oct 2016 18:24:26 +0000 (20:24 +0200)]
Show on screen font changes for text-in-math

7 years agoRevert menu name "Source Pane"
Guillaume Munch [Tue, 25 Oct 2016 17:33:02 +0000 (19:33 +0200)]
Revert menu name "Source Pane"

Such a change should not happen in stable. Introduced at a36706c3ff.

7 years agoWin installer: more translations by Hatim
Uwe Stöhr [Mon, 24 Oct 2016 23:22:18 +0000 (01:22 +0200)]
Win installer: more translations by Hatim

7 years agoFix #10394 Do not error on missing characters in "nullfont".
Günter Milde [Fri, 23 Sep 2016 07:04:03 +0000 (09:04 +0200)]
Fix #10394 Do not error on missing characters in "nullfont".

Add an exception to the conversion of "missing character" warnings into errors.

The PGF package deliberately uses the dummy font "nullfont" to suppress output.
Therefore, warnings about missing characters in "nullfont" are really only warnings.

Also updated the comment: "Missing character" warnigns are especially widespread
in XeTeX/LuaTeX but can also happen with "classical" 8-bit TeX.

Feel free to port this to branch.

7 years agoWin installer: correct Arabic translation by Hatim
Uwe Stöhr [Sun, 23 Oct 2016 14:27:37 +0000 (16:27 +0200)]
Win installer: correct Arabic translation by Hatim

7 years agode.po
Juergen Spitzmueller [Sun, 23 Oct 2016 06:49:13 +0000 (08:49 +0200)]
de.po

7 years agoImprove bibliography info (general)
Juergen Spitzmueller [Tue, 20 Sep 2016 09:45:25 +0000 (11:45 +0200)]
Improve bibliography info (general)

Consider all thesis types.

7 years agoImprove bibliography info (general), part II
Juergen Spitzmueller [Tue, 20 Sep 2016 09:51:04 +0000 (11:51 +0200)]
Improve bibliography info (general), part II

Consider collection and proceedings

7 years agoAmend 2c4673af58f6
Juergen Spitzmueller [Tue, 20 Sep 2016 09:34:17 +0000 (11:34 +0200)]
Amend 2c4673af58f6

Also consider xrefs in crossref'ed entries.

7 years agoImprove info display for biblatex databases, part IV
Juergen Spitzmueller [Tue, 20 Sep 2016 09:35:05 +0000 (11:35 +0200)]
Improve info display for biblatex databases, part IV

Consider biblatex's new field names: location (address),
journaltitle (journal), institution (school).

Biblatex provides alias for the legacy bibtex field names. Hence check
for the new names only if the legacy names are not used.

7 years agoImprove info display for biblatex databases, part III
Juergen Spitzmueller [Mon, 19 Sep 2016 17:09:42 +0000 (19:09 +0200)]
Improve info display for biblatex databases, part III

When resolving biblatex's xdata references, consider that xdata fields
can contain a comma-separated list of keys, not just a single key like
crossref.

7 years agoRegex fix for endyear
Juergen Spitzmueller [Sun, 18 Sep 2016 10:59:43 +0000 (12:59 +0200)]
Regex fix for endyear

As of biblatex 3.5, years and endyears can be negative (BCE).

7 years agoImprove info display for biblatex databases, part II
Juergen Spitzmueller [Sun, 18 Sep 2016 10:44:12 +0000 (12:44 +0200)]
Improve info display for biblatex databases, part II

In addition to the classic crossref, biblatex introduces xdata
references in order to source-out common data of entries. Entries
that have "xdata = {somekey}" just inherit all fields from the
respective @xdata entry, if the field is not already defined in
the entry itself (just like crossref, with the exception that @xdata
entries themselves are _never_ output on their own). @xdata entries can
themselves inherit to other @xdata entries (ad infinitum). So you can,
for instance, setup an xdata entry for a book series with series name
that inherits an xdata entry with information of the publisher
(publisher, address). Any book of that series would just need to refer
to the series xdata and add the number.

BiblioInfo now checks, in addition to crossrefs, for such xdata
references and inherits missing fields.

Nte that biblatex also introduces an "xref" field as an alternative to
crossref. We must not care about that, since the point of xref is that
it does not inherit fields from the target (just cites that one if a
given number of refs to it exist)

7 years agoImprove info display for biblatex databases
Juergen Spitzmueller [Sun, 18 Sep 2016 08:33:33 +0000 (10:33 +0200)]
Improve info display for biblatex databases

If an entry does not have a year field, check for a date field
(the common type in biblatex databases) and extract the year(s).

Candidate for branch.

7 years agoUpdate it.po
Enrico Forestieri [Sat, 22 Oct 2016 20:53:18 +0000 (22:53 +0200)]
Update it.po

7 years agostatus.22x
Guillaume Munch [Fri, 23 Sep 2016 21:29:26 +0000 (23:29 +0200)]
status.22x

7 years agoBetter error message when try to bind a Hidden LFUN
Guillaume Munch [Tue, 5 Jul 2016 19:38:24 +0000 (21:38 +0200)]
Better error message when try to bind a Hidden LFUN

(cherry picked from commit 1f2d7f4db93aa76ae54e75efb52d9359b4ea289f)

7 years agoPrioritize the shortcuts from the work areas
Guillaume Munch [Mon, 4 Jul 2016 02:23:32 +0000 (04:23 +0200)]
Prioritize the shortcuts from the work areas

* Fix bug #10261 : KDE smartly adds conflicting accelerators.

* Prevent bugs like #9495 in the future.

Issues (non-regression):

* It does not appear possible to prevent Ubuntu's Unity from grabbing the
  accelerators for the menus. For instance Alt+A still opens _Affichage in the
  French localization.

(cherry picked from commit eb8c5905f617b31ec470358e0e23120fc586d695)

7 years agoamend b1ffe775359f62043770d24aa3ec0cc4fab8f977
Guillaume Munch [Wed, 21 Sep 2016 22:45:57 +0000 (00:45 +0200)]
amend b1ffe775359f62043770d24aa3ec0cc4fab8f977

7 years agostatus.22x
Guillaume Munch [Wed, 21 Sep 2016 22:11:16 +0000 (00:11 +0200)]
status.22x

7 years agoBetter title for ViewSource
Guillaume Munch [Sun, 28 Aug 2016 20:57:17 +0000 (21:57 +0100)]
Better title for ViewSource

The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.

The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.

(cherry-picked from ca58674267b2c050b3b53402c9414b6bd697dc0a)

7 years agoChange "Output" into "Formats"
Guillaume Munch [Sun, 28 Aug 2016 15:51:15 +0000 (16:51 +0100)]
Change "Output" into "Formats"

This reverts commit 030f4c6d1e56f94122d5e4fae08ac6a2f2b4c5cf.

The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).

7 years agoWhitespace
Richard Heck [Wed, 21 Sep 2016 20:30:58 +0000 (16:30 -0400)]
Whitespace

(was: "Status and configure for 2.2.3." form 2.2.3-staging

It became empty after rebasing 2.2.3-staging onto 2.2.3.)

7 years agoFix LaTeX output of fixed-width cells with decimal separator
Juergen Spitzmueller [Sat, 22 Oct 2016 10:13:36 +0000 (12:13 +0200)]
Fix LaTeX output of fixed-width cells with decimal separator

This follows Uwe's suggestions (and discharges my own).

The result is not ideal, but there is currently no ideal solution.

Fixes: #9568
7 years agoImplement wrapping in next-change (#10388).
Juergen Spitzmueller [Sat, 15 Oct 2016 14:34:16 +0000 (16:34 +0200)]
Implement wrapping in next-change (#10388).

7 years agoMove wrap check for simple search/replace to lyxfind
Juergen Spitzmueller [Wed, 14 Sep 2016 08:23:39 +0000 (10:23 +0200)]
Move wrap check for simple search/replace to lyxfind

This gets rid of some dirty dispatch tricks and fixes wrap-around
on replace and in the spellchecker

Fixes: #10378
7 years agoUpdate boost to version 1.62.
Jean-Marc Lasgouttes [Sat, 22 Oct 2016 14:28:52 +0000 (16:28 +0200)]
Update boost to version 1.62.

7 years agoMerge branch '2.2.x' of git.lyx.org:lyx into 2.2.x
Uwe Stöhr [Fri, 21 Oct 2016 23:00:23 +0000 (01:00 +0200)]
Merge branch '2.2.x' of git.lyx.org:lyx into 2.2.x

7 years agoUserGuide.lyx: deny a change
Uwe Stöhr [Fri, 21 Oct 2016 23:00:11 +0000 (01:00 +0200)]
UserGuide.lyx: deny a change

this type of description is used all over the place in the LyX docs

7 years agoUpdate sk.po
Kornel Benko [Fri, 21 Oct 2016 22:57:48 +0000 (00:57 +0200)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Fri, 21 Oct 2016 20:11:11 +0000 (22:11 +0200)]
de.po