From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18059 Path: news.gmane.org!.POSTED!not-for-mail From: CR Newsgroups: gmane.text.pandoc Subject: Re: Pandoc not copying custom CSS file into EPUB file. Date: Tue, 22 Aug 2017 06:54:54 -0700 (PDT) Message-ID: <924ceab9-e2b7-47d0-9cb7-8fa1b8f7e393@googlegroups.com> References: <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_8551_362068509.1503410094587" X-Trace: blaine.gmane.org 1503410100 10629 195.159.176.226 (22 Aug 2017 13:55:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2017 13:55:00 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDKK5MOEYANBBL7P6DGAKGQEERVFSNQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 22 15:54:53 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw0-f188.google.com ([209.85.161.188]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk9dp-0002KU-Dp for gtp-pandoc-discuss@m.gmane.org; Tue, 22 Aug 2017 15:54:49 +0200 Original-Received: by mail-yw0-f188.google.com with SMTP id s187sf2462638ywf.2 for ; Tue, 22 Aug 2017 06:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=wycRqhO4WUfntzlNGyDqQ1JItdnoVuaPJL17eiR9Z0Q=; b=FSKUpg7tl20t30vsxsjCTqTqgUhHV5/yE3P+2j+bLerx7/tJBcotgHgAX26UJ+GzGQ FAzkG8ZuqurLf1QJLukUEQ62zaIQEVYb42wetrTVzUWLZnHjrGE9K7fnlBeRH+OdRtE8 /8COkivVD7B9j7eMpxwZhArO7Nk0DUXz9m7BwmHiOoBchaJOh9cy/6UOoiP9JnckuDgP bbAvzWQwJnJIE1pwOcBFchVDaBBx1Oaw4q2gTLTa9g/w9Cd4LkL7IXJE2i9/ZVBfzcIm YbYtlSjovSaQG7XSsiRtULF2fc1Tp3DrnXKlCxVv228Xwa0G/zASKtCSDG8wHjfilgye bYrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=wycRqhO4WUfntzlNGyDqQ1JItdnoVuaPJL17eiR9Z0Q=; b=HtCzIo/AwA3/rya2z5KU27ttagvza3SNcR5Fo0XgOkY6hQuh+EOMt/J4scQ9xsXg6T BXfa+G2IBvZJjzLg6Atv8H0us2M/FsUhmE7nbQ+tMG/LDKsS3FkGHILM/BCCC9Yqqa5C I/kE/6zuYh4evhacQuyTHkX4JxXxpiBodlSxT42Vy+nkR7DTOOfsHKBzlyOAMENRZ4qp sifwaAIpv0cGQlUkc7xvRUWA/l8W1UKi1mpd6ckm427jOgyWJnwoGM35GPnK4oT8vDO1 gbPJPUoFJt8lSTqRE3+I4d6BJUQdcmR+Nhnf7TXU/WwvrT+vHTc2/YiHlPMiWh+/HpvL 0RvQ== 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:in-reply-to :references: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=wycRqhO4WUfntzlNGyDqQ1JItdnoVuaPJL17eiR9Z0Q=; b=ZKE8+cuGI15sH49UpXJVvu8xOQdj1gRTV7qDUIzO9ya94agZxo1w0cHJbAc8U1V+k9 Q+ses5Suts47q4vTcAWmk7DJ9W232CrVfp5M4jdg+TzveAwHQq9NKU+rnTXyq0mzo5c7 zEuUl507NXT2vgpDc1GPDBzu6XFz9K6vpf8R23LiTgK34EIVHOgTxZggqFhtbn7XG+Aj FmfK2VtKPZry9Pft04GjoI1aBnD5gv5sPvwp8x3N9Ul+GFMaUYBKskvT5WbbODOhuhuQ kHEjzOqLWlm2e/OfL6bTlPxhY6ziuJ5vrlCVk1JF/yzERgOQRhQ3RUSx4sn8FJN5L4nA XAng== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5hyvSpP8VXLRjjU6/ZaEAC1JBrTdyaq3thS8lsLA8O9NriqzG4H xWRNJeYYsxUVIA== X-Received: by 10.36.123.21 with SMTP id q21mr11899itc.2.1503410096087; Tue, 22 Aug 2017 06:54:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.148.84 with SMTP id j81ls2322492ite.16.canary-gmail; Tue, 22 Aug 2017 06:54:54 -0700 (PDT) X-Received: by 10.36.103.4 with SMTP id u4mr9968itc.14.1503410094959; Tue, 22 Aug 2017 06:54:54 -0700 (PDT) In-Reply-To: <53098f78-56ff-4276-8ac4-e8b5c70c2361-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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:18059 Archived-At: ------=_Part_8551_362068509.1503410094587 Content-Type: multipart/alternative; boundary="----=_Part_8552_801865047.1503410094587" ------=_Part_8552_801865047.1503410094587 Content-Type: text/plain; charset="UTF-8" It appears that for EPUB files, -css doesn't work. And I got this to work by using --epub-stylesheet=style01.css: c:\chuck\ebook\pandoc\pandoc -f markdown_mmd+backtick_code_blocks+yaml_metadata_block -t epub -o %outfile% --toc --epub-stylesheet=style01.css 00intro.md 01.md Someone should probably put a note under the -css option that it doesn't work for EPUB books and the note should say "use --epub-stylesheet=file.css instead". -- 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/924ceab9-e2b7-47d0-9cb7-8fa1b8f7e393%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_8552_801865047.1503410094587 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It appears that for EPUB files, -css doesn't work. And= I got this to work by using --epub-stylesheet=3Dstyle01.css:

c:\chuck\ebook\pandoc\pandoc = -f markdow= n_mmd+backtick_code_= blocks+yaml_metadata= _block -t epub -o %outfile% --toc --epub-stylesheet=3Dstyle01.css 00intro.md 01.md


Someone should probably pu= t a note under the -css option that it doesn't work for EPUB books and = the note should say "use --epub-stylesheet=3Dfile.css instead".

--
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/924ceab9-e2b7-47d0-9cb7-8fa1b8f7e393%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_8552_801865047.1503410094587-- ------=_Part_8551_362068509.1503410094587--