1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
|
# File 'lib/review/latexbuilder.rb', line 1141
def inline_fn(id)
if @book.config['footnotetext']
macro("footnotemark[#{@chapter.(id).number}]", '')
elsif @doc_status[:caption] || @doc_status[:table] || @doc_status[:column] || @doc_status[:dt]
@foottext[id] = @chapter.(id).number
macro('protect\\footnotemark', '')
else
macro('footnote', compile_inline(@chapter.(id).content.strip))
end
rescue KeyError
app_error "unknown footnote: #{id}"
end
|