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 13:56:59 -0500 Message-ID: References: <80bp0iquxw.fsf@somewhere.org> <80lizkxy6j.fsf@somewhere.org> <8739ln49hc.fsf@ucl.ac.uk> 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]:43297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9ilq-0002QA-6l for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9ilp-0008FU-3O for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:57:02 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:37513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9ilo-0008FN-R3 for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:57:00 -0400 Received: by bwz17 with SMTP id 17so6597271bwz.0 for ; Tue, 12 Apr 2011 11:56:59 -0700 (PDT) In-Reply-To: <8739ln49hc.fsf@ucl.ac.uk> 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: John Hendy , emacs-orgmode@gnu.org On Tue, Apr 12, 2011 at 1:20 PM, Eric S Fraga wrote: > John Hendy writes: > > [...] > >> - 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)? > > It is cool but doesn't play well with margins, as you have seen. =C2=A0I'= ve > given up on cool and use the following instead: But... it's... so... cool! > > --8<---------------cut here---------------start------------->8--- > (latex "%s\\footnote{%s\\\\ %s}\\marginpar{\\fbox{\\thefootnote}}" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 '((unless > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (eq todo "") > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 (format "\\fbox{\\textsc{%s%s}}" todo priority)= ) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 heading content)) > --8<---------------cut here---------------end--------------->8--- > I'm so-so on this. Not sure I like the idea of jumping back and forth as well as adding my own footnotes to mingle with the "real" footnotes. Very cool look with the box, though. I see the appeal. > >> - 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? > > Yes, this is a problem with latex and not org. =C2=A0It is very difficult > (read: I have never managed to figure out how to do it ;-) to control > the parskip and parsep aspects of paragraphs in a footnote. =C2=A0The > =3Dendnotes=3D package should allow you to control the behaviour more but > even there I have not been entirely successful (I can get it to listen > to parskip but not parident settings). Yes -- todonote doesn't seem to like this stuff much. Not pretty, but this works: ----- *************** Notes \linebreak \begin{tabular}{l|p{0.9\textwidth}} \quad & "Quote something with a nice line" \\ \end{tabular} \linebreak Say something about it. \linebreak Some more stuff. *************** END ----- I suppose manually entering linebreaks isn't sooo horrible... I can get that first linebreak with this: ----- (latex "\\todo[inline,color=3Dblue!20]{\\textbf{\\textsf{%s %s}}\\linebreak{} \\linebreak \\linebreak %s}" '((unless (eq todo "") (format "\\textsc{%s%s}" todo priority)) heading content)) ----- We'll see what I end up with. I think I'll stick with todonotes for now. It's neat and pretty :) John > > -- > : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 > : using Org-mode version 7.5 (release_7.5.176.g2c8e9) >