Package: roffit
Version: 0.6+cvs20090507-1
Severity: normal

[ Separate bug from #584459 ]

Font changes (as escape sequence \f) can appear at any point in nroff
input an change the font for all following text, i.e. over line and
page breaks. Hence font changes can not be represented with <span>,
as inline elements must not contain block elements.

Seems as if the current font should be stored in a variable and at
the beginning of each block element, an appropriate font change must
be made, while at each end of a block element the appropriate end
element to the font change must be inserted. Like this:

    \fBfoo
    .PP
    bar

would get converted to

    <span class="bold">foo</span>
    <p>
        <span class="bold">bar</span>
    </p>

or better

    <span class="bold">foo</span>
    <p class="bold">
        bar
    </p>

The main problem here is that nroff's language design is generally
different to the one of HTML, at least to newer (X)HTML versions.

meillo

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages roffit depends on:
ii  perl                          5.10.1-12  Larry Wall's Practical Extraction 

roffit recommends no packages.

roffit suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to