emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [how to joint column/rows of tables that are in different files (id?


From: Uwe Brauer
Subject: Re: [how to joint column/rows of tables that are in different files (id?)]
Date: Wed, 11 May 2022 15:45:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "JK" == John Kitchin <jkitchin@andrew.cmu.edu> writes:

> Can you make a temporary org-buffer that copies all those tables into
> one place, and then join them?

My workflow (in case anybody finds this helpful)
#+begin_src 

* Localisation of the program files

Each file you want to correct is located in a different easy to identify 
directory (folder).

* Correction of the program files

** Run the code
In case they are Matlab file, you can use emacs powerful matlab-mode and its 
corresponding shell to check the code

** Annotate your remarks 

I recommend using org-remark-mark (3rd party package) and org-remark-open
Put your comments, and qualification as Properties. They are saved in a file 
called marginalia.org in the same directory

Here is an example

#+begin_src 
** DONE The summary of all exercises
   :PROPERTIES:
   :Ap: Student1
   :Com1: E1: Bad formatted file, no explanation of the results
   :Com2: E2: Results are ok, again the results are not interpreted.
   :Com3: E3: Only one of the ODE has been solved.
   :org-remark-beg: 5498
   :Ej1: 15
   :Ej2: 20
   :Ej3: 35
   :org-remark-end: 5460
   :org-remark-id: 50040a36
   :org-remark-label: nil
   :org-remark-link: [[file:annu_examen_mayo_student1.m::176]]
   :END:

#+end_src

Then you generate a table via
** Table
   :PROPERTIES:
   :ID: student1
   :END:


#+BEGIN: columnview :maxlevel 2  :skip-empty-rows t :indent nil :hlines 2  
:format "%5TODO(Status) %5Ap(Name) %5Ej1(Ej1/20)  %5Ej2(Ej2/25)  %5Ej3(Ej3/55)  
%5Res(Result) %5Com1(Com1) %5Com2(Com2) %5Com3(Com3)" 
| Status | Name     | Ej1/20 | Ej2/25 | Ej3/55 | Result | Com1                  
                             | Com2                                             
          | Com3                                     |
|--------+----------+--------+--------+--------+--------+----------------------------------------------------+------------------------------------------------------------+------------------------------------------|
| DONE   | Student1 |     15 |     20 |     35 |      7 | E1: Bad formatted 
file, no explanation of the results | E2: Results are ok, again the results are 
not interpreted. | E3: Only one of the ODE has been solved. |
#+TBLFM: $6=vsum($3..$5)/10;
#+END

** Run =org-id-update-id-locations=

* The master file

Create a master file with the following content

| Status | Name     | Ej1/20 | Ej2/25 | Ej3/55 | Result | Comment1              
                             | Comment2                                         
          | Comment3                                 |
|--------+----------+--------+--------+--------+--------+----------------------------------------------------+------------------------------------------------------------+------------------------------------------|
| DONE   | Student1 |     15 |     20 |     35 |      7 | E1: Bad formatted 
file, no explanation of the results | E2: Results are ok, again the results are 
not interpreted. | E3: Only one of the ODE has been solved. |
#+TBLFM: @2='(identity remote(student1,@>$$#));




#+end_src

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]