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: Nicolas Goaziou
Subject: Re: [O] Using orgmode to take "inline notes" for research
Date: Sat, 16 Apr 2011 09:24:09 +0200

Hello,

John Hendy <address@hidden> writes:

> ,---
> | (latex "\\todo[inline]{\\textbf{\\textsf{%s %s}}\\linebreak{} %s}"
> |                '((unless (eq todo "")
> |                    (format "\\textsc{%s%s}" todo priority))
> |                  heading content))
> `---
>
> 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?

First %s will be replaced by the result of '((unless (eq todo "") ...)).
In other words, it will be the empty string or "\\textsc{todo-keyword
priority}". Second %s is the heading text. Third one is the contents of
the inline task.

Regards,

-- 
Nicolas Goaziou



reply via email to

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