Package: po4a
Version: 0.45-1
Severity: minor

Dear Maintainer,

Simply open one of the po4a manual pages on Alioth, e.g. [0]. You will see that
the h2 section headers (Introduction, Table of content, etc) are smaller than
h3's (The problem to solve, The po4a answers, etc.), and that they don't have a
margin. This makes the document difficult to read if you don't already know its
structure.

The culprit is a line in the default CSS [1]:

h2 { margin: 0; font-size: small;}

Removing it would let the browser use its default style for h2, as it does for
h3.
If smaller h2's are needed in a specific page (e.g. [2]), a style element can
be added to that page without affecting the PO files:

@@ -9,6 +10,9 @@
        <meta http-equiv="Content-Type"
              content="application/xhtml+xml; charset=utf-8" />
        <title>po4a - Welcome</title>
+       <style><!--
+             h2 { margin: 0; font-size: small;}
+       --></style>
 </head>
 <body>
        <!-- begin header.php -->

In any case, thanks a lot for this new version of the manual.

Best regards,
Thérèse

[0] https://po4a.alioth.debian.org/man/man7/po4a.7.php
[1] https://po4a.alioth.debian.org/default.css
[2] https://po4a.alioth.debian.org/



-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-93-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: upstart (via init_is_upstart())

Versions of packages po4a depends on:
ii  gettext        0.18.3.1-1ubuntu3
ii  libsgmls-perl  1.03ii-32
ii  perl           5.18.2-2ubuntu1.1
ii  perl-modules   5.18.2-2ubuntu1.1
ii  sp             1.3.4-1.2.1-47.3ubuntu1

Versions of packages po4a recommends:
ii  liblocale-gettext-perl     1.05-7build3
ii  libterm-readkey-perl       2.31-1
ii  libtext-wrapi18n-perl      0.06-7
ii  libunicode-linebreak-perl  0.0.20131101-1

po4a suggests no packages.

-- no debconf information

Reply via email to