Commit Graph

10461 Commits

Author SHA1 Message Date
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 " 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
John R Hudson
19ceef7f86 Move Non-standard Paragraph Shapes into new Chapter 4 Modules of Additional.lyx and rename Custom Paragraph Shapes 2022-12-17 12:39:46 +01:00
John R Hudson
357c7ab023 Create new Chapter 4 Modules and move Multiple text columns section into it 2022-12-16 22:50:39 +01:00
John R Hudson
c162c2e564 Move existing chapters 4, 5, 6 and 7 of Additional.lyx, all on RevTeX, into the RevTeX section in Chapter 3 Document classes 2022-12-15 19:50:44 +01:00
John R Hudson
aeadb79273 Delete old entries on Dinbrief, Elsevier, Paper and Springer in Special Document Classes in Additional.lyx 2022-12-15 11:01:04 +01:00
John R Hudson
bc51bab546 Insert short updated entries for Dinbrief, Elsevier, Paper and Springer in Chapter 3 Document classes of Additional.lyx 2022-12-14 20:46:09 +01:00
John R Hudson
0d50b62f73 Move Slides (SliTeX) section in Additional.lyx to Chapter 3 Document classes 2022-12-14 10:36:23 +01:00
John R Hudson
9f17026e93 Move RevTeX section in Additional.lyx into Chapter 3 Document classes 2022-12-13 20:19:01 +01:00
John R Hudson
e33e2fe312 Move Article (mwart) section in Additional.lyx to Chapter 3 Document classes and change the heading to Polish M.W. collection 2022-12-13 11:28:42 +01:00
John R Hudson
8792e6418e Move Foils (FoilTeX) section in Additional.lyx to Chapter 3 Document classes 2022-12-12 23:45:19 +01:00
John R Hudson
6e401da6ac Move AasteX section in Additional.lyx into Chapter 3 Document classes 2022-12-12 19:22:05 +01:00
John R Hudson
dc81a3f95d Insert updated section on A&A paper into Chapter 3 Document classes 2022-12-11 23:30:05 +01:00
Scott Kostyshak
a15303b938 Update format of docs using LyX binary
Especially after the change to use semantic linefeeds (7b23c76b),
the diffs are large and it's hard to figure out what diff is the
result of the linefeed change and which diff is the result of an
edit.

By updating the docs, it will make the edits easier to understand
from the diff.

This commit used the LyX binary to write the new .lyx files since
lyx2lyx does not apply semantic linefeeds.

I used the following command:

  ./development/tools/updatedocs.py [path to 'lyx' binary]

A few documents were not updated (e.g., the command sequence used
failed because a dialog about a missing dependency was shown).

I did not update Additional.lyx for any language since it is
undergoing changes. I also didn't change anything in doc/fr since JP
is working on some of those. I also didn't change doc/ru since it
appears Yuriy already updated those.
2022-12-11 11:16:28 -05:00
Juergen Spitzmueller
a066b81380 Fix comment 2022-12-11 15:12:06 +01:00
Juergen Spitzmueller
163844a6d0 Allow defaultfamily change with non_TeX fonts (#12608) 2022-12-11 14:47:13 +01:00
John R Hudson
b278d5ac73 Move Hollywood section into new Chapter 3 Document classes 2022-12-11 12:04:05 +01:00
Yuriy Skalko
6741a8fbf8 Update ru docs 2022-12-10 22:20:40 +01:00
Yuriy Skalko
610765050a Update format for doc/ru files 2022-12-10 22:14:17 +01:00
Juergen Spitzmueller
af7f4b90ef Update IEEE Transactions Conference template
The crucial change here is bib file encoding, which is latin9.
2022-12-10 12:59:50 +01:00
Enrico Forestieri
ae961f004b Partial fix for #12605
The equation number is now correctly generated when using
\ref in \tag, but if equations are numbered within sections,
the \tag'ed equations in the first sections are numbered wrongly.

However, I think this is a preview.sty bug not a lyx one.
2022-12-10 11:31:51 +01:00
John R Hudson
c3881f6e9e Move Braodway section into new Chapter 3 Document classes 2022-12-09 22:23:41 +01:00
John R Hudson
a34411d542 Move Memoir section into new Chapter 3 Document classes 2022-12-09 19:17:30 +01:00
Juergen Spitzmueller
c90e656d9d Fix cut and paste error 2022-12-09 09:12:23 +01:00
Thibaut Cuvelier
3925809170 XHTML: disable item tags within <pre>.
Fixes a remaining bug from https://www.lyx.org/trac/ticket/10553.
2022-12-09 02:49:50 +01:00
Richard Kimberly Heck
4e7f6949bf One more unused variable 2022-12-08 15:19:16 -05:00