]> git.lyx.org Git - lyx.git/log
lyx.git
9 years ago#7896 add support for symlink creation by the LyX binary itself
Stephan Witt [Wed, 3 Jun 2015 20:08:21 +0000 (22:08 +0200)]
#7896 add support for symlink creation by the LyX binary itself

9 years agoAvoid an exception when the lyxpreview2bitmap.py script fails completely
Enrico Forestieri [Tue, 23 Jun 2015 00:39:48 +0000 (02:39 +0200)]
Avoid an exception when the lyxpreview2bitmap.py script fails completely

If latex fails to generate any output, the forked process was not removed.
Now, if a snippet was changed a new one was started but, if also the zoom was
changed, things went awry because the 2 concurrent processes were asked to
process again the same snippet. Previously this would have simply caused a
waste of resources because the changed snippet would have not been regenerated.
Also reset the guard due to the early exit.

9 years agoProperly reschedule refresh of previews
Enrico Forestieri [Sun, 21 Jun 2015 15:21:19 +0000 (17:21 +0200)]
Properly reschedule refresh of previews

If the zoom factor is changed right while the previews are being
regenerated, the refreshPreviews() method is a no-op. So, reschedule
the refresh until everything is ready.

9 years agoMake really sure to wait for previews after zoom changes
Enrico Forestieri [Sun, 21 Jun 2015 09:21:59 +0000 (11:21 +0200)]
Make really sure to wait for previews after zoom changes

Relying on the fact that the timer is not active anymore does not
guarantee that the previews at the correct zoom are ready because
the regeneration process may take several seconds and during this
time the zoom factor may be changed again. So, we need an additional
guard for assuring that everything has settled down.

9 years agoUse the draft option for microtype
Enrico Forestieri [Sat, 20 Jun 2015 19:58:19 +0000 (21:58 +0200)]
Use the draft option for microtype

Instead of redefining \usepackage for avoiding the microtype package
when generating previews in dvi mode, the draft option can be used
for disabling it. This also allows to somewhat simplify the
fix_latex_file function.

9 years agoFix another couple of issues spotted by Guillaume
Enrico Forestieri [Sat, 20 Jun 2015 14:37:12 +0000 (16:37 +0200)]
Fix another couple of issues spotted by Guillaume

* Take into account macro redefinitions in the legacy route
* Take into account macros inside nested macro definitions

9 years agoAmend 98a5072a
Enrico Forestieri [Sat, 20 Jun 2015 01:05:50 +0000 (03:05 +0200)]
Amend 98a5072a

We only look once for the definition of the same macro, but we have
to always check its arguments when the same macro appears more than
once in a math inset. So, move earlier this check.

9 years agoFix a couple of issues with macros and previews
Enrico Forestieri [Fri, 19 Jun 2015 23:44:22 +0000 (01:44 +0200)]
Fix a couple of issues with macros and previews

* Fix typo causing to only account for the first char of a macro name
* Also check for macros as arguments of other macros

9 years agoRefine lang nesting fix
Juergen Spitzmueller [Fri, 19 Jun 2015 17:02:35 +0000 (19:02 +0200)]
Refine lang nesting fix

9 years agoCmake export tests: Luatex tests pass now on some more files.
Kornel Benko [Fri, 19 Jun 2015 08:54:40 +0000 (10:54 +0200)]
Cmake export tests: Luatex tests pass now on some more files.

9 years ago\frenchbsetup is a babel command
Juergen Spitzmueller [Fri, 19 Jun 2015 08:11:17 +0000 (10:11 +0200)]
\frenchbsetup is a babel command

9 years agoFix language nesting problem with polyglossia
Juergen Spitzmueller [Fri, 19 Jun 2015 07:25:11 +0000 (09:25 +0200)]
Fix language nesting problem with polyglossia

Part (?) of #9633

9 years agoSimplify the code for "auto" toolbars handling
Jean-Marc Lasgouttes [Thu, 18 Jun 2015 13:30:44 +0000 (15:30 +0200)]
Simplify the code for "auto" toolbars handling

Instaead of passing a number of booleans, it make more sense to pass
the relevant visibility values in a single flag.

9 years agoForce local font switch in caption.
Juergen Spitzmueller [Thu, 18 Jun 2015 12:17:18 +0000 (14:17 +0200)]
Force local font switch in caption.

It is needed with polyglossia. With babel, it does not harm (and looks
more sensible).

9 years agoRemove superfluous separators
Enrico Forestieri [Wed, 17 Jun 2015 09:31:10 +0000 (11:31 +0200)]
Remove superfluous separators

These were added when the user guide was converted to latest format.
Their purpose is assuring that the vertical spacing is not changed for
old documents. Given that they also assure that the bad spacings in
nested item environments is preserved, let's simply get rid of them.

9 years agoProperly pass char to stream (probably fix bug #9632)
Juergen Spitzmueller [Wed, 17 Jun 2015 08:22:46 +0000 (10:22 +0200)]
Properly pass char to stream (probably fix bug #9632)

9 years agoUserGuide.lyx: merge changes to all language variants
Uwe Stöhr [Tue, 16 Jun 2015 23:23:57 +0000 (01:23 +0200)]
UserGuide.lyx: merge changes to all language variants

(The UserGuide is currently not compilable because of bug #9632)

9 years agoSpaceMarker.png: fix image
Uwe Stöhr [Tue, 16 Jun 2015 22:53:53 +0000 (00:53 +0200)]
SpaceMarker.png: fix image

fixes bug #9581

9 years agoUpdate it.po
Enrico Forestieri [Tue, 16 Jun 2015 17:44:20 +0000 (19:44 +0200)]
Update it.po

9 years agoAvoid unnecessary growth of python lists
Enrico Forestieri [Tue, 16 Jun 2015 15:03:32 +0000 (17:03 +0200)]
Avoid unnecessary growth of python lists

The path argument of checkProg* was added to the PATH list in a nested
loop such that the list doubles in size each time the loop is executed,
thus also slowing down detection of missing programs.

9 years agoUpdate sk.po
Kornel Benko [Tue, 16 Jun 2015 08:47:51 +0000 (10:47 +0200)]
Update sk.po

9 years agode.po
Juergen Spitzmueller [Tue, 16 Jun 2015 07:48:33 +0000 (09:48 +0200)]
de.po

9 years agoCheck for, and report, uncodable characters in user preamble.
Juergen Spitzmueller [Mon, 15 Jun 2015 19:08:40 +0000 (21:08 +0200)]
Check for, and report, uncodable characters in user preamble.

Fixes: #9599
9 years agoReplacement for commits bc47054b and ad0d0f6d
Enrico Forestieri [Sun, 14 Jun 2015 16:10:29 +0000 (18:10 +0200)]
Replacement for commits bc47054b and ad0d0f6d

The strategy adopted in bc47054b had some drawbacks related to the way
instant preview snippets are generated. See the subthread starting at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187916.html
for details.

The strategy adopted in this commit is that of adding macro definitions
only for the macros actually used in a preview snippet, independently
of whether some macro was already used in a previous snippet. In this way
the snippets don't need to be changed according to whether they are
compiled as a whole or separately from each other. This fact was causing
the regeneration of a preview snippet whenever the cursor entered the
corresponding inset, even if the generated image would have not changed.
The problem of defining or redefining a macro is taken care by the
python scripts.

9 years agoRevert bc47054b and the related commit ad0d0f6d
Enrico Forestieri [Sun, 14 Jun 2015 16:05:39 +0000 (18:05 +0200)]
Revert bc47054b and the related commit ad0d0f6d

As discussed on the devel list. See the subthread starting at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187916.html
Soon to be replaced with the same strategy adopted in the stable branch.

9 years agoconfigure.py: add support for pandoc and docx
Uwe Stöhr [Sun, 14 Jun 2015 15:27:21 +0000 (17:27 +0200)]
configure.py: add support for pandoc and docx

- make LyX aware of the docx format
- add converters to odt and docx using the program Pandoc

9 years agoImprove alignment
Georg Baum [Sun, 14 Jun 2015 12:16:31 +0000 (14:16 +0200)]
Improve alignment

9 years agoRevert "remove unneeded notermination tags in unicodesymbols (bug #9615)"
Juergen Spitzmueller [Sun, 14 Jun 2015 11:44:50 +0000 (13:44 +0200)]
Revert "remove unneeded notermination tags in unicodesymbols (bug #9615)"

This reverts commit a6fdc1196b420a0c0aa2aa195dc22708f3c734b6.

The issue needs more discussion. See #9615.

9 years agoFix lyx2lyx unicodesymbols escaping
Georg Baum [Sun, 14 Jun 2015 10:44:44 +0000 (12:44 +0200)]
Fix lyx2lyx unicodesymbols escaping

The escaping of symbols read from unicodesymbols was inconsistent, which lead
to wrong replacements (bug 9559). Now the escaping is consistent: unicode_reps
contains unescaped LaTeX commands, the needed escaping for LyX files is
applied in put_cmd_in_ert() and lyx2latex().

9 years agoFix reversion of mathtools xarrows (bug #9620).
Juergen Spitzmueller [Sun, 14 Jun 2015 08:47:31 +0000 (10:47 +0200)]
Fix reversion of mathtools xarrows (bug #9620).

9 years agoUpdate description to reflect arg improvements
Scott Kostyshak [Sun, 14 Jun 2015 05:40:54 +0000 (01:40 -0400)]
Update description to reflect arg improvements

9 years agolyx2lyx/lyx_2_2.py: fix typo in comment
Uwe Stöhr [Sun, 14 Jun 2015 00:15:30 +0000 (02:15 +0200)]
lyx2lyx/lyx_2_2.py: fix typo in comment

9 years agoFix revert_textcolor method (bug #9620)
Juergen Spitzmueller [Sat, 13 Jun 2015 10:48:36 +0000 (12:48 +0200)]
Fix revert_textcolor method (bug #9620)

9 years agoGuiParagraph: Fix remaining glitch when entering custom line spread
Juergen Spitzmueller [Sat, 13 Jun 2015 10:31:03 +0000 (12:31 +0200)]
GuiParagraph: Fix remaining glitch when entering custom line spread
while immediate apply is activated.

9 years agoGuiParagraph: fix thinko (bug #9621)
Juergen Spitzmueller [Sat, 13 Jun 2015 10:16:34 +0000 (12:16 +0200)]
GuiParagraph: fix thinko (bug #9621)

9 years agoFix cursor setting in right-aligned text
Jean-Marc Lasgouttes [Sat, 13 Jun 2015 10:09:53 +0000 (12:09 +0200)]
Fix cursor setting in right-aligned text

Fixes bug #9619.

9 years agoEscape backslash
Juergen Spitzmueller [Sat, 13 Jun 2015 09:37:10 +0000 (11:37 +0200)]
Escape backslash

9 years agoMake tex2lyx tests green again
Georg Baum [Thu, 11 Jun 2015 20:25:00 +0000 (22:25 +0200)]
Make tex2lyx tests green again

Unfortunately I overlooked in 44f73b065004 that the first three whitespace
changes in box-color-size-space-align.lyx.lyx were actually correct, so they
should not have been reverted. In detail:
1), 2): The space after \raggedleft must not be part of the ERT inset, but it
        is ouput by check_space() as part of the standard text which follows.
3):     The space in front of www is caused by the fact that there is a
        newline between the opening brace of the parbox and the \centering
        command, so this space is not the one after \centering (which is
        correctly swallowed). This additional space is in fact not needed,
        and the contents would look better in LyX without it, but since it is
        not caused by special code I'll put it back in the refernce for now.
        We can still improve this in the future if anybody has a good idea.

The remaining whitespace issues are all fixed by a simple change in
parse_text(): Instead of always eating whitespace after detecting \centering
et al, and always output a space as part of the ERT if these commands need an
ERT, let the standard space handling mechanism kick in: skip whitespace if
no ERT is used (in this case LyX will always output the needed space), and
do not touch whitespace if an ERT is used.

9 years agoSupport very much greater/less than
Georg Baum [Tue, 9 Jun 2015 20:10:26 +0000 (22:10 +0200)]
Support very much greater/less than

This is bug #9612. The patch is from Günter Milde. He wrote:
The patch uses the "long" macro names (\llless and \gggtr) to minimize
name-clash probability. (There is, e.g., a name clash of \lll with Babel's
polish.ldf (cf. bug #6197))

9 years agoFix comments
Georg Baum [Sun, 7 Jun 2015 08:32:32 +0000 (10:32 +0200)]
Fix comments

The FIXME is not needed, this is how StyleChanger and FracChanger work:
In the constructor, they change the state of the FontInfo, and in the
destructor the state is set back. Therefore, all code that needs the changed
state, needs to be executed while the objects do still exist.

9 years agoQt4: Prevent crash on Haiku when clicking in a document
Jessica Hamilton [Fri, 5 Jun 2015 02:44:12 +0000 (14:44 +1200)]
Qt4: Prevent crash on Haiku when clicking in a document

Fixes bug #8595.

9 years agoDo not require libm when searching for system boost
Jean-Marc Lasgouttes [Thu, 11 Jun 2015 15:47:07 +0000 (17:47 +0200)]
Do not require libm when searching for system boost

Doing so breaks building under Haiku, which does not have libm.

See ticket #7568 for details.

9 years agoAdd Jessica Hamilton to credits.
Jean-Marc Lasgouttes [Thu, 11 Jun 2015 15:41:09 +0000 (17:41 +0200)]
Add Jessica Hamilton to credits.

9 years agoReport missing characters on conversion with XeTeX or LuaTeX (bug #9610)
Juergen Spitzmueller [Thu, 11 Jun 2015 09:32:17 +0000 (11:32 +0200)]
Report missing characters on conversion with XeTeX or LuaTeX (bug #9610)

As discussed on trac, we treat this as error, since it severely
corrupts the output (dataloss).

9 years agoremove unneeded notermination tags in unicodesymbols (bug #9615)
Juergen Spitzmueller [Thu, 11 Jun 2015 09:14:01 +0000 (11:14 +0200)]
remove unneeded notermination tags in unicodesymbols (bug #9615)

Patch by Guenter Milde

9 years agoconsistent replacement for CEDILLA in unicodesymbols (bug #9614)
Juergen Spitzmueller [Thu, 11 Jun 2015 09:11:26 +0000 (11:11 +0200)]
consistent replacement for CEDILLA in unicodesymbols (bug #9614)

Patch by Guenter Milde

9 years agoFix building with cmake and Qt4
Enrico Forestieri [Wed, 10 Jun 2015 22:09:31 +0000 (00:09 +0200)]
Fix building with cmake and Qt4

9 years agoCmake build: Adapt to compile after 0213e7b5c62f487bdddd95ff0b2de736f64b1dc3
Kornel Benko [Wed, 10 Jun 2015 19:53:10 +0000 (21:53 +0200)]
Cmake build: Adapt to compile after 0213e7b5c62f487bdddd95ff0b2de736f64b1dc3

9 years agoWas forgetting to clean up
Enrico Forestieri [Wed, 10 Jun 2015 18:12:31 +0000 (20:12 +0200)]
Was forgetting to clean up

9 years agoDelay regeneration of previews on zoom changes
Enrico Forestieri [Wed, 10 Jun 2015 17:21:27 +0000 (19:21 +0200)]
Delay regeneration of previews on zoom changes

Until now the regeneration process was starting as soon as the zoom scale
factor was changed. This was causing some glitches, especially if the zoom
was changed by the mouse wheel, as on each change the process was started
again and again making zoom changes painful and causing races such that
one could end up with the text at some zoom factor and the previews at
another one. After this commit, the regeneration is started only after
the zoom factor has been stable for about 1 second. In this way, one can
use the mouse wheel for changing back and forth the zoom factor at own's
heart desire without any slow down due to the regeneration process running
in the background. For those using previews with numbered math equations,
a nice possibility for getting the equations correctly numbered in sequence
(after removing or adding an equation) is using the shortcuts Alt+ and Alt-
in rapid sequence (less than a second between the keystrokes). Previously,
this would have triggered twice the regeneration, but now only once.

9 years agoProperly fix bug #9598
Juergen Spitzmueller [Tue, 9 Jun 2015 06:18:19 +0000 (08:18 +0200)]
Properly fix bug #9598

Do not output \\par at the end of environments with size change if the
environment cosinsts of only one par.

9 years agoRevert "No \\par after greyedout notes (bug #9598)"
Juergen Spitzmueller [Tue, 9 Jun 2015 05:57:19 +0000 (07:57 +0200)]
Revert "No \\par after greyedout notes (bug #9598)"

This reverts commit f929f21228046756ef394e04fb7d334938560c7d.

It is not as easy as this. See ticket.

9 years agoNo \\par after greyedout notes (bug #9598)
Juergen Spitzmueller [Tue, 9 Jun 2015 05:44:03 +0000 (07:44 +0200)]
No \\par after greyedout notes (bug #9598)

9 years agoAdd packaging support for Haiku
Jessica Hamilton [Fri, 5 Jun 2015 10:40:35 +0000 (22:40 +1200)]
Add packaging support for Haiku

See bug #7568 for details.

9 years agoconfigure: also search for sockets in libnetwork
Jessica Hamilton [Fri, 5 Jun 2015 02:49:00 +0000 (14:49 +1200)]
configure: also search for sockets in libnetwork

This is required for Haiku support.

See bug #7568 for details.

9 years agoProperly notify insets after BufferView::doDispatch
Jean-Marc Lasgouttes [Fri, 5 Jun 2015 09:43:05 +0000 (11:43 +0200)]
Properly notify insets after BufferView::doDispatch

Currently, insets are notified that the cursor entered or leaved them in Cursor::dispatch. This is not the cas efor lfuns which are handled in BufferView.

Adding the proper code allows to fix many bugs where previews are not updated correctly.

This also reverts cf4f79f8, which was the same fix for a particular case.

Fixes bug #6173.

9 years agoProperly fix #9602.
Enrico Forestieri [Sun, 7 Jun 2015 22:41:36 +0000 (00:41 +0200)]
Properly fix #9602.

Other than checking that we are at the beginning of a paragraph,
we must also check that this is not the first paragraph before
triggering the code that removes the inset separator. This accounts
for the case that we are dissolving an inset from the inside.
Without this additonal check the old code was fooled into thinking
that the separator should have been removed.

9 years agoRevert 6bd9f885
Enrico Forestieri [Sun, 7 Jun 2015 22:38:10 +0000 (00:38 +0200)]
Revert 6bd9f885

Sorry, I was wrong. That code is still needed.
Proper fix for #9602 is on its way.

9 years agoFix bug #9602.
Enrico Forestieri [Sun, 7 Jun 2015 21:26:57 +0000 (23:26 +0200)]
Fix bug #9602.

The removed code was introduced at [c668ebf6/lyxgit] to assure that
an inset separator in the last position of a paragraph was getting
removed when hitting backspace with the cursor at the beginning of
the next paragraph. Apparently, it is not needed anymore and can
be removed. This avoids the reported assertion.

9 years agoRevert "Update previews after pasting (#6211)"
Scott Kostyshak [Sun, 7 Jun 2015 15:57:08 +0000 (11:57 -0400)]
Revert "Update previews after pasting (#6211)"

As JMarc notes on the ML, the referenced commit modifies a full
buffer just in the middle of a dispatch action.

Further, this commit lead to an assertion [1], although it is not
clear to me whether the root cause of the assertion is the commit
that is being reverted here, or one of the issues we have with
previews and macros.

This reverts commit 73460423ad684b8728fe7bdf51f27dbc5cae5ea9.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187921.html

9 years agolayouttranslations: pt is was renamed to pt_PT
Uwe Stöhr [Wed, 3 Jun 2015 23:14:43 +0000 (01:14 +0200)]
layouttranslations: pt is was renamed to pt_PT

9 years agolayouttranslations: Arabic update by Hatim
Uwe Stöhr [Wed, 3 Jun 2015 23:12:58 +0000 (01:12 +0200)]
layouttranslations: Arabic update by Hatim

9 years agoUpdate it.po
Enrico Forestieri [Wed, 3 Jun 2015 19:25:47 +0000 (21:25 +0200)]
Update it.po

9 years agoAccount for the trailing optional argument of \usepackage.
Enrico Forestieri [Wed, 3 Jun 2015 17:02:54 +0000 (19:02 +0200)]
Account for the trailing optional argument of \usepackage.

The full syntax is \usepackage[<options>]{<name>}[<min.date>]
even if this is not documented in my old Lamport's LaTeX book...

9 years agoMissing bits from 07169c7b
Enrico Forestieri [Wed, 3 Jun 2015 16:43:27 +0000 (18:43 +0200)]
Missing bits from 07169c7b

Sorry, was forgetting this.

9 years agoReport how many preview snippets fail.
Enrico Forestieri [Wed, 3 Jun 2015 15:52:30 +0000 (17:52 +0200)]
Report how many preview snippets fail.

Instead of warning about latex problems that, most probably, are worked
around by the script, report how many preview snippets were not produced.

9 years agoGuiIndices: Improve widget disabling and account for read only status
Juergen Spitzmueller [Wed, 3 Jun 2015 14:54:54 +0000 (16:54 +0200)]
GuiIndices: Improve widget disabling and account for read only status
(bug #9593)

9 years agoWhen the document language is changed, update cursor language too
Jean-Marc Lasgouttes [Wed, 3 Jun 2015 10:14:30 +0000 (12:14 +0200)]
When the document language is changed, update cursor language too

Actually, the change is done only if the cursor language was the
document language already.

This fixes an trivial but annoying problem: create a new file (in
English), change language to your favourite language, then start to
write. Before this fix, the words come out in English, which does not
make sense.

Fixes bug #9586.

9 years agoMake case-changing lfuns operate on full words by default
Jean-Marc Lasgouttes [Thu, 28 May 2015 13:43:12 +0000 (15:43 +0200)]
Make case-changing lfuns operate on full words by default

This is for people who cannot grasp the superior conventions of emacs ;)

A new argument "partial" has been added to word-upcase, word-lowcase
and word-capitalize that restores the old emacs-like behavior.

The (x)emacs bindings are updated to use the "partial" argument, and
also to bind correctly M-u and M-l (M-c is unfortunately not
available).

Fixes bug #2826.

9 years agoar.po: some translations and fixes by Hatim
Uwe Stöhr [Wed, 3 Jun 2015 01:03:14 +0000 (03:03 +0200)]
ar.po: some translations and fixes by Hatim

9 years agoCorrectly escape backslashes.
Enrico Forestieri [Tue, 2 Jun 2015 23:10:45 +0000 (01:10 +0200)]
Correctly escape backslashes.

Curiously, this was already working right.

9 years agoFix some preview issues reported on the devel list.
Enrico Forestieri [Tue, 2 Jun 2015 22:19:51 +0000 (00:19 +0200)]
Fix some preview issues reported on the devel list.

* Provide for vector fonts only if needed.
* Make sure microtype doesn't throw a trantum in dvi mode.
* Use correct macro definition in preview insets.

9 years agoMake Thesaurus check for more general dictionaries (en-v2.idx)
Juergen Spitzmueller [Tue, 2 Jun 2015 15:28:44 +0000 (17:28 +0200)]
Make Thesaurus check for more general dictionaries (en-v2.idx)
if a specific one (such as en_NZ-v2.idx) is not found.

If someone can replace the rather clumsy code by an elegant regexp
(I failed to find one), this is most welcome!

9 years agoFix preview of included files in child documents (bug #9583)
Juergen Spitzmueller [Tue, 2 Jun 2015 15:23:52 +0000 (17:23 +0200)]
Fix preview of included files in child documents (bug #9583)

9 years agoTry to fix bug #9587 correctly.
Richard Heck [Tue, 2 Jun 2015 01:52:02 +0000 (21:52 -0400)]
Try to fix bug #9587 correctly.

See the discussion there for the reasons for the changes.

9 years agoWin installer: add support for the program rsvg
Uwe Stöhr [Mon, 1 Jun 2015 22:25:59 +0000 (00:25 +0200)]
Win installer: add support for the program rsvg

also remove the now superfluous eLyXer addition

9 years agolyx2lyx/lyx_2_2.py: refine the colorbox reversion
Uwe Stöhr [Mon, 1 Jun 2015 22:00:14 +0000 (00:00 +0200)]
lyx2lyx/lyx_2_2.py: refine the colorbox reversion

9 years agoEmbeddedObjects.lyx: more updates for the box description
Uwe Stöhr [Mon, 1 Jun 2015 21:03:55 +0000 (23:03 +0200)]
EmbeddedObjects.lyx: more updates for the box description

9 years agoRevert whitespace changes in test references
Georg Baum [Mon, 1 Jun 2015 19:17:29 +0000 (21:17 +0200)]
Revert whitespace changes in test references

These whitespace changes are not correct. The test fail now, but they will
pss again once the tex2lyx bug is fixed.

9 years agolyx2lyx/lyx_2_2.py: fix colorbox reversion
Uwe Stöhr [Mon, 1 Jun 2015 19:19:11 +0000 (21:19 +0200)]
lyx2lyx/lyx_2_2.py: fix colorbox reversion

fixes bug #9587

9 years agoRevert some recent test changes
Georg Baum [Mon, 1 Jun 2015 19:09:43 +0000 (21:09 +0200)]
Revert some recent test changes

These should not have been done without discussion.

- Removal of the dcolumn table in 1a8b74f5e1c. Even if LyX does not support
dcolumn anymore, it is still a useful test whether tex2lyx imports it
correctly.

- Removal of the first "%% LyX" line. A long time ago it was decided (after
long discussion between at least Jean-Marc, Uwe and me), that this line is
interpreted by tex2lyx, and used to remove some LyX-generated preamble code.
These lines in the current tests exist on purpose (one can see in the diff
how the removal added unwanted stuff). I do not really like the
interpretation of the "%% LyX" line, but if this behaviour is to be changed
then this needs discussion first.

- Changed comment of \date. The comment was put there on purpose, and the
warning which was "fixed" by the change hints at a limitation in LyX, not a
tex2lyx problem (LyX does not know that a comment inset between some title
insets is OK). The roundtrip .tex output was OK with the old version.

- Change of \verbatiminput{foo}. This was supposed to test whether a
verbatim inset is correctly created even if the included file does not
exist.

- Removal of \lyxlines. Although these tests test input of files created by
old LyX versions, they are useful.

- Change of the lemma in test-modules.tex. The old version was put there on
purpose, and the file itself explains why it is translated to ERT.

9 years agolyx2lyx/lyx_2_2.py: set correct default color
Uwe Stöhr [Mon, 1 Jun 2015 18:57:45 +0000 (20:57 +0200)]
lyx2lyx/lyx_2_2.py: set correct default color

9 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Mon, 1 Jun 2015 18:46:16 +0000 (20:46 +0200)]
Merge branch 'master' of git.lyx.org:lyx

9 years agolyx2lyx/lyx_2_2.py: remove unused code
Uwe Stöhr [Mon, 1 Jun 2015 18:46:05 +0000 (20:46 +0200)]
lyx2lyx/lyx_2_2.py: remove unused code

9 years agoFix xfig test reference
Georg Baum [Mon, 1 Jun 2015 18:43:31 +0000 (20:43 +0200)]
Fix xfig test reference

For a not yet known reason the correct external xfig inset was replaced by an
include inset in 656bb6a0cb. Now it is correct again.

9 years agoar.po: fix bug #9585
Uwe Stöhr [Mon, 1 Jun 2015 18:33:26 +0000 (20:33 +0200)]
ar.po: fix bug #9585

9 years agoiucr.layout: adjust label alignment
Uwe Stöhr [Mon, 1 Jun 2015 18:14:58 +0000 (20:14 +0200)]
iucr.layout: adjust label alignment

9 years agoiucr.layout: Improve references layout, using ParagraphGroup.
Juergen Spitzmueller [Mon, 1 Jun 2015 14:13:10 +0000 (16:13 +0200)]
iucr.layout: Improve references layout, using ParagraphGroup.

9 years agoDocument ParagraphGroup layout tag.
Juergen Spitzmueller [Mon, 1 Jun 2015 14:12:51 +0000 (16:12 +0200)]
Document ParagraphGroup layout tag.

9 years agoMake layout membership to ParagraphGroup settable (see #6854)
Juergen Spitzmueller [Mon, 1 Jun 2015 14:11:05 +0000 (16:11 +0200)]
Make layout membership to ParagraphGroup settable (see #6854)

9 years agoFix remaining preview issue with math macros (#6369)
Juergen Spitzmueller [Mon, 1 Jun 2015 08:29:48 +0000 (10:29 +0200)]
Fix remaining preview issue with math macros (#6369)

9 years agoEmbeddedObjects.lyx: describe the new box features
Uwe Stöhr [Mon, 1 Jun 2015 00:46:59 +0000 (02:46 +0200)]
EmbeddedObjects.lyx: describe the new box features

9 years agoconfigure.py: add another OpenDocument and a Word converter
Uwe Stöhr [Sun, 31 May 2015 18:04:07 +0000 (20:04 +0200)]
configure.py: add another OpenDocument and a Word converter

9 years agoconfigure.py: revert ee5760ef/lyxgit and [78252f1f/lyxgit]
Uwe Stöhr [Sun, 31 May 2015 16:12:41 +0000 (18:12 +0200)]
configure.py: revert ee5760ef/lyxgit and [78252f1f/lyxgit]

9 years agoUserGuide: remove another print residue
Uwe Stöhr [Sun, 31 May 2015 02:08:54 +0000 (04:08 +0200)]
UserGuide: remove another print residue

Japanese and Spanish UserGuide: fix some references/labels

9 years agoUserGuide: remove description of LyX's former printing feature
Uwe Stöhr [Sun, 31 May 2015 01:34:01 +0000 (03:34 +0200)]
UserGuide: remove description of LyX's former printing feature

9 years agoconfigure.py: elyxer is not provided as executable
Uwe Stöhr [Sun, 31 May 2015 01:11:13 +0000 (03:11 +0200)]
configure.py: elyxer is not provided as executable

9 years agoconfigure.py: remove 2 unnecessary entries
Uwe Stöhr [Sun, 31 May 2015 01:06:19 +0000 (03:06 +0200)]
configure.py: remove 2 unnecessary entries

they are double, one entry is sufficient

9 years agoconfigure.py: partly revert previous commit
Uwe Stöhr [Sun, 31 May 2015 01:03:29 +0000 (03:03 +0200)]
configure.py: partly revert previous commit

This should not have gone in.

9 years agoconfigure.py: rename OpenOffice -> OpenDocument
Uwe Stöhr [Sun, 31 May 2015 00:58:44 +0000 (02:58 +0200)]
configure.py: rename OpenOffice -> OpenDocument

these formats are OpenDocument formats OpenOffice is just one of the OpenDocument editors