[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-exp-bibtex missing in git?
From: |
Bastien |
Subject: |
Re: [O] org-exp-bibtex missing in git? |
Date: |
Thu, 07 Mar 2013 16:28:46 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Nicolas,
I like Aaron's idea (maybe others proposed this too) of having
parameters in links:
[[file:my.bib::key&&prenote=my prenote&&postnote=my postnote]]
[[http://perdu.com&&title=You're lost?]]
This is orthogonal to my proposal of extending #+LINK to be able
to define new protocols (by allowing to add a follow and an export
functions); and this is orthogonal to whether link abbrevs can have
more than one formatting string %s.
We would just need to pass the parameters as keywords to the export
function, either the default one, either the defined by the protocol.
E.g., the first link would be represented by the parser like this:
(:type "file"
:path "my.bib"
:raw-link "file:orgmode.org::test2"
:application nil
:search-option "test2"
:parameters '(:title "You're lost")
:begin 63
:end 97
:contents-begin 90
:contents-end 95
:post-blank 0
:parent #3)
Then org-html-link would get the parameters with
(org-element-property :parameters link)
=> '(:title "You're lost")
I think this is general and useful.
If we implement this, it would be nice to extend link abbrevs to
support multiple formatters in `org-link-abbrev-alist'.
#+LINK: citeA file:my.bib::%s&&prenote=%s&&postnote=%s
And this would spare us for the need of another object dedicated
to bibliographic citations:
[[citeA::key&&prenote=my note&&postnote=my note]]
What do you think?
--
Bastien
- Re: [O] org-exp-bibtex missing in git?, (continued)
- Re: [O] org-exp-bibtex missing in git?, aaronecay, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Eric S Fraga, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Bastien, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Aaron Ecay, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Bastien, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Aaron Ecay, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Nicolas Goaziou, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?,
Bastien <=
- Re: [O] org-exp-bibtex missing in git?, Achim Gratz, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Bastien, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Achim Gratz, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Rasmus Pank Roulund, 2013/03/08
- Re: [O] org-exp-bibtex missing in git?, Rasmus, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Thomas S. Dye, 2013/03/07
- Re: [O] org-exp-bibtex missing in git?, Rasmus, 2013/03/08
- Re: [O] org-exp-bibtex missing in git?, Thomas S. Dye, 2013/03/08
- Re: [O] org-exp-bibtex missing in git?, aaronecay, 2013/03/08
- Re: [O] org-exp-bibtex missing in git?, Rasmus, 2013/03/08