"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "TeXmacs/progs/convert/images/init-images.scm" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

init-images.scm  (TeXmacs-1.99.4-src):init-images.scm  (TeXmacs-1.99.5-src)
skipping to change at line 28 skipping to change at line 28
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define-format postscript (define-format postscript
(:name "Postscript") (:name "Postscript")
(:suffix "ps" "eps")) (:suffix "ps" "eps"))
(define-format pdf (define-format pdf
(:name "Pdf") (:name "Pdf")
(:suffix "pdf")) (:suffix "pdf"))
(converter pdf-file postscript-file ;;(converter pdf-file postscript-file
(:require (url-exists-in-path? "pdf2ps")) ;; (:require (url-exists-in-path? "pdf2ps"))
(:shell "pdf2ps" from to)) ;; (:shell "pdf2ps" from to))
;; many options for pdf->ps/eps see http://tex.stackexchange.com/a/20884
;; this one does a better rendering than pdf2ps (also based on gs):
(with gs (if (or (os-win32?) (os-mingw?)) "gswin32c" "gs")
(converter pdf-file postscript-file
;;(:require (url-exists-in-path? gs )) ;; gs IS a dependency
(:shell ,gs "-q -dNOCACHE -dUseCropBox -dNOPAUSE -dBATCH -dSAFER -sDEVICE=eps2
write -sOutputFile=" to from)))
;; problem:
;; eps2write available starting with gs 9.14 (2014-03-26)
;; epswrite removed in gs 9.16 (2015-03-30)
(converter postscript-file pdf-file (converter postscript-file pdf-file
(:require (url-exists-in-path? "ps2pdf")) (:require (url-exists-in-path? "ps2pdf"))
(:shell "ps2pdf" from to)) (:shell "ps2pdf" from to))
(define-format xfig (define-format xfig
(:name "Xfig") (:name "Xfig")
(:suffix "fig")) (:suffix "fig"))
(converter xfig-file postscript-file (converter xfig-file postscript-file
skipping to change at line 59 skipping to change at line 69
(:shell "xmgrace" "-noask -hardcopy -hdevice EPS -printfile" to from)) (:shell "xmgrace" "-noask -hardcopy -hdevice EPS -printfile" to from))
(define-format svg (define-format svg
(:name "Svg") (:name "Svg")
(:suffix "svg")) (:suffix "svg"))
(converter svg-file postscript-file (converter svg-file postscript-file
(:require (url-exists-in-path? "inkscape")) (:require (url-exists-in-path? "inkscape"))
(:shell "inkscape" "-z" "-f" from "-P" to)) (:shell "inkscape" "-z" "-f" from "-P" to))
(converter svg-file pdf-file
(:require (url-exists-in-path? "inkscape"))
(:shell "inkscape" "-z" "-f" from "-A" to))
(converter svg-file png-file (converter svg-file png-file
(:require (url-exists-in-path? "rsvg")) (:require (url-exists-in-path? "rsvg-convert"))
(:shell "rsvg" "-f png" from to)) (:shell "rsvg-convert" "-f png -d 300" "-o " to from))
(define-format geogebra (define-format geogebra
(:name "Geogebra") (:name "Geogebra")
(:suffix "ggb")) (:suffix "ggb"))
(converter geogebra-file postscript-file (converter geogebra-file postscript-file
(:require (url-exists-in-path? "geogebra")) (:require (url-exists-in-path? "geogebra"))
(:shell "geogebra" "--export=" to "--dpi=600" from)) (:shell "geogebra" "--export=" to "--dpi=600" from))
(converter geogebra-file svg-file (converter geogebra-file svg-file
 End of changes. 3 change blocks. 
5 lines changed or deleted 20 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS