Uwe Stöhr [Sat, 16 Feb 2013 18:33:01 +0000 (19:33 +0100)]
xypic.lyx: many formatting fixes
- 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 formattig fixes for consistency
Uwe Stöhr [Sat, 16 Feb 2013 00:44:02 +0000 (01:44 +0100)]
GuiTabular.cpp: fix bug #8285 for branch
fixes:
- LyX uses for a decimal alignment a multicolumn and having for a cell a multicolumn _and_ a multirow is invalid LaTeX. Therefore do not allow to set table cells to this in the dialog.
- It was impossible to unset a decimal alignment via the context menu or toolbar button.
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.
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.
(cherry picked from commit 1b7d812e5116a39d3319cda234c652f64bec9dd3)
Uwe Stöhr [Wed, 23 Jan 2013 22:24:53 +0000 (23:24 +0100)]
chkconfig.ltx: remove check for cbgreek
- we would need to check for a font but this doesn't work in branch. To Thus the current check is senseless because it will always fail, see #8522. Therefore I revert its addition to keep branch clean.
Note the check for wasy in branch shows the same problematic but it is there for ages.
Revert the achemso.layout changes because they were not that pressing (preamble stuff was supported via styles).
For modernCV I don't see another way than to let it in because it is not working as it was, neither with TeXLive 2012 nor with MiKTeX and therefore in most cases unusable
Julien Rioux [Sat, 12 Jan 2013 00:04:07 +0000 (01:04 +0100)]
Force BibTeX rerun upon add/remove/change citation (fixes #6955).
Reordering citations is one case where catching "Citation undefined
on page ..." doesn't catch the need for a bibtex rerun. This patch
ensures the proper ordering is obtained in pdf output without having
to resort to closing and reopening the LyX document.
Uwe Stöhr [Sat, 12 Jan 2013 14:27:50 +0000 (15:27 +0100)]
chkconfig.ltx: check for packages needed by doc file
- also change the checking order to get an at least partially working LyX if the Internet connection breaks during the installation of missing packages
Julien Rioux [Tue, 26 Jun 2012 21:15:04 +0000 (23:15 +0200)]
Update the lilypond example file.
- Add a note about HTML.
- Add a note about using external files.
- Add a note about using lilypond variables and commands.
- Some corrections and nitpicks.
Uwe Stöhr [Mon, 31 Dec 2012 03:06:40 +0000 (04:06 +0100)]
Customization.lyx: document color names
- there is no need that we force Layout authors to look into the source code to be able to set a color in a layout file.
- German Customization.lyx: adapt chapter 6 to the English version
Uwe Stöhr [Mon, 31 Dec 2012 02:07:13 +0000 (03:07 +0100)]
Customization.lyx: revision of chapter 5
- uniform formatting, clarifications, simplifications, updates, added missing information
- German Customization.lyx: also translations, added missing information that is already in the other language versions
Scott Kostyshak [Wed, 12 Dec 2012 09:04:39 +0000 (04:04 -0500)]
Keep outer tabular borders when delete row/column
Fix #4981:
If the first or last column is deleted, the borders are preserved.
Similarly for the last row, but not for the first row. Selections are
supported.
While exporting from the command-line, theApp() doesn't exist.
It was only needed for getting hex names of colors. So, get them
directly from a ColorCache object with default mapping.