commit aa380816c3644b4b483419a1ef3384815d7c0276
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun Feb 22 16:33:06 2026 +0100

    Configure Sioyek viewer with options that set synctex in the viewer
---
 lib/configure.py          |  2 +-
 lib/doc/Additional.lyx    | 73 +++++++++++++++++++----------------------------
 lib/doc/de/Additional.lyx | 45 ++++++++++++++---------------
 3 files changed, 51 insertions(+), 69 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 283255071a..9f0d3eecf4 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', 'sioyek', '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 3691663b0c..f5d2df7018 100644
--- a/lib/doc/Additional.lyx
+++ b/lib/doc/Additional.lyx
@@ -24875,10 +24875,8 @@ Sioyek (all platforms)
 
 \begin_layout Standard
 
-\change_inserted -712698321 1771765191
-In \SpecialChar LyX
-,
- set 
+\change_inserted -712698321 1771773046
+Set 
 \family sans
 Tools\SpecialChar menuseparator
 Preferences\SpecialChar menuseparator
@@ -24891,55 +24889,42 @@ PDF
 
 \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_inserted -712698321 1771772658
+sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n 
--inverse-search "lyxclient -g %1 %2"
 \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
+\begin_layout Standard
 
+\change_inserted -712698321 1771773099
+and select 
+\begin_inset Quotes eld
 \end_inset
 
-):
-\change_unchanged
-
-\end_layout
+sioyek
+\begin_inset Quotes erd
+\end_inset
 
-\begin_layout LyX-Code
+ 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.
+\change_deleted -712698321 1771772782
 
-\change_inserted -712698321 1771765215
-inverse_search_command lyxclient -g %1 %2
 \end_layout
 
 \begin_layout Standard
diff --git a/lib/doc/de/Additional.lyx b/lib/doc/de/Additional.lyx
index 858ddeb4ab..2d75cbb941 100644
--- a/lib/doc/de/Additional.lyx
+++ b/lib/doc/de/Additional.lyx
@@ -24701,39 +24701,36 @@ PDF-Befehl
 \end_layout
 
 \begin_layout LyX-Code
-sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n
+sioyek "$$o" --forward-search-file "$$f" --forward-search-line $$n 
--inverse-search "lyxclient -g %1 %2"
 \end_layout
 
 \begin_layout Standard
-In der Konfigurationsdatei 
-\begin_inset Flex Code
-status collapsed
-
-\begin_layout Plain Layout
-prefs_user.cfg
-\end_layout
+Wählen Sie außerdem 
+\begin_inset Quotes gld
+\end_inset
 
+sioyek
+\begin_inset Quotes grd
 \end_inset
 
- von 
+ 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
- (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
+ selbst keine \SpecialChar LyX
+-spezifischen Einstellungen nötig.
 \end_layout
 
 \begin_layout Standard
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to