From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Using orgmode to take "inline notes" for research Date: Tue, 12 Apr 2011 11:39:49 -0500 Message-ID: References: <80bp0iquxw.fsf@somewhere.org> <80lizkxy6j.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9gd9-0000Cq-Uv for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 12:39:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9gd5-0002Xz-Ew for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 12:39:55 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:57370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9gd5-0002Xh-8z for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 12:39:51 -0400 Received: by bwz17 with SMTP id 17so6473005bwz.0 for ; Tue, 12 Apr 2011 09:39:50 -0700 (PDT) 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: =?UTF-8?Q?S=C3=A9bastien_Vauban?= Cc: emacs-orgmode@gnu.org 2011/4/12 John Hendy : >> >> Yes, you're right. You need the todonotes package. This is "standard" in= my >> private class, reason why I forgot about this link. >> >> Go and add it, you'll love it! > > Holy cow. I kind of ignored this as I didn't know what it did, then > checked out todonotes and was blown away. This is amazing. > > ,--- > | (latex "\\todo[inline]{\\textbf{\\textsf{%s %s}}\\linebreak{} %s}" > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'((unless (eq to= do "") > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(f= ormat "\\textsc{%s%s}" todo priority)) > | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0heading c= ontent)) > `--- > > A couple questions: > - would you be able to even broadly tell me what the latex chunk is > doing there? Is %s like the %s in python (and perhaps other > programming languages)? I don't get where the third %s gets its value. > In other words, it seems that one of them is the heading value and > another is the content... but what does the third %s get it's value in > the first line? > --- Side note... maybe time for me to learn elisp? > > - I looked at the package and example and rather liked the side-page > type for small little notes. Sooooo cool. But, alas, removing the > '[inline]' gave me undefined control sequence errors. When I ran it > from the .tex file directly, it kind of worked, but my little box was > really smushed and off the page. I'm guessing that my desire for > narrower page margins isn't helping (I have geometry setting hmargins > to 2cm)? Confirmed: this does not play nicely with geometry. It's like the package shifts things away from where tikz expects the text to be. As I narrow the margins more and more, the lines that used to underline the text stay the same length and just get farther and farther away from actually underlining the text. Perhaps I'll just stick to inline notes unless there's some way to tell todonotes the margin size? > > - Some of my notes are multi paragraphs, which I prefer non-indented > and separated by a line break rather than no line break and indented. > But when exported, multiple paragraphs just "stack up" with no line > break. Can I add this to your format? > > > Thanks again! What a neat package! > > > John > >> >> Best regards, >> =C2=A0Seb >> >> -- >> S=C3=A9bastien Vauban >> >> >> >