emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using orgmode to take "inline notes" for research


From: John Hendy
Subject: Re: [O] Using orgmode to take "inline notes" for research
Date: Tue, 12 Apr 2011 13:56:59 -0500

On Tue, Apr 12, 2011 at 1:20 PM, Eric S Fraga <address@hidden> wrote:
> John Hendy <address@hidden> 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.  I'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}}"
>                                               '((unless
>                                                     (eq todo "")
>                                                   (format 
> "\\fbox{\\textsc{%s%s}}" todo priority))
>                                                 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.  It 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.  The
> =endnotes= 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=blue!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)
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]