Re: [O] how to indent plain lists in ASCII

2013-02-10 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: The old exporter indented plain lists. This does not seem to fix it: (add-to-list 'org-export-filter-plain-list-functions (lambda (plain-list back-end rest _rest) (if (eq back-end 'ascii)

Re: [O] How to get === on a line by itself to be a special string

2013-02-10 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: I want separators like this: === to be treated as a special string in HTML. This was the case in the old exporter. [...] I don't want them to be interpreted as code. I don't want to turn off all code just to get this one thing to work.

Re: [O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-10 Thread Nicolas Goaziou
Hello, Gregor Kappler g.kapp...@gmx.net writes: I am currently migrating my system and contribute my first stop: custom emphasis characters that I use extensively: - ! is used for exclamations, - ? for questions, and - # for in-text comments that I do not want exported. Emphasis characters

Re: [O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-10 Thread Nicolas Goaziou
Completing myself, On the other hand, you may be able to parse custom markup with the help of a filter: #+begin_src emacs-lisp (defun my-special-markup (text backend info) (when (and (org-export-derived-backend-p backend 'html) (string-match \\([

Re: [O] compilation issues of new export framework

2013-02-10 Thread Achim Gratz
Nicolas Goaziou writes: Yes, I noticed this one too, but I don't know yet from where it could come from. It comes from the two autoloads, or probably only the second one as the first is later declare-function'ed anyway. If you declare these, then the defsubst get sometimes compiled as function

Re: [O] compilation issues of new export framework

2013-02-10 Thread Nicolas Goaziou
Achim Gratz strom...@nexgo.de writes: It comes from the two autoloads, or probably only the second one as the first is later declare-function'ed anyway. If you declare these, then the defsubst get sometimes compiled as function calls and sometimes as inlined functions (the normal mode of

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-10 Thread Roland Winkler
On Sun Feb 10 2013 Bastien wrote: But it appears to me that this feature could use a more sophisticated regexp matcher. Note that the 5th and 6th line are not striked through. Because the space isn't allowed within +...+ fontified constructs. There are spaces both between the 2nd and 3rd

Re: [O] compilation issues of new export framework

2013-02-10 Thread Nicolas Goaziou
Completing myself, Nicolas Goaziou n.goaz...@gmail.com writes: Speed is the whole point, indeed. A quick profiling with and without defsubst gives me: | defsubst | org-element-parse-buffer | 10 | 16.252699 |1.6252699 | | defun| org-element-parse-buffer | 10 | 19.812426 |

[O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
Hi, the docstring for `org-latex-classes' says: Instead of a list of sectioning commands, you can also specify a function name. That function will be called with two parameters, the (reduced) level of the headline, and a predicate non-nil when the headline should be numbered. It must return a

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-10 Thread Bastien
Hi Roland, Roland Winkler wink...@gnu.org writes: There are spaces both between the 2nd and 3rd line, and between the 5th and 6th line. -- Possibly, the regexp matcher could distinguish in a smarter way between word constituents and no word constituents. Sorry I wasn't clear: by default,

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Nicolas Goaziou
Hello, Florian Beck f...@miszellen.de writes: the docstring for `org-latex-classes' says: Instead of a list of sectioning commands, you can also specify a function name. That function will be called with two parameters, the (reduced) level of the headline, and a predicate non-nil when the

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-10 Thread Roland Winkler
On Sun Feb 10 2013 Bastien wrote: Why put this in a separate FAQ? Aren't the info pages the first source of information for such things? Depends. We try to keep the info manual readable, and it's already quite long. If you can find a good place in the manual, please send a patch. I do

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-10 Thread Bastien
Roland Winkler wink...@gnu.org writes: I do not find the info nodes on Structural markup elements particularly overloaded. The node Emphasis and monospace is just one short paragraph, and org-fontify-emphasized-text could esily be mentioned there -- unless this variable also affects other

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-10 Thread Roland Winkler
On Sun Feb 10 2013 Bastien wrote: Please provide a patch. I'd much appreciate if the org developers could do that. I have enough such things on my own emacs agenda,

[O] [Bug] Yasnippet/Org: properties messed up when expanding $1

2013-02-10 Thread Karl Voit
Hi! * Karl Voit devn...@karl-voit.at wrote: I do face strange behavior when using yasnippet with Org-mode: So there does not seem to be anybody who is able to fix this issue. Is there at least somebody who can confirm this weird bug? Thanks! ,[ Snippet «test» ] | # name : Testing

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
Thanks for your explanations, very much appreciated. Nicolas Goaziou n.goaz...@gmail.com writes: the proper way to do this is to define a derived back-end with a custom headline translation function. Ok, I tried this. There is a problem, however. This is what I came up with: #+BEGIN_SRC

[O] latex code block evaluation

2013-02-10 Thread henry atting
I have this latex code block: #+begin_src latex :file foo.pdf \documentclass{article} \begin{document} ...some text... \end{document} #+end_src After evaluation the resulting file looks like this: article ...some text... I do not understand this. As far as I know it is possible to define the

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Nicolas Goaziou
Florian Beck f...@miszellen.de writes: Ok, I tried this. There is a problem, however. This is what I came up with: #+BEGIN_SRC emacs-lisp (defun fb/org-latex-headline (headline contents info) (let* ((full-section (org-latex-headline headline contents info)) I suggest

[O] comments after paragraph remove newline

2013-02-10 Thread Samuel Wales
If there were a blank line above the comment, the newline removal would be appropriate, but not when there is no blank line above it. === input *** test no comments one comments # test two === ascii no comments one comments two === Thanks. Samuel -- The Kafka Pandemic:

[O] internal links not being followed; instead, offer to create new heading

2013-02-10 Thread Brian van den Broek
Hi all, I am having trouble with following internal org links. After carefully reading the documentation (especially 4.2 Internal Links http://orgmode.org/org.html#Internal-links) with the following test.org file, I would expect that C-c C-o on the link text in the bar tree would jump to the

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
Nicolas Goaziou n.goaz...@gmail.com writes: (toc-title (if (plist-get info :toc-title) (org-element-property :toc-title headline))) There's no :toc-title property in the communication channel. The exhaustive list of its properties is written in ox.el, at The

Re: [O] orgstruct-mode with custom headline prefix

2013-02-10 Thread Christopher Schmidt
Christopher Schmidt christop...@ch.ristopher.com writes: Here is the patch. Now one just needs ;; Local Variables: ;; eval: (orgstruct-mode 1) ;; orgstruct-heading-prefix-regexp: ;;; ;; End: This is in master now. The commit is a3f6570. Christopher

[O] Icalendar-export, priorities missing, possible bug

2013-02-10 Thread Anders Johansson
Hi, When I'm exporting to icalendar, the priorities of todo items (or perhaps any items) don't get carried through correctly. It always falls back to priority 5 (the default). After doing some edebugging I found that (string-match org-priority-regexp hd) [org-icalendar.el:539] never

[O] Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)]

2013-02-10 Thread Frank Fischer
Consider the following minimal org-file: === One line before #+BEGIN_SRC shell Some example #+END_SRC One line after === When exporting to texi, the file contains an additional empty line before the @end example: === ... One line before @example Some example @end example One line after ... ===

Re: [O] Icalendar-export, priorities missing, possible bug

2013-02-10 Thread Nicolas Goaziou
Hello, Anders Johansson mejlaande...@gmail.com writes: When I'm exporting to icalendar, the priorities of todo items (or perhaps any items) don't get carried through correctly. It always falls back to priority 5 (the default). After doing some edebugging I found that (string-match

Re: [O] new exporter fails to output footnotes?

2013-02-10 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: Surely this is pilot error someplace. (org-export-to-buffer 'html (get-buffer-create test) t nil t) Beware, `org-export-to-buffer' expects a string as its second argument, not a buffer.

Re: [O] new exporter fails to output footnotes?

2013-02-10 Thread Samuel Wales
On 2/10/13, Nicolas Goaziou n.goaz...@gmail.com wrote: Beware, `org-export-to-buffer' expects a string as its second argument, Will fix thanks. I assume you wonder why there's no footnote definition. That's because this is a body-only export. Footnote definitions belong to the global

Re: [O] Scheduling makes link disappear

2013-02-10 Thread Thomas Morgan
Hi, Bastien, Thanks! That fixes it and doesn't break any of the agenda views that I use. Best regards, Thomas Bastien b...@altern.org writes: Hi Thomas, Thomas Morgan t...@ziiuu.com writes: In an Org TODO list, scheduling an item that contains a link can cause the link to disappear.

Re: [O] Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)]

2013-02-10 Thread Nicolas Goaziou
Hello, Frank Fischer frank-fisc...@shadow-soft.de writes: Consider the following minimal org-file: === One line before #+BEGIN_SRC shell Some example #+END_SRC One line after === When exporting to texi, the file contains an additional empty line before the @end example: === ...

Re: [O] comments after paragraph remove newline

2013-02-10 Thread Nicolas Goaziou
Hello, Samuel Wales samolog...@gmail.com writes: If there were a blank line above the comment, the newline removal would be appropriate, but not when there is no blank line above it. === input *** test no comments one comments # test two === ascii no comments one comments

Re: [O] internal links not being followed; instead, offer to create new heading

2013-02-10 Thread John Hendy
On Sun, Feb 10, 2013 at 12:53 PM, Brian van den Broek brian.van.den.br...@gmail.com wrote: Hi all, I am having trouble with following internal org links. After carefully reading the documentation (especially 4.2 Internal Links http://orgmode.org/org.html#Internal-links) with the following

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Nicolas Goaziou
Florian Beck f...@fbeck.net writes: Nicolas Goaziou n.goaz...@gmail.com writes: (toc-title (if (plist-get info :toc-title) (org-element-property :toc-title headline))) There's no :toc-title property in the communication channel. The exhaustive list of its

Re: [O] Icalendar-export, priorities missing, possible bug

2013-02-10 Thread Anders Johansson
Hi, 2013-02-10 20:31, Nicolas Goaziou skrev: Hello, Anders Johansson mejlaande...@gmail.com writes: When I'm exporting to icalendar, the priorities of todo items (or perhaps any items) don't get carried through correctly. It always falls back to priority 5 (the default). After doing some

Re: [O] new exporter fails to output footnotes?

2013-02-10 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes: On 2/10/13, Nicolas Goaziou n.goaz...@gmail.com wrote: I assume you wonder why there's no footnote definition. That's because this is a body-only export. Footnote definitions belong to the global template, which is ignored when this option is active.

Re: [O] new exporter fails to output footnotes?

2013-02-10 Thread Samuel Wales
On 2/10/13, Nicolas Goaziou n.goaz...@gmail.com wrote: For now, you can't, but that's a problem. I think the framework needs a step before the template function, in order to add some persistent data, even in case of a body-only export. Thank you for the answer. Is there a way to run the old

Re: [O] internal links not being followed; instead, offer to create new heading

2013-02-10 Thread Brian van den Broek
On 10 February 2013 16:21, John Hendy jw.he...@gmail.com wrote: On Sun, Feb 10, 2013 at 12:53 PM, Brian van den Broek brian.van.den.br...@gmail.com wrote: Hi all, I am having trouble with following internal org links. After carefully reading the documentation (especially 4.2 Internal Links

Re: [O] internal links not being followed; instead, offer to create new heading

2013-02-10 Thread John Hendy
On Sun, Feb 10, 2013 at 4:28 PM, Brian van den Broek brian.van.den.br...@gmail.com wrote: On 10 February 2013 16:21, John Hendy jw.he...@gmail.com wrote: On Sun, Feb 10, 2013 at 12:53 PM, Brian van den Broek brian.van.den.br...@gmail.com wrote: Hi all, I am having trouble with following

Re: [O] LaTeX export: Theorem with an author

2013-02-10 Thread Vincent Beffara
Hi, There's no right way at the moment: I forgot to implement this. Anyway, since this feature was LaTeX only, what do you think about the following syntax (which doesn't work yet): #+attr_latex: :options [Newton] #+begin_theorem Blah. #+end_theorem It is heavier but it seems more

Re: [O] Problem with org-html-format-latex

2013-02-10 Thread Vincent Beffara
thanks for reporting this and for the patch, I've push a slightly different fix. Please test and let me know. Sounds good to me, thanks! /v Best, -- Bastien

Re: [O] Problem with org-html-format-latex

2013-02-10 Thread Vincent Beffara
thanks for reporting this and for the patch, I've push a slightly different fix. Please test and let me know. Sounds good to me, thanks! ... well it did sound good to me, but it still fails. Put this in *scratch*, (org-html-format-latex x 'mathjax) and C-x C-e. Within org-format-latex,

[O] hlines in babel output

2013-02-10 Thread Rasmus
Hi, I have the following Org document where I would like to add some extra hlines to the output. I'm using babel. I tried the ascii package but couldn't find anything giving me extra hlines. I'd also prefer to stick to just babel. Here's the example: #+begin_src org #+TITLE:hline test *

Re: [O] Fwd: Re: Bug? in texinfo exporter

2013-02-10 Thread Thomas S. Dye
Aloha Jon, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: -- Forwarded message -- From: Jonathan Leech-Pepin jonathan.leechpe...@gmail.com Date: Feb 9, 2013 8:57 AM Subject: Re: [O] Bug? in texinfo exporter To: Thomas S. Dye t...@tsdye.com Cc: Just realized I

[O] org-element-paragraph-parser fails

2013-02-10 Thread Charles Berry
Remove the spaces before #+name OR take out the '- item' and org-export-dispatch succeeds. As is, it fails with org-element-paragraph-parser: Invalid search bound (wrong side of point) , | * export dispatcher | | - item | | #+name: xyz | #+BEGIN_SRC emacs-lisp | (pwd) |

[O] colorg: Weekly report

2013-02-10 Thread François Pinard
Hi, Org friends. Here is my weekly report on colorg development. colorg is a tool for real-time collaborative edition meant for Org files in the long run, and located at https://github.com/pinard/colorg. There is a client in Emacs Lisp and a server in Python. There were no change at all on the

Re: [O] Fwd: Re: Bug? in texinfo exporter

2013-02-10 Thread Nicolas Goaziou
t...@tsdye.com (Thomas S. Dye) writes: Aloha Jon, [...] Yes, I believe you are right. The commas are not the culprits. Apologies for the red herring. Perhaps Nicolas should revert the commit? Could you check if this is the right thing to do? My fix isn't about the comma. Didn't it

Re: [O] LaTeX export: Theorem with an author

2013-02-10 Thread Nicolas Goaziou
Vincent Beffara vbeffara...@gmail.com writes: It does seem more consistent with things like fig captions and so on - thanks for implementing! A little bit more verbose but that's fine ... and I agree that the previous #+begin_theorem Somebody felt a bit vague. How about a middle ground like

Re: [O] new exporter fails to output footnotes?

2013-02-10 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes: On 2/10/13, Nicolas Goaziou n.goaz...@gmail.com wrote: For now, you can't, but that's a problem. I think the framework needs a step before the template function, in order to add some persistent data, even in case of a body-only export. Thank you for