Re: [O] orgtable fill (black) when exporting to html
On Friday, 24 Feb 2017 at 10:05, Uwe Brauer wrote: > Hi > > Is there a way to fill a cell in a table such when exported to say html > it comes in black? Maybe with inline HTML? E.g. | @@html:@@text@@html:@@ | more text | (untested) or something similar although this will probably not fill the whole cell. -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-262-g5210de signature.asc Description: PGP signature
Re: [O] orgtable fill (black) when exporting to html
> Uwe Brauerwrites: > 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 . 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
Re: [O] orgtable fill (black) when exporting to html
Uwe Brauerwrites: "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!
Re: [O] orgtable fill (black) when exporting to html
>>> "Rasmus" == Rasmuswrites: > 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. But it seems that such a functionality does not exist. Uwe Brauer
Re: [O] orgtable fill (black) when exporting to html
Uwe Brauerwrites: > 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 -- ツ
[O] orgtable fill (black) when exporting to html
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