[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [ox, patch] Add #+SUBTITLE
From: |
Rasmus |
Subject: |
Re: [O] [ox, patch] Add #+SUBTITLE |
Date: |
Sun, 22 Mar 2015 16:29:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Nicolas,
I'm a bit confused by your message.
Nicolas Goaziou <address@hidden> writes:
> However, I think porting this feature to back-ends that do not support
> it out of the box is pushing too hard.
In the patch there's ox-latex where e.g. KOMA-Script has as
subtitle-macro. ox-html, ox-ascii, ox-odt all are pretty liberate formats
in terms of what elements are supported.
> Back-ends developers should try hard to support features defined in
> "ox.el" (in particular in `org-export-options-alist'). However, all
> back-ends are free to implement their specific keywords without adding
> burden on other libraries. "ox-texinfo" supports #+SUBAUTHOR, should we
> add it everywhere? I don't think so.
OK. ox and org-element shouldn't be touched by the patch.
> This is why I suggested to move KEYWORD and DESCRIPTION outside of
> "ox.el", as they cannot be ported to all back-ends without relying on
> dubious markup.
Yeah, I still have a patch for that... I still have to do the
documentation changes.
> Now, if SUBTITLE is a feature desperately needed everywhere, which can
> be discussed, it should be moved to "ox.el" and probably
> `org-element-document-keywords'. IMO, this is not necessary. SUBTITLE
> should be kept for back-ends that can handle it.
IMO it is. The only place where there's a "hack" is in ox-latex and
that's cause article is the default class. If you prefer, it can just
output to the \subtitle{·} by default and say it's KOMA-script only. That
seems harsh, though.
> As a side note, "ox-texinfo" doesn't parse SUBTITLE. You might want to
> change it and update manual accordingly.
The patch doesn't touch ox-texinfo. I don't mind fixing that bug, though.
—Rasmus
--
Hvor meget poesi tror De kommer ud af et glas isvand?
- [O] [ox, patch] Add #+SUBTITLE, Rasmus, 2015/03/20
- Re: [O] [ox, patch] Add #+SUBTITLE, Marcin Borkowski, 2015/03/20
- Re: [O] [ox, patch] Add #+SUBTITLE, Nicolas Goaziou, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE,
Rasmus <=
- Re: [O] [ox, patch] Add #+SUBTITLE, Marcin Borkowski, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, Thomas S. Dye, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, John Williams, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, Rasmus, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, Marcin Borkowski, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, Rasmus, 2015/03/22
- Re: [O] [ox, patch] Add #+SUBTITLE, Marcin Borkowski, 2015/03/23
- Re: [O] [ox, patch] Add #+SUBTITLE, Sebastien Vauban, 2015/03/23
- Re: [O] [ox, patch] Add #+SUBTITLE, Nicolas Goaziou, 2015/03/24
- Re: [O] [ox, patch] Add #+SUBTITLE, Rasmus, 2015/03/24