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