Commit Graph

2308 Commits

Author SHA1 Message Date
Richard Heck
0787ade6c0 This is the first part of a cleanup of how we handle the InsetCommand hierarchy. This part starts to disentangle the type of the inset from the command that a single instance of the inset represents. This involves two sorts of changes:
(i) The file format is changed, so that command insets are represented as:
    \begin_inset CommandInset insetype
    LatexCommand command
    ...
    \end_inset
This involves some lyx2lyx and changes to the readInset() routine in factory.cpp
(ii) The InsetCommand and InsetCommandParams classes also have to be changed, as the command name was used in these classes for various purposes for which the inset type ought really to be used.
Further clean-up to come.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 18:24:18 +00:00
Bo Peng
7329719bec Make sure a textclass.lst will exist even when configure.py fails. Part of Bug 2829, port from branch to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20519 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 16:26:49 +00:00
Uwe Stöhr
0f61e68ba7 preamble cleanup for the docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20506 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 21:07:43 +00:00
Uwe Stöhr
f1fb624bae Spanish UserGuide.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20502 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 19:05:43 +00:00
Richard Heck
3841e65c85 Documentation for modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20499 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 18:24:36 +00:00
Jürgen Spitzmüller
f367964247 * lib/layouts/ams*.layout:
* lib/layouts/ams*.inc:
	- updates from Paul A. Rubin.

Maybe some tweaks for 1.6 are still needed (e.g. counters).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20496 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 16:38:56 +00:00
Jürgen Spitzmüller
6787303a26 add Paul A. Rubin to the Hall of Fame.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 14:15:15 +00:00
Uwe Stöhr
519b50b51b UserGuide.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20474 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 17:54:48 +00:00
Uwe Stöhr
3f913e10a8 UserGuide.lyx: add last missing description: auto begin/end option in the preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 17:27:31 +00:00
Uwe Stöhr
c5372ca60e lyx2lyx/lyx_1_6.py: add conversion routine I forgot in r20462
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 14:37:10 +00:00
Uwe Stöhr
3ab8eef56a lyx2lyx/lyx_1_4.py: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:46:40 +00:00
Uwe Stöhr
b7d0510502 Fileformat increased to 287: support for optional arguments of package wrapfig that is used for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:43:58 +00:00
Uwe Stöhr
011459ce46 - increase fileformat to 286: this has been forgotten in Pavel's PDF-support patch
(besides this, note that the fileformat change to 285 is not yet documented in FORMAT)

- lyx2lyx/lyx_1_6.py: fix routine to revert the PDF-support stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 12:39:31 +00:00
Uwe Stöhr
abe5624b74 Spanish UserGuide.lyx: correct description of ligature break (by Ignacio)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20447 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 10:19:51 +00:00
Richard Heck
5aec75f931 Add module to create hanging paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-23 05:46:22 +00:00
Richard Heck
8f4b99167c Disallow setting of alignment in protected environments, where it is broken. And, as earlier discussion revealed, it ought not really be done, anyway. This is a class-level decision.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20438 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 18:02:43 +00:00
Richard Heck
0e4e230f01 Remove redundant AlignPossible lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20437 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 18:00:36 +00:00
Jürgen Spitzmüller
a418607505 * lib/layouts/beamer.layout:
- add plain title layout (bug 3133)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20436 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 16:36:18 +00:00
Uwe Stöhr
20ff88b3fe German EmbeddedObjects.lyx: use this as test file for the new PDF-support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20433 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 13:16:34 +00:00
Richard Heck
ee40d49bea font-code --> font-typewriter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20418 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:01:53 +00:00
Uwe Stöhr
b59e14bdff Spanish UserGuide.lyx: final translation from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20416 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 19:14:33 +00:00
Richard Heck
a1a395d4e7 Missing things in lyx2lyx from PDFOptions commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20393 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:57:23 +00:00
André Pönitz
21f0dd25f1 Pavel Sanda's "PDFOptions" patch, part II
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20390 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:32:20 +00:00
Uwe Stöhr
ee7f8d4665 Spanish UserGuide.lyx: translations from Ignacio
UserGuide.lyx: small cleanups

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20388 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 21:51:27 +00:00
Uwe Stöhr
5cc580f0bf Spanish EmbeddedObjects.lyx: Spanish translation by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20385 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 20:00:06 +00:00
Richard Heck
aa01777060 Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move to character-style-based font changes, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 18:02:39 +00:00
José Matox
1a221943db Fix handling of cjk_encoding for documents made with versions older than 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20380 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 16:12:47 +00:00
Uwe Stöhr
22417091f3 UserGuide.lyx: Paths setting menu in preferences is Windows only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20377 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 11:54:09 +00:00
Richard Heck
b70b3e68d0 Whitespace fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20367 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:02:53 +00:00
Richard Heck
e8da1771f2 Introduce LFUN_MASTER_BUFFER_VIEW and UPDATE. Code by Tommaso Cucinotta.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20366 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 05:00:23 +00:00
Martin Vermeer
9417258ebb fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20355 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 08:32:56 +00:00
Uwe Stöhr
ec88078c11 German Tutorial.lyx: fix path name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20352 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 19:56:00 +00:00
Richard Heck
ab4c1039c5 Update makefiles from a previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20345 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 17:02:15 +00:00
Richard Heck
df08a4e4b8 Move logical markup to a module, per Martin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 16:29:38 +00:00
Richard Heck
8a42fa39c2 Add a note to the theorem module descriptions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20341 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 16:27:14 +00:00
Richard Heck
c7e92d1cff Remove endnote from stdcustom.inc, as it is now in the endnotes module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20340 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 16:24:36 +00:00
Richard Heck
1da3290453 Add decoration to endnotes module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20339 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 16:23:46 +00:00
Martin Vermeer
f390780a35 Units corrections, all Georg's noticed problems
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20337 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-18 15:04:58 +00:00
Uwe Stöhr
f69e03ae89 UserGuide.lyx: correct description of date format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 21:32:36 +00:00
Jürgen Spitzmüller
85f83a9df8 * lib/ui/stdmenus.inc:
- tag "Box" entry with [[Menu]] (bug 4196)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20321 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 14:19:23 +00:00
Uwe Stöhr
ce1c4adaa7 EmbeddedObjects.lyx: new section about scaled and rotated material
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20312 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 12:46:50 +00:00
Bo Peng
93196b1f73 Embedding: add a check box to InsetGraphic and show/change embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 18:31:32 +00:00
Martin Vermeer
0ea6f2c7f1 Support for units and fractional units with values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 16:39:51 +00:00
José Matox
dbe7b13f65 lyx2lyx: use parseopt instead of getopt (the documentation of options
is kept in sync with its usage)

LyX.py:  make source more readable, place whitespaces, break long
         lines, add documentation strings, etc.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20279 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 14:37:14 +00:00
Richard Heck
a94654fb33 Bad encoding in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20269 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 01:07:37 +00:00
Richard Heck
a8c3af6ddf Update info on me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 01:05:32 +00:00
Uwe Stöhr
62a9ce0dd6 amsmaths.inc: fix copy and paste bug spotted by Georg, see http://www.lyx.org/trac/changeset/20257
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20264 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 18:33:06 +00:00
Enrico Forestieri
e402c1467e Darken vertical stroke on + sign as it disappears on some graphic cards.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20260 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 13:08:07 +00:00
Uwe Stöhr
c5302d6e70 Customization.lyx: revise Converters, Copiers and Formats section
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20252 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 01:14:55 +00:00
Uwe Stöhr
aa9fb47688 - UserGuide.lyx: finish the beast!
Only this issue is open, help needed!:
   http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg127198.html

- German UserGuide.lyx: fix typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 01:12:56 +00:00