[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



Package: pandoc
Version: 2.9.2.1-1+b1
Severity: normal

Dear Maintainer,

The --defaults option does not appear to look in $HOME/.local/share/pandoc/
it also does not appear to look into $XDG_DATA_HOME/pandoc/ to look
for the file mentioned in this option.

$ export XDG_DATA_HOME=$HOME/.local/share
$ pandoc -d options report.md
pandoc: options.yaml: openBinaryFile: does not exist (No such file or directory)

(This is in spite of the fact that $HOME/.local/share/pandoc/options.yaml exists.)

The man page mentions these two locations.

Regards,

Kapil.
--

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.199-16598-gb08cd9ce6991 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages pandoc depends on:
ii  libc6                     2.31-5
ii  libcmark-gfm-extensions0  0.29.0.gfm.0-6
ii  libcmark-gfm0             0.29.0.gfm.0-6
ii  libffi7                   3.3-5
ii  libgmp10                  2:6.2.1+dfsg-1
ii  libpcre3                  2:8.39-13
ii  pandoc-data               2.9.2.1-1
ii  zlib1g                    1:1.2.11.dfsg-2

pandoc recommends no packages.

Versions of packages pandoc suggests:
pn  citation-style-language-styles  <none>
pn  context                         <none>
pn  ghc                             <none>
ii  groff                           1.22.4-5
pn  libjs-mathjax                   <none>
pn  librsvg2-bin                    <none>
pn  node-katex                      <none>
pn  nodejs                          <none>
ii  pandoc-citeproc                 0.17.0.1-1+b1
ii  perl                            5.32.0-5
pn  php                             <none>
pn  python                          <none>
pn  r-base-core                     <none>
ii  ruby                            1:2.7+2
ii  texlive-latex-extra             2020.20201129-1
ii  texlive-latex-recommended       2020.20200925-1
ii  texlive-luatex                  2020.20200925-1
pn  texlive-xetex                   <none>
pn  wkhtmltopdf                     <none>

-- no debconf information

Reply to: