]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Sat, 23 May 2015 01:11:07 +0000 (03:11 +0200)]
algorithm2e.module: use the new layout tags for floats
Uwe Stöhr [Sat, 23 May 2015 01:05:24 +0000 (03:05 +0200)]
sciposter.layout: use the new layout tags for floats
Uwe Stöhr [Sat, 23 May 2015 00:48:34 +0000 (02:48 +0200)]
tufte-book.layout: use the new layout tags for floats
Uwe Stöhr [Sat, 23 May 2015 00:44:45 +0000 (02:44 +0200)]
achemso.layout: use the new layout tags for floats
Uwe Stöhr [Sat, 23 May 2015 00:42:40 +0000 (02:42 +0200)]
powerdot.layout: use the new layout tags for floats
Uwe Stöhr [Sat, 23 May 2015 00:22:49 +0000 (02:22 +0200)]
revtex4-1.layout: use the new layout tags for floats
Uwe Stöhr [Fri, 22 May 2015 23:51:37 +0000 (01:51 +0200)]
achemso.layout: uniform whitespace
Stephan Witt [Fri, 22 May 2015 20:04:10 +0000 (22:04 +0200)]
fix whitespace issue
Uwe Stöhr [Fri, 22 May 2015 20:03:13 +0000 (22:03 +0200)]
Merge branch 'master' of git.lyx.org:lyx
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
Stephan Witt [Fri, 22 May 2015 19:53:37 +0000 (21:53 +0200)]
avoid float-conversion warning and simplify size computation
Uwe Stöhr [Fri, 22 May 2015 19:52:59 +0000 (21:52 +0200)]
layout files: add the new AllowedPlacement
Uwe Stöhr [Fri, 22 May 2015 19:50:48 +0000 (21:50 +0200)]
revtex4-1.layout: uniform spacing
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.
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.
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
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 .
Juergen Spitzmueller [Fri, 22 May 2015 08:41:12 +0000 (10:41 +0200)]
Indicate read-only status in tabs (#6783)
Juergen Spitzmueller [Fri, 22 May 2015 08:37:14 +0000 (10:37 +0200)]
Add Float tag to determine allowed positioning options (#7752)
Uwe Stöhr [Fri, 22 May 2015 00:35:28 +0000 (02:35 +0200)]
stdlayouts.inc, elsarticle.layout: uniform spacing
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
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)
Enrico Forestieri [Thu, 21 May 2015 21:32:44 +0000 (23:32 +0200)]
Small correction.
Enrico Forestieri [Thu, 21 May 2015 21:22:21 +0000 (23:22 +0200)]
Add note about the new separator inset to RELEASE-NOTES.
Enrico Forestieri [Thu, 21 May 2015 21:08:58 +0000 (23:08 +0200)]
Correct the default size of the editclear icon.
Enrico Forestieri [Thu, 21 May 2015 18:15:19 +0000 (20:15 +0200)]
Document the new environment separators.
Juergen Spitzmueller [Thu, 21 May 2015 17:01:33 +0000 (19:01 +0200)]
de.po: fix spelling
Enrico Forestieri [Thu, 21 May 2015 16:13:42 +0000 (18:13 +0200)]
Code simplification.
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
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.
Juergen Spitzmueller [Thu, 21 May 2015 07:12:45 +0000 (09:12 +0200)]
Auto-fill short title where appropriate
Addresses: #4745
Juergen Spitzmueller [Thu, 21 May 2015 06:53:56 +0000 (08:53 +0200)]
Add InsertCotext tag also to InsetLayout argument (part of #4745)
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.
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.
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.
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.
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
Uwe Stöhr [Wed, 20 May 2015 20:26:42 +0000 (22:26 +0200)]
tex2lyx/text.cpp: avoid a tex2lyx error message
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
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.
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
Enrico Forestieri [Wed, 20 May 2015 13:49:15 +0000 (15:49 +0200)]
Avoid compiler warning about overloaded virtual function.
Jean-Marc Lasgouttes [Wed, 20 May 2015 10:24:16 +0000 (12:24 +0200)]
Remove bash-only construct from autogen.sh
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
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 .
Kornel Benko [Tue, 19 May 2015 12:03:32 +0000 (14:03 +0200)]
Update sk.po
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.
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.
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
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].
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.
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
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.
Uwe Stöhr [Tue, 19 May 2015 22:15:03 +0000 (00:15 +0200)]
box-color-size-space-align.lyx.lyx: update file
Uwe Stöhr [Tue, 19 May 2015 22:05:12 +0000 (00:05 +0200)]
tex2lyx/text.cpp: remove an unintended addition
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
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.
Enrico Forestieri [Tue, 19 May 2015 21:18:18 +0000 (23:18 +0200)]
This is supposed to end with a '/'
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
Vincent van Ravesteijn [Tue, 19 May 2015 20:44:01 +0000 (22:44 +0200)]
po: Fix wrong parameter placeholder in fi.po
Vincent van Ravesteijn [Tue, 19 May 2015 20:40:57 +0000 (22:40 +0200)]
po: Fix EOL of fi.po
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.
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.
Enrico Forestieri [Tue, 19 May 2015 19:19:49 +0000 (21:19 +0200)]
Use the xcb definition for the primary selection atom.
Pavel Sanda [Tue, 19 May 2015 17:37:02 +0000 (10:37 -0700)]
Fix default style of broadway layout.
Thanks Richard.
Juergen Spitzmueller [Tue, 19 May 2015 13:08:59 +0000 (15:08 +0200)]
GuiAbout: enforce a reasonable width (show all tabs)
Kornel Benko [Tue, 19 May 2015 11:42:33 +0000 (13:42 +0200)]
Cmake tests: cheating check_layout to accept module files as layouts
Juergen Spitzmueller [Tue, 19 May 2015 10:56:31 +0000 (12:56 +0200)]
Complilation fix.
This time without unwandted po stuff.
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.
Juergen Spitzmueller [Tue, 19 May 2015 10:43:44 +0000 (12:43 +0200)]
GuiAbout: minor ui fix
Juergen Spitzmueller [Tue, 19 May 2015 10:37:45 +0000 (12:37 +0200)]
Complilation fix.
Juergen Spitzmueller [Tue, 19 May 2015 08:32:26 +0000 (10:32 +0200)]
de.po
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.
Juergen Spitzmueller [Tue, 19 May 2015 08:18:17 +0000 (10:18 +0200)]
Demonstrate that it is now possible to use tabs in Requires.
Juergen Spitzmueller [Tue, 19 May 2015 08:17:34 +0000 (10:17 +0200)]
Use trimmed string in [Inset]Layout Requires.
Fixes: #9518
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
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.
Juergen Spitzmueller [Tue, 19 May 2015 07:42:56 +0000 (09:42 +0200)]
linguistics.lyx: document how to insert footnotes in glosses.
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
Uwe Stöhr [Tue, 19 May 2015 01:03:35 +0000 (03:03 +0200)]
tex2lyx/text.cpp: coding style improvements and code simplification
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]
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
Uwe Stöhr [Mon, 18 May 2015 22:24:13 +0000 (00:24 +0200)]
tex2lyx/text.cpp: code simplification
Uwe Stöhr [Mon, 18 May 2015 22:21:12 +0000 (00:21 +0200)]
tex2lyx/Preamble.cpp: forgot a package in previous commit
Uwe Stöhr [Mon, 18 May 2015 22:17:08 +0000 (00:17 +0200)]
tex2lyx: register required packages for boxes
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
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
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
Juergen Spitzmueller [Mon, 18 May 2015 11:13:04 +0000 (13:13 +0200)]
GuiBox: remove unneeded connection and use a more senible signal
Juergen Spitzmueller [Mon, 18 May 2015 11:12:26 +0000 (13:12 +0200)]
GuiBox: do not rely on count (as explained on lyx-devel)
Juergen Spitzmueller [Mon, 18 May 2015 11:11:34 +0000 (13:11 +0200)]
GuiBox: sort colors
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.
Juergen Spitzmueller [Mon, 18 May 2015 11:09:07 +0000 (13:09 +0200)]
GuiBox: assure combo boxes are empty before filling
Juergen Spitzmueller [Mon, 18 May 2015 11:07:00 +0000 (13:07 +0200)]
GuiBox: swap filling of color combos
Juergen Spitzmueller [Mon, 18 May 2015 11:05:28 +0000 (13:05 +0200)]
GuiBox: simplification
Juergen Spitzmueller [Mon, 18 May 2015 09:15:11 +0000 (11:15 +0200)]
isReadable can only be used after the file has been opened
Juergen Spitzmueller [Mon, 18 May 2015 09:11:45 +0000 (11:11 +0200)]
Re-defactor ColorSorter.
This hopefully cures Richard's compilation woes.
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
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
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.