* orgtable fill (black) when exporting to html
@ 2017-02-24 10:05 Uwe Brauer
2017-02-24 10:37 ` Rasmus
0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2017-02-24 10:05 UTC (permalink / raw)
To: emacs-orgmode
Hi
Is there a way to fill a cell in a table such when exported to say html
it comes in black?
Regards
Uwe Brauer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orgtable fill (black) when exporting to html
2017-02-24 10:05 orgtable fill (black) when exporting to html Uwe Brauer
@ 2017-02-24 10:37 ` Rasmus
2017-02-24 11:21 ` Uwe Brauer
0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2017-02-24 10:37 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> 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.
https://developer.mozilla.org/en-US/docs/Web/CSS/%3Anth-child
Hope it helps,
Rasmus
--
ツ
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orgtable fill (black) when exporting to html
2017-02-24 10:37 ` Rasmus
@ 2017-02-24 11:21 ` Uwe Brauer
2017-02-24 12:08 ` Rasmus
0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2017-02-24 11:21 UTC (permalink / raw)
To: emacs-orgmode
>>> "Rasmus" == Rasmus <rasmus@gmx.us> writes:
> Uwe Brauer <oub@mat.ucm.es> 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.
But it seems that such a functionality does not exist.
Uwe Brauer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orgtable fill (black) when exporting to html
2017-02-24 11:21 ` Uwe Brauer
@ 2017-02-24 12:08 ` Rasmus
2017-02-24 23:08 ` Uwe Brauer
0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2017-02-24 12:08 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Rasmus" == Rasmus <rasmus@gmx.us> writes:
>
> > Uwe Brauer <oub@mat.ucm.es> 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 <span>.</span> 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!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: orgtable fill (black) when exporting to html
2017-02-24 12:08 ` Rasmus
@ 2017-02-24 23:08 ` Uwe Brauer
0 siblings, 0 replies; 6+ messages in thread
From: Uwe Brauer @ 2017-02-24 23:08 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> I don't really understand what "*****" or "blackbox" is.
This was a dummy entry. In org mode *this* is exported to latex as
\textbf{this} and in html to a construct which leads to bold face.
So I hoped there would be an equivalent which would produces a cell
which is filled with black color.
> 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 <span>.</span> or symbol), see
> org-export-before-parsing-hook, or manipulate the HTML itself, see
> org-export-filter-table-functions.
I try to look that up, thanks
Uwe
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <919a9862d3d547dc810ca3b80f5ab7ea@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>]
end of thread, other threads:[~2017-02-25 3:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 10:05 orgtable fill (black) when exporting to html Uwe Brauer
2017-02-24 10:37 ` Rasmus
2017-02-24 11:21 ` Uwe Brauer
2017-02-24 12:08 ` Rasmus
2017-02-24 23:08 ` Uwe Brauer
[not found] <919a9862d3d547dc810ca3b80f5ab7ea@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-24 11:15 ` Eric S Fraga
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).