Re: [O] org-mime
2013/5/13 Eric Schulte schulte.e...@gmail.com A while back Org-mode switched its method of exporting latex equations to HTML. Equations used to be exported as png images, however they are now exported as markup which may then be processed on the fly by client-side javascript. Most mail readers do not allow javascript in html email, and I doubt that the required javascript headers are included in the mail html mime part. Thanks Eric for your precise reply. Does it means that there is a sort of bug in Thunderbrid or that another configuration of Thunderbird could solve this problem? In this case, I consider that I can write succesfully LaTeX equations in Gnus or Wanderlust and that is a good news ! Thanks again. Jo.
Re: [O] Skim.app support for org-mac-link-grabber.el
OK, here's a patch which adds the ability to highlight the selected text. It makes new highlight notes only if `org-mac-Skim-highlight-selection-p' is set to t. - Dan 0004-Add-the-ability-to-highlight-the-selected-text-in-Sk.patch Description: Binary data On May 14, 2013, at 8:33 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On 13.5.2013, at 22:35, Daniil Frumin difru...@gmail.com wrote: So I've been researching this problem and it seems that there is no sane way to re-select a text. OK, thanks for looking into it. The problem is that `(do-applescript ..)' only interacts with AppleScript well if the return type of the string is either a number or a string. If I try to convert the selection object (which is not really an object but a list of specifiers) it just returns the selected text. There is also `selection bounds' but it only covers rectangle selections. It's possible to save the selected text and try to `find' it later, but that won't work well (e.g.: there are several repetitions of the same text on one page). I've also tried to implement an auto-scrolling to the selected text, but to no avail. The option that seems to me the most reasonable is to add a highlight note to the selected text (which is actually possible). What do you think? Interesting idea! I think this should be implemented, but with a user option to turn it off. For now, the patch to the problem mentioned by Ivan. I have actually fixed a small bug in the code for getting links from Firefox: Prior to the fix the firefox link grabber won't work correctly if a cursor has been already positioned in the URL field. The fix works by adding an additional keystore for selecting all the text in that field. The problem is that I've committed it before committing the stuff that Ivan told us about, so I am not sure what to do in this case. So you mean the patch you would like to send to me is several commits? That is no problem, just specify with git which range of commits should be part of the patch, for example git diff HEAD^^ will include the changes from two commits. You could also amend the previous commit if it has not yet been push to another repository - there are many ways to deal with this. - Carsten Thanks -- Daniil 0002-Fixing-a-bug-in-as-mac-firefox-get-frontmost-url.patch0003-Automatic-detection-of-the-presence-of-Skim.app.patch On May 13, 2013, at 10:34 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Daniil, I like this a lot and would like to take the patch after you have taken Ivans feedback, and maybe more feedback if you get any. I would like it even more if following the link would rehighlight the selected text. Is there any way to achieve this? I have another question, this would maybe be for the original author, Anthony Lander? I see that there are functions with prefixes that are not org-. This is dangerous because there might be packages around that use that name space. I also think it violates coding rules in Emacs. I think this should be changed - unless you know of a convention that all functions dealing with applescripts are supposed to have an as- prefix. I can fix this - but I wanted your feedback first. Thanks. - Carsten On 12 mei 2013, at 20:29, Daniil Frumin difru...@gmail.com wrote: Hi, all! I use org-mac-link-grabber.el http://orgmode.org/worg/org-contrib/org-mac-link-grabber.html almost every day. However, it lacks support for an app that I'd like to use together with org-mode. Skim.app is a light and fast PDF reader for Mac OS X with a note-taking ability. I wrote a little patch for org-mac-link-grabber.el to support grabbing links to documents. What it does: * Grabs not just the link to file, but a page * Inserts the selected text as a description, if present. Otherwise inserts filename, p. page # * The shortcut is set to [S] * Defines a new skim link type It would be interesting to also add some support for importing notes from Skim to org. Since Skim.app is not present in clean OS X installs, by default support for grabbing links from it is disabled. You can enable it by customizing group `org-mac-link-grabber'. So, maybe it's possible to get this patch into the tree? It's my first time hacking on org (or even any major elisp extension), so it's probably that I've messed up somewhere with a commit format or whatnot. Cheers. -- Daniil Frumin 0001-Adding-Skim.app-support-to-org-mac-link-grabber.el.patch
Re: [O] using gnuplot's splot and every commands on org-mode table data
Eric Schulte writes: This looks great. Please go ahead and apply this patch to ob-sh. I've applied the bugfix part to maint and master. I'm holding back on the :hline-string for now since I want to avoid introducing yet another header arg for that. Instead I'll investigate whether this can be rolled into the :hline arg by allowing other values than just yes and no. Giving ob-gnuplot (and possible ob-awk, which also uses orgtbl-to-generic) a similar treatment would allow to do this directly without going through ob.sh of course. That sounds like a good solution to me. Generally whenever a solution may be made in a generic support function instead of a language specific file I would consider that a win. If you have a good implementation here I'd be very happy if you applied it. I'll look into it, but I'll first need to check again if using orgtbl-to-generic is the right thing to use here. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
Re: [O] Skim.app support for org-mac-link-grabber.el
This looks great. Can you now make a single patch for all the changes? Then I will apply it. - Carsten On 14 mei 2013, at 08:18, Daniil Frumin difru...@gmail.com wrote: OK, here's a patch which adds the ability to highlight the selected text. It makes new highlight notes only if `org-mac-Skim-highlight-selection-p' is set to t. - Dan 0004-Add-the-ability-to-highlight-the-selected-text-in-Sk.patch On May 14, 2013, at 8:33 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On 13.5.2013, at 22:35, Daniil Frumin difru...@gmail.com wrote: So I've been researching this problem and it seems that there is no sane way to re-select a text. OK, thanks for looking into it. The problem is that `(do-applescript ..)' only interacts with AppleScript well if the return type of the string is either a number or a string. If I try to convert the selection object (which is not really an object but a list of specifiers) it just returns the selected text. There is also `selection bounds' but it only covers rectangle selections. It's possible to save the selected text and try to `find' it later, but that won't work well (e.g.: there are several repetitions of the same text on one page). I've also tried to implement an auto-scrolling to the selected text, but to no avail. The option that seems to me the most reasonable is to add a highlight note to the selected text (which is actually possible). What do you think? Interesting idea! I think this should be implemented, but with a user option to turn it off. For now, the patch to the problem mentioned by Ivan. I have actually fixed a small bug in the code for getting links from Firefox: Prior to the fix the firefox link grabber won't work correctly if a cursor has been already positioned in the URL field. The fix works by adding an additional keystore for selecting all the text in that field. The problem is that I've committed it before committing the stuff that Ivan told us about, so I am not sure what to do in this case. So you mean the patch you would like to send to me is several commits? That is no problem, just specify with git which range of commits should be part of the patch, for example git diff HEAD^^ will include the changes from two commits. You could also amend the previous commit if it has not yet been push to another repository - there are many ways to deal with this. - Carsten Thanks -- Daniil 0002-Fixing-a-bug-in-as-mac-firefox-get-frontmost-url.patch0003-Automatic-detection-of-the-presence-of-Skim.app.patch On May 13, 2013, at 10:34 AM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Daniil, I like this a lot and would like to take the patch after you have taken Ivans feedback, and maybe more feedback if you get any. I would like it even more if following the link would rehighlight the selected text. Is there any way to achieve this? I have another question, this would maybe be for the original author, Anthony Lander? I see that there are functions with prefixes that are not org-. This is dangerous because there might be packages around that use that name space. I also think it violates coding rules in Emacs. I think this should be changed - unless you know of a convention that all functions dealing with applescripts are supposed to have an as- prefix. I can fix this - but I wanted your feedback first. Thanks. - Carsten On 12 mei 2013, at 20:29, Daniil Frumin difru...@gmail.com wrote: Hi, all! I use org-mac-link-grabber.el http://orgmode.org/worg/org-contrib/org-mac-link-grabber.html almost every day. However, it lacks support for an app that I'd like to use together with org-mode. Skim.app is a light and fast PDF reader for Mac OS X with a note-taking ability. I wrote a little patch for org-mac-link-grabber.el to support grabbing links to documents. What it does: * Grabs not just the link to file, but a page * Inserts the selected text as a description, if present. Otherwise inserts filename, p. page # * The shortcut is set to [S] * Defines a new skim link type It would be interesting to also add some support for importing notes from Skim to org. Since Skim.app is not present in clean OS X installs, by default support for grabbing links from it is disabled. You can enable it by customizing group `org-mac-link-grabber'. So, maybe it's possible to get this patch into the tree? It's my first time hacking on org (or even any major elisp extension), so it's probably that I've messed up somewhere with a commit format or whatnot. Cheers. -- Daniil Frumin 0001-Adding-Skim.app-support-to-org-mac-link-grabber.el.patch
Re: [O] org-mime
Eric == Eric Schulte schulte.e...@gmail.com writes: Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: - A while back Org-mode switched its method of exporting latex equations to HTML. Equations used to be exported as png images, however they are now exported as markup which may then be processed on the fly by client-side javascript. Most mail readers do not allow javascript in html email, and I doubt that the required javascript headers are included in the mail html mime part. I don't know if it is currently possible to do the javascript pre-processing as part of the HTML export, but that would probably be the best solution in this case. Couldn't the old functionality (converting to png) be reactivated, at least optionally?? For me this change are bad news, since the feature (to export LaTeX math to something visible) is very important to me and even if this approach may have disadvantages, it seems to me more universal than the javascript business. Uwe Brauer
Re: [O] [PATCH] fix appointment warn time
Hi Ivan, Ivan Kanis ban...@kanis.fr writes: April, 28 at 10:59 Bastien wrote: Without your patch you should see that warntime is nil. Mhh... I don't see this. The call to (org-agenda) in your (progn...) will refresh the text-properties in foo.org and C-u C-x = show the property in both the agenda and foo.org. I clearly miss something here :/ I tried it again on a more recent emacs (bzr from two weeks ago). Same result. Are you sure you removed your patch? :D Mhh... yes, I'm sure. Can anyone else reproduce Ivan's problem? -- Bastien
Re: [O] ical2org.py
aitor aitors2...@gmail.org writes: I've implemented a little script which converts ics files to org-mode. You can find the script here: https://github.com/asoroa/ical2org.py Great -- would be nice to add this to Worg! -- Bastien
Re: [O] Bug in structmode++?
Hi Christopher, Christopher Schmidt christop...@ch.ristopher.com writes: Most people use orgstruct{,++}-mode in message-mode, right? I think it makes sense to use vanilla org here. That is, make an indirect buffer of the message-mode buffer, narrow the buffer to the message body and set the major mode to org-mode. Mhh.. This looks too complex to me. My guess is that message-mode and mail-mode are the modes where orgstruct-mode is the most used, so having it doing what the users expect is important. At least there should be no regression wrt the previous behavior of orgstruct-mode. This should give one all the power of Org, including links, footnotes, font-lock and so on, without that orgstruct-mess. I sympathetize with your blame on the mess... but still, let's fix the code, not users' behavior :) But things are fine for me at the moment, I'll report issues if I find some. Best, -- Bastien
Re: [O] Auto-unfold subtrees with matches in query-replace (et al.?)
Hi Michael, Michael Bach pha...@gmail.com writes: When I do a M-% (query-replace) in an org-mode buffer where the relevant trees are folded, subtrees with matches are not unfolded. I am looking for a similar behavior as is observed when doing a simple C-s (search-forward). This is a general problem for any mode that allows invisible text, and there is no generic solution. Revealing invisible text is the responsability of the major mode, and can be achieved for C-s thanks to 'isearch-mode-end-hook (see line 5395 in org.el). But AFAIK there is no similar hook when query-replacing. Would be a nice feature to have -- don't hesitate to report it with M-x report-emacs-bug RET Best, -- Bastien
Re: [O] org-store-link calls external link type store functions twice?
Hi Robert, Robert Adesam rob...@adesam.se writes: I am not sure this is a bug but in version 8.x storing a link using an external link type, org-store-link seems to call the external link type's store function twice... I noticed this as I use an external link type that asynchronous updates an external filedatabase and started to get random file lock errors -- the org-store-link second call to the external link type's store function sometimes came too quickly after the first one. :-) Also, I do not have this problem in version 7.x of orgmode. Instead of reverting back to a previous version of orgmode I started to investigate -- attaching a patch that seems to help me anyway. It's not that well tested and maybe, as I am not that familiar with everything going on when storing a link using an external link type, it will break other things... I re-read `org-store-link' and I don't see how the external function can be called twice... maybe you can give more details on what this external function looks like, when it is called (within a script or something), etc? Thanks! -- Bastien
Re: [O] agenda column view and/or location property visible in normal view
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: due to my increasing use of MobileOrg and, as a result, the synchronisation it provides with Google's calendar, I am finding that using the :LOCATION: property in an appointment in org is quite useful. However, most of the time I use org's agenda view to see my appointments. I have a few questions, if I may: 1. I can use column view in the agenda to see specific properties. However, column view doesn't work well with the time grid. Is it possible to include the time information, as shown in the normal agenda view, in a column view? I currentlly have : (setq org-agenda-overriding-columns-format %5TODO %40ITEM %LOCATION %TAGS) which works quite well except for the absence of time information. Maybe you can use %TIMESTAMP for the time? 2. Can the column view be customised to get rid of the | characters? They make sense sometimes but I find them ugly in my agenda view. 3. alternatively, can one customise the line for the agenda view to include specific properties (i.e. LOCATION in my case)? Probably not... if not, it would be nice to have a fully customisable org-agenda-line-format variable similar to what gnus provides for summary lines, group lines, etc. Consider this a feature request for org 9.0. ;-) See `org-agenda-prefix-format' -- maybe you can play with the %(exp) construct and try to retrieve infos with `org-entry-get' (which see.) Not tested... As usual, none of the above is critical in any sense! Just me finding yet more reasons to avoid getting real work done... ;-) Tested ;) -- Bastien
Re: [O] Bibliography
It defnitely helps a lot with Org-LaTeX files (scientific papers). There is one thing that is not taken into account and I wonder if there is an Org solution for it. In laTeX you can use \cite{foo1999, foo2002} . I don't think that current links in Org allow this and I don't see an easy way for it. In Org, you would have [[bibtex:foo1999]][[bibtex:foo2002]] . May be the exporter for bibtex links should look around and merge other links found. Fabrice Could it be possible to allow [[bibtex:foo1999, foo2002]] 2013/5/13 Vikas Rawal vikasli...@agrarianresearch.org This works fine except that I can't place it at the keyword. How does one do it? I thought having a line say [BIBLIOGRAPHY] would work but it does not. Figured it myself. Placing the line '#+BIBLIOGRAPHY: blah blah...' at the right place did it. Thanks again, Vikas -- Fabrice Popineau - SUPELEC Département Informatique 3, rue Joliot Curie 91192 Gif/Yvette Cedex Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 --
Re: [O] diff in `src' blocks
Hi all On Mon, May 13, 2013 at 7:59 PM, Achim Gratz strom...@nexgo.de wrote: All things considered, there may be room for an argument that Babel shouldn't ignore the data from STDOUT on non-zero exit [...] Yes please, and a report of the actual exit status in the babel result would be nice, probably as an option in the source block header. In addition babel should also not ignore stderr on exit status 0, see my example 2) with GNU/Linux's strace in a lengthy post about my thoughts and workarounds for stdout, stderr and exit status with babel. It contains a complete set of the different cases as I see them: http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=45881 Michael
Re: [O] diff in `src' blocks
http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=45881 Sorry, the above was with the wrong message focus. Corrected: http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=46415
[O] What happens to org-export-with-LaTeX-fragments
Hi there, I am upgrading to org 8 and cleaning up my init. There are two variables that aren't defined any more: org-export-with-LaTeX-fragments and org-highlight-latex-fragments-and-specials. Could someone tell me what are the replacement for them? Thanks, Leo
Re: [O] XeLaTeX and the new exporter
Hi Chris I asked the question a couple of weeks ago. Take a look at the hook: org-export-before-parsing-hook It worked for me. Best regards Søren On 2013-05-07 17:42, Christopher Witte wrote: Hi all, I had export working using XeLaTeX using the instructions from the FAQ http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export (with some slight modifications), but after upgrading to the new export it isn't working. It appears the hook org-export-latex-after-initial-vars-hook isn't defined anymore. Any advice on what I need to change to get it to work? Thanks Chris.
Re: [O] Bug in structmode++?
Hi! Bastien writes: My guess is that message-mode and mail-mode are the modes where orgstruct-mode is the most used, so having it doing what the users expect is important. Only for the record: I use orgstruct++ it in magit-log-edit-mode via magit-log-edit-mode-hook. I combine that with turn-on-auto-fill and set-fill-column 72 to enforce the most common git commit style. Regards, Daniel Bausch -- Daniel Bausch Wissenschaftlicher Mitarbeiter Technische Universität Darmstadt Fachbereich Informatik Fachgebiet Datenbanken und Verteilte Systeme Hochschulstraße 10 64289 Darmstadt Germany Tel.: +49 6151 16 6706 Fax: +49 6151 16 6229
Re: [O] [PATCH] fix appointment warn time
Le 14 Mai à 10h36, Bastien a écrit : I tried it again on a more recent emacs (bzr from two weeks ago). Same result. Are you sure you removed your patch? :D Mhh... yes, I'm sure. Can anyone else reproduce Ivan's problem? Are you using bzr emacs? -- D'autres civilisations que la nôtre ont pu, infiniment mieux que nous ne l'avons fait, résoudre les problèmes qui se posent à l'homme. -- Alfred Métraux
Re: [O] [PATCH] fix appointment warn time
Ivan Kanis ban...@kanis.fr writes: Le 14 Mai à 10h36, Bastien a écrit : I tried it again on a more recent emacs (bzr from two weeks ago). Same result. Are you sure you removed your patch? :D Mhh... yes, I'm sure. Can anyone else reproduce Ivan's problem? Are you using bzr emacs? Yes. GNU Emacs 24.3.50.3 (i686-pc-linux-gnu, GTK+ Version 3.8.1) of 2013-05-12 on bzg -- Bastien
Re: [O] [PATCH] fix appointment warn time
Le 14 Mai à 13h49, Bastien a écrit : Can anyone else reproduce Ivan's problem? Are you using bzr emacs? Now I recall it happens on 24.1 and bzr. Let's hope someone else can reproduce. -- La différence entre un bon et un mauvais architecte réside en ce que le mauvais succombe à toutes les tentations quand le bon leur tient tête. -- Ludwig Wittgenstein
[O] I merged worg-new-exporter into worg.git master
Hi all, now both orgmode.org and Worg are published from Org 8.0. I merged worg-new-exporter into worg.git master, and updated the emacs.el file on the server -- many thanks again to those involved in this move. Marc and Jay: please let me know if you need more information on monitoring the publication process. Best, -- Bastien
Re: [O] org-store-link calls external link type store functions twice?
Hi, I made a small example where I added an external link type, counter that always works and updates a counter. It is quite crude but shows my point: (org-add-link-type counter 'ra/org-counter-open) (add-hook 'org-store-link-functions 'ra/org-counter-store-link) (defun ra/org-counter-store-link () Store a dummy counter link. (if (boundp 'counter) (setq counter (1+ counter)) (setq counter 1)) (let* ((link (concat counter: (number-to-string counter))) (desc (format Calls to ra/org-counter-store-link: %d counter))) (org-store-link-props :type counter :link link :description desc))) (defun ra/org-counter-open (path) Print and reset the counter. (message (format Calls to ra/org-counter-store-link: %d. Resetting counter. counter)) (makunbound 'counter)) Running org-capture with the above external link type will result in counter to be set to 2 before inserting the link in the *Capture* buffer. I have also tried the example A.3 Adding hyperlinks types in the manual -- same result when debugging org-man-store-link. In the definition of org-store-link the interesting part is paste below. I have marked the calls to external link types store function, ie ra/org-counter-store-link above. ; Store a link using an external link type ((and (not (equal arg '(16))) (setq sfuns (delq nil (mapcar (lambda (f) (let (fs) (if (funcall f) (push f fs ;;; -- first call to ra/org-counter-store-link org-store-link-functions)) sfunsn (mapcar (lambda (fu) (symbol-name (car fu))) sfuns)) (or (and (cdr sfuns) (funcall (intern (completing-read Which function for creating the link? sfunsn t (car sfunsn) (funcall (caar sfuns))) ;;; -- second call to ra/org-counter-store-link (setq link (plist-get org-store-link-plist :link) desc (or (plist-get org-store-link-plist :description) link This problem only shows up in version 8 of org-mode, not version 7. Please let me know if I can provide you with even more information. Thanks for listening, /robert On Tue, May 14, 2013 at 10:41 AM, Bastien b...@gnu.org wrote: Hi Robert, Robert Adesam rob...@adesam.se writes: I am not sure this is a bug but in version 8.x storing a link using an external link type, org-store-link seems to call the external link type's store function twice... I noticed this as I use an external link type that asynchronous updates an external filedatabase and started to get random file lock errors -- the org-store-link second call to the external link type's store function sometimes came too quickly after the first one. :-) Also, I do not have this problem in version 7.x of orgmode. Instead of reverting back to a previous version of orgmode I started to investigate -- attaching a patch that seems to help me anyway. It's not that well tested and maybe, as I am not that familiar with everything going on when storing a link using an external link type, it will break other things... I re-read `org-store-link' and I don't see how the external function can be called twice... maybe you can give more details on what this external function looks like, when it is called (within a script or something), etc? Thanks! -- Bastien
Re: [O] What happens to org-export-with-LaTeX-fragments
Hi Leo, I am upgrading to org 8 and cleaning up my init. There are two variables that aren't defined any more: org-export-with-LaTeX-fragments and I'm looking at an old exporter and assume that you are interested in MathJax and HTML. . .? In any case, the source suggests that org-element only checks :with-latex, which can be set 'globally' with org-export-with-latex (I think). Also, it seems there might be a bug in the docstring as the function below suggests it also support value dvipng and mathjax. But I could be wrong. Anyway, check out this function: #+BEGIN_SRC emacs-lisp Latex Fragment [snip from ox-html.el] (defun org-html-latex-fragment (latex-fragment contents info) Transcode a LATEX-FRAGMENT object from Org to HTML. CONTENTS is nil. INFO is a plist holding contextual information. (let ((latex-frag (org-element-property :value latex-fragment)) (processing-type (plist-get info :with-latex))) (case processing-type ((t mathjax) (org-html-format-latex latex-frag 'mathjax)) (dvipng (let* ((formula-link (org-html-format-latex latex-frag processing-type))) (when (and formula-link (string-match file:\\([^]]*\\) formula-link)) (org-html-format-inline-image (match-string 1 formula-link) info (t latex-frag #+END_SRC org-highlight-latex-fragments-and-specials. This is improved through org-highlight-latex-and-related. Check it out. Hope it helps, Rasmus -- . . . Stallman was indeed the tallest possible mountain and by standing on his shoulders you could see forever. . .
[O] bug in `org-export-string-as' when org-html-with-latex is set to dvipng
Evaluate the following to exercise the bug. ;; -*- emacs-lisp -*- (let ((org-html-with-latex 'dvipng)) (org-export-string-as \\begin{equation}\n\\frac{Eric}{Schulte}\n\\end{equation}\n 'html t)) This functionality is required to port org-mime to the new exporting backend. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] [PATCH] fix appointment warn time
--- El mar, 14/5/13, Ivan Kanis ban...@kanis.fr escribió: De: Ivan Kanis ban...@kanis.fr Asunto: Re: [O] [PATCH] fix appointment warn time Para: Bastien b...@gnu.org CC: org mode emacs-orgmode@gnu.org Fecha: martes, 14 de mayo, 2013 14:10 Le 14 Mai à 13h49, Bastien a écrit : Can anyone else reproduce Ivan's problem? Yes, I can. Both Emacs 24.3 with Org-mode version 7.9.4 (7.9.4-1-ga5435f-elpa) and Org-mode version 8.0.2 (release_8.0.2-71-g5a1400) exhibits the problem than Ivan reports. For me it is solved with Bastien patch, i.e. http://lists.gnu.org/archive/html/emacs-orgmode/2013-04/txt0omoVnE86i.txt Are you using bzr emacs? Now I recall it happens on 24.1 and bzr. Let's hope someone else can reproduce. -- La différence entre un bon et un mauvais architecte réside en ce que le mauvais succombe à toutes les tentations quand le bon leur tient tête. -- Ludwig Wittgenstein
Re: [O] [PATCH] fix appointment warn time
Hi Miguel, Miguel Ruiz rbeni...@yahoo.es writes: Yes, I can. Both Emacs 24.3 with Org-mode version 7.9.4 (7.9.4-1-ga5435f-elpa) and Org-mode version 8.0.2 (release_8.0.2-71-g5a1400) exhibits the problem than Ivan reports. For me it is solved with Bastien patch, i.e. http://lists.gnu.org/archive/html/emacs-orgmode/2013-04/txt0omoVnE86i.txt I applied this patch, thanks for confirming. FWIW I still cannot reproduce the bug... weird. -- Bastien
[O] What's wrong with org-export-html-final-hook in 8.x
Recently I upgrade my Org Mode from 7.8.11 to the latest 8.0.2 and find org-export-html-final-hook doesn't work. -- (add-hook 'org-export-html-final-hook 'org-delete-!!!) (defun org-delete-!!! () (interactive) (goto-char (point-min)) (while (re-search-forward A nil t) (replace-match )) (goto-char (point-min)) (while (re-search-forward B nil t) (replace-match ))) -- I need this piece of code because when I export my org note to html I want something like Afont color=redBthis is redA/fontB change to font color=redthis is red/font then I will have red color. but now it doen't work. I find this org-hook link http://orgmode.org/worg/org-configs/org-hooks.html, but this page doesn't seem to help, it says nothing about the upgrade thing. So, can anybody help about this? Any help would be very appreciated. Sorry for my broken English :) visayafan --
Re: [O] [PATCH] fix appointment warn time
Le 14 Mai à 16h08, Bastien a écrit : Hi Miguel, Miguel Ruiz rbeni...@yahoo.es writes: Yes, I can. Both Emacs 24.3 with Org-mode version 7.9.4 (7.9.4-1-ga5435f-elpa) and Org-mode version 8.0.2 (release_8.0.2-71-g5a1400) exhibits the problem than Ivan reports. For me it is solved with Bastien patch, i.e. http://lists.gnu.org/archive/html/emacs-orgmode/2013-04/txt0omoVnE86i.txt I applied this patch, thanks for confirming. Thanks! FWIW I still cannot reproduce the bug... weird. Have you tried emacs -Q ? -- Les mots sont les fantômes des imaginations malades, au-dessus desquels il y a la vie qu'il faut vivre sans penser aux mots. -- Charles-Louis Philippe J'écoute « The Mamas the Papas - I Call Your Name ».
Re: [O] [PATCH] fix appointment warn time
Ivan Kanis ban...@kanis.fr writes: Have you tried emacs -Q ? Yes... -- Bastien
Re: [O] I merged worg-new-exporter into worg.git master
Dear Bastien, On Tue, May 14, 2013 at 8:25 AM, Bastien b...@gnu.org wrote: Hi all, now both orgmode.org and Worg are published from Org 8.0. I merged worg-new-exporter into worg.git master, and updated the emacs.el file on the server -- many thanks again to those involved in this move. Marc and Jay: please let me know if you need more information on monitoring the publication process. That's great news! Thanks for all of your work on this, Bastien. Regards, Jay
Re: [O] What's wrong with org-export-html-final-hook in 8.x
Hi Visayafan, Recently I upgrade my Org Mode from 7.8.11 to the latest 8.0.2 and find org-export-html-final-hook doesn't work. This variable no longer exists, since quite I while I think (check the git log if interested). You could switch to filters. Here's an ugly hack for removing titles on my web-site (the title is already inserted in a shared preamble). #+BEGIN_SRC emacs-lisp (defun rasmus/org-html-ignore-title-if-present (string backend info) Strip title if it's already there. Ignore BACKEND and INFO. (when (and (org-export-derived-backend-p backend 'html) (string-match h1 class=\mytitle\ string)) (replace-regexp-in-string h1 class=\title\.*?/h1 string))) (add-to-list 'org-export-filter-final-output-functions 'rasmus/org-html-ignore-title-if-present) #+END_SRC Hope it helps, Rasmus -- Summon the Mothership!
[O] Fwd: [Stage LaTeX 2013] Stage LaTeX à Dunkerque, 11e édition !
Hello, FYI, I will give for the second time a 90-min course on Org mode, mainly focused on its LaTeX exporter (... and all the advantages of writing in Org instead of in AUCTeX). I will present my seminar during the Stage LaTeX de Dunkerque (France), held on the 12th of June. It's free and open to everybody. See the announcement (in French) in the FCTT newsgroup: ╭ │ From: Denis Bitouzé dbitouze...@spam.wanadoo.fr │ Newsgroups: fr.comp.text.tex,fr.sci.maths │ Subject: [Stage LaTeX 2013] Stage LaTeX à Dunkerque, │ 11e édition ! │ Followup-To: fr.comp.text.tex │ Date: Thu, 9 May 2013 16:21:16 +0200 │ │ Bonjour, │ │ (Et désolé pour d'éventuelles redondances.) │ │ le département Génie Thermique et Énergie de l'IUT Saint-Omer Dunkerque │ a le plaisir de vous annoncer la 11e édition de son stage gratuit de │ formation à LaTeX, organisé en partenariat avec les associations │ GUTenberg (Groupe des Utilisateurs francophones de TeX) et CLX (Club │ des utilisateurs de LinuX du Nord_Pas-de-Calais). │ │ Pour cette 11e édition, qui se déroulera le │ │ mercredi 12 juin 2013 de 9h à 17h30 │ │ nous proposons des cursus de niveaux : │ │ -- débutant : pour ceux qui n'ont pas ou que peu pratiqué LaTeX, au │ cours duquel seront présentées les bases du logiciel ; │ │ -- intermédiaire : destiné à ceux pratiquant déjà LaTeX mais │ souhaitant être initiés à certaines fonctionnalités qui n'ont pas été │ abordées au niveau débutant ; │ │ -- avancé : réservé à ceux ayant une (très) bonne maîtrise de LaTeX │ et de ses programmes annexes et qui souhaitent augmenter leur │ productivité ou entrer dans les arcanes du système. │ │ Sur le site consacré au stage LaTeX à Dunkerque : │ │ http://stage-latex-gte.univ-littoral.fr │ │ vous pourrez trouver le programme de l'édition 2013 : │ │ http://stage-latex-gte.univ-littoral.fr/programme │ │ disponible aussi sous forme de fichiers PDF, plus agréable à lire : │ │ http://stage-latex-gte.univ-littoral.fr/programme/programme-format-pdf-ecran/at_download/file │ │ Si vous souhaitez assister à cette édition, nous vous invitons à │ en consulter les modalités d'inscription : │ │ http://stage-latex-gte.univ-littoral.fr/inscriptions │ │ Nous vous remercions à l'avance de nous aider à faire connaître notre │ stage auprès de vos collègues, connaissances, amis, entourage, etc. │ Vous pouvez par exemple signaler son existence : │ │ -- sur les listes de diffusion et forums (notamment académiques), │ réseaux sociaux, etc. que vous fréquentez ; │ │ -- en placardant des exemplaires de son affiche : │ │ http://stage-latex-gte.univ-littoral.fr/affiche/affiche-du-stage-au-format-pdf/at_download/file │ │ Nous espérons vous voir nombreux ! │ │ Bien cordialement. │ -- │ Pour l'équipe organisatrice, Denis Bitouzé ╰ Best regards, Fabrice Niessen -- Fabrice Niessen Leuven, Belgium
Re: [O] [PATCH] Improve configurability of ox-koma-letter
Hi Alan, I just wanted to let you know that the tutorial is now online. I haven't linked to it from the org-tutorials page yet, in case you want to take a look. You can find it at http://orgmode.org/worg/org-tutorials/koma-letter-export.html Cheers, Viktor Alan Schmitt wrote: Viktor Rosenfeld writes: Hi Alan, I've pushed a draft tutorial to Worg, but it's not published yet. Do you know if there is a delay or if I have to do anything else? I saw the publishing process output after my push which ended with the following: remote: Publishing file /home/emacs/git/worg/sitemap.org using `org-publish-org-to-html' remote: Symbol's function definition is void: org-publish-org-to-html remote: worg publish process 7241 exited at 05/05/13@07:53:51 To w...@orgmode.org:worg.git a3eed5c..9531016 master - master I assume this is an error? I guess, I've never published on worg before. In any case, you can find the tutorial at ./org-tutorials/koma-letter-export.org Thanks, I'll have a look. Alan
Re: [O] BMCOL column width as absolute?
Hello, James Harkins jamshar...@gmail.com writes: Hi, in the new beamer exporter, are there any plans to support an absolute width for columns, rather than a fraction of \textwidth? None that I know of, but it could be of some use. Do you want to provide a patch? Regards, -- Nicolas Goaziou
[O] confused about Beamer export
Dear list, I am a bit confused about what I have to use the new Beamer exporter. I have customized the org-export-backends variable to include the Beamer exporter, and now it shows as an option when I do C-c C-e. I have also created a toy org file: start org file-- #+TITLE: Example Presentation #+AUTHOR: Julian Burgos * This is a structural section ** Frame 1 This is frame 1 ** Frame 2 This is frame 2 end org file-- If I try to use any of the Beamer export commands, I get an Wrong type argument: stringnp, nil error. If I check the *Messages* buffer, these are the messages generated after trying to export: Debug (ox-odt): Searching for OpenDocument styles files... Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times] Debug (ox-odt): Trying /home/julian/.emacs.d/etc/styles/... Debug (ox-odt): Trying /home/julian/.emacs.d/elpa/org-20130514/etc/styles/... Debug (ox-odt): Using styles under /home/julian/.emacs.d/elpa/org-20130514/etc/styles/ Debug (ox-odt): Searching for OpenDocument schema files... Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times] Debug (ox-odt): No OpenDocument schema files installed org-beamer--normalize-argument: Wrong type argument: stringp, nil On the other hand, if I add #+LaTeX_CLASS: beamer to the org file and use the non-beamer latex export commands, I get the presentation in beamer with no problems, the old fashion way. What I am doing wrong? Many thanks, Julian -- Julian Mariano Burgos, PhD Hafrannsóknastofnunin/Marine Research Institute Skúlagata 4, 121 Reykjavík, Iceland Sími/Telephone : +354-5752037 Bréfsími/Telefax: +354-5752001 Netfang/Email: jul...@hafro.is
[O] [PATCH] Honor properties in derived backends with default nil
Hi, the attached patch fixes the problem. I wasn't sure if the logic simply reverts the changes in commit 16f12e0 but it passes the test suite. Cheers, Viktor Viktor Rosenfeld wrote: Hi, commit 16f12e0 changed how the EMAIL option is configured in a derived exporter that also uses this keyword. In `contrib/ox-koma-letter.el', the koma-letter exporter configures the default of the EMAIL option to the variable `org-koma-letter-email'. However, since commit 16f12e0, if the option is missing, the default is set to `user-mail-address' which is the default for the standard LaTeX exporter. The current code causes the following bug in koma-letter exporter: If EMAIL is missing, and `org-koma-letter-email' is `nil', then the exporter should not set a email address in the exported LaTeX file. The rationale is that the email address is configured in an external LCO file (and can be overwritten for an individual letter, if desired). However, the new behavior causes the email to be set explicitly, overwriting the value from the LCO file. Consider the following example: #+BEGIN_SRC org #+LATEX_CLASS: my-letter #+LCO: DefaultAddress #+END_SRC The expected LaTeX-code is: #+BEGIN_SRC latex \documentclass{scrlttr2} \LoadLetterOption{DefaultAddress}% --- email is set here % ... \begin{document} % ... \end{document} #+END_SRC However, since commit 16f12e0, the generated code is: #+BEGIN_SRC latex \documentclass{scrlttr2} \LoadLetterOption{DefaultAddress}% --- email is set here \setkomavar{fromemail}{he...@client204-235.wlan.hu-berlin.de} % --- email is overwritten here % ... \begin{document} % ... \end{document} #+END_SRC Is this a bug in the LaTeX exporter or is this the intended behavior? Should I maybe use another keyword instead of EMAIL? I think I used SENDER instead of AUTHOR because of a similar conflict. Cheers, Viktor From 29a3d1ece607c6ddfdb18c5096f04fd08556df50 Mon Sep 17 00:00:00 2001 From: Viktor Rosenfeld listuse...@gmail.com Date: Tue, 14 May 2013 18:58:11 +0200 Subject: [PATCH] ox.el: Honor properties in derived backends with default `nil'. * ox.el (org-export--get-global-options): Only process properties once even if their value is `nil'. TINYCHANGE --- lisp/ox.el | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 3a4a130..64bc799 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -1726,11 +1726,15 @@ process. ;; Priority is given to back-end specific options. (append (and backend (org-export-backend-options backend)) org-export-options-alist)) - plist) + plist + seen) (mapc (lambda (cell) (let ((prop (car cell))) -(unless (plist-member plist prop) +(unless (or + (plist-member plist prop) + (member prop seen)) + (add-to-list 'seen prop) (let ((value (eval (nth 3 cell ;; Only set property if default value is non-nil. (when value -- 1.8.2.2
Re: [O] bug in `org-export-string-as' when org-html-with-latex is set to dvipng
Hello, Eric Schulte schulte.e...@gmail.com writes: Evaluate the following to exercise the bug. ;; -*- emacs-lisp -*- (let ((org-html-with-latex 'dvipng)) (org-export-string-as \\begin{equation}\n\\frac{Eric}{Schulte}\n\\end{equation}\n 'html t)) This functionality is required to port org-mime to the new exporting backend. Thank you for the report. I pushed a fix for that in maint. Does it now behave as expected? Regards, -- Nicolas Goaziou
Re: [O] What's wrong with org-export-html-final-hook in 8.x
Rasmus ras...@gmx.us writes: You could switch to filters. Here's an ugly hack for removing titles on my web-site (the title is already inserted in a shared preamble). #+BEGIN_SRC emacs-lisp (defun rasmus/org-html-ignore-title-if-present (string backend info) Strip title if it's already there. Ignore BACKEND and INFO. (when (and (org-export-derived-backend-p backend 'html) (string-match h1 class=\mytitle\ string)) (replace-regexp-in-string h1 class=\title\.*?/h1 string))) (add-to-list 'org-export-filter-final-output-functions 'rasmus/org-html-ignore-title-if-present) #+END_SRC Thank you very much Rasmus, your code perfectly does the trick. #+BEGIN_SRC emacs-lisp (add-to-list 'org-export-filter-final-output-functions 'fan/org-html-produce-inline-html) (defun fan/org-html-produce-inline-html (string backend info) replace ! to and @ to (when (and (org-export-derived-backend-p backend 'html) (string-match ! string)) (replace-regexp-in-string (rx (= 5 !) (group (+? anything)) (= 5 @)) \\1 string))) #+END_SRC Now with this code and the macro below I can have colorful font inside a paragraph. #+BEGIN_SRC org #+macro: color !font color=$1@$2!/font@ before {{{color(red,this is red)}}} after #+END_SRC visayafan --
[O] How to install latest Org-mode?
Hi list, I'd like to install the new Org-mode (version 8). I'm wondering what method is the best for me. I have Emacs 23 (Ubuntu 12.04), but I plan to (1) upgrade to the newest Ubuntu 13.04 soon and (2) upgrade to Emacs 24 soon (I'll probably uninstall Ubuntu's Emacs and install my own, though rather not from sources, but from a .deb package). So, my requirements would be: * I'd prefer the installed Org to survive the upgrades of Ubuntu and Emacs (of course, I'm going to uninstall Ubuntu's Org-mode 7.8.02). * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. I'm leaning towards cloning the git repo and building Org-mode from sources. From http://orgmode.org/manual/Installation.html I can see that what I should do is more or less cd ~/src/ git clone git://orgmode.org/org-mode.git make autoloads echo (add-to-list 'load-path ~/path/to/orgdir/lisp) ~/.emacs make make doc make config make install Is that right? Is using the archive or the package system a better idea in my described case? What does upgrading Org-from-git-repo look like? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] What's wrong with org-export-html-final-hook in 8.x
#+BEGIN_SRC emacs-lisp (eval-after-load 'ox-html '(add-to-list 'org-export-filter-final-output-functions 'fan/org-html-produce-inline-html)) #+END_SRC
Re: [O] How to install latest Org-mode?
Marcin Borkowski writes: * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. I'd suggest using ELPA, but if you rather want to go the Git route, read on. I'm leaning towards cloning the git repo and building Org-mode from sources. From http://orgmode.org/manual/Installation.html I can see that what I should do is more or less cd ~/src/ git clone git://orgmode.org/org-mode.git make autoloads echo (add-to-list 'load-path ~/path/to/orgdir/lisp) ~/.emacs make make doc make config make install Is that right? No. The most painless setup would be: $ cd ~/src/ $ git clone git://orgmode.org/org-mode.git $ git checkout maint $ make config Check if the installation paths are pointing to where you want them (it should work out-of-the box, but Debian based systems might prefer to have some stuff in different directories), maybe adapt them in local.mk and edit ~/.emacs to require org-loaddefs. From then on always do $ make up2 to pull the latest version, compile and test it and only install if the test is good. Is using the archive or the package system a better idea in my described case? What does upgrading Org-from-git-repo look like? See above. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] Export Org-mode content to Reveal.js presentations
Just want to say I just set this up, and it's great! Easy to work with, and my first org-mode presentation was live in under 10 min. One minor nit: on my Windows machine, I had to set org-reveal-root to a file:/// URL, not a filesystem path. Otherwise the presentation wouldn't load. On Thu, May 9, 2013 at 4:42 PM, Simon Thum simon.t...@gmx.de wrote: Hi Yujie, thanks for your great work! I just have had my first important reveal.js presentation, and wished I had an org-mode exporter while I was hand-coding the presentation. Next time It'll be easier no doubt. Cheers, Simon On 05/03/2013 02:48 PM, Yujie Wen wrote: Hi, I'd like to introduce a new Org-Mode exporter, Org-reveal, that exports Org-mode contents to Reveaj.js presentations. Reveal.js is a web-based presentation framework, with beautiful 3-D effects and 2-D slides arrangements. The original sample illustration can be found at http://lab.hakim.se/reveal-js/**#/http://lab.hakim.se/reveal-js/#/ . With Org-reveal, you can easily exports your Org documents to Reveal.js presentations. A sample presentation created by Org-reveal can be found at http://naga-eda.org/home/**yujie/org-reveal/http://naga-eda.org/home/yujie/org-reveal/ . Org-reveal is hosted on https://github.com/yjwen/org-**revealhttps://github.com/yjwen/org-reveal. Should you have any suggestion or bug-report, please contact me yjwen.ty AT gmail DOT com. Thanks and regards, Yujie -- Gary
[O] org-table.el
In line 1145 org-table.el [1] (defun org-table-get (line column) ...should it read like this instead? (defun org-table-get (optional line column) Hope this helps, --Dave 1. http://orgmode.org/w/org-mode.git?p=org-mode.git;a=blob;f=lisp/org-table.el;hb=HEAD#l1145
Re: [O] org-table.el
Loyall, David writes: In line 1145 org-table.el [1] (defun org-table-get (line column) ...should it read like this instead? (defun org-table-get (optional line column) Not necessarily, it simply means you have to use an explicit nil argument instead of relying on a missing argument being interpreted as nil. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] How to install latest Org-mode?
Dnia 2013-05-14, o godz. 20:52:06 Achim Gratz strom...@nexgo.de napisał(a): Marcin Borkowski writes: * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. I'd suggest using ELPA, but if you rather want to go the Git route, read on. Thanks a lot! I took the risk, deleted Emacs 23, installed Emacs 24 and used ELPA. Surprisingly, the transition went almost 100% smoothly (the only problem in my .emacs was something with yasnippet, which could be corrected in 3 minutes!). Now my question is: how do I update Org using ELPA? (I have the latest version from there now, but development continues, I guess;).) Regards, Achim. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] ical2org.py
On 05/14/2013 10:37 AM, Bastien wrote: aitor aitors2...@gmail.org writes: I've implemented a little script which converts ics files to org-mode. You can find the script here: https://github.com/asoroa/ical2org.py Great -- would be nice to add this to Worg! Yes, more or less. We now have (if I did not miscount someting) 3 python, 2 elisp and one ruby implementation of ical2org. I did not even look for those named in less obvious ways, although I know there is at least one. It's going to be confusing if we add them all. Cheers, Simon
Re: [O] How to install latest Org-mode?
Marcin Borkowski writes: Now my question is: how do I update Org using ELPA? (I have the latest version from there now, but development continues, I guess;).) You select Manage Emacs Packages from the Options menu (or enter M-x package-list-packages) and then press U. It'll select all upgradeable packages for installation, to be actually installed with i. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] How to install latest Org-mode?
Dnia 2013-05-14, o godz. 22:57:55 Achim Gratz strom...@nexgo.de napisał(a): Marcin Borkowski writes: Now my question is: how do I update Org using ELPA? (I have the latest version from there now, but development continues, I guess;).) You select Manage Emacs Packages from the Options menu (or enter M-x package-list-packages) and then press U. It'll select all upgradeable packages for installation, to be actually installed with i. Thanks a lot, /especially/ for the M-x package-list-packages hint - I've had my menu disabled for ages, at first I started to wonder what menu? There's no such thing in Emacs! ;) Regards, Achim. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] [PATCH] Improve configurability of ox-koma-letter
Viktor Rosenfeld listuse...@gmail.com writes: Hi Alan, I just wanted to let you know that the tutorial is now online. I haven't linked to it from the org-tutorials page yet, in case you want to take a look. You can find it at http://orgmode.org/worg/org-tutorials/koma-letter-export.html First: thanks for writing this! Second: comments. They are just quick notes and you can ignore all of it, if so desired. I don't know what the most efficient way to share comments is. For now I've just separated comments by double space and intended quotes. Optionally download an up-to-date KOMA letter exporter Is this something we want to encourage people to do? I think that 1. Add the path containing ox-koma-letter.el to Emacs' load path is so common that it need not be included. If anything it should link to another wiki page explaining how to add stuff to the load path as to not add a step that (what I'd guess) a high percentage of the readers would know. download the KOMA letter example and you can also download the example PDF letter. Links aren't working here. Configuration guide Very nice. Letter meta data can be configured in one of three ways, listed below from the most specific to the most general: 4. through org-latex-classes (e.g. defining my-business-letter and my-love-letter). But perhaps this is considered bad practice? Setting letter meta data in Emacs variables This stuff is covered in the subsection just above. But that's probably OK. Custom LCO files must be placed in a directory where LaTeX will find them. On Linux, this defaults to ~/texmf/tex/latex. On OS X, use ~/Library/texmf/tex/latex instead. These paths can be configured using the following command: Mayhaps one could add: In TeXLive you can test whether foo.lco is recognized by TeXLive by typing =kpsewhich foo.lco=. After adding a file to the TeXLive path you may have to run =mktexlsr=. List of KOMA letter meta data, [...], List of KOMA letter options Nice tables! –Rasmus -- This is the kind of tedious nonsense up with which I will not put
Re: [O] How to install latest Org-mode?
On Tue, May 14, 2013 at 12:52 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Hi list, I'd like to install the new Org-mode (version 8). I'm wondering what method is the best for me. I have Emacs 23 (Ubuntu 12.04), but I plan to (1) upgrade to the newest Ubuntu 13.04 soon and (2) upgrade to Emacs 24 soon (I'll probably uninstall Ubuntu's Emacs and install my own, though rather not from sources, but from a .deb package). So, my requirements would be: * I'd prefer the installed Org to survive the upgrades of Ubuntu and Emacs (of course, I'm going to uninstall Ubuntu's Org-mode 7.8.02). * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. My vote is for git. No middleman (with someone pushing an updated package) = less things that can potentially go wrong. I've taken to this for LaTeX as well vs. Arch Linux's distribution. Just my vote, though! Updating takes 5min, and 95% of that is just waiting for git to clone, probably because I primarily use Org at work and can't clone over git protocol behind my firewall. http is slower. John I'm leaning towards cloning the git repo and building Org-mode from sources. From http://orgmode.org/manual/Installation.html I can see that what I should do is more or less cd ~/src/ git clone git://orgmode.org/org-mode.git make autoloads echo (add-to-list 'load-path ~/path/to/orgdir/lisp) ~/.emacs make make doc make config make install Is that right? Is using the archive or the package system a better idea in my described case? What does upgrading Org-from-git-repo look like? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] How to install latest Org-mode?
Dnia 2013-05-14, o godz. 16:38:08 John Hendy jw.he...@gmail.com napisał(a): On Tue, May 14, 2013 at 12:52 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Hi list, I'd like to install the new Org-mode (version 8). I'm wondering what method is the best for me. I have Emacs 23 (Ubuntu 12.04), but I plan to (1) upgrade to the newest Ubuntu 13.04 soon and (2) upgrade to Emacs 24 soon (I'll probably uninstall Ubuntu's Emacs and install my own, though rather not from sources, but from a .deb package). So, my requirements would be: * I'd prefer the installed Org to survive the upgrades of Ubuntu and Emacs (of course, I'm going to uninstall Ubuntu's Org-mode 7.8.02). * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. My vote is for git. No middleman (with someone pushing an updated package) = less things that can potentially go wrong. I've taken to this for LaTeX as well vs. Arch Linux's distribution. Just my vote, though! Updating takes 5min, and 95% of that is just waiting for git to clone, probably because I primarily use Org at work and can't clone over git protocol behind my firewall. http is slower. Too late;). Though I generally agree. And for LaTeX: Ubuntu packages are usually quite old. I usually (once a year) install TeXlive from an installation dvd (I receive it by mail each year as a users' group member;)). And once a year is way too rarely for ConTeXt (another TeX-based document preparation system, with many things /much/ better than LaTeX), which is updated more or less once a month or so. John Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] [PATCH] Improve configurability of ox-koma-letter
Hi Viktor, I'm chiming in very late here. On Sun, May 05, 2013 at 03:35:51PM +0200, Viktor Rosenfeld wrote: In any case, you can find the tutorial at ./org-tutorials/koma-letter-export.org The convention is to put all documentation about the new exporters under Worg.git/exporters. Take a look here: http://orgmode.org/worg/exporters/ Hope this helps, -- Suvayu Open source is the future. It sets us free.
Re: [O] How to install latest Org-mode?
On Tue, May 14, 2013 at 5:15 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Dnia 2013-05-14, o godz. 16:38:08 John Hendy jw.he...@gmail.com napisał(a): On Tue, May 14, 2013 at 12:52 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Hi list, I'd like to install the new Org-mode (version 8). I'm wondering what method is the best for me. I have Emacs 23 (Ubuntu 12.04), but I plan to (1) upgrade to the newest Ubuntu 13.04 soon and (2) upgrade to Emacs 24 soon (I'll probably uninstall Ubuntu's Emacs and install my own, though rather not from sources, but from a .deb package). So, my requirements would be: * I'd prefer the installed Org to survive the upgrades of Ubuntu and Emacs (of course, I'm going to uninstall Ubuntu's Org-mode 7.8.02). * I'd like the install method to be relatively quick - less than an hour, say, and I'd prefer my Org-mode to be relatively easy to upgrade later. My vote is for git. No middleman (with someone pushing an updated package) = less things that can potentially go wrong. I've taken to this for LaTeX as well vs. Arch Linux's distribution. Just my vote, though! Updating takes 5min, and 95% of that is just waiting for git to clone, probably because I primarily use Org at work and can't clone over git protocol behind my firewall. http is slower. Too late;). Though I generally agree. And for LaTeX: Ubuntu packages are usually quite old. I usually (once a year) install TeXlive from an installation dvd (I receive it by mail each year as a users' group member;)). And once a year is way too rarely for ConTeXt (another TeX-based document preparation system, with many things /much/ better than LaTeX), which is updated more or less once a month or so. I figured, but wanted to chime in anyway :) I've moved to default TexLive, which has been surprisingly easy after the initial install. Good luck with ELPA, and I won't hold it against you! John John Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] How to install latest Org-mode?
Dnia 2013-05-14, o godz. 17:30:30 John Hendy jw.he...@gmail.com napisał(a): Too late;). Though I generally agree. And for LaTeX: Ubuntu packages are usually quite old. I usually (once a year) install TeXlive from an installation dvd (I receive it by mail each year as a users' group member;)). And once a year is way too rarely for ConTeXt (another TeX-based document preparation system, with many things /much/ better than LaTeX), which is updated more or less once a month or so. I figured, but wanted to chime in anyway :) I've moved to default TexLive, which has been surprisingly easy after the initial install. Yes. And one of the nice things (from the standpoint of a LaTeX package/class developer) is that you can download, install and easily switch between different (older and newer) versions of TeXlive. Good luck with ELPA, and I won't hold it against you! Thanks:)! John Regards, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] ical2org.py
Hi Simon, Simon Thum simon.t...@gmx.de writes: It's going to be confusing if we add them all. On the contrary -- I think collecting all the information about various solutions in the same place is the only way to encourage comparisons, which is the best way to let one solution emerge, if needed. 2 cts of course, -- Bastien
Re: [O] [PATCH] Improve configurability of ox-koma-letter
Aloha Viktor, Nice work! I've been trying to find time to experiment with ox-koma-letter. Your tutorial will help. One small nit to pick, according to my dictionary meta data - metadata. All the best, Tom Viktor Rosenfeld listuse...@gmail.com writes: Hi Alan, I just wanted to let you know that the tutorial is now online. I haven't linked to it from the org-tutorials page yet, in case you want to take a look. You can find it at http://orgmode.org/worg/org-tutorials/koma-letter-export.html Cheers, Viktor Alan Schmitt wrote: Viktor Rosenfeld writes: Hi Alan, I've pushed a draft tutorial to Worg, but it's not published yet. Do you know if there is a delay or if I have to do anything else? I saw the publishing process output after my push which ended with the following: remote: Publishing file /home/emacs/git/worg/sitemap.org using `org-publish-org-to-html' remote: Symbol's function definition is void: org-publish-org-to-html remote: worg publish process 7241 exited at 05/05/13@07:53:51 To w...@orgmode.org:worg.git a3eed5c..9531016 master - master I assume this is an error? I guess, I've never published on worg before. In any case, you can find the tutorial at ./org-tutorials/koma-letter-export.org Thanks, I'll have a look. Alan -- Thomas S. Dye http://www.tsdye.com
Re: [O] What happens to org-export-with-LaTeX-fragments
On 2013-05-14 21:02 +0800, Rasmus wrote: I'm looking at an old exporter and assume that you are interested in MathJax and HTML. . .? Thank you, Rasmus. Leo
[O] Bug?: org-agenda-to-appt Munging Deadline Dates and Scheduled Times
Hi all, please let me know if the attached minimal example doesn't come through for whatever reason. It looks like (org-agenda-to-appt) displays a todo item on its deadline date at the scheduled time, if the scheduled and deadline dates are different (and the deadline has no time). The expected behavior is to not consider the deadline an appointment at a particular time at all (because it has none specified). Thanks for your time, Nick schedule-deadline-munging.org Description: Binary data
Re: [O] Export Org-mode content to Reveal.js presentations
Hi, Gary, You are right. For absolute path to reveal.js, the org-reveal-root should be set in URL form, file:///path_to_reveal.js. I will update the document to make it clear. Thanks for your suggestion. Regards, Yujie 2013/5/15 Gary Oberbrunner ga...@oberbrunner.com Just want to say I just set this up, and it's great! Easy to work with, and my first org-mode presentation was live in under 10 min. One minor nit: on my Windows machine, I had to set org-reveal-root to a file:/// URL, not a filesystem path. Otherwise the presentation wouldn't load. On Thu, May 9, 2013 at 4:42 PM, Simon Thum simon.t...@gmx.de wrote: Hi Yujie, thanks for your great work! I just have had my first important reveal.js presentation, and wished I had an org-mode exporter while I was hand-coding the presentation. Next time It'll be easier no doubt. Cheers, Simon On 05/03/2013 02:48 PM, Yujie Wen wrote: Hi, I'd like to introduce a new Org-Mode exporter, Org-reveal, that exports Org-mode contents to Reveaj.js presentations. Reveal.js is a web-based presentation framework, with beautiful 3-D effects and 2-D slides arrangements. The original sample illustration can be found at http://lab.hakim.se/reveal-js/**#/http://lab.hakim.se/reveal-js/#/ . With Org-reveal, you can easily exports your Org documents to Reveal.js presentations. A sample presentation created by Org-reveal can be found at http://naga-eda.org/home/**yujie/org-reveal/http://naga-eda.org/home/yujie/org-reveal/ . Org-reveal is hosted on https://github.com/yjwen/org-**revealhttps://github.com/yjwen/org-reveal. Should you have any suggestion or bug-report, please contact me yjwen.ty AT gmail DOT com. Thanks and regards, Yujie -- Gary
[O] [BUG] Tag selection is inconsistent when loaded from #+SETUPFILE in orgmode 8.0.x
Hi, Loading tags from a #+SETUPFILE is causing inconsistent behavior in the tag-selection for both in-buffer selection via C-c C-q (`org-set-tags-command`) and in-agenda selection via : (`org-agenda-set-tags`). A test-case using orgmode 8.0.3 on Emacs 24.3 (with the bare minimum init file setting to get orgmode loaded). The Org files are: test.org: = #+SETUPFILE: ~/setup.org #+TAGS: @Work(w) @Home(h) * The top entry SCHEDULED: 2013-05-14 Tue setup.org: == #+TAGS: email(e) call(c) With the setup above, invoking C-c C-q on the first entry in the _buffer_ displays *only* the two tag entries from setup.org; i.e.: Inherited: Current: [e] email [c] call And invoking C-c C-q in the _agenda_ for this entry displays *only* the two entries from the in-buffer tag settings: Inherited: Current: [w] @Work [h] @Home In prior versions of orgmode (prior to 8.0.x), all four tags would be displayed in the tag selection buffer. I have attached the test files. Regards, -- Anupam #+SETUPFILE: ~/setup.org #+TAGS: @Work(w) @Home(h) * The top entry SCHEDULED: 2013-05-14 Tue #+TAGS: email(e) call(c)
Re: [O] Orgmode 8.0.2: Possible bug in `org-insert-heading` when invoked at end of a heading with a property
All, Finally found the cause of the issue I had reported a few weeks back: Anupam Looks like M-RET (`org-insert-heading`), and it's equivalent Anupam M-S-RET (`org-insert-todo-heading`) are behaving a little Anupam erratically when invoked from the _end_ of a heading that Anupam has a property drawer. [...] Anupam behavior when M-RET is invoked from the _end_ of the line Anupam is: Anupam *** A Heading with a Drawer Anupam :PROPERTIES: Anupam :CATEGORY: TEST Anupam :END: Anupam *** - The second item's outline Anupam ^^^ Note that the second item's outline got indented, Anupam and has leading spaces (indented?) Basically, the issue is that there is a bad interplay with the `electric-indent-mode`, which is causing the additional indentation to be added during the invocation of `org-insert-heading`. Apologies for the noise, and hopefully this helps someone. It might be useful to add this minor mode in the list of conflicts in the manual also. Regards, -- Anupam
[O] M-RET and C-RET turn current line of text into a heading?
For the past couple of weeks I'm finding that both M-RET and C-RET turn the line under point into a heading, instead of inserting a new heading elsewhere. This happens with `org-M-RET-may-split-line' set to anything. So this: #+begin_src org * Chapter One :PROPERTIES: :some_prop: t :END: In which not [point is here] very much happens. But this is a further test to see what happens on multiline text. #+end_src becomes: #+begin_src org * Chapter One :PROPERTIES: :some_prop: t :END: * In which not very much happens. But this is a further test to see what happens on multiline text. #+end_src This also happens with emacs -Q. Has no one else seen this? Thanks, Eric