khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Headerless tables shouldn't have a <thead> or an \hline #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a headerless table
2. Generate HTML and LaTeX versions

What is the expected output? What do you see instead?
I expect a table with no <thead> (not even an empty one> and no \hline (it
looks bad).

What version of the product are you using? On what operating system?
1.4.1 on Ubuntu through Wine

Original issue reported on code.google.com by iain.dal...@gmail.com on 18 Jan 2010 at 6:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1856.

Original comment by fiddloso...@gmail.com on 1 Mar 2010 at 2:28

GoogleCodeExporter commented 9 years ago
Note: I've only fixed this for HTML and LaTeX; I still intend to fix it for the 
other writers 
as well.

Original comment by fiddloso...@gmail.com on 1 Mar 2010 at 2:29

GoogleCodeExporter commented 9 years ago
All writers now fixed.

Original comment by fiddloso...@gmail.com on 13 Mar 2010 at 3:19

GoogleCodeExporter commented 9 years ago
I'm using pandoc-1.11.1 , and I get unwanted hline's. They were not there with 
pandoc-1.6.0.1 .

Example:

\begin{longtable}[c]{@{}rrrrrrrrrr@{}}
\hline\noalign{\medskip}
0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9
\\\noalign{\medskip}
10 & 11 & 12 & 13 & 14 & 15 & 16 & 17 & 18 & 19
\\\noalign{\medskip}
20 & 21 & 22 & 23 & 24 & 25 & 26 & 27 & 28 & 29
\\\noalign{\medskip}
30 & 31 & 32 & 33 & 34 & 35 & 36 & 37 & 38 & 39
\\\noalign{\medskip}
40 & 41 & 42 & 43 & 44 & 45 & 46 & 47 & 48 & 49
\\\noalign{\medskip}
50 & 51 & 52 & 53 & 54 & 55 & 56 & 57 & 58 & 59
\\\noalign{\medskip}
60 & 61 & 62 & 63 & 64 & 65 & 66 & 67 & 68 & 69
\\\noalign{\medskip}
70 & 71 & 72 & 73 & 74 & 75 & 76 & 77 & 78 & 79
\\\noalign{\medskip}
80 & 81 & 82 & 83 & 84 & 85 & 86 & 87 & 88 & 89
\\\noalign{\medskip}
90 & 91 & 92 & 93 & 94 & 95 & 96 & 97 & 98 & 99
\\\noalign{\medskip}
\hline
\end{longtable}

generated from

-- -- -- -- -- -- -- -- -- --
 0  1  2  3  4  5  6  7  8  9
10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39
40 41 42 43 44 45 46 47 48 49
50 51 52 53 54 55 56 57 58 59
60 61 62 63 64 65 66 67 68 69
70 71 72 73 74 75 76 77 78 79
80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99 
-- -- -- -- -- -- -- -- -- --

What has happened to this fix? I see it was applied to {tabular}; in my case, 
{longtable} is used. Should it come back?

Original comment by z.va...@gmail.com on 8 Jul 2013 at 6:11