- return _("Opened Footnote Inset");
-}
-
-
-int InsetFoot::latex(Buffer const & buf, odocstream & os,
- OutputParams const & runparams_in) const
-{
- OutputParams runparams = runparams_in;
- // footnotes in titling commands like \title have moving arguments
- runparams.moving_arg |= runparams_in.intitle;
-
- // in titling commands, \thanks should be used instead of \footnote.
- // some classes (e.g. memoir) do not understand \footnote.
- if (runparams_in.intitle)
- os << "%\n\\thanks{";
- else
- os << "%\n\\footnote{";
-
- int const i = InsetText::latex(buf, os, runparams);
- os << "%\n}";
- runparams_in.encoding = runparams.encoding;
-
- return i + 2;
-}
-
-
-int InsetFoot::plaintext(Buffer const & buf, odocstream & os,
- OutputParams const & runparams) const
-{
- os << '[' << _("footnote") << ":\n";
- InsetText::plaintext(buf, os, runparams);
+ os << '[' << buffer().B_("footnote") << ":\n";
+ InsetText::plaintext(os, runparams, max_length);