]> git.lyx.org Git - lyx.git/log
lyx.git
2 weeks agoStreamline -geometry command-line option support
Jean-Marc Lasgouttes [Thu, 29 Aug 2024 09:10:31 +0000 (11:10 +0200)]
Streamline -geometry command-line option support

Instead of baking our own support for -geometry command line option on
Windows (Qt only does that for Xcb), use the fact that Qt 5 provides
the equivalent -qwindowgeometry flag.

All we need to do is to replace the -geometry option with -qwindowgeometry.

This is part of the effort in ticket #13086 to get rid of the
compile-time QPA_XCB define.

3 weeks agoAmend f1fddd86
Kornel Benko [Thu, 29 Aug 2024 12:13:12 +0000 (14:13 +0200)]
Amend f1fddd86

Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB to cmake build

3 weeks agoCmake build: Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB
Kornel Benko [Thu, 29 Aug 2024 12:08:39 +0000 (14:08 +0200)]
Cmake build: Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB

3 weeks agoAdd missing Spanish modifier
Jürgen Spitzmüller [Wed, 28 Aug 2024 07:23:35 +0000 (09:23 +0200)]
Add missing Spanish modifier

3 weeks agoForce a metrics update of buffer after reload
Jean-Marc Lasgouttes [Mon, 26 Aug 2024 22:09:04 +0000 (00:09 +0200)]
Force a metrics update of buffer after reload

It makes reload more robust and is in any case good enough to avoid
crash in #139091.

Fixes bug #13091.

3 weeks agoUpdate it.po
Enrico Forestieri [Mon, 26 Aug 2024 12:29:15 +0000 (14:29 +0200)]
Update it.po

3 weeks agoUpdate sk.po
Kornel Benko [Mon, 26 Aug 2024 10:10:28 +0000 (12:10 +0200)]
Update sk.po

3 weeks agoReset lang_options before reading headers
Juergen Spitzmueller [Mon, 26 Aug 2024 05:35:34 +0000 (07:35 +0200)]
Reset lang_options before reading headers

3 weeks agooutput babel options via \babelprovide in all cases needed
Juergen Spitzmueller [Mon, 26 Aug 2024 05:20:58 +0000 (07:20 +0200)]
output babel options via \babelprovide in all cases needed

3 weeks agoAmend fc605cf138c
Juergen Spitzmueller [Sun, 25 Aug 2024 16:01:26 +0000 (18:01 +0200)]
Amend fc605cf138c

Use proper option if main and a secondary language have BabelProvide 2

3 weeks agoAnother language GUI string improvement
Juergen Spitzmueller [Sun, 25 Aug 2024 14:20:42 +0000 (16:20 +0200)]
Another language GUI string improvement

3 weeks agode.po
Juergen Spitzmueller [Sun, 25 Aug 2024 13:50:30 +0000 (15:50 +0200)]
de.po

3 weeks agoClarify usablity of language support variants in GUI string
Juergen Spitzmueller [Sun, 25 Aug 2024 13:45:18 +0000 (15:45 +0200)]
Clarify usablity of language support variants in GUI string

3 weeks agoFarsi and Arabic need BabelProvide 2, too
Juergen Spitzmueller [Sun, 25 Aug 2024 13:31:14 +0000 (15:31 +0200)]
Farsi and Arabic need BabelProvide 2, too

3 weeks agoProperly set the babel bidi option (#12862)
Juergen Spitzmueller [Sun, 25 Aug 2024 13:21:56 +0000 (15:21 +0200)]
Properly set the babel bidi option (#12862)

3 weeks agoAdd proper support for BabelProvide 2
Juergen Spitzmueller [Sun, 25 Aug 2024 12:56:05 +0000 (14:56 +0200)]
Add proper support for BabelProvide 2

We need to instruct babel not to load an existing ldf in this case

3 weeks agoFix typo
Juergen Spitzmueller [Sun, 25 Aug 2024 12:08:33 +0000 (14:08 +0200)]
Fix typo

3 weeks agode.po
Juergen Spitzmueller [Sun, 25 Aug 2024 12:06:54 +0000 (14:06 +0200)]
de.po

3 weeks agoFix GUI string
Juergen Spitzmueller [Sun, 25 Aug 2024 12:00:44 +0000 (14:00 +0200)]
Fix GUI string

3 weeks agoFix typo in UI file
Juergen Spitzmueller [Sun, 25 Aug 2024 11:39:18 +0000 (13:39 +0200)]
Fix typo in UI file

3 weeks agoUpdate tex2lyx tests
Juergen Spitzmueller [Sun, 25 Aug 2024 11:26:06 +0000 (13:26 +0200)]
Update tex2lyx tests

3 weeks agoAvoid empty option in babelCall
Juergen Spitzmueller [Sun, 25 Aug 2024 11:23:57 +0000 (13:23 +0200)]
Avoid empty option in babelCall

3 weeks agoAdd support for the following languages
Juergen Spitzmueller [Sun, 25 Aug 2024 11:22:07 +0000 (13:22 +0200)]
Add support for the following languages

Polyglossia:
Chinese (Simplified), Chinese (Traditional), Japanese, Kurdish (Sorani),
Latin (Classic), Latin (Ecclesiastic), Latin (Medieval), N'ko, Odia,
Punjabi, and Uyghur

Babel:
Amharic, Armenian, Asturian, Bengali, Church Slavonic, Coptic, Divehi,
Kannada, Kazakh, Khmer, Kurdish (Sorani), Lao, Latin (Classic),
Latin (Ecclesiastic), Latin (Medieval), Malayalam, Marathi, N'ko,
Occitan, Odia, Punjabi, Russian (Petrine orthography), Sanskrit, Syriac,
Tamil, Telugu, Tibetan, Urdu, and Uyghur

3 weeks agoPython 3.13 removed the pipes module from the standard library
José Matos [Sun, 25 Aug 2024 09:14:18 +0000 (10:14 +0100)]
Python 3.13 removed the pipes module from the standard library

That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.

3 weeks agoUpdate sk.po
Kornel Benko [Sun, 25 Aug 2024 09:15:01 +0000 (11:15 +0200)]
Update sk.po

3 weeks agoAssure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)
Juergen Spitzmueller [Sun, 25 Aug 2024 08:18:38 +0000 (10:18 +0200)]
Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)

3 weeks agoSome more language TODOs
Juergen Spitzmueller [Sun, 25 Aug 2024 08:06:56 +0000 (10:06 +0200)]
Some more language TODOs

Obviously, we can support all languages that have so far only been
provided via polyglossia with babel(provide)

3 weeks agoLoad Ancient Greek and Mexican Spanish via \babelprovide
Juergen Spitzmueller [Sun, 25 Aug 2024 07:48:04 +0000 (09:48 +0200)]
Load Ancient Greek and Mexican Spanish via \babelprovide

In classic babel, these varieties are only available via modifiers
or attributes, which means that they could only be used instead rather
than in addition to the default variety

3 weeks agoBasic support for \babelprovide
Juergen Spitzmueller [Sun, 25 Aug 2024 07:46:29 +0000 (09:46 +0200)]
Basic support for \babelprovide

This is the new(er) babel mechanism to load languages via babel *.ini
files.

Some languages (or varieties) are only supported this way, some work
better with unicode engines this way (for the latter case, we have
BabelProvide 2)

3 weeks agospell out all polyglossia variants (required if varieties are mixed)
Juergen Spitzmueller [Sat, 24 Aug 2024 13:53:01 +0000 (15:53 +0200)]
spell out all polyglossia variants (required if varieties are mixed)

3 weeks agoSome more language TODOs
Juergen Spitzmueller [Sat, 24 Aug 2024 13:43:58 +0000 (15:43 +0200)]
Some more language TODOs

3 weeks agoUpdate some polyglossia names
Juergen Spitzmueller [Sat, 24 Aug 2024 13:10:20 +0000 (15:10 +0200)]
Update some polyglossia names

and add TODOs for not yet supported polyglossia languages

3 weeks agoAdd BabelOpts to languages
Juergen Spitzmueller [Sat, 24 Aug 2024 12:30:37 +0000 (14:30 +0200)]
Add BabelOpts to languages

This way, some settings that were hardcoded in BabelPreamble are
customizable in document settings

3 weeks agoAvoid duplicate option passing with babel
Juergen Spitzmueller [Sat, 24 Aug 2024 03:54:54 +0000 (05:54 +0200)]
Avoid duplicate option passing with babel

3 weeks agoNomenclUI: fix spacer
Juergen Spitzmueller [Sat, 24 Aug 2024 03:45:17 +0000 (05:45 +0200)]
NomenclUI: fix spacer

This seems t be a bug in my Qt designer

3 weeks agoProvide babel language options only for languages that have options
Juergen Spitzmueller [Sat, 24 Aug 2024 02:51:45 +0000 (04:51 +0200)]
Provide babel language options only for languages that have options

3 weeks agoNot needed anymore.
Pavel Sanda [Fri, 23 Aug 2024 19:35:53 +0000 (21:35 +0200)]
Not needed anymore.

3 weeks agoNo need to decorate roots in one-level tree widgets
Juergen Spitzmueller [Fri, 23 Aug 2024 16:00:58 +0000 (18:00 +0200)]
No need to decorate roots in one-level tree widgets

3 weeks agoMore languages that use babel modifiers
Juergen Spitzmueller [Fri, 23 Aug 2024 15:15:04 +0000 (17:15 +0200)]
More languages that use babel modifiers

3 weeks agode.po
Juergen Spitzmueller [Fri, 23 Aug 2024 14:50:30 +0000 (16:50 +0200)]
de.po

3 weeks agobabel-german uses modifiers
Juergen Spitzmueller [Fri, 23 Aug 2024 14:46:37 +0000 (16:46 +0200)]
babel-german uses modifiers

3 weeks agoFix language options glitches
Juergen Spitzmueller [Fri, 23 Aug 2024 14:45:52 +0000 (16:45 +0200)]
Fix language options glitches

3 weeks agoupdate tex2lyx tests
Juergen Spitzmueller [Fri, 23 Aug 2024 14:13:54 +0000 (16:13 +0200)]
update tex2lyx tests

3 weeks agoDocument language options
Juergen Spitzmueller [Fri, 23 Aug 2024 14:08:37 +0000 (16:08 +0200)]
Document language options

3 weeks agoAmend 7e49ae7b1318
Juergen Spitzmueller [Fri, 23 Aug 2024 14:06:50 +0000 (16:06 +0200)]
Amend 7e49ae7b1318

3 weeks agoAdd support for language options (#8034)
Juergen Spitzmueller [Fri, 23 Aug 2024 13:52:34 +0000 (15:52 +0200)]
Add support for language options (#8034)

File format change.

Note that this cannot be properly reverted to LyX 2.4, so any options
will simply vanish on reversion or roundtrip

3 weeks agoCopy zh_CN.po from branch
Pavel Sanda [Fri, 23 Aug 2024 06:16:08 +0000 (08:16 +0200)]
Copy zh_CN.po from branch

4 weeks ago* postats.py description
Pavel Sanda [Thu, 22 Aug 2024 21:00:50 +0000 (23:00 +0200)]
* postats.py description

4 weeks agoUpdate tex2lyx tests
Scott Kostyshak [Thu, 22 Aug 2024 16:04:11 +0000 (12:04 -0400)]
Update tex2lyx tests

4 weeks agoFix Python SyntaxWarning
Scott Kostyshak [Thu, 22 Aug 2024 14:51:09 +0000 (10:51 -0400)]
Fix Python SyntaxWarning

Use raw strings to avoid the following syntax warnings that show up
in LastTest.log after running tex2lyx ctests:

  src/tex2lyx/test/runtests.py:135: SyntaxWarning: invalid escape sequence '\o'
    if linex[:-1] == '\origin ' + inputdir + '/':
  src/tex2lyx/test/runtests.py:136: SyntaxWarning: invalid escape sequence '\o'
    lines1[i1] = '\origin ' + outputdir + '/' + "\n"

4 weeks agoUpdate sk.po
Kornel Benko [Thu, 22 Aug 2024 09:41:21 +0000 (11:41 +0200)]
Update sk.po

4 weeks agotypos
Juergen Spitzmueller [Thu, 22 Aug 2024 07:42:40 +0000 (09:42 +0200)]
typos

4 weeks agode.po
Juergen Spitzmueller [Thu, 22 Aug 2024 07:41:28 +0000 (09:41 +0200)]
de.po

4 weeks agoOops ...
Juergen Spitzmueller [Thu, 22 Aug 2024 07:30:48 +0000 (09:30 +0200)]
Oops ...

4 weeks agoclarify use of subgroups
Juergen Spitzmueller [Thu, 22 Aug 2024 07:19:43 +0000 (09:19 +0200)]
clarify use of subgroups

4 weeks agoThe InsetPrintNomenclature settings make no sense with nomentbl
Juergen Spitzmueller [Thu, 22 Aug 2024 06:17:33 +0000 (08:17 +0200)]
The InsetPrintNomenclature settings make no sense with nomentbl

4 weeks agoAdd GUI support for nomencl options
Juergen Spitzmueller [Thu, 22 Aug 2024 06:11:18 +0000 (08:11 +0200)]
Add GUI support for nomencl options

4 weeks ago\use_nomentbl -> \nomencl_opts
Juergen Spitzmueller [Thu, 22 Aug 2024 03:35:47 +0000 (05:35 +0200)]
\use_nomentbl -> \nomencl_opts

This allows for support of more options

As the param is only a few hours old, no lyx2lyx handling is needed

4 weeks agodisambiguate string
Juergen Spitzmueller [Wed, 21 Aug 2024 16:07:47 +0000 (18:07 +0200)]
disambiguate string

4 weeks agode.po
Juergen Spitzmueller [Wed, 21 Aug 2024 16:07:13 +0000 (18:07 +0200)]
de.po

4 weeks agoAmend 13ee0bc8cd1025
Juergen Spitzmueller [Wed, 21 Aug 2024 15:54:06 +0000 (17:54 +0200)]
Amend 13ee0bc8cd1025

Improve tex2lyx handling

4 weeks agoupdate tex2lyx tests
Juergen Spitzmueller [Wed, 21 Aug 2024 15:38:49 +0000 (17:38 +0200)]
update tex2lyx tests

4 weeks agoAdd support for the nomentbl nomenclature option
Juergen Spitzmueller [Wed, 21 Aug 2024 15:35:48 +0000 (17:35 +0200)]
Add support for the nomentbl nomenclature option

file format change

4 weeks agoReplace lyx2lyx code with native solution
Richard Kimberly Heck [Wed, 21 Aug 2024 15:14:41 +0000 (11:14 -0400)]
Replace lyx2lyx code with native solution

(cherry picked from commit 46f2fd1a7457ae92b9382d23d15579c68761a997)

4 weeks agoFix erroneous self-nesting
Juergen Spitzmueller [Wed, 21 Aug 2024 04:19:45 +0000 (06:19 +0200)]
Fix erroneous self-nesting

4 weeks agofix A&A template
Juergen Spitzmueller [Tue, 20 Aug 2024 15:38:28 +0000 (17:38 +0200)]
fix A&A template

4 weeks agoFix wrong preedit cursor position in Qt5
Koji Yokota [Tue, 20 Aug 2024 13:44:39 +0000 (22:44 +0900)]
Fix wrong preedit cursor position in Qt5

4 weeks agoUpdate sk.po
Kornel Benko [Tue, 20 Aug 2024 10:48:33 +0000 (12:48 +0200)]
Update sk.po

4 weeks agoFix regression introduced via #12819.
Pavel Sanda [Mon, 19 Aug 2024 20:03:16 +0000 (22:03 +0200)]
Fix regression introduced via #12819.

We will mark buffer as modified only in case of removal,
not when just externally modified.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222715.html

4 weeks agoHeader not needed anymore.
Pavel Sanda [Mon, 19 Aug 2024 19:47:16 +0000 (21:47 +0200)]
Header not needed anymore.

4 weeks agode.po
Juergen Spitzmueller [Sun, 18 Aug 2024 16:41:52 +0000 (18:41 +0200)]
de.po

4 weeks agoImprove output pane, as discussed in #12372
Juergen Spitzmueller [Sun, 18 Aug 2024 16:18:07 +0000 (18:18 +0200)]
Improve output pane, as discussed in #12372

* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)

4 weeks agoAdd "needcopiesfrom" converter flag
Juergen Spitzmueller [Sun, 18 Aug 2024 15:53:51 +0000 (17:53 +0200)]
Add "needcopiesfrom" converter flag

This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes #12372)

4 weeks agoAssure widest nomencl label is encodable
Juergen Spitzmueller [Sun, 18 Aug 2024 07:59:37 +0000 (09:59 +0200)]
Assure widest nomencl label is encodable

4 weeks agoanother lyx2lyx fix for index
Juergen Spitzmueller [Sat, 17 Aug 2024 14:55:23 +0000 (16:55 +0200)]
another lyx2lyx fix for index

4 weeks agofix lyx2lyx functions
Juergen Spitzmueller [Sat, 17 Aug 2024 14:19:10 +0000 (16:19 +0200)]
fix lyx2lyx functions

4 weeks agoremove useless warning
Juergen Spitzmueller [Sat, 17 Aug 2024 14:15:11 +0000 (16:15 +0200)]
remove useless warning

4 weeks agoharmonize indendation
Juergen Spitzmueller [Sat, 17 Aug 2024 11:22:42 +0000 (13:22 +0200)]
harmonize indendation

4 weeks agoAdd another option to get python by using the unversioned name
José Matos [Fri, 16 Aug 2024 16:33:14 +0000 (17:33 +0100)]
Add another option to get python by using the unversioned name

4 weeks agoConsider known latex text macros (basically the logos) in convertaTeXCommands()
Juergen Spitzmueller [Fri, 16 Aug 2024 09:23:57 +0000 (11:23 +0200)]
Consider known latex text macros (basically the logos) in convertaTeXCommands()

5 weeks agofurther improve get_quoted_value
Juergen Spitzmueller [Thu, 15 Aug 2024 15:44:01 +0000 (17:44 +0200)]
further improve get_quoted_value

as per José's suggestion

5 weeks agoFix typo in comment.
Thibaut Cuvelier [Thu, 15 Aug 2024 13:40:31 +0000 (15:40 +0200)]
Fix typo in comment.

5 weeks agostyle
Juergen Spitzmueller [Thu, 15 Aug 2024 11:11:20 +0000 (13:11 +0200)]
style

5 weeks agorevert_nomencl: escape " and \ for command inset
Juergen Spitzmueller [Thu, 15 Aug 2024 07:06:14 +0000 (09:06 +0200)]
revert_nomencl: escape " and \ for command inset

5 weeks agoforgotten subindex
Juergen Spitzmueller [Thu, 15 Aug 2024 06:51:18 +0000 (08:51 +0200)]
forgotten subindex

5 weeks agofix convert_index_sc method
Juergen Spitzmueller [Thu, 15 Aug 2024 06:05:31 +0000 (08:05 +0200)]
fix convert_index_sc method

5 weeks agofix get_quoted_value
Juergen Spitzmueller [Thu, 15 Aug 2024 06:04:48 +0000 (08:04 +0200)]
fix get_quoted_value

The previous version also stripped quotes that are part of the string

5 weeks agoDisable valign widget in tabularx tables
Juergen Spitzmueller [Wed, 14 Aug 2024 14:28:15 +0000 (16:28 +0200)]
Disable valign widget in tabularx tables

See https://marc.info/?l=lyx-users&m=172363857509065&w=2

5 weeks agoUnbreak GuiTabular::fucEnabled()
Juergen Spitzmueller [Wed, 14 Aug 2024 14:27:20 +0000 (16:27 +0200)]
Unbreak GuiTabular::fucEnabled()

I wonder how long this has been broken (if it ever worked)

5 weeks ago Update fr.po
jpc [Wed, 14 Aug 2024 09:41:15 +0000 (11:41 +0200)]
       Update fr.po

5 weeks agoImprove detection of our math fonts
Enrico Forestieri [Tue, 13 Aug 2024 20:51:40 +0000 (22:51 +0200)]
Improve detection of our math fonts

It turns out that Qt font selection via style name is broken on
Windows (QTBUG-101436). As we use our own style name for discriminating
our math fonts and applying proper kerning, we need a fallback method.
With this commit we check for the family name when the style name does
not match. In computing the kerning we also consider the right bearing
reported by the font instead of the width of the enclosing bounding box,
as this produces better results (see bug 13087).

Fixes #13087.

5 weeks agoUpdate sk.po
Kornel Benko [Tue, 13 Aug 2024 07:05:40 +0000 (09:05 +0200)]
Update sk.po

5 weeks agoAdd InsertCotext tag to InsetLayout
Juergen Spitzmueller [Tue, 13 Aug 2024 05:26:08 +0000 (07:26 +0200)]
Add InsertCotext tag to InsetLayout

Avoids hardcoding of insets, and this behavior is possibly useful to
other insets than index and nomencl

We take this on yesterday's layout format change

5 weeks agode.po
Juergen Spitzmueller [Mon, 12 Aug 2024 16:26:13 +0000 (18:26 +0200)]
de.po

5 weeks agoEscape special chars in indexes
Juergen Spitzmueller [Mon, 12 Aug 2024 15:10:57 +0000 (17:10 +0200)]
Escape special chars in indexes

We now have the functionality via sub-insets, and unexperienced users
are surprised when they don't get a literal !.

The unescaped chars can still be used via ERT.

5 weeks agoOmit escape-chars in pass_thru context
Juergen Spitzmueller [Mon, 12 Aug 2024 12:28:59 +0000 (14:28 +0200)]
Omit escape-chars in pass_thru context

5 weeks agoremove unused param
Juergen Spitzmueller [Mon, 12 Aug 2024 11:15:02 +0000 (13:15 +0200)]
remove unused param

5 weeks agoDocument an advanced nomencl use (#6996)
Juergen Spitzmueller [Mon, 12 Aug 2024 10:54:55 +0000 (12:54 +0200)]
Document an advanced nomencl use (#6996)

5 weeks agoupdate tex2lyx tests
Juergen Spitzmueller [Mon, 12 Aug 2024 10:35:07 +0000 (12:35 +0200)]
update tex2lyx tests

5 weeks agoTransform InsetNomenclature to a collapsible
Juergen Spitzmueller [Mon, 12 Aug 2024 10:33:16 +0000 (12:33 +0200)]
Transform InsetNomenclature to a collapsible

Fixes: #10460, #12595, #6353