Re: Feature Request for tex2lyx
Am Donnerstag, dem 18.02.2021 um 22:30 +0200 schrieb Dr Eberhard W Lisse: > can we add an option to tex2lyx allowing to select the language? > > I use the writer2latex in LibreOffice a bit and can't export to > other than standard (English) whereas I use US English in Lyx/LaTeX. > > Would such a feature make sense/be helpful? I think it is more apt to change the language in the tex file (which should be easy enough to do). Jürgen 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
Feature Request for tex2lyx
Hi, can we add an option to tex2lyx allowing to select the language? I use the writer2latex in LibreOffice a bit and can't export to other than standard (English) whereas I use US English in Lyx/LaTeX. Would such a feature make sense/be helpful? greetings, el -- Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 Bachbrecht \ / If this email is signed with GPG/PGP 10007, Namibia ;/ Sect 20 of Act No. 4 of 2019 may apply -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bad link for downloads; Apple Silicon
On Thu, Feb 18, 2021 at 07:10:28PM +0100, Stephan Witt wrote: > Am 18.02.2021 um 18:53 schrieb Pavel Sanda : > > > > On Wed, Feb 17, 2021 at 10:56:42PM -0700, list_em...@icloud.com wrote: > >> On the LyX download page, I believe the link for macOS Legacy 2.3.6.2 > >> points to the wrong place. The link is > >> > >> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-12-x86_64-cocoa.dmg > >> > >> and I think it should be > >> > >> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-legacy-x86_64-cocoa.dmg. > > > > Should be fixed, please check it out. > > I didn???t check - but thanks. > > >> BTW, what is ???legacy I gather it is made using an older version of > >> the macOS frameworks. If so, THANK YOU for doing this. My Mac refuses to > >> break and I refuse to buy a new until it does (or Apple Silicon comes in > >> my size) and Apple doesn???t support a newer OS so I???m stuck at macOS > >> 10.11.6. > > You ask for the meaning? > > https://de.wikipedia.org/wiki/Legacy > > Or some name it ancient - IMO the term "legacy system" is used for old > hardware or software systems. I thought the question was about particular names/versions, but reading again seems it was not ;) Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bad link for downloads; Apple Silicon
Am 18.02.2021 um 18:53 schrieb Pavel Sanda : > > On Wed, Feb 17, 2021 at 10:56:42PM -0700, list_em...@icloud.com wrote: >> On the LyX download page, I believe the link for macOS Legacy 2.3.6.2 points >> to the wrong place. The link is >> >> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-12-x86_64-cocoa.dmg >> >> and I think it should be >> >> https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-legacy-x86_64-cocoa.dmg. > > Should be fixed, please check it out. I didn’t check - but thanks. >> BTW, what is ???legacy I gather it is made using an older version of the >> macOS frameworks. If so, THANK YOU for doing this. My Mac refuses to break >> and I refuse to buy a new until it does (or Apple Silicon comes in my size) >> and Apple doesn???t support a newer OS so I???m stuck at macOS 10.11.6. You ask for the meaning? https://de.wikipedia.org/wiki/Legacy Or some name it ancient - IMO the term "legacy system" is used for old hardware or software systems. Stephan -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bad link for downloads; Apple Silicon
On Wed, Feb 17, 2021 at 10:56:42PM -0700, list_em...@icloud.com wrote: > On the LyX download page, I believe the link for macOS Legacy 2.3.6.2 points > to the wrong place. The link is > > https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-12-x86_64-cocoa.dmg > > and I think it should be > > https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-legacy-x86_64-cocoa.dmg. Should be fixed, please check it out. > BTW, what is ???legacy I gather it is made using an older version of the > macOS frameworks. If so, THANK YOU for doing this. My Mac refuses to break > and I refuse to buy a new until it does (or Apple Silicon comes in my size) > and Apple doesn???t support a newer OS so I???m stuck at macOS 10.11.6. Stephan will know the answer. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: [LyX/master] DocBook: add support for DocBookArgumentAfterMainTag.
On 2/17/21 4:50 PM, Thibaut Cuvelier wrote: commit adc7820d458244a6425f269fd98737c8d42ca18a Author: Thibaut Cuvelier Date: Sun Feb 14 07:07:04 2021 +0100 DocBook: add support for DocBookArgumentAfterMainTag. Any change to alyout means a bump in the layout format and, at least, a trivial layout2layout conversion. I.e., the layout files you changed will need to have their format number increased by one, and that entails the need for a conversion for the other files. (That is all because the existing format will not read these layout files.) Riki -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
[PATCH] Some fixes
Hello, Please review two attached patches: 1. Now setting of math matrix size by dragging mouse is imprecise due to Qt limit on min cell size. The patch fixes this. 2. Now Beamer columns have fixed margin size determined by untranslatable English string. The patch changes it to dynamic. Yuriy From bf9914554df866ddc7740f36f98d8a6d8ac5334d Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Thu, 18 Feb 2021 15:36:24 +0200 Subject: [PATCH 1/2] Fix setting of math matrix size with mouse --- src/frontends/qt/EmptyTable.cpp | 16 src/frontends/qt/EmptyTable.h | 4 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt/EmptyTable.cpp b/src/frontends/qt/EmptyTable.cpp index bc2963ba32..80cbe88aec 100644 --- a/src/frontends/qt/EmptyTable.cpp +++ b/src/frontends/qt/EmptyTable.cpp @@ -22,10 +22,6 @@ * A simple widget for a quick "preview" in TabularCreateDialog */ -unsigned int const cellheight = 20; -unsigned int const cellwidth = 30; - - EmptyTable::EmptyTable(QWidget * parent, int rows, int columns) : QTableWidget(rows, columns, parent) { @@ -34,7 +30,9 @@ EmptyTable::EmptyTable(QWidget * parent, int rows, int columns) setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); viewport()->resize(cellheight * rows, cellwidth * columns); setSelectionMode(QAbstractItemView::NoSelection); + setFocusPolicy(Qt::NoFocus); setEditTriggers(QAbstractItemView::NoEditTriggers); + adjustMinCellSize(); } @@ -43,6 +41,16 @@ QSize EmptyTable::sizeHint() const return QSize(cellwidth * (2 + columnCount()), cellheight * (2 + rowCount())); } + +void EmptyTable::adjustMinCellSize() +{ + setRowHeight(0, cellheight); + cellheight = rowHeight(0); + setColumnWidth(0, cellwidth); + cellwidth = columnWidth(0); +} + + void EmptyTable::resetCellSize() { for(int i = 0; i < rowCount(); ++i) diff --git a/src/frontends/qt/EmptyTable.h b/src/frontends/qt/EmptyTable.h index 99265266d2..9285db5ceb 100644 --- a/src/frontends/qt/EmptyTable.h +++ b/src/frontends/qt/EmptyTable.h @@ -49,6 +49,10 @@ protected: virtual void resetCellSize(); private: + void adjustMinCellSize(); + + int cellheight = 20; + int cellwidth = 30; }; -- 2.28.0.windows.1 From ffaab2a0b889bbc0967346fda5df5090beb1597d Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Thu, 18 Feb 2021 15:38:13 +0200 Subject: [PATCH 2/2] Fix margins for Beamer columns --- lib/layouts/beamer.layout | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/layouts/beamer.layout b/lib/layouts/beamer.layout index 61d8823770..a26c409783 100644 --- a/lib/layouts/beamer.layout +++ b/lib/layouts/beamer.layout @@ -666,12 +666,12 @@ End # -# COLUMS +# COLUMNS # Style Column Category Columns - Margin Static + Margin Dynamic LatexTypeCommand LatexNamecolumn ParSkip 0.5 @@ -689,7 +689,6 @@ Style Column LabelString"Options" Tooltip"Column options (see beamer manual)" EndArgument - LeftMargin "Start column (increase depth!), width:xx" LabelFont Family Roman Color latex @@ -699,16 +698,15 @@ End Style Columns Category Columns KeepEmpty1 - Margin Static + Margin First_Dynamic LatexTypeEnvironment - NextNoIndent 0 + NextNoIndent 1 ParIndentMM AlignLeft LabelTypeStatic LabelSep xx LatexNamecolumns LabelString "Columns" - LeftMargin "Columnsxx" Argument 1 LabelString"Column Placement Options" Tooltip"Column placement options (t, T, c, b)" @@ -732,7 +730,6 @@ Style ColumnsCenterAligned CopyStyleColumns LatexParam [c] LabelString "Columns (center aligned)" - LeftMargin "Columns (center aligned)xx" ResetArgs1 End @@ -740,7 +737,6 @@ Style ColumnsTopAligned CopyStyleColumns LatexParam [t] LabelString "Columns (top aligned)" - LeftMargin "Columns (top aligned)xx" ResetArgs1 End -- 2.28.0.windows.1 -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Bad link for downloads; Apple Silicon
On the LyX download page, I believe the link for macOS Legacy 2.3.6.2 points to the wrong place. The link is https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-12-x86_64-cocoa.dmg and I think it should be https://ftp.lip6.fr/pub/lyx/bin/2.3.6/LyX-2.3.6.2+qt5-legacy-x86_64-cocoa.dmg. BTW, what is “legacy?” I gather it is made using an older version of the macOS frameworks. If so, THANK YOU for doing this. My Mac refuses to break and I refuse to buy a new until it does (or Apple Silicon comes in my size) and Apple doesn’t support a newer OS so I’m stuck at macOS 10.11.6. Since we’re on the subject, what is the future of LyX on Apple Silicon? Rosetta 2? Native? Qt issues? Jerry -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel