Hello,

John Hendy <jw.he...@gmail.com> 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