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

Bug#626149: writer2xhtml: writer2xhtml not found and w2l does not work

Package: writer2latex
Version: 1.0.2-1
Severity: important


I'm looking forward to using the writer2xhtml conversion tool from the command 
line. I installed it through the writer2latex package.

Here are the problems I have found:

* Guessing the name 'w2l' is really not easy. I believe this string should at 
least be given in /usr/share/doc/writer2latex/NEWS.Debian.org. When installing 
a new program and looking for the binary's name, one generally uses 
auto-completion from the shell, which gives too many choices with 'w' as a 
prefix and nothing useful with 'W' or 'writer' as a prefix. Besides, 'writer' 
does not show up in 'locate writer | grep bin' (after updatedb) except in 
'oowriter'. Suggestion: symlink w2l to writer2latex.

* I cannot find any binary for writer2xhtml, which is supposed to be included 
in the writer2latex package.
	~> dpkg -L writer2latex | grep bin
How does one use w2l to get an XHTML output? (No man page exists.)

* In order to test w2l, I opened OpenOffice, wrote a single 'a' in a new file, 
saved it as a .doc (Word97/XP) file and called the script:

~> w2l minimal.doc 

This is Writer2LaTeX, Version 1.0.2 (2010-05-31)

Starting conversion...
Converting minimal.doc
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
index out of range: -1
        at java.lang.AbstractStringBuilder.delete(AbstractStringBuilder.java:694)
        at java.lang.StringBuffer.delete(StringBuffer.java:390)
        at writer2latex.xmerge.OfficeDocument.secondHack(OfficeDocument.java:1248)
        at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:571)
        at writer2latex.xmerge.OfficeDocument.read(OfficeDocument.java:442)
        at writer2latex.base.ConverterBase.convert(ConverterBase.java:87)
        at writer2latex.base.ConverterBase.convert(ConverterBase.java:81)
        at writer2latex.Application.doConversion(Application.java:230)
        at writer2latex.Application.main(Application.java:86)

So 'w2l' does not seem to work at all, even on the simplest of files.

Maybe I'm really missing something here. Is w2l supposed to be called from the 
command line? Are the package's dependencies not sufficient? 

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (900, 'stable'), (400, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US.iso88591)
Shell: /bin/sh linked to /bin/dash

Versions of packages writer2latex depends on:
ii  dpkg                  Debian package management system
ii  java-gcj-compat [j 1.0.78-2              Java runtime environment using GIJ
ii  libwriter2latex-ja 1.0.2-1               OpenOffice.org Writer/Calc to LaTe
ii  openjdk-6-jre [jav 6b18-1.8.3-2+squeeze1 OpenJDK Java runtime, using Hotspo
ii  sun-java6-jre [jav 6.24-1~squeeze1       Sun Java(TM) Runtime Environment (
ii  tex-common         2.08.1                common infrastructure for building

Versions of packages writer2latex recommends:
ii  acroread [pdf-viewer 8.1.7-0.1           Adobe Acrobat Reader: Portable Doc
ii  epiphany-browser [ww 2.30.6-1            Intuitive GNOME web browser
ii  evince [pdf-viewer]  2.30.3-2            Document (PostScript, PDF) viewer
ii  gv [pdf-viewer]      1:3.7.1-1           PostScript and PDF viewer for X
ii  iceape-browser [www- 2.0.11-4            Iceape Navigator (Internet browser
ii  iceweasel [www-brows 3.5.16-6            Web browser based on Firefox
ii  kghostview [pdf-view 4:3.5.9-3+lenny3    PostScript viewer for KDE
ii  kpdf [pdf-viewer]    4:3.5.9-3+lenny3    PDF viewer for KDE
ii  lynx-cur [www-browse 2.8.8dev.5-1        Text-mode WWW Browser with NLS sup
ii  openoffice.org-write 1:3.2.1-11+squeeze2 office productivity suite -- word 
ii  w3m [www-browser]    0.5.3-2             WWW browsable pager with excellent
ii  xpdf [pdf-viewer]    3.02-12             Portable Document Format (PDF) rea

writer2latex suggests no packages.

-- no debconf information

Reply to: