Commit Graph

9272 Commits

Author SHA1 Message Date
jpc
0afd533085 Partial update of fr/UserGuide.lyx 2018-02-18 22:45:27 +01:00
Scott Kostyshak
0c2f431003 Add Nomenclature to localization_test.lyx 2018-02-18 00:40:53 -05:00
Uwe Stöhr
7df53d50f2 port recent Basque translation updates 2018-02-18 02:24:22 +01:00
jpc
83485b670e Untranslated menu name in fr/EmbeddedObjects.lyx 2018-02-17 18:44:03 +01:00
jpc
c9a9f26f42 A couple of forgotten items in fr/Additional.lyx 2018-02-17 18:33:25 +01:00
jpc
99b6af52f1 Remove spurious occurrence of AGU and EGS chapters in fr/Additional.lyx 2018-02-17 18:08:25 +01:00
Uwe Stöhr
1fb1b0a3f8 UserGuide.lyx: document the removal of the pixmap cache for all languages 2018-02-14 14:51:22 +01:00
Richard Heck
5f1b32f8c5 Also fix chapter layout in tufte-book. 2018-02-12 16:29:54 -05:00
Pavel Sanda
8160ed97bf * lib/layouttranslations, sync with 2.3 2018-02-12 21:40:06 +01:00
Pavel Sanda
149f03d403 Fixing painting regression - chapter top spacing.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203685.html
2018-02-12 21:14:56 +01:00
Uwe Stöhr
5c1a121d1d Customization.lyx: distribute all tracked changes 2018-02-12 18:53:12 +01:00
Jean-Marc Lasgouttes
54e491c6fe There is actually a home for obsolete templates in Makefile
Fixup to 24fd7d2b.
2018-02-12 17:19:10 +01:00
Jean-Marc Lasgouttes
24fd7d2bac Remove template AGUTeX.lyx from Makefile 2018-02-12 17:06:19 +01:00
jpc
86e42848fe Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete
2018-02-12 11:33:17 +01:00
Juergen Spitzmueller
b0ecfebad4 biblatex-natbib.citeengine: Remove erroneous blank 2018-02-11 16:43:14 +01:00
Juergen Spitzmueller
71fea63326 Disable CheckTeX while buffer is processed
Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
2018-02-10 18:18:43 +01:00
Günter Milde
8f86b72cf4 lyx2lyx fixes and cleanup.
Don't insert empty line when translating QuoteInsets to literal
quotes.

Fix regexp pattern in re/convert_dashligatures.

Adjust logic in re/convert_dash(ligatur)es.
2018-02-09 16:49:23 +01:00
Pavel Sanda
b7caaf6196 Proper naming of LFUN_SET_GRAPHICS_GROUP. 2018-02-08 21:59:41 +01:00
Pavel Sanda
b88ed81e7f Unify graphics-groups inside marked block functionality.
Fixes #11026.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203683.html
2018-02-08 21:33:37 +01:00
Günter Milde
e4f90cdf65 lyx2lyx refactoring.
Avoid duplicate code. Fix some corner-cases.
2018-02-07 18:49:21 +01:00
Günter Milde
2ddaa0a59b New lyx2lyx parser tools find_substring() and set_bool_value(). 2018-02-07 18:49:20 +01:00
Juergen Spitzmueller
9b23b49d41 Do not show "Abstract" label in KOMA classes
This is not output by those classes (per default).
2018-02-06 18:39:00 +01:00
Günter Milde
2b451f01f5 Add newlines around \backslash in put_cmd_in_ert.
Fix for 2fce4d49ee.
2018-02-04 10:16:54 +01:00
Günter Milde
8caa9701b9 Use re.match to find regexp at begin of string/line.
Consistently use the re.match() or the match() method of a
regexp object to find a match at the begin of a line.
This is faster than re.find('^...').

Cf. https://stackoverflow.com/questions/180986/what-is-the-difference-between-re-search-and-re-match
(The subtle difference for multi-line strings is irrelevant for
configure.py, as we match line-wise.)
2018-02-04 10:08:07 +01:00
Pavel Sanda
584b83d33c Fix sideset hints, part of bug #11015. 2018-02-03 17:51:00 +01:00
Richard Heck
16a6a98182 Harden a few of the other regexes, too.
I've tested this and get no difference of output.
2018-02-01 22:14:51 -05:00
Richard Heck
50676c782a Make module and citeengine regexes a little more discerning. 2018-02-01 22:11:45 -05:00
Richard Heck
0e3d209295 Double escape binary regexes in module and citeengine searches.
See previous commit for explanation.
2018-02-01 22:11:45 -05:00
Richard Heck
6b5a7116cd Double escape binary regex in lyx2lyx and fix line-ending problem.
When we switched from r'...' to b'...', this required strings used
as input to re.compile to be double-escaped. It's not an issue with
"\s", because "\s" has no special meaning in a string.

Also, printing in binary mode did not output a line ending.
2018-02-01 22:11:45 -05:00
Uwe Stöhr
46845d8069 French docs: remove a file that was accidentally committed 2018-02-01 05:19:08 +01:00
Uwe Stöhr
5e7c44d7b6 pt_BR.po: updates from Georger
- He also reviewed layouttranslations and says it is OK
2018-02-01 05:11:17 +01:00
Günter Milde
2fce4d49ee lyx2lyx refactoring.
* use unicode.transform() instead of loop over replacements
* telling variable names
* remove trailing whitespace
* documentation update
* don't set use_ligature_dashes if both dash types are found
* remove spurious warning, normalize indentation, and use
  Python idioms in revert_baselineskip()
2018-01-31 21:13:43 +01:00
jpc
e4c0c6afdf Remove unappropriate French style command from preamble 2018-01-31 17:51:27 +01:00
Günter Milde
ed3f6801bd Remove spurious no-break space. 2018-01-31 11:01:11 +01:00
Uwe Stöhr
08ebc32123 French Additional.lyx: sync with branch 2018-01-31 05:47:41 +01:00
Günter Milde
0d9708ef04 Use LaTeX macros instead of Latin transcription for Greek characters.
Use the LaTeX internal character representation (LICR) macros
provided by lgrenc.def (since version 0.8 from 2013-05-13)
in lib/unicodesymbols. This fixes the PDF bookmarks (except for the
legacy input encoding iso-8859-7) and solves the problem of a missing
"v" character in Libertine LGR fonts (see lyx-users from 2018-01-29).

The ctest unicodesymbols/008-greek-and-coptic_iso8859-7_pdf2" now fails
(due to #9681). This is not a regression, as it is already
"unreliable" (wrong output, Latin character instead of Greek).

Drop compatibility definition of \~ as perispomeni accent
(that was required with lgrenc.def < 0.8).
2018-01-30 22:31:08 +01:00
Günter Milde
232c5b7766 Do not use "ligature dashes" with French documents.
In Spanish and French, dashes around parenthetical statements
are treated similar to brackets: line breaks are not allowed
on the inner side. Use of "breakable" dashes risks accidential
line breaks after the "opening" dash.
(Ligature dashes allow line breaks even if a no-break space follows.)
2018-01-30 21:49:12 +01:00
Juergen Spitzmueller
7e071f14b9 Once more, the libertine font package has been renamed.
Take the newest one, if present.

Candidate for 2.3.x.
2018-01-30 08:16:06 +01:00
Uwe Stöhr
59ce6dac2f French EmbeddedObjects.lyx: sync document settings with English version
- English EmbeddedObjects.lyx: correct a typo
2018-01-29 15:10:02 +01:00
Juergen Spitzmueller
fc2d8238dc Add Bibliography to the Outliner.
Fixes: #11001, #7724.
2018-01-29 09:09:51 +01:00
Uwe Stöhr
d809ced05b Additional.lyx: port recent changes 2018-01-29 01:35:23 +01:00
Juergen Spitzmueller
8a08a19122 Document B_ in cite style definitions 2018-01-27 14:53:18 +01:00
Juergen Spitzmueller
5db4d712ef Differentiate Buffer strings and GUI strings in citeengines
The former need to be translated to the buffer language, the latter to
the GUI language.

Fixes: #10946
2018-01-27 14:29:41 +01:00
Pavel Sanda
2900f93c81 * layouttranslations - update ar, ru, el 2018-01-26 19:49:40 +01:00
Scott Kostyshak
9b262fcff4 Correct \origin in the new ru examples 2018-01-24 23:43:34 -05:00
Günter Milde
a151b274bf Fix lyx2lyx dash conversion and make it faster. 2018-01-24 17:38:19 +01:00
Günter Milde
a77cfef1c6 Fix some more lyx2lyx round-trips.
Also restore corrupted seminar example.
Add default return value to parser_tools.is_in_inset().
2018-01-24 01:04:14 +01:00
Günter Milde
67eca412ff Fix some lyx2lyx round-trip tests.
Fix cases where lyx2lyx adds changes with every round cycle
uncovered by recent ctest change.

Add optional `delete` argument to parser_tools.get*value():
If True, delete the matching line.

More efficient "allowbreak" con/reversion.
2018-01-23 14:01:30 +01:00
Günter Milde
8da6cdcf23 New lyx2lyx tools.
New lyx2lyx parser tools find_complete_lines() (replaces find_slice),
del_complete_lines(), and find_across_lines(). Default value 0
for start argument in utility functions.

Rework the implementation of dash-conversion.
2018-01-23 09:10:50 +01:00
Günter Milde
8e825de4b2 Fix preamble-code removal in lyx2lyx. Do some optimizations.
Fix failure of revert_dashes() found by lyx2lyx ctests
using an efficient function to find a given sequence of lines
in a list of lines.

Some optimizations using Python idioms instead of C-like code.
2018-01-21 19:55:27 +01:00
Uwe Stöhr
1450b99ed1 UserGuide.lyx: correct an equation
thanks Yuriy for spotting
2018-01-19 01:02:25 +01:00
Uwe Stöhr
98cfc25277 ru.po: updates from Yuriy
- also some updates for Tutorial.lyx
2018-01-19 00:31:47 +01:00
Günter Milde
9ce5d8578b Prevent rows of hyphens becoming dashes when back-porting to 2.1.
Insert ligature breaks between hyphens where
they are separate in 2.2 but ligated by TeX in 2.1.

This fixes output with LyX 2.1 and prevents -- and --- becoming
en and em dash in the LyX source after a round-trip to 2.1
and back.

Solves lyx2lyx ctest failures with a warning about
possible line-break changes.
2018-01-17 21:39:03 +01:00
Uwe Stöhr
1d81e098a3 French example files: port recent changes to master 2018-01-17 15:58:07 +01:00
Kornel Benko
d794a6d60d Add testfiles-references to automake build: vcs_info_export moved to new directory, part 4 2018-01-17 15:31:57 +01:00
Kornel Benko
26eeaa1af2 vcs_info_export moved to new directory, part 2 2018-01-17 12:25:22 +01:00
Günter Milde
6fe2e45f97 Remove trailing whitespace in lyx2lyx. 2018-01-17 09:48:08 +01:00
Uwe Stöhr
58121e887a example files: distribute some changes
- French:
 - fix compilation of beamer.lyx
 - update a screenshot
2018-01-16 14:50:25 +01:00
Uwe Stöhr
5f93099b88 EmbeddedObjects.lyx: fix a typo spotted by Paul Rubin
fixes #10965
2018-01-16 04:45:44 +01:00
Uwe Stöhr
53188a5f47 doc files: correct preamble commands
thanks toe Jean-Pierre
2018-01-16 04:08:52 +01:00
Scott Kostyshak
baefa82a81 Restore 3c6fa867 and b83252b1
This restores the https URLs.
2018-01-15 16:51:35 -05:00
Scott Kostyshak
a816ef9c33 Restore math options to "load automatically" 2018-01-15 16:51:35 -05:00
Scott Kostyshak
caa6602a15 Restore \origin 2018-01-15 16:51:35 -05:00
Scott Kostyshak
ef9a05dede Big changes to ja/sweave/lyx and ja/knitr.lyx
- Use bxjsarticle + XeLaTeX instead of article + pLaTeX.
- Use LyX's "chunk" inset instead of ERT.
- Translate a couple of English strings.

Patch from Koji Yokota.
2018-01-15 16:51:35 -05:00
Pavel Sanda
3a57f9766c * layouttranslations.review
wa never used, da forgotten, en not needed.
2018-01-14 14:33:38 +01:00
Pavel Sanda
f50e980a40 * layouttranslation.review: pt reviewed by Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203376.html
2018-01-14 14:03:55 +01:00
Kornel Benko
aed458f007 Cmake tests: New test for the outliner with beamer
Test idea from Pavel Šanda
Move insets down and up, then compare with expected latex output.
2018-01-14 13:47:27 +01:00
Uwe Stöhr
058ee9ab00 UserGuide.lyx: distribute recent changes 2018-01-12 04:54:03 +01:00
Uwe Stöhr
92955116b0 Additional.lyx: re-sync with master
please use use LyX 2.3.x and keep the docs in sync unless you describe a new feature of LyX 2.4
2018-01-12 02:42:36 +01:00
Günter Milde
0fb2edacdc Use Flex Code inset instead of typewriter custom font style.
Change markup to use semantic markup instead of hard-coded
typewriter for code examples containing --.
Works around false positive warning on changed dashes
leading to lyx2lyx export ctest failures.
2018-01-12 00:35:00 +01:00
Juergen Spitzmueller
3daa447c3c Take AgainFrame to the TOC. 2018-01-11 13:14:16 +01:00
Günter Milde
73b6f42362 Do not convert dashes/hyphens in LyX-Code.
See previous commit and #10961
2018-01-10 12:07:36 +01:00
Günter Milde
cb1fda9988 Do not convert dashes/hyphens in Code insets (logical markup).
Code is by default rendered as typewriter and should be treated
similar:
In text marked up as code, -- or --- is typically part of a
command (e.g. "lyx --help" or "x--") and not a transliteration
for en dash, see #10961.
This is already handled so for text in typewriter font
(see Text.cpp:500).
2018-01-10 12:07:36 +01:00
Uwe Stöhr
bb650bf8c2 Changelog-Customization-LyX_23x.txt: dummy commit as text 2018-01-10 02:12:40 +01:00
Uwe Stöhr
4abe7d0181 Customization.lyx: distribute and accept recent changes 2018-01-09 01:28:26 +01:00
Uwe Stöhr
20df4da55f EmbeddedObjects.lyx: port updates and fixes from Jean-Pierre to master 2018-01-08 15:54:08 +01:00
Juergen Spitzmueller
7da8473c4f Start inset at new line 2018-01-06 10:43:44 +01:00
Juergen Spitzmueller
44670d4778 Customization: some color name fixes. 2018-01-06 09:31:24 +01:00
Juergen Spitzmueller
016393a0dd Minor re-ordering of the Insert menu 2018-01-05 11:09:11 +01:00
Günter Milde
0674abf4a0 Update UserGuide and de/UserGuide.
Remove warnings for issues fixed in lyx2lyx.
Update the GUI name of the ligature-dash Option.
Fix example for preventing unwanted line break in French.
2018-01-02 12:56:49 +01:00
Juergen Spitzmueller
8d8ee12e64 Update layout format 2018-01-02 11:53:01 +01:00
Günter Milde
5dc48f7ef9 Documentation fixes: revert conversion of -- to en dash in code.
lyx2lyx erroneousely merged -- to en dash in text with logical
markup "code".
Revealed by recent (but now silenced) ctest fails.

Also add space around en dash in examples.
2018-01-02 11:20:35 +01:00
Uwe Stöhr
69ef4bc146 Russian doc files: new and updated translations by Yuri 2018-01-01 16:56:31 +01:00
Uwe Stöhr
fd3b9cf6c6 French UserGuide.lyx: port Jean-Pierre's recent changes to master 2018-01-01 14:39:59 +01:00
Juergen Spitzmueller
8f86feb260 Prepend "Insert " in the context menu for environment separators. 2018-01-01 13:40:49 +01:00
Juergen Spitzmueller
ebc3fee728 mention new option 2018-01-01 12:41:00 +01:00
Juergen Spitzmueller
91008d8b21 LFUNS.lyx: update 2017-12-31 18:58:32 +01:00
Juergen Spitzmueller
fe698caeec Distribute UG changes following menu move of environment-split 2017-12-31 10:14:59 +01:00
Juergen Spitzmueller
b0801b43f4 Distribute auto-nest documentation. 2017-12-31 10:00:38 +01:00
Juergen Spitzmueller
cc8ce481f5 Distribute beamer manual changes in the wake of the environment-split mods. 2017-12-30 19:29:51 +01:00
Juergen Spitzmueller
c8abe0cf7b Move environment-split from Edit to Insert, as requested. 2017-12-30 17:54:09 +01:00
Juergen Spitzmueller
3a4b233dbd Properly implement IsTocCaption for Arguments in standard TOC
Fixes: #10631

Candidate for 2.3.x.
2017-12-29 11:51:24 +01:00
Juergen Spitzmueller
f3b89e4c72 Add IsAutoNestedBy
This is complementary to AutoNests: Styles can determine which other
style should auto-nest them. This is particularly useful for modules
that add new styles which should be auto-nested in a given context.
2017-12-29 10:36:03 +01:00
Juergen Spitzmueller
d6fb2abbea Some AutoNest polishment.
* Rename Nests to AutoNests
* Do it when changing from any style
2017-12-29 10:03:00 +01:00
Juergen Spitzmueller
99ecc6e2c9 Implement auto-nesting.
Now layouts can specify other layouts that should be nested in and
after the current one (if the layout is switched from the current one
and if it follows a paragraph in the current one).

This is particularly useful for things such as the beamer frames, where
particular layouts are practically always nested.
2017-12-28 17:44:54 +01:00
Juergen Spitzmueller
2907160fff Introduce environment-split previous
This one checks for an environment in the previous paragraph (outside
the nesting scope).
2017-12-28 12:28:01 +01:00
Juergen Spitzmueller
dfaa4e9466 Fix footnotes in table with RevTeX4
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.

Also add missing outliner name.
2017-12-27 15:43:40 +01:00
Juergen Spitzmueller
994176e55b Tufte title is fragile
Candidate for 2.3.x.
2017-12-26 12:35:55 +01:00
Scott Kostyshak
713fd70e8f Fix Python escaping of unicode string
When removing "r" from "ur", it is needed to add extra backslashes.
See:

  https://www.mail-archive.com/search?l=mid&q=2024193.iXIh6cq6L3%40myth

Thanks to José.

This commit amends b7983478 (and thus 586d16a4).
2017-12-26 02:10:49 -05:00
Juergen Spitzmueller
931f87f508 Introduce "inherit" encoding for latex_language
This gets rid of the hardcoded latin1 encoding for verbatim. Instead,
verbatim now inherits the encoding from the context, which is what is
actually wanted here.

Fixes: #9012, #9258
2017-12-24 17:10:42 +01:00
Pavel Sanda
61e899ac24 layouttranslation: review cs 2017-12-24 04:56:15 +01:00
Pavel Sanda
10b5f1ac50 layouttranslation: sk is clearly reviewed 2017-12-24 04:34:59 +01:00
Scott Kostyshak
b7983478e1 Fix Python unicode string in lyx2lyx
This commit amends 586d16a4.
2017-12-23 21:47:08 -05:00
Pavel Sanda
3f7e00b661 Russian layouttranslations reviewed by Yuriy, Dec 13 2017. 2017-12-24 03:08:34 +01:00
Juergen Spitzmueller
7b4d227929 Title commands are fragile in memoir 2017-12-23 13:27:10 +01:00
Richard Heck
1c7b9676b0 Release notes for LFUN_EXPORT_CANCEL. 2017-12-21 18:59:46 -05:00
Richard Heck
76214e6012 LFUN and basic code to enable cancellation of background
processes.
2017-12-21 18:55:39 -05:00
Uwe Stöhr
634f69ee23 revtex4-1.lyx: LyXify the document
- avoid unnecessary TeX code etc.
2017-12-19 15:08:10 +01:00
Günter Milde
586d16a49c Fix lyx2lyx conversion of dashes. 2017-12-19 14:10:57 +01:00
Uwe Stöhr
f746a57515 xyfigure.png: update the screenshot 2017-12-19 01:50:42 +01:00
Uwe Stöhr
80140877f6 new Arabic splash.lyx from Hatim 2017-12-18 15:26:17 +01:00
Uwe Stöhr
405bf7a366 Russian Tutorial.lyx: translations from Yuriy 2017-12-18 01:39:16 +01:00
Uwe Stöhr
72bb33422c UserGuide.lyx: distribute dash changes 2017-12-18 01:32:10 +01:00
Juergen Spitzmueller
5dca4abb09 Adapt documentation. 2017-12-17 09:20:34 +01:00
Uwe Stöhr
79bdb88d35 Russian splash.lyx: update from Yuriy 2017-12-17 03:51:22 +01:00
Uwe Stöhr
df2cddb859 Russian doc files: finished review from Yuriy 2017-12-17 03:40:02 +01:00
Uwe Stöhr
6c6cf5e071 use https:// in the first line of .lyx files
- also support to detect https via tex2lyx
2017-12-17 02:24:26 +01:00
Juergen Spitzmueller
ad093160d8 Further modifications of the "Dashes and Linebreaks" section 2017-12-16 17:35:40 +01:00
Uwe Stöhr
1f23d65f8f splash.lyx: link https://www.lyx.org/Walkthrough
It is a good idea from Yuriy to link it, especially for the languages where we don't have other docs than the splash file.
2017-12-16 14:24:17 +01:00
Uwe Stöhr
d509490f5a generate_contributions.py: review links
- use https if possible
- update links
- remove one nonexistent link
- use link to KDE's oxygen icons because these are licensed under the LGPL
2017-12-16 04:06:09 +01:00
Uwe Stöhr
28029074b2 doc, templates and example files: use https for links to lyx.org 2017-12-15 02:53:06 +01:00
Uwe Stöhr
bc4eff1e83 doc files: review of links
- correct dead links
- use https if possible
2017-12-15 02:31:36 +01:00
Uwe Stöhr
18829e8c2f chkconfig.ltx: correct sorting 2017-12-14 20:18:40 +01:00
Uwe Stöhr
a6c6e31745 UserGuide.lyx: review links
- update broken links
- use https if possible
- removed outdated section
- save LyXDocs.bib with JabRef 4
2017-12-14 18:50:56 +01:00
Uwe Stöhr
b9574fd45d example files: use https links 2017-12-14 16:39:14 +01:00
Uwe Stöhr
639d63607a Russian splash.lyx: updates from Yuriy 2017-12-14 14:50:03 +01:00
Uwe Stöhr
0c9ca34ff1 French UserGuide.lyx: port today's changes to master 2017-12-14 03:02:12 +01:00
Uwe Stöhr
ba8a80bc03 Russian Tutorial.lyx: first step to update by Yuriy 2017-12-13 21:15:27 +01:00
Juergen Spitzmueller
323549c10c generate_contributions.py: Fix for python3 2017-12-13 12:55:17 +01:00
Kornel Benko
52e5e940e2 Amend 3dcb317 2017-12-12 20:54:56 +01:00
Kornel Benko
3dcb317c39 Add menus.bind for Slovak UI. 2017-12-12 20:44:05 +01:00
Uwe Stöhr
0630546917 de.po: translate one of 3 new strings
- also update German UserGuide.lyx for consistency
2017-12-12 16:51:32 +01:00
Uwe Stöhr
a26da3268c generate_contributions.py: adding Yuriy to the CREDITS
- btw. generate_contributions.py is not yet ready for Python 3, see bug #10845
2017-12-12 15:30:28 +01:00
Uwe Stöhr
7b105a61b2 UserGuide.lyx: distribute today's changes 2017-12-12 02:25:17 +01:00
Juergen Spitzmueller
637e4d6dfa Add D. Gloger to the credits 2017-12-11 10:18:26 +01:00
Juergen Spitzmueller
480c8a52f2 Some corrections wrt dashes and line breaks 2017-12-10 12:01:17 +01:00
Uwe Stöhr
a97b792eac EmbeddedObjects.lyx: better description for rotated table cells with line breaks 2017-12-07 00:27:45 +01:00
Uwe Stöhr
824133f542 UserGuide.lyx: describe how to use hyperlinks for nomenclature
- also note that toolbar icon size can be changed
2017-12-06 19:16:17 +01:00
Kornel Benko
3d85d6da7b Missing "icon" in description of "info-insert"-function 2017-12-06 15:36:31 +01:00
Kornel Benko
7aa45eb025 Icon modified because of incompatibility to older rsvg-convert
rsvg-convert version 2.40.2 was unable to convert the previous svg-data.
2017-12-05 15:25:58 +01:00
Uwe Stöhr
9a0b3247b0 UserGuide.lyx: update description for nomenclature according to recent changes 2017-12-05 03:02:24 +01:00
Juergen Spitzmueller
0926bb6d40 Use literal formatting in nomencl entry with math 2017-12-03 11:20:11 +01:00
Juergen Spitzmueller
dee4c46b8d Remove obsoleted nomencl workarounds 2017-12-01 12:03:51 +01:00
Kornel Benko
a5e83ded24 Update sk.po 2017-12-01 11:10:38 +01:00
Juergen Spitzmueller
718a353b49 Implement l7n for nomenclature. 2017-12-01 10:10:06 +01:00
Uwe Stöhr
417b854eea UserGuide.lyx: fix 2 nomenclature entries
- also assure correct language for the nomenclature list
2017-11-30 13:20:55 +01:00
Uwe Stöhr
45e44894ce UserGuide.lyx: workaround for a bug in nomencl
see https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume for an explanation why the name of the nomenclature can be incorrect.

nomencl is no longer under development since 12 years therefore we should switch to the glossaries package (#10015).
2017-11-30 00:52:17 +01:00
jpc
3e4743051e Update French Math manual for 2.3 2017-11-28 09:06:33 +01:00
Uwe Stöhr
36fba4a508 Customization.lyx: fix bug#10809
also some layout fixes to avoid writing in the page margin
2017-11-28 00:54:49 +01:00
Uwe Stöhr
71e9d3a385 EmbeddedObjects.lyx: update table with available units 2017-11-27 23:12:13 +01:00
Juergen Spitzmueller
65b44311f3 Split inkscape_cl (command line) from inkscape_gui (GUI program)
On Windows, these are two different binaries, and one fails to do the
tasks of the other. On all other OSes, the two are the same.

Fixes: #10805
2017-11-27 18:59:51 +01:00
jpc
6771b0044f A couple of editions in the French Intro manual 2017-11-27 18:12:50 +01:00
Richard Heck
0f0c5bb4b1 Fix bug #10809. 2017-11-26 22:07:28 -05:00
Uwe Stöhr
88085f380c Math: add a note about \tag with RTL languages
- also update a weblink
2017-11-27 02:43:14 +01:00
Uwe Stöhr
c77531a667 UserGuide.lyx: describe \baselineskip
-also add a Spanish translation
2017-11-27 00:26:35 +01:00
Uwe Stöhr
2585745643 UserGuide.lyx: document the Literal option
- also remove some now unnecessary bibliography entries
2017-11-26 19:22:20 +01:00
Uwe Stöhr
601ce9f21c Changelog-UserGuide-LyX_23x.txt: document recent change for the translators 2017-11-26 03:40:34 +01:00
Uwe Stöhr
1f0de77f15 UserGuide.lyx: describe the new font settings options 2017-11-26 03:36:57 +01:00
Juergen Spitzmueller
eb2dbb8b09 Assure print function compatibility in python 2.x 2017-11-24 11:56:41 +01:00
Juergen Spitzmueller
4f10c0a14b Use python3 print syntax 2017-11-23 08:16:10 +01:00
Richard Heck
32c112a07e Update makefile after change of filename. 2017-11-22 19:14:21 -05:00
Richard Heck
6137ff13d8 Revert "Uwe updated this on Windows, and it became lowercase."
This reverts commit 04bf467549.
2017-11-22 19:13:40 -05:00
Richard Heck
04bf467549 Uwe updated this on Windows, and it became lowercase. 2017-11-22 18:48:19 -05:00
Uwe Stöhr
913619c80a svg2pdftex.py: make print work with Python 2 and 3 2017-11-22 23:26:58 +01:00
Juergen Spitzmueller
14df9b74c4 Remove more lower-level dependencies 2017-11-22 16:45:13 +01:00
Juergen Spitzmueller
13d684fd3c Add a note about dependency declarations in layouts/modules 2017-11-22 16:42:33 +01:00
Kornel Benko
403a4981ee Restore uk/Intro.lyx and renaming due to windows ignoring capitalization instead 2017-11-22 11:17:55 +01:00
Juergen Spitzmueller
1400144a8a Remove grandchild-level dependencies.
We agreed to only check for top-level dependencies, see
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195679.html

This reverts 30475b4b0.
2017-11-22 08:33:09 +01:00
Uwe Stöhr
5313fd1f3d Ukrainian Footnote.png: update image 2017-11-21 23:20:31 +01:00
Kornel Benko
b7a1848775 Use existing graphic paths only, uk/Intro.lyx 2017-11-21 22:09:53 +01:00
Uwe Stöhr
bfcb9cc85a acmart.layout: fix a dependency
for the discussion about the dependencies see bug #10806
2017-11-21 22:02:00 +01:00
Uwe Stöhr
76a3842271 doc files: port today's changes to master 2017-11-20 23:48:44 +01:00
Kornel Benko
37d0b3f066 Use existing graphic paths only 2017-11-20 12:57:02 +01:00
Uwe Stöhr
9135eab226 template files: save them all with LyX 2.3RC1 2017-11-20 02:33:28 +01:00
Uwe Stöhr
b7a6b0a596 varwidth-floats-side-by-side.lyx: use PDF images 2017-11-20 02:31:00 +01:00
Uwe Stöhr
a9254fdf03 apa6.layout: add dependencies
should go in for LyX 2.3.1
2017-11-20 02:29:45 +01:00
Uwe Stöhr
30475b4b0b acmart.layout: add dependencies
should go in for LyX 2.3.1
2017-11-20 02:29:19 +01:00
Uwe Stöhr
0bf202f1ab chkconfig.ltx: add 3 required packages
- the l3 packages are required by more and more packages. Here with a fresh MiKTeX installation I cannot even compile the UserGuide without the l3 packages.

should also go in for LyX 2.3.1
2017-11-19 16:07:08 +01:00
Uwe Stöhr
f6bee7ec8b beamer.layout: add 3 dependencies
both are required according to the beamer.cls

candidate for LyX 2.3.1
2017-11-19 15:48:02 +01:00
Juergen Spitzmueller
5017a0a1c6 Allow footnotes in floating tables via tablefootnote package
See #808.
2017-11-19 12:56:40 +01:00
Juergen Spitzmueller
3affde3957 Fix footnote output in tables outside floats and longtable header/footer
Fixes: #808 (sic!), #5869
2017-11-19 10:41:17 +01:00
Uwe Stöhr
c21c07e027 doc files: save them with LyX 2.3 - part 2 2017-11-19 02:21:30 +01:00
Uwe Stöhr
879611b915 doc files: save them with LyX 2.3 - part 1 2017-11-19 01:55:05 +01:00
Uwe Stöhr
f59c2ea140 Math.lyx: correct a term 2017-11-19 01:37:22 +01:00
Uwe Stöhr
8339e6a09d Catalan mathed.lyx: move outdated file to attic/ca/mathed.lyx
(Besides that it is outdated, we already have all its info in the Spanish math manual and all Catalans understand Spanish.)
2017-11-19 01:30:09 +01:00
Uwe Stöhr
e5dc5f9680 Math.lyx: update the section about subequations.lyx
- an extra example file is not necessary since we already describe subequations in the math manual
2017-11-19 00:53:10 +01:00
Uwe Stöhr
e26a6c8b34 R-S-statements.lyx: move to attic/R-S-statements.lyx
RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.
2017-11-18 18:16:08 +01:00
Uwe Stöhr
d52bb81671 example files: save them with LyX 2.3 - part 3/
also some minor adjustment to some files like date and version
2017-11-18 18:04:57 +01:00
Uwe Stöhr
a32e45ca37 Slovakian splash.lyx: Revert
this file version was no in the 2.3.x tree. Please use the 2.3.x tree for the up to date docs unless you are describing new features only available in master

This partly reverts commit 828286d313.
2017-11-18 17:58:28 +01:00
Uwe Stöhr
828286d313 example files: save them with LyX 2.3 - part 2
also some minor adjustment to some files like date and version
2017-11-18 17:50:23 +01:00
Uwe Stöhr
618a1cbfc8 example files: save them with LyX 2.3 - part 1
also some minor adjustment to some files like date and version
2017-11-18 17:34:35 +01:00
Uwe Stöhr
2ed7cc3489 example files: suppress date on title page for cases where this is misleading 2017-11-18 17:21:46 +01:00
Uwe Stöhr
4335c76885 lilypond.lyx: remove version info
The LyX version is not necessary
2017-11-18 17:21:13 +01:00
Uwe Stöhr
6dc2763841 Literate.lyx: remove unnecessary TeX code 2017-11-18 17:20:12 +01:00
Uwe Stöhr
b036fcbe8e xypic.lyx: don't output the date in the first page 2017-11-18 17:04:06 +01:00
Uwe Stöhr
146e826081 beamer.lyx: use a PDF image and update version 2017-11-18 17:03:10 +01:00
Uwe Stöhr
39a81fd864 Math.lyx: update version number 2017-11-13 23:16:46 +01:00
Uwe Stöhr
b1b87d0aa6 EmbeddedObjects.lyx: update version number 2017-11-07 21:52:50 +01:00
Juergen Spitzmueller
731c9fb401 configure.py: read layout and module files in binary mode
This prevents encoding issues with Python3 that manifested for a user
on the Mac.

Fixes: #10671
2017-11-04 10:41:22 +01:00
Juergen Spitzmueller
55002e0c39 Add resize facility to inkscape template.
(cherry picked from commit 167e96ca68)
2017-11-04 10:38:37 +01:00
Juergen Spitzmueller
1fb653c674 Remove foreign language markup.
Japanese docs do not seem to use a language package
(although babel works)
2017-11-03 10:06:55 +01:00
Uwe Stöhr
82a1f163fc Changelog-EmbeddedObjects-LyX_23x.txt: port recent changes 2017-11-02 22:19:26 +01:00
Juergen Spitzmueller
f2b6ff0870 Swap prefs format 24 and 25, since the former will not be backported. 2017-11-02 16:40:05 +01:00
Juergen Spitzmueller
891a7ef79f Collapsable -> Collapsible (part 5)
Preferences update and prefs2prefs routine.

This was forgotten in the process.
2017-11-02 16:26:45 +01:00
Juergen Spitzmueller
a47bc7f799 Remove wmf2eps as EMF > EPS converter
The program can only deal with WMF.
2017-10-29 16:09:12 +01:00
Juergen Spitzmueller
22125fa6de Only use full path for inkscape file arguments on Mac. 2017-10-29 08:52:15 +01:00
Juergen Spitzmueller
5383b67f8d configure.py: Be more explicit why file could not be removed. 2017-10-28 11:24:48 +02:00
Richard Heck
a089501b7d Use a variable to hold the list of text editors. 2017-10-27 23:19:32 -04:00
Uwe Stöhr
18925c2bdf Japanese EmbeddedObjects.lyx: add separate dummy textfile
Japanese was the only language without a separate dummy textfile
2017-10-28 00:07:59 +02:00
Kornel Benko
7e187563ca Cmake export tests: Make eu_UserGuide.lyx pass the new ctest
Corrected some graphic paths and readded LaTeX.png
2017-10-27 22:54:15 +02:00
Scott Kostyshak
c4b4305fa2 configure.py: add LilyPond editor, Frescobaldi
Generic text editors are used as fallbacks, in case Frescobaldi is
not available. The list of text editors is the same as elsewhere in
configure.py. We might consider centralizing the list of text
editors in a variable.

Patch from Helge Hafting on ML at:.

https://www.mail-archive.com/search?l=mid&q=f167276f-4f59-7bab-a832-cff56dddd670%40ntnu.no
2017-10-27 02:20:23 -04:00
Uwe Stöhr
4864250a11 sweave.lyx: accept changes 2017-10-27 00:15:49 +02:00
Kornel Benko
d5ec6356b8 Fix remaining path 2017-10-26 21:53:39 +02:00
Uwe Stöhr
6709f74873 doc files: fix some path and reference mistakes
also replace remaining occurrences of EPS images
2017-10-26 02:20:09 +02:00
Uwe Stöhr
165427f837 Japanese EmbeddedObjects.lyx: fix image paths
also replace remaining occurrences of EPS images
2017-10-26 01:24:08 +02:00
Juergen Spitzmueller
bd14639d1c More accurate description of fixltx2e state. 2017-10-23 13:49:03 +02:00
jpc
448255a371 Add obsolescence warning in fixltx2e description (ticket 9361) 2017-10-23 09:59:23 +02:00
jpc
1720f54b41 Turn 'Do not load' math option to 'Automatic' (ticket 10661) 2017-10-23 09:25:33 +02:00
Uwe Stöhr
032932cbee Additional.lyx: port today's changes 2017-10-23 00:04:28 +02:00
Kornel Benko
e5d4ba8529 Use suffixed name for desktop entry.
Unix only:
Using suffixed lyx, we install the lyx-desktop for different versions with
different file name, but with the same 'Name'-entry.

Selecting the desired version with the desktop menu is difficult if there
is more than one lyx version installed.
2017-10-20 12:17:55 +02:00
Juergen Spitzmueller
b632e3ebf3 Fix small display issue with biblatex's \textcite 2017-10-18 16:16:40 +02:00
Richard Heck
e05c91083f Fix bug #10556.
Update CSS for Standard layout.
2017-10-16 20:57:04 -04:00
Uwe Stöhr
3fe4dedfd1 Additional.lyx: replace quotes character by LyX quotes 2017-10-17 00:24:53 +02:00
Juergen Spitzmueller
4345331870 Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:30:04 +02:00
Juergen Spitzmueller
c466baaa5b Collapsable -> Collapsible (part 2)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part covers the most tricky part: the internal naming.
Translations and layouts will follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:12:21 +02:00
Juergen Spitzmueller
648ddd25ec Collapsable -> Collapsible (part 1)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part only covers the usage in comments and the like. More to follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
2017-10-16 10:03:05 +02:00
Juergen Spitzmueller
5997b60da1 Update some more layouts 2017-10-13 16:08:07 +02:00
Juergen Spitzmueller
d4e30ad88f Adapt citengine to current layout format. 2017-10-13 15:47:41 +02:00
Juergen Spitzmueller
8fecdfc473 Fix literal string in binary context
In 1a26f9b26c, all strings in the context of regexes and
comparisons have been converted to byte-like objects for python2/3
compatibility reasons. This has not been considered in the later
commit 5c54557350, which makes layout2layout break with
TypeError: can't concat str to bytes.
2017-10-13 10:04:27 +02:00
Scott Kostyshak
d233831c1c ja/EmbeddedObjects.lyx: correct file path
References to the central clipart directory must be prefixed with
".." for non-English manuals.
2017-10-09 11:45:08 -04:00
Scott Kostyshak
0bf3136837 RELEASE-NOTES: reference wiki with previous notes
If users are upgrading from an older version of LyX than the
previous major series, they should consult the release notes from
the releases in-between.

For more discussion on this topic, see the following mailing list
thread:

https://www.mail-archive.com/search?l=mid&q=20170902070549.47ciiszxjjqhyreq%40steph
2017-10-07 02:38:24 -04:00
Scott Kostyshak
4b1f3ab539 Additional.lyx: update eLyXer URL
The previous link still worked but asked for bookmarks to be updated
to the newer URL.

Thanks to Ian Holliday for this correction.
2017-10-06 21:34:52 -04:00
Scott Kostyshak
8b1cdce752 ja/Math.lyx: correct the URL of the mhchem manual
It was pointing to the hyperref manual.
2017-10-06 15:06:11 -04:00
Scott Kostyshak
a0b3c3b563 sweave.lyx: remove ref to previous homepage
The homepage does not exist anymore. Note that R installations now
come with Sweave already installed.

We now instead reference the user manual of Sweave.
2017-10-06 14:22:22 -04:00
Scott Kostyshak
5b7c2348e6 poster-a0poster-simple.lyx: rm ref to a0poster-kh
a0poster-kh is unmaintained and non-standard. Note that URL in the
removed \item was broken.

For more information, see discussion on list:
https://www.mail-archive.com/search?l=mid&q=20171006055205.jdicpppko3tjrlef%40steph
2017-10-06 13:53:14 -04:00
Scott Kostyshak
b5662f1d21 docs: fix URL to hyperref manual
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.
2017-10-06 02:16:40 -04:00
Scott Kostyshak
55cdd62916 docs: update URL of Astronomy & Astrophysics
The new URL was found by visiting the root URL and clicking on
"journals".
2017-10-05 00:22:35 -04:00
Scott Kostyshak
8738aceca3 fr/Additional.lyx: remove duplicate URL 2017-10-05 00:21:34 -04:00
Scott Kostyshak
be91997227 Update noweb URL in docs
Norman Ramsey is now at Tufts, and URLs to his websites at previous
institutions are broken. The new link gives the same information as
the old links did (verified with web.archive.org).
2017-10-03 15:23:25 -04:00
Scott Kostyshak
a128e1287d Hebrew tutorial: update link to Hebrew set up
Dekel Tsur has a webpage with information on getting set up with
using Hebrew with LaTeX and LyX. We link to that webpage from our
Hebrew Tutorial. He appears to have changed universities, and the
new link gives the same information as the old link did (verified
with web.archive.org).
2017-10-02 23:32:19 -04:00
Scott Kostyshak
b94bb04d91 LaTeXConfig.lyx: fix URL of AEA author guide
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.
2017-10-02 23:15:02 -04:00
Scott Kostyshak
7b6fc48c22 Math.lyx: fix URL of amsguide.pdf
Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.
2017-10-02 23:07:51 -04:00
Uwe Stöhr
7ee30e0f5a UserGuide.lyx: accept and distribute today's changes 2017-10-03 01:15:32 +02:00
Scott Kostyshak
e474554627 Restore compilation of ja/Additional.lyx
Remove a system-dependent path.
2017-10-02 00:48:33 -04:00
Scott Kostyshak
867abeac06 Set default format to "default" for Japanese docs
Consistent with 27165841.
2017-10-01 13:22:03 -04:00
Stephan Witt
f93ec4a1f4 Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility 2017-09-30 18:13:37 +02:00
Enrico Forestieri
f64efe2f63 Cleanup some icons
- remove empty text
- convert texts to paths
2017-09-26 21:01:47 +02:00
Stephan Witt
350ef993e5 add inkscape wrapper script for Mac OS
The wrapper script is placed in the binary directory of the LyX bundle.
It tries to find the real inkscape command line converter in the
Inkscape.app bundle and starts it or reports an error.
The configure.py is changed for Mac OS to check the presence of
the real inkscape binary in the Inkscape.app bundle.
2017-09-24 11:55:20 +02:00
Juergen Spitzmueller
f7e431ce73 de/Customization: fix typo. 2017-09-17 18:29:55 +02:00
Uwe Stöhr
0ae111102d UserGuide.lyx: accept and distribute all recent changes (part 3/3) 2017-09-15 00:08:05 +02:00
Uwe Stöhr
7ff051f9e7 UserGuide.lyx: accept and distribute more recent changes (part 2/3) 2017-09-14 01:02:50 +02:00
Uwe Stöhr
c39d673d2f UserGuide.lyx: accept and distribute recent changes (part 1/2)
- Customization.lyx: fix a typo
2017-09-13 00:55:51 +02:00
Juergen Spitzmueller
e0616db6a1 Update documentation about em/en dashes and bitmap fonts.
Manually cherry-picked from 1014c6b64d, by Günter Milde.
2017-09-12 11:36:27 +02:00
Juergen Spitzmueller
06e5617cd7 de/Additional: fix typo. 2017-09-12 11:08:00 +02:00
Juergen Spitzmueller
5de0bf55a7 svg2*tex.py: final fixes for Windows
Fixes: #10679
2017-09-12 07:59:26 +02:00
Uwe Stöhr
cec1a005f5 Customization.lyx: fix a typo 2017-09-11 21:20:10 +02:00
Uwe Stöhr
a0c567d96f Customization.lyx: some small adjustments 2017-09-11 00:23:27 +02:00
Uwe Stöhr
ac4f286bd6 Customization.lyx: accept and distribute latest changes 2017-09-10 23:57:07 +02:00
Juergen Spitzmueller
4c62e25ed6 Fix #10760 2017-09-10 19:45:01 +02:00
Juergen Spitzmueller
4f341fc59d Inkscape.xtemplate: Add missing output formats 2017-09-10 18:08:53 +02:00
Juergen Spitzmueller
6dd66a15a5 configure.py: update lyxrc file format. 2017-09-10 17:19:12 +02:00
Juergen Spitzmueller
90df39d491 svg2*tex.py: use subprocess in order to handle path with spaces.
See #10679
2017-09-10 17:04:49 +02:00
Juergen Spitzmueller
36b092cadd Customization: update the list of colors. 2017-09-10 16:15:30 +02:00
Juergen Spitzmueller
2fab61b5b3 de/Customization: finish translation. 2017-09-10 16:15:21 +02:00
Uwe Stöhr
4828d035fa Japanese docs: add missing \origin tags
- LyX cannot be compiled otherwise on Windows using CMake
- also correct version number and accept residues of change tracking
2017-09-09 20:42:49 +02:00
Juergen Spitzmueller
ad43cdf829 Clean up RELEASE_NOTES for 2.4.x. 2017-09-09 10:55:37 +02:00
Juergen Spitzmueller
2716584115 Reset default output format to default for Japanese docs.
Since we have a global default now, these local settings are not
necessary anymore.
2017-09-09 09:05:42 +02:00
Juergen Spitzmueller
2aaf185e7c Add default output format for pLaTeX
Fixes: #10747
2017-09-09 08:56:04 +02:00
Jean-Marc Lasgouttes
3d590d3bd7 Merge remote-tracking branch 'features/properpaint'
Now painting the workarea is done at paint events as should be.
Explicit painting after updating metrics has been replaced by a much
lighter procedure (updatePosCache) to update the insets positions cache.

Expected benefits:
- better performance
- proper use of subpixel aliasing

The LyXRC variable use_qimage is not needed anymore and is therefore removed.
2017-09-08 17:05:13 +02:00
Jean-Marc Lasgouttes
4f4383cac5 remove LyXRC::use_qimage
This is not needed anymore now that we do not need a backup pixmap.

Update LyXRC format to 23 and add conversion.
2017-09-08 16:58:21 +02:00
jpc
103e17da90 Copy recent additions to EmbeddedObjects to localized files
Translate French and remove CT in original file
2017-09-02 22:46:51 +02:00
Juergen Spitzmueller
b14756f3e2 Support for Japanese BX classes, by K. Yokota
Fixes: #10746
2017-09-02 09:06:52 +02:00
jpc
2cbca8be1e Update acmart.layout following tickets #10722 & #10723 2017-09-01 23:02:26 +02:00
Juergen Spitzmueller
a3eab36364 Add special chain for Modules with OutputFormat for pLaTeX (Japanese)
Fixes: #8823
2017-09-01 10:27:12 +02:00
Kornel Benko
762c24940a Spelling errors in sk/splash/lyx (found with the spellchecker) 2017-08-31 15:48:07 +02:00
Jean-Marc Lasgouttes
5c54557350 Honor trailing spaces in LabelString and friends
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.

To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).

It is now possible to re-add spaces in label strings where it makes
sense.

Fixes bug #10723.
2017-08-31 13:59:37 +02:00
jpc
447edabdb9 Updates for Japanese documentation posted on po-updates@lyx.org
Translation status reflected in Changelog files
2017-08-31 09:58:36 +02:00
Kornel Benko
ff0ce478e4 sk/splash.lyx: add note for Linux installations 2017-08-30 02:12:48 +02:00
Juergen Spitzmueller
fe61ef9c07 Minor corrections 2017-08-29 12:12:11 +02:00
Juergen Spitzmueller
3da5c23c59 de/Customization: some bits more translation 2017-08-29 12:11:32 +02:00
jpc
508f16cd10 Copy new paragrpah in section C.2.2.1 in localized UserGuide files
Remove CT, translate in French file  and update Changelog
2017-08-29 11:53:23 +02:00
Juergen Spitzmueller
702e5b8118 Minor corrections I did while translating 2017-08-28 15:35:13 +02:00
Juergen Spitzmueller
5e42076b7f de/Customization: some more translation 2017-08-28 15:34:36 +02:00
Juergen Spitzmueller
f4511485da EmbeddedObjects: More (minor) corrections to the Inkscape template decription.
Includes German translation.
2017-08-28 08:41:57 +02:00
Juergen Spitzmueller
933a7dee00 Improve the svg2*tex.py scripts.
The inkscape command was hardcoded, but it seems that we need the full
patch on Windows. Therefore we check in configure.py if inkscape is
installed and pass the proper name (and possibly path) to the scripts.

Should address problems mentioned in #10679
2017-08-28 08:05:29 +02:00
Juergen Spitzmueller
17b37c604c de/EmbeddedObjects: add and translate the Inkscape modifications. 2017-08-27 16:02:50 +02:00
Juergen Spitzmueller
d63b946466 de/Customization.lyx: Some updates and translations.
Still lots to do. This document is utterly outdated.
2017-08-27 15:34:16 +02:00
jpc
f12b1844a7 Copy new documentation of Insksscape external material
in localized files and remove change tracking
2017-08-27 14:46:17 +02:00
Juergen Spitzmueller
491cd48cfe EmbeddedObjects: Clarify the aim of the Inkscape external template
This should clear some confusion about the input format of the template
(see #10679).
2017-08-27 10:50:01 +02:00
Pavel Sanda
0d9a11e4ef typo in colored-boxes.lyx 2017-08-27 04:27:38 +02:00
Pavel Sanda
bd284d9d9a * layouttranslations: ja checked by Koji (devlist, Sat, 10 Jun 2017) 2017-08-27 03:08:11 +02:00
Juergen Spitzmueller
9f5a55aadc Add proper author info and license header to the inkscape.xtemplate related files 2017-08-26 16:10:55 +02:00
Juergen Spitzmueller
3bbe082e06 de/EmbeddedObjects: minor spelling corrections. 2017-08-26 16:10:17 +02:00
Juergen Spitzmueller
7fc8bfc30d UserGuide: Add some notes about keysym syntax
Fixes: #10745
2017-08-26 13:23:31 +02:00
Juergen Spitzmueller
50ef5a17e4 Fix some oxygen icons
These had phantom elements that made them appear incorrectly in the info
insets.
2017-08-26 09:19:17 +02:00
Kornel Benko
1d0794ee29 Fix compilation of es/Additional.lyx with (xe|lua)latex using for system fonts 2017-08-17 11:11:16 +02:00
Scott Kostyshak
18aca9dd00 Update a layout to 2.3.0beta1 format 2017-08-14 03:22:33 -04:00
Scott Kostyshak
b45be0ecf8 Update docs to 2.3.0beta1 format 2017-08-14 02:31:24 -04:00
jpc
7e1afece00 Add a warning about the change of class version 2017-08-13 18:35:57 +02:00
Juergen Spitzmueller
7e121117bb Vietnamese no longer requires any special handling.
It is a normal babel support package.
2017-08-13 11:53:41 +02:00
Juergen Spitzmueller
048c3fd429 Babel option for Vietnamese is called "vietnamese"
The renaming happened in 2013. Contrary to what is stated in the
babel-vietnamese manual, option "vietnam" does not work anymore.

Also, the special care is note needed anymore, since language options
are not hardcoded anymore in babel.

Fixes: #10743
2017-08-13 11:52:57 +02:00
jpc
b27509ffd6 Proof checking of French Math.lyx fir 2.3 2017-08-12 18:57:46 +02:00
Juergen Spitzmueller
0120c3fc10 Revert "Mark some intentional fall-throughs (in a way understandable to gcc)"
This reverts commit 6dc1884d05.
2017-08-12 09:04:23 +02:00
Juergen Spitzmueller
6dc1884d05 Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.
2017-08-12 08:57:02 +02:00
jpc
df5c26da81 Update French translation of FeynmanDiagrams manual 2017-08-11 17:02:42 +02:00
jpc
65bee010a0 Update French translation of Linguistics manual 2017-08-11 16:36:22 +02:00
jpc
c2b6d1aedb Publishable Japanese Additional.lyx file
after copy of new chages by Jürgen
2017-08-08 16:36:23 +02:00
José Matos
6b092c8400 scripts/ext_copy.py: add option to copy directly to the document directory
When this option is not given, as it happened before, the copier will create/use
a subdirectory in the target final directory
2017-08-08 15:23:03 +01:00
jpc
45188eda77 Edit initial note to point out the recent upgrade of lettre.cls 2017-08-07 23:36:04 +02:00
Uwe Stöhr
5a6dfe1d91 UserGuide.lyx: last step of accept and distribute more bibliography changes 2017-08-05 19:32:31 +02:00
Uwe Stöhr
1c97524718 UserGuide.lyx: step 4 of accept and distribute more bibliography changes 2017-08-05 03:21:07 +02:00
Uwe Stöhr
d38b6feb25 doc files: accept some leftovers from change tracking 2017-08-04 23:36:01 +02:00
Pavel Sanda
6c05b1effa Drop unmaintained translations (50% threshold). 2017-08-04 22:09:14 +02:00
Pavel Sanda
e833196aa9 * RELEASE-NOTES glitch 2017-08-04 22:09:14 +02:00
jpc
ebec6dfc82 Update of localized versions of Customization manual
Rename and update of Changelog file
2017-08-04 17:16:33 +02:00
jpc
7003b54370 Publishable version of es/Additional (no change tracking) 2017-08-04 09:32:46 +02:00
jpc
cf08a51af8 Publishable version of fr/Additional.lyx
New file collecting what to be translated in localized version of Additional
       A couple of typos in Additional.lyx
2017-08-04 09:22:06 +02:00
Uwe Stöhr
bb69389e42 UserGuide.lyx: step 3 of accept and distribute more bibliography changes 2017-08-04 01:20:11 +02:00
Enrico Forestieri
0faddcae60 Was also forgetting this 2017-08-03 15:07:41 +02:00
Enrico Forestieri
61aba54fd6 Was forgetting the icon 2017-08-03 15:05:57 +02:00
Uwe Stöhr
f3400b5a68 UserGuide.lyx: step 2 of accept and distribute more bibliography changes 2017-08-03 01:13:08 +02:00
Uwe Stöhr
fe04eeacfe UserGuide.lyx: accept and distribute more bibliography changes 2017-08-02 01:48:23 +02:00
Pavel Sanda
703a7860c7 Quick review of cs docs. 2017-08-01 12:30:42 +02:00
Uwe Stöhr
89d1b15f08 UserGuide.lyx: accept and distribute more changes 2017-07-31 23:35:48 +02:00
Uwe Stöhr
97e1ce64bf Math.lyx: remove unnecessary index entry
also update fileformat
2017-07-30 23:40:15 +02:00
Uwe Stöhr
800edc0139 EmbeddedObjects.lyx: load all math packages automatically 2017-07-30 23:39:38 +02:00
Uwe Stöhr
19fc4c1655 EmbeddedObjects.lyx: remove description of the removed date inset
UserGuide.lyx: dito
2017-07-30 23:28:02 +02:00
jpc
0f0010fc83 A couple of typos in Additional.lyx 2017-07-30 22:31:02 +02:00
Uwe Stöhr
5513e46589 UserGuide.lyx: accept and distribute description of inverted branches 2017-07-30 22:20:03 +02:00
jpc
040527f628 Copy Jürgen's editions to Spanish Additional.lyx file 2017-07-30 22:13:46 +02:00
Uwe Stöhr
189ed7db3c UserGuide.lyx: load math packages automatically
this will avoid things like bug #10736
2017-07-30 19:31:57 +02:00
Kornel Benko
673b58f412 Replaced obsoleted url for mathmode 2017-07-30 14:48:56 +02:00
Uwe Stöhr
147e7f9f61 UserGuide.lyx: distribute new quotation mark features
- there is an issue with the French version, see bug 10736
2017-07-29 20:43:52 +02:00
Uwe Stöhr
87a1ce5f05 EmbeddedObjects.lyx: distribute a note from Richard regarding -shell-escape 2017-07-29 17:19:24 +02:00
jpc
a4e08fb137 Collect changes by Jürgen in VC section of Additional.lyx 2017-07-29 11:33:24 +02:00
jpc
91c078b7c5 Add Jûrgen's changes in Additional.lyx to log file 2017-07-28 18:28:46 +02:00
Juergen Spitzmueller
3bbdac8bbd Some minor fixed in the vc chapter I did while translating. 2017-07-28 17:17:04 +02:00
Juergen Spitzmueller
f41563e9d2 It turned out not all changes of Additional.lyx have been copied to de/Additional.lyx
This makes maintenance of the localized manuals hard.
2017-07-28 17:16:09 +02:00
Juergen Spitzmueller
d87f2543d1 add author info. 2017-07-28 16:44:20 +02:00
Juergen Spitzmueller
32342da0e2 de/Additional: translation of the version control chapter
The manual is now fully translated.
2017-07-28 16:43:08 +02:00
Juergen Spitzmueller
8efadd4dfb de/Additional: revise extra features section. 2017-07-28 12:16:05 +02:00
Juergen Spitzmueller
830e8fb383 Additional: Minor fixes/updates in the Literate Programming and Extra Features sections. 2017-07-28 12:16:05 +02:00
Juergen Spitzmueller
57d3247d51 Translate the Literate Programming section and adapt some other recent upstream changes. 2017-07-28 11:15:42 +02:00
Juergen Spitzmueller
5dc2ef13b8 Some updates in the Literate Programming section I did while translating. 2017-07-28 11:15:23 +02:00
Juergen Spitzmueller
e1fc687f07 Improve and fix description of multipart documents. 2017-07-28 09:49:40 +02:00
Juergen Spitzmueller
55e0978b14 Additional.lyx: Fix advice wrt overfull \hboxes
The advice given here, "You can ignore these messages", is just plain
wrong (ironically, this very document is the best example).
2017-07-28 08:42:24 +02:00
Juergen Spitzmueller
5eaee6b51e Merge branch 'master' of git.lyx.org:lyx 2017-07-27 18:30:10 +02:00
Juergen Spitzmueller
ebca8ceb3a Additional.lyx: fix more errors and outdates I came across while translating 2017-07-27 18:29:29 +02:00
Juergen Spitzmueller
4b216342b7 de/Additional: more translation 2017-07-27 18:26:57 +02:00
Richard Heck
89ac3916f3 Comment out remarks on using -shell-escape with minted, at least
for now.
2017-07-26 21:26:23 -04:00
Uwe Stöhr
726d13f5be UserGuide.lyx: fix broken cross references 2017-07-27 01:40:43 +02:00
Uwe Stöhr
39e467a200 EmbeddedObjects.lyx: finish the description of the minted support 2017-07-27 01:15:42 +02:00
Uwe Stöhr
964fb09baf UserGuide.lyx: accept and distribute some more additions 2017-07-27 00:03:33 +02:00
Uwe Stöhr
00ae46489e UserGuide: take care of the new reference format features
- also: as we recommend refstyle in the text the document should also use it
2017-07-26 23:43:35 +02:00
Juergen Spitzmueller
d5c51d65be Still more translation. 2017-07-26 19:50:23 +02:00
Juergen Spitzmueller
e4d46a8596 de/Additional.lyx: some more translations. 2017-07-26 17:40:53 +02:00
Juergen Spitzmueller
c0efed09c2 Additional.lyx: Further small fixes 2017-07-26 17:40:40 +02:00
Juergen Spitzmueller
cccc027cf1 de/Additional: translation of the XHMTL chapter 2017-07-26 16:25:55 +02:00
Juergen Spitzmueller
aa0afef0c9 Additional.lyx: minor fixes. 2017-07-26 16:25:43 +02:00
Juergen Spitzmueller
1005de5308 de/UserGuide: adapt and translate the remaining bits of the 2.3 changes 2017-07-26 14:23:02 +02:00
Juergen Spitzmueller
e1917d4a53 de/Additional.lyx: translate bibliography-related changes 2017-07-26 13:34:33 +02:00
Juergen Spitzmueller
741465f9ee Additional.lyx: fix typo 2017-07-26 13:34:20 +02:00
Juergen Spitzmueller
8f2a50ad30 de/UserGuide: adaptation and translation of the bibliography-related changes. 2017-07-26 09:43:34 +02:00
Juergen Spitzmueller
9b3daed4fa UserGuide: minor corrections in the Biblatex passages. 2017-07-26 09:43:08 +02:00
Uwe Stöhr
a42c491585 EmbeddedObjects.lyx: accept info for minted support
- see my mail to the devel list for open issues with this
- transfer this info to the other languages
2017-07-26 01:11:08 +02:00
Uwe Stöhr
bc6214b63b correct a typo in filename 2017-07-26 01:09:39 +02:00
Juergen Spitzmueller
d15fe16f5b de/UserGuide.lyx: adapt and translate refstyle updates. 2017-07-25 18:24:22 +02:00
Juergen Spitzmueller
4c24805cff de/UserGuide: translate the quotation mark section. 2017-07-25 16:22:28 +02:00
Juergen Spitzmueller
c5b4e217d0 Correct an info-inset 2017-07-25 16:17:31 +02:00
Jean-Marc Lasgouttes
9974d5e27e Document devel-mode-toggle 2017-07-25 15:19:50 +02:00
Juergen Spitzmueller
df63e91ee7 de/Additional.lyx: Translation of the LyXServer section. 2017-07-25 15:10:03 +02:00
Juergen Spitzmueller
568604d5d4 Additional.lyx: Some minor corrections wrt LyXServer I came across
while translating
2017-07-25 15:09:28 +02:00
Pavel Sanda
5e2a9e32c4 layouttranslation: update some finish items.
See the discussion about updates at
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg201157.html
2017-07-25 10:26:53 +02:00
Juergen Spitzmueller
88958687b6 Copy the recent Additiona.lyx changes wrt forward/reverse search to the localized docs and accept changes in English doc. 2017-07-25 08:54:04 +02:00
Scott Kostyshak
f477b5b4f0 layouttranslations.review: "fr" checked by J-P
Jean-Pierre checked it at:

    https://www.mail-archive.com/search?l=mid&q=b555a4e2-bc58-4423-dff4-ccfd6511cef7%40free.fr
2017-07-24 18:01:18 -04:00
jpc
98250d5a7e Amend previous workaround: replace LyXbar by textemdash
to be able to compile with xetex
2017-07-24 18:37:37 +02:00
Juergen Spitzmueller
d13af1ceb8 Amend bbb631873 once more 2017-07-24 13:43:18 +02:00
Juergen Spitzmueller
b9994d5ca0 Amend bbb631873 2017-07-24 11:20:31 +02:00
Juergen Spitzmueller
bbb6318730 Account for spaces in paths in the windows reverse search proposals
Fixes: #10557
2017-07-24 11:14:00 +02:00
jpc
efd0b4aa58 Remove em dashes triggering 'Missing glyphs' with xelatex 2017-07-24 10:16:27 +02:00
Kornel Benko
d3b2cb0922 Select Latin Modern fonts for beamer lyx-files
On TL17, the original default fonts used to work only with help of fix-cm package.
Only the Japanese bemer files are unchanged, because the output was only a mix
of Latin letters and thus not readable. Probably missing font on my side.
2017-07-22 00:22:00 +02:00
Pavel Sanda
4d09650e93 Changes approved by Juergen. 2017-07-19 14:38:46 +02:00
Juergen Spitzmueller
59a6552bb3 de and de-alt reviewed. 2017-07-19 14:30:51 +02:00
Pavel Sanda
a69e3df7b2 layouttranslations.review: "it" was obviously checked by Enrico (coming from minted) 2017-07-19 13:53:57 +02:00
Pavel Sanda
cd7b22221d We have new translation which slipped through the cracks. 2017-07-19 13:36:06 +02:00
Pavel Sanda
2cfc970015 layouttranslations: new untracked movements for "List of listings".
Likely follow-up from ab47e48dcc.
2017-07-19 13:29:57 +02:00
Kornel Benko
57f6a95e90 Update some translation by Jari-Matti Mäkelä 2017-07-19 12:40:15 +02:00
Guillaume MM
47612b3839 Accept modifications in R examples 2017-07-17 22:15:12 +02:00
Guillaume MM
6b0381b386 Define theorem counter for acmart layout 2017-07-17 21:57:39 +02:00
Juergen Spitzmueller
272cb6b464 Add some notes on forward/reverse search with evince.
Evince is a special case, since it provides f/r search not via command
line switches and pref settings, but via DBUS. On Linux at least, this
can be used by LyX via some external scripts. The possibility is now
mentioned here, the details (and the scripts) are provided on the wiki.
2017-07-17 10:26:43 +02:00
Enrico Forestieri
aeead38d90 Update lib/Makefile.am 2017-07-16 11:22:05 +02:00
Enrico Forestieri
8ee2d74def Classic icon for toolbar-toggle-review 2017-07-15 16:43:18 +02:00
Enrico Forestieri
bebfa84d79 Oxygen icon for toolbar-toggle-review 2017-07-15 16:12:40 +02:00
Enrico Forestieri
2460d5904d Tweak some icons
- Move down the ERT icon
- Remove the transparent background from note icons as it turns out
  not to be transparent on some combinations of platform/Qt version
2017-07-15 15:27:36 +02:00
Enrico Forestieri
d0989c9a53 Better icon for toolbar-toggle-review 2017-07-15 15:04:00 +02:00
Scott Kostyshak
8bde9e15c0 Update of Swedish splash.lyx from Jim Rotmalm 2017-07-15 04:22:33 -04:00
jpc
c9f398d7c5 Copy documentation of new features of Additional.lyx in de, es, fr and ja documentation files
as change tracking and remove chnage tracking in Additional.lyx
2017-07-12 22:31:30 +02:00
jpc
5cf91ca811 Translations of backports from 2.2 from Uwe 2017-07-12 21:44:05 +02:00
Juergen Spitzmueller
7945ba0cb0 Load color before polyglossia also in preview snippets
This fixes an error in the preview generation with polyglossia
and bidi that prevents snippet generation (and consequently also
"math as image" xhtml output).

Fixes: #10716.
2017-07-11 10:03:03 +02:00
Enrico Forestieri
7c14ff94e3 Fix bug #10718
Due to the peculiarities of Windows, it may happen that
pdftocairo is built without png support when compiled on this
platform. Unless explicitly requested (maybe for some peculiar
application and certainly not for usual distros), this is
highly improbable to occur on other platforms.
2017-07-09 22:27:06 +02:00
jpc
f0856a4ad0 New file recollecting changes in the 2.3 doc 2017-07-05 09:34:13 +02:00
Juergen Spitzmueller
1506d762d6 natbibapa.module: Do not overwrite preamble.
Also add author information.

Candidate for stable.
2017-07-02 10:54:39 +02:00
Enrico Forestieri
af6e4d4abb Don't give users dangerous instructions 2017-06-28 00:30:56 +02:00
Kornel Benko
87ccd23047 Cmake export tests: Missed second parameter for writeConverters()
Unfortunatelly the prototype checking in perl is not very
sophisticated.
2017-06-21 00:09:50 +02:00
Kornel Benko
c5e53637c2 Cmake export tests: Modularisation of prefTest.pl
Also added a parameter to easier switch between standard settings in
preferences and settings to use in export tests.
2017-06-18 12:13:57 +02:00
Enrico Forestieri
9f9457eb00 Correct a default english layout translation
Of course, the default english translation for "List of Listings"
is "List of Listings", not "Listing".
2017-06-17 15:09:06 +02:00
Kornel Benko
195e55d3f4 Cmake export tests: Adapt to minted listings
1.) Handle also 'LatexCommand inputminted' in lyxStatus.pm
2.) Add '-shell-escape' to the appropriate converters.
  This applies only to the ctest-environment iff calling
  the script 'prefTest.pl' in the build directory.
2017-06-16 11:39:26 +02:00
Enrico Forestieri
ae56167718 Use a combo box instead of a check box for selecting the listings package 2017-06-12 17:24:26 +02:00
Enrico Forestieri
027cad7f96 Add documentation for minted 2017-06-11 13:42:35 +02:00
Enrico Forestieri
6ede3c5f47 Update layouttranslations and remerge po files.
Only the new field "List of Listings" with same translation as
for "Listings[[List of Listings]]" has been added. No other change
has been done, so layouttranslations might actually change again
when automatically updated.
2017-06-11 12:24:24 +02:00
Enrico Forestieri
ab47e48dcc Change the name of the "List of listings" for minted
I actually checked that minted calls "List of Listings" the list of
listings, contrarily to the listings package.
2017-06-11 10:38:44 +02:00
Enrico Forestieri
9913fe650d Was forgetting this at 4722e955 2017-06-10 02:43:16 +02:00
Enrico Forestieri
4722e955a8 Remove the minted external template
That functionality is now provided by the new support for minted.
Also change the example file and accordingly rename it.
2017-06-10 00:14:04 +02:00
Kornel Benko
6461d6aa1b Update translation of Listings by Jari-Matti Mäkelä
Correction for layouttranslations from 	Jari-Matti Mäkelä <jmjmak@utu.fi>
2017-06-08 19:32:11 +02:00
Enrico Forestieri
3cc3ff39a0 Simplify preamble code when using listings
Following an idea from Guillame.
2017-06-08 04:25:53 +02:00
Kornel Benko
6a4a88e98a Overtake layout translations from fi.po, ja.po, zh_CN.po 2017-06-07 18:27:32 +02:00
Enrico Forestieri
a338971700 Add another minted example
This one illustrates the usage of the new minted support.
2017-06-07 02:28:21 +02:00
Enrico Forestieri
268ae66e3c Rename the minted 'lang' external template option as 'language'
This is for consistency with the newly introduced support in the
listings inset, where the option name is dictated by the listings
package and cannot be changed.
2017-06-07 01:25:35 +02:00
Enrico Forestieri
8dab1cfe7e Fix bug #9101
Update the listings inset to optionally use the minted package
(instead of the listings one) for typesetting code listings.
Only one of the two packages can be used in a document, but it
is possible to switch packages without issues if the used options
are the same. If a switch is made and the options differ, one needs
to manually adjust them if they were entered in the advanced options
tab, or apply again the gui settings.
Note that minted requires the -shell-escape option for the latex
backend and the installation of additional software (python pygments).
2017-06-07 00:55:23 +02:00
Scott Kostyshak
5febcf6236 aa.lyx: fix mixed layouts causing wrong PDF output
LyX correctly gave a warning about mixing InTitle layouts: There was
a LyX note in a Title environment, then there were standard
environments, and then a Title environment. This setup caused
several missing elements in the PDF.

Simply changing the Title environment of the Note to standard solved
the problems: The PDF output is now correct and LyX no longer gives
a warning.
2017-06-03 18:53:27 -04:00
Scott Kostyshak
a5ea68a37e Update a .lyx format 2017-06-03 18:50:37 -04:00
Scott Kostyshak
301b8637fc subequations.lyx: reference LyX module
Reference the LyX module instead of the LaTeX amsmath package.
2017-06-03 18:17:13 -04:00
Scott Kostyshak
bf832437b0 Update a .lyx format and add \origin 2017-06-03 17:33:31 -04:00
Scott Kostyshak
beed118c32 Add subequations module and example (#10029)
The module allows to use the subequations environment.

There is still a pending request to implement this environment
natively in LyX's mathed.

Contributed by Joel Kulesza.
2017-06-03 17:13:22 -04:00
Scott Kostyshak
f4b14fcf49 RELEASE-NOTES: explain new mixing layouts warning 2017-06-01 16:19:17 -04:00
Kornel Benko
3b05cf2851 make tests: Disable sessions handling
We use prefTest.pl to allow use of external programs
while testing exports.
The change here affects only the keytests though.
2017-06-01 09:19:29 +02:00
Scott Kostyshak
7f0a1df472 A couple minor changes to minted example 2017-05-29 17:59:41 -04:00
Enrico Forestieri
dde3e30031 Add some clarifying comments 2017-05-29 12:00:25 +02:00
Enrico Forestieri
6da125b296 Small tweak 2017-05-28 23:46:51 +02:00
Enrico Forestieri
85dd9a2f9c Add an external template for minted
See #9095
2017-05-28 23:43:19 +02:00
Guillaume MM
aaf30259f1 Add author information for inkscape external template 2017-05-27 15:01:53 +02:00
Juergen Spitzmueller
4feca4fb4a Add binding for post argument 1. 2017-05-26 09:39:15 +02:00
Kornel Benko
ab956a50a6 Cmake tests: remove handling of bindings in user.bind.
It is done now by keytest.py
2017-05-22 08:56:42 +02:00
Uwe Stöhr
958814ca28 Math.lyx: describe new math features 2017-05-22 01:48:07 +02:00
Uwe Stöhr
9bc931f28e inkscape.xtemplate: fixes issues 3, 6 and 7 of bug #10679 2017-05-21 23:57:53 +02:00
Uwe Stöhr
1f6104fe71 EmbeddedObjects.lyx: document new template for Inkscape
Note that this template has several issues, see bug #10679
2017-05-21 18:10:46 +02:00
Uwe Stöhr
25e3c00838 EmbeddedObjects.lyx: use the new example images on all occurrences 2017-05-17 01:36:48 +02:00
Uwe Stöhr
bc9a7a21c8 lyx_2_3.py: assure that leqno /reqno is only handled if it is a document class option 2017-05-17 01:23:59 +02:00
Uwe Stöhr
220f504941 lyx_2_3.py: remove senseless warning 2017-05-17 01:11:58 +02:00
Richard Heck
d75c0ec8b1 Fix reversion of noprefix option for InsetRef.
Basically forgot to remove the option when we're not dealing with
a labelonly inset.
2017-05-16 12:34:56 -04:00
Richard Heck
ad05e6aa7c Context menu item for "label only" reference.
Fixes #10669.
2017-05-14 21:21:15 -04:00
Uwe Stöhr
8bf3d7bb1a EmbeddedObjects.lyx: start updating for LyX 2.3
- add new vector images (the SVG files are only the sources and are therefore purposely not added to Makefile.am)
 On the lyx-docs list it was reported that our current images look old and pixelated and I agree, so that I just draw new ones.
2017-05-15 02:48:07 +02:00
Uwe Stöhr
36e5d5600e French Shortcuts.lyx: change paragraph separation
- this also saves some horizontal space and looks better; suggested by Mike on the lyx-docs list
2017-05-14 21:02:31 +02:00
Uwe Stöhr
78b5684db6 French Shortcuts.lyx: set proper page margins
- we use the standard article class and as the tables are very long in French we must set the page size and margins
2017-05-14 20:54:41 +02:00
Uwe Stöhr
4a7fac21ed Dutch doc files: some refinements
the files are outdated but the should nevertheless nice in the output.
2017-05-14 20:41:01 +02:00
Uwe Stöhr
c6acfc75b1 Italian Intro.lyx: corrections and refinements by Mike and me 2017-05-14 20:18:10 +02:00
Uwe Stöhr
25c1c6bb95 French Intro.lyx: some refinements proposed by Mike 2017-05-14 19:56:59 +02:00
Uwe Stöhr
c32c32747e Intro.lyx: some refinements proposed by Mike
- use true small caps
- use hyperlinks for all types of links

- UserGuide.lyx: fix an image scaling
2017-05-14 19:49:52 +02:00
Uwe Stöhr
91238c1620 German Intro.lyx: some refinements from Mike and me 2017-05-14 18:57:58 +02:00
Guillaume MM
0eff6b151b templates/acmart.lyx: Small improvements 2017-05-14 12:15:19 +02:00
Guillaume MM
646b68aa96 acmart.layout: fix generation of Index
also add booktabs.
2017-05-14 12:15:19 +02:00
Guillaume MM
a72873a521 Fix OutlinerNames for Floats 2017-05-14 12:15:19 +02:00
Uwe Stöhr
0dd3311dd4 rename buffer parameter math_number_before to math_numbering_side
this is a fileformat change

also try to fix an UI issue that JMarc gets
2017-05-13 20:39:45 +02:00
Stephan Witt
c592fb58bb #10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of PDF graphics in LyX when pdftops is not installed 2017-05-13 20:06:18 +02:00
José Matos
cc7ca138da Fix call of layout2layout as a module.
If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.

We pass argv[1:] since when parsing the arguments we always ignore the name
of the program.

Use the full power of argparse to declare the default value of the end_format.
2017-05-13 15:25:44 +01:00
Guillaume MM
5608f6fdb6 Add acmart template
Move obsolete templates to templates/obsolete
2017-05-13 16:12:25 +02:00
José Matos
99cf71f8eb Fix call os lyx2lyx as a module.
If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.
2017-05-13 13:39:02 +01:00
José Matos
6138880c08 cleanup: remove unneeded whitespaces 2017-05-13 13:38:01 +01:00
José Matos
430869a1bd prefs2prefs.py: whitespace changes
Bring this file in line with the other python scripts:
  * use four spaces for indentation instead of a tab

Remove empty whitespace at the end of lines.
2017-05-12 15:29:29 +01:00
Jean-Marc Lasgouttes
f1dd80f464 Proper GUI feedback for leqno option
With these changes, equation numbers are shown properly on screen.
When setting is default, we guess the side using these two rules

* ams(art|book) and siamltex classes are leqno by default. This is
  signalled because the classes provide "leqno" (in amsdefs.inc). If
  there are other classes that do this in output, the relevant classes
  should be updated.

* the language arabic_arabi also sets leqno by default. This is
  currently hardcoded for lack of a better idea.

Besides, a few bugs are fixed:
* use mathrm instead of mathbf for numbers metrics
* set spacing between maths and labels in inches
2017-05-12 15:32:14 +02:00
José Matos
376cb6763f python3: fix the preview framework to work with both python 2 and 3 (part 4)
Remove support for python 1.x (really)

This code has not been used for a long time, probably never, since some code
above requires at least python 2.4 to work.

I got to this code by running futurize from python-future. There are no
significant warnings, mostly are related with the division but since
we are dividing floats there is no change between python 2 and 3.
2017-05-12 10:01:48 +01:00
José Matos
1f5241f747 python3: fix the preview framework to work with both python 2 and 3 (part 3)
trivial fix: xrange -> range
2017-05-11 20:56:56 +01:00
José Matos
c546977c6e python3: fix the preview framework to work with both python 2 and 3 (part 2) 2017-05-11 15:50:08 +01:00
Günter Milde
2488bf6eaa Fix the fix for python 2 and 3 compatibility.
Really remove the "r" prefix.
2017-05-11 16:30:10 +02:00
Tommaso Cucinotta
47cd1e23c5 libreoffice converter: get rid of warnings about deprecated options syntax 2017-05-10 03:26:36 +02:00
Guillaume MM
0fa88e2c33 Move obsolete layouts to an Obsolete category 2017-05-10 00:03:05 +02:00
Guillaume MM
9a01684015 Old ACM layouts are obsolete 2017-05-10 00:03:05 +02:00
Guillaume MM
5452c53e9b algorithm2e.module: Add Algorithm style to typeset algorithms
Do not output \begin and \end if there is not environment name. We only need the
nesting feature.
2017-05-10 00:03:04 +02:00
Guillaume MM
517cd50e05 Packaging for acmart 2017-05-10 00:03:04 +02:00
Guillaume MM
41b039723a ACM article layout (#10632)
Contributed by John Perry
2017-05-09 23:38:56 +02:00
José Matos
6495cd135f make python string compliant with python 2 and 3
python 2 does not allow to declare a string as raw byte so we double
the backslashes and remove the r preffix

python 3 accepts rb"..." meaning a byte string that is raw. In this context
raw means that the backslash does not has any special meaning and thus it
is not escaped. This is usefull together with regular expressions where the
backslashes are special.

In the worst possible case, like this one, we must use 4 backslashes to represent
one in the regular expression...
2017-05-09 16:53:32 +01:00
Scott Kostyshak
638020ab10 Revert "Change default working directory from ~/ to ".""
Setting the default working directory to '.' is an invasive change
on Mac and Windows, where the current working directory of LyX when
LyX is started from the GUI is not a reasonable choice for the
default directory in e.g. the "save as" file dialog or the "open"
dialog. A similar situation could happen on Linux distributions (I'm
not aware of any, e.g., POSIX standard that defines that the working
directory of a binary started from GUI should be the home
directory). Thus, it is not clear this default is good on any
platform.

If the user wishes to have the behavior of '.', the description in
the "paths" preferences pane provides the information for making the
change.

For more information, see the discussion at:

  https://www.mail-archive.com/search?l=mid&q=635298DE-5028-4BB1-8D8F-A634BA68C420%40gmx.net

This reverts commit 892593fbdc.
2017-05-09 07:50:45 -04:00
Scott Kostyshak
faea3bdb95 Rename powerdot-example.lyx to powerdot.lyx
The file is already in the examples folder.

Similarly, rename

  examples/fr/exemple-powerdot.lyx -> examples/fr/powerdot.lyx

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

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

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

- The currentZoom is saved and restored via QSettings.

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

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

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

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

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

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

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

The small mark is inspired by LibereOffice.
A tooltip is added.
2017-04-20 23:28:48 +02:00