texi2html-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texi2html-bug] @multitable inside @quotation wraps all cells in a <


From: Reinhold Kainhofer
Subject: Re: [Texi2html-bug] @multitable inside @quotation wraps all cells in a <p>
Date: Tue, 30 Sep 2008 23:22:01 +0200
User-agent: KMail/1.9.10

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 18. September 2008 schrieb Reinhold Kainhofer:
> Hi Patrck,
> One more problem with @multitable inside other environments:
> We have a multitable inside a quotation in the Lilypond dcumentation.
> With makeinfo --html it looks like this:
> http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/Filename-
>extensions#Filename-extensions
>
> Unfortunately, texi2html wraps each cell inside a <p>, which causes all
> cells to be about twice the height that would be necessary, because the
> paragraph margins and paddings from the CSS file are applied to the
> contents of the cell, too. The result looks like:
> http://kainhofer.com/~lilypond/Documentation/user/lilypond-program/Filename
>-extensions.html#Filename-extensions

Hmm, I'm realizing this issue is worse than I thought: texi2html wraps ALL 
table cells with a block-level element (<pre> or <p>), so all table cells are 
spaced really wide:
http://kainhofer.com/~lilypond/Documentation/user/music-glossary/Pitch-names.html#Pitch-names

Compare this with the one-line spacing of the PDF (p.85):
http://kainhofer.com/~lilypond/Documentation/user/music-glossary.pdf



And this time, there is no <pre> that needs to be wrapped inside, but it's a 
simple @multitable directly inside a @chapter:

@node Pitch names
@chapter Pitch names

@multitable address@hidden = f} {sol sostenido} {sol bemolle} {sol bémol} 
{Gis} {gis} {gis} {giss} {gis}
@headitem EN
  @tab ES @tab I @tab F @tab D
  @tab NL @tab DK @tab S @tab FI
@item @strong{c} @tab do @tab do @tab ut @tab C
  @tab c @tab c @tab c @tab c
@item @strong{c-sharp} @tab do sostenido @tab do diesis @tab ut dièse @tab Cis
  @tab cis @tab cis @tab ciss @tab cis
@item @strong{d-flat} @tab re bemol @tab re bemolle @tab ré bémol @tab Des
  @tab des @tab des @tab dess @tab des
@item @strong{d} @tab re @tab re @tab ré @tab D
  @tab d @tab d @tab d @tab d
@item @strong{d-sharp} @tab re sostenido @tab re diesis @tab re dièse @tab Dis
  @tab dis @tab dis @tab diss @tab dis
@item @strong{e-flat} @tab mi bemol @tab mi bemolle @tab mi bémol @tab Es
  @tab es @tab es @tab ess @tab es
@item @strong{e} @tab mi @tab mi @tab mi @tab E
  @tab e @tab e @tab e @tab e
@item @strong{f-flat} = e
  @tab fa bemol @tab fa bemolle @tab fa bémol @tab Fes
  @tab fes @tab fes @tab fess @tab fes
@item @strong{f} @tab fa @tab fa @tab fa @tab F
  @tab f @tab f @tab f @tab f
@item @strong{e-sharp} = f
  @tab mi sostenido @tab mi diesis @tab mi dièse @tab Eis
  @tab eis @tab eis @tab eiss @tab eis
@item @strong{f-sharp} @tab fa sostenido @tab fa diesis @tab fa dièse @tab Fis
  @tab fis @tab fis @tab fiss @tab fis
@item @strong{g-flat} @tab sol bemol @tab sol bemolle @tab sol bémol @tab Ges
  @tab ges @tab ges @tab gess @tab ges
@item @strong{g} @tab sol @tab sol @tab sol @tab G
  @tab g @tab g @tab g @tab g
@item @strong{g-sharp} @tab sol sostenido @tab sol diesis @tab sol dièse @tab 
Gis
  @tab gis @tab gis @tab giss @tab gis
@item @strong{a-flat} @tab la bemol @tab la bemolle @tab la bémol @tab As
  @tab as @tab as @tab ass @tab as
@item @strong{a} @tab la @tab la @tab la @tab A
  @tab a @tab a @tab a @tab a
@item @strong{a-sharp} @tab la sostenido @tab la diesis @tab la dièse @tab Ais
  @tab ais @tab ais @tab aiss @tab ais
@item @strong{b-flat} @tab si bemol @tab si bemolle @tab si bémol @tab B
  @tab bes @tab b @tab b @tab b
@item @strong{b} @tab si @tab si @tab si @tab H
  @tab b @tab h @tab h @tab h
@end multitable


Cheers,
Reinhold


- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI4ph8TqjEwhXvPN0RAv0fAKC29uIXMHnaCg/+dIPgHJu+4V58qQCgnQfF
LOj+TpbA1bazJ6b6Q++sgKE=
=VlG6
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]