resolve_refs_html: Substitute resolve functions for bookdown

Description Usage Arguments Value Author(s) Examples

Description

These functions are monkey-patched into bookdown to allow it to support Hungarian language with code like @aref(figure).

Usage

1
2
3
resolve_refs_html(content, global = FALSE)
resolve_refs_latex(x)
ref_to_number(ref, ref_table, backslash)

Arguments

content, global, x, ref, ref_table, backslash

What the original args meant.

Value

These return what the original bookdown functions would return.

Author(s)

The bulk of the text of these functions was written by the authors of bookdown.

Examples

1
2
bookdown:::resolve_refs_html(c('<caption>(#tab:foo) A nice table.</caption>', '<p>See Table @ref(tab:foo), or in
Hungarian, @aref(tab:foo) Table</p>'), TRUE)

dmurdoch/magyarbookdown documentation built on May 9, 2019, 10:41 a.m.