emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: Re: mass conversion?
Date: Fri, 07 Oct 2016 21:33:20 -0500	[thread overview]
Message-ID: <87k2djbmdr.fsf@alphapapa.net> (raw)
In-Reply-To: 877f9kd9fv.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> 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.

  reply	other threads:[~2016-10-08  2:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07  5:17 mass conversion? Sharon Kimble
2016-10-08  2:33 ` Adam Porter [this message]
2016-10-08 18:03   ` Sharon Kimble

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2djbmdr.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).