Converting documents with endnotes to web page

  • Thread starter Illinois_database_consultant
  • Start date
I

Illinois_database_consultant

I have Word 2002. When I convert (save as) my word documents (.doc files) to
web pages (.htm files), the hyperlinks to the endnotes don't look very good.
They work ok -- they just don't look good for the following reasons:
1. The hyperlink is surrounded by brackets. Example [1] or [2].
2. The hyperlink is underlined.
3. The font size of the hyperlink is too big, although it is superscripted.
This causes too much "white space" to occur between the line containing the
endnote hyperlink and the line above.

I would like the conversion from a doc to htm file to treat the endnote
hyperlinks as small, non-underlined superscripted numbers instead of this.
Is there anyway I can automate this?

The only way I know to fix this is to convert the file as normal to an htm
file then edit the htm file. In editing the htm file, I do this:

1. replace occurences of
<span style='font-size:12.0pt;font-family:"Times New Roman"'>[1]</span>

with

1 (or whatever the endnote number is)



2. at beginning of the htm file, I replace
span.MsoEndnoteReference
{vertical-align:super;}

with

span.MsoEndnoteReference
{vertical-align:super;
font-size:6.0pt;
text-decoration:none;}

I have set up my Word 2002 to generate web pages for Internet Explorer 6.0
and above (all options selected) via the Tools/Options/General/Web Options
menu.

Any suggestions on how to automate this conversion so endnote hyperlinks
appear nicely?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top