]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agotex2lyx: add support for libertinus
Juergen Spitzmueller [Thu, 9 Jul 2020 10:26:25 +0000 (12:26 +0200)]
tex2lyx: add support for libertinus

4 years agoAdd support for the libertinus family of fonts (#11899)
Juergen Spitzmueller [Thu, 9 Jul 2020 09:46:07 +0000 (11:46 +0200)]
Add support for the libertinus family of fonts (#11899)

File format change.

4 years agoLaTeXFonts: Add ScaleCommand
Juergen Spitzmueller [Thu, 9 Jul 2020 09:41:21 +0000 (11:41 +0200)]
LaTeXFonts: Add ScaleCommand

This is needed to add support for scaling to fonts that are switched
via command

4 years agoProvide option to prevent unnecessary font loading.
Juergen Spitzmueller [Thu, 9 Jul 2020 09:39:43 +0000 (11:39 +0200)]
Provide option to prevent unnecessary font loading.

If an OSF font is an alternative to a non-OSF one, only load the OSFFont
if osf is requested.

4 years agoUpdate RELEASE-NOTES for DocBook
Thibaut Cuvelier [Wed, 8 Jul 2020 19:15:13 +0000 (21:15 +0200)]
Update RELEASE-NOTES for DocBook

4 years agoWorkaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely...
Eugene Chornyi [Thu, 9 Jul 2020 07:36:12 +0000 (09:36 +0200)]
Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...) is called falsely when quickly double tapping on a touchpad of a notebook running Windows

4 years agoChange in ::docbook args
Richard Kimberly Heck [Thu, 9 Jul 2020 07:27:27 +0000 (03:27 -0400)]
Change in ::docbook args

4 years agoFix Coverity false positive for null-pointer dereference
Thibaut Cuvelier [Thu, 9 Jul 2020 00:40:20 +0000 (02:40 +0200)]
Fix Coverity false positive for null-pointer dereference

4 years agoSimplify code a bit. Should be equivalent, unless backs is empty!
Richard Kimberly Heck [Thu, 9 Jul 2020 03:59:15 +0000 (23:59 -0400)]
Simplify code a bit. Should be equivalent, unless backs is empty!

4 years agoBest to use braces when there are comments.
Richard Kimberly Heck [Thu, 9 Jul 2020 03:52:39 +0000 (23:52 -0400)]
Best to use braces when there are comments.

4 years agoUpdate customization manual for docbook (part2).
Pavel Sanda [Wed, 8 Jul 2020 22:34:19 +0000 (00:34 +0200)]
Update customization manual for docbook (part2).

4 years agoUpdate customization manual for docbook (part1).
Pavel Sanda [Wed, 8 Jul 2020 20:27:04 +0000 (22:27 +0200)]
Update customization manual for docbook (part1).

4 years agoAmend 3883b85f: Typo in "New DocBook support"
Kornel Benko [Wed, 8 Jul 2020 22:19:34 +0000 (00:19 +0200)]
Amend 3883b85f: Typo in "New DocBook support"

4 years agoWhitespace
Richard Kimberly Heck [Wed, 8 Jul 2020 16:15:34 +0000 (12:15 -0400)]
Whitespace

4 years agoClean up DeclareDocBookClass
Thibaut Cuvelier [Wed, 8 Jul 2020 13:39:01 +0000 (15:39 +0200)]
Clean up DeclareDocBookClass

4 years agoFix another constructor order of parameters
Pavel Sanda [Wed, 8 Jul 2020 12:27:24 +0000 (14:27 +0200)]
Fix another constructor order of parameters

4 years agoRevert docbook updates to Customization manual.
Pavel Sanda [Wed, 8 Jul 2020 12:15:33 +0000 (14:15 +0200)]
Revert docbook updates to Customization manual.

Something went wrong while merging.

4 years agocomment only
Pavel Sanda [Wed, 8 Jul 2020 12:05:54 +0000 (14:05 +0200)]
comment only

4 years agoRemove AGU DTD style, probably doesn't work, impossible to check.
Thibaut Cuvelier [Mon, 6 Jul 2020 22:11:09 +0000 (00:11 +0200)]
Remove AGU DTD style, probably doesn't work, impossible to check.

4 years agoWrong order in constructor
Pavel Sanda [Wed, 8 Jul 2020 11:34:45 +0000 (13:34 +0200)]
Wrong order in constructor

4 years agoRemove DOCBOOK enum values, no more used.
Thibaut Cuvelier [Sun, 5 Jul 2020 00:31:37 +0000 (02:31 +0200)]
Remove DOCBOOK enum values, no more used.

4 years agoUpdate sk.po
Kornel Benko [Wed, 8 Jul 2020 09:28:58 +0000 (11:28 +0200)]
Update sk.po

4 years agoMakefile forgotten in previous patch
Pavel Sanda [Wed, 8 Jul 2020 08:08:15 +0000 (10:08 +0200)]
Makefile forgotten in previous patch

4 years agoRemove GuiRef::nameAllowed, as the DocBook support no more uses it
Thibaut Cuvelier [Sun, 5 Jul 2020 00:24:57 +0000 (02:24 +0200)]
Remove GuiRef::nameAllowed, as the DocBook support no more uses it

4 years agoRemove GuiRef::typeAllowed, as it is now always allowed.
Thibaut Cuvelier [Sun, 5 Jul 2020 00:19:20 +0000 (02:19 +0200)]
Remove GuiRef::typeAllowed, as it is now always allowed.

4 years agoAdd documentation for the new layout attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:54:44 +0000 (02:54 +0200)]
Add documentation for the new layout attributes.

4 years agoMigrate the previous DocBook layouts so the old documents can still be generated...
Thibaut Cuvelier [Fri, 10 May 2019 00:20:20 +0000 (02:20 +0200)]
Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.

The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.

4 years agoMigrate the existing layouts to the new DocBook attributes.
Thibaut Cuvelier [Fri, 10 May 2019 00:16:56 +0000 (02:16 +0200)]
Migrate the existing layouts to the new DocBook attributes.

4 years agoThe new DocBook output has no prerequisite on the document, so enable it for each...
Thibaut Cuvelier [Fri, 10 May 2019 00:13:23 +0000 (02:13 +0200)]
The new DocBook output has no prerequisite on the document, so enable it for each and every document.

4 years agoNew DocBook support
Thibaut Cuvelier [Mon, 8 Jun 2020 21:27:49 +0000 (23:27 +0200)]
New DocBook support

4 years agoAmend 32e501a2
Eugene Chornyi [Wed, 8 Jul 2020 05:58:49 +0000 (07:58 +0200)]
Amend 32e501a2

4 years agode.po
Juergen Spitzmueller [Wed, 8 Jul 2020 04:11:22 +0000 (06:11 +0200)]
de.po

4 years agoWininstaller, fix bug where previous installations, with emergency version greater...
Eugene Chornyi [Tue, 7 Jul 2020 19:13:34 +0000 (21:13 +0200)]
Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall

4 years agoUpdate labels and tooltips for moderncv layout
Yuval Deutscher [Sat, 4 Jul 2020 12:44:35 +0000 (15:44 +0300)]
Update labels and tooltips for moderncv layout

Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.

Signed-off-by: Yuval Deutscher <yuval@deut.sh>
4 years ago* contrib
Pavel Sanda [Tue, 7 Jul 2020 07:52:22 +0000 (09:52 +0200)]
* contrib

4 years agoAdd required elements in the layouts to support DocBook.
Pavel Sanda [Tue, 7 Jul 2020 07:49:48 +0000 (09:49 +0200)]
Add required elements in the layouts to support DocBook.

Slightly modified patch from Thibaut Cuvelier.

4 years agoPrevent outputting \maketitle within an inset embedded in title.
Juergen Spitzmueller [Sat, 4 Jul 2020 08:54:20 +0000 (10:54 +0200)]
Prevent outputting \maketitle within an inset embedded in title.

Amends [e4ef8ddc0f8202/lyxgit]

4 years agoProperly fix handling of title layouts within insets (#11787)
Juergen Spitzmueller [Fri, 3 Jul 2020 14:18:53 +0000 (16:18 +0200)]
Properly fix handling of title layouts within insets (#11787)

4 years agoRemove old example, as its mechanisms are now deprecated.
Thibaut Cuvelier [Thu, 9 May 2019 22:42:26 +0000 (00:42 +0200)]
Remove old example, as its mechanisms are now deprecated.

4 years agoconstification
Juergen Spitzmueller [Thu, 2 Jul 2020 06:22:49 +0000 (08:22 +0200)]
constification

4 years agoUpdate Russian localization
Yuriy Skalko [Wed, 1 Jul 2020 11:20:16 +0000 (14:20 +0300)]
Update Russian localization

4 years agoFix yet another thinko in the math grid paste code
Juergen Spitzmueller [Tue, 30 Jun 2020 15:23:58 +0000 (17:23 +0200)]
Fix yet another thinko in the math grid paste code

This is a Hydra!

4 years agoFix cursor positioning with specific matrix pastings
Juergen Spitzmueller [Tue, 30 Jun 2020 07:25:59 +0000 (09:25 +0200)]
Fix cursor positioning with specific matrix pastings

4 years agoFix c&p of tabular data between different LyX instances (#4448)
Juergen Spitzmueller [Mon, 29 Jun 2020 16:52:10 +0000 (18:52 +0200)]
Fix c&p of tabular data between different LyX instances (#4448)

4 years agoFix math matrix column insertion on paste
Juergen Spitzmueller [Mon, 29 Jun 2020 16:05:46 +0000 (18:05 +0200)]
Fix math matrix column insertion on paste

4 years agoUpdate cursor idx after grid paste if columns are appended
Juergen Spitzmueller [Mon, 29 Jun 2020 15:57:18 +0000 (17:57 +0200)]
Update cursor idx after grid paste if columns are appended

4 years agoResize table if needed on multi-cell paste
Juergen Spitzmueller [Mon, 29 Jun 2020 15:51:24 +0000 (17:51 +0200)]
Resize table if needed on multi-cell paste

4 years agoFix math grid paste when needing more cells
Juergen Spitzmueller [Mon, 29 Jun 2020 14:30:49 +0000 (16:30 +0200)]
Fix math grid paste when needing more cells

4 years agoImplement proper pasting from multiple table cells to non-table (#4447)
Juergen Spitzmueller [Mon, 29 Jun 2020 13:13:45 +0000 (15:13 +0200)]
Implement proper pasting from multiple table cells to non-table (#4447)

4 years agoCorrectly initialize font (language) for multiple-cell paste (#11898)
Juergen Spitzmueller [Mon, 29 Jun 2020 11:40:27 +0000 (13:40 +0200)]
Correctly initialize font (language) for multiple-cell paste (#11898)

4 years agoConfigure script: update names for new DocBook support, which is now always enabled.
Thibaut Cuvelier [Thu, 9 May 2019 22:41:20 +0000 (00:41 +0200)]
Configure script: update names for new DocBook support, which is now always enabled.

4 years agoDo not paste \t when pasting multiple table columns outside table (#4449)
Juergen Spitzmueller [Mon, 29 Jun 2020 10:51:15 +0000 (12:51 +0200)]
Do not paste \t when pasting multiple table columns outside table (#4449)

4 years agoTools(listFontWithLang.pl): Add option to write to a file
Kornel Benko [Mon, 29 Jun 2020 10:30:56 +0000 (12:30 +0200)]
Tools(listFontWithLang.pl): Add option to write to a file

The content is meant to be input to other commands to display
the fonts.

4 years agoUse new parskip in UG
Juergen Spitzmueller [Mon, 29 Jun 2020 09:00:31 +0000 (11:00 +0200)]
Use new parskip in UG

4 years agoFix pasting of math grid with more rows in source than target (#11897)
Juergen Spitzmueller [Mon, 29 Jun 2020 07:48:05 +0000 (09:48 +0200)]
Fix pasting of math grid with more rows in source than target (#11897)

4 years agoHonor "provides parskip 1"
Juergen Spitzmueller [Mon, 29 Jun 2020 07:00:28 +0000 (09:00 +0200)]
Honor "provides parskip 1"

4 years agoUpdate sk.po
Kornel Benko [Sun, 28 Jun 2020 17:18:14 +0000 (19:18 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sun, 28 Jun 2020 16:53:36 +0000 (18:53 +0200)]
de.po

4 years agoSupport halfline and fullline also in vspace.
Juergen Spitzmueller [Sun, 28 Jun 2020 16:27:59 +0000 (18:27 +0200)]
Support halfline and fullline also in vspace.

4 years agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 28 Jun 2020 15:27:36 +0000 (17:27 +0200)]
update tex2lyx tests

4 years agouse package parskip to separate paragraphs with vertical space (#4796)
Juergen Spitzmueller [Sun, 28 Jun 2020 15:20:18 +0000 (17:20 +0200)]
use package parskip to separate paragraphs with vertical space (#4796)

File format change

4 years agoUpdate Russian
Yuriy Skalko [Sat, 27 Jun 2020 15:55:57 +0000 (18:55 +0300)]
Update Russian

4 years agoForce local switch for info insets that change language
Juergen Spitzmueller [Sat, 27 Jun 2020 07:40:12 +0000 (09:40 +0200)]
Force local switch for info insets that change language

Fixes compilation of current English UG

4 years agoClarify \upbrace and \downbrace (#11896)
Juergen Spitzmueller [Sat, 27 Jun 2020 07:22:36 +0000 (09:22 +0200)]
Clarify \upbrace and \downbrace (#11896)

4 years agoAdding DocBook test cases.
Thibaut Cuvelier [Thu, 9 May 2019 22:39:56 +0000 (00:39 +0200)]
Adding DocBook test cases.

4 years agoUpdate sk.po
Kornel Benko [Fri, 26 Jun 2020 10:26:29 +0000 (12:26 +0200)]
Update sk.po

4 years agoUpdate tex2lyx tests after file format change
Juergen Spitzmueller [Fri, 26 Jun 2020 09:32:01 +0000 (11:32 +0200)]
Update tex2lyx tests after file format change

4 years agode.po
Juergen Spitzmueller [Fri, 26 Jun 2020 09:23:45 +0000 (11:23 +0200)]
de.po

4 years agoDocument medspace and thickspace
Juergen Spitzmueller [Fri, 26 Jun 2020 09:13:18 +0000 (11:13 +0200)]
Document medspace and thickspace

4 years agoAdd support for medspace and thickspace (in text) (#11893)
Juergen Spitzmueller [Fri, 26 Jun 2020 09:12:35 +0000 (11:12 +0200)]
Add support for medspace and thickspace (in text) (#11893)

File format change.

4 years agoRun codespell on src/frontends
Jean-Marc Lasgouttes [Thu, 25 Jun 2020 22:04:31 +0000 (00:04 +0200)]
Run codespell on src/frontends

Command was:
codespell -w -i 3  -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,pres,pass-thru  src/frontends/

4 years agotypo left by codespell
Pavel Sanda [Thu, 25 Jun 2020 22:07:03 +0000 (00:07 +0200)]
typo left by codespell

4 years agoRun codespell on tex2lyx/, client/, convert/ and graphics/
Jean-Marc Lasgouttes [Thu, 25 Jun 2020 21:50:52 +0000 (23:50 +0200)]
Run codespell on tex2lyx/, client/, convert/ and graphics/

Command was
codespell -w -i 3  -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,pres,pass-thru  src/xxx

4 years agoRun codespell on src/insets
Jean-Marc Lasgouttes [Thu, 25 Jun 2020 21:46:16 +0000 (23:46 +0200)]
Run codespell on src/insets

Command was
codespell -w -i 3  -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,pres,pass-thru  src/insets/

4 years agoRun codespell on src/mathed
Jean-Marc Lasgouttes [Thu, 25 Jun 2020 21:31:42 +0000 (23:31 +0200)]
Run codespell on src/mathed

codespell -w -i 3 -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus,wit,nd,numer  src/mathed/

4 years agoRun codespell on src/support
Jean-Marc Lasgouttes [Thu, 25 Jun 2020 21:16:08 +0000 (23:16 +0200)]
Run codespell on src/support

Codespell is run with command line
codespell -w -S Makefile.in -L mathed,afe,tthe,ue,fro,uint,larg,alph,te,thes,alle,Claus -i 3 src/support/

4 years agoUpdate sk.po
Kornel Benko [Thu, 25 Jun 2020 15:34:49 +0000 (17:34 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Thu, 25 Jun 2020 14:24:08 +0000 (16:24 +0200)]
de.po

4 years agoHarmonize some space shortcuts (math/text context menu)
Juergen Spitzmueller [Thu, 25 Jun 2020 14:22:42 +0000 (16:22 +0200)]
Harmonize some space shortcuts (math/text context menu)

4 years agoTools(listFontWithLang.pl): Added type for small capitals.
Kornel Benko [Thu, 25 Jun 2020 09:18:53 +0000 (11:18 +0200)]
Tools(listFontWithLang.pl): Added type for small capitals.

4 years agoConsider nesting level when autonesting
Juergen Spitzmueller [Thu, 25 Jun 2020 08:37:04 +0000 (10:37 +0200)]
Consider nesting level when autonesting

4 years agoAdd negmedspace and negthickspace to context menu
Juergen Spitzmueller [Wed, 24 Jun 2020 12:47:12 +0000 (14:47 +0200)]
Add negmedspace and negthickspace to context menu

4 years agoAllow row-breaking after some insets
Jean-Marc Lasgouttes [Tue, 23 Jun 2020 21:34:49 +0000 (23:34 +0200)]
Allow row-breaking after some insets

Add new RowFlags value CanBreakAfter, which says that the row can be
broken after the inset if needed. There is no CanBreakBefore yet,
because I do not know of an inset that needs it.

This makes screen closer to the actual behavior of insets.

Currently, only unprotected spaces and some special characters are
concerned. There may be more that need this handling.

Fixes bug #11621.

4 years agoMake all unbreakable spaces of the same Color_latex color
Jean-Marc Lasgouttes [Tue, 23 Jun 2020 21:33:37 +0000 (23:33 +0200)]
Make all unbreakable spaces of the same Color_latex color

Of course, this means that negative spaces cannot be recognized anymore.

4 years agoFix comment
Jean-Marc Lasgouttes [Tue, 23 Jun 2020 21:32:05 +0000 (23:32 +0200)]
Fix comment

4 years agoThe hard-coding of word_wrap has been fixed at bf88ad49.
Jean-Marc Lasgouttes [Mon, 22 Jun 2020 22:09:13 +0000 (00:09 +0200)]
The hard-coding of word_wrap has been fixed at bf88ad49.

4 years agoUse new rowFlags() values to remove some inset hardcoding.
Jean-Marc Lasgouttes [Mon, 22 Jun 2020 21:11:40 +0000 (23:11 +0200)]
Use new rowFlags() values to remove some inset hardcoding.

The enum DisplayType is replaced with the flags RowFlags that can be
combined. Here is the correspondence between the old DisplayType and
the new Inset::RowFlags:

DisplayType   RowFLags             Meaning
 Inline        Inline               plain inline inset
  --           BreakBefore          row ends before this inset
  --           BreakAfter           the row ends after this inset
 AlignCenter   Display             the inset is centered on its own row
 AlignLeft     Display | AlignLeft  the inset is left-aligned on its row
 AlignRight    Display | AlignRight the inset is right-aligned on its row
  --           RowAfter             an extra row is needed after this inset

Display is just a shortcut for BreakBefore | BreakAfter.

The flags for the newline inset will be BreakAfter | RowAfter,
while the separator inset will just use BreakAfter.

This groundwork does not introduce any new feature at this point. It
aims to remve the numerous isNewLine and isSeparator all over the
code, and to eventually optional break after some insets like spaces
(see #11621).

Most display() methods are renamed to rowFlags(). Some are removed
because they returned Inline.

Now display() is only a helper function for hull insets.

4 years agoAmend e501f2c4
Eugene Chornyi [Sun, 21 Jun 2020 17:50:21 +0000 (19:50 +0200)]
Amend e501f2c4
put icons in cmake bin dir so that tex2lyx can also see them

4 years agoSome python cleanup from Thibault.
Richard Kimberly Heck [Sun, 21 Jun 2020 15:37:23 +0000 (11:37 -0400)]
Some python cleanup from Thibault.

4 years agoTools(listFontWithLang.pl): more changes
Kornel Benko [Sun, 21 Jun 2020 09:43:35 +0000 (11:43 +0200)]
Tools(listFontWithLang.pl): more changes

Normalized some style names (e.g. cond -> condensed)
Handle some forgotten fonts (for sure there are more)
Routine getval() tries to get the same language entry for fullname, family and style if possible.
Added some more exceptions (for instance not all fonts with 'symbol' in name contain symbols)
Split family- and style words at case-change (lower to upper case) to identify shortcuts for styles.

4 years agoFix swapped logic (#11889)
Juergen Spitzmueller [Fri, 19 Jun 2020 14:40:07 +0000 (16:40 +0200)]
Fix swapped logic (#11889)

4 years agoFix in symbols handling: parse the XML entity with \def.
Thibaut Cuvelier [Fri, 19 Jun 2020 00:27:31 +0000 (02:27 +0200)]
Fix in symbols handling: parse the XML entity with \def.

4 years agoMathML: Convert HTML entities to XML entities.
Thibaut Cuvelier [Mon, 8 Jun 2020 02:07:47 +0000 (04:07 +0200)]
MathML: Convert HTML entities to XML entities.

4 years agoMathML stream allows for name spaces.
Thibaut Cuvelier [Thu, 9 May 2019 23:52:07 +0000 (01:52 +0200)]
MathML stream allows for name spaces.

4 years agoFocus keyword filed in Thesaurus dialog
Richard Kimberly Heck [Thu, 18 Jun 2020 14:51:05 +0000 (10:51 -0400)]
Focus keyword filed in Thesaurus dialog

4 years agoRename-XHTMLStream-to-XMLStream #3.
Pavel Sanda [Thu, 18 Jun 2020 13:58:48 +0000 (15:58 +0200)]
Rename-XHTMLStream-to-XMLStream #3.

Fix paragraph id in xHTML output to the pre-refactoring status.
Tested on math manual (plus minus nonessential newlines).

Slightly modified patch from Thibaut Cuvelier.

4 years agoWininstaller, use correct default icon for LyX documents
Eugene Chornyi [Thu, 18 Jun 2020 12:35:13 +0000 (14:35 +0200)]
Wininstaller, use correct default icon for LyX documents

4 years agoAssure that LyX and tex2lyx use src/lyxwinres.rc
Eugene Chornyi [Thu, 18 Jun 2020 12:31:25 +0000 (14:31 +0200)]
Assure that LyX and tex2lyx use src/lyxwinres.rc

4 years agoDo not dereference getFormat() if it is null
Jean-Marc Lasgouttes [Thu, 18 Jun 2020 09:39:45 +0000 (11:39 +0200)]
Do not dereference getFormat() if it is null

Return early when format is unknown. I am not sure whether this is
supposed to happen and whether we should assert on this condition.

Spotted by coverity.

4 years agoInitialize properly Counter::saved_value_ member
Jean-Marc Lasgouttes [Thu, 18 Jun 2020 09:23:26 +0000 (11:23 +0200)]
Initialize properly Counter::saved_value_ member

Spotted by coverity.