From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id lg4TMhhCRmGCLwEAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 21:46:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wPLoLBhCRmEpWgAA1q6Kng (envelope-from ) for ; Sat, 18 Sep 2021 19:46:32 +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 06DA9BC1A for ; Sat, 18 Sep 2021 21:46:32 +0200 (CEST) Received: from localhost ([::1]:37692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRgIB-00080D-3N for larch@yhetil.org; Sat, 18 Sep 2021 15:46:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRgHh-0007yl-Rz for emacs-orgmode@gnu.org; Sat, 18 Sep 2021 15:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRgHh-0007FG-Ki for emacs-orgmode@gnu.org; Sat, 18 Sep 2021 15:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRgHh-0007xp-Jn for emacs-orgmode@gnu.org; Sat, 18 Sep 2021 15:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50555: [BUG] Org Latex export doesn't handle src blocks correctly Resent-From: Daniel Fleischer Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sat, 18 Sep 2021 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50555 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: moreinfo To: Younes Ben El Received: via spool by 50555-submit@debbugs.gnu.org id=B50555.163199435630602 (code B ref 50555); Sat, 18 Sep 2021 19:46:01 +0000 Received: (at 50555) by debbugs.gnu.org; 18 Sep 2021 19:45:56 +0000 Received: from localhost ([127.0.0.1]:36996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRgHb-0007xW-Uh for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:45:56 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:45006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRgHZ-0007xI-3u for 50555@debbugs.gnu.org; Sat, 18 Sep 2021 15:45:54 -0400 Received: by mail-wm1-f46.google.com with SMTP id f62-20020a1c1f41000000b0030b42643f72so4197994wmf.3 for <50555@debbugs.gnu.org>; Sat, 18 Sep 2021 12:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hA8yJDdnhis2cIv2aAyngNRIPVgOXdHouPmiIWoYR3A=; b=dfADM4cbIukxcIRGAn4+EXJzi9t5i1hfAuwlZyKqnrWuXn3w9i6s5hx2PKPQpQlhFk hZm8nNWt2fZ6jypDh2c3Aq77YQY94kOX1CYKX9JbFjaL4RNrQGnoyLMzmEjiac91mZJJ frS/alJPTDvn9K0vD25iHs+BGSH4kuaRi2MwabQdRuMyAtVkbEH5HJIRAlGEIXZU0BtP DSMaSX5SR5DjLg0R3SBxHWefymJKeo4/KM1VsdYUfBdW+gPmB6OKO+6p3dQ5kv4zG0Hd ISgb2OmFF+zm15+oWxq4eYDLbVTP3BpPloLbgtMl4P7ikN+LgXplH2N6j73wozvNIKwa 88sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hA8yJDdnhis2cIv2aAyngNRIPVgOXdHouPmiIWoYR3A=; b=C0uM5gdy/X2JWdctKzXcB2Hu5aHdrhvu9P/bsBemiMM9vhENIR6EeqnHyG30G5XbDc GOr1c7sNLyGGzwFUKKPN5Um3MCJPlBwLTR/aAZIfnk+27y4xhrHzDE/AMbp3sDElX6cu dPF9ywO4JPN6p5VAxhaKf6hsFhnDRKw/s/9agko883cXPC+dUEp5Pg52w88CqUl85pZm a1khEnkTWE9/JTV2pusvTLzD8iKmHjy5bhEHzbgvwvP+4aY125u+lHFxxW6GWinbB8it VFClO3Hvxip2anEkq/HNLjYUoTeHZevfvZnF09SSnYeL/M0n9B0G6sygPbQZ2PNUFlkb zXDQ== X-Gm-Message-State: AOAM533yaEugq21Jklk2HZLDOod+25j1wLEpYx3934Gg/430lOehd7XD 6T7jMoI1F755h+vxx4pJ/trSHi0edj4= X-Google-Smtp-Source: ABdhPJyKb2ibGOpkBj6aRtubrYYi6KiVDnU/9zmu9R2lw8exvwwQQ3a2LSpGf31m0s2e5dhWsy8yJw== X-Received: by 2002:a05:600c:ac5:: with SMTP id c5mr17325779wmr.191.1631994347192; Sat, 18 Sep 2021 12:45:47 -0700 (PDT) Received: from Home-Mac ([141.226.13.159]) by smtp.gmail.com with ESMTPSA id y64sm7736495wmc.38.2021.09.18.12.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 12:45:46 -0700 (PDT) From: Daniel Fleischer References: <87y27uueuo.fsf@gmail.com> Date: Sat, 18 Sep 2021 22:45:44 +0300 In-Reply-To: <87y27uueuo.fsf@gmail.com> (Younes Ben El's message of "Sat, 18 Sep 2021 15:38:13 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50555@debbugs.gnu.org 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=1631994392; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=hA8yJDdnhis2cIv2aAyngNRIPVgOXdHouPmiIWoYR3A=; b=obyhKFEpc6rjysbQOYQk3jr6VSCt6wBb1uJvVSbWFCXYRei7YUeuY40PUy/2q8oirN1rK9 OfyEp9tWNbFuiqb6v7xsyp80QUfErPXL8OOXQNU8EP9B3aM+mBAvuOc++mwsmcqHEbQueh j1EC4TevkCgGC/X+X3ERFcb1J0Cl+qwRD2Z9evM6HEn70SiJIERI9b4Hr+uzkyiFarVeL4 UM43nYf+QUXhdCsI50yYUJGrakgZO5czDda7l8sUkHP812YBH6rV7wtjZgQyeE1t7JcrJj HuTd4xMa5WArHpm7TFwojyaKDRuC9S6adS7ZyBXgIe47oWLYrhPJ+MhlqWWB1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631994392; a=rsa-sha256; cv=none; b=Al/URyL/VVztdzsn787G8wWa6c1MBGZyZTHhT+A7rMe0GGAUQ6eFtSNe1hcKdrGrYJi6si RjR3CQdXkN/6ZCiN04EhO/w94WLyrba9fIE1Zf4DEARMZKhZYRUlcV130/2NzRL7eNLLnD G0rDNg6B9f5y84XlTgdjTIppImPtx1OZH9qfQgsKtTFK2X44ttrWT3d/Kec86XIs4dSGLX 3HmM2tjYLusnao0W0hYrYI6gcJjjqLKcYiLsrf1Od82W7637P+Pk16zUDP9I5QBIvI1h5v VVKs1NmuFOFkIcFN82i8DCupPfQ7qVz6FKTOIz1XGFtXqp3ZDnZ5+DD92AV2XQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dfADM4cb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dfADM4cb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 06DA9BC1A X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: lWT1pUcK1nE6 I verified again, this time with emacs -Q; the empty argument list [] does NOT stop you from compiling org into PDF. > (with-eval-after-load 'ox-latex > (add-to-list 'org-latex-packages-alist '("" "minted")) > (setq org-latex-listings 'minted) > (setq org-latex-pdf-process > '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" > "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" > "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))) > Here is the hint: since "minted" is using a python package (pygments) for the highlighting, one need to add the "-shell-escape" to the call. Other than that, everything works as planned. Since it's a specific configuration for using "minted", I'll add a comment in the manual. If you feel that there is still an issue with the [], please provide an emacs -Q recipe that shows it, after adding the "-shell-escape" flag. -- Daniel Fleischer