Commit Graph

8885 Commits

Author SHA1 Message Date
Richard Heck
dd7863b6ac Fix thinko from earlier commit.
We need to output the deferred material AFTER the paragraph is closed.
2016-07-30 01:29:06 -04:00
Scott Kostyshak
075d53c990 Document closing a tab with middle-click
This commit documents the feature introduced at 4803c769, which
fixed #10288.

The User Guide already has a section on closing tabs, so this fits
in well.
2016-07-24 01:41:24 -04:00
Richard Heck
0f4c14bba2 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.
2016-07-23 13:44:34 -04:00
Enrico Forestieri
cf8302b86d Update qpdfview info on inverse search 2016-07-19 11:31:36 +02:00
Scott Kostyshak
3826ff6434 Improve documentation of LFUN_BUFFER_ZOOM_{IN,OUT}
The default for ZOOM_OUT is -20 from a user perspective. That is,
the following are equivalent:

  buffer-zoom-out -20
  buffer-zoom-out

The reason for this is that the argument to ZOOM_OUT is treated the
exact same way as ZOOM_IN. The only way they differ is how the
default case is handled.

This commit also clarifies that (1) the argument may be positive or
negative and that (2) the argument is interpreted as percentage
points, not percent.
2016-07-19 02:11:27 -04:00
Scott Kostyshak
d158bca200 Update LFUNs.lyx to describe branch-invert 2016-07-19 02:01:57 -04:00
Kornel Benko
c4a6d8d568 Ammend c169861 2016-07-16 22:03:56 +02:00
Uwe Stöhr
c8814a0a9d doc files: remove unnecessary TeX braces 2016-07-16 12:45:51 +02:00
Uwe Stöhr
0124e8ff89 Math.lyx: add shortcuts for font styles 2016-07-16 02:31:34 +02:00
Uwe Stöhr
f965079ea3 example files: remove unnecessary latexpar
- fixes part of bug #10068
2016-07-16 00:24:27 +02:00
Uwe Stöhr
c1e698fd86 doc/template/examples files: port recent changes
By the way: Please only edit the files in the 2.2.x branch unless you describe a new features of LyX 2.3.
2016-07-16 00:11:28 +02:00
Uwe Stöhr
19e0adb86b UserGuide.lyx: port today's changes 2016-07-15 02:56:47 +02:00
Uwe Stöhr
74888abfca doc files: port recent changes 2016-07-15 01:40:43 +02:00
jpc
7840e65129 Fix typos in InStar module explanantions 2016-07-14 22:46:12 +01:00
José Matos
cca93dacae Improve the file format upgrade and downgrade for microtype
Add get_bool_value to parser_tools to be used in other places.
Make the upgrade convertion seamless from lyx writing the file (regarding
microtypes, there are still other dragons to chase. :-)
2016-07-13 15:01:17 +01:00
Scott Kostyshak
2b6f822bad Add CMake flag for keytests and disable by default
The keytests were previously enabled by default if the necessary
dependencies were found. They require a GUI and mouse so can
sometimes be annoying. Further, they are not currently reliable.
They are thus now disabled by default.
2016-07-13 04:52:46 -04:00
Juergen Spitzmueller
edfee02ed7 Revert "linguistics.module: add new dependencies"
This reverts commit 33e550a986.
2016-07-13 08:00:07 +02:00
Scott Kostyshak
5392877fa5 UserGuide: "Toggle Inversion" -> "Invert Inset"
Consistent with change at 6f97684d.
2016-07-12 22:21:58 -04:00
Scott Kostyshak
5651f7d7ca Development.lyx: fix a typo 2016-07-12 22:21:51 -04:00
Guillaume Munch
6f97684d56 Branch-invert: Add a check mark to the switch in the contextual menu. 2016-07-12 14:27:08 +01:00
Richard Heck
e57889ff2f Document new inverted branch insets in User Guide. Also add note to
RELEASE_NOTES.
2016-07-12 00:20:27 -04:00
Richard Heck
e1ca7733c3 LFUN to toggle branch inversion status, now available from the
context menu.
2016-07-12 00:19:40 -04:00
Richard Heck
5df323a0dd Introduce "inverted" branch insets: These are branches whose content
is output when a branch is NOT activated. Fixes bug #7698.

At the moment, inversion is controlled through the branch settings
dialog. There is no provision for inserting inverted insets directly,
or for changing them from the context menu. Both of these could be
done, of course. The latter would need LFUN_BRANCH_TOGGLE_INVERTED.
2016-07-11 23:56:32 -04:00
Richard Heck
ed87044d91 We do not need to enter the format numbers for 2.3 at this time.
The code just below fills thiss automatically.

(cherry picked from commit 3d8082346e16770f3af4ee6d617c8fe91e9292e1)
2016-07-11 22:49:29 -04:00
Richard Heck
a11e07a62f Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.
2016-07-10 00:19:19 -04:00
Juergen Spitzmueller
fe06ef0e27 Correct format 2016-07-09 13:57:49 +02:00
José Matos
7848bdd4fe Fix bug #10273
Although this a problem that only manifests itself on windows the change is general
and it works anywhere.

The major change is to change the file redirection > to -o the specifies the output file.

At the same time it makes the call to lyx2lyx less cryptic, e.g. to revert to the 1.3
format we have:

\converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o"     ""

now instead of
python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o

we use a call where the version to revert is explicit
python -tt $$s/lyx2lyx/lyx2lyx -V 1.3 -o $$o $$i

or we could write a longer, but more understandable form:
python -tt $$s/lyx2lyx/lyx2lyx --final_version 1.3 --output $$o $$i

FWIW I shuffled the order of the arguments just for the sake of readability,
to let $$i be the last argument.
2016-07-08 16:06:03 +01:00
Juergen Spitzmueller
312e82876c Add comment 2016-07-08 16:48:56 +02:00
Juergen Spitzmueller
967dbe0d68 linguistics: minor doc tweaks 2016-07-08 13:58:32 +02:00
Juergen Spitzmueller
ee14363e0b Fix incompatibility of covington and beamer.
Candidate for stable.
2016-07-08 10:04:24 +02:00
Uwe Stöhr
6a598b3d12 German UserGuide.lyx: backport recent changes from branch 2016-07-05 03:02:11 +02:00
Uwe Stöhr
d0eebfd044 doc files: backport recent changes 2016-07-05 02:27:36 +02:00
Pavel Sanda
8085899fb6 Ressurect make distcheck. 2016-07-04 13:17:07 -07:00
Enrico Forestieri
7c82ab3205 Fix display of \leq, \geq, and \lnot in mathed
Commit 343a379b used a wrong syntax that was causing the display
of the above symbols as blanks.
2016-07-04 21:55:00 +02:00
Georg Baum
5b04b91d54 whitespace 2016-07-02 14:52:46 +02:00
Georg Baum
083e6bb8a4 Fix MathML for imaginary part
image is the HTML image element
2016-07-02 14:37:05 +02:00
Georg Baum
0147e1f857 Add Dima to CREDITS 2016-07-02 10:11:21 +02:00
Georg Baum
521c0cde3a Add some symbols from fontmath.ltx
These are all in lib/symbols, but we did not yet know the corresponding unicode
numbers. unicodesymbols does still not contain all symbols from lib/symbols.
2016-06-30 22:25:56 +02:00
Richard Heck
9fe0e9563f Add John Hudson. 2016-06-29 16:02:27 -04:00
Richard Heck
c16986161a Re-organization of Additional Features manual by John Hudson. 2016-06-29 12:18:36 -04:00
Kornel Benko
b9ed02314f 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:45:03 +02:00
Richard Heck
9aa874e3b1 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:35:57 -04:00
Georg Baum
4df8117a9d Escape backslashes
The parser that reads unicodesymbols uses backslashes to escape quotes, so
every backslash that is part of a LaTeX command needs to be escaped as well.
There are more candidates in the greek and cyrillic sections, but I don't
know those commands, so I did not touch them.
2016-06-26 20:36:44 +02:00
Georg Baum
343a379b88 Move duplicated symbols to the macro section
This helps to find them via unicodesymbols as I do for some STIX experiments
2016-06-26 20:36:44 +02:00
Scott Kostyshak
3cecd4d393 Remove \it and other oldfonts from math completion
\it and the other oldfont commands are deprecated and the new forms
(e.g. \mathit) should be used instead. The old forms can lead to a
warning in TeX Live 2015 and an error in TeX Live 2016.

Note that with this commit only affects completion, so LyX still
supports displaying e.g. \it in math if the user enters it without
completion.

This is consistent with 24d01111.

Thanks to Guillaume for the patch.
2016-06-25 19:40:18 -04:00
Richard Heck
1db883e183 In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
Georg Baum
3420910d7b Remove asciiimage and asciixfig formats
The external templates requested conversion to these formats, but there was no
converter defined, so plain text export did fail, and there are no obvious ways
to create plain text representations for the files used by these templates.
Now we output the file name as for other templates and also the graphics inset.
This fixes bug #7135.
2016-06-25 21:09:21 +02:00
Pavel Sanda
4c361a7bdf * 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/
If they don't fix it we might want to kill this line altogether.
2016-06-25 11:23:05 -07:00
Scott Kostyshak
3f93355488 Change \it to \mathit in Math.lyx
On TeX Live 2016, Math.lyx gives an error when compiling with
pdflatex. On TeX Live 2015, Math.lyx compiles but the log gives the
following warning:

  Usage of deprecated font command `\it'!

This commit amends 67e45aa3.
2016-06-25 03:49:27 -04:00
Richard Heck
92fae708ae Style. 2016-06-24 16:02:35 -04:00
Richard Heck
e7ea33885c Document new behavior of ForcePlain with charstyles. 2016-06-21 15:40:43 -04:00
Richard Heck
a9af5333b2 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.)

Due to the ForceLocal machinery, no format change is needed.
2016-06-20 11:06:31 -04:00
Georg Baum
d66d6f7805 Remove external date inset
The external date inset was implemented as a demonstrator for external insets
in general. It was never intended for production code. Now that we have several
external insets defined we do not need the demonstrator anymore. This fixes
bugs #4398 and #9948.
2016-06-19 21:23:25 +02:00
Georg Baum
5ab19af782 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-19 17:05:13 +02:00
Georg Baum
ff93b83953 implement lyx2lyx roundtrip for \use_microtype 2016-06-17 21:11:53 +02:00
Georg Baum
c6610453e0 Use unicode cmdline args consistently
Previously the commandline arguments were processed in an operating system
dependent encoding if running under python 2. Now they are converted to
unicode during the parsing, using the more modern argpase instead of optparse.
The individual conversion methods do no longer need to know anything about
commandline encoding. This fixes a bug similar to #10218 if running under
python 2 which I probably introduced during the python 3 conversion.
2016-06-16 22:05:56 +02:00
Kornel Benko
43d284e15a Added missing ipa icons to distribution 2016-06-15 15:03:55 +02:00
Kornel Benko
60a1827b65 Added missing oxygen icons to distribution 2016-06-15 14:50:09 +02:00
Georg Baum
7b4c4d8ae1 Add missing images to source package
Thanks to Kornel for noticing.
We cannot use ${x} style variables with autotools, these work only in the
final Makefile. We need to use $(x).
2016-06-14 22:30:26 +02:00
Pavel Sanda
8e3a890b2a * Math.lyx put last changes under CT. 2016-06-12 19:00:06 -07:00
Georg Baum
166420d02c Make lyx2lyx infrastructure python3 ready
The LyX class works now with python 3. Certain file format conversions may
still fail (convert_multiencoding() is a hot candidate), but this will need
to be fixed in the individual modules.
2016-06-12 21:21:15 +02:00
Pavel Sanda
67e45aa36c * Math.lyx : add few maxima examples to ch. 23.1. 2016-06-11 11:27:49 -07:00
Georg Baum
72c6602b13 Improve comments and add missing decoding call
We do already fill the first line of the body in the first pass, so the body
has to be converted to the correct encoding as well.
2016-06-11 14:46:48 +02:00
Georg Baum
9558d863c8 Some python 3 fixes for lyx2lyx
These were found by 2to3 and later adapted to use the compatibility code
which was already used in some parts of lyx2lyx, e.g. lyx_1_5.py.
2016-06-11 11:06:11 +02:00
Georg Baum
e93013057f Add missing backslashes
Found by 2to3, but useful for python2 as well for consistency reasons.
2016-06-08 22:17:14 +02:00
Georg Baum
d0aa7d24ab Make scripts python3 compatible
Again using 2to3 and manual checking
2016-06-08 20:02:33 +02:00
Georg Baum
73a5e423bd Make configure.py python3 compatible
This was done using 2to3 and manual tweaking afterwards to ensure that it
works with python2 as well.
2016-06-08 19:29:15 +02:00
Richard Heck
b3cf3b67d9 Fix some problems with the preamble in th eKoma-script letter
template.

Thanks to Richard Talley for the report.
2016-06-06 19:55:54 -04:00
Scott Kostyshak
b1bc328396 Start a fresh RELEASE-NOTES 2016-06-06 04:57:47 -04:00
Scott Kostyshak
dc52bdf647 configure: Add export format for 2.2.x 2016-06-05 03:53:57 -04:00
Georg Baum
0560e5df04 Update gen_lfuns.py to current format
And run it to update LFUNs.lyx. This overtakes the  syntax fix from b356df7fc
as well.
2016-06-04 19:46:40 +02:00
Pavel Sanda
ba2b86fa5d Introduce basic support for microtype.sty.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg192743.html
2016-06-02 22:48:58 -07:00
Uwe Stöhr
ed0d002166 Tutorial.lyx: port last change 2016-06-03 01:29:59 +02:00
Georg Baum
eade4ceb92 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-06-02 22:34:28 +02:00
Uwe Stöhr
b4ab194216 UserGuide.lyx: update 2 images 2016-05-30 23:20:49 +02:00
Kornel Benko
161cf52363 Dont use invalid tag '<pre></pre>' in xhtml export 2016-05-30 09:48:06 +02:00
Uwe Stöhr
dd0330c349 UserGuide.lyx: update 2 images 2016-05-30 04:27:36 +02:00
Uwe Stöhr
234d482e1e tufte-handout.lyx: add the lost \origon tag
That the origin tag is automatically removed sucks. It consumes a lot of time to re-add it again and again.
2016-05-30 01:46:16 +02:00
Uwe Stöhr
be5ec39cf2 tufte-handout.lyx: remove some unnecessary TeX code 2016-05-30 01:42:00 +02:00
Kornel Benko
82e0ad3efa Correct wrong path for included lyx-file
Although the fix affects only a content of a LyX note, it is
still surprising to get a dialog-window demanding creation
a new document if trying to edit the subdocument.
2016-05-29 17:55:55 -04:00
Jean-Marc Lasgouttes
d30fe45f4c Fixup 1b2aad9 : Cleanup of spacing in mathed
Now that 5mu are added on each side of : (because it is a relation), there is no need to do the same in the definition of \vcentcolon.

This is closer to what is done in mathtools.sty.
2016-05-29 17:55:55 -04:00
Günter Milde
320b616c50 Improve documentation of LyX' "smart quotes" feature. 2016-05-29 17:55:55 -04:00
Georg Baum
306eb8d2a7 Add Shankar Giri Venkita Giri to CREDITS 2016-05-29 17:55:43 -04:00
Günter Milde
5fc431594f More fixes for #9897 (wrong inset-icon size in PDF)
Inset-icons are auto-scaled according to their width.
This is problematic, if converted from SVG
with the bounding box set to content (ignoring the page size)
and the content is not square.

OTOH, ignoring page size is done for good reasons - we usually want just
the drawing area when inserting an image into a document.

An invisible square with fixes this problem.

Some icons had spurious invisible elements outside the page -- leading
to too small results in the PDF. These were removed.
2016-05-29 17:55:43 -04:00
Guillaume Munch
6d4e6aad24 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-05-29 17:55:42 -04:00
Juergen Spitzmueller
8ed362fda7 Implement some forgotten context menu items for arguments
* Dissolve context menu
* Label toggle (for conglomerate-styled arguments)

Fixes: #10150
2016-05-29 12:32:53 +02:00
Jean-Marc Lasgouttes
01bbac4738 Move the documentation changelogs out of attic
They should not be hidden in this directory.
2016-05-28 17:43:01 -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
Guillaume Munch
edc8e76591 Templates: remove parbreak and latexpar separators
The difference has been validated with diffpdf.

The following could not be tested and were left unchanged:

AEA.lyx
IJMPC.lyx
ja_beamer-conference-ornate-20min.lyx

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

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
Uwe Stöhr
2ea95d0c1f Tutorial.lyx: some mote typographic fixes 2016-05-08 22:32:57 +02:00
Uwe Stöhr
75ff35e089 Tutorial.lyx: typographic fixes spotted by a user 2016-05-08 22:19:49 +02:00
Uwe Stöhr
b289c597ae Japanese doc files: big translation update fro 2.2.0 from Koji 2016-05-04 01:12:04 +02:00
Scott Kostyshak
2ab7c3ac11 RELEASE-NOTES: advise MSVC 2015 update 2 on Win
When compiling with Qt 5.6, MSVC 2015 update 2 is recommended in
order to avoid #9892.
2016-04-25 23:53:29 -04:00
Scott Kostyshak
287db1239b Fix a \origin unavailable 2016-04-16 15:20:33 -04:00
jpc
3d5cae4edd Minor rephrasing of last commit 2016-04-16 09:15:42 +01:00
Jean-Marc Lasgouttes
4807338ba9 Remove image spellcheck-continously.svgz
It is not a proper icon and is not used currently.
2016-04-15 09:21:44 +02:00
Scott Kostyshak
d28c4ae2c4 Update acmsiggraph-0-92.layout to latest format 2016-04-11 21:28:32 -04:00
Scott Kostyshak
847b69ea89 lyx2lyx: Set last minor version of 2.1.x series 2016-04-11 20:41:23 -04:00
Scott Kostyshak
7c3fd63646 Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines"
For why this reversion is being done, see:
https://www.mail-archive.com/search?l=mid&q=nebrfg%249t4%241%40ger.gmane.org

This reverts commit 700edf93d7.
The style correction regarding lib/Makefile.am is kept. This amends
647b106b.
2016-04-11 11:34:11 -04:00
Uwe Stöhr
ac6824e4f2 French UserGuide.lyx: restore the \origin tag 2016-04-11 00:39:53 +02:00
jpc
01ea2b5fb1 Adaptation of sections 3.3.6.2 ans 3.9.3.1 to French typography 2016-04-10 19:27:26 +01:00
Kornel Benko
b5e81c6370 Correct list of template files
Change to new layout for aastex6.cls removed aastex.lyx and added aastex6.lyx
2016-04-09 21:24:13 +02:00
Uwe Stöhr
700edf93d7 AGUTeX: update layout to AGUTeX 2015 according to our new guidelines 2016-04-09 18:38:07 +02:00
Uwe Stöhr
647b106be6 ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
Scott Kostyshak
fe82ce961a Fix layout strings that cause a make error
We do not currently handle UTF-8 characters in our layout strings.
Replace dashes with simple ASCII dashes to avoid the following
error:

  msguniq -o lyx.po
  msguniq: input file '-' doesn't contain a header entry with a
  charset specification

This commit amends the recent commit b4dcad83.
2016-04-08 18:40:56 -04:00
Günter Milde
b4dcad83b2 New layout for aastex6.cls. Fixes #10027.
Some more work for new and improved styles optional.
2016-04-08 21:34:23 +02:00
Helge Hafting
f5cea5abc2 Corrected the path to ToolBarEnvBox.png, so the document compiles again. 2016-04-07 10:02:25 +02:00
Georg Baum
7c1b6cd73f Update translation of Chart by Georger
This has been discussed on the docs list, Diagrama is much more general.
2016-04-07 07:37:44 +02:00
Georg Baum
d3ebda2333 Fix graph translations for es, pt_BR and pt_PT
This was discussed in the thread "Translations of Math environments in LyX
output for LyX 2.2" at http://www.mail-archive.com/lyx-docs@lists.lyx.org/msg08633.html
and has been reviewed. The problem was that in 2.1, the portuguese translation
was correct in lib/layouttranslations but different in po/pt_PT.po. In fact,
the translation is the same for all three languages spanish, portuguese and
brazilian portuguese.
2016-04-06 08:22:59 +02:00
Enrico Forestieri
b856a3ad9b Update docs to latest format. 2016-04-06 05:43:44 +02:00
Enrico Forestieri
d4ca8d7404 Introduce the latexpar separator.
This is the same as the parbreak separator and is represented on screen
as the old parbreak. Old parbreak separators are converted to latexpar
separators when they are used for introducing blank lines in the
latex output rather than for separating environments.
Instead, parbreak separators are now represented on screen by a
double line. In essence, latexpar and parbreak separators produce
the same output but are represented differently on screen.
The context menu does not account for latexpar separators and only
"true" separators can be turned each into the other one.
2016-04-06 05:25:27 +02:00
Georg Baum
b509e072e8 Overtake layout translations from sl.po
sl is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 22:02:00 +02:00
Georg Baum
a1c248a47c Overtake layout translations from ko.po
ko is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 21:59:48 +02:00
Georg Baum
2f266caa9f Overtake layout translations from bg.po
bg is completely unreviewed, so we do nothing wrong if we translate previously
untranslated strings.
2016-04-05 21:54:10 +02:00
Georg Baum
90fdd49b2b Review of portuguese layout translations by Pedro
He made more suggestions, but those are not 100% clear yet.
2016-04-05 08:26:38 +02:00
Georg Baum
b9ca82578d Latest brazilian translations from Georger
After some discussion between Georger, Pedro, Pavel and me Georger came to the
conclusion that Mapa is not the correct translation of Chart in this context.
Originally he proposed Gráfico, but since that would be identical to the
translation of Graph we decided that Diagram is better. It is a bit more
general than Gráfico, but it is also used in pt_PT, and the german translation
uses the german equivalent, which is more general as well. Those who need a
Gráfico can still use Graph.

Unfortunately Geoger based the new .po file on the remerged one at
259196e1a6, so we have now the situation that pt_BR is remerged, but the
other languages are not.
2016-04-05 08:07:56 +02:00
Uwe Stöhr
f0e45c817d EmbeddedObjects.lyx: update a changed name
- de.po: update translation accordingly
2016-04-05 00:35:56 +02:00
Georg Baum
e87735f789 Review of greek layout translations by Οδυσσέας 2016-04-04 22:05:31 +02:00
Georg Baum
7ffaf4eca6 Review of norwegian layout translations by Helge 2016-04-04 21:54:11 +02:00
Günter Milde
7e33fd7fac Development.lyx: Simplify the list of reasons for file format updates. 2016-04-04 10:25:43 +02:00
Georg Baum
77fc7fe8b6 Review of brazilian layout translations by Georger 2016-04-03 20:30:29 +02:00
Günter Milde
a2dcc4dfcc Review material on updating layout files to the development docs. 2016-04-03 19:11:43 +02:00
Georg Baum
4467ee4405 Arabic translations have been reviewed 2016-04-03 10:09:45 +02:00
Richard Heck
95169b1000 Add material on updating layout files to the development docs.
Joint work by Guenter Milde, Georg Baum, and Richard Heck.
2016-04-02 11:37:25 -04:00
Georg Baum
d3094dca10 Accept footmisc removal
I don't remember why I used change tracking there, but we certainly don't
want to ship documentation with enabled change tracking.
2016-04-02 10:40:19 +02:00
Georg Baum
a78cc97b2a Fix List of Listings in finnish
I forgot to update that at e74a862418, this one was reviewed by Martin as well.
2016-04-01 21:45:13 +02:00
Jean-Marc Lasgouttes
6196645cce Update documents and layouts after fd1ee3b4. 2016-04-01 10:08:39 +02:00
Georg Baum
e74a862418 Update finnish layout translations
Now all finnish layout translations are reviewed (by Martin Vermeer).
2016-03-31 22:09:56 +02:00
Georg Baum
0690d9033c Mark brazilian translations for review
These translations were changed implicitly at ad6ab20bb1: Previously, the
translations were taken from pt. At ad6ab20bb1 all pt_BR translations were
copied from pt_BR.po, so we do still need a review for those that differ from
pt_PT.
2016-03-30 21:49:36 +02:00
Jean-Marc Lasgouttes
fd1ee3b424 Rename Caption:LongTableNoNumber to Caption:Unnumbered
The term LongTable has been deprecated and moreover the renaming makes the interface easier to the eye.

File format updated to 507. (conversion based on jamatos patch)
Layout format updated to 60.
tex2ylx tests updated.
Document EmbeddedObjects.lyx has been updated.
2016-03-30 16:07:00 +02:00
Scott Kostyshak
e5e21da467 Remove a duplicate \origin tag 2016-03-29 17:40:49 -04:00
Scott Kostyshak
e48a03460b RELEASE-NOTES: document creation of backup file
We now create a backup file when overwriting a file with a new file
format. See #9554 and cc83dfa8. This is now documented in
RELEASE-NOTES.

Thanks to Livu.
2016-03-28 01:33:49 -04:00
Uwe Stöhr
cfd2d808cc French UserGuide.lyx: another update from Jean-Pierre 2016-03-27 19:50:09 +02:00
Uwe Stöhr
b8fc31ad6f French UserGuide.lyx: update from Jean-Pierre 2016-03-27 19:46:20 +02:00
Georg Baum
a285ff046f Add missing layout translation keys
These have been forgotten by the last update, since bg, ko and sl are not in
po/LINGUAS. I add them here so that it is obvious that these translations are
missing.
2016-03-27 11:07:50 +02:00
Uwe Stöhr
9955fbbf2c Norwegian files: add missing \origin tag
otherwise I cannot compile LyX:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets
(151,5): error MSB6006: "cmd.exe" was ended with Code 1. [D:\LyXGit\Master\compile-2010\doc\doc.vcxproj]
2016-03-21 02:23:35 +01:00
Uwe Stöhr
935da758f4 French beamer.lyx: updates by Jean-Pierre 2016-03-20 23:22:35 +01:00
Helge Hafting
e1c609781a Update lib/Makefile.am and lib/doc/Makefile.am to reference newly
translated files (Norwegian (nb) Tutorial, splash and examples)
2016-03-20 02:38:02 +01:00
Helge Hafting
1b684dd513 Norwegian (nb) translations of splash.lyx, Tutorial.lyx,
and the example files referenced from the Tutorial.
2016-03-20 01:11:07 +01:00
Uwe Stöhr
3d178720f0 beamer: add French example files, patch from Jean-Pierre 2016-03-16 00:20:18 +01:00
Uwe Stöhr
fdab91be63 Norsk Intro.lyx: update from Helge 2016-03-11 20:19:22 +01:00
Scott Kostyshak
d319a9e831 Inherit "Provides color" in *-article.layout
This commit is Consistent with 97521c4e.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-11 04:12:54 -05:00
Scott Kostyshak
97521c4ec4 Fix xcolor use with *-beamer.layout
This commit fixes the minimal example of using e.g. purple text in
article-beamer.

Patch from Jürgen. See discussion here:
https://www.mail-archive.com/search?l=mid&q=20160305184215.GA17005%40cotopaxi.hsd1.dc.comcast.net
2016-03-10 16:48:18 -05:00
Uwe Stöhr
fae1cd6af0 splash.lyx: fix hyphenation 2016-03-04 01:54:19 +01:00
Uwe Stöhr
d3715336fe French linguistics.lyx: updates by Jean-Pierre 2016-02-27 19:58:10 +01:00
Guillaume Munch
2f17a9d029 Fix bindnasrepma.svgz
It's ampersand rotated 180 degrees, not its vertical mirror
2016-02-26 16:11:00 +00:00
Uwe Stöhr
70b7958aa1 French Math.lyx: changes by Jean-Pierre 2016-02-25 20:38:18 +01:00
Uwe Stöhr
d17a38ac24 Math.lyx: some fixes 2016-02-25 00:15:54 +01:00
Uwe Stöhr
82ac5dcc6f French Math.lyx: translations by Jean-Pierre 2016-02-25 00:15:00 +01:00
Uwe Stöhr
e8eed35c5c Math.lyx: revise section about subnumbering
thanks to Andrew Aparsloe for the hint
2016-02-21 17:46:55 +01:00
Juergen Spitzmueller
f60a152a29 Adapt forest (linguistic structure tree) to new syntax of the package
while maintaining backwards compatibility (#9967).
2016-02-21 11:54:25 +01:00
Uwe Stöhr
ee039005ac Spanish modernCV.lyx: updates by Ignacio 2016-02-20 02:39:41 +01:00
Uwe Stöhr
ba28f504b5 Spanish modernCV.lyx: update the file and make it compilable
(a special preamble is necessary for Spanish)
Ignacio will translate it soon.
2016-02-19 02:16:36 +01:00
Uwe Stöhr
8dc6c22b73 linguistics.lyx: re-add the \origin tag
Btw. the file is not compilable, see bug #9967
2016-02-18 02:00:38 +01:00
Uwe Stöhr
b6eb3f58be example files: fixes and updates by Ignacio 2016-02-18 01:53:08 +01:00
Uwe Stöhr
ca337df809 Spanish example files: updates by Ignacio (part 2/2) 2016-02-18 01:32:37 +01:00
Uwe Stöhr
0564785b3e tufte layouts: add new dependencies 2016-02-18 01:32:17 +01:00
Uwe Stöhr
33e550a986 linguistics.module: add new dependencies 2016-02-18 01:31:51 +01:00
Uwe Stöhr
a7c89edeaa Spanish example files: updates by Ignacio (part 1/2) 2016-02-18 01:07:08 +01:00
Georg Baum
5dcc89d257 Remove date from LFUNs.lyx as discussed.
Also update format to 506.
2016-02-11 21:22:07 +01:00
Scott Kostyshak
ce071eec92 Update docs to 2.2.0beta1 format 2016-02-09 21:38:47 -05:00
Scott Kostyshak
693ca643fc RELEASE-NOTES: document tabular-feature change 2016-02-09 19:13:43 -05:00
Uwe Stöhr
97dfacfffa Italian doc files: some updates from Claudio 2016-02-08 21:09:01 +01:00
Kornel Benko
49b6a89a14 Make ja/splash.lyx compilable again.
Using a second language (english) leads to errors if not using babel.
2016-02-08 11:02:34 +01:00
Uwe Stöhr
667bb0fd2a French Tutorial.lyx: update by Jean-Pierre 2016-02-03 21:53:50 +01:00
Uwe Stöhr
43ea63197d Japanese UserGuide.lyx: updates by Koji 2016-02-03 21:46:32 +01:00
Uwe Stöhr
67fa69ce6b New Brazilian splash.lyx from Georger
- therefore split Portuguese into Brazilian and Portugal
2016-02-03 01:24:58 +01:00
Uwe Stöhr
12559b33c3 Math.lyx: remove a misleading info
mathed simply does not yet support \parbox
2016-02-03 00:51:50 +01:00
Uwe Stöhr
0d30333ec6 acmsiggraph.layout: revert c1e0b243 partly 2016-02-03 00:03:55 +01:00
Enrico Forestieri
340acadee8 Translate a few sentences in it/splash.lyx 2016-02-02 01:41:34 +01:00
Günter Milde
fa75f57603 ctest export tests: document requirements.
Add suggestion for policy for "reuse" of documentation files.
2016-02-01 23:56:37 +01:00
Uwe Stöhr
6cddc4617b Spanish splash.lyx: translation from Ignacio 2016-02-01 21:41:08 +01:00
Uwe Stöhr
aa9e14c68f Ukrainian translations: updates by Yuri 2016-02-01 21:32:56 +01:00
Uwe Stöhr
5ff2286c28 French translations: updates by Jean-Pierre 2016-02-01 21:31:36 +01:00
Uwe Stöhr
bd3dd7873a Merge branch 'master' of git.lyx.org:lyx 2016-01-31 21:27:47 +01:00
Uwe Stöhr
4848c43ac0 splash.lyx: add note for Linux installations (part 2/2)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:26:20 +01:00
Scott Kostyshak
d5694318ef Document need to use same subset if --rerun-failed
When running the tests with ctest, --rerun-failed can be used to run
the tests that failed on the previous run. However, the same subset
must be specified because it is the test numbers that are used to
index which tests failed on the previous run. For example, it would
be incorrect to do the following:

  ctest -R export
  ctest --rerun-failed

The following is correct:

  ctest -R export
  ctest -R export --rerun-failed
2016-01-31 15:22:10 -05:00
Uwe Stöhr
b0370857b4 splash.lyx: add note for Linux installations (part 1)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:16:29 +01:00
Uwe Stöhr
bac98eaf4b Spanish Tutorial.lyx and Intro.lyx: updates by Ignacio 2016-01-31 15:28:45 +01:00
Uwe Stöhr
7b35843b0f Spanish Tutorial.lyx: remove non-existing menu 2016-01-30 20:36:48 +01:00
Uwe Stöhr
5ebf8cd649 UserGuide.lyx: document longtable -> multi-page table 2016-01-30 20:28:46 +01:00
Uwe Stöhr
130ee11f63 Spanish UserGuide.lyx: updates by Ignacio 2016-01-30 20:25:51 +01:00
Uwe Stöhr
11689bec64 UserGuide.lyx: an update 2016-01-30 01:26:27 +01:00
Uwe Stöhr
962d5b1c20 Spanish doc files: updates by Ignacio 2016-01-30 00:55:21 +01:00
Uwe Stöhr
78ce4edbd2 French doc files: updates from Jean-Pierre 2016-01-29 00:31:08 +01:00
Uwe Stöhr
d6489afa5d IOP-article.lyx: avoid some preamble code 2016-01-29 00:20:43 +01:00
Uwe Stöhr
4a8a2ef9a8 lyx_2_2.py: remove double code
thanks Guillaume
2016-01-27 22:51:49 +01:00
Uwe Stöhr
f8be82f76c Japanese doc files: translations from Koji 2016-01-27 22:43:35 +01:00
Guillaume Munch
627bb7bd07 Document the automatic generation of LFUNs.lyx (51d4036d) 2016-01-27 18:39:56 +01:00
Guillaume Munch
e5e8b55abb Development.lyx: intructions for LFUN format increment
Document the new policy
2016-01-27 18:35:38 +01:00
Guillaume Munch
360742c515 New LFUN tabular-feature: update docs
Simply run updatedocs.py
2016-01-27 18:35:10 +01:00
Guillaume Munch
f58638c704 New LFUN tabular-feature: convert "inset-modify tabular" in LyX files
* Increase LyX format

* New function convert_info_insets in lyx2lyx_tools.py
  Use this function in the future for future updates of info insets

* Convert "inset-modify tabular" to "tabular-feature" in info insets

* Remove icon naming hack regarding "inset-modify tabular"
2016-01-27 18:33:09 +01:00
Guillaume Munch
647b4efb1e New LFUN tabular-feature: update bind and ui files
A simple run of development/tools/updatelfuns.sh
2016-01-27 18:22:32 +01:00
Guillaume Munch
366b319e42 New LFUN tabular-feature: update prefs2prefs.py 2016-01-27 18:20:53 +01:00
Uwe Stöhr
c1e0b24304 acmsiggraph.layout: update layout for ACM siggraph 0.92
fileformat change: update fileformat for all files
2016-01-27 01:58:13 +01:00
Uwe Stöhr
bae3bd67b7 Customization.lyx: update color list in Font description 2016-01-27 01:09:58 +01:00
Uwe Stöhr
9e4755ff97 ectaart.lyx: correct style of a note 2016-01-27 00:59:58 +01:00
Uwe Stöhr
5207333ef0 aa.lyx: add BibTeX info and update file for latest A&A version 2016-01-27 00:55:12 +01:00
Uwe Stöhr
6e59aff511 AEA.lyx: update to address latest AEA version 2016-01-27 00:34:03 +01:00
Georg Baum
4ab1d77577 Fix regression of 0bf8b8a1 (bug 9884)
Unfortunately the footmisc package does not work together with hyperref:
Before 0bf8b8a1, a footnote in a section title was created as a link in pdf
outpout, after 0bf8b8a1 ist was no link anymore. For now we revert to the old
code, and wait until the footmisc and hyperref packages are made compatible.
2016-01-26 21:33:46 +01:00
Uwe Stöhr
5433db3931 acmsiggraph.layout: whitespace fixes 2016-01-26 01:52:39 +01:00
Uwe Stöhr
93faf3433c UserGuide.lyx: a compile fix
It is a long standing bug that lyX does not automatically convert # to \# in the LaTeX output so that one easily gets compilation errors.
2016-01-26 00:27:28 +01:00
Uwe Stöhr
f1a05b413a europasscv.layout: add dependencies
also some fine-tuning of the example file
2016-01-25 22:56:39 +01:00
Uwe Stöhr
8800068051 acmsiggraph.layout: add new dependency 2016-01-25 22:46:29 +01:00
Uwe Stöhr
f1930b0c68 IUCr layout: add new dependency
also mention new possible BibTeX style
2016-01-25 22:45:41 +01:00
Uwe Stöhr
14835f1da1 Changelog-XXX.txt: updates 2016-01-25 02:45:05 +01:00
Uwe Stöhr
45fde8bf97 UserGuide.lyx: describe dvips options
- also some unifications and fixes
2016-01-25 02:34:34 +01:00
Uwe Stöhr
61e338ffee Spanish EmbeddedObjects.lyx: re-add lost \origin tag 2016-01-24 16:19:56 +01:00
Uwe Stöhr
6291fefe9e EmbeddedObjects.lyx: update multi-page table description 2016-01-24 16:07:22 +01:00
Georg Baum
63974a9b6b Fix autotools build
33b757e7ab used a wrong extension for the new file in Makefile.am.
2016-01-24 15:09:35 +01:00
Uwe Stöhr
33b757e7ab SVG-Drawing.svg: add a SVG example drawing 2016-01-24 13:48:56 +01:00
Georg Baum
e179b03065 Really regenerate cmex10.ttf from .sfd at af970c20
I somehow managed to submit the wrong file at 313d4c0dc8.
Thanks again Enrico for noticing.
2016-01-24 11:40:03 +01:00
Kornel Benko
230c9275d1 Modified labelwidthstring containing '_'.
Otherwise the files is not compilable
2016-01-24 09:07:35 +01:00
Uwe Stöhr
68b18a4ccb French and Japanese EmbeddedObjects.lyx: forgot this issue in previous commit 2016-01-24 04:55:46 +01:00
Uwe Stöhr
dcf4f024ea EmbeddedObjects.lyx: update external templates section 2016-01-24 04:50:31 +01:00
Uwe Stöhr
3ca4a10924 UserGuide.lyx: describe new LaTeX log feature 2016-01-24 04:03:22 +01:00
Uwe Stöhr
60dd0e17e5 UserGuide.lyx: describe changed paragraph separation 2016-01-24 03:30:03 +01:00
Uwe Stöhr
f5f8e9e369 UserGuide.lyx: describe a new feature 2016-01-23 20:41:52 +01:00
Uwe Stöhr
e1e2e55472 Italian Tutorial.lyx: remove outdated underbars 2016-01-23 18:26:10 +01:00
Uwe Stöhr
2a507512e4 Japanese doc files: some tweaks 2016-01-23 18:16:25 +01:00
Uwe Stöhr
9ad4507f3b Additional.lyx: fixes 2016-01-23 17:19:21 +01:00
Uwe Stöhr
e7adefb528 Changelog-XXX-LyX_22x.txt: update ToDo 2016-01-23 17:10:31 +01:00
Uwe Stöhr
576da0d88f German Additional.lyx: corrections
German UserGuide.lyx: a fix
2016-01-23 17:09:14 +01:00
Uwe Stöhr
cbca21b8ed Spanish doc files: some tweaks 2016-01-23 17:02:38 +01:00
Uwe Stöhr
41a9c97a8e French doc files: some tweaks 2016-01-23 16:45:39 +01:00
Uwe Stöhr
53a3268c64 French doc files: translations by Jean-Pierre 2016-01-23 16:32:50 +01:00
Uwe Stöhr
716f44d5b9 Merge branch 'master' of git.lyx.org:lyx 2016-01-23 16:20:01 +01:00
Uwe Stöhr
d0ca4ddd98 French UserGuide.lyx: a translation from Jean-Pierre 2016-01-23 16:19:47 +01:00
Richard Heck
d763840a2f enumitem and paralist should exclude each other.
Reverts cb2fe78a64, which used the ExcludesModule tag, which
cannot be used in modules.
2016-01-23 09:54:08 -05:00
Günter Milde
7ecdcef236 Update/enhance/edit autotest documentation. 2016-01-22 22:42:40 +01:00
Günter Milde
ffb24b53f9 Remove enumitem example file from attic.
The content of this file is (in updated form) part of the UserGuide, so there is
no need for a separate example.
2016-01-22 22:42:40 +01:00
Georg Baum
cb2fe78a64 Do not allow paralist + enumitem modules
As discussed on the list. The two modules can only be used together with
special switches, and have partly overlapping functionality.
2016-01-22 21:55:40 +01:00
Uwe Stöhr
c0e5bbb600 French UserGuide.lyx: translations from Jean-Pierre 2016-01-22 00:11:53 +01:00
Uwe Stöhr
20c00c4fe6 enumitem.lyx: move this file to attic
See my post on the list - enumitem is already described in the userGuide.
(Besides this a makefile entry was missing for the file.)

Please don't add documentation files without a discussion or a review, especially not in a beta phase.
2016-01-20 23:56:27 +01:00
Günter Milde
f5a31cd9dc Example file for enumitem module. 2016-01-20 23:24:28 +01:00
Günter Milde
8b2fa0a27b Set default output to pdf (ps2pdf) - works for online viewing and presentation. 2016-01-20 23:23:48 +01:00
Georg Baum
10e98c2bbd Remove stmary10.sfd from source package
We do now have .sfd sources for all fonts, so either we distribute all of them
with the source package or none. Since the accumulated size is not negligible,
and the are not needed to build LyX, but serve a really special purpose, we
do not add them to the source package for now.
2016-01-20 21:29:43 +01:00
Georg Baum
313d4c0dc8 Regenerate cmex10.ttf from cmex10.sfd at af970c20
Thanks to Enrico for doing the actual work (my fontforge omits the
TtInstrs...EndTTInstrs blocks for some reason I do not understand).
I did only check that the only difference between the old and new .ttf is the
changed position of the bracketleftbigg glyph. This does finally fix bug 6115.
2016-01-20 21:14:08 +01:00
Uwe Stöhr
8d00943aab EmbeddedObjects.lyx: some tweaks 2016-01-20 02:33:19 +01:00
Richard Heck
070967b442 Example file for paralist module. 2016-01-19 06:50:13 -05:00
Richard Heck
29703f07d6 Fix typos in paralist module. The correct command is not compactdescr,
etc, but compactdesc. At least this is true in the most recent version
on CTAN.
2016-01-19 06:49:33 -05:00
Uwe Stöhr
bb379c2d87 Customization.lyx: forgot to turn off change tracking 2016-01-19 01:03:34 +01:00
Uwe Stöhr
877ea78877 Customization.lyx: fixes and updates from Jean-Pierre 2016-01-19 00:59:58 +01:00
Uwe Stöhr
a03ca62042 Development.lyx: restore \origin tag
Kornel, it seems that something is incorrect in your system because every change you make to the docs files removes the \origin tag
2016-01-19 00:17:02 +01:00
Kornel Benko
10ec8ed91d Typo 2016-01-18 10:59:35 +01:00
Günter Milde
3ec76c472e ctest autotest documentation update 2016-01-18 10:25:23 +01:00
Günter Milde
26a3f46388 Use \inputencoding auto for examples/aas_sample.lyx
Also sort and commen related ctest pattern.
2016-01-18 09:01:28 +01:00
Uwe Stöhr
f1a46bac7c UserGuide.lyx: describe the horizontal scrolling 2016-01-18 00:25:11 +01:00
Uwe Stöhr
82624a1302 UserGuide.lyx: typographic corrections 2016-01-17 20:30:52 +01:00
Uwe Stöhr
dc9489b9f5 Spanish Customization.lyx and UserGuide.lyx: translations by Ignacio 2016-01-17 19:25:40 +01:00
Georg Baum
af970c2055 Move bracketleftbigg to correct position
Generating a ttf from cmex10.sfd would fix bug 6115, but unfortunately I am
unable to export a ttf with the same settings as the existing one, so this has
still to be done.
2016-01-17 10:51:26 +01:00
Uwe Stöhr
ffa4072980 UserGuide.lyx: review Appendix C 2016-01-17 03:33:01 +01:00
Uwe Stöhr
401bdcc2f0 UserGuide.lyx: remove an outdated note
- also some minor fixes
2016-01-17 03:05:13 +01:00
Uwe Stöhr
b18fac7508 doc files: update more screenshots
- also fix a menu issue in EmbeddedObjects.lyx
2016-01-17 02:40:46 +01:00
Uwe Stöhr
87cbf2f27a Changelog-EmbeddedObjects-LyX_22x.txt: update 2016-01-17 02:22:25 +01:00
Uwe Stöhr
eb03c75fde doc files: update French screenshots 2016-01-17 02:20:33 +01:00
Uwe Stöhr
a8e673600c doc files: update Spanish screenshots 2016-01-17 01:52:18 +01:00
Uwe Stöhr
3a5d796831 doc files: update Italian screenshots 2016-01-17 01:35:50 +01:00
Uwe Stöhr
298da11c7c doc files: update some more screenshots 2016-01-17 01:28:45 +01:00
Kornel Benko
1590b4dd82 Update some image names 2016-01-16 21:20:34 +01:00
Uwe Stöhr
f3a5f7845e doc files: update and rename more sceenshots
- also update a menu name
- update a section French UserGuide.lyx
2016-01-16 20:52:02 +01:00
Uwe Stöhr
304d197a02 Intro.lyx: correct an image path 2016-01-16 19:49:45 +01:00
Enrico Forestieri
a3926b9e60 Add fontforge files 2016-01-16 15:46:48 +01:00
Uwe Stöhr
0628df4a19 amend last commit 2016-01-16 13:41:42 +01:00
Uwe Stöhr
8c6a51c17b Doc files: register image changes in Makefile.am
- also update Ukrainian
2016-01-16 13:38:33 +01:00
Uwe Stöhr
71b60e07c3 UserGuide.lyx: revise Appendix A
- update the toolbar screenshots, update some images and their names (more to follow)
2016-01-16 04:19:35 +01:00
Uwe Stöhr
b48a44e136 Spanish UserGuide.lyx: translate color names 2016-01-16 01:09:53 +01:00
Uwe Stöhr
056bc1c9e3 Spanish UserGuide.lyx: some tweaks 2016-01-16 00:51:01 +01:00
Georg Baum
4c3b8bf7c7 Update LFUNs.lyx to current format 2016-01-15 21:31:57 +01:00
Georg Baum
867ecaad4f Update docs for \output_changes move
Since \output_changes is written again at the original position, we need to
fix those files that have been updated using the intermediate version.
The update was done by running development/tools/updatedocs.py <lyxexe> where
<lyxexe> was the path to an up to date LyX binary. All files that did contain
additional changes were reverted:

lib/doc/LFUNs.lyx
lib/doc/UserGuide.lyx
lib/doc/Shortcuts.lyx
lib/examples/de/beamer.lyx

The \SpecialChar changes are fine, these files have never been saved by LyX
after the update to 483.
2016-01-15 21:23:13 +01:00
Uwe Stöhr
3ac456f444 EmbeddedObjects.lyx: fix some issues and typos 2016-01-14 22:32:35 +01:00
Guillaume Munch
9267b2b245 Amend 5c2d0499 2016-01-14 20:17:46 +00:00
Uwe Stöhr
57712b35b6 French linguistics.lyx: updates from Jean-Pierre 2016-01-14 02:56:52 +01:00
Kornel Benko
51bc75ca2b Prefered use of direct links to ctan, not to a mirror 2016-01-14 00:07:57 +01:00
Uwe Stöhr
6d3d686c51 Spanish Math and Additional.lyx: translations by Ignacio 2016-01-13 23:46:31 +01:00
Uwe Stöhr
4bf8aeb8e9 templates: save all files with latest LyX 2.2git 2016-01-13 03:22:37 +01:00
Uwe Stöhr
9766e43a83 stmary10.lyx: update fileformat 2016-01-13 03:17:15 +01:00
Uwe Stöhr
6caff72cef example files: save all with latest 2.2.git (part 2/2) 2016-01-13 03:06:03 +01:00
Uwe Stöhr
5e1d11d1df example files: save all with latest 2.2.git 2016-01-13 02:51:42 +01:00
Uwe Stöhr
310aa94798 Changelog-Math-LyX_22.txt: remove done task 2016-01-13 02:05:13 +01:00
Uwe Stöhr
8803eac043 EmbeddedObjects.lyx: fix mistakes spotted by Ignacio 2016-01-13 02:01:15 +01:00
Uwe Stöhr
0330ffd4a4 doc files: re-add the \origin tag (part 2/2)
also save all files with latest 2.2dev
2016-01-13 01:22:11 +01:00
Uwe Stöhr
6abdf2bc69 doc files: re-add the \origin tag
also save all files with latest 2.2dev
2016-01-13 01:14:48 +01:00
Uwe Stöhr
40968a2fb9 GrisNotaImagenQt4.png: new version from Ignacio 2016-01-13 01:02:47 +01:00
Uwe Stöhr
cad5f0a4d4 Spanish EmbeddedObjects.lyx: translations by Ignacio 2016-01-13 01:02:07 +01:00
Guillaume Munch
4a1e158c95 Update docs 2016-01-12 21:30:37 +00:00
Guillaume Munch
5c2d049996 Add \save_transient_properties parameter (#9841)
Increment LyX format to 504.

With this new parameter, the user can indicate that some other parameters that
are frequently switched must not be recorded in the file (as if they were a
setting specific to the user or transient, rather than a document setting). This
will play nicer with version control systems.

See the discussion, e.g.:
http://thread.gmane.org/gmane.editors.lyx.devel/157824/focus=157993 (third
solution mentioned)

TODO:
* The interface remains to be set up. We cannot change this setting from LyX
  for now.
* If save_transient_properties is false, we should read the user setting as a
  per-user-per-document (session) setting (e.g. like the cursor position).
* Once the above is done, we can treat \justification the same way (but it would
  be even better if \justification was moved to lyxrc).
2016-01-12 21:25:34 +00:00
Kornel Benko
27a2d32e49 Remaining broken links corrected 2016-01-12 19:16:41 +01:00
Kornel Benko
e4b539914a Replace broken links. 2016-01-11 23:42:11 +01:00
Uwe Stöhr
f79fa4b2ec Math.lyx: update to the new \aa handling 2016-01-11 23:19:54 +01:00
Uwe Stöhr
d6910e5f7c - doc files: re-add some \origin
- For the Indonesian file in attic there must be no \origin to avoid an error in the ReplaceValues.py script
2016-01-11 23:16:43 +01:00
Uwe Stöhr
c8297baad9 French Customization.lyx: translations from Jean-Pierre 2016-01-11 22:54:43 +01:00
Guillaume Munch
4fa5cbddce Update layouts
3c9b62a69 only added new keywords, so nothing changes, as it should be.
2016-01-11 16:27:46 +00:00
Uwe Stöhr
2f8444b120 Doc files: re-add some origin paths
(while checking compilability of changed files)
thanks Georg for fixing this issue in LyX
2016-01-11 02:19:35 +01:00
Uwe Stöhr
4663e65d4a Japanese Math.lyx: fix 3 icons
(these were accidentally destroyed in changeset/6b0632ee)
2016-01-11 01:11:06 +01:00
Uwe Stöhr
198e7b8717 Spanish UserGuide.lyx: translations from Ignacio 2016-01-11 01:03:57 +01:00
Georg Baum
d80fa17175 Do not apply \origin at existing files
The current behaviour of the \origin parameter replaces relative file names
with the absolute original names if a document has been moved even if the
files have been moved as well. This behaviour is annoying e.g. for editing the
LyX docs in a git checkout.

Now file names are only replaced if the referenced file sdo not exist.
2016-01-10 19:46:01 +01:00
Juergen Spitzmueller
0f18746bc0 typo 2016-01-10 11:17:32 +01:00
Günter Milde
9ff11a7935 Swap preference of PDF->Postscript converters.
According to http://stefaanlippens.net/pdf2ps_vs_pdftops 
pdftops is better than pdf2ps (which transforms fonts into bitmaps which
results in larger files, non scalability and longer conversion times). 
(tip by Georg Baum,  http://permalink.gmane.org/gmane.editors.lyx.general/85973)
2016-01-09 15:51:25 +01:00
Georg Baum
f35ed0c168 Improve \AA and \aa tex2lyx import
The lib/unicodesymbols part is based on work by Günter Milde:

Both, \r{A} and \AA (rsp. \r{a} and \aa) are equivalent standard LICR macros
for Aring/aring  as well as the deprecated "angstrom sign" character (212B).

However, with \AA for 212B and \r{A} for 00C5, tex2lyx converts \AA to the
deprecated "angstrom sign" which is missing in many fonts including the
Unicode version of Latin Modern.

I added the normalize_c() calls so that tex2lyx prefers the precomposed forms
(these are better editable in LyX) and the deprecated flag.
2016-01-08 21:06:24 +01:00
Günter Milde
d7ff8c6e18 ctests: address some test failures.
* missing characters in linguistics example with system fonts
* language nesting problem in fr/linguistics example
* 110f505b63 solved one failure (Basque example file)
2016-01-07 18:10:22 +01:00
Günter Milde
88b3fa3225 Minor ctest documentation edits.
Make sure not to confuse failing test and failing export for inverted tests.
2016-01-05 17:07:14 +01:00
Günter Milde
110f505b63 Set correct document language for Basque example. 2016-01-05 17:07:14 +01:00
Kornel Benko
e2a16f1c9a Broken URLs: replace with values found by Jean-Pierre. 2016-01-05 12:13:21 +01:00
Jean-Marc Lasgouttes
857f011e91 Improve visually text classes paper and foils
This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts
2016-01-04 19:54:43 +01:00
Kornel Benko
7ac12294dc Correct some more broken URLs 2016-01-04 12:45:41 +01:00
Kornel Benko
449d74d01b Correct some broken URLs 2016-01-04 11:54:40 +01:00
Scott Kostyshak
7dd7980720 Add a TODO for Math.lyx to correct a broken link
The fix is clear but the docs are out for translation.
2016-01-03 11:25:30 -05:00
Richard Heck
f2acbd04af Updated manuals and po file for French, from Jean-Pierre. 2016-01-03 10:53:15 -05:00
Georg Baum
9e135d9749 Fix line endings
The default behaviour of git for text files is to store unix line endings in
the repository, and to convert to native line endings in the local workspace.
This plays well with the LyX behaviour of storing files in native line endings.
Unfortunately it may break if files are sent around by email and submitted on
a different OS than the one they were last saved, and this did probably happen
in 6b0632eea.
2015-12-31 13:26:46 +01:00
Richard Heck
6b0632eea2 Updates to Japanese docs and po file, from Koji. 2015-12-29 09:58:48 -05:00
Juergen Spitzmueller
61b54f87df Simplify the logic 2015-12-28 16:11:26 +01:00
Juergen Spitzmueller
2e6f54b37f Eclude possible unwandted case 2015-12-28 16:10:26 +01:00
Juergen Spitzmueller
952a963c15 Escape correctly 2015-12-28 16:09:47 +01:00
Juergen Spitzmueller
28a22f40fb Whitespace 2015-12-28 13:42:36 +01:00
Juergen Spitzmueller
b930f2a18e Remove unneeded warning. 2015-12-28 12:34:11 +01:00
Juergen Spitzmueller
ee1a99b340 cosmetics 2015-12-28 12:26:29 +01:00
Juergen Spitzmueller
3762e3604a Assure backslash is on its own line in verbatim mode in get_ert
Also document the method
2015-12-28 09:15:21 +01:00
Juergen Spitzmueller
77f5baec8f Fix thinko in revert_newgloss: only dissolve ERTs in glosses! 2015-12-27 18:20:49 +01:00
Juergen Spitzmueller
106d89f7e6 revert_tabularvalign: fix removal of tabularvalign feature tag 2015-12-27 17:34:01 +01:00
Juergen Spitzmueller
6b5d5666ac Fix thinko in revert_tabularvalign 2015-12-27 17:23:16 +01:00
Juergen Spitzmueller
a80da13cc1 Rewrite and split the moderncv conversion routine.
This fixes several conversion problems, amongst others the redundant
\end_layout reported by Kornel.
2015-12-27 12:48:11 +01:00
Scott Kostyshak
5b2fb80491 Add description of lyx21 tests
These tests were added at e3cd6db4.
2015-12-26 23:51:13 -05:00
Juergen Spitzmueller
4d7453ac86 Remove redundant \\end_layout in jss-article Code Chunk reversion. 2015-12-26 12:08:10 +01:00
Juergen Spitzmueller
c76d91bb47 Fix gloss, glossgroup and forest reversion routines.
These were using lyx2latex, assuming the result can be used in verbatim
insets as is, which is not the case (mostly due to \\backslash).

A new lyx2verbatim function is now used instead. Also, ERT insets are
dissolved in the gloss reversion process.
2015-12-25 12:03:38 +01:00
Kornel Benko
6b58b511cd Typo 2015-12-19 16:49:51 +01:00
Günter Milde
bdc50829cb minor autotest documentation update 2015-12-18 17:38:27 +01:00
Richard Heck
1c66831825 Fix a couple minor issues noticed by tests. 2015-12-17 10:04:47 -05:00
Scott Kostyshak
3b7cd19153 Remove a file that was accidentally committed
stdspecialchars.inc was unintentionally committed (it is still a
work in progress) at 2dff14d2. This commit also reverts 7c4a1e16 (it
is now unneeded). For details, see:
https://www.mail-archive.com/search?l=mid&q=CAE_dPV4OpkEFbHuu1daTrUij298%3DfiNQs_4u_tz98MjynAyXEg%40mail.gmail.com
2015-12-16 18:06:39 -05:00
Scott Kostyshak
7c4a1e16b2 Add stdspecialchars.inc to Makefile.am
This might fix 'make distcheck' (at least for me), which was failing
with a mysterious error message:

  cannot remove ‘../../po/lyx.pot’: Permission denied

For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=20151125075443.GA7491%40cotopaxi.hsd1.dc.comcast.net

I write "might" because I have no idea why in theory it would. But
for whatever reason it worked when I tested.
2015-12-15 12:24:36 -05:00
Günter Milde
6b852435b8 Remove/Resize invisible elements in ert-insert and cases icons.
The SVG contained a spurious invisible square that led to wrong size of
the exported PDF with Inkscape.

There are more problematic icons, see #9897.
2015-12-15 08:30:25 +01:00
Günter Milde
e1a54ebbe4 Force replacement for U2015 (horizontal bar/quotation dash). 2015-12-14 23:53:39 +01:00
Günter Milde
bf66141ac8 Revert output format setting for Japanese manuals (pdf2 does not work).
The manuals use language "Japanese" wich is tied to "platex" 
(automatically set instead of (plain) LaTeX).
For export with other engines, the language must be set to "Japanese (CJK).

For a discussion of alternatives for Japanese with LaTeX , see also
http://www.preining.info/blog/2014/12/writing-japanese-in-latex-part-1-introduction/
2015-12-14 21:25:09 +01:00
Guillaume Munch
3e6cb7fe1b amend 3dcb71ea 2015-12-14 15:19:23 +00:00
Guillaume Munch
3dcb71eaa2 Set AddToToc for custom insets
* Fixme
* Todonotes
* Literate programming (sweave, knitr)
* Theorems
2015-12-13 19:56:49 +00:00
Guillaume Munch
3c9b62a69d Layout format update: AddToToc, IsTocCaption, OutlinerName
Preliminary work for addressing #7790. Thanks to Richard for providing initial
files this is based on.

Adding to TextClass:
    OutlinerName <string> <string>
    (the second string is translated)
e.g.:
    OutlinerName thm "Definitions & Theorems"

Adding to Layout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc thm
    IsTocCaption 1

Adding to InsetLayout:
    AddToToc <string>     (default "", means no)
    IsTocCaption <bool>   (default 0)
e.g.:
    AddToToc literate

Adding to inset arguments:
    IsTocCaption <bool>   (default 0)
2015-12-13 19:56:49 +00:00
Uwe Stöhr
f5a9ee54e6 Math.lyx: merge yesterday's changes
Please treat the doc files as frozen from now on, a an announcement how to proceed will follow later today.
2015-12-12 11:43:01 +01:00
Kornel Benko
24ef5a8e43 Probably a typo 2015-12-11 20:57:29 +01:00
Guillaume Munch
87861bc6d5 Use AMS align instead of eqnarray on newline-insert by default (#2543) 2015-12-11 19:28:32 +00:00
Scott Kostyshak
2ee880ff21 Document the IBus + Qt4 known issue (#9362)
Note that this issue does not occur with Qt5.
2015-12-11 06:13:05 -05:00
Scott Kostyshak
5adac4354c RELEASE-NOTES: consistent style for bug references
"bug #0000" -> "#0000"
2015-12-11 06:13:05 -05:00
Scott Kostyshak
1e5f3629ea RELEASE-NOTES: enforce 80-width lines 2015-12-11 06:13:05 -05:00
Uwe Stöhr
5fb0b17f02 German Intro.lyx: remove info
be consistent with the other Intro files; this info does not belong here
2015-12-11 01:02:00 +01:00
Uwe Stöhr
ce73df3a0c EmbeddedObjects.lyx: replace images by inset info 2015-12-11 00:58:26 +01:00
Uwe Stöhr
98d7d8ba61 Indonesian Userguide: move untranslated file to attic 2015-12-11 00:49:02 +01:00
Uwe Stöhr
97c8d5703c PDF-comment.lyx: set default output format
also save the file with latest LyX 2.2git
2015-12-11 00:26:22 +01:00
Kornel Benko
3e80a5dd6e Replace now invalid png graphics with the svgz graphics 2015-12-10 13:24:59 +01:00
Günter Milde
0529b40cc9 Set default output format for manuals to PDF (pdflatex).
Pdflatex is the recommended export tool for the manuals.
Pdflatex brings the best results for hyperlinking.
Some features (e.g. rotated text) are not available in DVI or PS (dvips).

This does not affect export from command line or autotests
(where this setting is ignored and the format must aways be given explicitely).
2015-12-10 10:40:50 +01:00
Uwe Stöhr
db05bf8fa2 UserGuide.lyx: use some info-inset icons 2015-12-10 00:37:54 +01:00
Uwe Stöhr
986821f442 Math.lyx: use some icon-info insets 2015-12-10 00:27:13 +01:00
Günter Milde
d42bd06594 Structure export autotest documentation. 2015-12-09 09:54:25 +01:00
Günter Milde
4d0356aea1 Set default output for "complex" manuals to PDF (pdflatex).
This is the "design format" for the manuals. Some features do not
work in other formats.
See http://permalink.gmane.org/gmane.editors.lyx.devel/158616
2015-12-09 08:54:38 +01:00
Uwe Stöhr
95894a9bd9 Math.lyx: image adjustments
the font size is 12 pt so the icons can have this size too; besides this readability is ore important than to fit in a text line
2015-12-09 02:30:38 +01:00
Uwe Stöhr
a9549c036e Japanese UserGuide.lyx: make document compilable without PNGs
also some small corrections and adjustments
2015-12-09 02:22:48 +01:00
Uwe Stöhr
bcef5b3a2e UserGuide.lyx: remove some unnecessary TeX code 2015-12-09 02:13:04 +01:00
Uwe Stöhr
e2bc9f4a56 French UserGuide.lyx: make document compilable without PNGs
also store default output format and other small corrections and adjustments
2015-12-09 02:11:40 +01:00
Uwe Stöhr
844b236144 German UserGuide.lyx: make document compilable without PNGs
also store default output format and many other small corrections and adjustments
2015-12-09 01:56:10 +01:00
Uwe Stöhr
9d66dc2859 English UserGuide.lyx: make document compilable without PNGs
also store default output format
2015-12-09 01:31:53 +01:00
Uwe Stöhr
3a7ec39a79 Spanish UserGuide.lyx: make document compilable without PNGs 2015-12-09 01:25:57 +01:00
Günter Milde
b50df82e7a Make Math.lyx compilable again.
After removing "unneded" PNG files from the repo, this manual failed.
Skaling is done to ensure that the icons are approximately one M high.

Also, the default output is set to PDF (pdflatex) as this is said to be the export
format our manuals are designed for.
2015-12-08 17:46:50 +01:00
Günter Milde
dd5c3900ba seminar.sty works also with non-TeX fonts but requires Babel.
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
2015-12-08 17:46:50 +01:00
Richard Heck
07992c9955 Fix typo. 2015-12-08 10:41:22 -05:00
Scott Kostyshak
1405f9efb1 Explain why we do not update the local layout
We do not update the local layout of our .lyx files because users
would then not be able to export to older formats. For example, if a
2.2.0 user exported a template to 2.1.x format and tried to open the
file in LyX 2.1.x, there would be an error because the file would
contain a local layout whose format is too new. The root reason for
this is that we do not convert layouts to older layout formats.
2015-12-08 01:39:17 -05:00
Georg Baum
52978f94d2 Explain why rsvg_convert is in front of inkscape
Otherwise it could easily happen that the order is changed, since rsvg_convert
seems to be more picky about invalid files (see http://www.lyx.org/trac/ticket/9891)
2015-12-07 21:17:33 +01:00
Enrico Forestieri
db363ab19f Remove unneeded png images.
Fixes #9857.
2015-12-07 19:14:44 +01:00
Günter Milde
3d18cdba7d splash.lyx: avoid bitmap fonts if possible. 2015-12-07 17:57:55 +01:00
Günter Milde
6df72ef648 ctest export test documentation update 2015-12-07 17:56:43 +01:00
Günter Milde
4fb3f0ce88 Add note explaining the need for a final clearpage. 2015-12-07 17:55:53 +01:00
Richard Heck
820bfe3d10 Changes to theorems-named.module that fix #8796. 2015-12-06 15:45:44 -05:00
Günter Milde
f35861bd75 ctest automatic tests: small correcions to pattern files and documenation. 2015-12-06 21:21:46 +01:00
Günter Milde
6bde139163 Greek manuals: Avoid dependency on Latin Modern fonts. 2015-12-06 21:18:03 +01:00
Uwe Stöhr
6e54bb2954 Customization.lyx: merge all recent changes 2015-12-06 04:44:33 +01:00
Richard Heck
4d6f9eb089 Update layout files to format 58. 2015-12-05 18:14:38 -05:00
Richard Heck
c2b950ea7c Documentation for previous change to layout format. 2015-12-05 18:11:46 -05:00
Richard Heck
4d94460ce3 Add new ProvideStyle tag, which adds a new style only if it does not already
exist. This will allow for a proper fix for bug #8796, though that may or may
not get fixed before 2.2.0.

Also, change the InStyle tag to ModifyStyle, per a suggestion of Jurgen's.
2015-12-05 18:11:46 -05:00
Uwe Stöhr
c9541285a5 varwidth-floats-side-by-side.lyx: add info, uniform and simplify a bit 2015-12-05 19:25:23 +01:00
Uwe Stöhr
178c7464e2 EmbeddedObjects.lyx: merge changes 2015-12-05 19:22:34 +01:00
Kornel Benko
d515544bb4 Development.lyx: Reflect recent label renaming of 'reverted' to 'inverted' 2015-12-04 21:56:31 +01:00
Uwe Stöhr
9452672ca1 Cyrillic manuals: use standard fonts as discussed 2015-12-04 02:24:43 +01:00
Uwe Stöhr
f6753e48cd Greek Intro.lyx: fix compilation by using suitable fonts as proposed by Günter 2015-12-04 02:01:32 +01:00
Uwe Stöhr
0311bda2b7 Spanish Tutorial.lyx: preamble code proposed by Günther
- please don't revert anything only because compiling with system fonts fails. This is not the scope of the manuals.
2015-12-04 01:48:14 +01:00
Uwe Stöhr
dc5798a90f Hebrew Tutorial.lyx: make it compilable 2015-12-04 01:13:18 +01:00
Kornel Benko
0e23cfde29 Partly revert a7659d207d
Export test now passes.
2015-12-03 15:28:01 +01:00
Kornel Benko
a12553e7ae Reverted 'remove unnecessary TeX code' (0d3b965e61)
Export tests passes now again.
2015-12-03 15:20:57 +01:00
Kornel Benko
3e492e21ca Use relative path for graphics, not windows absolte path 2015-12-03 14:03:04 +01:00
Kornel Benko
554a7e9e18 Use correct relative path to bibtex resource 2015-12-03 14:01:03 +01:00
Uwe Stöhr
2432c8344d Customization.lyx: change fonts as discussed 2015-12-03 02:36:09 +01:00
Uwe Stöhr
8f2b1db2ee Additional.lyx: change fonts as discussed 2015-12-03 02:32:09 +01:00
Uwe Stöhr
a441e1b6b5 Math.lyx: change fonts as discussed 2015-12-03 02:27:07 +01:00
Uwe Stöhr
0935c31087 French UserGuide.lyx: correct a font 2015-12-03 02:26:47 +01:00
Uwe Stöhr
870b7572f2 EmbeddedObjects.lyx: change fonts as discussed 2015-12-03 02:18:20 +01:00
Uwe Stöhr
52c623a558 UserGuide.lyx: change fonts as discussed 2015-12-03 02:08:31 +01:00
Uwe Stöhr
0d3b965e61 Indonesian Tutorial.lyx: use inset info for icons
- Chinese Tutorial.lyx: remove unnecessary TeX code
2015-12-03 01:42:21 +01:00
Uwe Stöhr
a7659d207d Tutorial.lyx: change fonts as discussed 2015-12-03 01:29:33 +01:00
Uwe Stöhr
650ae32b1b Intro.lyx: change fonts as discussed 2015-12-03 00:52:23 +01:00
Kornel Benko
5696c38e93 Development.lyx: Spellchecker + special char corrections. 2015-12-02 13:55:38 +01:00
Kornel Benko
d879599cec Development.lyx: Clarify a bit the difference between assigned label and reversion of ctest result. 2015-12-02 11:02:17 +01:00
Günter Milde
6a498e5804 Restructure test documentation.
Use separate subsections for our 3 main test suites: 
unit tests, 
tex2lyx (functional) tests, and 
"autotests" (requiring cmake).
2015-12-02 08:54:24 +01:00
Richard Heck
be8b73f907 Revert local layouts changes in ja/Additional.lyx. 2015-12-01 21:24:55 -05:00
Uwe Stöhr
1b8abed0d4 configure.py: add inkscape as converter for EMF/WMF files 2015-12-02 02:08:19 +01:00
Uwe Stöhr
6e11711409 UserGuide.lyx: document new possible text colors
@Richard: as you can see the additional lines in Verbatim are not added by lyx2lyx
2015-12-02 01:33:25 +01:00
Scott Kostyshak
19c6a015fb Update the link to CMCDDE in our documents
Our URL checker found the broken link.
2015-11-30 18:35:47 -05:00
Kornel Benko
42536a5616 Add a table to clarify how main export test labels are assigned 2015-11-30 13:06:53 +01:00
Richard Heck
d101945d6a Remove local layout from French manuals. 2015-11-29 22:42:09 -05:00
Richard Heck
74fb35b877 Remove local layout from German manuals. 2015-11-29 22:40:29 -05:00
Richard Heck
6fa397e81f Remove local layout from Spanish manuals and replace
MenuItem insets with Noun.
2015-11-29 22:39:31 -05:00
Richard Heck
badaa2d1b2 Remove local layout from Additional.lyx and Development.lyx. It
was not actually  used in the latter. In the former, convert the
MenuItem insets to Noun.
2015-11-29 22:29:28 -05:00
Richard Heck
39ad4a2abf Remove local layout from Customization manual.
Replace "MenuItem" inset with Noun.
2015-11-29 22:26:21 -05:00
Kornel Benko
5b73df0f31 Make Japanese manual Additional.lyx compilable.
Added a protected space in default language after an english text.
This is needed only if the imaadiately following style is some sectioning.
2015-11-29 23:04:36 +01:00
Uwe Stöhr
5a497d4810 Intro.lyx: run lyx2lyx
- also for Czech Tutorial.lyx
2015-11-29 20:31:51 +01:00
Uwe Stöhr
13ec152470 Galician Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:29:05 +01:00
Uwe Stöhr
140b55af51 Baskian Tutorial.lyx: use inset info
- also run lyx2lyx
2015-11-29 20:21:05 +01:00
Uwe Stöhr
8a73992a49 Customization.lyx: update version number 2015-11-29 19:42:07 +01:00
Uwe Stöhr
3bf6f43d11 German Customization.lyx: some translations and fixed typos 2015-11-29 19:40:25 +01:00
Uwe Stöhr
281131f6b2 Customization.lyx: accept all remaining changes 2015-11-29 19:25:46 +01:00
Uwe Stöhr
0ed6724de3 Changelog-Customization-LyX_22x.txt: new fileContents
- documents the changes for the translators
2015-11-29 18:26:21 +01:00
Uwe Stöhr
9464112840 Customization: accept and merge some changes 2015-11-29 18:24:05 +01:00
Uwe Stöhr
6273c6bdc1 Japanese manuals: run lyx2lyx 2015-11-29 17:21:27 +01:00
Uwe Stöhr
7499b14b50 Customization.lyx: update localLayout format
- Japanese version: also run lyx2lyx
2015-11-29 17:15:15 +01:00
Richard Heck
7831e11717 Simplify a bunch of tests in lyx2lyx code. 2015-11-28 23:58:50 -05:00
Richard Heck
01b4e811a6 Fix a few C++-isms that crept into lyx2lyx code. 2015-11-28 23:55:00 -05:00
Richard Heck
acf3e3a139 Clean up Solution and Solution* reversion code a bit. 2015-11-28 23:42:09 -05:00
Richard Heck
727c845808 Update local layout in Customization.lyx. 2015-11-28 23:15:05 -05:00
Uwe Stöhr
6f221bab03 lyx_2_2.py: fix a logic mistake
- this message must be used for all cases
2015-11-29 04:26:14 +01:00
Uwe Stöhr
4ea80e077f lyx2lyx/lyx_2_2.py: correct reversion for solution*
- add reversion for the starred variant
- correct LaTeX output
2015-11-29 03:51:57 +01:00
Scott Kostyshak
299d7d70f0 Minor tweaks to Development.lyx
These small tweaks amend de1c8253.
2015-11-28 21:17:15 -05:00
Uwe Stöhr
72ce471c81 Additional.lyx: remove sloppypar
- sloppypar and sloppy should not be used, see the discussion in bug #9874
- also update the local layout to the current format
2015-11-29 02:53:58 +01:00
Kornel Benko
de1c82531a Development.lyx: try to describe label assignment. 2015-11-29 02:37:11 +01:00
Scott Kostyshak
0ee4dff450 Document updating file format of LyX's files
The advantage of having the author of the file format change update
the files is that the author knows best what to expect in the diff
output.

This was discussed briefly here:
https://www.mail-archive.com/search?l=mid&q=n3bu5q%24reb%242%40ger.gmane.org
2015-11-28 18:12:26 -05:00
Georg Baum
ad0643f4b5 Fix off by one error
Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.
2015-11-28 18:25:33 +01:00
Uwe Stöhr
695399b062 UserGuide.lyx and Math.lyx: update version number 2015-11-28 03:23:38 +01:00
Uwe Stöhr
ab1f3213e8 LaTeXConfig.lyx: accept changes
- also add hpstatement module and remove the deprecated rsphrase module (this module is only kept for compatibility reasons)
2015-11-28 03:15:45 +01:00
Uwe Stöhr
2e5ab40276 Customization.lyx: accept some changes 2015-11-28 03:13:11 +01:00
Uwe Stöhr
b264176041 Additional.lyx: merge changes 2015-11-28 02:50:06 +01:00
Richard Heck
1bf01a8ad3 Update format of bind and ui files. 2015-11-27 11:56:17 -05:00
Günter Milde
960393b7a0 Small fixes to export test documentation. 2015-11-27 10:34:26 +01:00
Scott Kostyshak
2f4233721d Update docs to latest format for 2.2.0alpha2 2015-11-27 03:23:22 -05:00
Scott Kostyshak
cf99586714 Remove another reference to lyx.hu
This site has not existed since 2011.
2015-11-27 00:16:10 -05:00
Scott Kostyshak
669acb47c5 Update a format 2015-11-27 00:15:29 -05:00
Scott Kostyshak
63788d5f0b Update the docbook links
Docbook is no longer being developed, but the new link at least
exists and SGML-tools Lite can still be downloaded.
2015-11-26 23:51:12 -05:00
Scott Kostyshak
5e73a9f9a8 Update a couple formats 2015-11-26 23:51:12 -05:00
Richard Heck
f791b2d3ea Remove "dialog-show print" from various UI locations. 2015-11-26 23:21:07 -05:00
Richard Heck
23add332d9 Whitespace. 2015-11-26 23:21:07 -05:00
Scott Kostyshak
82fd5292e4 Fix a broken link in the hungarian Intro.lyx 2015-11-26 22:58:34 -05:00
Scott Kostyshak
ae5add48ac Update a format 2015-11-26 22:58:01 -05:00
Scott Kostyshak
6832296c5e Remove a duplicate URL in Additional.lyx 2015-11-26 22:44:42 -05:00
Uwe Stöhr
b933848110 UserGuide.lyx: add link to makeindex manpages 2015-11-27 02:23:55 +01:00
Uwe Stöhr
ad615c67f7 UserGuide.lyx: updates
- merge changes
- some general changes, fixes and descriptions of new features
2015-11-27 01:59:56 +01:00
Uwe Stöhr
6a9d9d1caf Changelog-UserGuide-LyX_22x.txt: add 2 things Todo 2015-11-26 01:23:32 +01:00
Scott Kostyshak
fedb6e8555 Fix a broken URL for man page of 'date' command
The new URL is now:
http://man7.org/linux/man-pages/man1/date.1.html

The broken URL was found by the URL tests.
2015-11-25 18:49:19 -05:00
Scott Kostyshak
94b5825f60 Update formats of UserGuide.lyx for upcoming edit 2015-11-25 18:49:18 -05:00
Scott Kostyshak
5db199e416 Refix a broken URL in Additional.lyx
This fix was done at e2ded6e0 but was (unintentionally, I think)
reverted at 6902cfcf.

The broken URL was found by the URL tests.
2015-11-25 18:49:18 -05:00
Kornel Benko
1f9640e71f Describe some ctest extras. 2015-11-25 10:19:49 +01:00
Richard Heck
2c602ab051 Simplify lyx2lyx code a bit, and correct a mistake in my previous
patch. Also fix some escaping problems (\end instead of \\end).

My testing revealed some other problems with this routine: stray
\noindent tags popping up here and there. I don't have time to fix
it right now but will try to come back to it.
2015-11-25 00:51:05 -05:00
Uwe Stöhr
13c6350155 lyx_2_1.py: fix a mistake in previous commit 2015-11-25 00:05:44 +01:00
Uwe Stöhr
bfc749eb23 stdlayouts.inc: support for verbatim*
fileformat change
2015-11-24 23:56:26 +01:00
Scott Kostyshak
f6bcf2a29e Document step to update LyX.py when update format 2015-11-23 22:16:00 -05:00
Uwe Stöhr
ecd268ceba French Additional.lyx: replace non-ASCII char in TEX code
now it compiles also with XeTeX
2015-11-22 17:25:17 +01:00
Günter Milde
ad767b159d Add a comment about iso-8859-7 not supported by standard inputenc. 2015-11-21 23:07:33 +01:00
Günter Milde
8482b2169b Fix inputenc for some templates.
Some templates had the inputenc setting "default" (meaning 
use the language default encoding, (not TeX's default which is 7-bit ASCII) but
don't load inputenc, leave handling of non-ASCII characters to the author). 

This is no apparent problem as long as no non-ASCII character is used in the 
document. It is very unsave, however, as any non-ASCII character used in the 
document has the potential to either make compilation fail or be
misrepresented in the output.
2015-11-21 23:06:24 +01:00
Kornel Benko
3ba613fd51 Cmake export tests: now export/examples/fa/splash_dvi passes
Günter Milde suggested setting language of URL to english, this helps
2015-11-21 17:54:02 +01:00
Scott Kostyshak
77979d91f7 Remove an errant slash in Tutorial 2015-11-20 19:33:24 -05:00
Kornel Benko
23588595da Cmake export test: Make some lyx-files them compilable if using system fonts 2015-11-20 10:13:54 +01:00
Uwe Stöhr
ddb05f46b4 French Additional.lyx: replace non-ASCII char in TEX code
now it compiles also with XeTeX
2015-11-20 00:58:58 +01:00
Uwe Stöhr
0ae337014e theorems-ams: add solution environment
fixes bug #6363 now completely
2015-11-18 02:36:49 +01:00
Uwe Stöhr
cc6c86ff3b theorems.inc: add environment "solution"
fileformat change, fixes bug #6363
2015-11-18 01:14:30 +01:00
Jean-Marc Lasgouttes
735c10d039 Update documentation for tabular features 2015-11-17 09:26:29 +01:00
Jean-Marc Lasgouttes
68217b1e4a Implement toggling for longtabular and booktabs tabular features
This is needed for the tabular context menu. This menu is updated accordingly.
2015-11-17 09:18:50 +01:00
Scott Kostyshak
d264b3d8fb Fix a shortcut conflict (#9820)
'o' is now taken by the new Pandoc export to "MS Word Office".
2015-11-17 00:25:51 -05:00
Kornel Benko
811114664f Changed wrong setting for origin in LaTeXConfig.lyx at commit b98dd4e 2015-11-16 12:06:42 +01:00
Kornel Benko
b98dd4ecc1 Cmake export tests: Some more corrected exports.
Thanks to Günter Milde.
2015-11-16 11:51:54 +01:00
Kornel Benko
5c796730b2 Replace the translatable latexism 'longtable' with 'multi-page table' in UI. 2015-11-16 10:29:53 +01:00
Georg Baum
5060b5b76e Fix sorting
No single translation has been changed, but pt_BR and pt_PT are now correctly
sorted. This removes the artifical diffs that running
make ../lib/layouttranslations
did produce previously.
2015-11-15 17:23:42 +01:00
Georg Baum
a7d8aba71b Regenerate with LyX conforming whitespace 2015-11-15 17:23:42 +01:00
Pavel Sanda
5bf745b9a6 User guide, missing space. 2015-11-14 18:27:20 -08:00
Scott Kostyshak
1602415b98 Update examples/templates to 2.2.0alpha1 format
Also MacOSX ReadMe files. Note that a few lib/doc files are
also "updated" because trailing spaces are removed, but their file
formats are the same because they were recently updated at 83672113.

I did "git checkout LFUNs.lyx" because this file is generated
automatically and has a special header.
2015-11-13 13:19:23 -05:00
Scott Kostyshak
82cf4838dc Update layouts to 2.2.0alpha1 format 2015-11-13 13:19:22 -05:00
Guillaume Munch
f0ea542050 amend e17838b1 2015-11-13 13:37:10 +00:00
Günter Milde
137575010c Correct some charid values in lib/symbols. Fixes #9823. 2015-11-13 14:01:32 +01:00
Uwe Stöhr
6a4d36b51e stdcontext.inc: improvement according to the list 2015-11-13 00:28:29 +01:00
Guillaume Munch
b898862fb2 Documentation for varwidth.module 2015-11-12 16:24:42 +00:00
Guillaume Munch
e17838b11f Add example using the varwidth package 2015-11-12 16:24:42 +00:00
Günter Milde
703e1e8d5f Ensure the Greek Intro.lyx compiles with non-TeX fonts.
Prevent loading of lmodern.sty if non-TeX fonts are set and
Define DejaVu as non-TeX font.

This ensures that non-TeX fonts are used if requested (lmodern.sty set
the 8-bit version of LatinModern if compiling with LuaTeX).
Also ensure that a font with all characters is used. (LatinModern misses small
Greek characters.)

Similar actions for other manuals and examples with Greek or Cyrillic script
will solve some more export tests with non-TeX fonts.
2015-11-12 17:07:56 +01:00
Uwe Stöhr
2230be75b3 stdcontext.inc: new context menu for tables
see the list for details
2015-11-12 01:21:21 +01:00
Uwe Stöhr
95108800a5 UserGuide.lyx: change a section name as suggested by a user 2015-11-12 00:57:07 +01:00
Georg Baum
520dde2038 Better documentation of compressed (bug 9189)
The compressed/uncompressed option of LyX files was poorly documented. Now it
is a bit better.
2015-11-11 23:03:18 +01:00
Georg Baum
2d63caf817 Fix broken author name (bug 9858) 2015-11-11 22:39:55 +01:00
Georg Baum
385aed9721 Fix \origin lines
These were fixed manually. I tried to add an option to updatedocs.py to
open and save a file with LyX, but that did not work, since
lyx -x 'command-sequence buffer-write ; lyx-quit' does not write and does
not quit.
2015-11-11 22:25:18 +01:00
Georg Baum
83672113d3 Update documentation to current format
This was done by running development/tools/updatedocs.py and reverting
lib/doc/LFUNs.lyx in order to preserve the special header line.
2015-11-11 21:56:27 +01:00
Georg Baum
392f63fa0f Update LFUNs.lyx to current format
gen_lfuns.py does now produce the current file format, and and LFUNs.lyx was
re-created with the updated script.
There is one difference if you compare this version of LFUNs.lyx with the old
version updated by lyx2lyx: All occurences of LyX, TeX etc. in the lfun
descriptions are no longer output as logos. I do consider this as a feature,
since the old version did also output the TeX part of BibTeX as a logo, as well
as places where the names were part of some syntax, e.g. lyx::LyXRC::LyXRCTags.
2015-11-11 21:48:20 +01:00
Georg Baum
1fc3d051b1 Set \origin correctly when upgrading docs
lyx2lyx did not yet know about /systemlyxdir/ and set \origin to the path
where my git tree lives instead. This path is not usable except on my machine,
so better write something more usable instead.
This is a special command line switch of lyx2lyx, so it does not interfere
with normal usage. I did not try to deduce the systemlyxdir from lyx2lyx to
be on the safe side.
2015-11-11 21:35:12 +01:00
Uwe Stöhr
f1032b1f4a configure.py: support OpenDocument as input format
- new converter for OpenDocument text -> LaTeX
2015-11-11 01:59:17 +01:00
Uwe Stöhr
3f52e8058c theorems-without-preamble.inc: fix a typo 2015-11-11 00:08:13 +01:00
Uwe Stöhr
ff9d455eb4 thesis files: update file format
- as addendum to the previous commit
2015-11-10 01:28:09 +01:00
Uwe Stöhr
a4dbfb452c thesis template: disable the automatic usage of \autoref
- fixes bug #8569
2015-11-10 01:23:33 +01:00
Uwe Stöhr
62edbec2aa Development.lyx: remove unused preamble code and modules 2015-11-10 00:39:54 +01:00
Georg Baum
2fc430d5ae Store both sets of font selections
This is one part of bug 9744: If you toggle between TeX fonts and non-TeX
fonts, the settings of the other choice are no longer thrown away, but stored
and re-activated if you switch back. Most parts of the patch are purely
mechanical (duplicating some BufferParams members), the only non-mechanical
change is in the GUI logic.
2015-11-09 07:36:42 +01:00
Uwe Stöhr
76cf124ab3 splash.lyx: correct a menu name and update file format 2015-11-09 02:00:31 +01:00
Scott Kostyshak
908a42fa46 RELEASE-NOTES: move an item to different category
Also expand a little to mention that users might need to specify
babel if their document has custom code that is specific to babel.
2015-11-07 01:48:52 -05:00
Scott Kostyshak
cd4fc6e2bc prefs2prefs: document removing print support 2015-11-07 01:48:47 -05:00
Juergen Spitzmueller
1663dbcbcf Decrease and unify indentation of beamer frame content. 2015-11-06 08:34:00 +01:00
Richard Heck
4f6cc90258 Make shortcuts for master-buffer-X fall back to buffer-X.
Fixes #9842.
2015-11-05 14:14:51 -05:00
Kornel Benko
ca0985baa6 Cmake export tests: Enable test hu/Tutorial_pdf5_systemF 2015-11-05 11:27:32 +01:00
Uwe Stöhr
4db6045a32 EmbeddedObjects.lyx: describe Reflectbox and friends 2015-11-05 00:53:35 +01:00
Kornel Benko
58050bc3ae Update Development.lyx to include 'suspended' cmake tests. 2015-11-04 13:06:14 +01:00
Uwe Stöhr
43a80ef7df lyx_2_2.py: add a safe guard 2015-11-04 02:18:28 +01:00
Uwe Stöhr
4933399507 lyx_2_2.py: fix the conversion of colored boxes 2015-11-04 01:36:39 +01:00
Uwe Stöhr
e52a4b738c lyx2lyx/lyx_2_2.py: remove unused code 2015-11-04 01:22:03 +01:00
Uwe Stöhr
62a69584e6 achemso.layout: add a flex inset
- this one is in achemso since version 3.8

- fileformat change
2015-11-04 01:18:13 +01:00
Uwe Stöhr
c0b815bf62 Development.lyx: describe how to update the tex2lyx references on Windows 2015-11-04 01:15:52 +01:00
Uwe Stöhr
cb51493f94 EmbeddedObjects.lyx: describe rotate boxes properly
- We have now a module for them
(the description of scaled boxes etc will follow soon)
2015-11-04 00:13:45 +01:00
Uwe Stöhr
279d084946 Math.lyx: replace tables by formal ones - final part 7/7 2015-11-03 00:23:41 +01:00
Enrico Forestieri
f8bfc8405e Fix bug #7657: Detect inkscape from the configure script
On Windows, if inkscape is not found in the PATH, search for it
in the registry and store its full path in lyxrc.defaults.
2015-11-02 23:46:14 +01:00
Uwe Stöhr
f3c3e1bccd Math.lyx: replace tables by formal ones - part 6 2015-11-02 23:43:42 +01:00
Georg Baum
d56980da95 Put logos in submenu as discussed on the list 2015-11-02 20:52:21 +01:00
Guillaume Munch
646be95979 Module for the changebar package
Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu
2015-11-02 00:17:25 +00:00
Guillaume Munch
9c728530c2 Correct name 2015-11-02 00:17:25 +00:00
Richard Heck
4c16c61579 Add warning message if we do no conversion. 2015-11-01 16:32:52 -05:00
Richard Heck
221932f63a If lyx2lyx is asked to convert a file to the format it already is,
then just perform a null conversion. This seems better than aborting
with an error. I can imagine a script that converted all files in a
certain directory to format 498, and you don't want it to be an error
if one of them is already 498.

Prior to this, what lyx2lyx would do is convert to the lowest format
in the current version. So, e.g., asked to convert 498 to 498 it would
convert to 474. That is obviously wrong.
2015-11-01 16:27:58 -05:00
Juergen Spitzmueller
a9b8cdca9e Varwidth module provided by d.iabo
See #9417.
2015-11-01 11:00:23 +01:00
Juergen Spitzmueller
0314464392 remove debug message. 2015-10-31 12:10:49 +01:00
Scott Kostyshak
13e1c13d2a Document various ways to run the tex2lyx tests
Each way might be preferred by a different developer and the more
ways that can be described of running the tests, the higher the
chance is that developers will find a way that works well for them.
2015-10-31 00:30:34 -04:00
Scott Kostyshak
1a4d5b3ce9 Document why tests are enabled for all formats
Explain why the export tests are enabled for formats that are not
expected to work well with certain document classes, modules, or
packages. The reason is that if a .lyx file goes from compiling
successfully for one format (even if that format is not officially
supported for the combination of features used), if that document
suddenly fails to compile, there is a significant chance that a bug
was introduced in LyX. In other words, there is a high signal/noise
ratio. If it is determined that a test is failing because an
expected incompatibility is exposed, then the test can be inverted.
2015-10-29 22:48:28 -04:00
Scott Kostyshak
231609743f More updates for the documentation on tests
- general cleanup
- add some more useful commands
- specify how to configure the URL tests

Thanks to Kornel for the helpful suggestions.
2015-10-29 22:11:11 -04:00
Georg Baum
a07cd69905 Document how to run tests on windows 2015-10-29 22:20:37 +01:00
Georg Baum
8e9f2d648c Add "LyX Documentation Tools" toolbar
People working on the documentation do probably want to switch this on. It
gives easy access to LyX and LaTeX logos (bug 9626), and the info and menu
separator insets.
2015-10-29 20:02:52 +01:00
Scott Kostyshak
74059f6b56 Document the export tests and other tests
The export tests, check_load tests, and URL tests are now documented
in the Development.lyx file. The export tests are described in
detail, such as how to run them and how to interpret the results.
2015-10-29 02:26:50 -04:00
Scott Kostyshak
9bb4787d56 Update format 2015-10-28 18:10:09 -04:00
Günter Milde
1814739853 Fix #9770 (unicodesymbols for wasysym) 2015-10-28 11:35:25 +01:00
Günter Milde
f1fa051422 update documentation in lib/languages 2015-10-28 10:16:41 +01:00
Uwe Stöhr
f2a5dd0a1e stdmenus.inc: resolve a shortcut conflict 2015-10-28 02:42:16 +01:00
Uwe Stöhr
2c1851e2ec moderncv.layout: update some styles and add new ones
- support for at least modernCV 1.5 (layout will still work with moderncv 1.3 as before)
- fileformat change
2015-10-28 02:27:32 +01:00
Uwe Stöhr
fb8f63fbe9 modernCV.lyx: remove more preamble code
- add description how things can be adjusted the LyX way
2015-10-26 15:30:15 +01:00
Uwe Stöhr
b523504708 modernCV.lyx: remove unnecessary preamble code
- also add 2 hints
2015-10-26 14:36:50 +01:00
Uwe Stöhr
19224e9085 moderncv.layout: updates
- suffix.sty is no longer used, hyperref and color are included and basic LaTeX
- fix 2 Argument definitions
2015-10-26 03:42:33 +01:00
Uwe Stöhr
425a64beed colored-boxes.lyx: more small fixes and improvements 2015-10-26 03:15:47 +01:00
Uwe Stöhr
dffd38e82d modernCV: updates
- modernCV requires 2 new packages (since version 1.5 from 2013)
- update the example file to reflect the new features
2015-10-26 02:53:29 +01:00
Uwe Stöhr
9bbb07e844 colored-boxes.lyx: some fixes 2015-10-26 01:20:29 +01:00
Uwe Stöhr
9cae1ffdc9 Math.lyx: replace tables by formal ones - part 5 2015-10-25 23:36:46 +01:00
Uwe Stöhr
295a19dd73 EmbeddedObjects.lyx: remove an outdated info
the mentioned varioref bug was fixed 5 years ago
2015-10-25 23:02:03 +01:00
Uwe Stöhr
4e221e283d Math.lyx: replace tables by formal ones - part 4
- also add changelog file for the translators
2015-10-25 18:34:47 +01:00
Uwe Stöhr
a0b3eaf67e Math.lyx: replace tables by formal ones - part 3 2015-10-25 16:26:02 +01:00
Uwe Stöhr
b275b30391 Math.lyx: replace tables by formal ones - part 2 2015-10-25 15:48:45 +01:00
Uwe Stöhr
fb51b2cb57 Math.lyx: correct images paths now correctly 2015-10-25 14:32:27 +01:00
Georg Baum
1d9d507b95 Add toolbar icons for LyX documentation
These icons are for lfuns that are not very interesting for users, but quite
often used when working on the LyX documentation. Now we can create a special
LyX documentation toolbar.
2015-10-25 10:47:40 +01:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Scott Kostyshak
4f2536afcf Correct PolyglossiaOpts for Serbian
PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language
2015-10-25 00:12:26 -04:00
Scott Kostyshak
d6a3dcbd58 Fix export with polyglossia and uninvert a manual 2015-10-25 00:12:25 -04:00
Scott Kostyshak
78c60de9bb Use "babel only" for some Spanish manuals
Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.
2015-10-25 00:12:25 -04:00
Scott Kostyshak
65f7f000ea Update formats
Some of my following commits will make changes to these files
(mainly just changing the preambles). This commit simply updates the
format so the diffs of the following commits are easy to read.
2015-10-25 00:07:15 -04:00
Uwe Stöhr
711ece2750 Math.lyx: repair broken paths
this is caused by bug #9815
2015-10-25 04:37:00 +01:00
Uwe Stöhr
bac5e106d1 Math.lyx: replace tables by formal ones - part 1 2015-10-25 04:08:46 +01:00
Uwe Stöhr
eebac83a04 colored-boxes.lyx: add info about shadows
- also some fixes and improvements
2015-10-23 05:17:24 +02:00
Uwe Stöhr
66be58cf8a colored-boxes.lyx: 2 fixes 2015-10-23 03:34:25 +02:00
Uwe Stöhr
832ef7d446 jss.layout: update appearance of 2 styles in LyX
This was proposed by the co-author of the layout in bug#9516
2015-10-23 02:20:02 +02:00
Georg Baum
dcddfaa491 Add suggestion for test cases by Günter 2015-10-22 22:22:01 +02:00
Scott Kostyshak
44a004951f RELEASE-NOTES: Missing characters could be in pdf2
The fix at 664ef2c4 is more general than XeTeX and LuaTeX. See, for
example, #9803 which shows an error that existed but was not
reported before.
2015-10-19 23:03:05 -04:00
Uwe Stöhr
ec93693aef chkconfig.ltx: fix typos
thanks Vincent
2015-10-20 01:10:14 +02:00
Uwe Stöhr
85bc4faf66 Math.lyx: fix bug #9803
\mathscr cannot contain small letters
thanks Günther
2015-10-19 23:57:34 +02:00
Uwe Stöhr
e245a18da0 Math.lyx: update because bug #8566 was fixed long time ago
- also adjust the scaling of 2 images
2015-10-19 18:51:29 +02:00
Günter Milde
d0af891eb2 Fix #9764, combining diacritical characters for line below (part 1).
Correct mappings in lib/unicodesymbols (see #9764 for details).
2015-10-19 18:34:48 +02:00
Uwe Stöhr
8da453fd30 tcolorbox.module: uniform whitespace 2015-10-19 07:15:18 +02:00
Uwe Stöhr
ce933b1e14 colored-boxes.lyx: new example file for the tcolorbox.module
- also improve the tcolorbox.module

This is a fileformat change - only to be able to revert the new styles defined in the module.
2015-10-19 07:10:09 +02:00
Uwe Stöhr
6186608a3c UserGuide.lyx: port changes from branch 2015-10-18 19:22:39 +02:00
Uwe Stöhr
741e526713 EmbeddedObjects.lyx: revert unintended part of previous commit are commit correct stuff
- sorry, after some moths without LyXing I forgot most of the complicated git branch handling stuff
2015-10-18 19:05:41 +02:00
Uwe Stöhr
4745969b45 EmbeddedObjects.lyx: update appendix A
Since a while now we can translate the unit descriptions. For some special applications it is also necessary that the users know the LaTeX command of the relative units.

- also fix a typo in Customization.lyx
2015-10-18 18:57:15 +02:00
Uwe Stöhr
c246ca2d43 chkconfig.ltx: add packages supported by LyX
- also update Win installer package list (trimspaces is required by tcolorbox but not listed as required in the tcolorbox manual)
2015-10-18 15:21:50 +02:00
Scott Kostyshak
4ef31a4ef8 RELEASE-NOTES: LyX should work with Qt >= 4.5 2015-10-15 19:55:24 -04:00
Scott Kostyshak
8be88f0d5f Update RELEASE-NOTES for Qt advice and policy 2015-10-14 19:14:01 -04:00
Georg Baum
3a58458b16 Fix languages in math docs.
These were either unneeded or used the old german spelling.
2015-10-11 19:00:21 +02:00
Uwe Stöhr
da5e4606d1 PDF-comment.lyx: new German translation
- also disable PDF-reply since this never works correctly and it could even destroy the whole PDF and exceeds the TeX capacity
- update the french version accordingly
2015-10-10 02:15:09 +02:00
Uwe Stöhr
912cdafb85 PDF-comment.lyx: some corrections
- also: de.po: fix a typo
2015-10-09 00:53:51 +02:00
Uwe Stöhr
15ddf38b37 PDF-comment.lyx: describe a further feature
- also some corrections
2015-09-27 03:07:08 +02:00
Jean-Marc Lasgouttes
b7909e7e6c Remove support for precompiled headers for autotools
This was turned off by default for a long time, and it does not seem
to have any use these days.
2015-09-25 12:05:40 +02:00
Richard Heck
1c292f70cf Typo in tutorial. 2015-09-24 18:00:03 -04:00
Uwe Stöhr
a57ee57134 PDF-comment.lyx: fix 2 typos
- de.po: correct a translation
2015-09-24 00:15:06 +02:00
Uwe Stöhr
6fc093355c UserGuide.lyx: accept Stephan's changes
- port one change to the other language versions
2015-09-23 22:54:41 +02:00
Stephan Witt
7b350ed93e Correct many different typos and logical errors. 2015-09-23 21:00:27 +02:00
Georg Baum
141026b6b1 Use Require instead of AddToPreamble
This plays more nicely with other modules requiring enumitem as well.
2015-09-20 19:33:43 +02:00
Georg Baum
e2d246bcb9 Create module for paralist.sty
paralist.sty extends the standard list environments by some more compact
versions. Support for this has already been requested 15 years ago, and
now I needed it myself.
2015-09-20 13:05:30 +02:00
Georg Baum
c4bfbcb5e8 Work around encoding bug
It looks like the author names are sometimes not encoded correctly.
We'll need to find out where this happens, but for now just fix the symptom.
2015-09-20 12:41:44 +02:00
Stephan Witt
65a95620b2 Correct commit 92b0886: true is not True in python. 2015-09-15 07:18:16 +02:00
Juergen Spitzmueller
0e62745995 Fix parsing of class and category declaration line in layout files
* Omit commented-out lines
* Properly escape backslash
* Do not allow non-space chars after delaration
* Allow blanks before # comment character

Fixes: #9746
2015-09-02 14:29:06 +02:00
Richard Heck
3be54ff4ef Revert "Typo."
This reverts commit b833a32420.
2015-09-01 11:39:25 -04:00
Richard Heck
b833a32420 Typo. 2015-09-01 11:04:54 -04:00
Günter Milde
0bbc80fa83 Remove problematic workaround for "exotic" problem
Greek and Times under MikTeX with auto-install may fail due to a half-installed
font package. However, the workaround in LyX stands in the way of 
alternative approaches (see bug #6469).
2015-08-27 00:04:19 +02:00
Günter Milde
268bd0075e Add LICR replacement for COMBINING MACRON BELOW. 2015-08-26 22:46:59 +02:00
Günter Milde
03bf276c61 Add note about missing characters now errors with Xe/LuaTeX.
(cf. ticket #9610)
2015-08-26 22:46:07 +02:00
Georg Baum
07cd297c12 Add Guillaume Munch to credits 2015-08-23 11:33:34 +02:00
Richard Heck
488ce900e0 Fix shortcuts for copy and paste. 2015-08-17 12:37:53 -04:00
Günter Milde
00e1936d81 unicodesymbols: "textgreek" must not be used together with "combining".
With the current code, this leads to output like "\\\\textgreek{\\\\~}"
which results in a LaTeX error as the accent macro \\\\~ expects an argument.
2015-08-13 10:55:04 +02:00
Juergen Spitzmueller
d74cbac037 Customization: add a hint about PackageOptions at Requires. 2015-08-03 13:39:18 +02:00
Guy Rutenberg
be41ccd4d4 lyxpak.py: Use subprocess for spawning scripts.
`os.popen` is deprecated since Python-2.6. Also, this fixes the handling
of files with quotes in their names. The patch requires Python >= 2.7.

Furthermore, the patch executes the lyx2lyx script with the same
interpreter used for it, to maintain compatibility.

I also removed some lines related to Python-2.4, as it is no longer
supported anyway.
2015-07-28 15:42:32 +02:00
Pavel Sanda
969ab7294a nb layout translations reviewed by Helge. 2015-07-25 11:03:50 -07:00
Juergen Spitzmueller
616c7b9272 Resolve shortcut conflict 2015-07-25 10:15:44 +02:00
Juergen Spitzmueller
19600aca71 German genitive of LyX is LyX' (not LyXs)
(see Amtl. Regel. § 96 (1))
2015-07-23 09:26:29 +02:00
Juergen Spitzmueller
19d9b34f4f Remove ugly and now redundant ERT-braces from the docs
These were used to prevent the former auto-logoification of LyX etc.

Also fixed some spelling errors I passed by.
2015-07-23 09:12:26 +02:00
Juergen Spitzmueller
2ddad383ea Remove ugly and now redundant ERT-braces from the German docs
These were used to prevent the former auto-logoification of LyX etc.

Also fixed some spelling errors I passed by.
2015-07-22 14:54:26 +02:00
Stephan Witt
92b08869b2 preserve symlinks on copying of user directory from previous version 2015-07-22 11:57:08 +02:00
Georg Baum
0f4c5df9f4 Support Photos in RasterImage template
Actually photos (i.e. .jpg files) where supported previously, but for pdflatex
output an unneeded conversion to png was done. The RasterImage templates
behaves now exactly as InsetGraphics for these files: If the input format is
jpg, use that for pdflatex, else convert to png.
2015-07-20 21:14:45 +02:00
Georg Baum
c63d486b2e Replace LaTeX logo with plain text
This is another advantage of the new logo insets: We see in LyX where they are
inserted for the output. In these two cases, the text describes keywords of
the external template configuration file language, so these should not be
typeset as logos.
2015-07-20 21:05:34 +02:00
Uwe Stöhr
1bff03d45f Changelog-UserGuide-LyX_22x.txt: add a todo note
for new external template

Please also announce new features here:
http://wiki.lyx.org/LyX/NewInLyX22
2015-07-19 15:03:42 +02:00
Georg Baum
c500e541a9 Add template for vector graphics
The difference to bitmap graphics is that these will be included as PDF for
pdflatex, so the vector properties are retained if a suitable conversion path
exists.
2015-07-19 13:42:22 +02:00
Uwe Stöhr
72b66287f0 new French translation of the PDF-comment example file 2015-07-17 22:11:46 +02:00
Uwe Stöhr
092647dcb0 Changelog-UserGuide-LyX_22x.txt: add a todo note 2015-07-17 00:21:18 +02:00
Uwe Stöhr
c0a55f3458 EmbeddedObjects.lyx: update all language versions after [d16a95af/lyxgit]
Please use change tracking when modifying the docs
2015-07-17 00:19:27 +02:00
Georg Baum
81e592603d Support units in external inset bbox
This brings the external inset on par with the graphics insets as far as the
clipping option is concerned. The graphicxs package supports both: A bounding
box without units (which means that bp ia assumed), and a bounding box with
units, so we can simply output the values including the units.
2015-07-16 22:06:35 +02:00
Georg Baum
0cbcc8a166 Remove InsetGraphics noUnzip parameter
Being able to compile document with zipped .eps files was a useful feature of
the graphicxs package 20 years ago, but the LyX support is no longer relevant:
- The flag is ignored if preview is on
- If pdflatex is used then uncompressing happens during the compilation anyway
- If set, the flag prevents LyX from issuing proper error messages if
something with the image is wrong
- For hard disk capacities from 20 years ago not uncompressing is a useful
feature, but for current hard disk capacities it does not matter
- The external inset does not have it, and if we want to merge both insets
one day we would need to implement it there, which is even more difficult
than in InsetGraphics
2015-07-16 20:44:47 +02:00
Jean-Marc Lasgouttes
7ac700920f Auto feature for minibuffer toolbar
Now the minibuffer toolbar is "auto" by default. It is opened by
command-execute (M-x) and closed when the command is executed without error.

* make lyx::dispatch return a DispatchResult struct

* there is a new MINIBUFFER type of toolbar, that can be used for this use.

* remove special handling of M-x in minnibuffer; Escape can be used instead. Fix focus in this case.

* when minibuffer toolbar is "auto", make the toolbar close itself after
  - a command has been executed without error
  - an empty command has been executed
  - the Escape key has been used

[this is actually commit fdcff02a, which was later reverted at dd61d8cf]
2015-07-15 17:41:09 +02:00
Günter Milde
3f6b034167 Fix Ticket #9607 (support comma below accent in unicodesymbols).
LaTeXFeatures defines \textcommabelow and \textcommaabove based on a 
generic \LyXTextAccent and declares TextCompositeCommands for the Baltic 
letters in the T1 font encoding, using \textcommaabove for the small letter g 
and \textcommabelow else.

This allows overwriting of the composite definition for other font encodings. 
Especially, it does not interfere with the polish/baltic font encoding L7x 
(supported by LatinModern and TeXGyre fonts)  that provides pre-composed 
glyphs.
2015-07-12 16:21:25 +02:00
Günter Milde
476a073c61 Greek subsript letters require "textgreek" flag.
Add the "textgreek" feature to entries for greek subscript letters
in "unicodesymbols".
2015-07-11 18:18:28 +02:00
Günter Milde
5a47e4bc70 Fix #9636 textgreek: restore compatibility with lgrenc.def.
Greek characters with perispomeni (tilde) accent were not properly shown
in the output document, because the "textgreek" feature re-defined \~ in
a way incompatible with lgrenc.def since version 0.8  (2013-05-13)
(package greek-fontenc).

The compatibility-definition is required for older versions of the font setup
(before the move of "lgrenc.def" from "babel" to "greek-fontenc").
It is now done with "ProvideTextCommand" to not overwrite the more complete
implementation in lgrenc.def.
With the compatibility definition, combined diacritics with tilde
must be input with the tilde first (e.g. \~>, not \>~).
"unicodesymbols" is changed accordingly.

Also, some LICRs for combining Greek diacritical characters were added to
Unicodesymbols.
2015-07-11 15:39:02 +02:00
Scott Kostyshak
27ce44df4f FontEncoding format is "utf8" instead of "utf-8"
Otherwise LyX does not recognized the encoding.

This is a follow-up of commit f7518565.
2015-07-10 20:20:46 -04:00
Günter Milde
f7518565b6 Apply #9652: fixes for the lib/language file.
Add font encodings auto-set by babel.

Set font encoding for georgian to the babel default.

Remove InternalEncoding from languages that use a font encoding
compatible to T1.

Change (LaTeX input) encoding for Serbian (cyrillic) and Romanian.

See #9652 for details.
2015-07-09 18:43:19 +02:00
Günter Milde
2a7deb802a Remove "notermination" flags from combining characters in "unicodesymbols".
This fixes bug #9615.

The "notermination" flag tells LyX, that terminating an LICR macro with {} is 
not necessary. This is normally the case for all macros with non-alphabetical
name (e.g. \{).

However, combining diacritical characters are converted to *accent macros*,
which expect an argument (the base character). 
In Unicode, the base character precedes the combining character, 
in LaTeX the combining character precedes the base character. 
LyX changes the order of the two characters to get this right,
e.g. "x" + "combining tilde" becomes "\~{x}". 

In the special case there is no preceding character (e.g. at the start of the 
document or a paragraph), Unicode shows the combining diacritical character
without base character.
The replacement is currently not "terminated" (e.g. "\~"), because of the 
"notermination=text" flags in "unicodesymbols". 
The accent macros take the *following* character as base character, which is
clearly not intended.
In case of a paragraph consisting of just one combining diacritical character,
LaTeX compilation fails with an error.

With the patch, LyX writes the accent macros with an empty argument,
e.g.  "\~{}", the output is similar to the view in the GUI with the diacritical 
character on its own, not on the follwoing character.
2015-07-09 11:54:37 +02:00
Jean-Marc Lasgouttes
f41e423b30 Small clean-up to debug support 2015-07-08 11:03:42 +02:00
Pavel Sanda
b3f97f0b8a Upate layouttranslations for he.po. 2015-07-05 15:26:52 -07:00
Enrico Forestieri
2ea3e07a23 Fix a couple of issues with filename encodings.
* Take into account the filesystem encoding for the zip export on *nix
  such that the representation of filenames in the zip archive is not
  mangled, when possible. This only concerns the way filenames are displayed
  as their creation in the filesystem was nevertheless correct.

* On Windows, try to obtain the command line parameters from the wide char
  representation by directly accessing the platform APIs through ctypes.
  This allows to also deal with filenames not exactly representable using
  the current code page and corrects a bug resulting in silently dropping
  those kind of filenames.
2015-07-05 15:45:40 +02:00
Guy Rutenberg
ca0ba7c6ad lyxpak: Fix the common path prefix calculation.
The old implementation could fail in some rare cases.
2015-07-05 13:33:14 +02:00
Jean-Marc Lasgouttes
dd61d8cf3f Revert "Auto feature for minibuffer toolbar"
This reverts commit fdcff02a31.

This was pushed too early, we are not ready yet.
2015-06-30 11:09:48 +02:00
Jean-Marc Lasgouttes
fdcff02a31 Auto feature for minibuffer toolbar
Now the minibuffer toolbar is "auto" by default. It is opened by
command-execute (M-x) and closed when the command is executed without error.

* make lyx::dispatch return a DispatchResult struct

* there is a new MINIBUFFER type of toolbar, that can be used for this use.

* remove special handling of M-x in minnibuffer; Escape can be used instead. Fix focus in this case.

* when minibuffer toolbar is "auto", make the toolbar close itself after
  - a command has been executed without error
  - an empty command has been executed
  - the Escape key has been used
2015-06-29 09:21:15 +02:00
Enrico Forestieri
0751f96d25 Properly account for font size when generating previews
Patch by Guillaume.
2015-06-25 01:39:25 +02:00
Enrico Forestieri
dd09a5cabc Use the draft option for microtype
Instead of redefining \usepackage for avoiding the microtype package
when generating previews in dvi mode, the draft option can be used
for disabling it. This also allows to somewhat simplify the
fix_latex_file function.
2015-06-20 21:58:19 +02:00
Enrico Forestieri
cabc7c4be1 Fix another couple of issues spotted by Guillaume
* Take into account macro redefinitions in the legacy route
* Take into account macros inside nested macro definitions
2015-06-20 16:37:12 +02:00
Enrico Forestieri
98a5072a58 Fix a couple of issues with macros and previews
* Fix typo causing to only account for the first char of a macro name
* Also check for macros as arguments of other macros
2015-06-20 01:44:22 +02:00
Juergen Spitzmueller
bd05bf71ef \frenchbsetup is a babel command 2015-06-19 10:11:17 +02:00
Enrico Forestieri
d3bcb90839 Remove superfluous separators
These were added when the user guide was converted to latest format.
Their purpose is assuring that the vertical spacing is not changed for
old documents. Given that they also assure that the bad spacings in
nested item environments is preserved, let's simply get rid of them.
2015-06-17 11:31:10 +02:00
Uwe Stöhr
1c71f1eaab UserGuide.lyx: merge changes to all language variants
(The UserGuide is currently not compilable because of bug #9632)
2015-06-17 01:23:57 +02:00
Uwe Stöhr
35f9acd11d SpaceMarker.png: fix image
fixes bug #9581
2015-06-17 00:53:53 +02:00
Enrico Forestieri
cd14673834 Avoid unnecessary growth of python lists
The path argument of checkProg* was added to the PATH list in a nested
loop such that the list doubles in size each time the loop is executed,
thus also slowing down detection of missing programs.
2015-06-16 17:03:32 +02:00
Enrico Forestieri
11c2b7792c Replacement for commits bc47054b and ad0d0f6d
The strategy adopted in bc47054b had some drawbacks related to the way
instant preview snippets are generated. See the subthread starting at
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187916.html
for details.

The strategy adopted in this commit is that of adding macro definitions
only for the macros actually used in a preview snippet, independently
of whether some macro was already used in a previous snippet. In this way
the snippets don't need to be changed according to whether they are
compiled as a whole or separately from each other. This fact was causing
the regeneration of a preview snippet whenever the cursor entered the
corresponding inset, even if the generated image would have not changed.
The problem of defining or redefining a macro is taken care by the
python scripts.
2015-06-14 18:10:29 +02:00
Uwe Stöhr
643f9ad4da configure.py: add support for pandoc and docx
- make LyX aware of the docx format
- add converters to odt and docx using the program Pandoc
2015-06-14 17:27:21 +02:00
Georg Baum
f61555cf48 Improve alignment 2015-06-14 14:16:49 +02:00
Juergen Spitzmueller
ca1aea5427 Revert "remove unneeded notermination tags in unicodesymbols (bug #9615)"
This reverts commit a6fdc1196b.

The issue needs more discussion. See #9615.
2015-06-14 13:44:50 +02:00
Georg Baum
a2f127f8c3 Fix lyx2lyx unicodesymbols escaping
The escaping of symbols read from unicodesymbols was inconsistent, which lead
to wrong replacements (bug 9559). Now the escaping is consistent: unicode_reps
contains unescaped LaTeX commands, the needed escaping for LyX files is
applied in put_cmd_in_ert() and lyx2latex().
2015-06-14 12:44:44 +02:00
Juergen Spitzmueller
aa4d41d282 Fix reversion of mathtools xarrows (bug #9620). 2015-06-14 10:47:31 +02:00
Scott Kostyshak
a7a43d0866 Update description to reflect arg improvements 2015-06-14 01:42:41 -04:00
Uwe Stöhr
1b74cc421e lyx2lyx/lyx_2_2.py: fix typo in comment 2015-06-14 02:15:30 +02:00
Juergen Spitzmueller
77fa81a902 Fix revert_textcolor method (bug #9620) 2015-06-13 12:48:36 +02:00
Juergen Spitzmueller
111102909b Escape backslash 2015-06-13 11:37:36 +02:00
Georg Baum
0cd7d1f699 Support very much greater/less than
This is bug #9612. The patch is from Günter Milde. He wrote:
The patch uses the "long" macro names (\llless and \gggtr) to minimize
name-clash probability. (There is, e.g., a name clash of \lll with Babel's
polish.ldf (cf. bug #6197))
2015-06-11 20:40:04 +02:00
Jean-Marc Lasgouttes
7da18d9db9 Add Jessica Hamilton to credits. 2015-06-11 17:41:09 +02:00
Juergen Spitzmueller
a6fdc1196b remove unneeded notermination tags in unicodesymbols (bug #9615)
Patch by Guenter Milde
2015-06-11 11:14:01 +02:00
Juergen Spitzmueller
0c8019a903 consistent replacement for CEDILLA in unicodesymbols (bug #9614)
Patch by Guenter Milde
2015-06-11 11:11:26 +02:00
Uwe Stöhr
cda4589f5e layouttranslations: pt is was renamed to pt_PT 2015-06-04 01:14:43 +02:00
Uwe Stöhr
b816dbfe54 layouttranslations: Arabic update by Hatim 2015-06-04 01:12:58 +02:00
Enrico Forestieri
5998555743 Account for the trailing optional argument of \usepackage.
The full syntax is \usepackage[<options>]{<name>}[<min.date>]
even if this is not documented in my old Lamport's LaTeX book...
2015-06-03 19:02:54 +02:00
Enrico Forestieri
3c3cb777d6 Missing bits from 07169c7b
Sorry, was forgetting this.
2015-06-03 18:43:27 +02:00
Enrico Forestieri
07169c7be2 Report how many preview snippets fail.
Instead of warning about latex problems that, most probably, are worked
around by the script, report how many preview snippets were not produced.
2015-06-03 17:57:09 +02:00
Jean-Marc Lasgouttes
0db513c4d6 Make case-changing lfuns operate on full words by default
This is for people who cannot grasp the superior conventions of emacs ;)

A new argument "partial" has been added to word-upcase, word-lowcase
and word-capitalize that restores the old emacs-like behavior.

The (x)emacs bindings are updated to use the "partial" argument, and
also to bind correctly M-u and M-l (M-c is unfortunately not
available).

Fixes bug #2826.
2015-06-03 09:30:28 +02:00
Enrico Forestieri
0db57b6532 Correctly escape backslashes.
Curiously, this was already working right.
2015-06-03 01:10:45 +02:00
Enrico Forestieri
3924030e82 Fix some preview issues reported on the devel list.
* Provide for vector fonts only if needed.
* Make sure microtype doesn't throw a trantum in dvi mode.
* Use correct macro definition in preview insets.
2015-06-03 00:24:54 +02:00
Richard Heck
e5323de7cf Try to fix bug #9587 correctly.
See the discussion there for the reasons for the changes.
2015-06-01 21:52:02 -04:00
Uwe Stöhr
098f160fc0 lyx2lyx/lyx_2_2.py: refine the colorbox reversion 2015-06-02 00:00:14 +02:00
Uwe Stöhr
945a348684 EmbeddedObjects.lyx: more updates for the box description 2015-06-01 23:03:55 +02:00
Uwe Stöhr
abc922fc27 lyx2lyx/lyx_2_2.py: fix colorbox reversion
fixes bug #9587
2015-06-01 21:19:11 +02:00
Uwe Stöhr
5239a27bfc lyx2lyx/lyx_2_2.py: set correct default color 2015-06-01 20:57:45 +02:00
Uwe Stöhr
b621975fa7 lyx2lyx/lyx_2_2.py: remove unused code 2015-06-01 20:46:05 +02:00
Uwe Stöhr
8894562004 iucr.layout: adjust label alignment 2015-06-01 20:14:58 +02:00
Juergen Spitzmueller
d17abc4ddb iucr.layout: Improve references layout, using ParagraphGroup. 2015-06-01 16:13:10 +02:00
Juergen Spitzmueller
441f8e86d1 Document ParagraphGroup layout tag. 2015-06-01 16:12:51 +02:00
Juergen Spitzmueller
eb748d6330 Make layout membership to ParagraphGroup settable (see #6854) 2015-06-01 16:11:05 +02:00
Uwe Stöhr
af4cb6db1c EmbeddedObjects.lyx: describe the new box features 2015-06-01 02:46:59 +02:00
Uwe Stöhr
afba823c2c configure.py: add another OpenDocument and a Word converter 2015-05-31 20:04:07 +02:00
Uwe Stöhr
ae577fe249 configure.py: revert ee5760ef/lyxgit and [78252f1f/lyxgit] 2015-05-31 18:12:41 +02:00
Uwe Stöhr
a4a8fa5939 UserGuide: remove another print residue
Japanese and Spanish UserGuide: fix some references/labels
2015-05-31 04:08:54 +02:00
Uwe Stöhr
c13b044d86 UserGuide: remove description of LyX's former printing feature 2015-05-31 03:34:01 +02:00
Uwe Stöhr
ee5760ef8c configure.py: elyxer is not provided as executable 2015-05-31 03:11:13 +02:00
Uwe Stöhr
78252f1f6a configure.py: remove 2 unnecessary entries
they are double, one entry is sufficient
2015-05-31 03:06:19 +02:00
Uwe Stöhr
8d6c608de8 configure.py: partly revert previous commit
This should not have gone in.
2015-05-31 03:03:29 +02:00
Uwe Stöhr
5b9fef895c configure.py: rename OpenOffice -> OpenDocument
these formats are OpenDocument formats OpenOffice is just one of the OpenDocument editors
2015-05-31 02:58:44 +02:00
Scott Kostyshak
1d28d90801 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.
2015-05-30 13:40:28 -04:00
Uwe Stöhr
dd25ea2ed7 configure.py: add --nofooter option to hide elyXer's footer 2015-05-30 02:44:59 +02:00
Uwe Stöhr
0b80be42d0 iucr.layout: use Item_Environment for a style as proposed by Jürgen
- IUCr-article.lyx: update template accordingly
2015-05-30 00:53:43 +02:00
Juergen Spitzmueller
063de3337f Fix test for urwclassico font (bug #9576) 2015-05-29 10:15:17 +02:00
Uwe Stöhr
2b125cc54a stdmenus.inc: replace R-S statements by H-P statements 2015-05-28 21:39:12 +02:00
Uwe Stöhr
a610e29c9c hpstatement.module: just in time a new module for H-P statements
In June the R-SS phrase system is replaced officially by the GHS H-P statement system in the EU.
So just in time here is support for this.

No new LaTeX package is required since the already supported package mhchem provides the statements.
2015-05-28 20:36:35 +02:00
Uwe Stöhr
0ee646ea53 R-S-statements.lyx: add warning that R-S statements no longer accepted in the EU 2015-05-28 20:33:35 +02:00
Enrico Forestieri
fb5b907074 Update banner. 2015-05-28 13:14:23 +02:00
Uwe Stöhr
ba002eec84 RELEASE-NOTES: forgot this in last commit 2015-05-28 01:36:55 +02:00
Uwe Stöhr
348bc1c5b5 cua.bind: replace problematic Alt+Ctrl shortcuts
fixes bug #9057
2015-05-28 01:31:54 +02:00
Uwe Stöhr
cc418de1e0 chkconfig.ltx: mhchem uses now the chemgreek package
We use mhchem for chemical typesetting support via mathed. With the latest mhchem version chemgreek is used by default for Greek characters.
2015-05-28 01:24:48 +02:00
Uwe Stöhr
5189d7be8b iucr.layout: new Layout file
IUCr-article.lyx: new template file

fixes bug #9423
2015-05-28 00:44:30 +02:00
Uwe Stöhr
47886ebbb1 jss.layout: delete an unused tag 2015-05-28 00:38:13 +02:00
Richard Heck
74a41be4b9 Update release notes after removal of print support. 2015-05-27 18:23:44 -04:00
Richard Heck
3c2b3e6907 Remove printing support from LyX.
This was bug #6747.
2015-05-27 18:13:08 -04:00
Uwe Stöhr
266a047249 jss.layout: use Flex Inset for Code Chunk style as proposed by JMarc 2015-05-27 23:31:21 +02:00
Juergen Spitzmueller
7c41784834 Document that LuaTeX also uses polyglossia with "automatic" language package setting 2015-05-27 14:40:46 +02:00
Uwe Stöhr
f3c1a4fbeb jss.layout: remove superfluous Appendix style
- remove also the new superfluous lyx2lyx code
- update the template file
2015-05-27 02:13:04 +02:00
Scott Kostyshak
06c7604c2e Fix ctex.lyx template to work with TeX Live 2015
Apparently, using the 'nofonts' class option was incorrect
and only worked by chance before.

For more information, see the following thread:
http://tug.org/pipermail/tex-live/2015-May/036794.html
2015-05-26 07:43:57 -04:00
Uwe Stöhr
1d14541849 jasatex.layout, elsarticle.layout: remove double statement 2015-05-26 12:45:51 +02:00
Uwe Stöhr
139cd028b7 jss.layout: improve the keyboard style 2015-05-26 12:44:28 +02:00
Uwe Stöhr
9c06bd09ea jss.layout: correct appearance of sectioning commands
- also 2 minor improvements
2015-05-26 12:24:24 +02:00
Uwe Stöhr
30f2accf77 jss.layout: changes as requested by the user in bug#9516
- added appendix style and lyx2lyx reversion
- add support for parsing \noindent
- update example file
2015-05-26 01:15:29 +02:00
Enrico Forestieri
806cfc5a8b Virtualize the origin tag for the system directory.
The documents saved to the system directory have now the origin tag
prefix "/systemlyxdir/". This allows both saving them always using
the same virtual path irrespective of the real path and to let the
origin tag work out of the box also on MacOS.
2015-05-26 00:29:46 +02:00
Juergen Spitzmueller
1175d44504 Fix shortcut conflict 2015-05-25 10:50:57 +02:00
Uwe Stöhr
f69d5abffb EmbeddedObjects.lyx: port recent changes from branch 2015-05-24 23:25:21 +02:00
Enrico Forestieri
259400325e Replace the origin tag for documents modified before 260a98d2 2015-05-24 16:50:21 +02:00
Uwe Stöhr
e1c1b3b7e7 RELEASE-NOTES: update info about QT 4.8 on Windows 2015-05-24 15:15:47 +02:00
Juergen Spitzmueller
dbe0096c12 Rename ref prefix "sub:" to "subsec:"
This solves a macro conflict between subfloat's \subref and our own
\subref definition (bug #7550)

File format change.
2015-05-24 13:50:21 +02:00
Uwe Stöhr
5f6dee3355 JSS-article.lyx: update the file
jss.layout: set current layout format
2015-05-24 03:41:14 +02:00
Uwe Stöhr
e6c225d582 jss.layout: support for more layouts
Since lyX 2.0 we support to use the in_preamble tag. This allows to support more commands. For an unknown reason I forgot the jss.layout when I updated the other layouts once.

Fileformat change
2015-05-24 03:34:36 +02:00
Enrico Forestieri
7c48bb0208 Set the origin tag to the proper directory at install time. 2015-05-24 01:24:39 +02:00
Uwe Stöhr
24b0ea7c95 lyx2lyx/lyx2lyx_tools.py: add support for parsing newline in lyx2latex 2015-05-23 23:58:19 +02:00
Uwe Stöhr
92e289a514 revtex4-1.layout: 2 more float setting changes 2015-05-23 20:15:40 +02:00
Enrico Forestieri
f9a3e2efb1 Document the new \save_orig preference variable in RELEASE-NOTES 2015-05-23 18:56:18 +02:00
Enrico Forestieri
c2a18fc142 Bump RC format for commit 260a98d2 2015-05-23 18:24:26 +02:00
Uwe Stöhr
92331787b6 powerdot-example.lyx: update according to latest layout change 2015-05-23 03:32:02 +02:00
Uwe Stöhr
985deed954 algorithm2e.module: use the new layout tags for floats 2015-05-23 03:11:07 +02:00
Uwe Stöhr
79a7e3c6fa sciposter.layout: use the new layout tags for floats 2015-05-23 03:05:24 +02:00
Uwe Stöhr
53b75da72f tufte-book.layout: use the new layout tags for floats 2015-05-23 02:48:34 +02:00
Uwe Stöhr
b6e9adafae achemso.layout: use the new layout tags for floats 2015-05-23 02:44:45 +02:00
Uwe Stöhr
7508e7b9fe powerdot.layout: use the new layout tags for floats 2015-05-23 02:42:40 +02:00
Uwe Stöhr
bc891a0cc8 revtex4-1.layout: use the new layout tags for floats 2015-05-23 02:22:49 +02:00
Uwe Stöhr
37e5079ef1 achemso.layout: uniform whitespace 2015-05-23 01:51:37 +02:00
Uwe Stöhr
a830e51c8a layout files: add the new AllowedPlacement 2015-05-22 21:52:59 +02:00
Uwe Stöhr
1e298f6a4c revtex4-1.layout: uniform spacing 2015-05-22 21:50:48 +02:00
Juergen Spitzmueller
f2be6d4308 Change direction of oxygen editclear icon
Since this is positioned to the right of the line edit,
the arrow needs to point to the left.
2015-05-22 19:36:42 +02:00
Juergen Spitzmueller
47dd9189eb Add more Float tags to allow to disable wide and sideways feature
Fixes: #9557, #9558

This is amended to yesterday's layout format change.
2015-05-22 18:59:17 +02:00
Juergen Spitzmueller
1d266c8cfa Indicate read-only status in tabs (#6783) 2015-05-22 10:41:12 +02:00
Juergen Spitzmueller
7dc123b790 Add Float tag to determine allowed positioning options (#7752) 2015-05-22 10:37:14 +02:00
Uwe Stöhr
bc9f1abdbb stdlayouts.inc, elsarticle.layout: uniform spacing 2015-05-22 02:35:28 +02:00
Uwe Stöhr
f9ef86a3b1 tufte-book.layout: uniform whitespace and add some whitespace for a better readability 2015-05-22 00:25:35 +02:00
Uwe Stöhr
3a63f6fc7c powerdot.layout: use the default floats
according to the powerdot manual it uses the standard floats and indeed, the float deinitions were identic to the ones in stdfloats.inc

- powerdot-example.lyx: add a slide with floats (floats are only possible with the H placement option. (assuring this will be possible with the fix for bug#7752)
2015-05-22 00:10:11 +02:00
Enrico Forestieri
cc87f3a61c Small correction. 2015-05-21 23:32:44 +02:00
Enrico Forestieri
98d3352fcd Add note about the new separator inset to RELEASE-NOTES. 2015-05-21 23:22:21 +02:00
Enrico Forestieri
db204f2e2b Correct the default size of the editclear icon. 2015-05-21 23:08:58 +02:00
Enrico Forestieri
e521ee7b78 Document the new environment separators. 2015-05-21 20:16:08 +02:00
Scott Kostyshak
613cd431c9 Revert "toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)"
This reverts commit bede4d320b.

As JMarc notes [1], if we replaced show with toggle, we would lose some
functionality:

  There is one use that is not possible with this change (as I argued
  before), which is a fully keyboard-based navigation.

  With LyX 2.1, I can do C-M-o and navigate with cursor in the
  outline. I can do the same with advanced S&R. IN this sense,
  toggling is a step back IMO.

The plan now is to find another way to close the dialog (without
using toggle), such as having ESC close it or another key bind.

Ticket #8388 will stay closed because 'show' and 'toggle' are too
close for the cost of having two separate bindings.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187693.html
2015-05-21 08:05:36 -04:00
Jean-Marc Lasgouttes
88609b3984 Improve list of available languages for UI l10n.
Add a new tag HasGuiSupport to language file. Add it for all l10ns
that we currently ship. The po files that are unused are not currently
tagged as available, but this could be done, since the code later
checks that the translation is actually there.

This new information is used in GuiPrefs when populating the language
combox.

The new scheme implies that adding a new language is now a two-step
process:
* the language code has to be added to po/LINGUAS, as before;
* one of the entries of the lib/language file has to be selected as
  reference and be given the "HasGuiSupport true" property.
2015-05-21 10:48:38 +02:00
Juergen Spitzmueller
f70e78487e Auto-fill short title where appropriate
Addresses: #4745
2015-05-21 09:12:45 +02:00
Scott Kostyshak
bede4d320b toc bind: 'dialog-show' -> 'dialog-toggle' (#8388)
Toggling is more intuitive for this dialog.
2015-05-21 00:59:08 -04:00
Scott Kostyshak
7c0232e874 Document updating tex2lyx tests when using CMake
Since Kornel's commit at e2d41970, it is now possible to update the
tex2lyx tests with CMake. Note that this is a case where a make
target in the build directory can affect the source directory, which
might not be advisable.
2015-05-21 00:23:38 -04:00
Scott Kostyshak
27b8b06879 In aqua.bind replace an LFUN with one that exists
'menu-separator-insert' does not exist.
'specialchar-insert menu-separator' does exist.
2015-05-19 23:32:21 -04:00
Enrico Forestieri
2e78738bf0 This is supposed to end with a '/' 2015-05-19 23:18:56 +02:00
Uwe Stöhr
184a4b9d00 PDF-form.lyx: update using the new features of PassThruChars and colored boxes 2015-05-19 23:09:21 +02:00
Pavel Sanda
6f0d24f3bf Fix default style of broadway layout.
Thanks Richard.
2015-05-19 10:37:02 -07:00
Juergen Spitzmueller
139746061f Demonstrate that it is now possible to use tabs in Requires. 2015-05-19 10:18:17 +02:00
Juergen Spitzmueller
9f55ce9b04 Make RELEASE-NOTES accessible from GUI (#8616)
CMake people, please check if something needs to be done to install
lib/RELEASE-NOTES.
2015-05-19 09:57:52 +02:00
Juergen Spitzmueller
77d6028586 linguistics.lyx: document how to insert footnotes in glosses. 2015-05-19 09:42:56 +02:00
Uwe Stöhr
5a1384d35c lyx2lyx/lyx_2_2.py: remove a hack
thanks Richard "hack" ;-) for the hint
2015-05-18 22:36:29 +02:00
Enrico Forestieri
a0afd3459f Take into account the file system encoding. 2015-05-17 18:02:47 +02:00
Georg Baum
69abac9605 Improve revert of mutlicolumn
Old LyX version can cope with degenerated multicolumn cells spanning only one
column, so these should not cause a conversion of the whole formula to ERT.
Such columns are used to set border lines or alignment for single cells.
2015-05-17 16:39:14 +02:00
Juergen Spitzmueller
f7dba65e10 Customization.lyx: remove unintended switch to German 2015-05-17 13:57:12 +02:00
Georg Baum
39329935f3 Parse \multicolumn in math (bug 396)
The math parser could not handle multicolumn grids. This is a problem because
there is no true ERT in math (everything is parsed).
Now multicolumn cells are parsed correctly. The display is also somewhat OK,
but apart from that any multicolumn related UI is missing. Since the file
format change is now done the UI can be added at any later point. The most
important part of bug 396 is now fixed: tex2lyx does not create invalid .lyx
files anymore for formulas containing \multicolumn.

I updated the tex2lyx test cases that produce correct output. tex2lyx does
still produce invalid output for the test cases which are not updated because
of the previous format change.
2015-05-17 13:43:37 +02:00
Uwe Stöhr
8ede3618f0 lyx2lyx/lyx_2_2.py: fix for a lyx2lyx issue
I don't understand why the string "shadowsize" is not already in the file because when I convert from format 474 to 489 it is added. So why is it not there when I convert from format 474 to 491.
2015-05-17 02:48:22 +02:00
Uwe Stöhr
d33caae010 lyx2lyx/lyx_2_2.py: correct a value 2015-05-16 23:29:09 +02:00
Juergen Spitzmueller
b014f54250 minor corrections 2015-05-16 15:02:09 +02:00
Juergen Spitzmueller
673217593e Update comment. 2015-05-16 13:48:53 +02:00
Georg Baum
08b2859663 Do not require esint for \int (bug 9498)
We also get a consistent look with amsmath, so require esint or amsmath.
When resolving alternatives, do also take into account whether the package
is available. For this to work, we also need to test for amsmath.sty (which
was surprisingly not yet done).
2015-05-16 12:29:54 +02:00
Uwe Stöhr
88593e0ec6 support for colored boxes
adds support to set colors for some box types (support for the LaTeX commands \fcolorbox and \colorbox)

fileformat change
2015-05-16 03:22:37 +02:00
Georg Baum
e56a24dfcc Add note about updating tex2lyx tests 2015-05-15 21:20:28 +02:00
Uwe Stöhr
53be3321ba lyx2lyx/lyx_2_2.py: a fix 2015-05-15 04:21:47 +02:00
Uwe Stöhr
225ecc581f lyx2lyx/lyx_2_2.py: correct a description 2015-05-15 03:41:43 +02:00
Uwe Stöhr
e35bb3126a support for all default colors of the package xcolor
fileformat change
2015-05-14 22:23:44 +02:00
Jean-Marc Lasgouttes
7db7a7fe4e Add menu entry Document>Disable Editing
Fixes: bug #6692
2015-05-14 20:53:47 +02:00
Enrico Forestieri
a365e696e2 Take into account compressed documents when creating a LyX archive 2015-05-14 18:58:46 +02:00
Enrico Forestieri
306b136cc0 Fix bug #4812 (Layout in local directory lost on Save As, Copying)
The "save-as" part of the bug is fixed by extending the \textclass tag
such that, if a local layout file is used, its path relative to the
document directory is now stored together with the name. If a relative
path cannot be used, an absolute one is used but, in this case, the
document is not usable on a different platform.

The "copy" part is fixed by introducing a new \origin tag, which is
written when the file is saved. This tag stores the absolute path of
the document directory. If the document is manually copied to a
different location, the local layout file is retrivied by using
\origin (which is only updated on save).
This new tag may prove useful also for locating other files when the
document is manually moved to a different directory.

As in the original implementation the files needed for the layout
(for example, a latex class) had to be in the same directory as the
layout file, this directory has also to be added to TEXINPUTS.
2015-05-13 22:02:13 +02:00
Stephan Witt
e34e1e5581 #5502 correct short cut for toggle fullscreen - usually it is Control-Command-F on Mac; whitespace 2015-05-12 21:53:07 +02:00
Uwe Stöhr
8010b90cb4 add ability to change box line thickness and separation
fileformat change
2015-05-11 21:30:32 +02:00
Uwe Stöhr
5c5877b5fa stdmenus.inc: add PDF forms example to Help menu 2015-05-11 01:13:05 +02:00
Uwe Stöhr
94f6bf3367 lyx_2_2.py: fix a typo 2015-05-10 01:35:55 +02:00
Juergen Spitzmueller
760b7cf2b6 Add option to Argument to let it be inserted with a copy of the co-text.
This is useful for classic "Short Titles", where one might want to start
with the full title in the inset.

Addresses: #4745
2015-05-09 12:17:24 +02:00
Juergen Spitzmueller
ded1b4f6c8 Adapt enumii counter display to KOMA default as suggested in #3311.
Candidate for branch.
2015-05-09 11:13:28 +02:00
Georg Baum
507cc07c2d Add commented ASCII control pictures
The list was taken by a patch from Jürgen for bug #5704.
2015-05-08 22:00:40 +02:00
Juergen Spitzmueller
32341edbb7 Document PassThruChars option of argument. 2015-05-08 09:37:28 +02:00
Stephan Witt
68ee68103a #5502 add binding for full screen toggle on mac 2015-05-05 22:05:46 +02:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
b21ccc0f76 Update format of ctex.lyx 2015-05-05 02:07:04 -04:00
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Uwe Stöhr
31b0af9857 PDF-form.lyx: add a note 2015-05-03 16:21:09 +02:00
Juergen Spitzmueller
f7b152581c PDF-form.lyx: make it compile if insdljs.sty is not installed. 2015-05-03 14:02:26 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00
Uwe Stöhr
8932858563 PDF-form.lyx: more info and corrections
- add example how to check for numbers in text fields
- describe correctly that all fields must have a name
2015-05-03 04:37:28 +02:00
Pavel Sanda
4ecbabf5f9 Add Georger Araujo into contributors.
http://marc.info/?l=lyx-devel&m=143058265303480&w=2
2015-05-02 18:10:07 -07:00
Pavel Sanda
ad6ab20bb1 Add layouttranslations from pt_BR. 2015-05-02 17:53:53 -07:00
Uwe Stöhr
3c9442fd04 lyx2lyx/lyx_2_2.py: correct a description 2015-05-03 02:16:32 +02:00
Juergen Spitzmueller
bc47054be8 Properly fix #6369
Avoid that \newcommand[x] definitions of math macros are pushed multiple
times to the preview loader.

Redefinitions (via \renewcommand[x]) are properly handled.
2015-04-30 16:48:55 +02:00
Uwe Stöhr
8efc734f1a pdfform.module: change whitespace as requested by Jürgen 2015-04-30 01:23:47 +02:00
Uwe Stöhr
f6fde9dbb2 Merge branch 'master' of git.lyx.org:lyx 2015-04-30 01:23:03 +02:00
Uwe Stöhr
f6029f7f93 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:22:50 +02:00
Enrico Forestieri
d3eae5b9c7 Do not show previews of snippets that produce latex errors 2015-04-30 00:37:05 +02:00
Uwe Stöhr
d20bc1c883 PDF-form.lyx: add example how to validate numbers 2015-04-30 00:17:39 +02:00
Uwe Stöhr
41b39ff835 PDF-form.lyx: some more info and few adaptions
- pdfform.module: a fix
2015-04-29 22:06:00 +02:00
Enrico Forestieri
2a77dc5ec6 Forgot to escape the dot 2015-04-29 18:04:51 +02:00
Enrico Forestieri
83f2fe7045 Correct progress message
Now we also process with pdflatex the previews requiring hyperref.
2015-04-29 18:00:28 +02:00
Enrico Forestieri
2bbf775c74 Detect hyperref when generating previews
If use of hyperref is detected, the postscript route is not attempted
(because we know it will fail) and the PDF route is directly chosen.
Also account for all upper case extensions for pdflatex image files.
2015-04-29 17:29:27 +02:00
Enrico Forestieri
ca921fd650 Correctly indicate the failing converter
If epstopdf fails, pdftocairo is not called but the warning points
the finger to it. Also correctly indicate the failing file.
2015-04-29 16:20:27 +02:00
Enrico Forestieri
d44b0a19cb Amend 75f7eafd
Was forgetting this last bit from 64e0c558. Also give a message such
that the user is informed that not everything is lost if latex fails.
With this, the previews are generated also when the document directly
specifies a specific pdf output format.
2015-04-29 13:59:28 +02:00
Enrico Forestieri
75f7eafd65 Try even harder to obtain an instant preview
This is a followup commit to 691fdea3 and restores the behavior of the
script as it was intended before 64e0c558, other than taking into account
possible inclusion of files that only pdflatex can process and the
possibility of multiple defined math macros.
The instant previews in the math manual now work again.
2015-04-29 12:32:54 +02:00
Uwe Stöhr
ec7833272a pdfform.module: a simplification
- PDF-form.lyx: update accordingly and a fix
2015-04-29 01:56:43 +02:00
Pavel Sanda
558451a51d Fix broken lilipond links. 2015-04-28 09:32:09 -07:00
Uwe Stöhr
36a5f46c0d pdfform.module: a fix and a new style
- PDF-form.lyx: describe how to customize PDF action buttons and some other refinement and restructuring
2015-04-28 02:00:53 +02:00
Uwe Stöhr
853e034bad PDF-form.lyx: improvements
- enrich the examples
- add info about naming
- formatting fixes to improve the layout of the PDF
- make the document compilable also if the package insdljs is not installed
2015-04-27 22:29:48 +02:00
Enrico Forestieri
c9b553fd2f Use pdftocairo (if available) for instant preview.
If pdftocairo is detected, it is used for generating bitmaps in the
legacy method route in preference to ghostscript. This is justified
by the fact that the conversion is 4 to 5 times faster and the
quality of the generated images is superior.
2015-04-27 21:37:26 +02:00
Enrico Forestieri
691fdea346 Try hard to obtain an instant preview.
When the dvipng route is selected and latex fails, the lyxpreview2bitmap.py
script simply bails out. The failure may be due to using a specific pdf
only feature in ERT (for example, the inclusion of a pdf image).
In this case the procedure may succeed simply trying to use pdflatex
and the legacy conversion method.
2015-04-27 17:28:39 +02:00
Juergen Spitzmueller
f46d08aafd Follow-up on Uwe's whitespace amendments. 2015-04-27 10:04:15 +02:00
Uwe Stöhr
15dbe715e8 pdfform.module: correct the description 2015-04-27 03:00:27 +02:00
Uwe Stöhr
892abc5ee9 pdfform.module: new module to create PDF forms
- PDF-form.lyx: example file describing the module

No special package is required since the PDF form features are provided by hyperref.
2015-04-27 02:56:25 +02:00
Uwe Stöhr
e73f61d300 PDF-comment.lyx: some fixes 2015-04-27 02:33:38 +02:00
Enrico Forestieri
890b9a53cb Fix bug #7850 (Preview of inline math misaligned) 2015-04-26 19:08:16 +02:00
Uwe Stöhr
0e28bf916f pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:20 +02:00
Juergen Spitzmueller
dfd4c93b78 Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:55 +02:00
Uwe Stöhr
13cb23bb20 pdfcomment.module: promote our example file in the description
- PDF-comment.lyx: port recent typo fixes to master
2015-04-26 13:41:44 +02:00
Uwe Stöhr
544b3f1774 pdfcomment.module: uniform whitespace
the file used spaces and tabs, now it uses only tabs for the whitespace
2015-04-26 04:23:10 +02:00
Uwe Stöhr
b496431881 FeynmanDiagrams.lyx: rename German version
it turned out that the example files that should appear in LyX's Help menu must have the same name as their English versions
2015-04-25 17:08:54 +02:00
Uwe Stöhr
ea2c5f377d Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 17:01:09 +02:00
Uwe Stöhr
59b690ca9c FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:19 +02:00
Juergen Spitzmueller
5e4e1c74e7 Document new Glosse inset and some further minor changes. 2015-04-21 20:38:47 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
c1dcecb376 Fix version number 2015-04-21 15:48:32 +02:00
Juergen Spitzmueller
b8ed73623c Fix wrong symbol in IPA toolbar.
Richard, this shuld also go to branch.
2015-04-21 11:04:28 +02:00
Juergen Spitzmueller
11cb8997fc linguistics.lyx: small tweak. 2015-04-21 10:23:33 +02:00
Juergen Spitzmueller
039d674b2b Document forest. 2015-04-20 18:30:50 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
897b2e73a1 New (Inset)Layout tag PassThruChars 2015-04-20 18:13:49 +02:00
Juergen Spitzmueller
30ff6eedfe de/linguistics.lyx: small tweak. 2015-04-20 12:21:29 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Uwe Stöhr
07e8cfd9c2 French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:19:29 +02:00
Uwe Stöhr
fc42fe4ff4 cua.bind: switch shortcuts for bold and boldsymbol
fixes bug #9413
2015-04-17 01:18:56 +02:00
Uwe Stöhr
c09326f6ac UserGuide.lyx: fix a typo 2015-04-17 01:11:36 +02:00
Uwe Stöhr
844998c20a UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:18 +02:00
Kornel Benko
68ad0bfb90 emacs.bind: Added shortcuts for dictionaries 2015-04-14 10:51:39 +02:00
Enrico Forestieri
df4e13de06 Tweak some icons. 2015-04-12 12:59:19 +02:00
Georg Baum
4069e3daed Update tex2lyx test references
The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.
2015-04-12 10:07:42 +02:00
Enrico Forestieri
0fc9b08e4d Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 00:47:18 +02:00
Enrico Forestieri
d9971802c2 Math Panels: add "Fonts" icons. 2015-04-11 23:02:25 +02:00
Enrico Forestieri
1e05adc800 Math Panels: revise the "Math spacings" svg icons. 2015-04-11 19:46:42 +02:00
Enrico Forestieri
ca58f113ff Math Panels: revise the "Miscellaneous (extended)" svg icons. 2015-04-11 16:53:10 +02:00
Juergen Spitzmueller
319ee3296a File format change caused by 34eadf5d4. 2015-04-09 11:01:44 +02:00
Scott Kostyshak
6cf81782dd Implement and bind buffer-move-{next,previous}
Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.
2015-04-08 14:12:52 -04:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Scott Kostyshak
364139b49c Update a fileformat 2015-04-08 13:41:59 -04:00
Enrico Forestieri
82a0ee59d6 Math Panels: revise the "Dots" and "Delimiters" svg icons. 2015-04-08 17:59:54 +02:00
Enrico Forestieri
1ecc9e325d Math Panels: revise the "Negative relations" svg icons. 2015-04-08 12:16:22 +02:00
Enrico Forestieri
8adb877198 Math Panels: revise the "Relations (extra)" svg icons. 2015-04-07 00:50:38 +02:00
Uwe Stöhr
9ad5067bfa MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:30 +02:00
Uwe Stöhr
6d4aec1f0e lyx2lyx/lyx_2_2.py: correct a whitespace mistake 2015-04-06 06:08:26 +02:00
Uwe Stöhr
c6b17b685a support for Georgian
add support to set Georgian as document language, fileformat change
2015-04-06 06:00:11 +02:00
Uwe Stöhr
c55f68304e MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:36:57 +02:00
Enrico Forestieri
d03a13d4cf Math Panels: revise the "Relations" svg icons. 2015-04-03 00:36:11 +02:00
Enrico Forestieri
6dff827909 Math Panels: revise the "Operators (extra)" svg icons.
Also small tweaks to some other icons.
2015-04-02 00:27:51 +02:00
Juergen Spitzmueller
f819ca6c6f EuropassCV only supports pdflatex. 2015-04-01 09:47:53 +02:00
José Matos
908e93df50 Fix bug #9279
Make lyx2lyx parser a bit more robust.

Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..
2015-03-31 15:14:26 +01:00
Enrico Forestieri
498ca9f2bf Math Panels: revise the Operators svg icons 2015-03-31 01:15:41 +02:00
Enrico Forestieri
f191dc4961 Math Panels: revise the "Arrows" svg icons 2015-03-30 16:08:05 +02:00
Kornel Benko
7b72010408 Update doc-files due to icon rename, this time correct 2015-03-29 17:20:35 +02:00
Kornel Benko
ecf2b9f091 Update doc-files due to icon rename
promote -> outline-up
demote -> outline-down
2015-03-29 16:49:27 +02:00
Enrico Forestieri
f96e4f1bc5 Adjust docs after cb899b3f. 2015-03-28 23:39:30 +01:00
Enrico Forestieri
cb899b3fa2 Provide icons for the outline-* lfuns.
- Accordingly rename "promote" and "demote" icons.
- Add "outline-down" and "outline-up" icons.
2015-03-28 23:22:21 +01:00
Enrico Forestieri
d12920d437 Use an info inset instead of a graphics one 2015-03-28 13:13:03 +01:00
Enrico Forestieri
32f5639fbc Math Panels: revise the "Frame decorations" svg icons 2015-03-25 15:21:42 +01:00
Juergen Spitzmueller
0e62bf9e0a Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-24 21:43:25 +01:00
Enrico Forestieri
3c468a3eb8 Math panels: revise the big operators svg icons. 2015-03-24 21:23:03 +01:00
Georg Baum
49ac79100b Make InsetSpecialChar names more consistent
This is the rersult of a discussion on the list. Now all special characters
have meaningful names, and it is clear that the LyX file syntax is not LaTeX.
2015-03-23 21:28:04 +01:00
Enrico Forestieri
eb5e8aba5e Also install oxygen math svg icons.
These icons have no png counterpart and hence are not catched by the shortcuts.
2015-03-22 23:16:05 +01:00
Enrico Forestieri
7da981b322 Fix crash related to the icon info inset.
When closing a document with the cursor near an icon info inset, LyX
may crash on loading again the same document. This is most probably due
to the fact that compressed svg icons are first uncompressed to a
temporary file before being used. The temporary file is then deleted
but something still expects to find it in place. The exact circumstances
that lead to the crash are unknown, and maybe there is also a race entering
the picture here. However, a document that always leads to a crash can be
found attached here: http://article.gmane.org/gmane.editors.lyx.devel/154566
This commit does not fix the cause of the crash but rather avoids it.
As a bonus, the svg icons used by LyX are not uncompressed anymore before
being used, speeding up startup time. This is not a problem, because Qt
can deal with compressed svg images.
2015-03-22 22:25:38 +01:00
Enrico Forestieri
218876da92 Math Panels: revise the Greek set of svg icons 2015-03-22 18:23:04 +01:00
Georg Baum
88c274eee7 Let imagemagick detect file format (bug #2332)
Imagemagick detects the inut file format based on contents. Therefore it does
not make sense that we prefix the to be converted file name with the extension
(assuming that the file extension matches the imagemagick format name). This
breaks formats where the extension used by LyX does not match the imagemagick
format name.
2015-03-22 10:22:31 +01:00
Enrico Forestieri
4a44dfc325 Math Panels: revise the miscellaneous set of svg icons
- Restore proportion between icons, such that, for example, \imath
  is not confused with a lower case 'l' or \textdegree with \circ
- Use real \mathbb and \mathcal TeX icons

I'll revise also the other sets in the Math Panels toolbar along
these lines. It is important to see whether a symbol has ascendents
or descendents or what is their relative size.
2015-03-21 15:33:54 +01:00
Juergen Spitzmueller
49df5ef93d SVG: text -> Path 2015-03-19 09:25:05 +01:00
Enrico Forestieri
3cd15806bd Revise svg icons for the math toolbar
- Use paths, not fonts. Have a look at the sqrt icon in the image attached
  here http://thread.gmane.org/gmane.editors.lyx.devel/154179/focus=154183
  to see what may happen when a font is not present on a given system.
- Make uniform the height of the parentheses.
- Move a couple of icons to the oxygen subdir (I was not sure it was Ok
  replacing them. If yes, they can be simply deleted).
2015-03-18 20:29:31 +01:00
Jean-Marc Lasgouttes
5b80d57d1d add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:17:35 +01:00
Juergen Spitzmueller
f305f0b4d8 Properly handle the bicaption package (bug #9449) 2015-03-16 20:31:38 +01:00
Jean-Marc Lasgouttes
477fddebe5 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 18:43:51 +01:00
Juergen Spitzmueller
596fc8510e Use German localization in German europass example 2015-03-16 11:23:24 +01:00
Juergen Spitzmueller
06776f2c8f Add Stefan Swerk to the Credits 2015-03-16 10:54:02 +01:00
Juergen Spitzmueller
d02147b79e Add support for the europasscv class
Patch by Stefan Swerk
2015-03-16 10:47:17 +01:00
Juergen Spitzmueller
048b5fcb67 Better oxygen citation icon 2015-03-15 09:12:17 +01:00
Juergen Spitzmueller
c0ce194299 Oxygen svg: transform more text to paths 2015-03-15 09:02:56 +01:00
Enrico Forestieri
8fbe17c4d9 Install the svg icons. 2015-03-15 02:52:29 +01:00
Enrico Forestieri
3fb102fa8a Add last missing svg icons.
Also correctly rename an oxygen icon.
2015-03-15 02:50:17 +01:00
Juergen Spitzmueller
b717319410 Better oxygen nomencl icon 2015-03-14 17:36:54 +01:00
Juergen Spitzmueller
ddd0b327df Fix the oxygen math svg icon issues pointed out by Enrico 2015-03-14 16:21:10 +01:00
Enrico Forestieri
a9fb950845 Restore some inadvertently overwritten oxygen icons.
I did not notice that all icons in math/ are shared and in a0895046 I have
overwritten some of them. I am restoring them in the proper subdir.
Two of them, namely font.svgz and frac.svgz, give warnings that should
be addressed. Anyway, I see that these icons use fonts. They are better
substitued with paths (a menu entry in inkscape) because if the fonts
are missing on a system, the icons look different and, in general, they
may look ugly.
2015-03-14 15:58:32 +01:00
Juergen Spitzmueller
18afb6ca13 A simplistic svg banner
This is just a proof of concept. We should find somebody who can re-draw our banner (or a new one) with inkscape.
2015-03-14 15:35:33 +01:00
Juergen Spitzmueller
9c48aa2e88 Further oxygen svg fixes 2015-03-14 12:18:59 +01:00
Enrico Forestieri
a089504663 Squash last icon warnings and improve rendering at default size. 2015-03-14 08:43:58 +01:00
Juergen Spitzmueller
fae8983b25 Some more oxygen svg icon fixes
With this, all console errors when loading the oxygen set should be resolved
2015-03-13 22:26:08 +01:00
Juergen Spitzmueller
6d97b9a86e Fix rendering issue in oxygen tabular-feature_delete-column icon 2015-03-13 20:23:16 +01:00
Juergen Spitzmueller
3255491366 Fix rendering issue in oxygen promote icon 2015-03-13 19:40:22 +01:00
Kornel Benko
7683f6f55f Changed ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character 2015-03-13 19:19:06 +01:00
Juergen Spitzmueller
3d65c5cac8 Fix rendering issue in oxygen xref icon 2015-03-13 19:04:12 +01:00
Juergen Spitzmueller
f20dac7fbe Fix rendering glitch in oxygen thesaurus svg icon 2015-03-13 18:40:42 +01:00
Enrico Forestieri
a3f8554103 Move svg icons to proper place.
You have to manually delete the lib/images/svg directory as git
tracks only files.

There may be warnings on the terminal due to some faulty icons that have
to be found and corrected. Moreover, some of the icons are not rendered
too well at the default size. These ones should be properly tweaked.
Kudos to Jürgen for putting together such a large number of icons.
2015-03-13 01:29:37 +01:00
José Matos
9a0d70a45f First step to make lyx2lyx code support both python 2 and python 3 (3.3+)
Most of the changes are related with dictionaries returning views instead of
lists.

xrange -> range (since xrange is gone in python 3)

The code that is special to support both python 2 and 3 is enclosed in a comment
 \# Provide support for both python 2 and 3
and
 \# End of code to support for both python 2 and 3

And so later it can be removed safely when python 2 is no longer supported.
2015-03-11 12:09:18 +00:00
Georg Baum
24d011117f Remove unsupported macros from autocompletion
We have some math macros that exist only because LyX can display them easily,
but which require user preamble code. These commands should not appear in
autocompletion, they are only there to make the formulas of users who actually
need thgese symbols and know what to put into the preamble more beautiful.
2015-03-10 20:53:56 +01:00
Juergen Spitzmueller
9d824a04d1 Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.

Candidate for branch.
2015-03-10 18:31:55 +01:00
Enrico Forestieri
a78340e302 Reduce size of some svg icons.
The svg files produced by vector editors may end up containing a lot
of unused elements that increase their size without any impact on
quality. For example, this occurs when copy/pasting between images
such that unused effects or shadings simply clutter the files.
Removing these elements in some cases may reduce the size to one half
or one third of the original one, leaving unmodified the image quality.
2015-03-09 02:38:12 +01:00
Enrico Forestieri
9bcdf14e06 Add another bunch of svg icons.
Also tweaked some existing icons for better rendering at default size.
2015-03-08 20:25:40 +01:00
Uwe Stöhr
94d872696c pdfcomment.module: fix dependencies 2015-03-08 03:41:08 +04:00
Uwe Stöhr
5753760b59 MultilingualCaptions.lyx: port recent changes to master 2015-03-08 03:39:54 +04:00
Uwe Stöhr
297f607fda French MultilingualCaptions.lyx: this time really the french version 2015-03-07 13:16:35 +04:00
Enrico Forestieri
b4b02da31f Add another bunch of missing svg icons.
I also tweaked some existing icons to make them look better at default size.
Moreover, some text was replaced with paths, because the required font may
not exist on a system and font substitution would take place, making the
icons look different on different systems.
2015-03-03 15:43:10 +01:00
Georg Baum
c0041e7fa5 Fix stupid copy-paste error
Now the conversion to 2.1.x works again
2015-03-02 20:57:26 +01:00
Georg Baum
317b29dc6d Fix lyx2lyx conversion for file insets
Both the hyphen and special phrase conversion did not exclude insets which
reference external files. This was wrong since LyX does not replace
\SpecialCharNoPassThru etc for these insets.
2015-03-01 22:16:45 +01:00
Georg Baum
3e9e6e344a Replace automatic logofication with insets
Previously, LyX did replace some words with typeset logos, and there was no
way to prvent this except putting them, in ERT (bug #4752). Now we have
special insets for these words, and standard text is left alone.
2015-03-01 11:16:57 +01:00
Georg Baum
d50154ab04 Fix wrong CommandInset lyx2lyx conversion
Thanks to Scott for testing. Command insets do not use InsetText for the
arguments, so users have to write them in LaTeX syntax (this is bug #4595).
Therefore we must leave hyphens alone in these insets.
2015-03-01 10:52:13 +01:00
Uwe Stöhr
caf102558c documentation: port recent changes to master 2015-02-27 01:19:40 +01:00
Georg Baum
93be0e08a1 whitespace 2015-02-26 20:43:05 +01:00
Georg Baum
ddb82b74f0 Make convert_dashes and revert_dashes symmetric
Otherwise we could destroy math stuff.
2015-02-26 20:34:36 +01:00
Georg Baum
8aa37c43a1 Fix plaintext output of dashes (bug #3647)
Previously, consecutive dashes in .lyx files were combined to endash and emdash
in some cases, and in other cases they were output as is. This made the code
complicated, and resulted in inconsitencies ((bug #3647).
Now, a dash in a .lyx file is always a dash in the output, for all flavours.
The special handling is moved to the input side, so that you still get an
endash if you type two hyphens. If needed, this can be changed or made
customizable without the need to update the file format again. Many thanks
for the fruitful mailing list dicsussion, which contributed significantly to
the final version.
2015-02-24 22:06:12 +01:00
Juergen Spitzmueller
3d01021c88 Check for ugm font availability
Fixes: #9429
2015-02-24 07:58:40 +01:00
Uwe Stöhr
9ced7384eb UserGuide.lyx: port recent changes from branch 2015-02-24 01:56:27 +01:00
Uwe Stöhr
4ca722b4ed French manuals: sync with branch 2015-02-24 01:14:40 +01:00
Enrico Forestieri
b12ba1dd12 Missing svg icons for the default set.
I am also replacing some existing icons with reworked ones that
look better at small sizes. I think that these icons are now
comparable to the png ones as regards quality at the default size.
2015-02-23 00:23:54 +01:00
Juergen Spitzmueller
fb6665becb Comment out FontEncoding for Hebrew
This needs a specific loading order, which is handled by Hebrew babel itself.
2015-02-19 10:37:05 +01:00
Scott Kostyshak
02b3a7b35e Correct the \lyxformat of aastex template
The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.
2015-02-18 00:15:49 -05:00
Kornel Benko
3104c105d8 eplace unparseable char in lib/configure.py.
Apparently xgettext is choking on that unicode char (\302 \240)
2015-02-17 13:24:56 +01:00
Uwe Stöhr
1b9030d861 UserGuide.lyx: port recent changes to master 2015-02-17 00:45:55 +01:00
Uwe Stöhr
4549468dc9 configure.py: change name of a converter as discussed 2015-02-17 00:44:47 +01:00
Uwe Stöhr
23f9b71187 stdmenus.inc: add PDF-comment.lyx as special manual 2015-02-17 00:24:55 +01:00
Uwe Stöhr
3bc0b26020 pdfcomment.module: add required style files
the the module requires datetime and fmtcount
2015-02-17 00:24:29 +01:00
Uwe Stöhr
6f04bfaf96 Development.lyx: add a documentation policy as requested by Scott 2015-02-17 00:12:02 +01:00
Enrico Forestieri
31a2cb5ed2 Correct name of a svg icon. 2015-02-16 16:12:09 +01:00
Juergen Spitzmueller
30ccfaade6 More documentation on InternalEncoding 2015-02-16 11:17:39 +01:00
Richard Heck
eaaeda65cb Do not show new "cropped" formats on export menu.
(cherry picked from commit 2fc44e96f5)
2015-02-15 10:59:04 -05:00