Commit Graph

7494 Commits

Author SHA1 Message Date
Juergen Spitzmueller
eb748d6330 Make layout membership to ParagraphGroup settable (see #6854) 2015-06-01 16:11:05 +02:00
Uwe Stöhr
af4cb6db1c EmbeddedObjects.lyx: describe the new box features 2015-06-01 02:46:59 +02:00
Uwe Stöhr
afba823c2c configure.py: add another OpenDocument and a Word converter 2015-05-31 20:04:07 +02:00
Uwe Stöhr
ae577fe249 configure.py: revert ee5760ef/lyxgit and [78252f1f/lyxgit] 2015-05-31 18:12:41 +02:00
Uwe Stöhr
a4a8fa5939 UserGuide: remove another print residue
Japanese and Spanish UserGuide: fix some references/labels
2015-05-31 04:08:54 +02:00
Uwe Stöhr
c13b044d86 UserGuide: remove description of LyX's former printing feature 2015-05-31 03:34:01 +02:00
Uwe Stöhr
ee5760ef8c configure.py: elyxer is not provided as executable 2015-05-31 03:11:13 +02:00
Uwe Stöhr
78252f1f6a configure.py: remove 2 unnecessary entries
they are double, one entry is sufficient
2015-05-31 03:06:19 +02:00
Uwe Stöhr
8d6c608de8 configure.py: partly revert previous commit
This should not have gone in.
2015-05-31 03:03:29 +02:00
Uwe Stöhr
5b9fef895c configure.py: rename OpenOffice -> OpenDocument
these formats are OpenDocument formats OpenOffice is just one of the OpenDocument editors
2015-05-31 02:58:44 +02:00
Scott Kostyshak
1d28d90801 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.
2015-05-30 13:40:28 -04:00
Uwe Stöhr
dd25ea2ed7 configure.py: add --nofooter option to hide elyXer's footer 2015-05-30 02:44:59 +02:00
Uwe Stöhr
0b80be42d0 iucr.layout: use Item_Environment for a style as proposed by Jürgen
- IUCr-article.lyx: update template accordingly
2015-05-30 00:53:43 +02:00
Juergen Spitzmueller
063de3337f Fix test for urwclassico font (bug #9576) 2015-05-29 10:15:17 +02:00
Uwe Stöhr
2b125cc54a stdmenus.inc: replace R-S statements by H-P statements 2015-05-28 21:39:12 +02:00
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
Uwe Stöhr
8932858563 PDF-form.lyx: more info and corrections
- add example how to check for numbers in text fields
- describe correctly that all fields must have a name
2015-05-03 04:37:28 +02:00
Pavel Sanda
4ecbabf5f9 Add Georger Araujo into contributors.
http://marc.info/?l=lyx-devel&m=143058265303480&w=2
2015-05-02 18:10:07 -07:00
Pavel Sanda
ad6ab20bb1 Add layouttranslations from pt_BR. 2015-05-02 17:53:53 -07:00
Uwe Stöhr
3c9442fd04 lyx2lyx/lyx_2_2.py: correct a description 2015-05-03 02:16:32 +02:00
Juergen Spitzmueller
bc47054be8 Properly fix #6369
Avoid that \newcommand[x] definitions of math macros are pushed multiple
times to the preview loader.

Redefinitions (via \renewcommand[x]) are properly handled.
2015-04-30 16:48:55 +02:00
Uwe Stöhr
8efc734f1a pdfform.module: change whitespace as requested by Jürgen 2015-04-30 01:23:47 +02:00
Uwe Stöhr
f6fde9dbb2 Merge branch 'master' of git.lyx.org:lyx 2015-04-30 01:23:03 +02:00
Uwe Stöhr
f6029f7f93 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:22:50 +02:00
Enrico Forestieri
d3eae5b9c7 Do not show previews of snippets that produce latex errors 2015-04-30 00:37:05 +02:00
Uwe Stöhr
d20bc1c883 PDF-form.lyx: add example how to validate numbers 2015-04-30 00:17:39 +02:00
Uwe Stöhr
41b39ff835 PDF-form.lyx: some more info and few adaptions
- pdfform.module: a fix
2015-04-29 22:06:00 +02:00
Enrico Forestieri
2a77dc5ec6 Forgot to escape the dot 2015-04-29 18:04:51 +02:00
Enrico Forestieri
83f2fe7045 Correct progress message
Now we also process with pdflatex the previews requiring hyperref.
2015-04-29 18:00:28 +02:00
Enrico Forestieri
2bbf775c74 Detect hyperref when generating previews
If use of hyperref is detected, the postscript route is not attempted
(because we know it will fail) and the PDF route is directly chosen.
Also account for all upper case extensions for pdflatex image files.
2015-04-29 17:29:27 +02:00
Enrico Forestieri
ca921fd650 Correctly indicate the failing converter
If epstopdf fails, pdftocairo is not called but the warning points
the finger to it. Also correctly indicate the failing file.
2015-04-29 16:20:27 +02:00
Enrico Forestieri
d44b0a19cb Amend 75f7eafd
Was forgetting this last bit from 64e0c558. Also give a message such
that the user is informed that not everything is lost if latex fails.
With this, the previews are generated also when the document directly
specifies a specific pdf output format.
2015-04-29 13:59:28 +02:00
Enrico Forestieri
75f7eafd65 Try even harder to obtain an instant preview
This is a followup commit to 691fdea3 and restores the behavior of the
script as it was intended before 64e0c558, other than taking into account
possible inclusion of files that only pdflatex can process and the
possibility of multiple defined math macros.
The instant previews in the math manual now work again.
2015-04-29 12:32:54 +02:00
Uwe Stöhr
ec7833272a pdfform.module: a simplification
- PDF-form.lyx: update accordingly and a fix
2015-04-29 01:56:43 +02:00
Pavel Sanda
558451a51d Fix broken lilipond links. 2015-04-28 09:32:09 -07:00
Uwe Stöhr
36a5f46c0d pdfform.module: a fix and a new style
- PDF-form.lyx: describe how to customize PDF action buttons and some other refinement and restructuring
2015-04-28 02:00:53 +02:00
Uwe Stöhr
853e034bad PDF-form.lyx: improvements
- enrich the examples
- add info about naming
- formatting fixes to improve the layout of the PDF
- make the document compilable also if the package insdljs is not installed
2015-04-27 22:29:48 +02:00
Enrico Forestieri
c9b553fd2f Use pdftocairo (if available) for instant preview.
If pdftocairo is detected, it is used for generating bitmaps in the
legacy method route in preference to ghostscript. This is justified
by the fact that the conversion is 4 to 5 times faster and the
quality of the generated images is superior.
2015-04-27 21:37:26 +02:00
Enrico Forestieri
691fdea346 Try hard to obtain an instant preview.
When the dvipng route is selected and latex fails, the lyxpreview2bitmap.py
script simply bails out. The failure may be due to using a specific pdf
only feature in ERT (for example, the inclusion of a pdf image).
In this case the procedure may succeed simply trying to use pdflatex
and the legacy conversion method.
2015-04-27 17:28:39 +02:00
Juergen Spitzmueller
f46d08aafd Follow-up on Uwe's whitespace amendments. 2015-04-27 10:04:15 +02:00
Uwe Stöhr
15dbe715e8 pdfform.module: correct the description 2015-04-27 03:00:27 +02:00
Uwe Stöhr
892abc5ee9 pdfform.module: new module to create PDF forms
- PDF-form.lyx: example file describing the module

No special package is required since the PDF form features are provided by hyperref.
2015-04-27 02:56:25 +02:00
Uwe Stöhr
e73f61d300 PDF-comment.lyx: some fixes 2015-04-27 02:33:38 +02:00
Enrico Forestieri
890b9a53cb Fix bug #7850 (Preview of inline math misaligned) 2015-04-26 19:08:16 +02:00
Uwe Stöhr
0e28bf916f pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:20 +02:00
Juergen Spitzmueller
dfd4c93b78 Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:55 +02:00
Uwe Stöhr
13cb23bb20 pdfcomment.module: promote our example file in the description
- PDF-comment.lyx: port recent typo fixes to master
2015-04-26 13:41:44 +02:00
Uwe Stöhr
544b3f1774 pdfcomment.module: uniform whitespace
the file used spaces and tabs, now it uses only tabs for the whitespace
2015-04-26 04:23:10 +02:00
Uwe Stöhr
b496431881 FeynmanDiagrams.lyx: rename German version
it turned out that the example files that should appear in LyX's Help menu must have the same name as their English versions
2015-04-25 17:08:54 +02:00
Uwe Stöhr
ea2c5f377d Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 17:01:09 +02:00
Uwe Stöhr
59b690ca9c FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:19 +02:00
Juergen Spitzmueller
5e4e1c74e7 Document new Glosse inset and some further minor changes. 2015-04-21 20:38:47 +02:00
Juergen Spitzmueller
c886679160 Rewrite the linguistic Glosse insets.
This gets rid of the PassThru hack and makes the inset actually usable
for linguistists.

Fixes: #7773

File format change.
2015-04-21 20:33:35 +02:00
Juergen Spitzmueller
c1dcecb376 Fix version number 2015-04-21 15:48:32 +02:00
Juergen Spitzmueller
b8ed73623c Fix wrong symbol in IPA toolbar.
Richard, this shuld also go to branch.
2015-04-21 11:04:28 +02:00
Juergen Spitzmueller
11cb8997fc linguistics.lyx: small tweak. 2015-04-21 10:23:33 +02:00
Juergen Spitzmueller
039d674b2b Document forest. 2015-04-20 18:30:50 +02:00
Juergen Spitzmueller
7158f7b58d Add support for linguistic trees (via forest) 2015-04-20 18:14:42 +02:00
Juergen Spitzmueller
897b2e73a1 New (Inset)Layout tag PassThruChars 2015-04-20 18:13:49 +02:00
Juergen Spitzmueller
30ff6eedfe de/linguistics.lyx: small tweak. 2015-04-20 12:21:29 +02:00
Juergen Spitzmueller
225a37be39 Support item argument in linguistic examples
File format change.
2015-04-20 12:15:20 +02:00
Uwe Stöhr
07e8cfd9c2 French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:19:29 +02:00
Uwe Stöhr
fc42fe4ff4 cua.bind: switch shortcuts for bold and boldsymbol
fixes bug #9413
2015-04-17 01:18:56 +02:00
Uwe Stöhr
c09326f6ac UserGuide.lyx: fix a typo 2015-04-17 01:11:36 +02:00
Uwe Stöhr
844998c20a UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:18 +02:00
Kornel Benko
68ad0bfb90 emacs.bind: Added shortcuts for dictionaries 2015-04-14 10:51:39 +02:00
Enrico Forestieri
df4e13de06 Tweak some icons. 2015-04-12 12:59:19 +02:00
Georg Baum
4069e3daed Update tex2lyx test references
The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.
2015-04-12 10:07:42 +02:00
Enrico Forestieri
0fc9b08e4d Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 00:47:18 +02:00
Enrico Forestieri
d9971802c2 Math Panels: add "Fonts" icons. 2015-04-11 23:02:25 +02:00
Enrico Forestieri
1e05adc800 Math Panels: revise the "Math spacings" svg icons. 2015-04-11 19:46:42 +02:00
Enrico Forestieri
ca58f113ff Math Panels: revise the "Miscellaneous (extended)" svg icons. 2015-04-11 16:53:10 +02:00
Juergen Spitzmueller
319ee3296a File format change caused by 34eadf5d4. 2015-04-09 11:01:44 +02:00
Scott Kostyshak
6cf81782dd Implement and bind buffer-move-{next,previous}
Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.
2015-04-08 14:12:52 -04:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Scott Kostyshak
364139b49c Update a fileformat 2015-04-08 13:41:59 -04:00
Enrico Forestieri
82a0ee59d6 Math Panels: revise the "Dots" and "Delimiters" svg icons. 2015-04-08 17:59:54 +02:00
Enrico Forestieri
1ecc9e325d Math Panels: revise the "Negative relations" svg icons. 2015-04-08 12:16:22 +02:00
Enrico Forestieri
8adb877198 Math Panels: revise the "Relations (extra)" svg icons. 2015-04-07 00:50:38 +02:00
Uwe Stöhr
9ad5067bfa MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:30 +02:00
Uwe Stöhr
6d4aec1f0e lyx2lyx/lyx_2_2.py: correct a whitespace mistake 2015-04-06 06:08:26 +02:00
Uwe Stöhr
c6b17b685a support for Georgian
add support to set Georgian as document language, fileformat change
2015-04-06 06:00:11 +02:00
Uwe Stöhr
c55f68304e MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:36:57 +02:00
Enrico Forestieri
d03a13d4cf Math Panels: revise the "Relations" svg icons. 2015-04-03 00:36:11 +02:00
Enrico Forestieri
6dff827909 Math Panels: revise the "Operators (extra)" svg icons.
Also small tweaks to some other icons.
2015-04-02 00:27:51 +02:00
Juergen Spitzmueller
f819ca6c6f EuropassCV only supports pdflatex. 2015-04-01 09:47:53 +02:00
José Matos
908e93df50 Fix bug #9279
Make lyx2lyx parser a bit more robust.

Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..
2015-03-31 15:14:26 +01:00
Enrico Forestieri
498ca9f2bf Math Panels: revise the Operators svg icons 2015-03-31 01:15:41 +02:00
Enrico Forestieri
f191dc4961 Math Panels: revise the "Arrows" svg icons 2015-03-30 16:08:05 +02:00
Kornel Benko
7b72010408 Update doc-files due to icon rename, this time correct 2015-03-29 17:20:35 +02:00
Kornel Benko
ecf2b9f091 Update doc-files due to icon rename
promote -> outline-up
demote -> outline-down
2015-03-29 16:49:27 +02:00
Enrico Forestieri
f96e4f1bc5 Adjust docs after cb899b3f. 2015-03-28 23:39:30 +01:00
Enrico Forestieri
cb899b3fa2 Provide icons for the outline-* lfuns.
- Accordingly rename "promote" and "demote" icons.
- Add "outline-down" and "outline-up" icons.
2015-03-28 23:22:21 +01:00
Enrico Forestieri
d12920d437 Use an info inset instead of a graphics one 2015-03-28 13:13:03 +01:00
Enrico Forestieri
32f5639fbc Math Panels: revise the "Frame decorations" svg icons 2015-03-25 15:21:42 +01:00
Juergen Spitzmueller
0e62bf9e0a Fix thinko in convert_corollary_args
Fixes: #9478
2015-03-24 21:43:25 +01:00
Enrico Forestieri
3c468a3eb8 Math panels: revise the big operators svg icons. 2015-03-24 21:23:03 +01:00
Georg Baum
49ac79100b Make InsetSpecialChar names more consistent
This is the rersult of a discussion on the list. Now all special characters
have meaningful names, and it is clear that the LyX file syntax is not LaTeX.
2015-03-23 21:28:04 +01:00
Enrico Forestieri
eb5e8aba5e Also install oxygen math svg icons.
These icons have no png counterpart and hence are not catched by the shortcuts.
2015-03-22 23:16:05 +01:00
Enrico Forestieri
7da981b322 Fix crash related to the icon info inset.
When closing a document with the cursor near an icon info inset, LyX
may crash on loading again the same document. This is most probably due
to the fact that compressed svg icons are first uncompressed to a
temporary file before being used. The temporary file is then deleted
but something still expects to find it in place. The exact circumstances
that lead to the crash are unknown, and maybe there is also a race entering
the picture here. However, a document that always leads to a crash can be
found attached here: http://article.gmane.org/gmane.editors.lyx.devel/154566
This commit does not fix the cause of the crash but rather avoids it.
As a bonus, the svg icons used by LyX are not uncompressed anymore before
being used, speeding up startup time. This is not a problem, because Qt
can deal with compressed svg images.
2015-03-22 22:25:38 +01:00
Enrico Forestieri
218876da92 Math Panels: revise the Greek set of svg icons 2015-03-22 18:23:04 +01:00
Georg Baum
88c274eee7 Let imagemagick detect file format (bug #2332)
Imagemagick detects the inut file format based on contents. Therefore it does
not make sense that we prefix the to be converted file name with the extension
(assuming that the file extension matches the imagemagick format name). This
breaks formats where the extension used by LyX does not match the imagemagick
format name.
2015-03-22 10:22:31 +01:00
Enrico Forestieri
4a44dfc325 Math Panels: revise the miscellaneous set of svg icons
- Restore proportion between icons, such that, for example, \imath
  is not confused with a lower case 'l' or \textdegree with \circ
- Use real \mathbb and \mathcal TeX icons

I'll revise also the other sets in the Math Panels toolbar along
these lines. It is important to see whether a symbol has ascendents
or descendents or what is their relative size.
2015-03-21 15:33:54 +01:00
Juergen Spitzmueller
49df5ef93d SVG: text -> Path 2015-03-19 09:25:05 +01:00
Enrico Forestieri
3cd15806bd Revise svg icons for the math toolbar
- Use paths, not fonts. Have a look at the sqrt icon in the image attached
  here http://thread.gmane.org/gmane.editors.lyx.devel/154179/focus=154183
  to see what may happen when a font is not present on a given system.
- Make uniform the height of the parentheses.
- Move a couple of icons to the oxygen subdir (I was not sure it was Ok
  replacing them. If yes, they can be simply deleted).
2015-03-18 20:29:31 +01:00
Jean-Marc Lasgouttes
5b80d57d1d add "Keywords" to lyx.desktop file
Fixes bug #9414.
2015-03-17 10:17:35 +01:00
Juergen Spitzmueller
f305f0b4d8 Properly handle the bicaption package (bug #9449) 2015-03-16 20:31:38 +01:00
Jean-Marc Lasgouttes
477fddebe5 Add proper importers for Sweave and knitr.
Fixes bug #8734.
2015-03-16 18:43:51 +01:00
Juergen Spitzmueller
596fc8510e Use German localization in German europass example 2015-03-16 11:23:24 +01:00
Juergen Spitzmueller
06776f2c8f Add Stefan Swerk to the Credits 2015-03-16 10:54:02 +01:00
Juergen Spitzmueller
d02147b79e Add support for the europasscv class
Patch by Stefan Swerk
2015-03-16 10:47:17 +01:00
Juergen Spitzmueller
048b5fcb67 Better oxygen citation icon 2015-03-15 09:12:17 +01:00
Juergen Spitzmueller
c0ce194299 Oxygen svg: transform more text to paths 2015-03-15 09:02:56 +01:00
Enrico Forestieri
8fbe17c4d9 Install the svg icons. 2015-03-15 02:52:29 +01:00
Enrico Forestieri
3fb102fa8a Add last missing svg icons.
Also correctly rename an oxygen icon.
2015-03-15 02:50:17 +01:00
Juergen Spitzmueller
b717319410 Better oxygen nomencl icon 2015-03-14 17:36:54 +01:00
Juergen Spitzmueller
ddd0b327df Fix the oxygen math svg icon issues pointed out by Enrico 2015-03-14 16:21:10 +01:00
Enrico Forestieri
a9fb950845 Restore some inadvertently overwritten oxygen icons.
I did not notice that all icons in math/ are shared and in a0895046 I have
overwritten some of them. I am restoring them in the proper subdir.
Two of them, namely font.svgz and frac.svgz, give warnings that should
be addressed. Anyway, I see that these icons use fonts. They are better
substitued with paths (a menu entry in inkscape) because if the fonts
are missing on a system, the icons look different and, in general, they
may look ugly.
2015-03-14 15:58:32 +01:00
Juergen Spitzmueller
18afb6ca13 A simplistic svg banner
This is just a proof of concept. We should find somebody who can re-draw our banner (or a new one) with inkscape.
2015-03-14 15:35:33 +01:00
Juergen Spitzmueller
9c48aa2e88 Further oxygen svg fixes 2015-03-14 12:18:59 +01:00
Enrico Forestieri
a089504663 Squash last icon warnings and improve rendering at default size. 2015-03-14 08:43:58 +01:00
Juergen Spitzmueller
fae8983b25 Some more oxygen svg icon fixes
With this, all console errors when loading the oxygen set should be resolved
2015-03-13 22:26:08 +01:00
Juergen Spitzmueller
6d97b9a86e Fix rendering issue in oxygen tabular-feature_delete-column icon 2015-03-13 20:23:16 +01:00
Juergen Spitzmueller
3255491366 Fix rendering issue in oxygen promote icon 2015-03-13 19:40:22 +01:00
Kornel Benko
7683f6f55f Changed ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character 2015-03-13 19:19:06 +01:00
Juergen Spitzmueller
3d65c5cac8 Fix rendering issue in oxygen xref icon 2015-03-13 19:04:12 +01:00
Juergen Spitzmueller
f20dac7fbe Fix rendering glitch in oxygen thesaurus svg icon 2015-03-13 18:40:42 +01:00
Enrico Forestieri
a3f8554103 Move svg icons to proper place.
You have to manually delete the lib/images/svg directory as git
tracks only files.

There may be warnings on the terminal due to some faulty icons that have
to be found and corrected. Moreover, some of the icons are not rendered
too well at the default size. These ones should be properly tweaked.
Kudos to Jürgen for putting together such a large number of icons.
2015-03-13 01:29:37 +01:00
José Matos
9a0d70a45f First step to make lyx2lyx code support both python 2 and python 3 (3.3+)
Most of the changes are related with dictionaries returning views instead of
lists.

xrange -> range (since xrange is gone in python 3)

The code that is special to support both python 2 and 3 is enclosed in a comment
 \# Provide support for both python 2 and 3
and
 \# End of code to support for both python 2 and 3

And so later it can be removed safely when python 2 is no longer supported.
2015-03-11 12:09:18 +00:00
Georg Baum
24d011117f Remove unsupported macros from autocompletion
We have some math macros that exist only because LyX can display them easily,
but which require user preamble code. These commands should not appear in
autocompletion, they are only there to make the formulas of users who actually
need thgese symbols and know what to put into the preamble more beautiful.
2015-03-10 20:53:56 +01:00
Juergen Spitzmueller
9d824a04d1 Properly define MultiPar status of caption in the layout definition.
Also remove hardcoded paragraph break disabling.

Candidate for branch.
2015-03-10 18:31:55 +01:00
Enrico Forestieri
a78340e302 Reduce size of some svg icons.
The svg files produced by vector editors may end up containing a lot
of unused elements that increase their size without any impact on
quality. For example, this occurs when copy/pasting between images
such that unused effects or shadings simply clutter the files.
Removing these elements in some cases may reduce the size to one half
or one third of the original one, leaving unmodified the image quality.
2015-03-09 02:38:12 +01:00
Enrico Forestieri
9bcdf14e06 Add another bunch of svg icons.
Also tweaked some existing icons for better rendering at default size.
2015-03-08 20:25:40 +01:00
Uwe Stöhr
94d872696c pdfcomment.module: fix dependencies 2015-03-08 03:41:08 +04:00
Uwe Stöhr
5753760b59 MultilingualCaptions.lyx: port recent changes to master 2015-03-08 03:39:54 +04:00
Uwe Stöhr
297f607fda French MultilingualCaptions.lyx: this time really the french version 2015-03-07 13:16:35 +04:00
Enrico Forestieri
b4b02da31f Add another bunch of missing svg icons.
I also tweaked some existing icons to make them look better at default size.
Moreover, some text was replaced with paths, because the required font may
not exist on a system and font substitution would take place, making the
icons look different on different systems.
2015-03-03 15:43:10 +01:00
Georg Baum
c0041e7fa5 Fix stupid copy-paste error
Now the conversion to 2.1.x works again
2015-03-02 20:57:26 +01:00
Georg Baum
317b29dc6d Fix lyx2lyx conversion for file insets
Both the hyphen and special phrase conversion did not exclude insets which
reference external files. This was wrong since LyX does not replace
\SpecialCharNoPassThru etc for these insets.
2015-03-01 22:16:45 +01:00
Georg Baum
3e9e6e344a Replace automatic logofication with insets
Previously, LyX did replace some words with typeset logos, and there was no
way to prvent this except putting them, in ERT (bug #4752). Now we have
special insets for these words, and standard text is left alone.
2015-03-01 11:16:57 +01:00
Georg Baum
d50154ab04 Fix wrong CommandInset lyx2lyx conversion
Thanks to Scott for testing. Command insets do not use InsetText for the
arguments, so users have to write them in LaTeX syntax (this is bug #4595).
Therefore we must leave hyphens alone in these insets.
2015-03-01 10:52:13 +01:00
Uwe Stöhr
caf102558c documentation: port recent changes to master 2015-02-27 01:19:40 +01:00
Georg Baum
93be0e08a1 whitespace 2015-02-26 20:43:05 +01:00
Georg Baum
ddb82b74f0 Make convert_dashes and revert_dashes symmetric
Otherwise we could destroy math stuff.
2015-02-26 20:34:36 +01:00
Georg Baum
8aa37c43a1 Fix plaintext output of dashes (bug #3647)
Previously, consecutive dashes in .lyx files were combined to endash and emdash
in some cases, and in other cases they were output as is. This made the code
complicated, and resulted in inconsitencies ((bug #3647).
Now, a dash in a .lyx file is always a dash in the output, for all flavours.
The special handling is moved to the input side, so that you still get an
endash if you type two hyphens. If needed, this can be changed or made
customizable without the need to update the file format again. Many thanks
for the fruitful mailing list dicsussion, which contributed significantly to
the final version.
2015-02-24 22:06:12 +01:00
Juergen Spitzmueller
3d01021c88 Check for ugm font availability
Fixes: #9429
2015-02-24 07:58:40 +01:00
Uwe Stöhr
9ced7384eb UserGuide.lyx: port recent changes from branch 2015-02-24 01:56:27 +01:00
Uwe Stöhr
4ca722b4ed French manuals: sync with branch 2015-02-24 01:14:40 +01:00
Enrico Forestieri
b12ba1dd12 Missing svg icons for the default set.
I am also replacing some existing icons with reworked ones that
look better at small sizes. I think that these icons are now
comparable to the png ones as regards quality at the default size.
2015-02-23 00:23:54 +01:00
Juergen Spitzmueller
fb6665becb Comment out FontEncoding for Hebrew
This needs a specific loading order, which is handled by Hebrew babel itself.
2015-02-19 10:37:05 +01:00
Scott Kostyshak
02b3a7b35e Correct the \lyxformat of aastex template
The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.
2015-02-18 00:15:49 -05:00