]> git.lyx.org Git - lyx.git/log
lyx.git
9 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Fri, 22 May 2015 20:03:13 +0000 (22:03 +0200)]
Merge branch 'master' of git.lyx.org:lyx

9 years agotex2lyx/test/test-insets.lyx.lyx: update according the the recent text2lyx fixes
Uwe Stöhr [Fri, 22 May 2015 20:03:02 +0000 (22:03 +0200)]
tex2lyx/test/test-insets.lyx.lyx: update according the the recent text2lyx fixes

9 years agoavoid float-conversion warning and simplify size computation
Stephan Witt [Fri, 22 May 2015 19:53:37 +0000 (21:53 +0200)]
avoid float-conversion warning and simplify size computation

9 years agolayout files: add the new AllowedPlacement
Uwe Stöhr [Fri, 22 May 2015 19:52:59 +0000 (21:52 +0200)]
layout files: add the new AllowedPlacement

9 years agorevtex4-1.layout: uniform spacing
Uwe Stöhr [Fri, 22 May 2015 19:50:48 +0000 (21:50 +0200)]
revtex4-1.layout: uniform spacing

9 years agoChange direction of oxygen editclear icon
Juergen Spitzmueller [Fri, 22 May 2015 17:36:42 +0000 (19:36 +0200)]
Change direction of oxygen editclear icon

Since this is positioned to the right of the line edit,
the arrow needs to point to the left.

9 years agoAdd more Float tags to allow to disable wide and sideways feature
Juergen Spitzmueller [Fri, 22 May 2015 16:59:17 +0000 (18:59 +0200)]
Add more Float tags to allow to disable wide and sideways feature

Fixes: #9557, #9558
This is amended to yesterday's layout format change.

9 years agoCreate proper undo groups for advanced find and replace
Jean-Marc Lasgouttes [Thu, 21 May 2015 14:49:19 +0000 (16:49 +0200)]
Create proper undo groups for advanced find and replace

Create new helper class UndoGroupHelper, which simplifies a lot the
handling of undo groups in cases like this one. The class tracks open
undo buffers and allows to switch buffers transparently.

Using the class for advanced search and replace is trivial. THe class
may be useful in some other classes.

Fixes ticket #8658

9 years agoUse macro LYX_USE_CXX11 in one more location
Jean-Marc Lasgouttes [Fri, 22 May 2015 10:41:30 +0000 (12:41 +0200)]
Use macro LYX_USE_CXX11 in one more location

This is a follow-up to commit 329eae56.

9 years agoIndicate read-only status in tabs (#6783)
Juergen Spitzmueller [Fri, 22 May 2015 08:41:12 +0000 (10:41 +0200)]
Indicate read-only status in tabs (#6783)

9 years agoAdd Float tag to determine allowed positioning options (#7752)
Juergen Spitzmueller [Fri, 22 May 2015 08:37:14 +0000 (10:37 +0200)]
Add Float tag to determine allowed positioning options (#7752)

9 years agostdlayouts.inc, elsarticle.layout: uniform spacing
Uwe Stöhr [Fri, 22 May 2015 00:35:28 +0000 (02:35 +0200)]
stdlayouts.inc, elsarticle.layout: uniform spacing

9 years agotufte-book.layout: uniform whitespace and add some whitespace for a better readability
Uwe Stöhr [Thu, 21 May 2015 22:25:35 +0000 (00:25 +0200)]
tufte-book.layout: uniform whitespace and add some whitespace for a better readability

9 years agopowerdot.layout: use the default floats
Uwe Stöhr [Thu, 21 May 2015 22:10:11 +0000 (00:10 +0200)]
powerdot.layout: use the default floats

according to the powerdot manual it uses the standard floats and indeed, the float deinitions were identic to the ones in stdfloats.inc

- powerdot-example.lyx: add a slide with floats (floats are only possible with the H placement option. (assuring this will be possible with the fix for bug#7752)

9 years agoSmall correction.
Enrico Forestieri [Thu, 21 May 2015 21:32:44 +0000 (23:32 +0200)]
Small correction.

9 years agoAdd note about the new separator inset to RELEASE-NOTES.
Enrico Forestieri [Thu, 21 May 2015 21:22:21 +0000 (23:22 +0200)]
Add note about the new separator inset to RELEASE-NOTES.

9 years agoCorrect the default size of the editclear icon.
Enrico Forestieri [Thu, 21 May 2015 21:08:58 +0000 (23:08 +0200)]
Correct the default size of the editclear icon.

9 years agoDocument the new environment separators.
Enrico Forestieri [Thu, 21 May 2015 18:15:19 +0000 (20:15 +0200)]
Document the new environment separators.

9 years agode.po: fix spelling
Juergen Spitzmueller [Thu, 21 May 2015 17:01:33 +0000 (19:01 +0200)]
de.po: fix spelling

9 years agoCode simplification.
Enrico Forestieri [Thu, 21 May 2015 16:13:42 +0000 (18:13 +0200)]
Code simplification.

9 years agoRevert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"
Scott Kostyshak [Thu, 21 May 2015 12:05:36 +0000 (08:05 -0400)]
Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"

This reverts commit bede4d320bfff26fcbea396b516b92eb9595940c.

As JMarc notes [1], if we replaced show with toggle, we would lose some
functionality:

  There is one use that is not possible with this change (as I argued
  before), which is a fully keyboard-based navigation.

  With LyX 2.1, I can do C-M-o and navigate with cursor in the
  outline. I can do the same with advanced S&R. IN this sense,
  toggling is a step back IMO.

The plan now is to find another way to close the dialog (without
using toggle), such as having ESC close it or another key bind.

Ticket #8388 will stay closed because 'show' and 'toggle' are too
close for the cost of having two separate bindings.

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

9 years agoImprove list of available languages for UI l10n.
Jean-Marc Lasgouttes [Thu, 7 May 2015 15:20:23 +0000 (17:20 +0200)]
Improve list of available languages for UI l10n.

Add a new tag HasGuiSupport to language file. Add it for all l10ns
that we currently ship. The po files that are unused are not currently
tagged as available, but this could be done, since the code later
checks that the translation is actually there.

This new information is used in GuiPrefs when populating the language
combox.

The new scheme implies that adding a new language is now a two-step
process:
* the language code has to be added to po/LINGUAS, as before;
* one of the entries of the lib/language file has to be selected as
  reference and be given the "HasGuiSupport true" property.

9 years agoAuto-fill short title where appropriate
Juergen Spitzmueller [Thu, 21 May 2015 07:12:45 +0000 (09:12 +0200)]
Auto-fill short title where appropriate

Addresses: #4745

9 years agoAdd InsertCotext tag also to InsetLayout argument (part of #4745)
Juergen Spitzmueller [Thu, 21 May 2015 06:53:56 +0000 (08:53 +0200)]
Add InsertCotext tag also to InsetLayout argument (part of #4745)

9 years agotoc bind: 'dialog-show' -> 'dialog-toggle' (#8388)
Scott Kostyshak [Thu, 21 May 2015 04:59:08 +0000 (00:59 -0400)]
toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)

Toggling is more intuitive for this dialog.

9 years agoSet empty pdfborderstyle for hyperref (#7264)
Scott Kostyshak [Thu, 21 May 2015 04:29:35 +0000 (00:29 -0400)]
Set empty pdfborderstyle for hyperref (#7264)

This leads to better compatibility with e.g. arXiv.

As Jürgen notes, it is also possible to override this automatic
empty pdfborderstyle via the Additional Options.

Patch by Julien Rioux.

9 years agoDocument updating tex2lyx tests when using CMake
Scott Kostyshak [Thu, 21 May 2015 04:18:45 +0000 (00:18 -0400)]
Document updating tex2lyx tests when using CMake

Since Kornel's commit at e2d41970, it is now possible to update the
tex2lyx tests with CMake. Note that this is a case where a make
target in the build directory can affect the source directory, which
might not be advisable.

9 years agopdfview.nsi: new version that fixes bug #9512 and some more
Uwe Stöhr [Thu, 21 May 2015 00:19:13 +0000 (02:19 +0200)]
pdfview.nsi: new version that fixes bug #9512 and some more

The general problem is that Acrobat opens PDF files with write access so that PDF files cannot be modified externally by LyX/LaTeX.

The old pdfview used the programs pdfopen and pdfclose to open and close PDF files in Acrobat and it additionally closed and opened the PDF whenever it was changed (to simulate LyX's update button).

Since Acrobat DC (aka Acrobat 15) it is no longer possible to close PDF files in Acrobat. Due to changes in the Acrobat API also the pdfopen program can no longer be used.
Besides this the approach of updating the PDF whenever it changed was always a hack that often killed Acrobat. The reason is that one cannot immediately update the PDF view if the PDF is changed because depending on the size LaTeX needs up to several seconds to generate the PDF. If the PDF is opened while TeX is still creating is one get error messages from Acrobat Acrobat must be restarted - very annoying. During the years I experimented with a wait time to minimize these problems but of course it can never be solved.

The new pdfview version uses a completely different approach:
- it checks if the PDF is opened by Acrobat by reading the window name. If it is found this program windows will be closed. So Acrobat is not ended and other opened PDF files stay opened.
- to update the PDF view from within LyX one has to press the view button, not the update button. Only this way we know that TeX is ready and the PDF can be opened by Acrobat with write permissions.

9 years agopdfview: rename the file to distinguish it from the new version
Uwe Stöhr [Thu, 21 May 2015 00:04:41 +0000 (02:04 +0200)]
pdfview: rename the file to distinguish it from the new version

9 years agotex2lyx/text.cpp: avoid a tex2lyx error message
Uwe Stöhr [Wed, 20 May 2015 20:26:42 +0000 (22:26 +0200)]
tex2lyx/text.cpp: avoid a tex2lyx error message

9 years agotex2lyx/text.cpp: a fix for \fboxcolor around \parbox and minipage
Uwe Stöhr [Wed, 20 May 2015 19:37:14 +0000 (21:37 +0200)]
tex2lyx/text.cpp: a fix for \fboxcolor around \parbox and minipage

9 years agoFix problems with immediate apply and length validators
Juergen Spitzmueller [Wed, 20 May 2015 17:12:23 +0000 (19:12 +0200)]
Fix problems with immediate apply and length validators

Fixes bugs #7022 and #7599.

9 years agoAlso find external material files when the document is moved and origin is known
Enrico Forestieri [Wed, 20 May 2015 14:04:18 +0000 (16:04 +0200)]
Also find external material files when the document is moved and origin is known

9 years agoAvoid compiler warning about overloaded virtual function.
Enrico Forestieri [Wed, 20 May 2015 13:49:15 +0000 (15:49 +0200)]
Avoid compiler warning about overloaded virtual function.

9 years agoRemove bash-only construct from autogen.sh
Jean-Marc Lasgouttes [Wed, 20 May 2015 10:24:16 +0000 (12:24 +0200)]
Remove bash-only construct from autogen.sh

9 years agoPlace the cursor correctly after undoing an inset dissolution
Jean-Marc Lasgouttes [Wed, 20 May 2015 10:09:12 +0000 (12:09 +0200)]
Place the cursor correctly after undoing an inset dissolution

The cleanup in 11ca1406 was not correct. It is actually not possible to implement recordUndoInset from the undo API, since the cursor may not be at a different level than the text to be saved.

Fixes ticket #9553

9 years agoCmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit 329eae5605d.
Kornel Benko [Wed, 20 May 2015 10:07:41 +0000 (12:07 +0200)]
Cmake build: Define LYX_USE_CXX11 iff using c++11 extensions after commit 329eae5605d.

9 years agoUpdate sk.po
Kornel Benko [Tue, 19 May 2015 12:03:32 +0000 (14:03 +0200)]
Update sk.po

9 years agoremove bogus comment
Jean-Marc Lasgouttes [Wed, 20 May 2015 09:24:15 +0000 (11:24 +0200)]
remove bogus comment

There used to be a showCursor call below the command, sometimes between 2002 and 2007.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Wed, 20 May 2015 09:04:10 +0000 (11:04 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Add Qt5Svg for pkgconfig based compile and linker flags setup.

9 years agoUse explicit macro to declare that we want to use C++11
Jean-Marc Lasgouttes [Tue, 19 May 2015 13:10:38 +0000 (15:10 +0200)]
Use explicit macro to declare that we want to use C++11

This replaces tests for __cplusplus >= 201103L, which are wrong with gcc 4.6 and earlier. Indeed these versions of gcc define __cplusplus = 1.

Reference:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773

9 years agoFix LaTeX length export of big numbers, part 2 (bug #9416)
Juergen Spitzmueller [Wed, 20 May 2015 07:35:57 +0000 (09:35 +0200)]
Fix LaTeX length export of big numbers, part 2 (bug #9416)

LaTeX lengths must not use scientific notation, since the + sign has a
different meaning (glue lengths). This is the GUI part of bug 9416,
on top of part 1 [59e4d16ab/lyxgit].

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Wed, 20 May 2015 06:46:26 +0000 (08:46 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Try SVG version of banner with Qt4 too.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Wed, 20 May 2015 05:51:50 +0000 (07:51 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Correctly guard Qt5 code introduced by change c053a9394d1075ecad02ccce2f34c95f08c1f00f

9 years agoIn aqua.bind replace an LFUN with one that exists
Scott Kostyshak [Wed, 20 May 2015 03:31:53 +0000 (23:31 -0400)]
In aqua.bind replace an LFUN with one that exists

'menu-separator-insert' does not exist.
'specialchar-insert menu-separator' does exist.

9 years agobox-color-size-space-align.lyx.lyx: update file
Uwe Stöhr [Tue, 19 May 2015 22:15:03 +0000 (00:15 +0200)]
box-color-size-space-align.lyx.lyx: update file

9 years agotex2lyx/text.cpp: remove an unintended addition
Uwe Stöhr [Tue, 19 May 2015 22:05:12 +0000 (00:05 +0200)]
tex2lyx/text.cpp: remove an unintended addition

9 years agotex2lyx/text.cpp: fixes for \mbox{}
Uwe Stöhr [Tue, 19 May 2015 21:35:56 +0000 (23:35 +0200)]
tex2lyx/text.cpp: fixes for \mbox{}

now all box constructs should be fully supported by tex2lyx

9 years agotex2lyx/text.cpp: remove a now unnecessary hack
Uwe Stöhr [Tue, 19 May 2015 21:25:36 +0000 (23:25 +0200)]
tex2lyx/text.cpp: remove a now unnecessary hack

\framebox{} is equal to \fbox{} and \makebox{} is equal to \mbox{}
When I once wrote this code LyX did not support \fbbox and \mbox and therefore had to use a workaround.

9 years agoThis is supposed to end with a '/'
Enrico Forestieri [Tue, 19 May 2015 21:18:18 +0000 (23:18 +0200)]
This is supposed to end with a '/'

9 years agoPDF-form.lyx: update using the new features of PassThruChars and colored boxes
Uwe Stöhr [Tue, 19 May 2015 21:09:21 +0000 (23:09 +0200)]
PDF-form.lyx: update using the new features of PassThruChars and colored boxes

9 years agopo: Fix wrong parameter placeholder in fi.po
Vincent van Ravesteijn [Tue, 19 May 2015 20:44:01 +0000 (22:44 +0200)]
po: Fix wrong parameter placeholder in fi.po

9 years agopo: Fix EOL of fi.po
Vincent van Ravesteijn [Tue, 19 May 2015 20:40:57 +0000 (22:40 +0200)]
po: Fix EOL of fi.po

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Tue, 19 May 2015 20:46:06 +0000 (22:46 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Improved icon and pixmap handling with SVG images and high physical resolution displays.
This results in much better looking icons and splash banner.

9 years agoAdd Qt's Svg module to the list of used modules. This is required to allow the use...
Stephan Witt [Tue, 19 May 2015 06:11:01 +0000 (08:11 +0200)]
Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

9 years agoUse the xcb definition for the primary selection atom.
Enrico Forestieri [Tue, 19 May 2015 19:19:49 +0000 (21:19 +0200)]
Use the xcb definition for the primary selection atom.

9 years agoFix default style of broadway layout.
Pavel Sanda [Tue, 19 May 2015 17:37:02 +0000 (10:37 -0700)]
Fix default style of broadway layout.

Thanks Richard.

9 years agoGuiAbout: enforce a reasonable width (show all tabs)
Juergen Spitzmueller [Tue, 19 May 2015 13:08:59 +0000 (15:08 +0200)]
GuiAbout: enforce a reasonable width (show all tabs)

9 years agoCmake tests: cheating check_layout to accept module files as layouts
Kornel Benko [Tue, 19 May 2015 11:42:33 +0000 (13:42 +0200)]
Cmake tests: cheating check_layout to accept module files as layouts

9 years agoComplilation fix.
Juergen Spitzmueller [Tue, 19 May 2015 10:56:31 +0000 (12:56 +0200)]
Complilation fix.

This time without unwandted po stuff.

9 years agoRevert "Complilation fix."
Juergen Spitzmueller [Tue, 19 May 2015 10:52:19 +0000 (12:52 +0200)]
Revert "Complilation fix."

This reverts commit abf8208679630d194f610b48f86759dd0ff9c6ca.

I'll properly re-commit in a minute.

9 years agoGuiAbout: minor ui fix
Juergen Spitzmueller [Tue, 19 May 2015 10:43:44 +0000 (12:43 +0200)]
GuiAbout: minor ui fix

9 years agoComplilation fix.
Juergen Spitzmueller [Tue, 19 May 2015 10:37:45 +0000 (12:37 +0200)]
Complilation fix.

9 years agode.po
Juergen Spitzmueller [Tue, 19 May 2015 08:32:26 +0000 (10:32 +0200)]
de.po

9 years agoRestore minimal RELEASE-NOTES file in top dir, which points to the real one.
Juergen Spitzmueller [Tue, 19 May 2015 08:23:12 +0000 (10:23 +0200)]
Restore minimal RELEASE-NOTES file in top dir, which points to the real one.

9 years agoDemonstrate that it is now possible to use tabs in Requires.
Juergen Spitzmueller [Tue, 19 May 2015 08:18:17 +0000 (10:18 +0200)]
Demonstrate that it is now possible to use tabs in Requires.

9 years agoUse trimmed string in [Inset]Layout Requires.
Juergen Spitzmueller [Tue, 19 May 2015 08:17:34 +0000 (10:17 +0200)]
Use trimmed string in [Inset]Layout Requires.

Fixes: #9518
9 years agoProvide optional trimmed version of Lexer::getString and getDocString
Juergen Spitzmueller [Tue, 19 May 2015 08:15:34 +0000 (10:15 +0200)]
Provide optional trimmed version of Lexer::getString and getDocString

Prerequisite to fix #9518

9 years agoMake RELEASE-NOTES accessible from GUI (#8616)
Juergen Spitzmueller [Tue, 19 May 2015 07:57:52 +0000 (09:57 +0200)]
Make RELEASE-NOTES accessible from GUI (#8616)

CMake people, please check if something needs to be done to install
lib/RELEASE-NOTES.

9 years agolinguistics.lyx: document how to insert footnotes in glosses.
Juergen Spitzmueller [Tue, 19 May 2015 07:42:56 +0000 (09:42 +0200)]
linguistics.lyx: document how to insert footnotes in glosses.

9 years agotex2lyx/text.cpp: set correct alignment for \makebox{test}
Uwe Stöhr [Tue, 19 May 2015 01:25:55 +0000 (03:25 +0200)]
tex2lyx/text.cpp: set correct alignment for \makebox{test}

also fix an indentation error

9 years agotex2lyx/text.cpp: coding style improvements and code simplification
Uwe Stöhr [Tue, 19 May 2015 01:03:35 +0000 (03:03 +0200)]
tex2lyx/text.cpp: coding style improvements and code simplification

9 years agotex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit]
Uwe Stöhr [Tue, 19 May 2015 00:29:16 +0000 (02:29 +0200)]
tex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit]

9 years agotex2lyx/text.cpp: add support for box alignment
Uwe Stöhr [Tue, 19 May 2015 00:19:24 +0000 (02:19 +0200)]
tex2lyx/text.cpp: add support for box alignment

the nasty hack with the FIXME is due to bug #9552

9 years agotex2lyx/text.cpp: code simplification
Uwe Stöhr [Mon, 18 May 2015 22:24:13 +0000 (00:24 +0200)]
tex2lyx/text.cpp: code simplification

9 years agotex2lyx/Preamble.cpp: forgot a package in previous commit
Uwe Stöhr [Mon, 18 May 2015 22:21:12 +0000 (00:21 +0200)]
tex2lyx/Preamble.cpp: forgot a package in previous commit

9 years agotex2lyx: register required packages for boxes
Uwe Stöhr [Mon, 18 May 2015 22:17:08 +0000 (00:17 +0200)]
tex2lyx: register required packages for boxes

9 years agotex2lyx/text.cpp: support for \fcolorbox
Uwe Stöhr [Mon, 18 May 2015 22:04:45 +0000 (00:04 +0200)]
tex2lyx/text.cpp: support for \fcolorbox

and a fix also for \colorbox

9 years agotex2lyx/text.cpp: fix handling of \fbox
Uwe Stöhr [Mon, 18 May 2015 21:45:27 +0000 (23:45 +0200)]
tex2lyx/text.cpp: fix handling of \fbox

since a while now lyX supports inner boxes in \fbox, tex2lyx was outdated in this case

9 years agolyx2lyx/lyx_2_2.py: remove a hack
Uwe Stöhr [Mon, 18 May 2015 20:36:29 +0000 (22:36 +0200)]
lyx2lyx/lyx_2_2.py: remove a hack

thanks Richard "hack" ;-) for the hint

9 years agoGuiBox: remove unneeded connection and use a more senible signal
Juergen Spitzmueller [Mon, 18 May 2015 11:13:04 +0000 (13:13 +0200)]
GuiBox: remove unneeded connection and use a more senible signal

9 years agoGuiBox: do not rely on count (as explained on lyx-devel)
Juergen Spitzmueller [Mon, 18 May 2015 11:12:26 +0000 (13:12 +0200)]
GuiBox: do not rely on count (as explained on lyx-devel)

9 years agoGuiBox: sort colors
Juergen Spitzmueller [Mon, 18 May 2015 11:11:34 +0000 (13:11 +0200)]
GuiBox: sort colors

9 years agoGuiBox: remove none from the static color list
Juergen Spitzmueller [Mon, 18 May 2015 11:10:32 +0000 (13:10 +0200)]
GuiBox: remove none from the static color list

It is not used anyway and it prevents sorting.

9 years agoGuiBox: assure combo boxes are empty before filling
Juergen Spitzmueller [Mon, 18 May 2015 11:09:07 +0000 (13:09 +0200)]
GuiBox: assure combo boxes are empty before filling

9 years agoGuiBox: swap filling of color combos
Juergen Spitzmueller [Mon, 18 May 2015 11:07:00 +0000 (13:07 +0200)]
GuiBox: swap filling of color combos

9 years agoGuiBox: simplification
Juergen Spitzmueller [Mon, 18 May 2015 11:05:28 +0000 (13:05 +0200)]
GuiBox: simplification

9 years agoisReadable can only be used after the file has been opened
Juergen Spitzmueller [Mon, 18 May 2015 09:15:11 +0000 (11:15 +0200)]
isReadable can only be used after the file has been opened

9 years agoRe-defactor ColorSorter.
Juergen Spitzmueller [Mon, 18 May 2015 09:11:45 +0000 (11:11 +0200)]
Re-defactor ColorSorter.

This hopefully cures Richard's compilation woes.

9 years agotex2lyx/text.cpp: support for lengths like "2.5\width" in boxes
Uwe Stöhr [Sun, 17 May 2015 23:37:59 +0000 (01:37 +0200)]
tex2lyx/text.cpp: support for lengths like "2.5\width" in boxes

LyX supports these length in boxes for a while now; tex2lyx was not up to date

9 years agotex2lyx/TODO.txt: add a feature that is not yet supported
Uwe Stöhr [Sun, 17 May 2015 23:00:25 +0000 (01:00 +0200)]
tex2lyx/TODO.txt: add a feature that is not yet supported

9 years agotex2lyx/text.cpp: support for the commands \fboxsep etc.
Uwe Stöhr [Sun, 17 May 2015 22:56:23 +0000 (00:56 +0200)]
tex2lyx/text.cpp: support for the commands \fboxsep etc.

It is impossible handle all cases because the closing brace of an \fboxsep block can be everywhere. Therefore the braces remain in ERT.

9 years agoInsetBox.cpp: add visual feedback for frame color
Uwe Stöhr [Sun, 17 May 2015 21:20:43 +0000 (23:20 +0200)]
InsetBox.cpp: add visual feedback for frame color

- the idea is to color the box inset frame according to the fame color of the box (if there is any). To keep the WYSIWYM principle the frame thickness and box separation are not taken into account. However this should be possible if anybody would like that.

- besides this, use the correct conversion command for the background color

9 years agoFix bug #9544: Mark file clean after we write it.
Richard Heck [Sun, 17 May 2015 20:11:39 +0000 (16:11 -0400)]
Fix bug #9544: Mark file clean after we write it.

9 years agotex2lyx/text.cpp: set correct default horizontal position for \framebox
Uwe Stöhr [Sun, 17 May 2015 19:59:29 +0000 (21:59 +0200)]
tex2lyx/text.cpp: set correct default horizontal position for \framebox

9 years agode.po: do not try to translate 'teal'. It is a standardized color name, also common...
Juergen Spitzmueller [Sun, 17 May 2015 17:56:32 +0000 (19:56 +0200)]
de.po: do not try to translate 'teal'. It is a standardized color name, also common in German

9 years agoUpdate it.po
Enrico Forestieri [Sun, 17 May 2015 16:12:07 +0000 (18:12 +0200)]
Update it.po

9 years agotex2lyx/text.cpp: a fix for the horizontal box position
Uwe Stöhr [Sun, 17 May 2015 16:12:20 +0000 (18:12 +0200)]
tex2lyx/text.cpp: a fix for the horizontal box position

 - if nothing is specified, the box content is left aligned, except for \makebox where it is centered

9 years agoTake into account the file system encoding.
Enrico Forestieri [Sun, 17 May 2015 16:02:47 +0000 (18:02 +0200)]
Take into account the file system encoding.

9 years agotex2lyx/text.cpp: fix an indentation mistake
Uwe Stöhr [Sun, 17 May 2015 15:45:56 +0000 (17:45 +0200)]
tex2lyx/text.cpp: fix an indentation mistake