From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WwNqBSAxNmENiQAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 17:17:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gDlpACAxNmFncQAAB5/wlQ (envelope-from ) for ; Mon, 06 Sep 2021 15:17:52 +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 4D49611046 for ; Mon, 6 Sep 2021 17:17:51 +0200 (CEST) Received: from localhost ([::1]:55964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNGNY-0004Kn-P5 for larch@yhetil.org; Mon, 06 Sep 2021 11:17:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mN8fW-00082x-9t for emacs-orgmode@gnu.org; Mon, 06 Sep 2021 03:03:50 -0400 Received: from mail-vk1-xa2c.google.com ([2607:f8b0:4864:20::a2c]:44709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mN8fU-0002bu-4C for emacs-orgmode@gnu.org; Mon, 06 Sep 2021 03:03:50 -0400 Received: by mail-vk1-xa2c.google.com with SMTP id g34so1888771vkd.11 for ; Mon, 06 Sep 2021 00:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=dfvqxrWxUT3RRX3mhW7QaTqM/g2MHJ3pD21ACrXcsJA=; b=GsIdhYNgSFQnU0XeLoPluh8owxrqvdPf++EUKdXRvYHyfsB1UL4zRLnSypNOFLJ3xI XeoK0aZv2E7MnfR7asBHNgeOuySr7d40mtmfeYI98Y2FVDsha9+/EB/KLOpMwE78X6rb 57MbgTR3ncUogeayEPOI/1Wi/VPuCuR5vkoGCceHOA8iwtKPNEDV5CQzOu3AOSLWgs2y 0JpZue/9ZUci/6l3zB+AgZqN9O5iT1fMNDxixVizQ5c+/W3XmMQXq52sYcROg58UXRF3 7S0TzT7bCHcDcnycUjTa65RPvoP/k+o6yrdIpjn8hbHGrW4wigp8RuRfe/s2vRC+4kaU WJNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dfvqxrWxUT3RRX3mhW7QaTqM/g2MHJ3pD21ACrXcsJA=; b=Dqm8v1fB0Uxl+843qebaDK0lgDV4GeAYgXhzqcXwrvBxsOP5ap4ASKVkiSWdl7hF8Z bmH5ov2GCM66QinlnDlcy4qMGqbGu9tV4JjmFrmT122ENMZhMX2VSHYHcQOBcN44TlFc MHwNT23CIxRHswIoqFEos8ag04a1PAZjMTfSGzoBs7UdTzXNdzWqnQT+Ej21AIqmbQMu a8bz1lhnDlmiUMmJr6LYXFYh0GyqduIsgEMdqTqym/BCLG3SF07pMQhKWHc8ijf7hR3y T8xBWTrkP0t7RWUWG5TUxwusBNTOLD1txNQ7R45T1jLTcOhkTXMZGHb87aQmaHkDKCrD vu/A== X-Gm-Message-State: AOAM531gwWw9+LCDfWzOJDSde3AXF7n+h9xomEphzb/dc1N5wn/W9/9b HrTa++xjkj8+8LpzM4zQUkvYuMrSCloun+3v9EOGCwXTMNvgTA== X-Google-Smtp-Source: ABdhPJxj00Y9UUyHWLm825U/iVh04RlSKWCEt1c3xCWWrR2o7syCAfdRAJOTAUhXWLAgkNvYglq8KKFSc9uoXdXLJlQ= X-Received: by 2002:a1f:41d7:: with SMTP id o206mr4358818vka.9.1630911825784; Mon, 06 Sep 2021 00:03:45 -0700 (PDT) MIME-Version: 1.0 From: Zhuohua Li Date: Mon, 6 Sep 2021 15:02:58 +0800 Message-ID: Subject: Bug: `org-babel-latex-preamble' should not hardcode `pgfsysdriver' [9.4.4 (release_9.4.4 @ /home/n/.emacs.d/elpa/28.0/develop/org-mode/lisp/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000009504205cb4e4025" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2c; envelope-from=lizhuohua1994@gmail.com; helo=mail-vk1-xa2c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 06 Sep 2021 11:16:06 -0400 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: , 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=1630941471; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dfvqxrWxUT3RRX3mhW7QaTqM/g2MHJ3pD21ACrXcsJA=; b=r2NcaYq8rcv/ykb8YNucKlhSRPgK/DYEBS48un+Y2wORYk9BDm+xLIf+3TEo3M/kSli/pm iujn41Tdf+sWj3B051ql+egPR4gKM/rDPqX9PokRmcJaEEKWAdhXUU2/Xk9RTUZKbRuVAR taHtmySTJwqvM5w1eABsRIhOb8MAbo/i/13gpRKQauO4n2HINro5tkmQ4qvrUaunFMmvO5 zugPOOWrH3g7Hnjw2JqRmyLCS+Sk35l2jGix4G0MaltleDT5EfZYrtx0RW0DOUH6Ay5gK4 2lHOiy1QlExvH47DWMAdTphjb9DKOdMkDXftzuAQM8Q+vyrTpYXWQKgbhT1ugw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630941471; a=rsa-sha256; cv=none; b=bcccsc98XxcYHBGW5g8Qpf1JNGCTHc1RHCbl/h2zXSuR90gKnrcdYcTOhvcOnX1K8fxtkk tQt3mefw4qncfeLBNfpCzkJLNiOAG6rqAXP6UqkPTpTfcDdE+pHnO8F9BkJyf39N/KyoFJ A3VfzK5RXyhuOYTUVY532nzlMQpFgMiyNYYjYUTSGUEN87wJr/LYIP1CUmU1KbuiOyaESs uhou3lqSLSuvdNU0elfkCl3M3JqEx7g18ryDhP/5nC/S0rnph8Fvrj1fjTZs72fx/KLish s+nYBmPfRLxiEed+q/lXA75pLwM2I1HzTudrDVri+FQq0OTfVrt/nMojhuX3mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GsIdhYNg; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GsIdhYNg; dmarc=pass (policy=none) header.from=gmail.com; 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: 4D49611046 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3acGaOoEzJc7 --00000000000009504205cb4e4025 Content-Type: text/plain; charset="UTF-8" Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Hi, I tried to export LaTex code blocks into SVG images using the development version org-mode (d70f280678) but failed with "PDF produced with errors". I found that in file `lisp/ob-latex.el', variable `org-babel-latex-preamble' hardcodes the following: \\def\\pgfsysdriver{pgfsys-tex4ht.def} This only compiles if you use `htlatex', however, the default LaTex compiler is `pdflatex`. I deleted this line and everything works fine. I think this should be a bug so I report it here. Hope it can be fixed. Thank you very much! Zhuohua Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-08-28 Package: Org mode version 9.4.4 (release_9.4.4 @ /home/n/.emacs.d/elpa/28.0/develop/org-mode/lisp/) --00000000000009504205cb4e4025 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Remember to cover the basics, that is, what you e= xpected to happen and
what in fact did happen.=C2=A0 You don't know = how to make a good report?=C2=A0 See

=C2=A0 =C2=A0 =C2=A0https://orgmode.org/manu= al/Feedback.html#Feedback

Your bug report will be posted to the = Org mailing list.
------------------------------------------------------= ------------------

Hi, I tried to export LaTex code block= s into SVG images using the development version org-mode (d70f280678) but failed with= "PDF produced with errors".

I found tha= t in file `lisp/o= b-latex.el', variable `org-babel-latex-preamble' hardcodes the foll= owing:

\\def\\pgfsysdriver{pgfsys-tex4ht.def}

This only compiles = if you use `htlatex', however, the default LaTex compiler is `pdflatex`= .
I deleted this line and everything works fine. I think this should b= e a bug so I report it here. Hope it can be fixed.

Thank you very = much!

Zhuohua


Emacs =C2=A0: GNU Emacs 2= 8.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1= .16.0)
=C2=A0of 2021-08-28
Package: Org mode version 9.4.4 (release_9= .4.4 @ /home/n/.emacs.d/elpa/28.0/develop/org-mode/lisp/)
--00000000000009504205cb4e4025--