Yuriy Skalko
b0ec45b767
Update ru.po and Russian docs
2020-07-31 09:01:33 +02:00
Pavel Sanda
9d8a45b5c0
sk review
2020-07-30 17:20:02 +02:00
Kornel Benko
5de13a804f
Update sk.po
2020-07-30 17:10:42 +02:00
Pavel Sanda
53824067fe
* layouttranslations for ru
2020-07-30 16:54:15 +02:00
Pavel Sanda
0160f644ce
layouttranslations - Notes on more used
2020-07-30 16:50:02 +02:00
Juergen Spitzmueller
5d1451498a
typo
2020-07-30 16:38:35 +02:00
Pavel Sanda
6061ab8e69
typo
2020-07-30 16:35:24 +02:00
Yuriy Skalko
9909ce1b2d
Minor fixes in Math.lyx
2020-07-30 16:19:29 +02:00
Juergen Spitzmueller
205d123a99
layouttranslation.review: minor clarification
2020-07-30 16:12:03 +02:00
Juergen Spitzmueller
011722604d
Correct layout string
2020-07-30 16:11:50 +02:00
Pavel Sanda
b268ed41ec
zh_CN update of layouttranslations
2020-07-30 15:59:33 +02:00
Pavel Sanda
4e383ecdb9
* layouttranslations.review
2020-07-30 15:50:20 +02:00
Pavel Sanda
28911d05ea
New Notes items in layouttranslation
2020-07-30 15:41:57 +02:00
Juergen Spitzmueller
d031edc587
Russian Math manual
...
by Henri Chern and Yuriy Skalko
2020-07-29 12:43:56 +02:00
Juergen Spitzmueller
483d914642
Correct version number
2020-07-29 10:55:30 +02:00
Thibaut Cuvelier
d75ff9931d
Revert "Support the mathbbm font."
...
This reverts commit e709a6626e
.
2020-07-28 18:01:38 +02:00
Thibaut Cuvelier
e709a6626e
Support the mathbbm font.
...
Should just be able to read formulae, not add it from the GUI, as it's mostly redundant with mathds and mathbb.
2020-07-27 03:15:00 +02:00
Thibaut Cuvelier
62af830fa7
DocBook: support for lists in more layouts
2020-07-25 17:48:23 +02:00
Thibaut Cuvelier
b9c1fe1bac
DocBook 5: very basic support for simplecv, support for Itemize in many layouts
2020-07-25 17:37:12 +02:00
Enrico Forestieri
1e2885fe81
Update layouts
2020-07-24 18:50:53 +02:00
Enrico Forestieri
585da1de4a
Fix typos in lib/symbols
...
This amends e8ee0100
and f96b99dc
.
2020-07-24 12:57:00 +02:00
Thibaut Cuvelier
c9f8469c00
DocBook: allow KOMA-Script documents to be generated as DocBook
2020-07-21 02:59:57 +02:00
Pavel Sanda
1fa60342be
* lib/RELEASE-NOTES
2020-07-21 00:12:24 +02:00
Jean-Marc Lasgouttes
f96b99dcb3
Implement properly \limits and \nolimits
...
These are now properties of insets that can be operators :
InsetMathSymbols, InsetMathDecoration (for over/underbrace) and
InsetMathMacro (for its contents).
Each of these has a limit_ member that allows to remember a limit
forcing and a member defaultLimits() that indicates what to do in the
absence of such forcing. Moreover the write() method calls
writeLimits().
This allows to simplify the definitions of integrals in lib/symbols by
defining the integrals as macros of their "op" version, as it is done in
the style files.
Also, many hardcoded assumptions can now be removed.
The handling of LFUN_MATH_LIMITS is now done in InsetNest, which tries
successively to apply the limit change to (1) the character after
cursor, (2) the character before cursor and (3) the character at the
end of the inset (useful for script insets?)
The new code allows to define
\newcommand\int{\intop\limits}
but not
\newcommand\makelimits#1{#1\limits}
It is also possible to type explicitly \limits or \nolimits to modify
a symbol.
2020-07-20 23:20:26 +02:00
Thibaut Cuvelier
c8d216d6e1
DocBook: allow Tufte books to be (more) properly generated.
...
Includes a test case useful for some of the previous commits (notes in abstract, PI escaping, counter warnings).
Still missing: marginal and side notes. Shouldn't they be ported to InsetMarginal?
2020-07-20 03:01:41 +02:00
Thibaut Cuvelier
1706438cba
Partial revert of e3027574
: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document
2020-07-20 01:56:33 +02:00
Jean-Marc Lasgouttes
e8ee0100fc
Implement variable size bigops
...
The goal is to reproduce the change of size of operators like \sum wen they
are in display style.
The syntax of the symbols file has been extended to allow for two code
points (like 80|88 for \sum). In this case, the second one will be
used in display style.
Update the symbols file to handle all bigops from cmex, esint, wasy and
stmaryrd.
Let the code for math symbol inset handle symbols which can change size,
using the information from the symbols file.
2020-07-17 22:25:18 +02:00
Richard Kimberly Heck
ab31598e04
Simplify
2020-07-17 12:16:47 -04:00
Thibaut Cuvelier
e302757476
Add support for CALS tables in DocBook.
2020-07-16 00:40:16 +02:00
Pavel Sanda
5df5cc3840
* RELEASE-NOTES
2020-07-12 11:52:06 +02:00
Juergen Spitzmueller
667a9ad0ce
Add support for Libertinus Math
2020-07-09 18:59:54 +02:00
Juergen Spitzmueller
77eaa8a0ce
Typo
2020-07-09 17:39:57 +02:00
Juergen Spitzmueller
8cb9a6d3f6
Add support for the libertinus family of fonts ( #11899 )
...
File format change.
2020-07-09 11:46:07 +02:00
Juergen Spitzmueller
780d9a5f4c
LaTeXFonts: Add ScaleCommand
...
This is needed to add support for scaling to fonts that are switched
via command
2020-07-09 11:41:21 +02:00
Juergen Spitzmueller
3335344261
Provide option to prevent unnecessary font loading.
...
If an OSF font is an alternative to a non-OSF one, only load the OSFFont
if osf is requested.
2020-07-09 11:39:43 +02:00
Thibaut Cuvelier
7ed43d751a
Update RELEASE-NOTES for DocBook
2020-07-09 10:19:29 +02:00
Pavel Sanda
b17294a02b
Update customization manual for docbook (part2).
2020-07-09 00:41:36 +02:00
Pavel Sanda
dce2b4e016
Update customization manual for docbook (part1).
2020-07-09 00:41:36 +02:00
Thibaut Cuvelier
eeaea7cbbb
Clean up DeclareDocBookClass
2020-07-08 15:47:34 +02:00
Pavel Sanda
f6460f48fa
Revert docbook updates to Customization manual.
...
Something went wrong while merging.
2020-07-08 14:15:33 +02:00
Thibaut Cuvelier
8ac6fbf112
Remove AGU DTD style, probably doesn't work, impossible to check.
2020-07-08 13:36:08 +02:00
Pavel Sanda
d393df4f1a
Makefile forgotten in previous patch
2020-07-08 10:08:15 +02:00
Thibaut Cuvelier
7989ebca85
Add documentation for the new layout attributes.
2020-07-08 09:41:16 +02:00
Thibaut Cuvelier
67414563ac
Migrate the previous DocBook layouts so the old documents can still be generated with the new implementation.
...
The output WILL change for these documents, as the output is updated from DocBook 4 to DocBook 5.
2020-07-08 09:40:50 +02:00
Thibaut Cuvelier
1ec87298ff
Migrate the existing layouts to the new DocBook attributes.
2020-07-08 09:39:08 +02:00
Thibaut Cuvelier
b596921211
The new DocBook output has no prerequisite on the document, so enable it for each and every document.
2020-07-08 09:35:03 +02:00
Yuval Deutscher
328c70a31a
Update labels and tooltips for moderncv layout
...
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.
Signed-off-by: Yuval Deutscher <yuval@deut.sh>
2020-07-07 19:06:52 +02:00
Pavel Sanda
8c11b81c08
* contrib
2020-07-07 09:52:22 +02:00
Pavel Sanda
28968b1f0d
Add required elements in the layouts to support DocBook.
...
Slightly modified patch from Thibaut Cuvelier.
2020-07-07 09:49:48 +02:00
Thibaut Cuvelier
8a6e500570
Remove old example, as its mechanisms are now deprecated.
2020-07-02 15:27:20 +02:00
Yuriy Skalko
d1993458d8
Update Russian localization
2020-07-01 16:51:03 +02:00
Thibaut Cuvelier
c9e0c2e28a
Configure script: update names for new DocBook support, which is now always enabled.
2020-06-29 13:02:06 +02:00
Juergen Spitzmueller
5f960a1dbb
Use new parskip in UG
2020-06-29 11:00:31 +02:00
Juergen Spitzmueller
e121bd04bb
Support halfline and fullline also in vspace.
2020-06-28 18:27:59 +02:00
Juergen Spitzmueller
b0c102cfb4
use package parskip to separate paragraphs with vertical space ( #4796 )
...
File format change
2020-06-28 17:20:18 +02:00
Yuriy Skalko
3ebedf66dd
Update Russian
2020-06-27 18:17:32 +02:00
Juergen Spitzmueller
4fc6b5f37c
Clarify \upbrace and \downbrace ( #11896 )
2020-06-27 09:22:36 +02:00
Juergen Spitzmueller
19aa8e0de9
Document medspace and thickspace
2020-06-26 11:13:18 +02:00
Juergen Spitzmueller
a68b0389bc
Add support for medspace and thickspace (in text) ( #11893 )
...
File format change.
2020-06-26 11:12:35 +02:00
Juergen Spitzmueller
3579a13a50
Harmonize some space shortcuts (math/text context menu)
2020-06-25 16:22:42 +02:00
Juergen Spitzmueller
05eae049d8
Add negmedspace and negthickspace to context menu
2020-06-24 14:47:12 +02:00
Richard Kimberly Heck
6f084c4c30
Some python cleanup from Thibault.
2020-06-21 11:37:23 -04:00
Thibaut Cuvelier
8f89768211
Fix in symbols handling: parse the XML entity with \def.
2020-06-19 08:22:56 +02:00
Thibaut Cuvelier
718eede94b
MathML: Convert HTML entities to XML entities.
2020-06-18 19:37:08 +02:00
Juergen Spitzmueller
7860d19fbc
Yet another ru update by Yuriy
2020-06-15 09:55:00 +02:00
Richard Kimberly Heck
2a2f15ec03
Fix bug noticed by Scott.
...
Since there may be subfloats, we do not want to move past the end
of a float when modifying it.
2020-06-14 19:01:44 -04:00
Richard Kimberly Heck
8e33b681a8
Minor cleanup.
2020-06-14 19:01:44 -04:00
Enrico Forestieri
57272e837b
Correctly display \dag and \ddag in mathed
...
They are synonyms for \dagger and \ddagger and are used
in Sect. 13.1 of the math manual.
2020-06-13 16:48:54 +02:00
Juergen Spitzmueller
674ec430cf
Add mathds to math type table
2020-06-13 16:43:35 +02:00
Enrico Forestieri
d28e6b00cc
Add mathds to math type table
2020-06-13 15:45:36 +02:00
Juergen Spitzmueller
05c36c9f26
Add mathscr to math type table
2020-06-13 10:31:23 +02:00
Juergen Spitzmueller
fcba229f92
Add mathscr to math type table, by Yuriy
2020-06-13 10:25:05 +02:00
Juergen Spitzmueller
2bfb606562
Updates for Russian, by Yuriy
2020-06-13 10:24:40 +02:00
Enrico Forestieri
0e30594eba
Document the doublestroke package
2020-06-12 13:03:01 +02:00
Enrico Forestieri
6f6d985b9e
Amend 5a80f7bb
...
Was forgetting this.
2020-06-11 17:43:44 +02:00
Enrico Forestieri
5a80f7bb6a
Add support for the doublestroke package
...
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.
As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.
Fixes bug #11887 .
2020-06-11 16:42:31 +02:00
Kornel Benko
3af543455b
Rename a file to comform with the layout description
...
Saves one translatable string
2020-06-11 12:08:48 +02:00
Kornel Benko
ac7871d5d1
Amend(2) f7d6a0b7
: Add template for APA v.7
...
Distribute the new template
2020-06-10 16:11:59 +02:00
Pavel Sanda
d5fb7ddaf2
We were finally able to get in contact with MARC maintainers.
2020-06-09 22:36:10 +02:00
Kornel Benko
11f922b676
Amend f7d6a0b7
: Add template for APA v.7
...
Copy-Paste error, slipped in unintended
2020-06-09 21:37:58 +02:00
Kornel Benko
f7d6a0b7fa
Add template for APA v.7
...
Based on TL20 texmf-dist/doc/latex/apa7/samples/longsample.tex
2020-06-09 19:24:42 +02:00
Kornel Benko
3a8755f2d6
Amend cb26ecbb
: Added apa7 layout
...
The command addORCIDlink{}{} can be used in the preamble (like title{} or author{})
or in the body of document. For this a Flex-inset-layout seems appropriate.
2020-06-09 14:49:51 +02:00
Juergen Spitzmueller
ca6c973ab0
Add some localized (Russian) cliparts, by Yuriy
2020-06-06 12:54:43 +02:00
Kornel Benko
6a0dda1719
Typo
2020-06-06 11:47:28 +02:00
Juergen Spitzmueller
0572fafacd
Update to Russian UG by Yuriy and Henry
2020-06-06 09:59:59 +02:00
Juergen Spitzmueller
2e21b10aed
Update to Russian from Yuriy
2020-06-06 09:58:21 +02:00
Jean-Marc Lasgouttes
b08791f731
Use combined toolbar icons for depth-(in|de)crement and outline-(in|out)
...
The Tab binding already combines those (and more).
2020-06-06 01:44:06 +02:00
Kornel Benko
cb26ecbb58
Added apa7 layout
2020-06-05 22:03:59 +02:00
Juergen Spitzmueller
91cf97b198
Some corrections to the Russian User Guide, by Yuriy
2020-06-03 12:05:42 +02:00
Juergen Spitzmueller
1bf18368cf
Add support for the xindex index processor
...
This is a modern alternative for makeindex that is fully unicode-aware
and written in lua.
As opposed to xindy, it is more lightweight and actively maintained.
The program is still in a rather early stage of development, so we do
not propose this as default.
This relies on xindex 0.22 (about to be released) to function properly.
2020-05-30 12:54:20 +02:00
Juergen Spitzmueller
a7428c0855
Add Henry Chern to credits
2020-05-26 12:45:25 +02:00
Juergen Spitzmueller
330628a685
Russian translation of the User Guide, by Henry Chern
2020-05-26 12:39:23 +02:00
Juergen Spitzmueller
ddd8b17a3b
User Guide: some minor corrections suggested by Henry Chern
2020-05-26 10:49:29 +02:00
Juergen Spitzmueller
45a8484a94
ru updates by Yuriy
2020-05-26 10:28:03 +02:00
Juergen Spitzmueller
a9f619cf05
Tutorial: Some UI adaptations
2020-05-24 09:38:02 +02:00
Juergen Spitzmueller
0067fea555
Russian updates by Yuriy
2020-05-24 08:28:23 +02:00
Scott Kostyshak
386aba099b
Add bind to Insert > Separated <Environment> Above
...
The binding <Alt + p, Shift + Return> is already used for
environment-split outer, so we bind <Alt + p, Alt + Return>
to environment-split before.
2020-05-23 14:36:59 -04:00
Richard Kimberly Heck
b5b015ba3a
Update layout format
2020-05-23 11:45:01 -04:00
Richard Kimberly Heck
c90a8e6885
Add revtex 4.2 files to distribution
2020-05-18 13:20:39 -04:00
Juergen Spitzmueller
53ada26596
Fixup inkscape detection on Windows
2020-05-18 12:40:32 +02:00
Juergen Spitzmueller
bd89a273bc
Amend 74f831e06d
...
Forgot this part.
2020-05-18 08:32:26 +02:00
Juergen Spitzmueller
d5079c2e73
Safer 0.x version test
2020-05-15 15:22:14 +02:00
Juergen Spitzmueller
74f831e06d
Add support for inkscape 1.0
...
Command line syntax has changed. We now check for the version and use
the appropriate cl options.
Fixes #11742
2020-05-15 14:08:46 +02:00
Jean-Marc Lasgouttes
125f5d5d20
Add rtl version of outline-in/out icons
2020-05-15 12:10:30 +02:00
Richard Kimberly Heck
5588c22e77
Python cleanup from Thibaut.
2020-05-08 13:31:05 -04:00
jpc
ce85562c7b
Linguistics manual translation in French (up to sec. 2)
2020-05-07 11:13:39 +02:00
Juergen Spitzmueller
ce7cd4b983
linguistics.module: fix counters
2020-05-05 14:42:44 +02:00
Richard Kimberly Heck
c506f304bc
Fix a number of issues that were stopping compilation with MSVC 19.
...
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).
2020-05-04 19:45:58 -04:00
Pavel Sanda
cf628911d0
Add new template for Hebrew.
...
Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates
2020-05-04 13:05:36 +02:00
Richard Kimberly Heck
086d65bd7c
Update documentation about counters.
2020-05-03 14:06:48 -04:00
Juergen Spitzmueller
3be8726695
Add missing ellipses
2020-05-03 13:30:04 +02:00
Juergen Spitzmueller
98c24f3413
Amend e7e70b021e
2020-05-03 13:16:20 +02:00
Juergen Spitzmueller
e40fe3a15d
Update link
2020-05-03 09:13:59 +02:00
Richard Kimberly Heck
e7e70b021e
Better name
2020-05-03 02:20:14 -04:00
Richard Kimberly Heck
a7e26710cb
Add GuiNames to counter declarations.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
9bcb243ec6
Increment layout format.
2020-05-02 23:17:16 -04:00
Richard Kimberly Heck
6580c5753d
Remove unused counter
2020-05-02 22:09:45 -04:00
Richard Kimberly Heck
32a5436108
Somehow this got corrupted...
2020-05-02 22:05:02 -04:00
Richard Kimberly Heck
c37500050d
More polishing of counter dialog. Thanks to Jürgen for help.
...
Also, remove the 'display value' option. We will move this to InsetInfo
at some point.
2020-05-02 20:33:03 -04:00
Kornel Benko
b55f735afe
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
2020-05-02 13:40:26 +02:00
Kornel Benko
4d7c7f1e74
Perl script (for developpers) to select desired system font names.
...
Needed font-config (so that this script is probably OK on unix systems only)
Probably needed module for Getopt::Mixed.
On debian systems it is contained in package libgetopt-mixed-perl
2020-05-02 13:20:53 +02:00
Richard Kimberly Heck
bc4ca12ab5
Polish the counter UI a bit and add some to the documentation.
2020-05-01 19:03:54 -04:00
Richard Kimberly Heck
a08621ebce
Documentation for counter inset.
2020-04-30 23:46:26 -04:00
Richard Kimberly Heck
de40b09474
Fix thinkos for counter value type
2020-04-30 23:46:18 -04:00
Richard Kimberly Heck
9a147255df
GUI for new counter inset.
2020-04-30 23:11:59 -04:00
Richard Kimberly Heck
9a1b26a156
Format and reversion code for new counter inset.
2020-04-30 23:11:59 -04:00
Jean-Marc Lasgouttes
b9538b10d4
Ignore some more files when building in source tree
2020-04-23 19:17:15 +02:00
Juergen Spitzmueller
733c9b04d8
Minor doc update by Yuriy
2020-04-23 07:33:51 +02:00
Jean-Marc Lasgouttes
bb0117d182
Simplify code for bidi icons
...
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.
The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).
Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
2020-04-16 20:54:53 +02:00
Jean-Marc Lasgouttes
43eda5ad73
Reimplement properly bidi icons
...
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.
Instead of relying on the clumsy "bidi" lfun of 2898c335
, this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).
The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.
Fixes bug #4451 .
2020-04-14 22:47:56 +02:00
Jean-Marc Lasgouttes
ce0538e372
Revert "Add mechanism to change icons in RTL mode"
...
This is really too clumsy. Revert in preparation for a better
mechanism.
This reverts commit 2898c335be
.
2020-04-14 22:47:50 +02:00
Kornel Benko
0536193c22
Added revtex4-2.layout
...
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
2020-04-08 10:27:34 +02:00
Kornel Benko
701c6a6287
Add "inset-settings" shortcut to sk/menus.bind
2020-04-07 11:52:58 +02:00
Jean-Marc Lasgouttes
c8ebd2117c
Change tootip for Labeling layout toolbar button
...
Labeled List sounds better that Labeling.
Part of bug #11770 .
2020-04-03 19:16:04 +02:00
Juergen Spitzmueller
fe09ddf1b9
Implement buffer-write force
2020-03-31 08:01:17 +02:00
Richard Kimberly Heck
d34bb46387
Fix bug #11799 .
...
I've made cut, etc, OptItems, as this menu is already very long.
2020-03-28 23:34:44 -04:00
Juergen Spitzmueller
f51100459a
ru/Intro: update by Yuriy
2020-03-26 15:13:49 +01:00
Enrico Forestieri
92c4bb4682
Amend bd6d09fc
...
Was forgetting this.
2020-03-22 22:03:49 +01:00
Pavel Sanda
f5669c0a3d
* fix missing entry in ia.po
2020-03-20 20:43:39 +01:00
Pavel Sanda
e91b2e2fbe
layouttranslations check from Giovanni
2020-03-20 17:48:36 +01:00
Juergen Spitzmueller
07e8e4352f
lyx_2_0.pyx_ add convert_includeall method
...
It's better to have that param explicitly in the document.
2020-03-15 09:32:02 +01:00
Enrico Forestieri
bd6d09fc98
Fix Python 3 issues when generating preview snippets
...
The log file generated by latex can contain strings encoded in
whatever supported encoding. Instead of guessing the encoding,
it is better to open it in binary mode and then performing the
necessary comparisons as "bytes". In order to do this, the
strings are encoded in utf8, so that, for example, b"pythön" is
encoded as "pyth\xc3\xb6n" (7 bytes). Of course, this means that
we can only successfully perform comparisons with ascii strings.
However, this is what we actually do, as we only search for
ascii strings in the log file.
2020-03-14 17:19:08 +01:00
Juergen Spitzmueller
f4af191403
Introduce maintain unincluded children "mostly"
...
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.
File format change.
2020-03-13 15:46:35 +01:00
Stephan Witt
46596455db
#11767 improved default binding on Mac for window-close
2020-03-08 13:33:30 +01:00
Günter Milde
c1357cbd01
ctest autotest for #11773 language nesting with lyx2lyx.
...
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.
Also
* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Günter Milde
0db0d7f375
Remove no longer needed module import.
2020-03-05 00:24:08 +01:00
Günter Milde
91bdcbbb82
Refactor lyx2lyx code.
...
Use helper functions for shorter, self-documenting code.
Drop optional arguments that equal the default value.
Remove hard TABs and trailing whitespace.
2020-03-05 00:24:08 +01:00
Jean-Marc Lasgouttes
0b5ce4b5ba
Fixup cf9827df
: do not forget keyboard bindings and docs
...
Keyboard bindings are easy. For lfun icons in documentation, both the UserGuide and Tutorial have to be updated. Since this will have to be done again once the documentation is imported from branch, I list them here for reference:
For the lib/doc/ directory:
find . -name 'Tutorial.lyx' | xargs sed -i 's/"layout List"/"layout Labeling"/g'
find . -name 'UserGuide.lyx' | xargs sed -i 's/"layout List"/"layout Labeling"/g'
and then
find . -name 'Tutorial.lyx' | xargs sed -i 's/"layout \(Itemize\|Description\|Labeling\|Enumerate\|List\)"/"layout-toggle \1"/g'
find . -name 'UserGuide.lyx' | xargs sed -i 's/"layout \(Itemize\|Description\|Labeling\|Enumerate\|List\)"/"layout-toggle \1"/g'
Related to bug #11770 .
2020-03-04 14:07:03 +01:00
Jean-Marc Lasgouttes
cf9827dfc1
List is obsoleted by Labeling: update icons
...
This does not change much in master but it is cleaner since the List
layout has been obsolete since 2010 (7f8b868f
).
See bug #11770 .
2020-03-04 11:52:52 +01:00
Juergen Spitzmueller
f6f51587cf
Un-provide amsmath in beamer article layouts
...
Fixes #11768
2020-02-29 19:20:18 +01:00
Richard Kimberly Heck
9d8dfe934b
Fix bug #11750 .
...
Unfortunately, stat.st_ino returns 0 on Windows, at least on Python 2.7, so we can't use that way of telling when we're seeing the same directory again. Surely the real pathname should work.
2020-02-24 19:07:31 -05:00
Stephan Witt
a891a1ba20
Avoid UTF8 "no-break space" and use the space inset instead.
2020-02-22 15:21:26 +01:00
Stephan Witt
90079857fe
Provide predefined key binding for LFUN "forward-search" on Mac
2020-02-22 12:24:41 +01:00
Scott Kostyshak
562917dc1c
lyxpreview_tools.py: fix a regular expression
...
Three backslashes are needed before a LaTeX command, not one. Before
this commit, the code gave the following error with Python >= 3.6:
re.error: bad escape \g at position 29
This error was introduced with Python 3.6, as documented [1] by the
following line of documentation:
Changed in version 3.6: Unknown escapes in pattern consisting of
'\' and an ASCII letter now are errors.
Although previous Python versions did not give an error, the regular
expression was not working as intended: for example, the "\\n" in
"\\newcommandx" would be interpreted as a new line.
[1] https://docs.python.org/3.6/library/re.html#re.sub
2020-02-15 21:57:30 -05:00
Juergen Spitzmueller
c4da8d38c9
Handle encoding error in layout file parsing more gracefully
...
Issue a warning about non-decodable files, but do not break
completely.
Addresses #11736
2020-02-13 08:13:22 +01:00
Enrico Forestieri
4e3567523a
Fix syntax error with Python 2
...
Python 2 wants b"..." and gives error win rb"...".
2020-02-06 10:50:02 +01:00
Juergen Spitzmueller
b2b7e5cac1
Amend 400706ad05
2020-01-27 11:15:49 +01:00
Pavel Sanda
b9bf39240b
* lib/RELEASE-NOTES
2020-01-14 22:12:35 +01:00
Juergen Spitzmueller
dd60e2d9f4
Update RELEASE NOTES
2020-01-13 16:02:42 +01:00
Juergen Spitzmueller
5fc2662b13
Add pref to keep ct markup on copy/paste
...
Fixes #10278 , #10128
2020-01-13 15:20:48 +01:00
Juergen Spitzmueller
a450797b2a
Rest in peace, dvipost!
2020-01-13 08:59:26 +01:00
Jean-Marc Lasgouttes
0f0ed8073a
This should not have been reverted
2020-01-12 21:47:54 +01:00
Jean-Marc Lasgouttes
dba1e40b52
Revert "Automatically show the review toolbar if the document has tracked changes"
...
We will replace this with a better solution
For now, only keep
- Changes::isChanged()
- Buffer::areChangesPresent(), replaced by a dummy function
Next step will be to provide a working areChangesPresent() and to
compute Inset::isChanged in updateBuffer.
This reverts commit 6d4e6aad24
.
2020-01-12 20:26:35 +01:00
Juergen Spitzmueller
bbc6ea4a5f
Implement change tracking of column/row addition/deletion
...
Fixes #8469
File format change
2020-01-11 16:17:04 +01:00
Juergen Spitzmueller
c3bdeefbec
de/UserGuide: minor update.
2020-01-10 15:45:59 +01:00
Juergen Spitzmueller
c77999a5f3
Add buffer param to opt-out fragile content movement
...
Fixes #11714
File format change
2020-01-10 10:21:09 +01:00
Juergen Spitzmueller
191adc2fad
Fix ordering
2020-01-06 17:26:38 +01:00
Juergen Spitzmueller
9c97021623
Add Eugene (Yu Jin) to the credits
2020-01-06 17:20:55 +01:00
Juergen Spitzmueller
f1a84d0c91
Typo
2020-01-05 13:45:20 +01:00
Juergen Spitzmueller
75718b9777
Add Patrick De Visschere to the credits
2020-01-05 13:41:02 +01:00
Juergen Spitzmueller
31595759ac
generate_contributions.py: allow mail-archive message IDs
...
as MARC stopped tracking us
2020-01-05 13:32:46 +01:00
Juergen Spitzmueller
d653bf01f9
Additional.lyx: Add a note on Okular inverse search.
2020-01-05 09:00:07 +01:00
Juergen Spitzmueller
64775b7875
Introduce Menu item to accept/reject all changes in master/children
...
Fixes #11652
2020-01-02 14:10:22 +01:00
Juergen Spitzmueller
dc41c1f6df
New helper lfun ifrelatives
...
This executes a command only if a buffer has either a master or children
Helps to disable master-related items in the UI
2020-01-02 14:09:24 +01:00
Juergen Spitzmueller
69792bbaa5
Implement master-buffer-forall
...
Similar to buffer-forall with the notable exception that its scope is
limited to the files of a project (master and all children)
2019-12-31 12:27:00 +01:00
Juergen Spitzmueller
0e6a7aa85a
Update RELEASE-NOTES
2019-12-31 12:24:25 +01:00
Juergen Spitzmueller
89b5607e0a
Centralize code to markup deleted complex objects (with tikz) in output
...
This fixes #9293
2019-12-28 13:43:17 +01:00
Juergen Spitzmueller
8e62dcc20f
Add pref option to disable underlining of added text (in workarea)
...
Addresses #10102
2019-12-27 10:35:52 +01:00
Juergen Spitzmueller
dc4823e759
Add native changebars
...
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
a08cbf41cf
Provide way to add (optional) user initials
...
This makes it easier to hook the changes package into LyX's ct markup.
2019-12-24 14:31:08 +01:00
Kornel Benko
a5a8c6731c
Make EmbeddedObjects.lyx compilable with lualatex/xelatex again
...
Comment from Jürgen Spitzmüller:
As we didn't report makeindex errors until my commit yesterday(17 Dec 2019), this
problem got unnoted (and the respective index entry was simply omitted).
2019-12-23 14:29:42 +01:00
Juergen Spitzmueller
f4472d6ab9
Plain xindy works for us only wirh the texindy module
2019-12-16 11:50:11 +01:00
Juergen Spitzmueller
239dee34af
Report makeindex/xindy errors
...
Fixes #2569
2019-12-15 13:48:21 +01:00
Juergen Spitzmueller
aa141bc293
Enhance support for Xindy
...
This adds the proper language module and codepage for languages supported
by Xindy
2019-12-15 12:01:59 +01:00
Juergen Spitzmueller
7ddec2affc
Fix index entry
2019-12-14 17:12:39 +01:00
Juergen Spitzmueller
cb25603ae1
Set makeindex as index processor in the docs
...
Prevent that another processor (such as xindy) is used when set in prefs.
xindy does not play well with hyperref.
Fixes #11708
2019-12-14 09:48:33 +01:00
Juergen Spitzmueller
4779d013ad
fr/Modules/Braille: make this work with polyglossia
...
The usage of English here was a bad hack anyway.
2019-12-13 11:58:12 +01:00
Juergen Spitzmueller
e75fa6f3ac
Re-fix #11146 with recent LaTeX
2019-11-20 11:48:18 +01:00
Juergen Spitzmueller
a37c003448
Beamer loads amsmath
2019-11-20 09:38:16 +01:00
Günter Milde
70bdbd3a57
ctest update.
...
Debian stable ships now TL18, we don't need to care for older TL versions.
Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).
The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.
2019-11-18 22:24:55 +01:00
Juergen Spitzmueller
34b629cc29
These languages are now also supported by polyglossia
...
Afrikaans, Belarusian, Bosnian, and Georgian
2019-11-17 08:08:33 +01:00
Juergen Spitzmueller
400706ad05
Consider shorthand in biblatex cite display
...
Fixes #11696
2019-11-12 13:52:05 +01:00
José Matos
668aa17ad7
Fix typo (thanks to Salvatore Falco for the fix).
2019-11-04 12:12:23 +00:00
Juergen Spitzmueller
6e810d9811
Another comment to languages
2019-11-01 11:58:58 +01:00
Juergen Spitzmueller
89257a33ab
Comments on soon-to-be supported polyglossia languages
2019-11-01 09:23:58 +01:00
Juergen Spitzmueller
f814d690e2
Some languages supported by polyglossia nowadays
2019-11-01 07:04:04 +01:00
Richard Kimberly Heck
ac106bd720
Remove MIME type from HTML table format.
...
I did not realize when I added this that it would mean that ALL
files detected as text/html would be handled this way.
Should fix #11087 . But it is the right thing to do anyway.
2019-10-12 14:05:48 -04:00
Richard Kimberly Heck
1ea2e250c3
More updates from Yuriy
2019-10-10 17:42:55 -04:00
Juergen Spitzmueller
2458dc2ca6
Another Yuriy update
2019-09-26 16:53:20 +02:00
Juergen Spitzmueller
7291f35aef
ru/Tutorial.lyx: update by Yuriy
2019-09-25 17:19:51 +02:00
Juergen Spitzmueller
d76cef70a0
Allow to hide formats from menus
...
Fixes : #11657
2019-09-11 10:29:50 +02:00
Juergen Spitzmueller
9a0c52ed7e
ru/Tutorial.lyx: update by Yuriy
2019-09-11 10:22:01 +02:00
Juergen Spitzmueller
ae67e54501
UserGuide: some typos fixed by Yuriy
2019-09-11 10:21:15 +02:00
Günter Milde
cec04267b2
Make preview skript Python-3 compatible.
2019-09-05 09:42:56 +02:00
Scott Kostyshak
db65b1a3c3
Port gnuplot2pdf.py to Python 3
...
Instead of wait(), use communicate(), as mentioned here:
https://docs.python.org/3/library/subprocess.html
Otherwise, the process seems to hang as cautioned in the above URL.
Also, use byte strings.
2019-09-04 09:12:09 -04:00
Scott Kostyshak
48f88d550e
Obs. APA: fix missing citations
...
The document now compiles and the ctests pass.
2019-09-02 22:22:20 -04:00
Scott Kostyshak
0344284e9b
Fix origin path of three obsolete docs
2019-09-02 22:20:45 -04:00
Juergen Spitzmueller
8bfe3d7198
lyx2lyx: Fix revert_new_languages
2019-08-31 11:20:10 +02:00
Juergen Spitzmueller
087b4e39bb
Hooked in one year too early
2019-08-30 08:27:34 +02:00
Juergen Spitzmueller
54fd0a70f4
Fix encoding in aa class, which is preset via class options
...
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Scott Kostyshak
9efa348232
J of Acoustical Society: add a space before cite
...
Without the space, the citation followed directly the word "in".
2019-08-29 17:09:20 -04:00
Scott Kostyshak
d05b2f16c5
J of Acoustical Society: fix missing citations
...
This restores compilation of the file and all ctests work as
expected.
2019-08-28 21:52:00 -04:00
Juergen Spitzmueller
44bfdbd5b2
Fix totalheight reversion routine if there was no totalheight set
2019-08-28 07:27:28 +02:00
Juergen Spitzmueller
bb1f81502c
Tutorial: some style fixes by Yuryi.
2019-08-28 06:20:57 +02:00
Juergen Spitzmueller
9b70264aef
Update of Russian po and Tutorial by Yuriy
2019-08-27 10:45:10 +02:00
Juergen Spitzmueller
6ab3be039e
Use acadian rather than canadien
...
This is what babel-french urges, and canadien currently is broken.
acadien seems to be there for at least 15 years.
2019-08-27 10:25:15 +02:00
Juergen Spitzmueller
08000643e7
Enable Canadian English and French in polyglossia
...
These are equivalent to usenglish and french in babel anyway.
2019-08-26 09:18:59 +02:00
Juergen Spitzmueller
02a31b4c5c
Correct index
2019-08-23 22:36:35 +02:00
Juergen Spitzmueller
69ed8cb89a
lyx2lyx: correct placement of (new) local layout
...
This ended up inside modules sometimes.
2019-08-23 18:38:55 +02:00
Stephan Witt
c7d4d81385
#11642 add version of used python to configure.log protocol
2019-08-23 08:09:53 +02:00
Juergen Spitzmueller
52e21bfcc9
lyx2lyx: fixup gloss reversion
2019-08-22 17:16:26 +02:00
Günter Milde
eac3298751
unicodesymbols: force "latin capital letter Schwa" also for utf8x.
2019-08-21 09:00:10 +02:00
Scott Kostyshak
fea1842149
ja/EmbeddedObjects: fix case of KOMA-script cites
...
Without these case changes, the citations are undefined.
2019-08-16 09:27:56 -04:00
Scott Kostyshak
714e8560c2
ja/EmbeddedObjects: update format for next commit
...
The format was already post-2.3.x.
2019-08-16 09:23:34 -04:00
Juergen Spitzmueller
6b6d3ae5ce
ru/Tutorial: re-save in 2.3 format
2019-08-16 07:30:16 +02:00
Juergen Spitzmueller
d88beef1cd
ru/Tutorial: fix for utf8 doc encoding
2019-08-16 07:26:58 +02:00
Scott Kostyshak
7556e94a92
es/UserGuide: comment out 2 citations to fix comp
...
The citation "spanish" is broken. Commenting it out at least fixes
the compilation.
2019-08-15 16:05:26 -04:00
Scott Kostyshak
343ffc41fb
es/UserGuide: fix a broken cross-reference
2019-08-15 16:05:17 -04:00
Scott Kostyshak
a22b48cbfa
es/Customization: fix ref to fix compilation
...
The reference was using the label of the English version, so was
broken.
2019-08-15 13:34:55 -04:00
Scott Kostyshak
f5c4b95dee
es/Customization: update format for next commit
...
This manual was already saved with a post-2.3.x format, so I am
updating to the format of master so that the next commit's diff is
readable.
2019-08-15 13:30:04 -04:00
Scott Kostyshak
1dcc688cb0
es/Additional: remove citation to fix compilation
...
Removing this last citation in the manual is consistent with
032932cb
, as well as other similar places in the text (it seems we
now reference documentation with a hyperlink instead of a citation).
2019-08-15 12:55:59 -04:00
Scott Kostyshak
11170a3172
CREDITS: "!" in email should be followed by space
...
Otherwise a literal "!" is output. This commit fixes typos in two
email addresses.
2019-08-15 11:46:02 -04:00
Juergen Spitzmueller
1f2eb92b33
hebarticle: fix compilation with XeTeX (bug #10525 )
2019-08-15 17:42:27 +02:00
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
Juergen Spitzmueller
bbdee57e81
Dutch doc updates by Niko
2019-07-06 15:49:16 +02:00
Kornel Benko
6ca8238cb8
Enable old style figures for noto fonts
2019-07-05 13:55:01 +02:00
Juergen Spitzmueller
0a8294d426
Improve encoding GUI string
2019-06-26 08:57:05 +02:00
Jean-Marc Lasgouttes
642b4acca1
Let TeXFiles.py handle symbolic links.
...
Nix (https://nixos.org ) is a Unix package manager, which can be used to
install LaTeX on macOS. A peculiarity of Nix is that all packages are
installed into separate directories and the actual directory tree is
then constructed via symlinks.
This interacts badly with the way LyX currently detects files in the
TeX setup, because TeXFiles.py does not follow symlinks. Therefore,
almost nothing is found when using LyX together with Nix’ LaTeX.
Patch from Michael Roitzsch.
2019-06-25 15:52:46 +02:00
Jean-Marc Lasgouttes
dd4ca3ad4c
Update e-mail address for Isaac Oscar
2019-06-25 12:21:38 +02:00
Juergen Spitzmueller
219fa22cea
de/Linguistics: another typo
2019-06-24 13:49:30 +02:00
Juergen Spitzmueller
7951a9819c
de/Linguistics: Fix typo (thanks, Kornel!)
2019-06-24 13:37:38 +02:00
Juergen Spitzmueller
3b4ff0b43c
de/Linguistics: minor fix
2019-06-24 11:16:15 +02:00
Juergen Spitzmueller
8c5668ca59
Linguistics: mini fix
2019-06-23 16:42:07 +02:00
Juergen Spitzmueller
29f39f93b4
de/Linguistics.lyx: update
2019-06-23 13:43:31 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Juergen Spitzmueller
07cbca1d9d
linguistics.module: some comments and minor re-shuffling
2019-06-23 09:30:03 +02:00
Juergen Spitzmueller
74b8266d73
Linguistics: doc update
2019-06-23 08:26:01 +02:00
Juergen Spitzmueller
d13c582e5d
linguistics.module: use covington's semantic markups rather than self-baked ones
2019-06-23 08:25:50 +02:00
Juergen Spitzmueller
15d9b89add
Linguistics: doc updates
2019-06-22 14:13:00 +02:00
Juergen Spitzmueller
c6c70649af
Linguistics: Support for subexamples optional arg
2019-06-22 13:56:12 +02:00
Günter Milde
672102fc7c
Example/documentation for Korean with the "cjk-ko" package.
2019-06-21 12:40:41 +02:00
Juergen Spitzmueller
722ae1556d
Add Niko Strijbol to the credits
2019-06-21 12:16:20 +02:00
Stephan Witt
d05a8c805e
correct typo in help message
2019-06-17 16:46:59 +02:00
Jean-Marc Lasgouttes
e1f2dc6a41
Remove old compatibility code from 2002
...
At the time, there were two competing packages for French language:
frenchle (aka french.sty), the historical one, and frenchb.ldf, the
new kid on the block. I was difficult to know which one was loaded by
babel, and frenchle did not define \og and \fg. Thus the need for our
own definition.
These were the good old days, but this time is gone for good.
2019-06-12 16:46:19 +02:00
Jean-Marc Lasgouttes
9bf3e7b045
Document the new autocorrect behavior
2019-06-12 13:54:03 +02:00
Günter Milde
c627507b3f
Revert 051de65db
and implement alternative fix for remainder of #11115 .
2019-06-12 11:48:47 +02:00
Jean-Marc Lasgouttes
bf88ad495c
Make Word Wrap property confiurable by language
...
It is now possible to specify in the lib/language file whether screen
rows can be broken anywhere (CJK languages) or only at work boundary.
Set WordWrap to false for the CJK languages (notice that japanese-cjk
had been forgotten before).
Moreover, remove a test for separators in row element that was not
really helpful.
Fixes part of ticket #10299 .
2019-06-05 15:50:53 +02:00
José Matos
58734edff6
Make the lyx2lyx code compatible between python2 and python3.
...
FWIW this code is important for very old versions of lyx, older than 1.1.5 (released 19 years ago - 2000/06/06).
Funny fact of the day, byte strings do not behave as regular strings in python3 when taking and index.
To get a sub-string we need to pass a range, a integer index will not work as it happens in a regular string:
$ ipython3
...
In [30]: line
Out[30]: b'#This file was created by <mike> Tue Jan 25 10:36:51 2000'
In [31]: line[0]
Out[31]: 35
In [32]: line[0:1]
Out[32]: b'#'
The range notations works for both byte and regular strings in python 3, and it also works in python 2.
Thus the change is simple and effective. In any case I should confess that I was quite surprised by this. :-)
2019-06-05 14:06:09 +01:00
Günter Milde
051de65db9
Fix remainder of #11115 .
...
Implement GUI suggestions from
https://www.lyx.org/trac/ticket/11115#comment:26
2019-06-05 11:18:36 +02:00
José Matos
4268a9e812
Remove code that is redudant.
...
Both for python2 and python3 output is always a string.
2019-06-04 18:26:13 +01:00
Juergen Spitzmueller
2519666166
Use a somewhat more realistic trigloss example
2019-06-04 14:01:06 +02:00
Juergen Spitzmueller
24814759a1
de/Linguistics: minor corrections
2019-06-04 13:40:02 +02:00
Juergen Spitzmueller
9f0dd70ed3
de/Linguistics: update
2019-06-04 11:51:18 +02:00
Juergen Spitzmueller
e2f81b3a84
Rework linguistic gloss support
...
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.
File format change.
2019-06-04 11:01:19 +02:00
Juergen Spitzmueller
550f46a188
Remove covington backwards compatibility code
...
The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.
2019-06-04 08:20:02 +02:00
José Matos
639b5da1af
Fix the remaing issues with comparisons with objects of different types.
...
In python it is possible to compare tuples with a lexicographic order.
Take advantage of that since there is no need to resort to the C-trick of converting a version in hex format.
We need to set a dummy version in case we are using ImageMagick to ensure that version is always an integer 3-tuple.
2019-06-03 19:07:20 +01:00
José Matos
a8937b53ec
Fix bug in python comparison.
...
It worked in python2 but not the way the authors imagined. Because hex always returns a string.
From python2:
>>> 1 > "2"
False
>>> "2" > 1
True
>>> "1" > 2
True
The rational is that an integer is always smaller than a string.
In python 3 this because it does not make sense to compare objects of different types.
2019-06-03 17:15:09 +01: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
Günter Milde
f1e7f5267d
lyx2lyx refactoring and minor fixes.
2019-06-03 16:58:10 +02:00
Günter Milde
b2cee3dcc5
Support more languages (file format change).
...
Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.
2019-06-03 16:58:10 +02:00
Günter Milde
8e06c2ffa9
Fix some problems with lyx2lyx_tools.revert_languages().
...
Amends 7bb30286
.
Tested cases are now handled fine.
(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)
2019-06-03 16:58:10 +02:00
Enrico Forestieri
1df3151b6a
Math autocorret: cycle through dots
...
Also remove the unknown symbols \hdots and \udots.
2019-06-03 16:55:55 +02:00
Enrico Forestieri
16d87a615b
Some more tweaks to math autocorrect
...
In particular, make the '>' and '<' symbols followed by '*' cycle
through some sensible group of symbols.
2019-06-03 12:32:13 +02:00
Enrico Forestieri
3b1ee92167
Close cycle and correct typo
...
I think that the autocorrect file needs an overhaul.
2019-06-03 11:37:15 +02:00
Jean-Marc Lasgouttes
af0c6abd21
Add Isaac Oscar to credits
2019-06-03 10:53:49 +02:00
Enrico Forestieri
9bf8c87315
Use the new autocorrect feature
...
Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.
2019-06-03 10:21:40 +02:00
José Matos
f9bf53f35a
Make verbose switch consistent.
...
Someday we should probably unify these two switches. Because the debug switch is verbose
and the verbose switch is mostly used for debuging.
2019-06-03 07:31:05 +01: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
José Matos
a810d779d7
Import lyxpreview_tools directly and not only inside *if* conditions.
...
This is related to the bug #11457 saga and it was my fault.
The debug files should be written only be on if the argument --debug is passed and not --verbose as it was done by mistake.
2019-06-02 17:24:40 +01: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
Günter Milde
7bb3028607
fixes to lyx2lyx's revert_language tool.
2019-06-02 00:04:34 +02:00
Günter Milde
d8c913fe59
lyx2lyx refactoring
...
Reduce code duplication in revert_language, no change to output.
2019-06-02 00:04:34 +02:00
Juergen Spitzmueller
47eb0452e3
Fix grammar
2019-05-31 18:29:30 +02:00
José Matos
050f0cbc91
Add further debug information fow windows ( #11457 )
2019-05-31 16:07:13 +01:00
Juergen Spitzmueller
a3780f8939
Rename List/TOC menu item
2019-05-31 15:46:58 +02:00
José Matos
28f17333ff
Temporary hack to try to solve #11457 on windows
...
Redirect the standard output and standard error of the script to a file called debug.txt in the temporary directory.
2019-05-31 10:43:02 +01:00
Juergen Spitzmueller
f162b040b5
Fix spacing
2019-05-31 11:26:40 +02:00
Juergen Spitzmueller
4d4f03c857
Resolve shortcut conflict
...
Since all used letters are taken, we use the slash
2019-05-31 11:24:08 +02:00
Juergen Spitzmueller
ad78b02b80
Remove superfluous "Insert"
...
This is in the "Insert" menu.
2019-05-31 10:58:03 +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
Richard Kimberly Heck
762fc05dd9
Add remark about edit menu to release notes.
2019-05-28 16:47:11 -04:00
Richard Kimberly Heck
29d80772fc
Re-order and re-shortcut the edit menu.
2019-05-28 16:40:50 -04:00
José Matos
8dd31803b1
Attempt to fix #11457
...
In python 3 the colors need to be strings and not bytes:
This was the equivalent of
>> print("%s" % b"1")
"b'1'"
since the colors were bytes the call to dvipng was something like
dvipng -Ttight -depth -height -D 115 -fg "b'rgb 0.937255 0.941176 0.945098'" -bg "b'rgb 0.137255 0.149020 0.160784'" "lyxpreviewxBJEqm.dvi"
Note the "b'rgb after both -fg and -bg that wrecked havoc and thus dvipng failed. That was the difference between python2 and python3 calls.
2019-05-28 16:22:32 +01:00
Richard Kimberly Heck
959ba4a6a0
Add a separator.
2019-05-28 00:23:32 -04:00
Richard Kimberly Heck
8965d5eb8c
Put "cancel" option in visible position at top of menu when it is
...
active.
2019-05-27 23:34:49 -04:00
Kornel Benko
48a5b16885
Add a testcase for buffer-write-as
2019-05-27 10:21:15 +02:00
Günter Milde
45c5b39692
Adapt lyx2lyx to the lineno support fix in [88f471899/lyxgit].
2019-05-25 15:32:24 +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
Günter Milde
09e69f96dd
Complete lyx2lyx for new "lineno" settings.
2019-05-24 13:51:46 +02:00