Commit Graph

7329 Commits

Author SHA1 Message Date
Uwe Stöhr
a610e29c9c hpstatement.module: just in time a new module for H-P statements
In June the R-SS phrase system is replaced officially by the GHS H-P statement system in the EU.
So just in time here is support for this.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Addresses: #4745
2015-05-09 12:17:24 +02:00
Juergen Spitzmueller
ded1b4f6c8 Adapt enumii counter display to KOMA default as suggested in #3311.
Candidate for branch.
2015-05-09 11:13:28 +02:00
Georg Baum
507cc07c2d Add commented ASCII control pictures
The list was taken by a patch from Jürgen for bug #5704.
2015-05-08 22:00:40 +02:00
Juergen Spitzmueller
32341edbb7 Document PassThruChars option of argument. 2015-05-08 09:37:28 +02:00
Stephan Witt
68ee68103a #5502 add binding for full screen toggle on mac 2015-05-05 22:05:46 +02:00
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
b21ccc0f76 Update format of ctex.lyx 2015-05-05 02:07:04 -04:00
Uwe Stöhr
9f3d1e7773 pdfform.module: unset a PassTru
- this makes real life much easier since it saves more TeX code than with passThru
- adapt the example file accordingly
2015-05-05 01:33:11 +02:00
Uwe Stöhr
7dbf98a5e7 linguistics.module: fix 2 whitespace issues 2015-05-05 01:21:22 +02:00
Juergen Spitzmueller
23297a3108 Revert "pdfform.module: repair whitespace"
This reverts commit d2e8e44a0e.
2015-05-03 16:43:14 +02:00
Uwe Stöhr
d2e8e44a0e pdfform.module: repair whitespace
something is fishy her because commit 33a74748
destroyed the alignment for some entries
2015-05-03 16:28:06 +02:00
Uwe Stöhr
31b0af9857 PDF-form.lyx: add a note 2015-05-03 16:21:09 +02:00
Juergen Spitzmueller
f7b152581c PDF-form.lyx: make it compile if insdljs.sty is not installed. 2015-05-03 14:02:26 +02:00
Juergen Spitzmueller
33a747483e Spelling and whitespace fixes. 2015-05-03 13:58:06 +02:00