Commit Graph

29346 Commits

Author SHA1 Message Date
Kornel Benko
cd9b507f5c Cmake build: Missing include path due to change of PreviewLoader.cpp
in previous commit
2012-12-13 09:12:40 +01:00
Tommaso Cucinotta
60c96e3a66 While exporting from the command-line, theApp() doesn't exist.
It was only needed for getting hex names of colors. So, get them
directly from a ColorCache object with default mapping.

Conflicts:
	src/graphics/PreviewLoader.cpp
2012-12-12 22:15:42 +00:00
Scott Kostyshak
cf7b38ee23 Fix a bug when selecting a cell in InsetTabular
Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.

Related to #1802.

(cherry picked from commit 4b706051b7)
2012-12-12 15:56:02 -05:00
Scott Kostyshak
80a5892049 Fix another selection bug in InsetTabular
Fix #4981:
In tabular if a vertical selection is made with the keyboard (e.g.
LFUN_UP_SELECT), the selection is drawn if there are two cells selected.
Previously, the selection would be drawn only if there were more than
two selected.

(cherry picked from commit 5cc1adf7c7)
2012-12-12 15:53:09 -05:00
Scott Kostyshak
cbaaa09c7b Fix a selection bug in InsetTabular
If you have a selection across cells in tabular, moving the cursor
vertically up or down (e.g. LFUN_UP) now removes the drawn selection.
Before, the selection was set to false but it was not repainted.

(cherry picked from commit 776e66688f)
2012-12-12 15:52:28 -05:00
Tommaso Cucinotta
43f9aff71a Notifying in status.20x fix due to commit 927496e. 2012-12-11 00:06:24 +00:00
Richard Heck
24dea042c2 Fix lyx2lyx bug: We need to check for quoted names before we check
for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
(cherry picked from commit 945c0e4127)
2012-12-10 11:12:15 -05:00
Tommaso Cucinotta
35a7f81654 Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one. 2012-12-09 20:20:05 +00:00
Tommaso Cucinotta
927496ecd0 Fixed bug in escape sequence, showing up with ignore format off (addressing #8380). 2012-12-09 19:05:36 +00:00
Uwe Stöhr
612c0a4aaa springer templates: backport some notes 2012-12-08 20:24:55 +01:00
Uwe Stöhr
79d7af0252 thesis template: add more information how to change special settings 2012-12-02 20:57:17 +01:00
Uwe Stöhr
620fbbf3c5 status.20x: remove unnecessary info 2012-12-02 19:37:43 +01:00
Uwe Stöhr
a832a8e8b2 thesis.lyx: change preamble code as proposed by Jürgen
no change of functionality except that for pure English documents the loading of babel can be avoided.
2012-12-02 19:37:05 +01:00
Uwe Stöhr
32f3cf0c6b ACM-siggraph.lyx: change inexistent layout to an existing one 2012-11-30 20:29:18 +01:00
Uwe Stöhr
26a6e0747b status.20x: add some info 2012-11-29 00:14:02 +01:00
Georg Baum
b4bc4edb64 Comment out failing test
The verbatim environment is not yet supported in branch (bug #5408),
but the test slipped in while backporting the fix for bug #4468.
2012-11-28 22:23:43 +01:00
Georg Baum
cdee2a1652 Document backported fix for bug #4468 2012-11-28 22:17:00 +01:00
Georg Baum
b4150f1f82 Forgot to remove obsolete comment 2012-11-28 21:57:33 +01:00
Georg Baum
a47e4a3766 Add automatic color package loading for listings
The listings inset does automatically load the color package if any parameter
contains \color. As mentioned in bug #8066 tex2lyx needs to be aware of this,
so the \usepckage{color} is automatically skipped in these cases.
2012-11-28 21:56:00 +01:00
Georg Baum
847f8014ca Really fix bug #4468.
The old fix was incomplete (\verb~\~ was translated to \verb~~ in roundtrip).
The real cause for this bug (and also the mistranslation of \href{...}{\}})
was the misbehaviour of Token::character() (see comment in Parser.h): This
method even returns a character if the category is catEscape, and this is not
wanted in most (all?) cases.
2012-11-28 21:53:41 +01:00
Georg Baum
74a196c4f4 Add test for Parser::getFullArg()
It shows that the special handling of a single backslash in the argument
(whcih is supposed to fix bug #4468) does not work.
2012-11-28 21:52:39 +01:00
Uwe Stöhr
562848a96e tex2lyx: update a command
Parser.cpp: improve a command as discussed
2012-11-28 21:52:05 +01:00
Uwe Stöhr
f5f053ff86 tex2lyx/Parser.cpp: refine \verb handling 2012-11-28 21:51:57 +01:00
Uwe Stöhr
bd1776bd6a test-structure.tex: add checks for \verb 2012-11-28 21:50:50 +01:00
Uwe Stöhr
cb284b18d4 tex2lyx: fix handling of \verb
- Parser.cpp: \verb can have any character as delimiter (except of ASCII letters) not only '+', therefore partly revert [3943b887/lyxgit] and fix it for all cases
2012-11-28 21:49:46 +01:00
Uwe Stöhr
7fedb3f21d tex2lyx/Parser.cpp: fix bug #4468: single '\' are allowed in the special case of '+' as comment argument delimiter 2012-11-28 21:48:50 +01:00
Georg Baum
c047faa427 Add XeTeX-polyglossia.tex to distribution
(part of 57a8ea32c0 in trunk)
2012-11-28 21:38:36 +01:00
Richard Heck
4f65cfbd5f Backport.
Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.

(cherry picked from commit 72c2a72afd)
2012-11-27 20:53:46 -05:00
Uwe Stöhr
6ead4bdbbf JASA.lyx: add info how to install JASATeX 2012-11-26 15:42:56 +01:00
Uwe Stöhr
025943868a jasatex.layout: add missing short title
-also resolve a potential package clash with natbib
2012-11-26 06:14:04 +01:00
Uwe Stöhr
2fa9ff1826 chkconfig.ltx: add check for packages necessary to typeset Cyrillic and Greek 2012-11-26 06:10:39 +01:00
Uwe Stöhr
002a38dd7b configure.py: add checks for some text editors used on Windows and for our PDF handler for Windows 2012-11-26 06:08:20 +01:00
Uwe Stöhr
58f6767e2c modernCV: complete revision of layout and example 2012-11-26 06:05:47 +01:00
Uwe Stöhr
56da307e19 achemso: complete revision of layout and example 2012-11-26 06:05:23 +01:00
Uwe Stöhr
d5c2be9db3 IEEEtran.lyx: whitespace 2012-11-26 06:04:09 +01:00
Uwe Stöhr
bf0cc186de ijmpc.lyx: fix a typo 2012-11-26 05:24:52 +01:00
Uwe Stöhr
ebbd54a991 IEEEtran.lyx: fix a typo and remove unnecessary ERT 2012-11-25 04:07:41 +01:00
Uwe Stöhr
79a8c0d2a9 fix bug #8223 also for branch 2012-11-25 02:21:13 +01:00
Uwe Stöhr
978482f700 IEEEtran.layout: some more whitespace 2012-11-24 17:29:01 +01:00
Uwe Stöhr
998fa1c58e layouts: some whitespace fixes 2012-11-24 01:31:11 +01:00
Jean-Marc Lasgouttes
41e648837a Show status of branches even when inset is closed 2012-11-23 16:32:43 +01:00
Georg Baum
93d47c825b Implement tex2lyx -m switch (bug #8393)
Backported from b8648dea16.

With this new command line switch a list of modules can be loaded
unconditionally. This seems to be needed for the literate programming formats,
and it is useful to work around bug #5702 as well.
2012-11-23 16:18:04 +01:00
Richard Heck
240d810835 Fix build on FreeBSD
This is a backport of a patch from Raphael Kubo de Costa
  http://marc.info/?l=lyx-devel&m=131586604331711&w=2
further updated in 51cc8269 to use LDFALGS intead of LIBS.

Some additional cleanup.
2012-11-23 15:30:44 +01:00
Juergen Spitzmueller
a834d161d2 Allow arguments in PassThru environments (bug #7646)
(cherry picked from commit 34ef91bb70)
2012-11-21 13:57:20 +01:00
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
88380cfcd6 Math.lyx: add check for babel (bug #8423) and translate a comment
(the other language variants of this manual are not affected)
2012-11-19 00:14:59 +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
dc8bbefe01 FeynmanDiagrams.lyx: remove unused preamble code 2012-11-17 02:12:18 +01:00
Pavel Sanda
9cc98a9311 * Additional.lyx 2012-11-15 03:05:46 +01:00
Uwe Stöhr
ada275e005 ja.po: updates from Koji 2012-11-14 00:14:52 +01:00