commit 1a3821fd882cd18e1a5f159943d0c477519fee38
Author: Richard Heck <[email protected]>
Date:   Tue Dec 2 11:03:26 2014 -0500

    Fix XHTML export for new "in title" footnotes. Builds on a patch
    by JMarc.

diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index eb14595..383da77 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -84,8 +84,31 @@ InsetLayout Foot:InTitle
        NeedProtect           true
        Counter               thanks
        MultiPar              false
-       # FIXME: this is probably not correct
-       HTMLLabel             \arabic{thanks}
+       HTMLLabel             \fnsymbol{thanks}
+       HTMLInnerTag          span
+       HTMLStyle
+               span.foot_intitle_label {
+                       vertical-align: super;
+                       font-size: smaller;
+                       font-weight: bold;
+                       text-decoration: underline;
+               }
+               span.foot_intitle {
+                       display: inline;
+                       font-size: small;
+                       font-weight: medium;
+                       font-family: serif;
+                       font-variant: normal;
+                       font-style: normal;
+               }
+               span.foot_intitle_inner { display: none; }
+               span.foot_intitle:hover span.foot_intitle_inner {
+                       display: block;
+                       border: 1px double black;
+                       margin: 0em 1em;
+                       padding: 1em;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Note:Comment

Reply via email to