Commit Graph

8519 Commits

Author SHA1 Message Date
Juergen Spitzmueller
74f774d6cf Merge branch 'master' into biblatex2 2017-01-11 10:45:48 +01:00
Günter Milde
1b752275b0 Python formatting (no change to function).
* remove trailing whitespace,
* remove/replace NL-escaping backslashs,
* wrap long lines.
2017-01-11 10:43:38 +01:00
Kornel Benko
931542d758 Typo 2017-01-11 10:17:25 +01:00
Juergen Spitzmueller
425c190d62 merge recent changes from master 2017-01-09 20:04:32 +01:00
Scott Kostyshak
578f964d9f Fix typo in Development.lyx 2017-01-09 13:48:32 -05:00
Guillaume Munch
e11a3cb895 Remove some hardcoded addToToc: note, footnote, marginalnote, branch
Define their Toc from the layout instead.
2017-01-09 18:27:26 +01:00
Guillaume Munch
f0663e3ce4 Document AddToToc 2017-01-09 18:27:26 +01:00
Guillaume Munch
d6b1dc4724 Update Sweave, Knitr manual and showcase the new Navigate menu
Also mention needauth option
2017-01-09 18:22:22 +01:00
Guillaume Munch
d1c1a4520c Fine tune AddToToc options for Sweave, Knitr 2017-01-09 18:22:22 +01:00
Juergen Spitzmueller
a751c5b846 Extend and improve name list handling
This allows to generate different name lists depending on the need and
context.

Also addresses #8489.
2017-01-09 17:54:56 +01:00
Juergen Spitzmueller
322808281f Merge branch 'master' into biblatex2 2017-01-09 09:53:20 +01:00
Juergen Spitzmueller
a04a2f9a8a Remove Requires and Excludes from CiteEngines
These are exclusive anyway.
2017-01-09 09:04:37 +01:00
Uwe Stöhr
a64a31c1e5 Additional.lyx: re-sync with branch
I don't know what happened with the version in master because it contained outdated sections I already removed months ago in branch. I can also not see new inf that is special in LyX 2.3dev.

Therefore I re-sync hereby with the version in branch.

As I often request: please change the doc files in branch, only new features of LyX 2.3 are master-only because there is no reason not to update and improve the docs for every LyX release.
2017-01-09 01:31:13 +01:00
Uwe Stöhr
36cfed9f7f fix last traces of bug #10068 2017-01-09 01:26:23 +01:00
Juergen Spitzmueller
352a8e115f Merge branch 'master' into biblatex2 2017-01-08 18:41:11 +01:00
Juergen Spitzmueller
ae708fbeb6 Fix typo 2017-01-08 18:37:08 +01:00
Juergen Spitzmueller
1ee83d4200 User Guide documentation.
Now only an adaptation of the Additional Features manual is needed,
but I leave this for now, since that manual apparently is undergoing
a major revision.
2017-01-08 17:11:01 +01:00
Juergen Spitzmueller
9c738951c7 Documentation bit. 2017-01-08 12:50:03 +01:00
Juergen Spitzmueller
8319b3e9d6 Biblatex support
File format change
2017-01-08 09:39:46 +01:00
Juergen Spitzmueller
ecbd047cff Merge branch 'master' into biblatex2 2017-01-08 09:06:26 +01:00
Richard Heck
74f09a27c4 Documentation for "no prefix" option. 2017-01-07 15:07:44 -05:00
Richard Heck
ff3690a5fd Add a "noprefix" option to the "labelonly" version of the reference
inset.

If the reference is "sec:mysec", then this will output just "mysec".
This is what is needed, e.g., to use refstyle's range commands, e.g.,
    \secrangeref{mysec1}{mysec2}
You *cannot* use:
    \secrangeref{sec:mysec1}{sec:mysec2}
even if those are the actual labels.

Eventually, I'd like to add native support for this, but I'm a bit
frightened of trying to make the reference dialog support multiple
selections.
2017-01-07 15:07:44 -05:00
Juergen Spitzmueller
dbbefcd321 Dynamically set final punctuation of bib entries
Fullcite does not need the punct.
2017-01-07 17:55:38 +01:00
Juergen Spitzmueller
378a2c8257 Outsource jurabib specials to the style file. 2017-01-07 17:40:23 +01:00
Juergen Spitzmueller
eba2f0479e Implement display of starred cite commands
This entails a change of getAbbrAuthor to getAuthorList (the default is
still abbreviated with respect to MaxCiteItems, but the list can be, at
explicit request, shortened or full notwithstanding MaxCiteItems.
2017-01-07 17:32:45 +01:00
Juergen Spitzmueller
979294d5ec New tag MaxCiteNames
This determines the number of authors before "et al.". We had it
hardcoded to 2, but actually the nuumber differs.
2017-01-07 16:44:27 +01:00
Juergen Spitzmueller
23c231c761 Merge branch 'master' into biblatex2 2017-01-05 14:30:26 +01:00
Richard Heck
516423c54e Polish plural and capitalized reference reversion.
Thanks to Scott for noticing the problem.
2017-01-05 02:50:18 -05:00
Juergen Spitzmueller
03ac5407a3 Extend cite engine style documentation 2017-01-04 13:30:50 +01:00
Juergen Spitzmueller
f6d4bce123 Merge branch 'master' into biblatex2 2017-01-03 21:49:56 +01:00
Guillaume Munch
f77e5733cf Set mathrel for a few more lib/symbols
Improve display of textmode macros in lib/symbols
2017-01-03 20:35:41 +01:00
Juergen Spitzmueller
bd1b5d580b Add some documentation to the rather esoteric style files 2017-01-03 15:35:57 +01:00
Richard Heck
5e353fecb9 Update documentation after recent changes to references. 2017-01-02 22:39:38 -05:00
Richard Heck
73f59e87bd Add ability to use refstyle's plural and capitalization features. 2017-01-02 22:32:36 -05:00
Richard Heck
c513c26e62 Label only command for reference dialog. 2017-01-02 18:08:30 -05:00
Juergen Spitzmueller
f653a41063 Adapt menu string 2017-01-02 12:00:56 +01:00
Juergen Spitzmueller
f38827b63b whitespace 2017-01-01 08:36:13 +01:00
Juergen Spitzmueller
dcdd04a492 TeXFiles.py: scan for biblatex *.bbx and *.cbx files 2017-01-01 08:07:05 +01:00
Juergen Spitzmueller
dc9efe3d47 Add a CiteFramework tag
This is to distinguish the biblatex and bibtex paradigms
2017-01-01 08:07:04 +01:00
Juergen Spitzmueller
ff93aea509 Rework default bibliography style UI
* Use a combo with all available styles
* Correctly reset default on engine change
* Consider that EngineTypes might have different defaults
2017-01-01 08:07:03 +01:00
Juergen Spitzmueller
59a4f263a4 Properly support the cite engines in the GUI
Instead of hardcoding 3 engines, we now support all engines which are
defined in the *.citeengines files.
2017-01-01 07:56:24 +01:00
Juergen Spitzmueller
97aea7e5b1 Disentangle CiteEngines and Modules
These two are different beasts and thus should be handled differently.
2017-01-01 07:56:24 +01:00
Juergen Spitzmueller
f8a85f35be Add support for the Crimson font
We use the more comprehensive cochineal package if available and fall
back to the crimson package, if not.

Math support is provided by means of newtxmath

Fixes: #9974, #9976
2016-12-29 16:45:19 +01:00
Juergen Spitzmueller
e03543eff1 Add Joel Kulesza to the credits 2016-12-28 16:50:25 +01:00
Juergen Spitzmueller
2f03e156ce Add some line breaks 2016-12-27 16:03:41 +01:00
Juergen Spitzmueller
e4189c664c Update quote-insert bindings 2016-12-27 08:39:06 +01:00
Juergen Spitzmueller
89ce0c9069 Support for CJK quotation marks
File format change

Fixes: #2712
2016-12-26 14:03:48 +01:00
Juergen Spitzmueller
f78cb64cf4 UserGuide: Document the quotation mark changes 2016-12-25 13:38:52 +01:00
Juergen Spitzmueller
36a679344a Implement dynamic quotation marks
File format change.
2016-12-25 12:19:02 +01:00
Juergen Spitzmueller
237193f8a8 Some new quote styles
* b    `british'    (``inner quotation'')
* w    >>swedishg>> ('inner quotation')   ["g" = Guillemets]
* f    <<french>>   (``inner quotation'')
* i    <<frenchin>> (<<inner quotation>>) ["in" = Imprimerie Nationale]
* r    <<russian>>  (,,inner quotation``)

Rename "french" to "swiss"

Also rename "single/double" to "secondary/primary" ("inner/outer" in
the UI) and "left/right" to "opening/closing". Note that the inset
identifier string is left as is ("s/d" and "l/r")
2016-12-24 14:27:00 +01:00
Juergen Spitzmueller
1ed70d10fd Add "Plain" quotation mark style
File format change
2016-12-21 15:17:30 +01:00
Uwe Stöhr
764efb149d EmbeddedObjects.lyx: fix some typos and few improvements 2016-12-21 02:21:59 +01:00
Juergen Spitzmueller
857506e992 Rename \\quotes_language to\\quotes_style
File format change.
2016-12-20 18:54:07 +01:00
Uwe Stöhr
cb1c228319 EmbeddedObjects.lyx: new description how to change table line colors within tables
will be backported the tomorrow
2016-12-20 02:46:47 +01:00
Guillaume Munch
e02f287f8b Add InsetMathClass to the list of math completions 2016-12-20 00:15:59 +01:00
Uwe Stöhr
2daa771dae UserGuide.lyx: fix 2 typos spotted by a user 2016-12-19 23:49:47 +01:00
Juergen Spitzmueller
0d92eaeb11 Further improve quote-inserts documentation 2016-12-19 11:39:56 +01:00
Günter Milde
7b5de36a75 Use xfrac package for "fraction characters".
The xfrac package is the "state of the art" for "split-level" (nice) fractions.
Character replacements look consistent, scale properly and fit in the line.

Fixes #5220.
2016-12-18 23:42:15 +01:00
Juergen Spitzmueller
57eaf5dc4b Update inset-modify description 2016-12-18 14:00:08 +01:00
Juergen Spitzmueller
092bbcede5 Some documentation of quote's inset-modify 2016-12-18 13:38:41 +01:00
Juergen Spitzmueller
197c193e21 Context menu for quote insets
Allows to switch quote type.
2016-12-17 12:58:33 +01:00
Juergen Spitzmueller
7cf315f855 Update LFUNs.lyx 2016-12-16 11:24:03 +01:00
Juergen Spitzmueller
7bf6d2b9ce Extend quote-insert
Two more optional arguments to specify side and quote style.
GUI support follows.
2016-12-16 11:23:22 +01:00
Richard Heck
7a584f71bd Simplify some lyx2lyx code.
Also, if the local layout we are removing is all there was, then
we can remove the entire block.
2016-12-13 22:03:59 -05:00
Richard Heck
b75c718d57 New format for changes to iopart.layout made at 91f980cf31. 2016-12-13 21:49:04 -05:00
Juergen Spitzmueller
a5ebabbb99 speed up lyx2lyx reversion for non-Hebrew documents 2016-12-13 07:30:40 +01:00
Juergen Spitzmueller
e8b1ec66fc Fix some thinkos in the revert_quotes routine 2016-12-12 10:49:08 +01:00
Juergen Spitzmueller
fceae79325 revert_quotes: consider verbatim layouts and some forgotten insets. 2016-12-10 12:54:12 +01:00
Juergen Spitzmueller
e8c932ff84 Enable InsetQuote in verbatim and Hebrew
In this context, the inset outputs straight quotes in LaTeX.

File format change.

Fixes: #7309
2016-12-10 11:53:42 +01:00
Günter Milde
81f5e596b4 File format update after 418016bf79
Removing unsupported encoding "pt254" from \inputencoding values makes documents using this value invalid (J.S.).
2016-12-07 18:38:41 +01:00
Richard Heck
91f980cf31 Verbatim, etc, can be used with IOP articles.
Fixes #10505.
2016-12-06 17:54:32 -05:00
Günter Milde
418016bf79 Remove unsupported encoding "pt254".
This encoding (modified Mac Cyrillic for Asian languages) is rarely used and not supported by Gnu iconv.

Update comments in lib/encodings.

Update ctests: Gnu iconv only supports cp858, if configured with "--enable-extra-encodings".
2016-12-06 14:04:50 +01:00
Kornel Benko
5dbe57b3d6 Cmake tests: Add a script to modify preferences prior to export testing 2016-12-03 11:32:19 +01:00
Scott Kostyshak
67094dd6e6 ctests: require up-to-date TeX Live for reliable
The unreliable sublabel varying_versions is now defined to be about
versions other than TeX Live, because we require a full and
up-to-date TeX Live installation for reliable tests.

For discussion, see:
https://www.mail-archive.com/search?l=mid&q=o1ovd9%24479%241%40blaine.gmane.org
2016-12-03 00:39:01 -05:00
Uwe Stöhr
f0bc4d43c1 Arabic Tutorial.lyx: new translation by Hatim 2016-12-02 02:12:58 +01:00
Günter Milde
a0ebae829c ctests: univert aas_sample with LuaTeX test.
The missing character problem is fixed upstream.

Also fix the scaling of the \sun-symbol-index by wrapping the symbol in \text.
(wasysym's \sun is valid in text and math mode. LyX  currently adds a spurious \ensuremath.)
2016-12-01 11:47:12 +01:00
Kornel Benko
f04f7cc26a Development.lyx, updated handling of unreliable tests. 2016-11-30 11:47:39 +01:00
Uwe Stöhr
3fee095a9d Tutorial.lyx: use a simple reference format for the Tutorial
The "<reference> on  <page>" reference format is too tricky for newbies, see e.g. bug #10494

- also update the corresponding example files
2016-11-29 01:56:11 +01:00
Uwe Stöhr
5bee5aa095 EmbeddedObjects.lyx: fix a typo spotted by a user 2016-11-29 01:29:25 +01:00
Tommaso Cucinotta
cc653feb60 Bump up RC fileformat after [244de5d2/lyxgit] for the new 'needauth' options.
Addressing #10481.
2016-11-25 23:33:08 +01:00
Enrico Forestieri
6c92075799 Amend fix for #10428
- Allow using logical values for icon sizes as the standard sizes may
  differ among different icon sets
- Do not allow setting sizes smaller than smallIconSize

When the logical sizes differ and the icon set is changed, the correct
sizes are established only after a restart.
2016-11-23 17:30:49 +01:00
Tommaso Cucinotta
244de5d2c1 Add 'needauth' option to converters that need explicit user authorization.
Addressing #10481.

This patch adds the new 'needauth' option for converters launching
external programs that are capable of running arbitrary code on behalf
of the user. These converters won't be run unless the user gives explicit
authorization, which is asked on-demand when the converter is about to
be run (question is not asked if the file is cached and calling the
converter is not needed).

The user prompt has a 3rd button so that he/she's not prompted again
for (any converter over) the same document (identified through
buffer->absFileName()).

Two preference options are added:

lyxrc.use_converter_needauth_forbidden disables any converter with
the 'needauth' option, which is meant to force user to an explicit
action via the preferences pane, before being able to use advanced
converters that can potentially bring security threats;

lyxrc.use_converter_needauth enables prompting the user for 'needauth'
converters, or bypasses the check if not enabled, falling back to the
previous behavior.

So, the first option is for maximum security, the second is for
maximum usability.
2016-11-22 23:54:58 +01:00
Kornel Benko
7950d109c8 Add select whole buffer shortcut to emacs.bind 2016-11-22 13:10:57 +01:00
Günter Milde
7bb07f179a Mark failing encodings. See #10502. 2016-11-22 11:48:16 +01:00
Daniel Ramöller
e91572a00b Add the icon-size to the toolbar menu
- Adds LFUNs for setting the icon size
- Adds icons sizes to the Toolbars menu
- Uses the Toolbars menu as application context menu
- The context menu can now be user defined in stdcontext.inc

Fixes ticket #10428.
2016-11-22 10:00:52 +01:00
Juergen Spitzmueller
e5386ce473 Fix Polyglossia options for serbian
Script value is uppercase.
2016-11-21 18:57:04 +01:00
Guillaume Munch
a592f6dc06 Fix display of \slash inside different fonts
Also give slash a proper symbol
2016-11-21 00:08:11 +01:00
Guillaume Munch
a9eb87a89d Correct computation of math font size
Move math style to FontInfo and compute the font sizes for scriptstyle and
scriptscriptstyle according to standard proportions: 0.73 and 0.55.

This is simpler and more accurate. It also fixes the font size of
${\scriptscriptstyle {\textstyle A}}A$ which exposed the limitations of the
previous approach.
2016-11-21 00:02:35 +01:00
Richard Heck
67bb5a2bf1 Add Andrew Parsloe. 2016-11-18 11:45:40 -05:00
Guillaume Munch
a78c0457ac lib/symbols: fix \arrownot 2016-11-17 22:47:26 +01:00
Richard Heck
b5b160097e Update version of new modules, etc. 2016-11-17 11:39:19 -05:00
Richard Heck
0f5ba65eae Add three new files from Andrew Parsloe. These do for AMS-type
theorem environments what the already existing "by chapter" modules
do for non-AMS ones.
2016-11-17 11:05:29 -05:00
Jean-Marc Lasgouttes
f643ae7007 Merge branch 'betterspacing'
The purpose of this branch is to improve the spacing in math equations

* do not use hardcoded pixel values, but math units that depend on
  zoom and dpi. This should be good for HiDPI systems.

* implement as much as possible the math typesetting algorithm
  described in Appendix G of the TeXbook.

One typical example of the spacing algorithm is that ``-a'' has no
spacing, contrary to ``a + b''. This reflects the unitary/binary
minus that will indeed happen in typeset output.

Together with the better character substitution that has already been
implemented by Guillaume, we get a nice improvement of mathed looks.

What makes this code complicated is that it handles macros properly:
the spacing inside the macro will depend on the values of the
arguments and the elements that are before and after the macro.

As a result, many definitions in lib/symbols are now just copy/pasted
from the relevant sty file. In particular, it is now possible to make
use of \mathrel, \mathbin, etc. macros to specify spacing.

This merge is a starting point. Remaining work includes

* proper handling of sub/superscript nucleus and of font-changing
  insets (as is done in the TeX algorithm).
* proper typesetting of fractions

Thanks to Guillaume for extensive testing.
2016-11-17 09:44:01 +01:00
Jean-Marc Lasgouttes
7335ee8ea3 Cleanup of lib/symbols
Try as far as possible to use the same definitions as in the LaTeX files.

An example of that is the definition and subsequent use of \joinrel,
\relbar and \Relbar.

This is mostly Guillaume's work.
2016-11-17 08:48:32 +01:00
Günter Milde
15fd79201e lib/unicodesymbols tests and fixes.
Test unicodesymbols for most supported input encodings with Kornel's addition to ctests.

Add required "forces" to unicodesymbols:
* utf8x does not support all characters supported by LyX
* several 8-bit encodings map characters to math-mode commands - force replacement in text-mode so that LyX can wrap them in \\ensuremath.

Fix a misalignment (wrong replacements) in the Cyrillic Unicode block.

Use \\mathscr for Mathematical Script characters in Mathematical Alphanumeric Characters (in line with the characters in other unicode blocks.
2016-11-15 23:50:41 +01:00
Scott Kostyshak
0872bb78b4 Set default output format to XeTeX in Arabic docs
All other exports to PDF fail.
2016-11-13 22:42:18 -05:00
Guillaume Munch
be836909c5 Display properly math characters that behave like symbols
* set up a replacement of *, -, and : by the adequate symbols (#9893)

* fix the wrong character selection and operator spacing in \text mode

* hide some internal symbols from the auto-completion.
2016-11-13 20:06:35 +01:00
Guillaume Munch
ad7e2435cf Fix display of some math symbols
* Fix spacing in lib/symbols after recent commits about math spacing, as well as
  older spacing issues (e.g. \Join).

* InsetMathKern now uses the same em value as other math length commands.

What is nice is that the kerning amount now matches the ones found in the
packages definition (modulo 10mu that lyx currently adds between relations).

Testcase: $\CheckedBox\LEFTcircle\RIGHTcircle\photon\gluon\vcentcolon\dblcolon\Coloneqq\eqcolon\models\hookrightarrow\bowtie\hookleftarrow\Join\APLinv\neq$
2016-11-13 20:04:51 +01:00
Günter Milde
1805b41564 Fallback definitions for unicode paragraph/line break.
Convert characters 0x2028  LINE SEPARATOR and
0x2029 PARAGRAPH SEPARATOR to LaTeX equivalent.
(Just in case they slipped somehow into the source.)
2016-11-10 12:45:27 +01:00
Günter Milde
6674a91573 lib/unicodesymbols test update and fixes.
First run of Kornels patch for tests with all input encodings in lib/encodings.

Remove redundant sample files - keep only one sample and change the input encoding in the test script.

Put remaining failing test in "unreliableTests" for later sorting...
2016-11-09 21:15:14 +01:00
Uwe Stöhr
e7e6d07e84 encodings: use correct encoding "latin7" for ISO 8859-13
This fixes bug #10474 properly, thanks Günter
2016-11-08 00:04:02 +01:00
Uwe Stöhr
852687852a doc files: port recent changes 2016-11-07 23:53:19 +01:00
Uwe Stöhr
9651879253 Japanese EmbeddedObjects.lyx: re-add export format
- I don't know if it is a bug that LyX automatically deletes the output format if it cannot find
2016-11-05 19:19:19 +01:00
Uwe Stöhr
02a1c06f32 French Tutorial.lyx remove info accidentally introduced in recent commits 2016-11-05 19:13:32 +01:00
Uwe Stöhr
f5fd699847 Japanese EmbeddedObjects.lyx: re-add code
please use 2.2.x as working branch for all doc files unless you describe new features in master!
2016-11-05 19:12:40 +01:00
Uwe Stöhr
108d6763cf doc files port recent changes 2016-11-05 19:03:56 +01:00
Juergen Spitzmueller
3374b8548b Fix usage of multiple varieties of the same polyglossia language.
1. We must always output all (diverging) options, including
   default options; if not, default options might get overwritten.

2. Do not output options in \setotherlanguage, since we might have
   multiple "other languages" varieties from the same language (such
   as naustrian, nswissgerman). And the options are output for the
   language switches anyway.

Hence, LaTeXFeatures::getPolyglossiaLanguages() does not have to record
varieties. This was not done correctly anyway, since the map allowed
for one entry per language only.
2016-11-02 17:07:49 +01:00
Juergen Spitzmueller
24066805af Enable polyglossia support for Swiss German 2016-11-01 18:08:33 +01:00
Uwe Stöhr
0af72e23fd languages: use correct encoding for Lithuanian
fixes bug #10474
2016-11-01 16:08:33 +01:00
Uwe Stöhr
9dc67281db Arabic Intro.lyx: fixes from Hatim 2016-11-01 15:11:26 +01:00
Uwe Stöhr
da323c1910 Arabic doc files: port recent changes 2016-10-31 12:24:19 +01:00
Uwe Stöhr
88f78803b5 EmbeddedObjects.lyx; remove unnecessary latexpar
- this was the last issue to fix bug #10068
2016-10-31 11:49:57 +01:00
Uwe Stöhr
42d900c2a7 Development.lyx: update info how to update the tex2lyx test files 2016-10-28 00:46:59 +02:00
Uwe Stöhr
87c00f3383 add support for Urdu and Syriac
- fileformat change
- I could not update the tex2lyx testfiles because of bug #10440 (there is now a probable fix)
2016-10-28 00:21:58 +02:00
Guillaume Munch
143a177ad3 Copy bit of documentation from Georg's commit log 2016-10-27 21:28:49 +02:00
Guillaume Munch
120f03fd8e Copy bit of documentation from MathFactory.cpp 2016-10-27 21:10:18 +02:00
Juergen Spitzmueller
34f0aedabc Handle | verbatim in index insets. 2016-10-27 18:12:30 +02:00
Uwe Stöhr
e01b4459fc Arabic Shortcuts.lyx: new translation by Hatim 2016-10-25 23:33:25 +02:00
Uwe Stöhr
d9c52c7a3f support for Amharic, Asturian, Kannada and Khmer
- fileformat change
- I could not update the tex2lyx test files because of bug #10440
- maybe the lyx2lyx routine could be improved but since a document can also begin with another layout than "Standard" I could not use the lyx2lyx function put_cmd_in_ert
2016-10-22 15:33:59 +02:00
Juergen Spitzmueller
95db20e008 Bump layout formats 2016-10-22 09:25:01 +02:00
Uwe Stöhr
fd3e2ebc37 Additional.lyx: accept some changes 2016-10-22 03:04:10 +02:00
Uwe Stöhr
7f7534403b layouts/modules: use the new PassThru tag
This fixes problems like bug #10434
2016-10-22 03:01:44 +02:00
Juergen Spitzmueller
fb9a866a66 Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
Uwe Stöhr
f738b1003b French splash.lyx: restore \origin 2016-10-20 22:35:00 +02:00
Uwe Stöhr
62c4ba308a seminar.lyx: accept change from Günter
- French seminar.lyx: few beautifications
2016-10-20 22:31:30 +02:00
Günter Milde
6ff89c4b95 Do not convert \\\\textbackslash to 0x29f5.
Do not use REVERSE SOLIDUS OPERATOR for backwards conversion of
\\\\textbackslash in LyX and tex2lyx.

Both, \\\\ (005C REVERSE SOLIDUS = backslash) and 0x29f5 map to
\\\\textbackslash but 005c is the preferred back-transformation.

Otherwise, using \\\\ in "mathematical text" leads to literal 0x29f5 in the LyX
source which leads to "missing character" errors with non-TeX fonts.
2016-10-17 09:04:56 +02:00
Uwe Stöhr
f179173e42 support for the languages Bosnian, Friulian, Macedonian, Piedmontese and Romansh
- file format change
- note that I could not update the tex2lyx test files because of bug #10440
2016-10-16 15:33:23 +02:00
Uwe Stöhr
1feeefb2b1 Development.lyx: a MSCV specific update 2016-10-16 15:30:51 +02:00
Uwe Stöhr
2974e1a3db Development.lyx: Updates
- the range of file format does no longer need to be updated
- mention rule 6 of the documentation policies
2016-10-16 14:52:46 +02:00
Uwe Stöhr
3a6af2c1a4 Customization.lyx: use change tracking for the changes made in 0eb651a2 2016-10-15 01:44:14 +02:00
Juergen Spitzmueller
b30de672d0 enumitem.module: handle resume counter
Uses the new counter tags.
2016-10-14 20:09:54 +02:00
Juergen Spitzmueller
a85fa80060 linguistics.module: proper example counters
Uses the new counter tags.
2016-10-14 20:09:25 +02:00
Juergen Spitzmueller
0eb651a2cf New layout tags for better counter handling
* ResumeCounter: allow to resume an (enumerate) counter
* StepMasterCounter: allow to increase a master counter
2016-10-14 20:08:12 +02:00
Juergen Spitzmueller
91f5d90971 Fix label display in linguistic examples
Ideally, we would use a proper counter here, but this seems to be
impossible with the current counter mechanism.

What we would need is a counter that is incremented when either of the
layouts is used. Currently, the counter seems to be stepped only inside
one layout.

The current fix is a candidate for stable.
2016-10-14 11:45:32 +02:00
Kornel Benko
90adb4f314 Cmake export tests: Introduce 'LYX_DEBUG_LATEX' environment variable.
Setting this variable to '1' will include also latex messages in
ctest log file LastTest.log.
2016-10-12 14:35:23 +02:00
Scott Kostyshak
892593fbdc Change default working directory from ~/ to "."
Note that the lyxrc.document_path variable corresponds to what we
call the "Working directory" in the GUI preferences dialog.

Setting document_path to "." makes it so when LyX is started from a
directory, that directory is the default path for many of LyX's
operations, such as the following:

- new file, new from template
- adding a custom BibTeX file
- GUI compare dialog
- local layout button in document settings
- external material file browser
- graphics browser, include browser

The best guess for where the user wants to save or find files is the
directory the user started LyX from. Before, the default was always
the home directory. If desired, the old behavior can be restored by
changing the default path in Preferences > "Working directory".

This commit takes advantage of 9b64d7bd, which allows the use of a
relative path for path preferences.
2016-10-11 22:25:42 -04:00
Günter Milde
9c0f829d12 lib/unicodesymbols fixes and tests
Unicode blocks 125, 152, and 246
2016-10-11 00:38:17 +02:00
Uwe Stöhr
ef4594c71e French UserGuide.lyx: back to format of 2.2
Sorry for this, but see the last "rule" of the documentation guidelines: don't upgrade the fileformat unnecessarily
2016-10-10 23:47:33 +02:00
Günter Milde
16c26f909c seminar ctest fixes
* custom non-tex fonts with all required characters
* use 2.2 fileformat (easier backporting)
* test all export formats

Also, fix pattern for "mixing_inTitle_layouts" in unreliableTests.
2016-10-10 14:14:33 +02:00
jpc
65505ba879 Typo pointed out in the lyx-fr mailing list 2016-10-10 11:18:13 +01:00
Uwe Stöhr
16822a8a8e Development.lyx: small change from Scott 2016-10-10 02:45:05 +02:00
Guillaume Munch
e45bf2fbb9 Add Daniel to credits 2016-10-09 20:12:31 +02:00
Günter Milde
52fbe6ea26 lib/unicodesymbols: fix test sample
The package "dictsym"provides symbols for maps and dictionaries.
Should it be used in unicodefonts or is it "too exotic"?
2016-10-08 22:48:13 +02:00
jpc
8406b8c17b Wrong format number 2016-10-08 18:05:48 +01:00
Günter Milde
efa844702c unicodesymbols fixes.
force=utf8 is required for most characters provided by add-on packgages
and (almost) all mathematical characters, because these are not
set up for inputencs utf8

unicodesymbols.py failed here (python 2.7 under Linux) before the simple fix
included in this commit.
2016-10-08 16:57:52 +02:00
jpc
a214d95513 lettre: remove old workaround about page format in layout and update template 2016-10-06 13:52:16 +01:00
Guillaume Munch
da2bb33527 Continue with the documentation of the SVG+LaTeX external template 2016-10-04 00:52:35 +02:00
Martin Vermeer
63e2ac4597 ... and RELEASE-NOTES 2016-10-04 00:01:18 +02:00
Martin Vermeer
e9046da86f Further fixes due to remarks by Pavel Sanda Sep. 5, 2016 2016-10-04 00:01:18 +02:00
Martin Vermeer
10c88aa58f Initial commit of Inkscape SVG LaTeX + PDF support
Based on Daniel Groger's work of five years ago, with minor changes

http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg169820.html

This extends the support for Xfig LaTeX + PDF to a more modern and
actively developed vector graphics editor. Embedded Objects manual
updated, also to include a workaround for an Inkscape 0.91 bug.
2016-10-04 00:01:18 +02:00
jpc
77f6770bbf Update French translation of seminar.lyx & solve listslide title issue 2016-09-30 18:09:41 +01:00
Günter Milde
c454822b33 Update seminar layout and doc. 2016-09-29 21:59:54 +02:00
jpc
b4ae5ab9df Update French translation of seminar.lyx 2016-09-29 13:52:44 +01:00
Günter Milde
e9fcff1261 ctests: uninvert solved problems and make samples robust
Specify non-TeX fonts that work in the source for documents that
fail with "missing characters" if compiling with "non-TeX fonts"=true.
(This does not interfere with the default output in any way.)
2016-09-29 10:42:03 +02:00
Günter Milde
66f8d9a279 Fixes to seminar.layout and documentation.
Thanks to Jean-Marc for test and report.
2016-09-29 09:40:06 +02:00
jpc
c00afea614 French translation updated 2016-09-28 11:21:26 +01:00
Günter Milde
a07a541a8c seminar: major documentation (example) update. 2016-09-26 22:55:58 +02:00
jpc
22bb6e3f61 Change a line to avoid bad hyphenation
THe pdf output showed  a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.
2016-09-26 18:06:14 +01:00
jpc
f96683c41c Typo 2016-09-26 14:29:37 +01:00
Scott Kostyshak
27beb8f0d9 Amend 40c262cb
Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.

(cherry picked from commit e81f6b04bc)
2016-09-22 23:17:40 -04:00
Scott Kostyshak
513a0bc8bc Amend and extend 9f3518bc
The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.

Change tracking is not used because it only affects a comment
(consistent with aa81ae7e).

This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org

(cherry picked from commit 40c262cbd8)
2016-09-22 22:26:02 -04:00
Günter Milde
30c9c8e81a lib/unicodesymbols tests: add comments and remove spurious test samples. 2016-09-22 12:10:39 +02:00
Guillaume Munch
ca58674267 Better title for ViewSource
The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.

The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.
2016-09-21 16:42:38 +02:00
Jean-Marc Lasgouttes
db12707655 Do not hardcode required packages for Note inset
This does not change the default behavior, but allows to customize it.
2016-09-21 16:11:53 +02:00
Uwe Stöhr
df11db1dd3 French beamer.lyx: accept changes
I think this can be accepted without further explanation since it is in a comment
2016-09-20 23:17:09 +02:00
Juergen Spitzmueller
b8486ba6d1 Improve bibliography info (general), part II
Consider collection and proceedings
2016-09-20 11:51:04 +02:00
Juergen Spitzmueller
85f1259bf1 Improve bibliography info (general)
Consider all thesis types.
2016-09-20 11:45:25 +02:00
Juergen Spitzmueller
2267f4aef6 Improve info display for biblatex databases, part IV
Consider biblatex's new field names: location (address),
journaltitle (journal), institution (school).

Biblatex provides alias for the legacy bibtex field names. Hence check
for the new names only if the legacy names are not used.
2016-09-20 11:35:05 +02:00
Günter Milde
559c895130 lib/unicodesymbols: tests and fixes, Blocks 87 - 91
Also add more "stmaryrd" symbols.
2016-09-20 08:16:39 +02:00
Günter Milde
e82e48c44d lib/unicodesymbols: replace TABs. 2016-09-20 08:16:21 +02:00
Scott Kostyshak
1c7835c092 Fix compilation of fr/beamer.lyx with XeTeX
The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.

Also correct spelling of "decouvert" to "découvert".

Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.

This commit fixes the following ctest:

  export/examples/fr/beamer-article_pdf4_texF

It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.

For more information, see:
https://www.mail-archive.com/search?l=mid&q=20160919192413.ftnz4gk6dl5w3k5c%40Opti1604

(cherry picked from commit 9f3518bcd2)
2016-09-19 22:27:20 -04:00
Enrico Forestieri
d0f608d28e Document the new behaviour in mathed 2016-09-19 11:57:39 +02:00
Günter Milde
5156416279 lib/unicodesymbols tests and fixes: Block Dingbats. 2016-09-18 17:08:56 +02:00
Uwe Stöhr
a588bddec5 Development.lyx: update documentation rules 2016-09-16 23:25:04 +02:00
Günter Milde
27420e84ad ctests: rename pattern file "suspiciousTests" to "invertedTests". 2016-09-16 12:10:48 +02:00
Günter Milde
f957d32ed3 lib/unicodesymbols tests and fixes: Block Miscellaneous Symbols.
* add \Coffeecup and \Wheelchair

* add "force=utf8" where required

* uninvert tests: ctest works again after Kornel fixed the problem in 9f1b80a2af
2016-09-16 12:10:48 +02:00
Günter Milde
c79b7c1496 lib/unicodesymbols tests and fixes.
Blocks Box Drawing, Block Elements, Geometric Shapes.
2016-09-14 22:06:11 +02:00
Günter Milde
e08a372927 lib/unicodesymbols tests and fixes
* Test blocks Mathematical Symbols, Miscellaneous Technical, Control Pictures
* fix Fahrenheit symbol
* add force=utf8 where required
2016-09-13 22:08:24 +02:00
Günter Milde
e62d20fc01 lib/unicodesymbols fixes
"vdots" fails in text mode, if "mathdots" is loaded.

package "ascii": remove invalid command "\\ascii", let LyX terminate commands
2016-09-12 11:46:30 +02:00
Scott Kostyshak
2c26ff8864 Fix compilation of ja/EmbeddedObjects.lyx
sidecap does not work well for some reason with the Japanese doc, so
the sidecap bool is set to false to restore compilation.

The following test now passes:

export/doc/ja/EmbeddedObjects_pdf3
2016-09-11 10:11:05 -04:00
Günter Milde
754cb3d18a Test and fix lib/unicodesymbols for Letterlike Symbols, Number Forms and Arrows blocks. 2016-09-10 22:43:57 +02:00
Enrico Forestieri
2aa930bbe8 Fix display and export of some latex macros
Fixes #9742.
2016-09-10 18:32:44 +02:00
Günter Milde
99310b7e3f Fix export of Unicode characters (Unicode blocks <=72)
Fix problems revealed by hand-compiling an examining the test samples in autotests/export/Unicode-characters/:

* new definitions
* fixed definitions
* "force=utf8" when required
* some IPA symbols fail without the "extraipa" package
* fix direction of "textcommaaboveright"
2016-09-10 12:35:51 +02:00
Günter Milde
b9a47dff4e Test and fix lib/unicodesymbols for Latin, Greek, and Cyrillic. 2016-09-08 23:22:51 +02:00
Günter Milde
bc72b4602f Math definitions of Greek symbol variants for lib/unicodesymbols
+ test sample for Greek and Coptic Unicode block
2016-09-08 23:22:51 +02:00
Juergen Spitzmueller
461cb03b67 Update docs wrt Separator 2016-09-08 10:29:21 +02:00
Uwe Stöhr
7d94afc4da partly Revert "fr/UserGuide: remove spurious language switch in an index inset."
Please fix at first the versions in branch since this is the working copy delivered with LyX.
Also please keep the fileformat unless you need to document a new feature that requires a new fileformat.
2016-09-08 00:52:45 +02:00
Günter Milde
dc378b523d ctests: More inversions
* Polyglossia + LuaTeX + \verb bug with Cyrillic and Greek
* PDF(LuaTeX) Intro.lyx (reports png without bounding box)
2016-09-07 23:27:16 +02:00
Günter Milde
5fd56eb9ad fr/UserGuide: remove spurious language switch in an index inset.
This led to errors when compiling with polyglossia (and non-TeX fonts).
A minimal (currently non-compiling) test sample is kept in autotests/export/
and inverted in suspiciousTests.
2016-09-07 23:27:16 +02:00
Scott Kostyshak
5a1cbf5cbf Fix compilation of attic/id_UserGuide.lyx
Change an ERT \bf{ to \textbf{.

Consistent with e.g. 0e49231b.
2016-09-07 14:49:15 -04:00
Scott Kostyshak
6e22893fd5 id_UserGuide: Update LyX format for next commit 2016-09-07 14:47:09 -04:00
Günter Milde
936fe7ace3 minor edit of development guide 2016-09-06 16:44:36 +02:00
Juergen Spitzmueller
00f2166df8 Remove duplicate context menu item
Fixes: #10368
2016-09-06 13:15:55 +02:00
Georg Baum
df8e0ed9e0 Add xlsx format
We do already have docx, but xlsx was missing. This is a separate format
because of the MIME type. nd because some users might need converters which
can only handle one format. Now the spreadsheet template does not hide the
fact anymore that it can deal with xlsx files as well.
2016-09-05 22:52:38 +02:00
Uwe Stöhr
95bdeba21e French doc files: port last changes to master 2016-09-03 22:19:46 +02:00
Juergen Spitzmueller
0f1496ae28 Remove English traces in IPA inset that make XeTeX fail. 2016-09-03 16:57:43 +02:00
Scott Kostyshak
d1b0dba99f he/splash.lyx: mark \LaTeX{} insets as English
This makes sure they're output in the correct direction, consistent
with the previous commit (although this does not change the exit
code of the export).

For more details, see:
https://www.mail-archive.com/search?l=mid&q=20160828233923.guhveaqxdxh356nm%40steph
2016-09-01 17:39:14 -04:00
Scott Kostyshak
95afab4be7 he/splash.lyx: fix compilation
We need to mark the LyX inset as English to avoid "missing glyph"
errors.

For more details, see:
https://www.mail-archive.com/search?l=mid&q=20160828233923.guhveaqxdxh356nm%40steph
2016-09-01 17:38:59 -04:00
Scott Kostyshak
185e630875 Amend previous commit, 0e49231b
Thanks to Guillaume.
2016-08-28 20:14:24 -04:00
Scott Kostyshak
0e49231bbf Convert deprecated '\rm' to '\textrm' in examples
This change fixes the export of our FeynmanDiagrams.lyx example
files on the latest TeX Live 2016.

The IJMP(C|D).lyx examples compiled before the change but might as
well convert these instances of '\rm' also.

The changes were made with the help of the following command:

  find ./ -iregex .*lyx -exec sed -i 's/\\rm /\\textrm /g' {} \;

and the resulting diff was confirmed manually.

This commit is consistent with 3cecd4d3.
2016-08-28 19:40:37 -04:00
Guillaume Munch
0779b3c36c Change "Format" into "Formats"
The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).
2016-08-28 18:26:58 +01:00
Georg Baum
f69d11f97b Add more lib/symbols unicodemapping
There are still many math symbols in lib/symbols that lack a corresponding
entry in lib/unicodesymbols, although a clear mapping exists. This commit
adds some of them (not all yet). In the future we should probably move the
information from both files into one database.
2016-08-27 11:52:31 +02:00
Juergen Spitzmueller
1720498f8d Fix \@ifundefined check for covexample(s)
Fixes: #10340
2016-08-26 10:45:15 +02:00
Georg Baum
338cef2a97 Fix regression of 88603655
The XHTML entries were added in the wrong field, if they are given we need
extra xhtml requires. The order is inconsistent, there are discussions on the
list about that but for now I'll use the existing order to fix the export tests.

The format of the lib/symbols file does not support "" for empty strings.
One would have to use x for fields that are not set (this is a hack), but
actually we know how to fill the extra field.
2016-08-21 20:39:52 +02:00
Jean-Marc Lasgouttes
6de6aad4cd Add missing entries in syntax.default
These are: \cellcolor, columncolor and rowcolor

Fix \rotatebox

Remove ",," in argument of color command, this is actually not used.
2016-08-19 16:02:36 +02:00
Scott Kostyshak
e7a64949ad Foils.lyx: fix output of author
By moving date and author above the standard layouts, author is now
output in the PDF and the terminal error from LyX about mixing an
InTitle layout with non-InTitle layouts is gone.
2016-08-09 12:56:03 -04:00
Scott Kostyshak
e09db1f151 Literate.lyx: move date with other InTitle layouts
This leads to the date being output in the PDF and gets rid of the
terminal error from LyX about mixing an InTitle layout with
non-InTitle layouts.
2016-08-08 23:45:06 -04:00
Scott Kostyshak
330e52b9cb Fix dviluatex exports of Sweave/knitr/Lily/noweb
After the fix at fe06ef0e, several converter chains to DVI
(dviluatex) were broken because they had previously gone through an
incorrect link in the chain.

This commit adds converters for the above formats to dviluatex and
fixes the following ctests:

  export/examples/Literate_dvi3_texF
  export/examples/Literate_dvi3_systemF
  export/examples/knitr_dvi3_texF
  export/examples/knitr_dvi3_systemF
  export/examples/lilypond_dvi3_texF
  export/examples/lilypond_dvi3_systemF
  export/examples/noweb2lyx_dvi3_texF
  export/examples/noweb2lyx_dvi3_systemF
  export/examples/sweave_dvi3_texF
  export/examples/sweave_dvi3_systemF
  export/templates/RJournal_dvi3_texF
2016-08-07 14:04:05 -04:00
Richard Heck
e57e008e88 Remove debugging code. 2016-08-05 21:39:58 -04:00
Richard Heck
f697faf370 InsetNote is not output for XHTML.
Also fixes whitespace.
2016-08-04 22:35:47 -04:00
Richard Heck
fab09075a6 Remove stray "typewriter" font. 2016-08-04 21:40:37 -04:00
Juergen Spitzmueller
90f6eb01a4 Include all [scr]article styles in beamer article layouts.
File format change. On format reversion, we need to put some extra code
in the local layout that emulates the 2.3 behavior.
Simply Input'ing the respective layouts is unfortunately not enough,
due to the insertion order.

See #9977
2016-08-04 11:42:06 +02:00
Juergen Spitzmueller
310c140627 Correct default font of beamer article layouts
Fixes: #9977
2016-08-04 10:27:10 +02:00
Scott Kostyshak
60515b996b New LFUN lyx-activate to focus LyX window
On Linux and Mac OS, this action brings the LyX window into focus.
Such behavior is not allowed by Windows OS so instead the color of
the taskbar entry is changed to indicate that the window has changed
in some way.

The action is hidden in the shortcuts menu because it would make
sense to assign a shortcut to it. The only way to execute shortcut
would be if the LyX window is already activated.

lyx-activate will be used (see next commit) to allow the PDF viewer
to switch to LyX after executing a reverse search.
2016-08-04 01:46:13 -04:00
Scott Kostyshak
bd5d0a6254 RELEASE-NOTES: add the new LFUN branch-invert 2016-08-04 01:45:48 -04:00
Guillaume Munch
77511ea1d5 Add an option to layout2layout to convert to a particular format 2016-07-31 18:34:33 +01:00
Richard Heck
69f8ab21ef Fix typo in new dia converter. 2016-07-31 12:46:12 -04:00
Uwe Stöhr
d9db72833a Customization.lyx: port recent changes to master 2016-07-31 10:43:00 +02:00
Uwe Stöhr
79a76392ab Customization.lyx: accept Richards changes
Richard, please do everything that does not depend on LyX 2.3 this in the 2.2.x branch. Also don't upgrade the fileformat if not necessary.
2016-07-31 10:37:28 +02:00
Richard Heck
ab3a49973f Fix display of code listings in XHTML.
Fixes bug #8362.
2016-07-31 01:47:30 -04:00
Richard Heck
1840e2dbaf Enable export of spreadsheets with XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
94dd876699 Dummy export for spreadsheets: plaintext and DocBook. 2016-07-31 01:26:15 -04:00
Richard Heck
681e76086a Export external raster graphics as png for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
b9f7bf7d69 Export external vector graphics as svg for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
a45ffddb23 Enable SVG export of XFig figures for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
0b8c6bbbf8 Activate export of chess diagrams for XHTML. 2016-07-31 01:26:15 -04:00
Richard Heck
b35661b755 Enable XHTML export of LilyPond files. 2016-07-31 01:26:15 -04:00
Richard Heck
3f1199d56a Allow XHTML export of Dia diagrams. 2016-07-31 01:26:15 -04:00
Richard Heck
6c5caa78cb Fix some wrongly converted "LaTeX" logos. 2016-07-31 00:37:50 -04:00
Richard Heck
d142ab94ef whitespace 2016-07-31 00:15:42 -04:00
Richard Heck
22e1063cb9 Fix indentation of fen2ascii script so it will run. 2016-07-30 23:17:30 -04:00
Richard Heck
8860365565 Fix some symbols that are displayed incorrectly in MathML export. 2016-07-30 21:08:06 -04:00
Richard Heck
e2fa3cb6ef Fix output of table borders for XHTML. Fixes bug #10154. 2016-07-30 20:15:12 -04:00
Richard Heck
eeb6b5b153 Revert most of dd7863b6.
I did not mean to commit the caption-related stuff.
2016-07-30 01:42:08 -04:00
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