* mass conversion?
@ 2016-10-07 5:17 Sharon Kimble
2016-10-08 2:33 ` Adam Porter
0 siblings, 1 reply; 3+ messages in thread
From: Sharon Kimble @ 2016-10-07 5:17 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
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?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mass conversion?
2016-10-07 5:17 mass conversion? Sharon Kimble
@ 2016-10-08 2:33 ` Adam Porter
2016-10-08 18:03 ` Sharon Kimble
0 siblings, 1 reply; 3+ messages in thread
From: Adam Porter @ 2016-10-08 2:33 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mass conversion?
2016-10-08 2:33 ` Adam Porter
@ 2016-10-08 18:03 ` Sharon Kimble
0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2016-10-08 18:03 UTC (permalink / raw)
To: Adam Porter; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1796 bytes --]
Adam Porter <adam@alphapapa.net> writes:
> 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.
Thanks for this Adam, I've gone down the route suggested by John Kitchin
in a pm, of using '#+latex_header:
\renewcommand{\glstextformat}[1]{\underline{\color{red}\em #1}}' which
works very well both on-screen and in a printed copy.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-08 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-07 5:17 mass conversion? Sharon Kimble
2016-10-08 2:33 ` Adam Porter
2016-10-08 18:03 ` Sharon Kimble
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).