public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* setting css forces section numbering
@ 2020-11-01 23:52 Gary Glass
       [not found] ` <f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Glass @ 2020-11-01 23:52 UTC (permalink / raw)
  To: pandoc-discuss


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

I'm converting markdown files to an epub. I use a yaml file to set up the 
options. I discovered that if I set a css value, TOC items will be 
numbered, even if number-sections is false. Is this a bug or am I missing 
something? Is my yaml:

from: commonmark+pipe_tables+smart
to: epub3
log-file: pandoc.log
wrap: none
metadata-files:
  - meta.yaml
epub-metadata: meta.xml
resource-path:
  - resources
css:
  - ..\mss\swan.css
epub-chapter-level: 3
table-of-contents: true
number-sections: false
input-files:
  - ..\mss\000 Main Front Matter\004 Illustrations.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/f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o%40googlegroups.com.

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

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

* Re: setting css forces section numbering
       [not found] ` <f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-11-02 19:01   ` John MacFarlane
       [not found]     ` <m25z6nmvl0.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-11-02 19:01 UTC (permalink / raw)
  To: Gary Glass, pandoc-discuss


I can't reproduce this. What version of pandoc are you using?

Gary Glass <garyglassphotography-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I'm converting markdown files to an epub. I use a yaml file to set up the 
> options. I discovered that if I set a css value, TOC items will be 
> numbered, even if number-sections is false. Is this a bug or am I missing 
> something? Is my yaml:
>
> from: commonmark+pipe_tables+smart
> to: epub3
> log-file: pandoc.log
> wrap: none
> metadata-files:
>   - meta.yaml
> epub-metadata: meta.xml
> resource-path:
>   - resources
> css:
>   - ..\mss\swan.css
> epub-chapter-level: 3
> table-of-contents: true
> number-sections: false
> input-files:
>   - ..\mss\000 Main Front Matter\004 Illustrations.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/f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o%40googlegroups.com.


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

* Re: setting css forces section numbering
       [not found]     ` <m25z6nmvl0.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-11-05 14:23       ` Gary Glass
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Glass @ 2020-11-05 14:23 UTC (permalink / raw)
  To: pandoc-discuss


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

pandoc.exe 2.11.0.4
Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3, 
citeproc 0.1.0.3, ipynb 0.1

I think the issue is that when you specify a css file, the built-in css is 
excluded. I expected the custom css to just be added.


On Monday, November 2, 2020 at 8:02:08 PM UTC+1, John MacFarlane wrote:
>
>
> I can't reproduce this. What version of pandoc are you using? 
>
> Gary Glass <garyglassp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: 
>
> > I'm converting markdown files to an epub. I use a yaml file to set up 
> the 
> > options. I discovered that if I set a css value, TOC items will be 
> > numbered, even if number-sections is false. Is this a bug or am I 
> missing 
> > something? Is my yaml: 
> > 
> > from: commonmark+pipe_tables+smart 
> > to: epub3 
> > log-file: pandoc.log 
> > wrap: none 
> > metadata-files: 
> >   - meta.yaml 
> > epub-metadata: meta.xml 
> > resource-path: 
> >   - resources 
> > css: 
> >   - ..\mss\swan.css 
> > epub-chapter-level: 3 
> > table-of-contents: true 
> > number-sections: false 
> > input-files: 
> >   - ..\mss\000 Main Front Matter\004 Illustrations.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-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o%40googlegroups.com. 
>
>

-- 
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/7975dcd9-48a4-437a-a5d8-4cd0e2dcafa8o%40googlegroups.com.

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

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

end of thread, other threads:[~2020-11-05 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 23:52 setting css forces section numbering Gary Glass
     [not found] ` <f36b6975-40e7-4ec8-ad2e-9d6e92b89a23o-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-02 19:01   ` John MacFarlane
     [not found]     ` <m25z6nmvl0.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-05 14:23       ` Gary Glass

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