Permalink
Branch: master
Commits on Feb 13, 2019
  1. get rid of the buggy tools::file_path_as_absolute()

    yihui committed Feb 13, 2019
  2. test fs quietly

    yihui committed Feb 13, 2019
  3. typo

    yihui committed Feb 13, 2019
  4. continue to fix a remaining issue in #1529: file_path_as_absolute() a…

    yihui committed Feb 13, 2019
    …nd normalizePath() can fail if the file path contains Unicode characters that cannot be represented in the current locale; fs::path_abs() works
Commits on Feb 12, 2019
  1. fix #1529: no need to normalize the input file paths for pandoc_conve…

    yihui committed Feb 12, 2019
    …rt()
    
    when characters in a file path are not representable in the system native encoding, normalizePath(x, mustWork = TRUE) will fail, even if the file `x` actually exists
    
    for the record, the original code in base_dir() was introduced in #99
Commits on Feb 2, 2019
  1. Support image attributes in ioslides output (#1525)

    frederik-elwert authored and yihui committed Feb 2, 2019
    This fix captures image attributes in the `Image()` and `CaptionedImage()` functions and includes them in the `<img>` tag. Fixes #1524.
Commits on Jan 23, 2019
  1. Prevent clash with KOMA-Script classes (#1509)

    adunning authored and yihui committed Jan 23, 2019
    * Do not set variable-title by default
    
    This was added in #1284. Setting it by default, however, means that the document cannot be compiled if the document class is set to use KOMA-Script (e.g. `documentclass: scrbook`), or presumably any other class that provides `\subtitle`.
    
    * LaTeX template: Prevent clash with \subtitle
    
    Using `\providecommand` instead of `\newcommand` will prevent an error when using a package that already provides `\subtitle` (as the KOMA-Script classes do).
Commits on Jan 11, 2019
  1. enable code folding for julia chunks (#1043) (#1511)

    ilia-kats authored and yihui committed Jan 11, 2019
Commits on Dec 18, 2018
  1. a news item for #1502, and add @malcolmbarrett to the ctb list

    yihui committed Dec 18, 2018
  2. extend latex_dependency to add extra lines (#1502)

    malcolmbarrett authored and yihui committed Dec 18, 2018
    * extend latex_dependency to add extra lines
    
    * change ... to extra_lines, fix typo
    
    * add extra_lines to documentation
    
    * compile documentation
    
    * swap paste for one_string
    
    * add latex_dependency_tikz
    
    * I meant `extra_lines` could be moved into the next one_string()
    
    * cosmetic
Commits on Dec 10, 2018
  1. Guess file extensions for all formats w/ extensions (#1494)

    noamross authored and yihui committed Dec 10, 2018
    Several pandoc output formats may have "+" extensions, such as `html+empty_paragraphs` or `docx+styles`. This PR makes sure that `pandoc_output_file()` guesses the correct file extension for all of these, not only markdown outputs with "+" extensions.
  2. Fix a typo in NEWS.md (#1493)

    yutannihilation authored and yihui committed Dec 10, 2018
Commits on Dec 8, 2018
  1. start the next version

    yihui committed Dec 8, 2018
  2. CRAN release v1.11

    yihui committed Dec 8, 2018
Commits on Dec 7, 2018
  1. if file is already a connection, just read it

    yihui committed Dec 7, 2018
  2. roxygenize

    yihui committed Dec 7, 2018
  3. file.create() can be used to check if a file is writable

    yihui committed Dec 7, 2018
  4. writeLines() -> write_utf8()

    yihui committed Dec 7, 2018
  5. factor out paste(x, collapse = '\n') to one_string()

    yihui committed Dec 7, 2018
  6. use read_utf8() consistently in the package, instead of repeating rea…

    yihui committed Dec 7, 2018
    …dLines(..., warn = FALSE, encoding = 'UTF-8') 50 times
    
    this is to make it faster for the UTF-8 dream to come true: https://yihui.name/en/2018/11/biggest-regret-knitr/
  7. one more read_lines_utf8 -> read_utf8

    yihui committed Dec 7, 2018
  8. read_lines_utf8 -> read_utf8

    yihui committed Dec 7, 2018
  9. cosmetic

    yihui committed Dec 7, 2018
  10. a document may contain multiple bibliography/csl files, and we need t…

    yihui committed Dec 7, 2018
    …o discover them one by one (this is related to #1358)
  11. fix #1358: when discovering resources in Rmd, don't run pandoc-citepr…

    yihui committed Dec 7, 2018
    …oc, because the .bib files may be dynamically generated; when doing the Pandoc conversion, make sure the bib files are copied to the intermediates dir
  12. add a test case for #1358 (this should fail on Travis for the current…

    yihui committed Dec 7, 2018
    … HEAD version)
Commits on Dec 6, 2018
  1. mark_utf8() shouldn't be needed any more

    yihui committed Dec 6, 2018
  2. we require yaml >= 2.1.19 now

    yihui committed Dec 6, 2018
  3. close #1387: call yaml.load(eval.expr = TRUE) to make sure !expr is a…

    yihui committed Dec 6, 2018
    …lways evaluated
  4. tweak readme

    yihui committed Dec 6, 2018
  5. fix #1300: when file.rename() fails, fall back to file.copy() && unli…

    yihui committed Dec 6, 2018
    …nk()