emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Suggestion: Export templates: use drawers to group
@ 2016-09-16 11:57 Rainer M Krug
  2016-09-17  8:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2016-09-16 11:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

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:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion: Export templates: use drawers to group
  2016-09-16 11:57 Suggestion: Export templates: use drawers to group Rainer M Krug
@ 2016-09-17  8:51 ` Nicolas Goaziou
  2016-09-19  7:12   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-09-17  8:51 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs-orgmode

Hello,

Rainer M Krug <Rainer@krugs.de> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Suggestion: Export templates: use drawers to group
  2016-09-17  8:51 ` Nicolas Goaziou
@ 2016-09-19  7:12   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2016-09-19  7:12 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Rainer M Krug <Rainer@krugs.de> 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: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-19  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-16 11:57 Suggestion: Export templates: use drawers to group Rainer M Krug
2016-09-17  8:51 ` Nicolas Goaziou
2016-09-19  7:12   ` Rainer M Krug

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).