emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* coloured entries in index entries?
@ 2016-04-21 18:19 Sharon Kimble
  0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2016-04-21 18:19 UTC (permalink / raw)
  To: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 989 bytes --]


I am having great difficulty in indexing a document involving exporting
to latex. Specifically using colour within the index entry.

╭────
│\index{Dutasteride!s/e!common - dizziness} = works
╰────

however if I try these, they don't work

╭────
│\index{Dutasteride!\textcolor{Green}{dizziness}} = fails
│\index{Dutasteride!\textcolor{Green}{dizziness} = fails
╰────

Using a latex index entry from another file which does work in
straight-latex like so -

╭────
│\index{Bicalutamide!\textbf{\textcolor{Green}{generalised body pain}}}
╰────

it fails like this -

╭────
│\index\{Bicalutamide!\textbf\{\textcolor{Green}{generalised body pain}\}\}
╰────

So is it possible to have coloured text in index entries then 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.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: coloured entries in index entries?
       [not found] <2c048b6211934896a30e0829e3104692@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-04-22  8:59 ` Eric S Fraga
  2016-04-22 12:10   ` Sharon Kimble
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2016-04-22  8:59 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

On Thursday, 21 Apr 2016 at 18:19, Sharon Kimble wrote:
> I am having great difficulty in indexing a document involving exporting
> to latex. Specifically using colour within the index entry.
>
> ╭────
> │\index{Dutasteride!s/e!common - dizziness} = works
> ╰────
>
> however if I try these, they don't work
>
> ╭────
> │\index{Dutasteride!\textcolor{Green}{dizziness}} = fails
> │\index{Dutasteride!\textcolor{Green}{dizziness} = fails
> ╰────

What if you use

#+latex: \index{Dutasteride!\textcolor{Green}{dizziness}}

or

@@latex:\index{Dutasteride!\textcolor{Green}{dizziness}}@@

for inline usage?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: coloured entries in index entries?
  2016-04-22  8:59 ` Eric S Fraga
@ 2016-04-22 12:10   ` Sharon Kimble
  0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2016-04-22 12:10 UTC (permalink / raw)
  To: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Thursday, 21 Apr 2016 at 18:19, Sharon Kimble wrote:
>> I am having great difficulty in indexing a document involving exporting
>> to latex. Specifically using colour within the index entry.
>>
>> ╭────
>> │\index{Dutasteride!s/e!common - dizziness} = works
>> ╰────
>>
>> however if I try these, they don't work
>>
>> ╭────
>> │\index{Dutasteride!\textcolor{Green}{dizziness}} = fails
>> │\index{Dutasteride!\textcolor{Green}{dizziness} = fails
>> ╰────
>
> What if you use
>
> #+latex: \index{Dutasteride!\textcolor{Green}{dizziness}}

Thanks Eric, this works very well.

Thanks
Sharon.

>
> or
>
> @@latex:\index{Dutasteride!\textcolor{Green}{dizziness}}@@
>
> for inline usage?

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.92

[-- 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-04-22 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 18:19 coloured entries in index entries? Sharon Kimble
     [not found] <2c048b6211934896a30e0829e3104692@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-22  8:59 ` Eric S Fraga
2016-04-22 12:10   ` 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).