Commit Graph

9527 Commits

Author SHA1 Message Date
Scott Kostyshak
f11e9adf8a Implement commenting for CREDITS file
The reader of CREDITS (GuiAbout.cpp) now ignores lines that start
with the number sign (#). This commit also introduces a commented
out header in CREDITS reminding any potential editor that all
changes will be overwritten by generate_contributions.py.
2019-08-14 22:09:42 -04:00
Scott Kostyshak
792f428230 Port CREDITS changes to source
All changes must be in generate_contributions.py.

This commit amends 144e5189.
2019-08-14 19:28:53 -04:00
Scott Kostyshak
144e5189c5 CREDITS: remove errant ">" from two addresses 2019-08-14 13:10:24 -04:00
Joel A. Kulesza
29b725afa1 Correct typo in contributor email address 2019-08-14 12:57:18 -04:00
Juergen Spitzmueller
4b0069860c InsetGraphics: use totalheight for height output
Graphics "height" is only the height above the baseline and thus not
what most people will expect. Also, using height can result in a
division by zero with rotation.

Use totalheight now since this means "height of the figure" (independent
of the baseline).

The custom options field can be used if height is really desired.
We handle this in conversion/reversion, respectively, so document
output will not change.

Hence, file format change.

Fixes: #9676
2019-08-14 16:55:43 +02:00
Juergen Spitzmueller
1929caf4b7 Re-fix #2005
Loading keyval does not work any longer. Fix it properly by de-activating
the equal character locally if graphics options use it.
2019-08-14 14:49:38 +02:00
Juergen Spitzmueller
f995fba310 Fix cprotect with Slovak
babel-slovak makes ^ active, though cprotect relies on it being
catcode 9 ("ignored"). Thus we locally change the catcode with Slovak.
2019-08-14 14:00:29 +02:00
Juergen Spitzmueller
ce447e1760 Deactivate active - in tables with \cline or \cmidrule
This introduces a new languages tag ActiveChar which also can be used
for similar cases.
2019-08-14 13:10:42 +02:00
Juergen Spitzmueller
3a3a27447b Fix another dead ref 2019-08-13 12:31:34 +02:00
Juergen Spitzmueller
4926460456 Fix another dead ref 2019-08-13 12:25:30 +02:00
Juergen Spitzmueller
f0dd7370df Fix documents 2019-08-13 12:18:50 +02:00
Juergen Spitzmueller
0dd5824b43 Support memoir's builtin endnotes 2019-08-13 10:38:26 +02:00
Juergen Spitzmueller
d0379db1aa Localize endnotes header (with endnotes.sty) 2019-08-13 10:13:32 +02:00
Juergen Spitzmueller
a8871e5418 Typo 2019-08-13 07:55:21 +02:00
Juergen Spitzmueller
8abe7b25e8 Add support for the enotez package
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.

As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Juergen Spitzmueller
28796bcb63 lyx2lyx: remove landscape module in reversion 2019-08-13 07:29:07 +02:00
Juergen Spitzmueller
2a07efa6f7 lyx2lyx: fix del_module method 2019-08-13 07:28:12 +02:00
Scott Kostyshak
73afc41e5e Fix clipart path for nl Tutorial
The absolute path from the translator was accidentally used
(bbdee57e).

The document now compiles.
2019-08-12 22:19:46 -04:00
Juergen Spitzmueller
1ed5aa3a3e Update layout formats 2019-08-12 14:54:52 +02:00
Juergen Spitzmueller
d61f722080 foottoend.module: no need to tinker with redefinitions
when we just can output what we want right away.
2019-08-12 14:48:21 +02:00
Juergen Spitzmueller
229052b29a Extend endnotes support
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT

File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
cbfce678d8 Add Requires to float definition. 2019-08-12 12:18:28 +02:00
Juergen Spitzmueller
673e5fed51 Typo 2019-08-09 08:05:11 +02:00
Juergen Spitzmueller
006f1cbe43 update layout formats 2019-08-07 17:10:58 +02:00
Juergen Spitzmueller
0b7305024a Use generic paper size names rather than LaTeXisms such as "letterpaper"
This allows to support classes that don't use the Xpaper wording.

Add support for KOMA font (keyval) syntax on top of that.

Also support class-specific font and paper sizes in tex2lyx.

File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
1386a3d8fd Allow for multiple use of same key in qualified citation lists
File format change

Fixes: #11618, #11632
2019-08-07 13:00:29 +02:00
Juergen Spitzmueller
af7f2e9f58 Add default page size to KOMA layout 2019-08-06 20:01:07 +02:00
Juergen Spitzmueller
7ff1a5738e update layout formats 2019-08-06 19:34:43 +02:00
Juergen Spitzmueller
9f61c8d4af Add more fontsizes to KOMA classes.
Theoretically, KOMA supports any font size. We add a sensible range.
2019-08-06 19:29:18 +02:00
Juergen Spitzmueller
50abaa0e57 Add FontSizeFormat textclass option
This allows to customize the way fontsizes are passed to the class (e.g.,
"fontsize=12", as used by KOMA, rather than "12pt").
2019-08-06 19:27:49 +02:00
Juergen Spitzmueller
b01075469d Add more page sizes to KOMA and memoir 2019-08-06 18:18:37 +02:00
Juergen Spitzmueller
c6f262a5b7 Add textclass options for paper size selection and default paper size
Fixes: #4506

Implementing this to the classes requires file format changes, as the
classes' page layout will likely differ from geometry's.
2019-08-06 17:34:16 +02:00
Juergen Spitzmueller
65c1ae8133 Fix interplay of memoir and geometry
Fixes: #10970
2019-08-05 19:01:48 +02:00
Pavel Sanda
992fe6561e Additional manual - few updates about VCS info inset from Joel and me. 2019-07-29 13:36:15 +02:00
Pavel Sanda
a6634f5bb3 git VCS: add support for short hashes in inset info ("Abbreviated revision").
Fixes bug #11620.

Patch from Joel Kulesza.
2019-07-28 22:01:17 +02:00
Richard Kimberly Heck
4597622ce5 Fix typo 2019-07-25 00:05:21 -04:00
Juergen Spitzmueller
6c2a0c6b37 Correct visual/logic cursor description 2019-07-23 07:36:53 +02:00
Jean-Marc Lasgouttes
bcd998c1eb forgot this 2019-07-22 15:48:28 +02:00
Jean-Marc Lasgouttes
2898c335be Add mechanism to change icons in RTL mode
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

To fix this, the lfun "bidi" is introduced. "bidi ltr func" behaves
like "func" in LTR text, but is unknown in RTL text. "bidi rtl" does
the opposite. This allows to add two icons, but only have one icon
available. When no document is available, only LTR is assumed.

To make this work, the handling of unknown functions in toolbar has
been changed so this these functions can change dynamically their
existence.

The icon themes `default', `oxygen' and `classic' have been updated
accordingly.

Fixes bug #4451.
2019-07-22 15:20:38 +02:00
Juergen Spitzmueller
55465142ff UserGuide: decimal separator updates. 2019-07-22 08:13:45 +02:00
Juergen Spitzmueller
2b41bf22a9 de/UserGuide: correction 2019-07-21 17:59:53 +02:00
Juergen Spitzmueller
f47e5ea24b UserGuide: update prefs language documentation 2019-07-21 14:37:41 +02:00
Uwe Stöhr
ebf42d9b10 Fancy_Colored_Boxes.lyx: add section about references
is a user request
2019-07-21 01:27:43 +02:00
Jean-Marc Lasgouttes
c293be56bd Rename frontend qt4 to qt
In particular, the directory frontends/qt4 is renamed to frontends/qt.

Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.

The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00
Jean-Marc Lasgouttes
c476c3766c Add a pref to disable OS keyboard language support
By default, the behavior is the same as before, except that the
language of new document is not unconditionally en_US anymore.

The new checkbox "Respect OS keyboard language" (off by default)
governs this behavior.

Update prefs format to 30.
2019-07-20 12:57:16 +02:00
Juergen Spitzmueller
a7d9982bfc Add missing GuiName 2019-07-20 06:58:30 +02:00
Juergen Spitzmueller
433de6f461 More latexfonts fixes
Adobe is not part of the font name
2019-07-18 18:53:27 +02:00
Juergen Spitzmueller
9108c75fa5 latexfonts: more minor fixes 2019-07-18 18:49:42 +02:00
Juergen Spitzmueller
850c5a3d55 Support for CrimsonPro 2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
d6ce4abd40 Amend 212314ada7 2019-07-18 09:08:24 +02:00
Juergen Spitzmueller
212314ada7 Merge the two noto regular fonts
These are actually the same font and shape, so no need for two entries
2019-07-18 08:41:00 +02:00
Juergen Spitzmueller
2e07502c8b Regular series is default 2019-07-18 08:26:59 +02:00
Juergen Spitzmueller
777a2a9baa Remove Plex Semibolds
These are not font shapes proper. The semibold is to be combined with
font shapes and thus needs to go to extra options.
2019-07-18 08:14:09 +02:00
Juergen Spitzmueller
fad3378864 Missing renames 2019-07-18 07:10:31 +02:00
Kornel Benko
91ff5c4198 Rename packageoption->packageoptions
This reflects the description in latexfonts
2019-07-17 18:52:58 +02:00
Kornel Benko
7515648774 AmendI2) e9c0d48d. Remove unneded entries,
Thanks Jürgen
2019-07-17 18:27:06 +02:00
Kornel Benko
a45759cdb4 Amend e9c0d48d
Forgotten to commit lyx_2_4.py
2019-07-17 18:03:31 +02:00
Kornel Benko
e9c0d48d58 Add sans serif font series "Chivo" 2019-07-17 18:02:22 +02:00
Jean-Marc Lasgouttes
10379aba7a Remove layout_xxx icons
These have been superceded by lyx-toggle_xxx icons.

Part of bug #9864.
2019-07-15 23:48:15 +02:00
Jean-Marc Lasgouttes
f1c5587add Improve description of smallmatrix
I did not notice there was already something about it.
2019-07-15 23:36:04 +02:00
Günter Milde
b9cc642856 Fix encoding issues with configuration under Python 3.
The part of the configure.py script that runs only when
there is no user ~.lyx/ directory failed under Python 3.
2019-07-15 18:10:01 +02:00
Jean-Marc Lasgouttes
25fce652fb Document smallmatrix (with change tracking) 2019-07-15 14:17:22 +02:00
Juergen Spitzmueller
3c716cc300 Add support for the Fira family of fonts
This is a beautiful and feature rich sans and monospaced font family
designed by Erik Spiekermann and reminiscent to his famous (and
commercial) FF Meta.
2019-07-15 13:32:31 +02:00
Juergen Spitzmueller
b1bdc75a10 Remove another unneeded AltFont 2019-07-15 12:51:09 +02:00
Juergen Spitzmueller
b6dc8c8a4a Put font series in parentheses
This is how we've done it until these new fonts have been added
2019-07-15 12:49:29 +02:00
Kornel Benko
1faef77458 Add support for cantarell font 2019-07-15 12:43:32 +02:00
Juergen Spitzmueller
989b5b9c9b lyx2lyx: Support conversion of fonts from preamble with extra opts 2019-07-15 10:34:19 +02:00
Juergen Spitzmueller
f404b57de2 Remove unneeded AltFont
Also Remove "Sans Serif" specifier from font name, as this s obvious
from the GUI (and there is no other Cantarell type anyway).
2019-07-15 08:02:11 +02:00
Juergen Spitzmueller
6e88579c56 Fix cantarell conversion 2019-07-15 07:11:43 +02:00
Juergen Spitzmueller
fada053c72 Fix copy/paste error 2019-07-15 07:11:27 +02:00
Juergen Spitzmueller
70167007e4 Fix cantarell reversion
conversion still needs work
2019-07-15 06:34:28 +02:00
Pavel Sanda
1d56ea325a layouttranslation: this part slipped in without intention 2019-07-15 00:36:02 +02:00
Pavel Sanda
321923444a nl reviewed by Niko. 2019-07-14 23:22:38 +02:00
Pavel Sanda
b8c5aabc0f layouttranslation reviewed for nl by Niko 2019-07-14 23:21:02 +02:00
Kornel Benko
97a099b137 Add sans serif font "cantarell" 2019-07-14 21:44:58 +02:00
Juergen Spitzmueller
2ceeb9e0b3 Handle remaining TeX fonts wrt MoreOptions
Closes #11615
2019-07-14 15:08:01 +02:00
Juergen Spitzmueller
ef39cde0ad latexfonts: add comment. 2019-07-14 12:08:53 +02:00
Juergen Spitzmueller
dcf06fdb22 Split osf options to families
Nowadays we support sf and tt fonts with osf options, so this needs to
be selectable separately.

File format change.
2019-07-14 11:41:36 +02:00
Juergen Spitzmueller
996079de49 Remove cantarellMS font
This seems to have slipped in by accident at [6ca8238cb8a/lyxgit]

The necessary file format change etc. was not done.
2019-07-14 11:31:43 +02:00
Juergen Spitzmueller
509551cae0 More osf (texfont) fixes 2019-07-14 09:09:46 +02:00
Juergen Spitzmueller
655cb7073d Bring back accidentally removed option 2019-07-13 18:24:07 +02:00
Juergen Spitzmueller
89f9bab0f0 Properly handle osf in noto and adobe source fonts 2019-07-13 17:34:55 +02:00
Juergen Spitzmueller
04c2594c82 Support MoreOptions for IBM Plex, Noto, and Adobe Source fonts 2019-07-13 14:55:59 +02:00
Juergen Spitzmueller
e8d8716735 recode file in utf8 2019-07-13 12:08:41 +02:00
Juergen Spitzmueller
9e3e09d786 Russian doc updates by Yuriy 2019-07-13 09:50:48 +02:00
Juergen Spitzmueller
2d26def78a Remove broken information about loaded hyphenation patterns and add FIXME 2019-07-13 09:42:04 +02:00
Juergen Spitzmueller
88460b2398 Minor doc updates. 2019-07-13 08:51:14 +02:00
Juergen Spitzmueller
003d675c2f Use \babelfonts only if babel >= 3.15 is available. 2019-07-13 08:42:42 +02:00
Günter Milde
c09a693d24 Update release notes, correct comment. 2019-07-12 20:30:22 +02:00
Pavel Sanda
2e6163f075 Update lib/layouttranslation after nl update 2019-07-12 11:48:17 +02:00
Juergen Spitzmueller
c3c2815092 Implement support for font options
This revives a patch by Uwe and extends it. Additional options to font
packages/fontspec can now be entered in Document Settings.
This is principally also true for TeX fonts, if the new TeXFont tag
MoreOptions is set. For the time being, I have only done this for
MinionPro, as a model and prove of concept.

Note that adding more TeXFonts requires a file format change,
respectively, and changes to tex2lyx (in the same way as I've done for
MinionPro).

This addresses #8226
2019-07-11 20:28:34 +02:00
Juergen Spitzmueller
cb5bd87e9c Add support for \babelfont
This is a higher-level (non-TeX) font interface of babel that draws on,
but is supposed to be used rather than, fontspec with babel and XeTeX/
LuaTeX.

File format change.

Addresses: #11614
2019-07-11 13:21:32 +02:00
Juergen Spitzmueller
0922aa0072 Update Russian Tutorial
by Yuriy
2019-07-09 16:16:29 +02:00
Juergen Spitzmueller
88c1aaf444 Bump layout formats 2019-07-08 16:21:31 +02:00
Juergen Spitzmueller
13b6632228 Add TextClass option BibInToc
Fixes #1889
2019-07-08 15:40:17 +02:00
Günter Milde
110247f0b7 lyx2lyx refactoring 2019-07-07 23:33:27 +02:00
Günter Milde
e829c97f91 Fix lyx2lyx.
Wrong number in the "revert" list,
Missing integer in "Provides" tag of local layout.
2019-07-07 21:24:34 +02:00
Günter Milde
8556cb1c66 fix layout2layout with stdin/out for Py3.
sys.stdin and sys.stdout expect a Unicode string,
with bytes we must use sys.std(in|out).buffer.
2019-07-07 20:37:12 +02:00
Günter Milde
0d49918c0c Refactor lyx2lyx for speed and simplicity. 2019-07-07 19:32:41 +02:00
Günter Milde
a483fff07d Add missing backslash escapes. 2019-07-07 19:32:41 +02:00