Commit Graph

2971 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Pavel Sanda
992fe6561e Additional manual - few updates about VCS info inset from Joel and me. 2019-07-29 13:36:15 +02: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
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
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
Juergen Spitzmueller
850c5a3d55 Support for CrimsonPro 2019-07-18 10:50:46 +02:00
Kornel Benko
e9c0d48d58 Add sans serif font series "Chivo" 2019-07-17 18:02:22 +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
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
Kornel Benko
1faef77458 Add support for cantarell font 2019-07-15 12:43:32 +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
Juergen Spitzmueller
0922aa0072 Update Russian Tutorial
by Yuriy
2019-07-09 16:16:29 +02:00
Juergen Spitzmueller
13b6632228 Add TextClass option BibInToc
Fixes #1889
2019-07-08 15:40:17 +02:00
Juergen Spitzmueller
bbdee57e81 Dutch doc updates by Niko 2019-07-06 15:49:16 +02:00
Juergen Spitzmueller
94654b3586 Linguistics: add support for Discourse Representation Structures
File format change
2019-06-23 12:59:56 +02:00
Jean-Marc Lasgouttes
9bf3e7b045 Document the new autocorrect behavior 2019-06-12 13:54:03 +02:00
Günter Milde
bab2316092 ctests Arabic: mark non-Arabic text parts as English, fix inversion pattern. 2019-06-03 16:58:10 +02:00
Juergen Spitzmueller
d2b6232ce7 Fix lineno options param
This has been written even if empty -- and thus caused reading errors.
2019-06-02 19:07:01 +02:00
Juergen Spitzmueller
c7efb677f8 New InsetLayout tag ParbreakIgnored
This effectively allow paragraph breaks in insets only for cosmetic
reasons (e.g., to align contents on different lines).

This is the last change necessary for an enhanced covington gloss support
(which uses the new covington gloss ui)
2019-06-02 18:16:30 +02:00
Juergen Spitzmueller
9e6d22ea9c Add InsertOnNewline argument tag
This adds a paragraph break before auto-inserting arguments in flex
insets.

Useful for specific arguments (particularly ling glosses)
2019-06-02 18:07:10 +02:00
Juergen Spitzmueller
9f04eeae03 Support FreeSpacing in InsetArgument 2019-06-02 16:33:06 +02:00
Juergen Spitzmueller
a3780f8939 Rename List/TOC menu item 2019-05-31 15:46:58 +02:00
Juergen Spitzmueller
80aa29d53e Correct German localization
List in the context of TOC, LOF, LOT etc. is not "Liste", but
"Verzeichnis"
2019-05-30 11:47:54 +02:00
Günter Milde
2ea92342b7 Make doc/UserGuide.lyx independent of French and Spanish language LaTeX support. 2019-05-25 15:32:24 +02:00
Pavel Sanda
c29f0d21cd UserGuide.lyx - few notes for lineno. 2019-05-23 16:15:38 +02:00
Günter Milde
65ec404eb3 Format incremented to 574: Ruby inset, fixes for Japanese.
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Juergen Spitzmueller
6a1d8ef917 Doc updates 2019-05-12 09:26:53 +02:00
Juergen Spitzmueller
d93d65e688 UserGuide: update encoding documentation 2019-05-11 20:09:51 +02:00
Günter Milde
cb3e79f9a0 Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
Günter Milde
46119b3564 Make Japanese documentation more robust.
The locally defined Ruby (furigana) inset now
works also with non-TeX fonts.
2019-05-07 16:16:35 +02:00
Günter Milde
de00cd31c5 Prevent auto-loading of package bookmark with KOMA-classes for Japanese documents.
Bookmark clashes with platex leading to errors for Postscript and PDF (ps2pdf) output.
2019-05-05 18:19:46 +02:00
Günter Milde
1cabb18ff7 Fix a table in Hebrew documentation.
The "outer" language of the table was set to English leading to wrong output
(swapped columns and words with non-TeX fonts, wrong characters with TeX-fonts).
2019-05-02 12:08:25 +02:00
Günter Milde
abf342d7f5 Hebrew support: use non-TeX fonts for documentation and templates and HE8 as tex font encoding default. 2019-04-29 14:11:36 +02:00
Günter Milde
9fdae0d84c Use utf8 inputencoding for Russian documentation.
Solves errors with luatex and enables compilation with xetex.
Add dedicated test document for the errors with auto-legacy and xe/luatex.
2019-04-28 22:45:51 +02:00
Günter Milde
e84f6dff77 Fixes for Japanese documents
PDF outline improves with unicode/utf8 (although some chars still wrong).

Math: ERT for umlauts no longer required (now force-converted with unicodesymbols)
2019-04-26 23:02:44 +02:00
Günter Milde
a0c034c29a Use Latin Modern for non-Hebrew parts of Hebrew documentation. 2019-04-24 12:57:28 +02:00
Günter Milde
e4881633ec Set inputenc for Spanish documentation to utf8
Works around a bug in Spanish-Babel that led to wrong output with LuaTeX and TeX fonts.
2019-04-20 21:39:49 +02:00
Günter Milde
15b7ea4828 ctest and documentation update
Thai works fine with LuaTeX, TeX-fonts and auto-legacy input encoding.

Remove obsolete preamble code,
we now load "fontenc" with Japanese documents by default.
2019-04-20 21:39:49 +02:00
Juergen Spitzmueller
a8947c3099 Adapt documentation of natbib use with bibitem 2019-04-19 10:15:16 +02:00
Juergen Spitzmueller
70b3d3adcc Add NewlineCmd InsetLayout and Argument option
This allows to specific an alternative macro for newlines

Fixes: #10407
2019-04-18 11:35:03 +02:00
Juergen Spitzmueller
ed44bbddee Add MenuString to InsetLayout
Fixes: #8818
2019-04-18 10:27:19 +02:00
Günter Milde
357a8bedbf ctest fixes. 2019-04-17 13:37:26 +02:00
Günter Milde
27ba6f282d Rename legacy input encoding settings.
Format incremented to 573
2019-04-16 20:17:32 +02:00
Günter Milde
90a26eabe7 ctests: fix some test failures reported by Kornel. 2019-04-13 17:55:38 +02:00
Günter Milde
0e11914929 Set non-TeX fonts supporting Japanese in Japanese documents. 2019-04-12 18:08:17 +02:00
Günter Milde
f838b4fb18 platex fixes.
* Force unicodesymbols conversion for all *-platex input encodings,
* except some characters that work well in utf8.
* Use platex if document language is "japanese" and input encoding is "utf8".
2019-04-11 01:43:44 +02:00
Günter Milde
32ce4fe4e4 Use LatinRoman for Latin text parts in Japanese documentation. 2019-04-10 13:22:51 +02:00
Juergen Spitzmueller
b5af05b4a7 Make module categories (almost) great again
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.

Note that this is work in progress: the current categories are still
subject to change.

The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)

As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
2019-04-04 18:43:29 +02:00
Juergen Spitzmueller
4d3ee3b560 Some doc updates 2019-04-03 18:17:40 +02:00
Juergen Spitzmueller
8033cd9a9a Update (formal) table documentation 2019-04-03 15:16:27 +02:00
Kornel Benko
780fd81a67 Amend 0b295819: Fix some non-accessible URLS
Thanks Jürgen
2019-03-31 11:00:02 +02:00
Kornel Benko
0b29581905 Fix some non-accessible URLS
Also don't check attic, devel or obsolete files
Not found good replacements for
        http://texcatalogue.ctan.org/bytopic.html
        http://www.tiresias.org/research/reports/braille_cell.htm
2019-03-31 00:15:52 +01:00
Juergen Spitzmueller
4b3aacd13b Add TableStyle layout tag
Fixes: #8360
2019-03-26 17:42:56 +01:00
Juergen Spitzmueller
4bd4bfb34c centralize attic 2019-03-26 15:41:32 +01:00
Kornel Benko
0752a263a0 Cmake export tests: some testnames corrected
Also don't use tex gyre fonts, use dejavu instead
2019-03-26 15:11:10 +01:00
Kornel Benko
226e0bb2b7 Some more tests which are not failin anymore
About 100 less, still remaining about 200
2019-03-25 19:32:59 +01:00
Juergen Spitzmueller
2860266e30 remove buildlyxdir again
per request
2019-03-25 16:46:04 +01:00
Juergen Spitzmueller
aed6755f59 Update \origin specifications 2019-03-24 17:34:29 +01:00
Juergen Spitzmueller
8edd7c375e Tutorial, UserGuide: Adapt wrt new templates/examples UI 2019-03-23 16:25:14 +01:00
Günter Milde
4130ab15c6 Fix inputencoding for documentation, examples, and templates.
* "platex" fails with "inputencoding default", if there is text in other languages.
  "jis-platex" works fine, "jis-utf8" fails with German Umlauts (maybe more).

* The expert setting "inputencoding default" switches the inpute encoding
  with language switches without marking this in the LaTeX source.
  It is rarely required (if ever) and makes documents easy to break.

  It is not required for AMS Books, Simple CV, ... (probabely a tex2lyx issue).
  "utf8" and "auto" work fine.
2019-03-22 08:41:55 +01:00
Scott Kostyshak
7f73e01dde Development.lyx: s/splash.lyx/Welcome.lyx/g
This follows d3ec77c6.
2019-03-19 23:01:42 -04:00
Juergen Spitzmueller
8b92a2a689 Add NeedMBoxProtect [inset]layout option
This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.

This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.

So now it is possible to properly support ulem and soul via
[inset]layout

Fixes a case reported in #9404
2019-03-12 14:08:05 +01:00
Günter Milde
cc84fa6173 unicodesymbols: Use \r{A} instead of \AA for "Latin letter A with ring" and "Ångström sign".
Xe/LuaTeX convert \AA to the deprecated character u212B (which is missing
in the default LatinModern font) instead of the recommended u00C5.

Also fix some of the "missing character" errors in Math.lyx if compiled with
Xe/LuaTeX which were caused by the replacement of \AA with literal u212B characters
in math-insets due to the old definitions in unicodesymbols.

Update the minimal example for failures of Math.lyx with system fonts.
2019-03-08 18:36:56 +01:00
Günter Milde
ff8cec5ea5 ctests: Problem with auto-date for Ukrainian with Xe/LuaTeX and TeX fonts.
New bug in TeXLive 18.
Missing characters with XeTeX and wrong characters with LuaTeX.

Also:
* Remove spurious (Latin) characters from uk/Intro.lyx
* "wrong-output" tag for Cyrillic documents with XeTeX and TeX fonts.
2019-03-04 16:22:00 +01:00
Günter Milde
fd106637be ctest and documentation update
The special test "arabic_simple.lyx" is no longer required,
"examples/ar/splash.lyx" works with 8-bit fonts now.

Update tagging patterns and comments.
2019-03-04 00:04:04 +01:00
Jean-Marc Lasgouttes
6293bdbb5a DEPM: document that Freespacing implies KeepEmpty. 2019-02-18 15:36:21 +01:00
Scott Kostyshak
1cc6c5055a Intro.lyx: remove a "short title"
This short title removed a spaced, and when taking a look we decided
that the advantages of removing it (simplicity and consistency)
outweigh the benefits of having a shorter entry in the table of
contents and PDF bookmarks.
2019-02-15 12:20:50 -05:00
Günter Milde
251161db89 ctests: "Uninvert" IEEE tests with non-TeX fonts. Fix missing characters.
Documents used deprecated or lookalike characters missing in
Latin Modern system fonts:

Customization.lyx: "figure dash" instead of "emdash".
revtex4-1: "Angstrom sign" instead of "latin letter A with ring".
2019-02-14 01:06:57 +01:00
Günter Milde
1879fbedfb ctest update: Set non-TeX fonts in documents, update comments and tags. 2019-02-13 10:34:18 +01:00
Günter Milde
fc0ab1283c Check for CJK instead of CJKutf8.
The specific test was introduced in ef6be5f4 because
CJKutf8 was relatively new (cf. lyx.org/trac/ticket/5386).

10 years on, CJKutf8 is an established part of the CJK bundle
and we can skip the special test for CJKutf8 to make the logic
considerabely simpler to read, maintain and debug.
2019-02-05 11:31:27 +01:00
Günter Milde
fa344b9a36 Use "ctex" default fonts (FandongSol) with Xe/LuaTeX.
The default fonts provide a good match to LatinModern and
closer similarity to the look with 8-bit TeX fonts.

Also replace a box-drawing character in a heading with an em-dash.
2019-01-29 22:44:11 +01:00
Günter Milde
46f5acb19c Chinese localization in user preamble using "ctex" with non-TeX fonts
https://tex.stackexchange.com/questions/17611/how-does-one-type-chinese-in-latex

TODO: use "ctex" if the document language is Chinese.

Remove "\clearpage" workaround from documents
(not required after fix for #5386 in [5ebc0b3f432f468/lyxgit]).
2019-01-29 22:31:58 +01:00
Günter Milde
d6aec0dd33 Fix line breaking, punctuation kerning and font switching with non-tex-fonts
Use "luatexja" or "xeCJK" with non-tex fonts in
Japanese and Chinese example documents.
2019-01-28 22:11:43 +01:00
Günter Milde
67ed1ec03a ctests: fix system font setup for some CJK documents 2019-01-25 16:51:59 +01:00
Günter Milde
197735747e Support for documents in other scripts with parts in CJK scripts.
Fix CJK support for documents using input-encoding "utf8-cjk"
when the main language is not Chinese, Korean, or Japanese.
2019-01-24 00:40:51 +01:00
Scott Kostyshak
c40528f634 Development.lyx: check that PDF is good before inv
Before uninverting a test, we should check that the PDF looks
correct.
2019-01-14 12:42:38 -05:00
Scott Kostyshak
fe2dc0887d Development.lyx: remove an unmatched parenthesis 2019-01-14 12:42:01 -05:00
Günter Milde
41c115aa48 Use LatinModern fonts for Greek documentation Intro.
Since some years, the LatinModern 8-bit fonts work well with Greek,
using the high quality CB-Fonts as substitution (just as ComputerModern).
2019-01-09 10:35:08 +01:00
Richard Kimberly Heck
fc14f23b89 New layout file for American Mathematical Monthly.
From John Perry. See bug #10803.
2018-12-29 11:48:38 -05:00
Juergen Spitzmueller
692e8ba04b Some more documentation 2018-12-27 14:46:22 +01:00
Juergen Spitzmueller
0f4fcb80ee Another doc update 2018-12-27 11:10:20 +01:00
Juergen Spitzmueller
bb73e93af7 Update documentation 2018-12-27 10:41:10 +01:00
Richard Kimberly Heck
ceac7dd848 Typo. 2018-11-29 18:41:38 -05:00
Richard Kimberly Heck
e5fc7327e3 Extend fix for #7404 to allow any inset collapsible to be edited
externally.
2018-10-04 13:41:41 -04:00
Juergen Spitzmueller
9792a15141 Customization: use info-inset for layout format 2018-09-20 11:34:44 +02:00
Juergen Spitzmueller
ed61ce74b7 So long, date-insert!
This function is superseded by info-insert date, which is much mightier
and more flexible.
2018-08-20 09:25:22 +02:00
Juergen Spitzmueller
b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00
Juergen Spitzmueller
369f55d959 Doc update 2018-08-07 15:25:04 +02:00
Juergen Spitzmueller
53f699561d de/UserGuide: update 2018-08-05 16:32:40 +02:00
Juergen Spitzmueller
8536fc1dfa Basic field documentation 2018-08-05 11:18:24 +02:00
Juergen Spitzmueller
3fde6b5ecc Minor doc tweaks/corrections 2018-07-08 12:38:56 +02:00
Juergen Spitzmueller
e6e3777363 Add support for bib files encoding
File format change.

Fixes: #6223
2018-07-07 15:25:35 +02:00
Juergen Spitzmueller
67de09b51e Remove entry for obsolete class. 2018-07-06 10:12:51 +02:00
Juergen Spitzmueller
73e0a6c4d5 Update elsarticle entry in LaTeXConfig 2018-07-05 19:28:56 +02:00
Juergen Spitzmueller
981e76a02c Fix typo 2018-07-05 17:49:46 +02:00
Juergen Spitzmueller
68f6c671c5 Fix another encoding problem in ja/ 2018-07-03 12:37:25 +02:00
Juergen Spitzmueller
1a96b0d184 Fix input encoding issue with German example text
pLaTeX requires SJIS encoding, so only ASCII latin is possible.
2018-07-03 11:31:39 +02:00
Juergen Spitzmueller
9dcb24d578 Support varwidth's V tabular column type
This effectively enables linebreaks, multipars and layout changes in
non-fixed width (i.e., standard) table columns.

Fixes: #6577

TODO: metrics are wrong (too wide) on screen with linebreaks.
2018-07-01 19:18:38 +02:00
Juergen Spitzmueller
f38816bf16 Add support for tabularx/xltabular
I.e., variable width columns in single and multiple page tables

Files format change.

Fixes: #4154, #4155
2018-06-24 10:05:15 +02:00
Juergen Spitzmueller
bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00
Juergen Spitzmueller
5007bc0fb1 Document float alignment settings 2018-05-11 12:59:26 +02:00
Juergen Spitzmueller
e17498d90c Correct German translation
"Benutzerdefiniert" means "user defined", which is not what "custom"
means here (custom insets/text styles are usually not user defined,
but provided by a class/module).
2018-05-08 08:38:44 +02:00
Juergen Spitzmueller
3313e7d0ab Separate Text Styles and Text Properties 2018-05-08 07:46:53 +02:00
Juergen Spitzmueller
de8302523b Document nospellcheck 2018-05-07 09:28:55 +02:00
Juergen Spitzmueller
653bbd27fe UserGuide: Reset > Default 2018-05-07 09:14:55 +02:00
Juergen Spitzmueller
4c8883b0e1 UserGuide: Adapt to new character dialog.
Also differentiate more between (semantic) Character Styles and (formal)
Text Properties.
2018-05-06 14:17:28 +02:00
Günter Milde
94c97feb76 Use combining accents instead of ERT for accented cyrillic letters.
Combining accent charactrs were not supported at the time the Russian
documentation was written. Eventual display problems with some GUI
fonts are still less distracting  than ERT.
2018-05-04 15:29:56 +02:00
Scott Kostyshak
0d1b981b2b MergedManuals.lyx: remove example files in Note
A Note inset contained two example files. The linguistics example
file caused terminal messages like

  step: Counter does not exist: examplei

An alternative to removing the example file would be to add the
module, but it is not clear we want example files in the merged
file anyway.
2018-05-02 11:08:51 -04:00
Juergen Spitzmueller
efd29cc200 Fix link 2018-05-01 13:30:26 +02:00
Juergen Spitzmueller
0a68c7cb3c de/EmbeddedObjects: make compilable with utf8 encoding 2018-05-01 07:04:15 +02:00
Juergen Spitzmueller
444461e294 When using ERT for accent in Russian docs, embrace base character
Otherwise utf8 inputenc chokes.

It is also possible to enter those accented chars directly, but this
results in display problems in the workarea (the line is shifted downwards).
2018-04-30 18:33:27 +02:00
Kornel Benko
b91bc7d602 Correct graphical reference 2018-04-27 10:54:38 +02:00
Juergen Spitzmueller
389352b3fb Add optional flavor flag to needaux
Also, use latex flavor if no flag is given rather than default output
format

Fixes: #9127
2018-04-25 13:51:40 +02:00
Juergen Spitzmueller
26ea1e1496 Align fontenc with document fonts
Following a request by Günter, we consider the document fonts (only rm
for now) when selecting an appropriate font encoding.

See #9741

The new default font encoding setting "auto" does

* consider the font encoding needed by the language(s), which can now
  have fallback alternatives
* Consider which font encoding is provided by the document font

Thus, cm now will result in OT1 fontenc, if the language can deal with
that.

The font_enc pref is ditched: it is no longer needed.

The automatism is still very basic and is subject to extension.

File format and prefs format change.
2018-04-22 19:06:46 +02:00
Juergen Spitzmueller
2822d91224 Typo
Thanks, Pavel!
2018-04-18 16:51:24 +02:00
Juergen Spitzmueller
97e1806c4a Add a floating landscape inset 2018-04-18 16:20:19 +02:00
Juergen Spitzmueller
feab528fd1 Add support for rotated longtabulars (via [pdf]lscape)
Fixes: #9194

See #9194 for why we use an earlier file format change here.
2018-04-18 13:22:29 +02:00
Juergen Spitzmueller
ef359f58b5 Add cprotection support for paragraph layouts. 2018-04-14 12:57:23 +02:00
Juergen Spitzmueller
2ba584957c Add basic support for cprotect
This allows (some) verbatim contents in macros, such as \url's with
specific chars (#, % etc.) in section headings or footnotes (#449)
or comments in captions (#9313).

The mentioned two bugs are fixed by this commit.

Note that the implementation is still rather basic and might need
extension for other cases.
2018-04-13 17:46:37 +02:00
Juergen Spitzmueller
33bfbf89c4 Load hyperref with a suitable driver
This is mandatory for some features (such as bookmarks,pdfusetitle)
to work, and only a handful of drivers can be auto-detected by hyperref.

Fixes: #6418
2018-04-08 19:02:01 +02:00
Uwe Stöhr
e8678bc606 Arabic UserGuide.lyx: update from Hatim 2018-03-20 03:32:13 +01:00
Uwe Stöhr
7b3a04b07f Arabic UserGuide.lyx
- new file
- it is just a start and put into git to assure that we keep a compilable version
- Hatim will bit by bit translate it
- can be removed if it should not be ready before the next major release
2018-03-09 05:53:39 +01:00
Uwe Stöhr
6fde01e70e Arabic doc files: corrections by Hatim 2018-03-05 22:34:10 +01:00
Uwe Stöhr
713970001a Arabic Shortcuts.lyx: fixes by Hatim 2018-02-22 15:35:50 +01:00
Uwe Stöhr
652ca5f578 Arabic Shortcuts.lyx: translation update from Hatim 2018-02-21 19:58:25 +01:00
jpc
2224258ddb More French translations of the UserGuide 2018-02-21 16:47:55 +01:00
jpc
110a5e2a15 More translations for fr/UserGuire.lyx 2018-02-21 11:51:56 +01:00
Uwe Stöhr
9457c60d52 move README.Documentation to attic
It is outdated since many years now and we have the relevant info in the Development.lyx file
2018-02-20 20:31:00 +01:00
Uwe Stöhr
599e41e237 French UserGuide.lyx: fix a typo 2018-02-18 23:42:03 +01:00
jpc
0afd533085 Partial update of fr/UserGuide.lyx 2018-02-18 22:45:27 +01:00
jpc
83485b670e Untranslated menu name in fr/EmbeddedObjects.lyx 2018-02-17 18:44:03 +01:00
jpc
c9a9f26f42 A couple of forgotten items in fr/Additional.lyx 2018-02-17 18:33:25 +01:00
jpc
99b6af52f1 Remove spurious occurrence of AGU and EGS chapters in fr/Additional.lyx 2018-02-17 18:08:25 +01:00
Uwe Stöhr
1fb1b0a3f8 UserGuide.lyx: document the removal of the pixmap cache for all languages 2018-02-14 14:51:22 +01:00
Uwe Stöhr
5c1a121d1d Customization.lyx: distribute all tracked changes 2018-02-12 18:53:12 +01:00
jpc
86e42848fe Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete
2018-02-12 11:33:17 +01:00
Uwe Stöhr
46845d8069 French docs: remove a file that was accidentally committed 2018-02-01 05:19:08 +01:00
jpc
e4c0c6afdf Remove unappropriate French style command from preamble 2018-01-31 17:51:27 +01:00
Uwe Stöhr
08ebc32123 French Additional.lyx: sync with branch 2018-01-31 05:47:41 +01:00
Günter Milde
232c5b7766 Do not use "ligature dashes" with French documents.
In Spanish and French, dashes around parenthetical statements
are treated similar to brackets: line breaks are not allowed
on the inner side. Use of "breakable" dashes risks accidential
line breaks after the "opening" dash.
(Ligature dashes allow line breaks even if a no-break space follows.)
2018-01-30 21:49:12 +01:00
Uwe Stöhr
59ce6dac2f French EmbeddedObjects.lyx: sync document settings with English version
- English EmbeddedObjects.lyx: correct a typo
2018-01-29 15:10:02 +01:00
Uwe Stöhr
d809ced05b Additional.lyx: port recent changes 2018-01-29 01:35:23 +01:00
Juergen Spitzmueller
8a08a19122 Document B_ in cite style definitions 2018-01-27 14:53:18 +01:00
Uwe Stöhr
1450b99ed1 UserGuide.lyx: correct an equation
thanks Yuriy for spotting
2018-01-19 01:02:25 +01:00
Uwe Stöhr
98cfc25277 ru.po: updates from Yuriy
- also some updates for Tutorial.lyx
2018-01-19 00:31:47 +01:00
Uwe Stöhr
5f93099b88 EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
2018-01-16 04:45:44 +01:00
Uwe Stöhr
53188a5f47 doc files: correct preamble commands
thanks toe Jean-Pierre
2018-01-16 04:08:52 +01:00
Uwe Stöhr
058ee9ab00 UserGuide.lyx: distribute recent changes 2018-01-12 04:54:03 +01:00
Uwe Stöhr
92955116b0 Additional.lyx: re-sync with master
please use use LyX 2.3.x and keep the docs in sync unless you describe a new feature of LyX 2.4
2018-01-12 02:42:36 +01:00
Günter Milde
0fb2edacdc Use Flex Code inset instead of typewriter custom font style.
Change markup to use semantic markup instead of hard-coded
typewriter for code examples containing --.
Works around false positive warning on changed dashes
leading to lyx2lyx export ctest failures.
2018-01-12 00:35:00 +01:00
Uwe Stöhr
bb650bf8c2 Changelog-Customization-LyX_23x.txt: dummy commit as text 2018-01-10 02:12:40 +01:00
Uwe Stöhr
4abe7d0181 Customization.lyx: distribute and accept recent changes 2018-01-09 01:28:26 +01:00
Uwe Stöhr
20df4da55f EmbeddedObjects.lyx: port updates and fixes from Jean-Pierre to master 2018-01-08 15:54:08 +01:00
Juergen Spitzmueller
44670d4778 Customization: some color name fixes. 2018-01-06 09:31:24 +01:00
Günter Milde
0674abf4a0 Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
2018-01-02 12:56:49 +01:00
Günter Milde
5dc48f7ef9 Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.

Also add space around en dash in examples.
2018-01-02 11:20:35 +01:00
Uwe Stöhr
69ef4bc146 Russian doc files: new and updated translations by Yuri 2018-01-01 16:56:31 +01:00
Uwe Stöhr
fd3b9cf6c6 French UserGuide.lyx: port Jean-Pierre's recent changes to master 2018-01-01 14:39:59 +01:00
Juergen Spitzmueller
ebc3fee728 mention new option 2018-01-01 12:41:00 +01:00
Juergen Spitzmueller
91008d8b21 LFUNS.lyx: update 2017-12-31 18:58:32 +01:00
Juergen Spitzmueller
fe698caeec Distribute UG changes following menu move of environment-split 2017-12-31 10:14:59 +01:00
Juergen Spitzmueller
b0801b43f4 Distribute auto-nest documentation. 2017-12-31 10:00:38 +01:00
Juergen Spitzmueller
c8abe0cf7b Move environment-split from Edit to Insert, as requested. 2017-12-30 17:54:09 +01:00
Juergen Spitzmueller
f3b89e4c72 Add IsAutoNestedBy
This is complementary to AutoNests: Styles can determine which other
style should auto-nest them. This is particularly useful for modules
that add new styles which should be auto-nested in a given context.
2017-12-29 10:36:03 +01:00
Juergen Spitzmueller
d6fb2abbea Some AutoNest polishment.
* Rename Nests to AutoNests
* Do it when changing from any style
2017-12-29 10:03:00 +01:00
Juergen Spitzmueller
99ecc6e2c9 Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).

This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
2017-12-28 17:44:54 +01:00
Uwe Stöhr
405bf7a366 Russian Tutorial.lyx: translations from Yuriy 2017-12-18 01:39:16 +01:00
Uwe Stöhr
72bb33422c UserGuide.lyx: distribute dash changes 2017-12-18 01:32:10 +01:00
Juergen Spitzmueller
5dca4abb09 Adapt documentation. 2017-12-17 09:20:34 +01:00
Uwe Stöhr
df2cddb859 Russian doc files: finished review from Yuriy 2017-12-17 03:40:02 +01:00
Juergen Spitzmueller
ad093160d8 Further modifications of the "Dashes and Linebreaks" section 2017-12-16 17:35:40 +01:00
Uwe Stöhr
28029074b2 doc, templates and example files: use https for links to lyx.org 2017-12-15 02:53:06 +01:00
Uwe Stöhr
bc4eff1e83 doc files: review of links
- correct dead links
- use https if possible
2017-12-15 02:31:36 +01:00
Uwe Stöhr
a6c6e31745 UserGuide.lyx: review links
- update broken links
- use https if possible
- removed outdated section
- save LyXDocs.bib with JabRef 4
2017-12-14 18:50:56 +01:00
Uwe Stöhr
0c9ca34ff1 French UserGuide.lyx: port today's changes to master 2017-12-14 03:02:12 +01:00
Uwe Stöhr
ba8a80bc03 Russian Tutorial.lyx: first step to update by Yuriy 2017-12-13 21:15:27 +01:00
Uwe Stöhr
0630546917 de.po: translate one of 3 new strings
- also update German UserGuide.lyx for consistency
2017-12-12 16:51:32 +01:00
Uwe Stöhr
7b105a61b2 UserGuide.lyx: distribute today's changes 2017-12-12 02:25:17 +01:00
Juergen Spitzmueller
480c8a52f2 Some corrections wrt dashes and line breaks 2017-12-10 12:01:17 +01:00
Uwe Stöhr
a97b792eac EmbeddedObjects.lyx: better description for rotated table cells with line breaks 2017-12-07 00:27:45 +01:00
Uwe Stöhr
824133f542 UserGuide.lyx: describe how to use hyperlinks for nomenclature
- also note that toolbar icon size can be changed
2017-12-06 19:16:17 +01:00
Kornel Benko
3d85d6da7b Missing "icon" in description of "info-insert"-function 2017-12-06 15:36:31 +01:00
Uwe Stöhr
9a0b3247b0 UserGuide.lyx: update description for nomenclature according to recent changes 2017-12-05 03:02:24 +01:00
Juergen Spitzmueller
dee4c46b8d Remove obsoleted nomencl workarounds 2017-12-01 12:03:51 +01:00
Uwe Stöhr
417b854eea UserGuide.lyx: fix 2 nomenclature entries
- also assure correct language for the nomenclature list
2017-11-30 13:20:55 +01:00
Uwe Stöhr
45e44894ce UserGuide.lyx: workaround for a bug in nomencl
see https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume for an explanation why the name of the nomenclature can be incorrect.

nomencl is no longer under development since 12 years therefore we should switch to the glossaries package (#10015).
2017-11-30 00:52:17 +01:00
jpc
3e4743051e Update French Math manual for 2.3 2017-11-28 09:06:33 +01:00