From: "Sébastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: org-indent, org-inlinetask: patches on github
Date: Thu, 18 Nov 2010 23:22:08 +0100 [thread overview]
Message-ID: <801v6is25r.fsf@mundaneum.com> (raw)
In-Reply-To: 80eiavwo5k.fsf@mundaneum.com
Hi Nicolas,
> Nicolas Goaziou wrote:
>> To maintainers:
>> - to sum it up, if you don't like the idea of templates, or how it is
>> implemented, all commits but the last one are only fixes.
>> - could you delete submissions from 11-04 and 11-06 (but _not_ from
>> 10-26) on the patchwork server, as they are now included in the
>> repo?
>>
>> I'm now waiting for comments from the 3-3.5 persons in the world using
>> inline tasks!
>
> I guess I'm the last 0.5 user of inline tasks ;-)
>
> I really have no time just now, but I promise trying your patch in the next
> coming 2 days. Promised.
OK; this has been DEFERRED a bit, but DONE nonetheless...
I tested the look and feel of the export to HTML and PDF. Works fine.
Works even better (IMHO) with the suggested template:
#+begin_src emacs-lisp
;; templates for inline tasks in various exporters
(setq org-inlinetask-export-templates
'((html "<pre class=\"inlinetask\">%s%s</b><br>%s</pre>"
'((unless (eq todo "")
(format "<b><span class=\"%s %s\">%s%s</span> "
class todo todo priority))
heading content))
(latex "\\todo[inline]{\\textbf{\\textsf{%s %s}}\\linebreak{} %s}"
'((unless (eq todo "")
(format "\\textsc{%s%s}" todo priority))
heading content))
;; [...]
))
#+end_src
The advantage is to get a real different look for the inlined task, so that it
gets your attention as it deserves it.
- Regarding HTML, if you don't replace your list environment by my
proposition, I would at least exchange the position of the blank space.
Better is:
#+begin_src emacs-lisp
(format "<b><span class=\"%s %s\">%s%s</span> "
;; ^ ^
#+end_src
Otherwise, when TODO keywords have background colors, you see the keyword
with one space too much...
- Regarding LaTeX, my suggestion requires the =todonotes= LaTeX package to be
loaded in the header.
Thanks for your work!
Best regards,
Seb
--
Sébastien Vauban
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-11-18 22:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-07 15:21 org-indent, org-inlinetask: patches on github Nicolas Goaziou
2010-11-07 17:09 ` Carsten Dominik
2010-11-08 4:00 ` Jeff Horn
2010-11-08 7:01 ` Nicolas Goaziou
2010-11-08 12:41 ` Jeff Horn
2010-11-08 13:25 ` Eric S Fraga
2010-11-08 14:41 ` Jeff Horn
2010-12-06 18:45 ` Nicolas Goaziou
2010-12-07 10:29 ` Sébastien Vauban
2010-11-07 18:25 ` Jeff Horn
2010-11-08 8:48 ` Eric S Fraga
2010-11-08 13:23 ` Eric S Fraga
2010-11-08 20:33 ` Sébastien Vauban
2010-11-18 22:22 ` Sébastien Vauban [this message]
2010-11-18 23:27 ` Nicolas Goaziou
2010-11-19 12:34 ` Sébastien Vauban
2010-11-20 20:50 ` Eric S Fraga
2010-11-28 12:17 ` Nicolas Goaziou
2010-11-28 17:16 ` Jeff Horn
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=801v6is25r.fsf@mundaneum.com \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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).