Commit Graph

10715 Commits

Author SHA1 Message Date
Pavel Sanda
617b6db305 * EmbeddedObjects.lyx from Koji 2023-01-26 00:55:35 +01:00
Pavel Sanda
7a18aeae84 * Customization.lyx from Koji 2023-01-26 00:54:32 +01:00
Pavel Sanda
082a80fbb3 * Additional.lyx from Koji 2023-01-26 00:53:11 +01:00
jpc
4a625a3d60 Management of note in section 2.1.14 2023-01-20 10:58:15 +01:00
jpc
0ca5678638 Translation of new index features (last step) 2023-01-20 10:08:59 +01:00
Pavel Sanda
7e57ddab48 UserGuide: Clarify autosave filename 2023-01-16 22:09:51 +01:00
Juergen Spitzmueller
6abef2737d de/Additional: revisions, #2. 2023-01-16 17:13:48 +01:00
Juergen Spitzmueller
79c45bcede Additional.lyx: further fixes #6
More to come!
2023-01-16 17:03:10 +01:00
Juergen Spitzmueller
d13de0a5c1 Update example file references in module descriptions 2023-01-16 17:02:17 +01:00
jpc
dc590ff509 Translation of new index features (step 4) 2023-01-16 11:36:49 +01:00
Juergen Spitzmueller
93649e8be9 Fix module description
double quotes do not work in l7n.
2023-01-16 08:43:18 +01:00
Juergen Spitzmueller
9e45f570a7 de/Additional: first part of revisions. 2023-01-14 11:29:06 +01:00
Juergen Spitzmueller
114c520376 Additional.lyx: further fixes #5
More to come!
2023-01-14 11:25:15 +01:00
Juergen Spitzmueller
d213b72978 Introduce pkglist format
This allows us to check and reconfigure if the pkglist format is not
current
2023-01-14 10:45:57 +01:00
Thibaut Cuvelier
65a9a2ac11 KOMA Book: fix HTML validation issues.
Some elements had a <h1> title, while only one such title is expected per page.
2023-01-11 00:21:23 +01:00
Juergen Spitzmueller
3324793b8b Additional.lyx: further fixes #4
More to come!
2023-01-09 11:07:26 +01:00
Juergen Spitzmueller
fdfe679470 Additional.lyx: further fixes #3
More to come!
2023-01-09 07:49:46 +01:00
Juergen Spitzmueller
2d0941919f Additional.lyx: further fixes #2
More to come!
2023-01-08 15:31:37 +01:00
Juergen Spitzmueller
97112b8e80 Additional.lyx: further fixes
More to come!
2023-01-08 12:14:03 +01:00
Juergen Spitzmueller
6c98a0a6d2 Some minor corrections to the Additional revisions
More might follow.
2023-01-07 13:17:05 +01:00
Thibaut Cuvelier
051c5f2728 LyXHTML: add explicit HTMLTag for titles.
This way, LyX can generate semantic <hX> tags instead of a generic <div>.
2023-01-07 03:59:22 +01:00
Thibaut Cuvelier
4c1f9d1161 LyXHTML: use a value of font-weight that makes sense instead of a nonexistent medium. 2023-01-07 03:40:27 +01:00
Thibaut Cuvelier
96023697f5 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).
2023-01-07 03:06:44 +01:00
Juergen Spitzmueller
d89a48483e Add missing revert routine to lyx_2_0.py 2023-01-06 14:40:25 +01:00
Kornel Benko
0f7f61b29e Fix "origin" in KOMA-Script_Book.lyx 2023-01-05 16:24:00 +01:00
Scott Kostyshak
cb27aaa826 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.
2023-01-04 22:36:23 -05:00
Scott Kostyshak
6e45bf2da7 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.
2023-01-04 22:20:59 -05:00
Scott Kostyshak
0677c161a1 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).
2023-01-04 22:11:18 -05:00
Scott Kostyshak
3c8a5d4dad 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.
2023-01-04 22:10:05 -05:00
Pavel Sanda
3e97b90b40 Add note about deprecated layouts. 2023-01-04 22:13:38 +01:00
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
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
Richard Kimberly Heck
b0fa3efd57 Remove more unused variables.
These flags are only relevant to reference-types that we are not
reverting. That's why they were unused.
2022-12-08 15:19:16 -05:00
Richard Kimberly Heck
8e3f99ddc9 Remove some unused variables 2022-12-08 15:19:16 -05:00
John R Hudson
85a1e9a69f Move KOMA-script section into new Chapter 3: Document classes 2022-12-08 21:10:02 +01:00
Scott Kostyshak
f0a2114268 lyx2lyx: remove unused variable
Amend 7bbaead5.
2022-12-08 13:32:00 -05:00
Scott Kostyshak
06975721b6 fr Addtional: Use quote insets instead of UTF-8 2022-12-08 13:24:33 -05:00
Scott Kostyshak
cb732ef5db fr Additional: fix output with XeTeX
It was compiling with glyph warnings because of U+2009 characters
(which appear in LyX as just spaces so difficult to catch) inside
the << and >>.
2022-12-08 13:24:14 -05:00
Richard Kimberly Heck
7bbaead588 Amend last commit 2022-12-08 12:42:03 -05:00
jpc
b15cc19d72 Translation of index new features step 3 2022-12-08 17:54:27 +01:00
Richard Kimberly Heck
fa449e9769 Simplify conversion routine, and remove warning 2022-12-08 11:09:48 -05:00
John R Hudson
56f525cec3 Move AMS LaTeX section into new Chapter 3 Document classes 2022-12-08 16:20:38 +01:00
John R Hudson
4f190a584e New chapter 3 Document classes inserted to contain all the material relating to document classes which will be moved in in stages 2022-12-08 05:01:21 +01:00
John R Hudson
5c2d92b930 Kluwer no longer available; remove Kluwer section 2022-12-06 22:17:23 +01:00
Richard Kimberly Heck
345eba1049 Update layouts to format 98 2022-12-06 01:02:22 -05:00
Richard Kimberly Heck
c50f0b125d Add HTMLClass for InsetLayout as well. Layout format change. 2022-12-05 23:42:50 -05:00
Richard Kimberly Heck
8567e09dbf Fix infinite loop. Thinko! 2022-12-05 23:37:40 -05:00
Richard Kimberly Heck
bbfff0e60f Amend 4966da68 2022-12-05 14:48:48 -05:00
Richard Kimberly Heck
4966da6864 Add conversion routine for format 612.
I forgot that this is needed, because the new parameter is written to
the file no matter its value.

Also, fix two typos in the reversion routine.
2022-12-05 14:45:40 -05:00
Richard Kimberly Heck
409d889822 Missed this one: InsetLayout does not do HTMLClass (at least not yet). 2022-12-05 01:07:25 -05:00
Richard Kimberly Heck
70deab72bc Release notes 2022-12-04 18:39:42 -05:00
Richard Kimberly Heck
d4f2460ac4 Fix bug #11410.
Main part of patch from Daniel, adapted by me.
I also added the lyx2lyx code.
2022-12-04 18:33:58 -05:00
Richard Kimberly Heck
053e858e2c InsetLayout does not understand HTMLClass 2022-12-04 16:39:44 -05:00
Richard Kimberly Heck
ea26cb2220 Update release notes 2022-12-04 15:22:57 -05:00
Jean-Marc Lasgouttes
ff1ddf6251 Fixup 71623b88: change semantics of "delete" LFUNs again
Instead of specifying "force" to disable the deletion protection
mechanism, invert the default so that "confirm" is needed to activate
it. The idea is to keep the lfun reasonable for scripting and add a
special argument for interactive use.

Document in release notes.

Update LFUN.lyx documentation

Update bind files.

Add conversion step to prefs2prefs_lfun.py.
2022-12-04 21:13:51 +01:00
Richard Kimberly Heck
3800036b2a Fix CSS 2022-12-04 14:46:30 -05:00
Richard Kimberly Heck
23a997bbf6 Customization update for HTMLClass 2022-12-04 14:33:47 -05:00
Richard Kimberly Heck
59acab7eea Add CSS for enumerations to other classes 2022-12-04 14:33:29 -05:00
Richard Kimberly Heck
c72cef7e8a Update layout format 2022-12-04 13:36:34 -05:00
Richard Kimberly Heck
69a6c41b94 Introduce HTMLClass tag, to make it easier to give these. 2022-12-04 13:36:34 -05:00
Richard Kimberly Heck
6f4f7442ef Fix bug #11769 2022-12-04 12:51:47 -05:00
jpc
8e8825baa7 Translation of new index features step 2 2022-12-04 11:20:31 +01:00
Richard Kimberly Heck
76c7fab5a6 Update Customization manual 2022-12-04 00:38:07 -05:00
Richard Kimberly Heck
75b111aca7 Actually do the layout update 2022-12-04 00:35:33 -05:00
Richard Kimberly Heck
9d2ea6185b Update layout formats 2022-12-04 00:35:01 -05:00
Richard Kimberly Heck
3eb3608138 Fix bug #11418.
Add new HTMLInToc layout tag: When false, the thing will not be output
to the TOC. It's now set to false for starred sections.
2022-12-04 00:33:14 -05:00
Juergen Spitzmueller
2568e6d606 Fix shortcut conflicts 2022-12-03 13:30:41 +01:00
John R Hudson
0e0d21f905 IOP class no longer in CTAN; remove IOP section 2022-12-01 21:29:19 +01:00
John R Hudson
483620edfa IJMPC/D no longer in CTAN; remove section on IJMPC/D 2022-12-01 21:28:48 +01:00
John R Hudson
924e74bd69 AA not longer exists in CTAN; deleting section on AA. 2022-11-29 19:50:10 +01:00
Jean-Marc Lasgouttes
9376f0203d Merge branch 'killqt4'
Remove all trace of Qt4 support. The different elements have been
considered carefully before removal.

The only changes that need to be done concern Windows and macOS
compilation instruction and will need to be taken care of by the
respective maintainers before prerelease.

The file TODO.killqt4 lists what remains to be done.
2022-11-28 15:19:41 +01:00
jpc
77d6198807 Update doc (semantics of "graphique" in French) 2022-11-28 11:38:48 +01:00
Pavel Sanda
50ce45b529 * RELEASE-NOTES 2022-11-28 11:29:22 +01:00
Pavel Sanda
d82247985a * RELEASE-NOTES 2022-11-28 11:09:37 +01:00
Yuriy Skalko
7b23c76b71 Add "semantic linefeeds" after punctuation marks.
We already had such breaks for dot.

File format change.
2022-11-28 11:58:53 +02:00
Jean-Marc Lasgouttes
ec767f02a0 Support macros from hepnames and hepparticles packages
This macros are important for particle physicists. Note that the
package hepparticles as distributed in recent texlive does not work
(see #11804) and need to be patched. This is however not something we
can do, and any physicist wanting to use this will have patched his
own version I guess.

I contacted Andy Buckley, the author of the package, who answered that
he is aware of the issue but does not have time right now to fix it.
The workaround is straightforward: on line 176 of hepparticles.sty,
replace "\updefault" by "n".

Two parts:
- add *lots* of definitions to lib/symbols
- add hepparticles and hepnames as simple features in LaTeXFeatures.

The definitions are courtesy of @renyhp, and extracted from the
aforemented packages:
https://www.ctan.org/pkg/hepparticles
https://www.ctan.org/pkg/hepnames

Fixes bug #11804.
2022-11-27 19:47:02 +01:00
Richard Kimberly Heck
0266b70a5a Update release notes. 2022-11-27 13:29:52 -05:00
Richard Kimberly Heck
e902b86f66 Minor update to release notes. 2022-11-27 13:28:31 -05:00
Daniel Ramoeller
2d01fcd079 Activate another tab group (aka split view)
Bind the new functions tab-group-next/previous to F6/S-F6 in CUA bindings.

Fix for #12115.
2022-11-27 18:52:05 +01:00
Juergen Spitzmueller
315d347d3e Include he/cua.bind (#12052)
To allow for its use, we add support to include a bind file from the
top dir (i.e., non-localized) via \bind_file ../<file>
2022-11-27 16:30:21 +01:00
Scott Kostyshak
6d4ab79917 Effectively disable the "Stop command?" dialog
We now allow the user to cancel the background process at any point
(via the red "x" in the status bar or Document > Cancel Export), so
we do not need to poll the user with the dialog.

The patch works by setting timeout to "-1" which is treated as a
special value to disable the poll.

Fix (by obviation) #12531 and #9953, which were about the dialog.
2022-11-25 10:25:40 -05:00
Juergen Spitzmueller
10ad1670f7 Correct documentation of localized bind files
These are in subfolders nowadays (no more lang_ prefix)
2022-11-25 11:26:29 +01:00
Scott Kostyshak
4ade2f02cd "Cancel Background Process" -> "Cancel Export"
"Cancel Export" sounds more user friendly.

Discussed briefly on ML here:

  https://www.mail-archive.com/search?l=mid&q=20221122200127.th3qwgpimqndksmd%40gary
2022-11-24 21:15:50 -05:00
Scott Kostyshak
2b66765f6d RELEASE-NOTES: document clicking on red x
New functionality introduced at 869247b6.
2022-11-24 21:13:39 -05:00
Scott Kostyshak
ffff88e7fc Rm dup "Float" in "Insert>Float>Figure Wrap Float"
Change menu options "Figure Wrap Float" to "Wrapped Figure"
and "Table Wrap Float" to "Wrapped Table".
2022-11-24 20:17:53 -05:00
Juergen Spitzmueller
869247b617 Add button to stop processing
(rather than having it stop by clicking on the spinner)
2022-11-21 18:56:28 +01:00
jpc
0264141b3c Translation of new index features step 1 2022-11-21 18:34:38 +01:00
Jean-Marc Lasgouttes
4603363fbc Update check_glyphs.lyx document 2022-11-20 21:19:44 +01:00
Jean-Marc Lasgouttes
7d196fea77 Fix handling of codepoints 9, 10, 12, 13
Qt >= 5 refuses to display them. We work around this in lib/symbols
already, but make sure we do not try to display math glyphs at these
code points anyway.

Fixes bug #8493.
2022-11-20 20:53:55 +01:00
Thibaut Cuvelier
3917cab408 symbols: fix a type for \Im 2022-11-20 16:32:58 +01:00
Thibaut Cuvelier
7a6024381c Update the format for some doc pages 2022-11-20 15:20:53 +01:00
Thibaut Cuvelier
2f1861380d Improve wording of RELEASE-NOTES entry 2022-11-19 23:33:43 +01:00
Jean-Marc Lasgouttes
db70aec262 update release notes 2022-11-19 15:08:21 +01:00
Juergen Spitzmueller
069122feba Revert "Try to be more pedantic wrt blank lines in lyx2lyx output"
This reverts commit 9ce0ff50c1.
2022-11-06 17:17:33 +01:00
Juergen Spitzmueller
9ce0ff50c1 Try to be more pedantic wrt blank lines in lyx2lyx output
Hopefully to the tests' please
2022-11-06 16:40:12 +01:00
Scott Kostyshak
cbc3804a2f Correct typos of "occurred" in warnings/errors
Change "occured" and "ocurred" to "occurred".
2022-11-06 10:06:50 -05:00
Juergen Spitzmueller
2604274a88 de/UserGuide: document index-tag-all 2022-11-06 09:11:18 +01:00
Juergen Spitzmueller
3bbce7f24a Introduce index-tag-all lfun
This is a convenience function for indexing. It adds a copy of the
index inset under cursor after any word in the buffer that is equal
(case-insensitively) to the word preceding the index inset.

The function can be easily used to generate bad indexes (and I warn
about that in the UserGuide), but if used with care, it can also be
extremely convenient.
2022-11-05 18:39:33 +01:00
Juergen Spitzmueller
e2105bed61 Update RELEASE_NOTES 2022-11-05 08:34:36 +01:00
Jean-Marc Lasgouttes
fad170be1a New lfun to copy index insets from ToC
The new function inset-insert-copy can only be invoked from the ToC.
It is currently only implemented for Index inset.

It is a special lfun because Inset::dispatch is called directly from
the ToC widget with cursor pointing to the inset, whereas the patch
happens in the workarea at caret position. This function cannot be
called directly.

Add an entry for this function in the toc context menu.

Fixes bug #4582.
2022-11-04 21:52:46 +01:00
Juergen Spitzmueller
68e268e117 Add some options to index context menu 2022-11-04 11:29:56 +01:00
Juergen Spitzmueller
4299d842e8 Adapt French docs to new index features 2022-11-04 09:03:55 +01:00
Juergen Spitzmueller
e316e21aa1 Amend b8502a3ea2 2022-11-03 07:14:14 +01:00
Juergen Spitzmueller
b8502a3ea2 Fix glitch in index reversion routine 2022-11-03 05:54:50 +01:00
Juergen Spitzmueller
0e710626b8 Adapt all German and English manuals to new index features 2022-11-02 15:24:13 +01:00
Juergen Spitzmueller
886d881ba3 lyx2lyx: fix index reversion
This was only a warning, but it made the tests fail
2022-11-02 09:33:09 +01:00
Juergen Spitzmueller
f41546d73c German documentation of new index features 2022-11-01 14:45:37 +01:00
Juergen Spitzmueller
262f0b528a UserGuide: use new features for all index entries 2022-11-01 11:06:50 +01:00
Juergen Spitzmueller
4e50da3e65 Merge branch 'features/indexmacros' 2022-10-31 19:32:52 +01:00
Juergen Spitzmueller
f4d588cea5 Document new inset features 2022-10-31 19:26:39 +01:00
Juergen Spitzmueller
077ccf905d Rename subindex to subentry
Makes more sense, and distinguishes it better from printsubindex
2022-10-31 06:51:38 +01:00
Juergen Spitzmueller
0df63e3773 Add Christopher Hillenbrand to the credits 2022-10-31 04:33:07 +01:00
Juergen Spitzmueller
5a7c6aaeee Add some comments 2022-10-29 15:40:06 +02:00
Juergen Spitzmueller
874f559bc7 Add last missing bit to insetindexmacros: file format change and lyx2lyx
The feature is now ready for primetime!
2022-10-29 15:11:11 +02:00
Juergen Spitzmueller
3a949b32f0 Merge branch 'master' into features/indexmacros 2022-10-29 11:42:14 +02:00
chillenb
22e5903bf3 adjust text display width in windowed mode 2022-10-27 17:49:43 +02:00
Juergen Spitzmueller
b3b22b0c70 Sync with master 2022-10-26 10:52:21 +02:00
Juergen Spitzmueller
d4d4654d63 Only load subscript package with LaTeX < 2005/12/01 (#12387) 2022-10-13 16:05:03 +02:00
Juergen Spitzmueller
2c72884f26 GuiLyXFiles: differentiate user and system folders 2022-10-09 16:13:48 +02:00
Juergen Spitzmueller
5ee0ba6403 GuiLyXFiles: Visually distinguish folders from files (#12584) 2022-10-08 16:45:52 +02:00
Jean-Marc Lasgouttes
a20477993b Preview: do not overwrite fg/bg color names that beamer uses
Rename them to lyxfg/lyxbg

Fixes bug #12563.
2022-10-08 16:42:55 +02:00
Jean-Marc Lasgouttes
8319bdbbbe Unify wording for statistics
Use 'no blanks' uniformly.

Also remove separator in zoom menu.
2022-09-13 12:42:28 +02:00
Daniel Ramoeller
974534f28a Disentangle status bar and zoom menu
- Moves the zoom menu to the zoom value
2022-09-13 11:49:41 +02:00
Jean-Marc Lasgouttes
bb1d955754 Simplify status bar context menu
Remove "Show" prefix.

Remove "(With Blanks)".
2022-09-02 19:58:13 +02:00
Juergen Spitzmueller
96d9e748cf Polish status bar statistics 2022-08-17 14:59:50 +02:00
Juergen Spitzmueller
e6b93f7489 Load ucs before utf8x inputenc with recent ucs versions
Otherwise inputenc falls back to utf8 option, which breaks documents
2022-08-16 17:56:07 +02:00
Juergen Spitzmueller
771e46c58d de/UserGuide: another minor correction 2022-08-16 12:28:13 +02:00
Juergen Spitzmueller
5d87131901 de/UserGuide: some minor corrections 2022-08-16 12:25:55 +02:00
Pavel Sanda
bd0510b08f configure.py: sanitize restrictive policies of IM on some distributions.
Some distros banned GS for Imagemigick conversions.
In effect eps->png conversion is broken and this can't
be fixed locally by the user.

Our workaround is to allow eps->pdf->png conversion from
different tools when IM bans the conversion.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217834.html
2022-08-12 01:03:09 +02:00
Stephan Witt
9686fe0c79 Improved synctex support
- Check the state of the synchronize TeX output option of the document to enable or disable the LFUN for forward-search.
- write synctex macro to TeX source not only for PdfLaTeX
2022-08-11 22:45:51 +02:00
Pavel Sanda
04ada8e5fa Fix shortcut 2022-08-10 00:03:20 +02:00
Pavel Sanda
c1575a5be1 * RELEASE-NOTES 2022-08-09 23:58:13 +02:00
Pavel Sanda
5b50a97fd7 Add document statistics to statusbar.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217810.html
2022-08-09 23:48:55 +02:00
Stephan Witt
4296df9960 Add detection for available macOS applications and add check for Skim.app as alternate PDF viewer. 2022-08-08 15:46:57 +02:00
Juergen Spitzmueller
199980412b Install icon.aliases in images/ where it is searched 2022-08-08 10:13:23 +02:00
Stephan Witt
83bea9c8c1 Fix a typo in copied comment. 2022-07-31 23:35:14 +02:00
Pavel Sanda
79f321d0f5 pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217790.html
2022-07-31 20:08:44 +02:00
jpc
4c72d8aeac Info in French UserGuide 2022-07-31 18:29:23 +02:00
Pavel Sanda
c041925261 pyupgrade related fixes to python scripts #2.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217777.html
2022-07-31 11:13:53 +02:00
Pavel Sanda
d79637a88e Various python fixes suggested by pyupgrade.
Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217770.html
2022-07-31 00:36:51 +02:00
Daniel Ramoeller
d7eecccfd4 Fix for blue rectangles on math Style icon
Fix for bug #12103.
2022-07-23 17:15:50 +02:00
Jean-Marc Lasgouttes
96e7fcd4e0 When pasting as LaTeX, honor textclass and modules
There are several small parts that are needed here:

* Implement LayoutModuleList::asString() that returns a comma-separated
  list of modules.

* in Converter::convert(), handle the new tokens $$c for the current
  textclass and $$m for the list of modules.

* in Buffer::importFile(), pass the current buffer as parameter instead
  of nullptr.

* in pasteClipboardText(), copy the parameters of the current buffer to
  the internal one used for importation, so that the textclass and
  modules information is available to convert().

* finally, modify configure.py to pass "-c $$c -m $$m" to tex2lyx for
  the latexclipoard->lyx converter.

Fixes bug #11312.
2022-07-19 00:28:28 +02:00
Jean-Marc Lasgouttes
31579edd76 Fixup b2a7b715a2: At least one 'HFill' should remain in the doc. 2022-07-16 00:33:55 +02:00
Daniel Ramoeller
95da270711 Check for icon aliases
The aliases are defined by a file in the (system or user) image
directory. The format is pretty simple: each line is like
  <str1> <str2>
Where every instance of <str1> will be replaced with <str2>.

Fixes bug #12509.
2022-07-12 23:35:48 +02:00
Scott Kostyshak
9108263d2f Europe_CV: use "utf8" instead of "utf8x"
uf8x is not recommended
(https://github.com/latex3/latex2e/issues/833), and thanks to Europe
CV's recent release, is no longer needed. See here:

  https://github.com/gsilano/EuropeCV/pull/30

Europe CV still fails on an updated TeX Live (see discussion on
hooks in the above discussion for why), but this commit at least
fixes the unicode-related errors.
2022-06-20 16:45:02 -04:00
Scott Kostyshak
6148b4424c Europe_CV: update format 2022-06-20 16:45:02 -04:00
jpc
8605296ac0 Solve shortcut conflicts in std*.inc and fr.po 2022-06-14 15:41:32 +02:00
jpc
8fff0cf774 Update fr.po and a couple of shortcuts defined with non-existing letters 2022-06-13 09:47:54 +02:00
Juergen Spitzmueller
f40b8bf627 Amend b2a7b715a2 2022-06-12 14:24:20 +02:00
Daniel Ramoeller
b2a7b715a2 Make space names more standard
Fix for bug #12547.

- "Interword" becomes "Normal"
- "Protected" becomes "Non-Breaking"

Plus a minor fixes to the "Horizontal Space Settings" dialog:
- Indicate that when "Non-Breaking" is disabled, the space will be non-breaking
2022-06-12 13:35:29 +02:00
Daniel Ramoeller
d9f51be6ed Show size of named spaces in dialog
Fix for bug #12467.
2022-06-03 12:37:39 +02:00
Kornel Benko
a379c5d5ea Amend 9d8dfe934b: Check _all_ visited dirs 2022-06-02 12:16:07 +02:00
Scott Kostyshak
f01b2b7f15 Revert "User Guide: add quotes to a PackageOptions command"
Jürgen fixed the core issue at a77c84a0 so this workaround is not
needed anymore. It is more intuitive, and easier to remember, to not
use the double-quotes.

This reverts commit 67e9add6d0.
2022-05-24 09:47:21 -04:00
Scott Kostyshak
67e9add6d0 User Guide: add quotes to a PackageOptions command
The double-quotes are needed when there are two options.

Thanks to Jürgen.
2022-05-18 21:09:58 -04:00
Scott Kostyshak
58a0756a70 Typo in User Guide
"option1,option1" -> "option1,option2"
2022-05-17 21:24:58 -04:00
Juergen Spitzmueller
047004cb0f Merge branch 'master' into features/indexmacros 2022-05-14 16:29:46 +02:00
Kornel Benko
aec76acecc Small addition concerning advanced find and regular expression 2022-05-01 10:34:12 +02:00
Juergen Spitzmueller
7d7b21ec3e Introduce InsetIndexMacros
This adds native macros for subindexes (!level), |see and |seealso
as well as native support for ranges |( |) and pagination format
-- e.g., |textbf -- via the index dialog

Resolves #12478, #7232 and #5014

The feature is complete (incl. tex2lyx) except for

* file format change and lyx2lyx
* docbook/xhtml
* documentation
2022-04-19 11:46:08 +02:00
Pavel Sanda
335f158896 * RELEASE-NOTES 2022-04-17 00:49:35 +02:00
Pavel Sanda
5ba4d54b63 *doc - branch-sync-all 2022-04-17 00:37:22 +02:00
Pavel Sanda
5ac8a0b9ae Update status of layouttranslations 2022-04-13 11:36:49 +02:00
Pavel Sanda
8471b97fd4 * layouttranslations updates from Veselin 2022-04-13 11:32:45 +02:00
Thibaut Cuvelier
544adb065b XHTML tables: fix borders and implement booktabs.
https://www.lyx.org/trac/ticket/10154

Contributed by raccoon.
2022-04-02 03:34:33 +02:00
Pavel Sanda
46c6c40bea * layouttranslations for bg 2022-04-01 23:05:04 +02:00
Pavel Sanda
d1f8c48d1b * bash_completion from Hernan Solari 2022-04-01 22:56:57 +02:00
Pavel Sanda
9804b544e9 Add Hernan to credits 2022-04-01 22:55:41 +02:00
Pavel Sanda
b678844481 * RELEASE-NOTES 2022-03-26 11:58:49 +01:00
Pavel Sanda
b1db663d99 * bash_completion - outdated syntax
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008257
2022-03-26 11:16:38 +01:00
Daniel Ramoeller
f21899661a Add toggle feature for all, outer and inner borders
Fix for bug #12503.

Also some bug fixes for the set inner lines algorithm. See discussion of #12503.
2022-03-13 10:34:16 -04:00
Jean-Marc Lasgouttes
a6db1383f5 Get rid of spelling and language marks in info inset
These are just annoying. Note that the language mark cannot currently
be specified in a layout file, but it is not clear that there is a
need for that. Therefore I used the simple and hackish way.
2022-03-10 13:35:45 +01:00
Scott Kostyshak
ae31e16952 lyx2lyx: prefix warning messages with "lyx2lyx"
Both lyx2lyx and LyX write output to the terminal, and it's helpful
to know which messages are coming from lyx2lyx. For example, before
this commit if we opened a document in LyX that has a newer file format than
lyx2lyx can deal with, we see the following output in the terminal:

  Warning: 619: Format not supported.
  Warning: Quitting.
  Error: Document format failure

The first two lines (the warnings) are output from lyx2lyx, and the
third is output by LyX. This output was particularly confusing
because I first thought "LyX tries to quit if the document is too
new?", but in fact LyX still stays open; it just doesn't open the
document. After this change, the output is now the following:

  lyx2lyx warning: 619: Format not supported.
  lyx2lyx warning: Quitting.
  Error: Document format failure
2022-03-08 11:57:04 -05:00
Kornel Benko
4b58e3b4fe Format of description of function search-ignore 2022-03-04 17:29:37 +01:00
Thibaut Cuvelier
030db93ab2 unicodesymbols: fix problematic entries. 2022-02-27 04:14:12 +01:00
Daniel Ramoeller
8bc6aa7535 Footnote LabelString should be "Foot" rather than "foot"
Fix for bug #12487.
2022-02-22 10:33:51 +01:00
Thibaut Cuvelier
0cde3dce12 unicodesymbols: add math versions of some symbols according to unicodetex 2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
548c12158f unicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
Some of corresponding commands did not have a matching LaTeX command for a currently recommended Unicode character; these have been added.
2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
fb70452086 unicodesymbols: amend fec498d6, there was an O (capital letter O) instead of an 0 (zero). 2022-02-20 22:29:15 +01:00
Thibaut Cuvelier
fec498d661 unicodesymbols: add several synonyms. 2022-02-20 01:33:28 +01:00