Commit Graph

8498 Commits

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