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

Bug#619150: release-notes: missing footnote in pdf for zh_CN, zh_TW, ja



Package: release-notes
Severity: normal
Tags: patch

Footnote contents are missing in PDF build when xmlroff is used.

FO conversion seems to do right job on footnote (I see contents) but
after using xmlroff with whichever backend, its created PDF files are
missing footnote.

I encountered the same problem while building PDF for Japanese locally
for other document.  It seems xmlroff problem.

While we can blame xmlroff for its lack of support, we need to make
relese-notes usable under PDF.

I can propose simple work around.

Change the script for FO conversion in Makefile from:
        $(XP) --output $@ fo.xsl $<
to
        $(XP) xmlroff.xsl $< |$(XP) --output $@ fo.xsl -

and add xmlroff.xsl as attached. (Stolen from my local maint-guide for
sid).

Osamu

-- System Information:
Debian Release: 6.0.1
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Attachment: xmlroff.xsl
Description: XML document


Reply to: