From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: mass conversion? Date: Fri, 07 Oct 2016 21:33:20 -0500 Message-ID: <87k2djbmdr.fsf@alphapapa.net> References: <877f9kd9fv.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshSO-00018m-Kc for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 22:33:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bshSN-0005fc-FX for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 22:33:48 -0400 Received: from [195.159.176.226] (port=48032 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshSN-0005bO-8e for emacs-orgmode@gnu.org; Fri, 07 Oct 2016 22:33:47 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bshSC-0003RC-Vy for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 04:33:36 +0200 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 Sharon Kimble writes: > In an org-mode document which is then converted I'm using the latex > glossary package, which shows my glossary items as '\gls{foo}'. I'm now > getting to the stage of having a paper copy of the latexed PDF but am > finding that the glossary items in the main text do not show at all when > using just black text on a white background in the PDF. > > So what I'm trying to do is to underline each one in the org-mode text > which converts very easily to underlined in the black/white paper PDF. > > But how can I do it globally please, using just a couple of commands to > work on all instances in the org-mode file please? I don't have much experience with LaTeX, but if I understand correctly, what you're trying to do would typically be a candidate for a keyboard macro in Emacs. As in, press F3, then use normal commands to search for the next occurance and modify it (using commands that go forward/backward by word or syntax), and then F4 when you've finished modifying that instance. If you do it right, pressing F4 again should modify the next instance, and so forth, until you reach the end of the file. There are also some handy packageson MELPA that will convert keyboard macros to interactive commands/functions. Hope this helps.