From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18058 Path: news.gmane.org!.POSTED!not-for-mail From: CR Newsgroups: gmane.text.pandoc Subject: Pandoc not copying custom CSS file into EPUB file. Date: Tue, 22 Aug 2017 06:47:06 -0700 (PDT) Message-ID: <53098f78-56ff-4276-8ac4-e8b5c70c2361@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_8376_1947834996.1503409626505" X-Trace: blaine.gmane.org 1503409630 27997 195.159.176.226 (22 Aug 2017 13:47:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2017 13:47:10 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDKK5MOEYANBBW7L6DGAKGQEYY5MLQA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 22 15:47:02 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f183.google.com ([209.85.223.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk9WH-0006tS-6M for gtp-pandoc-discuss@m.gmane.org; Tue, 22 Aug 2017 15:47:01 +0200 Original-Received: by mail-io0-f183.google.com with SMTP id g21sf3353831ioe.1 for ; Tue, 22 Aug 2017 06:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=A9V8a9fWUNJcODvqFI4+nsnlAx2QTMh6p4QGPT/u/0E=; b=an5Zzoz8mlPvzsxapUUzztDc4Uw96wXZgWuMbnYKHseuFUGSSYF2skHOgb0HMnCkng SIdFGmbyHbh80Zs6vMQMbwsg4ZihYibvqdmcKgbcQAZT52AQluVCT90rUVV5uo1ZLGyA k4xAoHujFaSzdYm9TCKBVW/oRV0yqIrrXfgYlsjyn3p39GY/mPJIsc6/Ce+0F6PzA4Jk EzPtR/Bgllv27sEKEGB2V9ewpnqFTRR0xqRdmgDxAhbRDHW3HkfTMKJsd5hS0inZ7eeh 5olvNUgJhScpKyHelaWeNUwqGlaykwbmj794KFXpruvp72IPRAFSkbjIqn7WMjRCFpnd sNZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=A9V8a9fWUNJcODvqFI4+nsnlAx2QTMh6p4QGPT/u/0E=; b=ygvufSFueeyrjZWa5J9p8SHAopQp4mwwi6YpptziH2ZT4wNfLwDG9eyPQhWGDVFfLZ f0JnEqaIc9Co0lf0yiG9c50q7upN/uwtJWzGVipvNa4t+Pgp59MnBi6/2kq32Ny7Uaeh mrXoTfPJx6fVvfuj5Z5o9iot2C5DwhK6uAXGmFzwOlNEuLQupi2gP+xZEGOGURGbY6Ei I9L/EDH3ZVyowhIGYbtuK3SN1Cyuu07YL0ltd0NbSGbcC8NmEVLu+tvgYROjGPvOF+Jg ahD6U+sEn09u6O0f0HT+hvzlZCyAA/dqKMDlpkD5YdWZhE9o77Ip2chGXh4z10kp0cAr 4hJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=A9V8a9fWUNJcODvqFI4+nsnlAx2QTMh6p4QGPT/u/0E=; b=OBMsHM8DPU1dBvtEN/KScjuABzRiEdE2f9mv5ugs+F+os8R4nOASskovu5D1Qw8+lV SiUVpdXVOevTeO7gIts5CYJhLB97NOfUxIoEgWdmtc2Vyk594S4DUPT7UrEp2JKLSOJe vQEDRPWT/7TqA3Q6f9oD9RPQCajC8aQskKT9eOwRnuEq2YOxN5eSYLfXfmWTD3AwYmmv 5Pb6sSiseMvJb/xgGRpOe391CP6vyx0YSc54O7DK96+DxJB5UiMqvE1xTLr8phw1UCgp IjgwjssvebaxPnBvmFX1yqkcHsdh1roH+Y2mae3oWhQr+tVrCJy87FsnN6GMUwkGSPrm Gn0g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5jYClbdaKvJUlRyKLX4UbGpdgETcHm2JsZhrsWOBexvpCzPB5X5 4EMhjUjhoWuGTA== X-Received: by 10.36.50.88 with SMTP id j85mr9926ita.12.1503409627867; Tue, 22 Aug 2017 06:47:07 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.39.193 with SMTP id n184ls10703377ion.24.gmail; Tue, 22 Aug 2017 06:47:07 -0700 (PDT) X-Received: by 10.36.1.198 with SMTP id 189mr8856itk.9.1503409627033; Tue, 22 Aug 2017 06:47:07 -0700 (PDT) X-Original-Sender: chuckr69-Wuw85uim5zDR7s880joybQ@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.org gmane.text.pandoc:18058 Archived-At: ------=_Part_8376_1947834996.1503409626505 Content-Type: multipart/alternative; boundary="----=_Part_8377_369549087.1503409626506" ------=_Part_8377_369549087.1503409626506 Content-Type: text/plain; charset="UTF-8" I have Pandoc v1.17.0.4. My very first markdown file, 00intro.md, includes this YAML block: --- title: My title author: - My author date: Various dates --- I turn Markdown files into EPUB files using this command line in the Windows cmd window: c:\chuck\ebook\pandoc\pandoc -f markdown_mmd+backtick_code_blocks+yaml_metadata_block -t epub -o %outfile% --toc --css=style01.css 00intro.md 01.md After I create the epub I copy the epub to a zip file and look inside. The XHTML files reference "stylesheet.css" first (which is ok), then immediately below that they reference my custom css file "style01.css". "stylesheet.css" is in the root dir of the zip file, but "style01.css" is not in the EPUB file. Is this a bug? Or do I have to specify "style01.css" in a different way? Perhaps in my YAML block? Thanks. -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/53098f78-56ff-4276-8ac4-e8b5c70c2361%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_8377_369549087.1503409626506 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have Pandoc v1.17.0.4.

My very first markdown fil= e, 00intro.md, includes this YAML block:
---
title: My title
author:
- My author
d= ate: Various dates
---

I turn Markdown files into EPUB fil= es using this command line in the Windows cmd window:
c:\chuck\ebook\pandoc\pandoc -f markdown= _mmd+backtick_code_blocks+yaml_metadata_block -t epub -o %outfile% --toc --= css=3Dstyle01.css 00intro.md 01.md

After I create the epub I= copy the epub to a zip file and look inside.
The XHTML files reference= "stylesheet.css" first (which is ok), then immediately below tha= t they reference my custom css file "style01.css". "styleshe= et.css" is in the root dir of the zip file, but "style01.css"= ; is not in the EPUB file.

Is this a bug? Or do I have to specify &= quot;style01.css" in a different way? Perhaps in my YAML block?
Thanks.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/53098f78-56ff-4276-8ac4-e8b5c70c2361%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_8377_369549087.1503409626506-- ------=_Part_8376_1947834996.1503409626505--