From mboxrd@z Thu Jan 1 00:00:00 1970 From: Spencer Boucher Subject: Re: ox-tufte-latex Date: Wed, 03 Feb 2016 13:57:02 -0800 Message-ID: References: <877finx6hg.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR5QG-0007Pp-Ei for emacs-orgmode@gnu.org; Wed, 03 Feb 2016 16:57:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR5QC-00005L-8c for emacs-orgmode@gnu.org; Wed, 03 Feb 2016 16:57:12 -0500 Received: from smtp.developermail.io ([88.198.18.23]:47974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR5QB-000053-SW for emacs-orgmode@gnu.org; Wed, 03 Feb 2016 16:57:08 -0500 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, Titus von der Malsburg Looking forward to that, Tom. Thomas S. Dye writes: > Aloha Titus, > > I have bits and pieces of a tutorial, which I plan to finalize=20 > and contribute to Worg in the next week or two. I'll let the ML=20 > know when I have it done. > > All the best, Tom > > Titus von der Malsburg writes: > >> Hi Tom, >> >> thanks for sharing this. I=E2=80=99m looking forward to using it. Do= =20 >> 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,=20 >>> which I'd like to contribute to Org mode contrib/. A brief=20 >>> description of the derived backend can be found below, and=20 >>> I've attached the ox-tufte-latex.el file for the review=20 >>> described on http://orgmode.org/worg/org-contribute.html. >>> >>> I've been using the derived backend for a while now and am=20 >>> happy with how it is working. The Tufte LaTeX classes=20 >>> (especially the book class) require quite a bit of set up to=20 >>> work optimally, and I'll be sharing what I've learned along=20 >>> these lines in the next couple of weeks. Org mode is a great=20 >>> 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=20 >>> OX-TUFTE-LATEX >>> >>> Thomas S. Dye=20 >>> =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=20 >>> backend for the Tufte LaTeX classes, which are designed to=20 >>> produce books and handouts in the style developed by Edward=20 >>> Tufte. The backend is derived from `ox-latex.el'. >>> >>> A characteristic of Tufte's style is a page layout with a wide=20 >>> margin on one side (typically the right side) in which notes,=20 >>> references, small tables, and small figures are placed. >>> >>> The Tufte LaTeX classes implement several non-standard LaTeX=20 >>> commands to achieve this page layout, including=20 >>> `marginfigure', `margintable', and `sidenote'.=20 >>> `Ox-tufte-latex.el' implements these commands. >>> >>> The `marginfigure' command is controlled by a new LaTeX=20 >>> attribute `:float margin'. In addition, there are attributes=20 >>> to: set the offset, e.g., `:offset 1in', which adjusts the=20 >>> position of the figure up or down in the margin; the vertical=20 >>> alignment of figure captions, e.g., `:vertical-alignment t|b',=20 >>> so they align with either the top or bottom of the float; and=20 >>> `:horizontal-alignment l|r' in case a figure and its caption=20 >>> end up on different pages. >>> >>> The `margintable' command is controlled by the LaTeX attribute=20 >>> `:float margin' associated with a table. >>> >>> The Org mode footnote mechanism has been hijacked to produce=20 >>> `sidenote' commands, instead of `footnote' commands. The=20 >>> `sidenote' command takes an optional parameter for the offset,=20 >>> and this is implemented as a LaTeX attribute associated with=20 >>> 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:=20 >>> :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 -- Spencer Boucher