Commit Graph

638 Commits

Author SHA1 Message Date
Uwe Stöhr
0493893fdd Font.cpp: fix bug #8424 also for branch
- Font.cpp: fix the bug
- status.20x: fix the formatting/style
2012-11-20 22:22:52 +01:00
Uwe Stöhr
2f99aabf6d thesis template: add check for babel (as discussed in bug #8423) 2012-11-18 16:02:43 +01:00
Uwe Stöhr
ada275e005 ja.po: updates from Koji 2012-11-14 00:14:52 +01:00
Juergen Spitzmueller
975b20d5b7 Do not let the children's buffer params leak into the master (#5941) 2012-11-12 07:49:52 +01:00
Richard Heck
c920318f42 Restore fix for constant resetting of View>Source widget (bug #8411). 2012-11-11 15:41:47 -05:00
Pavel Sanda
759b7154c9 Additional support for Japanese pLaTeX with utf8 encoding (#8408).
Patch from Koji.
2012-11-11 19:31:02 +01:00
Juergen Spitzmueller
abc8c6567f Trigger preview when inserting preview inset on selection
(cherry picked from commit 31c7ccd4b3)
2012-11-11 11:04:19 +01:00
Juergen Spitzmueller
7b155bfdb8 Categorize paragraph styles of the lnguistics module 2012-11-11 10:52:50 +01:00
Richard Heck
f4dd8f2e0f Start 2.0.6 development. 2012-11-10 15:28:51 -05:00
Uwe Stöhr
46588a5a3a status.20x: mention Polish 2012-11-04 00:03:21 +01:00
Georg Baum
e334b01db5 Fix bug 8396: Wrong import of \xymatrix 2012-10-29 20:52:22 +01:00
Juergen Spitzmueller
bd6ac5d48c French Linguistics manual update (by Jean-Pierre) 2012-10-26 10:50:13 +02:00
Uwe Stöhr
7fe5b65c1d sv.po: updates from Jim 2012-10-22 01:44:22 +02:00
Enrico Forestieri
d781daa401 Fix bug #8379: LyX Archive fails to include BibTeX files
(cherry picked from commit f6fde4b553)
2012-10-21 21:54:20 +02:00
Uwe Stöhr
6997cbd176 sigplanconf.layout: correct InTitle tag, fixes bug #8378 2012-10-19 00:57:20 +02:00
Uwe Stöhr
19da6fcc0d status.20x: correct a bug number 2012-10-16 02:31:43 +02:00
Uwe Stöhr
b7d292a278 UserGuide.lyx: Add info how to handle special characters in nomenclatures
Fixes bug 8373.
2012-10-16 02:29:37 +02:00
Uwe Stöhr
e0a7c7d2ac nn.po: updates from Ingar 2012-10-16 00:58:26 +02:00
Juergen Spitzmueller
9b9145432f Beamer provides [x]color (#8103) 2012-10-15 16:02:50 +02:00
Juergen Spitzmueller
c97f75da03 Do not inherit Provides from beamer 2012-10-15 15:56:25 +02:00
Juergen Spitzmueller
e10bfe5857 Do not inherit Provides from beamer 2012-10-15 15:53:28 +02:00
Uwe Stöhr
ba0454fd0c g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file 2012-10-15 01:25:51 +02:00
Uwe Stöhr
3dfa3935e9 apa.lyx: fixed weblink 2012-10-15 00:49:07 +02:00
Uwe Stöhr
71b6024a9b uk.po: updates from Yuri 2012-10-14 02:22:05 +02:00
Pavel Sanda
f6f6379322 Forgot status. 2012-10-11 01:36:42 +02:00
Jean-Marc Lasgouttes
cfa0a1181b Revert "Do not kill the undo stack when doing a Save As..."
This reverts commit 824fe17511.

Following discussion on ticket #8342, I am not sure anymore that this is safe for branch. Reverting does not hurt much since the annoying debug messages that were cured by this commit are already (better) fixed by the patch for #8342.
2012-10-07 22:26:28 +02:00
Scott Kostyshak
4d9f620349 More elegant knitr support and bug fix
Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.
2012-10-06 19:54:08 -04:00
Juergen Spitzmueller
2f3acae922 Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101)
(cherry picked from commit 02c73cd721)
2012-10-03 17:00:17 +02:00
Juergen Spitzmueller
9d43101254 status update 2012-10-03 16:39:01 +02:00
Stephan Witt
8bc54fd665 Add property list entries for high resolution display on Mac 2012-09-30 11:31:03 +02:00
Juergen Spitzmueller
438caad386 Fix issues with xref dialog in read-only documents (#8177) 2012-09-30 08:31:54 +02:00
Juergen Spitzmueller
1d63d78382 Working attempt at fixing #8357 in branch 2012-09-28 16:04:04 +02:00
Juergen Spitzmueller
c5d56d260b Revert "validate encodable characters in href inset (#8357)"
This reverts commit 1ea66bb65f.

The method latexString does not exits in branch.
2012-09-28 15:44:11 +02:00
Juergen Spitzmueller
1ea66bb65f validate encodable characters in href inset (#8357)
(cherry picked from commit 5801ee2f9a)
2012-09-28 15:40:09 +02:00
Jean-Marc Lasgouttes
4f153b007e status.20x entry for commit [2512e1f085/lyxgit] 2012-09-24 16:31:38 +02:00
Stephan Witt
e35d7a0f9b Implementation of spell check of current selection (bug #2511). 2012-09-21 23:21:41 +02:00
Richard Heck
2004073522 Forgotten status for earlier commit. 2012-09-20 19:17:37 -04:00
Juergen Spitzmueller
b11704d2fb Do not update refs on new label creation (#8147)
This assures that refs to existing labels are not being touched if a new label with a duplicate name is created, and the name then changed by the duplicate checker.

Branch candidate.
(cherry picked from commit 86cccf1077)
2012-09-20 16:01:34 +02:00
Enrico Forestieri
63caef5505 Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode
Those commands can also be used in text mode but tex2lyx tries to
translate their argument causing havoc. So, import the whole commands
as ERT.

(cherry picked from commit ac92f2a79b)
2012-09-20 13:39:38 +02:00
Enrico Forestieri
0e33060337 Fix bug #8305: ^ symbol does not render into upward arrow when using mhchem
The mhchem package treats the caret both as a shorthand for \uparrow or
as a superscript operator according to whether it is surrounded by
spaces or not. The \ce and \cf insets allow inserting spaces but there
is no provision for inserting a space after the caret, which is always
considered by LyX as a superscript operator. The solution here is to
insert a space after the caret if the superscript is empty or an empty
brace inset.

Mathed does not allow empty superscripts, so an empty brace has to be
inserted when working in LyX. On the other hand, when importing latex
code, an empty superscript is retained.

This has no effect whatsoever for normal latex code, as a space after
the caret is ignored. In any case, the output is only changed if an
empty brace inset is used as superscript. Specifically, the output is
changed from "^{{}}" to "^ {}".

(cherry picked from commit f251e01892)
2012-09-20 13:39:37 +02:00
Juergen Spitzmueller
5fd8bda31a rc.preview and rc.display_graphics are completely unrelated (bug 7562)
(cherry picked from commit 6bf00d9fed)
2012-09-19 17:15:57 +02:00
Juergen Spitzmueller
212af25fb2 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-09-18 08:34:05 +02:00
Jean-Marc Lasgouttes
f8a46c4874 Fix bug #8342: Endless undo group messages
Fix thinko in Undo::endUndoGroup.
Do not reset undo groups in Undo::clean

The underlying problem remains: the various VC functions should not
always reload the buffer or at least should use the parameter
clearUndo=false.
2012-09-17 23:04:42 +02:00
Juergen Spitzmueller
7441db9053 Calibrate log file parser
Filenames embraced in <...> can occur anywhere on the line and multiple times. This fixes for me the case that graphics included via ERT were not tracked. It also fixes #8336.

(cherry picked from commit e8a01d099a)
2012-09-17 10:43:06 +02:00
Uwe Stöhr
ca3cf1f222 status.20x: some minor improvements
- list crash bugfixes first
- clarify that it is a menu
2012-09-12 00:11:55 +02:00
Enrico Forestieri
fbaf3fc84d Protect underlined \ref{} commands by enclosing them in \mbox{}.
This is the same protection used for \cite{}. Although "ulem" commands
don't strictly need this protection with \ref{} and friends, this helps
when one wants to use another package souch as "soul".
Indeed, ulem's \uline{} doesn't hyphenate words, while soul's \ul{} does,
and thus the output is much nicer.

With this patch, replacing ulem with soul is as simple as adding
\usepackage{soul}
\renewcommand{\uline}[1]{\ul{#1}}
to the preamble, without worrying about manually enclosing in \mbox the
\ref commands. In any case, the output from ulem remains unchanged.

Another possibility offered by soul is that of typesetting as
"yellow highlighted" the underlined text. This is achieved by adding
\usepackage{color,soul}
\renewcommand{\uline}[1]{\hl{#1}}
to the preamble.

(cherry picked from commit 91afc2430d)
2012-08-30 15:35:22 +02:00
Juergen Spitzmueller
8475f73366 IPA fixes 2012-08-27 08:50:40 +02:00
Juergen Spitzmueller
3ae6400452 Fix forward search with okular 2012-08-27 08:45:21 +02:00
Stephan Witt
7cc30cdf29 Fix bug #8238: correct the forward argument of replace2string() in on_replacePB_clicked().
(cherry picked from commit 44b3278006)
Fix the wrong cursor move when forward flag is false:
The forward flag is used to place the cursor behind the replaced text if it's true.
But it's not correct to move the cursor if it's false. The cursor is in front of the
replacement already after the replaceSelectionWithString() was done.
(cherry picked from commit 430cf3ee5e)
2012-08-22 18:07:58 +02:00
Jean-Marc Lasgouttes
a4db6d6c14 Fix bug #7741: incorrect locale when starting R from LyX?
The goal here is to get rid of the old code that modified variables
LANGUAGE and LC_ALL, therefore creating the problems mentionned
in the ticket.

In the new system, there is no explicit "GUI" message handler, that
needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
greatly the code and to remove a lot of old cruft.
2012-08-22 12:36:22 +02:00
Jean-Marc Lasgouttes
824fe17511 Do not kill the undo stack when doing a Save As...
The code does a reload on the buffer to avoid loose pointers if the
file changes directory. This commit adds a bool parameter to
Buffer::reload to allow for keeping the undo stack intact. This is of
couse only wanted in this case, not when reloading an earlier version
of the file.
2012-08-21 12:21:42 +02:00
Jean-Marc Lasgouttes
3bf5d562b9 Fix bug #8242: undo fails for longest label width
In the existing code for setting layout of pragraph parameters,
Text::undoSpan is used to "guess" which paragraphs should be saved in Undo.
With this patch the approach is more precise: before every explicit change
to a paragraph, a Cursor::recordUndo call is inserted. This is much more robust than trying to guess.

In particular, we do not look at depth changes at all, since they are now
handled in updateBuffer since #8159 has been fixed.
2012-08-21 12:08:27 +02:00
Jean-Marc Lasgouttes
a53f9aa8cc Make debug messages more readable
Shorten the file names output by LYXERR so that they start right after /src/.
2012-08-21 12:02:20 +02:00
Jean-Marc Lasgouttes
337bfa6010 Fix shortenng of file names in MakeDisplayPath.
It is not a good idea to slice an utf8 string at arbitrary offsets, we have to work on a docstring instead.
We need unfortunately to switch back and forth between utf8 and docstring.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40149 a592a061-630c-0410-9148-cb99ea01b6c8
2012-08-21 11:59:28 +02:00
Juergen Spitzmueller
2d9c9ae77d Fix direction of brackets in Hebrew when using Polyglossia (bug #8251) 2012-07-26 10:08:41 +02:00
Juergen Spitzmueller
7d08836de6 Fixes to the language package call
* Assure that really no language package is called when none is selected.
* Only call global custom package if global is desired.
This is a candidate for branch as well.
2012-07-23 16:24:51 +02:00
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
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
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
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
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
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
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
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
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
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
Richard Heck
7e4a2ae1e8 Backport fix for #7652, so that we show backends, not formats, in the
View>Source combo.
2012-06-29 11:13:07 -04:00
Jean-Marc Lasgouttes
20f1285821 Fix bug #8159: Undo doesn't restore environment depth correctly
(backported from master)

The idea is to record undo at the place where the document is modified:

1/ in Buffer::updateBuffer, add a recordUndo, with the caveat that a
   const_cast has to be used (because updateBuffer is const but
   modifies the document, go figure).

2/ in GuiApplication::dispatch, add an extra undo group that
   encompasses the updateBuffer call. Some other undo groups may be
   redundant now, but it is not a problem since they do not cost
   anything.
2012-06-29 15:33:02 +02:00
Jean-Marc Lasgouttes
111f15f335 Fix bug #8027: Edit->Paste Special->... does not replace selected text
Delete the selection before all paste-like lfuns. This was previoulsy done
only for LFUN_PASTE, the others at best unset the selection.
2012-06-29 15:18:20 +02:00
Jean-Marc Lasgouttes
ee8f3f89f6 Fix bug #2005: Lyx Inserted Graphics Scale Error
xkeyval fixes the incompatibility between graphicx.sty and babel/turkish.
2012-06-29 15:08:38 +02:00
Pavel Sanda
a31a9d9ba5 Fix #8203: remove window updating optimization leading to various crashes.
This is already fixed in trunk.
2012-06-28 21:03:14 +02:00
Juergen Spitzmueller
065f247ccb do not output empty language switch commands (bug #8216) 2012-06-28 16:49:45 +02:00
Juergen Spitzmueller
d0df873ebb linguistics manual: document shortcomings (and workarounds) of glosses 2012-06-23 19:30:06 +02:00
Richard Heck
a11f385797 Updates to Basque translation. 2012-06-23 09:20:58 -04:00
Uwe Stöhr
b835e6e03b tex2lyx/table.cpp: fix bug #8204 also for branch (prevent crash if TeX files define wrong table column numbers) 2012-06-23 01:13:43 +02:00
Uwe Stöhr
940fbe965e status.20x: revert last change (sorry, this should not go in) 2012-06-22 14:33:34 +02:00
Uwe Stöhr
0f3d7f0234 - status.20x: add entry for the table cell rotation support added in [cd691081b4/lyxgit] 2012-06-22 14:31:26 +02:00
Jean-Marc Lasgouttes
fb80ce20ca Handle sending a FuncRequest object to lyxerr
* Implement the corresponding operator<<

  * Use it in a couple new places
2012-06-22 10:45:46 +02:00
Uwe Stöhr
00a8ccdd07 sv.po: translation updates by Jim 2012-06-21 03:21:48 +02:00
Pavel Sanda
ef173f22a5 Backport 35e4c1c9a6. 2012-06-14 15:57:44 +02:00
Juergen Spitzmueller
d84eea891e Add DefaultStyle to siamltex.layout (bug #8194) 2012-06-10 11:45:41 +02:00
Juergen Spitzmueller
54ac0bb970 Restore default output format after tex fonts switch (#8191) 2012-06-08 20:24:09 +02:00
Jean-Marc Lasgouttes
a97d858145 Typo 2012-06-05 12:17:33 +02:00
Jean-Marc Lasgouttes
18c887f2db Fix bug #7956: Assertion When Trying to Paste Into Table
For some unknown reason, the paste code likes to call Cursor::setSelection(), which is not appropriate here since we are not trying to set a selection at this point.
2012-06-05 11:36:45 +02:00
Uwe Stöhr
dffb1ab6c3 - fr.po: updates from Jean-Pierre
- nn.po: updates from Ingar
- status.20x: register also other languages which have been updated for LyX 2.0.4
2012-06-04 23:11:42 +02:00
Uwe Stöhr
5ec8f5a5b6 languages: also for trunk: add missing language codes, fixes bug #8183 2012-06-04 22:33:05 +02:00
Juergen Spitzmueller
9df0a930d4 Add missing undo recording.
This adds a change of the printindex type (with multiple indices) to the undo stack and marks the buffer dirty on that action (bug #8182)
2012-06-04 19:13:31 +02:00
Pavel Sanda
99ada23d97 Backport f6921819. 2012-05-31 14:02:40 +02:00
Juergen Spitzmueller
026f53f41c Fix crash when removing last converter (bug 8178) 2012-05-29 15:40:07 +02:00
Juergen Spitzmueller
daf44909c0 Load bibtopic after hyperref (bug #8005) 2012-05-29 13:23:08 +02:00
Juergen Spitzmueller
044ef5dc4e add missing IPA glyph 2012-05-28 15:54:31 +02:00
Enrico Forestieri
5909fc467a Fix bug #8164: lyxpak.py fails to include filenames with spaces
People love embedding spaces in filenames, so account for that.

(cherry picked from commit fbcf2486d8)
2012-05-20 22:27:08 +02:00
Juergen Spitzmueller
993fa89009 If a file is saved as, reset its master if it has any, thus preventing a crash (bug 8161) 2012-05-19 14:03:50 +02:00
Uwe Stöhr
ab28040ca4 seminar.lyx: new example file from Günter Milde (forgot it in last commit) 2012-05-18 23:20:20 +02:00
Uwe Stöhr
b0c3dce84f seminar.layout: new version from Günter Milde (bug #7624) 2012-05-18 21:29:21 +02:00
Richard Heck
0cb1c96d01 Typo. 2012-05-17 07:28:11 -04:00
Jean-Marc Lasgouttes
db4cc27f4d Document a few commits I forgot. 2012-05-17 12:59:05 +02:00
Vincent van Ravesteijn
1ae4cdcd5c Update status.20x 2012-05-14 15:49:31 +02:00
Vincent van Ravesteijn
d475caf278 Fix bug #7641: Freeze when removing itemized first paragraph
Text::outerFont looks recursively for paragraphs before the current one
which has a lower depth. If such a paragraph cannot be found, depthHook
and outerHook return the current paragraph. As such, we end up in an
infinite loop. So, if we find a par_depth that was the same as the
previous one, we apparently can't find a suitable paragraph and we should
quit the loop.
(cherry picked from commit b17250d7eb)
2012-05-14 15:09:21 +02:00
Enrico Forestieri
3a3f6c838c Backport fix for bug #7982: LyX does not work if working directory a
hard disk drive like D:\.

In this case, the working dir has already a slash at the end.
Appending another one would result in a path ending with a double slash,
which has a special meaning when used in TEXINPUTS (all subdirs would
be recursively scanned). So, avoid doing that.

(cherry picked from commit 93ebb7a863)
2012-05-14 08:56:35 -04:00
Richard Heck
1e27b1d144 Updates to Customization manual from Scott. 2012-05-14 08:45:59 -04:00
Vincent van Ravesteijn
eaf059fd46 Windows installer: Update links in uninstaller 2012-05-13 21:00:30 +02:00
Vincent van Ravesteijn
38a8538194 Windows installer: Detect Inkscape when installing 2012-05-13 20:59:51 +02:00
Vincent van Ravesteijn
8c9da0c2d6 Fix bug #7870: Win installer: check for Gnumeric
Gnumeric is needed for the spreadsheet external inset template.
2012-05-13 20:59:15 +02:00
Vincent van Ravesteijn
4434df7bf0 status.20x for [86d8e5cf\lyxgit] 2012-05-13 20:56:25 +02:00
Georg Baum
0b60b468c4 forgot status as well 2012-05-13 20:48:43 +02:00
Richard Heck
c1e8933eb8 Status for previous commit. 2012-05-13 14:07:45 -04:00
Richard Heck
fc3ed37c50 Add LibreOffice converters for ODT. 2012-05-11 08:01:58 -04:00
Richard Heck
a223441391 Status for last commit. 2012-05-10 16:20:43 -04:00
Vincent van Ravesteijn
6541b6bd6c Fix bug #8153: Update to lib/unicodesymbols
Patch from Guenter Milde.
2012-05-10 17:58:38 +02:00
Pavel Sanda
9397d6217d Backport 17e8ea8a (#8018). 2012-05-10 17:34:11 +02:00
Pavel Sanda
9f51e76f8c Backport fb45a49d (#8021). 2012-05-10 17:28:53 +02:00
Vincent van Ravesteijn
cf27d693d8 Fix bug #953: Paint text decorations for spaces
(cherry picked from commit c671703f05)
2012-05-06 17:23:23 +02:00
Vincent van Ravesteijn
abce7966e6 Fix bug #5167: Correctly paint special characters in InsetMathFont
When using, e.g., a 'mathcal' inset in math, the inline completion and
other special characters like '\#', '{..}' are are painted in the
'mathcal' font as well. This is overcome by setting the mathnormal font
before painted these characters.

(cherry picked from commit 6377296492)
2012-05-06 17:23:21 +02:00
Vincent van Ravesteijn
58946a2996 Always require a mask to get a temporary filename
If no mask is supplied or the mask is attached to the end of the filename, we end up with unexpected names like
  <system-temp-dir>\lyx_tmpdir.qHp780.vcr780_<mask>
instead of a temporary file in the lyx temporary directory like
  <system-temp-dir>\lyx_tmpdir.qHp780\<mask>.vcr780.

(cherry picked from commit 5e4e4b674c)
2012-05-06 17:23:20 +02:00
Vincent van Ravesteijn
53cea14986 configure.py: Replace 'ltx' by 'log' case insensitively
On windows the temporary filename consists of uppercase characters. This
causes that the extension does not get replaced, and the logfile is left
behind.

Checking the extension case insensitively will correctly remove the
logfile.

(cherry picked from commit a02bfeebc5)
2012-05-06 17:23:18 +02:00
Vincent van Ravesteijn
9f25da8c12 Status.20x entry for [7d619f43/lyxgit] 2012-05-06 17:21:30 +02:00
Georg Baum
7a87c2f710 Forgot status.20x. 2012-05-06 13:06:01 +02:00
Richard Heck
773f2b365c Status for last commit. 2012-05-03 15:42:21 -04:00
Richard Heck
264948348e Fix bug 8124. We enable LFUN_INSET_MODIFY in InsetBox if it
is intended for us, i.e., if the first argument is "box". Maybe we
should also check to make sure that the rest of the arguments are
good, but we used just to return true no matter what the argument
was, so this is an improvement.

LFUN_INSET_MODIFY is really kind of a mess.
2012-05-02 17:43:18 -04:00
Vincent van Ravesteijn
3a53a52b1c Fix bug #7914: Freeze on docbook export of lists and bibliography
The LATEX_LIST_ENVIRONMENT and LATEX_BIB_ENVIRONMENT type paragraphs are
not yet implemented in DocBook export. However, we need to actively skip
these paragraphs in order not to end up in an endless loop.

(cherry picked from commit fa9bd04ea4)
2012-05-02 18:27:13 +02:00
Vincent van Ravesteijn
2e771bf78d Fix bug #8089: Handle spaces at the end of the stream
If the stream is good (i.e. there are still tokens) and we expect an
argument, we call getArg(). However, if there are only spaces, the stream
suddenly isn't good anymore after 'skipSpaces' and we would get an error
when calling 'getChar'. Therefore we have to check whether the stream is
still good.

MathParser: Do not rewind the stream if we can't read from it

If the stream is not good, we don't need to 'putback', because we didn't
read anything yet. If we now do rewind the stream, we are asking for
problems as in bug #8089.

This was introduced in [3cafb856\lyxgit] to fix bug #4318.

(cherry picked from commit 26dcfcd343)
(cherry picked from commit 1ef930c058)
2012-05-02 18:24:24 +02:00
Richard Heck
f79fd6013e More re-ordering, again mostly to test emails. 2012-05-02 11:28:15 -04:00
Richard Heck
f1c4a8fd03 Re-order status.20x, again. 2012-05-02 10:57:15 -04:00
Richard Heck
4b6ddefcaa Introduce LyXHTML section in status.20x 2012-05-02 10:54:22 -04:00
Vincent van Ravesteijn
39f06f37c3 Fix bug #7518: Assert when selecting in RTL text
If we are in rtl text, we *need* to check whether the first character is a
space. We can't use the rtl variable for this because this is only
computed on the last row.

This bug was introduced in [0a137e31/lyxgit] to fix the computation for
freespacing paragraphs. We better can just check whether the paragraph is
freespacing or not.

(cherry picked from commit d7f68078cf)
2012-05-01 11:45:58 +02:00
Vincent van Ravesteijn
0665673d03 Fix bug #8078: Assertions in xhtml output on Windows
(cherry picked from commit 3c0e3c16c8)
2012-05-01 11:42:52 +02:00
Enrico Forestieri
124bc762a7 Fix bug #8140: Crash with math macros and input completion
When clicking away in the same math inset after hitting '\', the
cursor may be broken and all of its instances have to be fixed.

(cherry picked from commit 9825621798)
2012-05-01 01:01:03 +02:00
Richard Heck
4296e47d28 Re-order status.20x a bit more. 2012-04-30 18:08:33 -04:00
Richard Heck
384ba91d5c OK, one more try here. Re-order a bit more. 2012-04-30 17:55:10 -04:00
Richard Heck
d831a451d1 OK, re-order a bit more. Last try with the email stuff for now. 2012-04-30 17:53:39 -04:00
Richard Heck
6cfbc51039 Re-order a bit. 2012-04-30 17:51:17 -04:00