From 227a0802dcc2f893a2e78e0a2d3c4091de63134c Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 5 Jun 2009 20:22:10 +0000 Subject: [PATCH] Lets have new output in view menu too. Copiers command would be needed one day? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29974 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index a8bdefac13..262af0a5ef 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -351,7 +351,6 @@ def checkFormatEntries(dtl_tools): \Format literate nw NoWeb N "" "%%" "document" \Format sweave Rnw "Sweave" S "" "%%" "document" \Format lilypond ly "LilyPond music" "" "" "%%" "vector" -\Format xhtml html "LyX HTML" "" "" "%%" "document" \Format latex tex "LaTeX (plain)" L "" "%%" "document" \Format pdflatex tex "LaTeX (pdflatex)" "" "" "%%" "document" \Format xetex tex "LaTeX (XeTeX)" "" "" "%%" "document" @@ -360,6 +359,11 @@ def checkFormatEntries(dtl_tools): \Format text3 txt "Plain text (ps2ascii)" "" "" "%%" "document" \Format text4 txt "Plain text (catdvi)" "" "" "%%" "document" \Format textparagraph txt "Plain Text, Join Lines" "" "" "%%" "document"''' ]) + # + path, xhtmlview = checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], + rc_entry = [r'\Format xhtml html "LyX HTML" "" "%%" "" "document"']) + if xhtmlview == "": + addToRC(r'\Format xhtml html "LyX HTML" "" "" "%%" "document"') # checkViewer('a BibTeX editor', ['sensible-editor', 'jabref', 'JabRef', \ 'pybliographic', 'bibdesk', 'gbib', 'kbib', \