]>
git.lyx.org Git - features.git/log
Uwe Stöhr [Sat, 18 May 2013 12:19:54 +0000 (14:19 +0200)]
installer: fix an issue with 64bit MiKTeX
- splitindex did not work when 64bit-MiKTeX was used
Scott Kostyshak [Sat, 18 May 2013 00:54:56 +0000 (20:54 -0400)]
listerrors.lyx: set default output to ps2pdf
ps2pdf dependency is hardcoded in the preamble, which is why
pdflatex and luatex are failing.
Scott Kostyshak [Wed, 8 May 2013 03:14:21 +0000 (23:14 -0400)]
RJournal template now also works with latex
Before, only PDFs were being generated so latex did not compile.
Now, both PDF and EPS files are generated.
This is not efficient but could save the user some pain, which is
the goal of templates.
An alternative would be to set the default output to use pdflatex.
Scott Kostyshak [Wed, 8 May 2013 00:57:42 +0000 (20:57 -0400)]
RJournal: use 'classic' decoration for email inset
This makes it clear that
(1) the emails are in their own insets
(2) the \email command is embedded in the \address command
Scott Kostyshak [Wed, 8 May 2013 02:48:33 +0000 (22:48 -0400)]
RJournal: set ForcePlain to 'true' for email inset
This prevents the user from some mistakes, such as
embedding an itemize or ennumerate environment.
Scott Kostyshak [Wed, 8 May 2013 00:48:28 +0000 (20:48 -0400)]
RJournal: change 'Address' Flex inset into a Style
This looks better and gives natural separation between multiple
authors.
Scott Kostyshak [Wed, 8 May 2013 03:56:50 +0000 (23:56 -0400)]
RJournal: change 'Abstract' from a Flex to a Style
This looks more consistent with other templates to me.
Scott Kostyshak [Wed, 8 May 2013 03:56:24 +0000 (23:56 -0400)]
RJournal template and layout: move ERTs to layout
The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.
This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
Scott Kostyshak [Tue, 7 May 2013 23:38:01 +0000 (19:38 -0400)]
RJournal.lyx: hardcoded shortcuts -> insets
This way if the shortcut changes or a user is using
a different bind file, the correct shortcut will appear.
Scott Kostyshak [Tue, 7 May 2013 23:33:15 +0000 (19:33 -0400)]
RJournal.lyx: English tweaks
Scott Kostyshak [Fri, 17 May 2013 02:40:10 +0000 (22:40 -0400)]
Add a layout and template for the R Journal
Patch by Yihui Xie.
Julien Rioux [Thu, 16 May 2013 14:00:54 +0000 (16:00 +0200)]
New \cite_engine_type default.
The default citation capability of LaTeX is not a true numerical
citation engine, rather it uses a mixture of labels/numbers. Thus
we now distinguish them: "numerical" always increments the bibitem
counter and uses its value as a numerical citation label, while
"default" only uses the bibitem counter when no label is provided.
LyX file format incremented to 471.
Julien Rioux [Tue, 14 May 2013 19:51:05 +0000 (21:51 +0200)]
Don't use widest label for numerical citations.
Fixes bug #8513.
Julien Rioux [Tue, 14 May 2013 19:50:13 +0000 (21:50 +0200)]
Compute and output numbers for numerical citations.
Pavel Sanda [Thu, 16 May 2013 05:02:10 +0000 (22:02 -0700)]
Slowly going through the suggestion made by our headers script.
I tried not to kill "redundant" includes which are actually used
in the header, apology for mistakes.
Uwe Stöhr [Wed, 15 May 2013 21:48:23 +0000 (23:48 +0200)]
installer: fix converter for HTML
- fix bug reported on the lyx-devel list that eLyXer could not be invoked if Python is not installed
Pavel Sanda [Wed, 15 May 2013 10:46:04 +0000 (03:46 -0700)]
* header_check.sh: filter headers; we should suspect only .h files.
Pavel Sanda [Wed, 15 May 2013 10:42:13 +0000 (03:42 -0700)]
* header_check.sh: fix error order
Kornel Benko [Wed, 15 May 2013 09:28:04 +0000 (11:28 +0200)]
cmake:
1.) Do not include layout tests on MAC, since the
linker-option which allows multiple definitions is
no longer supported.
2.) Indenting made consistent
Stephan Witt [Wed, 15 May 2013 08:24:22 +0000 (10:24 +0200)]
lyx::support::get_document_dir uses QDesktopServices::storageLocation and this is in QT_QTGUI_LIBRARY
Vincent van Ravesteijn [Wed, 15 May 2013 07:11:25 +0000 (09:11 +0200)]
Add a special regfile for filetools test on windows
Pavel Sanda [Wed, 15 May 2013 07:07:40 +0000 (00:07 -0700)]
* header_check.sh: forgot on exec flag
Pavel Sanda [Wed, 15 May 2013 07:02:16 +0000 (00:02 -0700)]
* header_check.sh: more tweaks
Pavel Sanda [Wed, 15 May 2013 06:59:42 +0000 (23:59 -0700)]
* header_check.sh: Apply new changes from Scott.
I see lot of errors like:
The following string was expected to be '.cpp' or '.h':
LyX.cpp: In member function 'void lyx::LyX::printError(const lyx::ErrorItem&)':
Warning: the error was not parsed correctly.
The following string was expected to be '.cpp' or '.h':
LyX.cpp: In function 'void lyx::error_handler(int)':
Vincent van Ravesteijn [Wed, 15 May 2013 06:08:33 +0000 (08:08 +0200)]
check_layout: Add more libraries
Vincent van Ravesteijn [Wed, 15 May 2013 05:47:02 +0000 (07:47 +0200)]
GuiAbout: Add missing include
Georg Baum [Wed, 15 May 2013 05:19:49 +0000 (07:19 +0200)]
Implement forced local layouts
These should be used if any new style needs to be introduced in the stable
2.1 series: If the ForceLocal flag of the style is set, it will always be
written to the document header, so that even older 2.1 versions can read
and correctly output the document.
Uwe Stöhr [Tue, 14 May 2013 22:03:46 +0000 (00:03 +0200)]
InsetBox.cpp: remove unnecessary non-ASCII char
- this char made problems when storing the file in Unicode
Uwe Stöhr [Tue, 14 May 2013 21:57:33 +0000 (23:57 +0200)]
UserGuide.lyx: next revision step
sec. 6.13 - 6.18
Vincent van Ravesteijn [Tue, 14 May 2013 16:41:33 +0000 (18:41 +0200)]
Fix check_layout and adhere casing to other tests
- Fixes cases such that it is the same as check_convert, check_filetools, check_listrings,
- Makes the compilation work on MSVC
Vincent van Ravesteijn [Tue, 14 May 2013 15:44:19 +0000 (17:44 +0200)]
Only show the configuration of theme icons on X11
Also hide the ui items in the constructor to prevent flickering.
Vincent van Ravesteijn [Tue, 14 May 2013 15:13:59 +0000 (17:13 +0200)]
qt5: Fix use of zlib using config.h
Vincent van Ravesteijn [Tue, 14 May 2013 15:13:15 +0000 (17:13 +0200)]
Revert "qt5: Fix use of zlib"
This reverts commits
ba3332c6 and
f96583e8 .
Vincent van Ravesteijn [Tue, 8 May 2012 15:55:59 +0000 (17:55 +0200)]
Make the use of system's theme icons configurable
A lyxrc variable is added and a checkbox is added to the LyX->preferences
dialog.
Vincent van Ravesteijn [Wed, 9 May 2012 09:14:08 +0000 (11:14 +0200)]
Use system's theme icons
On X11 Qt offers the possibility to use the system's icons. To this end,
we must link the "lyx command" to a standard action icon as specified in:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
Kornel Benko [Tue, 14 May 2013 14:23:24 +0000 (16:23 +0200)]
Fix compilation
Kornel Benko [Tue, 14 May 2013 13:34:15 +0000 (15:34 +0200)]
cmake: Try to make layout-tests available for MSVC too
Vincent van Ravesteijn [Sat, 29 Dec 2012 16:29:15 +0000 (17:29 +0100)]
qt5: Fix use of zlib
As Qt5 includes zlib as well, we have to use the same naming convention.
Vincent van Ravesteijn [Sun, 12 May 2013 10:26:44 +0000 (12:26 +0200)]
qt5: Treat wchar_t as a builtin type
Qt5 is compiled treating wchar_t as a builtin type, while Qt4 did not. So,
we have to do the same.
Vincent van Ravesteijn [Sun, 12 May 2013 10:27:16 +0000 (12:27 +0200)]
qt5: Only include a single header to fix compilation
Vincent van Ravesteijn [Tue, 14 May 2013 11:56:31 +0000 (13:56 +0200)]
Fix MSVC warnings
Julien Rioux [Tue, 14 May 2013 09:09:55 +0000 (11:09 +0200)]
Finally also fix #6986 for autotools out-of-source builds.
Julien Rioux [Mon, 4 Feb 2013 14:45:14 +0000 (15:45 +0100)]
configure.py: Check path accessibility before call to os.path.isfile.
If you have an unmounted dir, ac_dir, in your PATH, the call to
os.path.isfile( os.path.join(ac_dir, ac_word + ext) )
hangs. This is probably a python bug, but the result of configure.py
hanging and LyX freezing is really bad, hence this workaround.
According to the python docs, MacOS doesn't provide os.access();
the hasattr protection is used for this reason.
Kornel Benko [Tue, 14 May 2013 09:17:50 +0000 (11:17 +0200)]
Add test for Layout::write() on cmake too
(For now runns only on unix platforms using gcc)
Uwe Stöhr [Tue, 14 May 2013 00:26:22 +0000 (02:26 +0200)]
GuiMathMatrix.cpp: remove an unused header
- sorry, I accidentally added it in the last commit
Uwe Stöhr [Tue, 14 May 2013 00:19:43 +0000 (02:19 +0200)]
GuiMathMatrix.cpp: fix bug #7049
- we should not fill the dialog comboBoxes in the .ui-files
Vincent van Ravesteijn [Mon, 13 May 2013 10:47:22 +0000 (12:47 +0200)]
Use [[Context]] for the msgid of some strings
Vincent van Ravesteijn [Mon, 13 May 2013 10:46:33 +0000 (12:46 +0200)]
Implement the use of [[Context]] for placeholders
When placeholders are used, the context can indicate what will be
substituted for the placeholder (e.g. "%1$s[[date]], %1$s[[time]]).
Georg Baum [Mon, 13 May 2013 19:53:28 +0000 (21:53 +0200)]
Add test for Layout::write()
When running the test, you'll get the following messages:
Testing ../../src/../lib/layouts/siamltex.layout...
Layout.cpp (268): Cannot copy unknown style `Enumerate'
Testing ../../src/../lib/layouts/svglobal.layout...
Cannot delete style `Dedication'
Testing ../../src/../lib/layouts/svjog.layout...
Cannot delete style `Dedication'
Testing ../../src/../lib/layouts/svprobth.layout...
Cannot delete style `Dedication'
These are no errors of Layout::write(), but they indicate problems in the
definition of the layout files.
Kornel, it would be nice if you could do the cmake part.
Julien Rioux [Mon, 13 May 2013 19:07:04 +0000 (21:07 +0200)]
Add missing space in front of edition in generated bibentry.
Julien Rioux [Mon, 13 May 2013 18:58:12 +0000 (20:58 +0200)]
Add modifier to jurabib and natbib (author-year) modules.
Julien Rioux [Mon, 13 May 2013 18:29:49 +0000 (20:29 +0200)]
Natbib authoryear uses (Ref1; Ref2) by default.
I was confused when I checked this. It looks like plainnat.bst
overwrites this default to use [Ref1, Ref2] style instead, but
when using natbib's defaults you get the (Ref1; Ref2) style.
Julien Rioux [Mon, 13 May 2013 18:26:46 +0000 (20:26 +0200)]
Initialize BibTeXInfo modifier to zero, always.
Richard Heck [Mon, 13 May 2013 16:22:41 +0000 (12:22 -0400)]
Get font sizes working for XHTML.
Richard Heck [Mon, 13 May 2013 15:58:52 +0000 (11:58 -0400)]
Get font families working for XHTML.
Richard Heck [Fri, 10 May 2013 20:58:38 +0000 (16:58 -0400)]
XHTML support for font shapes.
Richard Heck [Tue, 7 May 2013 06:34:15 +0000 (02:34 -0400)]
Rework that way that font tags are handled in XHTML output. We need
to do this in order to handle span tags properly, when they act as
font tags.
Richard Heck [Tue, 7 May 2013 06:30:26 +0000 (02:30 -0400)]
Rework the way the parsep tag is handled, and introduce comparison
operators for these tags.
Richard Heck [Tue, 7 May 2013 05:16:14 +0000 (01:16 -0400)]
Rework how paragraph ids are handled.
Previously, an empty paragraph would always yield something like:
<div><a id='magicparid-35' /></div>
because we had no way to "defer" the anchor tag. Now this is wrapped
into the div, in effect, and we abandon it all if there's no content.
Richard Heck [Tue, 7 May 2013 04:19:34 +0000 (00:19 -0400)]
Reorganize the TagStack objects.
Kornel Benko [Mon, 13 May 2013 12:51:03 +0000 (14:51 +0200)]
* sk.po
Vincent van Ravesteijn [Mon, 13 May 2013 10:45:59 +0000 (12:45 +0200)]
Translate build version strings
Vincent van Ravesteijn [Mon, 13 May 2013 09:21:53 +0000 (11:21 +0200)]
Remove the 'running' booleans quit and optional
Reason for this 'cleanup' is the strange "optional = false" lines at the
end of the "case md_item" and "case md_subitem". Then, it is nicer to
directly use the value of the switch to be the running variable and to use
this to determine whether an item is optional and whether we should quit.
Vincent van Ravesteijn [Sun, 12 May 2013 16:30:59 +0000 (18:30 +0200)]
Fix assert: Do not use translated names as keys
The panels in GuiDocument and GuiPrefs are stored in a map. The keys are
the translated descriptions of these panels. Whenever someone changes the
gui language and reopens the Document Settings pane, LyX asserted because
it could not find the "Child Documents" pane.
Vincent van Ravesteijn [Sun, 12 May 2013 16:30:40 +0000 (18:30 +0200)]
Add a function to translate QStrings
Vincent van Ravesteijn [Fri, 10 May 2013 14:20:14 +0000 (16:20 +0200)]
Fix crash with FindAndReplaceUi
In commit
bd9e8fecd the currentIndex of the FindAndReplaceAdv Pane was
changed from 0 to 1. Since then LyX crashed when requesting the pane or
when changing LyX preferences.
This patch reverts this, although it is not clear why it would crash
otherwise. It is still committed like this, because LyX is unusable
without.
Lars Gullik Bjønnes [Sun, 12 May 2013 11:00:02 +0000 (13:00 +0200)]
Remove ; from end of function definitions
Uwe Stöhr [Sun, 12 May 2013 10:57:14 +0000 (12:57 +0200)]
UserGuide.lyx: next revision step
- sec. 6.7 - 6.13
Georg Baum [Sat, 11 May 2013 07:39:06 +0000 (09:39 +0200)]
Make the different paste menu items optional
This was suggested by Jean-Marc some time ago, and I simply forgot to apply.
With this change you do not see unusable menu entries like linkback on linux
anymore. I also added an entry for emf, since this will be quite useful on
windows.
Richard Heck [Fri, 10 May 2013 17:47:03 +0000 (13:47 -0400)]
This probably doesn't matter, but the reason for bug #8666 traces,
ultimately, to the layout conversion for format 2.
Richard Heck [Fri, 10 May 2013 17:17:47 +0000 (13:17 -0400)]
Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
Uwe Stöhr [Fri, 10 May 2013 16:34:05 +0000 (18:34 +0200)]
PageLayoutUi.ui: use a more sensible option name
Uwe Stöhr [Fri, 10 May 2013 14:24:11 +0000 (16:24 +0200)]
Math.lyx: fix a typo
Uwe Stöhr [Fri, 10 May 2013 11:13:20 +0000 (13:13 +0200)]
GuiMathMatrix.cpp: fix a compiler warning
Jean-Marc Lasgouttes [Wed, 8 May 2013 13:12:42 +0000 (15:12 +0200)]
Remove cruft
Jean-Marc Lasgouttes [Mon, 6 May 2013 21:50:23 +0000 (23:50 +0200)]
Another try at making the source view dock arrange itself.
The idea is to minimize the size of the form that contains the buttons.
Since I do not really know what I am doing, I will revert if problems occur.
Jean-Marc Lasgouttes [Mon, 6 May 2013 20:50:26 +0000 (22:50 +0200)]
Small clanup (just move functions around)
Jean-Marc Lasgouttes [Mon, 6 May 2013 10:15:27 +0000 (12:15 +0200)]
Fix bug 6055: change-next does not work in tables
The problem was just the faulty use of CursorSlice::at_begin/end(), which does not look for end of cell, but end of inset.
Uwe Stöhr [Sun, 5 May 2013 23:54:17 +0000 (01:54 +0200)]
Revert "tex2lyx/text.cpp: fix a typo spotted by clang"
This reverts commit
055b425b646e748e0c35f0eef89e03e6126a143d .
This requires much more work and i don't have time to do this now
Uwe Stöhr [Sun, 5 May 2013 23:35:38 +0000 (01:35 +0200)]
tex2lyx/text.cpp: fix a typo spotted by clang
Uwe Stöhr [Sun, 5 May 2013 23:31:04 +0000 (01:31 +0200)]
GuiBox.cpp: fix a dialog initialization issue
thanks Jean-Marc for the hint
Tommaso Cucinotta [Sun, 5 May 2013 14:09:53 +0000 (15:09 +0100)]
Automatic horiz/vert switch also for Advanced Tab (completing
e3677975 ).
Tommaso Cucinotta [Sun, 5 May 2013 13:05:50 +0000 (14:05 +0100)]
Automatic horiz/vert switch of layout when docking Advanced F&R pane top-bottom/left-right (copying
49c2450f ).
Pavel Sanda [Sun, 5 May 2013 06:05:51 +0000 (23:05 -0700)]
Add layout intelligence to View Source pane (bug #8653).
View Source pane layout now automatically switches between horizontal
and vertical design when docked in vertical or horizontal way.
Original idea and patch from Edwin.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg178801.html
Note: the long standing-fight with too bulky minimal QTextEdit size
is now solved via ViewSourceUi.sizePolicy=Ignored.
Richard Heck [Sat, 4 May 2013 12:25:21 +0000 (08:25 -0400)]
Set "dryrun" to true for XHTML copying routine. This suppresses
the production of images, etc, making copying even the entire
User's Guide and almost instantaneous operation.
Pavel Sanda [Sat, 4 May 2013 08:09:07 +0000 (01:09 -0700)]
ViewSourceUi.ui layout was broken
Pavel Sanda [Sat, 4 May 2013 04:45:59 +0000 (21:45 -0700)]
Comment.
Uwe Stöhr [Sat, 4 May 2013 00:48:54 +0000 (02:48 +0200)]
UserGuide.lyx: next revision step
- revised sec. 6 - 6.6
- describe longest label feature for bibliography environment
Richard Heck [Fri, 3 May 2013 21:48:48 +0000 (17:48 -0400)]
Don't consider unnumbered sections for tocdepth.
Scott Kostyshak [Fri, 3 May 2013 05:41:43 +0000 (01:41 -0400)]
header_check.sh: allow exclusion of common headers
Continuing to address #6305
Richard Heck [Fri, 3 May 2013 01:23:11 +0000 (21:23 -0400)]
Minor cleanup.
Richard Heck [Fri, 3 May 2013 01:20:43 +0000 (21:20 -0400)]
The update here needs doing no matter what.
This fixes a bug introduced in
db358a4315 .
Uwe Stöhr [Thu, 2 May 2013 23:11:32 +0000 (01:11 +0200)]
installer: fix an issue
- also take care of emergency releases when updating LyX
- add some prerequisites for a new feature
Richard Heck [Thu, 2 May 2013 19:20:50 +0000 (15:20 -0400)]
Re-rename. The last renaming broke monolithic compilation.
Richard Heck [Sun, 28 Apr 2013 17:06:21 +0000 (13:06 -0400)]
Make strings used in various assertions non-static.
Jean-Marc Lasgouttes [Thu, 2 May 2013 17:22:10 +0000 (19:22 +0200)]
Even more llvm/clang warnings
Remove lyxview_ member of lyx::Action, fix a prototype in TexStream and comment out a Cursor function.
Jean-Marc Lasgouttes [Thu, 2 May 2013 16:27:32 +0000 (18:27 +0200)]
More llvm/clang warnings
This is mostly unused private class members.
There are also a few unused functions that got #if'ed out. I never know in this case whether the code should be nuked.
Jean-Marc Lasgouttes [Thu, 2 May 2013 14:38:25 +0000 (16:38 +0200)]
A first batch of potential bugs spotted by llvm/clang
There are more warnings left, but these are the easiest to fix. And some of them are real bugs (assignments with == instead of =).
Pavel Sanda [Thu, 2 May 2013 07:25:17 +0000 (00:25 -0700)]
Remove some header leftovers based on Scott's script hints.
False positive rate of hints is quite high. Although the includes can be
technically removed (due to other includes) they logically belong to the
header.
Scott Kostyshak [Thu, 2 May 2013 06:40:48 +0000 (02:40 -0400)]
Script for finding unneeded headers
The script does the following:
All .cpp and .h files in the current directory and subdirectories
are checked to see which include statements could be omitted without
causing a build error.
Many of these omissions would not be desired. For example, currently
if you don't include Undo.h in Undo.cpp, there is no error because
Undo.h is included in Cursor.h which is included in Undo.cpp. But
clearly we do want to include Undo.h in Undo.cpp.
See #6305.