Re: [O] N tasks per week with sexp diary entries

2018-02-17 Thread Gour
On Thu, 15 Feb 2018 18:53:51 -0200
Leslie Watter  wrote:

> What I've done is create a separate header for every time I have an
> appointment on such exercise and re-enter the schedule for that week.

Thank you for your input.

In my case, there is no fixed schedule per week, but it simply depends
on my free time which does vary from week to week and I only want to be
sure that I did fixed number of workouts per week. Moreover, if e.g.
the program does last 10 weeks, I most probably want to just continue
with it from the 11th week, iow. continuous exercising. So, it seems I
have to create schedule manually...

Sincerely,
Gour

-- 
He is a perfect yogī who, by comparison to his own self,
sees the true equality of all beings, in both their
happiness and their distress, O Arjuna!

-- 
There is no possibility of one's becoming a yogī, O Arjuna,
if one eats too much or eats too little, sleeps too much
or does not sleep enough.





[O] image thumbnails of files in org-mode?

2018-02-17 Thread John Kitchin
I just wanted to confirm that a link like this

[[./2018-02-17.org
][file:obipy-resources/33735cc07b9b0c59cfa97f851f6f0800-32111HNp.png]]

does not show the thumbnail in org-mode (it does in html export).

Is that the case? Thanks,

John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


Re: [O] make svg files open in inkscape?

2018-02-17 Thread John Kitchin
Sorry, premature send...

> I previously wrote this solution: https://emacs.
> stackexchange.com/questions/38345/open-an-external-sketch-
> drawing-application
>
> to make svg links open in inkscape, even if they don't already exist.
>

It turns out inkscape does not let you create files in a command line.


>
> I wanted to try using org-file-apps for this:
>
> #+BEGIN_SRC emacs-lisp
> (defun my-svg (path link)
>
>   (message "path: %s - %s" path link))
>
> (add-to-list 'org-file-apps '("\\.svg\\'" . my-svg))
> #+END_SRC
>
>
my-svg would eventually create a template file if the file doesn't exist,
but in this form it doesn't work for files that don't exist yet.

Is it expected that the files exist for file:some-file.svg when you click
on them?



> John
>
> ---
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803 <(412)%20268-7803>
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
>


[O] make svg files open in inkscape?

2018-02-17 Thread John Kitchin
I previously wrote this solution:
https://emacs.stackexchange.com/questions/38345/open-an-external-sketch-drawing-application


to make svg links open in inkscape, even if they don't already exist.

I wanted to try using org-file-apps for this:

#+BEGIN_SRC emacs-lisp
(defun my-svg (path link)

  (message "path: %s - %s" path link))

(add-to-list 'org-file-apps '("\\.svg\\'" . my-svg))
#+END_SRC

but i
John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


[O] Images in HTML export

2018-02-17 Thread Thomas S. Dye

Aloha all,

Using an up-to-date Org mode from Elpa, I'm not getting inline 
images when the description part of the Org link is itself a link. 
Instead, the browser shows the alt text, which points to the link.


Here is an example from the Org mode buffer:

#+name: fig:bldg-1-5-seq
#+caption: Stratigraphic DAG of the North Area sequence based on a 
Harris matrix created by Craig Cessford.

[[file:~/quicklisp/local-projects/hm/examples/bldg-1-5/bldg-1-5-sequence.png][file:~/quicklisp/local-projects/hm/examples/bldg-1-5-sequence-small.jpeg]]

This is what I get in the html file:


href="file:///home/dk/quicklisp/local-projects/hm/examples/bldg-1-5/bldg-1-5-sequence.png">src="file:///home/dk/quicklisp/local-projects/hm/examples/bldg-1-5-sequence-small.jpeg" 
alt="bldg-1-5-sequence-small.jpeg" />


Figure 6: Stratigraphic DAG 
of the North Area sequence based on a Harris matrix created by 
Craig Cessford.



I have org-html-inline-images set to t, and am viewing the output 
in an up-to-date Mozilla Firefox browser.


I'm expecting to see bldg-1-5-sequence-small.jpeg displayed 
inline.  Any idea what I'm doing wrong?


All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com