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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Thanks for replying Diego.

The text of the book will not be exported into latex or any other
forward-type document. I need the coloured text purely for my own
interest and usage. When, and if, I do export it to latex, LibreOffice
doc or whatever, it will just have the standard coloured text of black
text on a white background. But I need different coloured texts in
org-mode to show me graphically where I added in new text to the book,
and at what stage of the drafting.

For instance - first draft is white text, second draft is lime-green,
third draft is light-blue, fourth draft is pale-red, etc.

So in the above instance I would have white text, lime-green text,
light-blue text, pale-red text, etc ... all in the same document.

Is that clearer?

Thanks
  Sharon.    
  
Diego Zamboni <diego@zzamboni.org> writes:

> 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-----

- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-----BEGIN PGP SIGNATURE-----

iQJOBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8r7N0bHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbjvoP+PDQef4JGrdKVAP+DOHy
C47ndjTK21CJUxVtkdoZneSQmqh4jXoX4j0grJ1cGk8nsGxXW9wMhtDTfHoR8+IR
MbDOglB/i9jzDGMP9R4Z3cmOblfytHOraVeyp7gZLUPbqCfFtjNrT1AG0alZHid8
53iXEIF8t6b/c3ZXfMf6xNBbpnFNfPS6UsO3GIMgiW1q5dBrJA5aNxWfAzzvWGQG
a/+beOf+q+DP/bJc0u4h9yLlsDQ08akDZdrj9Y+nzTnbmfNbm0RvfmI04zUankc+
3CO0GK+nnaCKtM9Oy1UNi3Vc+1vd8XyeDWiuE5aRE42Nz3tmwA5soAHQjToovmaB
hqQg1tu2DdsCNs8DvlI4cYVRjnw629RCbgJBm9y73wTS2h+9rH+c+L9vePt8TgEx
IToqu8nGTvsHD6cG5JyUOpfCySv+NMvl3owXCEDZ5SdInR6TOw2qf4n39XUDT/dd
niwAjJmeM3S7VQQCtc90mQEIoIkbahk7g5DAcpkta2/g8KoP+3ESc+GT9L6UNHLh
uXdNEJ8oSXkI4nC4nCdAp6fKuYiWeEBZXCtuodBehg97PEwEJ45YERz5nD2iuAra
vBfoyvNUIYjXCcKvSx9UZlPfWVYPWA/vSsZ+ys2+s5T+xXCymGumjoUvmfgQdIR1
9hHGxHm1fofbVjbdtigkgXc=
=GIRg
-----END PGP SIGNATURE-----


  reply	other threads:[~2020-08-06 11:44 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
2020-08-06 11:43   ` Sharon Kimble [this message]
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=87v9hwrodf.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=diego@zzamboni.org \
    --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).