Commit Graph

35685 Commits

Author SHA1 Message Date
Guillaume Munch
1dc8278fef LaTeX highlighter: make at a letter in the user preamble
Syntax highlighting now provides the appropriate cue that the user preamble is
inside \makeatletter…\makeatother.

(cherry picked from commit 10f6eb2e7e)
2016-08-28 02:38:02 +01:00
Guillaume Munch
8a42918b2f status.22x. 2016-08-28 01:51:16 +01:00
Guillaume Munch
c8381f7873 LyXToolBox: a QToolBox with minimum size management
The purpose of this custom widget is to allow the use of a QToolBox in a limited
area. The stock QToolBox does not provide a minimum size hint that depends on
the size of the pages; it assumes that there is enough room.  This subclass sets
the minimal size of the QToolbox. Without this, the size of the QToolbox is only
determined by values in the ui file and therefore causes portability and
localisation issues. Note that the computation of the minimum size hint depends
on the minimum size hints of the page widgets. Therefore page widgets must have
a layout with layoutSizeContraint = SetMinimumSize or similar.

(cherry picked from commits 576cb5df77
                            7e9d0a938b
                            efbc297b95)
2016-08-28 01:43:46 +01:00
Guillaume Munch
2da2f6c00c Basic implementation of QSignalBlocker for qt4
(cherry picked from commit bc8eb059db)
2016-08-26 20:42:52 +01:00
Guillaume Munch
49ce94f636 Fix "scroll here" feature of scrollbar (#10311)
Prevent setRange() from causing a recursive call to scrollTo(). Reduces three
calls of scrollTo() to one call for all scrolling functions of the scroll bar
(e.g. clicking on the arrow, dragging, or clicking somewhere on the scrollbar).

(cherry picked from commit 4d7b912ca1)
2016-08-26 20:41:08 +01:00
Kornel Benko
8acc5b85c4 Update sk.po 2016-08-26 21:13:20 +02:00
Juergen Spitzmueller
52d750cb87 de.po: fix meta data 2016-08-26 19:18:19 +02:00
Juergen Spitzmueller
a3674c9adc de.po: update 2016-08-26 19:13:50 +02:00
Juergen Spitzmueller
010284dbe5 Implement proper dialog titles in InsetParamsDialogs
Fixes: #10329
2016-08-26 18:51:01 +02:00
Juergen Spitzmueller
c0f5c1dd9f Fix \@ifundefined check for covexample(s)
Fixes: #10340
2016-08-26 18:45:23 +02:00
Kornel Benko
c680c83adf Update sk.po 2016-08-26 13:00:10 +02:00
Jean-Marc Lasgouttes
a957879839 Move correctly the end of proof marker when row is large
This was a regression from 2.1.x in LtR mode, and it never worked correctly in RtL mode.

Fixes bug #10344.

(cherry picked from commit 07c7dae367)
2016-08-24 12:04:19 +02:00
Jean-Marc Lasgouttes
3e432ec631 Reset anchor before selecting with S-button1
(cherry picked from commit b583fb26e8)
2016-08-24 11:59:01 +02:00
Jean-Marc Lasgouttes
e2489c1c31 Let M-x give focus to minibuffer when it is already open
(cherry picked from commit 65b0e84b54)
2016-08-23 12:25:16 +02:00
Jean-Marc Lasgouttes
e0730fe070 Remove horizontal spacing around previews
This concerns the preview version of InsetPreview and InsetIPA.

Fixes bug #10304.
(cherry picked from commit 4ddad2f6cd)
2016-08-22 10:20:01 +02:00
Scott Kostyshak
deec55866c Warn in GUI when mixing Title and InTitle layouts
Since we process layouts sequentially, we export LaTeX code for the
title once we arrive to a layout that has InTitle false. If the
document then later has a layout with InTitle true, we do not
(currently) go back to add it to the title and just output it
in-place. We previously warned with LYXERR0, but since this can
cause missing or unexpected output we now warn in the GUI.

For more information, see the following lyx-devel thread:
https://www.mail-archive.com/search?l=mid&q=a65ae226-d3bd-8fc5-a93b-7bb23f1cda82%40lyx.org

(cherry picked from commit 0b1cf1330d)
2016-08-18 21:07:42 -04:00
Scott Kostyshak
b3a6f51f30 Improve a layout LYXERR0 message
The name of the layout is now included in an error message about
layouts. This will help with finding the root issue of several
documents we have.

(cherry picked from commit c949268da7)
2016-08-18 21:07:38 -04:00
Enrico Forestieri
93003eee16 Fix exit code from runCommand on Windows
On Windows, runCommand has never returned the exit code of the
spawned process but the result of correctly closing the input handle.

Fixes #10327

(cherry picked from commit fb46b3a1ee)
2016-08-18 17:00:55 -04:00
Richard Heck
1a89f89337 Remove debugging code.
(cherry picked from commit e57e008e88)
2016-08-05 21:42:19 -04:00
jpc
efa0bfed9f Update French UI localization 2016-08-05 09:06:16 +01:00
jpc
f1019628a4 Update French Customization, Math, Tutorial and UserGuide manuals 2016-08-05 09:06:15 +01:00
Juergen Spitzmueller
fe117aa7db Correct default font of beamer article layouts
Fixes: #9977
2016-08-05 07:21:17 +02:00
Richard Heck
50162ebb1e Fix XHTML export of German Additional Features manual.
There was an oddity in the manual that exposed a problem with the
test for the "special case" of an inset all by itself in a pargraph.
If a font change is applied to that inset, we still need to open the
paragraph.

(cherry picked from commit 3be23d18b6)
2016-08-04 22:47:32 -04:00
Richard Heck
928c7a3d68 We don't need to crash here, but can try to continue in release
mode.

(cherry picked from commit 0a603c5d0e)
2016-08-04 22:46:26 -04:00
Richard Heck
3f35b5e3b5 Remove stray "typewriter" font.
(cherry picked from commit fab09075a6)
2016-08-04 22:46:12 -04:00
Richard Heck
c92b1aa359 Special characters should be output to the TOC.
(cherry picked from commit f15c4159aa)
2016-08-04 22:45:56 -04:00
Richard Heck
4df7b051fa Status for last commit. 2016-08-04 17:47:57 -04:00
Richard Heck
b5a37a856c Fix bug #10320.
Layout::write needs to allow for the possility that the name of the
style may contain a space. It seems sufficient just always to quote it.
2016-08-04 17:10:39 -04:00
Juergen Spitzmueller
a51a084694 de.po: fix meta data 2016-08-03 14:58:18 +02:00
Juergen Spitzmueller
c6975472eb de.po: minor fixes 2016-08-03 14:52:23 +02:00
Juergen Spitzmueller
e25da9b081 de.po: update 2016-08-03 09:06:43 +02:00
Juergen Spitzmueller
642d7f0f96 Fix typo. 2016-08-03 09:05:06 +02:00
Richard Heck
612dc74f75 Fix problem noticed by Scott.
(cherry picked from commit 16d39b1f83)
2016-08-02 18:56:46 -04:00
Richard Heck
4ef9aa8a8b Fix quotes in InStar module description. 2016-08-02 11:12:21 -04:00
Juergen Spitzmueller
a82b0cb2b2 de.po: update 2016-08-02 13:21:31 +02:00
José Matos
61a9f04754 Fix bug #10273
The export of compressed files to previous lyx versions failed on windows.

The change in this case is to explicitly pass the output file since we know it.

At the same time take care of the fact that lyx2lyx knows what file format
versions corresponds to each lyx version.
2016-08-01 11:04:39 +01:00
José Matos
41666164f7 White space change only (remove spaces at the end of lines) 2016-08-01 10:53:10 +01:00
Richard Heck
68a0822e25 Fix typo in new dia converter. 2016-07-31 12:47:13 -04:00
Uwe Stöhr
3eb90307a7 Customization.lyx: remove incorrect LaTeX symbols 2016-07-31 10:35:04 +02:00
Richard Heck
199e63fa19 Simplify CSS classes for floats.
Fixes bug #8605 and probably parts of #8755 and #9328.

(cherry picked from commit 50c1391950)
2016-07-31 03:45:05 -04:00
Richard Heck
98d4fba57b Fix CSS for math cases.
Fixes bug #8755.

(cherry picked from commit 752c89ae13)
2016-07-31 03:42:38 -04:00
Richard Heck
ffd6a28a97 Fix HTML display of math matrices.
(cherry picked from commit 60ce2b7570)
2016-07-31 03:41:13 -04:00
Richard Heck
ddb7c5884b Fix output of floats, etc, inside environments.
Fixes bug #9094.

(cherry picked from commit 98feadd61e)
2016-07-31 03:20:00 -04:00
Richard Heck
1c9bb3f6de Add 'dir="auto"' to the body tag for XHTML export. This should take
care of much of what we need to do for RTL languages. It does not
take care of inline language changes, probably.

(cherry picked from commit 07dcb1c525)
2016-07-31 02:54:28 -04:00
Richard Heck
5fa071ec1e Fix display of code listings in XHTML.
Fixes bug #8362.

(cherry picked from commit ab3a49973f)
2016-07-31 01:48:57 -04:00
Richard Heck
1bcede451a Enable export of spreadsheets with XHTML.
(cherry picked from commit 1840e2dbaf)
2016-07-31 01:36:43 -04:00
Richard Heck
1f36c6aa78 Dummy export for spreadsheets: plaintext and DocBook.
(cherry picked from commit 94dd876699)
2016-07-31 01:36:13 -04:00
Richard Heck
9f852516e8 Export external raster graphics as png for XHTML.
(cherry picked from commit 681e76086a)
2016-07-31 01:36:12 -04:00
Richard Heck
deb6c1de06 Export external vector graphics as svg for XHTML.
(cherry picked from commit b9f7bf7d69)
2016-07-31 01:36:11 -04:00
Richard Heck
151e004ab1 Enable SVG export of XFig figures for XHTML.
(cherry picked from commit a45ffddb23)
2016-07-31 01:36:11 -04:00