Commit Graph

8017 Commits

Author SHA1 Message Date
José Matos
61a9f04754 Fix bug #10273
The export of compressed files to previous lyx versions failed on windows.

The change in this case is to explicitly pass the output file since we know it.

At the same time take care of the fact that lyx2lyx knows what file format
versions corresponds to each lyx version.
2016-08-01 11:04:39 +01:00
José Matos
41666164f7 White space change only (remove spaces at the end of lines) 2016-08-01 10:53:10 +01:00
Richard Heck
68a0822e25 Fix typo in new dia converter. 2016-07-31 12:47:13 -04:00
Uwe Stöhr
3eb90307a7 Customization.lyx: remove incorrect LaTeX symbols 2016-07-31 10:35:04 +02:00
Richard Heck
5fa071ec1e Fix display of code listings in XHTML.
Fixes bug #8362.

(cherry picked from commit ab3a49973f)
2016-07-31 01:48:57 -04:00
Richard Heck
1bcede451a Enable export of spreadsheets with XHTML.
(cherry picked from commit 1840e2dbaf)
2016-07-31 01:36:43 -04:00
Richard Heck
1f36c6aa78 Dummy export for spreadsheets: plaintext and DocBook.
(cherry picked from commit 94dd876699)
2016-07-31 01:36:13 -04:00
Richard Heck
9f852516e8 Export external raster graphics as png for XHTML.
(cherry picked from commit 681e76086a)
2016-07-31 01:36:12 -04:00
Richard Heck
deb6c1de06 Export external vector graphics as svg for XHTML.
(cherry picked from commit b9f7bf7d69)
2016-07-31 01:36:11 -04:00
Richard Heck
151e004ab1 Enable SVG export of XFig figures for XHTML.
(cherry picked from commit a45ffddb23)
2016-07-31 01:36:11 -04:00
Richard Heck
ad8b479c71 Activate export of chess diagrams for XHTML.
(cherry picked from commit 0b8c6bbbf8)
2016-07-31 01:36:10 -04:00
Richard Heck
9a95390791 Enable XHTML export of LilyPond files.
(cherry picked from commit b35661b755)
2016-07-31 01:36:09 -04:00
Richard Heck
5555661bf6 Allow XHTML export of Dia diagrams.
(cherry picked from commit 3f1199d56a)
2016-07-31 01:36:08 -04:00
Richard Heck
d7ecdedd67 Fix indentation of fen2ascii script so it will run.
(cherry picked from commit 22e1063cb9)
2016-07-30 23:18:46 -04:00
Richard Heck
21ccd006ee Fix some symbols that are displayed incorrectly in MathML export.
(cherry picked from commit 8860365565)
2016-07-30 21:12:24 -04:00
Richard Heck
9d3917a4b6 Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.

(cherry picked from commit a11e07a62f)
2016-07-29 23:52:47 -04:00
Richard Heck
46a16b0ca7 Merge branch '2.2.x' into 2.2.2-staging 2016-07-25 14:55:16 -04:00
Richard Heck
a4a1c11b2d Fix hang reported at #10307.
Also, add a FIXME explaining what we'd need to do to fix the
convert_TeX_brace_to_Argument routine properly.

(cherry picked from commit 0f4c14bba2)
2016-07-23 13:45:32 -04:00
Richard Heck
c7de07a41b Add InStar module to the distribution. 2016-07-16 11:09:03 -04:00
Uwe Stöhr
edf1a236da doc files: remove unnecessary TeX braces 2016-07-16 12:39:34 +02:00
Uwe Stöhr
1af511754b Math.lyx: a nitpick 2016-07-16 02:30:40 +02:00
Uwe Stöhr
d15950ffde Math.lyx: add shortcuts for font styles 2016-07-16 02:27:56 +02:00
Uwe Stöhr
771950a14e example files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-16 00:22:37 +02:00
Uwe Stöhr
2111e775f5 MergedManuals.lyx: fix a file path 2016-07-16 00:08:58 +02:00
Uwe Stöhr
494f3991dc examples/templates: remove unnecessary parbreak
- fixes part of bug #10068
2016-07-15 23:59:20 +02:00
Uwe Stöhr
7e92e875d3 examples/templates: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-15 23:52:38 +02:00
Uwe Stöhr
78f59f72ac doc files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-15 23:48:00 +02:00
Uwe Stöhr
1d95e99423 UserGuide.lyx: re-add the \origin
(it drives me crazy that it will always automatically be removed)
2016-07-15 23:09:18 +02:00
Uwe Stöhr
d048e48a96 UserGuide.lyx: correct a menu name
- also remove unnecessary latexpars
2016-07-15 22:58:32 +02:00
Richard Heck
b366a55962 Fix some comments about the enumitem module. 2016-07-15 13:35:49 -04:00
Uwe Stöhr
9bc0d8a8de UserGuide.lyx: describe a new feature of LyX 2.2.1 2016-07-15 02:32:02 +02:00
Uwe Stöhr
c8a1b16de0 doc files: fix typos 2016-07-15 01:40:03 +02:00
Uwe Stöhr
aea9e4bf22 Tutorial example file: reflect what we actually describe in the Tutorial 2016-07-15 01:27:28 +02:00
Uwe Stöhr
a7a1c5c95d Tutorial.lyx: add a hint as requested by a user 2016-07-15 01:26:48 +02:00
Guillaume Munch
7a4355c1ef Document save_transient_properties 2016-07-13 18:15:51 +01:00
Juergen Spitzmueller
9fbe75bea9 Revert "linguistics.module: add new dependencies"
This reverts commit 33e550a986.
2016-07-13 08:02:44 +02:00
Kornel Benko
35a78ae0e9 Added missing oxygen icons to distribution
Like in master at 60a1827b65
2016-07-09 13:34:49 +02:00
Kornel Benko
53425c7e99 Added missing ipa icons to distribution
Like in master at 43d284e15a
2016-07-09 13:25:33 +02:00
Juergen Spitzmueller
b3ce60c96f Fix incompatibility of covington and beamer.
Candidate for stable.
2016-07-08 16:50:04 +02:00
Georg Baum
26c0bb9bea Export svg in xhtml, not svgz (bug 10160)
LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.
2016-07-07 21:45:12 +02:00
Uwe Stöhr
41d33d4c54 German UserGuide.lyx: port some typographic changes from Günter 2016-07-05 03:01:34 +02:00
Uwe Stöhr
f607b27c62 Japanese Customization.lyx: fix a language issue 2016-07-06 02:23:02 +02:00
Uwe Stöhr
c036549a00 Customization.lyx: fix format number as reported by Andrew Parsloe
- also fix some typos and typographic mistakes and remove outdated info
2016-07-06 01:58:57 +02:00
Uwe Stöhr
bfa5683639 Customization.lyx: accept changes by Richard
- also fix a typo
2016-07-06 01:43:32 +02:00
Uwe Stöhr
96665053c4 Math.lyx: add info contributed by Pavel 2016-07-02 20:10:22 +02:00
Uwe Stöhr
fb85b57af1 doc files: move a forgotten changelog file 2016-07-02 20:09:57 +02:00
Uwe Stöhr
52486ed3eb UserGuide.lyx: some minor adjustments
result of a patch sent by a user
2016-07-02 19:34:14 +02:00
Georg Baum
67d7a17af5 Make LyX compiled by MSVC 2015 run on Vista again
Patch and tests from Dima Ruinskiy, comments by me. For details see discussion
in bug 10186.
2016-07-02 10:16:48 +02:00
Kornel Benko
ac786369ef Pass through for filename characters of \ecvpicture command
For instance in case the path contains '_', it would otherwise
be converted to '\_', and so \ecvpicture cannot find the referenced
picture.
2016-06-29 10:54:19 +02:00
Richard Heck
9d02f0bcf1 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:39:13 -04:00
Richard Heck
f1f78c0333 Revert "JSS template should load math packages automatically."
This reverts commit 525e01ce29.
2016-06-28 23:38:15 -04:00
Richard Heck
525e01ce29 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:37:28 -04:00
Pavel Sanda
a5f749bd1e * Math.lyx : One more take on maxima output.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195130.html

Reported the \it behaviour to maxima bugzilla.
https://sourceforge.net/p/maxima/bugs/3181/
2016-06-25 11:16:42 -07:00
Richard Heck
76bf4bbc9e Document change to behavior of charstyles. 2016-06-21 15:55:15 -04:00
Georg Baum
380475f4db Skip paragraph parameters for dash conversion
Some of them are directly passed to LaTeX, but for all of them a token
\twohyphens or \threehyphens is not valid. This fixes bug #10243.
2016-06-20 20:22:23 +02:00
Richard Heck
bf06e9338e Add new module:
Provides two new styles:

1. An "In Premable" style that puts whatever is entered into it into the preamble.
   This can be used, if one wishes, to include preamble code in the body of the
   LyX document.
2. An "In Title" style that will put its contents into the body of the LaTeX
   document, but before \maketitle is issued. This is useful for making branches
   and notes in title-related material. (If you put these in a Standard layout,
   this signals to LyX to output \maketitle, which may then come too early.)

The ForceLocal machinery allows the module to be added to stable.

(cherry picked from commit a9af5333b2)
2016-06-20 11:10:07 -04:00
Richard Heck
b593ba5b48 Fix bug #10218, in a way less invasive than it has been fixed in
master. Patch due to Enrico.
2016-06-18 12:59:02 -04:00
Juergen Spitzmueller
8318473227 Implement some forgotten context menu items for arguments
* Dissolve context menu
* Label toggle (for conglomerate-styled arguments)

Fixes: #10150
2016-06-15 22:32:53 +01:00
Guillaume Munch
c137ae4c43 Automatically show the review toolbar if the document has tracked changes
(#8738)

For efficiency, we add a new flag to the buffer indicating when changes are
present. This flag is updated at each buffer update, and also when explicitly
requested via a dispatch result flag.
2016-06-15 22:32:53 +01:00
Pavel Sanda
3545c51bc1 * Math.lyx put last changes under CT. 2016-06-12 18:57:58 -07:00
Pavel Sanda
8a1578e405 * Math.lyx : add few maxima examples to ch. 23.1. 2016-06-11 11:23:39 -07:00
Richard Heck
6234a48950 Forgot I shouldn't cherry pick changes to the docs. So fix it. 2016-06-07 17:37:54 -04:00
Richard Heck
c8a7759fdc Fix some problems with the preamble in th eKoma-script letter
template.

Thanks to Richard Talley for the report.

(cherry picked from commit b3cf3b67d9)
2016-06-06 19:58:09 -04:00
Uwe Stöhr
c672cfe74f Tutorial.lyx: don't use true small caps
this would require another font package with several MB size for only one single word -> not worth it for the Tutorial. The other language versions of the Tutorial do already not use true small caps.
2016-06-03 01:27:48 +02:00
Uwe Stöhr
cbd103e159 UserGuide.lyx: update 2 images 2016-05-30 23:19:24 +02:00
Uwe Stöhr
b2f04f8784 UserGuide.lyx: update 2 images 2016-05-30 04:26:13 +02:00
Uwe Stöhr
eeef785bad tufte-handout.lyx: remove some unnecessary TeX code 2016-05-30 01:55:18 +02:00
Uwe Stöhr
4c7c3a24c1 tufte-handout.lyx: remove some unnecessary TeX code 2016-05-30 01:54:30 +02:00
Jean-Marc Lasgouttes
c705347523 Move the documentation changelogs out of attic
They should not be hidden in this directory.
2016-05-28 17:41:20 -04:00
Enrico Forestieri
63153b8937 Add note about required svg support in Qt. 2016-05-23 03:05:36 +02:00
Scott Kostyshak
e16018afb8 RELEASE-NOTES: add a known issue regarding LuaTeX
Our LuaTeX export is not expected to work in all cases with the
newest version, e.g. the one shipped with TeX Live 2016.
2016-05-22 18:08:05 -04:00
Scott Kostyshak
6280d8f261 Fix compilation if Intro manual for it 2016-05-21 23:13:27 -04:00
Scott Kostyshak
e0ff8a3c8b Fix compilation of Additional manual for es, fr 2016-05-21 23:05:35 -04:00
Georg Baum
5f36a413ae LyX does work with ImageMagick 7 2016-05-21 11:24:39 +02:00
Georg Baum
8d4236bd1d Fix python release notes
The old text was incorrect and came from the 2.0 release. LyX works fine if
the default python interpreter is python 3, as long as python 2 is available
as well.

Building LyX does also work with python 3, but since I did not check all
special build steps with both cmake and autotools, I kept a note about
possible problems.
2016-05-21 10:12:57 +02:00
Uwe Stöhr
5254045a4d Tutorial.lyx: get rid of unnecessary preamble code
The aim of the tutorial is to explain how to use LyX and not special LaTeX issues with \frontmatter, non-TeX fonts etc. Therefore the preamble should kept clean.
2016-05-19 01:46:09 +02:00
Uwe Stöhr
3b3dccb34a Japanese Additional.lyx: fix broken filename - this is a regression bug in LyX 2.2
see bug #10136
2016-05-18 00:43:51 +02:00
Uwe Stöhr
5d716ce77d German Tutorial.lyx: few stylistic changes from Mike 2016-05-18 00:26:58 +02:00
Uwe Stöhr
9e437d7a93 German Additional.lyx: make compilable again
- some further typographic fixes
- use same PDF settings as the English version of Additional.lyx
2016-05-18 00:17:09 +02:00
Uwe Stöhr
efe72fd8e2 Additional.lyx: remove unnecessary TeX code
- also some typographic fixes
2016-05-18 00:08:20 +02:00
Uwe Stöhr
f3ee4a0a49 Japanese docs: fix some more paths
- also few beautification
2016-05-17 23:34:09 +02:00
Guillaume Munch
f60e705299 Remove test for luatex+fontspec compatibility (#8478)
This test used freeze on luatex's font cache generation, and only
very old versions of luatex and fontspec are incompatible with each
other.
2016-05-15 19:30:35 +01:00
Uwe Stöhr
9a16b2e87f German Tutorial.lyx: a typographic fix 2016-05-15 19:09:38 +02:00
Uwe Stöhr
7376f2f37f Tutorial.lyx: add a hint 2016-05-15 19:09:10 +02:00
Uwe Stöhr
e0d44fbf3c German Tutorial.lyx: some more fixes from Mike and me 2016-05-15 18:50:22 +02:00
Uwe Stöhr
498eb64e1f EmbeddedObjects.lyx: get rid of unnecessary ERT and fix an image size 2016-05-15 17:14:09 +02:00
Uwe Stöhr
564e72f29f Japanese docs: fix some further broken images links etc. 2016-05-15 16:50:16 +02:00
Uwe Stöhr
2b4300a48d UserGuide.lyx: fix some typographic issues spotted by Mike 2016-05-15 16:34:40 +02:00
Uwe Stöhr
e2f5505d41 Japanese UserGuide.lyx: fix broken image links 2016-05-15 16:34:06 +02:00
Uwe Stöhr
72c9ff8a50 Tutorial.lyx: fixes all other languages according to previous commit
- typographic fixes, break links etc.
2016-05-15 03:29:04 +02:00
Uwe Stöhr
1742b371aa German Tutorial.lyx: some fixes from Mike and me 2016-05-15 03:25:37 +02:00
Juergen Spitzmueller
48e4363482 beamer manual: fix grammar issues spotted by Anthony Campbell. 2016-05-14 10:27:08 +02:00
Pavel Sanda
518876b370 * lib/RELEASE-NOTES 2016-05-11 10:31:59 -07:00
Georg Baum
8da5d01ff7 Detect ImageMagick 7
Imagemagick 7 does not have a convert command anymore, it is now called magick.
Joint work by Uwe and me.
2016-05-10 21:27:57 +02:00
Georg Baum
a1cc936548 Ensure that TeXFiles.py is run by python2
We ensure that configure.py is called by python2, regardless whether 'python'
is python 2 or 3. Therefore we can simply call TeXFiles.py with the currently
running interpreter. This fixes configuration on systems where 'python' is
python 3.
2016-05-10 07:18:48 +02:00
Georg Baum
38e9752c01 Change line ends back to unix.
They were changed to windows by accident at 41e928b2e5.
2016-05-09 22:03:16 +02:00
Uwe Stöhr
4ac85c61b6 German UserGuide.lyx: unset compression
thanks Guillaume for the hint
2016-05-09 01:42:35 +02:00
Uwe Stöhr
c62cad7a71 Merge branch 'master' of git.lyx.org:lyx 2016-05-09 01:24:14 +02:00
Uwe Stöhr
41e928b2e5 German UserGuide.lyx: tons of typographic fixes sent in by an unknown user 2016-05-09 01:24:02 +02:00
Guillaume Munch
10cbed2abe Examples: remove parbreak and latexpar separators
The difference has been validated with diffpdf.

The following could not be tested and were left unchanged:

docbook_article.lyx
lilypond.lyx
linguistics.lyx
springer/sv*.lyx
de/linguistics.lyx
es/linguistics.lyx
ja/FeynmanDiagrams.lyx
ja/lilypond.lyx
ja/beamer.lyx
ja/xypic.lyx

The following is the script that I used (in lib/examples):

LYX=../../build/src/lyx
$LYX -E pdf2 $1.old.pdf $1
sed -i "s/^\\\\begin_inset Separator parbreak$/\\\\begin_inset Separator plain/" $1
sed -i "/^\\\\begin_inset Separator latexpar$/ { N; d; }" $1
$LYX -e lyx $1
$LYX -E pdf2 $1.pdf $1
diffpdf $1.old.pdf $1.pdf
2016-05-08 22:14:46 +01:00