Re: [O] Cut and paste an entry programmatically

2019-06-28 Thread Kyle Meyer
Michael Brand writes: [...] > With your idea I debug printed kill-ring and found that after the > second invocation of org-cut-subtree during ~M-: (temp) RET M-: (temp) > RET~ it consists of only one list element with a string containing > both 1 and 2 instead of one list element with only 1 and

Re: [O] Equivalent of timeline?

2019-06-28 Thread Samuel Wales
i was going to code the following, and documented it first, but cannot code it. maybe it will be of smoe use in thinking about the problem. i would use text search view, as follows. i think it should be pretty small. === i think timeline (L) was retired from org because it code-rotted as org d

Re: [O] Links to LaTeX equations

2019-06-28 Thread John Kitchin
Org-ref provides a ref link for exactly this purpose. It looks like ref:an-equation and if you click on it it jumps to the label. The link is red if the label doesn't exist and maroonish if it does. It exports in latex as \ref{an-equation}. It sounds like just what you need. You can get org-ref on

Re: [O] Links to LaTeX equations

2019-06-28 Thread Fraga, Eric
On Friday, 28 Jun 2019 at 10:19, John Kitchin wrote: > Org-ref provides a ref link for exactly this purpose. Thanks John. I've looked at org-ref before and it looks nice. However, due to my organically grown org (and Emacs) customizations (over 35 years...), I couldn't get it to work well for m

Re: [O] Links to LaTeX equations

2019-06-28 Thread Ken Mankoff
Hi Eric, On 2019-06-28 at 10:55 -02, Fraga, Eric wrote... > I would like to be able to use org fully with respect to links and > targets. If I define a label in LaTeX directly, \label{an-equation} > for instance, I get no benefit from using an org link to it, e.g. > [[an-equation]] Why don't you

Re: [O] Links to LaTeX equations

2019-06-28 Thread Fraga, Eric
On Friday, 28 Jun 2019 at 11:58, Ken Mankoff wrote: > Why don't you define the link in Org? > > #+NAME: eq:foo > \begin{equation} And why are the obvious solutions not those that come to mind (for me) Many thanks. Nothing in the documentation to even suggest this possibility. That's my excu

[O] Equivalent of timeline?

2019-06-28 Thread James Harkins
I recently had to make a document listing my professional activities (lectures and performances). Items are dated. I would like to see an overview of them, sorted by date. In the past I would have used a Timeline agenda for this, but that's no longer possible. https://www.reddit.com/r/orgmode/

Re: [O] Cut and paste an entry programmatically

2019-06-28 Thread Michael Brand
Hi Samuel On Thu, Jun 27, 2019 at 11:57 PM Samuel Wales wrote: > does (kill-new "") in front of the kill fix it? Good idea. Yes, it prevents reinsertion of "1". Same with (setq kill-ring nil) in front of org-cut-subtree. With your idea I debug printed kill-ring and found that after the second i

[O] Links to LaTeX equations

2019-06-28 Thread Fraga, Eric
Hello all, it's that time of year where I have to think about revamping my lecture slides (having just finished one year, the next one starts...). I write these in org and export to beamer obviously! I teach a technical subject. I therefore have quite a few equations in my slides and I use LaTe