Hi (ladies and ?) Gentlemen

First thank's to all of you, you know what for.

I was in trouble with tables for a long time, and surely I am not done
with that, but maybe I made some breakthrough : I noticed that multicell
extra options were not always forwarded to TeX.

After a few hours navigating the sources, I found what I suppose to be a
bug in table.C (see attached diff file).

Please note that :
        - I didn't carefully check that my changes were correct in all
cases. It seems to work, that's all.
        - I didn't check if same king of things occured somewhere else in
the code.
        - I'm not registered to the developers' list. If you need to
contact me, please use my own address or the users' list.

Hope this helps.

Thank's again. Great Work. Don't read the unpleasant remarks we saw a few
time ago on the users' list : no real LyX nor LaTeX user can think that
way.

Cheers
        Alain

 *******************************************************************
 *        Alain Castera                                            *
 * LPNHE - Tour 33 RdC           | e-mail : [EMAIL PROTECTED]*
 * 4 Place Jussieu               | Telephone :     (+33) 144274187 *
 * 75252 Paris Cedex 05          | Fax :           (+33) 144274638 *
 * France                        |                                 *
 *******************************************************************
--- table.C.orig        Wed May 24 15:54:17 2000
+++ table.C     Wed May 24 15:59:35 2000
@@ -1252,8 +1252,8 @@
             file += "\\multicolumn{";
            file += tostr(cells_in_multicolumn(nvcell));
            file += "}{";
-            if (!cellinfo_of_cell(cell+1)->align_special.empty()) {
-                file += cellinfo_of_cell(cell+1)->align_special;
+            if (!cellinfo_of_cell(nvcell)->align_special.empty()) {
+                file += cellinfo_of_cell(nvcell)->align_special;
                 file += "}{";
             } else {
                 if (LeftLine(nvcell))
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\begin_preamble
\usepackage{rotate}
\usepackage{colortbl}
\end_preamble
\language francais
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\align center \LyXTable
multicol5
5 3 0 0 -1 -1 -1 -1
1 0 0 0
0 0 1 0
1 0 0 0
1 1 0 0
0 1 1 0
8 1 0 "" ""
8 1 0 "" ""
8 1 1 "" ""
1 8 1 0 1 0 1 "" "10mm"
1 8 1 0 1 0 1 "" "90mm"
1 8 0 0 0 0 0 "" "30mm"
1 8 1 0 0 0 1 "" "10mm"
0 8 1 0 0 0 0 "" ""
0 2 1 0 0 0 0 "" ""
1 2 1 0 0 0 1 "|>{\columncolor[gray]{.8}}l|" ""
2 2 1 0 0 0 0 "" ""
2 2 1 0 0 0 0 "" ""
1 2 1 1 1 0 1 "" "10mm"
1 8 1 1 0 0 1 "" ""
0 8 1 1 0 0 0 "" ""
1 8 1 1 0 0 1 "" "10mm"
0 2 1 1 0 0 0 "" ""
0 2 1 1 0 0 0 "" ""

17h30
\newline 

\latex latex 

\backslash 
centering{
\latex default 
Titre
\latex latex 
}
\newline 

\backslash 
centering{
\latex default 
Alain
\latex latex 
 
\latex default 
Castera
\latex latex 
}
\newline 

\latex default 
18h30
\latex latex 

\newline 

\backslash 
centering{
\latex default 
Long
\latex latex 
}
\latex default 

\newline 

\newline 

\newline 
0
\newline 
Titre court
\newline 
Un autre.
\newline 
19h30
\newline 

\newline 

\the_end

Reply via email to