]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Sun, 17 Feb 2013 01:38:29 +0000 (02:38 +0100)]
Parser.cpp: a workaround for bug #8525
Uwe Stöhr [Sun, 17 Feb 2013 01:17:04 +0000 (02:17 +0100)]
Preamble.cpp: register refstyle
- also Revert "tex2lyx/TODO.txt: update" [
4159f05c /lyxgit]
more works needs to be done here
Uwe Stöhr [Sun, 17 Feb 2013 01:11:54 +0000 (02:11 +0100)]
tex2lyx: support for the \textipa inset
Uwe Stöhr [Sat, 16 Feb 2013 21:34:28 +0000 (22:34 +0100)]
tex2lyx/TODO.txt: update
- there is nothing to do for xymatrix, the Xy-pic manual roundtrip works fine
Uwe Stöhr [Sat, 16 Feb 2013 20:49:57 +0000 (21:49 +0100)]
xypic.lyx: update description of spacings for LyX 2.1
- update the spacing description to reflect the new features in LyX 2.1
- also update all web links and squash all LaTeX warnings (ported from branch)
Uwe Stöhr [Sat, 16 Feb 2013 18:34:16 +0000 (19:34 +0100)]
xypic.lyx: port recent fixes from branch
- use a default font except a special one is available
- add our documentation preamble disclaimer
- fixes all occurrences (there were many of them) of the LyX console warnings
"unusual contents found: [formula equation [grid [row [cell [xymatrix [grid [row..."
when the document is opened
- style and formatting fixes for consistency
Georg Baum [Sat, 16 Feb 2013 15:59:26 +0000 (16:59 +0100)]
Add development manual.
This is rather incomplete, and will hopefully be extended in the future.
Currently, its main purpose is to document file format updates and tests.
Georg Baum [Sat, 16 Feb 2013 13:20:04 +0000 (14:20 +0100)]
Fix tex2lyx file format comparison
This is an important part of the tests. If updating the test cases is really a
problem there are two better solutions than not testing the format: Convert
the references with lyx2lyx on the fly, or remove the hard coupling of tex2lyx
and LyX versions again. Both increase additional possible error sources, but
these errors could at least be detected. If the test machinery is made blind
for versions, file format errors are impossible to detect.
Georg Baum [Sat, 16 Feb 2013 13:18:16 +0000 (14:18 +0100)]
Update test case file format
Georg Baum [Sat, 16 Feb 2013 13:16:42 +0000 (14:16 +0100)]
Fix dangerous parser use
Jean-Marc discovered a possible data loss caused by Parser::getChar().
This is now fixed, and Parser::getChar() is removed, since it is no longer
needed and easy to use it in the wrong way.
Scott Kostyshak [Sat, 16 Feb 2013 10:06:38 +0000 (05:06 -0500)]
Update expected test failures
Scott Kostyshak [Sat, 16 Feb 2013 09:58:47 +0000 (04:58 -0500)]
powerdot-example.lyx: set default format to ps2pdf
This way compilation works out of the box.
Scott Kostyshak [Sat, 16 Feb 2013 09:57:02 +0000 (04:57 -0500)]
instant_preview.lyx: set default format to ps2pdf
This way compilation works out of the box.
Scott Kostyshak [Sat, 16 Feb 2013 07:54:17 +0000 (02:54 -0500)]
Add examples to export tests (CMake & autotools)
Now all export tests can be run with:
ctest -R "export"
Only export tests for manuals can be run with:
ctest -R "export/doc"
And only export tests for examples can be run with:
ctest -R "export/examples"
Scott Kostyshak [Sat, 16 Feb 2013 08:05:08 +0000 (03:05 -0500)]
CMake: change name of export autotests
Instead of 'autotests/export/doc/' export tests are prefixed
with 'export/doc/'. This has the advantage of the name better
reflecting the test (export tests are not autotests), but has a
disadvantage in that the old name gave a better idea of where the
export test scripts are located (in the autotests directory).
Scott Kostyshak [Sat, 16 Feb 2013 08:02:38 +0000 (03:02 -0500)]
Make export tests more extendable
For both CMake and autotools. Now we can easily add
the examples to the export tests.
Kornel Benko [Sat, 16 Feb 2013 09:49:34 +0000 (10:49 +0100)]
tex2lyx testing. Adapt files.
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.