[LyX/2.5.x] tex2lyx: Correctly handle alignment with fixed width columns
Juergen Spitzmueller <[email protected]>
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 9796d45d536cc53e7972a631dd9820d1b6f9cc37 Author: Juergen Spitzmueller <[email protected]> Date: Thu Apr 23 12:41:57 2026 +0200 tex2lyx: Correctly handle alignment with fixed width columns (cherry picked from commit d191cc325cfb1278c451afe233f059e3d36b597f) --- src/tex2lyx/table.cpp | 2 +- status.25x | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index eeed300d65..00d2bb58f6 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -437,7 +437,7 @@ void handle_colalign(Parser & p, vector<ColInfo> & colinfo, // new column, vertical aligned box next.valign = t.character(); next.width = p.verbatim_item(); - if (!next.special.empty()) { + if (!next.special.empty() || next.align != 'n') { ci2special(next); // handle decimal separator if (next.decimal_point != '\0') { diff --git a/status.25x b/status.25x index 01756efed2..7ee248761a 100644 --- a/status.25x +++ b/status.25x @@ -65,6 +65,9 @@ What's new * TEX2LYX +- Fix import of table with linebreak in column specification + +- Fix parsing of more complex column specification * LYXHTML -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs