emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>, emacs-orgmode@gnu.org
Subject: Re: Using orgmode to take "inline notes" for research
Date: Sat, 16 Apr 2011 09:24:09 +0200	[thread overview]
Message-ID: <878vvau09y.fsf@gmail.com> (raw)
In-Reply-To: <BANLkTimN6+=Z1PAFpun2Z_B_0nWCwd187Q@mail.gmail.com> (John Hendy's message of "Tue, 12 Apr 2011 11:30:07 -0500")

Hello,

John Hendy <jw.hendy@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

  parent reply	other threads:[~2011-04-16  7:24 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06  2:02 Using orgmode to take "inline notes" for research John Hendy
2011-04-06  3:21 ` Jeff Horn
2011-04-06 10:33   ` Sébastien Vauban
2011-04-06 16:33   ` John Hendy
2011-04-06 16:47     ` John Hendy
2011-04-06 17:27       ` Samuel Wales
2011-04-06 18:08         ` John Hendy
2011-04-06 18:16           ` Samuel Wales
2011-04-06 18:16             ` John Hendy
2011-04-06 19:11     ` Mark Elston
2011-04-07  4:19     ` Jeff Horn
2011-04-07  9:20       ` Sébastien Vauban
2011-04-07 15:26         ` John Hendy
2011-04-07 15:33           ` Jeff Horn
2011-04-07 15:48             ` John Hendy
2011-04-08 20:53               ` Sébastien Vauban
2011-04-12 16:30                 ` John Hendy
2011-04-12 16:39                   ` John Hendy
2011-04-12 17:57                     ` John Hendy
2011-04-25 19:51                       ` Sébastien Vauban
2011-04-26 13:07                         ` John Hendy
2011-04-12 18:20                   ` Eric S Fraga
2011-04-12 18:56                     ` John Hendy
2011-04-17 23:36                     ` Rasmus
2011-04-20 17:46                       ` Eric S Fraga
2011-04-16  7:24                   ` Nicolas Goaziou [this message]
2011-04-07 12:39       ` Nicolas Goaziou
2011-04-06  3:32 ` Eric Schulte
2011-04-06  4:10   ` Erik Iverson
2011-04-06  5:02     ` Eric Schulte
2011-04-06 16:16       ` John Hendy
2011-04-07  5:33         ` Eric S Fraga
2011-04-07 16:10           ` John Hendy
2011-04-08 18:18             ` Eric S Fraga
2011-04-08 20:08               ` John Hendy
2011-04-06 16:11     ` John Hendy
2011-04-06 16:09   ` John Hendy
2011-04-06 16:42     ` Eric Schulte
  -- strict thread matches above, loose matches on Subject: below --
2011-04-06  3:52 Rustom Mody

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vvau09y.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).