* What is correct syntax four --resource-path CMD line argument
@ 2021-03-26 12:59 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <b1147ea9-a77b-4432-a3bd-97388046e603n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-03-26 12:59 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1134 bytes --]
Hello,
in my previous question I was redirected to using `--resource-path` CMD
line argument to find files defined with `#+INCLUDE` directive while
converting `org-mode` to other formats. But I am having hard time to make
it work.
I have read the manual. If I have following project structure:
```
makefile
src/main.org
src/chapters/chapter1.org
```
how can I specify with `--resource path` where to look for `chapter1.org`
file (included by `main.org` file) if I am running `pandoc` through `make`?
I have tryed:
```
.:src
".:src"
```
And some other alternatives.
The only way I made it work was by using `cd` in make to change directory
to `./src` and executing `pandoc` from there, which is ... Suboptimal.
--
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/b1147ea9-a77b-4432-a3bd-97388046e603n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1676 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is correct syntax four --resource-path CMD line argument
[not found] ` <b1147ea9-a77b-4432-a3bd-97388046e603n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-03-26 16:55 ` Loïc Houpert
[not found] ` <6d1c3021-d472-4ab9-9e69-f66e343e622en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Loïc Houpert @ 2021-03-26 16:55 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1500 bytes --]
One of my command line argument to load files from the current folder and
the .images/ folder is:
--resource-path=".:.images" \
and it works fine
Loic
Le vendredi 26 mars 2021 à 12:59:07 UTC, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a écrit :
> Hello,
>
> in my previous question I was redirected to using `--resource-path` CMD
> line argument to find files defined with `#+INCLUDE` directive while
> converting `org-mode` to other formats. But I am having hard time to make
> it work.
>
> I have read the manual. If I have following project structure:
>
> ```
> makefile
> src/main.org
> src/chapters/chapter1.org
> ```
>
> how can I specify with `--resource path` where to look for `chapter1.org`
> file (included by `main.org` file) if I am running `pandoc` through
> `make`?
>
> I have tryed:
>
> ```
> .:src
> ".:src"
> ```
>
> And some other alternatives.
>
> The only way I made it work was by using `cd` in make to change directory
> to `./src` and executing `pandoc` from there, which is ... Suboptimal.
>
--
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/6d1c3021-d472-4ab9-9e69-f66e343e622en%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3289 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is correct syntax four --resource-path CMD line argument
[not found] ` <6d1c3021-d472-4ab9-9e69-f66e343e622en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2021-03-27 11:19 ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
0 siblings, 0 replies; 3+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2021-03-27 11:19 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1785 bytes --]
And do you use `org-mode`? Because if I try the `org-mode` reader doesnt
seem to be able to find files included via `#+INCLUDE` directive ....
Dne pátek 26. března 2021 v 17:55:51 UTC+1 uživatel houpe...@gmail.com
napsal:
>
> One of my command line argument to load files from the current folder and
> the .images/ folder is:
> --resource-path=".:.images" \
>
> and it works fine
>
> Loic
> Le vendredi 26 mars 2021 à 12:59:07 UTC, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a écrit :
>
>> Hello,
>>
>> in my previous question I was redirected to using `--resource-path` CMD
>> line argument to find files defined with `#+INCLUDE` directive while
>> converting `org-mode` to other formats. But I am having hard time to make
>> it work.
>>
>> I have read the manual. If I have following project structure:
>>
>> ```
>> makefile
>> src/main.org
>> src/chapters/chapter1.org
>> ```
>>
>> how can I specify with `--resource path` where to look for `chapter1.org`
>> file (included by `main.org` file) if I am running `pandoc` through
>> `make`?
>>
>> I have tryed:
>>
>> ```
>> .:src
>> ".:src"
>> ```
>>
>> And some other alternatives.
>>
>> The only way I made it work was by using `cd` in make to change directory
>> to `./src` and executing `pandoc` from there, which is ... Suboptimal.
>>
>
--
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/bde4a2a5-3bbb-4318-8d82-3333e74d172an%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3759 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-27 11:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 12:59 What is correct syntax four --resource-path CMD line argument krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <b1147ea9-a77b-4432-a3bd-97388046e603n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-03-26 16:55 ` Loïc Houpert
[not found] ` <6d1c3021-d472-4ab9-9e69-f66e343e622en-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-03-27 11:19 ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
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).