Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2019, 04:31 AM   #1
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
Hyperlinks

I have the following problem:

I intend to set a file as the summa of all footnotes in the epub2.
Therefore I need to make the number linked to the text it explains, not the explanatory text.
In other words, the opposite of the fig below (it's not a TOC but I found none suitable) - that is 1. is hyperlinked:


I thought of the alternative of tables - there is a lot of work to convert hundreds of them
I know customising the number/bullet in epub2 is rather limited, but maybe someone has an idea. I was not able to find one.

I am open to any solution. If no suitable solution exists, then I'll convert all entries in a table.
Ghitulescu is offline   Reply With Quote
Old 08-31-2019, 01:00 AM   #2
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
I haven't tested this yet but my current strategy is, in the body text have

Code:
blah blah.<a id="backref1" href="#note1">[Note 1]</a> Blah blah blah
Then the footnotes are at the end of each chapter:

Code:
  <section class="endnotes">
    <header>
      <h3>End notes</h3>
    </header>

    <ol>
      <li> <a id="note1" />Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>)</li>
    </ol>
  </section>
Edit; hit the reply button too quickly.

I just discovered that the Kobo doesn't properly format description lists; dl/dt/dd. So I definitely need to see if it handles ordered lists correctly. If it doesn't then I'll just use paragraphs:

Code:
<p><a id="note1" />Note 1: Hannibal, Missouri. (<a href="#backref1">Return to previous place.</a>)</p>
Edit 2: I forgot to say that from what I've read the links using the A tag work better when the target (end note in this case) is in the same file.

Last edited by lumpynose; 08-31-2019 at 01:06 AM.
lumpynose is offline   Reply With Quote
Advert
Old 08-31-2019, 01:24 AM   #3
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
It seems that the IDs need to be unique across all of the files in the book, not just within each xhtml file. But the ol/li list does work.
lumpynose is offline   Reply With Quote
Old 09-02-2019, 04:39 AM   #4
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
The code you put I know. It does replicate the figure.
I don't want the figure but the opposite. I could not put a figure depicting what I want because I didn't find the answer - and I would have found it I would have not asked
what I want is to make the automatic number be hyperlinked to somewhere else.
Sort of:
Code:
<p style="margin-left:1em"><a href="#ReturnToText1"><b>1.</b></a>*Footnote text 1.</p>
<p style="margin-left:1em"><a href="#ReturnToText2"><b>2.</b></a>*Footnote text 2.</p>
1. Footnote text 1.
2. Footnote text 2.
Ghitulescu is offline   Reply With Quote
Old 09-02-2019, 06:38 AM   #5
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,295
Karma: 20171067
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
put the filename in the href:

href="../Text/footnotes.html#ReturnToText1"
Turtle91 is offline   Reply With Quote
Advert
Old 09-02-2019, 09:21 AM   #6
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
No wonder I couldn't find any idea - people simply do not understand what I want, so probably nobody ever cared to find a solution for a problem only I, of whole this universe, have.

I simply do not know how to make the automatically-generated number of the ordered list "clickable". I tend to think it's not possible to customise this.
Ghitulescu is offline   Reply With Quote
Old 09-02-2019, 12:19 PM   #7
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,295
Karma: 20171067
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
oh...you mean the numbers that are generated with <ol><li>....got it.

No, you cannot...use an un-ordered list and manually add the numbers/links. Or, add the link to the text portion of the <li> instead of the numbers.


Sorry!

[edit] - Or, I should say, you cannot without getting into javascript...but manually adding the links is much easier and supported across all most devices.

Last edited by Turtle91; 09-02-2019 at 12:22 PM.
Turtle91 is offline   Reply With Quote
Reply

Tags
endnotes, links, numbered_lists


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlinks jtdolphins Which one should I buy? 3 06-18-2011 12:29 AM
.pdf hyperlinks Xabache PDF 6 09-16-2010 04:27 PM
Hyperlinks Help ^^ Anarel Workshop 2 08-16-2010 09:12 AM
PRS-600 Hyperlinks and notes Prince Hal Sony Reader 3 01-08-2010 10:13 AM
Hyperlinks MsAstoria Amazon Kindle 0 03-12-2009 07:40 PM


All times are GMT -4. The time now is 04:09 PM.


MobileRead.com is a privately owned, operated and funded community.