[O] No LaTeX label when using :mode math #+NAME with table

2019-05-11 Thread edgar
I had to add :math-suffix  to get a label in the exported TeX 
file (shown below), otherwise, there is no label. If I am the only one 
affected, disregard this message. I may not be able to answer in some 
days.


#+NAME: tbl-arbitrary-factors
#+CAPTION: Simplification of model parameters.
#+ATTR_LATEX: :mode math :environment align* :math-suffix 
\label{tbl-arbitrary-factors}
| a_{2} = \alpha\,10^{7}   || , || 
\frac{b_{2}}{3} = a_{2}|| , || \frac{d_{2}}{6.5} 
= a_{2}  |
| c_{2} = \beta\,10^{7}|| , || 
g_{n} = \frac{g_{n}^{\max}}{1 + \beta} || , || g_{n}^{\max} = 
0.55, 0.3, 0.15 |
| k_{0}=\kappa\,\frac{10^{-9}}{\gamma_{\text{H}_{2}\text{O}}}  || , || 
\tau_{n} = \frac{\tau_{n}^{\max}}{1 + \kappa}  || , || \tau_{n}^{\max} = 
20, 100, 200 |


-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Re: [O] Column width cookies stopped working in 9.2.3?

2019-05-11 Thread Nick Dokos
Neil Jerram  writes:

> Hi,
>
> I have tables with width cookies like this:
>
> | <16> | <6>   | <64>  |
>
> I just added new information to one of those tables, and the table
> shrank down to match the size of the content, i.e. as though Org is
> now ignoring the width cookies.
>
> I believe I've also upgraded in the last few days, and now have:
> Org mode version 9.2.3 (9.2.3-13-g727c3f-elpa @
> /home/neil/.emacs.d/elpa/org-20190506/)
>
> Is this a known thing?  Do I need something else now to make those
> width cookies work?
>

As Eric says, things have changed in this area. It's always a good
idea to check the /etc/ORG-NEWS file for such things.  In this
particular case, read the section entitled "Dynamically narrow table
columns" in the Version 9.2 "New features" section of etc/ORG-NEWS.

-- 
Nick

"There are only two hard problems in computer science: cache
pinvalidation, naming things, and off-by-one errors." -Martin Fowler




[O] Suggestion for note capture

2019-05-11 Thread Andrea Giugliano
Hi Nathan,

I think I have a starting point for you:

--
(defun ag/org-add-note-to-last-entry ()
  "Add a note to the main agenda file under the latest visited
heading (untested in case the org buffer is not available)"
  (interactive)
  (let ((buffer (car (org-buffer-list 'files 't
(with-current-buffer buffer
  (org-add-note)
  (message "%S" (concat "Adding note in heading: " (fifth 
(org-heading-components)))
---

This function adds a note to the last heading you were editing before
switching file. It is limited to the first file in your
"org-buffer-list" (so does not work if you have multiple org files from
which you generate your agenda).

I imagine you could extend this by choosing the file that has a clock
open (i.e., you need to change the "buffer" binding accordingly), move
to the clocked heading (i.e., add some logic before "org-add-note") and
pointing to the subheading (i.e., again adding some logic before
"org-add-note").

Hope this gives you a lead.

Best,

Andrea


Re: [O] Column width cookies stopped working in 9.2.3?

2019-05-11 Thread Fraga, Eric
On Saturday, 11 May 2019 at 10:42, Neil Jerram wrote:
> Is this a known thing?  Do I need something else now to make those
> width cookies work?

yes, column width processing changed in org v9.  Check the manual,
section 3.2 on column width and alignment.  You will need to type C-c
TAB to shrink/expose columns.  C-u C-c TAB to shrink all columns with a
width specified.
-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0


[O] Column width cookies stopped working in 9.2.3?

2019-05-11 Thread Neil Jerram
Hi,

I have tables with width cookies like this:

| <16> | <6>   | <64>  |

I just added new information to one of those tables, and the table
shrank down to match the size of the content, i.e. as though Org is
now ignoring the width cookies.

I believe I've also upgraded in the last few days, and now have:
Org mode version 9.2.3 (9.2.3-13-g727c3f-elpa @
/home/neil/.emacs.d/elpa/org-20190506/)

Is this a known thing?  Do I need something else now to make those
width cookies work?

Thanks,
   Neil