emacs-orgmode
[Top][All Lists]
Advanced

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

how obtain automatic row numbers in a table starting after the second hl


From: Uwe Brauer
Subject: how obtain automatic row numbers in a table starting after the second hline?
Date: Sat, 06 Aug 2022 18:19:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Hi

I would like to obtain 
#+begin_src 

|  Nr |
|-----|
|     |
|-----|
| 574 |
| 575 |
|  .. |
| 680 |
#+end_src

I tried 
#+begin_src 

| Nr |
|----|
|  1 |
|----|
|  1 |
|  2 |
#+TBLFM: $1=vlen(@II$1..0);EN
#+end_src

or
#+begin_src 

|  Nr |
|-----|
| 573 |
|-----|
| 574 |
| 575 |
#+TBLFM: $1=@#-1+572
#+end_src

None worked, any ideas?

thanks

Uwe Brauer 
-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 




reply via email to

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