From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: orgtable fill (black) when exporting to html Date: Fri, 24 Feb 2017 13:08:19 +0100 Message-ID: <87bmtr6bbg.fsf@gmx.us> References: <874lzjvr8f.fsf@mat.ucm.es> <87innz6fiy.fsf@gmx.us> <8760jzhm0v.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chEfo-0004Ig-N4 for emacs-orgmode@gnu.org; Fri, 24 Feb 2017 07:08:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chEfk-0001zr-Cz for emacs-orgmode@gnu.org; Fri, 24 Feb 2017 07:08:32 -0500 Received: from [195.159.176.226] (port=47914 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chEfk-0001xj-67 for emacs-orgmode@gnu.org; Fri, 24 Feb 2017 07:08:28 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1chEfb-0005Fj-VC for emacs-orgmode@gnu.org; Fri, 24 Feb 2017 13:08:19 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Uwe Brauer writes: >>>> "Rasmus" == Rasmus writes: > > > Uwe Brauer writes: > >> Is there a way to fill a cell in a table such when exported to say html > >> it comes in black? > > > I don't really understand, but probably you can use CSS and use the name > > of the table (it will be the id of the table). Probably you can use > > nth-child or first-child in CSS. > > > Thanks what I meant is > > |this |*****| > > Is tranformed when converting to a html document > > |this| blackbox| > > Or something like this, without further manipulation via css. I don't really understand what "*****" or "blackbox" is. However, if you can find the cells in question automatically, you could use something like an export filter. Either add appropriate code to get "blackbox" as an export snippet before parsing (maybe an appropriate . or symbol), see org-export-before-parsing-hook, or manipulate the HTML itself, see org-export-filter-table-functions. Hope it helps, Rasmus -- If you can mix business and politics wonderful things can happen!