Forum How do I...?

footnote caller is letter

jim_albright
I can't find documentation allowing letters as the footnote caller.
I see how to increment numbers.
I will also need to have a custom alphabet to cycle through. I'll reset counter at each chapter in Bible.

abcdefghijlmnoprstuwz is a possible list of alphabet characters.

Sure seems like there was discussion for doing this.

Jim Albright
Wycliffe Bible Translators

mikeday
It is a counter-style issue, eg. counter(footnote, symbols('a', 'b', 'c')).
jim_albright
http://www.princexml.com/doc/7.0/counters/ found more here too. Thanks.

Jim Albright
Wycliffe Bible Translators

jim_albright
I'm trying to get the marker to be super.

.Note_General::footnote-marker { vertical-align: super; content: "xx" }

I put in the "xx" so I can see where the marker is located and also to show that the selector is working.
The super doesn't seem to be working.
I also tried top, text-top, sub with no change.

Jim Albright
Wycliffe Bible Translators

  1. footnote.png11.4 kB
mikeday
You will need this as well:
.Note_General { footnote-style-position: inside }

I think list item markers will behave the same way, but this is a bit obscure.
jim_albright
I've tried changing line-height. Don't know what else to try.


Currently have:


.Note_General {
font-size: 8pt;
line-height: none;
color: black;
text-align:left;
text-indent: 0;
margin-left: 0;
font-weight: normal;
display: none;
display: footnote;
display: prince-footnote;
position: footnote;
counter-increment: footnote;
list-style-position: inside;
}

.Note_General::before { font-style: italic; content: "\00a0" string(stringVerseNumber) "\00a0\00a0" ; }
.Note_General::footnote-call { vertical-align: super; ; font-style: italic; font-size: 6pt; content: counter(footnote, symbols('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')) ; }
.Note_General::footnote-marker { vertical-align: super; ; font-style: italic; font-size: 6pt; content: counter(footnote, symbols('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')) ; }

Jim Albright
Wycliffe Bible Translators

mikeday
Try footnote-style-position instead of list-style-position.
jim_albright
Prince rocks again!!!

That fixed the problem.

Jim Albright
Wycliffe Bible Translators

  1. footnote-fixed.png13.0 kB