Commit Graph

4424 Commits

Author SHA1 Message Date
Richard Heck
920b34210b Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:56:45 +00:00
Richard Heck
808ff6650c Introduce a simple macro facility for citation formats. Also introduce
simple, translatable units for use in such formats.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 20:01:28 +00:00
Richard Heck
6c8ace9e7d Didn't mean to commit this one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:52:50 +00:00
Richard Heck
e392cff392 Update layouts to format 26.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33922 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:51:41 +00:00
Richard Heck
0c135d1c4e Make the default format translatable, and load the cite formats in
paper.layout.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:50:31 +00:00
Richard Heck
f1912e1c33 Read the citation formats from a file, rather than hardcoding them. This
allows for layout- or module-level customization of the display in the
citation dialog and of the XHTML bibliography output.

There is more of this to come, by the way. The next step is to allow
macros. That will make it easier to deal with translation issues, which
ought to be the final step.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33920 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 18:37:25 +00:00
Vincent van Ravesteijn
5de10a0123 Fix bug #3930: Wrong Margin Types in Elsart.layout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33917 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:20:03 +00:00
Richard Heck
3cc5a2e800 Use the new put_cmd_in_ert routine in the xymatrix reversion routine.
Vincent, can you check (again) that I didn't break this wiht an off by
one error or something?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33916 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:05:21 +00:00
Richard Heck
205feb0704 Introduce a proper form of the put_cmd_in_ert function.
Even if this doesn't get used in 2.0, we'll at least have it for later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 17:01:41 +00:00
Richard Heck
9f3253a34e Rename a routine. The new one comes next.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33914 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:37:30 +00:00
Richard Heck
7ba836548f Fix a minor bug in the xymatrix lyx2lyx stuff and make it a bit more
pythonic.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33913 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 16:29:57 +00:00
Pavel Sanda
8af8bb9203 Distribute IP example for this moment too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 22:19:31 +00:00
Pavel Sanda
268d7ced7e Few examples for instant preview
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 21:42:26 +00:00
Pavel Sanda
71cd86c649 Add Preview to ERT context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 20:12:24 +00:00
Pavel Sanda
d10da20777 xypic.lyx: Update link
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 19:43:49 +00:00
Vincent van Ravesteijn
81dc517306 Fix bug #6341: Can't set equal spacing in xymatrix.
Fix the file format change that was introduced in r32518.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 16:29:25 +00:00
Vincent van Ravesteijn
a4ec2fc8fe New file format for InsetPreview introduced in r38890.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33891 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 14:52:47 +00:00
Vincent van Ravesteijn
bb69584112 Introduce InsetPreview.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-28 13:47:50 +00:00
Edwin Leuven
b768107db9 adv search/replace: move insert regexp to context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33871 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-26 14:46:51 +00:00
Richard Heck
07c5726aac No spaces in configure.py, either. Thanks Julien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 14:23:06 +00:00
Richard Heck
1577c83484 Improve yet further the error reporting when we try to load a document
class that is unavailable. 

In addition, add some explanations about this kind of thing to the User
Guide, to which we can direct the user in the error message. This kind
of question comes up often enough that we need something right up front
about it. It isn't enough to have it in the other manuals.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 00:44:15 +00:00
Richard Heck
906e55567a No space here. Makes parsing easier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 19:56:29 +00:00
Richard Heck
cf8646083f Fix bug #3686, by collecting information about missing prerequisites for
document classes, etc. Patch from Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:25:16 +00:00
Richard Heck
0ac2542679 Whoops. We weren't quite ready for that yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:00:33 +00:00
Richard Heck
b30f7c3e9e Move the RefPrefix definitions to their own file, for easy inclusion in
other layouts. Also fix up some of those layotus.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:59:22 +00:00
Richard Heck
6b8532784b Fix thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33829 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 21:05:14 +00:00
Richard Heck
72d110bb6e Add a math-as-LaTeX option, and fix some issues with lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 15:02:12 +00:00
Richard Heck
2dfaebd243 Update layouts to format 25.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 22:21:56 +00:00
Richard Heck
d8a1720d56 Give ourselves a little more flexibility about math output under XHTML.
I think it will be worth implementing a version of pure HTML output, for
some uses, a la eLyXer.

Note that at present none of this does anything, and there is no UI to
set it. I just want to make sure it's in the file format, in case I do
not get to this before 2.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-18 20:35:08 +00:00
Richard Heck
d61d8d7edb Documentation for RefPrefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:27:22 +00:00
Richard Heck
4cd5bcefe9 Introduce a RefPrefix tag for Style, InsetLayout, and Float, that
indicates what prefix to use when constructing formatted references.
Documentation to follow.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:23:24 +00:00
Pavel Sanda
7bed8d2304 Add Mohamed Magdy to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33777 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-16 22:00:48 +00:00
Uwe Stöhr
dda7633e88 EmbeddedObjects.lyx: fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33730 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-13 01:11:13 +00:00
Uwe Stöhr
4bdd8fef50 LyX definitly needs a thesis template.
This template is meant as starting point and thus only contains the basics.
It is highly customizable and demonstrates shows how to handle subdocuments, header settings, different BibTeX-entries and nomenclature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33724 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-12 03:03:30 +00:00
Vincent van Ravesteijn
d415a1f554 Add "Info settings" to the Edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33647 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 17:51:40 +00:00
Pavel Sanda
1d81c75d09 Correct name in credits, thanks Juergen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33642 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 15:03:37 +00:00
Jürgen Spitzmüller
61e55ac197 * fix instant preview without dvipng (bug 6579).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33640 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 14:53:27 +00:00
Richard Heck
99bbf5b42a Update layouts to format 24.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 23:02:24 +00:00
Richard Heck
abc81b5c07 Rework and partially revert r33631.
This patch introduces a "ListCommand" tag for Float layout. This tag
defines the command used to generate a list of such floats, in the cases
where float.sty is not used (i.e., where NeedsFloatPkg is true). We were
previously hardcoding the commands \listoftables and \listoffigures. But
in other cases, such as achemso.layout, which defines lists of schemes,
charts, etc, we could not output such lists.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33633 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 22:58:29 +00:00
Richard Heck
b64e2d4103 Change the LaTeXBuiltin tag to a NeedsFloatPkg tag. Discussion on the
list revealed that the former is confusing to people. The latter
indicates more clearly what the tag does.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 17:24:38 +00:00
Richard Heck
ec712fa47f Clarify the ListName tag for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33618 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 13:44:23 +00:00
Uwe Stöhr
4459a6b5cd Add Ulysse Danglis to the Credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 02:57:12 +00:00
Pavel Sanda
336abfbbdf * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33589 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 00:15:21 +00:00
Vincent van Ravesteijn
36c1de09a7 Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 18:14:23 +00:00
Jürgen Spitzmüller
c2ef290547 * enable instant preview with XeTeX (requires preview-latex v.11.86) [bug #5577]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33554 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 10:47:35 +00:00
Uwe Stöhr
8207c3e82a UserGuide.lyx: fix another typo (was only in trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33553 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 02:38:34 +00:00
Uwe Stöhr
1500c79c11 - UserGuide.lyx: fix typos spotted by a user
- Abstract.pdf: fix typo in this image
- Resumen.pdf: correct PDF-crop box

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-24 00:45:39 +00:00
Uwe Stöhr
1bf64ccfb7 German Intro.lyx: fix a typo spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33549 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-23 22:44:09 +00:00
Pavel Sanda
4ae7fa0e3c At least basic ui
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33537 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 06:12:53 +00:00
Pavel Sanda
fee4215a73 Add images to makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33536 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-22 05:40:45 +00:00