]> git.lyx.org Git - features.git/commitdiff
Do not show new "cropped" formats on export menu.
authorRichard Heck <rgheck@lyx.org>
Sun, 15 Feb 2015 03:56:33 +0000 (22:56 -0500)
committerRichard Heck <rgheck@lyx.org>
Sun, 15 Feb 2015 15:59:04 +0000 (10:59 -0500)
(cherry picked from commit 2fc44e96f536812a89adca789f6e7e87c4286f9e)

lib/configure.py

index 07d4146a198e5f847325a3b40941b76c86506157..3ac66ee7dcc4a3728fe8b1c66044b1bde231e669 100644 (file)
@@ -649,7 +649,7 @@ def checkFormatEntries(dtl_tools):
     checkViewer('a Postscript previewer', ['kghostview', 'okular', 'qpdfview --unique', 'evince', 'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
         rc_entry = [r'''\Format eps        eps     EPS                    "" "%%"      ""      "vector"        "image/x-eps"
 \Format eps2       eps    "EPS (uncropped)"       "" "%%"      ""      "vector"        ""
-\Format eps3       eps    "EPS (cropped)"         "" "%%"      ""      "document,menu=export"  ""
+\Format eps3       eps    "EPS (cropped)"         "" "%%"      ""      "document"      ""
 \Format ps         ps      Postscript             t  "%%"      ""      "document,vector,menu=export"   "application/postscript"'''])
     # for xdg-open issues look here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151818.html
     # the MIME type is set for pdf6, because that one needs to be autodetectable by libmime
@@ -661,8 +661,8 @@ def checkFormatEntries(dtl_tools):
 \Format pdf4       pdf    "PDF (XeTeX)"           X  "%%"      ""      "document,vector,menu=export"   ""
 \Format pdf5       pdf    "PDF (LuaTeX)"          u  "%%"      ""      "document,vector,menu=export"   ""
 \Format pdf6       pdf    "PDF (graphics)"        "" "%%"      ""      "vector"        "application/pdf"
-\Format pdf7       pdf    "PDF (cropped)"         "" "%%"      ""      "document,vector,menu=export"   ""
-\Format pdf8       pdf    "PDF (150 dpi)"         "" "%%"      ""      "document,vector,menu=export"   ""'''])
+\Format pdf7       pdf    "PDF (cropped)"         "" "%%"      ""      "document,vector"       ""
+\Format pdf8       pdf    "PDF (150 dpi)"         "" "%%"      ""      "document,vector"       ""'''])
     #
     checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'yap', 'dviout -Set=!m'],
         rc_entry = [r'''\Format dvi        dvi     DVI                    D  "%%"      ""      "document,vector,menu=export"   "application/x-dvi"