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 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.
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.
Kornel Benko [Tue, 11 Dec 2012 14:17:04 +0000 (15:17 +0100)]
Cmake build: First try to use autotests.
Many test are not running, but if changed the '-dbg xxx' to '-dbg any'
then all of sudden they pass ...
(The buffered output of lyx is often disrupted too early with 'kill -9',
so the expected data are not available for the appropriate test)
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.
Richard Heck [Wed, 5 Dec 2012 16:16:21 +0000 (11:16 -0500)]
Disentangle moduleCanBeAdded for ordinary layout modules and the
new (but not yet functioning, it seems) citation modules. This
fixes a bug reported on the list:
http://marc.info/?l=lyx-users&m=135456590710371&w=2
Uwe Stöhr [Mon, 3 Dec 2012 23:55:39 +0000 (00:55 +0100)]
europeCV: complete revision of layout and example file
- also fix in the generic conversion routine the cases
- that there are one or more optional arguments before the mandatory ones
- that the conversion does not start with the first argument of a command
Uwe Stöhr [Sun, 2 Dec 2012 14:58:14 +0000 (15:58 +0100)]
acmsiggraph: complete revision of layout and template file
- also support in the lyx2lyx argument conversion routine the case that "}{" appears in 2 consecutive ERTs
- also fix in lyx2lyx_tools.py the output of ERTs (it is important that we write the same amount of lines as if the ERT would have been inserted via LyX 2.0 or lyX 2.1)
Fix # 8414: Use the noweb module instead of literate-* article layouts
Now that we have module support for literate programming, it is possible to do a noweb cleanup. This is basically a patch from Kayvan Sylvan:
- get rid of literate-xxx classes
- rename Scrap to Chunk, since this is the name noweb doc uses (Scrap is from nuweb)
- update lyx file format and add lyx2lyx support for gettting rid of literate-xxx classes
- update documentation
On the top of it, update tex2lyx to
- avoid creating files with literate-xxx class
- fix conflict between parsing << as a quote and parsing it as a Chunk
- create Chunk layouts instead of Scrap ones.
Richard Heck [Wed, 28 Nov 2012 01:50:09 +0000 (20:50 -0500)]
Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.
Uwe Stöhr [Mon, 26 Nov 2012 04:19:47 +0000 (05:19 +0100)]
IJMPC/D: update layout and template files
- add a mandatory argument
- remove an optional argument that compiles, but would break the layout of the output completely (is also not documented nor explicitly defined)
- also add a safe guard for the lyx2lyx conversion routines