public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Would it better search resources under the path where defaults file is?
@ 2021-01-20  2:43 jiewuza
  2021-01-20 23:54 ` John MacFarlane
  0 siblings, 1 reply; 4+ messages in thread
From: jiewuza @ 2021-01-20  2:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

I use --defaults to specify some defaults file, in which I have some filenames ininclude-in-header. I put those files together with the defaults file under the same path. I really hope the path is searched by default without setting resource-path.
-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Would it better search resources under the path where defaults file is?
  2021-01-20  2:43 Would it better search resources under the path where defaults file is? jiewuza
@ 2021-01-20 23:54 ` John MacFarlane
  2021-01-23 23:48   ` jiewuza
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2021-01-20 23:54 UTC (permalink / raw)
  To: jiewuza, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


See https://github.com/jgm/pandoc/issues/6108
https://github.com/jgm/pandoc/issues/5977


jiewuza <jiewuza-9Onoh4P/yGk@public.gmane.org> writes:

> I use --defaults to specify some defaults file, in which I have some filenames ininclude-in-header. I put those files together with the defaults file under the same path. I really hope the path is searched by default without setting resource-path.
> -- 
>
>
> -- 
> 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/ru85ck%24204%241%40ciao.gmane.io.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Would it better search resources under the path where defaults file is?
  2021-01-20 23:54 ` John MacFarlane
@ 2021-01-23 23:48   ` jiewuza
  2021-01-28  0:41     ` jiewuza
  0 siblings, 1 reply; 4+ messages in thread
From: jiewuza @ 2021-01-23 23:48 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

Well, after reading the issues, I think my request is quite different.
What I want is: when one uses the option --defaults=path/to/defaults, the path is added into the searching paths.
As in defaults file, there are fields like include-in-header which contain filenames. I usually put those files together with the defaults file(as a group of config), and I hope the group can be easily moved to other paths or even another computer without changing the defaults file.


-- 


John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> 写入消息新闻:
> 
> See https://github.com/jgm/pandoc/issues/6108
> https://github.com/jgm/pandoc/issues/5977
> 
> 

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup

-- 
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/ruickt%24sch%241%40ciao.gmane.io.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Would it better search resources under the path where defaults file is?
  2021-01-23 23:48   ` jiewuza
@ 2021-01-28  0:41     ` jiewuza
  0 siblings, 0 replies; 4+ messages in thread
From: jiewuza @ 2021-01-28  0:41 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

For example, here is my pathA/defaults.yaml
```
...
include-in-header: ["input.txt"]
...
```
If parhA was added to searching paths by --defaults=pathA/defaults, I could move defaults.yaml+input.txt to another computer/path, only changing the --defaults option.

-- 


jiewuza <jiewuza-9Onoh4P/yGk@public.gmane.org> 写入消息新闻:
> Well, after reading the issues, I think my request is quite different.
> What I want is: when one uses the option --defaults=path/to/defaults, the path is added into the searching paths.

----Android NewsGroup Reader----
http://www.piaohong.tk/newsgroup

-- 
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/rut18b%24j79%241%40ciao.gmane.io.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-28  0:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20  2:43 Would it better search resources under the path where defaults file is? jiewuza
2021-01-20 23:54 ` John MacFarlane
2021-01-23 23:48   ` jiewuza
2021-01-28  0:41     ` jiewuza

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).