[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Citation syntax: a revised proposal
From: |
Rasmus |
Subject: |
Re: [O] Citation syntax: a revised proposal |
Date: |
Sun, 01 Mar 2015 22:31:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi,
Nicolas Goaziou <address@hidden> writes:
>> That would be wonderful! Will you publish a patch or, better, a branch
>> somewhere, even if it's not ready for master?
>
> I created a new branch: "wip-cite". It introduces support for @key
> address@hidden [cite:pre @key post] and [(cite):pre @key post] constructs.
Cool. I'll check it out.
> However, opinion from advanced citation users on this ML has more weight
> that mine. Instead of trying to figure out hypothetical crazy uses for
> citations (e.g., using 50 different citation commands), I'd rather hear
> from people with real citation requirements who are willing to use this
> machinery.
I use a similar setup and beside the above I use citeauthor a lot.
Cite/(cite) covers something like 80% of my needs, but (later) I think
something like org-cite-add-new-subtype should be there. With a nice API.
Or we can add a couple of more subtypes.
> At this point, we probably need to implement a BIBLIOGRAPHY keyword
> (files) and BIBLIOGRAPHY_BACKEND (bibtex, zotero, jabref...) and provide
> basic tools to handle citations in an Org document.
Probably a CITATION_STYLE as well, e.g. "numeric", "author-year", etc.
I'll try to look at biblatex support for ox-latex, which should be the
easiest target, but ATM I'm a bit busy. For bibtex-outside-of-latex,
reftex-cite.el is decent, but not great¹. Still, it may be easier to fix
it up that to write our own bibtex parser.
Or did John already solve this problem? Perhaps, org-bibtex offer good
support for parsing data?
Note, something like author-parsing is non-trivial, since bibtex both
support firstname lastname and lastname, firstname. Further, for
author-year style, you'd sometimes want to support no. of authors (see %a
in reftex-format-citation).
I have noticed tex4ht manages to do "proper" citations in odt. Perhaps we
can study the resulting xml and how it adds a entries. Formatting is
tricky... Perhaps only zotero is useful here.
Latexml has some support for bibtex in html, but I haven't studied it
properly. In any case for author-year html is "easy" up to the point of
creating the bibliography (as with odt).
Cheers,
Rasmus
Footnotes:
¹ E.g. if curly brackets are not removed from year it will
include it, it only understands "lastname, firstname" for author (not
"firstname lastname") etc.
--
The Kids call him Billy the Saint
- Re: [O] Citation syntax: a revised proposal, Nicolas Goaziou, 2015/03/01
- Re: [O] Citation syntax: a revised proposal,
Rasmus <=
- Re: [O] Citation syntax: a revised proposal, Thomas S. Dye, 2015/03/01
- Re: [O] Citation syntax: a revised proposal, Thomas S. Dye, 2015/03/01
- Re: [O] Citation syntax: a revised proposal, Aaron Ecay, 2015/03/02
- Re: [O] Citation syntax: a revised proposal, Rasmus, 2015/03/02
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/03/02
- Re: [O] Citation syntax: a revised proposal, Avram Lyon, 2015/03/03
- Re: [O] Citation syntax: a revised proposal, Richard Lawrence, 2015/03/03
- Re: [O] Citation syntax: a revised proposal, Avram Lyon, 2015/03/03