Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 08-30-2019, 05:31 AM   #1
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
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, 02: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: 4583858
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 02:06 AM.
lumpynose is offline   Reply With Quote
Advert
Old 08-31-2019, 02: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: 4583858
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, 05:39 AM   #4
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
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, 07: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: 1,892
Karma: 12505016
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
put the filename in the href:

href="../Text/footnotes.html#ReturnToText1"
Turtle91 is offline   Reply With Quote
Advert
Old 09-02-2019, 10:21 AM   #6
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
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, 01: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: 1,892
Karma: 12505016
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
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 01:22 PM.
Turtle91 is offline   Reply With Quote
Reply

Tags
endnotes, links, numbered_lists

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 08:15 PM.


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