This page shows a example of writing a emacs lisp function that turns
the current block of text into a HTML table.
The Problem
I want to write a function, such that, when called, the current block
of text the cursor is on, becomes a HTML table. Suppose the block of
text is this:
> As a sidenote, you could also use
> M-x table-capture
> M-x table-generate-source
> to build html or latex tables fast.
interesting. table-capture does ascii-art styled table.
table-generate-source seems to be able to generate html table
according to its online doc, but how do i use it? it's online doc is
rather not clear. It just give me error: "if: Table not found here".
On May 2, 4:41 pm, "xah...@gmail.com" gmail.com> wrote:
> On May 2, 6:50 am, harven wrote:
>
>> As a sidenote, you could also use
>> M-x table-capture
>> M-x table-generate-source
>> to build html or latex tables fast.
>
> interesting. table-capture does ascii-art styled table.
>
> table-generate-source seems to be able to generate html table
> according to its online doc, but how do i use it? it's online doc is
> rather not clear. It just give me error: "if: Table not found here".
>
> Thanks.
>
> Xah
> x...@xahlee.org
> ∑http://xahlee.org/
> ...
>
>Sidenote:
>
>In an amazing turn of events IE8 is more or less standards compliant per
>default.
>CSS (W3C) and JavaScript (ECMA) is consistent with standards and other
>browsers.
>Netscape and Opera already are so in a way it will soon be a lot simpler..
>
>--------------
>John Thingstad