yatex
changeset 513:ebed0ead1eab dev
Add a command line using convert to pdf2png setting.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 04 Jan 2018 23:52:31 +0900 |
parents | 46f02e576ee1 |
children | 8e0822416fc6 |
files | yatexprc.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/yatexprc.el Thu Jan 04 22:47:54 2018 +0900 1.2 +++ b/yatexprc.el Thu Jan 04 23:52:31 2018 +0900 1.3 @@ -448,7 +448,10 @@ 1.4 "convert -density %d tmp.pdf %b.%f" 1.5 ;; If we use sips, specify jpeg as format 1.6 "sips -s format jpeg -s dpiWidth %d -s dpiHeight %d %b.pdf --out %b.jpg") 1.7 - "rm -f tmp.pdf"))) 1.8 + "rm -f tmp.pdf")) 1.9 + ((YaTeX-executable-find "convert") 1.10 + (list "convert -trim -density %d %b.pdf %b.%f")) 1.11 + ) 1.12 "*Pipe line of command as a list to create image file from PDF. 1.13 See also doc-string of YaTeX-typeset-dvi2image-chain.") 1.14