* should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
@ 2021-07-19 16:07 John Kitchin
2021-07-19 16:18 ` Bruce D'Arcus
2021-07-20 0:01 ` Vikas Rawal
0 siblings, 2 replies; 11+ messages in thread
From: John Kitchin @ 2021-07-19 16:07 UTC (permalink / raw)
To: org-mode-email
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
The org-cite-list-bibliography-files function in oc.el returns a
combination of file-local files and the bibfiles defined
in org-cite-global-bibliography.
It seems like that should not be the case, i.e. if you define BIBLIOGRAPHY
keywords it means you do not want to use the ones
in org-cite-global-bibliography. Is there a scenario where the union of
those makes sense?
John
-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
[-- Attachment #2: Type: text/html, Size: 949 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 16:07 should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography? John Kitchin
@ 2021-07-19 16:18 ` Bruce D'Arcus
2021-07-20 0:01 ` Vikas Rawal
1 sibling, 0 replies; 11+ messages in thread
From: Bruce D'Arcus @ 2021-07-19 16:18 UTC (permalink / raw)
To: John Kitchin; +Cc: org-mode-email
I was wondering about this the other day too, and am not sure.
It can actually be a problem, and has been for me, if you're mixing
export processors; like biblatex, and CSL (which is best to use with
json currently).
So I definitely see a downside currently, and can't think of a problem
in changing this.
If someone else can, maybe it should be configurable?
Along these lines, it might be nice if we could choose which global
file(s) or extensions for which processor.
On Mon, Jul 19, 2021 at 12:07 PM John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>
> The org-cite-list-bibliography-files function in oc.el returns a combination of file-local files and the bibfiles defined in org-cite-global-bibliography.
>
> It seems like that should not be the case, i.e. if you define BIBLIOGRAPHY keywords it means you do not want to use the ones in org-cite-global-bibliography. Is there a scenario where the union of those makes sense?
>
> John
>
> -----------------------------------
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 16:07 should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography? John Kitchin
2021-07-19 16:18 ` Bruce D'Arcus
@ 2021-07-20 0:01 ` Vikas Rawal
2021-07-20 0:52 ` Thomas S. Dye
1 sibling, 1 reply; 11+ messages in thread
From: Vikas Rawal @ 2021-07-20 0:01 UTC (permalink / raw)
To: John Kitchin; +Cc: org-mode-email
> It seems like that should not be the case, i.e. if you define BIBLIOGRAPHY
> keywords it means you do not want to use the ones
> in org-cite-global-bibliography. Is there a scenario where the union of those
> makes sense?
I second this. The local bibliographies should supercede the global.
Vikas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-20 0:01 ` Vikas Rawal
@ 2021-07-20 0:52 ` Thomas S. Dye
2021-07-20 1:42 ` Bruce D'Arcus
2021-07-20 8:03 ` Eric S Fraga
0 siblings, 2 replies; 11+ messages in thread
From: Thomas S. Dye @ 2021-07-20 0:52 UTC (permalink / raw)
To: emacs-orgmode; +Cc: John Kitchin
I used to have a global bibliography that my employees all used.
Every project also had a local bibliography for citations that
didn't appear in the global bibliography. At the end of a
project, after the editor had cleaned up the local bibliography,
I'd merge it with the global bibliography using a utility called
bibtool.
hth,
Tom
Vikas Rawal <vikasrawal@gmail.com> writes:
>> It seems like that should not be the case, i.e. if you define
>> BIBLIOGRAPHY
>> keywords it means you do not want to use the ones
>> in org-cite-global-bibliography. Is there a scenario where the
>> union of those
>> makes sense?
>
> I second this. The local bibliographies should supercede the
> global.
>
> Vikas
--
Thomas S. Dye
https://tsdye.online/tsdye
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-20 0:52 ` Thomas S. Dye
@ 2021-07-20 1:42 ` Bruce D'Arcus
2021-07-20 8:03 ` Eric S Fraga
1 sibling, 0 replies; 11+ messages in thread
From: Bruce D'Arcus @ 2021-07-20 1:42 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: org-mode-email, John Kitchin
As Emmenuel pointed out, we missed that Nicolas already thought of
this, and you can do this:
#+org-cite-global-bibliography: nil
With that, there's no problem, and lots of flexibility.
On Mon, Jul 19, 2021 at 8:53 PM Thomas S. Dye <tsd@tsdye.online> wrote:
>
> I used to have a global bibliography that my employees all used.
> Every project also had a local bibliography for citations that
> didn't appear in the global bibliography. At the end of a
> project, after the editor had cleaned up the local bibliography,
> I'd merge it with the global bibliography using a utility called
> bibtool.
>
> hth,
> Tom
>
> Vikas Rawal <vikasrawal@gmail.com> writes:
>
> >> It seems like that should not be the case, i.e. if you define
> >> BIBLIOGRAPHY
> >> keywords it means you do not want to use the ones
> >> in org-cite-global-bibliography. Is there a scenario where the
> >> union of those
> >> makes sense?
> >
> > I second this. The local bibliographies should supercede the
> > global.
> >
> > Vikas
>
>
> --
> Thomas S. Dye
> https://tsdye.online/tsdye
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-20 0:52 ` Thomas S. Dye
2021-07-20 1:42 ` Bruce D'Arcus
@ 2021-07-20 8:03 ` Eric S Fraga
1 sibling, 0 replies; 11+ messages in thread
From: Eric S Fraga @ 2021-07-20 8:03 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: emacs-orgmode, John Kitchin
On Monday, 19 Jul 2021 at 14:52, Thomas S. Dye wrote:
> I used to have a global bibliography that my employees all used. Every
> project also had a local bibliography for citations that didn't appear
> in the global bibliography. At the end of a project, after the editor
> had cleaned up the local bibliography, I'd merge it with the global
> bibliography using a utility called bibtool.
Just to add that I do the same. However, I would have no problem with
local settings overriding the global setting as I would simply add the
global bibliography to the local setting.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-598-g604bfd
: Latest paper written in org: https://arxiv.org/abs/2106.05096
^ permalink raw reply [flat|nested] 11+ messages in thread
* should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
@ 2021-07-19 17:29 CHARPENTIER Emmanuel via General discussions about Org-mode.
2021-07-19 17:40 ` Bruce D'Arcus
0 siblings, 1 reply; 11+ messages in thread
From: CHARPENTIER Emmanuel via General discussions about Org-mode. @ 2021-07-19 17:29 UTC (permalink / raw)
To: bdarcus@gmail.com, jkitchin@andrew.cmu.edu; +Cc: emacs-orgmode@gnu.org
> It seems like that should not be the case, i.e. if you define
> BIBLIOGRAPHY keywords it means you do not want to use the ones in
> org-cite-global-bibliography. Is there a scenario where the union of
> those makes sense?
Yes indeed: you may have
- A library for background issues (e. g. methodology)
- A (or several) subject matter-specific library (e. g. a
subdiscipline, a method, etc...)
- A library specific to the question you are discussing (e. g.
results of a bibliographic search specific to your question).
The first one is a perfect target for org-cite-global-bibliography. The
last one is of course a target for #+BIBLIOGRAPHY ; I'd tend to let the
subject matter library as a file-specific #+BIBLIOGRAPHY (my subject
matters tend to vary...), but this depends on your field.
You may also think of this typology as books, reviews and research
papers respectively...
HTH,
--
Emmanuel Charpentier
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 17:29 CHARPENTIER Emmanuel via General discussions about Org-mode.
@ 2021-07-19 17:40 ` Bruce D'Arcus
2021-07-19 17:54 ` John Kitchin
0 siblings, 1 reply; 11+ messages in thread
From: Bruce D'Arcus @ 2021-07-19 17:40 UTC (permalink / raw)
To: CHARPENTIER Emmanuel; +Cc: emacs-orgmode@gnu.org, jkitchin@andrew.cmu.edu
Yes, you're right Emmanuel.
I guess this goes back to my file type/extension issue then.
I do expect this to be a non-issue in time though, as related packages
update to fully support all three common input formats.
On Mon, Jul 19, 2021 at 1:29 PM CHARPENTIER Emmanuel
<emmanuel.charpentier@aphp.fr> wrote:
>
> > It seems like that should not be the case, i.e. if you define
> > BIBLIOGRAPHY keywords it means you do not want to use the ones in
> > org-cite-global-bibliography. Is there a scenario where the union of
> > those makes sense?
>
> Yes indeed: you may have
> - A library for background issues (e. g. methodology)
> - A (or several) subject matter-specific library (e. g. a
> subdiscipline, a method, etc...)
> - A library specific to the question you are discussing (e. g.
> results of a bibliographic search specific to your question).
>
> The first one is a perfect target for org-cite-global-bibliography. The
> last one is of course a target for #+BIBLIOGRAPHY ; I'd tend to let the
> subject matter library as a file-specific #+BIBLIOGRAPHY (my subject
> matters tend to vary...), but this depends on your field.
>
> You may also think of this typology as books, reviews and research
> papers respectively...
>
> HTH,
>
> --
> Emmanuel Charpentier
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 17:40 ` Bruce D'Arcus
@ 2021-07-19 17:54 ` John Kitchin
2021-07-19 18:06 ` Bruce D'Arcus
2021-07-19 18:07 ` CHARPENTIER Emmanuel via General discussions about Org-mode.
0 siblings, 2 replies; 11+ messages in thread
From: John Kitchin @ 2021-07-19 17:54 UTC (permalink / raw)
To: Bruce D'Arcus; +Cc: CHARPENTIER Emmanuel, emacs-orgmode@gnu.org
That doesn't seem consistent with other ways that file-local keywords
are used though, and it would lead (for me anyway) to citing unintended
references (and including unintended bib files in the export) if there is
only one bibliography file that should be used for a document.
Maybe a reasonable compromise is something like
#+bibliography: :local t
which could indicate not to use the global variable.
Bruce D'Arcus <bdarcus@gmail.com> writes:
> Yes, you're right Emmanuel.
>
> I guess this goes back to my file type/extension issue then.
>
> I do expect this to be a non-issue in time though, as related packages
> update to fully support all three common input formats.
>
> On Mon, Jul 19, 2021 at 1:29 PM CHARPENTIER Emmanuel
> <emmanuel.charpentier@aphp.fr> wrote:
>>
>> > It seems like that should not be the case, i.e. if you define
>> > BIBLIOGRAPHY keywords it means you do not want to use the ones in
>> > org-cite-global-bibliography. Is there a scenario where the union of
>> > those makes sense?
>>
>> Yes indeed: you may have
>> - A library for background issues (e. g. methodology)
>> - A (or several) subject matter-specific library (e. g. a
>> subdiscipline, a method, etc...)
>> - A library specific to the question you are discussing (e. g.
>> results of a bibliographic search specific to your question).
>>
>> The first one is a perfect target for org-cite-global-bibliography. The
>> last one is of course a target for #+BIBLIOGRAPHY ; I'd tend to let the
>> subject matter library as a file-specific #+BIBLIOGRAPHY (my subject
>> matters tend to vary...), but this depends on your field.
>>
>> You may also think of this typology as books, reviews and research
>> papers respectively...
>>
>> HTH,
>>
>> --
>> Emmanuel Charpentier
>>
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
Pronouns: he/him/his
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 17:54 ` John Kitchin
@ 2021-07-19 18:06 ` Bruce D'Arcus
2021-07-19 18:07 ` CHARPENTIER Emmanuel via General discussions about Org-mode.
1 sibling, 0 replies; 11+ messages in thread
From: Bruce D'Arcus @ 2021-07-19 18:06 UTC (permalink / raw)
To: John Kitchin; +Cc: CHARPENTIER Emmanuel, emacs-orgmode@gnu.org
On Mon, Jul 19, 2021 at 1:54 PM John Kitchin <jkitchin@andrew.cmu.edu> wrote:
> Maybe a reasonable compromise is something like
>
> #+bibliography: :local t
>
> which could indicate not to use the global variable.
I like it!
Bruce
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography?
2021-07-19 17:54 ` John Kitchin
2021-07-19 18:06 ` Bruce D'Arcus
@ 2021-07-19 18:07 ` CHARPENTIER Emmanuel via General discussions about Org-mode.
1 sibling, 0 replies; 11+ messages in thread
From: CHARPENTIER Emmanuel via General discussions about Org-mode. @ 2021-07-19 18:07 UTC (permalink / raw)
To: bdarcus@gmail.com, jkitchin@andrew.cmu.edu; +Cc: emacs-orgmode@gnu.org
Le lundi 19 juillet 2021 à 13:54 -0400, John Kitchin a écrit :
> That doesn't seem consistent with other ways that file-local keywords
> are used though, and it would lead (for me anyway) to citing
> unintended
> references (and including unintended bib files in the export) if
> there is
> only one bibliography file that should be used for a document.
You mean you want to do something like \nocite{*} ?
>
> Maybe a reasonable compromise is something like
>
> #+bibliography: :local t
>
> which could indicate not to use the global variable.
No need :
# Local Variables:
# org-cite-global-bibliography: nil
# End:
>
>
>
> Bruce D'Arcus <bdarcus@gmail.com> writes:
>
> > Yes, you're right Emmanuel.
> >
> > I guess this goes back to my file type/extension issue then.
> >
> > I do expect this to be a non-issue in time though, as related
> > packages
> > update to fully support all three common input formats.
> >
> > On Mon, Jul 19, 2021 at 1:29 PM CHARPENTIER Emmanuel
> > <emmanuel.charpentier@aphp.fr> wrote:
> > >
> > > > It seems like that should not be the case, i.e. if you define
> > > > BIBLIOGRAPHY keywords it means you do not want to use the ones
> > > > in
> > > > org-cite-global-bibliography. Is there a scenario where the
> > > > union of
> > > > those makes sense?
> > >
> > > Yes indeed: you may have
> > > - A library for background issues (e. g. methodology)
> > > - A (or several) subject matter-specific library (e. g. a
> > > subdiscipline, a method, etc...)
> > > - A library specific to the question you are discussing (e. g.
> > > results of a bibliographic search specific to your question).
> > >
> > > The first one is a perfect target for org-cite-global-
> > > bibliography. The
> > > last one is of course a target for #+BIBLIOGRAPHY ; I'd tend to
> > > let the
> > > subject matter library as a file-specific #+BIBLIOGRAPHY (my
> > > subject
> > > matters tend to vary...), but this depends on your field.
> > >
> > > You may also think of this typology as books, reviews and
> > > research
> > > papers respectively...
> > >
> > > HTH,
> > >
> > > --
> > > Emmanuel Charpentier
> > >
>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
> Pronouns: he/him/his
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2021-07-20 8:04 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-19 16:07 should a BIBLIOGRAPHY keyword supercede org-cite-global-bibliography? John Kitchin
2021-07-19 16:18 ` Bruce D'Arcus
2021-07-20 0:01 ` Vikas Rawal
2021-07-20 0:52 ` Thomas S. Dye
2021-07-20 1:42 ` Bruce D'Arcus
2021-07-20 8:03 ` Eric S Fraga
-- strict thread matches above, loose matches on Subject: below --
2021-07-19 17:29 CHARPENTIER Emmanuel via General discussions about Org-mode.
2021-07-19 17:40 ` Bruce D'Arcus
2021-07-19 17:54 ` John Kitchin
2021-07-19 18:06 ` Bruce D'Arcus
2021-07-19 18:07 ` CHARPENTIER Emmanuel via General discussions about Org-mode.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).