Commit Graph

668 Commits

Author SHA1 Message Date
Juergen Spitzmueller
65723bbe63 uk.po: update by Yuri 2013-11-18 16:05:17 +01:00
Georg Baum
a126ff8861 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-17 13:05:09 +01:00
Juergen Spitzmueller
5318d2fa7d Fix crash when using context menu in empty outliner
Fixes: #8885
2013-11-16 11:19:11 +01:00
Juergen Spitzmueller
596b9f8607 Fix shortcut clash (bug #8878)
Patch by charley
2013-11-12 16:37:33 +01:00
Juergen Spitzmueller
52fe53676a fix macro order for newsubfloat 2013-10-13 11:49:29 +02:00
Georg Baum
2ad994d1d6 Make encoding conversions thread safe
This is the result of the discussion on the list "2.1.0 Blocker". Thanks to
all contributors!
The main idea is to use thread-local storage for all static variables.
This solution does not need any mutex. For more details, see the comment in
unicode.h.
2013-10-12 13:27:05 +02:00
Juergen Spitzmueller
b9976f5929 Fix unbalanced bracket problem with CJK
The bug was introduced with commit [2af09e2e/lyxgit], where the unnecessary trailing bracket in CJK environments was suppresed, but not the preceding bracket (which is only output if CJK is a secondary language).
2013-10-11 12:35:22 +02:00
Jean-Marc Lasgouttes
df8d2a5a87 Fix bug #8859: crash on alignment of two cells in tabular
The solution is the same as the other text-properties lfuns: use special loops when there is a multi-cell selection.
2013-10-07 12:11:34 +02:00
Juergen Spitzmueller
e709a30e3b fr/Intro.lyx: Correction by Jean-Pierre 2013-09-15 17:03:50 +02:00
Richard Heck
cedb1d7167 The koma-script book class numbers equations by chapter.
(cherry picked from commit bac7708d4b)
2013-08-09 11:35:13 -04:00
Uwe Stöhr
12f66667ac csv2lyx.py: re-enable the feature to import CSV files
- the feature war broken because the file format was not updated to that of LyX 2.0.x
2013-07-27 23:56:38 +02:00
Uwe Stöhr
8c246a6825 ja.po: updates from Koji 2013-07-27 23:50:04 +02:00
Uwe Stöhr
a021548b7d LaTeXFeatures.cpp: fix bug #8731 for branch 2013-07-27 22:27:40 +02:00
Juergen Spitzmueller
c27208225a Typo 2013-07-21 13:10:09 +02:00
Juergen Spitzmueller
7c058e3c63 Trivial fix: escape ampersands in file names before pushing to tab header (#8757) 2013-07-20 16:07:18 +02:00
Scott Kostyshak
bc297cfd7a status.20x: fix a ticket number 2013-07-18 20:25:42 -04:00
Juergen Spitzmueller
2abe461b5c Fix state of certain language packages (polyglossia, japanese) in children (#8779) 2013-07-18 15:19:36 +02:00
Jean-Marc Lasgouttes
b2e76d22d5 Fix Qt tools search when a Qt directory has been specified
When --with-qt-dir has been specified, programs like "moc" in the Qt
directory are unlikely to have a qualified name like moc-qt4.
Therefore, such qualified names are only considered when the base
version has not been found.
2013-07-14 23:07:45 +02:00
Juergen Spitzmueller
db8abfec04 Properly nest ulem commands within other font changes
This reverts the wrong fix to #8424 which caused #8733 and fixes both problems properly
2013-07-11 21:24:57 +02:00
Juergen Spitzmueller
2dfe540371 Fix problem with unbalanced braces in XeTeX output (bug #8765) 2013-07-11 18:05:50 +02:00
Juergen Spitzmueller
0f72029c9b Fix toggling of 'misc' font options (bug #8764) 2013-07-07 18:01:59 +02:00
Richard Heck
f3097ffe76 Fix bug #8746: Images have to have alt tags. 2013-06-12 17:28:32 -04:00
Richard Heck
b870e46c85 Somehow forgot HTML tags for Paragraph and Subparagraph.
(cherry picked from commit c6a08bc442)
2013-06-11 14:33:38 -04:00
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