From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: New markup for revising manuscripts Date: Fri, 10 Mar 2017 12:56:09 -0800 Message-ID: <87a88s3l7a.fsf@ericabrahamsen.net> References: <4F883241-1170-4E41-88AE-A13C99581597@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmRaX-0004cr-SQ for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmRaT-0004FD-6M for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:37 -0500 Received: from [195.159.176.226] (port=37264 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmRaS-0004EJ-VS for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:33 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cmRaF-0007Nv-D9 for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 21:56:19 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org "Doyley, Marvin M." 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