Commit Graph

32916 Commits

Author SHA1 Message Date
Enrico Forestieri
a7970c1699 Use an info inset instead of a graphics one 2015-03-28 20:45:34 +01:00
Enrico Forestieri
5f3bb073bb Allow using icon names in InsetInfo
Currently, only lfun names are accepeted but there are cases in which
the lfun name does not map directly to an icon. For example, in the
outliner, the icon named "promote" is used for the lfun outline-out.
As a result, a graphics inset is used in the documentation for describing
the corresponding icon. Now one can also use an icon name. The argument
of "info-isert icon" is first looked up as an lfun. If no corresponding
icon is found, the argument is taken as the name of the icon. If no such
icon exists, the "unknown" icon is used.
2015-03-28 20:36:05 +01:00
Stephan Witt
2622c99dd5 #9477 improved argument handling for LFUN_SPELLING_ADD,LFUN_SPELLING_IGNORE and LFUN_SPELLING_REMOVE (backport) 2015-03-28 11:07:56 +01:00
Richard Heck
c56d72ffa3 Remerge strings. 2015-03-27 16:08:20 -04:00
Jean-Marc Lasgouttes
c271973b85 Fix consecutive merging of tabular cells
This is a bug reported and fixed by Edwin Leuven.

Here is how Edwin described it in his inimitable minimalist style:
  first i merge the top-left two cells in a small, say 3x3, table

  if i then merge this multicolumn cell with the remaining cell in the first row
  my table ends up all bonkers
2015-03-25 09:49:43 +01:00
Juergen Spitzmueller
d98618c7db Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-25 09:21:42 +01:00
Jean-Marc Lasgouttes
a6bc4a2a34 Use isActive() instead of editable() in mathed.
Fixes crash introduced in [d5eeabcf/lyxgit].

editable() is more related to Texted. It is false for closed collapsable insets
Eventually the two methods should be merged.
2015-03-23 21:46:15 +01:00
Juergen Spitzmueller
4a83c642f9 Load amsthm after amsmath.
This follows a strong advice in the amsthm manual and fixes #7233.
2015-03-22 15:34:55 +01:00
Georg Baum
20c15f45d9 Fix stmaryrd operators with limits (bug 9458)
LyX did not display the limits of the big math operators defined by
stmaryrd.sty correctly. The reason for this was a missing check in
InsetMathSymbol::metrics(), where it is hardcoded which symbols use display
style limits and which symbols use inline limits. In an ideal world this
information would be contained explicitly in lib/symbols.
2015-03-22 09:31:04 +01:00
Jean-Marc Lasgouttes
713d83bf34 Toggle properly toolbar icons that set layout of a paragraph.
Fixes bug #9463.
2015-03-19 18:24:39 +01:00
Juergen Spitzmueller
a1735d5f25 Add bug number 2015-03-19 10:36:24 +01:00
Juergen Spitzmueller
d67e1789a3 Properly handle the bicaption package (bug #9449) 2015-03-18 08:42:49 +01:00
Juergen Spitzmueller
c549f11b83 Make the missing class warning opt-out 2015-03-17 14:21:32 +01:00
Juergen Spitzmueller
c4ed79bba6 fixltx2e must be loaded as early as possible
Fixes: #9452, #9361

This reverts the 'fix' to #7233, which must be solved differently.
2015-03-17 14:16:50 +01:00
Jean-Marc Lasgouttes
f3c2bfd495 add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:20:51 +01:00
Enrico Forestieri
3d73bda0c0 Update it.po 2015-03-16 21:11:49 +01:00
Enrico Forestieri
1fb3f8b4e0 Fix bug #9453
This was due to a problem with the QProcess parser.
See #9453 for details.
2015-03-16 20:21:49 +01:00
Jean-Marc Lasgouttes
a50c0f7d13 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 19:34:38 +01:00
Juergen Spitzmueller
b7d2169413 Phantom is fragile (#9456) 2015-03-16 17:25:15 +01:00
Juergen Spitzmueller
48774ed56f de.po 2015-03-16 14:34:30 +01:00
Juergen Spitzmueller
95e41332da Properly escape backslash in string
Richard, I took the liberty to just backport without further ado. This string is commented out anyway, but it constantly pops up as untranslated in the po files, which is a bit annoying
2015-03-16 14:33:11 +01:00
Juergen Spitzmueller
e715055373 Set the logic straight 2015-03-16 10:57:31 +01:00
Juergen Spitzmueller
69d10bd4c8 Allow to disable inputenc loading via 'Provides inputenc 1' 2015-03-16 10:55:47 +01:00
Juergen Spitzmueller
f790bb046e Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.
2015-03-12 09:54:01 +01:00
Georg Baum
141f13a9cc Remove unsupported macros from autocompletion
We have some math macros that exist only because LyX can display them easily,
but which require user preamble code. These commands should not appear in
autocompletion, they are only there to make the formulas of users who actually
need these symbols and know what to put into the preamble more beautiful.
2015-03-10 21:04:24 +01:00
Jean-Marc Lasgouttes
226c6f6b17 Take in account the parent's getStatus in macro templates
This avoids invoking the insert space dialog instead of the math version. Thereafter, spaces are correctly inserted inside macro templates.

This is the last part of the fix to #9432.
2015-03-10 17:23:10 +01:00
Jean-Marc Lasgouttes
d5eeabcfdd Check that DocIterator::sanitize only adds editable insets
This fixes the crash on ticket #9432, but the bug there has other causes.
2015-03-10 17:20:25 +01:00
Jean-Marc Lasgouttes
3c0f46fb33 Do not sanitize the anchor of cursor when selection is not set
Additionally, move the code to write to a stream from Cursor to CursorData (so that debugging undo is easier). We loose x_target, but I am not sure it is important.

This is the second part of bug #9432.
2015-03-10 17:20:10 +01:00
Jean-Marc Lasgouttes
f620de8036 Main argument of a subfloat is not a moving argument
Fixes bug: #9421
2015-03-09 17:53:03 +01:00
Uwe Stöhr
d7bf990dfd pdfcomment.module: fix dependencies 2015-03-08 03:40:38 +04:00
Uwe Stöhr
5e41f91b7c MultilingualCaptions.lyx: few more fixes 2015-03-08 03:37:23 +04:00
Uwe Stöhr
0c8f3a4cfb MultilingualCaptions.lyx: some fixes and improvements
- load nicer screen fonts
- fix some typos and sorting mistakes
2015-03-07 15:15:23 +04:00
Uwe Stöhr
d80672d459 French MultilingualCaptions.lyx: this time really the french version 2015-03-07 13:14:27 +04:00
Enrico Forestieri
0e274e06d8 Update cygwin script.
Recent versions of the cygwin X11 server come with a startup script
that explicitly uses '-nolisten tcp' for improved security. This means
that mentioning a host part in the DISPLAY variable precludes correct
operation. So, leave blank the host part such that only local connections
are attempted. Even if a user can override this setting in the own
~/.lyxprofile, novice users (and even experienced ones, at first) would be
probably confused by the "Error: Can't open display: localhost:0" message
and thus it is better to make this work out of the box.
2015-03-05 00:01:40 +01:00
Jean-Marc Lasgouttes
997cc6a774 Record undo properly when changing multiple paragraphs parameters
Fixes bug 9437.
2015-03-01 19:49:47 +01:00
Uwe Stöhr
907ef51e51 Installer: slovak.nsh: backport translation update for old installer 2015-02-27 01:11:36 +01:00
Uwe Stöhr
e920209131 fr.po: translations by Jean-Pierre 2015-02-27 00:42:21 +01:00
Uwe Stöhr
8e93f105ca English MultilingualCaptions.lyx: fix 2 mistakes
spotted by Jean-Pierre
2015-02-27 00:41:48 +01:00
Uwe Stöhr
76b1deaf88 French MultilingualCaptions.lyx: new translation by Jean-Pierre 2015-02-27 00:40:00 +01:00
Uwe Stöhr
d040a1bbe1 French Intro.lyx: some adjustments by Jean-Pierre 2015-02-27 00:21:10 +01:00
Juergen Spitzmueller
30efd4f636 Check for ugm font availability
Fixes: #9429
2015-02-24 16:08:55 +01:00
Uwe Stöhr
2c00714186 UserGuide.lyx: add note about HTML
remove also an obsolete info
2015-02-24 01:44:34 +01:00
Uwe Stöhr
245db2613a UserGuide.lyx: add note about HTML
remove also an obsolete info
2015-02-24 01:40:38 +01:00
Uwe Stöhr
67c9831337 status.21x: add updated translations 2015-02-24 01:25:28 +01:00
Uwe Stöhr
98e22740fc add changelog files for some documentation files
they are designed to collect all changes so that translators and other contributors see what has been changed and need to be translated
2015-02-24 01:22:33 +01:00
Kornel Benko
25274549c5 update sk.po 2015-02-20 12:46:30 +01:00
Juergen Spitzmueller
66787ba8c0 de.po 2015-02-20 12:28:29 +01:00
Georg Baum
950f2acd5e Fix wrong LATTEST
Thanks to Scott for testing. If a macro is unknown (displayed in red), then
macro_ is 0. The LATTEST is now adjusted and works like in MathMacro::write()
where I stole it from.
2015-02-17 21:10:12 +01:00
Kornel Benko
a852844739 eplace unparseable char in lib/configure.py.
Apparently xgettext is choking on that unicode char (\302 \240)
2015-02-17 13:25:49 +01:00
Uwe Stöhr
dd82e779be configure.py: correct a strange spacing issue introduced in last commit 2015-02-17 00:46:46 +01:00