Am Mi, 2021-04-07, 19:26 +0200, Juan Manuel Macías <maciasch...@posteo.net> schrieb: Yes that works! usually i do not use imagemagick. I use graphicsmagick, but ido not know how i have to set the right command line. SVG does nothing. Very sad :-( I want to use this because of quality reasons. Do you know, how i can test svg?
Regards Poul > > It's weird, it should work :-( ... I assume you have dvisvgm installed > in your TeX Live installation, is that right? (You can excute something > like 'dvisvgm --help' in your terminal) > > What is your SO? > > Anyway, you can try the imagemagick option: > > (setq luamagick > '(luamagick > :programs ("lualatex" "convert") > :description "pdf > png" > :message "you need to install lualatex and imagemagick." > :use-xcolor t > :image-input-type "pdf" > :image-output-type "png" > :image-size-adjust (1.0 . 1.0) > :latex-compiler ("lualatex -interaction nonstopmode -output-directory > %o %f") > :image-converter ("convert -density %D -trim -antialias %f -quality > 100 %O"))) > (add-to-list 'org-preview-latex-process-alist luamagick) > > (setq org-preview-latex-default-process 'luamagick)