Commit Graph

15061 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
877808064d Backport http://www.lyx.org/trac/changeset/28814
New commands inset-begin/end (bound to Ctrl-Alt-Home/End) allow to jump 
  to begin/end of insets (and outside of the inset if the cursor is already 
  in place). There are also versions that select text.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:47:01 +00:00
Jürgen Spitzmüller
b498fa1b05 * Paragraph.cpp:
- we do not output alignment begin for the default alignment,
	  so we must not output the end tag (bug 5995)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 06:52:59 +00:00
Pavel Sanda
e0c5df56a6 backport r30144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 22:07:32 +00:00
Enrico Forestieri
943eb2a6f1 Reintroduce workaround for dealing with nested math hulls, as it is
not guaranteed that LyX is always able to replace $...$ constructs
with \ensuremath{...}.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 17:36:41 +00:00
Uwe Stöhr
d904fb9cb1 branch: tex2lyx: support for fileformat 257 (caption format)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:21:45 +00:00
Uwe Stöhr
26f483affa branch: tex2lyx: forgot this in r30114
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:19:25 +00:00
Uwe Stöhr
9ab9f1c747 branch: tex2lyx/preamble.cpp: support for fileformat 256 tex2lyx/preamble.cpp: support for fileformat 256:
- the code for \clear***page was already there
- tex2lyx allows already to use any input encoding


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:15:15 +00:00
Uwe Stöhr
8cff18e1c1 branch: tex2lyx/preamble.cpp:
- support for fileformat 254 (esint)
- using amsmath and esint automatically is safer than not to use them. The automatic usage is also our default when you create a new LyX file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30118 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:11:39 +00:00
Uwe Stöhr
8c512db1a9 branch: tex2lyx: support for fileformat 253 (nomenclature)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30117 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:08:35 +00:00
Uwe Stöhr
14c40d8d16 branch: tex2lyx/preamble.cpp: textcomp is supported sine we can handle Unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30116 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:07:45 +00:00
Uwe Stöhr
3134d0881c branch: tex2lyx/preamble.cpp: revert stuff to have a clean commit timeline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:06:30 +00:00
Uwe Stöhr
353f3f8cdd branch: tex2lyx/text.cpp: support for fileformat 252
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:00:48 +00:00
Uwe Stöhr
2cd66e4536 branch: tex2lyx/preamble.cpp: improve whitespace handling in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 19:53:37 +00:00
Pavel Sanda
373f3d8f7d Backport fix for bug #6000
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 15:55:53 +00:00
Jean-Marc Lasgouttes
44f0cd4dca backport http://www.lyx.org/trac/changeset/30107
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 12:18:18 +00:00
Jürgen Spitzmüller
23345956ef * BiblioInfo.cpp:
- convert author/editor to proper unicode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:34:44 +00:00
Enrico Forestieri
a676d02970 Fix display of BibTeX entries in the info field of the citation
dialog by only converting text mode latex macros to unicode points.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30071 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:22:51 +00:00
Uwe Stöhr
8673417a51 tex2lyx/preamble.cpp:
- support for url, varioref, prettyref
- reduce the sometimes huge amount of whitespace in the preamble after importing files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30068 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 11:58:41 +00:00
Uwe Stöhr
2040fc69df GuiCitation.cpp: fix #5987 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 11:34:32 +00:00
Jean-Marc Lasgouttes
3c6e023f62 Show binding associated to the lfun in the tooltip of a toolbar icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30040 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-10 14:03:55 +00:00
Enrico Forestieri
8d21593429 The QFileInfo::refresh() bug is fixed in Qt 4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-10 11:34:28 +00:00
Pavel Sanda
f89bd3fe91 Backport fix for 5980.
Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30025 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 06:53:51 +00:00
Jürgen Spitzmüller
b7304601e0 backport revision 29238
URL: http://www.lyx.org/trac/changeset/29238

Log:
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
   from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 16:04:11 +00:00
Jürgen Spitzmüller
8262926d58 * ToggleWarningUi.ui:
- attempt to fix the layout.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30018 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 13:24:19 +00:00
Jürgen Spitzmüller
ef31f02ca5 backport rev. 29324:
Timestamp: 
04/19/09 13:57:52
Author: 
spitz 
Message: 
Implement a warning dialog with a "Do not show this warning again!" checkbox.
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.

The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 05:06:17 +00:00
Enrico Forestieri
dc3abde38e Take into account file system case sensitivity when checking whether
a path starts with a given prefix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29940 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 18:56:22 +00:00
Richard Heck
255b1e9d91 Word-wrapping for footnotes. Backports some earlier commits to trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 13:04:51 +00:00
Enrico Forestieri
0c30476127 This is a bit more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29865 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 10:27:04 +00:00
Enrico Forestieri
27b0a1e35a Don try to be smart and always protect the preamble with \makeatletter
and \makeatother if it is not empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29854 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 18:07:27 +00:00
Uwe Stöhr
10ce509814 InsetMathFrac.cpp: fix the regression now completely
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29850 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:48:59 +00:00
Uwe Stöhr
c517d8c16d InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:42:53 +00:00
Enrico Forestieri
3f5f4266a3 Fix reverse search when the View Source window is active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29835 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 09:03:03 +00:00
Pavel Sanda
312f2f9bc5 Backport #5307.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:43:27 +00:00
Vincent van Ravesteijn
db96572421 branch: Fix bug #5540: Crash in MathAtom on Undo.
No undo steps are recorded for math-macros. Now, it is also not done when we resume to edit a macro.

see r29685.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29765 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 13:52:33 +00:00
Pavel Sanda
47c83e2fec Backport few glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29749 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 18:39:39 +00:00
Enrico Forestieri
533273ed5d Fix bug #1435. Now Ctrl-m enters math mode when in text-in-math mode,
instead of producing nested text boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29748 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 15:35:49 +00:00
Enrico Forestieri
5c692aeef2 Another compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29742 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:30:43 +00:00
Jürgen Spitzmüller
091d4e58e3 * potential compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:00:27 +00:00
Jürgen Spitzmüller
f720a43314 * calculate the size of the iconv output buffer (bug 5951).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 15:28:27 +00:00
Jürgen Spitzmüller
647e492ac9 * InsetTabular.cpp (getStatus):
- allow again to set allocate multiple header attributes to a row,
	  since this is valid (fix bug 5950).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 06:25:43 +00:00
Jürgen Spitzmüller
a0cf405633 formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:27:21 +00:00
Jürgen Spitzmüller
c726acdfc4 only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:03:57 +00:00
Jürgen Spitzmüller
9cd46c3d32 * InsetCollapsable.cpp (doDispatch):
- reset paragraph fonts also after LFUN_SELECTION_PASTE.
          This assures lang is set to latex in ERTs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29691 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:43:06 +00:00
Vincent van Ravesteijn
7859191dd7 branch: Partial fix for bug #5465. This will enable scrolling down past a very large inset. With this code, LyX will scroll up everytime you try to scroll past the inset, because the cursor is set on the uppermost row.
see:
http://thread.gmane.org/gmane.editors.lyx.devel/118449


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29684 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:27:28 +00:00
Vincent van Ravesteijn
976347a2f3 Fix the assert on Windows when starting LyX by double-clicking on a file. Do the same also for FileName::set.
see r29646--r29648.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29671 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 18:01:10 +00:00
Vincent van Ravesteijn
a96090060d branch: Fix bug #5888.
See r29665 and http://thread.gmane.org/gmane.editors.lyx.devel/116562.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29670 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 17:56:36 +00:00
Jean-Marc Lasgouttes
c3cb9d0122 backport fix for tex2lyx bug http://www.lyx.org/trac/ticket/5935
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:56:02 +00:00
Vincent van Ravesteijn
35229a994e branch: Prevent assertions due to non-absolute filename as a parameter of buffer-switch or file-insert-plaintext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29644 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:42:56 +00:00
Enrico Forestieri
4d613ca34c Don't create nested math hulls (fixes bug #5392) and remove workaround
needed to deal with such nesting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 14:32:00 +00:00
Enrico Forestieri
8baf858a80 Fix bug in FileName::dirList(). If the directory had been specified without a
trailing slash, the listing of the parent directory would have been returned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29609 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 14:17:57 +00:00