[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977339: pandoc: `data-dir` or `XDG_DATA_HOME` don't appear to work for --defaults



Oops! Thanks!

As you pointed out, I misread the manual page.

Once the file was moved to $HOME/.local/share/pandoc/defaults/options.yaml it was found and it worked!

Marking this bug as done.

Regards,

Kapil.
--

On Mon, 14 Dec 2020 at 22:37, John MacFarlane <jgm@berkeley.edu> wrote:
The man page says:

> The file will be searched for first in the working directory, and then in
> the `defaults` subdirectory of the user data directory

It looks as if you've put your options.yaml directly in the user
data directory rather than in the defaults subdirectory of that
directory: try `$HOME/.local/share/pandoc/defaults/options.yaml`.

Reply to: