2

I can't figure out how to make footnotes appear in a custom makeup. Footnotes seem to disappear regardless of vertical alignment or header/footer state. I've tried most of the makeup options listed on the "setupmakeup" wiki page and I can't get anything to work.

Minimal example:

\setuppapersize[S6][S6]

\starttext

This footnote \footnote{appears normally}

\definemakeup[custom]

\startcustommakeup
  This footnote \footnote{does not}
\stopcustommakeup

\stoptext
4
  • 1
    I think you should separate your edit from your question, send it as answer and accept it.
    – sztruks
    Nov 2 '17 at 17:38
  • The makeup page is meant for cover pages, etc. That is the reason the footnotes are ignored by default
    – Aditya
    Nov 3 '17 at 14:19
  • @Aditya OK, that makes sense, thanks. I've been using makeup pages to vertically center my slides. I might have to look into other arrangements in the long term.
    – ssokolen
    Nov 3 '17 at 16:01
  • 1
    For slides, you can simply define \define\startslide{\vfill}, \define\stopslide{\vfill\page} to vertically center the content.
    – Aditya
    Nov 3 '17 at 22:10
2

I can only give a workaround with local footnotes, not convenient if you have to repeat your makeup. It might help you to play with setupmakeup, since the footnote shows.

\setuppapersize[S6][S6]
\starttext

This footnote \footnote{appears normally}

\definemakeup[custom]

\startcustommakeup
\startlocalfootnotes
  This footnote \footnote{does not}
\placelocalfootnotes
\stoplocalfootnotes
\stopcustommakeup

\stoptext
1
  • Thanks, this basically solves the problem for me, but it feels like a bit of a hack. I'm still hoping to see a way to make normal footnotes work.
    – ssokolen
    Nov 2 '17 at 14:24
1

Expanding on the localfootnote answer by @sztruks, it's possible to add \placelocalfootnotes into the footer to approximate normal behavior. It's also possible to add \startlocalfootnote outside of the makeup so that footnotes are applied to multiple makeup pages.

\setuppapersize[S6][S6]
\starttext

This footnote \footnote{appears normally}

\definemakeup[custom][footerstate=normal]

\setupfootertexts[\placelocalfootnotes][]

\startlocalfootnotes

\startcustommakeup
  This footnote \footnote{now appears}
\stopcustommakeup

\startcustommakeup
  This footnote \footnote{also appears and is incremented}
\stopcustommakeup

\stoplocalfootnotes

\stoptext

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.