From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: org-indent, org-inlinetask: patches on github Date: Thu, 18 Nov 2010 23:22:08 +0100 Message-ID: <801v6is25r.fsf@mundaneum.com> References: <871v6x88h7.wl%n.goaziou@gmail.com> <80eiavwo5k.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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=C2=A0;-) > > I really have no time just now, but I promise trying your patch in the ne= xt > 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 "
%s%s
%s
" '((unless (eq todo "") (format "%s%s " 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 "%s%s " ;; ^ ^ #+end_src Otherwise, when TODO keywords have background colors, you see the keyword with one space too much... - Regarding LaTeX, my suggestion requires the =3Dtodonotes=3D LaTeX package= to be loaded in the header. Thanks for your work! Best regards, Seb --=20 S=C3=A9bastien 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