Yuriy Skalko
bda4570400
Use new signal library nod
instead of boost::signals2
...
Thanks Enrico for updating autotools files.
2020-12-13 23:11:19 +02:00
Pavel Sanda
2f3d0653b3
Fix compilation
2020-12-06 18:37:38 +01:00
Yuriy Skalko
e292dd70bf
More enums & includes refactoring
2020-12-06 18:26:41 +02:00
Juergen Spitzmueller
e3f7f18440
amend a204dbe934
2020-12-03 14:51:05 +01:00
Juergen Spitzmueller
a04d30a650
tex2lyx: prevent \; \: and \! to be converted in tipa and algorithm
...
These commands have special meanings there.
2020-12-03 14:49:01 +01:00
Juergen Spitzmueller
a204dbe934
Escape backslash in comments
2020-12-03 14:47:34 +01:00
Juergen Spitzmueller
c93d5d76fa
tex2lyx: support all space type in texted
2020-12-03 11:12:55 +01:00
Juergen Spitzmueller
0424f297b8
Update tex2lyx tests
2020-12-02 17:01:21 +01:00
Juergen Spitzmueller
e9cbd69f6e
Implement Hungarian quotation marks style ( #12040 )
...
File format change
2020-12-02 17:00:40 +01:00
Kornel Benko
a171c651a6
Revert "Amend 3093789e
for cmake build"
...
This reverts commit b3d43404f4
.
2020-11-30 10:19:22 +01:00
Yuriy Skalko
7779316e6c
Include standard <regex>
2020-11-29 15:27:28 +02:00
Kornel Benko
b3d43404f4
Amend 3093789e
for cmake build
2020-11-29 10:04:54 +01:00
Jean-Marc Lasgouttes
3093789e8d
remove most traces of boost::regex
...
1/ remove boost regex code from 3rdparty/boost. Only the cmake stuff remains.
2/ remove traces of BOOST_LIB since there is no need anymore to
compile boost stuff.
3/ remove traces of boost regexp in config/lyxinclude.m4 and INSTALL
4/ require gcc 4.9 as minimal version in autoconf.
Unfortunately, the net gain is only 10% of included boost size (now 21M).
2020-11-28 19:59:17 +01:00
Yuriy Skalko
8cb728c2d7
Constify
2020-11-27 12:16:45 +02:00
Yuriy Skalko
43b16548b4
Cleanup headers
2020-11-25 02:43:16 +02:00
Richard Kimberly Heck
2945bc356e
whitespace
2020-11-02 11:38:52 -05:00
Yuriy Skalko
d38eddb397
Match header/source function argument naming
2020-11-01 22:23:44 +02:00
Yuriy Skalko
5061db891c
Use const references
2020-11-01 22:23:26 +02:00
Yuriy Skalko
dbe35af542
Simplify with std::map::insert
2020-11-01 22:22:27 +02:00
Yuriy Skalko
a7018252b7
Constify
2020-10-25 09:28:34 +02:00
Yuriy Skalko
65c88f0a0a
Remove redundant const &
for primitive types
2020-10-19 12:50:07 +03:00
Scott Kostyshak
1e3ef3c6e2
Update tex2lyx tests after the format change
...
The diff consists of only the format number, which is expected since
there is no instance of "\nopagebreak" in the .tex files.
2020-10-16 23:06:15 -04:00
Pavel Sanda
0ea9df7467
Add inset for \nopagebreak.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
Yuriy Skalko
919a06718a
Constify
2020-10-12 15:06:16 +02:00
Yuriy Skalko
7d38a4d126
Loop refactoring
2020-10-09 09:04:20 +03:00
Yuriy Skalko
fe85162a29
Refactoring
2020-10-05 14:55:00 +02:00
Yuriy Skalko
715b8cda54
Refactoring based on cppcheck suggestions
2020-10-03 13:39:51 +02:00
Yuriy Skalko
efc0877f8f
Add override
specifiers to improve code maintainability
2020-10-03 12:43:48 +02:00
Jean-Marc Lasgouttes
dd65a97b55
Pass parameters as const references when possible
...
Fixes some cppcheck warnings.
2020-10-02 18:56:01 +02:00
Juergen Spitzmueller
8b155ce957
Refactoring
2020-10-02 08:30:31 +02:00
Juergen Spitzmueller
720179947e
tex2lyx: properly set textclass if no class is given
...
(snippets without \documentclass and no forced class)
2020-10-02 08:17:45 +02:00
Juergen Spitzmueller
88506f886b
update tex2lyx tests
2020-08-12 13:13:56 +02:00
Stephan Witt
0fa4b7e736
#9376 prepare use of Length in lyxrc - move the class Length to support
2020-08-07 09:24:31 +02:00
Thibaut Cuvelier
e302757476
Add support for CALS tables in DocBook.
2020-07-16 00:40:16 +02:00
Juergen Spitzmueller
56c139449d
Update tex2lyx test after last file format change
2020-07-11 11:12:00 +02:00
Juergen Spitzmueller
01c1d1e156
tex2lyx: add support for libertinus
2020-07-09 12:26:25 +02:00
Juergen Spitzmueller
e121bd04bb
Support halfline and fullline also in vspace.
2020-06-28 18:27:59 +02:00
Juergen Spitzmueller
361d4d43e3
update tex2lyx tests
2020-06-28 17:27:36 +02:00
Juergen Spitzmueller
b0c102cfb4
use package parskip to separate paragraphs with vertical space ( #4796 )
...
File format change
2020-06-28 17:20:18 +02:00
Juergen Spitzmueller
ae4c2b122f
Update tex2lyx tests after file format change
2020-06-26 11:32:01 +02:00
Juergen Spitzmueller
a68b0389bc
Add support for medspace and thickspace (in text) ( #11893 )
...
File format change.
2020-06-26 11:12:35 +02:00
Jean-Marc Lasgouttes
8ceb4f6b58
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/
2020-06-26 00:21:47 +02:00
Pavel Sanda
7a132f4f8c
typo left by codespell
2020-06-26 00:07:03 +02:00
Jean-Marc Lasgouttes
110f8f67ac
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
2020-06-25 23:50:52 +02:00
Eugene Chornyi
e501f2c473
Assure that LyX and tex2lyx use src/lyxwinres.rc
2020-06-18 14:31:25 +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
Juergen Spitzmueller
79df18e4d4
update tex2lyx tests after 5b2479176b
2020-05-30 09:27:37 +02:00
Juergen Spitzmueller
5b2479176b
tex2lyx: reset language after polyglossia lang environment has been closed
...
Fixes #11878
2020-05-26 10:15:52 +02:00
Richard Kimberly Heck
de40b09474
Fix thinkos for counter value type
2020-04-30 23:46:18 -04:00
Richard Kimberly Heck
cb9102f986
Update tex2lyx references.
2020-04-30 23:21:34 -04:00
Jean-Marc Lasgouttes
a85c48de5a
Do not for copies in range-based for loops.
...
Spotted by clang++ 10.
2020-04-28 13:27:50 +02:00
Juergen Spitzmueller
9a31c1b90b
update tex2lyx tests
2020-03-15 17:19:23 +01:00
Juergen Spitzmueller
f4af191403
Introduce maintain unincluded children "mostly"
...
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.
File format change.
2020-03-13 15:46:35 +01:00
Kornel Benko
9c4642fbcc
Cmake tests: Amend f6f51587
2020-02-29 20:37:04 +01:00
Richard Kimberly Heck
21b4ecca7f
Apparently, "requires" is a keyword in C++2a.
2020-02-28 00:28:18 -05:00
Juergen Spitzmueller
a450797b2a
Rest in peace, dvipost!
2020-01-13 08:59:26 +01:00
Jean-Marc Lasgouttes
09130d7a62
Update to boost 1.72
...
This requires to add a assertion_failed_msg handler. Take this
occasion to cleanup and uniformize the various boost.cpp files that we
have.
This adds 50k line of whatever to the source code.
2020-01-07 16:27:23 +01:00
Juergen Spitzmueller
89b5607e0a
Centralize code to markup deleted complex objects (with tikz) in output
...
This fixes #9293
2019-12-28 13:43:17 +01:00
Juergen Spitzmueller
dc4823e759
Add native changebars
...
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
a08cbf41cf
Provide way to add (optional) user initials
...
This makes it easier to hook the changes package into LyX's ct markup.
2019-12-24 14:31:08 +01:00
Kornel Benko
c9c86b4966
Cmake build: Remove warnings about deprecated policy CMP0069
...
Deprecated since cmake version 3.16
(Now explicitly enable/disable interprocedural optimization
if supported and not debugging)
2019-11-09 16:56:16 +01:00
Pavel Sanda
d6b108d8c3
Support C++98 again (gcc 4.8).
2019-11-06 15:54:27 +01:00
Juergen Spitzmueller
4c11ba11fd
Update tex2lyx tests
2019-08-14 17:07:47 +02:00
Juergen Spitzmueller
4b0069860c
InsetGraphics: use totalheight for height output
...
Graphics "height" is only the height above the baseline and thus not
what most people will expect. Also, using height can result in a
division by zero with rotation.
Use totalheight now since this means "height of the figure" (independent
of the baseline).
The custom options field can be used if height is really desired.
We handle this in conversion/reversion, respectively, so document
output will not change.
Hence, file format change.
Fixes : #9676
2019-08-14 16:55:43 +02:00
Juergen Spitzmueller
8abe7b25e8
Add support for the enotez package
...
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.
As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Juergen Spitzmueller
6afdde5a5b
update tex2lyx tests
2019-08-12 14:52:35 +02:00
Juergen Spitzmueller
229052b29a
Extend endnotes support
...
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT
File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
b4f4f87dab
update tex2lyx tests
2019-08-07 16:50:54 +02:00
Juergen Spitzmueller
0b7305024a
Use generic paper size names rather than LaTeXisms such as "letterpaper"
...
This allows to support classes that don't use the Xpaper wording.
Add support for KOMA font (keyval) syntax on top of that.
Also support class-specific font and paper sizes in tex2lyx.
File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
1386a3d8fd
Allow for multiple use of same key in qualified citation lists
...
File format change
Fixes : #11618 , #11632
2019-08-07 13:00:29 +02:00
Juergen Spitzmueller
cf614433d4
update tex2lyx tests
2019-08-06 18:26:10 +02:00
Juergen Spitzmueller
36399e88d3
tex2lyx: slight font handling simplification
...
We do not have to add the general packages to known sf and tt, just to
exclude them later by exception.
2019-07-19 07:50:52 +02:00
Juergen Spitzmueller
850c5a3d55
Support for CrimsonPro
2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
86b1331507
tex2lyx: update and improve noto import
2019-07-18 09:48:09 +02:00
Juergen Spitzmueller
777a2a9baa
Remove Plex Semibolds
...
These are not font shapes proper. The semibold is to be combined with
font shapes and thus needs to go to extra options.
2019-07-18 08:14:09 +02:00
Kornel Benko
7515648774
AmendI2) e9c0d48d
. Remove unneded entries,
...
Thanks Jürgen
2019-07-17 18:27:06 +02:00
Kornel Benko
504664a261
Update tex2lyx tests
2019-07-17 18:13:32 +02:00
Kornel Benko
e9c0d48d58
Add sans serif font series "Chivo"
2019-07-17 18:02:22 +02:00
Juergen Spitzmueller
0c25dbf522
tex2lyx: minor post-cleanup
2019-07-16 10:58:27 +02:00
Juergen Spitzmueller
7e2a424621
tex2lyx: cleanup font handling
2019-07-16 10:32:24 +02:00
Juergen Spitzmueller
f1d946bf32
tex2lyx: support for Fira fonts
2019-07-15 14:03:08 +02:00
Juergen Spitzmueller
0d86faee2d
Update tex2lyx tests
2019-07-15 08:23:42 +02:00
Juergen Spitzmueller
b50336c0b0
tex2lyx: support cantarell font
2019-07-15 08:10:47 +02:00
Juergen Spitzmueller
2e72ed3e2c
tex2lyx: support all MoreOpts
2019-07-14 15:29:18 +02:00
Juergen Spitzmueller
3c7ede3e9b
update tex2lyx tests
2019-07-14 11:45:11 +02:00
Juergen Spitzmueller
dcf06fdb22
Split osf options to families
...
Nowadays we support sf and tt fonts with osf options, so this needs to
be selectable separately.
File format change.
2019-07-14 11:41:36 +02:00
Juergen Spitzmueller
c4e90cec86
tex2lyx: lineno support
2019-07-14 09:41:17 +02:00
Juergen Spitzmueller
509551cae0
More osf (texfont) fixes
2019-07-14 09:09:46 +02:00
Juergen Spitzmueller
27e0279e24
tex2lyx: extend support for some osf fonts.
2019-07-13 17:46:43 +02:00
Juergen Spitzmueller
db638018d9
tex2lyx support for MoreOptions in IBM Plex and Noto, support Adobe Source fonts at all
2019-07-13 15:44:52 +02:00
Juergen Spitzmueller
41a705b055
update tex2lyx tests
2019-07-11 20:34:47 +02:00
Juergen Spitzmueller
c3c2815092
Implement support for font options
...
This revives a patch by Uwe and extends it. Additional options to font
packages/fontspec can now be entered in Document Settings.
This is principally also true for TeX fonts, if the new TeXFont tag
MoreOptions is set. For the time being, I have only done this for
MinionPro, as a model and prove of concept.
Note that adding more TeXFonts requires a file format change,
respectively, and changes to tex2lyx (in the same way as I've done for
MinionPro).
This addresses #8226
2019-07-11 20:28:34 +02:00
Juergen Spitzmueller
9ca2f90bf5
Update tex2lyx tests
2019-07-11 13:24:56 +02:00
Juergen Spitzmueller
cb5bd87e9c
Add support for \babelfont
...
This is a higher-level (non-TeX) font interface of babel that draws on,
but is supposed to be used rather than, fontspec with babel and XeTeX/
LuaTeX.
File format change.
Addresses: #11614
2019-07-11 13:21:32 +02:00
Juergen Spitzmueller
6c7c6e580f
tex2lyx: add general TODO item
2019-06-30 16:14:24 +02:00
Juergen Spitzmueller
bda3b6d07e
[2.3 cand.] Fix import of custom float definitions
...
Candidate for stable
2019-06-30 11:13:20 +02:00
Juergen Spitzmueller
63492d4efa
Cleanup TODO
2019-06-30 10:58:49 +02:00
Juergen Spitzmueller
5cef539e8b
update tex2lyx tests
2019-06-23 13:05:38 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Jean-Marc Lasgouttes
5173f22024
Fix some warnings found by the -Wall options of autoconf and automake.
...
There are still warnings to address. For now, they not enabled by default.
2019-06-12 18:00:18 +02:00