Commit Graph

30613 Commits

Author SHA1 Message Date
Uwe Stöhr
a69fcde072 tex2lyx/Preamble.cpp: fix bug #8525 temporarily
- this might break some tex2lyx features but tex2lyx was completely broken - not even the simplest TeX file could be imported and compiles
2013-02-10 23:31:38 +01:00
Juergen Spitzmueller
3e55139482 Use the new Static label type for the koma book chapter 2013-02-10 14:48:07 +01:00
Juergen Spitzmueller
55bc3665a2 LaTeXFonts: Support the rare case where there is really only preamble code 2013-02-10 14:31:49 +01:00
Pavel Sanda
5000a016cf Fix #7865 - Math autocorrection is broken
Patch from Martin Vermeer.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177004.html
2013-02-09 21:51:30 -08:00
Pavel Sanda
d963eef9f0 * Additional.lyx 2013-02-09 20:20:48 -08:00
Pavel Sanda
6ba3e8d408 Leftover from SVN. 2013-02-09 19:50:06 -08:00
Pavel Sanda
75090250d4 Add very simple revision comparison for git.
At this moment we do not allow comparison between arbitrary hashes,
but except GUI the code is ready.
Thanks to the powerful way of git addressing we could even ask
for comparisons like '-2 weeks back' if someone wants to play
with GuiCompareHistory.
2013-02-09 19:35:22 -08:00
Richard Heck
a95ed3a2b9 Use std::map::find() instead of iterating ourselves. 2013-02-09 14:40:22 -05:00
Enrico Forestieri
4a6d9957f7 Update it.po 2013-02-09 20:36:34 +01:00
Enrico Forestieri
4f3370e460 Correct typo 2013-02-09 20:29:25 +01:00
Enrico Forestieri
58ce22ab3f Update it.po 2013-02-09 20:27:47 +01:00
Richard Heck
460b44b8f5 Update all layouts to format 44. 2013-02-09 13:44:06 -05:00
Richard Heck
8c8d26ecf6 Documentation update for layout format 44. 2013-02-09 13:44:06 -05:00
Richard Heck
d6709df3d7 Layout changes for changes to LabelType:
LabelType Counter --> LabelType Static
	LabelType Top_Environment --> LabelType Above
	LabelType Centered_Top_Environment --> LabelType Centered
2013-02-09 13:44:06 -05:00
Richard Heck
e7827264e7 Eliminate the hard-coded special handing of chapters. We'll use the
new Above LabelType instead.
2013-02-09 13:44:06 -05:00
Richard Heck
32b0e8cbdb Change LabelType Top_Environment to LabelType Above, and LabelType
Centered_Top_Environment to LabelType Centered.
2013-02-09 13:44:06 -05:00
Richard Heck
57d8b059e0 Remove references to Counter LabelType from source code. The
intention is to use Static in its place, and we now expand the
label for these, as well.
2013-02-09 13:44:05 -05:00
Uwe Stöhr
d8a6e0ab70 IEEE: support for Transactions on Magnetics 2013-02-09 18:18:21 +01:00
Uwe Stöhr
6c922c8029 IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
Uwe Stöhr
59e13e6df6 IEEEtran: dome corrections and additional info 2013-02-09 17:53:34 +01:00
Juergen Spitzmueller
b1191298e2 Work around a bug in beamer 2.10 2013-02-09 15:53:40 +01:00
Juergen Spitzmueller
9cbba74a62 Preamble tag for LaTeXFonts (#8530) 2013-02-09 11:00:42 +01:00
Uwe Stöhr
33e185e5ed IEEEtran.layout: support for conference articles
- IEEEtran-Conference.lyx: new template for conference articles of the IEEE
2013-02-09 03:23:34 +01:00
Uwe Stöhr
0c993b5135 IEEEtran-CompSoc.layout: force plain layout 2013-02-09 02:52:39 +01:00
Uwe Stöhr
f3c407e7b9 elsarticle.layout: force plain layout for some flex insets
- This prevents LaTeX errors because some commands don't allow to include commands.
- also simplified some code
2013-02-09 02:50:54 +01:00
Georg Baum
22b7ad2b0a Implement revision info for git 2013-02-08 21:02:37 +01:00
Georg Baum
5a62a1ccb8 Describe GIT support 2013-02-08 21:02:36 +01:00
Richard Heck
99402cd09c Don't hardcode listings but use InsetLayout. 2013-02-08 09:48:48 -05:00
Richard Heck
f623ded109 Fix bug #7948 by not hardcoding XHTML info for captions but instead
using InsetLayout.
2013-02-08 09:30:31 -05:00
Richard Heck
7821022ca0 Fix bug #7947 by using InsetLayout rather than hardcoding things. 2013-02-08 09:19:09 -05:00
Richard Heck
1b7d812e51 Fix really silly logic error. This should make prettyref-based
files work better when converted to refstyle.
2013-02-07 08:45:21 -05:00
Scott Kostyshak
126255b985 Create a file to document expected test failures
This file documents which tests are expected to fail. It can be used
to quickly tell if a regression has occurred. This is also useful when
first running tests to get an idea of whether some tests are failing
because of missing dependencies.
2013-02-07 04:50:07 -05:00
Scott Kostyshak
39c380ee0b Add an autotest for #8540
This test should currently fail on master and on 2.0.x.
2013-02-07 03:42:14 -05:00
Uwe Stöhr
e29aaecbaf IEEEtran.lyx: fix typos 2013-02-07 02:14:20 +01:00
Uwe Stöhr
20f1ba109e IEEEtran-CompSoc: new layout to support the IEEE "computer science" journals 2013-02-07 02:13:44 +01:00
Uwe Stöhr
7c98a16fbb IEEEtran.layout: support command \IEEEPARstart 2013-02-07 02:01:57 +01:00
Georg Baum
2f9ef2b98a Implement very basic git support
Only the local index is considered, no remote repo. Also getting the revision
(aka commit hash) is missing. How push and pull could be integrated with the
LyX VCS interface needs to be discussed, but the implemented functionality was
quite straight forward.
2013-02-06 22:07:31 +01:00
Georg Baum
a3e6c7830c Fix copy-paste error 2013-02-06 20:38:54 +01:00
Georg Baum
0526eb9d47 Implement VCS copy and rename
The advantage of having this in LyX is the intelligent file name handling
of included files. Implementation as discussed on the list, but ensure also
that an attempt to use locked files fails.
2013-02-06 20:38:54 +01:00
Georg Baum
067fbe49cd Correctly delete temp files
FileName::erase() only clears the file name, if you want to delete the file
you need to call FileName::removeFile().
2013-02-06 20:38:54 +01:00
Julien Rioux
3408ca4204 Support for \fullcite in LyXHTML and text export (fixes #8491). 2013-02-06 17:37:59 +01:00
Julien Rioux
cc1ce04798 Generate the citation labels before exporting to plain text. 2013-02-06 17:37:58 +01:00
Julien Rioux
6456c2262e Move label generation from InsetBibtex to BiblioInfo.
This only move the code, but does not change the displayed labels.
Thus for numerical citation, the label is set to the cite number;
for author-year citation, the abbreviated list of authors is used
i.e. "Smith et al. 2001".

Eventually, we might want to make the label customizable, or get
it from BibTeX.
2013-02-06 17:37:58 +01:00
Julien Rioux
f51636b547 Remove unused code. 2013-02-06 17:37:57 +01:00
Julien Rioux
f94d77ae88 Whitespace only. 2013-02-06 17:37:56 +01:00
Kornel Benko
7333494c89 tex2lyx tests:
Corrected the tex2lyx check-file for test-refstyle-references.tex
2013-02-06 13:44:46 +01:00
Kornel Benko
55c2dc15fa tex2lyx tests:
1.) Remove empty layout 'Plain'
2.) Adapt to changed look of layout 'Verbatim'
2013-02-06 13:42:27 +01:00
Jean-Marc Lasgouttes
14e01a92a4 Rename Path.h to PathChanger.h (actual name of the class) 2013-02-06 11:51:06 +01:00
Uwe Stöhr
40b487c477 German and Japanese Intro.lyx: fix a link 2013-02-06 01:48:43 +01:00
Uwe Stöhr
e7c5ded516 Intro.lyx: style fixes by John Hudson 2013-02-06 01:36:58 +01:00