Commit Graph

5257 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
099394c230 * lyx_2_0.py: fix revert_xetex method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37570 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 09:26:33 +00:00
Jürgen Spitzmüller
5a2121f77e Check for fontspec an configure the GUI accordingly.
If fontspec is not found, the "Use non-TeX fonts" checkbox is disabled, and the tooltip hints at installing the package.
Also add fontspec to LaTeXConfig.lyx, documenting that v2 of the package is needed for LuaTeX support.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37567 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 08:23:11 +00:00
Richard Heck
c376379908 Fix the other part of #7289, concerning the Front_Matter style. Of course,
\frontmatter is a command.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37566 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 23:04:00 +00:00
Richard Heck
6b35c79b40 Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
some of the files that include it redefine chapter by cut-and-paste from
stdsections.inc. Not very clean. So now svnjour.inc doesn't do this, and
the journal files that include it declare "NoStyle Chapter" themselves. This
also allows some simplification of the sv book classes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 23:02:13 +00:00
Richard Heck
c87c5ee46a Fix up some comments, and change the recursive call to match the new
signature.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 00:13:32 +00:00
Richard Heck
b26fc9ff62 Get rid of the global lyx2lyx variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37558 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 00:10:19 +00:00
Richard Heck
495558b5fd Factor out the routine that finds lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37557 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-08 00:07:47 +00:00
Richard Heck
620cd90aa3 Very minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37555 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 23:48:29 +00:00
Richard Heck
10bedbd268 Introduce options for the lyxpak script, allowing the user to choose whether
to create a zip or a tar.gz, to provide the output directory as an option, 
and also to specify the location of the lyx2lyx script as an option.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 19:38:44 +00:00
Pavel Sanda
e8614f9cd2 Stray commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37535 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 01:50:34 +00:00
Pavel Sanda
acc7437ec4 Updates from Jean Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37532 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 01:02:34 +00:00
Enrico Forestieri
21dd835f9d Don't rely on external utilities and use python modules for creating
a LyX archive. A zip archive is created on Windows and a gzip compressed
tar archive on *nix, as those are the de facto platform standards.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37525 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 23:45:03 +00:00
Enrico Forestieri
83f181c02f lyxpak.py has to operate on the original file, not the one in the tmpdir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37517 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 19:09:54 +00:00
Enrico Forestieri
bf6c45dd09 Protect against multiple occurrences of the common prefix.
For example, if the common prefix is only the root '/'.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37516 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 18:35:27 +00:00
Jürgen Spitzmüller
08b51ae5bd * fr/FeynmanDiagrams.lyx: update by Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37514 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 17:55:24 +00:00
Richard Heck
5577b5c6f0 Add lyxpak.py to the distribution, and configure it appropriately for export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 14:50:06 +00:00
Stephan Witt
3990ca09b4 adjust my contributions record
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 08:21:45 +00:00
Jürgen Spitzmüller
e82b424b34 * de/UserGuide.lyx: update from Hartmut.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37482 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 07:51:15 +00:00
Jürgen Spitzmüller
839213e389 fix lyx2lyx after r37471.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37477 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 07:35:12 +00:00
Edwin Leuven
119ea9cd24 support for tabular*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 23:11:26 +00:00
Georg Baum
413f1381ed Fix wrong script permissions and missing shebang line (bug #7276)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37467 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 21:15:58 +00:00
Jürgen Spitzmüller
345a14ef09 d'oh!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37460 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 15:38:22 +00:00
Jürgen Spitzmüller
f27d5aa9ae * Allow to set language package on a per-document basis (fixes bug 2909).
File format change. Commit approved by Pavel on trac.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37457 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 14:17:31 +00:00
Jürgen Spitzmüller
5acfd783f8 * lib/Makefile.am: add missing file (bug 7277).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37447 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 08:04:46 +00:00
Jürgen Spitzmüller
37a1bc0a87 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37446 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 07:14:00 +00:00
Richard Heck
e1bfa81049 Hmm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37442 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 01:52:24 +00:00
Richard Heck
1aa12f16e7 Make achemso more usable by including stuff that goes into the preamble, now that this is possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37440 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:27:19 +00:00
Richard Heck
08c312f2ac Docs for latest layout changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37438 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:11:07 +00:00
Richard Heck
82b9adcea2 We never use numbers here, but others might.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37437 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:00:57 +00:00
Richard Heck
636440b8a8 Finally, disentangle IsPredefined and UsesFloatPkg. Now achemso gives us
the option to insert a List of Schemes, etc.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37436 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:57:00 +00:00
Richard Heck
6d1820b863 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37434 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:39:03 +00:00
Richard Heck
36d9c863ad The achemso class provides the float package internally.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37432 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:31:13 +00:00
Richard Heck
f9b4dde589 Update all layouts to format 33.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37431 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:29:32 +00:00
Richard Heck
4c95238626 Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag
IsPredefined.

The point of this is that the current tag is doing both of these jobs,
and they are different. The achemso class shows this, since it uses
float.sty to define three different kinds of floats internally. We have
to set NeedsFloatPkg to false to prevent LyX from trying to redefine
them, but then we complain that there is no list command defined and so
do not enter it in Insert>List/TOC.

The new tag is not yet functional, just there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37430 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 22:28:47 +00:00
Jürgen Spitzmüller
c29fdcb0a7 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37426 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:26:40 +00:00
Richard Heck
41d858b88c Update all layouts to format 32.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37425 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:13:37 +00:00
Richard Heck
32ab2ff2b7 Fix bug #7224. This allows two different floats to declare the same
ListCommand without our writing it to the menu twice. There's a minor
annoyance, which is that we always take the list name from the first
declaration of the Float, but it's not clear whether this is a real
issue.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 17:11:56 +00:00
Jürgen Spitzmüller
c3ed49dd92 * configure.py: check also for xindy, which is a reasonable alternative to texindy and makeindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 16:12:35 +00:00
Georg Baum
cfc81ea3d7 Disable preview converters that need dv2dt if dv2dt is not available.
This gives a better error message on the console (although it is still
impossible to figure out what went wrong from the GUI).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37407 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-01 20:03:01 +00:00
Jürgen Spitzmüller
55a998a7ea * enumitem.module: refer to mirror CTAN address, not to DANTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37393 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-01 09:34:37 +00:00
Richard Heck
14f0e15573 Convert converter preferences to use new "latex=flavor" syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37389 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-31 19:42:50 +00:00
Enrico Forestieri
6919ddf078 Bump layout format for the new Display tag used in Comments and Greyedout notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 22:22:18 +00:00
Enrico Forestieri
1ef605f625 Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-29 02:41:13 +00:00
Pavel Sanda
68393ecd7d Add Tommaso to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37356 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 23:06:05 +00:00
Richard Heck
5123774bd1 Fix lyx2lyx problem with sweave files and ParBreakIsNewline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37353 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 19:48:03 +00:00
Pavel Sanda
b2d2fdf1ee Thanks to Jose.
BTW I see some people like Stephan have quite up-to-date entries :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37352 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 14:53:37 +00:00
Pavel Sanda
3b47546b99 Update info in credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37351 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 14:45:08 +00:00
Edwin Leuven
023c4872c5 update totem correctly (and revert r37349)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37350 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 14:28:11 +00:00
Edwin Leuven
bb1c6c1a6a update my totem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37349 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 14:02:52 +00:00
Pavel Sanda
79b6602190 Add Patrick to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37346 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:05:01 +00:00
Pavel Sanda
0bdd36fe8f Another glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37345 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:59 +00:00
Pavel Sanda
45a6a545e2 Bug in fixltx2e entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37344 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:57 +00:00
Pavel Sanda
db7c388b92 Add the rest into LaTeXConfig.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37343 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:55 +00:00
Pavel Sanda
42785e6219 Bug #7095: Support fix-cm.sty
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:52 +00:00
Jean-Marc Lasgouttes
fe54f0c341 Finish fixing bug #6623 (Sweave cannot read local files)
* in converters, make sure that $$p and $$r are slash-terminated paths (like in viwers, BTW)
* pass the full intput path to lyxsweave.R


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37337 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-27 11:14:32 +00:00
Pavel Sanda
58c02a5e5b * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37331 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-26 18:24:53 +00:00
Jean-Marc Lasgouttes
8a84eeb27a forbid spellchecking in code layouts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37324 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 14:17:07 +00:00
Pavel Sanda
297a74b7ad MS Word converter -> HTML (MS Word) converter
Patch from Alex Fernandez.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37321 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-25 10:26:29 +00:00
Pavel Sanda
85e11a9bb8 Spotted by Jim.
These newlines go directly to about dialog and look weird.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37315 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 10:47:01 +00:00
Pavel Sanda
dc0d885f8f Update credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37308 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 09:18:24 +00:00
Georg Baum
9129b73497 Make r37304 work for builds made from packaged sources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37305 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 19:57:39 +00:00
Edwin Leuven
edf0e85f4b add busy spinner to status bar when threads are running in the background
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37304 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-23 09:17:52 +00:00
Georg Baum
87944eedc7 The roundtrip of the math manual produces a compilable document now:
- translate the arguments of \texorpdfstring, so that the floating footnote
  code gets enabled
- honor the ForcePlainLayout flag of insets like the Index inset
- remove hardcoded \url support, this is handled by the general Flex inset code


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37297 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-22 12:00:33 +00:00
Enrico Forestieri
dc8adcf1ba Extend instant-preview error handling to the lilypond-book format.
Patch tested by Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37290 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 22:52:03 +00:00
Georg Baum
85d2c53532 handle commands from xargs.sty correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37289 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 21:21:58 +00:00
Georg Baum
3b90652edc Fix python error:
UnboundLocalError: local variable 'elyxerfound' referenced before assignment


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37286 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 18:23:32 +00:00
Pavel Sanda
1246a70abd Update years
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37284 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 13:24:23 +00:00
Pavel Sanda
2e4c3f98ad Removing support for eLyXer as a module
Patch from Alex Fernandez.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165022.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37279 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 00:47:13 +00:00
Enrico Forestieri
46cb01a5e0 Fix bug #6720 (Better error handling of instant preview)
Patch from Ale revised by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37274 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 23:39:08 +00:00
Richard Heck
06ee6bde14 Fix bug #7214 as best we can. The point here is that we only
want to add the \clearpage if the class has chapters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37266 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:38:41 +00:00
Richard Heck
924ac8a5a1 Fix several layout related problems revealed by -dbg tclass.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37265 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-20 16:28:42 +00:00
Georg Baum
96bcf145d9 Fix conversion of nested box insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-19 22:04:45 +00:00
Richard Heck
7e7f98532d Silly typos. Thanks, Stephan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37256 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 23:11:27 +00:00
Richard Heck
18a015081b Update prefs2prefs again. Thanks Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37255 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 19:35:54 +00:00
Richard Heck
bc176dc904 Add conversion of \language_use_babel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37254 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 16:50:43 +00:00
Richard Heck
e5b25ce78e Update all of our bind and ui files to format 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:42:27 +00:00
Richard Heck
8f207c5736 Thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37251 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:40:07 +00:00
Richard Heck
054dfe3c00 Improve the prefs2prefs scripts a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:37:20 +00:00
Richard Heck
dfb67984f2 Conversion routines for preference files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37233 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 20:28:43 +00:00
Richard Heck
f97bc9b9e7 A little more work on prefs2prefs.
More to come, Pavel!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37225 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-16 03:59:43 +00:00
Pavel Sanda
aac2310ea0 Some very old spots from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:51:20 +00:00
Pavel Sanda
a33aa0632d Make sweave example working. Patch from Liviu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37220 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:30:02 +00:00
Pavel Sanda
9d76ec23d5 Add comment to sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37219 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:11:02 +00:00
Richard Heck
1b98ec3e99 Don't need these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-14 18:25:00 +00:00
Richard Heck
b0676249eb Update to documentation concerning unavailable packages, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37208 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:25:10 +00:00
Richard Heck
b0eaa25e77 Doc for NoCounter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37202 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 15:52:59 +00:00
Richard Heck
874e867953 Update all layouts to format 31.
Should have done this first!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:20:07 +00:00
Richard Heck
a9411446ee Add NoCounter to layouts that need it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:19:02 +00:00
Richard Heck
d32ed4ff4e Add NoCounter lines to inc files that need them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 23:12:28 +00:00
Richard Heck
49436e4c2d Add NoCounter layout tag. When working on output of equation numbers, I
noticed that article, for example, still has a counter "chapter". This
surprised me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:53:41 +00:00
Georg Baum
acd57ccaaf Fix language handling in tex2lyx:
- Add missing babel synonyms (taken from a standard TeXLive 2010 install).
  Some synonyms might still be missing (if they are defined not by babel
  itself, but additional packages). Adding these is now simple: Only
  known_languages and known_coded_languages need to be touched.
- Translate babel language name arguments of \foreignlanguage and
  \selectlanguage to LyX names.
- Translate second argument of \foreignlanguage to LyX.
- Cleanup mixed language names in the preamble parser: Now all checks are
  done with LyX names, not a mix of babel and LyX names. This sets correct
  quotes even if the language as given as an alias.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 21:04:39 +00:00
Pavel Sanda
2e3953cb03 Update enumitem module and add documentation for it.
From Guenter Milde.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 10:12:14 +00:00
Richard Heck
47ca44e296 Record and use equation numbers. This is towards getting equation
numbering in XHTML output, but it's just as easy to fix this in the LyX
display.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37177 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-11 19:35:52 +00:00
Uwe Stöhr
c17d27e066 German Tutorial.lyx: change \overrightarrow to \vec as requested on the lyx-docs list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37153 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-08 19:15:43 +00:00
Pavel Sanda
23ac011dc8 Enumitem's "Labeling/LyX-List" should not change the original layout.
Patch from Guenter.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84689.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37150 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-07 22:18:43 +00:00
Uwe Stöhr
4cb349c468 stdmenus.inc: remove item that produced incorrect LaTeX code: a framed box can only have page breaks when there is no inner box, but this item created an framed box with a minipage as inner box _and_ allowed page breaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37142 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 23:53:32 +00:00
Uwe Stöhr
405348e416 Merge the AdvancedSearch.lyx file to the UserGuide.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37141 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 23:25:22 +00:00
Uwe Stöhr
e8d0e93a57 German EmbeddedObjects.lyx: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37130 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 16:29:56 +00:00
Uwe Stöhr
69463d7f13 EmbeddedObjects.lyx: description of new support for \includeonly , many thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 02:17:54 +00:00
Uwe Stöhr
7c2d216836 UserGuide.lyx: some changes by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37122 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-06 00:59:15 +00:00
Uwe Stöhr
bc8982e5e0 French EmbeddedObjects.lyx: updates from Siegfried
NOTE: this document is uncompilable due to #7211

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37119 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-05 23:34:32 +00:00
Georg Baum
812c27d793 Improve tex2lyx roundtrip of test-insets.tex:
- Replace special verbatim commands by standard LaTeX, since it would be
  extremely difficult to make tex2lyx understand them)
- Comment duplicated \bibliography{xampl}, since LaTeX cannot handle two
  \bibliography calls
- Fix a regression with spaces after commands, introduced in r36943
- Parse \multicolumn with space/comments between two arguments correctly
- Parse optional arguments correctly if there are space or comments between
  the command and the argument
- Remove duplicate "LyX" phrase handling (I overlooked that in r37052)
- Add new commands created with \let to the list of known commands. This is
  needed to parse the arguments correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 15:39:48 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Georg Baum
225c1dbe55 partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 12:07:58 +00:00
Jürgen Spitzmüller
0a34b1e047 fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 16:57:04 +00:00
Georg Baum
3cdb7d3062 fix parsing of test document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 21:12:40 +00:00
Georg Baum
84be0a0db4 fix parsing of \let: tex2lyx must not enclose the arguments with {}.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 20:15:24 +00:00
Pavel Sanda
f068c93eff Change 3.1.2.2 section title, so we have more clear pointer in error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36998 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:28:06 +00:00
Pavel Sanda
1caa7670d2 Missing dot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 23:20:15 +00:00
Uwe Stöhr
696ee1157d UserGuide.lyx: describe new branches features, thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 12:41:37 +00:00
Uwe Stöhr
61eeab7405 Math.lyx: new section about CAS support
Pavel, many thanks for this addition, but please always use cange-tracking if you modify manuals.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 03:03:41 +00:00
Uwe Stöhr
4fe5321be9 Customization.lyx: fix typo reported on the lyx-docs mailing list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:36:35 +00:00
Uwe Stöhr
9ad8527629 French Math.lyx: translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36919 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:54:40 +00:00
Uwe Stöhr
7a6198b114 - French UserGuide.lyx: translation updates by Siegfried
- UserGuide.lyx: fix some issues spotted by Siegfried

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:33:37 +00:00
Uwe Stöhr
c3a76fc0f2 Indonesian Shortcuts.lyx: new translation by Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 18:17:39 +00:00
Jürgen Spitzmüller
84e3417caf * scrclass.inc: \addpart, \addchap and \addsec have an optional argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36903 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:59:22 +00:00
Richard Heck
78f84fe020 The letter class supports quote, quotation, and verse, and surely the ---Separator--- might be wanted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 15:30:25 +00:00
Richard Heck
d1e0a0e4ed Allow customization of label string for note insets. We actually had
strings in the layout file, but they were not used.

Question: Should we just remove InsetNote::setButtonLabel() now? The
only purpose it is serving is to provide a backup in case no label is
defined.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:16:19 +00:00
Pavel Sanda
f659c8f420 Math.lyx - add small chapter about computer algebra systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 19:17:03 +00:00
Pavel Sanda
b7bca67010 Missing packages for configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 17:23:47 +00:00
Pavel Sanda
d38d4d2937 Leftovers for spreadsheet support.
Patch from Helge Hafting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36880 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 16:59:14 +00:00
Richard Heck
4c415f1150 Update XHTML info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 15:03:52 +00:00
Jürgen Spitzmüller
0f2cfd957e Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:58:07 +00:00
Jürgen Spitzmüller
d79902fe7d * languages: remove country code from farsi definition, since the aspell dictionary doesn't use it either (fix bug 7171).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:15:54 +00:00
Jean-Marc Lasgouttes
425f46bea5 * add an extra parameter to lyxsweave.py that tells the document directory
and use it to be able to read data files in there (bug #6623). It is probably possible to use sweave hooks instead of the module preamble. Moreover, I want to investigate the use of prefix.string argument of sweave to make sure that the output files end up in the tmp dir.
  * be more subtle in the way to change default encoding to handle the case where a data file that is read does not use the same encoding as the .rnw file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:25:57 +00:00
Jean-Marc Lasgouttes
8c6ce63595 Do not use the --vanilla option of Rscript, since it can
cause unexpected errors (like locally installed packages
not found).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 21:09:53 +00:00
Georg Baum
7ba8c1d542 Fix bug #3333: LyX gives a stupid error message when trying to convert xfig
files to eps/pdf. With this fix, you get the usual "No information for
converting ..." message.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 18:14:16 +00:00
Jürgen Spitzmüller
33f4ea26a5 * actually record rtf and doc viewers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36825 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 14:48:52 +00:00
Uwe Stöhr
9cf4dfda3e Indonesian UserGuide.lyx: more translations from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 05:48:03 +00:00
Uwe Stöhr
6a07084315 Indonesian UserGuide.lyx: new translation from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 20:50:30 +00:00
Uwe Stöhr
00e09baca1 Math.lyx, EmbeddedObjects.lyx: fix two issues spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 19:55:09 +00:00
Uwe Stöhr
aa20f0ddba Spanish EmbeddedObjects.lyx, Math.lyx: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 19:22:03 +00:00
Uwe Stöhr
61e19695c8 chkconfig.ltx: add hhline - was a leftover from r36786; LaTeXConfig.lyx entry still missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:44:07 +00:00
Pavel Sanda
8dabf14050 Recognize the COMBINING GREEK PERISPOMENI character, part of bug #6463.
Patch from Guenter Milde.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164217.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:33:41 +00:00
Richard Heck
a522fc683a Leftover from r36789.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 12:46:28 +00:00
Uwe Stöhr
5f30c8be67 UserGuide.lyx: describe the new font features as well as LuaTeX and improve description of XeTeX (many thanks Jürgen!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 06:19:52 +00:00
Richard Heck
c51838d3c9 Submenu for box insertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 13:01:59 +00:00
Pavel Sanda
a978795215 After more attempts add gnumeric support.
Patch from Helge Hafting.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164180.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 01:19:13 +00:00
Jürgen Spitzmüller
be3625dceb * thesis.lyx: revert unintended changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 19:32:56 +00:00
Enrico Forestieri
68e455e7f2 Fix bug #7127 (Broken context menu for ERT insets)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 18:41:04 +00:00
Jürgen Spitzmüller
15685fe5cb do \addto\extras \AtBeginDocument, which is after polyglossia, if this package is used.
Fixes the \addto conflicts with polyglossia.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36774 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 16:24:12 +00:00
Enrico Forestieri
82643027ed Remove bogus line from lib/autocorrect. Fixes bug #6261.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36765 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 20:10:41 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Richard Heck
6fd0260f0f MultiPar before these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36707 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:57:32 +00:00
Richard Heck
42f6c44f6b Don't use prettyref here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36705 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:43:22 +00:00
Georg Baum
d8449f5392 fix scripts in classic.ui as well
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36700 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:03:30 +00:00
Richard Heck
023db84004 Fix #7129: No multipars in phantoms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36698 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 20:21:02 +00:00
Georg Baum
cff0f635cc fix endless loop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36695 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:27:35 +00:00
Pavel Sanda
4efd89fe83 Fix credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36692 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:28:35 +00:00
Pavel Sanda
1be4688617 Add ref in instant_preview.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36691 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:19:33 +00:00