]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Sat, 16 Feb 2013 09:35:11 +0000 (10:35 +0100)]
KOMA sections are raggedright by default (as opposed to the standard classes)
Uwe Stöhr [Sat, 16 Feb 2013 04:51:23 +0000 (05:51 +0100)]
tex2lyx: support for \addcontentsline in BibTeX inset
Uwe Stöhr [Sat, 16 Feb 2013 03:04:49 +0000 (04:04 +0100)]
tex2lyx/TODO.txt: update again
- nothing needs to be done for feyn.sty - it is already recognized as simple feature and the roundtrip using the feynman example file works
- update entry for undertilde to be uniform
Uwe Stöhr [Sat, 16 Feb 2013 02:14:21 +0000 (03:14 +0100)]
tex2lyx/TODO.txt: update
refstyle support was added by http://www.lyx.org/trac/changeset/
49c88776 /lyxgit
Uwe Stöhr [Sat, 16 Feb 2013 00:02:32 +0000 (01:02 +0100)]
moderncv.layout: update to modernCV 1.3
- this new modernCV version fixes the annoying linebreak bug I was suffering so long, it moreover adds 2 new features
- lyx2lyx/lyx_2_1.py: updated to revert the new features
Uwe Stöhr [Fri, 15 Feb 2013 23:48:21 +0000 (00:48 +0100)]
IEEEtran-CompSoc.layout: use the new NoInsetLayout tag
Jean-Marc Lasgouttes [Fri, 15 Feb 2013 22:18:32 +0000 (23:18 +0100)]
Fix bug with reading of verbatim environment
The kind of putback() functionality that we need is more tricky
than I thought at first...
Kornel Benko [Fri, 15 Feb 2013 18:07:26 +0000 (19:07 +0100)]
Adapt to corrected tex2lyx
Kornel Benko [Fri, 15 Feb 2013 17:49:00 +0000 (18:49 +0100)]
Adapt test-insets.lyx.lyx to now correctly running tex2lyx.
Removed errocase.
Jean-Marc Lasgouttes [Fri, 15 Feb 2013 16:14:29 +0000 (17:14 +0100)]
Move stuff around (again!)
Jean-Marc Lasgouttes [Fri, 15 Feb 2013 16:03:18 +0000 (17:03 +0100)]
Implement deparsing of tokens
When switching catcodes (for example to verbatim), there are in general some tokens that have already been parsed according to the old catcodes. It is therefore needed to "forget" those token and reparse them.
The basic idea is to use idocstream::putback() to feed the characters back to the stream, but this does not work (probably because we disable buffering). Therefore, we implement a simple stream-like class that implements putback().
Jean-Marc Lasgouttes [Fri, 15 Feb 2013 15:23:51 +0000 (16:23 +0100)]
Move stuff
Uwe Stöhr [Fri, 15 Feb 2013 15:28:38 +0000 (16:28 +0100)]
Merge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Fri, 15 Feb 2013 15:28:02 +0000 (16:28 +0100)]
environment.cpp: MSVC compile fix
MSVC told me
"environment.cpp(139): error C4716: 'lyx::support::unsetEnv' : must return a value"
Juergen Spitzmueller [Fri, 15 Feb 2013 15:19:10 +0000 (16:19 +0100)]
de.po: update
Uwe Stöhr [Fri, 15 Feb 2013 15:11:30 +0000 (16:11 +0100)]
FORMAT: add missing fileformat changes
Jean-Marc Lasgouttes [Fri, 15 Feb 2013 13:44:45 +0000 (14:44 +0100)]
Move stuff around
Juergen Spitzmueller [Fri, 15 Feb 2013 09:52:00 +0000 (10:52 +0100)]
Some libertine versions have osf default, some lining
Juergen Spitzmueller [Fri, 15 Feb 2013 09:45:11 +0000 (10:45 +0100)]
Adjust Libertine font support to most recent version
This needs yet a file format change. I hope the interface is stable now (I had an exchange with the package maintainer, Bob Tennent, about that)
Juergen Spitzmueller [Tue, 12 Feb 2013 19:33:42 +0000 (20:33 +0100)]
Simplify support for kurier fonts
Kornel Benko [Tue, 12 Feb 2013 18:01:16 +0000 (19:01 +0100)]
Cmake build: Creating a define for a header file found
need now only changes in the list of header files in ConfigureChecks.cmake.
Juergen Spitzmueller [Tue, 12 Feb 2013 17:47:05 +0000 (18:47 +0100)]
tex2lyx: latexfonts importation fixes
Kornel Benko [Tue, 12 Feb 2013 16:46:35 +0000 (17:46 +0100)]
C&P error. Sorry
Kornel Benko [Tue, 12 Feb 2013 16:40:32 +0000 (17:40 +0100)]
Cmake build: Correct the previous commit.
We have to apply configure_file() twice, therefor the new file.
Kornel Benko [Tue, 12 Feb 2013 16:22:07 +0000 (17:22 +0100)]
Cmake build: If checking for new function, say xyzzy, we want
have a definition '#define HAVE_XYZZY 1'.
Now, it is sufficient to add xyzzy to list of functions in ConfigureChecks.cmake'
Richard Heck [Sat, 9 Feb 2013 19:31:26 +0000 (14:31 -0500)]
Add "NoInsetLayout" tag for Uwe. Fixes bug #8545.
Kornel Benko [Tue, 12 Feb 2013 14:27:39 +0000 (15:27 +0100)]
Cmake build: 1.) Sort function checcking alphabetically
2.) add definition HAVE_UNSETENV to header
Jean-Marc Lasgouttes [Tue, 12 Feb 2013 11:29:33 +0000 (12:29 +0100)]
Remove unused Mac specific code
Jean-Marc Lasgouttes [Tue, 5 Feb 2013 13:19:33 +0000 (14:19 +0100)]
Fix bug #8537: LyX creates the environment variable LC_ALL
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.
The patch also adds new functions hasEnv and unsetEnv in environment.cpp.
Open issues:
* there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
* unsetenv may lead to leaks on some platforms.
* when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
Juergen Spitzmueller [Mon, 11 Feb 2013 14:02:24 +0000 (15:02 +0100)]
If a LaTeX font has a monolithic option for all expert sets (Osf, SC), honor this in the GUI (#8547)
Uwe Stöhr [Mon, 11 Feb 2013 13:40:35 +0000 (14:40 +0100)]
tex2lyx: support for fileformat change 444
biolinum is used if libertine is detected
Uwe Stöhr [Mon, 11 Feb 2013 13:22:56 +0000 (14:22 +0100)]
tex2lyx: support for libertine
Uwe Stöhr [Mon, 11 Feb 2013 13:19:08 +0000 (14:19 +0100)]
chkconfig.ltx: check for fonts and packages required by fonts
Uwe Stöhr [Mon, 11 Feb 2013 11:13:44 +0000 (12:13 +0100)]
tex2lyx/TODO.txt: update todo list
listings support was added a year ago by r40856 and r40860
Uwe Stöhr [Mon, 11 Feb 2013 11:03:07 +0000 (12:03 +0100)]
chkconfig.ltx: add missing comment from last commit
Uwe Stöhr [Mon, 11 Feb 2013 11:00:56 +0000 (12:00 +0100)]
chkconfig.ltx: check for binhex.tex
Without this file the newtxmath fonts supported by LyX cannot be used; fixes bug #8549.
Uwe Stöhr [Mon, 11 Feb 2013 10:56:27 +0000 (11:56 +0100)]
Revert "tex2lyx/Preamble.cpp: fix bug #8525 temporarily"
This reverts commit
a69fcde0726450d696081ed5c21506d42a90b103 .
The commit causing #8525 is [
2f7f0c76 /lyxgit]
Juergen Spitzmueller [Mon, 11 Feb 2013 08:47:08 +0000 (09:47 +0100)]
Whitespace and Casing fixes
Kornel Benko [Mon, 11 Feb 2013 08:43:10 +0000 (09:43 +0100)]
tex2lyx-tests: Adapt to changes for emty line in preamble
Uwe Stöhr [Mon, 11 Feb 2013 01:56:48 +0000 (02:56 +0100)]
tex2lyx: support for newtxmath
Uwe Stöhr [Mon, 11 Feb 2013 01:34:03 +0000 (02:34 +0100)]
tex2lyx: support for eulervm
Uwe Stöhr [Mon, 11 Feb 2013 01:24:31 +0000 (02:24 +0100)]
tex2lyx: support for txtt font
Uwe Stöhr [Mon, 11 Feb 2013 01:14:53 +0000 (02:14 +0100)]
tex2lyx: support for biolinum-type1
Uwe Stöhr [Mon, 11 Feb 2013 01:07:22 +0000 (02:07 +0100)]
tex2lyx: support for TeX Gyre fonts
Uwe Stöhr [Mon, 11 Feb 2013 00:56:47 +0000 (01:56 +0100)]
tex2lyx: support for libertine-type1
Uwe Stöhr [Mon, 11 Feb 2013 00:46:03 +0000 (01:46 +0100)]
tex2lyx: support for garamondx
Uwe Stöhr [Mon, 11 Feb 2013 00:40:13 +0000 (01:40 +0100)]
tex2lyx: support for mathdesign
Uwe Stöhr [Mon, 11 Feb 2013 00:37:03 +0000 (01:37 +0100)]
tex2lyx/Preamble.cpp: remove unnecessary whitespace in the preamble
- this removes blank lines that are otherwise written to the preamble
Uwe Stöhr [Sun, 10 Feb 2013 23:49:20 +0000 (00:49 +0100)]
tex2lyx: add test for font settings
Uwe Stöhr [Sun, 10 Feb 2013 23:47:09 +0000 (00:47 +0100)]
support for the kurier sansserif fonts
- fileformat change
Uwe Stöhr [Sun, 10 Feb 2013 22:31:38 +0000 (23:31 +0100)]
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
Juergen Spitzmueller [Sun, 10 Feb 2013 13:48:07 +0000 (14:48 +0100)]
Use the new Static label type for the koma book chapter
Juergen Spitzmueller [Sun, 10 Feb 2013 13:31:49 +0000 (14:31 +0100)]
LaTeXFonts: Support the rare case where there is really only preamble code
Pavel Sanda [Sun, 10 Feb 2013 05:51:30 +0000 (21:51 -0800)]
Fix #7865 - Math autocorrection is broken
Patch from Martin Vermeer.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177004.html
Pavel Sanda [Sun, 10 Feb 2013 04:20:48 +0000 (20:20 -0800)]
* Additional.lyx
Pavel Sanda [Sun, 10 Feb 2013 03:50:06 +0000 (19:50 -0800)]
Leftover from SVN.
Pavel Sanda [Sun, 10 Feb 2013 03:28:01 +0000 (19:28 -0800)]
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.
Richard Heck [Sat, 9 Feb 2013 19:37:42 +0000 (14:37 -0500)]
Use std::map::find() instead of iterating ourselves.
Enrico Forestieri [Sat, 9 Feb 2013 19:36:34 +0000 (20:36 +0100)]
Update it.po
Enrico Forestieri [Sat, 9 Feb 2013 19:29:25 +0000 (20:29 +0100)]
Correct typo
Enrico Forestieri [Sat, 9 Feb 2013 19:27:47 +0000 (20:27 +0100)]
Update it.po
Richard Heck [Sat, 9 Feb 2013 18:37:06 +0000 (13:37 -0500)]
Update all layouts to format 44.
Richard Heck [Sat, 9 Feb 2013 18:35:29 +0000 (13:35 -0500)]
Documentation update for layout format 44.
Richard Heck [Sat, 9 Feb 2013 17:28:21 +0000 (12:28 -0500)]
Layout changes for changes to LabelType:
LabelType Counter --> LabelType Static
LabelType Top_Environment --> LabelType Above
LabelType Centered_Top_Environment --> LabelType Centered
Richard Heck [Sat, 9 Feb 2013 16:13:40 +0000 (11:13 -0500)]
Eliminate the hard-coded special handing of chapters. We'll use the
new Above LabelType instead.
Richard Heck [Sat, 9 Feb 2013 16:13:01 +0000 (11:13 -0500)]
Change LabelType Top_Environment to LabelType Above, and LabelType
Centered_Top_Environment to LabelType Centered.
Richard Heck [Sat, 9 Feb 2013 16:09:56 +0000 (11:09 -0500)]
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.
Uwe Stöhr [Sat, 9 Feb 2013 17:18:21 +0000 (18:18 +0100)]
IEEE: support for Transactions on Magnetics
Uwe Stöhr [Sat, 9 Feb 2013 17:08:12 +0000 (18:08 +0100)]
IEEEtran templates: some preamble simplifications and fixes
Uwe Stöhr [Sat, 9 Feb 2013 16:53:34 +0000 (17:53 +0100)]
IEEEtran: dome corrections and additional info
Juergen Spitzmueller [Sat, 9 Feb 2013 14:53:40 +0000 (15:53 +0100)]
Work around a bug in beamer 2.10
Juergen Spitzmueller [Sat, 9 Feb 2013 10:00:42 +0000 (11:00 +0100)]
Preamble tag for LaTeXFonts (#8530)
Uwe Stöhr [Sat, 9 Feb 2013 02:23:34 +0000 (03:23 +0100)]
IEEEtran.layout: support for conference articles
- IEEEtran-Conference.lyx: new template for conference articles of the IEEE
Uwe Stöhr [Sat, 9 Feb 2013 01:52:39 +0000 (02:52 +0100)]
IEEEtran-CompSoc.layout: force plain layout
Uwe Stöhr [Sat, 9 Feb 2013 01:50:54 +0000 (02:50 +0100)]
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
Georg Baum [Thu, 7 Feb 2013 21:07:22 +0000 (22:07 +0100)]
Implement revision info for git
Georg Baum [Thu, 7 Feb 2013 20:24:32 +0000 (21:24 +0100)]
Describe GIT support
Richard Heck [Sun, 15 Jul 2012 19:06:29 +0000 (15:06 -0400)]
Don't hardcode listings but use InsetLayout.
Richard Heck [Tue, 10 Jul 2012 21:44:21 +0000 (17:44 -0400)]
Fix bug #7948 by not hardcoding XHTML info for captions but instead
using InsetLayout.
Richard Heck [Tue, 10 Jul 2012 21:17:45 +0000 (17:17 -0400)]
Fix bug #7947 by using InsetLayout rather than hardcoding things.
Richard Heck [Thu, 7 Feb 2013 13:44:42 +0000 (08:44 -0500)]
Fix really silly logic error. This should make prettyref-based
files work better when converted to refstyle.
Scott Kostyshak [Thu, 7 Feb 2013 06:15:10 +0000 (01:15 -0500)]
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.
Scott Kostyshak [Sat, 2 Feb 2013 02:35:14 +0000 (21:35 -0500)]
Add an autotest for #8540
This test should currently fail on master and on 2.0.x.
Uwe Stöhr [Thu, 7 Feb 2013 01:14:20 +0000 (02:14 +0100)]
IEEEtran.lyx: fix typos
Uwe Stöhr [Thu, 7 Feb 2013 01:13:44 +0000 (02:13 +0100)]
IEEEtran-CompSoc: new layout to support the IEEE "computer science" journals
Uwe Stöhr [Thu, 7 Feb 2013 01:01:57 +0000 (02:01 +0100)]
IEEEtran.layout: support command \IEEEPARstart
Georg Baum [Wed, 6 Feb 2013 21:07:31 +0000 (22:07 +0100)]
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.
Georg Baum [Tue, 5 Feb 2013 20:40:19 +0000 (21:40 +0100)]
Fix copy-paste error
Georg Baum [Tue, 5 Feb 2013 20:31:58 +0000 (21:31 +0100)]
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.
Georg Baum [Tue, 5 Feb 2013 20:24:41 +0000 (21:24 +0100)]
Correctly delete temp files
FileName::erase() only clears the file name, if you want to delete the file
you need to call FileName::removeFile().
Julien Rioux [Fri, 25 Jan 2013 22:42:15 +0000 (23:42 +0100)]
Support for \fullcite in LyXHTML and text export (fixes #8491).
Julien Rioux [Sat, 2 Feb 2013 18:23:21 +0000 (19:23 +0100)]
Generate the citation labels before exporting to plain text.
Julien Rioux [Fri, 1 Feb 2013 15:18:37 +0000 (16:18 +0100)]
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.
Julien Rioux [Mon, 4 Feb 2013 16:17:48 +0000 (17:17 +0100)]
Remove unused code.
Julien Rioux [Mon, 4 Feb 2013 16:51:59 +0000 (17:51 +0100)]
Whitespace only.
Kornel Benko [Wed, 6 Feb 2013 12:44:46 +0000 (13:44 +0100)]
tex2lyx tests:
Corrected the tex2lyx check-file for test-refstyle-references.tex
Kornel Benko [Wed, 6 Feb 2013 12:42:27 +0000 (13:42 +0100)]
tex2lyx tests:
1.) Remove empty layout 'Plain'
2.) Adapt to changed look of layout 'Verbatim'
Jean-Marc Lasgouttes [Wed, 6 Feb 2013 10:36:58 +0000 (11:36 +0100)]
Rename Path.h to PathChanger.h (actual name of the class)
Uwe Stöhr [Wed, 6 Feb 2013 00:48:43 +0000 (01:48 +0100)]
German and Japanese Intro.lyx: fix a link
Uwe Stöhr [Wed, 6 Feb 2013 00:36:58 +0000 (01:36 +0100)]
Intro.lyx: style fixes by John Hudson