From mboxrd@z Thu Jan 1 00:00:00 1970 From: "briangpowell ." Subject: Re: Several headers on a table Date: Sun, 20 Oct 2019 14:42:27 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007088bf05955bee03" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMGA6-0006SK-Da for emacs-orgmode@gnu.org; Sun, 20 Oct 2019 14:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMGA4-0003Of-Lb for emacs-orgmode@gnu.org; Sun, 20 Oct 2019 14:42:42 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:37898) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMGA4-0003O9-E9 for emacs-orgmode@gnu.org; Sun, 20 Oct 2019 14:42:40 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 3so10575152wmi.3 for ; Sun, 20 Oct 2019 11:42:40 -0700 (PDT) In-Reply-To: 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: Cecil Westerhof Cc: emacs-orgmode --0000000000007088bf05955bee03 Content-Type: text/plain; charset="UTF-8" * Many years ago I asked that such features be programmed into OrgMode--for Multivariate Statistics output--they flatly refused and said there would be no plans to do so ** In retrospect; and, in the future, after much thought about it: I very much agree with and respect the main of the OrgMode developers & there decisions in this case *** Because you can always simply type in such parts of the "exterior table" and represent the fact that your table is Multivariate Statistics output--output from statistical software like SAS {which I've made such tables from--believe it was with the SAS Tabulate subsystem software} **** Also, OrgMode leverages the abilities of Donald Knuth's Tex/LaTeX typesetting system--which can output beautiful Multivariate Statistics in the format you seek **** OrgMode leverages Emacs Calc for the guts of the engine that operates on living and changing tables--OrgMode tables **** OrgMode operates on tables AFTER their initially generated--and in that way your tables enable the use of ANY programming language { through OrgMode's BabelMode etc.} to become a Functional Programming Language that operates on whatever is inside the main tables--and you define the functions--which are Emacs Calc functions that make up the tables {and this opens up your abilities to calculate on-the-fly tables and functions operating within those functions to a staggering degree--Emacs Calc is a very powerful software subsystem in and of itself} ** But back to your main question; and, away from the philosophy behind OrgMode: Suggest you do this: |--------------+-----------------+-----------------------------| | | Recording Time | | |--------------+-----------------+-----------------------------| | Battery pack | Continuous 5 | Typical 5555555555555 | | | | | |--------------+-----------------+-----------------------------| |--------------------+-----+-----+-----+-----+-----+-----+-----| | Image quality | HD | MP4 | STD | HD | MP4 | STD | XYZ | |--------------------+-----+-----+-----+-----+-----+-----+-----| | NP-FV30 (supplied) | 90 | 100 | 95 | 45 | 50 | 45 | 555 | | NP-FV50 | 170 | 190 | 180 | 85 | 95 | 90 | 555 | | NP-FV70 | 355 | 395 | 375 | 175 | 195 | 185 | 555 | | NP-FV100 | 710 | 785 | 745 | 355 | 390 | 370 | 555 | |--------------------+-----+-----+-----+-----+-----+-----+-----| ** Then just hit "Tab" inside each of the sub-pieces (to make it pretty again) & delete the 5's and the 2 lines separating the table pieces, voila, you have Multivariate Output tables that look very pretty, like SAS or TeX output and still have all of the methods accrued to you through OrgMode and the EmacsCalc subsystem to operate on and update the main guts of the table and with OrgMode and BabelMode you can do it with any language and/or extend it to accommodate your own or a new language On Sun, Oct 20, 2019 at 8:18 AM Cecil Westerhof wrote: > I have the following table: > |--------------------+-----+-----+-----+-----+-----+-----| > | Image quality | HD | MP4 | STD | HD | MP4 | STD | > |--------------------+-----+-----+-----+-----+-----+-----| > | NP-FV30 (supplied) | 90 | 100 | 95 | 45 | 50 | 45 | > | NP-FV50 | 170 | 190 | 180 | 85 | 95 | 90 | > | NP-FV70 | 355 | 395 | 375 | 175 | 195 | 185 | > | NP-FV100 | 710 | 785 | 745 | 355 | 390 | 370 | > |--------------------+-----+-----+-----+-----+-----+-----| > > But I like to put the following headers above it: > |--------------------+-----------------------------------| > | | Recording Time | > |--------------------+-----------------------------------| > |--------------------+-----------------+-----------------| > | Battery pack | Continuous | Typical | > |--------------------+-----------------+-----------------| > > So I would get: > |--------------------+-----------------------------------| > | | Recording Time | > |--------------------+-----------------------------------| > |--------------------+-----------------+-----------------| > | Battery pack | Continuous | Typical | > |--------------------+-----------------+-----------------| > |--------------------+-----+-----+-----+-----+-----+-----| > | Image quality | HD | MP4 | STD | HD | MP4 | STD | > |--------------------+-----+-----+-----+-----+-----+-----| > | NP-FV30 (supplied) | 90 | 100 | 95 | 45 | 50 | 45 | > | NP-FV50 | 170 | 190 | 180 | 85 | 95 | 90 | > | NP-FV70 | 355 | 395 | 375 | 175 | 195 | 185 | > | NP-FV100 | 710 | 785 | 745 | 355 | 390 | 370 | > |--------------------+-----+-----+-----+-----+-----+-----| > > Would that be possible? > > -- > Cecil Westerhof > --0000000000007088bf05955bee03 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
* Many years ago I asked that such featur= es be programmed into OrgMode--for Multivariate Statistics output--they fla= tly refused and said there would be no plans to do so

** In retrospect; and, in the future, after much t= hought about it: I very much agree with and respect the main of the OrgMode= developers & there decisions in this case

*** Because you can always simply type in such parts of the "exteri= or table" and represent the fact that your table is=C2=A0Multivariate = Statistics output--output from statistical software like SAS {which I'v= e made such tables from--believe it was with the SAS Tabulate subsystem sof= tware}

**** Also, OrgMode leverages the abilities = of Donald Knuth's Tex/LaTeX typesetting system--which can output beauti= ful=C2=A0Multivariate Statistics in the format you seek

**** OrgMode leverages Emacs Calc for the guts of the engine that ope= rates on living and changing tables--OrgMode tables

**** OrgMode operates on tables AFTER their initially generated--and in t= hat way your tables enable the use of ANY programming language { through Or= gMode's BabelMode etc.} to become a Functional Programming Language tha= t operates on whatever is inside the main tables--and you define the functi= ons--which are Emacs Calc functions that make up the tables {and this opens= up your abilities to calculate on-the-fly tables and functions operating w= ithin those functions to a staggering degree--Emacs Calc is a very powerful= software subsystem in and of itself}

** But back = to your main question; and, away from the philosophy behind OrgMode: Sugges= t you do this:

|--------------+-----------------+-= ----------------------------|
|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 | Recording Time =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|

|---= -----------+-----------------+-----------------------------|
| Battery p= ack | Continuous =C2=A0 =C2=A05 | Typical =C2=A0 =C2=A0 =C2=A0 555555555555= 5 |
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
|--= ------------+-----------------+-----------------------------|

|-----= ---------------+-----+-----+-----+-----+-----+-----+-----|
| Image quali= ty =C2=A0 =C2=A0 =C2=A0| =C2=A0HD | MP4 | STD | =C2=A0HD | MP4 | STD | XYZ = |
|--------------------+-----+-----+-----+-----+-----+-----+-----|
| = NP-FV30 (supplied) | =C2=A090 | 100 | =C2=A095 | =C2=A045 | =C2=A050 | =C2= =A045 | 555 |
| NP-FV50 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 170 |= 190 | 180 | =C2=A085 | =C2=A095 | =C2=A090 | 555 |
| NP-FV70 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 355 | 395 | 375 | 175 | 195 | 185 | 555 |<= br>| NP-FV100 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 710 | 785 | 745 | 355 | = 390 | 370 | 555 |
|--------------------+-----+-----+-----+-----+-----+--= ---+-----|

** Then just hit "Tab" in= side each of the sub-pieces (to make it pretty again) & delete the 5= 9;s and the 2 lines separating the table pieces, voila, you have Multivaria= te Output tables that look very pretty, like SAS or TeX output and still ha= ve all of the methods accrued to you through OrgMode and the EmacsCalc subs= ystem to operate on and update the main guts of the table and with OrgMode = and BabelMode you can do it with any language and/or extend it to accommoda= te your own or a new language



<= /div>
O= n Sun, Oct 20, 2019 at 8:18 AM Cecil Westerhof <cldwesterhof@gmail.com> wrote:
=
I have the fol= lowing table:
|--------------------+-----+-----+-----+-----+-----+-----|
| Image = quality =C2=A0 =C2=A0 =C2=A0| =C2=A0HD | MP4 | STD | =C2=A0HD | MP4 | STD |=
|--------------------+-----+-----+-----+-----+-----+-----|
| NP-FV30= (supplied) | =C2=A090 | 100 | =C2=A095 | =C2=A045 | =C2=A050 | =C2=A045 |<= br>| NP-FV50 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 170 | 190 | 180 | = =C2=A085 | =C2=A095 | =C2=A090 |
| NP-FV70 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0| 355 | 395 | 375 | 175 | 195 | 185 |
| NP-FV100 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 | 710 | 785 | 745 | 355 | 390 | 370 |
|--------= ------------+-----+-----+-----+-----+-----+-----|

But I like to put the following header= s above it:
|--------------------+-----------------------------------|
| =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Recording T= ime =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<= br>|--------------------+-----------------------------------|
|---------= -----------+-----------------+-----------------|
| Battery pack =C2=A0 = =C2=A0 =C2=A0 | Continuous =C2=A0 =C2=A0 =C2=A0| Typical =C2=A0 =C2=A0 =C2= =A0 =C2=A0 |
|--------------------+-----------------+-----------------|<= br>

So I would get:
|--------------------+-------------------------------= ----|
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| Recording Time =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|
|--------------------+-------------------------------= ----|
|--------------------+-----------------+-----------------|
| Ba= ttery pack =C2=A0 =C2=A0 =C2=A0 | Continuous =C2=A0 =C2=A0 =C2=A0| Typical = =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
|--------------------+-----------------+--= ---------------|
|--------------------+-----+-----+-----+-----+-----+---= --|
| Image quality =C2=A0 =C2=A0 =C2=A0| =C2=A0HD | MP4 | STD | =C2=A0H= D | MP4 | STD |
|--------------------+-----+-----+-----+-----+-----+----= -|
| NP-FV30 (supplied) | =C2=A090 | 100 | =C2=A095 | =C2=A045 | =C2=A05= 0 | =C2=A045 |
| NP-FV50 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 170 = | 190 | 180 | =C2=A085 | =C2=A095 | =C2=A090 |
| NP-FV70 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0| 355 | 395 | 375 | 175 | 195 | 185 |
| NP-FV= 100 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 710 | 785 | 745 | 355 | 390 | 370 = |
|--------------------+-----+-----+-----+-----+-----+-----|

Would that be possib= le?

--
Cecil Westerhof
--0000000000007088bf05955bee03--