From mboxrd@z Thu Jan 1 00:00:00 1970 From: feng shu Subject: Re: [PATCH] (update) Add :caption attribute to #+ATTR_LATEX property Date: Mon, 1 Jul 2013 07:08:55 +0800 Message-ID: References: <878v1rstwt.fsf@gmail.com> <87sizzrzsi.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7b5d518e35bfff04e0673243 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQjp-0001H8-9s for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 19:08:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtQjo-0007wd-FB for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 19:08:57 -0400 In-Reply-To: <87sizzrzsi.fsf@bzg.ath.cx> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org --047d7b5d518e35bfff04e0673243 Content-Type: multipart/alternative; boundary=047d7b5d518e35bffc04e0673241 --047d7b5d518e35bffc04e0673241 Content-Type: text/plain; charset=UTF-8 Thanks for your help. This is V4 patch. On Mon, Jul 1, 2013 at 4:27 AM, Bastien wrote: > Hi Feng, > > feng shu writes: > > > (org-latex--inline-image): Tiny change. > > org-latex--org-table): Tiny change. > > The Emacs usage is to write it like this: > > (org-latex--inline-image, org-latex--org-table): Tiny change. > > Thanks! > > -- > Bastien, nitpicking again :) > --047d7b5d518e35bffc04e0673241 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your help. This is V4 patch.


On Mon, Jul 1, 2013 at= 4:27 AM, Bastien <bzg@gnu.org> wrote:
Hi Feng,

feng shu <tumashu@gmail.com>= writes:

> (org-latex--inline-image): Tiny change.
> org-latex--org-table): Tiny change.

The Emacs usage is to write it like this:

=C2=A0 (org-latex--inline-image, org-latex--org-table): Tiny change.

Thanks!

--
=C2=A0Bastien, nitpicking again :)

--047d7b5d518e35bffc04e0673241-- --047d7b5d518e35bfff04e0673243 Content-Type: application/octet-stream; name="0001-Add-caption-attribute-to-ATTR_LATEX-property.patch" Content-Disposition: attachment; filename="0001-Add-caption-attribute-to-ATTR_LATEX-property.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hikumxd00 RnJvbSBjMGIyYTI5YzkxMmQ4ZTA1NGM2MDYyY2MzYmQ2M2UwYjRiNWQ5MDdkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGZW5nIFNodSA8dHVtYXNodUBnbWFpbC5jb20+CkRhdGU6IFNh dCwgMjkgSnVuIDIwMTMgMjM6MDQ6MDMgKzA4MDAKU3ViamVjdDogW1BBVENIXSBBZGQgYDpjYXB0 aW9uJyBhdHRyaWJ1dGUgdG8gIytBVFRSX0xBVEVYIHByb3BlcnR5CgoqIGxpc3Avb3gtbGF0ZXgu ZWwgKG9yZy1sYXRleC0tY2FwdGlvbi9sYWJlbC1zdHJpbmcpOiBBZGQgYWJpbGl0eSwKd2hpY2gg Y2FuIGJ1aWxkIGEgY2FwdGlvbiBzdHJpbmcgZnJvbSBgOmNhcHRpb24nIGF0dHJpYnV0ZSBvZiAj K0FUVFJfTEFURVguCihvcmctbGF0ZXgtLWlubGluZS1pbWFnZSxvcmctbGF0ZXgtLW9yZy10YWJs ZSk6IFRpbnkgY2hhbmdlLgoqIGRvYy9vcmcudGV4aSAoQExhVGVYe30gc3BlY2lmaWMgYXR0cmli dXRlcyk6IERvY3VtZW50IGA6Y2FwdGlvbicKYXR0cmlidXRlIG9mICMrQVRUUl9MQVRFWC4KClRo aXMgZmVhdHVyZSBpcyB2ZXJ5IHVzZWZ1bCB3aGVuIHlvdSBleHBvcnQgb3JnIHRvIGxh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