From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: ox-tufte-latex Date: Mon, 01 Feb 2016 17:10:03 -0800 Message-ID: <877finx6hg.fsf@posteo.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQPTy-0001JR-7Z for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 20:10:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQPTv-0004Dx-Hd for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 20:10:14 -0500 Received: from mout01.posteo.de ([185.67.36.65]:36398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQPTv-0004CF-7L for emacs-orgmode@gnu.org; Mon, 01 Feb 2016 20:10:11 -0500 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id 734FC20A2D for ; Tue, 2 Feb 2016 02:10:07 +0100 (CET) In-reply-to: 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: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Tom, thanks for sharing this. I=E2=80=99m looking forward to using it. Do you happen to have an example file that showcases the features? Titus On 2016-02-01 Mon 16:26, Thomas S. Dye wrote: > Aloha all, > > I've cobbled together an exporter for the Tufte LaTeX classes, which I'd > like to contribute to Org mode contrib/. A brief description of the > derived backend can be found below, and I've attached the > ox-tufte-latex.el file for the review described on > http://orgmode.org/worg/org-contribute.html. > > I've been using the derived backend for a while now and am happy with > how it is working. The Tufte LaTeX classes (especially the book class) > require quite a bit of set up to work optimally, and I'll be sharing > what I've learned along these lines in the next couple of weeks. Org > mode is a great tool for authoring Tufte LaTeX documents! > > All the best, > Tom > > =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81 > OX-TUFTE-LATEX > > Thomas S. Dye > =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81 > > > The file `ox-tufte-latex.el' implements an Org mode export backend for > the Tufte LaTeX classes, which are designed to produce books and > handouts in the style developed by Edward Tufte. The backend is derived > from `ox-latex.el'. > > A characteristic of Tufte's style is a page layout with a wide margin on > one side (typically the right side) in which notes, references, small > tables, and small figures are placed. > > The Tufte LaTeX classes implement several non-standard LaTeX commands to > achieve this page layout, including `marginfigure', `margintable', and > `sidenote'. `Ox-tufte-latex.el' implements these commands. > > The `marginfigure' command is controlled by a new LaTeX attribute > `:float margin'. In addition, there are attributes to: set the offset, > e.g., `:offset 1in', which adjusts the position of the figure up or down > in the margin; the vertical alignment of figure captions, e.g., > `:vertical-alignment t|b', so they align with either the top or bottom > of the float; and `:horizontal-alignment l|r' in case a figure and its > caption end up on different pages. > > The `margintable' command is controlled by the LaTeX attribute `:float > margin' associated with a table. > > The Org mode footnote mechanism has been hijacked to produce `sidenote' > commands, instead of `footnote' commands. The `sidenote' command takes > an optional parameter for the offset, and this is implemented as a LaTeX > attribute associated with the Org mode footnote definition, e.g., > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 #+attr_latex: :offset 36pt > =E2=94=82 [fn:1] Cook referred to Koa`a as Koah. > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWsAHsAAoJEK40WfPGE2idCRgIAKNhjQbKKyAQwrwv8qEvMXkU 29aLFDGXsmW77e5nXOK79vvqgU6NpB+9ZMSh3INVMIBta+A0XBPcTwfwEZRCgyaV AVeBKSld9KbOyT7RmlE5kKHSDKL7F52Ba0m8S9pQJPN22XxHgBbWfcSZHICFi0mN i5+maW1FLrWgZtvQqMAw7nev/0pYd3gQM0xPzX6y0vFJr/48BQElWzuFiZULMhPx emXd1dF34axRj0N8h10Zy4wG57Kitd6EL6KNoEoi4U9obz8qPrKgcKpy9eYjqTYb 0DRbpyns82kJHQy5vzCQBBU2Z9IWUH3YTX19oIezSEwI23TuZtJ6j6+GioW2yJw= =nuys -----END PGP SIGNATURE----- --=-=-=--