emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] New markup for revising manuscripts


From: Eric Abrahamsen
Subject: Re: [O] New markup for revising manuscripts
Date: Fri, 10 Mar 2017 12:56:09 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

"Doyley, Marvin M." <address@hidden> 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

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