emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: # Comments export


From: Juan Manuel Macías
Subject: Re: # Comments export
Date: Mon, 30 May 2022 10:46:27 +0000

Eric S Fraga writes:

> I use drawers for this and then have specific processing of different
> types of drawers, depending on target.
>
> For instance, I might have :note: drawers (similar to inline tasks) with
> the following processing (for odt export; similar for LaTeX):
>
> --8<---------------cut here---------------start------------->8---
> (setq-local org-odt-format-drawer-function
>             (lambda (name contents)
>               (if (string= name "note")
>                   (progn
>                     (format "<text:span 
> text:background=\"#FFFF00\">%s</text:span>" contents)))))
> --8<---------------cut here---------------end--------------->8---
>
> (progn because I used to do more in there...)

I use a special type of footnote, which is exported to LaTeX as pdf
annotations (with the pdfannotate package) and to odt as comments. The
use of footnotes allows me to put comments and annotations within the
paragraph:

https://list.orgmode.org/877de55cjf.fsf@posteo.net/

Best regards,

Juan Manuel 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]