Package: mupdf-tools
Version: 1.13.0+ds1-1
Severity: normal

Hello,

I wanted to use mutool to export a pdf to xhtml and keep the document
structure, but the xhtml output drops newlines.

See for instance the attached file, mutool draw -o test.txt ~/test.pdf   
produces:

1
foo

two words
apart

1


2
foobar

several words again
apart again

2



but mutool draw -o test.xhtml ~/test.pdf produces:

...

<div>
<p><b>1foo</b></p>
<p>two wordsapart</p>
<p>1</p>
</div>
<div>
<p><b>2foobar</b></p>
<p>several words againapart again</p>
<p>2</p>
</div>


Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mupdf-tools depends on:
ii  libc6            2.27-3
ii  libfreetype6     2.8.1-2
ii  libharfbuzz0b    1.7.6-1+b1
ii  libjbig2dec0     0.14-1
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  libopenjp2-7     2.3.0-1
ii  libssl1.1        1.1.0h-4
ii  zlib1g           1:1.2.11.dfsg-1

mupdf-tools recommends no packages.

mupdf-tools suggests no packages.

-- no debconf information

-- 
Samuel
<k> faut en profiter, aujourd'hui, les blagues bidon sont à 100 dollars
 -+- #sos-bourse -+-

Attachment: test.pdf
Description: Adobe PDF document

Reply via email to