Description Usage Arguments Value
This function extracts the first 250 characters of a document, which should be the front matter (document start, title, author, chapter headings, in that order). It takes anything contained within brackets. It eliminates things that don't look like a title or author, like "document" and "Front Matter", then returns a data.frame where every odd entry is the title, and every even entry is the author. This is a pretty narrow function, but it serves its purpose.
1 | getAuthorTitles(sdir = ".", filetype = "*.tex", filename = NULL)
|
sdir |
The directory to process |
filetype |
The type of file to process. Currently only supports .tex files. |
This function returns a data.frame with titles and authors for a directory of LaTeX documents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.