Hi, Yes, you are right WRT completions :(
>From what I see including a couple of extra debugging messages: org-cite-list-bibliography-files = f: s13.bib d: /home/paag/tmp/org-tests/ org-cite-list-bibliography-files = f: ../s13.bib d: /home/paag/tmp/org-tests/ The problem is in oc.el... The file list doesn't take into account the directory of the file requesting the bibliography. I'll continue looking for the source of the wrong directory... Best, /PA On Thu, 14 May 2026 at 15:08, Antero Mejr <[email protected]> wrote: > Pedro Andres Aranda Gutierrez <[email protected]> writes: > > > If I understand you correctly, you are importing the bibliography > > twice. > > > > You dont need to do that. > > If I don't import the bibliography in the org file in a subdirectory, > then org-cite-insert completions don't work, so I can't add citations > to the org file in the subdirectory. > > > When #+include: is used, the header in the main file will be the > > anchor for producing the LaTeX. > > Yes, but the org files that are not the main file need to be aware of > the location of the bibliography file for tab-completion purposes when > using org-cite-insert. But only the main file's #+bibliography: should > be used during export. > > MWE: > > File main.org: > ``` > #+include: "subdir/part.org" > #+bibliography: ref.bib > #+print_bibliography: > ``` > > File ref.bib: > ``` > @article{some-identifier, > title = {Foo} > } > ``` > > File subdir/part.org: > ``` > # Need this to tab-complete some-identifier when using org-cite-insert! > #+bibliography: ../ref.bib > > See foo[cite:@some-identifier]. > ``` > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler "Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE! Year 2 of the New Koprocracy
