From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33380 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: name name Newsgroups: gmane.text.pandoc Subject: To use style sheet from the same directory as input file Date: Thu, 23 Nov 2023 09:50:14 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1348_732210629.1700761814172" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29613"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD35HTOSWYHRBV5B72VAMGQETJ6AATY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Nov 23 18:50:20 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f190.google.com ([209.85.214.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r6DqG-0007V2-Es for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 23 Nov 2023 18:50:20 +0100 Original-Received: by mail-pl1-f190.google.com with SMTP id d9443c01a7336-1cf8867eb97sf10720665ad.3 for ; Thu, 23 Nov 2023 09:50:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1700761819; x=1701366619; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=GV1piagrKU2YUIvSOsji6t0gJfs4JjF7bXB30H2wuMY=; b=pG5V5N9PBP4Euqr9grdAt876POl1V9ryXvSzVFNLKcE+SXoMaqdzvpVWuft0ZjhdmA zSnyH/IAd6D5ZAfTHc+yqd48BtKGd7xfzsODZrDJfYsroy8HgOR5RBZkyIMzvtPBsE5S IUBmHJC1KttTnTWJpyxS0kxY+7w6dfHDLfnZsmCb7DydGnrtFDyBZdyimZasHNG8bacs 08ur3E2gTyw8bZQrPnzK5qJvlrK8KMkzMYKr+9rGXvRUMtz3rewdUeaUG/w+wBMFzaSZ 5M2j6gMpz+edqwqgp/Ue5aQjYgPH6AJeB9T+si7o9Mwhp14UQ4PXMlABmyiDYqsSYl0N iMbg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700761819; x=1701366619; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=GV1piagrKU2YUIvSOsji6t0gJfs4JjF7bXB30H2wuMY=; b=KdWyF0uyvyuWernnDYaKTqXouDB54SFcifiTwslbRKAhdaA4wGfKnryK2K8SWy1N/+ 0JFJmODIJN1AjPUjQUi2gxyutsuTGm7uRZXPy6kjK+P0aywUtwt384clclfrLYHYu8NX hL3nAeIEMoVwo8vjrHZQZ1IiVw4rYLRRv6v3Y4DJC21I/NNTqmWv8DZkcn7exx/CtYQx QGjtQ6XT8ZZ/gIUm6YwXICxOHFZmigcB9WTGCCClXCC9MoIhbGXKPDGkl71VKBzQHeju czTAPWjxP5SH2Pw+YeI4jcValNRsX3PBUb9YRwcSnT0FOeOkNR1Q/tqaDjrNvFGvB5Fs rgeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700761819; x=1701366619; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=GV1piagrKU2YUIvSOsji6t0gJfs4JjF7bXB30H2wuMY=; b=Hi8eY5YWRCYH/J80QGdgtdwmQ91P0v4HZ+0nJU7P6nuXEDW4VNOilzR1/d8X2UEh9Y HE/z74z5EQv8KB6t3Bj4iHjXDQKadJ+LhrC+CI1ZJ/Elfpwrevld0+zBi61tjIwyygzO Db67f3qbnVvaPKHfVSCBfGsnZw9lyC+Bld0BKILOnCoFyD7Z2p1sLEr/TZOX7RY+DvXc DWDMXNgh/1CZkwklGpp07xMnxhBOGzoo2TII5TDgWObnt57YmxYegp/ylCXQZ1kUiY2d 0WYbe1gR20I+5iKDtfsJutPsACHuq+0baE70Yy66cfc+eA+LpC6pu0d8Kqxaox31cI38 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzJpq2ktro9MgjfxdlfWdatBi+YfcE+eWjVf1ayC0ogEBrs/isS Ms0UDixYB6fZD8vOnJp9z4g= X-Google-Smtp-Source: AGHT+IGky0uI2sndnO43woZOyGm5N/7cKGZKzArLF4aUJjc06eYF2ACMKoANRO3bvr3pcnGgGGb+uw== X-Received: by 2002:a17:902:dac1:b0:1cc:5521:570a with SMTP id q1-20020a170902dac100b001cc5521570amr249335plx.14.1700761818985; Thu, 23 Nov 2023 09:50:18 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:902:74c8:b0:1cf:89e9:f23 with SMTP id f8-20020a17090274c800b001cf89e90f23ls577965plt.0.-pod-prod-01-us; Thu, 23 Nov 2023 09:50:15 -0800 (PST) X-Received: by 2002:a17:903:4282:b0:1cc:2f2a:7d33 with SMTP id ju2-20020a170903428200b001cc2f2a7d33mr59030plb.2.1700761814926; Thu, 23 Nov 2023 09:50:14 -0800 (PST) X-Original-Sender: ivan20151013-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:33380 Archived-At: ------=_Part_1348_732210629.1700761814172 Content-Type: multipart/alternative; boundary="----=_Part_1349_1729278638.1700761814172" ------=_Part_1349_1729278638.1700761814172 Content-Type: text/plain; charset="UTF-8" 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. ------=_Part_1349_1729278638.1700761814172 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I want to convert "input.md" to "output.html" using my own "style.css" whic= h is in the same directory as the input file.

Here's what I trie= d:

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

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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_1349_1729278638.1700761814172-- ------=_Part_1348_732210629.1700761814172--