[LyX/master] Fix compilation on ubuntu 18.04
commit 23105b2eddd5bb547f3a960c63dc05a8b69a4e28 Author: Jean-Marc Lasgouttes Date: Wed Feb 28 16:58:35 2024 +0100 Fix compilation on ubuntu 18.04 One of Qt 5.9 or gcc 7.5 does not like the or-ing of several enum flags. --- src/frontends/qt/FindAndReplace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt/FindAndReplace.cpp b/src/frontends/qt/FindAndReplace.cpp index 782ea48f9f..8c8ad115bd 100644 --- a/src/frontends/qt/FindAndReplace.cpp +++ b/src/frontends/qt/FindAndReplace.cpp @@ -665,7 +665,7 @@ FindAndReplace::FindAndReplace(GuiView & parent, setWidget(widget_); setFocusProxy(widget_); // FIXME: Allow all areas once the dialog re-orientation is fixed - setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::NoDockWidgetArea); + setAllowedAreas(Qt::DockWidgetAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea)); #ifdef Q_OS_MAC // On Mac show and floating setFloating(true); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Linguistics: resolve tracked changes
commit be209506d5ad7b1781b1996ddd8d5e8cd5b2017d Author: Juergen Spitzmueller Date: Wed Feb 28 16:16:43 2024 +0100 Linguistics: resolve tracked changes --- lib/examples/Modules/Linguistics.lyx | 1058 +- 1 file changed, 30 insertions(+), 1028 deletions(-) diff --git a/lib/examples/Modules/Linguistics.lyx b/lib/examples/Modules/Linguistics.lyx index 641f5a2699..f08d1f2ac8 100644 --- a/lib/examples/Modules/Linguistics.lyx +++ b/lib/examples/Modules/Linguistics.lyx @@ -94,6 +94,7 @@ linguistics \suppress_date false \justification true \use_refstyle 0 +\use_formatted_ref 0 \use_minted 0 \use_lineno 0 \index Index @@ -121,7 +122,6 @@ linguistics \html_be_strict false \docbook_table_output 0 \docbook_mathml_prefix 1 -\author -712698321 "Jürgen Spitzmüller" \end_header \begin_body @@ -156,30 +156,16 @@ literal "false" This paper describes some features that \SpecialChar LyX provides to linguists. It demonstrates how to use some native support in order to produce numbered examples, - -\change_inserted -712698321 1559649291 -interlinear -\change_unchanged -glosses, + interlinear glosses, OT tableaux, semantic markup, structure trees, - -\change_inserted -712698321 1561275938 -Discourse Representation Structures, - -\change_unchanged -and phonetic symbols (IPA). + Discourse Representation Structures, + and phonetic symbols (IPA). \end_layout \begin_layout Section -Aims and -\change_deleted -712698321 1559649283 -p -\change_inserted -712698321 1559649283 -P -\change_unchanged -rerequisites +Aims and Prerequisites \end_layout \begin_layout Standard @@ -251,25 +237,9 @@ literal "true" \end_inset : - This is the base package used for numbered examples -\change_inserted -712698321 1561270568 -, - -\change_unchanged - -\change_deleted -712698321 1561270570 -and -\change_unchanged -glosses -\change_inserted -712698321 1561270580 - and semantic markup -\change_unchanged -. - -\change_inserted -712698321 1689860042 + This is the base package used for numbered examples, + glosses and semantic markup. Note that at least version 2.11 of the covington package is required to use all features. -\change_unchanged - \end_layout \begin_deeper @@ -282,59 +252,6 @@ arg "covington" \end_inset . -\change_inserted -712698321 1561275950 - -\end_layout - -\end_deeper -\begin_layout Enumerate - -\change_deleted -712698321 1559635693 - -\emph on -enumitem.sty -\emph default - -\begin_inset CommandInset citation -LatexCommand cite -key "enumitem" -literal "true" - -\end_inset - -: - This package is used for the Subexamples style. - It is generally useful to alter the appearance of lists (such as -\emph on -enumerate -\emph default -, - -\emph on -itemize -\emph default -, - -\emph on -description -\emph default -). -\end_layout - -\begin_deeper -\begin_layout Itemize - -\change_deleted -712698321 1559635693 -Installed on your system: - -\begin_inset Info -type "package" -arg "enumitem" -\end_inset - -. -\change_unchanged - \end_layout \end_deeper @@ -356,11 +273,7 @@ literal "true" \emph on Meaning \emph default - character style -\change_inserted -712698321 1559635744 - and for glosses -\change_unchanged -. + character style and for glosses. The package provides context sensitive quotation marks, depending on the language in use. \end_layout @@ -375,15 +288,11 @@ arg "csquotes" \end_inset . -\change_inserted -712698321 1561276155 - \end_layout \end_deeper \begin_layout Enumerate -\change_inserted -712698321 1561276156 - \emph on drs.sty \emph default @@ -406,8 +315,6 @@ Discourse Representation Structures \begin_deeper \begin_layout Itemize - -\change_inserted -712698321 1561276156 Installed on your system: \begin_inset Info @@ -416,8 +323,6 @@ arg "drs" \end_inset . -\change_unchanged - \end_layout \end_deeper @@ -480,15 +385,11 @@ arg "forest" \end_inset . -\change_inserted -712698321 1561276162 - \end_layout \end_deeper \begin_layout Enumerate -\change_inserted -712698321 1561276195 - \emph on pict2e.sty \emph default @@ -510,8 +411,6 @@ es. \begin_deeper \begin_layout Itemize - -\change_inserted -712698321 1689942218 Installed on your system: \begin_inset Info @@ -525,8 +424,6 @@ arg "pict2e" \end_deeper \begin_layout Enumerate -\change_inserted -712698321 1689942481 - \emph on varwidth.sty \emph default @@ -544,8 +441,6 @@ literal "true" \begin_deeper \begin_layout Itemize - -\change_inserted -712698321 1689942218 Installed on your system: \begin_inset Info @@ -554,19 +449,11 @@ arg "varwidth" \end_inset . -\change_unchanged - \end_layout \end_deeper \begin_layout Section -Numbered -\change_deleted -712698321 1559649278 -e -\change_inserted -712698321 1559649278 -E -\change_unchanged -xamples +Numbered Examples \end_layout \begin_layout Standard @@ -654,22 +541,6 @@ nolink "false" \end_layout \begin_layout Standard - -\chang
[LyX/master] French example Linguistics.lyx: upadate before 2.4.0
commit 026bd675687bb45610e2b0b66ac77bc15db9d0e6 Author: jpc Date: Wed Feb 28 11:36:45 2024 +0100 French example Linguistics.lyx: upadate before 2.4.0 --- lib/examples/fr/Modules/Linguistics.lyx | 1028 ++- 1 file changed, 598 insertions(+), 430 deletions(-) diff --git a/lib/examples/fr/Modules/Linguistics.lyx b/lib/examples/fr/Modules/Linguistics.lyx index ba8e6401f0..12e7772ef8 100644 --- a/lib/examples/fr/Modules/Linguistics.lyx +++ b/lib/examples/fr/Modules/Linguistics.lyx @@ -94,6 +94,7 @@ linguistics \suppress_date false \justification true \use_refstyle 0 +\use_formatted_ref 0 \use_minted 0 \use_lineno 0 \index Index @@ -139,7 +140,8 @@ status collapsed Traduction française Jean-Pierre Chrétien, , novembre 2009, - mises à jour février 2016 et juin 2021. + mises à jour février 2016, + juin 2021 et février 2024 (avant la publication de lyx-2.4) \end_layout \end_inset @@ -442,6 +444,40 @@ arg "pict2e" . \end_layout +\end_deeper +\begin_layout Enumerate + +\emph on +varwidth.sty +\emph default + +\begin_inset CommandInset citation +LatexCommand cite +key "varwidth" +literal "true" + +\end_inset + +: + nécessaire pour covington (à partir de la version version 2.11) pour les commentaires de glose. +\end_layout + +\begin_deeper +\begin_layout Itemize +installé sur votre système? + +\lang english + +\lang french + +\begin_inset Info +type "package" +arg "pict2e" +\end_inset + +. +\end_layout + \end_deeper \begin_layout Section Exemples numérotés @@ -539,20 +575,20 @@ nolink "false" \end_layout \begin_layout Standard -Si vous souhaitez modifier la numérotation d'un exemple particulier, - vous pouvez utiliser +Les différents exemples peuvent être adaptés dans les détails grâces à des arguments facultatifs. + Ceux-ci peuvent être introduits par le menu contextuel via \family sans Insertion\SpecialChar menuseparator -Numérotation spécifique +Options d'exemple \family default -. - Pour les réglages globaux, - -\emph on -covington -\emph default - propose des options de personnalisation. - Veuillez vous référer au manuel de + ou +\family sans +Insertion\SpecialChar menuseparator +Options de sous-exempl +\family default +e, + respectivement. + Voyez le manuel de \emph on covington \emph default @@ -568,19 +604,80 @@ literal "false" \end_layout \begin_layout Standard -À compter de la version 2.3, - les sous-exemples de +Pour les ajustements globaux, + ces options peuvent être transmises à la macro-commande +\family typewriter + +\backslash +setexampleoptions +\family default + macro (veuillez utiliser le mode \SpecialChar TeX + dans ce but). + De nouveau, + voyez le manuel de \emph on covington \emph default - sont dotés d'arguments facultatifs (insérer du texte entre le numéro principal et le premier sous-exemple). - Ces arguments peuvent être définis via + +\begin_inset CommandInset citation +LatexCommand cite +key "covington" +literal "false" + +\end_inset + + pour les détails. +\end_layout + +\begin_layout Standard +Lors d'exemples ou de sous-exemples consécutifs, + quelques inserts supplémentaires sont disponibles: +\end_layout + +\begin_layout Itemize +pour modifier la numérotation d'un exemple isolé, + vous pouvez utiliser +\family sans + Insertion\SpecialChar menuseparator +Numérotation spécifique; +\end_layout + +\begin_layout Itemize +pour ajouter des indicateurs de jugement (comme * ou ?) aux exemples de phrase, + utiliser \family sans Insertion\SpecialChar menuseparator -Options des sous-exemples +Jugement; +\end_layout + +\begin_layout Itemize +pour ajouter du texte avant une phrase d'exemple (qui ne fait pas partie des données proposées), + utiliser +\family sans +Insertion\SpecialChar menuseparator +Inserts personnalisables\SpecialChar menuseparator +Préambule d'exemple \family default -. - Veuillez de nouveau vous référer au manuel de + ou +\family sans +Préambule de sous-exemple; +\end_layout + +\begin_layout Itemize +pour ajouter du texte après une phrase d'exemple (qui ne fait pas partie des données proposées), + utiliser +\family sans +Insertion\SpecialChar menuseparator +Inserts personnalisables\SpecialChar menuseparator +Postambule d'exemple +\family default + or +\family sans +Postambule de sous-exemple. +\end_layout + +\begin_layout Standard +Veuillez vous référer au manuel de \emph on covington \emph default @@ -656,7 +753,28 @@ Glose interlinéaire. \family default Quel que soit l'endroit où vous les insérez, ils sont toujours imprimés dans le bon ordre. - Enfin, +\end_layout + +\begin_layout Standard +En outre, + vous pouvez aussi insérer des commentaires pour une phrase d'exemple ou pour chacune des lignes d'une glose via +\family sans + Insertion\SpecialChar menuseparator +Commentaire de phrase +\family default + (pour la phrase d'exemple) ou +\family sans +Insertion\SpecialChar menuseparator +Commentaire de glose +\family default + (pour la ligne de glose c