[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DISCUSSION] Re-design of inlinetasks
From: |
Ihor Radchenko |
Subject: |
Re: [DISCUSSION] Re-design of inlinetasks |
Date: |
Sat, 26 Aug 2023 16:33:32 +0000 |
Juan Manuel Macías <maciaschain@posteo.net> writes:
>> Do you mean section in LaTeX sense or in Org sense?
>
> In Org sense, I think. If an author adds an 'anonymous' break (through
> some customary symbol) and continues writing, the content that follows
> belongs (for Org) to the current section. By using an inlenitask, you
> can have control over the inlinetask content, for any purpose, for
> example with some export filter, etc.
>
> On the other hand, for my own writing I usually use this:
>
> #+begin_src emacs-lisp
> (defun my-org-latex-format-inlinetask-default-function
> (todo _todo-type priority title tags contents _info)
> (if (string-match-p "anonsec" title)
> (concat
> "\n\\begin{anonsection}\n"
> (org-string-nw-p contents)
> "\n\\end{anonsection}\n")
> (org-string-nw-p contents)))
Why not simply
#+begin_anonsection
...
#+end_anonsection
?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, (continued)
- [DISCUSSION] Re-design of inlinetasks (was: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?), Ihor Radchenko, 2023/08/25
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/25
- Re: [DISCUSSION] Re-design of inlinetasks, Ihor Radchenko, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Ihor Radchenko, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks,
Ihor Radchenko <=
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Ihor Radchenko, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Ihor Radchenko, 2023/08/27
- Re: [DISCUSSION] Re-design of inlinetasks, Juan Manuel Macías, 2023/08/27
- Re: [DISCUSSION] Re-design of inlinetasks, Ihor Radchenko, 2023/08/31
- Re: [DISCUSSION] Re-design of inlinetasks, Russell Adams, 2023/08/26
- Re: [DISCUSSION] Re-design of inlinetasks, Russell Adams, 2023/08/29
- Re: [DISCUSSION] Re-design of inlinetasks, Alain . Cochard, 2023/08/30
- Re: [DISCUSSION] Re-design of inlinetasks, Russell Adams, 2023/08/30