Commit Graph

8709 Commits

Author SHA1 Message Date
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