| check_labels | R Documentation |
Check labels
check_labels(filename, .report_error, check.chaprefs = TRUE)
filename |
The LaTeX source file to check. |
.report_error |
The function to provide context to the error. |
check.chaprefs |
(logical, default: |
Checks each label has a prefix and the prefix is one of the following:
fig:,
tbl:,
box:,
chap:,
sec:,
eq:,
subsec:,
subsubsec:,
para:
paragraph:.
Checks also that chapter labels are marked with chap:.
(N.B. although each label must have a prefix, it must not necessarily the right prefix;
for example, a table caption may have prefix tbl:.)
NULL, invisibly if labels check out. An error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.