Commit Graph

29479 Commits

Author SHA1 Message Date
Juergen Spitzmueller
0fcd35565c arabi requires the language option to be passed to babel directly. Candidate for branch 2012-07-23 16:20:13 +02:00
Juergen Spitzmueller
d10927c6f2 Suppress babel RTL commands when using polyglossia (part of #8251) 2012-07-23 16:17:43 +02:00
Richard Heck
1a830a6b1c Squash warning. 2012-07-22 10:47:20 -04:00
Richard Heck
ecb65e7038 Fix a long-standing FIXME by resetting only the counter for top-level
sectioning when we see an appendix. This fixes bug #8271, whose root
cause was the fact that we were resetting all the counters inside ERT.

Conflicts:
	src/TextClass.h
2012-07-22 10:44:18 -04:00
Richard Heck
e5b0444bbb Fix crash reported on list when renaming a child buffer and
then trying to compile.

    There are really two problems here. One is that the renamed
    buffer needs to be reloaded. All kinds of files, etc, may not
    exist any more, if we've been saved to a new directory; our
    children e.g. may not be in the right place. And, in this case,
    we may no longer be a child of our old parent. Reloading will
    fix all of that.

    On reload, though, we need to clear our parent, since we may
    not have one any more. It will get reset if need be.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40609 a592a061-630c-0410-9148-cb99ea01b6c8
(cherry picked from commit 9283cbdbcb)
2012-07-21 10:06:44 -04:00
Jean-Marc Lasgouttes
b674c190e7 Make the toolbar code less noisy when the session file is not found
Conflicts:

	src/frontends/qt4/GuiToolbar.cpp
2012-07-19 23:44:43 +02:00
Enrico Forestieri
3967b7b0db Fix bug #8254: An encoding problem
Use the short version of a path, which is guaranteed to be ascii and
works even if the path is not encodable in the current codepage.

(cherry picked from commit 08b3d492fa)
2012-07-19 23:34:07 +02:00
Jean-Marc Lasgouttes
7b93cc5fc4 Make sure that undo is recorded when magic tricks are played with InsetBibitem.
Fixes bug #7111: Assertion with undo and InsetBibitem

  * add Paragraph::brokenBiblio(), with tells whether there is something to fix.
  * rename Paragraph::checkBiblio to fixBiblio; simplify it greatly by using
    InsetList methods
  * In TextMetrics::redoParagraph, call recordUndo before fixBiblio (only when
    there is something to fix obviously)

Special care is taken to update cursor only when it makes sense. Note
that there are cases where undo information is not recorded (current
cursor not in the slice where action happens)
2012-07-18 21:16:45 +02:00
Juergen Spitzmueller
33b2bc45a7 typo 2012-07-18 17:33:32 +02:00
Juergen Spitzmueller
7e7d1c7167 deactivate ~ in Basque, Estonian and Galician (bug #8265) 2012-07-18 17:30:00 +02:00
Juergen Spitzmueller
03c9e5a758 Add \makeat switches to babel settings if necessary.
Babel settings might contain @ characters. Check for this and wrap the settings into \makeatletter ... \makeatother switches if necessary (see discussion at #8265).
2012-07-18 17:24:45 +02:00
Kornel Benko
049f955110 Creating package missed the patch-version number 2012-07-17 11:19:22 +02:00
Juergen Spitzmueller
8dcda08122 update de.po 2012-07-14 17:00:15 +02:00
Uwe Stöhr
2c77326b9b APA.lyx: improve a comment 2012-07-14 16:38:22 +02:00
Uwe Stöhr
08243b54c0 es.po: updates from Ignacio for branch 2012-07-13 22:16:38 +02:00
Uwe Stöhr
b19ae9e7f9 Spanish docs update 2012-07-13 00:55:27 +02:00
Uwe Stöhr
4eccf039bb forgotten status entry 2012-07-13 00:23:21 +02:00
Uwe Stöhr
23348fd302 add new Spanish examples for branch
- Spanish europeCV.lyx and modernCV.lyx: new files
- English europeCV.lyx: replace TeX-code by LyX's \nocite feature
2012-07-13 00:22:14 +02:00
Kornel Benko
62c38fef36 * sk.po 2012-07-11 20:36:30 +02:00
Richard Heck
4eab9d49a4 Allow LyX format to be shown in View>Source.
Cherry-picked from b7ac2d69e7.
2012-07-11 11:39:07 -04:00
Richard Heck
1e8f537481 Math output flavor was not set when viewing source code.
Cherry-picked from e7877f6fee.
2012-07-11 11:35:12 -04:00
Richard Heck
68135b2868 Add generated .cpp files to .gitignore. 2012-07-11 11:18:17 -04:00
Richard Heck
55fb01c7bb Fix bug #8160 by updating the dtd for MathML.
(cherry picked from commit 5400ae0720)
2012-07-10 18:08:40 -04:00
Uwe Stöhr
23b7048bab docs: fix and update description of labeling
- UserGuide.lyx: fix description of the labeling lists, fixes also bug #8224
- German UserGuide.lyx: adapt some sections to be compliant with the other language variants
2012-07-07 01:58:06 +02:00
Uwe Stöhr
08cd5a80ca backport a tex2lyx testfile 2012-07-06 23:55:11 +02:00
Kornel Benko
e65fe85106 * sk.po 2012-07-05 17:46:41 +02:00
Uwe Stöhr
1cbafc404c update translations
translate a fuzzy message, done by Giovanni and me
2012-07-05 00:09:13 +02:00
Jean-Marc Lasgouttes
67e9caba8a Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION 2012-07-04 17:41:21 +02:00
Uwe Stöhr
d8e0ea362b branch: fix for APA layout
- apa.layout: the commands \volume, \copnum and \notes are only allowed in the preamble; fixes bug #8187

- APA.lyx: the template missed the \note command
2012-07-03 20:43:49 +02:00
Uwe Stöhr
c0ebff8617 tex2lyx: support for syncTeX
backport enhancement bug #8217
2012-07-03 00:21:39 +02:00
Uwe Stöhr
523563f14a de.po: update translation 2012-07-02 23:42:56 +02:00
Richard Heck
bbce5e9ebc Remerge strings for 2.0.5dev. 2012-07-02 17:37:44 -04:00
Richard Heck
e2862c3850 Fix diff order in script. 2012-07-02 17:36:51 -04:00
Kornel Benko
5ecacf5143 * sk.po 2012-07-02 23:26:38 +02:00
Uwe Stöhr
dce30a281e for branch: elsarticle already provides refstyle
- elsarticle.layout: elsarticle already provides refstyle thus the document becomes uncompilable if we don't declare this in the layout
2012-07-02 22:18:42 +02:00
Pavel Sanda
7fa9017f0f Another attempt to fix #8203.
Get rid of updateDialogs() altogether as in r39880.
2012-07-01 23:01:18 +02:00
Uwe Stöhr
7f2ed491de Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-07-01 01:42:54 +02:00
Uwe Stöhr
e516a9f9e5 make tex2lyx in branch compilable again
- Preamble.cpp/:
 - move list definition out of anon namespace
 - declare lists and a function in the class
 - remove ancientgreek since this is LyX 2.1-only

- XeTeX-polyglossia.tex: remove ancientgreek
2012-07-01 01:42:32 +02:00
Pavel Sanda
4d8fa3a135 Fix #8201: our translation mechanism chokes on the character "
(cherry picked from commit 06c1d24bdb)
2012-06-30 19:27:24 +02:00
Uwe Stöhr
3774a5ec3a status.20x: fix a typo 2012-06-30 16:00:36 +02:00
Uwe Stöhr
87d912dbae tex2lyx: remove LyX 2.1-only languages
Preamble.cpp:
- newzealand and australian are only supported by LyX 2.1
- update a comment
2012-06-30 15:48:18 +02:00
Uwe Stöhr
d75457604f tex2lyx: remove LyX 2.1-only languages
Preamble.cpp:
- newzealand and australian are only supported by LyX 2.1
- update a comment
2012-06-30 15:44:55 +02:00
Uwe Stöhr
6e10237b1d tex2lyx: remove LyX 2.1-only languages
Preamble.cpp: newzealand and australian are only supported by LyX 2.1
2012-06-30 15:42:33 +02:00
Uwe Stöhr
0ac43c8a3f ia.po: updates from Giovanni 2012-06-30 04:38:18 +02:00
Uwe Stöhr
2af09e2e0e backport fix for bug #8215
Font.cpp: CJK parts must not have a closing brace because they are within an environment
2012-06-30 03:48:34 +02:00
Uwe Stöhr
2eb4a46d0b tex2lyx: backport fix for bug #8210 2012-06-30 03:40:40 +02:00
Uwe Stöhr
530c2ca7a3 backport [85ef627e/lyxgit]
- XeTeX-polyglossia.tex: Hebrew is used in the file and so it must be declared
2012-06-30 02:23:17 +02:00
Uwe Stöhr
90d8f3adcb polyglossia tex2lyx support also for branch 2012-06-30 02:18:18 +02:00
Juergen Spitzmueller
16f6910b59 Add dvilualatex output format 2012-06-29 18:46:53 +02:00
Juergen Spitzmueller
8470e31355 fix bug #8209: polyglossia commands ignored partial source preview 2012-06-29 18:37:50 +02:00