Re: [O] convert MS power point to org mode?
Le dimanche 11 septembre 2016, Xebar Sarama écrit : > hi all > > anyone have any experience with converting M$ power point to org mode? > > If I remember correctly, you can export to word, which should give you the text and possibly pictures (?). Haven't tried it, though. Cheers, Rainer > i have a bunch of courses i teach with presentations in ppt from a few > years ago and since i now use org-reveal would love to have a quick(ish) > way to convert them to org > > best > > Z > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug
Re: [O] org-link-set-parameters missing in ELPA version
I added the following elisp code at the start of my ~/.emacs to deal with this problem. My analysis of the problem is described in the comments. In short the root cause seems to be loading built-in org.el during initialization rather than org.el from either org-plus-contrib or org add-on packages. Symbols such as org-link-set-parameters are not defined in built-in org.el of emacs 25. They are defined only in newer versions of org package. I use my own build of the following which is re-built once a week or two: - emacs 25 from 'emacs-25' git branch - org and org-plus-contribute packages from git source files - spacemacs from 'develop' git branch If I have erred in my analysis of the root cause, please let me know. What I know is that before I started using the code below, I would get emacs startup error every time after I removed all installed packages. With this code, I no longer see any failure. ;; Bootstrap `org-plus-contrib' and/or `org' packages ;; The purpose of this section is to make sure that org-mode package(s) are ;; installed and setup early on so as to prevent built-in org-mode files from ;; getting loaded. The built-in org-mode commands are autoloaded so that none ;; of the built-in org files are actually loaded when emacs starts up. However ;; it is easy to get one or more org files to get loaded directly or indirectly ;; by using one or more org mode functions. Once that happens, then it is ;; nearly impossible to fix this. For example if built-in org.el gets loaded, ;; then subsequent (require 'org) will not reload org.el even if an org package ;; was installed which provided newer org.el! A workaround is to make sure that ;; the org package(s) are not only installed, but also activated (i.e., ;; `load-path' setup) so that the first time (require 'org) is done, it will ;; cause the newer org.el to be loaded rather than the built in one. ;; Where to find packages to install from. If spacemacs is loaded, then it is ;; important that `package-archives' value here is the same as the one embedded ;; in spacemacs. Otherwise strange errors may pop up. (if (file-directory-p "/u/me/public_html/elpa/elpa/") (custom-set-variables `(package-archives `(("my-elpa" . ,(expand-file-name "/u/me/public_html/elpa/elpa/")) ("my-orgmode" . ,(expand-file-name "/u/me/public_html/elpa/orgmode/") (custom-set-variables `(package-archives `(("melpa" . "https://melpa.org/packages/;) ("orgmode" . "http://orgmode.org/elpa/; ) ;; Where to install packages to. Spacemacs honors this as of about Aug 2016. (setq package-user-dir "/u/me/opt/elpa25/") ;; Do not activate all installed packages at the end of startup processing. ;; I activate packages as needed. (setq package-enable-at-startup nil) ;; We must initialize packages before we can call `package-installed-p'. ;; However just do minimal setup (via 'no-activate optional argument), i.e., do ;; not activate any packages. Without `no-activate', all installed packages are ;; activated. (unless (bound-and-true-p package--initialized) (package-initialize 'no-activate) (package-refresh-contents) ;; I use `use-package' to install and setup all packages except `use-pacakge' ;; itself. You can't use it if it is not already installed and activated. So ;; make sure that it is installed and setup using only built-in package.el ;; functions. (if (package-installed-p 'use-package) (package-activate 'use-package) ; just activate if already installed (package-install 'use-package)) ;; We *must* install `org-plus-contrib' or `org' package very early on so that ;; these shadow the built-in org-mode files. If this is not done early, and one ;; or more of the built-in org-mode files are loaded during emacs startup, then ;; failures may arise later on while installing `org-plus-contrib' or `org' ;; packages. Typical errors in such case are "void-function ;; org-link-set-parameters" or "void-function org-link-types". Such errors ;; started popping up with spacemacs around August 2016 when emacs is started ;; after removing all installed packages which forced installation of all ;; needed packages. ;; ;; The need to install this early on is the reason for all the setup done so far. (use-package org-plus-contrib :ensure t :defer t) ;; Setup spacemacs (setq spacemacs-start-directory "/u/me/opt/spacemacs/") (load-file (expand-file-name "init.el" spacemacs-start-directory)) ;; Setup my stuff (load "/u/me/Private/elisp/init.el") Heikki
[O] convert MS power point to org mode?
hi all anyone have any experience with converting M$ power point to org mode? i have a bunch of courses i teach with presentations in ppt from a few years ago and since i now use org-reveal would love to have a quick(ish) way to convert them to org best Z
[O] using rgrep, ag, etc in folded org files?
Hello, I would like to use ag search, or rgrep etc, to jump to matches in my org files, and have the matched lines tree be unfolded. - isearch works in a folded orgfile - jumping with occur in a folded file works - rgrep, ag, etc doesnt unfold the tree where the match is I found this 6 year old thread discussing the same issue: "org-mode, grep and folding issue". The thread described some workarounds which used agenda search or something like that. I would rather like to use helm-projectile though. Is it possible? -- Joakim Verona -- Joakim Verona
Re: [O] Calc: Multiply time (hours) with a float
* Karl Voitwrote: > Hi! > > I do have following situation: I'd like to multiply a float with hours > which results in an error, obviously. However, I was not able to find > out how to do it. > > Minimal example with expected product: > > | time [h:m:s] | value | h * value | > |--+-+---| > | 09:15:00 | 2.54321 | 23.524693 | > #+TBLFM: @2$3=$2*$1 I guess the last resort would be to do this would be with an elisp function. Is there no other way? -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
Re: [O] Calc: Multiply time (hours) with a float
Hello, Karl Voitwrites: > * Karl Voit wrote: >> Hi! >> >> I do have following situation: I'd like to multiply a float with hours >> which results in an error, obviously. However, I was not able to find >> out how to do it. >> >> Minimal example with expected product: >> >> | time [h:m:s] | value | h * value | >> |--+-+---| >> | 09:15:00 | 2.54321 | 23.524693 | >> #+TBLFM: @2$3=$2*$1 > > I guess the last resort would be to do this would be with an elisp > function. > > Is there no other way? do you really need the result to be in decimal notation? If not, #+TBLFM:@2$3=$2*$1;T would work. If you need decimal notation you have to provide your own function, I think. Regards hmw
Re: [O] option for specific setupfile file or export option in org-publish-project-alist?
thx! the :exclude-tags '("note" "noexport") fixed the export and it works great now "...You can remove them with a hook, or a parse tree filter." can you perhaps show an example for that or point me to some documentation on that? im VERY bad at coding :) thx so much again, really appreciate your help Z On Sun, Sep 11, 2016 at 10:59 AM, Nicolas Goaziouwrote: > Hello, > > Xebar Saram writes: > > > also related can one define specific header names to exclude in export > (not > > using tags but just a header name) > > so ie, i would instead of tagging all headers named "Homework" one by > one, > > i would just add a line in the export options saying exclude any header > > named "Homework" > > You can remove them with a hook, or a parse tree filter. > > Regards, > > -- > Nicolas Goaziou >
Re: [O] option for specific setupfile file or export option in org-publish-project-alist?
thx Nicolas, appriciate the answer. i dont think its working for me but i may be missing the correct syntax this is how it currently looks ("r.base.full" :base-directory "/home/zeltak/org/files/Uni/Courses/R/" :base-extension "org" :publishing-directory "/home/zeltak/org/attach/bgu/courses/R/full.html/" :publishing-function z/org-reveal-publish-to-html :recursive t :exclude-tags note noexport :reveal-single-file t) is the line :reveal-single-file t correct syntax? thx alot! Z On Sun, Sep 11, 2016 at 12:25 AM, Nicolas Goaziouwrote: > Hello, > > Xebar Saram writes: > > > im wondering if anyone knows if its possible (and if so whats the syntax) > > to point to a specific setupfile or add specific or export options in > > the org-publish-project-alist > > > > for example i want to publish to 2 different folders once time with the > > option #+OPTIONS: reveal_single_file:t and one time without. i cant seem > to > > find how to do that > > Try :reveal-single-file publishing option. It is the property associated > to the OPTIONS item, according to "ox-reveal.el". > > Regards, > > -- > Nicolas Goaziou >
Re: [O] option for specific setupfile file or export option in org-publish-project-alist?
Hello, Xebar Saramwrites: > also related can one define specific header names to exclude in export (not > using tags but just a header name) > so ie, i would instead of tagging all headers named "Homework" one by one, > i would just add a line in the export options saying exclude any header > named "Homework" You can remove them with a hook, or a parse tree filter. Regards, -- Nicolas Goaziou
Re: [O] option for specific setupfile file or export option in org-publish-project-alist?
also related can one define specific header names to exclude in export (not using tags but just a header name) so ie, i would instead of tagging all headers named "Homework" one by one, i would just add a line in the export options saying exclude any header named "Homework" thx! Z On Sun, Sep 11, 2016 at 9:32 AM, Xebar Saramwrote: > thx Nicolas, appriciate the answer. > > i dont think its working for me but i may be missing the correct syntax > > this is how it currently looks > > ("r.base.full" > :base-directory "/home/zeltak/org/files/Uni/Courses/R/" > :base-extension "org" > :publishing-directory "/home/zeltak/org/attach/bgu/ > courses/R/full.html/" > :publishing-function z/org-reveal-publish-to-html > :recursive t > :exclude-tags note noexport > :reveal-single-file t) > > is the line > > :reveal-single-file t > > correct syntax? > > thx alot! > > Z > > > On Sun, Sep 11, 2016 at 12:25 AM, Nicolas Goaziou > wrote: > >> Hello, >> >> Xebar Saram writes: >> >> > im wondering if anyone knows if its possible (and if so whats the >> syntax) >> > to point to a specific setupfile or add specific or export options in >> > the org-publish-project-alist >> > >> > for example i want to publish to 2 different folders once time with the >> > option #+OPTIONS: reveal_single_file:t and one time without. i cant >> seem to >> > find how to do that >> >> Try :reveal-single-file publishing option. It is the property associated >> to the OPTIONS item, according to "ox-reveal.el". >> >> Regards, >> >> -- >> Nicolas Goaziou >> > >
Re: [O] option for specific setupfile file or export option in org-publish-project-alist?
Xebar Saramwrites: > thx Nicolas, appriciate the answer. > > i dont think its working for me but i may be missing the correct syntax > > this is how it currently looks > > ("r.base.full" > :base-directory "/home/zeltak/org/files/Uni/Courses/R/" > :base-extension "org" > :publishing-directory > "/home/zeltak/org/attach/bgu/courses/R/full.html/" > :publishing-function z/org-reveal-publish-to-html > :recursive t > :exclude-tags note noexport Shouldn't it be :exclude-tags '("note" "noexport") ? > :reveal-single-file t) > > is the line > > :reveal-single-file t > > correct syntax? I think so. Regards, -- Nicolas Goaziou