Commit Graph

35622 Commits

Author SHA1 Message Date
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
Richard Heck
ad8b479c71 Activate export of chess diagrams for XHTML.
(cherry picked from commit 0b8c6bbbf8)
2016-07-31 01:36:10 -04:00
Richard Heck
9a95390791 Enable XHTML export of LilyPond files.
(cherry picked from commit b35661b755)
2016-07-31 01:36:09 -04:00
Richard Heck
5555661bf6 Allow XHTML export of Dia diagrams.
(cherry picked from commit 3f1199d56a)
2016-07-31 01:36:08 -04:00
Richard Heck
de3284ba9a Activate export of external material for XHTML.
As of this commit, this is ineffective, since no changes have been
made to external_templates.

(cherry picked from commit daf7cd4c05)
2016-07-31 01:35:53 -04:00
Richard Heck
f457b11fa7 Fix substitution for $$Contents.
The second argument here is the length of the string to replace,
not the position of the final character.

(cherry picked from commit 6b97f2c075)
2016-07-31 00:17:22 -04:00
Richard Heck
a536ee7718 Fix preview of external material with plaintext and DocBook.
(cherry picked from commit 93a612220e)
2016-07-30 23:51:06 -04:00
Richard Heck
d7ecdedd67 Fix indentation of fen2ascii script so it will run.
(cherry picked from commit 22e1063cb9)
2016-07-30 23:18:46 -04:00
Richard Heck
8c6b947eb5 Use scaling factor in XHTML output.
(cherry picked from commit 47c52db13e)
2016-07-30 22:02:48 -04:00
Richard Heck
e1bad06103 If we cannot find the input format for a graphic, we cannot convert it.
Also includes some minor code cleanup.

(cherry picked from commit e1f597e3da)
2016-07-30 21:58:59 -04:00
Richard Heck
21ccd006ee Fix some symbols that are displayed incorrectly in MathML export.
(cherry picked from commit 8860365565)
2016-07-30 21:12:24 -04:00
Richard Heck
0ab8ea6682 Fix bug #10154. 2016-07-30 20:18:03 -04:00
Richard Heck
c760707548 Fix thinko from earlier commit.
We need to output the deferred material AFTER the paragraph is closed.
2016-07-30 01:30:37 -04:00
Richard Heck
9d3917a4b6 Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.

(cherry picked from commit a11e07a62f)
2016-07-29 23:52:47 -04:00