José Matos
04ecabef60
Update Python scripts to Python 3+
...
Remove support for Python 2
Use formatted strings where appropriated
2024-06-10 11:29:56 +01:00
Juergen Spitzmueller
4dc9e0c4e6
Improve CITATION_OPEN
...
* The lyxpaperview script now only provides the paths and let us do the opening
* We use our own viewers for local files rather than QDesktopServices
Plus several minor improvements and code cleanup
2023-08-30 15:30:29 +02:00
Pavel Sanda
1e4f913847
* lyxpaperview.py - non-waiting process call for all cases.
2023-08-17 23:36:18 +02:00
Pavel Sanda
52d51fe433
lyxpaperview - fix redirection
...
Any time pdfviewer process write anything to stderr it's killed,
most probably due to not existing pipe to proper stderr file descriptor.
/dev/null redirection fixes the issue.
2023-02-24 20:44:37 +01:00
Pavel Sanda
17829ee513
lyxpaperview - don't wait for the process to finish
2023-02-24 20:26:35 +01:00
Pavel Sanda
307498894c
* lyxpaperview.py - allow arguments for viewers
2023-02-20 23:07:09 +01:00
Pavel Sanda
79f321d0f5
pyupgrade related fixes to python scripts #2 .
...
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217790.html
2022-07-31 20:08:44 +02:00
Juergen Spitzmueller
0d98fb8548
lyxpaperview: take the first match
2020-08-27 12:05:49 +02:00
Juergen Spitzmueller
ff14d0bd00
Report back if citation target could not be opened
2020-08-27 11:52:52 +02:00
Juergen Spitzmueller
298fa2eee5
lyxpaperview.py: credit Pavel
2020-08-24 15:59:26 +02:00
Juergen Spitzmueller
7097c4e6b1
laypaperview.py: Fix program description
2020-08-24 15:41:52 +02:00
Juergen Spitzmueller
3e31fad5f6
lyxpaperview.py: no need to limit to year and author
...
The script can now take an unlimited number of arguments, which are all
searched for in the filename. This allows for more flexibility.
2020-08-24 15:38:55 +02:00
Juergen Spitzmueller
935c9aad5a
Add python lyxpaperview script
2020-08-24 13:32:50 +02:00