New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use correct style types for footnotes in Word #901
Comments
Pandoc does use the styles "FootnoteRef" and "FootnoteText." The names here may be different from the standard Word styles, but they can still be customized as you see fit. I think there was a reason I didn't use the standard styles, but I can't now recall it. Is the issue that you want to be able to customize these, or just that you'd rather pandoc use the standard style names? |
I'd rather that pandoc just use the standard style names, but there is a good reason not to, that makes sense. More problematic is that I'm seeing the 'Normal' style being applied rather than the FootnoteText style you mention. (I could easily tweak my template to account for that, so it's no big deal.) |
Here is the bug report that caused me to change the style name. I confirmed, though, that "Normal" is being used instead of "Footnote Text", which I had thought would be used (from the code, anyway). So something is not working as I'd hoped. |
I saw that same issue (and offered some feedback as I'm still seeing the document corrupt warning from Word, which is very odd). It's certainly not a make-or-break issue for me; more a minor annoyance. I suppose it's also possible the behavior in Word 2011 is different from how it was in 2008—which version are you testing against? |
Otherwise Word ignores the style, even when specified in the pPr element. I believe this should help with issue #901. You should now get 'FootnoteText' as the style of the footnote. You'll have to adjust the style yourself; it's currently just the same as Normal.
Word supports (at least for 2010+) "footnote text" and "footnote reference" (and also "endnote text" and "endnote reference") as specific styles available to the user. When exporting to .docx, then, it would be great if footnotes could be generated in the correct style rather than as "normal." This would allow quick style sheets that style footnotes to work properly (e.g. Turabian has very specific guidelines, for which I have a custom quick style set for working on papers). I can supply a .docx that uses it if that's helpful.
The text was updated successfully, but these errors were encountered: