[LyX/master] lyxpaperview - fix viewer calls with additional arguments
commit 3a72e2c76bdd1818e2ae396ebe8916d3e26e0436 Author: Pavel Sanda Date: Sun Feb 19 22:35:21 2023 +0100 lyxpaperview - fix viewer calls with additional arguments --- src/frontends/qt/qt_helpers.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp index 2657f3d..01c5d7b 100644 --- a/src/frontends/qt/qt_helpers.cpp +++ b/src/frontends/qt/qt_helpers.cpp @@ -299,9 +299,9 @@ void showTarget(string const & target, string const & pdfv, string const & psv) string tmp, tar, opts; tar = split(target, tmp, ' '); if (!pdfv.empty()) - opts = " -v " + pdfv; + opts = " -v \"" + pdfv + "\""; if (!psv.empty()) - opts += " -w " + psv; + opts += " -w \"" + psv + "\""; if (!opts.empty()) opts += " "; Systemcall one; -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] typo
commit be0341edd30e7bb7b2ce8fd2ee1f9106bcafe5d3 Author: Pavel Sanda Date: Sun Feb 19 21:41:40 2023 +0100 typo --- src/LyXRC.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/LyXRC.h b/src/LyXRC.h index db7c539..c196d57 100644 --- a/src/LyXRC.h +++ b/src/LyXRC.h @@ -252,7 +252,7 @@ public: /// given citation. bool citation_search = false; /// Name of external script which searches for file corresponding to a - /// given citation. At this moment only script lyxpaperview.p is supported + /// given citation. At this moment only script lyxpaperview.py is supported /// (search for pdf or ps based on specific items) std::string citation_search_view; /// Items to search for in citation_search_view -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Another case of statusTip
commit 5b69f6899f5eecaf6397322984e4b92865b0cac2 Author: Pavel Sanda Date: Sun Feb 19 19:22:48 2023 +0100 Another case of statusTip --- src/frontends/qt/ui/BranchesUi.ui |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/ui/BranchesUi.ui b/src/frontends/qt/ui/BranchesUi.ui index 8e6f860..ab16997 100644 --- a/src/frontends/qt/ui/BranchesUi.ui +++ b/src/frontends/qt/ui/BranchesUi.ui @@ -165,7 +165,7 @@ - + Reset branch color to default (standard background) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] citationSearchCB statusTip -> toolTip
commit c629d11c43ea1f3acab44207603d83879580e027 Author: Pavel Sanda Date: Sun Feb 19 19:15:25 2023 +0100 citationSearchCB statusTip -> toolTip --- src/frontends/qt/ui/PrefEditUi.ui |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/ui/PrefEditUi.ui b/src/frontends/qt/ui/PrefEditUi.ui index 2a6a082..a8cff2f 100644 --- a/src/frontends/qt/ui/PrefEditUi.ui +++ b/src/frontends/qt/ui/PrefEditUi.ui @@ -112,9 +112,12 @@ - + If this is activated, LyX will search your disk for matching files when clicking on "Try to Open Citation Content..." in the citation context menu + + + Search &drive for cited files -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] * cs.po
commit f7bab6807cdee9910e265b4624081aa25ff526a4 Author: Pavel Sanda Date: Sun Feb 19 17:52:23 2023 +0100 * cs.po --- po/cs.po | 42 ++ 1 files changed, 18 insertions(+), 24 deletions(-) diff --git a/po/cs.po b/po/cs.po index 747e35b..9b3d267 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1921,10 +1921,9 @@ msgstr "&Možnosti:" #: src/frontends/qt/ui/FontUi.ui:194 src/frontends/qt/ui/FontUi.ui:302 #: src/frontends/qt/ui/FontUi.ui:410 -#, fuzzy msgid "" "Here you can insert additional options (as provided by the font package)" -msgstr "Zpřesňující volby bibliografického nástroje" +msgstr "Zde můžete zadat zpřesňující volby (poskytnuté balíčkem fontu)" #: src/frontends/qt/ui/FontUi.ui:205 msgid "&Sans Serif:" @@ -1948,9 +1947,8 @@ msgstr "" "Změnit měřítko bezpatkového fontu tak, aby odpovídal rozměru základního fontu" #: src/frontends/qt/ui/FontUi.ui:267 -#, fuzzy msgid "Use old st&yle figures" -msgstr "Použít &minuskové číslice (old style figures)" +msgstr "Použít m&inuskové číslice (old style figures)" #: src/frontends/qt/ui/FontUi.ui:313 msgid "&Typewriter:" @@ -1973,9 +1971,8 @@ msgstr "" "fontu" #: src/frontends/qt/ui/FontUi.ui:375 -#, fuzzy msgid "Use old style &figures" -msgstr "Použít &minuskové číslice (old style figures)" +msgstr "Použít mi&nuskové číslice (old style figures)" #: src/frontends/qt/ui/FontUi.ui:421 msgid "&Math:" @@ -2137,9 +2134,8 @@ msgid "Sho&w in LyX" msgstr "&Zobrazit v LyX-u" #: src/frontends/qt/ui/GraphicsUi.ui:556 src/frontends/qt/ui/GraphicsUi.ui:563 -#, fuzzy msgid "Percentage to scale by in LyX (1 to 1000)" -msgstr "Měřítko zvětšení v procentech" +msgstr "Měřítko zvětšení v procentech (od 1 do 1000)" #: src/frontends/qt/ui/GraphicsUi.ui:566 msgid "Sca&le on screen (%):" @@ -2149,10 +2145,11 @@ msgstr "Měřítko na o&brazovce (%):" msgid "" "If LyX uses a dark theme, revert the colors of this graphics in the workarea" msgstr "" +"Pokud LyX používá tmavý mód, provede se inverze barev tohoto obrázku v editoru" #: src/frontends/qt/ui/GraphicsUi.ui:592 msgid "Re&vert colors in dark mode" -msgstr "" +msgstr "Inve&rze barev v tmavém módu" #: src/frontends/qt/ui/GraphicsUi.ui:615 src/frontends/qt/ui/GraphicsUi.ui:634 msgid "Additional LaTeX options" @@ -4139,10 +4136,11 @@ msgid "" "paste operations and when moving content from/to insets if change tracking " "is deactivated." msgstr "" +"Při zaškrtnutí budou označení všech revizních změn kopírována/vkládána společně s textem (rovněž při přesouvání z/do vložky). Sledování revizních změn musí být vypnuto." #: src/frontends/qt/ui/PrefEditUi.ui:93 msgid "&Keep change tracking markup on copy and paste" -msgstr "" +msgstr "Z&achovat revizní značky při kopírování do schránky" #: src/frontends/qt/ui/PrefEditUi.ui:100 msgid "Sort &environments alphabetically" @@ -4156,33 +4154,30 @@ msgstr "&Kurzor následuje posuvník" msgid "" "If this is activated, LyX will search your disk for matching files when " "clicking on \"Try to Open Citation Content...\" in the citation context menu" -msgstr "" +msgstr "LyX bude prohledávat odpovídající soubory na lokálním disku pokud zvolíte \"Zkusit otevřít obsah citace...\" v kontextovém menu citace." #: src/frontends/qt/ui/PrefEditUi.ui:119 -#, fuzzy msgid "Search &drive for cited files" -msgstr "Vybrat adresář s příklady" +msgstr "H&ledat obsah citací na disku" #: src/frontends/qt/ui/PrefEditUi.ui:144 -#, fuzzy msgid "Patte&rn:" -msgstr "&Vzorek výplně:" +msgstr "&Maska:" #: src/frontends/qt/ui/PrefEditUi.ui:154 msgid "Define search pattern (see UserGuide for syntax)" -msgstr "" +msgstr "Definice vyhledávací masky souboru (syntax v Uživatelské příručce)" #: src/frontends/qt/ui/PrefEditUi.ui:167 msgid "Cursor width (&pixels):" msgstr "Šířka kurzoru v pi&xelech:" #: src/frontends/qt/ui/PrefEditUi.ui:177 -#, fuzzy msgid "" "Configure the width of the text cursor. \"Auto\" means that zoom-controlled " "width is used." msgstr "" -"Automatická šířka (dle zvětšení) bude použita, pokud zvolíte hodnotu 0." +"Pokud zvolíte hodnotu Auto, bude použita automatická šířka dle zvětšení" #: src/frontends/qt/ui/PrefEditUi.ui:180 #: lib/citeengines/biblatex-natbib.citeengine:148 @@ -4204,7 +4199,7 @@ msgstr "&Seskupit nabídku prostředí dle kategorií" #: src/frontends/qt/ui/PrefEditUi.ui:220 src/frontends/qt/ui/PrefEditUi.ui:246 msgid "Limit the width of the text in the work area to the specified length" -msgstr "" +msgstr "Omezit šířku textu na pracovní ploše editoru podle specifikované šířky" #: src/frontends/qt/ui/PrefEditUi.ui:223 msgid "&Limit text width" @@ -4227,9 +4222,8 @@ msgid "Hide sta&tusbar" msgstr "S&krýt stavový řádek" #: src/frontends/qt/ui/PrefEditUi.ui:323 -#, fuzzy msgid "H&ide tabbar" -msgstr "&Skrýt lištu s dokumenty" +msgstr "&Skrýt lištu s panely dokumentů" #: src/frontends/qt/ui/PrefEditUi.ui:365 msgid "&Hide toolbars" @@ -20009,7 +20003,7 @@ msgstr
[LyX/master] UserGuide - document citation_search_view
commit cb32a61e947afcb4b53faf283a0fba9f3056c88a Author: Pavel Sanda Date: Sun Feb 19 17:00:19 2023 +0100 UserGuide - document citation_search_view --- lib/doc/UserGuide.lyx | 51 1 files changed, 46 insertions(+), 5 deletions(-) diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index e78674a..8190d3c 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -10222,14 +10222,12 @@ Verbatim \end_layout \begin_layout Verbatim - This is Verbatim. \end_layout \begin_layout Verbatim \noindent \align block - The following 2 lines are empty: \end_layout @@ -10242,7 +10240,6 @@ The following 2 lines are empty: \end_layout \begin_layout Verbatim - Almost everything is allowed in Verbatim:"%&$§#~'` \backslash }][{| @@ -10266,7 +10263,6 @@ Verbatim \end_layout \begin_layout Verbatim* - This is Verbatim*. \end_layout @@ -36801,7 +36797,52 @@ localfile \change_inserted -712698321 1598526494 In addition to that, \SpecialChar LyX - also searches your disk for matching files if you enable + also searches +\change_inserted 5863208 1676821714 + +\begin_inset Foot +status open + +\begin_layout Plain Layout + +\change_inserted 5863208 1676822207 +By default we provide python script +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 5863208 1676822064 +lyxpaperview.py +\end_layout + +\end_inset + + for the search, + but you can use any modified script by setting +\begin_inset Flex Code +status collapsed + +\begin_layout Plain Layout + +\change_inserted 5863208 1676822135 + +\backslash +citation_search_view +\end_layout + +\end_inset + + variable in your RC file. +\change_unchanged + +\end_layout + +\end_inset + + +\change_inserted -712698321 1598526494 + your disk for matching files if you enable \family sans Search drive for cited files \family default -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Update sk.po
commit f7182083ff2ebeb9abb557f1d78e0c4f6b6acb35 Author: Kornel Benko Date: Sun Feb 19 12:41:44 2023 +0100 Update sk.po --- po/sk.po | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/po/sk.po b/po/sk.po index 15c0a02..c14c09e 100644 --- a/po/sk.po +++ b/po/sk.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: LyX-2.4\n" "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n" -"POT-Creation-Date: 2023-02-18 16:49+0100\n" -"PO-Revision-Date: 2023-02-18 16:11+\n" +"POT-Creation-Date: 2023-02-19 12:35+0100\n" +"PO-Revision-Date: 2023-02-19 11:39+\n" "Last-Translator: Kornel Benko \n" "Language-Team: Slovak \n" "Language: sk\n" @@ -35772,6 +35772,10 @@ msgstr "Otvoriť databázy?" msgid "&Proceed" msgstr "&Pokračovať" +#: src/insets/InsetBibtex.cpp:181 +msgid "EMPTY: " +msgstr "PRÁZDNE: " + #: src/insets/InsetBibtex.cpp:179 msgid "Biblatex Generated Bibliography" msgstr "Zoznam bibliografických odkazov generovaný biblatexom" @@ -35784,6 +35788,10 @@ msgstr "Zoznam bibliografických odkazov generovaný BibTeXom" msgid "Databases:" msgstr "Databázy:" +#: src/insets/InsetBibtex.cpp:195 +msgid "None[[bib databases]], please fill in!" +msgstr "Bez, vložte prosím!" + #: src/insets/InsetBibtex.cpp:209 msgid "Style File:" msgstr "Súbor so štýlom:" -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] de.po
commit ac5da1b1b669f2209ea29c3fceab8a0b40929c63 Author: Juergen Spitzmueller Date: Sun Feb 19 12:26:09 2023 +0100 de.po --- po/de.po | 111 +- 1 files changed, 59 insertions(+), 52 deletions(-) diff --git a/po/de.po b/po/de.po index b64a661..197e3fc 100644 --- a/po/de.po +++ b/po/de.po @@ -94,8 +94,8 @@ msgid "" msgstr "" "Project-Id-Version: LyX 2.4git\n" "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n" -"POT-Creation-Date: 2023-02-16 15:18+0100\n" -"PO-Revision-Date: 2023-02-16 15:24+0100\n" +"POT-Creation-Date: 2023-02-19 12:19+0100\n" +"PO-Revision-Date: 2023-02-19 12:25+0100\n" "Last-Translator: Jürgen Spitzmüller \n" "Language-Team: Deutsch \n" "Language: de\n" @@ -498,17 +498,17 @@ msgid "&Content:" msgstr "&Inhalt:" #: src/frontends/qt/ui/BibtexUi.ui:348 src/frontends/qt/GuiBibtex.cpp:395 -#: src/insets/InsetBibtex.cpp:218 src/insets/InsetBibtex.cpp:236 +#: src/insets/InsetBibtex.cpp:222 src/insets/InsetBibtex.cpp:240 msgid "all cited references" msgstr "alle zitierten Literatureinträge" #: src/frontends/qt/ui/BibtexUi.ui:353 src/frontends/qt/GuiBibtex.cpp:397 -#: src/insets/InsetBibtex.cpp:216 +#: src/insets/InsetBibtex.cpp:220 msgid "all uncited references" msgstr "alle nicht zitierten Literatureinträge" #: src/frontends/qt/ui/BibtexUi.ui:358 src/frontends/qt/GuiBibtex.cpp:398 -#: src/insets/InsetBibtex.cpp:214 src/insets/InsetBibtex.cpp:234 +#: src/insets/InsetBibtex.cpp:218 src/insets/InsetBibtex.cpp:238 msgid "all references" msgstr "alle Literatureinträge" @@ -600,7 +600,7 @@ msgid "Height value" msgstr "Höhe" #: src/frontends/qt/ui/BoxUi.ui:139 src/frontends/qt/ui/MathMatrixUi.ui:23 -#: src/frontends/qt/ui/ParagraphUi.ui:86 lib/layouts/japanese-vertical.inc:18 +#: src/frontends/qt/ui/ParagraphUi.ui:86 lib/layouts/japanese-vertical.inc:19 msgid "Alignment" msgstr "Ausrichtung" @@ -7840,7 +7840,7 @@ msgstr "Kurztitel für den Anhang" #: lib/layouts/stdstruct.inc:59 lib/layouts/svcommon.inc:658 #: lib/layouts/tufte-book.layout:301 lib/layouts/tufte-book.layout:303 #: lib/layouts/tufte-handout.layout:78 lib/examples/Articles:0 -#: src/frontends/qt/GuiDocument.cpp:1816 src/insets/InsetBibtex.cpp:957 +#: src/frontends/qt/GuiDocument.cpp:1816 src/insets/InsetBibtex.cpp:963 msgid "Bibliography" msgstr "Literaturverzeichnis" @@ -7856,8 +7856,8 @@ msgstr "Literaturverzeichnis" #: lib/layouts/kluwer.layout:398 lib/layouts/llncs.layout:296 #: lib/layouts/moderncv.layout:629 lib/layouts/siamltex.layout:355 #: lib/layouts/stdstruct.inc:75 lib/layouts/svcommon.inc:674 -#: src/insets/InsetBibtex.cpp:958 src/insets/InsetBibtex.cpp:1034 -#: src/insets/InsetBibtex.cpp:1089 src/output_plaintext.cpp:157 +#: src/insets/InsetBibtex.cpp:964 src/insets/InsetBibtex.cpp:1040 +#: src/insets/InsetBibtex.cpp:1095 src/output_plaintext.cpp:157 msgid "References" msgstr "Literaturverzeichnis" @@ -14142,49 +14142,49 @@ msgstr "NDB-Referenz:" msgid "Synopsis" msgstr "Synopse" -#: lib/layouts/japanese-vertical.inc:9 lib/layouts/japanese-vertical.inc:14 +#: lib/layouts/japanese-vertical.inc:10 lib/layouts/japanese-vertical.inc:15 msgid "Rensuji" msgstr "Rensuji" -#: lib/layouts/japanese-vertical.inc:13 +#: lib/layouts/japanese-vertical.inc:14 msgid "Rensuji|R" msgstr "Rensuji|R" -#: lib/layouts/japanese-vertical.inc:17 +#: lib/layouts/japanese-vertical.inc:18 msgid "Pos" msgstr "Pos" -#: lib/layouts/japanese-vertical.inc:19 +#: lib/layouts/japanese-vertical.inc:20 msgid "Insert 'c' for centering, 'r' for flushright and 'l' for flushleft" msgstr "" "Geben Sie hier 'c' für zentriert, 'r' für rechts- und 'l' für " "linksausgerichtet ein" -#: lib/layouts/japanese-vertical.inc:23 +#: lib/layouts/japanese-vertical.inc:25 msgid "Rensuji*" msgstr "Rensuji*" -#: lib/layouts/japanese-vertical.inc:26 +#: lib/layouts/japanese-vertical.inc:28 msgid "Rensuji with no Skip Adjustment|n" msgstr "Rensuji ohne Abstandsanpassung|n" -#: lib/layouts/japanese-vertical.inc:27 +#: lib/layouts/japanese-vertical.inc:29 msgid "Rensuji (no skip adj.)" msgstr "Rensuji (keine Anp.)" -#: lib/layouts/japanese-vertical.inc:30 +#: lib/layouts/japanese-vertical.inc:32 msgid "Bou" msgstr "Bou" -#: lib/layouts/japanese-vertical.inc:33 lib/layouts/japanese-vertical.inc:34 +#: lib/layouts/japanese-vertical.inc:35 lib/layouts/japanese-vertical.inc:36 msgid "Bouten" msgstr "Bouten" -#: lib/layouts/japanese-vertical.inc:37 +#: lib/layouts/japanese-vertical.inc:39 msgid "Kasen" msgstr "Kasen" -#: lib/layouts/japanese-vertical.inc:40 lib/layouts/japanese-vertical.inc:41 +#: lib/layouts/japanese-vertical.inc:42 lib/layouts/japanese-vertical.inc:43 msgid "Bousen" msgstr "Bousen" @@ -21857,12 +21857,12 @@ msgid "Reject All Changes|e" msgstr "Alle Änderungen ablehnen|h" #: lib/ui/stdmenus.inc:594 -msgid "Accept All Changes (incl. Master/Children/Siblings)|p" -msgstr "Alle Änderungen (inkl. Haupt-/Unter-/Gesc
[LyX/master] Mark empty bib(la)tex insets (i.e., with no databases defined) (#12668)
commit 8deb05f7a7106e43138945dfc8b1f53c436c2a2e Author: Juergen Spitzmueller Date: Sun Feb 19 12:15:45 2023 +0100 Mark empty bib(la)tex insets (i.e., with no databases defined) (#12668) --- src/insets/InsetBibtex.cpp | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index a9c0ff9..55ba0aa 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -176,8 +176,12 @@ bool InsetBibtex::usingBiblatex() const docstring InsetBibtex::screenLabel() const { - return usingBiblatex() ? _("Biblatex Generated Bibliography") + docstring res; + if (getParam("bibfiles").empty()) + res = _("EMPTY: "); + res += usingBiblatex() ? _("Biblatex Generated Bibliography") : _("BibTeX Generated Bibliography"); + return res; } @@ -188,7 +192,7 @@ docstring InsetBibtex::toolTip(BufferView const & /*bv*/, int /*x*/, int /*y*/) tip += ""; if (bibfilelist.empty()) - tip += "" + _("none") + ""; + tip += "" + _("None[[bib databases]], please fill in!") + ""; else for (docstring const & bibfile : bibfilelist) tip += "" + bibfile + ""; @@ -934,6 +938,8 @@ void InsetBibtex::updateBuffer(ParIterator const &, UpdateType, bool const /*del } if (invalidate) buffer().invalidateBibinfoCache(); + + setBroken(getParam("bibfiles").empty()); } -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs