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 ** Instant preview
preview-latex is an emacs package for LaTeX that allows "instant preview-latex is an emacs package for LaTeX that allows "instant previews"
previews" of LaTeX code, so you can immediately see the visual of LaTeX code, so you can immediately see the visual rendering of the
rendering of the LaTeX in the document. With the help of David 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 Kastrup, the author, current CVS LyX can harness this functionality to
allow instant previews in the LyX window of math equations and allow instant previews in the LyX window of math equations and
figures. This feature can be immensely useful for making sure the 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> 2003-01-20 Michael Schmitt <Michael.Schmitt@teststep.org>
* reLyX/reLyXmain.pl: fixes the problem where a directory has * reLyX/reLyXmain.pl: fixes the problem where a directory has

View File

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

View File

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

View File

@ -182,7 +182,7 @@ End
# TOC_Title style definition # TOC_Title style definition
Style TOC_Title Style TOC_Title
CopyStyle Journal CopyStyle "Running LaTeX Title"
LatexName toctitle LatexName toctitle
LeftMargin "TOC title:xxx" LeftMargin "TOC title:xxx"
LabelString "TOC title: " LabelString "TOC title: "
@ -214,7 +214,7 @@ End
# AuthorRunning style definition # AuthorRunning style definition
Style Author_Running Style Author_Running
CopyStyle Journal CopyStyle "Running LaTeX Title"
LatexName authorrunning LatexName authorrunning
LeftMargin "Author Running:xxx" LeftMargin "Author Running:xxx"
LabelString "Author Running: " LabelString "Author Running: "
@ -222,7 +222,7 @@ End
# TOC_Author style definition # TOC_Author style definition
Style TOC_Author Style TOC_Author
CopyStyle Journal CopyStyle "Running LaTeX Title"
LatexName tocauthor LatexName tocauthor
LeftMargin "TOC Author :xxx" LeftMargin "TOC Author :xxx"
LabelString "TOC Author: " LabelString "TOC Author: "
@ -254,7 +254,7 @@ End
# #
# Correspondence address style definition # Correspondence address style definition
Style Mail Style Mail
CopyStyle Journal CopyStyle "Running LaTeX Title"
LatexName mail LatexName mail
LeftMargin "Corr Author:xx." LeftMargin "Corr Author:xx."
LabelString "Corr Author: " 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> 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* text3.C (dispatch): put the lfuns that insert insets in 3 * 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; action = LFUN_PREVIEW;
break; break;
case MenuItem::UpdateFormats: case MenuItem::UpdateFormats:
formats = Exporter::GetExportableFormats(buf, false); formats = Exporter::GetExportableFormats(buf, true);
action = LFUN_UPDATE; action = LFUN_UPDATE;
break; break;
default: default:

View File

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

View File

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