include_graphics_latex: Wrapper of 'knitr::include_graphics' for PDF Output

Description Usage

Description

Deals with URL and GIFs. If an url is passed to path of include_graphics, the figure is automatically downloaded and included using local relative path. If a figure with .gif extension is included, a piece of text, rather than the figure, is inserted.

Usage

1
2
3
include_graphics_latex(path, alt_path = NULL, handler = function(path)
  knitr::asis_output(paste("View", tools::file_ext(path), "at", path)),
  ...)

linguisticsdown documentation built on May 2, 2019, 2:26 p.m.