Juergen Spitzmueller
194298045c
Color lines of added/deleted rows/columns
2020-01-13 19:02:48 +01:00
Jean-Marc Lasgouttes
93794d6fea
Implement isChanged for tabular inset.
2020-01-13 16:35:15 +01:00
Juergen Spitzmueller
bbc6ea4a5f
Implement change tracking of column/row addition/deletion
...
Fixes #8469
File format change
2020-01-11 16:17:04 +01:00
Juergen Spitzmueller
8a17cc01e0
Implement (basic) ct for tabular-feature delete-row and delete-column
...
Fixes part of #8469
For a proper fix that works with change-reject as well as with hide
changes in output, we need to implement
ct information in tabular's row and column.
2019-12-29 14:09:52 +01:00
Juergen Spitzmueller
b37b39365f
Remove obsolete FIXMEs
2019-12-29 12:07:55 +01:00
Juergen Spitzmueller
da5ad1736a
Handle change-accept and change-reject in multi-cell selection
...
Fixes #8426
2019-12-27 12:05:56 +01:00
Jean-Marc Lasgouttes
5ac3b88007
Disable inset-dissolve in table cells
...
This is better than making sure that the inset has exactly one cell.
In the future, inset-dissolve could be extended to dissolve all the
cells contents in the enclosing text.
Note that this check does not appear in mathed, and using dissolve in
e.g. fraction inset may lead to data loss (only current cell contents
is preserved).
2019-12-06 09:54:43 +01:00
Juergen Spitzmueller
967158c054
Always use local font switches in table cells.
2019-11-17 11:07:18 +01:00
Jean-Marc Lasgouttes
3fffa6eb83
Fix cut-n-paste error
...
Spotted by cppcheck.
2019-09-16 00:47:47 +02:00
Juergen Spitzmueller
ce447e1760
Deactivate active - in tables with \cline or \cmidrule
...
This introduces a new languages tag ActiveChar which also can be used
for similar cases.
2019-08-14 13:10:42 +02:00
Juergen Spitzmueller
28b126b100
Fix cline/cmidrule calculation once more
2019-08-14 11:25:31 +02:00
Juergen Spitzmueller
5621c12135
fix midrule calculation
2019-08-13 19:29:39 +02:00
Juergen Spitzmueller
b852df91bc
Localize the default decimal separator
...
Do not blindly use (English) "." as default, but the locale default of
the current context language.
Fixes : #7204
2019-07-22 08:05:28 +02:00
Juergen Spitzmueller
04bd57a86a
Factor out test for bidi package (= XeTeX + polyglossia)
2019-07-11 10:31:10 +02:00
Juergen Spitzmueller
6f8db58778
LuaTeX (luabidi) does not swap table columns
...
This amends [21b347a2f8485/lyxgit].
2019-07-10 22:57:34 +02:00
Kornel Benko
58804aa399
Omit floating point exception
2019-05-31 12:55:12 +02:00
Juergen Spitzmueller
fe589d5622
Fix toprule with booktabs/longtable and captions
2019-05-31 10:48:00 +02:00
Juergen Spitzmueller
89f6de9835
Append rows and columns if necessary when pasting into table
2019-04-23 08:34:53 +02:00
Juergen Spitzmueller
302796ade1
Amend cf1c506d64
...
Get direct copying fro LibreOffice working
2019-04-22 11:10:07 +02:00
Juergen Spitzmueller
cf1c506d64
Handle plain text/html rows/columns in tabular LFUN_PASTE
...
Fixes : #7932
2019-04-22 10:56:00 +02:00
Juergen Spitzmueller
97d3b73e9a
Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT
2019-04-04 08:24:25 +02:00
Juergen Spitzmueller
f60bda37a6
booktabs trimming: fix some thinkos
2019-04-03 17:18:21 +02:00
Juergen Spitzmueller
bf5d5e5d66
Fix cmidline trimming with multicolumns
2019-04-03 16:35:08 +02:00
Juergen Spitzmueller
8085fc21f8
booktabs: support for \cmidrule trimming
...
This has probably still some rough edges, so please test thoroughly.
Fixes : #3072
2019-04-03 07:59:52 +02:00
Juergen Spitzmueller
a8f778b66c
reset.formal-default: no need to fiddle with left/right lines at all.
2019-04-01 09:27:12 +02:00
Juergen Spitzmueller
00de6c4be7
Fix left/right border UI when toggling formal
...
Fixes : #9835
2019-04-01 09:26:09 +02:00
Juergen Spitzmueller
3bbcfda3db
Add option to reset to default booktabs lines
...
Addresses: #10106
2019-04-01 07:08:13 +02:00
Juergen Spitzmueller
819c9c1645
Fix booktabs bottom line with multirows
...
Fixes : #11445
2019-04-01 05:43:32 +02:00
Juergen Spitzmueller
cb84f752f2
Add tabular-features set-inner-lines and fix set-all-lines behavior
...
Patch by Daniel Ramöller (racoon)
Fixes : #11382
2018-12-28 10:11:42 +01:00
Jean-Marc Lasgouttes
0920872ebd
Revert "Try to please windows compiler"
...
This reverts commit a8b0e64094
.
2018-09-18 23:06:36 +02:00
Jean-Marc Lasgouttes
ad29b0067f
Revert "Use new display() values to remove some inset hardcoding."
...
This is a work in progress that committed by mistake.
This reverts commit b28ec44476
.
2018-09-12 15:26:15 +02:00
Jean-Marc Lasgouttes
b28ec44476
Use new display() values to remove some inset hardcoding.
...
The enum is now made of flags that can be combined.
This introduces several new values for Inset::DisplayType:
BreakBefore, BreakAfter and Display=BreakBefore|BreakAfter. This
last value replaces AlignCenter.
Additionally the flags NoBoundary and CanBreakAfter are introduced for
future use.
Now a left aligned displayed inset will be defined as Display|LeftAlign.
A newline inset is characterized as BreakAfter.
This structure is used in breakRow to avoid explicit calls to
isNewline() or isEnvSeparator(). More improvements will be built on
top of this.
Additionally several redundant display() methods (which returned
Inline) have been removed.
2018-09-12 11:38:01 +02:00
Juergen Spitzmueller
a8b0e64094
Try to please windows compiler
2018-07-28 10:26:52 +02:00
Jean-Marc Lasgouttes
ab2b5e02f9
Revert "Make formal table lines exagerately thick to identify \cmidrule"
...
This not the correct solution. Let's see if we find a better one.
This reverts commit d900b1fcec
.
2018-07-25 17:40:42 +02:00
Juergen Spitzmueller
1883c4346d
Revert "Fix toggle-line for multi-cell selection"
...
This changes the behavior of the table border toolbar in a way I am not sure everybody appreciates.
This reverts commit 022228e56f
.
2018-07-24 08:48:33 +02:00
Jean-Marc Lasgouttes
d900b1fcec
Make formal table lines exagerately thick to identify \cmidrule
...
Width is now 3 for top/bottomrule, 2 for midrule and 1 for cmidrule.
These numbers are bogus of course, but the goal is to help the user
see what he is doing.
2018-07-24 00:07:59 +02:00
Juergen Spitzmueller
022228e56f
Fix toggle-line for multi-cell selection
2018-07-23 17:00:31 +02:00
Juergen Spitzmueller
91254472e6
Allow to change multiple columns' width at once
...
Fixes : #11205
2018-07-23 16:36:19 +02:00
Jean-Marc Lasgouttes
84328c8538
Amend 8651cd89
: only full top/bottom rules are thicker
2018-07-21 20:07:33 +02:00
Jean-Marc Lasgouttes
8651cd89f6
Draw top/bottom rules heavier for booktab
...
This gives a better idea of the TeX output, even though the width are
not correct.
2018-07-20 00:26:41 +02:00
Juergen Spitzmueller
1cfa56b5cb
Correctly calculate cell metrics with xtabular columns
...
Fixes rest of #11182
2018-07-07 09:18:47 +02:00
Juergen Spitzmueller
fa9675965a
Do not expand tabular cells to maxwidth on line break
...
Fixes part of #11182 .
2018-07-06 16:15:13 +02:00
Juergen Spitzmueller
25f274f2a0
Amend e5c79a43ee
...
Consider some tabularx specifics for the display of tabular/column widths
in the workarea.
2018-07-02 19:16:22 +02:00
Juergen Spitzmueller
e5c79a43ee
Attempt to reflect tabular width in workarea
...
This is not perfect, since variable width columns will break at a certain
treshold, but it is better than what we have now (no tabular width
indication at all)
2018-07-02 17:05:46 +02:00
Juergen Spitzmueller
9dcb24d578
Support varwidth's V tabular column type
...
This effectively enables linebreaks, multipars and layout changes in
non-fixed width (i.e., standard) table columns.
Fixes : #6577
TODO: metrics are wrong (too wide) on screen with linebreaks.
2018-07-01 19:18:38 +02:00
Juergen Spitzmueller
88e5e5fd34
Wrap rotated cells with linebreaks in varwidth
...
Fixes : #8085
2018-06-30 14:32:27 +02:00
Juergen Spitzmueller
21005cbd6f
Fix definition of boolean
2018-06-25 12:01:26 +02:00
Juergen Spitzmueller
8db5ff18cf
With xltabular, multi-page tables can have a fixed width
2018-06-25 10:53:40 +02:00
Juergen Spitzmueller
f38816bf16
Add support for tabularx/xltabular
...
I.e., variable width columns in single and multiple page tables
Files format change.
Fixes : #4154 , #4155
2018-06-24 10:05:15 +02:00
Scott Kostyshak
bde1834f7e
Center longtable explicitly ( #10690 )
...
"Center" is the default of longtable, but some situations require it
to be centered explicitly, such as when using floatrow:
https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
2018-05-08 11:18:07 -04:00