Juergen Spitzmueller
0b54650f0e
tex2lyx: improve module support
...
The current heuristics only considered modules with styles that defined
a searched command in their preamble, and only for commands/environments
that were defined in the document's preamble. This limited the module
support drastically.
The new heuristics also checks for commands coming from packages. If the
command is not (re-)defined in the document preamble, it checks modules
that provide a style with a matching LaTeXName, checks for their
requirements and matches those with the packages loaded by the document.
If no module provides a searched style, but we found modules that load
packages that are loaded in the imported tex file, and if those packages
are not auto-loaded by LyX anyway, we also load this module.
fixes : #11259 , part of #8229
2019-04-04 16:01:07 +02:00
..
2018-09-21 21:46:47 +02:00
2018-09-21 21:46:47 +02:00
2019-04-04 08:23:27 +02:00
2018-12-29 19:14:41 +00:00
2019-04-04 08:24:25 +02:00
2019-04-02 14:32:32 +02:00
2019-03-25 16:46:03 +01:00
2018-01-08 12:58:28 +01:00
2019-04-04 16:01:07 +02:00
2017-07-30 09:30:58 +02:00
2017-07-30 00:54:12 +02:00
2017-07-03 13:53:14 -04:00
2016-05-29 17:55:42 -04:00
2018-01-27 14:29:41 +01:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2018-08-14 17:05:40 +02:00
2019-04-03 17:58:20 +02:00
2019-03-29 15:45:55 +01:00
2018-04-28 13:31:29 +02:00
2019-02-25 15:19:58 +01:00
2019-02-25 15:19:58 +01:00
2019-04-03 15:32:44 +02:00
2019-03-29 15:45:55 +01:00
2019-03-26 10:13:33 +01:00
2019-03-26 10:13:33 +01:00
2018-12-06 10:30:58 +01:00
2017-01-14 23:13:14 +01:00
2018-02-18 09:19:03 +01:00
2016-05-29 17:55:45 -04:00
2017-01-21 14:25:17 +01:00
2017-07-23 13:11:54 +02:00
2018-02-23 23:17:57 -05:00
2017-10-03 22:12:23 +02:00
2018-02-23 23:38:31 -05:00
2017-07-03 13:46:30 -04:00
2017-10-16 10:12:21 +02:00
2017-10-16 10:12:21 +02:00
2017-07-03 13:46:30 -04:00
2017-10-16 15:48:47 -04:00
2017-07-03 13:46:30 -04:00
2018-05-05 15:26:58 +02:00
2018-04-16 14:02:20 -04:00
2017-07-23 13:11:54 +02:00
2015-11-20 22:43:45 +01:00
2015-10-19 13:17:16 +02:00
2018-09-18 23:07:48 +02:00
2018-09-18 23:07:48 +02:00
2019-03-28 13:22:38 +01:00
2018-12-16 12:30:48 +01:00
2017-07-05 14:46:34 +02:00
2017-07-03 13:46:30 -04:00
2019-01-25 14:40:30 +01:00
2018-07-22 23:20:21 +02:00
2017-03-13 17:06:42 +01:00
2017-03-20 15:38:08 +01:00
2015-10-10 21:38:17 +02:00
2018-12-17 15:33:47 +01:00
2017-07-03 13:46:30 -04:00
2019-03-13 11:13:44 +01:00
2019-01-04 13:55:57 +01:00
2017-07-23 13:11:54 +02:00
2018-01-30 12:11:22 +01:00
2019-03-24 17:28:01 +01:00
2019-03-19 22:46:33 +01:00
2017-03-01 16:34:01 +01:00
2016-10-22 23:24:01 +02:00
2018-02-24 00:30:24 -05:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2015-05-22 18:59:17 +02:00
2015-05-22 18:59:17 +02:00
2019-03-22 16:19:05 +01:00
2018-12-26 15:46:14 +01:00
2019-03-22 16:19:05 +01:00
2019-03-22 16:19:05 +01:00
2019-03-22 16:19:05 +01:00
2017-07-03 13:53:14 -04:00
2016-05-30 14:55:41 +02:00
2018-12-14 11:41:16 +01:00
2017-03-13 23:40:29 -04:00
2019-03-26 13:43:33 +01:00
2018-04-20 23:37:58 -04:00
2018-04-21 23:05:21 -04:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2018-03-29 18:43:11 +02:00
2018-02-23 23:47:05 -05:00
2017-07-03 13:46:30 -04:00
2018-05-28 12:33:17 +02:00
2018-05-28 12:33:17 +02:00
2019-03-09 12:00:40 +01:00
2019-03-09 12:00:40 +01:00
2019-03-09 12:00:40 +01:00
2019-03-09 12:00:40 +01:00
2018-08-05 10:01:36 +02:00
2018-08-05 10:01:36 +02:00
2018-04-14 14:33:21 +02:00
2017-12-21 18:55:39 -05:00
2019-03-27 09:52:44 +01:00
2018-07-15 20:56:55 +02:00
2018-04-22 19:06:46 +02:00
2018-04-23 18:35:11 +02:00
2019-03-12 14:08:05 +01:00
2019-03-12 14:08:05 +01:00
2016-10-21 10:39:55 +02:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2017-07-03 13:53:14 -04:00
2018-01-28 23:37:20 -05:00
2018-01-05 20:14:04 +01:00
2018-01-05 20:14:04 +01:00
2017-07-23 13:11:54 +02:00
2017-08-29 15:30:44 +02:00
2017-07-03 13:46:30 -04:00
2019-03-19 07:13:18 +01:00
2017-03-13 23:40:29 -04:00
2019-04-03 07:59:52 +02:00
2018-08-18 16:11:08 +02:00
2019-03-21 12:58:16 +01:00
2019-03-13 14:06:18 +01:00
2019-03-08 16:48:49 +01:00
2018-10-07 14:56:55 +02:00
2017-07-03 13:53:14 -04:00
2016-10-19 11:59:47 +02:00
2017-04-12 21:19:42 +02:00
2019-02-25 17:58:06 +01:00
2019-03-22 16:19:05 +01:00
2018-07-19 23:05:00 +02:00
2016-06-26 14:26:35 +02:00
2017-07-23 13:11:54 +02:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2019-04-03 15:32:44 +02:00
2018-05-01 14:21:05 +02:00
2018-07-15 14:26:29 +02:00
2017-10-16 21:28:44 -04:00
2017-04-05 00:01:19 +02:00
2017-07-23 13:11:54 +02:00
2019-03-14 14:24:43 +01:00
2019-03-14 14:24:43 +01:00
2015-12-05 19:33:24 +00:00
2019-03-19 22:46:33 +01:00
2018-07-15 14:26:29 +02:00
2017-11-11 13:24:08 +01:00
2017-11-11 13:24:08 +01:00
2017-07-03 13:46:30 -04:00
2018-04-08 19:02:01 +02:00
2015-09-13 19:47:21 +02:00
2017-07-03 13:53:14 -04:00
2019-01-16 11:04:53 +01:00
2019-02-18 15:47:27 +01:00
2019-04-03 11:17:14 +02:00
2018-09-20 11:58:08 +02:00
2018-08-07 17:56:07 +02:00
2017-06-11 19:51:17 +02:00
2016-07-04 10:30:19 +02:00
2016-06-09 15:21:39 +01:00
2017-12-02 10:46:46 +01:00
2017-08-03 13:07:41 +02:00
2016-07-31 18:34:33 +01:00
2017-12-23 13:27:10 +01:00
2017-12-23 13:27:10 +01:00
2017-07-03 13:46:30 -04:00
2016-10-22 23:24:01 +02:00
2016-10-23 00:25:05 +02:00
2019-03-21 14:18:17 +01:00
2018-12-06 10:30:58 +01:00
2019-02-18 15:36:21 +01:00
2019-04-02 09:56:42 +02:00
2019-04-03 11:17:14 +02:00
2019-04-03 11:17:14 +02:00
2019-03-26 17:42:56 +01:00
2019-03-26 17:42:56 +01:00
2019-04-03 12:13:13 +02:00
2019-03-12 16:03:22 +01:00
2017-07-23 13:11:54 +02:00
2015-09-20 19:43:06 +02:00
2016-06-09 15:21:39 +01:00
2017-07-03 13:53:14 -04:00
2017-01-14 23:13:14 +01:00
2017-01-09 23:15:16 +01:00
2017-01-09 23:15:16 +01:00
2018-02-24 00:28:37 -05:00
2015-10-10 21:04:28 +02:00
2018-08-30 14:17:53 +02:00
2018-08-30 14:17:53 +02:00
2018-05-02 12:38:40 +02:00
2018-01-10 10:47:48 +01:00
2017-07-03 13:46:30 -04:00
2019-04-03 07:59:52 +02:00
2017-07-03 13:53:14 -04:00
2015-07-16 21:59:15 +02:00
2017-07-03 13:53:14 -04:00
2016-12-31 15:29:43 +01:00