From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: BUG: the builtin LaTeX/P DF exporter mislabels source blocks as figures. Date: Wed, 01 May 2019 18:26:16 +0200 Message-ID: <87ef5icf9z.fsf@nicolasgoaziou.fr> References: <87pnp35spi.fsf@nicolasgoaziou.fr> <93aa2902139cde9b8d0d9c5d5a1ba8b7332757fe.camel@free.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLs3w-0006Wh-GL for emacs-orgmode@gnu.org; Wed, 01 May 2019 12:26:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLs3t-0002yn-FW for emacs-orgmode@gnu.org; Wed, 01 May 2019 12:26:28 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36417) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLs3t-0002cF-05 for emacs-orgmode@gnu.org; Wed, 01 May 2019 12:26:25 -0400 In-Reply-To: <93aa2902139cde9b8d0d9c5d5a1ba8b7332757fe.camel@free.fr> (Emmanuel Charpentier's message of "Tue, 30 Apr 2019 19:39:24 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emmanuel Charpentier Cc: emacs-orgmode Hello, Emmanuel Charpentier writes: > Dunno. Maybe \captionof{listing} ? I don't know either, but the above raises an error: LaTeX Error: No counter 'listing' defined. It could work, but the complete solution is probably a bit more involved. If you can write a setup that produces the desired effect, and supports lists of listings without any package, please let us know. > But please coordinate with Bastien, who asked me just yesterday to > avoid posting fat attachments to a message going to a lot of people. > Which I did (to no avail : the "heavy" mail went through anyway. Go > figure.... ;-). No need for coordination: the two advices are not mutually exclusive. Regards, -- Nicolas Goaziou