Commit Graph

5198 Commits

Author SHA1 Message Date
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