]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agofix last traces of bug #10068
Uwe Stöhr [Mon, 9 Jan 2017 00:25:22 +0000 (01:25 +0100)]
fix last traces of bug #10068

7 years agolinguistics.lyx: 2 minor style fixes
Uwe Stöhr [Mon, 9 Jan 2017 00:19:27 +0000 (01:19 +0100)]
linguistics.lyx: 2 minor style fixes

7 years agoAdditional.lyx: backport a change from master
Uwe Stöhr [Mon, 9 Jan 2017 00:18:51 +0000 (01:18 +0100)]
Additional.lyx: backport a change from master

PLEASE work in branch for the doc files. There is no reason not to release improved manuals with the next bugfix release. Only new features of LyX 2.3 are only for master.

7 years agoAvoid useless warning from Qt
Enrico Forestieri [Sun, 8 Jan 2017 22:11:04 +0000 (23:11 +0100)]
Avoid useless warning from Qt

When cloning InsetExternal, the tempname_ member of InsetExternalParams
has yet to be initialized. So, trying to remove it causes the warning
"QFile::remove: Empty or null file name".

(cherry picked from commit 25e6b5da39b2f9d5e1ce7c66baaf0ce968c8dc1a)

7 years agoEscape link name for DocBook.
Richard Heck [Sun, 8 Jan 2017 18:38:48 +0000 (13:38 -0500)]
Escape link name for DocBook.

Thanks to Martin Brown for pointing out the bug, and the obvious
solution.

(cherry picked from commit 06e2669b354561ebafcd69c24d0319d47ba1d279)

7 years agoFix DocBook DTD identifier for XML output.
Richard Heck [Sun, 8 Jan 2017 18:37:00 +0000 (13:37 -0500)]
Fix DocBook DTD identifier for XML output.

Thanks to Martin Brown for the correct one.

(cherry picked from commit b730419470061852e63ec0aaf5f2893605b03dde)

7 years ago Update French EmbeddedObjects manual
jpc [Sun, 8 Jan 2017 10:57:31 +0000 (10:57 +0000)]
  Update French EmbeddedObjects manual

7 years ago Update section 2.5.1
jpc [Sat, 7 Jan 2017 18:06:46 +0000 (18:06 +0000)]
 Update section 2.5.1

7 years agoAdd caching for the QTextLayout objects we use
Jean-Marc Lasgouttes [Tue, 5 Jul 2016 12:06:22 +0000 (14:06 +0200)]
Add caching for the QTextLayout objects we use

The QTextLayout handling is terribly slow on Qt 4.8.7, but some
caching has been added in Qt5 that makes it much faster. For some
reason, it is not that slow with Qt 4.8.1.

Caches are introduced for the three following methods

* width(doctring), controlled by CACHE_METRICS_WIDTH. This cache already
  existed, but the code has been cleaned up

* getTextLayout, controlled by CACHE_METRICS_QTEXTLAYOUT (disabled by
  default on Qt5, which does its own caching). This is used for pos2x
  and x2pos and now for drawing of text too. The previous code used a
  trivial caching scheme of the last used QTextLayout, but now they
  are properly kept in a QCache. Moreover, the cacheEnabled() property
  is enabled for these QTextLayout object (not sure what this does).

* breakAt, controlled by CACHE_METRICS_BREAKAT. This is the only user
  of QTextLayout which did not have some kind of caching already.

For some weird reasons related to Argument-dependent look-up, the
qHash(docstring) function has to be defined in std namespace, since
lyx::docstring is actually std::basic_string<wchar_t>.

(cherry picked from c5119c97fcf84e8)

7 years agoFix two hyperlink-insert problems
Juergen Spitzmueller [Thu, 29 Dec 2016 08:17:53 +0000 (09:17 +0100)]
Fix two hyperlink-insert problems

1. Do not prematurely cut selection (#10306); patch proposed by Daniel Ramöller
2. Obey lfun argument, even if there is a selection

7 years agoUpdate sk.po
Kornel Benko [Thu, 29 Dec 2016 08:42:02 +0000 (09:42 +0100)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Thu, 29 Dec 2016 08:01:52 +0000 (09:01 +0100)]
de.po

7 years agoAdd Joel Kulesza to the credits
Juergen Spitzmueller [Wed, 28 Dec 2016 15:50:25 +0000 (16:50 +0100)]
Add Joel Kulesza to the credits

7 years agoFixup c49cd699: QString::toStdString is not always available
Jean-Marc Lasgouttes [Wed, 28 Dec 2016 21:44:40 +0000 (22:44 +0100)]
Fixup c49cd699: QString::toStdString is not always available

This method requires STL support in Qt. Fortunately, it is not needed
here.

7 years agoFrom c7899a30a0b5975bf599a69ecd11ab25e1cdf1a4 Mon Sep 17 00:00:00 2001
Juergen Spitzmueller [Wed, 28 Dec 2016 15:34:44 +0000 (16:34 +0100)]
From c7899a30a0b5975bf599a69ecd11ab25e1cdf1a4 Mon Sep 17 00:00:00 2001
From: "Joel A. Kulesza" <jkulesza@gmail.com>
Date: Mon, 24 Oct 2016 17:37:58 -0600
Subject: [PATCH] Add "Swap & Reverse" to math delimiter dialog

When "Keep matched" is unchecked, a button becomes enabled to "Swap &
Reverse" the left and right delimiters.  This is expected to be of use
with line-wrapped equations featuring one or more set of delimiters that
break across the lines.  When "Keep matched" is checked, the button is
visible but disabled.

The most common use case is expected to be the user entering a pair of
unmatched delimiters on the first line of an equation (e.g., "(" and
"(None)"), entering the inner text, going to the next line, and
inserting the opposite set of delimiters (e.g., "(None)" and ")").
This button will negate the need to find the correct corresponding
combination.  However, it relies on the dialog's memory of the previous
unmatched set.

This change addresses Ticket #10457

-----------

Modifications by spitz to the original patch:

* Only enable the button if an unmatched pair is selected
* Consider l7n when locating the string "(None)"
* Add an accelerator and a tooltip to the dialog
* Simplify the code a bit

7 years agoDo not rely on toolTip() to generate LaTeX code
Guillaume Munch [Mon, 19 Dec 2016 23:15:59 +0000 (00:15 +0100)]
Do not rely on toolTip() to generate LaTeX code

7 years agoFix regression of 88603655
Georg Baum [Sun, 21 Aug 2016 18:34:40 +0000 (20:34 +0200)]
Fix regression of 88603655

The XHTML entries were added in the wrong field, if they are given we need
extra xhtml requires. The order is inconsistent, there are discussions on the
list about that but for now I'll use the existing order to fix the export tests.

The format of the lib/symbols file does not support "" for empty strings.
One would have to use x for fields that are not set (this is a hack), but
actually we know how to fill the extra field.

(cherry-pick of commit 338cef2a)

7 years agoEmbeddedObjects.lyx: backport recent changes
Uwe Stöhr [Wed, 21 Dec 2016 01:22:53 +0000 (02:22 +0100)]
EmbeddedObjects.lyx: backport recent changes

7 years agoUserGuide.lyx: fix 2 typos spotted by a user
Uwe Stöhr [Mon, 19 Dec 2016 22:50:29 +0000 (23:50 +0100)]
UserGuide.lyx: fix 2 typos spotted by a user

7 years agoLimit ligature protection to quote ligature chars
Juergen Spitzmueller [Wed, 14 Dec 2016 08:07:43 +0000 (09:07 +0100)]
Limit ligature protection to quote ligature chars

No status entry necessary (this is and emendment to an existing fix)

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.