Commit Graph

8349 Commits

Author SHA1 Message Date
José Matos
11f2a59ce9 python3: fix the preview framework to work with both python 2 and 3 2017-05-09 11:20:34 +01:00
Uwe Stöhr
2f44afcb75 gnuplot.lyx: add missing makefile entries
- also adapt style to match existing examples (e.g. the filename)
2017-05-08 23:29:25 +02:00
Tommaso Cucinotta
e26dd18c84 gnuplot script example added to lib/examples
related to the new conversion capability added in [066edd3c/lyxgit]
2017-05-08 16:00:54 +02:00
Guillaume MM
1acb42911a Cosmetic 2017-05-07 14:18:17 +02:00
Daniel Ramöller
e2f864efe4 Lock toolbars (#10283)
- LFUNs to (un)lock toolbars positions (both individually and all at once)

- corresponding menu entry to "Lock Toolbars" menu.
2017-05-07 14:17:54 +02:00
Daniel Ramöller
1fb6a0ac3e Add default icon for "toolbar-toggle review" (#10379) 2017-05-07 14:17:54 +02:00
Daniel Ramöller
4183a9f4dc Preferences shows current zoom instead of preference's default zoom (#10455)
- Adds a currentZoom variable which holds the current zoom level.

- The zoom stored in preferences is used as default zoom level (default binding:
  M+0).

- The currentZoom is saved and restored via QSettings.

- Adds LFUN buffer-zoom for (re)setting zoom.
2017-05-07 14:17:54 +02:00
Tommaso Cucinotta
af49aaa942 New gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES. 2017-05-06 00:47:23 +02:00
Günter Milde
275bb44158 ctests: move issue with nomenclature insets to a dedicated test case.
iconv fails, if a nomenclature inset contains an uncodable character
This led to failure of the indonesian UserGuide in the attic.
Fix it there and add a minimal, specific test sample instead.
2017-05-04 18:05:18 +02:00
Tommaso Cucinotta
b474aa5d4d Add needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit]. 2017-05-04 00:49:18 +02:00
Tommaso Cucinotta
066edd3c30 Enable graphics generation from external gnuplot scripts. 2017-05-04 00:44:00 +02:00
Günter Milde
24021a425e Force "textdegree" for encoding koi8-u. 2017-05-01 10:35:20 +02:00
Juergen Spitzmueller
f943897d85 IndexPrint and Nomencl were not fully latexified.
Do not treat them as non-verbatim in conversion. This keeps math $...$
as math.

There will be problems with characters that are outside the given
encoding, but as long as there is no way to convert them to the
respective LaTeX macros from within lyx2lyx, I don't know how to solve
this.
2017-04-29 13:54:01 +02:00
Günter Milde
58a4cd3082 Remove workaround for bug in TeXLive2005. 2017-04-25 18:45:51 +02:00
Kornel Benko
c1ee1bc0ba Added distribution of a missing file used by tests. 2017-04-25 10:01:08 +02:00
Uwe Stöhr
3f8c15a7c6 support for the document class option leqno
- fileformat change
2017-04-25 02:28:10 +02:00
Kornel Benko
6e9e7f2b94 keytests: Allow definition of shortcuts for the test.
Since no extra shortcuts are defined, this is essentially a noop ATM.
2017-04-24 17:50:49 +02:00
Scott Kostyshak
944792402c Update docs to 2.3.0alpha1 format 2017-04-24 00:03:19 -04:00
Scott Kostyshak
b1b49a6878 Recover \origin tag in documents
See the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=ndao0s%24vvb%242%40ger.gmane.org
2017-04-23 23:23:03 -04:00
Scott Kostyshak
e9deea03db Update the formats of lyxrc.dist.in to 21
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin, and by manual inspection for Win32.
2017-04-23 23:23:03 -04:00
Uwe Stöhr
a11e55f55f Arabic Shortcuts.lyx: remove an inset-info
as reported on the lyx-docs list this inset prevents the compilation of the file on Mac OS
It can be re-added when the bug is fixed (bug report follows soon by the original bug reporter)
2017-04-23 14:23:45 +02:00
Uwe Stöhr
130b4ddf83 doc files: port recent changes from branch 2017-04-23 13:54:54 +02:00
Tommaso Cucinotta
35bcc38ca3 about 'needauth' in RELEASE-NOTES 2017-04-22 23:28:48 +02:00
Uwe Stöhr
9ef3edf6d7 lyx_2_2.py: fix box reversion routine again
silly mistake, now Math.lyx reverts correctly again.
2017-04-21 01:05:54 +02:00
Uwe Stöhr
6421dd08c0 Arabic Intro.lyx: mark LTR text as English like we do for the Hebrew doc files 2017-04-21 00:00:30 +02:00
Guillaume MM
29a82fdc58 Add option obeyFinal for todo notes #10615 2017-04-20 23:49:02 +02:00
Günter Milde
f5ac0580ff special character "allowbreak" (ZWSP), fileformat change
New special character to mark an optional line break
without inserting a hyphen (ZWSP). See #10585.

Corresponds to the Unicode character U+200B ZERO WIDTH SPACE

 This isn't a “space”. It is an invisible character that can be used
 to provide line break opportunities.
 ​http://unicode.org/notes/tn27/

While the literal Unicode character can be used in the LyX
file, it is invisible in the GUI.

For visible feedback, the patch adds a new special character "allowbreak".

The small mark is inspired by LibereOffice.
A tooltip is added.
2017-04-20 23:28:48 +02:00
Uwe Stöhr
7c419d5666 UserGuide.lyx: fix a typo
- also 2 formatting fixes
2017-04-20 22:43:51 +02:00
Uwe Stöhr
bc0591a265 lyx2lyx/lyx_2_0.py: fix a box reversion bug
- the use_makebox statement was not removed for nested boxes
2017-04-17 19:17:54 +02:00
Uwe Stöhr
8c4139434f Revert "French Tutorial.lyx: some typographic fixes" 2017-04-17 15:26:41 +02:00
Uwe Stöhr
8783c88419 doc files: port recent changes from branch 2017-04-17 15:20:04 +02:00
Uwe Stöhr
fd777a6014 PDF-form.lyx: some minor fixes 2017-04-17 04:08:43 +02:00
Uwe Stöhr
5b4cc6b6c8 lyx2lyx/lyx_2_2.py: correct reversion of boxes 2017-04-17 04:06:52 +02:00
Uwe Stöhr
5ef6d596b6 doc files: improve 3 PDFs 2017-04-16 23:30:11 +02:00
Uwe Stöhr
ecddbe6fb9 doc files: port recent changes from the 2.2.x branch
- also delete a now unused screenshot (cannot be deleted in the stable 2.2.x branch)
2017-04-16 20:12:31 +02:00
Uwe Stöhr
6c2a8df504 lyx_2_3.py: whitespace fixes 2017-04-16 16:24:01 +02:00
Uwe Stöhr
9a94ca42b4 French Math.lyx: port a translation 2017-04-16 15:58:26 +02:00
Uwe Stöhr
66f010e863 PDF-form.lyx: some corrections and updates 2017-04-16 15:38:45 +02:00
Uwe Stöhr
e07cb1da96 lyx_2_2.py: fix reversion of colored boxes with special features 2017-04-15 19:58:56 +02:00
Uwe Stöhr
3677c20be9 BufferParams.cpp: correct output for \mathindent after [fc1c5c6f/lyxgit]
- also adapt the lyx2lyx logic to the changed implementation
2017-04-15 17:32:58 +02:00
Uwe Stöhr
58e6c6c876 InsetFloat: allow float placement for rotated floats
- fixes bug #10270
- fileformat change
- fixes also a bug that unwanted placement was output to LaTeX on certain cases
2017-04-15 06:57:52 +02:00
Uwe Stöhr
87c553af56 PDF-form.lyx: New German translation
- also many fixes and updates of the English version
- also some according fixes in de.po
2017-04-15 04:54:07 +02:00
Enrico Forestieri
217696d34b lyxpak.py: Python 3 compatibility 2017-04-15 00:05:40 +02:00
Uwe Stöhr
d8185a6b8b Math.lyx: correct wrong info about \mathindent 2017-04-14 00:59:32 +02:00
Enrico Forestieri
1a26f9b26c layout2layout.py: Python 3 compatibility
The layout2layout.py script already reads and writes files in
binary format. However, all regexes and comparisons assume strings,
so that python3 chokes on them. This commit converts all involved
strings into bytes-like objects. In this way both python 2 and 3
behave the same.
2017-04-13 16:25:59 +02:00
Enrico Forestieri
8f70d55148 configure.py: Python 3 compatibility
Don't assume any encoding for the layout files and treat them in
the same way python 2 does. Thanks José for the idea.

This commit supersedes 50e21b71 and e19b2a71.
2017-04-13 15:34:54 +02:00
Enrico Forestieri
db494452dc TeXFiles.py: Python 3 compatibility 2017-04-13 10:49:38 +02:00
Uwe Stöhr
fc1c5c6f28 BufferParams: rename formula_indent to math_indent etc. as requested
- also add flyx2lyx feature to import existing document class option as requested by JMarc
- also don't use a real default indentation length
2017-04-13 02:31:26 +02:00
Jean-Marc Lasgouttes
e19b2a717e Set encoding correctly when reading layout files
Patch from Enrico.
2017-04-10 15:06:14 +02:00
Stephan Witt
4a009c85bb #9006 care to make prefs2prefs.py python 3 compatible 2017-04-08 20:58:16 +02:00