Nicolas Goaziou <n.goaz...@gmail.com> writes: > Hello, > > Eric Schulte <schulte.e...@gmail.com> writes: > >> I'd like to add a new option to the LaTeX backend from a contrib/ >> package so that it can be set with a #+ keyword. Is this possible? If >> so how would one go about making this change. If not what's the best >> way to add a new optional value to an existing backend (to be used by a >> new link exporting function and/or the >> org-export-before-parsing-hook). > > It really depends on what you need. I don't get your example. What would > that option do? > > Anyway, you can use defadvice (see "ox-bibtex.el") to alter the > behaviour of an existing back-end. >
Hi Nicolas, Thanks! I was not aware that ox-bibtex.el existed, this accomplishes exactly the use case I had in mind. I've just pushed up two very small changes to ox-bibtex. 1. The cite link following function falls back to obe-goto-citation if ebib is not fbound, and 2. `org-bibtex-process-bib-files' is only called on HTML export, so bibtex2html is not a requirement of ox-bibtex if used for latex export only. Best, > > > Regards, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D