Re: [LyX/master] Amend [7efdbeaddf226/lyxgit]
Am Montag, dem 13.06.2022 um 20:10 +0200 schrieb Daniel: > I am curious, where does one get the 'Non-Floating Figures and > Tables' > module? (It might be relevant to > https://www.lyx.org/trac/ticket/11734.) I seem to have written it myself. But it's not a good approach. It doesn't use Caption InsetLayout, but InsetFlex (see attachment). A better model are the special captions in the KOMA classes. -- Jürgen #\DeclareLyXModule{Non-floating Figures and Tables} #DescriptionBegin #Insert captions to figures and tables that do not float. #DescriptionEnd # Author: Jürgen Spitzmüller Format 66 InsetLayout Flex:NonFloatingFigure LyxType custom LabelString non-floating LaTeXTypecommand LatexNamefigcaption NeedProtect 1 MultiPar false Argument 1 LabelString "Short Title|S" Tooltip "The caption as it appears in the list of figures/tables" InsertCotext 1 EndArgument Preamble \usepackage{nonfloat} EndPreamble End InsetLayout Flex:NonFloatingTable CopyStyleFlex:NonFloatingFigure LabelString non-floating LatexNametabcaption End signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
TeX import problem
Version 2.4.0-alpha3 (February 14, 2021) Qt Version (run-time): 5.12.9 Qt Version (compile-time): 5.12.9 Python detected: python3 -tt Apple M1 Max macOS 12.4 (21F79) When I import the attached TeX file into LyX and use Document/View (other formats)/ PDF (pdflatex) I get the following error message \selectlanguage {english} Selecting a language requires a package supporting it If I click on the "show output anyway button", I get the attached pdf (with the word "english" inserted). Deleting the following line in the LyX file solves the problem \language_package none John test.pdf Description: Adobe PDF document test.log Description: Binary data test.tex Description: Binary data test.lyx Description: Binary data -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] Amend [7efdbeaddf226/lyxgit]
On 2022-06-13 15:30, Juergen Spitzmueller wrote: commit b7f0a9036473321ded99ac75d24d1b2daaa8f954 Author: Juergen Spitzmueller Date: Mon Jun 13 16:12:16 2022 +0200 Amend [7efdbeaddf226/lyxgit] We do not ship the nonfloat module, actually (I had a private copy). --- src/insets/InsetCaption.cpp |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp index 8e415bb..934cceb 100644 --- a/src/insets/InsetCaption.cpp +++ b/src/insets/InsetCaption.cpp @@ -331,8 +331,7 @@ docstring InsetCaption::toolTip(BufferView const & bv, int x, int y) const { if (non_float_) return _("Standard captions are not allowed outside floats. You will get a LaTeX error.\n" -"For captions outside floats, please use the module 'Non-Floating Figures and Tables' " -"from Document > Settings > Modules."); +"For captions outside floats, you can use the 'nonfloat' LaTeX package."); return InsetText::toolTip(bv, x, y); } I am curious, where does one get the 'Non-Floating Figures and Tables' module? (It might be relevant to https://www.lyx.org/trac/ticket/11734.) Daniel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] Update fr.po and a couple of shortcuts defined with non-existing letters
Am Mon, 13 Jun 2022 09:07:12 +0200 (CEST) schrieb jpc : > Normal Space|w" You missed #: lib/ui/stdmenus.inc:454 msgid "Normal Space|w" Also there is wrong translation in fr.po to "Espace large négative insécable (−5/18 em)a" (missing '|'?) but probably in conflict with "Dimension réglable|a" Kornel pgpTaXUdWU7zO.pgp Description: Digitale Signatur von OpenPGP -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] Make space names more standard
Le 12/06/2022 à 13:07, Juergen Spitzmueller a écrit : commit b2a7b715a2c6f0d9f26a180c15e1570308dc6d6c Author: Daniel Ramoeller Date: Wed Jun 8 08:20:37 2022 +0200 Make space names more standard Fix for bug #12547. - "Interword" becomes "Normal" - "Protected" becomes "Non-Breaking" Plus a minor fixes to the "Horizontal Space Settings" dialog: - Indicate that when "Non-Breaking" is disabled, the space will be non-breaking While translating in French, I saw that a couple of original English shortcuts letters were not found in the string: Item "Normal Space|w" Item "Half Quad Space (1/2 em)|k" Item "Non-Breaking Half Quad Space (1/2 em)|E" I updated these to Item "Normal Space|e" Item "Half Quad Space (1/2 em)|S" Item "Non-Breaking Half Quad Space (1/2 em)|k" with hopefully no shortcuts conflicts. -- Jean-Pierre -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel