From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Export with verbatim LaTeX removes spaces Date: Tue, 09 Jul 2019 12:45:22 +0200 Message-ID: <87k1crtrjx.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34825) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkncr-0003JH-D7 for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 06:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkncp-0004Gb-Vr for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 06:45:33 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:49389) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkncp-00043I-MY for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 06:45:31 -0400 In-Reply-To: (=?utf-8?Q?=22Micha=C3=ABl?= Cadilhac"'s message of "Mon, 8 Jul 2019 15:47:43 +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: =?utf-8?Q?Micha=C3=ABl?= Cadilhac Cc: emacs-orgmode@gnu.org Hello, Micha=C3=ABl Cadilhac writes: > When LaTeX is exported verbatim, some spaces are lost. Try for instance: > M-: (let ((org-html-with-latex 'verbatim)) (org-html-export-as-html)) R= ET > on a buffer containing "$a$ $b$". Post-blanks were simply not added > back, see below. I applied a variant of your patch. Thank you. Regards, --=20 Nicolas Goaziou