Note to self: `!' is not the complement-to-one operator...
This allows me to revert a 3 years old commit from Juergen that I never
managed to understand before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24943 a592a061-630c-0410-9148-cb99ea01b6c8
(but use a table-based solution instead of the old code).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24886 a592a061-630c-0410-9148-cb99ea01b6c8
- fix regex so that brackets in the filter name itself
(such as in "LaTeX (plain)") are handled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24829 a592a061-630c-0410-9148-cb99ea01b6c8
- update copyright date. For 1.5.5, this change came too late (for i18n).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24724 a592a061-630c-0410-9148-cb99ea01b6c8
* Context.cpp (begin_layout): make it a (private) method, and output
the extra stuff here.
(add_par_extra_stuff): this is used for stuff that is only for next
paragraph (like extra_stuff used to be); add_extra_stuff is now for
code that is output for all paragraphs in the context.
* text.cpp: update to new Context methods. Every user of add_extra_stuff
uses add_par_extra_stuff, except alignment (which has to be repeated
to fix bug 4806).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24698 a592a061-630c-0410-9148-cb99ea01b6c8
- fix rest of bug 518. Part of this fix was already (accidentally) committed by Uwe in r24667.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24689 a592a061-630c-0410-9148-cb99ea01b6c8
- fix an off by one error in the font size handling, fixes bug 4803
- support \lyxline, fixes bug 4795
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24519 a592a061-630c-0410-9148-cb99ea01b6c8
I introduced this accidentally with the fix for bug 4773.
Not taking care of setspace doesn't harm. But at the moment setspace would be erased from the preamble and only readded by LyX when the user uses global line spacing settings. But when the user only uses paragraph spacing settings, it won't be readded and the document will become uncompilable. So this commit prevents a regression that can first be undone when bug 20 is fixed. (I have a fix for bug 20 in the pipe.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24508 a592a061-630c-0410-9148-cb99ea01b6c8
- make the man page a bit less outdated (bug 2770).
note that the page isn't really up to date yet. I didn't check anything thoroughly (especially the "what's supported" and "what's not supported" part). Uwe, maybe a job for you, as you are most familiar with it nowadays.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24387 a592a061-630c-0410-9148-cb99ea01b6c8
fix the import of \makebox, fixes http://bugzilla.lyx.org/show_bug.cgi?id=2504 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24281 a592a061-630c-0410-9148-cb99ea01b6c8
- use niceInsert for single-cell insets (fix rest of bug 4720)
No status.15x entry needed (this was a new bug)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24251 a592a061-630c-0410-9148-cb99ea01b6c8
- Fix an assertion with compressed image files
that do not have a zip-extension.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24166 a592a061-630c-0410-9148-cb99ea01b6c8
URL: http://www.lyx.org/trac/changeset/23804
Log:
* another try on http://bugzilla.lyx.org/show_bug.cgi?id=4566:
"Eqnarray multiple cells size change erases what they contain"
We also apply LFUN_MATH_INSERT to every selected cell if a single math inset is inserted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24085 a592a061-630c-0410-9148-cb99ea01b6c8
- disallow non-Note notes inside commands (sections etc.)
This fixes bug 4180 partially (the change is still possible via the dialog).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23919 a592a061-630c-0410-9148-cb99ea01b6c8
URL: http://www.lyx.org/trac/changeset/23673
Log:
* fix for http://bugzilla.lyx.org/show_bug.cgi?id=4566
"Eqnarray multiple cells size change erases what they contain"
We now loop over the selected cells and change the font in each of them.
Note that the bug still applies if a font change is done via the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23789 a592a061-630c-0410-9148-cb99ea01b6c8
Author: sts
Date: Sat Mar 15 12:40:04 2008
New Revision: 23762
URL: http://www.lyx.org/trac/changeset/23762
Log:
* make forward deletion of formula labels/numbers more intuitive:
** We show (Eq:bla,#) for labeled formulas
** The first forward delete removes the label
** The second forward delete removes the number
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=2556
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23765 a592a061-630c-0410-9148-cb99ea01b6c8
URL: http://www.lyx.org/trac/changeset/23643
Log:
* also forward delete numbering in math hull
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23712 a592a061-630c-0410-9148-cb99ea01b6c8
- do not output \color{ignore} (bug 4091).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23689 a592a061-630c-0410-9148-cb99ea01b6c8
- further improve the behaviour when inserting a collapsable inset
over a multi-paragraph selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23534 a592a061-630c-0410-9148-cb99ea01b6c8
- Improve the behaviour when inserting a collapsable inset
over a multi-paragraph selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23511 a592a061-630c-0410-9148-cb99ea01b6c8
is cut is completely erased, remove it regardless of its layout (fixes
bug 3995).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23430 a592a061-630c-0410-9148-cb99ea01b6c8
- Fix a crash when pressing "page up" while the cursor is in an empty
paragraph (bug 4570); patch by Jean-Marc, slightly extended by advice of Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23160 a592a061-630c-0410-9148-cb99ea01b6c8
- the status bar message on mouse hovering triggered a crash
when a math inset was embedded in a char style inset (bug 4559)
Until a better solution is found, the message is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23055 a592a061-630c-0410-9148-cb99ea01b6c8
* src/frontends/qt4/QDocument.cpp:
- disallow input of defskip length without actual length value.
* src/BufferParams.cpp (readToken):
- there might be documents with the invalif "\defskip defskip" param. Reset this to "\defskip medskip".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23023 a592a061-630c-0410-9148-cb99ea01b6c8
Author: younes
Date: Wed Feb 13 15:16:51 2008
New Revision: 22979
URL: http://www.lyx.org/trac/changeset/22979
Log:
Fix crash when deleting outlined insets while the outline panel is open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@23001 a592a061-630c-0410-9148-cb99ea01b6c8
- set correct list (bug 4260).
Sorry to violate my own rule, but this bug is so annoying, and the fix is straightforward (and the freeze is still young ;-).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22962 a592a061-630c-0410-9148-cb99ea01b6c8
(the manuals have already been updated two days ago)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22895 a592a061-630c-0410-9148-cb99ea01b6c8
URL: http://www.lyx.org/trac/changeset/22864
Log:
* clear selection when mutating a math inset into an eqnarray. This fixes#4452.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22865 a592a061-630c-0410-9148-cb99ea01b6c8
- add tipx to simplefeatures. Tipx is a subpackage of tipa.
* lib/unicodesymbols:
- correct some glyphs, which are included in tipx, not tipa.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22772 a592a061-630c-0410-9148-cb99ea01b6c8
(no status.15x entry needed, bug was introduced in the 1.5.4 cycle)
* src/output_latex.{cpp,h}:
- (latexParagraphs, TeXEnvironment, TeXOnePar, TeXDeeper): pass Text element
instead of ParagraphList. This is necessary to detect whether we are in the main text.
- check if we are in the main text for language switches, if needed.
* src/Buffer.cpp:
* src/insets/InsetEnvironment.cpp:
* src/insets/InsetText.cpp:
* src/mathed/InsetMathMBox.cpp:
- adapt to new latexParagraphs definition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22667 a592a061-630c-0410-9148-cb99ea01b6c8
- (paperSizeName): add missing paper sizes. Add an argument to the function
that returns context-sensitive information (depending on the purpose)
- (paperSizeName): Do not hardcode "letter" for default paper size (bug 2098).
- (dvips_options): pass purpose DVIPS to paperSizeName
* src/Converter.cpp:
- (dvipdfm_options): pass purpose DVIPDFM to paperSizeName.
* src/Format.cpp:
- (view): pass purpose XDVI to paperSizeName (fix bug 4432).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22665 a592a061-630c-0410-9148-cb99ea01b6c8
- do a second latex run before bibtex if package clefval requests it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22613 a592a061-630c-0410-9148-cb99ea01b6c8
- do not update dialog when clicking in the main window without buffer change
(bug 4302).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22584 a592a061-630c-0410-9148-cb99ea01b6c8
directing to use memoir's capitalized latex macros.
* src/LaTeXFeatures.cpp (getPackages): act on feature "SetSpace".
* src/output_latex.cpp (TeXOnePar): ditto
* lib/layouts/memoir.layout: provide feature SetSpace, indicating that
memoir provides the setspace functionality, but with a different syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22552 a592a061-630c-0410-9148-cb99ea01b6c8
- the package "pdfcolmk" must be loaded after [x]color.sty
(see package documentation).
- load xcolor.sty the same way than color.sty, and only load one of them
(xcolor, if requested, else color).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22549 a592a061-630c-0410-9148-cb99ea01b6c8
because in Qt 4.2 the current item has not been updated yet when
itemSelectionChanged() is emitted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22547 a592a061-630c-0410-9148-cb99ea01b6c8