various bits from Michael

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5978 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-01-22 17:36:35 +00:00
parent 534c2aa641
commit dcdbeb3b34
9 changed files with 35 additions and 16 deletions

7
NEWS
View File

@ -49,9 +49,10 @@ developer's list.
** Instant preview
preview-latex is an emacs package for LaTeX that allows "instant
previews" of LaTeX code, so you can immediately see the visual
rendering of the LaTeX in the document. With the help of David
preview-latex is an emacs package for LaTeX that allows "instant previews"
of LaTeX code, so you can immediately see the visual rendering of the
LaTeX in the document. Its project home page can be found at
http://sourceforge.net/projects/preview-latex. With the help of David
Kastrup, the author, current CVS LyX can harness this functionality to
allow instant previews in the LyX window of math equations and
figures. This feature can be immensely useful for making sure the

View File

@ -1,3 +1,11 @@
2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
* layouts/cv.layout:
* layouts/egs.layout: do not use Include but Input
* layouts/llncs.layout: do not CopyStyle Journal, which does not
exist.
2003-01-20 Michael Schmitt <Michael.Schmitt@teststep.org>
* reLyX/reLyXmain.pl: fixes the problem where a directory has

View File

@ -165,5 +165,5 @@ Style Bibliography
End
Include stdfloats.inc
Include stdcounters.inc
Input stdfloats.inc
Input stdcounters.inc

View File

@ -767,5 +767,5 @@ Style LyX-Code
End
Include stdfloats.inc
Include stdcounters.inc
Input stdfloats.inc
Input stdcounters.inc

View File

@ -182,7 +182,7 @@ End
# TOC_Title style definition
Style TOC_Title
CopyStyle Journal
CopyStyle "Running LaTeX Title"
LatexName toctitle
LeftMargin "TOC title:xxx"
LabelString "TOC title: "
@ -214,7 +214,7 @@ End
# AuthorRunning style definition
Style Author_Running
CopyStyle Journal
CopyStyle "Running LaTeX Title"
LatexName authorrunning
LeftMargin "Author Running:xxx"
LabelString "Author Running: "
@ -222,7 +222,7 @@ End
# TOC_Author style definition
Style TOC_Author
CopyStyle Journal
CopyStyle "Running LaTeX Title"
LatexName tocauthor
LeftMargin "TOC Author :xxx"
LabelString "TOC Author: "
@ -254,7 +254,7 @@ End
#
# Correspondence address style definition
Style Mail
CopyStyle Journal
CopyStyle "Running LaTeX Title"
LatexName mail
LeftMargin "Corr Author:xx."
LabelString "Corr Author: "

View File

@ -1,3 +1,14 @@
2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
* MenuBackend.C (expandFormats): List only viewable export formats
in "View" menu
* buffer.C (parseSingleLyXformat2Token): Fix misleading error
message
* lyxfunc.C (getStatus): Make sure that formats other than
"fax" can be can also be disabled
2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text3.C (dispatch): put the lfuns that insert insets in 3

View File

@ -352,7 +352,7 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, Buffer const * buf)
action = LFUN_PREVIEW;
break;
case MenuItem::UpdateFormats:
formats = Exporter::GetExportableFormats(buf, false);
formats = Exporter::GetExportableFormats(buf, true);
action = LFUN_UPDATE;
break;
default:

View File

@ -621,13 +621,13 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
#if USE_BOOST_FORMAT
Alert::alert(_("Textclass error"),
boost::io::str(boost::format(_("The document uses an unknown textclass \"%1$s\".")) % lex.getString()),
_("LyX will not be able to produce output correctly."));
_("-- substituting default."));
#else
Alert::alert(
_("Textclass error"),
_("The document uses an unknown textclass ")
+ lex.getString(),
_("LyX will not be able to produce output correctly."));
_("-- substituting default."));
#endif
params.textclass = 0;
}

View File

@ -327,8 +327,7 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & ev) const
|| lyxrc.print_command == "none";
break;
case LFUN_EXPORT:
disable = ev.argument == "fax" &&
!Exporter::IsExportable(buf, ev.argument);
disable = !Exporter::IsExportable(buf, ev.argument);
break;
case LFUN_UNDO:
disable = buf->undostack.empty();