Re: [O] New exporter, beamer confusion

2013-02-04 Thread James Harkins
Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Mon, Feb 04, 2013 at 12:00:08PM +0800, James Harkins wrote: #+OPTIONS: H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t The H:10 is your problem. Since you want 2nd level headlines to be frames, it should be H:2. Ah. OK, that's

Re: [O] New exporter, beamer confusion

2013-02-04 Thread Nicolas Goaziou
Hello, James Harkins jamshar...@gmail.com writes: Suvayu Ali fatkasuvayu+linux at gmail.com writes: On Mon, Feb 04, 2013 at 12:00:08PM +0800, James Harkins wrote: #+OPTIONS: H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t The H:10 is your problem. Since you want 2nd level

Re: [O] New exporter, beamer confusion

2013-02-04 Thread James Harkins
On Feb 5, 2013 3:51 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: In particular, All frames children become block environments. So in your example Third-level is a block environment and Fourth-level is a block within it. There's no flattening going on (look at the tex file to convince

Re: [O] New exporter, beamer confusion

2013-02-04 Thread Nick Dokos
James Harkins jamshar...@gmail.com wrote: On Feb 5, 2013 3:51 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: In particular, All frames children become block environments. So in your example Third-level is a block environment and Fourth-level is a block within it. There's no flattening

Re: [O] New exporter, beamer confusion

2013-02-03 Thread Suvayu Ali
On Mon, Feb 04, 2013 at 12:00:08PM +0800, James Harkins wrote: #+OPTIONS: H:10 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t The H:10 is your problem. Since you want 2nd level headlines to be frames, it should be H:2. Hope this helps, -- Suvayu Open source is the future. It sets us

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-30 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: Though, I think I have to withdraw my proposal about using #+DATE: value as a time format string. Indeed, date value, along with any document property, is parsed, which defeats the purpose of using it as a format string. We can still implement a

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-30 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: q Hello, Bastien b...@altern.org writes: Though, I think I have to withdraw my proposal about using #+DATE: value as a time format string. Indeed, date value, along with any document property, is parsed, which defeats the purpose of using it as

Re: [O] new exporter, conditional options according to backend

2013-01-27 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Jambunathan K kjambunat...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: #+begin_src emacs-lisp (defun my-options-change-fun (tree backend info) (when

Re: [O] new exporter, conditional options according to backend

2013-01-25 Thread Nicolas Goaziou
Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: Sorry for hijacking this thread. But I am also interested in backend specific options. Could you give an example of how to achieve something like this with the new exporter: #+begin_src R :results graphics :file (if (and

Re: [O] new exporter, conditional options according to backend

2013-01-25 Thread cberry
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Ezequiel Birman stormwa...@espiga4.com.ar writes: Is it possible to write something like this with the new exporter? #+OPTIONS: (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'e-beamer)) H:1 H:3) There is

Re: [O] new exporter, conditional options according to backend

2013-01-25 Thread Nicolas Goaziou
Hello, cbe...@tajo.ucsd.edu writes: 'backend' is in the scope of transcoding functions like inline-src-block. I am currently taking advantage of this, but it is a shortcut rather than a necessity. Is your advice Don't do that ? I would rather say Don't do that in public code. There's no

Re: [O] new exporter, conditional options according to backend

2013-01-24 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Ezequiel Birman stormwa...@espiga4.com.ar writes: Is it possible to write something like this with the new exporter? #+OPTIONS: (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'e-beamer)) H:1

Re: [O] new exporter, conditional options according to backend

2013-01-20 Thread Nicolas Goaziou
Jambunathan K kjambunat...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: #+begin_src emacs-lisp (defun my-options-change-fun (tree backend info) (when (org-export-derived-backend-p backend 'e-beamer) (plist-put info :with-author nil)) ;; Don't forget to return tree.

Re: [O] new exporter, conditional options according to backend

2013-01-20 Thread Jambunathan K
Nicolas Goaziou n.goaz...@gmail.com writes: Jambunathan K kjambunat...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: #+begin_src emacs-lisp (defun my-options-change-fun (tree backend info) (when (org-export-derived-backend-p backend 'e-beamer) (plist-put info

Re: [O] new exporter, conditional options according to backend

2013-01-19 Thread Nicolas Goaziou
Hello, Ezequiel Birman stormwa...@espiga4.com.ar writes: Is it possible to write something like this with the new exporter? #+OPTIONS: (if (and (boundp 'org-export-current-backend) (eq org-export-current-backend 'e-beamer)) H:1 H:3) There is no `org-export-current-backend' in the new

Re: [O] new exporter, conditional options according to backend

2013-01-19 Thread Ezequiel Birman
Nicolas == Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Ezequiel Birman stormwa...@espiga4.com.ar writes: Is it possible to write something like this with the new exporter? #+OPTIONS: (if (and (boundp 'org-export-current-backend) (eq

Re: [O] new exporter, conditional options according to backend

2013-01-19 Thread Jambunathan K
Nicolas Goaziou n.goaz...@gmail.com writes: #+begin_src emacs-lisp (defun my-options-change-fun (tree backend info) (when (org-export-derived-backend-p backend 'e-beamer) (plist-put info :with-author nil)) ;; Don't forget to return tree. tree) CAVEAT: plist-put can return a

Re: [O] New exporter documentation?

2013-01-18 Thread Thomas S. Dye
Aloha James, James Harkins jamshar...@gmail.com writes: I apologize in advance for what is likely to be a dumb question, but I'm struggling to find documentation of the new exporter. Google pointed to [1], but this is documentation for developers of new backends. I only want to use the

Re: [O] New exporter documentation?

2013-01-18 Thread Florian Beck
James Harkins jamshar...@gmail.com writes: Specific question: Is there an easy way to use a given LaTeX template (.cls and .bib)? (I also found [2] but easy is not how I would describe that.) The easiest way is probably #+BEGIN_SRC emacs-lisp (require 'org-export) (require 'org-e-latex)

Re: [O] New exporter documentation?

2013-01-18 Thread James Harkins
On Jan 18, 2013 4:11 PM, Florian Beck f...@miszellen.de wrote: James Harkins jamshar...@gmail.com writes: Specific question: Is there an easy way to use a given LaTeX template (.cls and .bib)? (I also found [2] but easy is not how I would describe that.) The easiest way is probably ... snip

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-12 Thread Nicolas Goaziou
Bastien b...@altern.org writes: I agree they are general and should be move out of org-export.el. Note that one of my plan for 8.[01] is to put org.el on diet so that it loads more quickly and for more basic stuff. So maybe there will be org-plan.el at some point for org-schedule,

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-12 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: The attached patch moves them into org.el, with an org-timestamp- prefix. Looks, good, please go ahead. Though, I think I have to withdraw my proposal about using #+DATE: value as a time format string. Indeed, date value, along with

Re: [O] [New exporter] org-export-latex-verbatim-wrap

2013-01-11 Thread Nicolas Goaziou
Hello, Ista Zahn istaz...@gmail.com writes: Does the new exporter have any equivalent of org-export-latex-verbatim-wrap? I've looked but don't see anything. How can I format verbatim output when using the new exporter? Add a filter to `org-export-filter-fixed-width-functions'. E.g.:

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-09 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: Though it may be the job of back-ends to provide such a variable variable, whenever it makes sense. Yes, I think it's the job of backends. For example, in the `e-latex' back-end, there is `org-e-latex-date-format'. Should the value of the variable be

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-09 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: For example, in the `e-latex' back-end, there is `org-e-latex-date-format'. Should the value of the variable be used as an argument for `org-export-format-timestamp' if the #+DATE: keyword only contains a timestamp object, and for

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-09 Thread Nicolas Goaziou
Bastien b...@altern.org writes: Should the value of the variable be used as an argument for `org-export-format-timestamp' if the #+DATE: keyword only contains a timestamp object, and for `format-time-string' otherwise? Yes, good idea! Ok. Before I start coding it, I wonder if functions

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-09 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Before I start coding it, I wonder if functions related to timestamp objects, that is `org-export-timestamp-has-time-p', `org-export-format-timestamp', `org-export-split-timestamp-range' and `org-export-translate-timestamp' shouldn't be

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-06 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: Rasmus ras...@gmx.us writes: Would it be desirable if the new exporter took the variable org-export-date-timestamp-format into consideration when formatting dates? I think so. What do you think, Nicolas? I'm not convinced by this variable.

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-06 Thread Bastien
Hi Nicolas, thanks for looking into this. Nicolas Goaziou n.goaz...@gmail.com writes: I'm not convinced by this variable. Back-ends are usually so much different that a global variable aiming at formatting a date timestamp in any of them doesn't sound very useful. Though it may be the job

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2012-12-23 Thread Bastien
Hi Rasmus, Rasmus ras...@gmx.us writes: Would it be desirable if the new exporter took the variable org-export-date-timestamp-format into consideration when formatting dates? I think so. What do you think, Nicolas? -- Bastien

Re: [O] new exporter - subtree export and a few keywords

2012-12-21 Thread François Allisson
No answer. But I will share a trick. Good way to answer such questions is to do this: M-x find-library RET org-export RET C-s EXPORT_ and with couple of more C-s es you will end up with something like. , C-h v org-export-options-alist | KEYWORD is a string representing a buffer

Re: [O] new exporter: link abbrev

2012-12-19 Thread Michael Brand
Hi Nicolas On Tue, Dec 18, 2012 at 10:21 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: The problem should now be fixed without using any trick It is, thank you. (and no, `org-export-normalize-links' will not survive the old exporter). Thanks to your change above I like this cleanup.

Re: [O] new exporter - subtree export and a few keywords

2012-12-18 Thread Jambunathan K
François Allisson franc...@allisson.co writes: Dear org-mode users and developers, The following concerns Nicolas' new exporter.^ I am totally seduced by the concept of export by subtree, and the possibility to use properties to set the export options and parameters (i.e. :EXPORT_TITLE:,

Re: [O] new exporter: link abbrev

2012-12-18 Thread Nicolas Goaziou
Michael Brand michael.ch.br...@gmail.com writes: In the meantime I found out that I can simply add org-export-normalize-links to org-export-before-processing-hook and it seems to do what I expect. But this is probably not to be included in Org core because the (hopefully at least only basic)

Re: [O] [new exporter] ASCII export, single newline

2012-12-13 Thread Nicolas Goaziou
David Rogers davidandrewrog...@gmail.com writes: David Rogers davidandrewrog...@gmail.com writes: My plain-text notes, however, often contain single newlines, which I'd like to retain. The new ASCII exporter converts them to spaces. If I put double newlines in the original, then the exporter

Re: [O] [new exporter] ASCII export, single newline

2012-12-13 Thread David Rogers
Nicolas Goaziou n.goaz...@gmail.com writes: David Rogers davidandrewrog...@gmail.com writes: David Rogers davidandrewrog...@gmail.com writes: My plain-text notes, however, often contain single newlines, which I'd like to retain. The new ASCII exporter converts them to spaces. If I put

Re: [O] [new exporter] ASCII export, single newline

2012-12-12 Thread Nicolas Goaziou
Hello, David Rogers davidandrewrog...@gmail.com writes: My plain-text notes, however, often contain single newlines, which I'd like to retain. The new ASCII exporter converts them to spaces. If I put double newlines in the original, then the exporter doesn't convert anything, and leaves them

Re: [O] [new exporter] ASCII export, single newline

2012-12-12 Thread David Rogers
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, David Rogers davidandrewrog...@gmail.com writes: My plain-text notes, however, often contain single newlines, which I'd like to retain. The new ASCII exporter converts them to spaces. If I put double newlines in the original, then the

Re: [O] [new exporter] ASCII export, single newline

2012-12-12 Thread David Rogers
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, David Rogers davidandrewrog...@gmail.com writes: My plain-text notes, however, often contain single newlines, which I'd like to retain. The new ASCII exporter converts them to spaces. If I put double newlines in the original, then the

Re: [O] [new-exporter] Macro expansion does not allow for newlines '\n'

2012-12-07 Thread Nicolas Goaziou
Hello, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: The new exporter does not properly parse \n characters in macro definitions. In the old exporter the following: #+MACRO: test hello\ngoodbye {{{test}}} exports to ASCII as: hello goodbye In the new exporter (e-ascii)

Re: [O] new exporter: link abbrev

2012-12-06 Thread Michael Brand
Hi Nicolas On Wed, Dec 5, 2012 at 10:05 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: The second one is a more difficult problem. Org Elements usually translates links on the fly when parsing them: `org-element-link-parser' calls `org-translate-link'. This function requires

Re: [O] [new exporter] :wrap problems

2012-12-05 Thread Nicolas Goaziou
Hello, Michael Gauland mikely...@no8wireless.co.nz writes: I've run into trouble using the :wrap option with babel, with the new exporter. Using :wrap to put the result in an EXAMPLE block works consistently, but putting the result into a SRC block is inconsistent. This example: * :wrap

Re: [O] new exporter: link abbrev

2012-12-05 Thread Nicolas Goaziou
Hello, Michael Brand michael.ch.br...@gmail.com writes: I think the new exporter should still expand link abbreviations also when in the heading and for all backends. Example with html link on today’s release_7.9.2-646-g664217: - Org file: #+LINK: orgmode http://www.orgmode.org/ * Org

Re: [O] [new exporter] :wrap problems

2012-12-05 Thread Michael Gauland
Nicolas Goaziou n.goaziou at gmail.com writes: I only have time for a cursory look at the problem right now, but I notice one obvious error: :wrap src fundamental generates wrong Org syntax. It should be #+END_SRC not #+END_SRC fundamental. I assume that fixing it on the Babel side should

Re: [O] new exporter: link abbrev

2012-12-04 Thread Jambunathan K
I would like to hear Nicolas' views before someone gets too excited to put in a change. Hi all I think the new exporter should still expand link abbreviations also when in the heading and for all backends. Example with html link on today’s release_7.9.2-646-g664217: - Org file:

Re: [O] new exporter: link abbrev

2012-12-04 Thread Bastien
Hi Michael, Jambunathan K kjambunat...@gmail.com writes: I would like to hear Nicolas' views before someone gets too excited to put in a change. I do agree with Jambunathan. But let's keep this option in mind anyway. Best, -- Bastien

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-28 Thread Giovanni Ridolfi
Da: Ista Zahn istaz...@gmail.com Inviato: Martedì 27 Novembre 2012 15:55 I can't seem to get the new odt exporter working on my Windows machine at work (it works fine on Linux at home). [...] So it seems that the new exporter is not creating content.xml, or META-INF/manifest.xml. Again this

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-28 Thread Ista Zahn
On Wed, Nov 28, 2012 at 10:15 AM, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: Da: Ista Zahn istaz...@gmail.com Inviato: Martedì 27 Novembre 2012 15:55 I can't seem to get the new odt exporter working on my Windows machine at work (it works fine on Linux at home). [...] So it seems

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Rainer Stengele
Hi! I am using Windows 7 Org-mode version 7.9.2 (release_7.9.2-608-g6d01be GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN Libreoffice 3.6.1.2 Exporting works ok for me, contnet.xml is included: Saving file

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Giovanni Ridolfi
Hi, Ista, Da: Ista Zahn istaz...@gmail.com Inviato: Lunedì 26 Novembre 2012 23:44 I can't seem to get the new odt exporter working on my Windows machine at work (it works fine on Linux at home). [...] So it seems that the new exporter is not creating content.xml, or META-INF/manifest.xml.

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Ista Zahn
Hi all, On Tue, Nov 27, 2012 at 3:40 AM, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: Hi, Ista, Da: Ista Zahn istaz...@gmail.com Inviato: Lunedì 26 Novembre 2012 23:44 I can't seem to get the new odt exporter working on my Windows machine at work (it works fine on Linux at home).

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Jambunathan K
Ista Your suspicion is confirmed. If this is true, then either my understanding of `get-file-buffer' is incorrect or that `get-file-buffer' is buggy. Please let me know what I can do to help figure this out. I have filed a bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13013

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Jambunathan K
Jambunathan K kjambunat...@gmail.com writes: Ista Your suspicion is confirmed. If this is true, then either my understanding of `get-file-buffer' is incorrect or that `get-file-buffer' is buggy. Please let me know what I can do to help figure this out. I have filed a bug:

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-27 Thread Ista Zahn
Thank you, I'm currently working around this with ;; fix f'ed up windows temp directory (if (eq system-type 'windows-nt) (setq temporary-file-directory c:/tmp/) ) in my init.el, and odt export is now working as expected. Best, Ista On Tue, Nov 27, 2012 at 12:46 PM, Jambunathan K

Re: [O] New exporter (org-e-odt) not creating content.xml

2012-11-26 Thread Jambunathan K
I switched from Windows XP to a Debian few months back. I am not sure what would make content.xml disappear. Let me investigate... Meanwhile, check your messages buffer and see whether something looks suspicious. Following log is from Debian, it tells what the exporter/Emacs is doing.

Re: [O] new exporter: remove postamble in html of export subtree

2012-11-22 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: I'm trying to remove the postamble in the html-export of a subtree, and I don't know how to do it. This is what I tried: C-h v org-e-html-postamble RET #+BEGIN_SRC org :PROPERTIES:

Re: [O] new exporter: remove postamble in html of export subtree

2012-11-22 Thread Alan Schmitt
Nicolas Goaziou n.goaz...@gmail.com writes: You can't specify this option at the subtree level, because you can't specify it with neither a keyword nor an options item. The property :html-postamble is defined with the following line: (:html-postamble nil nil org-e-html-postamble) Its

Re: [O] new exporter: remove postamble in html of export subtree

2012-11-21 Thread Jambunathan K
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm trying to remove the postamble in the html-export of a subtree, and I don't know how to do it. This is what I tried: C-h v org-e-html-postamble RET #+BEGIN_SRC org :PROPERTIES: :EXPORT_OPTIONS: html-postamble:nil :END:

Re: [O] new exporter: remove postamble in html of export subtree

2012-11-21 Thread Alan Schmitt
Jambunathan K kjambunat...@gmail.com writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, I'm trying to remove the postamble in the html-export of a subtree, and I don't know how to do it. This is what I tried: C-h v org-e-html-postamble RET Yes, I had looked there as well

Re: [O] new exporter - noweb substitution issues

2012-11-20 Thread cberry
cbe...@tajo.ucsd.edu writes: When I tried to export a large subtree, it took over *5 minutes* to export with release_7.9.2-597-gd4b739. Using the contrib/lisp/*.el files from org-mode-7.8.11 it took *5 seconds*. The subtree has a couple dozen '...'s in src blocks with ':noweb yes' and the

Re: [O] [new exporter] no \caption and \label upon export of #+BEGIN_LATEX block

2012-11-13 Thread Myles English
Hi Nicolas, Thanks for your help. I am responding with a couple of points just to complete this thread, in case someone else is wondering about the same thing. Nicolas Goaziou writes: Myles English mylesengl...@gmail.com writes: I'd like to use a tikz snippet in a few different documents

Re: [O] [new exporter][texinfo] Macro definition section

2012-11-12 Thread Jonathan Leech-Pepin
Hello, On 11 November 2012 15:22, Thomas S. Dye t...@tsdye.com wrote: Aloha all, The texinfo source for the Org manual has a number of macro definitions for commands and keys between the end of the header (@finalout) and the beginning of the Copying section. The texinfo back-end for the

Re: [O] [new exporter][texinfo] Macro definition section

2012-11-12 Thread Thomas S. Dye
Aloha Jon, I'm working on an Org version of the Org manual that (hopefully) can be used to generate the required texinfo version. My goal at this point is to export a document that matches org.texi. My problem is not with the macro definitions, which can be wrapped as you point out. It is with

Re: [O] New exporter, links with images

2012-11-12 Thread Fabrice Popineau
Yes, it is ok. Thanks again, Fabrice 2012/11/9 Nicolas Goaziou n.goaz...@gmail.com Hello, Fabrice Popineau fabrice.popin...@gmail.com writes: I want to insert a link like : [[http://foo.org/bar][file:foo.jpg]] and export it to html. I assume that it should result in a clickable

Re: [O] [new exporter][texinfo] Macro definition section

2012-11-12 Thread François Pinard
t...@tsdye.com (Thomas S. Dye) writes: My goal at this point is to export a document that matches org.texi. So nice! :-) I guess I would be much happy myself if I could use Org rather than Texinfo for some of my own documents. Thanks to all involved! :-) François

Re: [O] [new exporter] empty lines in LaTeX header

2012-11-12 Thread Eric Fraga
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Eric S Fraga e.fr...@ucl.ac.uk writes: #+latex_header: \par Thanks for that. It works fine! Excellent! By the way, you may also wish to check out the progressbar beamer theme: https://github.com/cedricmauclair/beamer-progressbar

Re: [O] [New exporter][texinfo] noexport tag ignored

2012-11-11 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: #+TITLE: export-test.org #+AUTHOR:Thomas Dye #+EMAIL: t...@tsdye.com #+DATE: 2012-11-10 Sat #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t

Re: [O] [new exporter] no \caption and \label upon export of #+BEGIN_LATEX block

2012-11-10 Thread Myles English
Myles English writes: Hello, I'd like to use a tikz snippet in a few different documents and it would be convenient to be able to include it in a latex document like so: #+CAPTION: a fine figure #+NAME: figure:fine_figure #+ATTR_LaTeX: width=5cm #+BEGIN_LATEX

Re: [O] [New exporter][texinfo] noexport tag ignored

2012-11-10 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport This should be (see `org-export-options-alist'): #+SELECT_TAGS: export #+EXCLUDE_TAGS: noexport Regards, -- Nicolas Goaziou

Re: [O] [new exporter] no \caption and \label upon export of #+BEGIN_LATEX block

2012-11-10 Thread Nicolas Goaziou
Hello, Myles English mylesengl...@gmail.com writes: I'd like to use a tikz snippet in a few different documents and it would be convenient to be able to include it in a latex document like so: #+CAPTION: a fine figure #+NAME: figure:fine_figure #+ATTR_LaTeX: width=5cm #+BEGIN_LATEX

Re: [O] [New exporter][texinfo] noexport tag ignored

2012-11-10 Thread Thomas S. Dye
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, t...@tsdye.com (Thomas S. Dye) writes: #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport This should be (see `org-export-options-alist'): #+SELECT_TAGS: export #+EXCLUDE_TAGS: noexport Regards, #+TITLE:

Re: [O] [new exporter] empty lines in LaTeX header

2012-11-09 Thread Andreas Leha
Hi Sebastien, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Andreas, Andreas Leha wrote: how is it possible to add an empty line to a LaTeX header? Any empty #+latex_header: is 'stripped' from the exported document. Couldn't you use a #+begin/end_LaTeX block instead? Good

Re: [O] [new exporter] empty lines in LaTeX header

2012-11-09 Thread Andreas Leha
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, how is it possible to add an empty line to a LaTeX header? Any empty #+latex_header: is 'stripped' from the exported document. Background: I am building a beamer

Re: [O] New exporter, links with images

2012-11-08 Thread Nicolas Goaziou
Hello, Fabrice Popineau fabrice.popin...@gmail.com writes: I want to insert a link like : [[http://foo.org/bar][file:foo.jpg]] and export it to html. I assume that it should result in a clickable image. Unfortunately, some assertion fails by doing this. Thank you for reporting this. I

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Nicolas Goaziou
One problem I am having is that the exported LaTeX replaces the : with a - to become \ref{tab-niceone} which precludes the use of (e.g.) \autoref which would need to know that the thing being referenced was a table by recognising the tab:, no? I am sure there is a good reason for this, can

Re: [O] [new exporter] empty lines in LaTeX header

2012-11-07 Thread Sebastien Vauban
Hi Andreas, Andreas Leha wrote: how is it possible to add an empty line to a LaTeX header? Any empty #+latex_header: is 'stripped' from the exported document. Couldn't you use a #+begin/end_LaTeX block instead? Background: I am building a beamer presentation using the progress bar from

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: One problem I am having is that the exported LaTeX replaces the : with a - to become \ref{tab-niceone} which precludes the use of (e.g.) \autoref which would need to know that the thing being referenced was a table by recognising the tab:, no? I am sure there is a

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Nicolas Goaziou
Colons are now allowed in targets. Thanks for submitting the suggestion. Regards, -- Nicolas Goaziou

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-07 Thread Myles English
Nicolas Goaziou writes: Colons are now allowed in targets. Thanks for submitting the suggestion. Thanks a lot Nicolas. In case anyone else finds this useful, here is the filter I'll use to replace \ref with \autoref: (defun my-autoref-filter-link-func (output backend info) (when

Re: [O] [new exporter] empty lines in LaTeX header

2012-11-07 Thread Eric S Fraga
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, how is it possible to add an empty line to a LaTeX header? Any empty #+latex_header: is 'stripped' from the exported document. Background: I am building a beamer presentation using the progress bar from

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-06 Thread Myles English
Hi Nicolas, Nicolas Goaziou writes: Myles English mylesengl...@gmail.com writes: [..] So, the label tab:niceone exports as \label{tab-niceone}. Is that right or am I using the wrong syntax somewhere? The correct syntax is: [[tab:niceone]] It will allow to move back and forth

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Nicolas Goaziou
Hello, Myles English mylesengl...@gmail.com writes: If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L gives me: \begin{table}[htb] \caption[Here is a table]{\label{tab-niceone}A

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-05 Thread Carsten Dominik
On 5 nov. 2012, at 23:18, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Myles English mylesengl...@gmail.com writes: If my org file has: #+CAPTION[Here is a table]: A nice table #+NAME: tab:niceone | a | Look at my \ref{tab:niceone}. then M-x org-export-dispatch l L

Re: [O] (new exporter) itemized lists converted from deep headlines should not be numbered

2012-11-02 Thread Hsiu-Khuern Tang
* On Fri 11:22AM, 02 Nov 2012, Hsiu-Khuern Tang (tan...@gmail.com) wrote: I get -- 1 First level = * 1.1 Second level Something -- I'd prefer * Second level without the 1.1 label, just like with the old

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nicolas Goaziou
Hello, Nick Dokos nicholas.do...@hp.com writes: Michael Gauland mikely...@no8wireless.co.nz wrote: Nicolas Goaziou n.goaziou at gmail.com writes: I just tried with a minimal init and it worked. Could you send the example you're trying to export? The file is below. With a minimal

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Achim Gratz
Nicolas Goaziou writes: {{{date(%c)}}} is another macro that is replaced with the #+DATE: value during export. Since you try to replace #+DATE: value with itself, you dive into an inf loop. Which raises the question if this shouldn't be detected and prevented, at least if direct recursion is

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Michael Gauland
On 30/10/12 20:14, Nicolas Goaziou wrote: This is {{{time(...)}}}, not {{{date(...)}}}. {{{date(%c)}}} is another macro that is replaced with the #+DATE: value during export. Since you try to replace #+DATE: value with itself, you dive into an inf loop. I think I understand what's going on

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: {{{date(%c)}}} is another macro that is replaced with the #+DATE: value during export. Since you try to replace #+DATE: value with itself, you dive into an inf loop. Which raises the question if this shouldn't be detected

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nicolas Goaziou
Michael Gauland mikely...@no8wireless.co.nz writes: I think I understand what's going on now, but I'm still at a loss as to how to get the date I want. Can I tell the exporter that the date on the document should be derived from the current time (or the last modification time), formatted a

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Eric S Fraga
Nick Dokos nicholas.do...@hp.com writes: With a minimal file, I get a cpu pegged at 100% with no end in sight. Setting debug-on-quit and C-g gives me the following backtrace. I get this same problem (100% cpu) if I use the date macro in the #+DATE line; I don't get this if I use the

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Michael Gauland
On 30/10/12 22:29, Nicolas Goaziou wrote: Doesn't #+DATE: {{{time(%Y-%m-%d %H:%M)}}} get you what you expect? That gives me an empty date string. signature.asc Description: OpenPGP digital signature

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nick Dokos
Michael Gauland mikely...@no8wireless.co.nz wrote: On 30/10/12 22:29, Nicolas Goaziou wrote: Doesn't #+DATE: {{{time(%Y-%m-%d %H:%M)}}} get you what you expect? That gives me an empty date string. Works for me. Nick PS Re: the infinite loop with date() - D'oh! That's what I

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nicolas Goaziou
Hello, Nick Dokos nicholas.do...@hp.com writes: Michael Gauland mikely...@no8wireless.co.nz wrote: On 30/10/12 22:29, Nicolas Goaziou wrote: Doesn't #+DATE: {{{time(%Y-%m-%d %H:%M)}}} get you what you expect? That gives me an empty date string. Works for me. I also get a

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Eric S Fraga
Nicolas Goaziou n.goaz...@gmail.com writes: Michael Gauland mikely...@no8wireless.co.nz writes: How can I set #+DATE to get an equivalent result? Doesn't #+DATE: {{{time(%Y-%m-%d %H:%M)}}} Works perfectly fine for me. And thanks for the explanation of the cause of the inf-loop! The

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Nicolas Goaziou
Eric S Fraga e.fr...@ucl.ac.uk writes: The problem with the inf-loop now makes sense but the documentation implies otherwise: , | Also, | `{{{date(FORMAT)}}}' and `{{{modification-time(FORMAT)}}}' refer to | current date time and to the modification time of the file being ` I

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-30 Thread Michael Gauland
Nicolas Goaziou n.goaziou at gmail.com writes: Hello, Nick Dokos nicholas.dokos at hp.com writes: Works for me. I also get a correct date with it, even with a minimal set-up. Well, this is embarassing. I tackled it fresh, after a cup of coffee (for me) and a re-start (emacs), and

Re: [O] New exporter: no custom timestamps

2012-10-29 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: Done. I've also added :repeater-unit for good measure. Great, thanks! -- Bastien

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-29 Thread Nicolas Goaziou
Hello, Michael Gauland mikely...@no8wireless.co.nz writes: When I provide a format string to the #+DATE: option, the old LaTeX exporter correctly uses it to format the current date; the new exporter just uses the format string for the date. I wasn't aware of that feature. Though, I don't

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-29 Thread Michael Gauland
Nicolas Goaziou n.goaziou at gmail.com writes: On the other hand, you have a hard-coded macro to solve this problem: #+DATE: {{{time(%c)}}} It will work across every back-end (but you need the latest Org version, since I recently to fixed a bug related to it). Thanks--that will do

Re: [O] [new exporter] Date format string not handled for LaTeX export

2012-10-29 Thread Nicolas Goaziou
Michael Gauland mikely...@no8wireless.co.nz writes: Nicolas Goaziou n.goaziou at gmail.com writes: On the other hand, you have a hard-coded macro to solve this problem: #+DATE: {{{time(%c)}}} It will work across every back-end (but you need the latest Org version, since I recently to

<    1   2   3   4   5   6   >