Commit Graph

154 Commits

Author SHA1 Message Date
Scott Kostyshak
1dbf0e5aab Check exit code of LaTeX process in LaTeX::run
Systemcall::startscript returns the exit code of the LaTeX command
that is run, but the return value was not being checked by
LaTeX::run.  Instead, we relied on parsing log files. However, this
parsing is not perfect.

The return value is now checked and if the exit code of the command
is non-zero, an enum value is added to the return and the user is
notified of the error.

At a higher level, if the LaTeX command returns a non-zero exit code,
in the GUI a message such as
"Error while exporting format: PDF (LuaTeX)" will be given instead of
"Successful preview of format: PDF (LuaTeX)".

When run on the commandline, lyx -e lualatex example.lyx
will give "Error: LaTeX failed" and a non-zero exit code
where before it gave a zero exit code.

A real example of the bug this commit fixes is LyX's (as of this commit)
ACM-sigplan.lyx template.
Before this commit:
  $ lyx -e pdf2 ACM-sigplan.lyx
  [...snip...]
  support/Systemcall.cpp (288): Systemcall: 'pdflatex  "ACM-sigplan.tex"'
  finished with exit code 1
  $ echo $?
  0
Starting with this commit:
  $ mylyx master -e pdf2 ACM-sigplan.lyx
  support/Systemcall.cpp (288): Systemcall: 'pdflatex  "ACM-sigplan.tex"'
  finished with exit code 1
  Error: LaTeX failed
  ----------------------------------------
  LaTeX did not run successfully. The command that was run exited with
  error.
  $ echo $?
  1
2015-03-20 02:19:44 -04:00
Scott Kostyshak
48514e49ff Remove an item in RELEASE-NOTES that is in 2.1.3
We put the binding change of C-a in 2.1.x so it is not
new in 2.2.
2015-01-21 22:13:59 -05:00
Scott Kostyshak
0e0746c703 RELEASE-NOTES: Describe obsoletion of \\rtl 2014-11-20 03:18:51 -05:00
Scott Kostyshak
4eb4cbb04f C-a is now bound to inset-select-all
C-M-a is bound to the global "select all". The
reason for this change is that selecting an inset
is a more common operation that selecting an entire
document.

This patch is the result of discussion on #7727.
2014-11-20 03:07:32 -05:00
Scott Kostyshak
7a2ebf5604 Make style of RELEASE-NOTES consistent 2014-11-20 03:07:28 -05:00
Scott Kostyshak
ef71f667c7 Clean RELEASE-NOTES for 2.2
I kept the notes on Python 3 incompatibility and the advice to
compile with Qt 4.8.x.
2014-11-20 02:57:47 -05:00
Vincent van Ravesteijn
0c1a0b6038 Release notes: Remove entry about BibTeX errors
This feature has been disabled for this release.
2014-04-10 22:29:38 +02:00
Vincent van Ravesteijn
cba432f1ad Release notes: Warn that BibTeX errors cause compilation failure 2014-04-01 21:41:12 +02:00
Vincent van Ravesteijn
7d3f2bddfc Release notes: Warn Windows users to not use Qt 4.8.5 2014-03-30 21:17:05 +02:00
Uwe Stöhr
5ff8a3941b partly revert commit a860d18b5a
svmono and svmult must stay in the examples folder because they include childs
2014-03-30 17:41:02 +02:00
Uwe Stöhr
a860d18b5a template files: remove all relative paths to re-eanable to use "new from template"
- this brings back all our template files (they are no example files, would have been a regression otherwise because LyX 2.0 offers them already in "new from template")
- the thesis files will stay in the examples folder for now until we have a real fiix for bug #8643
2014-03-30 17:22:05 +02:00
Vincent van Ravesteijn
8627c30393 Add a note about Qt5 to the Release notes 2014-03-24 18:54:57 +01:00
Richard Heck
90c0255166 Update release notes. 2014-02-26 17:05:06 -05:00
Jean-Marc Lasgouttes
5690196b3d Do not use enum names to describe lfuns in release notes
Also some ws changes.
2014-02-13 14:52:21 +01:00
Jean-Marc Lasgouttes
2b1791641f Fix various typos in LFUNs.lyx 2014-02-13 14:20:43 +01:00
Jean-Marc Lasgouttes
e7a1cce551 Rename some LFUN names to match their text name
Also, rename copy-label-as-reference to label-copy-as-reference and update LFUNs.lyx accordingly.
2014-02-13 13:50:33 +01:00
Pavel Sanda
d350cc4f8b Add appdata.xml, provided by Matej Cepl.
AppData is an emerging standard (hopefully not distro-specific) for the
description of applications in various app stores.

http://people.freedesktop.org/~hughsient/appdata/ is the home page of
the standard.

http://blogs.gnome.org/hughsie/2013/09/27/frikin-awesome-apps-without-appdata/
is the call for providing new appdata.xml files.
2013-12-11 19:51:16 -08:00
Scott Kostyshak
3471874ed0 Move ACM-siggraph to examples (#8643)
This fixes out-of-box compilation, continuing f5cf21d7.
2013-08-15 02:16:07 -04:00
Scott Kostyshak
f5cf21d725 Move templates with paths to examples (#8643)
When a user creates a new document from a template, the template
is copied but relative paths are not changed, so the resulting
.lyx file is broken. By moving documents with relative paths to
examples, the files will compile out of the box.

A long-term solution that allows for relative paths in templates
is still desired and will be discussed in #8643 or in a new ticket.
2013-08-04 15:56:42 +02:00
Scott Kostyshak
3fe9e672d5 RELEASE-NOTES: substantive changes
- fix documentation of the --export-to option
- add that sciword.bind underwent significant changes
2013-07-13 22:35:48 +02:00
Scott Kostyshak
8f3edf1bfc RELEASE-NOTES: minor grammar and style changes 2013-07-13 22:35:29 +02:00
Vincent van Ravesteijn
978ecc3309 Update RELEASE-NOTES 2013-07-07 22:04:25 +02:00
Georg Baum
cb5dd33475 Split pdf format as discussed on the list
Previously, the format used for included pdf files was the same as for
document export via ps2pdf. This caused unwanted conversion routes, e.g.
export via odt->pdf instead of dvi->ps->pdf.
I renamed the format for included graphics and not for exported documents,
since otherwise the command line syntax for export would change. This would
require more adaptions for the users, since with the chosen solution the
custom converters are almost always changed correctly in prefs2prefs(),
so that only custom external templates need manual adjustement.
2013-03-21 20:13:02 +01:00
Uwe Stöhr
05f6391d99 RELEASE-NOTES: add info about ArmTeX support removal 2012-10-15 00:22:11 +02:00
Juergen Spitzmueller
e26635bfb9 UI for separate control of master/child branch state (#7642, part of #7643) 2012-09-30 14:59:24 +02:00
Pavel Sanda
b00766db51 * RELEASE-NOTES 2012-09-29 19:20:58 +02:00
Pavel Sanda
e9a28c8000 Correct naming for view-split. 2012-09-29 17:33:46 +02:00
Pavel Sanda
4083bcb62b Note C-w binding change. 2012-09-29 17:21:05 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02:00
Tommaso Cucinotta
4985015e89 Now LyX closes the current document WA only by default (other WAs remain open).
If the WA is the last one showing a buffer, then the buffer may either be
closed or kept hidden, or the user is asked. The behaviour is controlled
by a new preference option.
For discussion, see http://comments.gmane.org/gmane.editors.lyx.devel/142638
2012-09-28 23:12:38 +01:00
Juergen Spitzmueller
769afefb15 documentation 2012-08-08 10:07:31 +02:00
Juergen Spitzmueller
2dd84b3417 Remove lyxrc \default_language which has been dropped from the GUI some time ago
The default language of new documents is set via the template
2012-08-07 08:29:46 +02:00
Pavel Sanda
8eea8cbf2f At least document QImage stuff. 2012-03-30 18:15:30 +02:00
Tommaso Cucinotta
5ac1f9400f Advertising change as in commit c324d6eae6 (r40877). 2012-03-13 23:05:36 +00:00
Georg Baum
26e5f1a8ec Use libmagic for file format detection if available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40789 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:29:44 +00:00
Pavel Sanda
2b36e0a860 - Add scalable icon into tarball
- let icons install into proper locations
- use theme routines to load proper icon
  (using this for loading toolbar icons would be another
  step how to synchronize LyX with its environment.)

Patch from Timo Kluck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40418 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:47:43 +00:00
Vincent van Ravesteijn
815ba1a4e7 Update Release Notes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40104 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 22:25:31 +00:00
Tommaso Cucinotta
dd92de54af Added description of the new paste as simple unformatted text feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40079 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 22:08:20 +00:00
Tommaso Cucinotta
5f759c4619 Documented Export As... GUI enhancements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39888 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 20:15:24 +00:00
Pavel Sanda
af33117987 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39711 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-19 13:24:01 +00:00
Tommaso Cucinotta
7ca9f7059e Documenting the new -E command-line option (added in r39678).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39710 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-19 12:33:43 +00:00
Julien Rioux
a7f0e15aee Update release notes about the export menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39001 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-11 15:16:59 +00:00
Pavel Sanda
af1af0c3dd Update numbering. Note that Userguide has outdated information
about spelling engines we support.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38348 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 10:05:39 +00:00
Pavel Sanda
1cd1beb799 This should be written with exclamation mark somewhere in wiki 2.0 news .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38283 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 11:11:42 +00:00
Richard Heck
b21c8866fb Update release notes after fix for #7088.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38130 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 16:42:04 +00:00
Pavel Sanda
bb92594e9f typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 18:49:37 +00:00
Pavel Sanda
037e9793af * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38014 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 18:48:10 +00:00
Pavel Sanda
5f15aabfe2 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38010 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-23 15:49:45 +00:00
Pavel Sanda
fcac124405 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37773 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 15:08:44 +00:00
Stephan Witt
0e000af601 #7292 add a note about the changed modifier key usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37771 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-23 14:54:30 +00:00