]>
git.lyx.org Git - features.git/log
Enrico Forestieri [Sun, 6 Mar 2022 22:01:56 +0000 (23:01 +0100)]
Amend
3f9e21b8
This avoids a compile error on cygwin.
Juergen Spitzmueller [Sun, 6 Mar 2022 16:27:28 +0000 (17:27 +0100)]
Do not try to access user_defined_bullet with nesting > 3
We only have 4 nesting labels available.
In the workarea, display a fallback label with deeper nesting.
Scott Kostyshak [Sun, 6 Mar 2022 14:15:16 +0000 (09:15 -0500)]
ctests: uninvert 2 LuaTeX tests fixed on TL21
These exports now pass, and a quick check of the output looks good.
These might have been fixed (although it is just a guess) due to the
following entry in the changelog of luaotfload v3.19:
A new algorithm for selecting fonts based on font family names
allows to more reliably load fonts based on their family name.
This commit reverts
2a665dcc .
Juergen Spitzmueller [Sun, 6 Mar 2022 08:48:39 +0000 (09:48 +0100)]
Revert "Don't asssert on (too) deeply nested items"
This reverts commit
44d1756783262ae0af39991e18ec9bcb847fb439 .
Juergen Spitzmueller [Sat, 5 Mar 2022 13:17:37 +0000 (14:17 +0100)]
Don't asssert on (too) deeply nested items
Use a fallback label instead.
Juergen Spitzmueller [Sat, 5 Mar 2022 12:45:27 +0000 (13:45 +0100)]
Whitespace
Juergen Spitzmueller [Sat, 5 Mar 2022 08:00:47 +0000 (09:00 +0100)]
Use a more transparent lexic for bullet label functions
Juergen Spitzmueller [Sat, 5 Mar 2022 07:51:32 +0000 (08:51 +0100)]
Remove unused function
Thibaut Cuvelier [Sat, 5 Mar 2022 02:46:22 +0000 (03:46 +0100)]
Avoid copies of vectors.
Enrico Forestieri [Sat, 5 Mar 2022 01:19:38 +0000 (02:19 +0100)]
Compile fix
Kornel Benko [Fri, 4 Mar 2022 16:40:36 +0000 (17:40 +0100)]
Update sk.po
Kornel Benko [Fri, 4 Mar 2022 16:29:37 +0000 (17:29 +0100)]
Format of description of function search-ignore
Thibaut Cuvelier [Thu, 3 Mar 2022 00:57:16 +0000 (01:57 +0100)]
tex2lyx tests: set the encoding when reading a file, not all OSes default to UTF-8
Juergen Spitzmueller [Wed, 2 Mar 2022 11:48:10 +0000 (12:48 +0100)]
Encoding::fromLaTeXCommand: properly record requirements when exiting early
Juergen Spitzmueller [Wed, 2 Mar 2022 11:30:16 +0000 (12:30 +0100)]
Revert "Adapt resulting lyx-file to amend
39c0b322 (changed tex2lyx output)"
This reverts commit
5e8969b597ae973a12cfb543ed055e4eb8cd16ec .
Kornel Benko [Wed, 2 Mar 2022 07:48:35 +0000 (08:48 +0100)]
Adapt resulting lyx-file to amend
39c0b322 (changed tex2lyx output)
Juergen Spitzmueller [Wed, 2 Mar 2022 07:11:34 +0000 (08:11 +0100)]
Encodings::fromLaTeXCommand: properly set needsTermination on early exit
Juergen Spitzmueller [Wed, 2 Mar 2022 06:11:27 +0000 (07:11 +0100)]
Fix indentation fix.
Thibaut Cuvelier [Tue, 1 Mar 2022 23:39:53 +0000 (00:39 +0100)]
Fix indentation.
Thibaut Cuvelier [Sun, 27 Feb 2022 19:35:58 +0000 (20:35 +0100)]
Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages.
Thibaut Cuvelier [Tue, 1 Mar 2022 02:10:17 +0000 (03:10 +0100)]
Use a static method instead of a method call on a global variable.
Kornel Benko [Mon, 28 Feb 2022 08:53:12 +0000 (09:53 +0100)]
FindAdv: Add missed command after
030db93a
Juergen Spitzmueller [Mon, 28 Feb 2022 07:04:55 +0000 (08:04 +0100)]
Still more indentation fixes.
Thibaut Cuvelier [Sun, 27 Feb 2022 19:37:19 +0000 (20:37 +0100)]
Slightly simplify code by using for range.
Juergen Spitzmueller [Sun, 27 Feb 2022 14:12:33 +0000 (15:12 +0100)]
Clarify debug message
Juergen Spitzmueller [Sun, 27 Feb 2022 13:53:01 +0000 (14:53 +0100)]
Another indentation fix
Juergen Spitzmueller [Sun, 27 Feb 2022 13:45:16 +0000 (14:45 +0100)]
Fix indentation
Juergen Spitzmueller [Sun, 27 Feb 2022 09:02:52 +0000 (10:02 +0100)]
Amend
8a0715d0bdc3
Also do not use the bb trick when exporting "nice".
Thibaut Cuvelier [Sun, 27 Feb 2022 03:14:12 +0000 (04:14 +0100)]
unicodesymbols: fix problematic entries.
Juergen Spitzmueller [Sat, 26 Feb 2022 15:23:27 +0000 (16:23 +0100)]
Do not output eps bounding box for unknown/missing graphics (#8899)
Except for dvi/ps output chain for which this trick was meant.
Also, issue an error message in this case. This is analogous to
the other output flavors now.
Kornel Benko [Wed, 23 Feb 2022 17:22:16 +0000 (18:22 +0100)]
Amend(2)
b5d9bbfe : FindAdv: Added handling of some missing conversions
Daniel Ramoeller [Tue, 22 Feb 2022 09:17:19 +0000 (10:17 +0100)]
Footnote LabelString should be "Foot" rather than "foot"
Fix for bug #12487.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:23:52 +0000 (02:23 +0100)]
Encodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols, use it and bypass most of the logic.
This is important for commands like !`, that are equivalent to \textexclamdown. However, ! is matched earlier, because the logic works with prefixes, hence the output doesn't make sense.
Thibaut Cuvelier [Mon, 21 Feb 2022 01:10:15 +0000 (02:10 +0100)]
unicodesymbols: add math versions of some symbols according to unicodetex
Thibaut Cuvelier [Sun, 20 Feb 2022 23:18:56 +0000 (00:18 +0100)]
unicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
Some of corresponding commands did not have a matching LaTeX command for a currently recommended Unicode character; these have been added.
Kornel Benko [Mon, 21 Feb 2022 13:52:56 +0000 (14:52 +0100)]
Amend
b5d9bbfe : FindAdv: Added handling of some missing conversions
Kornel Benko [Mon, 21 Feb 2022 10:09:54 +0000 (11:09 +0100)]
FindAdv: Added handling of some missing conversions
Juergen Spitzmueller [Mon, 21 Feb 2022 08:49:32 +0000 (09:49 +0100)]
Fix language direction switch issue
reported at https://marc.info/?l=lyx-users&m=
164538003727435 &w=2
Thibaut Cuvelier [Sun, 20 Feb 2022 21:28:48 +0000 (22:28 +0100)]
unicodesymbols: amend
fec498d6 , there was an O (capital letter O) instead of an 0 (zero).
Thibaut Cuvelier [Sun, 20 Feb 2022 20:30:39 +0000 (21:30 +0100)]
DocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type of table for filler content.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:48:13 +0000 (19:48 +0100)]
Make undo action no-ops when the buffer is read-only
Since the buffer cannot be modified, there is no point to record changes.
Avoids marking buffer dirty after running "inset-forall".
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:35:37 +0000 (19:35 +0100)]
Fixup
cc426346 : rename curs to bvcur
The name "curs" was chosen to avoid to hide the existing "cur" local variable.
Using "bvcur" makes the name easier to grasp.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:33:22 +0000 (19:33 +0100)]
Do not call recordUndo(), lyx::dispatch handles it.
This avoids extra memory use (and would mark document dirty even if
read-only).
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:07:58 +0000 (19:07 +0100)]
inset-forall: clear selection after each action
This avoid a crash when doing
command-sequence inset-forall Caption char-delete-forward; statistics; undo
in the user guide when a malformed selection is created.
The selection happens here because char-delete-forward will select the
caption instead of deleting it if the "force" parameter is not given.
This is a poor API IMO, it is the plain <del> action that should use a
special parameter.
Daniel Ramoeller [Thu, 21 Oct 2021 07:29:54 +0000 (09:29 +0200)]
Combine the separation between different layouts (with same depth)
Fix for #12402.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:22:07 +0000 (17:22 +0100)]
Avoid null pointer dereference
Spotted by coverity. In the real world, getInset should never return
nullptr when isInset is true.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:09:49 +0000 (17:09 +0100)]
Avoid null pointer dereference
Spotted by coverity.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:02:04 +0000 (17:02 +0100)]
Fix unintialized variables spotted by coverity
The InsetWrap case happens in decodeInsetParaps (InsetCommand.cpp),
where the default constructor is invoked. In this case, lines was not
initialized.
Stephan Witt [Sun, 20 Feb 2022 12:06:28 +0000 (13:06 +0100)]
#9287 query Standard User Defaults on mac and adjust cursor flash time accordingly
jpc [Sun, 20 Feb 2022 09:06:50 +0000 (10:06 +0100)]
Update fr.po
Thibaut Cuvelier [Sun, 20 Feb 2022 01:03:41 +0000 (02:03 +0100)]
Amend
0dc7f34e : avoid using a C++20 function.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:37:58 +0000 (02:37 +0100)]
unicodesymbols: add several synonyms.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:10:45 +0000 (02:10 +0100)]
unicodesymbols: parse supplementary lines to encode alternative ways to encode symbols in raw LaTeX.
Thibaut Cuvelier [Fri, 18 Feb 2022 21:11:04 +0000 (22:11 +0100)]
CharInfo: allow to store several commands (both text and math) for each character.
Only the first one is returned by default with existing methods to guarantee compatibility with existing code.
Thibaut Cuvelier [Sat, 19 Feb 2022 02:11:55 +0000 (03:11 +0100)]
configure: for EPS to PNG, ask ImageMagick to only consider the first image.
Issue discussed in the mailing list: when the EPS contains several images (Adobe Photoshop exports two of them, one being a low-quality TIFF for preview), two files are generated, none with the existing name (prefix: -0 and -1). Hence, LyX thought that there was an error.
Daniel Ramöller [Wed, 16 Feb 2022 13:57:06 +0000 (14:57 +0100)]
Properly show labels from broken references in Cross-references dialog
Fix for bug #12456.
The labels are transmitted from Buffer to GuiRef by reference of refs_
in the getLabelList function. Previously, only one string was
transmitted. But I needed both the formatted string, e.g. "x enu:test"
or "Missing: enu:test", as well as the plain label, e.g. "enu:test".
The former is for the list of labels to choose from in GuiRef and the
latter for the label as shown in the line edit that contains the plain
label in order to create a new reference from it. Transmitting both is
what the pair achieves.
Kornel Benko [Sat, 19 Feb 2022 14:59:52 +0000 (15:59 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 19 Feb 2022 13:32:04 +0000 (14:32 +0100)]
de.po
Juergen Spitzmueller [Sat, 19 Feb 2022 13:09:59 +0000 (14:09 +0100)]
child documents: allow inheritance of bibliography file list (#4427)
Juergen Spitzmueller [Sat, 19 Feb 2022 10:55:29 +0000 (11:55 +0100)]
Consider that "and" in BibTeX name lists is case-insensitive (#10465)
jpc [Fri, 18 Feb 2022 09:53:56 +0000 (10:53 +0100)]
Update fr.po
Enrico Forestieri [Thu, 17 Feb 2022 13:59:17 +0000 (14:59 +0100)]
Avoid a Qt warning about bad svg
See #10384 for the details.
Kornel Benko [Thu, 17 Feb 2022 11:19:33 +0000 (12:19 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 17 Feb 2022 09:52:37 +0000 (10:52 +0100)]
Correct error message
Juergen Spitzmueller [Thu, 17 Feb 2022 07:53:52 +0000 (08:53 +0100)]
de.po
Juergen Spitzmueller [Thu, 17 Feb 2022 07:21:36 +0000 (08:21 +0100)]
Typo
Juergen Spitzmueller [Thu, 17 Feb 2022 07:19:33 +0000 (08:19 +0100)]
InsetIndex: Some comments and indentation fixes
Juergen Spitzmueller [Thu, 17 Feb 2022 06:25:00 +0000 (07:25 +0100)]
Report if index processor failed (#7820)
Scott Kostyshak [Thu, 17 Feb 2022 03:05:02 +0000 (22:05 -0500)]
ctests: log fixed upstream Polyglossia issues
Thanks to Jürgen for fixing the upstream issue.
Also add a row "ctest" to give the pattern of the ctests that
failed.
Kornel Benko [Wed, 16 Feb 2022 13:44:43 +0000 (14:44 +0100)]
Update sk.po
Juergen Spitzmueller [Wed, 16 Feb 2022 13:25:25 +0000 (14:25 +0100)]
Reset font formatting of inset entries on creation (#11961)
Juergen Spitzmueller [Wed, 16 Feb 2022 13:24:46 +0000 (14:24 +0100)]
Use copy
Juergen Spitzmueller [Wed, 16 Feb 2022 12:17:30 +0000 (13:17 +0100)]
Oops.
Juergen Spitzmueller [Wed, 16 Feb 2022 12:16:24 +0000 (13:16 +0100)]
More generic message
Nomencl processor can be something else than makeindex.
Juergen Spitzmueller [Wed, 16 Feb 2022 12:11:15 +0000 (13:11 +0100)]
de.po
Juergen Spitzmueller [Wed, 16 Feb 2022 11:03:38 +0000 (12:03 +0100)]
Fix run of index processor in the export chain (#2696)
It does not make sense to issue the index processor before the
pagination is fixed. Particularly, if (classic) BibTeX is run,
we need one or more extra LaTeX runs after that before issuing
the index processor, since the citation labels and references are
only expanded then, which might change pagination. As a consequence,
we ended up in wrong index references.
This fixes a 16 year old bug report.
Juergen Spitzmueller [Tue, 15 Feb 2022 15:17:19 +0000 (16:17 +0100)]
Always update buffer when language is being changed (#12481)
Juergen Spitzmueller [Tue, 15 Feb 2022 11:50:25 +0000 (12:50 +0100)]
Whitespace
Juergen Spitzmueller [Tue, 15 Feb 2022 09:53:34 +0000 (10:53 +0100)]
de/Customization: fix typo.
Juergen Spitzmueller [Tue, 15 Feb 2022 09:24:39 +0000 (10:24 +0100)]
Fix #10649
jpc [Mon, 14 Feb 2022 10:30:24 +0000 (11:30 +0100)]
Update fr.po
Juergen Spitzmueller [Mon, 14 Feb 2022 07:46:11 +0000 (08:46 +0100)]
Reset font when leaving insets while auto-inserting (fixes #12477)
Thibaut Cuvelier [Mon, 14 Feb 2022 02:03:22 +0000 (03:03 +0100)]
DocBook: use the existing unicodesymbols global table to map LaTeX ERTs to Unicode characters.
Kornel Benko [Sun, 13 Feb 2022 13:23:58 +0000 (14:23 +0100)]
Update sk.po
Kornel Benko [Sun, 13 Feb 2022 12:57:41 +0000 (13:57 +0100)]
Update sk.po
Juergen Spitzmueller [Sun, 13 Feb 2022 09:28:00 +0000 (10:28 +0100)]
Small doc addition concerning \DocumentMetadata
Enrico Forestieri [Sun, 13 Feb 2022 03:57:27 +0000 (04:57 +0100)]
Fix bug #12466
Amend
109ea2be by reintroducing the command prefix that was
inadvertently removed. The prefix sets the proper environment
for latex.
Juergen Spitzmueller [Sat, 12 Feb 2022 16:42:13 +0000 (17:42 +0100)]
Fix tooltip and layout
Juergen Spitzmueller [Sat, 12 Feb 2022 16:41:04 +0000 (17:41 +0100)]
de.po
Juergen Spitzmueller [Sat, 12 Feb 2022 16:11:18 +0000 (17:11 +0100)]
Update tex2lyx tests
Juergen Spitzmueller [Sat, 12 Feb 2022 16:10:34 +0000 (17:10 +0100)]
Add basic support for \DeclareMetadata
File format change
Juergen Spitzmueller [Sat, 12 Feb 2022 14:10:14 +0000 (15:10 +0100)]
Whitespace
Juergen Spitzmueller [Fri, 11 Feb 2022 16:07:57 +0000 (17:07 +0100)]
Do not output hyperref option unicode with recent hyperref versions
unicode is true by default anyway, and it is now easier to opt out
via PackageOptions
Stephan Witt [Wed, 9 Feb 2022 09:59:18 +0000 (10:59 +0100)]
Avoid static members zoom_min_ and zoom_max_
Some compilers cannot use static class members by reference. std::min() and std::max() are passing parameters by const reference.
Kornel Benko [Tue, 8 Feb 2022 18:54:16 +0000 (19:54 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Tue, 8 Feb 2022 18:42:17 +0000 (19:42 +0100)]
Set a maximum value to zoom level
The minimal vamue is set to 10%, let's set the max to 1000%. This
avoids crashes when characters are too large.
The code is refactored to be more compact and the tests are more precise.
Fixes bug #12452.
Scott Kostyshak [Tue, 8 Feb 2022 17:15:31 +0000 (12:15 -0500)]
Uninvert Hazard.*systemF tests
Our .lyx document was updated by Jürgen at
e071d5fe .
Scott Kostyshak [Tue, 8 Feb 2022 03:13:37 +0000 (22:13 -0500)]
ctests: log a fixed issue
Juergen Spitzmueller [Mon, 7 Feb 2022 16:07:50 +0000 (17:07 +0100)]
HP-Statements example: update
Some of the examples used here seem to be no longer supported by
the hpstatement package and lead to errors.
Juergen Spitzmueller [Mon, 7 Feb 2022 15:21:20 +0000 (16:21 +0100)]
Amend
0789f2f2ae43
Use getFont() which considers fonts_default_family adjustments