Vincent van Ravesteijn
752f2e4811
Revert "While exporting from the command-line, theApp() doesn't exist."
...
This reverts commit 4285b0b31698cb83c3a525d1cf6b54c5d4654142.
2012-12-15 11:05:21 +01:00
Vincent van Ravesteijn
e78e987649
Revert "Cmake build: Make PreviewLoader.cpp compilable again"
...
This reverts commit 0a2c70636a49eb1b2457d29b05d9c4ee5bcc2843.
2012-12-15 11:05:09 +01:00
Vincent van Ravesteijn
0cd8c03d17
CMake: Put projects into subdirs
...
This patch puts all projects into subfolders (at least for MSVS). In this
way, there is a better overview (especially if the number of test projects
will be increasing).
2012-12-15 11:02:06 +01:00
Kornel Benko
892e237fe1
Cmake build: Testing
...
Make this all more the cmake way
2012-12-15 00:15:59 +01:00
Kornel Benko
78470fba03
Cmake build: tex2lyx
...
Retrieve and name the test-cases with a globbing expression
2012-12-14 19:47:43 +01:00
Kornel Benko
2b66f1b1ac
Split roundtrip tests (at least on cmake build)
...
to show better grained output
2012-12-14 19:07:28 +01:00
Kornel Benko
8c0ca33295
Roundtrip test. Forgotten in previous commit
2012-12-14 13:33:56 +01:00
Kornel Benko
c3256a2d52
Roundtrip test corrected, due to changes of tex2lyx (less emty lines)
2012-12-14 13:31:21 +01:00
Jean-Marc Lasgouttes
275b889501
tex2lyx: there is no need to have a blank line after \begin_layout
...
I think it used to be the case in LyX, but not anymore. Removing this extra line helps to do lyx>tex>lyx roundtrip analysis
2012-12-14 12:50:46 +01:00
Jean-Marc Lasgouttes
f775add258
Whitespace only
2012-12-14 12:33:39 +01:00
Kornel Benko
81500fc99b
Cmake build:
...
Move definitions of target ${_lyx} and ${_tex2lyx} to top-most directory,
to make them overall available
2012-12-14 12:23:17 +01:00
Stephan Witt
2bd5b250c4
use correct format string for alert message
2012-12-13 22:23:06 +01:00
Kornel Benko
96dd1363a2
Cmake build: all tests
...
1.) Rename tests to show their grouping
2.) Adapt the roundtrip tests to new lyx-format
2012-12-13 15:35:04 +01:00
Kornel Benko
0a2c70636a
Cmake build: Make PreviewLoader.cpp compilable again
2012-12-12 20:42:58 +01:00
Tommaso Cucinotta
4285b0b316
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.
2012-12-12 19:22:42 +00:00
Scott Kostyshak
1954458817
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.
Based on a patch by Zahari Dimitrov.
2012-12-12 04:04:39 -05:00
Scott Kostyshak
4b706051b7
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.
Related to #1802 .
2012-12-12 03:46:12 -05:00
Scott Kostyshak
5cc1adf7c7
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.
2012-12-12 03:44:17 -05:00
Scott Kostyshak
776e66688f
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.
2012-12-12 03:43:53 -05:00
Jean-Marc Lasgouttes
146b754f1d
Fix crash related to undo and continuous spell checking
...
The cursor member new_word_ should not be saved in undo.
Move it from CursorData to Cursor.
2012-12-11 10:14:47 +01:00
Juergen Spitzmueller
e93f4d470d
Possibility to specify a preset argument
...
This will be needed for beamer plain and fragile frame support.
2012-12-10 14:09:51 +01:00
Juergen Spitzmueller
625e25264b
Consider filtering when selecting from categorized combo ( #8452 )
2012-12-10 12:52:23 +01:00
Juergen Spitzmueller
99ee47f0cd
Disallow the insertion of multiplenon-item arguments of the same type in a sequence of merged environment pars
2012-12-10 09:19:56 +01:00
Juergen Spitzmueller
25ef8e7eef
Allow to separate menu string from label string for arguments
2012-12-09 19:15:41 +01:00
Juergen Spitzmueller
d073cfb458
Support for beamer block arguments ( #3280 )
2012-12-09 17:19:21 +01:00
Georg Baum
99ffb47cc3
Replace some hard coded numbers with names
...
And prevent a crash if LaTeX is accidentally output for a math font.
2012-12-09 13:05:19 +01:00
Juergen Spitzmueller
30b53ba4a0
beamer revision, part 1: support for overlay arguments
2012-12-09 11:04:56 +01:00
Juergen Spitzmueller
906a473e57
Do not force Flex insets to be collapsed at insertion ( #8442 )
2012-12-08 09:35:52 +01:00
Jean-Marc Lasgouttes
0425500be5
Set window title correctly at start up
2012-12-05 22:46:29 +01:00
Richard Heck
ae7bc12ab6
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
2012-12-05 11:16:21 -05:00
Richard Heck
255ca92be2
Minor formatting stuff.
2012-12-05 10:49:35 -05:00
Juergen Spitzmueller
1f720826d6
Fix InsetCaption::getArgument (subfigure problems reported by Kornel, but also listings caption)
2012-12-04 17:06:52 +01:00
Juergen Spitzmueller
a84a98b545
Also add support for URW Garamond math fonts (via newtx)
2012-12-04 12:55:47 +01:00
Juergen Spitzmueller
53626a8beb
tex2lyx updates for the recent format change
2012-12-04 12:20:34 +01:00
Juergen Spitzmueller
52c2fb81e9
Support for the URW Garamond LaTeX fonts
2012-12-04 12:14:26 +01:00
Juergen Spitzmueller
39ec866f68
make \lyxadded and \lyxdeleted robust ( #8435 )
2012-12-03 13:55:20 +01:00
Vincent van Ravesteijn
fdee77a6b5
Fix monolithic build
2012-12-02 15:50:45 +01:00
Juergen Spitzmueller
df7f2a074f
Fix greyedout notes UI color ( #6682 ) as good as it gets ATM
2012-12-02 10:41:49 +01:00
Juergen Spitzmueller
2b40823d8e
Implement resetArgs to InsetLayout ( #8437 )
2012-12-02 10:16:26 +01:00
Juergen Spitzmueller
d7e0798ade
Fix argument status detection for InsetText
2012-12-01 11:49:24 +01:00
Juergen Spitzmueller
ee0860e403
Fix shaded box UI color ( #7395 ) as good as it gets ATM
2012-11-30 17:11:07 +01:00
Juergen Spitzmueller
ecf18084ff
allow linebreak in argument delimiter string
2012-11-30 09:13:38 +01:00
Juergen Spitzmueller
3931331b56
update tex2lyx test files
2012-11-30 09:08:54 +01:00
Juergen Spitzmueller
1500e44cba
Support for \item arguments
2012-11-29 15:34:20 +01:00
Juergen Spitzmueller
a7f8fb8c5f
Provide option to force a local language switch where a global is not allowed ( fixes #8033 )
2012-11-28 20:55:21 +01:00
Juergen Spitzmueller
9b589ba9d9
Don't know how this slipped in
2012-11-28 19:13:22 +01:00
Juergen Spitzmueller
53002538fa
Pass local font to arguments and assure pass_thru is inherited
2012-11-28 19:02:07 +01:00
Jean-Marc Lasgouttes
4f6c0b5202
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.
2012-11-28 14:11:47 +01:00
Juergen Spitzmueller
4d1b495139
LaTeXParam and Argument do not necessarily exclude each other
2012-11-26 13:09:54 +01:00
Juergen Spitzmueller
41014dec49
Merge branch 'master' of git.lyx.org:lyx
2012-11-26 09:10:34 +01:00