From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: New markup for revising manuscripts Date: Fri, 10 Mar 2017 20:56:23 +0000 Message-ID: References: <4F883241-1170-4E41-88AE-A13C99581597@ur.rochester.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045e896ace6f9b054a66988d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmRaW-0004cp-B2 for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmRaV-0004FR-CP for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:36 -0500 Received: from mail-ua0-x22d.google.com ([2607:f8b0:400c:c08::22d]:35553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmRaV-0004FM-6e for emacs-orgmode@gnu.org; Fri, 10 Mar 2017 15:56:35 -0500 Received: by mail-ua0-x22d.google.com with SMTP id q7so110563957uaf.2 for ; Fri, 10 Mar 2017 12:56:35 -0800 (PST) In-Reply-To: <4F883241-1170-4E41-88AE-A13C99581597@ur.rochester.edu> 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: "Doyley, Marvin M." , "emacs-orgmode@gnu.org" --f403045e896ace6f9b054a66988d Content-Type: text/plain; charset=UTF-8 I use this macro to highlight text in html/latex(pdf): #+MACRO: COLOR @@html:$2@@@@latex:\textcolor{$1}{$2}@@ This is from https://github.com/fniessen/org-macros/blob/master/README.org Example use: {{{COLOR(red, This information is important.)}}} It doesn't though highlight the text in red in org-mode. On Fri, Mar 10, 2017 at 3:49 PM Doyley, Marvin M. wrote: > 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. > > Thanks > M > -- Kaushal Modi --f403045e896ace6f9b054a66988d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I use this macro to highlight text in html/latex(pdf):
#+MACRO: COLOR @@html:<span style=3D"color: $1= ">$2</span>@@@@latex:\textcolor{$1}{$2}@@


Example use:
{{{COLOR(red,= This information is important.)}}}

It d= oesn't though highlight the text in red in org-mode.

On Fri, Mar 10, 2017 at 3:49 PM Do= yley, Marvin M. <m.doyley@roch= ester.edu> wrote:
Hi there= ,

When revising manuscripts, I usually highlight the changes (response to rev= iewer) 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 ?=C2=A0 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.

Thanks
M
--

Kaushal Modi

--f403045e896ace6f9b054a66988d--