From 23218d3fabd1599e709803b36a9eab48d25db810 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sat, 13 Aug 2011 15:32:37 +0200 Subject: [PATCH] Texi2HTML: don't wrap

around the contents of table cells. This fixes the ugly huge space around table cells in our documentation --- Documentation/lilypond-texi2html.init | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/lilypond-texi2html.init b/Documentation/lilypond-texi2html.init index 6814aafed7..3585a9e8ed 100644 --- a/Documentation/lilypond-texi2html.init +++ b/Documentation/lilypond-texi2html.init @@ -55,6 +55,8 @@ ### makeinfo_like_foot_line_and_ref ### makeinfo_like_foot_lines ### makeinfo_like_paragraph +### -) In tables, don't wrap

around the contents. Implemented in +### makeinfo_like_paragraph ### ### ### Useful helper functions: @@ -2070,6 +2072,13 @@ sub makeinfo_like_paragraph ($$$$$$$$$$$$$) return $text if (($format eq 'itemize' or $format eq 'enumerate') and ($$paragraph_number == 1)); } + # The cells of a table should not be wrapped in a

tag, so just return the text + if (defined($command_stack_at_begin->[0]) and $command_stack_at_begin->[0] eq 'multitable') + { + return $text; + } + + # Adjust all footnotes so that they look like good old makeinfo my $open = '