Return all the files linked from a LyX file

linked_from_lyx(x, AbsolutePaths = TRUE, mustWork = NA)

Arguments

x

Path to LyX file

AbsolutePaths

Return absolute path to linked files

mustWork

If true, check that linked files actually exist

Details

by default make paths absolute using normalizePath

Examples

if (FALSE) { linked_from_lyx('/GD/LMBD/Papers/2012fruLHNs/lyx/main.lyx') linked_from_lyx(system.file('tests','testthat','testdata','lyx','test.lyx',package='paperutils')) }