![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2009
Device: Kindle 2
|
citations in epub spec?
suppose you're writing a book and want make in-text citations, using a format similar to the numbered superscripts in many written books.
how do you go about citing materials in epub? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
This is the same thing as footnotes.
At present, the best way of doing this is with bi-directional links. As an example: Main text: Code:
<p>‘No, I won’t cast a stone,’<sup><a id="part01ch22ren33"/><a href="notes.html#part01ch22en33">33</a></sup> she replied to something, [...]</p> Code:
<p class="noindent"><a id="part01ch22en33"/><strong><a href="part01chapter22.html#part01ch22ren33">33</a> cast a stone:</strong> ‘He that is without sin among you, let him first cast a stone at her’ (John 8:7).</p> |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Seems a bit overly complicated. Why not just use just one tag?
part01chapter22.html: Code:
<p>‘No, I won’t cast a stone,’<a href="notes.html#part01ch22en33" id="part01ch22ren33" style="vertical-align: super;">33</a> she replied to something, [...]</p> Code:
<p class="noindent"><a href="part01chapter22.html#part01ch22ren33" id="part01ch22en33" style="font-weight: bold;"/>33</a> cast a stone: ‘He that is without sin among you, let him first cast a stone at her’ (John 8:7).</p> |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
|
Which thread was that? I've had problems with vertical-align: super with Internet Explorer (--what does work with IE? anything?--) but I wouldn't think that would be a big issue for ePubs.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,542
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You may want to add "font-size: 60%;" (or similar) to the style.
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 |
temp. out of service
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,811
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
this is why I like fonts having real super and subs inside... (among other typographic goodies)
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 904
Karma: 5921577
Join Date: Jan 2010
Location: South of Germany
Device: PRS650 (red), Kindle PW2, Galaxy Note 8
|
You may want to try: vertical-align: text-top
|
![]() |
![]() |
![]() |
Tags |
citations, epub, quotations |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chit-Chat Citations absurdes, vachardes etc. | YGG- | Forum Français | 23 | 10-25-2010 12:30 PM |
Bugs in the new 2.0.1 OPF spec? | Valloric | ePub | 3 | 08-04-2010 09:05 AM |
Zip spec for ePub | acts_as_david | ePub | 14 | 01-02-2010 08:20 PM |
PRS-500 BBeB Xylog XML (LRS) final spec released | igorsk | Sony Reader Dev Corner | 5 | 01-12-2007 02:04 AM |
Science Fiction Citations | Colin Dunstan | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 03-10-2005 05:29 AM |