Commit Graph

29013 Commits

Author SHA1 Message Date
Richard Heck
ddee4f872b Don't output extra body tags with included files. 2012-04-23 14:14:01 -04:00
Uwe Stöhr
4e1bc622ca backport fix for #8102 2012-04-23 01:28:55 +02:00
Enrico Forestieri
53e766b215 Update it.po 2012-04-22 23:31:45 +02:00
Richard Heck
ea455f39da Add some comments to include_bib.py about how to set up the converter. 2012-04-17 16:59:04 -04:00
Richard Heck
650ab1783a Use InsetLayout to style the XHTML output.
Note that we have also changed the layout name to uppercase, but
this should be fine, since it was so far unused.

Conflicts:

	src/insets/InsetScript.cpp
2012-04-17 09:28:28 -04:00
Richard Heck
9b5da57623 Fix header of status.20x. 2012-04-15 22:43:21 -04:00
Enrico Forestieri
482355e7b4 Fix bugs #6871 and #8119.
Both bugs above were due to a missing screen update. This patch
updates the current view after dispatching a lyxserver command
and thus solves both.

The patch is quite strightforward and the only difficulty was due
to the fact that the lyxserver needs the result of the dispatched
command. Now, GuiApplication::dispatch(FuncRequest const &)
does update the view, but does not return any result, while
GuiApplication::dispatch(FuncRequest const &, DispatchResult &),
which is also called by the former, does not update the view.
So, I split the first one, isolating the code performing the update,
such that the second one can also update the current view when
the caller is the lyx server. When the action is initiated by
anything different from the lyx server, the behavior is unchanged.

(cherry picked from commit ea31541848)
2012-04-16 00:19:22 +02:00
Enrico Forestieri
fe47997587 Fix bug #8105: Crash when deleting math macro from the inside
It seems that parameterless macros are not wrapped into a MathAtom.
Rather than touching the macro code (which is tantamount to opening
a can of worms, IMHO), I prefer this solution.

(cherry picked from commit d07f9eec20)
2012-04-15 23:59:18 +02:00
Pavel Sanda
3536bb52db * cs.po, trac testing only 2012-04-15 16:53:06 +02:00
Uwe Stöhr
ec1c2253ad German UserGuide.lyx: fix a typo spotted by a user
Signed-off-by: Uwe Stöhr <uwestoehr@lyx.org>
2012-04-15 05:41:03 +02:00
Uwe Stöhr
fea4cfbbd7 status.20x: fix 2 typos; Richard, can you please revise the now invalid info about SVN in the header? 2012-04-15 04:22:02 +02:00
Pavel Sanda
4966ef4b22 * cs.po 2012-04-12 17:18:56 +02:00
Kornel Benko
8acf40e4d8 * sk.po
correct translations of "extension"
2012-04-12 15:45:22 +02:00
Richard Heck
185f3aeb35 Remerge strings. 2012-04-12 07:51:53 -04:00
Kornel Benko
0210aaaf28 * sk.po
Reworked messages and shortcuts
2012-04-12 11:30:39 +02:00
Pavel Sanda
e67f402cec Compile fix 2012-04-11 21:11:06 +02:00
Enrico Forestieri
99fe8ef2ba Use the right latex backend when a converter needs aux files.
If a converter specifies the needaux flag, latex (or xelatex) is
always run to produce the needed auxiliary files. This is wrong
because there are documents that can only be compiled with a specific
backend and thus the conversion may fail. On the other hand, even if
the document specifies the backend to be used, LyX ignores this info.

This commit rectifies this behavior by letting LyX run the same flavor
of the latex backend that shall be used for previewing the document
also for producing the auxiliary files.

(cherry picked from commit 3285ce1d5c)

Conflicts:

	src/Converter.cpp
2012-04-11 20:32:27 +02:00
Peter Kümmel
229fa2cd88 clang: std::string is used here, fwd is not enough
(cherry picked from commit f41057cae6)
2012-04-09 15:17:17 +02:00
Vincent van Ravesteijn
036e0c2abd Fix bug #8114: LyX does not retrieve negative bbox parameters
LyX fails to read the bounding box from an EPS file if it has
negative values. Adjusting the regex will overcome this problem.
Negative values do not pose big problems later on, but the GUI
doesn't handle it correctly yet (see bug #5718).

(cherry picked from commit f0754582b8)
2012-04-09 15:17:07 +02:00
Vincent van Ravesteijn
a6399dcd84 Fix a copy-paste error introduced in b754fb02
(cherry picked from commit 91bc04946f)
2012-04-08 23:33:29 +02:00
Richard Heck
25246819de Backport the following from trunk:
29cf7af6d3
		8dd436b7dc
		7c5f28ad26
This fixes issues with empty paragraphs in XHTML output.
2012-04-08 10:20:11 -04:00
Uwe Stöhr
c5c0a289f5 uk.po: remove duplicate entries (avoids some strange compiler errors) 2012-04-07 03:33:42 +02:00
Uwe Stöhr
4d9c273d02 uk.po: translation update by Yuri 2012-04-07 03:15:23 +02:00
Pavel Sanda
baffd3d5f1 Backport part of fi.po (#8115) 2012-04-07 01:58:23 +02:00
Pavel Sanda
0a62b759dc remerge fi.po 2012-04-07 01:56:32 +02:00
Pavel Sanda
cf425d20a9 Fix correct revision date for fi.po
(faulty remerge at r36365 - cae12168a4; more smaller mistakes still there)
2012-04-06 02:33:42 +02:00
Pavel Sanda
4344b88fee * NEWS 2012-04-04 14:53:23 +02:00
Richard Heck
b82a856a32 Make index comparisons for XHTML output case insensitive. 2012-04-03 17:57:01 -04:00
Richard Heck
8558d84d4d Clear local layout before reading BufferParams. Otherwise, you can't
delete the local layout.
2012-04-03 15:58:06 -04:00
Richard Heck
6b5e8b3e83 Sorry, I didn't mean to include this change from trunk.
That said, Julien, if you see this, is that something we
should think about backporting?
2012-04-01 18:32:10 -04:00
Richard Heck
858ccc413f Backport fix for bug #8107. We need to invalidate the file
cache, not just the BibInfo cache, when we create a new BibTeX
inset.

Conflicts:

	src/insets/InsetBibtex.cpp
2012-04-01 18:28:55 -04:00
Uwe Stöhr
3c2c0c182f Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-03-28 22:51:50 +02:00
Uwe Stöhr
44ee575562 beamer.layout: fix #8094 also for branch 2012-03-28 22:51:36 +02:00
Kornel Benko
f80e4bd6d8 * sk.po 2012-03-27 16:08:33 +02:00
Richard Heck
e5c8f33be7 Clean up the include_bib script a bit. 2012-03-26 12:07:46 -04:00
Jean-Marc Lasgouttes
f98bb89227 Better support for (Lua|Xe)TeX files in tex2lyx
When one of the packages specific to these engines are used in the TeX file:
* set default encoding to utf-8
* set \use_non_tex_fonts to true

This is a hand-made backport of svn commit r40765.
2012-03-26 16:10:31 +02:00
Juergen Spitzmueller
7f73be8a0c de.po: update 2012-03-26 12:53:35 +02:00
Juergen Spitzmueller
fc90e98298 Forgotten string change. 2012-03-26 12:42:18 +02:00
Juergen Spitzmueller
0ee5c1919a Beamer supports \subsubsection. Add to layout. 2012-03-26 12:33:37 +02:00
Enrico Forestieri
ae06825513 status.20x for last commit.
I first used cherry-pick, then tried to modify status.20x but there
was no way I found to proceed from there. So, to be able to come
out form this situation I reverted the changes to status.20x,
pushed the cherry-picked revision and then committed the changes
to status.20x.

Let me say that git is way too much complicated to be really useful.
2012-03-25 15:49:10 +02:00
Enrico Forestieri
f731a65507 Fix bug #8098
The Windows shell cannot have a UNC path as the current directory.
However, using pushd to change to the same directory automatically
maps the UNC path to a drive letter and thus it works.

Note that when calling cmd.exe from a UNC path there are still
warnings about the UNC path, but the command is then successfully
executed because the current directory is set to something digestible
by the shell.
(cherry picked from commit b907a0dc7c)
2012-03-25 15:36:51 +02:00
Vincent van Ravesteijn
c32c85c140 Fix monolithic build (bug #8079) 2012-03-24 15:33:34 +01:00
Vincent van Ravesteijn
87d97322ef Fix more possible crashes due to asInsetRef()
InsetMathHull has no method asInsetRef() and returns therefore 0.

See also 5bd68605.
2012-03-24 11:12:42 +01:00
Richard Heck
5bd68605df Backport fix for bug #8095.
The crash was due to the otherwise innocent looking 07924ac300. The cast
Vincent replaced was already wrong---it seems to have been a thinko in
7bbd67eb2679---but it worked kind of by accident before. Now it crashes.
2012-03-23 14:43:41 -04:00
Lars Gullik Bjønnes
862060f041 Setup .gitignore for generated files, now for branch. 2012-03-23 14:14:34 -04:00
Uwe Stöhr
5a2447ceda GuiTabular.cpp, InsetTabular.cpp: remaining issues I forgot in previous commit 2012-03-21 22:38:02 +01:00
Uwe Stöhr
6f5ea2ae47 GuiTabular.cpp: fix bug #8092 also for branch 2012-03-21 21:50:34 +01:00
Pavel Sanda
ba333248f3 * cs.po 2012-03-21 18:02:50 +01:00
Vincent van Ravesteijn
3c78445234 Remove duplicated entry from status.20x 2012-03-19 19:29:38 +01:00
Vincent van Ravesteijn
cddd90dfdf Fix bug #8083: Fix the selection of cells below multirows
Multirows were introduced in 8bb69f24 (Uwe Stoehr, 11 Feb 2010). In the
computation of the nearest cell, it was forgotten to account for the
vertical offset. tabular.cellHeight is the full height of the cell, while
the point that comes from the coordCache is offsetted by VOffset.
Therefore, we have to subtract the VOffset from o.y_.
2012-03-19 19:29:37 +01:00