]> git.lyx.org Git - lyx.git/log
lyx.git
9 years agoDo not warn about changed modules when changing modules.
Juergen Spitzmueller [Sun, 21 Dec 2014 18:08:41 +0000 (19:08 +0100)]
Do not warn about changed modules when changing modules.

Part of #9356
Also fixes #9365

9 years agoAdd missing using declarations
Georg Baum [Sun, 21 Dec 2014 18:05:00 +0000 (19:05 +0100)]
Add missing using declarations

This fixes using std::tr1::regex for non-MSVC compilers.

9 years agoDo not use tr1 with libc++
Georg Baum [Sun, 21 Dec 2014 17:22:33 +0000 (18:22 +0100)]
Do not use tr1 with libc++

clang defines __GNUC__ but libc++ does not have tr1, so we either need to use
boost, or std and compile in c++11 mode.

9 years ago::readlink() needs unistd.h
Georg Baum [Sun, 21 Dec 2014 17:13:33 +0000 (18:13 +0100)]
::readlink() needs unistd.h

this is included in some gcc headers, but not in c++11 mode, that is the
reason why we did not get a compile error so far.

9 years agoImprove llvm libc++ detection
Georg Baum [Sun, 21 Dec 2014 16:23:56 +0000 (17:23 +0100)]
Improve llvm libc++ detection

The old detection did only work if CFLAGS contained -std=c++11, since ciso646
was only included for __cplusplus > 199711.
Thanks to Koernel for the cmake part.

9 years agoadd Mavericks and Yosemite SDKs
Stephan Witt [Sun, 21 Dec 2014 14:58:34 +0000 (15:58 +0100)]
add Mavericks and Yosemite SDKs

9 years agode.po
Juergen Spitzmueller [Sun, 21 Dec 2014 14:11:36 +0000 (15:11 +0100)]
de.po

9 years agoOutput package options before loading any package.
Juergen Spitzmueller [Sun, 21 Dec 2014 11:10:06 +0000 (12:10 +0100)]
Output package options before loading any package.

Fixes: #9355
9 years agoWhen switching classes, warn user about all unapplied document changes
Juergen Spitzmueller [Sun, 21 Dec 2014 10:49:08 +0000 (11:49 +0100)]
When switching classes, warn user about all unapplied document changes

Currently, this is limited to modules.

Part of #9356.

9 years agoDo not silently dismiss unapplied document changes when adding module
Juergen Spitzmueller [Sun, 21 Dec 2014 10:47:59 +0000 (11:47 +0100)]
Do not silently dismiss unapplied document changes when adding module

Part of #9356

9 years agoFix initialization order
Juergen Spitzmueller [Sun, 21 Dec 2014 09:13:56 +0000 (10:13 +0100)]
Fix initialization order

9 years agoInitialize recently added forceownlines_ bool
Scott Kostyshak [Sat, 20 Dec 2014 20:05:20 +0000 (15:05 -0500)]
Initialize recently added forceownlines_ bool

This adds on to the fix for #8875 (a25569eb).

9 years agoWhitespace
Scott Kostyshak [Sat, 20 Dec 2014 20:03:40 +0000 (15:03 -0500)]
Whitespace

9 years agoCmake build: Check for string COW by checking for library, not compiler
Kornel Benko [Fri, 19 Dec 2014 11:32:14 +0000 (12:32 +0100)]
Cmake build: Check for string COW by checking for library, not compiler

Changed according to automake behaviour, see 385f3e8abdf9840ba89b502c1c83345e4ca40344

9 years agoCheck for string COW by checking for library, not compiler
Jean-Marc Lasgouttes [Wed, 17 Dec 2014 11:28:25 +0000 (12:28 +0100)]
Check for string COW by checking for library, not compiler

Note in particular that clang++ uses libstdc++ (GNU) by default, and not libc++.
Therefore, it suffers from the string COW bug too.

9 years agoDetect whether the C++ compiler is clang
Jean-Marc Lasgouttes [Wed, 17 Dec 2014 11:11:10 +0000 (12:11 +0100)]
Detect whether the C++ compiler is clang

This does not have a real effect for now.

9 years agoar.po: updates from Hatim for master
Uwe Stöhr [Mon, 15 Dec 2014 01:07:15 +0000 (02:07 +0100)]
ar.po: updates from Hatim for master

9 years agoWe cannot convert Flex to Layout by ObsoletedBy
Juergen Spitzmueller [Wed, 10 Dec 2014 07:15:51 +0000 (08:15 +0100)]
We cannot convert Flex to Layout by ObsoletedBy

9 years agoImprove and unify error messages
Georg Baum [Tue, 9 Dec 2014 20:19:49 +0000 (21:19 +0100)]
Improve and unify error messages

Now the errors given for an unknown layout in copystyle and obsoletedby provide
the same information.

9 years agosk.po update
Kornel Benko [Tue, 9 Dec 2014 19:09:06 +0000 (20:09 +0100)]
sk.po update

9 years agoMake Encoding class thread-safe
Georg Baum [Mon, 8 Dec 2014 21:25:40 +0000 (22:25 +0100)]
Make Encoding class thread-safe

Now all const methods may be called without additional locking.
This is assumed by the threaded LaTeX export, which always useses a globally
unique instance for each encoding.

9 years agoFix invalid iterator access
Georg Baum [Mon, 8 Dec 2014 20:29:25 +0000 (21:29 +0100)]
Fix invalid iterator access

9 years agoCmake build: Detect clang and adapt definition of STD_STRING_USES_COW.
Kornel Benko [Mon, 8 Dec 2014 16:43:05 +0000 (17:43 +0100)]
Cmake build: Detect clang and adapt definition of STD_STRING_USES_COW.

9 years agoUpdate the spec file template
Juergen Spitzmueller [Mon, 8 Dec 2014 12:15:06 +0000 (13:15 +0100)]
Update the spec file template

Patch by user aluchko in #9349

Fixes: #9349
9 years ago\\subfloat captions are moving arguments
Jean-Marc Lasgouttes [Thu, 4 Dec 2014 16:27:56 +0000 (17:27 +0100)]
\\subfloat captions are moving arguments

Therefore insets should be protected in these captions.

Fixes bug: #9346.

9 years agoUpdate layouts to current format
Juergen Spitzmueller [Mon, 8 Dec 2014 08:24:44 +0000 (09:24 +0100)]
Update layouts to current format

9 years agoUse ObsoletedBy in fixme and todonotes modules.
Juergen Spitzmueller [Mon, 8 Dec 2014 08:07:30 +0000 (09:07 +0100)]
Use ObsoletedBy in fixme and todonotes modules.

9 years agoAdd ObsoletedBy tag to InsetLayout
Juergen Spitzmueller [Mon, 8 Dec 2014 08:06:41 +0000 (09:06 +0100)]
Add ObsoletedBy tag to InsetLayout

Fixes: #9000.
9 years agode.po: Correct translation
Juergen Spitzmueller [Mon, 8 Dec 2014 07:01:40 +0000 (08:01 +0100)]
de.po: Correct translation

9 years agoTry to fix compilation on cygwin
Georg Baum [Sun, 7 Dec 2014 19:43:47 +0000 (20:43 +0100)]
Try to fix compilation on cygwin

9 years agoFix compilation without trivstring
Georg Baum [Sun, 7 Dec 2014 19:39:31 +0000 (20:39 +0100)]
Fix compilation without trivstring

9 years agoEncapsulate Converter class
Georg Baum [Sun, 7 Dec 2014 17:35:28 +0000 (18:35 +0100)]
Encapsulate Converter class

Now members are not directly accessible anymore.

9 years agoMake Language and Encoding threadsafe
Georg Baum [Sun, 7 Dec 2014 17:26:44 +0000 (18:26 +0100)]
Make Language and Encoding threadsafe

Read-only access to these classes is now threadsafe, with one exception:
The encoding neds to be already initialized (i.e. init() must not be called).
This makes bug 9336 unreproducable on my machine, although it is not completely
fixed yet.

9 years agoWhitespace
Georg Baum [Sun, 7 Dec 2014 16:29:12 +0000 (17:29 +0100)]
Whitespace

9 years agode.gmo
Juergen Spitzmueller [Sun, 7 Dec 2014 13:52:59 +0000 (14:52 +0100)]
de.gmo

9 years agode.po: update
Juergen Spitzmueller [Sun, 7 Dec 2014 13:38:32 +0000 (14:38 +0100)]
de.po: update

9 years agoMake trivstring class ready for use
Georg Baum [Sun, 7 Dec 2014 12:12:26 +0000 (13:12 +0100)]
Make trivstring class ready for use

The interface is now 100% unit tested, and the typedefs depend on the new
STD_STRING_USES_COW configuration variable. The only missing bit is to detect
clang and disable STD_STRING_USES_COW for clang.

9 years agoFirst version of trivstring class (bug #9336)
Georg Baum [Sun, 7 Dec 2014 09:50:18 +0000 (10:50 +0100)]
First version of trivstring class (bug #9336)

As discused on the list. This is not used yet, but it is intended to provide
thread-safe read-access without the need for synchronization if the used STL
implementation does not provide it for std::basic_string. This is the case for
all implementations using copy-on-write.

9 years agoUse appropriate (cheaper) conversion.
Juergen Spitzmueller [Sun, 7 Dec 2014 12:06:29 +0000 (13:06 +0100)]
Use appropriate (cheaper) conversion.

9 years agode.po: update
Juergen Spitzmueller [Sat, 6 Dec 2014 08:59:44 +0000 (09:59 +0100)]
de.po: update

9 years agotex2lyx/text.cpp: bring back a comment as discussed
Uwe Stöhr [Wed, 3 Dec 2014 23:57:14 +0000 (00:57 +0100)]
tex2lyx/text.cpp: bring back a comment as discussed

9 years agoIEEEtran templates: fix language package
Uwe Stöhr [Wed, 3 Dec 2014 22:35:04 +0000 (23:35 +0100)]
IEEEtran templates: fix language package

according to the IEEE writing guidelines one must not use babel otherwise one would violate the caption formatting rule
This fixes bug #9350.

9 years agoIEEEtran templates: fix language package
Uwe Stöhr [Wed, 3 Dec 2014 22:33:02 +0000 (23:33 +0100)]
IEEEtran templates: fix language package

9 years agoRemove unneeded typedef
Georg Baum [Wed, 3 Dec 2014 20:08:13 +0000 (21:08 +0100)]
Remove unneeded typedef

docstring is already defined in strfwd.h (which is included from docstring.h).
There are only two possible cases:
Either the typedef in docstring.h defines an identical type (then it is not
needed), or it defines a different type (then it generates a compilation error)
=> it is not needed.

9 years agoFix XHTML export for new "in title" footnotes. Builds on a patch
Richard Heck [Tue, 2 Dec 2014 16:03:26 +0000 (11:03 -0500)]
Fix XHTML export for new "in title" footnotes. Builds on a patch
by JMarc.

9 years agoAdd a layout tag ForceOwnlines that assures an inset is started and terminated by...
Juergen Spitzmueller [Mon, 1 Dec 2014 13:56:47 +0000 (14:56 +0100)]
Add a layout tag ForceOwnlines that assures an inset is started and terminated by a line break in the LaTeX output.

Fixes: #8875.
9 years agocorrected_env: use breakln instead of hardcoded linebreak
Juergen Spitzmueller [Mon, 1 Dec 2014 13:45:11 +0000 (14:45 +0100)]
corrected_env: use breakln instead of hardcoded linebreak

9 years agoHonor paragraph parameters when converting chunk layouts.
Juergen Spitzmueller [Mon, 1 Dec 2014 11:35:46 +0000 (12:35 +0100)]
Honor paragraph parameters when converting chunk layouts.

Fixes: #9320.
9 years agotex2lyx: support for KOMA-script's \caption* commands
Uwe Stöhr [Mon, 1 Dec 2014 01:57:12 +0000 (02:57 +0100)]
tex2lyx: support for KOMA-script's \caption* commands

- To my knowledge tex2lyx supports now all caption constructs provided by LyX.
- InsetArgument is correct here, I therefore deleted the FIXME.

9 years agoAvoid implicit copy
Georg Baum [Sun, 30 Nov 2014 11:59:00 +0000 (12:59 +0100)]
Avoid implicit copy

9 years agoRemove heavy includes
Georg Baum [Sun, 30 Nov 2014 11:52:01 +0000 (12:52 +0100)]
Remove heavy includes

9 years agoFix return value of CVS::toString() + cosmetics
Georg Baum [Sun, 30 Nov 2014 11:41:49 +0000 (12:41 +0100)]
Fix return value of CVS::toString() + cosmetics

CVS::toString() returns a docstring, so rather be explicit than relying on a
cast that not everybody understands how it works at first sight.

9 years agoA stringstream is overkill here
Georg Baum [Sun, 30 Nov 2014 11:37:43 +0000 (12:37 +0100)]
A stringstream is overkill here

9 years agoFix and simplify par params parsing in get_containing_layout.
Juergen Spitzmueller [Sat, 29 Nov 2014 09:54:05 +0000 (10:54 +0100)]
Fix and simplify par params parsing in get_containing_layout.

The previous verion did not catch \align <alignment>.

Richard, this should go to branch as well.

9 years agoFix bug #9235: LyX 2.2's tex2lyx fails in general on Windows
Enrico Forestieri [Thu, 27 Nov 2014 21:35:20 +0000 (22:35 +0100)]
Fix bug #9235: LyX 2.2's tex2lyx fails in general on Windows

The reason being the backslashes in the path. Note that escaping
does not work here because the path is being interpreted multiple
times (how many times I don't know) and that would be fragile.
For this same reason, the change is not limited to Windows.

9 years agoFix bug #9342: LaTeX build get stuck for unconventional path name
Enrico Forestieri [Thu, 27 Nov 2014 20:59:09 +0000 (21:59 +0100)]
Fix bug #9342: LaTeX build get stuck for unconventional path name

The reason being that the TEXINPUTS path list was not quoted on Windows.
This was no problem with spaces but some special characters are
interpreted by the shell and can cause problems. In this particular
case, the '&' character was being interpreted as a command separator.

9 years agoFix warnings reported by clang
Jean-Marc Lasgouttes [Thu, 27 Nov 2014 17:51:26 +0000 (18:51 +0100)]
Fix warnings reported by clang

All these problems have the same root: the address of a reference can never be 0, and it does not make sense to test it.

9 years agoFix reverting of chunks insets to 2.0 format
Jean-Marc Lasgouttes [Thu, 27 Nov 2014 15:30:00 +0000 (16:30 +0100)]
Fix reverting of chunks insets to 2.0 format

When the chunk inset did not have an optional argument, the prefix of the chunk was omitted.

Fixes bug: #9343

9 years agoBetter fix for bug #8679
Georg Baum [Wed, 26 Nov 2014 21:06:15 +0000 (22:06 +0100)]
Better fix for bug #8679

Thanks to Enrico, who noticed that the previous fix did not take into account
the case of nonempty length argument + the next line beginning with [.
Now the parsing is exactly the inverse of InsetMathGrid::eolString().

9 years agoAdd new variables lyx_build_date/time
Jean-Marc Lasgouttes [Tue, 25 Nov 2014 17:41:33 +0000 (18:41 +0100)]
Add new variables lyx_build_date/time

These are now in version.cpp. The build machinery should therefore make sure
that version.cpp is recompiled at every compilation.

These variables are now referred to by the other places that made use of __DATE__ and __TIME__.

9 years agoFix conversion of beamer block titles when the language is switched at the beginning...
Juergen Spitzmueller [Tue, 25 Nov 2014 16:47:14 +0000 (17:47 +0100)]
Fix conversion of beamer block titles when the language is switched at the beginning of the title

9 years agotex2lyx/text.cpp: add missing part of a comment
Uwe Stöhr [Mon, 24 Nov 2014 23:53:35 +0000 (00:53 +0100)]
tex2lyx/text.cpp: add missing part of a comment

9 years agotex2lyx: support for glue lengths in InsetSpace
Uwe Stöhr [Mon, 24 Nov 2014 23:50:39 +0000 (00:50 +0100)]
tex2lyx: support for glue lengths in InsetSpace

9 years agoFix bug in 81badf: char_type and double do not have the same size
Jean-Marc Lasgouttes [Mon, 24 Nov 2014 21:51:12 +0000 (22:51 +0100)]
Fix bug in 81badf: char_type and double do not have the same size

9 years agoAutotools: read git commit hash at compile time
Jean-Marc Lasgouttes [Mon, 24 Nov 2014 17:39:18 +0000 (18:39 +0100)]
Autotools: read git commit hash at compile time

Also do as cmake to avoid full recompilation when the hash changes.

9 years agotex2lyx: support relative lengths in \vspace and \hspace
Uwe Stöhr [Sun, 23 Nov 2014 03:56:47 +0000 (04:56 +0100)]
tex2lyx: support relative lengths in \vspace and \hspace

9 years agoUpdate it.po
Enrico Forestieri [Sun, 23 Nov 2014 02:39:05 +0000 (03:39 +0100)]
Update it.po

9 years agotex2lyx/Preamble.cpp: add support for all \defskip lengths
Uwe Stöhr [Sun, 23 Nov 2014 02:28:07 +0000 (03:28 +0100)]
tex2lyx/Preamble.cpp: add support for all \defskip lengths

- support for percentage length was missing and the fix is really that simple

9 years agotex2lyx/TODO.txt: \=*{char} is already supported by tex2lyx
Uwe Stöhr [Sun, 23 Nov 2014 00:30:13 +0000 (01:30 +0100)]
tex2lyx/TODO.txt: \=*{char} is already supported by tex2lyx

9 years agotex2lyx/TODO.txt: the UGM fonts are already fully supported
Uwe Stöhr [Sat, 22 Nov 2014 23:40:47 +0000 (00:40 +0100)]
tex2lyx/TODO.txt: the UGM fonts are already fully supported

9 years agoLet the Foot inset have a different Layout when inside a title
Jean-Marc Lasgouttes [Fri, 14 Nov 2014 13:53:11 +0000 (14:53 +0100)]
Let the Foot inset have a different Layout when inside a title

This allows to address two main issues
 * \thanks does only accept one paragraph, while \footnote allows several (ticket #2666)
 * footnotes in titling environments were not numbered on screen.

Moreover, the code reduces hardcoding of features, which is always a good thing.

There are several pieces in this commit:

 * new numbering type \fnsymbol for counters

 * the Foot inset changes its layoutName() to Foot:InTitle when inside a paragraph with InTitle property. This is set when running updateBuffer.

 * Foot:intitle uses the \thanks command, does not allow multiple paragraphs and marks its contents as moving argument.

 * The InsetLayouts for Foot now have properLaTeXName/Type, so that InsetFoot::latex can be removed; further code simplification is probably possible.

Fixes: #2666
9 years agoFix unwanted curly braces in formula (bug #8679)
Georg Baum [Thu, 20 Nov 2014 21:05:05 +0000 (22:05 +0100)]
Fix unwanted curly braces in formula (bug #8679)

There was an unsymmetry between reading and writing: InsetMathGrid::eolString()
adds curly braces if the first cell of the next line starts with [ to prevent
misparsing as optional argument of \\. These braces were not removed on reading.

9 years agoRELEASE-NOTES: Describe obsoletion of \\rtl
Scott Kostyshak [Thu, 20 Nov 2014 08:17:37 +0000 (03:17 -0500)]
RELEASE-NOTES: Describe obsoletion of \\rtl

9 years agoC-a is now bound to inset-select-all
Scott Kostyshak [Tue, 18 Nov 2014 01:14:22 +0000 (20:14 -0500)]
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.

9 years agoMake style of RELEASE-NOTES consistent
Scott Kostyshak [Thu, 20 Nov 2014 07:43:55 +0000 (02:43 -0500)]
Make style of RELEASE-NOTES consistent

9 years agoClean RELEASE-NOTES for 2.2
Scott Kostyshak [Thu, 20 Nov 2014 07:25:12 +0000 (02:25 -0500)]
Clean RELEASE-NOTES for 2.2

I kept the notes on Python 3 incompatibility and the advice to
compile with Qt 4.8.x.

9 years agotex2lyx/Preamble.cpp: whitespace fix
Uwe Stöhr [Thu, 20 Nov 2014 01:03:06 +0000 (02:03 +0100)]
tex2lyx/Preamble.cpp: whitespace fix

- revert unnecessary change from previous commit

9 years agotex2lyx: support for the libertine fonts
Uwe Stöhr [Thu, 20 Nov 2014 01:01:05 +0000 (02:01 +0100)]
tex2lyx: support for the libertine fonts

- all libertine font variants are now supported

9 years agoFix viewer file paths on windows (bug #8892)
Georg Baum [Wed, 19 Nov 2014 21:47:36 +0000 (22:47 +0100)]
Fix viewer file paths on windows (bug #8892)

Some applications do not accept forward slashes, so call external viewers
and editors with backward slashes which is the usual convention under windows.

9 years agoShow export message also for non-threaded export
Georg Baum [Wed, 19 Nov 2014 21:45:25 +0000 (22:45 +0100)]
Show export message also for non-threaded export

9 years agouse enchant exception message accessor
Stephan Witt [Tue, 18 Nov 2014 21:06:11 +0000 (22:06 +0100)]
use enchant exception message accessor

9 years agoRemove unneeded mutable keywords
Georg Baum [Tue, 18 Nov 2014 20:08:43 +0000 (21:08 +0100)]
Remove unneeded mutable keywords

9 years agoMake document_language non-mutable
Georg Baum [Tue, 18 Nov 2014 19:51:21 +0000 (20:51 +0100)]
Make document_language non-mutable

The many occurances of the mutable keyword in LyX sources make it quite
difficult to understand what is really const and what not, and to debug
multithreading memory problems. In this particular case it is not needed
at all to have a mutable member, so make it non-mutable.

9 years agoAdd lookup for standard location of hunspell dictionaries of Debian packages
Stephan Witt [Tue, 18 Nov 2014 07:56:23 +0000 (08:56 +0100)]
Add lookup for standard location of hunspell dictionaries of Debian packages

9 years agoAdd diagnostic messages for enchant spell checker dictionary requests
Stephan Witt [Tue, 18 Nov 2014 07:48:02 +0000 (08:48 +0100)]
Add diagnostic messages for enchant spell checker dictionary requests

9 years agoDo nothing if converting to the same type of Note
Scott Kostyshak [Thu, 13 Nov 2014 01:31:38 +0000 (20:31 -0500)]
Do nothing if converting to the same type of Note

The advantage is that the buffer will no longer be
marked as dirty when converting to the same type.

A quick break here is done instead of disabling the
LFUN because disabling the LFUN would lead to a greyed out
entry, which might confuse users. In the future, we might
want to have a radio button for switching between notes.

9 years agoFix memory error detected by valgrind
Georg Baum [Mon, 17 Nov 2014 21:08:21 +0000 (22:08 +0100)]
Fix memory error detected by valgrind

The assignment name = sub.str(1) reads from the first argument given to
regex_match(), but previously this was a temporary object which was already
out of scope. This did probably not matter much in practice, but invoked
undefined behaviour, and as we all know this is allowed ton format your hard
disk or kill to your cat, so better fix this.

9 years agoDocument Buffer::preview()
Georg Baum [Mon, 17 Nov 2014 21:07:38 +0000 (22:07 +0100)]
Document Buffer::preview()

9 years agoadd short git hash to name of devel disk images to get different names for devel...
Stephan Witt [Mon, 17 Nov 2014 18:43:33 +0000 (19:43 +0100)]
add short git hash to name of devel disk images to get different names for devel versions without manual intervention

9 years agoMake sure that UpdateLocker is used correctly in the future
Jean-Marc Lasgouttes [Mon, 17 Nov 2014 10:52:14 +0000 (11:52 +0100)]
Make sure that UpdateLocker is used correctly in the future

9 years agosymbols: support the AMS commands \l(r)v(V)ert
Uwe Stöhr [Sun, 16 Nov 2014 22:09:28 +0000 (23:09 +0100)]
symbols: support the AMS commands \l(r)v(V)ert

- fixes bug #3538

9 years agoMake doExport() helper private
Georg Baum [Sun, 16 Nov 2014 19:51:42 +0000 (20:51 +0100)]
Make doExport() helper private

One declaration of doExport() was not used, and the other one was only used by
Buffer, so make it private since returning the exported file name is a bit
strange if it can also appear as input argument.

9 years agoClarify member variable documentation
Georg Baum [Sun, 16 Nov 2014 18:15:13 +0000 (19:15 +0100)]
Clarify member variable documentation

9 years ago#9317 add method cleanDuplicateEnvVars() to correct the broken environment with dupli...
Stephan Witt [Sun, 16 Nov 2014 16:21:46 +0000 (17:21 +0100)]
#9317 add method cleanDuplicateEnvVars() to correct the broken environment with duplicate PATH values passed by Yosemite's launchd(8)

9 years agoConvert updatelayouts.sh to python
Georg Baum [Sun, 16 Nov 2014 11:43:52 +0000 (12:43 +0100)]
Convert updatelayouts.sh to python

This makes the script usable on windows and speeds it up by an order of
magnitude, since no new process needs to be forked for each layout file.
It also does not conevrt .old files again.

9 years agoFix typo
Georg Baum [Sun, 16 Nov 2014 11:40:23 +0000 (12:40 +0100)]
Fix typo

9 years agoTypo
Scott Kostyshak [Sun, 16 Nov 2014 00:21:13 +0000 (19:21 -0500)]
Typo

9 years agoGet rid of boost::noncopyable.
Richard Heck [Fri, 14 Nov 2014 23:40:07 +0000 (23:40 +0000)]
Get rid of boost::noncopyable.

9 years agoFix recursive math macro crash (bug #9140)
Georg Baum [Fri, 14 Nov 2014 20:30:42 +0000 (21:30 +0100)]
Fix recursive math macro crash (bug #9140)

This is different from bug #8999, since in this case a new macro instance is
created. You still get a TeX capacity exceeded error if you try to typeset the
exported document, but this is the same as for bug #8999 and better than a
crash.

9 years agoLoad footmisc.sty instead of using outdated code
Georg Baum [Fri, 14 Nov 2014 19:20:35 +0000 (20:20 +0100)]
Load footmisc.sty instead of using outdated code

This is a patch I originally sent to lyx-devel in 2012 with subject
'Load footmisc.sty instead of using copied code from obsolete stblftnt.sty'.
It now takes all comments into account: It works also if the user loads the
package herself, it can be disabled by providing the footmisc feature in a
layout, and it does not use the ugly \AtBeginDocument{}.