Description Usage Arguments See Also Examples
LyXHTML is currently (LyX 2.1 series) the highest quality html export available by default. However, it cannot be opened by word immediately because it interposes a small xml type header before the html content. This function removes that header and renames the file with a .html extension by default.
1 | lyxhtml2html(infile, outfile = NULL)
|
infile |
path to xhtml file |
outfile |
path to output html file (defaults to <infilestem>.<html>) |
Other LyX: current_lyx_tempfile
,
lyx_citekeys
, lyxexport
1 2 3 4 5 6 7 | ## Not run:
lyxfile=system.file('tests/testthat/testdata/lyx/test.lyx', package='paperutils')
lyxhtml=tempfile(pattern = basename(lyxfile), fileext = '.xhtml')
lyxexport(lyxfile, outfile=lyxhtml)
lyxhtml2html(lyxhtml)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.