* Trouble finding bibliography
@ 2022-08-16 13:11 bdh
[not found] ` <e13c0bd9-111d-4ff7-bf36-c46e2684a9den-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: bdh @ 2022-08-16 13:11 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 974 bytes --]
Hello, all! With apologies in advance for what feels like a very silly
mistake I'm making...
I'm having trouble with pandoc not being able to find my bibliography. It
lives in my default data directory (~/.pandoc) as library.bib. But
---bibliography=library.bib returns `File library.bib not found in resource
path.` I've also tried adding a full path—i.e.,
--bibliography=~/.pandoc/library.bib— and I've tried adding a --resource-path
option that specifies ~/.pandoc. Both return the same response.
Where am I going wrong?
Thanks!
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e13c0bd9-111d-4ff7-bf36-c46e2684a9den%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1403 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Trouble finding bibliography
[not found] ` <e13c0bd9-111d-4ff7-bf36-c46e2684a9den-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-08-16 16:58 ` John MacFarlane
0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2022-08-16 16:58 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Putting it in your resource path should work. But you're probably running into a shell expansion issue.
When you do
--resource-path=.:~/.pandoc
the ~ will not be expanded by the shell. But if you do
--resource-path ".:~/pandoc"
it will be.
Using `$HOME` instead of `~` should also work.
> On Aug 16, 2022, at 6:11 AM, bdh <bdhamilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hello, all! With apologies in advance for what feels like a very silly mistake I'm making...
>
> I'm having trouble with pandoc not being able to find my bibliography. It lives in my default data directory (~/.pandoc) as library.bib. But ---bibliography=library.bib returns `File library.bib not found in resource path.` I've also tried adding a full path—i.e., --bibliography=~/.pandoc/library.bib— and I've tried adding a --resource-path option that specifies ~/.pandoc. Both return the same response.
>
> Where am I going wrong?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e13c0bd9-111d-4ff7-bf36-c46e2684a9den%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/E45126C2-A4E6-4AD2-839C-764E75321391%40gmail.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-16 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 13:11 Trouble finding bibliography bdh
[not found] ` <e13c0bd9-111d-4ff7-bf36-c46e2684a9den-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-08-16 16:58 ` John MacFarlane
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 NNTP newsgroup(s).