commit 13fd2baf5e59b3122074caab11d55e41f8d7d48a
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Feb 22 17:46:30 2026 +0100

    Support the Sioyek PDF viewer
---
 lib/configure.py          |  2 +-
 lib/doc/Additional.lyx    | 69 +++++++++++++++++++++++++++++++++++++++++++++
 lib/doc/de/Additional.lyx | 71 +++++++++++++++++++++++++++++++++++++++++++++++
 status.25x                |  1 +
 4 files changed, 142 insertions(+), 1 deletion(-)

diff --git a/lib/configure.py b/lib/configure.py
index 400370ba29..d49ec078f1 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -809,7 +809,7 @@ def checkFormatEntries(dtl_tools):
     checkViewer('a PDF previewer',
                 ['pdfview', 'kpdf', 'okular', 'qpdfview --unique',
                  'evince', 'papers', 'xreader', 'kghostview', 'xpdf', 
'SumatraPDF',
-                 'acrobat', 'acroread', 'mupdf', 'Skim.app',
+                 'acrobat', 'acroread', 'mupdf', 'sioyek --inverse-search 
\\"lyxclient -g %1 %2\\"', 'Skim.app',
                  'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'],
         rc_entry = [r'''\Format pdf        pdf    "PDF (ps2pdf)"          P  
"%%"      ""      "document,vector,menu=export"   ""
 \Format pdf2       pdf    "PDF (pdflatex)"        F  "%%"      ""      
"document,vector,menu=export"   ""
diff --git a/lib/doc/Additional.lyx b/lib/doc/Additional.lyx
index a9ec9f99b0..65e63cd8b0 100644
--- a/lib/doc/Additional.lyx
+++ b/lib/doc/Additional.lyx
@@ -24866,6 +24866,75 @@ Modify the lines accordingly if you install 
\SpecialChar LyX
 Reverse search is triggered by Alt-click (OPTION-click).
 \end_layout
 
+\begin_layout Subsubsection*
+Sioyek (all platforms)
+\end_layout
+
+\begin_layout Standard
+Set 
+\family sans
+Tools\SpecialChar menuseparator
+Preferences\SpecialChar menuseparator
+Output\SpecialChar menuseparator
+General\SpecialChar menuseparator
+PDF
+\family default
+ to
+\end_layout
+
+\begin_layout LyX-Code
+sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n 
--inverse-search "lyxclient -g %1 %2"
+\end_layout
+
+\begin_layout Standard
+and select 
+\begin_inset Quotes eld
+\end_inset
+
+sioyek \SpecialChar ldots
+
+\begin_inset Quotes erd
+\end_inset
+
+ as 
+\family sans
+Viewer
+\family default
+ for the respective PDF file format in 
+\family sans
+Tools\SpecialChar menuseparator
+Preferences\SpecialChar menuseparator
+File Handling\SpecialChar menuseparator
+File Formats
+\family default
+.
+ This way,
+ no \SpecialChar LyX
+-specific configuration is needed in 
+\family sans
+Sioyek.
+\family default
+By default,
+ mouse-click reverse search is off in 
+\family sans
+Sioyek
+\family default
+.
+ Press F4 to activate it (
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+toggle_synctex
+\end_layout
+
+\end_inset
+
+ command).
+ Consequently,
+ right clicking on any text toggles reverse search.
+\end_layout
+
 \begin_layout Subsubsection*
 Skim (Mac OSX)
 \end_layout
diff --git a/lib/doc/de/Additional.lyx b/lib/doc/de/Additional.lyx
index 903aa8c5cd..0c1f299525 100644
--- a/lib/doc/de/Additional.lyx
+++ b/lib/doc/de/Additional.lyx
@@ -24684,6 +24684,77 @@ Alt-Klick
  (OPTION-Klick) initiiert.
 \end_layout
 
+\begin_layout Subsubsection*
+Sioyek (alle Plattformen)
+\end_layout
+
+\begin_layout Standard
+Geben Sie in 
+\family sans
+Werkzeuge\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
+Ausgabe\SpecialChar menuseparator
+Generell\SpecialChar menuseparator
+PDF-Befehl
+\family default
+ ein:
+\end_layout
+
+\begin_layout LyX-Code
+sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n 
--inverse-search "lyxclient -g %1 %2"
+\end_layout
+
+\begin_layout Standard
+Wählen Sie außerdem 
+\begin_inset Quotes gld
+\end_inset
+
+sioyek \SpecialChar ldots
+
+\begin_inset Quotes grd
+\end_inset
+
+ als 
+\family sans
+Anzeigeprogramm
+\family default
+ für das entsprechende PDF-Format in 
+\family sans
+Werkzeuge\SpecialChar menuseparator
+Einstellungen\SpecialChar menuseparator
+Datei-Handhabung\SpecialChar menuseparator
+Dateiformate
+\family default
+.
+ Damit sind in 
+\family sans
+Sioyek
+\family default
+ selbst keine \SpecialChar LyX
+-spezifischen Einstellungen nötig.
+\end_layout
+
+\begin_layout Standard
+Per Voreinstellung ist die mausgesteuerte Rückwärtssuche in 
+\family sans
+Sioyek
+\family default
+ deaktiviert.
+ Drücken Sie F4,
+ um ihn zu aktivieren (Befehl 
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+toggle_synctex
+\end_layout
+
+\end_inset
+
+).
+ Danach initiiert ein Rechtsklick die Rückwärtssuche.
+\end_layout
+
 \begin_layout Subsubsection*
 Skim (Mac OSX)
 \end_layout
diff --git a/status.25x b/status.25x
index 13b422c813..6db4d367fc 100644
--- a/status.25x
+++ b/status.25x
@@ -15,6 +15,7 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
+- Support the Sioyek PDF viewer.
 
 
 * MISCELLANEOUS
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to