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: Jonathan Leech-Pepin
Subject: Re: [O] Two questions about org-export-insert-default-template in new org-exporter
Date: Tue, 04 Jun 2013 14:19:15 -0400
User-agent: mu4e 0.9.9.5; emacs 24.3.1

Hello,

Rasmus writes:

> 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
>

I don't remember this being the case in previous versions either, I
usually had something along the lines of

#+BEGIN_SRC org
* Configuration 

>> 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




reply via email to

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