Skip to content

Latest commit

 

History

History
115 lines (76 loc) · 3.4 KB

TODO.org

File metadata and controls

115 lines (76 loc) · 3.4 KB

Org Macros Tasks

Tasks

org-export-global-macros

On 2016-12-19, Nicolas Goaziou added org-export-global-macros in master. Could be interesting to use!

info, tip, note and warning in Org (HTML and LaTeX)

https://www.anbg.gov.au/confluence/display/WIKIHT/Wiki+Markup+-+Notes,+Tips+and+Warnings

https://wiki.umms.med.umich.edu/display/demo/Useful+Macros (see Highlight text)

Compare with Confluence

https://confluence.atlassian.com/display/DOC/Working+with+Macros

http://www.adaptavist.com/display/AtlassianConfluence/Macros (<<<)

https://wiki.umms.med.umich.edu/display/demo/Useful+Macros

Add chart macros

… to display pie, line and bar charts, see http://www.adaptavist.com/display/AtlassianConfluence/chart+macro

Add an opacity value to the highlight color

… to get the same effect as in http://www.adaptavist.com/display/AtlassianConfluence/highlight+macro

http://stackoverflow.com/questions/5135019/css-opacity-only-to-background-color-not-the-text-on-it

Though, there, it works with div (not span).

Understand call lines

#+name: current-time
#+begin_src emacs-lisp :eval yes :exports none :results silent
(format-time-string "%Y%m%d.%H%M")
#+end_src

#+MACRO: current-time call_current-time()[:eval yes :results raw]

is equivalent to:

#+name: current-time
#+begin_src emacs-lisp :exports none :results silent
(format-time-string "%Y%m%d.%H%M")
#+end_src

#+MACRO: current-time call_current-time[:eval yes]()[:eval yes :results raw]

But both :eval yes must be there, in the last case.

Document the fact that Org macros can call Emacs Lisp

Example:

#+MACRO: get-title (eval (or (save-excursion (ignore-errors (let ((org-link-search-inhibit-query t)) (org-open-link-from-string "[[#$1]]") (org-get-heading nil nil)))) "/$1/"))

Newlines (from Bastien)

[2014-04-17 Thu 21:58]

From Email from Bastien: Re: Prepare release 8.2.6

Add section and column

See https://wiki.mq.edu.au/pages/viewpage.action?pageId=73796610

{section} {column:width=33%}{info:title=Info macro}Did you know…{info}{column} {column:width=33%}{tip:title=Tip macro}Have you tried…{tip}{column} {column:width=33%}{warning:title=Warning macro}Be careful! Check that you have…{warning}{column} {section}

Add these macros in ELeuven (var org-macro-default does exist?)

Or is it org-macro-templates?