HighDots Forums  

Endnote links don't work

alt.html.tags alt.html.tags


Discuss Endnote links don't work in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Reid Goldsborough
 
Posts: n/a

Default Endnote links don't work - 04-02-2004 , 06:57 PM






I converted a Microsoft Word document with endnotes to HTML and
brought it into the HTML editor I use (Symantec's Visual Page,
discontinued but comfortable). The endnote links don't work in this
HTML document. Anybody have any suggestions? Here's the page:

http://rg.ancients.info/lion/footnotes.html

Thanks.

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Endnote links don't work - 04-02-2004 , 11:52 PM






Reid Goldsborough <reidgoldsborough (AT) yahoo (DOT) com> wrote:

Quote:
I converted a Microsoft Word document with endnotes to HTML and
brought it into the HTML editor I use
The HTML markup produced that way is a horrendous mess, and you would
need to know HTML very well and to spend quite some time to fix it.

Quote:
The endnote links don't work in this HTML document.
The destination anchors are of type <div id="edn42"> (which implies that
the links do not work on Netscape 4 anyway) but the references have an
underline character, href="_edn42". So you basically need an editor that
lets you globally replace _edn by edn.

I wonder why Word does that. Anyway, using Export to HTML (using
the free add-on available from
http://office.microsoft.com/download.../Msohtmf2.aspx )
would produce much less messy HTML. I'm not sure whether that would
remove the pointless use of a layout table.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Reply With Quote
  #3  
Old   
Reid Goldsborough
 
Posts: n/a

Default Re: Endnote links don't work - 04-03-2004 , 09:18 PM



On Sat, 3 Apr 2004 05:52:41 +0000 (UTC), "Jukka K. Korpela"
<jkorpela (AT) cs (DOT) tut.fi> wrote:

Quote:
The destination anchors are of type <div id="edn42"> (which implies that
the links do not work on Netscape 4 anyway) but the references have an
underline character, href="_edn42". So you basically need an editor that
lets you globally replace _edn by edn.
Thanks very much for this. I thought I'd try your above suggestion
first, and it worked, *mostly.* That is, it worked for endnotes 4
through 73 (the last one). Clicking on them takes you to the correct
reference at the end of the page. But for some reason with endnote 3,
clicking on the link takes you not to the reference for endnote 3 but
to the reference for endnote 2. And clicking on endnotes 1 and 2 does
nothing, as before.

I took at look at the code to try to fix it manually, but I can't make
sense of it.

I wonder if you might take a quick look at this page again. I just
uploaded the revised, but still not quite right, version:

http://rg.ancients.info/lion/footnotes.html

Quote:
I wonder why Word does that. Anyway, using Export to HTML (using
the free add-on available from
http://office.microsoft.com/download.../Msohtmf2.aspx )
would produce much less messy HTML. I'm not sure whether that would
remove the pointless use of a layout table.
Thanks for this suggestion. I tried it, but I should have mentioned
I'm running Office XP and Windows XP, and the above doesn't work with
it, and I couldn't seem to find a version for XP.


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Endnote links don't work - 04-04-2004 , 05:35 AM



Reid Goldsborough <reidgoldsborough (AT) yahoo (DOT) com> wrote:

Quote:
But for some reason with endnote 3,
clicking on the link takes you not to the reference for endnote 3 but
to the reference for endnote 2. And clicking on endnotes 1 and 2 does
nothing, as before.
It's a bit difficult to scan through the markup, but it seems that Word
simply generated some wrong <a> elements. There are two links with
href="#edn1" but no target with name="edn1" or id="edn1". Ditto for edn2.
And endnote [2] seems to have target defined as "edn3".

The markup is rather messy... what you really need for two-way links is
just
<a name="edn1ref" href="#edn1">[1]</a>
for the reference and
<a name="edn1" href="#edn1ref">[1]</a>
for the endnote.

Quote:
http://office.microsoft.com/download.../Msohtmf2.aspx )
- -
Thanks for this suggestion. I tried it, but I should have mentioned
I'm running Office XP and Windows XP, and the above doesn't work with
it, and I couldn't seem to find a version for XP.
Oh... but it seems that the XP version of Office already has the filtered
output as a builtin feature, so you won't need the add-on. You should be
able to select filtered output either from File/Save As or from
File/Save as Web page.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.