]>
git.lyx.org Git - features.git/log
Juergen Spitzmueller [Fri, 26 Jun 2020 09:23:45 +0000 (11:23 +0200)]
de.po
Juergen Spitzmueller [Fri, 26 Jun 2020 09:13:18 +0000 (11:13 +0200)]
Document medspace and thickspace
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.
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/
Pavel Sanda [Thu, 25 Jun 2020 22:07:03 +0000 (00:07 +0200)]
typo left by codespell
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
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/
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/
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/
Kornel Benko [Thu, 25 Jun 2020 15:34:49 +0000 (17:34 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 25 Jun 2020 14:24:08 +0000 (16:24 +0200)]
de.po
Juergen Spitzmueller [Thu, 25 Jun 2020 14:22:42 +0000 (16:22 +0200)]
Harmonize some space shortcuts (math/text context menu)
Kornel Benko [Thu, 25 Jun 2020 09:18:53 +0000 (11:18 +0200)]
Tools(listFontWithLang.pl): Added type for small capitals.
Juergen Spitzmueller [Thu, 25 Jun 2020 08:37:04 +0000 (10:37 +0200)]
Consider nesting level when autonesting
Juergen Spitzmueller [Wed, 24 Jun 2020 12:47:12 +0000 (14:47 +0200)]
Add negmedspace and negthickspace to context menu
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.
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.
Jean-Marc Lasgouttes [Tue, 23 Jun 2020 21:32:05 +0000 (23:32 +0200)]
Fix comment
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 .
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.
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
Richard Kimberly Heck [Sun, 21 Jun 2020 15:37:23 +0000 (11:37 -0400)]
Some python cleanup from Thibault.
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.
Juergen Spitzmueller [Fri, 19 Jun 2020 14:40:07 +0000 (16:40 +0200)]
Fix swapped logic (#11889)
Thibaut Cuvelier [Fri, 19 Jun 2020 00:27:31 +0000 (02:27 +0200)]
Fix in symbols handling: parse the XML entity with \def.
Thibaut Cuvelier [Mon, 8 Jun 2020 02:07:47 +0000 (04:07 +0200)]
MathML: Convert HTML entities to XML entities.
Thibaut Cuvelier [Thu, 9 May 2019 23:52:07 +0000 (01:52 +0200)]
MathML stream allows for name spaces.
Richard Kimberly Heck [Thu, 18 Jun 2020 14:51:05 +0000 (10:51 -0400)]
Focus keyword filed in Thesaurus dialog
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.
Eugene Chornyi [Thu, 18 Jun 2020 12:35:13 +0000 (14:35 +0200)]
Wininstaller, use correct default icon for LyX documents
Eugene Chornyi [Thu, 18 Jun 2020 12:31:25 +0000 (14:31 +0200)]
Assure that LyX and tex2lyx use src/lyxwinres.rc
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.
Jean-Marc Lasgouttes [Thu, 18 Jun 2020 09:23:26 +0000 (11:23 +0200)]
Initialize properly Counter::saved_value_ member
Spotted by coverity.
Jean-Marc Lasgouttes [Thu, 18 Jun 2020 09:17:32 +0000 (11:17 +0200)]
Pass BufferParams by address
Spotted by coverity.
Note that this probably fixes a bug in getTokenValue(), where an author
was added to the BufferParams copy.
Enrico Forestieri [Wed, 17 Jun 2020 17:52:27 +0000 (19:52 +0200)]
Use the same icon as in the cmake build
Enrico Forestieri [Wed, 17 Jun 2020 17:29:26 +0000 (19:29 +0200)]
Add new icon
This icon has been produced using lyx_doc.svg and contains 3
different sizes (32x32, 64x64, 256x256) instead of only one.
Kornel Benko [Wed, 17 Jun 2020 16:06:54 +0000 (18:06 +0200)]
Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b'
Kornel Benko [Wed, 17 Jun 2020 12:44:27 +0000 (14:44 +0200)]
Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a'
Kornel Benko [Tue, 16 Jun 2020 22:26:51 +0000 (00:26 +0200)]
Cmake build: Do not overwrite the cache if nothing changes.
One of possibly more places .
Kornel Benko [Tue, 16 Jun 2020 22:24:21 +0000 (00:24 +0200)]
Tools(listFontWithLang.pl): Change the building of fontname.
A try to combine the style info and family into the font-name in such a way,
that the features are not doubled.
Enrico Forestieri [Tue, 16 Jun 2020 19:22:42 +0000 (21:22 +0200)]
Update copyright notice
Pavel Sanda [Mon, 15 Jun 2020 21:28:27 +0000 (23:28 +0200)]
Rename-XHTMLStream-to-XMLStream #2.
Refactor font-related stuff to come closer to the previous xHTML output.
Patch from Thibaut Cuvelier.
Pavel Sanda [Mon, 15 Jun 2020 11:13:00 +0000 (13:13 +0200)]
Amend
a6b07608d8e9de24 , took older patch.
Thibaut Cuvelier [Thu, 9 May 2019 23:35:40 +0000 (01:35 +0200)]
Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook adoption.
xml.cpp/h also merges functionalities from sgml.cpp/h.
Kornel Benko [Mon, 15 Jun 2020 08:22:10 +0000 (10:22 +0200)]
Tools(listFontWithLang.pl): Enable list of font features
Font-type can contain more than one feature (e.g. Initials + Serif)
therefore it is now a combination of featrures.
Juergen Spitzmueller [Mon, 15 Jun 2020 07:55:00 +0000 (09:55 +0200)]
Yet another ru update by Yuriy
Richard Kimberly Heck [Sun, 14 Jun 2020 19:33:06 +0000 (15:33 -0400)]
Fix bug noticed by Scott.
Since there may be subfloats, we do not want to move past the end
of a float when modifying it.
Richard Kimberly Heck [Sun, 14 Jun 2020 19:32:56 +0000 (15:32 -0400)]
Minor cleanup.
Enrico Forestieri [Sat, 13 Jun 2020 14:42:25 +0000 (16:42 +0200)]
Correctly display \dag and \ddag in mathed
They are synonyms for \dagger and \ddagger and are used
in Sect. 13.1 of the math manual.
Juergen Spitzmueller [Sat, 13 Jun 2020 14:43:35 +0000 (16:43 +0200)]
Add mathds to math type table
Enrico Forestieri [Sat, 13 Jun 2020 13:45:36 +0000 (15:45 +0200)]
Add mathds to math type table
Juergen Spitzmueller [Sat, 13 Jun 2020 08:36:00 +0000 (10:36 +0200)]
de.po
Juergen Spitzmueller [Sat, 13 Jun 2020 08:31:23 +0000 (10:31 +0200)]
Add mathscr to math type table
Juergen Spitzmueller [Sat, 13 Jun 2020 08:25:05 +0000 (10:25 +0200)]
Add mathscr to math type table, by Yuriy
Juergen Spitzmueller [Sat, 13 Jun 2020 08:24:40 +0000 (10:24 +0200)]
Updates for Russian, by Yuriy
Kornel Benko [Sat, 13 Jun 2020 07:14:11 +0000 (09:14 +0200)]
Update sk.po
Enrico Forestieri [Fri, 12 Jun 2020 11:03:01 +0000 (13:03 +0200)]
Document the doublestroke package
Enrico Forestieri [Fri, 12 Jun 2020 09:50:58 +0000 (11:50 +0200)]
Amend
5a80f7bb
Was missing these.
Thibaut Cuvelier [Thu, 11 Jun 2020 19:25:22 +0000 (21:25 +0200)]
MathML: generate only a mathvariant for double-struck font, no redundant class
Eugene [Thu, 11 Jun 2020 19:52:56 +0000 (21:52 +0200)]
test
Kornel Benko [Thu, 11 Jun 2020 17:10:56 +0000 (19:10 +0200)]
Tools(listFontWithLang.pl): Add new category for double stroke fonts
Kornel Benko [Thu, 11 Jun 2020 17:06:21 +0000 (19:06 +0200)]
Cmake build: Change the destination of fonts
Select the lyx-fonts-directory such that font-config can find the dat
Enrico Forestieri [Thu, 11 Jun 2020 15:43:44 +0000 (17:43 +0200)]
Amend
5a80f7bb
Was forgetting this.
Enrico Forestieri [Thu, 11 Jun 2020 14:42:31 +0000 (16:42 +0200)]
Add support for the doublestroke package
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.
As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.
Fixes bug #11887.
Kornel Benko [Thu, 11 Jun 2020 10:08:48 +0000 (12:08 +0200)]
Rename a file to comform with the layout description
Saves one translatable string
Juergen Spitzmueller [Thu, 11 Jun 2020 09:29:11 +0000 (11:29 +0200)]
UI improvement to math matrix dialog, suggested by magistere (#11888)
Thibaut Cuvelier [Wed, 10 Jun 2020 21:14:16 +0000 (23:14 +0200)]
Output double-struck fonts as such in MathML, not in bold
Juergen Spitzmueller [Thu, 11 Jun 2020 08:20:27 +0000 (10:20 +0200)]
Consider parbreakIsNewline in plaintext output
Fixes #11886
Kornel Benko [Wed, 10 Jun 2020 15:11:36 +0000 (17:11 +0200)]
Cmake build: Add trailing '.'
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
Kornel Benko [Wed, 10 Jun 2020 14:09:09 +0000 (16:09 +0200)]
Amend(2)
f7d6a0b7 : Add template for APA v.7
Distribute the new template
Juergen Spitzmueller [Wed, 10 Jun 2020 10:38:48 +0000 (12:38 +0200)]
WinInstaller: assure configure.py is run in the user dir, by Eugene
Pavel Sanda [Tue, 9 Jun 2020 20:36:10 +0000 (22:36 +0200)]
We were finally able to get in contact with MARC maintainers.
Kornel Benko [Tue, 9 Jun 2020 19:40:17 +0000 (21:40 +0200)]
Cmake export tests: Adapt to new template
These tests are not working with lualatex and tex fonts
(American_Psychological_Association_%28APA_v\.7%29_(dvi3|pdf5)_texF)
Kornel Benko [Tue, 9 Jun 2020 19:37:58 +0000 (21:37 +0200)]
Amend
f7d6a0b7 : Add template for APA v.7
Copy-Paste error, slipped in unintended
Kornel Benko [Tue, 9 Jun 2020 17:24:42 +0000 (19:24 +0200)]
Add template for APA v.7
Based on TL20 texmf-dist/doc/latex/apa7/samples/longsample.tex
Kornel Benko [Tue, 9 Jun 2020 12:49:26 +0000 (14:49 +0200)]
Amend
cb26ecbb : Added apa7 layout
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{})
or in the body of document. For this a Flex-inset-layout seems appropriate.
Juergen Spitzmueller [Tue, 9 Jun 2020 11:13:26 +0000 (13:13 +0200)]
WinInstaller2: assure configure.py is run in the user dir, by Eugene
Juergen Spitzmueller [Tue, 9 Jun 2020 10:08:03 +0000 (12:08 +0200)]
Amend
b32c9ae8af3a9 , by Eugene
Juergen Spitzmueller [Tue, 9 Jun 2020 08:15:18 +0000 (10:15 +0200)]
WinInstaller2: Check if LyX is already running during installation
Patch by Eugene
Richard Kimberly Heck [Mon, 8 Jun 2020 15:04:15 +0000 (11:04 -0400)]
Clean up build script
Juergen Spitzmueller [Mon, 8 Jun 2020 04:56:25 +0000 (06:56 +0200)]
Fix some typos in comments, by Thibaut Cuvelier
Juergen Spitzmueller [Sun, 7 Jun 2020 17:18:00 +0000 (19:18 +0200)]
Do not track row/column deletion in paste_tabular
Fixes #11884.
Richard Kimberly Heck [Sun, 7 Jun 2020 16:39:42 +0000 (12:39 -0400)]
Changes to lyx-build script
Kornel Benko [Sun, 7 Jun 2020 14:38:33 +0000 (16:38 +0200)]
Amend(2)
ed665a03 : Do not try to distribute removed cmake script
Kornel Benko [Sun, 7 Jun 2020 10:07:58 +0000 (12:07 +0200)]
Amend
2d48072e : Get rid of Qt resources
Remove the cmake handling too
Jean-Marc Lasgouttes [Sat, 6 Jun 2020 22:57:40 +0000 (00:57 +0200)]
Get rid of Qt resources
It turns out that the resources were mostly not used anyway. Removing
them shrinks LyX binary by ~6MB.
Only autotools have been adapted. cmake will require the same
simplification.
Jean-Marc Lasgouttes [Sat, 6 Jun 2020 22:57:03 +0000 (00:57 +0200)]
Move BulletsModule to frontend namespace
Richard Kimberly Heck [Sat, 6 Jun 2020 17:05:43 +0000 (13:05 -0400)]
Need this for std::endl now, according to Eugene
Juergen Spitzmueller [Sat, 6 Jun 2020 11:56:46 +0000 (13:56 +0200)]
Having two folders just differing in case is not such a good idea.
See #11882
Juergen Spitzmueller [Sat, 6 Jun 2020 10:58:39 +0000 (12:58 +0200)]
New Win Installer, by Eugene
Juergen Spitzmueller [Sat, 6 Jun 2020 10:54:43 +0000 (12:54 +0200)]
Add some localized (Russian) cliparts, by Yuriy
Kornel Benko [Sat, 6 Jun 2020 09:47:28 +0000 (11:47 +0200)]
Typo
Kornel Benko [Sat, 6 Jun 2020 08:54:10 +0000 (10:54 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 6 Jun 2020 07:59:59 +0000 (09:59 +0200)]
Update to Russian UG by Yuriy and Henry
Juergen Spitzmueller [Sat, 6 Jun 2020 07:58:21 +0000 (09:58 +0200)]
Update to Russian from Yuriy
Juergen Spitzmueller [Sat, 6 Jun 2020 07:23:23 +0000 (09:23 +0200)]
de.po
Jean-Marc Lasgouttes [Tue, 12 May 2020 17:53:47 +0000 (19:53 +0200)]
Use combined toolbar icons for depth-(in|de)crement and outline-(in|out)
The Tab binding already combines those (and more).
Jean-Marc Lasgouttes [Thu, 14 May 2020 14:35:51 +0000 (16:35 +0200)]
Allow to provide explicit icons for things like command-alternative
The automatic icons for "command-alternative", "math-insert",
"math-(big)delim" and "command" can be overriden by an explicit icon
name.
Besides that, the iconName function is refactored, and now returns an
additional bool that indicates whether the icon should be flipped.
The code that uses resources is still useless. This will be the
subject of further work.
Jean-Marc Lasgouttes [Fri, 5 Jun 2020 20:32:58 +0000 (22:32 +0200)]
Fixup
74540c98 : handle selection for label background
74540c98 was a fixup of
d207e85c , which avoided using inset background
as inset label background.
d207e85c introduced a background under inset labels to avoid fake bold
effect.
Hopefully, this last variation will be the right one !
Kornel Benko [Fri, 5 Jun 2020 20:03:59 +0000 (22:03 +0200)]
Added apa7 layout