From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KGEpL89svV5tSQAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 16:07:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aFtoKc9svV75ewAA1q6Kng (envelope-from ) for ; Thu, 14 May 2020 16:07:43 +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 0F4EC94053F for ; Thu, 14 May 2020 16:07:42 +0000 (UTC) Received: from localhost ([::1]:46106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZGOa-0006gi-Sx for larch@yhetil.org; Thu, 14 May 2020 12:07:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZGNu-0005vS-6r for emacs-orgmode@gnu.org; Thu, 14 May 2020 12:06:58 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:42587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZGNt-0002sp-4X for emacs-orgmode@gnu.org; Thu, 14 May 2020 12:06:57 -0400 Received: by mail-qk1-x731.google.com with SMTP id s1so3478654qkf.9 for ; Thu, 14 May 2020 09:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NtWh8+yFTivE9ilWhq46stTBn33tGXJMAux5mFncDl0=; b=ERE2TvGaX+WItxdsWw/kHzAEntSSVUvrs6U7feZhuteJBFkOR+G+ZMa77TsWbeNdYv 7sMViT01cuIwcvvvnmlr2EUvzifbLlbKlilbX6A4fofEZYVoU4edzfTKozdWa7dbhrGz IxXgsbt5P/4IY3qB4GM2Sp5jMTOK78qKCjjTs5Ou5OZsTjtsu6FCaREaitpPs+cCqjmB CuVA5Wm1fDsMbSvjc7iL3XpbjBaKigyTB49xyjVtPWxb10lAGRykGawyQz7X2u1IudKE l7lR7BEo11nLIXKcZ9jtuAT+b/2dxynb4THGHmCuClSLfLJpGpLeqvNw/PW2hl0HehC6 MwbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NtWh8+yFTivE9ilWhq46stTBn33tGXJMAux5mFncDl0=; b=Qkq7kKYcYs1hNOVTPaZduIkyQO17ioKaVQBsptkzk24dCxrJxetCHb9KMvPMolUIWT WWaEoqj0VvGPTN//dVCweHsWEtgIu/gkROoXIrSi17wqdP6fZNjNCtiEX+Tn3KmEeUlK TbzSERAg16VwtCYKyX8kBgQqf4dcp7Tk3NOJsRVmaqaPE4D2KFVGNyDCcv/srv9RzQSm ds4OPEZDnRlhK1FFQPBAWR/rFIqEF8+/Pp4lCImUo51uB6tj9cxf4WYfGpjKdy9pCKo7 SypsX3pRi45nkqMmqqdv4YTG13KMNzLgzNfdYKsntwuiJeiQ9P0KUmksk9kLyRrKJ1Yb ru0w== X-Gm-Message-State: AOAM531UEma338cEGtM6ROSzLn8YASCsjDbavaDrPp8n5IJyVbU+6tFM 1OwzArSJkUYm8/xxKdAGBDVJVt7UQeD9qk44Sc9g9+xF X-Google-Smtp-Source: ABdhPJxdsX+d4WaeffBhaOCGTYjO6KenpZk+Gx887cFPZzKAaWmSdgym8AZfsC449RYpgq7W15Li/G+B/nRU1h9E0HM= X-Received: by 2002:a05:620a:14ac:: with SMTP id x12mr5310201qkj.262.1589472415339; Thu, 14 May 2020 09:06:55 -0700 (PDT) MIME-Version: 1.0 From: Pablo Palazon Date: Thu, 14 May 2020 18:06:44 +0200 Message-ID: Subject: [PATCH] Add margin option to float for figure in ox-latex.el To: emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="000000000000b2981505a59de212" Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=pablo.palazon@gmail.com; helo=mail-qk1-x731.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=gmail.com header.s=20161025 header.b=ERE2TvGa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Spam-Score: 2.69 X-TUID: LtETg+6CDUKX --000000000000b2981505a59de212 Content-Type: multipart/alternative; boundary="000000000000b2981305a59de210" --000000000000b2981305a59de210 Content-Type: text/plain; charset="UTF-8" Hi everyone!. I've created a path to add a new option to float properties for figures on latex. This is my first change for org-mode, and I don't really sure if this is the correct way to do it. This change add a new latex environment for showing figures in the margin. It's useful when you are exporting to latex with tufte class. Please see path files attached with my changes, and tell me what you think. Thanks for you work on this. --000000000000b2981305a59de210 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone!.

I've creat= ed a path to add a new option to float properties for figures on latex. Thi= s is my first change for org-mode, and I don't really sure if this is t= he correct way to do it.

This change add a new lat= ex environment for showing figures in the margin. It's useful when you = are exporting to latex with tufte class.

Pleas= e see path files attached with my changes, and tell me what you think.

Thanks for you work on this.
--000000000000b2981305a59de210-- --000000000000b2981505a59de212 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-ox-latex.el-Add-margin-to-float-option-for-attr_late.patch" Content-Disposition: attachment; filename="0001-ox-latex.el-Add-margin-to-float-option-for-attr_late.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ka6ytekk0 RnJvbSBjY2VjMDkyMDMxNTlhNDYwNzRjYzM4NzE4YjQ3NGE5NzIwYzZmMzBkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYWJsbyBQYWxhem9uIDxwYWJsby5wYWxhem9uQGdtYWlsLmNv bT4KRGF0ZTogVGh1LCAxNCBNYXkgMjAyMCAxNjozMzo1MyArMDIwMApTdWJqZWN0OiBbUEFUQ0gg MS8yXSBveC1sYXRleC5lbDogQWRkIG1hcmdpbiB0byBmbG9hdCBvcHRpb24gZm9yIGF0dHJfbGF0 ZXggaW4KIGltYWdlcwoKKiBsaXNwL294LWxhdGV4LmVsIChvcmctbGF0ZXgtLWlubGluZS1pbWFn ZSk6IEluY2x1ZGUgbWFyZ2luIG9wdGlvbgp0byBjcmVhdGUgbWFyZ2luZmlndXJlIGVudmlyb25t ZW50IGZvciBmaWd1cmVzLiBJdCdzIHVzZWZ1bCBmb3IgdHVmdGUKbGF0ZXggY2xhc3MsIHdoZXJl IHdpdGggdGhpcyBlbnZpcm9ubWVudCB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9ybWF0ICJcXGJlZ2lue21hcmdpbmZpZ3VyZX0lcwor JXMlcworJXMlcworJXNcXGVuZHttYXJnaW5maWd1cmV9IgorCQkJICAgIHBsYWNlbWVudAorCQkJ ICAgIChpZiBjYXB0aW9uLWFib3ZlLXAgY2FwdGlvbiAiIikKKwkJCSAgICAoaWYgY2VudGVyICJc XGNlbnRlcmluZyIgIiIpCisJCQkgICAgY29tbWVudC1pbmNsdWRlIGltYWdlLWNvZGUKKwkJCSAg ICAoaWYgY2FwdGlvbi1hYm92ZS1wICIiIGNhcHRpb24pKSkKICAgICAgIChgZmlndXJlIChmb3Jt YXQgIlxcYmVnaW57ZmlndXJlfSVzCiAlcyVzCiAlcyVzCi0tIAoyLjI2LjIKCg== --000000000000b2981505a59de212 Content-Type: text/x-patch; charset="US-ASCII"; name="0002-ox-latex.el-Add-documentation-to-margin-option-in-fl.patch" Content-Disposition: attachment; filename="0002-ox-latex.el-Add-documentation-to-margin-option-in-fl.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_ka6ytel01 RnJvbSAwMWE2ZmI4YjgzZjlmNDg4ZDRjMzIyNGQ1ZjU4OTcyZDY2ZjZiNzU3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQYWJsbyBQYWxhem9uIDxwYWJsby5wYWxhem9uQGdtYWlsLmNv bT4KRGF0ZTogVGh1LCAxNCBNYXkgMjAyMCAxNjo1NToxOSArMDIwMApTdWJqZWN0OiBbUEFUQ0gg Mi8yXSBveC1sYXRleC5lbDogQWRkIGRvY3VtZW50YXRpb24gdG8gbWFyZ2luIG9wdGlvbiBpbiBm bG9hdAoKKiBkb2Mvb3JnLW1hbnVhbC5vcmc6IEFkZCBkb2N1bWVudGF0aW9uCi0tLQogZG9jL29y Zy1tYW51YWwub3JnIHwgNSArKysrKwogMSBmaWxlIGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKQoK ZGlmZiAtLWdpdCBhL2RvYy9vcmctbWFudWF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