[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [patch, ox-latex] better hyperref and title options
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [patch, ox-latex] better hyperref and title options |
Date: |
Sun, 15 Feb 2015 11:49:21 +0100 |
Hello,
Rasmus <address@hidden> writes:
> Nicolas Goaziou <address@hidden> writes:
>
>>> + (?k . ,(or (plist-get info :keywords) ""))
>>> + (?d . ,(or (plist-get info :description) ""))
>
> So it occurred to me that these should also be exported to proper syntax
> so we don't end up with e.g. a raw $ or & in our latex document. Hyperref
> will actually handle it, but usually by discarding offending characters.
>
> However, since they are plain strings something like \alpha will be
> exported as $\backslash$lpha. I can kind of get it interpreting using
> org-element-parse-secondary-string, but this is not the right
> approach.
Why isn't it the right approach?
> Is there a reason why DESCRIPTION and KEYWORDS can't have formatting?
DESCRIPTION could be moved to `org-element-document-properties'. But
then, we need to introduce `org-export-with-description', which implies
export back-ends have to deal with it somehow (ATM "ox-ascii" ignores
it).
Another option is to simply remove DESCRIPTION from "ox.el" and let
export back-ends in need of it to add it to their definition.
However, I don't see why KEYWORDS should accept markup. I also think it
should be moved to back-end definitions instead of "ox.el".
Regards,
--
Nicolas Goaziou
- [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/11
- Re: [O] [patch, ox-latex] better hyperref and title options, Nicolas Goaziou, 2015/02/12
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/14
- Re: [O] [patch, ox-latex] better hyperref and title options,
Nicolas Goaziou <=
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/15
- Re: [O] [patch, ox-latex] better hyperref and title options, Nicolas Goaziou, 2015/02/15
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/15
- Re: [O] [patch, ox-latex] better hyperref and title options, Nicolas Goaziou, 2015/02/15
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/15
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/18
- Re: [O] [patch, ox-latex] better hyperref and title options, Nicolas Goaziou, 2015/02/19
- Re: [O] [patch, ox-latex] better hyperref and title options, Rasmus, 2015/02/19
- Re: [O] [patch, ox-latex] better hyperref and title options, Nicolas Goaziou, 2015/02/19