Commit Graph

645 Commits

Author SHA1 Message Date
Richard Heck
a8eddf61d6 Minor status.20x update #4 2013-05-30 21:53:16 -04:00
Richard Heck
25aa5b8ef9 Minor status.20x update #3 2013-05-30 21:53:09 -04:00
Richard Heck
908d9fdff6 Minor status.20x update #2 2013-05-30 21:51:24 -04:00
Richard Heck
92d7595b50 Minor status.20x update #1 2013-05-30 21:51:24 -04:00
Julien Rioux
aa475ea70c Initialize BibTeXInfo modifier to zero, always. 2013-05-26 19:43:05 +02:00
Julien Rioux
626a38a600 Add missing space in front of edition in generated bibentry. 2013-05-26 19:43:03 +02:00
Julien Rioux
5e030858e6 lyxpreview: Allow to find python scripts.
In particular, lilypond-book is just a python script. On windows,
we need to call the python interpreter, using the full path to
the script while being wary of spaces in the path.
2013-05-26 19:42:22 +02:00
Julien Rioux
3e5c9e51de Show insets as text in the formatted bibliography entry. 2013-05-26 19:39:10 +02:00
Julien Rioux
43893c16ca Update a bibitem label also when it is emptied.
It is valid for a label to be empty, but up to now the bibliography
information was not updated when a label was emptied.
2013-05-26 19:39:09 +02:00
Uwe Stöhr
a98a49bd94 A&A support: better compilation fix
- revert the previous layout change where inputenc was mentioned. This was not wrong but too intrusive for a change in branch
- mention that the aa class loads natbib to avoid compilation errors
- aa_sample.lyx: the aa package contains an outdated an customized version of natbib.sty. This file only woks with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX; also clean up the preamble and add a note about the encoding
- aa.lyx: add a note about the encoding and set it in the document settings
2013-05-26 17:48:13 +02:00
Uwe Stöhr
bfa2829d47 Chinese Tutorial.lyx: backport a fix by Jürgen 2013-05-26 03:38:55 +02:00
Uwe Stöhr
03b93bb5bd aa.layout: fix compilation of the templates/aa.lyx
- aa already loads inputenc
- also add a required package
2013-05-26 03:34:09 +02:00
Uwe Stöhr
a087ec9cc7 landslide.lyx: make it compilable with pdflatex 2013-05-19 03:55:41 +02:00
Uwe Stöhr
01fd11eb1e AEA.lyx: make the file compilable
- also updated its content to follow the current AEA submission guidelines
2013-05-18 20:33:39 +02:00
Richard Heck
4492a4a0f1 Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.

(cherry picked from commit b9f48eb945)

Conflicts:

	lib/layouts/beamer.layout
	lib/layouts/memoir.layout
	lib/layouts/scrartcl.layout
	lib/layouts/stdsections.inc
2013-05-10 13:27:47 -04:00
Jean-Marc Lasgouttes
4d267e4f79 Fix bug #8627: Command line switches to change branch do not appear to work
Move the handling of branch-(de)activate(master) to Buffer. This code was moved to Bufferview in [3a03e71c/lyxgit] because a cursor was necessary to call Undo::recordUndoFullDocument(). However, it turns out that the undo code is already prepared to handle an empty cursor (and do nothing in this case).

Therefore we do that and move the branch code to Buffer where it belongs.

Note that there was a bug in the previous code that broke undo support: recordUndo should always be called _before_ doing any change.
2013-05-08 12:56:21 +02:00
Jean-Marc Lasgouttes
0d4bc37fe6 Fix bug #3199: change-next may leave empty lines behind
Using Cursor::setCursor or even BufferView::setCursor is often a bad
idea since it does not run DEPM. In this case (and other cases in
f&replace code) it is better to use BufferView::mouseSetCursor (which
should maybe be renamed...).
2013-05-08 12:28:56 +02:00
Jean-Marc Lasgouttes
0c1eb71448 Some potential bugs spotted by llvm/clang
src/TextClass.h
src/insets/InsetTabular.h

  Overloaded virtual method missing the 'const' qualifier

src/insets/InsetCommandParams.h

  Missing constructor (breaks compilation with llvm/clang)

src/frontends/qt4/GuiWorkArea.cpp

  Missing parenthesis: `+' has priority over `?:' (I do not know
  whether this has a visible effect).

src/mathed/InsetMathFont.cpp

  Use of == instead of = in mathmlize()
2013-05-08 12:08:56 +02:00
Uwe Stöhr
d44f22688b nn.po: updates from Ingar 2013-05-08 03:04:26 +02:00
Uwe Stöhr
01a5c9533d ia.po: updates from Giovanni 2013-05-08 02:57:10 +02:00
Richard Heck
594dcd885a Default font for an InsetLayout should be to inherit everything.
Fixes bug #8610.
(cherry picked from commit 6e25ae3272)
2013-05-07 11:49:56 -04:00
Richard Heck
e3875398c7 Don't try to show the status message if we are busy.
Intended to fix #8523.
(cherry picked from commit 6dac777dbc)
2013-05-07 11:32:04 -04:00
Richard Heck
da52958a3e Restore ANNOUNCE and status.20x. 2013-05-07 11:29:57 -04:00
Richard Heck
8d6573d130 Properly quote command line arguments. Patch from JMarc. Fixes
bug #8648.
2013-04-29 10:00:27 -04:00
Jean-Marc Lasgouttes
36e4d210d1 Fix bug #8633: change tracking: paragraph break is restored by undo
A recordUndo call was missing in this case.
2013-04-28 20:57:18 +02:00
Tommaso Cucinotta
1129eb0342 Fixed issue #8543 also for advanced search (cursor moved at proper end of selection before starting Find Advanced operation). 2013-04-21 22:39:28 +01:00
Uwe Stöhr
884e0171b1 sv.po: updates for LyX 2.0.6 from Jim 2013-04-21 21:22:25 +02:00
Uwe Stöhr
9043932ce2 es.po: updates for LyX 2.0.6 from Ignacio 2013-04-21 20:57:16 +02:00
Scott Kostyshak
602fd0bb72 hu/Tutorial.lyx: change default output to pdf2
(cherry picked from commit 18f5500af0)
2013-04-20 01:45:10 -04:00
Uwe Stöhr
16a31c29d5 uk.po: update from Yuri 2013-04-13 13:33:17 +02:00
Uwe Stöhr
b1b96edd2f status.20x: add entry for previous commit 2013-04-09 23:14:29 +02:00
Jean-Marc Lasgouttes
d4b960c5f4 Fix bug #8370: crash when searching for next change
Cursor::backwardPos() may enter in a nested inset, while CursorSlice::backwardPos() will not.
2013-04-08 09:44:16 +02:00
Juergen Spitzmueller
ab5306803e Split the overcrowded and chaotic UI pref pane into two (#7524) 2013-03-29 10:08:25 +01:00
Uwe Stöhr
3266415217 status.20x: add a bug number 2013-03-29 01:10:50 +01:00
Richard Heck
36bec04a13 Create a new DocumentClass for any cloned Buffer.
Uwe says that this fixes #8425.

This has been in trunk for two weeks without problems. Hopefully,
that means it is safe.

(cherry picked from commit e2155d3d58)

Conflicts:
	src/Buffer.cpp
2013-03-27 16:21:50 -04:00
Juergen Spitzmueller
340529920e Make \lyxadded and \lyxdeleted robust (#8435).
(cherry picked from commit 39ec866f68)
2013-03-27 16:14:52 -04:00
Richard Heck
00e3711c05 Clean id attributes for citations before outputting them.
For some reason, this was done in trunk but never got to
branch.
2013-03-27 16:05:09 -04:00
Richard Heck
40da79fe73 Use master buffer's setting for math output type.
(cherry picked from commit c56d524cd6)
2013-03-27 14:55:52 -04:00
Richard Heck
a3c0431b43 Add CSS styling for memoir epigraphs. 2013-03-27 14:05:55 -04:00
Richard Heck
912382e2be Disable extractFunctions() for MathML and HTML output.
Fixes bug #8609.
(cherry picked from commit dd7d76cc6c)
2013-03-27 12:11:31 -04:00
Richard Heck
5d792ae0fd Fix bug #8604: Forgot not to escape the caption string in listings.
(cherry picked from commit 7dac3a2715)
2013-03-23 10:08:10 -04:00
Jean-Marc Lasgouttes
2093b90fb7 Implement inset-select-all in mathed 2013-03-22 15:57:11 +01:00
Juergen Spitzmueller
13d6d2e2c7 Revert "Fix the zombie toolbar problem (bug #8520)"
This reverts commit c72c6f8732.
2013-03-21 09:42:32 +01:00
Uwe Stöhr
25b8ddf407 status.20x: typos 2013-03-21 02:10:35 +01:00
Uwe Stöhr
b2670c995e status.20x: entry for previous commit 2013-03-21 02:05:15 +01:00
Juergen Spitzmueller
c72c6f8732 Fix the zombie toolbar problem (bug #8520) 2013-03-20 16:19:53 +01:00
Richard Heck
7c5caaff24 Fix bug #8587 properly, by using local language for translation.
(cherry picked from commit 3057bce3f2)
2013-03-19 11:36:58 -04:00
Richard Heck
4be96ee78a Make things a little better with respect to bug #8587.
(cherry picked from commit fbe9e96b5e)
2013-03-18 19:49:18 -04:00
Richard Heck
dd10053a6e Fix bug #8598. We need to use the masterBuffer's counters in the
XHTML output routines.
(cherry picked from commit b3ceb89efc)
2013-03-18 18:47:27 -04:00
Uwe Stöhr
4aeeeb6b33 languages: fix compilation of Belarusian (bug #8593) 2013-03-16 21:16:18 +01:00