rmarkdown/RStudio에서 pandoc 필터 (this one)를 부릅니다. 그러나 판도는 필터를 인식하지 못하는 것 같습니다. YAML 헤더에 필터를 넘겼습니다.Rmarkdown에서 판도 필터를 인식하지 못합니다.
---
title: "test"
output: pdf_document
header-includes:
- \usepackage{xspace}
pandoc_args:
- --filter
- pandoc-filter/typography.py
---
test
s.S.
가 뜨개질 출력 필터가 pandoc 넘겨 것을 흔적 보여줍니다 :이 rmd
파일 고려 렌더링 된 pdf 파일이 필터의 효과를 표시하지 않습니다
/usr/local/bin/pandoc +RTS -K512m -RTS test_typography-py.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output test_typography-py.pdf --template /Library/Frameworks/R.framework/Versions/3.4/Resources/library/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --pdf-engine pdflatex --variable graphics=yes --variable 'geometry:margin=1in'
(필터의 효과는 "예" "ZB '또는 문구 사이의 얇은 공간을 렌더링한다.)
rmarkdown을 통해 pandoc에서이 필터를 실행하려면 어떻게해야합니까? (가능하면 YAML 헤더 사용)?