Re: [O] Suggestion: Export templates: use drawers to group

2016-09-19 Thread Rainer M Krug
Nicolas Goaziou  writes:

> Hello,
>
> Rainer M Krug  writes:
>
>> If I have many headers in a document, it is easy to loose the overview
>> for me.
>>
>> So I started to use drawers:
>>
>> :OPTIONS:
>> ...
>> :END:
>>
>> :LATEX:
>> 
>> :END:
>>
>> :BABEL:
>> ...
>> :END:
>>
>> and have only the "standard" content type options open (DESCRIPTION,
>> KEYWORDS, SUBTITLE, DATE, AUTHOR, ...)
>>
>> Would this be something to include into the templates which can be
>> inserted (C-e C-L #)? This would make it much easier to work with these
>> options.
>
> Do you suggest that `org-export-insert-default-template' should group
> options within drawers by default?

Yes - that was my idea.

>
> If so, I'm not too keen of the idea of imposing drawers to the user.

My reasoning is that it makes organizing options easier and that users
get introduced into the idea of using dawers.

> Besides, templates are already separated by back-end so you can insert
> them within pre-created drawers already. 

True - it is not difficult, but might be more intuitive and lead to
easier readable options.

>
> There is no "babel" or "options" category, though. I guess we could
> create them, if needed.

No - I don't think they are needed, as there are many different use
cases for babel - but thinking about it, it might be an idea to insert
the most widely used options for babel and set them at their default
values - so documents become more robust and the options become
introduced to the user.

Cheers,

Rainer


>
> Regards,

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] Suggestion: Export templates: use drawers to group

2016-09-17 Thread Nicolas Goaziou
Hello,

Rainer M Krug  writes:

> If I have many headers in a document, it is easy to loose the overview
> for me.
>
> So I started to use drawers:
>
> :OPTIONS:
> ...
> :END:
>
> :LATEX:
> 
> :END:
>
> :BABEL:
> ...
> :END:
>
> and have only the "standard" content type options open (DESCRIPTION,
> KEYWORDS, SUBTITLE, DATE, AUTHOR, ...)
>
> Would this be something to include into the templates which can be
> inserted (C-e C-L #)? This would make it much easier to work with these
> options.

Do you suggest that `org-export-insert-default-template' should group
options within drawers by default?

If so, I'm not too keen of the idea of imposing drawers to the user.
Besides, templates are already separated by back-end so you can insert
them within pre-created drawers already. 

There is no "babel" or "options" category, though. I guess we could
create them, if needed.

Regards,

-- 
Nicolas Goaziou



[O] Suggestion: Export templates: use drawers to group

2016-09-16 Thread Rainer M Krug
Hi

If I have many headers in a document, it is easy to loose the overview
for me.

So I started to use drawers:

:OPTIONS:
...
:END:

:LATEX:

:END:

:BABEL:
...
:END:

and have only the "standard" content type options open (DESCRIPTION,
KEYWORDS, SUBTITLE, DATE, AUTHOR, ...)

Would this be something to include into the templates which can be
inserted (C-e C-L #)? This would make it much easier to work with these
options.

Cheers,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature