public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* To use style sheet from the same directory as input file
@ 2023-11-23 17:50 name name
       [not found] ` <af2ed26d-ae7a-4101-a7bc-fb1e59a1d099n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: name name @ 2023-11-23 17:50 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 848 bytes --]

I want to convert "input.md" to "output.html" using my own "style.css" 
which is in the same directory as the input file.

Here's what I tried:

pandoc input.md -o output.htm -s --data-dir="./" --template="style.css" 
--toc=true

But Pandoc says "Could not find data file templates/style.css" so it seems 
like it is trying to find "style.css" somewhere else.

How can I make it look for "style.css" in the same directory as "input.md"?

-- 
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/af2ed26d-ae7a-4101-a7bc-fb1e59a1d099n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1176 bytes --]

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

end of thread, other threads:[~2023-11-24 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-23 17:50 To use style sheet from the same directory as input file name name
     [not found] ` <af2ed26d-ae7a-4101-a7bc-fb1e59a1d099n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-24 15:33   ` Thomas Hodgson
     [not found]     ` <d6d720da-bd22-484f-87c4-059c4bc5db07n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-11-24 16:36       ` name name

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