Commit Graph

41785 Commits

Author SHA1 Message Date
Eugene Chornyi
dda35d2afd Wininstaller, use correct default icon for LyX documents 2020-06-18 14:35:13 +02:00
Eugene Chornyi
e501f2c473 Assure that LyX and tex2lyx use src/lyxwinres.rc 2020-06-18 14:31:25 +02:00
Jean-Marc Lasgouttes
c42776868d 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.
2020-06-18 11:39:45 +02:00
Jean-Marc Lasgouttes
48d164ddef Initialize properly Counter::saved_value_ member
Spotted by coverity.
2020-06-18 11:23:26 +02:00
Jean-Marc Lasgouttes
5aadf0879f 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.
2020-06-18 11:17:32 +02:00
Enrico Forestieri
70ccf9f243 Use the same icon as in the cmake build 2020-06-17 19:52:27 +02:00
Enrico Forestieri
36e6154515 Add new icon
This icon has been produced using lyx_doc.svg and contains 3
different sizes (32x32, 64x64, 256x256) instead of only one.
2020-06-17 19:32:02 +02:00
Kornel Benko
e2309c6ea5 Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b' 2020-06-17 18:06:54 +02:00
Kornel Benko
8d84a4d7ab Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a' 2020-06-17 14:44:27 +02:00
Kornel Benko
5f0ca8efe4 Cmake build: Do not overwrite the cache if nothing changes.
One of possibly more places .
2020-06-17 00:26:51 +02:00
Kornel Benko
0d84f0b9fd 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.
2020-06-17 00:24:21 +02:00
Enrico Forestieri
ddcbfb77bf Update copyright notice 2020-06-16 21:22:42 +02:00
Pavel Sanda
86387120bc Rename-XHTMLStream-to-XMLStream #2.
Refactor font-related stuff to come closer to the previous xHTML output.
Patch from Thibaut Cuvelier.
2020-06-15 23:37:27 +02:00
Pavel Sanda
8e2b18ada9 Amend a6b07608d8, took older patch. 2020-06-15 13:13:00 +02:00
Thibaut Cuvelier
a6b07608d8 Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook adoption.
xml.cpp/h also merges functionalities from sgml.cpp/h.
2020-06-15 13:01:56 +02:00
Kornel Benko
9cec35697a 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.
2020-06-15 10:27:17 +02:00
Juergen Spitzmueller
7860d19fbc Yet another ru update by Yuriy 2020-06-15 09:55:00 +02:00
Richard Kimberly Heck
2a2f15ec03 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.
2020-06-14 19:01:44 -04:00
Richard Kimberly Heck
8e33b681a8 Minor cleanup. 2020-06-14 19:01:44 -04:00
Enrico Forestieri
57272e837b 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.
2020-06-13 16:48:54 +02:00
Juergen Spitzmueller
674ec430cf Add mathds to math type table 2020-06-13 16:43:35 +02:00
Enrico Forestieri
d28e6b00cc Add mathds to math type table 2020-06-13 15:45:36 +02:00
Juergen Spitzmueller
c5e5208592 de.po 2020-06-13 10:36:00 +02:00
Juergen Spitzmueller
05c36c9f26 Add mathscr to math type table 2020-06-13 10:31:23 +02:00
Juergen Spitzmueller
fcba229f92 Add mathscr to math type table, by Yuriy 2020-06-13 10:25:05 +02:00
Juergen Spitzmueller
2bfb606562 Updates for Russian, by Yuriy 2020-06-13 10:24:40 +02:00
Kornel Benko
54603f75ba Update sk.po 2020-06-13 09:14:11 +02:00
Enrico Forestieri
0e30594eba Document the doublestroke package 2020-06-12 13:03:01 +02:00
Enrico Forestieri
85ac309eed Amend 5a80f7bb
Was missing these.
2020-06-12 11:50:58 +02:00
Thibaut Cuvelier
c8d0492194 MathML: generate only a mathvariant for double-struck font, no redundant class 2020-06-11 23:22:48 +02:00
Eugene
7118581a72 test 2020-06-11 21:52:56 +02:00
Kornel Benko
824be29341 Tools(listFontWithLang.pl): Add new category for double stroke fonts 2020-06-11 19:10:56 +02:00
Kornel Benko
76db479c07 Cmake build: Change the destination of fonts
Select the lyx-fonts-directory such that font-config can find the dat
2020-06-11 19:06:21 +02:00
Enrico Forestieri
6f6d985b9e Amend 5a80f7bb
Was forgetting this.
2020-06-11 17:43:44 +02:00
Enrico Forestieri
5a80f7bb6a 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.
2020-06-11 16:42:31 +02:00
Kornel Benko
3af543455b Rename a file to comform with the layout description
Saves one translatable string
2020-06-11 12:08:48 +02:00
Juergen Spitzmueller
64edb7a196 UI improvement to math matrix dialog, suggested by magistere (#11888) 2020-06-11 11:29:11 +02:00
Thibaut Cuvelier
716e3dc1a8 Output double-struck fonts as such in MathML, not in bold 2020-06-11 10:30:48 +02:00
Juergen Spitzmueller
134cb3b265 Consider parbreakIsNewline in plaintext output
Fixes #11886
2020-06-11 10:20:27 +02:00
Kornel Benko
392aaa11ac Cmake build: Add trailing '.'
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
2020-06-10 17:11:36 +02:00
Kornel Benko
ac7871d5d1 Amend(2) f7d6a0b7: Add template for APA v.7
Distribute the new template
2020-06-10 16:11:59 +02:00
Juergen Spitzmueller
c680d0360a WinInstaller: assure configure.py is run in the user dir, by Eugene 2020-06-10 12:38:48 +02:00
Pavel Sanda
d5fb7ddaf2 We were finally able to get in contact with MARC maintainers. 2020-06-09 22:36:10 +02:00
Kornel Benko
48d75d30b7 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)
2020-06-09 21:40:17 +02:00
Kornel Benko
11f922b676 Amend f7d6a0b7: Add template for APA v.7
Copy-Paste error, slipped in unintended
2020-06-09 21:37:58 +02:00
Kornel Benko
f7d6a0b7fa Add template for APA v.7
Based on TL20 texmf-dist/doc/latex/apa7/samples/longsample.tex
2020-06-09 19:24:42 +02:00
Kornel Benko
3a8755f2d6 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.
2020-06-09 14:49:51 +02:00
Juergen Spitzmueller
0f6045848a WinInstaller2: assure configure.py is run in the user dir, by Eugene 2020-06-09 13:13:26 +02:00
Juergen Spitzmueller
b17bdcb81c Amend b32c9ae8af, by Eugene 2020-06-09 12:08:03 +02:00
Juergen Spitzmueller
b32c9ae8af WinInstaller2: Check if LyX is already running during installation
Patch by Eugene
2020-06-09 10:16:39 +02:00