public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Relative path in Pandoc issue
Date: Tue, 2 May 2023 09:46:43 +0200	[thread overview]
Message-ID: <CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g@mail.gmail.com> (raw)
In-Reply-To: <CAJ5SO_prh9eWo7+OWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- 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 --]

  parent reply	other threads:[~2023-05-02  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02  5:23 AKSHAY BHIRUD
     [not found] ` <CAJ5SO_prh9eWo7+OWvtEBfvZCKQgn7wGSCc9Wc64hJ7RhG3CEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-02  7:46   ` BPJ [this message]
     [not found]     ` <CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-02 16:47       ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADAJKhB8iLdhGY4JTAFihppWqe2n2oEhx-FVaUOv9dV=Lggz7g@mail.gmail.com' \
    --to=bpj-j3h7gcxpsitlodktgw+v6w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).