Re: [O] New html exporter and filters

2013-03-05 Thread Nicolas Goaziou
Hello, Rick Frankel r...@rickster.com writes: I seem to have reached the limit of my emacs-fu. I am looking at adding XOXO output to the S5 exporter (S5 has built-in support for XOXO structured documents) and was trying to use an element (headline) filter to modify the document structure. I

Re: [O] [patch] ox-koma-letter

2013-03-05 Thread Alan Schmitt
Hello, Nicolas Goaziou writes: Headlines are also possible, with a :location: property, which could be set to, e.g. closing. See also: http://orgmode.org/worg/org-tutorials/org-e-groff-documentation.html for a syntax based on headlines. Another possibility is to use a special block.

Re: [O] latex export of unnumbered sections

2013-03-05 Thread Sebastian Hofer
At Mon, 04 Mar 2013 21:21:54 +0100, Nicolas Goaziou wrote: Hello, Sebastian Hofer sebastian.ho...@univie.ac.at writes: Is there a particular reason why unnumbered sections are exported to latex including the title in first (optional) argument if there is no * present? To clarify a

Re: [O] Tips for using orgmode + ledger to record events?

2013-03-05 Thread Eric S Fraga
Viktor Rosenfeld listuse...@gmail.com writes: [...] Going over you original reply, I was wondering how you add to blocks such as expenses-car which you reference in your report statement. Hi Viktor, I have named blocks which I subsequently edit using =C-c '= which brings up the block in

[O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi, I have installed Predictive package. It is working fine for normal English words while working in org-mode. When I am writing few latex codes in org-mode, it is not suggesting latex keywords it seems. I have added the following in .emacs. ;;predictive (add-to-list 'load-path

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Bastien
Hi Sanjib, Sanjib Sikder sanjibju2...@gmail.com writes: I have installed Predictive package. It is working fine for normal English words while working in org-mode. When I am writing few latex codes in org-mode, it is not suggesting latex keywords it seems. I have added the following in

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Suvayu Ali
Hi Bastien and Sanjib, On Tue, Mar 05, 2013 at 10:44:55AM +0100, Bastien wrote: Hi Sanjib, Sanjib Sikder sanjibju2...@gmail.com writes: I have installed Predictive package. It is working fine for normal English words while working in org-mode. When I am writing few latex codes in

Re: [O] [patch] ox-koma-letter

2013-03-05 Thread Nicolas Goaziou
Hello, Alan Schmitt alan.schm...@polytechnique.org writes: Nicolas Goaziou writes: Headlines are also possible, with a :location: property, which could be set to, e.g. closing. See also: http://orgmode.org/worg/org-tutorials/org-e-groff-documentation.html for a syntax based on

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Bastien, Do you mean: once I write some LaTeX keywords in an org-mode buffer, it only suggests LaTeX keywords (and no english words) for the rest of the session? I am writing my thesis in org-mode. My thesis consists of equations. So in my thesis.org file, I have latex codes also. I do

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Suvayu, I think what he means is that predictive _does not_ suggest LaTeX keywords inside an org-mode buffer. Yes, exactly, I wanted to mean this. Thanks - *Sanjib Sikder *

[O] latex listings number-lines problems with new exporter

2013-03-05 Thread Thomas Alexander Gerds
Hi using org-mode 7.9.3f and the new exporter I was desperately trying to get line numbers back for exported R code blocks using the latex listing package. first I tried (setq org-latex-listings-options '((basicstyle \\small) (numbers left))) which gives , |

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Bastien
Hi Sanjib, Sanjib Sikder sanjibju2...@gmail.com writes: Yes, exactly, I wanted to mean this. Maybe: (add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) Or (add-hook 'org-mode-hook 'predictive-setup-latex) Toby is on this list, he'll perhaps

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Hi Bastien, (add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) This one works :) Thanks a lot. --- Sanjib Sikder

Re: [O] [patch] ox-koma-letter

2013-03-05 Thread Michael Strey
Hello, On Mon, Mar 04, 2013 at 09:38:38PM +0100, Nicolas Goaziou wrote: [...] Headlines are also possible, with a :location: property, which could be set to, e.g. closing. See also: http://orgmode.org/worg/org-tutorials/org-e-groff-documentation.html for a syntax based on headlines.

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Dear Bastien, (add-to-list 'predictive-major-mode-alist '(org-mode . predictive-setup-latex)) This works for latex keyword suggestion in org-mode buffer but while trying to pdf export, I am getting the following error. Wrong type argument: listp, t Thanks

Re: [O] emacs and orgmode implemented at beta.metaStudio.org

2013-03-05 Thread Bastien
Hi, Nagarjuna G. nagar...@gnowledge.org writes: I am happy to inform you that we have implemented a collaboratively editable wiki pages using a simple javascript editor based on Jay Salvat's MarkItUp. (http://markitup.jaysalvat.com/home/).  We forked it to create orgitdown

Re: [O] latex listings number-lines problems with new exporter

2013-03-05 Thread Nicolas Goaziou
Hello, Thomas Alexander Gerds t...@biostat.ku.dk writes: using org-mode 7.9.3f and the new exporter I was desperately trying to get line numbers back for exported R code blocks using the latex listing package. first I tried (setq org-latex-listings-options '((basicstyle \\small)

Re: [O] Predictive for Latex in org-mode

2013-03-05 Thread Sanjib Sikder
Dear Bastien, The error Wrong type argument: listp, t was due to the following line (add-hook 'org-mode-hook 'predictive-mode) which was there in the .emacs file. While predictive mode is on [without (add-hook 'org-mode-hook 'predictive-mode) in .emacs] in org-mode buffer, C-c C-e p

Re: [O] [patch] ox-koma-letter

2013-03-05 Thread Rasmus
Michael Strey mst...@strey.biz writes: Here is a draft proposal for a user interface using Nicola's suggestion: Looks nice. What happens to headlines without a tag? Would they be read as part of the body or would untagged headliens just be ignored? –Rasmus -- This is the kind of tedious

[O] [new exporter] latex-date-timestamp-format not adhering #+LANGUAGE

2013-03-05 Thread Andreas Leha
Hi all, I'd very much like to see org-latex-timestamp-format adhere to a possibly present #+LANGUAGE setting. If I set org-latex-timestamp-format to %A, %Y-%m-%d the following org file produces Donnerstag, 2013-03-07 on my system, where I'd prefer Thursday, 2013-03-07. #+begin_src org #+TITLE:

Re: [O] [patch] ox-koma-letter

2013-03-05 Thread Michael Strey
On Tue, Mar 05, 2013 at 01:23:40PM +0100, Rasmus wrote: [...] What happens to headlines without a tag? Would they be read as part of the body or would untagged headliens just be ignored? Untagged sections shall be treated as body. Updated proposal: #+BEGIN_SRC org #+LATEX_CLASS: letter

[O] [new exporter] #+TOC in beamer export

2013-03-05 Thread Andreas Leha
Hi all, from a recent thread I learned about #+TOC (there's always something new to learn about org mode). I'd like to use it in a beamer document. Here I find it hard to use because it introduces its own frame. My question basically is: How is this supposed to be used in a beamer doc? (And

Re: [O] emacs and orgmode implemented at beta.metaStudio.org

2013-03-05 Thread Nagarjuna G.
On Tue, Mar 5, 2013 at 4:30 PM, Bastien b...@altern.org wrote: Hi, Nagarjuna G. nagar...@gnowledge.org writes: I am happy to inform you that we have implemented a collaboratively editable wiki pages using a simple javascript editor based on Jay Salvat's MarkItUp.

Re: [O] latex listings number-lines problems with new exporter

2013-03-05 Thread Thomas Alexander Gerds
thanks for the fast fix. now, I agree that there is no great need to put a link into the doc-string of org-latex-listings-options. Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thomas Alexander Gerds t...@biostat.ku.dk writes: using org-mode 7.9.3f and the new exporter I was

[O] [new exporter] is #+bind supported?

2013-03-05 Thread Eric S Fraga
Hello, I seem to have some problem with the new exporter taking into account a =#+BIND= directive such as #+bind: org-latex-pdf-process (pdflatex %b bibtex %b pdflatex %b pdflatex %b) Am I doing something really silly here? I need bibtex to export my org paper to PDF. This used to work...

Re: [O] [new exporter] is #+bind supported?

2013-03-05 Thread Achim Gratz
Eric S Fraga e.fraga at ucl.ac.uk writes: Also, what is the difference between =org-latex-pdf-process= and =org-latex-to-pdf-process= (note the extra -to in the latter)? One is defined in ox-latex and the other in org-latex. These are not the droids you were searching for. Nothing defined in

[O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Eric S Fraga
Hello, I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline)) contents (org-latex-headline headline contents info))) (add-to-list

[O] URGENT Need help fixing beamer exporting, can someone jump on IRC?

2013-03-05 Thread James Harkins
Hi, sorry to press, but is anyone on the org-mode IRC channel? The new beamer exporter has suddenly gotten borked on my system and I can't restore it. I have class tomorrow morning. This is an emergency. This occurred after updating master to test a fix that Bastien pushed. Recalling advice from

Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?

2013-03-05 Thread James Harkins
On Tue, Mar 5, 2013 at 11:18 PM, James Harkins jamshar...@gmail.com wrote: Hi, sorry to press, but is anyone on the org-mode IRC channel? The new beamer exporter has suddenly gotten borked on my system and I can't restore it. I have class tomorrow morning. This is an emergency. OK, in

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 02:43:30PM +, Eric S Fraga wrote: Hello, I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline))

Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?

2013-03-05 Thread Achim Gratz
James Harkins jamshark70 at gmail.com writes: I had been using C-c C-x ! to reload org after doing a make but this turned out to mess things up pretty badly. I could get reasonable behavior only by quitting emacs and restarting it. I don't know if that should be considered a bug or not.

Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?

2013-03-05 Thread Suvayu Ali
Hi James, On Tue, Mar 05, 2013 at 11:28:35PM +0800, James Harkins wrote: I had been using C-c C-x ! to reload org after doing a make but this turned out to mess things up pretty badly. I could get reasonable behavior only by quitting emacs and restarting it. I don't know if that should be

Re: [O] [new exporter] is #+bind supported?

2013-03-05 Thread Eric S Fraga
Achim Gratz strom...@nexgo.de writes: Eric S Fraga e.fraga at ucl.ac.uk writes: Also, what is the difference between =org-latex-pdf-process= and =org-latex-to-pdf-process= (note the extra -to in the latter)? One is defined in ox-latex and the other in org-latex. These are not the droids

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks Suvayu. It is this update that I need help with! The

Re: [O] [new exporter] is #+bind supported?

2013-03-05 Thread Achim Gratz
Eric S Fraga writes: It is rather annoying to have the old org files picked up automatically. My git copy of org-mode is before anything else in my =load-path= variable. I know there has been a whole thread on the list about this but I did not see any solution to this; did I miss one? I

Re: [O] URGENT Need help fixing beamer exporting, can someone jump on IRC?

2013-03-05 Thread Achim Gratz
Suvayu Ali writes: That said, I have noticed something odd about the new exporter and org-reload. I think with the new exporter after doing org-reload, org related config is not reloaded properly. Config is not reloaded at all (and never has been), any configuration variables that are already

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nick Dokos
Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks Suvayu.

Re: [O] Tips for using orgmode + ledger to record events?

2013-03-05 Thread Viktor Rosenfeld
Hi Eric, thanks for explaining your structure. Eric S Fraga wrote: I don't use capture templates; I manually enter the information. I did use to use capture but found it too clumsy for my setup (or I was never able to suss out how to define the right capture templates). I don't reconcile

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 01:25:03PM -0500, Nick Dokos wrote: Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without

Re: [O] [new exporter] [html] Tables of Contents

2013-03-05 Thread T.F. Torrey
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, tftor...@tftorrey.com (T.F. Torrey) writes: One small problem, though: I see that if there is a TOC at the top and then one included later using #+TOC, the exporter gives them both the same id (div id=table-of-contents). Duplicate ID's

[O] [Bug] beamer backend and org-reload

2013-03-05 Thread Suvayu Ali
Hi Achim, On Tue, Mar 05, 2013 at 07:26:54PM +0100, Achim Gratz wrote: Suvayu Ali writes: That said, I have noticed something odd about the new exporter and org-reload. I think with the new exporter after doing org-reload, org related config is not reloaded properly. Config is not

[O] Slowdown when editing tables with horizontal lines

2013-03-05 Thread Peder Stray
I have noticed a significant slowdown when editing tables with horizontal lines compared with the same table without the horizontal line. Currently tested in 7.9.2 and the version in elpa (7.9.3e i think?). Editing the table I have now, 12 columns, about 60 rows is nearly instant when the table

Re: [O] [Bug] beamer backend and org-reload

2013-03-05 Thread Achim Gratz
Suvayu Ali writes: (add-to-list 'org-latex-classes '(beamer \\documentclass\[presentation\]\{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\})

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Charles Berry
Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Tue, Mar 05, 2013 at 01:25:03PM -0500, Nick Dokos wrote: Eric S Fraga e.fraga at ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+linux at gmail.com writes: [...] Try using your function with a filter. This filter might work:

Re: [O] [new exporter] #+TOC in beamer export

2013-03-05 Thread Nicolas Goaziou
Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: from a recent thread I learned about #+TOC (there's always something new to learn about org mode). I'd like to use it in a beamer document. Here I find it hard to use because it introduces its own frame. My question basically

Re: [O] [new exporter] is #+bind supported?

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I seem to have some problem with the new exporter taking into account a =#+BIND= directive such as #+bind: org-latex-pdf-process (pdflatex %b bibtex %b pdflatex %b pdflatex %b) Am I doing something really silly here? I need bibtex to

Re: [O] [new exporter] ignoring a headline on export to PDF via?latex

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 08:58:28PM +, Charles Berry wrote: [...] FWIW, I defun'ed filters like the above for all of the filter functions that can take (text backend info) as arguments. Then using a derived backend like the above `latex3', I can see where the filterable elements are. It

Re: [O] [new exporter] #+TOC in beamer export

2013-03-05 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: from a recent thread I learned about #+TOC (there's always something new to learn about org mode). I'd like to use it in a beamer document. Here I find it hard to use

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] Try using your function with a filter. This filter might work: org-export-filter-headline-functions. Of course it goes without saying you will have to update your function. Thanks

Re: [O] [Bug] beamer backend and org-reload

2013-03-05 Thread Suvayu Ali
Hi Achim, On Tue, Mar 05, 2013 at 09:50:29PM +0100, Achim Gratz wrote: Suvayu Ali writes: (add-to-list 'org-latex-classes '(beamer \\documentclass\[presentation\]\{beamer\} (\\section\{%s\} . \\section*\{%s\})

Re: [O] [new exporter] #+TOC in beamer export

2013-03-05 Thread Suvayu Ali
On Tue, Mar 05, 2013 at 10:53:42PM +0100, Andreas Leha wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: from a recent thread I learned about #+TOC (there's always something new to learn about org mode). I'd like to use it in a

Re: [O] [new exporter] ignoring a headline on export to PDF via latex

2013-03-05 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member ignoreheading (org-element-property :tags headline)) contents

Re: [O] New html exporter and filters

2013-03-05 Thread Rick Frankel
On Tue, Mar 05, 2013 at 09:16:16AM +0100, Nicolas Goaziou wrote: Rick Frankel r...@rickster.com writes: On the other hand, it would be easier if ox-html were modified so that org-html-headline uses a variable (or callback) for the format of the wrapper (currently div id=\%s...) and a

Re: [O] [Bug] beamer backend and org-reload

2013-03-05 Thread Nicolas Goaziou
Hello, Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi Achim, On Tue, Mar 05, 2013 at 07:26:54PM +0100, Achim Gratz wrote: Suvayu Ali writes: That said, I have noticed something odd about the new exporter and org-reload. I think with the new exporter after doing org-reload, org

Re: [O] [new exporter] #+TOC in beamer export

2013-03-05 Thread Nicolas Goaziou
Hello, Suvayu Ali fatkasuvayu+li...@gmail.com writes: On Tue, Mar 05, 2013 at 10:53:42PM +0100, Andreas Leha wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: from a recent thread I learned about #+TOC (there's always something new

Re: [O] [RFC] Org version of the Org manual

2013-03-05 Thread Thomas S. Dye
Hi Achim, Achim Gratz strom...@nexgo.de writes: Thomas S. Dye writes: […] I look forward to picking this project up again in a week or so, or learning from my Org colleagues that the project ought to be scuttled. Hi Tom, this looks good. Thanks for reviewing a work in progress. I'm

[O] Using org-map-entries with org-export-before-processing-hook

2013-03-05 Thread Eric Abrahamsen
I've attached a minimum org file that shows what I'm trying to do: essentially to attach a hook to the export process that ends up calling org-map-entries to make alterations to the file just before it's exported. As I've got it now, the hook does change the org buffer, but those changes are

[O] Block agendas and filtering

2013-03-05 Thread Thomas Moyer
Is it possible to have a block agenda that contains two daily/weekly agendas that are opposites of each other, based on something like a tag? For example I have my normal todo list things that are scheduled, and then I have other regular things, like cleaning and taking care of other tasks that

[O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-05 Thread Aaron Ecay
In order for the cache feature to work, the hash of a finished computation must be inserted. But, this is not currently done for src blocks which have the option :results none. Thus, we should insert a dummy empty result for these blocks, which will hold the hash. --- lisp/ob-core.el | 5 -

Re: [O] [PATCH] ox-latex: provide width and height options for images

2013-03-05 Thread aaronecay
2013ko otsailak 27an, Nicolas Goaziou-ek idatzi zuen: Thank you for your patch. Here are a few comments. Thank you for the comments! I think the patch is simpler and better thanks to them. These are implemented with \resizebox, and thus are uniform across different types of image inclusion

[O] [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets

2013-03-05 Thread Aaron Ecay
The org-target face is created in org-faces.el, but never used for font-locking. This patch fixes that. --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 3959c17..5399177 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6056,6 +6056,8 @@ needs to

Re: [O] [new exporter] [html] Tables of Contents

2013-03-05 Thread Jambunathan K
Torrey One small problem, though: I see that if there is a TOC at the top and then one included later using #+TOC, the exporter gives them both the same id (div id=table-of-contents). Duplicate ID's makes the XML invalid. What do you suggest instead? id=table-of-contents-1 for the first

[O] [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo.

2013-03-05 Thread Aaron Ecay
Currently, this function modifies the buffer-undo-list, which it should not. One can reproduce the undesirable behavior by creating a new org buffer and manually typing in the following text: #+begin_src emacs-lisp foo bar #+end_src Then press C-c ' twice to enter and exit the edit-src.

Re: [O] [new exporter] [html] Tables of Contents

2013-03-05 Thread Jambunathan K
This gives a significant advantage in that authors can link to the various instances just by knowing their own usage. For instance, if they provided a top-level toc at the beginning of their book, and a deeper-level toc later on, they could link to each separately by id by knowing this

[O] [PATCH] ox-latex: Support tikz images, :width, and :height

2013-03-05 Thread Aaron Ecay
* ox-latex.el: (org-latex-image-default-option): Change default value to (org-latex-image-default-width) (org-latex-image-default-height): Add variables (org-latex-inline-image-rules): Make .tikz files as exportable with latex (org-latex--inline-image): Support tikz images. Also support separate

Re: [O] [new exporter] ignoring a headline on export to PDF via?latex

2013-03-05 Thread Charles Berry
Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Tue, Mar 05, 2013 at 08:58:28PM +, Charles Berry wrote: [...] FWIW, I defun'ed filters like the above for all of the filter functions [...] if anyone is interested, I can post or upload somewhere. That would be wonderful!

Re: [O] [RFC] Org version of the Org manual

2013-03-05 Thread Yagnesh Raghava Yakkala
Hello Thomas, These instructions assume more knowledge than I have. Could you be more specific about in the Org worktree? Should I create a branch where I do this? Or, should I put this in one of the upstream branches and arrange to push it into the Org repo? In any case, can you suggest a