From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6Ii3BDCzbGD8PwAAgWs5BA (envelope-from ) for ; Tue, 06 Apr 2021 21:14:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iMYMOy+zbGAGKgAAbx9fmQ (envelope-from ) for ; Tue, 06 Apr 2021 19:14:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6CCEA24DBF for ; Tue, 6 Apr 2021 21:14:54 +0200 (CEST) Received: from localhost ([::1]:57294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTrA4-0004Nc-Ic for larch@yhetil.org; Tue, 06 Apr 2021 15:14:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTr9R-0004MY-Vh for emacs-orgmode@gnu.org; Tue, 06 Apr 2021 15:14:13 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46089) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTr9N-0007iL-Ul for emacs-orgmode@gnu.org; Tue, 06 Apr 2021 15:14:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0180016005C for ; Tue, 6 Apr 2021 21:14:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1617736444; bh=pDV+Bt2T7wE8Kvh6EvMRGtQryRYv6auFGl6R1wixAew=; h=From:To:Cc:Subject:Date:From; b=rsUgdOeFSdCqtzNMIQoqBnribxNF4h2/ERR1T4TJYadbdpTq0MDFgAoi7sR8vf19P RIWt1QmdEP7mZbfLdAk/l4mssRqFeO7BL/jJRXSUsfYLc3l+RDPHly5aIdTbgEPUPE 9tJ0sS+VJbt8dJ/mmRNBuGeGz29gmRMt51SrV6QMGpPAPCAkW+tROrbCqqg0anM2Md ZkvuXPzH52ybwtRDejCdndN9KB0efblcXsrZ32HxCcvc4qZSiJbMXTYtdoTlip0CBc p2erF9YZ6NuCHy16vursta2SSnCrBbhsW5yd5vzzM+dVYXRlkE407eMujCgQtHKL7L 80U1+oANo6y/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FFHJ61BlVz6tmL; Tue, 6 Apr 2021 21:13:57 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: physiculus Subject: Re: Choosing a LaTeX Compiler (my predilection for LuaTeX) References: <87tuokh2z3.fsf@posteo.net> <87h7kk4eij.fsf@web.de> <87pmz8h0rs.fsf@posteo.net> <871rbnb5hc.fsf@googlemail.com> Date: Tue, 06 Apr 2021 21:13:56 +0200 In-Reply-To: <871rbnb5hc.fsf@googlemail.com> (physiculus@gmail.com's message of "Tue, 06 Apr 2021 21:03:27 +0200") Message-ID: <87blar1b0r.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617736495; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xqGCqCdl51+2qks1pLfcnhjt74cdq0GoiGVePO61O3o=; b=h1sFL9Wdopt6QTQU5GtmK/53fLphcdXDs61wjTcjHS1Fky5QHW5/NB6r1vuETW/cibr893 DaAZ+Hgol7WnMIdUl6EK+LhZ4RVh4nXZsqAMxxlMkalase31hxoDVzTSV5ZhhJo3FS5Cfs jQd9ZPPyF61PjN4IE/zbqdW0ESrQUCxj2vDlwmQdClyJraf09LG/fe60Jw9z5nC9D51VHV wbjuhgjzNpnnvXxP2NJ1vMeGYVdePIzZhJ0sUq1h+aDhfMZMntwaPhAM8L7n/6FsrYhT4m SPaLVK81vf/nb8+rPKwlQyX08QoIXSLw8gHnIDe+/fgUsMfhCZv9f+OlwgDmjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617736495; a=rsa-sha256; cv=none; b=k26Upj0AHzykvqTPeadbGreadg1PbtbUPVjGMF8UEgOStdw/G+XHy013/M0Dw+K7H82FUl Rbc/Meq2+uMPhSIzz090XltEv/GDLUFqcSSdIXnSZRnprf7rQhuBbNoHPw5LIfDO1evIY4 lqXVymSAnuiM4r3fsTOtSnhO6bFi387eWe4CfS9cKQE1b6AhyvakycWV1G4dDtVQWqLXX3 pWVLjuDgvssNCUjVW5uZhijvYNThnUHnOYdnp7V8wiwqd7VFbDAwE1tmH4sx7tQ5pUoPqo xoB6zL1ruguuwpy7T1BhYHldURwNgAwa7DtKwv4z2g3UIrTwPmi6xr6ihRme5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rsUgdOeF; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rsUgdOeF; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 6CCEA24DBF X-Spam-Score: -1.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: GhuLj3pR0Y1D Hi physiculus, physiculus writes: > Hello, > i use LuaTex / LuaLatex successfully after some configs and readings. > The result (quality and speed) for me is better then with the old latex engine. > I'm satisfied. > BUT one thing isn't working and as far as i read here, there is no > solution yet :-( > The latex-preview inside org-mode is not possible, because it seems, > that org-mode needs the dvi subprocess for running the neccessary tools. > With LuaLatex there is no dvi file, because it produces a pdf right > away. > Any solution will be wellcome. I have this in my ~/.emacs: #+begin_src emacs-lisp (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.7 . 1.5) :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 luasvg '(luasvg :programs ("lualatex" "dvisvgm") :description "dvi > svg" :message "you need to install lualatex and dvisvgm." :use-xcolor t :image-input-type "dvi" :image-output-type "svg" :image-size-adjust (1.7 . 1.5) :latex-compiler ("lualatex -interaction nonstopmode -output-format dvi -output-directory %o %f") :image-converter ("dvisvgm %f -n -b min -c %S -o %O"))) (add-to-list 'org-preview-latex-process-alist luasvg) (setq org-preview-latex-default-process 'luasvg) #+end_src You can set 'org-preview-latex-default-process' to luasvg or luamagick Best regards, Juan Manuel -- -- ------------------------------------------------------ https://juanmanuelmacias.com/