[O] Patch: default CSS class for SVG images in HTML export

2016-07-24 Thread Jarmo Hurri
Greetings. The attached patch - adds a default CSS class org-svg to SVG images embedded in exported HTML if no other class is set for the image using attr_html - documents the existence of this class. The second attachment is an org-file that can be used to verify that the patch works as

[O] error while upgrading to 8.3.5

2016-07-24 Thread Vikas Rawal
I did the usual "make up2" in my git repository but got the following error (just pasting the tail of the log): — Ran 634 tests, 633 results as expected, 1 unexpected (2016-07-25 06:07:28+0530) 7 expected failures 1 unexpected results: FAILED test-org-colview/columns-summary

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Nicolas Goaziou
Hello, Jarmo Hurri writes: > Request: An SVG file embedded in exported HTML should be embedded using > the tag instead of . Would you like to provide a patch to this effect? It probably boils down to modifying `org-html--svg-image'. Regards, -- Nicolas Goaziou

Re: [O] Babel CALL no longer produces HTML output

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: >> Try: >> >> #+CALL: rekursio-pystyviivat[:noweb yes]() :results export html > > Greetings Christian, > > for some reason that did not improve the end result. Sorry, I had that solution freshly in mind from a different problem (involving #+INCLUDE, not #+CALL), and

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Jarmo Hurri
Nicolas Goaziou writes: > Jarmo Hurri writes: > >> Request: An SVG file embedded in exported HTML should be embedded using >> the tag instead of . > > Would you like to provide a patch to this effect? It probably boils down > to modifying

Re: [O] #+BEGIN_html/#+END_html tags not exporting literally to html anymore?

2016-07-24 Thread Adam Aviv
Thanks for the comments... very helpful! This is a perfect example of when living on the bleeding edge of a library and searching for solutions can come into conflict. I'll stick to looking at the docs built off the git repo. On Fri, Jul 22, 2016 at 5:15 PM, Nick Dokos wrote:

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
I disagree. A switch to for SVG export (1) is not necessary for scaling, and (2) would disable other useful features that are presently available out of the box. (1) It *is* a bit easier to scale SVG with in HTML. But you *can* scale SVG with by putting the in a container and scaling the

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > Greetings. > > Does anyone have any idea of how to scale an SVG figure produced by Org > (Asymptote)? The exported HTML is > > > > Sorry, your browser does not support SVG. > > (Suggested an answer on another thread. For completeness:) You can scale the SVG by

[O] proposed modification of org-display-inline-images

2016-07-24 Thread John Kitchin
I would like to propose a change to org-display-inline-images so it can rescale images even if imagemagick is not built in to emacs. There is currently no way to rescale images when they are displayed in that case AFAICS. This is particularly a problem on Windows, as we have never found a binary

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Scott Randby
On 07/24/2016 12:50 PM, Christian Moe wrote: > > I disagree. A switch to for SVG export (1) is not necessary for > scaling, and (2) would disable other useful features that are presently > available out of the box. > > (1) It *is* a bit easier to scale SVG with in HTML. But you *can* > scale

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Jarmo Hurri
Christian Moe writes: > I disagree. A switch to for SVG export (1) is not necessary for > scaling, and (2) would disable other useful features that are > presently available out of the box. > > (1) It *is* a bit easier to scale SVG with in HTML. But you > *can* scale SVG

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Jarmo Hurri
Christian Moe writes: > Jarmo Hurri writes: >> Does anyone have any idea of how to scale an SVG figure produced by Org >> (Asymptote)? The exported HTML is >> >> >> >> Sorry, your browser does not support SVG. >> >> > > You can scale the SVG by scaling the element's

Re: [O] Best practice for canceled/moved recurring events

2016-07-24 Thread Jason Riedy
And sabrewo...@gmail.com writes: > What is the best way of dealing with scenarios where (1) the meeting "next > week" is on the Wednesday and (2) the meeting "two weeks" after that (or > whatever) is canceled? Right now, I keep the typical meeting (titled with "Standing: ") and add exceptions as

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
I also disagree with myself :-) -- I wrote: > To sum up, makes the most common task simpler (scaling the > graphic), but the Org example I included seems to show that can be just as simple from Org. Forgot to edit the conclusion. cm

Re: [O] orgmode & pdf-tools

2016-07-24 Thread Pablo S . Casas
From: AW Subject: Re: [O] orgmode & pdf-tools Date: Tue, 19 Apr 2016 21:53:23 +0200 > . . . A N D openSUSE! > > Links of the form [[./foo.pdf::3]] still are being opened on p. 1 instead of > page 3. For description of my issue, see my report from April 3rd

Re: [O] automatically run code blocks when loading an org-mode document

2016-07-24 Thread Nick Dokos
​That's a better solution indeed.​ On Sun, Jul 24, 2016 at 4:27 AM, Eric S Fraga wrote: > On Friday, 22 Jul 2016 at 22:11, Nick Dokos wrote: > > [...] > > > # -*- find-file-hook: org-babel-execute-buffer -*- > > #+BEGIN_SRC emacs-lisp > > (defun handy-stuff(arg) > >

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Christian Moe
Jarmo Hurri writes: > The method you suggested above - setting id - works (all tests done in > Chrome). Mine are in Firefox. > But setting id-values is cumbersome, because you need to do it > for every file. > It is also possible to set a CSS class similarly, that is, modifying > your example

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Christian Moe
Scott Randby writes: >> #+attr_html: :width 100px >> [[path/to/image.svg]] > > It has been awhile since I tried to scale an SVG image using Org markup, > but I recall trying what you suggest and it didn't work. I will try > again when I have some time and report the results to this list. I

Re: [O] Scaling HTML-exported SVG

2016-07-24 Thread Jarmo Hurri
Jarmo Hurri writes: > Christian Moe writes: >> #+html_head_extra: #svgfig {width: 200px; } >> >> #+attr_html: :id svgfig >> [[path/to/image.svg]] >> >> For this to work, the SVG needs to be written to be scalable (with >> viewport set etc.). > >

Re: [O] Request: change SVG embedding in exported HTML

2016-07-24 Thread Jarmo Hurri
It looks like we can ignore my suggestion in this thread, and take the (extremely easy) way out suggested in the thread with title "Scaling HTML-exported SVG". Jarmo

Re: [O] automatically run code blocks when loading an org-mode document

2016-07-24 Thread Eric S Fraga
On Friday, 22 Jul 2016 at 22:11, Nick Dokos wrote: [...] > # -*- find-file-hook: org-babel-execute-buffer -*- > #+BEGIN_SRC emacs-lisp > (defun handy-stuff(arg) > (message arg)) > #+END_SRC > > [[elisp:(handy-stuff "foo")][foo]] > [[elisp:(handy-stuff "bar")][bar]] > > will do that (but you

[O] showing the scheduled/due date in agenda view in the header ?

2016-07-24 Thread Xebar Saram
Hi all i was wondering if there is a way to add the scheduled/due date in agenda view in the header ? so it would look like this: Wednesday 27 July 2016 meet:9:00.. meet zack <2016-01-18 Mon 17:30-18:00> best! Z

Re: [O] Apply patch from org document

2016-07-24 Thread Óscar Fuentes
"Charles C. Berry" writes: > On Sun, 24 Jul 2016, Óscar Fuentes wrote: > >> Is there a method for applying a patch/diff embedded in a code block? >> > > If by `embedded' you mean that the body of a src block is a patch such > as provided by `git format-patch', you could use the

Re: [O] how to set a persistent bookmark ...

2016-07-24 Thread Philip Hudson
(require 'saveplace) (setq-default save-place t) On 24 July 2016 at 03:03, Sharon Kimble wrote: > > How can I set a persistent bookmark, showing just the date and time > please? The date and time should be in the form of '-MM-DD HH:MM' - > using the 24-hour clock