[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing a LaTeX Compiler (my predilection for LuaTeX)
From: |
Juan Manuel Macías |
Subject: |
Re: Choosing a LaTeX Compiler (my predilection for LuaTeX) |
Date: |
Wed, 07 Apr 2021 19:26:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
physiculus writes:
> Hello again,
>
> thanks for the snippet, but unfortunately it doesn't work :-(
>
> Now it doesn't stop with error, it happens nothing.
> here is my config.
>
> Variable:
> org-preview-latex-default-process is a variable defined in ‘org.el’.
> Its value is ‘luasvg’
> Original value was ‘dvipng’
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)
Best regards,
Juan Manuel
- Choosing a LaTeX Compiler (my predilection for LuaTeX), Juan Manuel Macías, 2021/04/05
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Dr. Arne Babenhauserheide, 2021/04/05
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Juan Manuel Macías, 2021/04/05
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), physiculus, 2021/04/06
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Juan Manuel Macías, 2021/04/06
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), physiculus, 2021/04/07
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX),
Juan Manuel Macías <=
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), physiculus, 2021/04/07
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Juan Manuel Macías, 2021/04/07
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), tomas, 2021/04/06
- Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Juan Manuel Macías, 2021/04/06
Re: Choosing a LaTeX Compiler (my predilection for LuaTeX), Diego Zamboni, 2021/04/07