Den sön 22 maj 2022 18:28John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:

I'm pretty sure that the expansion doesn't work for 'defaults:',
but I can't now recall whether there was a reason for that.
Maybe submit a bug report?

I will, because this breaks my workflow where I use the same top level defaults file on different machines.




BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I forgot to mention the vital points that `${HOME}...` works with `css: []`
> in the same file and that everything works if I use an absolute path in the
> `defaults: []` entry.
>
> Den lör 21 maj 2022 20:45BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
>
>> In a defaults file in the current directory I have the lines:
>>
>> ``````yaml
>> defaults:
>>   - ${HOME}/style/ling-html2pdf.yaml
>> ``````
>>
>> I'm sure that file exists but pandoc complains and says it doesn't. Might
>> Pandoc's idea of what `${HOME}` expands to differ from the shell's idea of
>> what `$HOME` expands to?
>>
>>
>>
>
> --
> 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@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhC5X%2BsNjQEFX9mHPryV93TRYBenqVZreU%2B3BdVb7-5V7w%40mail.gmail.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBFO7b%3DWppbBnS020NJ3CTXh8J%2BhjR%2BDp5U9hA7%3DdGKuQ%40mail.gmail.com.