F J Franklin | 14 Oct 2002 09:56
Picon
Favicon

libwmf-0.2.7, a.k.a. "nothing special" released to critical disclaim

the previous release had a couple of minor bugs, so here goes.

there has been some work on a new export API, but it's unfinished &
untested, so don't use it.

(there are 2 tar-balls on SF. the one labelled "Darwin" was made with
autoconf-2.54, cvs automake (patched by me for ObjC++) and cvs libtool
(patched by me for Darwin), tested only on Jaguar.)

Regards, Frank

Francis James Franklin
F.J.Franklin <at> shef.ac.uk

  `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
Radium, Sapphire, Silver and Steel.
  `Sapphire and Steel have been assigned...'

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Chris Tebb | 14 Oct 2002 16:55

wvware on Open BSD

Hi,
	I have managed to get wvware installed from the openBSD 3.0 ports tree 
after installing alkl the required dependencies, but get the following 
error when running the following command.

All I'm trying to do is get a doc to html and rtf to html system 
running so I can link it into a php content importer.

here is my error:-
/usr/libexec/ld.so: wvWare: libSM.so.6.0: No such file or directory

Any thoughts, or suggestions of other standalone doc or rtf to html 
convertors would be appreciated.

Chris.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Ramzi S. Abdallah | 15 Oct 2002 03:41
Picon

wv-0.7.2 Help


Dear all,

I have installed wv-0.7.2 for the purpose of using it with a php script to
convert word 2000 documents to html. The problem I am having is that when I
convert a document from Word 2000 to HTML using the wvHtml the document
looses a lot of its formatting. For example the font type and font size are
not detected and if  I specify a --targetdir the images don't get loaded. I
also noticed that the meta tags are not converted to HTML.

At first I thought that my php script is not working properly so I converted
the word file from the command line using the following syntax:
./wvHtml --targetdir=/tmp /var/www/html/test.doc test.html but the results
were not any better.

Have I missed installing any packages that are required by wv?

Any help would be greatly appreciated.

Ramzi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Bob Woodside | 22 Oct 2002 20:08
Favicon

0.7.2 - wvHtml Missing Font and Heading Tags

	Newbie Alert:  I just discovered wvWare, and after installing 0.7.2 I
tried testing conversion of a few simple Word docs to HTML. I find that
no FONT or Hn tags are produced in the resulting HTML to reflect changes
in text size in the Word document.

	Then I tried running wvHtml on the example file,
supported-font-features.doc, in the feature-examples directory, with the
same result: no font-size or heading-level formatting, everything is all
the same size. The colors come out OK (there is a font tag that
overrides the "black" color spec in the inline paragraph style), but
nowhere is there any size specification. The resulting HTML bears no
resemblance to the converted version, supported-font-features.doc.html,
in that directory.

	Does anyone have any idea what might be wrong, or where to look? Is
there possibly some configuration option or adjunct package requirement
I may have overlooked? (I'm running on a Linux box, with libiconv-1.7,
expat-1.95.5, and libwmf-0.2.7-Darwin.) Or is this stuff known not to be
working currently (and if not, can anyone else duplicate the problem
with this file)?

Cheers,
Bob

-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
(Continue reading)

Bob Woodside | 22 Oct 2002 17:43
Favicon

Re: Wvware-users -- confirmation of subscription -- request 130888

confirm 130888

-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
F J Franklin | 23 Oct 2002 10:48
Picon
Favicon

Re: 0.7.2 - wvHtml Missing Font and Heading Tags

> 	Newbie Alert:  I just discovered wvWare, and after installing 0.7.2 I
> tried testing conversion of a few simple Word docs to HTML. I find that
> no FONT or Hn tags are produced in the resulting HTML to reflect changes
> in text size in the Word document.
> 
> 	Then I tried running wvHtml on the example file,
> supported-font-features.doc, in the feature-examples directory, with the
> same result: no font-size or heading-level formatting, everything is all
> the same size. The colors come out OK (there is a font tag that
> overrides the "black" color spec in the inline paragraph style), but
> nowhere is there any size specification. The resulting HTML bears no
> resemblance to the converted version, supported-font-features.doc.html,
> in that directory.
> 
> 	Does anyone have any idea what might be wrong, or where to look? Is
> there possibly some configuration option or adjunct package requirement
> I may have overlooked? (I'm running on a Linux box, with libiconv-1.7,
> expat-1.95.5, and libwmf-0.2.7-Darwin.) Or is this stuff known not to be
> working currently (and if not, can anyone else duplicate the problem
> with this file)?

libwmf-0.2.7-Darwin, huh? oh, well, if it works...

Let me warn you here and now that there are no experts when it comes to
wv. Most questions go unanswered here. (It doesn't help that the
principal developer got unsubscribed from the list by SF for no
discernible reason.)

That said, I do read most messages, even if I have no clue what to do
about most of them.
(Continue reading)

abel deuring | 23 Oct 2002 12:59
Picon

Re: 0.7.2 - wvHtml Missing Font and Heading Tags


> [Bob Woodside:]
> >       Newbie Alert:  I just discovered wvWare, and after installing 0.7.2 I
> > tried testing conversion of a few simple Word docs to HTML. I find that
> > no FONT or Hn tags are produced in the resulting HTML to reflect changes
> > in text size in the Word document.

Bob,

As far as I understand wvWare, the approach is to convert every Word doc
paragraph into a a HTML paragraph, i.e., that thingy that starts with
"<p>". Font attributes defined in the Word doc should be converted into
corresponding HTML tags -- but the font size is really missing yet (or I
missed the corresponding tag in the XML conversion spec files and the
sources...)

I think that the approach to convert every Word doc paragraph into a <p>
tag with more or less complete font specs is reasonable, because you can
define arbitrarily named style sheets in Word docs, so wvWare cannot use
something like a comprehensive style sheet list in order to map the
style sheets to HTML tags. This bothered me too a bit, so I wrote a
little Python script which does some post-processing of wvWare output.
It can replace <p> tags with things like <h1 class="xyz">. Of course you
need to specify, how Word styles are mapped to HTML tags. Im am not
sure, if this script fits your need, because it it's concecpt is to keep
only structural information from Word files and to remove anything
explicitly presentation specific, like font attributes. Anyway, you can
find it here: http://www.zope.org/Members/abel/wvZopeFilter . (don't
panic about Zope -- while I use the script with a Zope server, you can
use it as a standalone program ;)
(Continue reading)

Bob Woodside | 23 Oct 2002 22:25
Favicon

Re: 0.7.2 - wvHtml Missing Font and Heading Tags

On Wed, 23 Oct 2002 09:48:15 +0100 (BST)
F J Franklin <F.J.Franklin <at> sheffield.ac.uk> wrote:

> Let me warn you here and now that there are no experts when it comes
> to wv. Most questions go unanswered here. (It doesn't help that the
> principal developer got unsubscribed from the list by SF for no
> discernible reason.)

	That's a shame...do you mean Dom? After a tedious search for legitimate
posts among the spam on the archive, I was beginning to wonder if he'd
graduated, gotten preoccupied with mundane things like finding a job in
a dismal economy, and pretty much left the project an orphan.

	Is anyone actually in charge of wv at the moment? In any case, it's
good to know that there are at least a couple of people to bounce ideas
off of.

Cheers,
Bob

-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
Bob Woodside | 23 Oct 2002 23:53
Favicon

Re: 0.7.2 - wvHtml Missing Font and Heading Tags

On Wed, 23 Oct 2002 12:59:45 +0200
abel deuring <a.deuring <at> satzbau-gmbh.de> wrote:

> As far as I understand wvWare, the approach is to convert every Word
> doc paragraph into a a HTML paragraph, i.e., that thingy that starts
> with"<p>". Font attributes defined in the Word doc should be converted
> into corresponding HTML tags -- but the font size is really missing
> yet (or I missed the corresponding tag in the XML conversion spec
> files and the sources...)

	Yes, after I sent my message, I took a quick glance through the code,
and I don't see anywhere that a size or font-size attribute is being
handled. (I certainly don't pretend to have acquired a significant
understanding of the code in 15 minutes, but this is my first
impression.)

> I think that the approach to convert every Word doc paragraph into a
> <p> tag with more or less complete font specs is reasonable, because
> you can define arbitrarily named style sheets in Word docs, so wvWare
> cannot use something like a comprehensive style sheet list in order to
> map the style sheets to HTML tags.

	I think I need to do a little reasearch into the Word doc format(s) 
:-(. In general, I think it's reasonable to have a &lt;p&gt; tag with an
inline style for each paragraph. But that doesn't quite catch everything
that's needed, since an arbitrary substring of a paragraph (like a
single word or phrase) might have different font attributes set in the
document - italic, bold, different point size, etc.. One could argue the
relative merits of using styles for this sort of thing as well (by
including an inline style in the <font> tag), but wv seems already to
(Continue reading)

abel deuring | 24 Oct 2002 00:07
Picon

Re: 0.7.2 - wvHtml Missing Font and Heading Tags

Bob Woodside wrote:
> On Wed, 23 Oct 2002 12:59:45 +0200
> abel deuring <a.deuring <at> satzbau-gmbh.de> wrote:
> 
> 
>>As far as I understand wvWare, the approach is to convert every Word
>>doc paragraph into a a HTML paragraph, i.e., that thingy that starts
>>with"<p>". Font attributes defined in the Word doc should be converted
>>into corresponding HTML tags -- but the font size is really missing
>>yet (or I missed the corresponding tag in the XML conversion spec
>>files and the sources...)
> 
> 
> 	Yes, after I sent my message, I took a quick glance through the code,
> and I don't see anywhere that a size or font-size attribute is being
> handled. (I certainly don't pretend to have acquired a significant
> understanding of the code in 15 minutes, but this is my first
> impression.)
> 
> 
> 
>>I think that the approach to convert every Word doc paragraph into a
>><p> tag with more or less complete font specs is reasonable, because
>>you can define arbitrarily named style sheets in Word docs, so wvWare
>>cannot use something like a comprehensive style sheet list in order to
>>map the style sheets to HTML tags.
> 
> 
> 	I think I need to do a little reasearch into the Word doc format(s) 
> :-(. In general, I think it's reasonable to have a &lt;p&gt; tag with an
(Continue reading)


Gmane