public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Relative path in Pandoc issue
@ 2023-05-02  5:23 AKSHAY BHIRUD
       [not found] ` <CAJ5SO_prh9eWo7+OWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: AKSHAY BHIRUD @ 2023-05-02  5:23 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Hello,

I need to give relative path instead of static path in pandoc(i.e template
or footer files).I am using \includegraphics{path/abc.png} but this is not
working.Please help me out on thisYour help will be most appreciated..

Thank you!

-- 
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/CAJ5SO_prh9eWo7%2BOWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 1049 bytes --]

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

* Re: Relative path in Pandoc issue
       [not found] ` <CAJ5SO_prh9eWo7+OWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-05-02  7:46   ` BPJ
       [not found]     ` <CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: BPJ @ 2023-05-02  7:46 UTC (permalink / raw)
  To: pandoc-discuss

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

Den tis 2 maj 2023 07:24AKSHAY BHIRUD <akshaybhirud175-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:

> Hello,
>
> I need to give relative path instead of static path in pandoc(i.e template
> or footer files).I am using \includegraphics{path/abc.png} but this is not
> working.Please help me out on thisYour help will be most appreciated..
>
> Thank you!
>

Probably because pandoc runs latex in a temp directory which makes the
relative path off. Try to have pandoc output LaTeX source into a file in
the current directory and then run {xe,lua,pdf}latex yourself from there.
Remember to run latex three times to get references etc. right. You might
want to use a Makefile and/or latexmk.


> --
> 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/CAJ5SO_prh9eWo7%2BOWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAJ5SO_prh9eWo7%2BOWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV%3DLggz7g%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 2838 bytes --]

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

* Re: Relative path in Pandoc issue
       [not found]     ` <CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2023-05-02 16:47       ` John MacFarlane
  0 siblings, 0 replies; 3+ messages in thread
From: John MacFarlane @ 2023-05-02 16:47 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Also see --resource-path in the manual.


> On May 2, 2023, at 12:46 AM, BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org> wrote:
> 
> Den tis 2 maj 2023 07:24AKSHAY BHIRUD <akshaybhirud175-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> Hello,
> 
> I need to give relative path instead of static path in pandoc(i.e template or footer files).I am using \includegraphics{path/abc.png} but this is not working.Please help me out on thisYour help will be most appreciated..
> 
> Thank you!
> 
> Probably because pandoc runs latex in a temp directory which makes the relative path off. Try to have pandoc output LaTeX source into a file in the current directory and then run {xe,lua,pdf}latex yourself from there. Remember to run latex three times to get references etc. right. You might want to use a Makefile and/or latexmk.
> 
> 
> 
> -- 
> 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/CAJ5SO_prh9eWo7%2BOWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV%3DLggz7g%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/33FF1789-51AB-448E-B1BA-940908F4DBC5%40gmail.com.


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

end of thread, other threads:[~2023-05-02 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02  5:23 Relative path in Pandoc issue AKSHAY BHIRUD
     [not found] ` <CAJ5SO_prh9eWo7+OWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-02  7:46   ` BPJ
     [not found]     ` <CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-02 16:47       ` John MacFarlane

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