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 SJSEKwOksmD4TAEAgWs5BA (envelope-from ) for ; Sat, 29 May 2021 22:28:51 +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 OHK2JgOksmDaRAAAB5/wlQ (envelope-from ) for ; Sat, 29 May 2021 20:28:51 +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 03DBC1F071 for ; Sat, 29 May 2021 22:28:51 +0200 (CEST) Received: from localhost ([::1]:38804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln5Zg-0004FV-2Q for larch@yhetil.org; Sat, 29 May 2021 16:28:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5Z1-0004FC-Q5 for emacs-orgmode@gnu.org; Sat, 29 May 2021 16:28:07 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:41321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln5Yz-0003no-Gu for emacs-orgmode@gnu.org; Sat, 29 May 2021 16:28:07 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay10.mail.gandi.net (Postfix) with ESMTPSA id E0B60240003; Sat, 29 May 2021 20:28:01 +0000 (UTC) From: Nicolas Goaziou To: Markus Huber Subject: Re: [PATCH] ox-latex.el/org-latex--make-option-string: Surround option string with braces if it includes brackets References: <20210526100618.78971-1-markus.huber@b-tu.de> Mail-Followup-To: Markus Huber , emacs-orgmode@gnu.org Date: Sat, 29 May 2021 22:28:00 +0200 In-Reply-To: <20210526100618.78971-1-markus.huber@b-tu.de> (Markus Huber's message of "Wed, 26 May 2021 12:06:18 +0200") Message-ID: <87lf7xz3n3.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.230; envelope-from=mail@nicolasgoaziou.fr; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: emacs-orgmode@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=1622320131; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=meEumQJ+5cL2SXYcUljbe7jfHNU5rwqMR/lbsqDJkbU=; b=sc4DrSkF/ovqZtlHEz2Nbe6HZfqVGiY/tITV1xQPQ0HsPukzuj8VbWgfEhpA8DNTv7ca/V bfkEOk3Zk8xty39nJvXpv9KXA9KcQEdGYz15IZ1yolyOu95cAPdsrEmW81IRwK4+VpbXoN 7rHw0DjTYdH50FAfdDvxvxdl/smu8kFE5pGmZnCkn7pLPWOCMH3Rq39d92ALIUiJZvQoCe QaHlcQGHwW5NE17V8MNkYGciq1ntD5KlvQSJ84GEjKawQ2y9jssSD8x5TVP/C+2nVI8Nzp 0/J6XU26v6+FsEWfB6EUHQGC1SNUG9zdK3HWHDWNuk2XM7LHWotvvjGR/4EGTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622320131; a=rsa-sha256; cv=none; b=GRkPVPkbYa9XrHAPMhNZjrnU3HFBl1GoKe6deg3RteS7AafaqJuVJJOKDKy28bmo1LY+uR 8tyRwyTSSc/vzTa5+PUpvb6q2ygtBIAIvs6is725XIInYVNM81r03ZujAOVCF4pvXr8FFr /4ZB43SFxE4Mg5n0VLj38buvIK9d/hBlACT0C+4NmMouG+PIP/pu/xs+bRe0kkv+2BRt3P G0ywHyJaA1wb/8eT1F4RZOXwGM12d0IEwr+L1f5a3b7jifjA6/Ip4dAqbhaT8Xw0zqr3dG 3qWnmsE4fFNl2+VNhAEpOow0U1580faToqZ5oMcdl21ruZOszQsNSmGV3BDe7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 03DBC1F071 X-Spam-Score: -2.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: IXXfae0Y/Apm Hello, Markus Huber writes: > lisp/ox-latex.el (`org-latex--make-option-string'): If `value' of a `pair' from `options' contains a bracket > the whole `value' is surrounded by braces. > > In case of LaTeX export using listings the dialect of a language (e.g. [LaTeX]TeX) is surrounded by brackets. For inline > source blocks all options end as optional argument to \lstinline between brackets which breaks the LaTeX parser. > TINYCHANGE Applied. Thank you. Regards, -- Nicolas Goaziou