From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sP/+Gdz6Kl+ZUwAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 18:30:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gGTJFdz6Kl94EQAAbx9fmQ (envelope-from ) for ; Wed, 05 Aug 2020 18:30:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B21689403C5 for ; Wed, 5 Aug 2020 18:30:51 +0000 (UTC) Received: from localhost ([::1]:35450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3OBe-000747-IT for larch@yhetil.org; Wed, 05 Aug 2020 14:30:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3OAX-0006IL-MK for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 14:29:41 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:38182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3OAV-0007mH-C6 for emacs-orgmode@gnu.org; Wed, 05 Aug 2020 14:29:41 -0400 Received: by mail-ed1-x52b.google.com with SMTP id i6so7628146edy.5 for ; Wed, 05 Aug 2020 11:29:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hZma7pvbIzfZJhzJqWhbAIXyTs2S4ecNN45dsEcCGTg=; b=rwZz9Mbf4DqKxHUAdBf0t/aMMf2Ymc6MZEWO0fNL7P44D5/n+rTMROuCmIZOsTQc8N m8H8sAE2fzTGiERyz7ksrRgGcGrYYNlDQEndec6sWdy12WWTdgQcczT9RCqnwruVtnn1 e5OsbpO61mJh474oxt8aIengsu9NutrUBCLR3OnP948+LKXKi5py0nxPNefg4vG/jEMt Hzm5B+AZuEr5tql+JgSXKum8Js2W5yotbcCRrdQ54b0cIZik6qspHwLDfgHbxLuIeyci izny5t9RqIv2wSLVZ9Z4SZqw8BsQTT4s4fCL+Ehxcrq7v/iUMwCj4m9g+VrEAiHs3/JM y5lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hZma7pvbIzfZJhzJqWhbAIXyTs2S4ecNN45dsEcCGTg=; b=EuntFYH/Ecfg1F/KnG9MPqeb9NMhR3nwKSz5n2zNGo3rCPZ1j4p6iXqecjNKREaisF 6qYBSSPnQ2LS8qmJpoXEYS7su472vcCvwEMb0C64xoAiOdsO8luyfoAadKUDH0qMm2rm wyyraD97jrpnoOTLmMs2bxDXP5eVHW1yo0IuMSmm5nm6xklvppx/YwCOXbXa21KoxhY9 fI4oKm+r+eRdI3ik1UuYLUnrXfSI4ZsdFZs04ccfJQqnxTkMbDAGgDiS9od0mza2TEEq fgiaxQrpptcp/k5LH7bnr2wyMdtf06ioM+IOJdCy/1vUwZMDMkSq5VytuJcBLBQ6PqaU 6PbA== X-Gm-Message-State: AOAM533t/GDA+dTdGLuNyO+Q6Nhsoxi9sAn2dU9px8rTDj22chK7ZXkL /uXVBPbJQPxNt6A4IQVg/shFnv2BcWqQ1C7Cq8KYpQ== X-Google-Smtp-Source: ABdhPJwgXzGzODwzUCBx4nigFSxpKqzHhMJe2E3+wxmVtzWdIe9Mg/VLz1jX3lYonItStzmtkF8fX0RhG+onZxQ05zk= X-Received: by 2002:a50:fd19:: with SMTP id i25mr558075eds.101.1596652176663; Wed, 05 Aug 2020 11:29:36 -0700 (PDT) MIME-Version: 1.0 References: <87eeoljmkq.fsf@skimble.plus.com> In-Reply-To: <87eeoljmkq.fsf@skimble.plus.com> From: Diego Zamboni Date: Wed, 5 Aug 2020 20:29:25 +0200 Message-ID: Subject: Re: Document containing different text colours? To: Sharon Kimble Content-Type: multipart/alternative; boundary="000000000000d1fd4405ac258d45" Received-SPF: none client-ip=2a00:1450:4864:20::52b; envelope-from=diego@zzamboni.org; helo=mail-ed1-x52b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=rwZz9Mbf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 0sVof0UNg08k --000000000000d1fd4405ac258d45 Content-Type: text/plain; charset="UTF-8" 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: 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 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----- > > --000000000000d1fd4405ac258d45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Shar= on,

I'm not sure I understand what is it that you ar= e trying to do. But color (or any other visual) is a feature of the exporte= r 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:
<= br>
#+html_head_extra: <style>body { color: white; bac= kground-color: black; }</style>

For La= TeX export, you should be able to add the correct settings using #+LATEX_HEADE= R_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&= #39;
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?=C2=A0 =C2=A0 =C2=A0

And if it is possible, how do I do it please?

Thanks
=C2=A0 Sharon.=C2=A0
- --
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
=3D3YW5
-----END PGP SIGNATURE-----

--000000000000d1fd4405ac258d45--