commit b557fa4c73c3c27ccbb3a80d366f32ccf4d86a3f
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Feb 22 14:18:32 2026 +0100
Add support for Sioyek PDF reader
and document its synctex settings
---
lib/configure.py | 2 +-
lib/doc/Additional.lyx | 106 ++++++++++++++++++++++++++++++++++++++++++++++
lib/doc/de/Additional.lyx | 73 +++++++++++++++++++++++++++++++
3 files changed, 180 insertions(+), 1 deletion(-)
diff --git a/lib/configure.py b/lib/configure.py
index 914812a48e..283255071a 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -887,7 +887,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', '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 016228e59e..d06182cfe3 100644
--- a/lib/doc/Additional.lyx
+++ b/lib/doc/Additional.lyx
@@ -144,6 +144,7 @@ initials
\docbook_table_output 0
\docbook_mathml_prefix 1
\docbook_mathml_version 0
+\author -712698321 "Jürgen Spitzmüller"
\end_header
\begin_body
@@ -24866,6 +24867,111 @@ Modify the lines accordingly if you install
\SpecialChar LyX
Reverse search is triggered by Alt-click (OPTION-click).
\end_layout
+\begin_layout Subsubsection*
+
+\change_inserted -712698321 1771759297
+Sioyek (all platforms)
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1771765191
+In \SpecialChar LyX
+,
+ 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
+
+\change_inserted -712698321 1771759703
+sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1771765294
+In
+\family sans
+Sioyek
+\family default
+,
+ add to the file
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1771765253
+prefs_user.cfg
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ (can be opened with command
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1771765294
+prefs_user
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+):
+\change_unchanged
+
+\end_layout
+
+\begin_layout LyX-Code
+
+\change_inserted -712698321 1771765215
+inverse_search_command lyxclient -g %1 %2
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1771765356
+By default,
+ synctex mode is off in
+\family sans
+Sioyek
+\family default
+.
+ Press F4 to activate it (
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1771759732
+toggle_synctex
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ command).
+ While in this mode,
+ right clicking on any text toggles reverse search.
+\change_unchanged
+
+\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..8a53fd84fd 100644
--- a/lib/doc/de/Additional.lyx
+++ b/lib/doc/de/Additional.lyx
@@ -24684,6 +24684,79 @@ 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
+\end_layout
+
+\begin_layout Standard
+In der Konfigurationsdatei
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+prefs_user.cfg
+\end_layout
+
+\end_inset
+
+ von
+\family sans
+Sioyek
+\family default
+ (die mittels
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+prefs_user
+\end_layout
+
+\end_inset
+
+ geöffnet werden kann) fügen Sie die folgende Zeile hinzu:
+\end_layout
+
+\begin_layout LyX-Code
+inverse_search_command lyxclient -g %1 %2
+\end_layout
+
+\begin_layout Standard
+Per Voreinstellung ist der Synctex-Modus 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
+
+).
+ In diesem Modus initiiert ein Rechtsklick die Rückwärtssuche.
+\end_layout
+
\begin_layout Subsubsection*
Skim (Mac OSX)
\end_layout
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs