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.
Scott Kostyshak [Wed, 12 Dec 2012 08:44:38 +0000 (03:44 -0500)]
Fix a bug when selecting a cell in InsetTabular
Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.
Scott Kostyshak [Wed, 12 Dec 2012 08:44:17 +0000 (03:44 -0500)]
Fix another selection bug in InsetTabular
Fix #4981:
In tabular if a vertical selection is made with the keyboard (e.g.
LFUN_UP_SELECT), the selection is drawn if there are two cells selected.
Previously, the selection would be drawn only if there were more than
two selected.
Scott Kostyshak [Wed, 12 Dec 2012 08:43:53 +0000 (03:43 -0500)]
Fix a selection bug in InsetTabular
If you have a selection across cells in tabular, moving the cursor
vertically up or down (e.g. LFUN_UP) now removes the drawn selection.
Before, the selection was set to false but it was not repainted.
Richard Heck [Mon, 10 Dec 2012 16:09:50 +0000 (11:09 -0500)]
Fix lyx2lyx bug: We need to check for quoted names before we check
for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
(cherry picked from commit 945c0e4127e0393ee50907e9aa7f04a2c972a5fc)
Georg Baum [Thu, 18 Oct 2012 18:41:23 +0000 (20:41 +0200)]
Add automatic color package loading for listings
The listings inset does automatically load the color package if any parameter
contains \color. As mentioned in bug #8066 tex2lyx needs to be aware of this,
so the \usepckage{color} is automatically skipped in these cases.
Georg Baum [Thu, 4 Oct 2012 22:12:18 +0000 (00:12 +0200)]
Really fix bug #4468.
The old fix was incomplete (\verb~\~ was translated to \verb~~ in roundtrip).
The real cause for this bug (and also the mistranslation of \href{...}{\}})
was the misbehaviour of Token::character() (see comment in Parser.h): This
method even returns a character if the category is catEscape, and this is not
wanted in most (all?) cases.
Uwe Stöhr [Sat, 30 Jun 2012 01:25:19 +0000 (03:25 +0200)]
tex2lyx: fix handling of \verb
- Parser.cpp: \verb can have any character as delimiter (except of ASCII letters) not only '+', therefore partly revert [3943b887/lyxgit] and fix it for all cases