emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Two questions about org-export-insert-default-template in new or


From: Rasmus
Subject: Re: [O] Two questions about org-export-insert-default-template in new org-exporter
Date: Tue, 04 Jun 2013 20:02:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Robert Goldman <address@hidden> writes:

> 1.  The original org-insert-export-options-template always inserted the
> template at the top of the file.  The new one inserts at point.  Since
> the options need to be at the top of the file, would there be any
> objection to making the new template inserter behave the same way?

I can't reproduce your claim on Org v8.03.

For instance this works great with html and LaTeX.

#+BEGIN_SRC org
* TODO my topic 
this is my documents with garbage in the bottom 
* hide the boring stuff          :noexport:
#+TITLE: my boring title
#+AUTHOR: my boring name 
#+DATE: Another day at the office
#+OPTIONS: toc:nil todo:nil
#+END_SRC

> 2.  Users can directly issue this command using M-x
> org-export-insert-default-template, since it's tagged as (interactive).
>  Since this is possible, wouldn't it make sense to have the function
> query for the BACKEND argument when invoked interactively?

Use the export dispatcher.  C-e # or C-e l # (for LaTeX).

–Rasmus

-- 
Enough with the bla bla!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]