emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Diego Zamboni <diego@zzamboni.org>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Document containing different text colours?
Date: Wed, 5 Aug 2020 20:29:25 +0200	[thread overview]
Message-ID: <CAGY83EdLp+TEfZspppJXqUB3Kh4rk=NT_oiTsL1mMWfC6+hdyg@mail.gmail.com> (raw)
In-Reply-To: <87eeoljmkq.fsf@skimble.plus.com>

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

Hi Sharon,

I'm not sure I understand what is it that you are trying to do. But color
(or any other visual) is a feature of the exporter you use rather than of
Org-mode itself. For example, if you are exporting to HTML, you can use the
following at the top of the document:

#+html_head_extra: <style>body { color: white; background-color: black;
}</style>

For LaTeX export, you should be able to add the correct settings using #+
LATEX_HEADER_EXTRA.

Hope this helps,
--Diego


On Wed, Aug 5, 2020 at 2:37 PM Sharon Kimble <boudiccas@skimble.plus.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
> In a book that I am writing, the text is white on black background which
> I like. But this is only the first draft, when its ready I shall go onto
> the second draft and then third draft, as many as necessary to polish
> the book before it goes to the beta-readers.
>
> So the first draft is white text on a black background, is it possible
> for all the second draft text to be in a different colour that I assign
> to it? And ditto third draft onwards?
>
> I envisage something like setting the text with 'M-x second-draft-text'
> which will then display the new text with its assigned colour. Which
> will also mean that the document will have multi-coloured text in it?
>
> Is this possible?
>
> And if it is possible, how do I do it please?
>
> Thanks
>   Sharon.
> - --
> Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7
> -----BEGIN PGP SIGNATURE-----
>
> iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8qp/YbHGJvdWRpY2Nh
> c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbXdsP/RWZdu+1N1V+ZCXUmnX3
> deLkWS5APBK1zltakwg4Mm7ZxgkTLjEaXrVvpm4i8zMcTXqT38U7HUiUW870hTAC
> aH9bEDku+R/F79ibBOZxasEl8S5DnLhK7skplbKBHp8OftV3GWPDTntBr8+F6cre
> /tQvVxkd/GDeGZxDvKRuRNEAZN1a05dnfmv6/O0XJ2PpI7rAqMOAEigxpV8G3elk
> fFbBmqObJLcJdTOlHu3b3MljnVbo2ePv7q/6Xwgez0g0Q0+Bj6ZW01IMfTr5aRd2
> 9He+l+ds64M8m2M5NZAME2O7PutgM4IjF6ccp7MAfAkHCWy9t+H1BG6u7xxcT4Oh
> ys9wEb2PW6bxl3YPjsx3ByNPup0dZpufudDvNqk2IX4t6qIea/1v6AEwqfic1s5O
> DrWX3A6TDj9RcLZN5sPHXC9e4WMfGkbngGwdNo5nkquULwUg91ySBAWEJ3z2TohZ
> 9/U6W8eV0rvm12GTe3wNssNcrDSfvXXT70Bm8ii94u4w44zBCWiq/puLqgFivutl
> u5sNPIedyULbdj+n8SKfmpRZFnfClQA1cVLl6wiTOZx1WubZR++C9IsJhhaLp7kP
> ZaLh1Q2zIVYJxp7OolUsdJ40AFrcDI8Y6ra6YWYnpuq7Cgza+l2UI7YFWSXfJLMC
> RDz4BPP61uqJQqQ9GKq09EMd
> =3YW5
> -----END PGP SIGNATURE-----
>
>

[-- Attachment #2: Type: text/html, Size: 3097 bytes --]

  reply	other threads:[~2020-08-05 18:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05 12:37 Document containing different text colours? Sharon Kimble
2020-08-05 18:29 ` Diego Zamboni [this message]
2020-08-06 11:43   ` Sharon Kimble
2020-08-06 15:41     ` Diego Zamboni
2020-08-06 15:46     ` John Kitchin
2020-08-06 18:35 ` Bo Grimes
2020-08-07  7:22   ` Eric S Fraga

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='CAGY83EdLp+TEfZspppJXqUB3Kh4rk=NT_oiTsL1mMWfC6+hdyg@mail.gmail.com' \
    --to=diego@zzamboni.org \
    --cc=boudiccas@skimble.plus.com \
    --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).