]> git.lyx.org Git - lyx.git/log
lyx.git
17 months agoInsetMathHull: replace 0 by nullptr.
Thibaut Cuvelier [Sun, 22 Jan 2023 00:25:03 +0000 (01:25 +0100)]
InsetMathHull: replace 0 by nullptr.

17 months agoCmake tests for xhtml: Check only for errors
Kornel Benko [Fri, 20 Jan 2023 15:51:38 +0000 (16:51 +0100)]
Cmake tests for xhtml: Check only for errors

For now, do not handle warnings in output from call to simplehtml_validity.py.

17 months ago Management of note in section 2.1.14
jpc [Fri, 20 Jan 2023 09:58:15 +0000 (10:58 +0100)]
      Management of note in section 2.1.14

17 months ago Translation of new index features (last step)
jpc [Fri, 20 Jan 2023 09:07:45 +0000 (10:07 +0100)]
     Translation of new index features (last step)

17 months agoMathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs
Thibaut Cuvelier [Fri, 20 Jan 2023 01:21:27 +0000 (02:21 +0100)]
MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs

Also, replace lspace='thinmathspace' by constructs that are not deprecated.

Contributed by lynx: https://www.lyx.org/trac/ticket/12629

17 months agoMathML in HTML: in case of conversion failure, add a comment
Thibaut Cuvelier [Fri, 20 Jan 2023 01:45:20 +0000 (02:45 +0100)]
MathML in HTML: in case of conversion failure, add a comment

17 months agoMathML: improve formatting of formula in XHTML hull
Thibaut Cuvelier [Fri, 20 Jan 2023 01:42:07 +0000 (02:42 +0100)]
MathML: improve formatting of formula in XHTML hull

Contributed by lynx: https://www.lyx.org/trac/ticket/12629

17 months agoMathML: remove extraneous <mrow> in fractions
Thibaut Cuvelier [Fri, 20 Jan 2023 01:30:35 +0000 (02:30 +0100)]
MathML: remove extraneous <mrow> in fractions

Contributed by lynx: https://www.lyx.org/trac/ticket/12629

17 months agoMathML: replace HTML entities with XML ones in more places
Thibaut Cuvelier [Fri, 20 Jan 2023 01:25:08 +0000 (02:25 +0100)]
MathML: replace HTML entities with XML ones in more places

This part should have been committed with bc73a857 in the first place.

17 months agoMathML: remove useless code
Thibaut Cuvelier [Fri, 20 Jan 2023 01:19:33 +0000 (02:19 +0100)]
MathML: remove useless code

Contributed by lynx: https://www.lyx.org/trac/ticket/12629

17 months agoUpdate sk.po
Kornel Benko [Wed, 18 Jan 2023 10:06:42 +0000 (11:06 +0100)]
Update sk.po

17 months agoUserGuide: Clarify autosave filename
Pavel Sanda [Mon, 16 Jan 2023 21:09:51 +0000 (22:09 +0100)]
UserGuide: Clarify autosave filename

17 months agode/Additional: revisions, #2.
Juergen Spitzmueller [Mon, 16 Jan 2023 16:13:48 +0000 (17:13 +0100)]
de/Additional: revisions, #2.

17 months agoAdditional.lyx: further fixes #6
Juergen Spitzmueller [Mon, 16 Jan 2023 16:03:10 +0000 (17:03 +0100)]
Additional.lyx: further fixes #6

More to come!

17 months agoUpdate example file references in module descriptions
Juergen Spitzmueller [Mon, 16 Jan 2023 16:02:17 +0000 (17:02 +0100)]
Update example file references in module descriptions

17 months agode.po
Juergen Spitzmueller [Mon, 16 Jan 2023 16:01:18 +0000 (17:01 +0100)]
de.po

17 months agode.po: fix typo
Juergen Spitzmueller [Mon, 16 Jan 2023 11:25:36 +0000 (12:25 +0100)]
de.po: fix typo

17 months ago Update fr.po
jpc [Mon, 16 Jan 2023 10:47:03 +0000 (11:47 +0100)]
     Update fr.po

17 months ago Translation of new index features (step 4)
jpc [Mon, 16 Jan 2023 10:36:10 +0000 (11:36 +0100)]
    Translation of new index features (step 4)

17 months agoFix module description
Juergen Spitzmueller [Mon, 16 Jan 2023 07:43:18 +0000 (08:43 +0100)]
Fix module description

double quotes do not work in l7n.

17 months agode.po
Juergen Spitzmueller [Mon, 16 Jan 2023 07:41:58 +0000 (08:41 +0100)]
de.po

17 months agode/Additional: first part of revisions.
Juergen Spitzmueller [Sat, 14 Jan 2023 10:29:06 +0000 (11:29 +0100)]
de/Additional: first part of revisions.

17 months agoAdditional.lyx: further fixes #5
Juergen Spitzmueller [Sat, 14 Jan 2023 10:25:15 +0000 (11:25 +0100)]
Additional.lyx: further fixes #5

More to come!

17 months agoIntroduce pkglist format
Juergen Spitzmueller [Sat, 14 Jan 2023 09:45:57 +0000 (10:45 +0100)]
Introduce pkglist format

This allows us to check and reconfigure if the pkglist format is not
current

17 months agoFix build script for devel
Richard Kimberly Heck [Fri, 13 Jan 2023 00:22:08 +0000 (19:22 -0500)]
Fix build script for devel

17 months agoUpdate sk.po
Kornel Benko [Wed, 11 Jan 2023 06:20:11 +0000 (07:20 +0100)]
Update sk.po

17 months agoCmake tests: Amend a7112690: enable use of html5validator
Kornel Benko [Wed, 11 Jan 2023 05:49:28 +0000 (06:49 +0100)]
Cmake tests: Amend a7112690: enable use of html5validator

Also add the Summary-output unconditionaly (e.g. also in case of no error)

17 months agoCmake tests: Nothing to output in case of no error in simplehtml_validity.py
Kornel Benko [Wed, 11 Jan 2023 05:45:38 +0000 (06:45 +0100)]
Cmake tests: Nothing to output in case of no error in simplehtml_validity.py

17 months agoLyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generatin...
Thibaut Cuvelier [Wed, 11 Jan 2023 00:12:22 +0000 (01:12 +0100)]
LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generating XML-compatible HTML, i.e. XHTML5).

17 months agoInsetTabular LyXHTML: fix wrong escape.
Thibaut Cuvelier [Tue, 10 Jan 2023 23:26:28 +0000 (00:26 +0100)]
InsetTabular LyXHTML: fix wrong escape.

17 months agoKOMA Book: fix HTML validation issues.
Thibaut Cuvelier [Tue, 10 Jan 2023 23:21:23 +0000 (00:21 +0100)]
KOMA Book: fix HTML validation issues.

Some elements had a <h1> title, while only one such title is expected per page.

17 months agoCorrect the description of Lexer::getLongString 2.4-beta2
Jean-Marc Lasgouttes [Tue, 10 Jan 2023 15:25:48 +0000 (16:25 +0100)]
Correct the description of Lexer::getLongString

The fact that it does not work with tabs has been fixed long ago.

17 months agoExport tests: use a better function name.
Thibaut Cuvelier [Mon, 9 Jan 2023 03:19:51 +0000 (04:19 +0100)]
Export tests: use a better function name.

17 months agoSimplify simplehtml_validity.py
Thibaut Cuvelier [Mon, 9 Jan 2023 03:16:34 +0000 (04:16 +0100)]
Simplify simplehtml_validity.py

17 months agoFix warning
Jean-Marc Lasgouttes [Mon, 9 Jan 2023 15:06:38 +0000 (16:06 +0100)]
Fix warning

This was:
../../master/src/mathed/InsetMathBox.cpp:116:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<wchar_t> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  116 |  for (int i = 0; i < parts.size(); i += 2) {
      |                  ~~^~~~~~~~~~~~~~
../../master/src/mathed/InsetMathBox.cpp:120:20: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<wchar_t> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]

17 months agoAllow multiple selections in the file open dialog
Daniel Ramoeller [Tue, 20 Dec 2022 10:55:25 +0000 (11:55 +0100)]
Allow multiple selections in the file open dialog

Fix for bug #4315.

17 months agoAdditional.lyx: further fixes #4
Juergen Spitzmueller [Mon, 9 Jan 2023 10:07:26 +0000 (11:07 +0100)]
Additional.lyx: further fixes #4

More to come!

17 months agoAdditional.lyx: further fixes #3
Juergen Spitzmueller [Mon, 9 Jan 2023 06:49:46 +0000 (07:49 +0100)]
Additional.lyx: further fixes #3

More to come!

17 months agoFix grammar in, and try to clarify, warning
Juergen Spitzmueller [Mon, 9 Jan 2023 06:28:49 +0000 (07:28 +0100)]
Fix grammar in, and try to clarify, warning

I suppose many users won't know what a "python interpreter" is and how
they could install one.

17 months agode.po
Juergen Spitzmueller [Mon, 9 Jan 2023 06:27:19 +0000 (07:27 +0100)]
de.po

17 months agoLyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like...
Thibaut Cuvelier [Mon, 9 Jan 2023 00:50:05 +0000 (01:50 +0100)]
LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td).

Also implement alignment at character in CSS.

17 months agoLyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like...
Thibaut Cuvelier [Mon, 9 Jan 2023 00:50:05 +0000 (01:50 +0100)]
LyXHTML: avoid using v/align HTML attributes in tables, they are deprecated (like most attributes for td).

Also implement alignment at character in CSS.

17 months agoInsetMathBox: remove debugging code.
Thibaut Cuvelier [Mon, 9 Jan 2023 00:11:52 +0000 (01:11 +0100)]
InsetMathBox: remove debugging code.

17 months agoAmend 2d56c01dcfaf04744ab6d854af3965919cc07b82
Thibaut Cuvelier [Sun, 8 Jan 2023 21:51:01 +0000 (22:51 +0100)]
Amend 2d56c01dcfaf04744ab6d854af3965919cc07b82

17 months agoInsetIndex: make a condition more bullet-proof, a nullptr could be dereferenced.
Thibaut Cuvelier [Sun, 8 Jan 2023 21:19:39 +0000 (22:19 +0100)]
InsetIndex: make a condition more bullet-proof, a nullptr could be dereferenced.

Error noticed by Coverity:

*** CID 382777:  Memory - illegal accesses  (RETURN_LOCAL)
/home/lasgoutt/src/lyx/coverity/lyx/src/insets/InsetIndex.cpp: 1866 in _ZNK3lyx15InsetPrintIndex5xhtmlB5cxx11ERNS_9XMLStreamERKNS_12OutputParamsE()
1860
1861            // Collect the index entries in a form we can use them.
1862            vector<IndexEntry> entries;
1863            const docstring & indexType = params().getParamOr("type", from_ascii("idx"));
1864            for (const TocItem& item : *toc) {
1865                    const auto* inset = static_cast<const InsetIndex*>(&(item.dit().inset()));
>>>     CID 382777:  Memory - illegal accesses  (RETURN_LOCAL)
>>>     Using "indexType", which points to an out-of-scope temporary variable of type "lyx::docstring const".
1866                    if (item.isOutput() && inset->params().index == indexType)
1867                            entries.emplace_back(IndexEntry{inset, &op});
1868            }
1869
1870            // If all the index entries are in notes or not displayed, get out sooner.
1871            if (entries.empty())

17 months agoInsetIndex: remove unused code that created Coverity errors.
Thibaut Cuvelier [Sun, 8 Jan 2023 21:17:02 +0000 (22:17 +0100)]
InsetIndex: remove unused code that created Coverity errors.

17 months agoInsetIndex: add a missing destructor for IndexNode and call it from xhtml() to avoid...
Thibaut Cuvelier [Sun, 8 Jan 2023 21:03:26 +0000 (22:03 +0100)]
InsetIndex: add a missing destructor for IndexNode and call it from xhtml() to avoid leaking resources.

Corresponding Coverity finding:

** CID 382778:  Resource leaks  (RESOURCE_LEAK)
/home/lasgoutt/src/lyx/coverity/lyx/src/insets/InsetIndex.cpp: 1909 in _ZNK3lyx15InsetPrintIndex5xhtmlB5cxx11ERNS_9XMLStreamERKNS_12OutputParamsE()

________________________________________________________________________________________________________
*** CID 382778:  Resource leaks  (RESOURCE_LEAK)
/home/lasgoutt/src/lyx/coverity/lyx/src/insets/InsetIndex.cpp: 1909 in _ZNK3lyx15InsetPrintIndex5xhtmlB5cxx11ERNS_9XMLStreamERKNS_12OutputParamsE()
1903            }
1904
1905            xs << xml::EndTag("ul");
1906            xs << xml::CR();
1907            xs << xml::EndTag("div");
1908
>>>     CID 382778:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "index_root" going out of scope leaks the storage it points to.
1909            return ods.str();
1910     }
1911

17 months agoCmake export tests. Add validation of lyxhtml exported files
Kornel Benko [Sun, 8 Jan 2023 16:12:16 +0000 (17:12 +0100)]
Cmake export tests. Add validation of lyxhtml exported files

ATM, the validation is commented out.
To use it, one has first to install html5validator with
  $ pip3 install html5validator>=0.4.2
and uncomment the line 335 in export.cmake

17 months agoAdditional.lyx: further fixes #2
Juergen Spitzmueller [Sun, 8 Jan 2023 14:31:37 +0000 (15:31 +0100)]
Additional.lyx: further fixes #2

More to come!

17 months agoAdditional.lyx: further fixes
Juergen Spitzmueller [Sun, 8 Jan 2023 11:14:03 +0000 (12:14 +0100)]
Additional.lyx: further fixes

More to come!

17 months agoInsetMathBox: split the boxed text into <mtext> and other tags, while boxing the...
Thibaut Cuvelier [Sun, 8 Jan 2023 01:27:36 +0000 (02:27 +0100)]
InsetMathBox: split the boxed text into <mtext> and other tags, while boxing the whole inset within an <mrow>.

Rationales:
- previously, <mstyle> was used, but it's being deprecated for MathML 4 Core in favour of CSS and <mrow> (not a big deal in itself)
- the whole box cannot be hosted within the same tag, because neither <mstyle> nor <mrow> can have text, they need an intermediate container, <mtext> (which cannot hold anything else that pure text)
- new behaviour: always output a container for the whole box that has the right attributes, i.e. an <mrow>; split the content of the cell to have text and other tags set apart (text in <mtext>, other tags left as they were)

Old behaviour, invalid MathML (2 to 4):
<mstyle XXX>text<mn>.</mn></mstyle>

New behaviour, valid MathML:
<mrow XXX><mtext>text</mtext><mn>.</mn></mrow>

17 months agoInsetMathBox: fix strange indentation (mix of spaces and tabs).
Thibaut Cuvelier [Sat, 7 Jan 2023 23:51:43 +0000 (00:51 +0100)]
InsetMathBox: fix strange indentation (mix of spaces and tabs).

17 months agoMathML test case: fix a typo.
Thibaut Cuvelier [Sat, 7 Jan 2023 23:50:18 +0000 (00:50 +0100)]
MathML test case: fix a typo.

It was bugging me when looking at XHTML output: I was wondering if LyX was doing anything weird about ligatures! Hopefully not.

17 months agoMathML: convert InsetMathBox as <m:mtext>.
Thibaut Cuvelier [Sat, 7 Jan 2023 23:50:06 +0000 (00:50 +0100)]
MathML: convert InsetMathBox as <m:mtext>.

The inset represents text (as opposed to maths in formulae). <m:mstyle> is used to give style to its children, it is not supposed to have any contents on its own.

17 months agoLyXHTML validation tests: explicitly exit the Python script if it fails
Thibaut Cuvelier [Sat, 7 Jan 2023 20:27:50 +0000 (21:27 +0100)]
LyXHTML validation tests: explicitly exit the Python script if it fails

17 months ago Update fr.po
jpc [Sat, 7 Jan 2023 16:59:59 +0000 (17:59 +0100)]
       Update fr.po

17 months agoLyXHTML: use a lower-case meta for generator, this is the most common convention.
Thibaut Cuvelier [Sat, 7 Jan 2023 15:24:57 +0000 (16:24 +0100)]
LyXHTML: use a lower-case meta for generator, this is the most common convention.

17 months agoLyXHTML: add a missing space in the content-type annotation.
Thibaut Cuvelier [Sat, 7 Jan 2023 15:23:56 +0000 (16:23 +0100)]
LyXHTML: add a missing space in the content-type annotation.

17 months agoupdatelayouts.py: skip .txt files
Scott Kostyshak [Sat, 7 Jan 2023 14:43:47 +0000 (09:43 -0500)]
updatelayouts.py: skip .txt files

17 months agoUpdate sk.po
Kornel Benko [Sat, 7 Jan 2023 12:38:01 +0000 (13:38 +0100)]
Update sk.po

17 months agoSome minor corrections to the Additional revisions
Juergen Spitzmueller [Sat, 7 Jan 2023 12:17:05 +0000 (13:17 +0100)]
Some minor corrections to the Additional revisions

More might follow.

17 months agoLyXHTML: add explicit HTMLTag for titles.
Thibaut Cuvelier [Sat, 7 Jan 2023 02:59:22 +0000 (03:59 +0100)]
LyXHTML: add explicit HTMLTag for titles.

This way, LyX can generate semantic <hX> tags instead of a generic <div>.

17 months agoLyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it.
Thibaut Cuvelier [Sat, 7 Jan 2023 02:42:11 +0000 (03:42 +0100)]
LyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it.

17 months agoLyXHTML: use a value of font-weight that makes sense instead of a nonexistent medium.
Thibaut Cuvelier [Sat, 7 Jan 2023 02:40:27 +0000 (03:40 +0100)]
LyXHTML: use a value of font-weight that makes sense instead of a nonexistent medium.

17 months agoLyXHTML: remove the double specification of charset.
Thibaut Cuvelier [Sat, 7 Jan 2023 02:34:58 +0000 (03:34 +0100)]
LyXHTML: remove the double specification of charset.

The choice of content-type is arbitrary.

17 months agoLyXHTML: fix the content-type attribute, it must be lower case (enforced for HTML5).
Thibaut Cuvelier [Sat, 7 Jan 2023 02:33:48 +0000 (03:33 +0100)]
LyXHTML: fix the content-type attribute, it must be lower case (enforced for HTML5).

17 months agoLyXHTML and DocBook: encode language codes as BCP47.
Thibaut Cuvelier [Sat, 7 Jan 2023 02:31:40 +0000 (03:31 +0100)]
LyXHTML and DocBook: encode language codes as BCP47.

17 months agoAmend 16a1aa99
Thibaut Cuvelier [Sat, 7 Jan 2023 02:05:55 +0000 (03:05 +0100)]
Amend 16a1aa99

With the current settings, a theorem with several paragraphs will have several wrapper tags (i.e. two `<db:figure>`, with one paragraph each, one next to the other when it's the same theorem), while there should be only one (one `<db:figure>` with two paragraphs).

It makes me wonder whether DocBookWrapperMergeWithPrevious should be the default value. I don't see a case where it would be set to `false` with a wrapper tag, but the test suite isn't developed enough to make the change with peace of mind (i.e. remove the parameter `DocBookWrapperMergeWithPrevious` and consider it is always `true` in the code).

For the record, the current code also works with two subsequent theorems with two paragraphs each (see new test case).

17 months agoMake formatting of DocBook changes more similar to surrounding code.
Thibaut Cuvelier [Sat, 7 Jan 2023 01:56:40 +0000 (02:56 +0100)]
Make formatting of DocBook changes more similar to surrounding code.

Spaces between if and condition.

17 months agoctests: uninvert a lyx2lyx test thanks to fix
Scott Kostyshak [Fri, 6 Jan 2023 18:51:34 +0000 (13:51 -0500)]
ctests: uninvert a lyx2lyx test thanks to fix

Thanks to the fix at d89a4848, the roundtrip now converges.

This reverts commit 83c72a3eceb1ce98242a848579952b7526739d15.

17 months agoRow breaking: keep unused tail for later (instead of assertion)
Jean-Marc Lasgouttes [Fri, 6 Jan 2023 15:02:29 +0000 (16:02 +0100)]
Row breaking: keep unused tail for later (instead of assertion)

Instead of asserting when there are unprocessed row elements (which,
as I understand it, should almost never happen), play safe and keep
them for later processing.

Related to bug #12617.

17 months agoFixup dcef1a9c: better handling of front-of-string splitting
Jean-Marc Lasgouttes [Fri, 6 Jan 2023 14:53:53 +0000 (15:53 +0100)]
Fixup dcef1a9c: better handling of front-of-string splitting

When splitting a string leads to a break before the first character, the
best is to declare that splitting failed.

Fixes bug #12617.

17 months agoAdd missing revert routine to lyx_2_0.py
Juergen Spitzmueller [Fri, 6 Jan 2023 13:40:25 +0000 (14:40 +0100)]
Add missing revert routine to lyx_2_0.py

17 months agoTypo in a comment
Scott Kostyshak [Fri, 6 Jan 2023 04:33:16 +0000 (23:33 -0500)]
Typo in a comment

17 months ago#12523 check for existence of usable Python interpreter
Stephan Witt [Thu, 5 Jan 2023 23:32:09 +0000 (00:32 +0100)]
#12523 check for existence of usable Python interpreter

- present appropriate alert message in case of missing Python
- add the option to quit LyX immediately
- recheck for Python interpreter on reconfigure if it was missing

17 months agoctests: invert a bug from old routine
Scott Kostyshak [Thu, 5 Jan 2023 17:55:32 +0000 (12:55 -0500)]
ctests: invert a bug from old routine

A test from a recent file, KOMA-Script_Book.lyx, uncovered this
issue. It is an old routine so not critical to fix.

The following is the diff that prevents convergence:

   \begin_inset Newpage cleardoublepage
   \end_inset

   \end_layout

   \begin_layout Standard

If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out, then
the test passes.

17 months agoFix "origin" in KOMA-Script_Book.lyx
Kornel Benko [Thu, 5 Jan 2023 15:24:00 +0000 (16:24 +0100)]
Fix "origin" in KOMA-Script_Book.lyx

17 months agoAdd information to Row::operator<<
Jean-Marc Lasgouttes [Thu, 5 Jan 2023 10:55:32 +0000 (11:55 +0100)]
Add information to Row::operator<<

17 months agoFix minor bug mentioned in #10827
Richard Kimberly Heck [Thu, 5 Jan 2023 04:23:30 +0000 (23:23 -0500)]
Fix minor bug mentioned in #10827

17 months agoFix compilation problem
Richard Kimberly Heck [Thu, 5 Jan 2023 04:04:02 +0000 (23:04 -0500)]
Fix compilation problem

17 months agoAdditional.lyx: address scrbook error re old font
Scott Kostyshak [Thu, 5 Jan 2023 03:30:37 +0000 (22:30 -0500)]
Additional.lyx: address scrbook error re old font

Replace \bf with \bfseries.

The error was as follows:

  ! Class scrbook Error: undefined old font command `\bf'.

This change is consistent with 3cecd4d3.

After this change (and the previous commits), the ctests for
Additional.lyx pass again.

17 months agoAdditional.lyx: fix "origin" arg of rotate box
Scott Kostyshak [Thu, 5 Jan 2023 03:19:01 +0000 (22:19 -0500)]
Additional.lyx: fix "origin" arg of rotate box

The argument must specify "origin=...". Although that is confusing
(because the argument's name is "origin" so it might be expected
that this is done automatically), this is consistent with the use of
rotate box in our Embedded Objects manual.

17 months agoAdditional.lyx: resave with LyX binary
Scott Kostyshak [Thu, 5 Jan 2023 02:51:56 +0000 (21:51 -0500)]
Additional.lyx: resave with LyX binary

After editing with the external sed command in the previous commit,
now resave with the LyX binary. This eliminates unnecessary language
switches (e.g., no need to switch from "English" to "English" now
that the intermediate switch to "British" is gone).

17 months agoAdditional.lyx: rm English variant switches
Scott Kostyshak [Thu, 5 Jan 2023 02:50:39 +0000 (21:50 -0500)]
Additional.lyx: rm English variant switches

Use the following command to automate the process:

  sed -i "/^\\\lang \(american\|british\)$/d" Additional.lyx

The next commit will just resave the file with LyX, so as to clean
up the file contents after the external command from this commit.

17 months agoAdd note about deprecated layouts.
Pavel Sanda [Wed, 4 Jan 2023 21:13:38 +0000 (22:13 +0100)]
Add note about deprecated layouts.

17 months ago* Additional.lyx : Final remarks from John Hudson
Pavel Sanda [Wed, 4 Jan 2023 20:59:39 +0000 (21:59 +0100)]
* Additional.lyx : Final remarks from John Hudson

17 months agoUpdate entries for Foils, Slides and Reports in Chapter 3 Document classes and do...
John R Hudson [Tue, 3 Jan 2023 11:04:16 +0000 (11:04 +0000)]
Update entries for Foils, Slides and Reports in Chapter 3 Document classes and do final tidying up of Additional.lyx

17 months agoIgnore python cache
Richard Kimberly Heck [Tue, 3 Jan 2023 17:49:28 +0000 (12:49 -0500)]
Ignore python cache

17 months agoInsert entries for Tufte, frletter, G-Brief and lettre into Chapter 3 Document classe...
John R Hudson [Mon, 2 Jan 2023 09:42:38 +0000 (09:42 +0000)]
Insert entries for Tufte, frletter, G-Brief and lettre into Chapter 3 Document classes of Additional.lyx

17 months agoForgotten files
Pavel Sanda [Sun, 1 Jan 2023 21:36:04 +0000 (22:36 +0100)]
Forgotten files

17 months agoAdd KOMA-Script_Book.lyx and associated BibTeX file and CC logo to examples/Books...
John R Hudson [Sun, 1 Jan 2023 16:31:50 +0000 (16:31 +0000)]
Add KOMA-Script_Book.lyx and associated BibTeX file and CC logo to examples/Books and update Makefile.am

17 months agoRevert "New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the...
Thibaut Cuvelier [Sat, 31 Dec 2022 10:28:56 +0000 (11:28 +0100)]
Revert "New Theorems Module. Contributed by  Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master."

This reverts commit 42c2a25fb873727d87ce753b3a3ac4e913e36fe0.

17 months agoNew Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
Thibaut Cuvelier [Sat, 31 Dec 2022 00:47:37 +0000 (01:47 +0100)]
New Theorems Module. Contributed by  Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master.

I've modified all the non-AMS theorem modules so they would be independent of packages. currently
the code support \theoremstyle, but only with definition, plain and remark.

I'v added a new theorem module that support the thmtools \listoftheorems.

I've modified the syntax of all theorem modules, such that it would be easier to
create a new one, or maintaining the ones that exists. Instead of using \newtheorem
in the preamble of a lyaout, I wrote \lyx@newtheorem, and in each module I've defiened
\lyx@newtheorem as fitted. This way, there is only need in the files thorems-base, and theorems-extended,
instead of an .inc file for each module.

I've added theorems-labels.inc, a file that suppose to be included in a "Numbered by type" module,
to change the Label and the LabelCounter of the layouts in theorems-base.inc.

Note that in this configuration, all non-AMS modules will clash with the AMS ones, and so as the
proof versions. theorems-proof-std.inc suppose to be in the non-AMS while theorems-proof.inc
should be included only in AMS variants.

17 months agoCare for Qt5 LTS support for macos
Stephan Witt [Fri, 30 Dec 2022 22:37:43 +0000 (23:37 +0100)]
Care for Qt5 LTS support for macos

17 months agoInsert more detail about page layout, Custom Class options KOMA-Script options and...
John R Hudson [Fri, 30 Dec 2022 20:01:21 +0000 (20:01 +0000)]
Insert more detail about page layout, Custom Class options KOMA-Script options and using the book document class in the KOMA-Script section of Chapter 3 Document classes of Additional.lyx and delete the section on KOMA-letter V.1.

17 months agoCare for weird Qt6 package install location of developer tools (moc, uic etc).
Stephan Witt [Fri, 30 Dec 2022 11:08:43 +0000 (12:08 +0100)]
Care for weird Qt6 package install location of developer tools (moc, uic etc).

17 months agoMake code sign operation the final step of package build.
Stephan Witt [Fri, 30 Dec 2022 11:07:20 +0000 (12:07 +0100)]
Make code sign operation the final step of package build.

17 months agoInsert brief introduction to Chapter 3 Document classes, update the introduction...
John R Hudson [Thu, 29 Dec 2022 20:29:36 +0000 (20:29 +0000)]
Insert brief introduction to Chapter 3 Document classes, update the introduction to the AMS document classes section, adding in references to the example files, update the module names used and the Fact, Assumption and Question paragraph styles and mention the (Numbered by Type) modules in the AMS document classes section.

17 months agoFix compiler warning -Wstring-plus-int
Scott Kostyshak [Thu, 29 Dec 2022 21:25:42 +0000 (16:25 -0500)]
Fix compiler warning -Wstring-plus-int

Similar to d44eaa97.

17 months agoInsert entries for Hanging Paragraphs, Initials, Hyphenatable Text Markup and Logical...
John R Hudson [Thu, 29 Dec 2022 11:11:47 +0000 (11:11 +0000)]
Insert entries for Hanging Paragraphs, Initials, Hyphenatable Text Markup and Logical Markup in Chapter 4 Modules of Additional.lyx