"Doyley, Marvin M." <m.doy...@rochester.edu> writes:

> Hi there,
>
> When revising manuscripts, I usually highlight the changes (response to 
> reviewer) in red. I use typically do this as follows:
> (1) #+latex_header: \newcommand{\response}[1]{\textcolor{red}{#1}}
> (2) \response{changes)
>
> Is there a more elegant way to do this ? It would be nice if I could
> change the color of the select text in both org and the exported latex
> file to red. Seeing the highlighted text in org would be a huge plus.

Depending on how you actually enter these revisions in Org, you could
probably make org-annotate do this. The link is on the text to change,
the annotation is the revised text, and then set
org-annotate-latex-export-function to a custom function that might look
like:

(defun org-annotate-export-latex-response (path desc)
  (format "%s\\response{%s}" (or desc "") path))

Maybe give that a shot?

Eric


Reply via email to