Commit Graph

10485 Commits

Author SHA1 Message Date
Pavel Sanda
d1080b0352 * Additional.lyx : Final remarks from John Hudson 2023-01-04 21:59:39 +01:00
John R Hudson
b2c2a7aaa3 Update entries for Foils, Slides and Reports in Chapter 3 Document classes and do final tidying up of Additional.lyx 2023-01-03 19:18:33 +01:00
John R Hudson
ead6a5beb9 Insert entries for Tufte, frletter, G-Brief and lettre into Chapter 3 Document classes of Additional.lyx 2023-01-02 20:37:19 +01:00
Pavel Sanda
03b4502260 Forgotten files 2023-01-01 22:36:04 +01:00
John R Hudson
be362357ec Add KOMA-Script_Book.lyx and associated BibTeX file and CC logo to examples/Books and update Makefile.am 2023-01-01 22:29:14 +01:00
Thibaut Cuvelier
017588973f Revert "New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing list. Rebased on top of master."
This reverts commit 42c2a25fb8.
2022-12-31 11:28:56 +01:00
Thibaut Cuvelier
42c2a25fb8 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.
2022-12-31 01:56:51 +01:00
John R Hudson
dce99c1398 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. 2022-12-30 23:32:30 +01:00
John R Hudson
39d040b2a7 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. 2022-12-30 09:29:42 +01:00
John R Hudson
d63c9f8016 Insert entries for Hanging Paragraphs, Initials, Hyphenatable Text Markup and Logical Markup in Chapter 4 Modules of Additional.lyx 2022-12-29 15:12:50 +01:00
John R Hudson
2d9ff0d718 Insert entries for Custom Footer/Header Text and Landscape Document Mode and update the existing entry for Multiple Columns to match the new layout in Chapter 4 Modules of Additional.lyx 2022-12-28 16:34:14 +01:00
John R Hudson
9df0e943db Insert entries for the sixteen Maths modules into Chapter 4 Modules of Additional.lyx 2022-12-28 12:23:13 +01:00
John R Hudson
5752617b50 Insert entries for Noweb, Rnw and Sweave in Chapter 4 Modules of Additional.lyx and make consequential updates to the Literate Programming section in the same document 2022-12-27 21:11:58 +01:00
Thibaut Cuvelier
7f5c917c71 layout2layout: remove unused regex. 2022-12-27 15:52:42 +01:00
Thibaut Cuvelier
0af5fbcc0e DocBookGenerateTitle: update all layouts. 2022-12-27 15:52:26 +01:00
Thibaut Cuvelier
16a1aa9901 DocBook: add support for DocBookGenerateTitle.
The new parameter allows more flexibility when encoding some elements that have a poor mapping in DocBook, like theorems. The major use is to wrap the environment in a generic container, figure, which requires a title (but none is available).
2022-12-27 15:52:26 +01:00
John R Hudson
e950555788 Insert entries for Customizable lists and Paragraph lists into Chapter 4 Modules of Additional.lyx 2022-12-27 12:09:58 +01:00
Thibaut Cuvelier
55ccae72d4 layout2layout: improve coding style.
Useless parentheses (not helping with readability either) and semicolon. Redo indentation to be consistent throughout the file. Also, fix typos along the way.
2022-12-26 21:22:13 +01:00
John R Hudson
f1bb623fb2 Insert four entries for Floats & Captions modules, four entries for Foot- and Endnotes modules and two entries for Leisure, Sports and Music modules into Chapter 4 Modules of Additional.lyx. 2022-12-26 20:40:26 +01:00
Pavel Sanda
90dab5d1e9 Revert doc update for Additional.lyx so maitenance work can continue. 2022-12-26 17:46:55 +01:00
Juergen Spitzmueller
68146184a8 Minor doc updates 2022-12-26 13:43:11 +01:00
Juergen Spitzmueller
0c56f60535 Associate "run:" link types with "Other" 2022-12-26 13:19:52 +01:00
Thibaut Cuvelier
b9b0ac1b6c Cleanup documentation about old XML support. 2022-12-26 01:42:27 +01:00
Thibaut Cuvelier
7556fc42ff CommandDepth is no longer used, remove it from the documentation. 2022-12-26 01:41:07 +01:00
Thibaut Cuvelier
4c8cfae776 Cleanup documentation about old XML support. 2022-12-26 01:40:52 +01:00
Thibaut Cuvelier
c77872f314 Cleanup following the removal of HTML entities
The remaining part that was not handled in the previous commit. It focuses on lib/symbols.
2022-12-25 20:48:14 +01:00
Thibaut Cuvelier
bc73a85778 LyXHTML: switch the doctype to (X)HTML5 and only output XML entities.
This is a new take on c8e2c17a that was reverted at da67bde61a due to entities no more recognised by the browsers. Corresponding thread on the mailing list: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213179.html

This patch is a huge cleanup overall, by removing the distinction between HTML and XML entities (the latter arrived due to the DocBook support).

In InsetListingParams, I also changed the mechanism that relied on &quot; to use an XML entity to be consistent with the rest of the code, mostly in case someone looks for HTML entities and wonders why they are still there.
2022-12-25 20:48:14 +01:00
Richard Kimberly Heck
fadf8ca68f Update doc format 2022-12-25 12:48:19 -05:00
Richard Kimberly Heck
144cf4bb9a Allow an 'other' type for hyperlinks. Format change.
Also, perform the URL fixing magic for DocBook and XHTML.

As it was, it was impossible to enter e.g. "tel:" type links. Now
choosing the "Other" type just outputs the URL as given.

Also, the addition of "http" or "file" was not being done for
DocBook and XHTML. Now it is.
2022-12-25 12:45:48 -05:00
John R Hudson
962f2370b2 Insert entries for Section boxes, Variable-width minipages, Fix Computer Modern Fonts, LaTeX Kernel fixes, Minimalistic Insets and Title and Preamble Hacks into Chapter 4 Modules of Additional.lyx 2022-12-24 18:19:05 +01:00
John R Hudson
af5da98cae Insert entries for APA with NatBiB, Fancy Colored Boxes and Graphic Boxes to Chapter 4: Modules of Additional.lyx 2022-12-24 01:06:40 +01:00
John R Hudson
d7ed4b9bd0 Insert entries for Braille, FiXme, PDF Comments, PDF Forms, Ruby and TODO notes into Chapter 4 Modules of Additional.lyx 2022-12-23 17:19:51 +01:00
John R Hudson
5732b0482a Add entries for Hazard and Precautionary Statements, Risk and Safety Statements and Linguistics to Chapter 4 Modules of Additional.lyx 2022-12-22 22:56:45 +01:00
Thibaut Cuvelier
19b04c7bc8 Fix a typo in layouts. 2022-12-22 04:18:33 +01:00
Thibaut Cuvelier
c8c1c15631 Fix typos in comments 2022-12-22 02:54:28 +01:00
John R Hudson
1470a7b864 Update references to example files in Additional.lyx to match the 2.4 examples interface. 2022-12-21 18:46:39 +01:00
John R Hudson
56c9566feb Update all references to templates in Additional.lyx to match the 2.4 template interface. 2022-12-21 17:13:27 +01:00
Juergen Spitzmueller
ceffadfbab lyx2lyx: fix glitch in revert_starred_refs 2022-12-21 08:52:44 +01:00
John R Hudson
34d8a8e1d2 Insert entries for Letter, Beamer, Powerdot and Seminar in Chapter 3 Document classes of Additional.lyx 2022-12-19 22:12:31 +01:00
Juergen Spitzmueller
9966b4be4a Adapt inset info to new version check 2022-12-19 17:42:49 +01:00
Juergen Spitzmueller
2e6ea5f613 Extend flexible version check to packages 2022-12-19 17:42:27 +01:00
Juergen Spitzmueller
029adfa28c Improve LaTeX version checking
Instead of having to add and individually test the versions to check
for, we store the current version and test on that with a specific
function isAvailableAtLeastFrom(package, year, month, day)

Currently only used for the LaTeX version, but could also be extended
for package versions.
2022-12-19 15:15:41 +01:00
Juergen Spitzmueller
41146030b6 Simplify output code 2022-12-19 11:09:50 +01:00
John R Hudson
38e3538b77 Insert entries for Chess, Recipe book and the four CV classes into Chapter 3 Document classes of Additional.lyx 2022-12-19 10:58:38 +01:00
John R Hudson
8eb8a9d2fd Insert short entries for Extra Font Sizes, Hebrew and Japanese document classes in Chapter 3 Document Classes of Additional.lyx 2022-12-18 18:48:35 +01:00
Pavel Sanda
5e290e4bf9 Move Kluwer template to attic.
(We leave layout where it is to be compatible with old docs.)
2022-12-18 17:37:50 +01:00
Juergen Spitzmueller
3694553920 Re-shuffle lfuns in RELEASE-NOTES 2022-12-18 13:37:29 +01:00
Juergen Spitzmueller
9fc190d61c Improve functions for bibliography managers (#8193)
- new function to list bibtex databases
- citation-insert returns the list of undefined keys
  if the request comes from the LyX server

Original patch from Benjamin Piwowarski (2012!).
Modified and updated by Riki Heck and myself.
2022-12-18 13:25:24 +01:00
John R Hudson
399fd96fab Create Chapter 6 Bullets in Additional.lyx and move the bullet section into it; this completes the reordering of chapters in Additional.lyx to reflect entries in Document Settings 2022-12-18 10:58:19 +01:00
John R Hudson
e61e81757a Make the first three sections of the Supplementary tools in Additional.lyx on using BibTeX and BiblaTeX into a new Chapter 5 Bibliography 2022-12-17 22:46:11 +01:00