Enrico Forestieri
6919ddf078
Bump layout format for the new Display tag used in Comments and Greyedout notes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 22:22:18 +00:00
Pavel Sanda
2c2ec0bbf6
String cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37282 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-21 13:08:21 +00:00
Richard Heck
35540efe52
Allow the warning to be disabled.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37209 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:31:14 +00:00
Richard Heck
28e08b23e2
Fix bug #7044 : Better error messages when modules are unavailable. Patch
...
from Julien Rioux, modified by me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37207 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 21:19:14 +00:00
Richard Heck
49436e4c2d
Add NoCounter layout tag. When working on output of equation numbers, I
...
noticed that article, for example, still has a counter "chapter". This
surprised me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:53:41 +00:00
Pavel Sanda
0bce203b5c
Kill translations for this string.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163897.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36637 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:52:53 +00:00
Richard Heck
db5713332a
Immediate but dumb partial fix for #7044 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36385 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-18 22:01:34 +00:00
Richard Heck
85904c550d
Add ResetsFont tag to InsetLayout, toward fixing bug #5657 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 15:54:39 +00:00
Richard Heck
d4634167cc
Get rid of "CharStyle:", "Custom:", and "Element:" prefixes, per a
...
suggestion of JMarc's. Docs to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35608 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 14:46:17 +00:00
Jean-Marc Lasgouttes
6aa26820fd
Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Richard Heck
5ee70976de
Renaming.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-05 20:25:04 +00:00
Richard Heck
0903700db3
Update comment a bit further.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 12:04:36 +00:00
Richard Heck
88329a656c
Fix problem reported by Vincent, that absence of python can cause
...
failure to load the empty class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34971 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 11:58:38 +00:00
Richard Heck
9034323d59
Renaming and typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34970 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-18 11:52:12 +00:00
Richard Heck
b0097bcddb
Introduce a new "RequiredArgs" tag for layouts. This functions much as
...
the OptionalArgs tag does and is implemented by the now misnamed
InsetOptArgs, except that its content gets wrapped in "{}" rather than
"[]". Required arguments do not actually have to be provided, but they
are always output.
This will allow e.g. beamer's Block environment to be implemented
without ERT.
Documentation to follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34591 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 21:50:08 +00:00
Pavel Sanda
62ca7f3ae5
Proper camel case for FileName.absFilename
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34234 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-21 01:19:09 +00:00
Richard Heck
6d7788fde0
Stupid, stupid, stupid.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34210 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 22:21:21 +00:00
Richard Heck
287612cfba
A final bit of cleanup with the TextClass reading functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34206 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 21:06:38 +00:00
Richard Heck
6d7cffbd71
A little more cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34205 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 20:42:04 +00:00
Richard Heck
d0b52ce0aa
Minor fixes to TextClass::read().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34204 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 20:37:07 +00:00
Richard Heck
f9b81a16c0
Do not throw exceptions here either. See r22806.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34193 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 22:49:38 +00:00
Richard Heck
dcc7497bde
Fix crash reported by Bennett. We could try to catch these exceptions
...
elsewhere, but I actually don't know why I put them here in the first
place.
The tex2lyx stuff allows us not to wrap the calls to
frontend::Alert::warning in "#ifdef TEX2LYX" blocks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34192 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-17 22:36:31 +00:00
Vincent van Ravesteijn
f4467be057
Fix bug #6651 : No error messages when module dependencies are not fulfilled.
...
We need to throw the ExceptionMessage's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 11:54:12 +00:00
Richard Heck
3504b0a807
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-07 13:25:44 +00:00
Jean-Marc Lasgouttes
b8fb599130
Fix ticket #6634 : LyX should pass the "noae" option to Sweave.sty
...
We pass it as a global document option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-01 21:34:22 +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
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
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
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
Vincent van Ravesteijn
f225a6d8b6
Remove superfluous std::.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33700 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-10 17:01:40 +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
Jürgen Spitzmüller
8168e27362
* new InsetLayout tag to disallow spell checking. This actually brings Inset::allowSpellCheck() to use.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 15:44:17 +00:00
Richard Heck
c2ac70552c
Introduce a "formatted counter" for use with formatted reference during
...
XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:33:36 +00:00
Richard Heck
9f2e85d565
Revert r33039, which did not work at all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 23:45:53 +00:00
Richard Heck
e0eaa73224
Minor InsetLayout cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:31:27 +00:00
Richard Heck
777717c33b
Fix TOC section detection.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32995 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:51:32 +00:00
Richard Heck
fdbd6064e9
New layout tag for specifying the style used for TOCs, etc, in XHTML
...
output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:38:31 +00:00
Richard Heck
ebfb4c09ad
Make the float interface for XHTML consistent with the others.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Richard Heck
08b63ad3c6
Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
...
InsetLayout, per Jurgen's suggestion, so that insets can be told to
display an abbreviated form of their content when closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 00:29:22 +00:00
Richard Heck
9929f89856
Fix bug 5842: Add InPreamble tag for layouts.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-01 14:34:05 +00:00
Richard Heck
d88e9655be
A bit of renaming, plus default values for htmlTag() and htmlClass().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:08:56 +00:00
Richard Heck
9afbd6d68d
Update layout format.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-27 19:03:30 +00:00
Peter Kümmel
bdd92ac7a2
fix merged build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31589 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-11 10:30:00 +00:00
Richard Heck
ea0501025e
s/moduleList/theModuleList/ for style purposes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:37:34 +00:00
Richard Heck
1f8bf874aa
IfStyle and IfCounter tags for layout. Docs to follow.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 14:50:01 +00:00
Richard Heck
4ad536375f
XHTML output for floats and captions.
...
NOTE: Again, I'm not increasing the layout format, though I have added
a couple new things here. If anyone thinks I really do need to do that,
then I will. But I don't think it's necessary, as no-one ought to be using
this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30178 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 12:49:08 +00:00
Richard Heck
aa2b14afce
Forgot to update the layout format when transferring from branch.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:05:48 +00:00
Richard Heck
0dbf7d0d3d
Layout infrastructure for HTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:26:30 +00:00