emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)


From: physiculus
Subject: Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)
Date: Wed, 07 Apr 2021 19:53:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Am Mi, 2021-04-07, 19:26 +0200, Juan Manuel Macías <maciaschain@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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]