From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wJ/cGBKHvGZHxQAAe85BDQ:P1 (envelope-from ) for ; Wed, 14 Aug 2024 10:29:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wJ/cGBKHvGZHxQAAe85BDQ (envelope-from ) for ; Wed, 14 Aug 2024 12:29:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y80TthmI; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723631378; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=plFqKnTbZFaVThEhnOkZNZeHwfn2lFQnQngQZzx+bbs=; b=dD/Z9THV6E8ekX4T+ik73CbDFi3ajesjawp4oHRMs1UVK8sTOtzsd3Iwz2W7LGnw6F7EUw avXX14CqMSY2Fdv0RawOCjqo37vR5/ukrf07Pl7T3TqI8RnRbn8h/NQJgkk8qf5UYvPy7v 9W9LYRL4VBZRszD9Zx1psgfqDI+U4p/qJn8fd2TVUoBanY34/gpiySP2rbWnSkkudOgl4N geIy4qDep0jKV406tXQ0phamxRRXwTUyzUehv80lYTMHkP35LgL18+thhVarc3saAMTCLP FzZMnlaiM6eGDFIleGHDcYbYOC5b6eTfkh5OrhyF3irfXCRTq/YjE1a+4kamlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Y80TthmI; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723631378; a=rsa-sha256; cv=none; b=Bcxiox+o1FKKPWGkdHw80kt5Cs8dW5VEZl95VBQCf7Z7xRq1/fogcI71XctJGMrE6LShAb +MABPNJfH7nlrGlgVV+O4/zerPo4quE0/dyj9klRW8AzKkJ3hTVYW/977lhqlEPmnLQ0c2 I9XDCsSMk2uPApfS8b3zvNR+0WC8hmWdOFN06oberIji3ezRTDK1kZbzquGzMtj5rVY9hn PY3U+nyclz5Jn+nT8Hy7ShBRws1DKoReU1VI0/L+g+501tliQkBLfYkSJW+IQubhF4dkb6 fdvE04ZeTYFJdWojgVbz4/X4N41i9NDh+DMyvxubvTrDT9oGRzHJEC1dxG7DWA== 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 3FC3F215AE for ; Wed, 14 Aug 2024 12:29:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seBF4-0001Zs-Bl; Wed, 14 Aug 2024 06:28:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seBF2-0001Uu-QX for emacs-orgmode@gnu.org; Wed, 14 Aug 2024 06:28:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seBF0-0004tC-Le for emacs-orgmode@gnu.org; Wed, 14 Aug 2024 06:28:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 57D3D240101 for ; Wed, 14 Aug 2024 12:28:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723631308; bh=n7k5NgSMqeL+Sykb+rtFjMlBGkZ+8ROgPVn4pHFgETw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=Y80TthmIlHqNCpPA3KBFBB+LBFiFDYcOgv7OwmEu2C0S9WbwlY9kZL7J+U6TYZp63 AS03TXHCzfwHOD7LwJ4VU35uPAIdD+jNaNIenDRD2gOvGLkMVV+N4yBmU7vtU/V4UM xmbT79exAFlPUMbiw/GrmkPCuV4n47p2RUavmmiYtQyjnAwFLJRGPw2XX69LPCAvw2 GIKOcg/uZWpwd3AKDdaRsPx963qDWz8yzeg47fMWb1lsqCKH58mir2+q0K/FBgEbRM LaBAHjohrufwuDMfxO79xMdi3jmznyKXRhZacUcnoAQMHV9KtY67qx5/xK/LtA3MaY G7reVfkH/o9/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WkPbv5RWdz6tvr; Wed, 14 Aug 2024 12:28:27 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org, Karthik Chikmagalur Subject: Re: org-latex-preview, pNiceArray (running latex twice) In-Reply-To: <87plqbjtg2.fsf@mat.ucm.es> References: <87wmklyd5v.fsf@mat.ucm.es> <87mslgrzba.fsf@localhost> <878qwzmukt.fsf@mat.ucm.es> <87ed6rsgm6.fsf@localhost> <87ttfnleqn.fsf@mat.ucm.es> <87bk1vsfey.fsf@localhost> <87h6bnlege.fsf@mat.ucm.es> <878qwzsf1k.fsf@localhost> <87a5hfla9u.fsf@mat.ucm.es> <871q2rsa9e.fsf@localhost> <87plqbjtg2.fsf@mat.ucm.es> Date: Wed, 14 Aug 2024 10:29:36 +0000 Message-ID: <87v803qtwv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.67 X-Migadu-Queue-Id: 3FC3F215AE X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.67 X-TUID: pn4Jp0dWAWN+ Uwe Brauer writes: > > I just tried > > > latexmk -f -pdf text.tex > > Confirmed. > > So I changed the setting of org-preview-latex-process-alist > .... > But now I receive > > > --8<---------------cut here---------------start------------->8--- > Debugger entered--Lisp error: (error "File \"/tmp/orgtex68AmTu.dvi\" wasn= =E2=80=99t produced. Ple...") > signal(error ("File \"/tmp/orgtex68AmTu.dvi\" wasn=E2=80=99t produced. = Ple...")) > error("File \"/tmp/orgtex68AmTu.dvi\" wasn't produced. Ple...") > org-compile-file("/tmp/orgtex68AmTu.tex" ("latexmk -f -pdf -output-dir= ectory=3D%o %f") "dvi" "Please adjust `dvipng' part of `org-preview-latex-.= .." #) This is expected. > ((dvipng :programs > ("latexmk" "dvipng") > :description "dvi > png" :message "you need to install the progr= ams: latex and dvipng." :image-input-type "dvi" :image-output-type "png" :i= mage-size-adjust > (1.0 . 1.0) > :latex-compiler > ("latexmk -f -pdf -output-directory=3D%o %f") > :image-converter > ("dvipng -D %D -T tight -o %O %f") > :transparent-image-converter > ("dvipng -D %D -T tight -bg Transparent -o %O %f")) dvipng previews expect .dvi files, not .pdf. You must use ("latexmk -f -latex -output-directory=3D%o %f") Except that latex does not produce the desired result, which indicates that you are using some very strange package that is not compatible with latex. I can only suggest using "imagemagick" process to use pdf -> png conversion, but truly that should be a bug in the latex package. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at