Return all the files linked from a LyX file
linked_from_lyx(x, AbsolutePaths = TRUE, mustWork = NA)
x | Path to LyX file |
---|---|
AbsolutePaths | Return absolute path to linked files |
mustWork | If true, check that linked files actually exist |
by default make paths absolute using normalizePath
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')) }