Commit Graph

782 Commits

Author SHA1 Message Date
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
Günter Milde
1933102593 ctest update and small documentation fixes. 2019-03-19 22:17:52 +01:00
Kornel Benko
caaa317a95 Amend d3ec77c6: Reorganize templates and example folders
Fixed cmake tests
2019-03-19 10:56:06 +01:00
Juergen Spitzmueller
d3ec77c633 Reorganize templates and example folders
Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.

Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".
2019-03-19 07:13:18 +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
Günter Milde
4de4263f93 ctest update.
* set required non-TeX fonts in the documents
* update comments for inverted tests
* update some tags
2019-02-25 01:19:14 +01:00
Pavel Sanda
b1132a3438 Add few hints for varwidth module. 2019-02-22 16:51:14 +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
f8d42aed39 ctests: update Korean tests, add "language default" test including Chinese.
Set suitable non-TeX fonts in the test document.
Use "kotex" language package.
2019-02-05 11:24:53 +01:00
Günter Milde
7e1c5ae44b ctests: update tests after the last fixes. 2019-01-29 10:52:41 +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
7da76b1b9f Load CJK support package before font selection. 2019-01-28 17:26:52 +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
Günter Milde
16b28ad725 Avoid bitmap fonts for Latin text parts using LatinModern. 2019-01-23 09:11:01 +01:00
Günter Milde
d104005151 Add example for mulit-lingual Japanese document with CJKutf8. 2019-01-22 16:06:37 +01:00
Günter Milde
f82030d211 Farsi document with custom font encoding OT1 fails.
Set font encoding in examples to "auto" and add minimal test sample.
2019-01-22 12:02:57 +01:00
Juergen Spitzmueller
9982651fd6 CJKutf8 is only to be used with the dedicated utf8-cjk encoding 2019-01-09 08:29:41 +01:00
Kornel Benko
f092208c89 Enable error-free compilation of ko splash.lyx with xetex and lautex
This amends somehow 9238004c. Since the system font NanumMyeongjo
and the "mj" spec as CJK latex font are related, this change
seems appropriate.
2019-01-07 08:37:41 +01:00
Scott Kostyshak
0cfaf406c5 ko splash.lyx: specify "mj" as CJK font
Now (thanks to d193cd05), the Korean splash.lyx compiles
out-of-the-box with pdflatex.

Thanks to Jürgen.
2019-01-06 14:39:12 -05:00
Scott Kostyshak
6e815d3eba Bibliography.lyx: remove preamble and master doc
The preamble is not used since this document should only be compiled
from documents that include it. Similarly, setting the master
document is not useful.
2019-01-05 16:47:15 -05:00
Scott Kostyshak
91d8aea8d3 Bibliography.lyx: remove citation, add explanation
Bibliography.lyx is not expected to be compiled on its own. This
commit reverts 3ac2dd8e and instead adds a LyX note explaining that
an error is expected if the .lyx file is compiled.
2019-01-04 14:50:16 -05:00
Scott Kostyshak
3ac2dd8e6c Bibliography.lyx: add a reference so it compiles 2019-01-03 22:27:22 -05:00
Scott Kostyshak
67f5a5173a Fix compilation of chess-article.lyx with TL 2018
Consistent with 32b77f1a.
2019-01-03 21:10:43 -05:00
Scott Kostyshak
32b77f1ad2 Fix compilation of chessgame.lyx with only TL 2018
chess-workshop-symbols.sty is no longer (on an updated TL 2018)
included in the TL package "skak". This commit replaces the loading
of chess-workshop-symbols in the custom preamble with the loading of
the package chessfss.

chessfss is in TL 2016 and TL 2018, and the example file now
compiles with both TL installations.

Before this commit, compilation of chessgame.lyx was possible if
chess-workshop-symbols.sty were installed manually (i.e., outside of
TL), but it is preferred to keep dependencies to only TL if
possible.
2019-01-02 14:02:03 -05:00
Juergen Spitzmueller
12aaeb259f Handle bibliography irritations in thesis template
Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch

Add some clarifying notes.

Fixes: #10748
2018-12-29 15:08:15 +01:00
Juergen Spitzmueller
97b4b9ed69 Layout fixes 2018-09-23 14:11:53 +02:00
Juergen Spitzmueller
f5dfb8098e Amend bf0d4d3bc2 2018-09-23 13:29:19 +02:00
Juergen Spitzmueller
bf0d4d3bc2 chessgame.lyx: correct advice
(lyx)skak requires the ps route for the movement indication.

Candidate for stable.
2018-09-23 13:02:57 +02:00
Juergen Spitzmueller
9c33bbed10 Rework chessboard support
* Use a module rather than a layout, since this package can be used with
  any class
* Do not hardcode options and settings. The package is very flexible,
  there is no need to limit this in LyX
2018-09-23 12:26:43 +02:00
Kornel Benko
2a72fa3a04 Amend 2877032 2018-08-24 13:20:51 +02:00
Kornel Benko
2877032791 Replacement for chess support
This layout does not use lyxskak.sty, which depends on skak.sty
Instead it uses chessboard.sty, depending on chessfss and xskak.
Compiles and displays fine with pdflatex, XeTeX
but still does not compile with lualatex.
We are now able again to mark fields and moves on the chessboard
2018-08-23 11:58:32 +02:00
Kornel Benko
8f906204de Allow using hyperref together with aastex62
Also chnage some ERT-constructs in aas_sample62.lyx to
the appropriate lyx-constructs.
2018-08-14 16:22:09 +02:00
Kornel Benko
af1caddcb3 Remove some latex definition from aastex62 user-preamble
Moved to the features of the aastex62 layout
2018-08-14 13:05:01 +02:00
Kornel Benko
6bfd91ead4 New sample for aastex62
aas_sample62.lyx is a adapted version of aas_sample.lyx
2018-08-14 10:29:15 +02:00
Scott Kostyshak
7b57685048 Hebrew docs: No need to mark logos as English
Thanks to the fix to #10423, we can leave e.g. \LyX and \LaTeX as
the default language (which is Hebrew for these document).
2018-07-16 05:13:32 -04:00
Juergen Spitzmueller
98621be1ba Support \cite command in tufte classes
This is an extra command used for sidenote citations. Since we do not
provide \cite with natbib (which tufte uses) as a choice, we use the
new AddToCiteEngine feature to add it.

File format change.

Fixes: #11150
2018-05-21 13:46:04 +02:00
Juergen Spitzmueller
0013389864 aa_sample: cosmetics. 2018-05-01 08:16:43 +02:00
Uwe Stöhr
b854df1b47 splash.lyx and ru.po: updates from Yuriy 2018-02-19 23:32:20 +01:00
Scott Kostyshak
0c2f431003 Add Nomenclature to localization_test.lyx 2018-02-18 00:40:53 -05:00
Scott Kostyshak
9b262fcff4 Correct \origin in the new ru examples 2018-01-24 23:43:34 -05:00
Günter Milde
a77cfef1c6 Fix some more lyx2lyx round-trips.
Also restore corrupted seminar example.
Add default return value to parser_tools.is_in_inset().
2018-01-24 01:04:14 +01:00
Uwe Stöhr
1d81e098a3 French example files: port recent changes to master 2018-01-17 15:58:07 +01:00
Uwe Stöhr
58121e887a example files: distribute some changes
- French:
 - fix compilation of beamer.lyx
 - update a screenshot
2018-01-16 14:50:25 +01:00
Scott Kostyshak
baefa82a81 Restore 3c6fa867 and b83252b1
This restores the https URLs.
2018-01-15 16:51:35 -05:00
Scott Kostyshak
a816ef9c33 Restore math options to "load automatically" 2018-01-15 16:51:35 -05:00
Scott Kostyshak
caa6602a15 Restore \origin 2018-01-15 16:51:35 -05:00
Scott Kostyshak
ef9a05dede Big changes to ja/sweave/lyx and ja/knitr.lyx
- Use bxjsarticle + XeLaTeX instead of article + pLaTeX.
- Use LyX's "chunk" inset instead of ERT.
- Translate a couple of English strings.

Patch from Koji Yokota.
2018-01-15 16:51:35 -05:00
Uwe Stöhr
69ef4bc146 Russian doc files: new and updated translations by Yuri 2018-01-01 16:56:31 +01:00
Juergen Spitzmueller
cc8ce481f5 Distribute beamer manual changes in the wake of the environment-split mods. 2017-12-30 19:29:51 +01:00
Juergen Spitzmueller
c8abe0cf7b Move environment-split from Edit to Insert, as requested. 2017-12-30 17:54:09 +01:00
Uwe Stöhr
f746a57515 xyfigure.png: update the screenshot 2017-12-19 01:50:42 +01:00
Uwe Stöhr
80140877f6 new Arabic splash.lyx from Hatim 2017-12-18 15:26:17 +01:00
Uwe Stöhr
79bdb88d35 Russian splash.lyx: update from Yuriy 2017-12-17 03:51:22 +01:00
Uwe Stöhr
1f23d65f8f splash.lyx: link https://www.lyx.org/Walkthrough
It is a good idea from Yuriy to link it, especially for the languages where we don't have other docs than the splash file.
2017-12-16 14:24:17 +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
b9574fd45d example files: use https links 2017-12-14 16:39:14 +01:00
Uwe Stöhr
639d63607a Russian splash.lyx: updates from Yuriy 2017-12-14 14:50:03 +01:00
Juergen Spitzmueller
0926bb6d40 Use literal formatting in nomencl entry with math 2017-12-03 11:20:11 +01:00
Uwe Stöhr
b7a6b0a596 varwidth-floats-side-by-side.lyx: use PDF images 2017-11-20 02:31:00 +01:00
Uwe Stöhr
8339e6a09d Catalan mathed.lyx: move outdated file to attic/ca/mathed.lyx
(Besides that it is outdated, we already have all its info in the Spanish math manual and all Catalans understand Spanish.)
2017-11-19 01:30:09 +01:00
Uwe Stöhr
e5dc5f9680 Math.lyx: update the section about subequations.lyx
- an extra example file is not necessary since we already describe subequations in the math manual
2017-11-19 00:53:10 +01:00
Uwe Stöhr
e26a6c8b34 R-S-statements.lyx: move to attic/R-S-statements.lyx
RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.
2017-11-18 18:16:08 +01:00
Uwe Stöhr
d52bb81671 example files: save them with LyX 2.3 - part 3/
also some minor adjustment to some files like date and version
2017-11-18 18:04:57 +01:00
Uwe Stöhr
a32e45ca37 Slovakian splash.lyx: Revert
this file version was no in the 2.3.x tree. Please use the 2.3.x tree for the up to date docs unless you are describing new features only available in master

This partly reverts commit 828286d313.
2017-11-18 17:58:28 +01:00
Uwe Stöhr
828286d313 example files: save them with LyX 2.3 - part 2
also some minor adjustment to some files like date and version
2017-11-18 17:50:23 +01:00
Uwe Stöhr
618a1cbfc8 example files: save them with LyX 2.3 - part 1
also some minor adjustment to some files like date and version
2017-11-18 17:34:35 +01:00
Uwe Stöhr
2ed7cc3489 example files: suppress date on title page for cases where this is misleading 2017-11-18 17:21:46 +01:00
Uwe Stöhr
4335c76885 lilypond.lyx: remove version info
The LyX version is not necessary
2017-11-18 17:21:13 +01:00
Uwe Stöhr
6dc2763841 Literate.lyx: remove unnecessary TeX code 2017-11-18 17:20:12 +01:00
Uwe Stöhr
b036fcbe8e xypic.lyx: don't output the date in the first page 2017-11-18 17:04:06 +01:00
Uwe Stöhr
146e826081 beamer.lyx: use a PDF image and update version 2017-11-18 17:03:10 +01:00
Juergen Spitzmueller
1fb653c674 Remove foreign language markup.
Japanese docs do not seem to use a language package
(although babel works)
2017-11-03 10:06:55 +01:00
Uwe Stöhr
4864250a11 sweave.lyx: accept changes 2017-10-27 00:15:49 +02:00
jpc
1720f54b41 Turn 'Do not load' math option to 'Automatic' (ticket 10661) 2017-10-23 09:25:33 +02:00
Scott Kostyshak
a0b3c3b563 sweave.lyx: remove ref to previous homepage
The homepage does not exist anymore. Note that R installations now
come with Sweave already installed.

We now instead reference the user manual of Sweave.
2017-10-06 14:22:22 -04:00
Scott Kostyshak
be91997227 Update noweb URL in docs
Norman Ramsey is now at Tufts, and URLs to his websites at previous
institutions are broken. The new link gives the same information as
the old links did (verified with web.archive.org).
2017-10-03 15:23:25 -04:00
Scott Kostyshak
867abeac06 Set default format to "default" for Japanese docs
Consistent with 27165841.
2017-10-01 13:22:03 -04:00
Kornel Benko
762c24940a Spelling errors in sk/splash/lyx (found with the spellchecker) 2017-08-31 15:48:07 +02:00
Kornel Benko
ff0ce478e4 sk/splash.lyx: add note for Linux installations 2017-08-30 02:12:48 +02:00
Pavel Sanda
0d9a11e4ef typo in colored-boxes.lyx 2017-08-27 04:27:38 +02:00
Scott Kostyshak
b45be0ecf8 Update docs to 2.3.0beta1 format 2017-08-14 02:31:24 -04:00
Juergen Spitzmueller
0120c3fc10 Revert "Mark some intentional fall-throughs (in a way understandable to gcc)"
This reverts commit 6dc1884d05.
2017-08-12 09:04:23 +02:00
Juergen Spitzmueller
6dc1884d05 Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.
2017-08-12 08:57:02 +02:00
jpc
df5c26da81 Update French translation of FeynmanDiagrams manual 2017-08-11 17:02:42 +02:00
jpc
65bee010a0 Update French translation of Linguistics manual 2017-08-11 16:36:22 +02:00
Pavel Sanda
703a7860c7 Quick review of cs docs. 2017-08-01 12:30:42 +02:00
Kornel Benko
d3b2cb0922 Select Latin Modern fonts for beamer lyx-files
On TL17, the original default fonts used to work only with help of fix-cm package.
Only the Japanese bemer files are unchanged, because the output was only a mix
of Latin letters and thus not readable. Probably missing font on my side.
2017-07-22 00:22:00 +02:00
Guillaume MM
47612b3839 Accept modifications in R examples 2017-07-17 22:15:12 +02:00
Scott Kostyshak
8bde9e15c0 Update of Swedish splash.lyx from Jim Rotmalm 2017-07-15 04:22:33 -04:00
Enrico Forestieri
af6e4d4abb Don't give users dangerous instructions 2017-06-28 00:30:56 +02:00
Enrico Forestieri
4722e955a8 Remove the minted external template
That functionality is now provided by the new support for minted.
Also change the example file and accordingly rename it.
2017-06-10 00:14:04 +02:00
Enrico Forestieri
a338971700 Add another minted example
This one illustrates the usage of the new minted support.
2017-06-07 02:28:21 +02:00
Enrico Forestieri
268ae66e3c Rename the minted 'lang' external template option as 'language'
This is for consistency with the newly introduced support in the
listings inset, where the option name is dictated by the listings
package and cannot be changed.
2017-06-07 01:25:35 +02:00
Scott Kostyshak
301b8637fc subequations.lyx: reference LyX module
Reference the LyX module instead of the LaTeX amsmath package.
2017-06-03 18:17:13 -04:00
Scott Kostyshak
bf832437b0 Update a .lyx format and add \origin 2017-06-03 17:33:31 -04:00
Scott Kostyshak
beed118c32 Add subequations module and example (#10029)
The module allows to use the subequations environment.

There is still a pending request to implement this environment
natively in LyX's mathed.

Contributed by Joel Kulesza.
2017-06-03 17:13:22 -04:00
Scott Kostyshak
7f0a1df472 A couple minor changes to minted example 2017-05-29 17:59:41 -04:00
Enrico Forestieri
dde3e30031 Add some clarifying comments 2017-05-29 12:00:25 +02:00
Enrico Forestieri
6da125b296 Small tweak 2017-05-28 23:46:51 +02:00