Jürgen Spitzmüller
a125dab7fd
* lyx_1_6.py:
...
- fix typo in new helper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24366 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-19 17:03:21 +00:00
Bo Peng
76d272da30
Embedding: revert embedding options and extra_embedded_files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24328 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-18 17:06:03 +00:00
Edwin Leuven
448bc037a0
fix index problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24319 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-17 21:12:24 +00:00
Uwe Stöhr
7fa7e2a9d9
languages: support for Mexican Spanish as discussed in http://bugzilla.lyx.org/show_bug.cgi?id=4736
...
fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-16 00:25:08 +00:00
Richard Heck
58d58dfe55
Try to fix the PlainLayout issue a bit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 17:59:01 +00:00
Richard Heck
27dd040f6d
PlainLayout is now Plain Layout.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24272 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:53:35 +00:00
Richard Heck
fa9959fd41
Check for Plain Layout as well as for Standard in these cases. We should always do this in the 1.6.x lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:52:01 +00:00
Richard Heck
5ae2f40671
Fix bug 4737.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24269 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 15:41:14 +00:00
Jürgen Spitzmüller
0fab956f4a
* lib/lyx2lyx/lyx_1_6.py:
...
- fix reversion when hyperref is _not_ selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-15 14:02:42 +00:00
Uwe Stöhr
17c3888d25
lyx2lyx: lyx2lyx: lyx_1_6.py, parser_tools.py:
...
add some comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:54:30 +00:00
Uwe Stöhr
c594c4d561
lyx2lyx: lyx_1_6.py, parser_tools.py:
...
add a conversion routine for the PDF options, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4612
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-12 13:48:17 +00:00
Jürgen Spitzmüller
345be8a6d0
* lib/lyx2lyx/lyx_1_6.py:
...
- put in a reversion for the embed tag of InsetExternal as close as possible to the
actual change. This fixes the reversion of documents with external insets to 1.5,
but still leaves a range of invalid file formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24239 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 17:20:59 +00:00
Jürgen Spitzmüller
5997d41b38
** support pdfpages via external inset **
...
* development/FORMAT:
* src/Buffer.cpp:
- format incremented to 326
* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- support pdfpages
* lib/external_templates:
- add template for pdfpages
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion routine.
* lib/configure.py:
- fix call to "pdftops --eps"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
José Matox
bfdee3f1cd
Fix invalid mix of int and strings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24092 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-02 12:03:09 +00:00
Uwe Stöhr
30663a8019
Fileformat change.
...
Provide only one Japanese language that is encoding independent, patch partly by Koji Yokata.
This fixes http://bugzilla.lyx.org/show_bug.cgi?id=4597
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24053 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-29 23:25:40 +00:00
Jürgen Spitzmüller
c876a2e7c7
Merge the two linebreak insets into one.
...
* src/Buffer.cpp:
- file format change to 324
* development/FORMAT:
- document file format change
* src/insets/InsetNewline.{cpp,h}:
- the former two separate derivates are now merged into one inset
with proper Params and Mailer. This simplifies the structure and allows for
switching between the two kinds.
* src/Text3.cpp:
- The newline insets are now being generated with
newline-insert [newline|linebreak]
* src/factory.cpp:
* src/Text.cpp:
- Newline inset is now a proper inset with opening and closing tag.
* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetTabular.cpp:
* src/mathed/InsetMathGrid.cpp:
* src/mathed/InsetMathHull.cpp:
- remove LFUN_NEW_LINE, LFUN_LINE_BREAK,
add LFUN_NEWLINE_INSERT
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion and reversion routines for newline insets.
* lib/ui/stdmenus.inc:
* lib/ui/stdcontext.inc
- adapt menu and add context menu to switch between newpage variants.
* lib/bind/*.bind:
- adapt to new lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-26 08:10:01 +00:00
Jürgen Spitzmüller
e8ffafef99
* lyx_1_6.py: attempt to fix the make install problem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 19:10:04 +00:00
Jürgen Spitzmüller
d2a4c97ab8
Merge the diverse newpage insets into one.
...
* src/Buffer.cpp:
- file format change to 323
* development/FORMAT:
- document file format change
* src/insets/InsetNewpage.cpp:
- the former four separate derivates are now merged into one inset
with proper Params and Mailer. This simplifies the structure and allows for
switching between the various kinds.
* factory.cpp:
- The newpage insets are now being generated with
newpage-insert [newpage|pagebreak|clearpage|cleardoublepage]
* src/Text.cpp:
- Newpage inset is now a proper inset with opening and closing tag.
* src/FuncCode.h:
* src/LyXAction.cpp:
* src/Text3.cpp:
* src/insets/InsetCollapsable.cpp:
- remove LFUN_PAGEBREAK_INSERT, LFUN_CLEARPAGE_INSERT
and LFUN_CLEARDOUBLEPAGE_INSERT
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion and reversion routines for newpage insets.
* lib/ui/stdmenus.inc:
- adapt menu and add context menu to switch between newpage variants.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-25 09:26:03 +00:00
Richard Heck
700af7e701
Add support for document-local layout information. GUI is to follow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:31:07 +00:00
José Matox
7535cabd60
Normalize the begining of Tabular insets (+ cosmetics: remove spaces at the end of lines)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23823 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 09:40:24 +00:00
Edwin Leuven
57041a9b84
take care of superfluous space in 1.3 tabular format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-19 08:41:44 +00:00
José Matox
6c57005797
fix bug 4639
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 19:41:50 +00:00
Edwin Leuven
e01e14872d
Free line setting in tabulars. FILE FORMAT CHANGE.
...
- gets rid of the M_TOGGLE_LINE_... functions
- allows arbitrary clines without multicol
- sets arbitrary vertical lines through multicol
- drop row/col line properties, everything is now stored at the cell level
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 18:08:32 +00:00
Jürgen Spitzmüller
18101eea7b
** add support for protected horizontal fill. FILE FORMAT CHANGE. **
...
* src/Buffer.cpp:
- increment file format to 320.
* src/insets(InsetSpace.{cpp, h}:
- add HFILL_PROTECTED, a protected horizontal fill
(LaTeX: \hspace*{\fill})
* src/factory.cpp:
* src/frontends/qt4/GuiHSpace.{cpp, h}:
- handle the new space type.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- reversion routine for protected hfill.
* development/FORMAT:
- document file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23805 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-18 12:11:28 +00:00
Jürgen Spitzmüller
66afc03a54
* lib/lyx2lyx/lyx_1_6.py:
...
- fix convert_spaceinset routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23794 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:35:03 +00:00
Jürgen Spitzmüller
e14f384a2c
* lib/lyx2lyx/lyx_1_6.py:
...
- fix error in convert_subfig triggered by the User Guide.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 14:12:42 +00:00
Jürgen Spitzmüller
f2e8cd3cd9
*** File Format Change: UI and enhancement for InsetSpace ***
...
* src/insets/InsetSpace.{cpp,h}:
- merge in HFill inset, add support for dotfill, hrulefill,
hspace and hspace*
* src/insets/InsetHFill.{cpp,h}:
- remove
* src/frontends/qt4/GuiHSpace.{cpp,h}:
* src/frontends/qt4/ui/HSpaceUi.ui:
* src/frontends/qt4/GuiView:
- new GUI for Space insets.
* src/insets/Inset.{cpp,h}:
* src/insets/InsetCode.h:
* src/insets/InsetCollapsable.cpp:
* src/insets/InsetCommandParams.cpp:
- remove HFILL_CODE and LFUN_HFILL_INSERT, add SPACE_CODE where necessary,
new Inset member isStretchableSpace() to indicate HFill and friends.
* Buffer.cpp:
- increase format to 319
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines
* development/FORMAT:
- document file format change
* src/Makefile.am:
* src/frontends/qt4/Makefile.am:
* development/scons/scons_manifest.py:
- deal with UI changes.
* src/LyXAction.cpp:
- remove LFUN_HFILL_INSERT
* src/LyXFunc.cpp:
- handle space dialog.
* src/factory.cpp:
* src/Paragraph.cpp (isHFill):
* src/Text.cpp:
* src/Text3.cpp:
* src/TextMetrics.cpp:
- adapt to changes
* lib/ui/classic.ui:
* lib/ui/stdmenus.ui:
- add HSpace dialog, remove HFill.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-17 09:23:43 +00:00
Bo Peng
932998494b
Embedding: add option \extra_embedded_files to buffer params. This increase
...
LyX file format to 318. The Embedded files panel of document settings has
been simplied, with working add and remove buttons. Note that bease BufferParams
lacks buffer path information, extraEmbeddedFiles are vector<string>, instead
of EmbeddedFileList (as previously planned).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:04:14 +00:00
Uwe Stöhr
3db3b9930a
fileformat incremented to 317:
...
support for floating placement settings for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23394 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 17:12:22 +00:00
Uwe Stöhr
eb1b57f0f5
lyx_1_6.py: fix fileformat number
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23391 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 16:51:53 +00:00
Jürgen Spitzmüller
ac1977018b
** subfig support **
...
* src/Buffer.cpp:
* development/FORMAT:
- bump format to 316.
* src/insets/InsetFloat.{cpp, h}:
- let nested floats be subfloats
NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
- remove old subfigure support
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
- check for subfig instead of subfigure.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- conversion/reversion routines for subfig -> subfloats
NOTE: the reversion routine still has bugs.
* src/Counters.{cpp, h}:
- add identifiers for subfloats
* src/LaTeXFeatures.{cpp, h}:
- support for subfig
* src/TextClass.cpp:
- set up subfloat counter for all custom floats.
* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
- remove subfigure UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 11:30:50 +00:00
Jürgen Spitzmüller
ca6246e4da
* lib/lyx2lyx/lyx_1_5.py:
...
- implement wrapper around normalize that handles specific cases
that must not be normalized (rest of bug 3313).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-25 13:32:08 +00:00
Richard Heck
4ab6f265e9
Add support for column separation in page margins. Fixes bug 3337.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23059 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-19 05:24:48 +00:00
Jürgen Spitzmüller
0c6c52943b
* lib/lyx2lyx/LyX.py (get_encoding):
...
- handle the "utf8x" inputenc option (part of bug 4503).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-09 07:52:26 +00:00
Uwe Stöhr
a58f6d8025
lyx_1_6.py: remove the serial letter routine because due to r22811 more ERT would have to be converted. By the removal I follow the rule not to convert ERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:23:44 +00:00
Uwe Stöhr
427f0b739c
lyx_1_6.py: adjust the serial letter routine according to r22811
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-06 20:07:21 +00:00
Uwe Stöhr
886db92f82
enable the scrlttr 2 class for serial letters:
...
- file format change
- new example files and an example address database
- remove ugly hack from scrlttr2.layout and fix bug 4529
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22764 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-03 11:56:44 +00:00
Jürgen Spitzmüller
76c98826a2
* lib/lyx2lyx/lyx_1_4.py:
...
* lib/lyx2lyx/lyx_1_6.py:
- improve reversion method for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 09:59:37 +00:00
Richard Heck
df4634968a
Fix bugs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22506 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:43:44 +00:00
Richard Heck
d5d665482e
This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
...
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.
By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.
So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i) GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.
The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework.
I've also updated the module documenation to accord with this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Jürgen Spitzmüller
4b799833e7
*** Support for generic sideways floats ***
...
* src/Buffer.cpp:
- format is up to 312.
* src/LaTeXFeatures.cpp:
- add rotfloat.
* src/Insets/InsetFloat.cpp:
- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
- adjust GUI to the new features.
* lib/chkconfig.ltx:
- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
- add proper reversion method for sideways floats (this was missing).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Richard Heck
a8d2d891ee
Wow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 08:03:48 +00:00
Richard Heck
9f8bf4c9da
Dummy format change for AMS modularization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22470 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-10 07:22:43 +00:00
Jürgen Spitzmüller
a229a78dff
Support for \nocite* from Berhard Reiter. Increments file format to 210.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22327 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-28 16:56:57 +00:00
Richard Heck
2f22c881ee
Routine for adding modules to the list of modules. Preparatory for AMS modularization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22318 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-26 20:15:31 +00:00
Richard Heck
e285d2a7d8
Support for nocite, provided by Bernhard Reiter.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-20 15:46:14 +00:00
Uwe Stöhr
90c14f8c12
support for Serbian with Latin letters
...
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-13 23:29:56 +00:00
José Matox
73655dbbee
Add "default" to language list. (fixes a crash).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22066 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-10 18:51:54 +00:00
Jürgen Spitzmüller
4770eb8ae2
* lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):
...
- umlauts must be reverted to escaped forms.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:56:19 +00:00
Jürgen Spitzmüller
7feaac16d2
* lib/lyx2lyx/lyx_1_5.py:
...
- fix bug 4333.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-08 15:38:39 +00:00
Jürgen Spitzmüller
61e1643821
Support for \slash and \nobreakdash-
...
* src/lfuns.h:
* src/Text3.cpp:
* src/insets/InsetMathNest.cpp:
* src/insets/insetCollapsable:
- new LFUN_SPECIALCHAR_INSERT
- nuke LFUN_HYPHENATION_POINT_INSERT,
LFUN_LIGATURE_BREAK_INSERT,
LFUN_DOTS_INSERT,
LFUN_END_OF_SENTENCE_PERIOD_INSERT,
LFUN_MENU_SEPARATOR_INSERT
(functions now handled as arguments of the above)
* src/insets/InsetSpecialChar.{cpp,h}:
- implement \slash and \nobreakdash-
* src/Buffer.cpp:
- increment format to 307.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- reversion methods for SpecialChar \slash{} and
SpecialChar \nobreakdash-
* development/FORMAT:
- document file format change
* lib/ui/stdmenus.inc:
* lib/ui/classic.ui:
- add new SpecialChars to the menus, adapt lfuns to new scheme
* lib/bind/aqua.bind:
* lib/bind/cua.bind:
* lib/bind/emacs.bind:
* lib/bind/fi/menus.bind:
* lib/bind/mac.bind:
* lib/bind/menus.bind:
* lib/bind/sciword.bind:
* lib/bind/xemacs.bind:
- add shortcuts for new SpecialChars, adapt lfuns to new scheme
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21989 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 11:04:56 +00:00
Uwe Stöhr
d21c9a2c07
support for the language Interlingua
...
- fileformat change
(Interlingua was the last missing language supported by babel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21976 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 22:04:33 +00:00
Uwe Stöhr
fa37b1c4b1
support for the language Bahasa Malaysia
...
- fileformat change
- rename "Bahasa" to "Bahasa Indonesia"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 21:42:57 +00:00
Jürgen Spitzmüller
3582be1441
framed.sty goes InsetBox:
...
* src/insets/InsetBox.{cpp,h}:
* src/frontends/qt4/GuiBox.{cpp,h}:
* src/frontends/qt4/ui/BoxUi.ui:
- add and handle Framed and Shaded boxes
- use more descriptive label names
- implement name() function for Box:Shaded's sake
* src/insets/InsetNote.{cpp,h}:
* src/frontends/qt4/GuiNote.cpp:
* src/frontends/qt4/ui/NoteUi.ui:
- remove Framed and Shaded.
* lib/layouts/stdinsets.inc:
- remove Note:Framed and Note:Shaded
- add Box:Shaded
* Buffer.cpp:
- bump format to 304.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
- add conversion/reversion of framed/shaded notes to boxes.
* development/FORMAT:
- document file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21945 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-04 09:25:50 +00:00
Uwe Stöhr
bfec9543b3
lyx2lyx/lyx_1_6.py: revert \linebreak and \pagebreak correctly to ERT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 22:36:49 +00:00
Uwe Stöhr
0ef6b7c5fe
- remove Serbocroatian from the language list because this was a fake. Croatian was used under the hood but we already have Croatian separately.
...
- implement Serbian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 22:39:04 +00:00
Uwe Stöhr
9608e4971b
support for the languages Latin and North Sami
...
- fileformat change
(I wonder why support for them was removed (must be before LyX 1.3), because the old reLyX script listed them as supported)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:09:01 +00:00
Uwe Stöhr
12f7869ac0
support for \linebreak:
...
- fileformat change
- tex2lyx support
- rename LFUN_BREAK_LINE to LFUN_NEW_LINE because this is what the lfun does and to avoid confusions
- new menu entry
- new shortcut C-S-Return
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:34:37 +00:00
Uwe Stöhr
97aa558cac
support for \pagebreak:
...
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
Martin Vermeer
9df0ce8504
Improve conversion/reversion of index strings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21692 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 18:18:24 +00:00
Martin Vermeer
4bdd6f7937
Correct conversion of math insets inside Index
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 19:53:54 +00:00
Richard Heck
70055b3422
Change lyx2lyx to conform to new standard URL inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21586 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:30:29 +00:00
Uwe Stöhr
a5c7679887
lyx_1_6.py: fix for previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:40:31 +00:00
Uwe Stöhr
c750446566
lyx_1_6.py: fix dataloss in URL conversion routine
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 22:17:54 +00:00
Uwe Stöhr
0a7567ce3b
- add entry to FORMATS file for Stefan's format change (Richards to 296 change is still not correctly listed)
...
- add support for hyerlink targets - fileformat changed
(For Hyperlink.cpp I still need help to get rid of the strings and chars and use docstrings and char_type instead!)
Can anyone please open the changed Hyperlink.ui with a Qt 4.2 designer or below, save it and commit? Thanks. (Otherwise you cannot compile it.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21347 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 17:37:43 +00:00
Stefan Schimanski
9d9c5959f3
* file format 298 to convert macro definitions with optional parameters into ERT. This is still just an empty convertion, waiting for Uwe to find time to implement it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21326 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 11:03:51 +00:00
Uwe Stöhr
751fc1dc5e
missing lyx2lyx stuff for the fileformat change to 297
...
(previous fileformat change to 296 by Richard is not yet described in FORMAT)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21302 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-30 22:07:16 +00:00
Uwe Stöhr
68167ee254
lyx_1_6.py: fix copy/paste bug from my previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21274 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:42:58 +00:00
Uwe Stöhr
bb46fe5f0e
fileformat change for my previous commit: Albanian and lower Sorbian support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21273 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 22:38:36 +00:00
Richard Heck
4064d2c468
InsetInclude becomes an InsetCommand.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21149 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-23 15:02:15 +00:00
Bo Peng
7063b33b1b
Remove the manifest section of the .lyx file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 18:06:00 +00:00
Enrico Forestieri
b96754bd88
Fix lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21038 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 16:49:22 +00:00
Richard Heck
bfbf9c14e2
Fix up the HREF inset reversion routine.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21027 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 05:34:00 +00:00
Richard Heck
17fafa7f3d
The lyx2lyx for recent work on href inset done by Uwe.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20975 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-15 16:40:47 +00:00
Uwe Stöhr
7075eaadef
The huge URL patch:
...
- rename the lfun to href-insert.png
- rename the files to Hyperlink...
- the former URLUi produces now \href commands (hyperref)
Only missing thing is the lyx2lyx conversion routine - this will be done by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 19:06:09 +00:00
Uwe Stöhr
dfc7fc59c1
lyx_1_6.py: avoid the same name of two different functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20934 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-13 03:18:51 +00:00
Uwe Stöhr
ed43dea031
fileformat change to 294 for Pavel's PDFOptions cleanup in r20881
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20933 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-12 23:51:56 +00:00
Bo Peng
353aacab4b
InsetInfo: lyx2lyx support
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 14:56:34 +00:00
Uwe Stöhr
d44d755732
lyx2lyx/lyx_1_6.py: forgot to revert the encoding too in my last commit (r20859)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-09 00:12:48 +00:00
Uwe Stöhr
a9b5b1ff9a
Fileformat incremented to 293 due to yesterdays' support for japanese-plain (r20831)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20859 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-08 23:40:23 +00:00
Bo Peng
b352c78905
Fix indentation (from 2 spaces to 4) in lyx_1_6.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-07 14:26:16 +00:00
Uwe Stöhr
ae0f514870
support for the Vietnamese languages
...
fileformat increased to 291
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 23:20:39 +00:00
Uwe Stöhr
d162028a9c
lyx2lyx/lyx_1_6.py: fix a comma
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 22:00:45 +00:00
Uwe Stöhr
e6498670fb
lyx2lyx/lyx_1_6.py: remove now obsolete comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:39:32 +00:00
Uwe Stöhr
2492def7da
provide wrap tables based on the current wrap float implementation
...
file format increased to 290
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:07:01 +00:00
Martin Vermeer
d21a3bb445
Index as collapsible, preserving existing feature set
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 13:38:19 +00:00
Uwe Stöhr
2b16811b46
lyx2lyx/lyx_1_6.py: small code change for better understanding
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 09:55:37 +00:00
Richard Heck
e4558862ba
Stupid mistake.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:37:08 +00:00
Uwe Stöhr
612504b796
lyx_1_6.py: fix endless loop, but routine is still not working, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128426.html
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 00:09:47 +00:00
André Pönitz
581b67b26e
move ChangeLogs to the attic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Uwe Stöhr
643780f4e4
lyx2lyx/lyx_1_6.py: small tweak
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 22:52:37 +00:00
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
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
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
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
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
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
Bo Peng
e2d5893eab
Embedding: move manifest to .lyx file, as a separate section between header and body
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20212 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 14:23:12 +00:00
Uwe Stöhr
17112f655d
Helge's wrapfig patch:
...
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)
(the optional overhang argument of wrapfig will be implemented later)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +00:00
Uwe Stöhr
ff9143b226
LyX.py: fix for previous commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20175 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 18:37:50 +00:00
Uwe Stöhr
350dad6f65
doc_toc.py: remove non-ascii character since LyX.py can't encode it at the moment
...
LyX.py: fix thinko that lead to out of range list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20173 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 17:02:48 +00:00
Martin Vermeer
2e5355e4c2
Convert CharStyle to Flex also in file format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 13:01:29 +00:00
José Matox
b3d5000a64
Increment file format due to the embedded feature
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19938 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 09:46:14 +00:00
Richard Heck
8a947f63da
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
...
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.
The GUI will come next.
Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 17:59:49 +00:00
José Matox
f6e94c8b24
Fix bug 4158.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 13:39:15 +00:00
Alfredo Braunstein
b100b0a4c4
fix tabulation bug (python is amazing)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 14:03:51 +00:00
Martin Vermeer
3c504502bf
Further inset configurability, moving charstyle stuff to collapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-18 23:26:07 +00:00
Martin Vermeer
ff682ec3e4
partial merge of charstyle and insetlayout stuff, part 2 (lyx2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 15:48:41 +00:00
José Matox
f130c13c7b
Increase the file format, now every \\begin_deeper has a corresponding \\end_deeper.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19461 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 14:56:49 +00:00
José Matox
ca81b43f03
Fix bug 518 (thanks to Jean Marc and Martin for the help)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 13:25:36 +00:00
José Matox
a8dcedb3b1
Prepare for lyx 1.4.5
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19182 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-24 14:29:21 +00:00
José Matox
155058a362
Another take at bug 4049
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-23 17:06:32 +00:00
José Matox
61cb6824a6
Second part of bug 4050 fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19168 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 20:10:28 +00:00
José Matox
972ec40b73
Fix problem reported by bug 4050 (I am not sure if this fixes the bug)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 19:03:11 +00:00
José Matox
b03bc96912
Fix bug 2049
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19166 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-22 18:20:22 +00:00
Bo Peng
cce9cfc975
fix wrong fix r19160. I did not have an extra \end_layout, but missed a \begin_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19163 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-21 05:45:50 +00:00
Bo Peng
f668844789
Remove an extra \end_layout from revert_listings_inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 19:02:52 +00:00
José Matox
ce87f9dd49
(Atempt to) Fix bug 4048
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 16:02:24 +00:00
José Matox
6dfd1c17f3
Prepare code for refactorisation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 15:06:48 +00:00
José Matox
d3f7996cdd
Move related code together (no code added or deleted)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19157 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 14:25:04 +00:00
Jürgen Spitzmüller
586a07709f
* lib/lyx2lyx/lyx_1_5.py (revert_unicode):
...
- reintroduce \n's accidentally removed in revision 19145
(fixes bug 4046)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19153 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 10:26:01 +00:00
Dov Feldstern
11441c8560
Fix a few edge-cases which in the lyx2lyx conversion to format 249
...
(multi-encoding -> utf8); specifically, the language was being
incorrectly identified in certain insets, which of course led to
encoding problems.
This fixes part of bug 3613 (http://bugzilla.lyx.org/show_bug.cgi?id=3613 ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-20 02:10:28 +00:00
José Matox
aa5848f957
Clean and speedup code in revert_unicode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 17:15:31 +00:00
Jürgen Spitzmüller
f36e1b4b31
* lib/lyx2lyx/lyx_1_5.py (revert_unicode): fixes by Georg Baum (bug 3985)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19138 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 14:59:43 +00:00
José Matox
b3059e2070
Fix bug 4033 (Georg)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 12:24:01 +00:00
Jürgen Spitzmüller
e12b2d31ed
* lib/lyx2lyx/lyx_1_5.py:
...
- use document.default_layout instead of hardcoded "Standard" layout (bug 4035)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19135 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 10:33:40 +00:00
José Matox
74f45fc0e9
Fix bug 3404 (from Bo Peng)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19114 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:49:33 +00:00
José Matox
8397a051fa
Improve revert unicode (bug 3958) from Anders Ekberg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19113 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 10:47:44 +00:00
José Matox
aafefdbe26
Fix crash loading old files ( http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg57472.html )
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19101 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 16:46:19 +00:00
José Matox
95cf1d65f3
Old lyx files (from 1.0 era) can start with a begin deeper
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 11:53:46 +00:00
José Matox
e983dba010
Add frenchb to languages for compatibility with older files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 15:10:13 +00:00
Uwe Stöhr
d4fb110865
lyx_1_5.py: fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18995 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-06 00:30:29 +00:00
Jürgen Spitzmüller
7562340249
fix unicode decomposition (bugs 3313 and 3498):
...
* src/support/docstring.{cpp,h}:
- rename normalize_kc to normalize_c and use normalization form C (instead of KC)
* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
- use normalization forms C and D instead of KC and KD.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Jürgen Spitzmüller
768addedfd
* lib/lyx2lyx/lyx_1_5.py (revert_unicode): fix typo in comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18950 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:56:15 +00:00
Jürgen Spitzmüller
2bde238feb
* lib/lyx2lyx/lyx_1_5.py:
...
- fix convert_graphics_rotation and make revert_graphics_rotation actually work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-30 06:07:20 +00:00
Uwe Stöhr
0b3c217b79
lyx_1_5.py: last part of fix for bug 3313
...
OK from José: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg121628.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18918 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 20:46:04 +00:00
José Matox
0d3295f1cf
Fix bug 3313 (unicode error when invoking lyx2lyx) by Anders Ekberg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 13:15:29 +00:00
Uwe Stöhr
d8993d2d6c
- Fileformat change: rename "arabic" to "arabic_arabtex"
...
- Split the language Arabic into "arabic_arabi" that uses the arabi-package and "arabic-arabtex" that uses the arabTeX-package to typeset Arabic. This is needed because both packages have some advantages over the other people need.
(This change is a consequence of a long and fruitful discussion with Mostafa, Dov, and me.)
Patch by Dov and me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:11:03 +00:00
Jürgen Spitzmüller
bcf64dd11c
Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
...
* development/FORMAT:
- document file format change
* src/Buffer.cpp: bump format to 275.
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.py:
- conversion and reversion of scaleBeforeRotation param (doesn't work yet!)
* src/insets/InsetGraphicsParams.{cpp,h}:
- new param scaleBeforeRotation
* src/insets/InsetGraphics.cpp:
- swap order of scale and rotate (if scaleBeforeRotation is false)
* src/frontends/qt4/QGraphics.C:
* src/frontends/qt4/QGraphicsDialog.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
- add checkbox to toggle scaleBeforeRotation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 13:49:51 +00:00
Dov Feldstern
a529b7e6e7
lyx2lyx to convert the language of spaces surrounding text in a foriegn
...
language to be in the paragraph's language. This is necessary due to format
change 259, but the language was forgotten in lyx2lyx back then. It's important
for Bidi documents.
(fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=3789 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18766 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 19:12:38 +00:00
Bo Peng
dad101c2e3
Add --Separator-- environment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 15:09:28 +00:00
Bo Peng
6551f0afa8
lyx2lyx support for unrecognizable listings parameter
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18763 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-13 14:38:34 +00:00
José Matox
4f387b58a1
Add a fallback to run lyx2lyx from the build directory
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-31 12:02:47 +00:00
José Matox
04e3cd2297
Add file format change to support the standard font size for ext* family of textclasses
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 23:31:47 +00:00
Bo Peng
49cb2e69e7
InsetListings: lyx2lyx for caption and label
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18328 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 01:38:48 +00:00
José Matox
5aefff5be0
Fix importing of klewer template, add fix for recent update (null update for format 270)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18325 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 23:10:56 +00:00
Martin Vermeer
fd70aabcc8
Add charstyles Alert and Structure to beamer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-14 19:56:05 +00:00
Bo Peng
a8e9fe82d0
lib/lyx2lyx/lyx_1_5.py: fix revert of listings insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-11 02:28:14 +00:00
Uwe Stöhr
8dfaf03815
lyx2lyx: fix wrong preamble entry about "armtex" when exporting to LyX 1.4.x format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18250 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 21:10:30 +00:00
Bo Peng
4ce743a0a7
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
...
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
Uwe Stöhr
80b94c6bf5
Georg's patch for bug 3043:
...
Introduces new encodings for the CJK-languages.
The CJK-languages can now be selected from LyX's menu.
For remaining small problems, see the thread "Help needed for bug 3043" on the devel-list.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-06 20:26:02 +00:00
Jürgen Spitzmüller
ced73c33e6
* lib/encodings:
...
- add new encoding utf8-plain for the sake of XeTeX users (bug 3526)
* src/BufferParams.cpp:
- implement new encoding (skip inputenc)
- fix logic error with thailatex
* src/Buffer.cpp:
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.pyx:
* development/FORMAT:
- format increment to 267
- reset encoding to utf8 on reversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 12:27:00 +00:00
Uwe Stöhr
286463df06
lyx_1_5.py: better method to write preamble, suggested by Georg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 21:14:03 +00:00
Uwe Stöhr
227f80157c
file format change: support for Armenian
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18155 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-01 17:48:04 +00:00
Uwe Stöhr
82b70e9c64
File format change: Fix bug 1746 partly
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18052 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 21:40:51 +00:00
José Matox
5924500e24
Update file format, textclass cv -> simplecv
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17993 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 16:14:59 +00:00
Georg Baum
7974192d28
Make encoding conversion more robust (workaround for bug 3404)
...
* lib/lyx2lyx/lyx_1_5.py
(convert_multiencoding): Don't get confused by too many \end_layout
tokens.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17673 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-01 09:33:39 +00:00
José Matox
13c6c959c9
Correct the name of Portuguese and Brazilian variants of Portuguese language, fix bug 1627
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17334 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-24 23:43:18 +00:00
Georg Baum
c9bbc5c1dd
Output encoding messages only with a higher warning level
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17290 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-21 12:33:51 +00:00
Georg Baum
2e04ee3317
* lib/lyx2lyx/lyx_1_4.py
...
(convert_ert_paragraphs): Fix off-by-one error that causes an out of
range error in find_token
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-20 09:32:12 +00:00
Georg Baum
2d6bc1d0aa
Avoid endless loops, e.g when an end_deeper is missing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:33:36 +00:00
Georg Baum
6bf6c8453d
add pure ASCII encoding for LaTeX export
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-16 18:29:48 +00:00
Georg Baum
a69aaf5685
file format change due to new change tracking behaviour
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17187 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-14 16:10:50 +00:00
Georg Baum
9fd8a86961
Allow utf8x \inputencoding
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17164 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 17:36:55 +00:00
Georg Baum
5b79207f3d
Add commandline switch to read files from CJK-LyX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-13 16:57:48 +00:00
Georg Baum
01ab3aa796
* lib/lyx2lyx/lyx_1_5.py
...
(normalize_font_whitespace): Fix handling of nested font changes
and also handle blanks before a font change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17158 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 20:52:12 +00:00
José Matox
dc6ed95695
Insurance against empty lines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17146 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 00:19:20 +00:00
José Matox
60dc3fea2f
Color has a different reset (adjusting for it).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-12 00:15:20 +00:00
José Matox
76c3d964df
Convert lyxaccents to unicode (most of the work comes from Georg)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-11 23:52:07 +00:00
Georg Baum
d18412ce9a
revert accented characters to InsetLatexAccent if possible.
...
The function convert_accent will be used when we get rid of InsetLatexAccent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-01 19:28:55 +00:00
Georg Baum
a980f1bd61
Missing bits of Uwe's file format change from yesterday.
...
Uwe, please add an exact decsription of the lyxline changes to
development/FORMAT: How did the old version work, and what are the changes
of the new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:39:46 +00:00
Uwe Stöhr
b5212255e5
fix bug in modification made in changeset 16962
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 20:16:23 +00:00
Uwe Stöhr
9f871ade65
new \lyxline difinition, fixes also bug 1988:
...
http://bugzilla.lyx.org/show_bug.cgi?id=1988
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 01:15:14 +00:00
Abdelrazak Younes
500a5f959f
The caption inset patch by Georg, Martin and myself.
...
* buffer.C: increase LyX format to 257.
* lyxtextclass.C: increase FORMAT format to 3.
* buffer_funcs.C:
- setCaptionLabels(): new recursive function
- setCaptions(): new function
- updateLabels(): call setCaptions() for each paragraph.
* InsetCaption:
- add a virtual destructor
- overload InsetText' getStatus() and wide().
- setLabel(): only set the new private member label_.
- metrics(): don't set label here and correct for title metrics.
- draw(): don't set label here
- latex(): fix optional argument.
- plaintext(): implement!
* InsetText:
- add a virtual destructor
- add virtual to getStatus() and wide().
* output_latex.[Ch]: move latexOptArgInsets() out of anon namespace.
* text3.C: enable LFUN_CAPTION_INSERT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16948 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-30 13:23:21 +00:00
Georg Baum
8b31062e50
fix typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 16:40:39 +00:00
Georg Baum
0ddb4d5f30
Change lyx2lyx conversion and LaTeX export of documents with
...
\inputencoding default
* src/paragraph_pimpl.C
(isEncoding): Explain why bparams.inputenc == "default" is ignored
* src/bufferparams.C
(BufferParams::encoding): Determine the encoding from the language
for inputenc == "default"
* src/buffer.h
(writeLaTeXSource): Mention inputenc == "default" in documentation
* src/bufferparams.h
(inputenc): Update documentation of "default"
* src/output_latex.C
(switchEncoding): Switch the encoding also for inputenc == "default",
but don't output \inputencoding commands in that case
* lib/lyx2lyx/LyX.py
(get_encoding): Determine the encoding from the language for
inputencoding == "default"
* lib/lyx2lyx/lyx_1_5.py
(convert_multiencoding): ditto
* development/FORMAT: Update documentation of \inputencoding default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 14:36:54 +00:00
Georg Baum
6d72d2db94
fix lyx2lyx conversion of multiple encoding files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-01 12:12:07 +00:00
Georg Baum
244b2c1fab
Add some more LaTeX encodings, fix thailatex and display all available
...
encodings in the preferences dialog
* src/LaTeXFeatures.C: special treatment for tis620-0 encoding
* src/bufferparams.C: ditto
* src/output_latex.C: ditto
* src/encoding.[Ch]: Add the possibility to iterate over all encodings
* src/paragraph_pimpl.C: Add latin10 and cp858 to Euro treatment
* src/buffer.C: Update format number
* src/frontends/qt4/QDocumentDialog.C: Don't hardcode available
encodings
* lib/lyx2lyx/LyX.py,
lib/lyx2lyx/lyx_1_5.py: implement conversion from 256 to 255
* lib/encodings: Add some encodings, fix all "unknown" entries
* development/FORMAT: Document file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16418 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-28 18:15:25 +00:00
Georg Baum
82b0e98d54
missing bits of the new insets for \clearpage and \cleardoublepage
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16038 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:57:27 +00:00
Bo Peng
7b031e5d86
Add inset clearpage and cleardoublepage, from Urgas
...
* src/insets/insetert.C
* src/text3.C
* src/lfuns.h
* src/factory.C
* src/tex2lyx/text.C
* src/text.C
* src/LyXAction.C: add and handle LFUN_CLEARPAGE_INSET and LFUN_CLEARDOUBLEPAGE_INSET
* src/insets/insetpagebreak.h/C: extend InsetPageBreak
* lib/lyx2lyx/lyx_1_5.py: file format change
* lib/ui/stdmenus.ui: add menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16037 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-25 15:09:01 +00:00
Michael Schmitt
1a4b549a53
* lib/lyx2lyx/lyx_1_4.py:
...
* lib/examples/noweb2lyx.lyx: fix typo: "can not" => "cannot"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15976 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-19 12:32:38 +00:00
Georg Baum
f71a169294
Make nesting levels work. Obviously ++nestdepth does not do in python
...
what it does in C++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15930 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-14 20:45:07 +00:00
Georg Baum
2db7521b70
Add support for the esint package
...
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): handle esint and wasysym
* src/mathed/MathMacroTable.[Ch]
(requires_): New member: tell the feature this macro requires
(MacroTable::insert): take new requires arg
* src/mathed/MathMacroTemplate.C
(MathMacroTemplate::asMacroData): adjust to change above
* src/mathed/MathSupport.C
(fontinfos): add esint10 font
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): AMS_ON -> package_on
* src/mathed/MathMacroTable.h
* src/mathed/MathFactory.C
(initSymbols): read and store requires field for symbols
* src/mathed/InsetMathSymbol.C
(InsetMathSymbol::metrics): handle esint
(InsetMathSymbol::takesLimits): ditto
* src/buffer.C
(LYX_FORMAT): update format
(Buffer::validate): handle esint, AMS_ON -> package_on
* src/bufferparams.C:
(AMSTranslator): Rename to PackageTranslator
(BufferParams::readToken): Read \use_esint
(BufferParams::writeFile): Write \use_esint
* src/frontends/qt4/QDocumentDialog.C: handle esint
* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes
* src/frontends/qt4/GuiFontLoader.C
(symbol_fonts: Add esint10 font
(symbolFamily): handle esint10 font
(isChosenFont): Add comment
* src/frontends/controllers/ControlMath.C
(latex_varsz): Add new integral symbols
* src/support/fontutils.C
(win_fonts_truetype): Add esint10 font
* src/bufferparams.h
(enum AMS): rename to enum Package
(use_esint): new parameter
* src/lyxfont.[Ch]: Add esint font
* lib/symbols: Add new integral symbols
* lib/lyx2lyx/LyX.py
(format_relation): Update format
* lib/lyx2lyx/lyx_1_5.py: handle new format
* lib/chkconfig.ltx: Test esint package
* lib/images/math/oiintop.xpm
* lib/images/math/sqintop.xpm
* lib/images/math/sqint.xpm
* lib/images/math/ointctrclockwiseop.xpm
* lib/images/math/ointctrclockwise.xpm
* lib/images/math/iiintop.xpm
* lib/images/math/iintop.xpm
* lib/images/math/sqiint.xpm
* lib/images/math/iiint.xpm
* lib/images/math/ointclockwiseop.xpm
* lib/images/math/oiint.xpm
* lib/images/math/dotsintop.xpm
* lib/images/math/sqiintop.xpm
* lib/images/math/ointclockwise.xpm
* lib/images/math/iiiintop.xpm
* lib/images/math/dotsint.xpm
* lib/images/math/iiiint.xpm
* lib/images/math/iint.xpm: new icons
* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package
* lib/doc/UserGuide.lyx: Add short documentation of integral symbols
* lib/Makefile.am: Add new files
* development/scons/scons_manifest.py: ditto
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00
Georg Baum
29012f2596
Fix output of labels and references that contain characters with an UCS4
...
codepoint > 255.
I decided that this is no file format change: We already had the change to
format 249 that allowed unicode in .lyx files. The output to .tex of
non-ascii characters is now different than before (even for those that were
supported previously, e.g. german umlauts in latin1), but this is only
relevant if people referenced a label in ERT. Since we cannot detect this
anyway we don't need a file format change.
* src/support/lstrings.C
(escape): Extend the escaping algorithm from 8 bit to 24 bit.
* src/support/lstrings.h
(escape): Update comment
* lib/lyx2lyx/lyx_1_4.py
(lyx_support_escape): Update comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15883 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-12 13:42:20 +00:00
Georg Baum
e35725d5c0
New nomenclature inset from Ugras
...
* src/LyXAction.C
(LyXAction::init): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* src/insets/insetbase.C
(build_translator): ditto
* src/LaTeXFeatures.C
(LaTeXFeatures::getPackages): Add nomencl
* src/insets/insetnomencl.[Ch]: new insets InsetNomencl and
InsetPrintNomencl
* src/insets/insetbase.h: Add NOMENCL_CODE and NOMENCL_PRINT_CODE
* src/insets/insetcommandparams.C
(InsetCommandParams::findInfo): Add nomenclature and printnomenclature
(InsetCommandParams::getCommand): Extend end of command protection to
cover commands with only optional arguments like printnomenclature
* src/insets/insetert.C
(InsetERT::getStatus): disable LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
* src/insets/Makefile.am: Add new files
* src/frontends/qt4/Makefile.dialogs: ditto
* src/frontends/qt4/Makefile.am: ditto
* src/factory.C
(createInset): Handle InsetNomencl and InsetPrintNomencl
(readInset): ditto
* src/buffer.C
(LYX_FORMAT): increase
* src/lyxfunc.C
(LyXFunc::dispatch): Handle nomenclature
* src/LaTeX.C
(LaTeX::deleteFilesOnError): Delete .nls file
(LaTeX::run): Run makeindex for nomenclature
(LaTeX::runMakeIndex): handle nomenclature options
(LaTeX::deplog): Recognize nomenclature file
* src/frontends/qt4/QNomenclDialog.[Ch]: new
* src/frontends/qt4/QNomencl.[Ch]: ditto
* src/frontends/qt4/ui/QNomenclUi.ui: ditto
* src/frontends/qt4/Dialogs.C
(Dialogs::build): handle nomenclature dialog
* src/text3.C
(LyXText::dispatch): Handle LFUN_NOMENCL_INSERT and
LFUN_NOMENCL_PRINT
(LyXText::getStatus): Ditto
* src/lfuns.h
(kb_action): Add LFUN_NOMENCL_INSERT and LFUN_NOMENCL_PRINT
* lib/lyx2lyx/LyX.py
(format_relation): Update 1.5 format range
* lib/lyx2lyx/lyx_1_5.py
(revert_nomenclature): New
(revert_printnomenclature): ditto
* lib/chkconfig.ltx: Test for nomencl package
* lib/doc/LaTeXConfig.lyx.in: Add nomencl package
* lib/doc/Extended.lyx: Add documentation for nomencl
* lib/ui/stdtoolbars.ui
(Toolbar "extra" "Extra"): Add nomencl-insert
* lib/ui/classic.ui: Add nomencl-insert and nomencl-print
* lib/ui/stdmenus.ui: ditto
* development/scons/scons_manifest.py: Add new files
* development/FORMAT: Describe new format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 17:55:36 +00:00
Georg Baum
35847cdad8
Make the code a bit more python-like
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15563 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-26 14:43:58 +00:00
Georg Baum
06139fb170
Port InsetCommandParams::scanCommand to lyx2lyx.
...
Now we can parse all commands that could be parsed in the old
InsetCommandParams
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15551 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-25 20:08:44 +00:00
Georg Baum
d56de86b6a
Fix stupid backslash quoting error that resukted in wrong conversion of
...
command inset parameters containing a ".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15483 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-22 16:51:44 +00:00
Georg Baum
47e8cccbe1
small readability fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15369 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-19 07:53:03 +00:00
Georg Baum
9285259c56
fix indentation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15361 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-18 09:44:08 +00:00
Georg Baum
b02242bfaf
Rework InsetCommandParams interface and file storage
...
* src/insets/insetcommandparams.[Ch]:
(operator[]): New, access a parameter
(clear): New, clear all parameters
(info_): New, stire info about this command
(cmdname): Rename to name_
(contents, options, sec_options): Replace with params_. Parameters
are now stored as docstring.
(findInfo): New factor for command info for all commands
(read, write): Use new syntax
(parameter set and get methods): reimplemenmt for new parameter storage
* src/insets/insetcommand.h
(getParam): New, get a parameter
(setParam): New, set a parameter
(parameter set and get methods): Adjust to InsetCommandParams changes
* src/insets/insetbibitem.[Ch]
(write): Remove, not needed anymore
(directWrite): ditto
* src/insets/insetbibitem.C
(InsetBibitem::read): Use InsetCommand::read
* src/insets/insetref.C
(InsetRef::latex): Use new InsetCommandParams interface
* src/mathed/InsetMathHull.C
(InsetMathHull::doDispatch): ditto
* src/text3.C
(LyXText::dispatch): ditto
* src/factory.C
(createInset): Create InsetCommandParams with command name
(readInset): ditto
(readInset): Remove error message for bibitem, since bibitem is
now a normal command inset
* src/buffer.C: Bump file format number
* src/frontends/controllers/ControlCommand.[Ch]
(ControlCommand): take an additional command name parameter
* src/text.C
(readParToken): Remove code for \bibitem
* lib/lyx2lyx/LyX.py: Bump latest file format number
* lib/lyx2lyx/lyx_1_5.py
(convert_bibitem, convert_commandparams): new, convert to new format
(revert_commandparams): new, convert to old format
* development/FORMAT: document new format
* many other files: Adjust to the changes above
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15357 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-17 21:07:16 +00:00
Jürgen Spitzmüller
c0a61f6c18
* lib/lyx2lyx/lyx_1_5.py: correct indendation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15349 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 11:41:57 +00:00
Jürgen Spitzmüller
77e145a406
Remember the char style label state and make it globally switchable.
...
* src/buffer:
file format incrementation to 251
* src/insets/insetcharstyle.[Ch]:
- make show_label a param and save its state
- let all-insets-toggle togle the label in charstyles
* development/FORMAT:
document file format change
* lib/lyx2lyx/LyX.py:
add new file format
* lib/lyx2lyx/lyx_1_5.py:
remove char style label param on reversion to 250.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15345 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-16 07:06:41 +00:00
Enrico Forestieri
6f62c98e31
Small fix for the last version bump
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15318 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 23:28:20 +00:00
Martin Vermeer
21316375fe
Support for optional arguments for environments. No material format change.
...
* src/buffer.C
(BufferList bufferlist;): bump version
* src/output_latex.C
TexEnvironment: add optarg for environments
* lib/lyx2lyx/lyx_1_5.py: add converters
* development/FORMAT: document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15315 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-12 20:21:14 +00:00
Georg Baum
9245b426b3
Update file format for unicode
...
* src/buffer.C
(LYX_FORMAT): update
* src/bufferparams.h
(inputenc): document
* lib/lyx2lyx/LyX.py
(format_relation): last format is now 249
(get_encoding): return utf8 for formats > 248
* lib/lyx2lyx/lyx_1_5.py
(convert_utf8): don't change \inputencoding anymore
(revert_utf8): new, revert encoding if possible
* development/FORMAT: describe format 249
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14684 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-15 07:08:58 +00:00
José Matox
575ae4a8d7
Debris from earlier typo fix in file name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14683 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 21:54:42 +00:00
José Matox
a1564186de
rename generate_enconding_info.py to generate_encoding_info.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14673 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-14 15:11:57 +00:00
José Matox
ff7f289358
Add language attribute to default file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14598 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:18:27 +00:00
José Matox
d401ee07c8
Add encoding to a default file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14594 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 21:56:12 +00:00
Jean-Marc Lasgouttes
0be91e7205
* lib/Makefile.am (dist_pkgdata_DATA): remove configure.py
...
(dist_pkgdata_PYTHON): and put it here
(dist_scripts_DATA): rename to dist_scripts_PYTHON; this invokes
automake's built-in python support.
(install-data-hook): adapt to above change.
* lib/lyx2lyx/Makefile.am (dist_lyx2lyx_DATA): rename to dist_lyx2lyx_PYTHON;
this invokes automake's built-in python support.
(install-data-hook): new target: sets executable bit on lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14592 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 20:51:55 +00:00
José Matox
a9f2042082
Update Makefile.am with new and renamed files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 11:21:24 +00:00
José Matox
6785e442cf
Add support for input encoding handling by lyx2lyx.
...
Support all lyx files (support goes to lyx-0.6 the first public available lyx version).
Fine tune the guessing of the lyx version used to produce the document (only useful for 2.10 and 2.15 documents).
Support to convertion to utf-8 encoding was added but it is not (yet) active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14558 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 14:10:41 +00:00
José Matox
9e832550ad
generate_enconding_info.py parses lib/languages and generates lyx2lyx_lang.py
...
as a python dictionary, ready to be used by other python modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14557 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 14:05:07 +00:00
José Matox
de0c8aef7c
Give to get value a default argument,
...
if the value is not found the default value is returned.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14556 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-07 13:59:01 +00:00
José Matox
7f552526fc
string.join(lst) -> " ".join(lst) and not "".join(lst)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14538 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 16:13:01 +00:00
José Matox
26c0f379c7
Remove calls to deprecated module string.
...
The calls are now made to string methods, the advantage being that they work with
unicode strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14537 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 15:45:44 +00:00
José Matox
552a471c99
Start to consolidate the functions in parser tools.
...
Add a unit testing for parser tools functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14536 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:25:43 +00:00
José Matox
b00206e882
Small fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14535 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:23:45 +00:00
José Matox
695bfd88ed
Convert all python files to utf-8.
...
Add a documentation string to each module.
Add a documentation string to every function in the modules.
file is a python reserved word => s/file/document/g as variable
add a new property to modules, supported_versions that holds
the versions supported by that module
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14534 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 14:19:22 +00:00
José Matox
2987ccdd9e
lyx2lyx: Remove -tt from header since it does not work.
...
Changed the enconding to utf-8.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14533 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-02 09:54:41 +00:00
José Matox
088bcef87b
lyx_0_08.py:
...
lyx_0_10.py
LyX.py: add support for UserGuide convertion from lyx-0.8 (and 0.7).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14532 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 22:54:57 +00:00
José Matox
958eead216
Add module documentation to lyx_0_10.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14531 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 14:38:13 +00:00
José Matox
ddc31f7aee
Rename files:
...
lyx_1_1_6.py -> lyx_1_1_6_0.py
lyx_1_1_6fix3.py -> lyx_1_1_6_3.py
Change LyX.py accordingly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14530 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-01 08:38:24 +00:00
José Matox
8fc2c1dd05
* LyX.py
...
* lyx_1_1_5.py
* lyx_1_2.py
* lyx_1_3.py
* lyx_1_4.py
* lyx_1_5.py
* parser_tools.py: remove functions that are not generic, i.e.
assume a specific pattern for the file format, and move them to the
places where they are used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14503 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 18:30:13 +00:00
José Matox
857eb02a5c
parser_tools.py (del_token): rename arguments to be coherent with other functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-27 11:37:26 +00:00
Bo Peng
2ae2c0db71
Remove hardcoded option -tt from python scripts
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:41:32 +00:00
Bo Peng
c267eec1c9
lib/lyx2lyx/lyx_1_5.py: replace tab with spaces
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14322 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 20:09:43 +00:00
Georg Baum
0c0c43b8eb
merge booktabs branch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:13:56 +00:00
Bo Peng
34001ec175
Remove all tabs in lib/lyx2lyx/*.py, corresponding to the added -tt option
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14285 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-01 19:16:09 +00:00
Georg Baum
4ae87a3bb8
Call python with the -tt switch to make mixed tab/space indentation an error
...
* src/support/os.[Ch]
(python): new function, return the python command
* lib/lyx2lyx/lyx_1_5.py
(revert_font_settings): replace tabs with spaces
The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 13:54:01 +00:00
Jürgen Spitzmüller
54acb900ad
The Grand Font Selection Redesign:
...
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).
* lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).
* lib/chkconfig.ltx: Test for newly supported font packages
* lib/doc/LaTeXConfig.lyx.in: document newly supported font packages
* lib/doc/UserGuide.lyx: document new UI.
* lib/doc/Extended.lyx: update PostScript font documentation
* development/FORMAT: document file format change 246->247.
* src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans,
tex_fonts_monospaced (with GUI equivalents).
* src/buffer.C: Format up to 247.
* src/bufferparams.C:
new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,
fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
(LyXFont const BufferParams::getFont): consider switch of default family.
(string const BufferParams::loadFonts): new method to get all the LaTeX
font stuff done.
* src/paragraph.C
(LyXFont const Paragraph::getFont):
(LyXFont const Paragraph::getLabelFont):
(LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's
default font
* src/text.C
(int LyXText::leftMargin):
(int LyXText::rightMargin): user buffer's not textclass's default font
* src/text2.C
(LyXFont LyXText::getFont):
(LyXFont LyXText::getLayoutFont):
(LyXFont LyXText::getLabelFont): check if the family of the default document
font has been customized.
* src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).
* src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM).
* src/frontends/qt3/Makefile.dialogs: add new FontModuleBase
* src/frontends/qt3/ui/FontModuleBase.ui: new File
* src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets
* src/frontends/qt3/QDocument.C
* src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/Makefile.dialogs: add new FontUi
* src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui
* src/frontends/qt4/ui/FontUi.ui: new File
* src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets
* src/frontends/qt4/ui/compile_uic.sh: add new FontUi
* src/frontends/xforms/FormDocument.[Ch]: implement new font ui
* src/frontends/xforms/forms/form_document.fd: add new font tab.
* src/frontends/controllers/ControlDocument.[Ch]
(char ControlDocument::fontfamilies):
(char ControlDocument::fontfamilies_gui):
(bool ControlDocument::isFontAvailable):
(bool ControlDocument::providesSC):
(bool ControlDocument::providesOSF):
(bool ControlDocument::providesScale): new methods, providing font info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
Georg Baum
5bb791e841
* lib/lyx2lyx/Makefile.am: Add missing file lyx_1_5.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14013 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-05 19:24:18 +00:00
Martin Vermeer
1a77233c5f
Add support for framed.sty
...
* src/LaTeXFeatures.C: add framed.sty
(const * simplefeatures[]: add framed.sty
(const LaTeXFeatures::getPackages): define shadecolor
* src/insets/insetnote.h
* src/insets/insetnote.C
(const init_notetranslator):
(InsetNote::setButtonLabel): add Framed and Shaded
(InsetNote::latex): add output
(InsetNote::validate): require framed.sty
* src/buffer.C
(BufferList bufferlist): new LyX version 246
* src/frontends/qt3/ui/QNoteDialogBase.ui: add
* src/frontends/qt3/QNoteDialog.C: add
* src/frontends/qt3/QNote.C
(QNote::update_contents): add framed, shaded
(QNote::apply): add framed, shaded
* src/LColor.[Ch]: add background colour for shaded
* lib/lyx2lyx/LyX.py: New version support
* lib/lyx2lyx/lyx_1_5.py: convert/revert
* lib/chkconfig.ltx: add framed.sty
* src/frontends/xforms/FormNote.C
(FormNote::build):
(FormNote::update): add FIXME
* src/frontends/gtk/GNote.C
(GNote::doBuild):
(GNote::update):
(GNote::apply): add FIXME
* development/FORMAT: document format increase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13993 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-03 16:46:27 +00:00
Lars Gullik Bjønnes
3708dc6ec5
update ignore, and make sure to dist the lyx2lyx_version.py.in template file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13728 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 13:34:16 +00:00
Martin Vermeer
f6848c168b
* lyx_1_4.py
...
(convert_minipage): Proper handling of default height and
vertical position (bug report Garst Reese)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13697 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 07:43:29 +00:00
José Matox
69664082da
* configure.ac
...
* lib/lyx2lyx/lyx2lyx_version.py.in
* lib/lyx2lyx/Makefile.am
Add lyx2lyx_version.py to distribution.
* lib/lyx2lyx/LyX.py
Use lyx version as the same version of lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13626 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 16:18:31 +00:00
José Matox
bb23ef468d
parser_tools.py (find_tokens, find_tokens_exact): replace range with xrange.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13625 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 15:50:31 +00:00
José Matox
44aad9d818
lyx_1_4.py(convert_sgml_paragraphs):
...
convert SGML paragraphs to Standard + ERT, as SGML are not used anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13616 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 09:14:08 +00:00
José Matox
98e729c767
Update version of lyx2lyx to 1.5.0svn
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13592 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 16:15:14 +00:00
José Matox
22212a0d65
Add placeholders for future changes:
...
lyx_0_10.py: File format between 2.00 (the first publicaly available) and 2.10
lyx_1_5.py: Post-1.4.x file formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 16:11:16 +00:00
Georg Baum
8d914e2c52
* parser_tools.py (find_tokens_exact): new, extract tokens with
...
exact match
* parser_tools.py (find_token2): rename to find_token_exact and make
it work for tokens with spaces
* lyx_1_4.py (revert_box, convert_collapsable, revert_bibtopic,
convert_float): use find_token(s)_exact instead of find_token(s).
This does not match "FloatList" when "Float" is searched (bug 2245)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13410 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-17 09:52:13 +00:00
José Matox
d5da885f21
Only reset the papersize for a4* paperpackages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13312 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-07 11:21:08 +00:00
Georg Baum
3a56dd160f
fix bug 2314
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13267 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-22 17:05:12 +00:00
Georg Baum
b8227ebda0
fix bug 2026 and bug 2088
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13226 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 07:48:26 +00:00
Lars Gullik Bjønnes
4a7ab830bc
Delete all .cvsignore files from trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00
Georg Baum
d55a7468c0
fix bug 2244 (branch removal)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10804 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-02 21:30:04 +00:00
José Matox
7aef3c80cf
fix lyx2lyx bug dealing with compressed files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10640 a592a061-630c-0410-9148-cb99ea01b6c8
2005-12-01 19:00:07 +00:00
José Matox
73f01338a2
Fix second part of bug 666 (I\'m not joking). Complete support for older tabular, only the 3 was missing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10618 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-24 12:25:26 +00:00
Georg Baum
a9bfd2b130
fix bug 2131
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10613 a592a061-630c-0410-9148-cb99ea01b6c8
2005-11-21 17:05:03 +00:00
Jürgen Spitzmüller
0ce45c32b6
fix bug 2090 (remove param \quotes_times). File format is up to 245 now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10549 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-13 10:59:39 +00:00
Georg Baum
aba9a83f22
forgotten fixes for bug 2027
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 14:29:23 +00:00
Jürgen Spitzmüller
82765345ac
fix space insets, increase version to 244.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10490 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-28 09:40:50 +00:00
Georg Baum
53a118caea
fix bug 2031 (\lyxline conversion)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10466 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-20 12:47:45 +00:00
Georg Baum
3d9554fd62
small fix for TOC file generation in LyX.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10460 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-19 11:31:26 +00:00
José Matox
568ae274e5
fix vertical alignment convertion for tables in format 216.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10434 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-09 15:23:09 +00:00
Georg Baum
c8c616688f
fix bug 1990
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10411 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-05 07:06:11 +00:00
Georg Baum
9826fde5c9
fix bug 2004
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10408 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-30 07:23:20 +00:00
José Matox
a0c546831e
fix bug 2001
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10407 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-29 18:43:15 +00:00
José Matox
7bd4678da5
Separate preamble from from header. Make its treatment more robust.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10398 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-18 17:33:26 +00:00
José Matox
24355f90da
add \\leftindent to the list of allowed paragraph parameters.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10395 a592a061-630c-0410-9148-cb99ea01b6c8
2005-08-11 22:31:05 +00:00
José Matox
888342b465
Take into account the lines added to preamble.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10375 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 13:34:07 +00:00
José Matox
a69c7f771d
Fix a4 package removal when the preamble is already there.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10374 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 11:22:18 +00:00
José Matox
255c2c247f
Fix widemargins a4 convertion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10372 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:54:50 +00:00
José Matox
2479ac8f5f
Added a more precise date and details about 222 to 223 change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10371 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:39:17 +00:00
José Matox
4c2d658257
Put back support for format 222.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10370 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-29 09:23:19 +00:00
José Matox
85eed78238
remove wrong comments and add 1.3.6 to the list of releases
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10347 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-22 15:03:44 +00:00
José Matox
7b8d863cb3
small fixes to minipages convertions and retroversions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10334 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 18:37:05 +00:00
José Matox
54502b890e
fix two typos converting frenchb (Thanks to Georg)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10327 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-18 14:46:53 +00:00
José Matox
8ed68ea860
convert frenchb language also in the body
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10304 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 23:55:05 +00:00
José Matox
9745fb8187
Remove the support for a4.sty, a4wide.sty and a4widemargins from lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10273 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-17 11:17:13 +00:00
José Matox
dc3e0ae6e0
add python support to configure
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10221 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-15 16:38:59 +00:00
José Matox
2796b1fe32
fix lyx2lyx bugs for revertion to 221.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10172 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-12 21:27:12 +00:00
José Matox
b666ae90e3
Support old tables format 1.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10150 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-08 09:13:51 +00:00
José Matox
219f6bdb6e
Remove latexdel insets comming from sgml2lyx (ref, url and htmlurl).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10148 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-08 08:49:29 +00:00
Jean-Marc Lasgouttes
108d74bc1a
clean up french language handling
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10145 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-07 10:51:58 +00:00
José Matox
32ab25b3cb
Ignore whitelines on header. Fix reading the first body line.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10144 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-07 09:19:50 +00:00
José Matox
7400f85b89
Consider the case where there is not any layout name.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10143 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 19:03:15 +00:00
José Matox
4a85fd5ed0
Add support for cases where the body begins without a whiteline before (sgml2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10142 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 18:35:35 +00:00
José Matox
7ed89fefb1
lyx_1_4.lyx (paperpackage): Fix empty paperpackage case.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10141 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 17:50:10 +00:00
José Matox
178897b091
Handle truncated files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10140 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 17:40:38 +00:00
José Matox
38801aed7f
Fix handling of older tex2lyx files.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10139 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-06 16:13:20 +00:00
José Matox
fb1e227a93
Implement return codes consistently.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10132 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 15:28:44 +00:00
José Matox
9b4136de38
add --try-harder for lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10131 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 11:14:13 +00:00
José Matox
ebe36adb3a
Obsolete latex title style for 0.10 documents.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10130 a592a061-630c-0410-9148-cb99ea01b6c8
2005-07-05 09:48:10 +00:00
Angus Leeming
70572847e2
Whitespace, only whitespace. s/ +$//
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10024 a592a061-630c-0410-9148-cb99ea01b6c8
2005-06-09 09:58:08 +00:00
Angus Leeming
65f9fc786e
Enable lyx2lyx to work with "file names with spaces".
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9954 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-19 08:43:52 +00:00
Georg Baum
5179c52e66
fix lyx2lyx paragraph parameter conversion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9951 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-18 14:50:29 +00:00
José Matox
214cedc2e8
fix convertion of line and page breaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9915 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-06 14:31:56 +00:00
José Matox
3cbfd8cc80
Fix allowed parameters for paragraphs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9904 a592a061-630c-0410-9148-cb99ea01b6c8
2005-05-04 11:54:14 +00:00
Georg Baum
f9c17f01af
spelling fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9880 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 15:45:51 +00:00
Georg Baum
f402d2c6f9
fix lyx2lyx conversion of page breaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9879 a592a061-630c-0410-9148-cb99ea01b6c8
2005-04-26 15:42:03 +00:00
Georg Baum
8193290f0d
document and convert eqref fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9657 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-21 12:04:23 +00:00
Georg Baum
3a4be311e6
repair tabular conversions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9647 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-17 19:38:40 +00:00
José Matox
46cacd9dc5
Fix bug 1816.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9633 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-15 12:04:26 +00:00
Georg Baum
72dccb8869
fix frameless box -> parbox conversion in lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9608 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-10 12:14:51 +00:00
Georg Baum
5890d93dce
file format change for bug 698 and fix for the reproducible part of bug 922
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9584 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-03 17:24:40 +00:00
Jürgen Spitzmüller
04a3819779
Fix output of change tracked documents (also fixes bug 1031)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9535 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-24 17:12:19 +00:00
José Matox
9bcc3c7368
add start_of_appendix to the paragraph parameters list.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9451 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 18:32:44 +00:00
José Matox
953984e3da
place one paragraph parameter per line. (file format = 239)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9450 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:52:08 +00:00
José Matox
eb0de102db
Unify the call to converters into LyX.py. (lyx2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9442 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 18:52:59 +00:00
José Matox
4bd289f1e3
Unify calling conventions for converter functions and modules. (lyx2lyx)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9433 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-05 10:57:37 +00:00
José Matox
e472c2b740
File format up to 238.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9337 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 18:39:51 +00:00
José Matox
742ffb3032
Move convertion code from the C++ source (where is never called) to lyx2lyx.
...
(longtables).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9336 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-03 18:33:19 +00:00
José Matox
bd6cb0ad58
Move compatility code for old style (0.10 !) latex accents to lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9331 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-02 12:29:21 +00:00
José Matox
b90881c010
Fix previous leftover transformation. (opt -> file)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9321 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-29 12:00:29 +00:00
José Matox
b375bbe1f9
add internal documentation to module LyX.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9135 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 11:21:27 +00:00
Angus Leeming
eb00187fea
Whitespace, nothing but whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
José Matox
3c84dfb21e
lyx2lyx is now a frontend to the LyX module.
...
The code in LyX was refactorized and now we have two different classes that
derive from a base class. One for new files and the other for existing files.
New class for paragraphs. New code to return the toc of a file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9092 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-16 22:56:10 +00:00
José Matox
43c844920c
Add code that profiles lyx2lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9075 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-10 19:25:48 +00:00
José Matox
ba7ff6f4a1
Format up to 237.
...
Use true or false in the header instead of 0 or 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9072 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-09 21:32:56 +00:00
José Matox
915304d550
simplify index (string drunkness corrected)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9027 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-29 16:34:27 +00:00
Georg Baum
3bdb83776c
another small lyx2lyx fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8976 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-12 09:48:08 +00:00
Georg Baum
c7875ca865
unify lyx2lyx warning messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8975 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-12 07:36:53 +00:00
José Matox
9d87888cf5
fix bug where \end_layout was showing after \end_deeper unconditionally
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8954 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-18 13:48:33 +00:00
José Matox
f17505a8fb
Remove space at end of line, when superfluous.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8953 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-16 11:27:51 +00:00
José Matox
adec8fe46d
Change \papersize Default|Custom to lower letter for consistency.
...
Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8948 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 21:52:13 +00:00
José Matox
6c79118290
Reorganised lyx2lyx, transfering it knowleadge of the file format to LyX.py,
...
and using it as library. The lyx2lyx script now becomes a simple cliente.
Simple fix in the UserGuide.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8941 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-15 16:29:04 +00:00
José Matox
498724d21b
up to file format 236 and also fix Bug 421.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8927 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-14 18:41:27 +00:00
José Matox
539c829bb1
Convert \color default -> \color inherit -- lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8868 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-04 15:45:26 +00:00
José Matox
2e6ef4e5d5
remove \r from line's end when present -- lyx2lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8867 a592a061-630c-0410-9148-cb99ea01b6c8
2004-08-04 15:12:14 +00:00
Georg Baum
25bf63f1a1
update file format to reflect the paperpackage bugfix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8829 a592a061-630c-0410-9148-cb99ea01b6c8
2004-07-01 14:40:59 +00:00
Angus Leeming
8424214209
Store the citation engine in BufferParams as biblio::CiteEngine rather
...
than a triplet of bools. Results in a file format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8752 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-13 20:44:35 +00:00
José Matox
34b9ed8ac9
whitespace, bugfixes, and convertions dependent on the document type, if need.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8749 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-11 16:13:33 +00:00
José Matox
17ec2aa061
fix handling of gzipped files, move default warning level to 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8725 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-03 13:40:12 +00:00
Georg Baum
b36c13278b
require file extension for included graphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8706 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-29 09:24:29 +00:00
José Matox
296632a2c3
Fix revert chain.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8673 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 14:30:33 +00:00
José Matox
9fd03bf560
Fix from Martin to revert frame boxes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8668 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-19 12:14:15 +00:00
José Matox
7b511275f6
The ChangeLog entry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8654 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-14 09:10:30 +00:00
José Matox
bc7f66b2b7
The big lyx2lyx rewrite.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8653 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-14 08:45:46 +00:00
Jürgen Spitzmüller
7aadb167bf
add bibtopic support (bug 870).
...
That's it for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8560 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 13:17:25 +00:00
Jürgen Spitzmüller
4072a82b6e
support for sidewaysfloats and fix for bug 1016 (float placement allows impossible settings).
...
BTW: floats are still broken (dialogs do not get updated). No idea where this bug sits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8557 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-29 11:38:39 +00:00
Angus Leeming
57689df48b
Georg's lyx2lyx patch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8548 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-27 16:49:46 +00:00
Jürgen Spitzmüller
891bb08e37
support for second \cite option.
...
Natbib users can now use the before field.
file format is up to 230.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8479 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-05 14:49:10 +00:00
José Matox
bb357126a9
Improve lyx 0.10 file convertions.
...
The only remaings itens are whitespace and not significative.
I can now import all of the 0.10 test cases I have. :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8403 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-04 18:11:44 +00:00
José Matox
001d4025e9
One line fix for an out of range error.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8398 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-03 19:49:44 +00:00
Alfredo Braunstein
20198582f1
Georg Baum's patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8384 a592a061-630c-0410-9148-cb99ea01b6c8
2004-02-02 21:39:17 +00:00
Jean-Marc Lasgouttes
30f1fd59ae
status tag patch from Georg
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8315 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-07 14:36:43 +00:00
Jürgen Spitzmüller
260a79e3a5
change the file format number to 229 for the sake of a cleaner minipage/box conversion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8287 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 15:49:50 +00:00
Jürgen Spitzmüller
207ea41f2f
move minipage->box conversion from 224 to 227
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8276 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-29 12:56:10 +00:00
Angus Leeming
5647dabc2a
Georg's patch enabled lyx2lyx to find the collapsed status of Box insets
...
but Floats were failing due to the presence of 'wide false'. Rather
than special case again, I wrote a more robust method to find the
collapsed status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8270 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-19 21:38:07 +00:00
Angus Leeming
8962f163c5
(Georg): fix lyx2lyx conversion of InsetBox.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8267 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-19 10:22:02 +00:00
José Matox
9017670276
Angus fix to lyxrevert_228.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8257 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 09:57:48 +00:00
José Matox
e9a3a02e5c
Kayvan fix to lyxconvert_227.py
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8256 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-16 08:15:47 +00:00
Angus Leeming
faaea50708
Handle Michael's changes to InsetCollapsable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8255 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-15 22:04:31 +00:00
Angus Leeming
041004baac
Add a 'draft' option to InsetExternal.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8231 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-11 11:16:19 +00:00
Angus Leeming
d43da3679e
Modify the InsetBox format to always start 'Box'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8229 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:48:40 +00:00
Angus Leeming
f31f149037
Move ChangeLog entry to the correct place...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8228 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 21:42:53 +00:00
Angus Leeming
c2d7777341
InsetNote clean-up.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8226 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-10 17:28:14 +00:00
José Matox
62715f910e
Fix warnings in python 2.3.
...
Add redirection of log as an option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8209 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-05 20:09:24 +00:00
José Matox
a003e4a08d
Convert vertical spaces to new format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8186 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-03 12:29:42 +00:00
José Matox
4e132eecef
Fix from Kornel Benko to import minipages.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8086 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-14 12:49:15 +00:00
José Matox
0aa310da46
lyxconvert_224.py(convert_breaks): avoid removal of paragraph
...
arguments when a page breake or a line were present.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8085 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-14 11:55:25 +00:00
José Matox
a1ace3e3a1
deal better with default parameter of minipages from lyx 1.3.x
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8063 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-07 18:14:35 +00:00
José Matox
4dc81d208a
Create an empty paragraph for possible upper page and line breaks, if necessary.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8056 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 14:48:26 +00:00
José Matox
c8fa9fe6c8
convert line and page breaks to new format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7990 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-27 18:22:16 +00:00
José Matox
379467599e
* lyxconvert_223.py (convert_minipage): Assures the paramaters order and defaut values
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7949 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-22 09:03:51 +00:00
José Matox
272af48ec9
convert minipage to insetbox. (223 -> 225)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7946 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-21 17:21:45 +00:00
Angus Leeming
a60b5c0b72
Whitespace only.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-13 09:50:10 +00:00
José Matox
05f3c80f92
finish support for change tracking revert.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7861 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 14:56:23 +00:00
José Matox
0b24926473
support backward saving for 1.3.x format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7857 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-03 17:11:22 +00:00
Dekel Tsur
5765dce6ca
Declare encoding for python >= 2.3
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7728 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-10 11:21:58 +00:00
Angus Leeming
a52418b360
Revert, revert, revert. Sorry about that, y'all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7651 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:40:58 +00:00
Angus Leeming
9498f9758f
src/support/ChangeLog
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7650 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-03 17:28:39 +00:00
José Matox
5b6d509352
Almost full support for 0.10.7.This is not yet actived, it needs to add braces in some places
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7597 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 16:15:26 +00:00
Angus Leeming
e2df724add
I do believe that 'The LyX Team' doesn't claim copyright on any files in the
...
lib directory...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7589 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-22 11:08:44 +00:00
José Matox
8f4c38237d
replace valignment "center" by "middle" in tables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7579 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-21 12:15:29 +00:00
Dekel Tsur
195c4e14c3
Change the language of the document only if is 'default'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7479 a592a061-630c-0410-9148-cb99ea01b6c8
2003-08-01 16:10:27 +00:00
José Matox
29df5f4f83
\end_document replaces \the_end.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7430 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 22:30:50 +00:00
José Matox
2b2b83803a
lyx2lyx supports gziped files, version header correct
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7426 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 21:14:33 +00:00
José Matox
131eabe56c
\layout -> \begin_layout and missing \end_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7420 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 15:17:11 +00:00
José Matox
7a3c1708d2
fix lyx2lyx with new file format
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7415 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 13:09:39 +00:00
José Matox
c198343f93
lyxl2yx catches \end_layout
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7408 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-28 10:13:56 +00:00
José Matox
ff66614d1a
remove layout Comment, fix bug 1280 critical for 1.4
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7380 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-27 12:08:53 +00:00
Dekel Tsur
62c09c9630
Fix handling of \hfill inside ERT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7281 a592a061-630c-0410-9148-cb99ea01b6c8
2003-07-15 14:04:35 +00:00
José Matox
68fd7bc22a
Assure that \layout is the first element of the lyx file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7135 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-09 08:15:45 +00:00
José Matox
856b10ecaf
small fix to work with
...
csv2lyx files, already present in 1.3.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7133 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-07 10:04:43 +00:00
José Matox
2013762dc3
remove space between margin separation and units of 2.15 files (bug 763)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7127 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-06 15:48:35 +00:00
José Matox
26e1077797
fix bad convertion of 2.15 tables (bug 1045)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7123 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-06 14:00:46 +00:00
Angus Leeming
aa7c2f32e1
Make lyx2lyx output the new external inset format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7111 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-05 22:44:04 +00:00
John Levon
c7cb2f251b
lyx2lyx changes for removing insetparent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7083 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-02 14:16:17 +00:00
John Levon
767034028f
bug 1018 fix part 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7074 a592a061-630c-0410-9148-cb99ea01b6c8
2003-06-01 00:01:50 +00:00
Angus Leeming
b3608133b0
(Juergen) the new space inset.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6998 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-22 10:40:57 +00:00
John Levon
bf0ae39d7d
fix subcaption text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6672 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-01 14:48:13 +00:00
Dekel Tsur
ab3b768c24
Fix conversion of minipages that contains tabulars.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6504 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-14 15:00:02 +00:00
Dekel Tsur
b76510c433
Fix loading of files created by the development version
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6503 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-14 13:37:34 +00:00
Dekel Tsur
a2ec53aed7
Fix conversion of notes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6485 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-13 12:04:31 +00:00
Dekel Tsur
a806376034
Fix for note insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6468 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 18:41:13 +00:00
John Levon
868f59f137
split out header parsing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6454 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-12 02:39:12 +00:00
Dekel Tsur
de176d0550
Convert Info insets to Note insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6446 a592a061-630c-0410-9148-cb99ea01b6c8
2003-03-11 14:47:57 +00:00
André Pönitz
adcd9fbe8a
bare bones to convert 222
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6080 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-10 10:27:46 +00:00
Angus Leeming
a359be2d65
Enable the debug level to be set
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-02-07 11:01:46 +00:00
Dekel Tsur
d651660964
Fix lyx2lyx to handle reLyX files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5968 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-17 08:20:52 +00:00
José Matox
755eb8b989
Fix bug #816
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5958 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-15 14:17:56 +00:00
José Matox
25cebf4af3
Fix bug 436
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-08 15:47:15 +00:00
José Matox
0efa3f71a0
Fix weird case where the first body line has only a space
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-07 17:03:59 +00:00
José Matox
c1afe8596e
Accept attributes unquoted for tables
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5913 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-07 15:55:03 +00:00
José Matox
7c7f326f64
become more liberal with accepted values, fix table cases
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-07 14:39:54 +00:00
John Levon
23defe0e4f
fix lyx2lyx bugs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5904 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-05 22:08:22 +00:00
Dekel Tsur
9dccd39bd2
Fix alignment of fixed width columns.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5902 a592a061-630c-0410-9148-cb99ea01b6c8
2003-01-04 16:16:40 +00:00
Dekel Tsur
0ad10a39d0
Small change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-28 21:23:31 +00:00
Dekel Tsur
36afcb3f8e
Fix bug reported by Martin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5385 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 18:08:21 +00:00
Dekel Tsur
e1a68ef733
Remove debug message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5384 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-11 15:07:53 +00:00
Dekel Tsur
9daf926c02
Small fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5376 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-09 20:36:25 +00:00
Dekel Tsur
3686da86e0
Handle \pextra_type 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5368 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-08 15:37:52 +00:00
Dekel Tsur
0381d4feb6
Remove debugging messages
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5361 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-05 13:02:37 +00:00
Dekel Tsur
3a8ef790c8
Small fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5360 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-05 12:59:04 +00:00
Dekel Tsur
8b5e7434b4
Few fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5354 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-01 14:17:31 +00:00
Dekel Tsur
2a525e45bd
Fix the \end_deeper bug.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-01 08:21:47 +00:00
Dekel Tsur
0ed17fdba3
Simplify code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5287 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-12 15:10:23 +00:00
Dekel Tsur
a4af485033
Convert floatingfigure.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5284 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-12 12:02:54 +00:00
Dekel Tsur
5036183ea4
Prevent changing of non-tabular lines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5195 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-03 15:21:24 +00:00
Dekel Tsur
e579a794e2
Work with nested tabulars
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5189 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-31 11:27:01 +00:00
Dekel Tsur
47df264732
Cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5139 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 13:26:39 +00:00
Dekel Tsur
88836a4a74
- No placement in floats
...
- Don't use .extend()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5138 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 13:07:50 +00:00
Dekel Tsur
9467fcfe57
Fix rotateOrigin
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5137 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 13:03:24 +00:00
Dekel Tsur
817aa23167
Fix previous change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5136 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:35:20 +00:00
Dekel Tsur
60cc1a6324
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5135 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:21:20 +00:00
Dekel Tsur
2421f91530
Don't use .extend() (doesn't work in python 1.5)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5133 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 12:02:55 +00:00
Dekel Tsur
30b1be2182
Convert tabular version 2 -> version 3
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5131 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 10:45:21 +00:00
Dekel Tsur
1d1289f503
Handle the case where insetgraphics has no size_kind token
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5129 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-28 09:03:45 +00:00
John Levon
6af5ac769a
Rob's followup (nr. 1 ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5127 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 20:30:20 +00:00
José Matox
39d24aa20b
Extend compatibility up to 0.12.0
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5123 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-27 15:23:52 +00:00
José Matox
6894562a13
Diff for 2.16 -> 2.17 is only whitespace now
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5114 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 19:00:56 +00:00
José Matox
bee4ac06d8
Remove debug messages.\nAlmost the remaining diff are whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5113 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-26 18:28:13 +00:00
José Matox
2a15d6e5d6
Start to take care of the tables with continuation rows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5102 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-25 18:45:10 +00:00
Dekel Tsur
74a633f71f
Remove FormatVersion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5090 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 12:19:28 +00:00
Dekel Tsur
f2d6c172d4
lyxconvert_220 module for Rob's patch
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5089 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 12:13:44 +00:00
José Matox
4125f05d3e
Approaching null diff for 2.16
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5088 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-24 12:05:17 +00:00
José Matox
cc57abdf3a
First step for 2.16 convertion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5086 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-23 19:04:43 +00:00
José Matox
78dc5c62c7
First step from the 2.17 convertion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5061 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 17:25:47 +00:00
Dekel Tsur
8f5f4a74ae
*** empty log message ***
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5053 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-21 07:33:25 +00:00
Dekel Tsur
839002cb96
Cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5027 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-19 19:51:01 +00:00
Dekel Tsur
cbbfb29048
old ERT insets should just be ignored
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4949 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 21:48:47 +00:00
Dekel Tsur
7edacbcbea
Small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4929 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-10 13:34:57 +00:00
Dekel Tsur
a99f3cc3c6
- Fix ert conversion
...
- Convert old ERT insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4875 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-06 12:10:09 +00:00
Dekel Tsur
013d66f033
Small changes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4863 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-05 15:49:20 +00:00
Dekel Tsur
ac51eb8283
Few improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4853 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 14:29:12 +00:00
Dekel Tsur
33e6f2089a
Few improvements
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4852 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-03 10:31:31 +00:00
Dekel Tsur
1bd999fa65
Handle LaTeX layout, and collapse consecutive ERT insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4851 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 20:34:20 +00:00
Dekel Tsur
7d2326f31f
Convert ERT and figinsets. Perhaps incomplete.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 19:25:14 +00:00
Dekel Tsur
4e350da717
Create .cvsignore
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4844 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 15:50:51 +00:00
José Matox
f7d8239dae
Initial inclusion of lyx2lyx files
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4827 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-01 15:26:32 +00:00