From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id vsRHAzrmemFydgAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 28 Oct 2021 20:04:42 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id uAjdOTnmemF0AgAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 28 Oct 2021 18:04:41 +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 66188E5BC
	for <larch@yhetil.org>; Thu, 28 Oct 2021 20:04:41 +0200 (CEST)
Received: from localhost ([::1]:38678 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1mg9lY-0000nx-4X
	for larch@yhetil.org; Thu, 28 Oct 2021 14:04:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52586)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maciaschain@posteo.net>)
 id 1mg9jq-0000hd-DA
 for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 14:02:54 -0400
Received: from mout01.posteo.de ([185.67.36.65]:41627)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maciaschain@posteo.net>)
 id 1mg9jm-00053R-WA
 for emacs-orgmode@gnu.org; Thu, 28 Oct 2021 14:02:54 -0400
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id C49C9240026
 for <emacs-orgmode@gnu.org>; Thu, 28 Oct 2021 20:02:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1635444165; bh=ZtfE0OVbo+qVzlSl4fUUR1uD0sdUPOKq8vQec1OwspQ=;
 h=From:To:Cc:Subject:Date:From;
 b=JgM7kkAeimb3ThBUx7LpfL+pqSmg0l7/SS0zAeLzn0o6tFjdinwgPe3tKD/gl86VI
 TjZ7ppo7m+li3pV5pNA0lT2A4AEG6dUk5vw9GnfS3+3eaGDfxDhpx4fwMHgFS8hzho
 /I1yGkTuiKrdcu8B2FXcUAnBCNsHmTZCmzVfK/H/LsDVLhn035gKY3rzocPHJuoSP3
 qAtcxrKyq7NFJgOXykmn9waOSJYMWanLVFbVgsSs6cuy42O2Dt3Ehsn/yj9ggfbFrv
 5BfV7gKnFEN28P5mQZlLvCusfaEoNHUYb5ebzPZRvYf46d6EYzbzzBIwSQETVIn+Eb
 uq5AG7L3p07FQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4HgD1K0vGGz9rxV;
 Thu, 28 Oct 2021 20:02:44 +0200 (CEST)
From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= <maciaschain@posteo.net>
To: Vikas Rawal <vikasrawal@gmail.com>
Subject: Re: [patch] ox-latex.el: add `:options' LaTeX attribute to tables
References: <87mtmvwz3m.fsf@posteo.net>
 <20211027034448.ijd337kvnmd3fje2@dalkati> <87a6iu79eg.fsf@posteo.net>
 <20211028161008.qfmiuwnvk6cif3ku@dalkati>
Date: Thu, 28 Oct 2021 18:02:44 +0000
In-Reply-To: <20211028161008.qfmiuwnvk6cif3ku@dalkati> (Vikas Rawal's message
 of "Thu, 28 Oct 2021 21:40:08 +0530")
Message-ID: <87v91hc9iz.fsf@posteo.net>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net;
 helo=mout01.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: orgmode <emacs-orgmode@gnu.org>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1635444281;
	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:dkim-signature;
	bh=ZtfE0OVbo+qVzlSl4fUUR1uD0sdUPOKq8vQec1OwspQ=;
	b=OGbqWO/hA2e41s3qSaT/OtLnj/SwU5XFM+2or+QSWIHnapCt11uzZGH03CnUjaoB7WAwdr
	v9jkYmOC7vRDS6HRZ2Xu31mn1aMKypdalzxHs5+PrBNUD7JnsrbXTl3gLAdZoXBM7ZNpDh
	7fD9/nNGjOFwoYmUgUXi+Q2yigPt3GFdSMHrO8fsY2AMlDqygp+dso3o5/3NeFfpJPlHcD
	Sd9jFelTxfyYoRHw8p/N3ORfic7TQyx/RcvGC5/T+TgIaCaGwb7huFJBWmq4ywn5khLfg+
	4DT3HJz+9GD1UMUYs5L8Thk8u/GT9KnXNa8ifcqopS76mMzo01NWnKlXBrAaHg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635444281; a=rsa-sha256; cv=none;
	b=hUMRJ/pzQEGNCSTD3VjEYsFkAjUhMFF4ibKIHilOU1EuwH3Z4W+0+7zlSMZbJ0MjKFb2m5
	1tU48fqKPv2XofpZHOdY//nxp9PU38RPaZgW7TO+TxKA+HGvo6JxDKCy3ESLriNjdvCVzr
	t4IVxq99SSPEvZ1kI4U1xGJAJ/3vE+Oty01PR8+i6CZQjx1YjtgDDxYJQl69CtzoDsD3dP
	xuBoH0bIDeTAVQ9k+obpeA3EYQG1Ucgw8uQQNkS87Fqv50XNd+CnPssqNJ6Ps+0RSMusM7
	U2jtiL4STkeSL+dYOUWTugst+p1hNTDK6+nOpZAEst72SM0FJmncBoizWLiJ+Q==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=JgM7kkAe;
	dmarc=pass (policy=none) header.from=posteo.net;
	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.13
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=JgM7kkAe;
	dmarc=pass (policy=none) header.from=posteo.net;
	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: 66188E5BC
X-Spam-Score: -3.13
X-Migadu-Scanner: scn0.migadu.com
X-TUID: QsGyseP3QlYK

Vikas Rawal writes:

> This still seems to exporting the second "options" value only.

Do you still keep this line in your init:

(advice-add 'org-latex--org-table :override #'my/org-latex--org-table) ?

If so, rename the function from my previous email as
`my/org-latex-org-table' and re-evaluate it. And comment the old
`my/org-latex-org-table'.

The new function works well for me. E.g. this:

#+ATTR_LATEX: :environment longtblr
#+ATTR_LATEX: :align align
#+ATTR_LATEX: :options options 1
#+ATTR_LATEX: :options options 2
#+ATTR_LATEX: :options options 3
#+ATTR_LATEX: :options options 4
| lorem | lorem | lorem | lorem | lorem |
|-------+-------+-------+-------+-------|
| ipsum | ipsum | ipsum | ipsum | ipsum |

produces in LaTeX this:

\begin{longtblr}[options 1 options 2 options 3 options 4]{align}
lorem & lorem & lorem & lorem & lorem\\
\hline
ipsum & ipsum & ipsum & ipsum & ipsum\\
\end{longtblr}