Commit Graph

10865 Commits

Author SHA1 Message Date
Richard Kimberly Heck
926ae84921 Use Alt-Escape to float and unfloat dock widgets.
For some reason, redocking is not working for me at all. This
key seems free.
2023-07-26 14:26:02 -04:00
Juergen Spitzmueller
7f4c4cd548 Improve AllowedOccurrences
This does now apply to the whole inset or paragraph group (not to the
current paragraph only) unless the new boolean AllowedOccurrencesPerItem
is set and we are in a list-type environment.

Amends 729ab602ca
2023-07-26 09:53:25 +02:00
Juergen Spitzmueller
729ab602ca To finish up #6854, also add AllowedOccurrences
Again very basic for now (this only considers the current paragraph,
not the whole inset or a serious of grouped layouts
2023-07-25 15:49:53 +02:00
Juergen Spitzmueller
19975d07dd Update layouts 2023-07-25 13:44:29 +02:00
Juergen Spitzmueller
7f4f9a99f0 Implement new tags in some layouts 2023-07-25 13:40:23 +02:00
Juergen Spitzmueller
0b463bfe0f Add AllowedInInsets and AllowedInLayouts InsetLayout tags
This allows to restrict the use of flex insets to specific contexts.

Note that this is currently very basis. It only considers immediately
containing insets/layouts and can be surpassed via cut and paste.

The use case that made me finally implement this are macros in covington
that make sense only in specific environments (but also consider \inst
in some article classes)
2023-07-25 13:37:07 +02:00
Pavel Sanda
04237beb41 * RELEASE-NOTES 2023-07-24 11:39:44 +02:00
Jean-Marc Lasgouttes
6a8c10f0d6 Display footnote labels as superscripts
A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.

This is used for the footnote counter.

The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).

We use this occasion to set footnote text in footnotesize, as it should.

A couple of changes are done to the code to make the button label and
tooltip look better.

Fixes bug #12238.
2023-07-24 11:15:03 +02:00
Richard Kimberly Heck
c932425f9a Add Edit External to ERT context menu 2023-07-23 21:08:09 -04:00
Jean-Marc Lasgouttes
6d929e7139 update layout files to format 101 2023-07-22 23:38:53 +02:00
Jean-Marc Lasgouttes
81e35bc396 Replace hardcoded inheritFont() with InheritFont InsetLayout tag
Each removed inheritFont method is replaced by a 'InheritFont false'
line in the relevant InsetLayout entry.

Add code to layout2layout that does this automatically when the entry
is missing.

The case of InsetScript is special, since the inheritFont() was not
needed here: the default is indeed true.

Fixes bug #12238.
2023-07-22 23:38:53 +02:00
Jean-Marc Lasgouttes
cfe094a380 Introduce new InsetLayout tag InheritFont
The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.

The default value is true.

Update tufte layouts to use this tag for sidenote and marginnote flex
insets.

Increase layout format to 101.

Fixes bug #12238.
2023-07-22 15:53:14 +02:00
Jean-Marc Lasgouttes
d59046512c Use macros with parameters for modulo macros
It turns out that it is possible to use macros with parameters in lib/symbols.

I use this to simplify the use of mod-like macros.

Update documentation.
2023-07-21 23:58:28 +02:00
Pavel Sanda
00a98856f8 Switch delimiters for hebrew keyboard (bug #12829).
Patch from Udi Fogiel.
2023-07-21 23:37:39 +02:00
Pavel Sanda
8335dc49e1 * RELEASE-NOTES 2023-07-21 23:19:05 +02:00
Pavel Sanda
179c0d6ff2 Create the other side of conversion chain when IM is banned (bug #12646).
We allow png, jpg to channel through already existing tiff2ps (library
libtiff-tools). Other formats can be added if there is a request.

For future reference:
- using pnmtops seem to have issues with landscape/portrait flip, so
  tiff2ps seems better alternative.
- using GraphicsMagick won't help because some distros ban postscript
  processing directly in its code (e.g. openSUSE)

This patch finishes IM policy ban handling, we can't probably do much
better.
2023-07-21 23:17:55 +02:00
Juergen Spitzmueller
03268082a3 Current covington requires varwidth 2023-07-21 14:34:22 +02:00
Juergen Spitzmueller
dfab2898de Fix lyx2lyx reversion problem for covington examples
Do not take arguments of nested insets/layouts as your own
2023-07-21 09:46:47 +02:00
Juergen Spitzmueller
37b39eb0cf Update linguistics manual 2023-07-20 16:45:43 +02:00
Juergen Spitzmueller
a91d1ebe82 Forgot these 2023-07-20 16:26:17 +02:00
Juergen Spitzmueller
2841a1c063 Update covington support in linguistics module (file format change) 2023-07-20 15:09:47 +02:00
Kornel Benko
bf69b7b3a7 Add 'tab-group-next' to emacs.bind
Theis resembles the shortcut "other-window" in emacs.
(Suggestion comes from Christopher Menzel)
2023-07-07 10:51:51 +02:00
Jean-Marc Lasgouttes
7cc431bd55 Add optional parameter 'local' to outline-in/out
When this parameter is given, only the current paragraph is affected
by the section promoting/demoting.

Note that the new argument is not used yet.

Update release notes and LFUNS documentation.

Part of ticket #12417.
2023-07-06 17:47:08 +02:00
Juergen Spitzmueller
86069c9e9a lyx2lyx: skip mathed in convert_hebrew_parentheses (#12824)
Those have not been swapped in Hebrew.
2023-07-04 07:37:06 +02:00
Enrico Forestieri
c5c03f9be3 Amend b135c965
A macro with @ in its name must be used after \makeatletter
2023-06-19 18:30:23 +02:00
Enrico Forestieri
b135c965f6 Use \ifthenelse instead of relying on TeX primitives
This fixes the issue reported here:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg115156.html
2023-06-19 18:17:31 +02:00
Richard Kimberly Heck
67178df979 Fix lyx2lyx bug reported by Herbert Voss.
For some reason, files converted from really old versions have fewer
lines in reference insets than in more recent versions.
2023-06-16 01:22:52 -04:00
Yuriy Skalko
771bb50552 Name menu item according to UI guidelines 2023-06-16 00:34:05 +02:00
Juergen Spitzmueller
96e5ca81c0 de/UserGuide: updates 2023-06-15 10:06:25 +02:00
Juergen Spitzmueller
129cb86e64 UserGuide: small amendments 2023-06-15 10:06:09 +02:00
Pavel Sanda
f7e625d7ce Rename No page break -> Prevent page break.
Fixes #12790, improved patch from Daniel Ramoeller.
2023-06-14 02:12:44 +02:00
Pavel Sanda
384240498a * UG - move fullscreen section, see #12124. 2023-06-13 11:32:05 +02:00
Pavel Sanda
22bdd1b619 * UG - document #12795 2023-06-13 07:07:10 +02:00
Richard Kimberly Heck
371c20ac11 Docs for empty macros 2023-06-11 13:16:45 -04:00
Richard Kimberly Heck
c3f98d1fa4 The lyx2lyx for the previous commit. 2023-06-11 12:55:51 -04:00
Pavel Sanda
e4c9a71088 Use ps2pdf -dALLOWPSTRANSPARENCY by default.
Ghostscript 9.52 breaks transparency, for some time -dNOSAFER
workaround worked but since 9.53.3 -dALLOWPSTRANSPARENCY should
work. Tested on 9.53.3.

See also
https://www.lyx.org/trac/ticket/12303
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg115086.html
https://tex.stackexchange.com/questions/597980/ghostscript-requires-dallowpstransparency-when-compiling-pstricks-figures
https://forums.fedoraforum.org/showthread.php?324453-Ghostscript-9-52-breaks-transparency-in-LaTeX-packages
2023-06-05 22:45:14 +02:00
Pavel Sanda
86a757a7b0 * UserGuide.lyx - reflect reorganization of Output pane. 2023-06-02 20:32:06 +02:00
Pavel Sanda
528183ddcf * Additional.lyx - clarify git VCS handling. 2023-06-02 20:30:24 +02:00
Daniel Ramoeller
d957afdb64 Remove ellipsis from "End Edit Externally..."
Fix for bug #12780
2023-05-17 15:52:11 -04:00
Enrico Forestieri
a401b26640 Update layouts 2023-05-09 12:10:45 +02:00
Enrico Forestieri
ee9fca42bb Use black as default color for an inset button label text
It turns out that LyX was using red as default color for the
inset button text since ever. However, due to the use of "inherit",
the default button text color was black in practice. This was so
until [897ee2ed/lyxgit], which made the label font not inherited
by default anymore. Hence, all insets that didn't specify a specific
label button color started using red as default color.

This commit restores the previous behavior and introduces the
possibility of modifying this default color.

Fixes bug #12771
2023-05-09 11:33:13 +02:00
Daniel Ramoeller
5556cb3d3f Simplify Quotation/Quote style
Fix for bug #12745
2023-05-08 21:10:50 -04:00
Jean-Marc Lasgouttes
84dc007f1d typo 2023-05-02 14:39:33 +02:00
jpc
78b588031e Update French Additional.lyx, step 1 2023-04-27 14:53:16 +02:00
Juergen Spitzmueller
718a2d2c6b de/Customization.lyx - some forgotten colors 2023-04-15 12:48:27 +02:00
Juergen Spitzmueller
f5356ba0f3 Tiny amendments of 442d463288
Fix alphabetic order and spelling
2023-04-15 12:47:52 +02:00
Pavel Sanda
442d463288 * Customization.lyx - some forgotten colors 2023-04-14 23:33:11 +02:00
Pavel Sanda
14b752c9a9 * customHeadersFooters.module - add pointer to docs. 2023-04-11 09:45:32 +02:00
Scott Kostyshak
e3288b4b4a Amend d0a83d33 2023-04-10 13:03:19 -04:00
Juergen Spitzmueller
d0a83d33fc Fixes to heb-article, by Udi Fogiel (#12735)
For some reason theorems titles has \beginR without a \endR, and since
this is basically inside restricted horizontal mode, TeX complains about
a missing \endR.

I could not figure out why were they there in the first place so I
removed them and the output did not change, and the warnings are gone.

Beside that the numbering of the theorems is wrong (e.g. 1.0 instead of
0.1), the \@makelr thing should happen after babel is loaded.

The theorems layouts did not have a counter (in LyX) so I added one.
2023-04-10 18:24:04 +02:00
Juergen Spitzmueller
0de7095774 Add Udi Fogiel to credits 2023-04-10 15:25:58 +02:00
Juergen Spitzmueller
823bb2a8dd de/Customization: document EditExternal 2023-04-10 08:05:03 +02:00
Juergen Spitzmueller
902d24cbf9 de/Customization: move section on Arguments 2023-04-10 07:58:38 +02:00
Juergen Spitzmueller
9b2fb3b051 Typo 2023-04-08 17:27:31 +02:00
Juergen Spitzmueller
8a99092d77 Fix accelerators 2023-04-08 17:27:06 +02:00
Pavel Sanda
20be14d133 Casing consistent with other modules. 2023-04-07 22:13:53 +02:00
Pavel Sanda
694114bae7 We had two overlapping chemistry modules.
See a610e29c9c.
2023-04-07 20:24:23 +02:00
Pavel Sanda
1e1034248e * autocorrect comment 2023-03-20 22:48:41 +01:00
Richard Kimberly Heck
8872d6a54d Add a couple logic autocorrects 2023-03-19 21:30:42 -04:00
Enrico Forestieri
c3be5d1709 Amend 4384ac75 2023-03-19 10:50:13 +01:00
Enrico Forestieri
4384ac75ff Cycle through arrows with autocorrect
The way autocorrect is implemented it is not possible to map
--> and ==> to \longleftarrow and \Longleftarrow, respectively.
One has to type ->- and =>= to that effect, which may be
counterintuitive.

This commit allows typing -> or => followed by * to cycle through
all possible arrows of the same type.
2023-03-19 10:26:08 +01:00
Enrico Forestieri
0470082240 Fix bug #12711
Add a few missing autocorrect combinations.
2023-03-19 09:34:01 +01:00
Jean-Marc Lasgouttes
6572a3f141 Fix bindings for ellipsis and end-of-sentence-period
On some keyboards, `period' is only accessible with the shift modifier.
2023-03-15 19:04:36 +01:00
Richard Kimberly Heck
8e190c09f2 Add note about CopyStyle 2023-03-14 11:50:06 -04:00
Yuriy Skalko
cc30ec0061 Update ru.po and docs 2023-03-14 16:30:17 +01:00
Kornel Benko
f2f49674be Cmake tests: Adapted BATCH tests to ignore the stored LyX-version 2023-03-12 20:19:21 +01:00
jpc
c9c7f0d30b Typos in French UserGuide 2023-03-12 11:29:47 +01:00
jpc
5f7ae3ade5 Translation of the safety nets section, last step 2023-03-10 10:18:37 +01:00
Pavel Sanda
bf4ba774c6 Update csv2lyx.py to work with Python 3.
Patch from Jose.
2023-03-08 22:26:04 +01:00
jpc
42bb89b553 Translation of the safety nets section, step 2 2023-03-06 11:01:57 +01:00
Pavel Sanda
bad9e2285c * cs/Tutorial.lyx 2023-03-03 21:17:45 +01:00
jpc
2cdb7c3efa Translation of the safety nets section, step 1 2023-03-03 18:28:10 +01:00
Scott Kostyshak
ffe5d61bb2 ja docs: restore \font_typewriter to IPAGothic
It had been (accidentally, I think) set to default at 723d3703.

See 6656dd22 for why we set to IPAGothic.
2023-02-27 20:54:45 -05:00
Pavel Sanda
9dee1572bb Fix casing.
Spotted by Juergen.
2023-02-26 19:51:48 +01:00
Pavel Sanda
2b6ef1257a Infoinset - better specification of few strings 2023-02-25 18:52:31 +01:00
Juergen Spitzmueller
7da020a594 Remove zombie Acknowledgement theorem 2023-02-25 08:43:41 +01:00
Pavel Sanda
52d51fe433 lyxpaperview - fix redirection
Any time pdfviewer process write anything to stderr it's killed,
most probably due to not existing pipe to proper stderr file descriptor.
/dev/null redirection fixes the issue.
2023-02-24 20:44:37 +01:00
Pavel Sanda
17829ee513 lyxpaperview - don't wait for the process to finish 2023-02-24 20:26:35 +01:00
Pavel Sanda
723d3703fd Update ja manuals from Koji 2023-02-24 19:57:30 +01:00
Juergen Spitzmueller
010fb0690a de/UserGuide: additions to citation search 2023-02-21 10:41:21 +01:00
Juergen Spitzmueller
c9b1b46796 Minor corrections and elaborations 2023-02-21 10:41:05 +01:00
Pavel Sanda
9cba175930 * UserGuide - few details on lyxpaperview 2023-02-21 09:52:11 +01:00
Pavel Sanda
307498894c * lyxpaperview.py - allow arguments for viewers 2023-02-20 23:07:09 +01:00
jpc
794c2aa956 Restore French guillemets 2023-02-20 11:13:09 +01:00
Pavel Sanda
cb32a61e94 UserGuide - document citation_search_view 2023-02-19 17:01:43 +01:00
Scott Kostyshak
07a7e847d6 French docs: remove unicode thin spaces
Consistent with 9b20b33a and cb732ef5.
2023-02-18 16:40:50 -05:00
Scott Kostyshak
9b20b33a3e fr EmbeddedObjects: fix comp with LuaTeX + babel
This commit removes unicode thin space characters (unicode 2009).

LuaTeX with polyglossia (the default) was compiling before, but this
fixes LuaTeX with babel.

XeTeX compilation (with both polyglossia and babel) still yields
missing glyphs.

Consistent with cb732ef5.
2023-02-18 16:30:07 -05:00
Pavel Sanda
e98d9f974a CT: Shorten menu items 2023-02-18 12:19:56 +01:00
Juergen Spitzmueller
a6f51c904d Some more minor corrections on the new (backup-related) documentation 2023-02-17 12:57:05 +01:00
Juergen Spitzmueller
85eff6884e de/UserGuide: add the recent additions on backup files 2023-02-17 11:28:42 +01:00
Juergen Spitzmueller
b4febc33da Minor corrections 2023-02-17 11:28:11 +01:00
Juergen Spitzmueller
cbcc369a94 Amend 176caed5c7
Forgot to save before committing.
How fitting given the topic of this section.
2023-02-17 10:41:44 +01:00
Juergen Spitzmueller
176caed5c7 UserGuide: Add documentation on our backup and safety framework
Explain the diverse types of backup, rescue and snapshot files, where
to find them and when to use which one.
2023-02-17 10:34:58 +01:00
Scott Kostyshak
0784e08062 Fix \origin of newly added ja books and reports 2023-02-16 12:07:51 -05:00
Scott Kostyshak
8bf93b35a1 Fix \origin of newly added files 2023-02-16 12:05:07 -05:00
Scott Kostyshak
8887c4edda Add layout format number of newly added file
Update it to 99.
2023-02-16 12:00:21 -05:00
Juergen Spitzmueller
900dc62226 Update lilypond converter settings (#12618)
As of v. 2.23.12, the safe mode is no longer supported and results in
error.

We thus remove the -safe flags from the converter and use our own
needauth flag instead.
2023-02-16 15:45:58 +01:00
Juergen Spitzmueller
d3c11e3322 Document needauth 2023-02-16 14:16:41 +01:00
Juergen Spitzmueller
79269ef021 Casing fix 2023-02-16 11:21:45 +01:00
Juergen Spitzmueller
76280b84db Fix URL documentation
It's not true that long URLs are not broken by default.
They are just broken only at certain characters, and this can be customized.

It's also not true that the font formatting cannot be customized.
2023-02-16 09:40:39 +01:00
Juergen Spitzmueller
62ea103662 Completion of Japanese classes, by Koji Yokota (#12658). 2023-02-16 08:59:27 +01:00
Pavel Sanda
74ed7a12a6 * UserGuide.lyx - add note about linebreaking URL via \usepackage{xurl}. 2023-02-15 18:29:45 +01:00
Daniel Ramoeller
04fc8b5e92 Wrong borders on Simple Grid/Grid with Head table template
Fix for #12505.
2023-02-11 12:07:24 +01:00
Juergen Spitzmueller
812ac64447 Fix moved examples's \origin 2023-02-10 16:31:33 +01:00
Juergen Spitzmueller
9784fd4214 Move some example files to proper location
Listen to Uncle Tarski and do not mixup meta and object language!
2023-02-10 16:24:10 +01:00
Juergen Spitzmueller
4f324cf46f Another cut an paste error 2023-02-10 14:11:03 +01:00
Juergen Spitzmueller
5c1b055b31 Clarify example file names
These are not about multilingual typesetting in general,
but about combining Japanese (as main language) with other scripts.
2023-02-10 14:04:21 +01:00
Juergen Spitzmueller
eca06b4273 Fix cut and paste error 2023-02-10 13:51:43 +01:00
Juergen Spitzmueller
3365012fe0 Add Armenian example file, originally by Günter Milde, extended by me (#10580) 2023-02-10 13:50:54 +01:00
Juergen Spitzmueller
93872e6fca Move language-specific examples in their own category
Also, give some files a more transparent name
2023-02-10 13:10:15 +01:00
Juergen Spitzmueller
f17bc84788 Remove acknowledgement theorem traces 2023-02-10 12:54:20 +01:00
Juergen Spitzmueller
afbbf42d60 Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103) 2023-02-10 12:11:07 +01:00
jpc
77ebd1dcdf Update French Tutorial (section 5.4) 2023-02-10 11:47:38 +01:00
Scott Kostyshak
bb9ef421fd Fix a layout error in newly added file
Fix the following terminal output:

  TextClass.cpp (850): Unable to remove counter: chapter
2023-02-08 13:11:34 -05:00
Scott Kostyshak
1ac7dfc174 Remove executable flag on some image files 2023-02-08 11:59:40 -05:00
Scott Kostyshak
ba264ec485 Fix layout font settings of newly added file
Change "TextFont" to "Font". This fixes the following terminal
errors when opening the file:

  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'TextFont' context: '']
  LyX: Unknown InsetLayout tag [around line 247 of file
  [layouts/jlreq-common.inc] current token: 'Family' context: '']
  LyX: Unknown InsetLayout tag [around line 248 of file
  [layouts/jlreq-common.inc] current token: 'Typewriter' context: '']
  LyX: Unknown InsetLayout tag [around line 249 of file
  [layouts/jlreq-common.inc] current token: 'EndFont' context: '']
2023-02-08 11:46:42 -05:00
Scott Kostyshak
afbf9dc6f7 Fix a \origin of newly added file 2023-02-08 11:30:59 -05:00
Scott Kostyshak
2d6341cdb4 Remove executable flag on newly added files 2023-02-08 11:30:55 -05:00
Juergen Spitzmueller
8820b0e441 Adapt documentation of Japanese classes 2023-02-08 11:27:20 +01:00
Juergen Spitzmueller
882f738792 Improve labeling of Japanese classes 2023-02-08 11:26:54 +01:00
Juergen Spitzmueller
83d281f81e Support for the JLReq class, by Koji Yokota (#12657) 2023-02-08 11:19:11 +01:00
Pavel Sanda
b920cb352e Two forgotten entries. 2023-02-06 21:48:16 +01:00
Juergen Spitzmueller
34b2b3b45f Remove acknowledgement theorems from docs 2023-02-05 14:38:51 +01:00
Juergen Spitzmueller
af2ebaf186 Re-fix translation 2023-02-05 12:16:18 +01:00
Juergen Spitzmueller
6e5b3a1e31 Properly fix acknowledgment issue part 2/2
Remove acknowledgment theorem types

As we have learned, these shouldn't have been added from the get go.

Documents having it get a local layout definition.
2023-02-05 12:07:37 +01:00
Juergen Spitzmueller
0ab6a5c6d6 Add forgotten case 2023-02-05 09:34:04 +01:00
Juergen Spitzmueller
ac6314b834 Properly fix acknowledgment issue part 1/2
Bump file format and convert/revert styles to unique spelling
2023-02-04 17:47:52 +01:00
Juergen Spitzmueller
9c33b588ba Fix typos 2023-02-01 19:05:32 +01:00
Juergen Spitzmueller
e8e3146e25 Amend ce7eb7734b
When a style is defunc'ed, defunc the obsoleted variant as well
2023-02-01 18:16:33 +01:00
Juergen Spitzmueller
ce7eb7734b Disambiguate Acknowledgment[[credits]] and Acknowledgment[[theorem]] 2023-02-01 16:24:16 +01:00
Juergen Spitzmueller
77fbd7be69 Amend 8d47ffd200
the AEA layout includes and modifies AMS extended
2023-02-01 12:55:37 +01:00
Pavel Sanda
60d0cc2611 * lib/layouttranslations
Revert part of the update. It needs manual check for the rest.
2023-01-31 20:59:00 +01:00
Juergen Spitzmueller
8d47ffd200 Acknowledgement > Acknowledgment 2023-01-31 07:39:27 +01:00
Scott Kostyshak
795d5c408d Fix more ja documents for LuaTeX/XeTeX + systemF
I used the following command inside the ja directories, and
confirmed the diff manually:

  git ls-files -z | xargs -0 sed -i -e 's/\\font_typewriter "default" "default"/\\font_typewriter "default" "IPAGothic"/'

These changes are consistent with 6656dd22.
2023-01-30 13:36:58 -05:00
Scott Kostyshak
479825fe09 Fix Embedded Objects comp with LuaTeX (systemF)
Thanks to Jürgen.
2023-01-30 12:22:25 -05:00
Scott Kostyshak
6656dd2275 Set typewriter fonts for ja docs
This fixes compilation with system fonts and LuaTeX for the Intro
and Customization manuals, although Embedded Objects still has an
error due to some preamble code.

Thanks to Jürgen.
2023-01-29 23:30:36 -05:00
jpc
203bd35c5b Update French Customization manual for 2.4 2023-01-29 18:33:50 +01:00
Juergen Spitzmueller
255f3c72fa Update module descriptions 2023-01-28 18:26:59 +01:00
Juergen Spitzmueller
1b42d800a3 fix glitch in index reversion 2023-01-28 17:06:35 +01:00
Juergen Spitzmueller
729af37dfe de/Additional: finish revision 2023-01-28 16:26:38 +01:00
Juergen Spitzmueller
7eafea43e3 Additional.lyx: further fixes #7 (last one) 2023-01-28 16:18:48 +01:00
Juergen Spitzmueller
b66a6dba43 lyx2lyx: fix convert_totalheight method
This didn't account for float values
2023-01-28 10:16:54 +01:00
Pavel Sanda
5aaefca279 * english LaTeXConfig.lyx update from Koji 2023-01-26 01:27:01 +01:00
Pavel Sanda
4b5a6deb15 * UserGuide.lyx from Koji 2023-01-26 01:02:28 +01:00
Pavel Sanda
2b514a9215 * Tutorial.lyx from Koji 2023-01-26 01:01:40 +01:00
Pavel Sanda
2bf401e597 * Shortcuts.lyx from Koji 2023-01-26 01:00:12 +01:00
Pavel Sanda
6b7737ad29 * MergedManuals.lyx from Koji 2023-01-26 00:59:18 +01:00
Pavel Sanda
0a8cf8cf52 * Math.lyx from Koji 2023-01-26 00:58:29 +01:00
Pavel Sanda
26e5a027ed * Math.lyx from Koji 2023-01-26 00:57:28 +01:00
Pavel Sanda
b4dcb804c1 * Intro.lyx from Koji 2023-01-26 00:56:29 +01:00
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