commit 065b540903f344e77e6f7de483292a75ffc6027a
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Tue Feb 11 12:39:33 2025 +0100

    Support GNOME papers PDF/PS viewer
    
    This is a fork of evince which is supposedly becoming the new standard
    document viewer in GNOME eventually (as evince development seems to
    have somewhat stalled)
    
    (cherry picked from commit 90a0e670ab34e29b670e86c86dea98646f56237f)
---
 lib/configure.py | 4 ++--
 status.24x       | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 94501f08bf..1564bdb172 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -816,7 +816,7 @@ def checkFormatEntries(dtl_tools):
     #  rc_entry = [ r'\ps_command "%%"' ])
     checkViewer('a Postscript previewer',
                 ['kghostview', 'okular', 'qpdfview --unique',
-                 'evince', 'xreader',
+                 'evince', 'papers', 'xreader',
                  'gv', 'ghostview -swap', 'gsview64', 'gsview32'],
         rc_entry = [r'''\Format eps        eps     EPS                    "" 
"%%"      ""      "vector"        "image/x-eps"
 \Format eps2       eps    "EPS (uncropped)"       "" "%%"      ""      
"vector"        ""
@@ -827,7 +827,7 @@ def checkFormatEntries(dtl_tools):
     # the MIME type is set for pdf6, because that one needs to be 
autodetectable by libmime
     checkViewer('a PDF previewer',
                 ['pdfview', 'kpdf', 'okular', 'qpdfview --unique',
-                 'evince', 'xreader', 'kghostview', 'xpdf', 'SumatraPDF',
+                 'evince', 'papers', 'xreader', 'kghostview', 'xpdf', 
'SumatraPDF',
                  'acrobat', 'acroread', 'mupdf', 'Skim.app',
                  'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'],
         rc_entry = [r'''\Format pdf        pdf    "PDF (ps2pdf)"          P  
"%%"      ""      "document,vector,menu=export"   ""
diff --git a/status.24x b/status.24x
index 2974b32f11..51982fde0c 100644
--- a/status.24x
+++ b/status.24x
@@ -17,6 +17,8 @@ What's new
 
 - LyX now includes a layout, template and example for the Springer Nature 
Journal class. 
 
+- Support GNOME's paper PDF viewer.
+
 
 * MISCELLANEOUS
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to