public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Markdown -> pdf with lof: Error producing PDF. ! Missing number, treated as zero.
@ 2020-01-22 10:24 Igor Messina
       [not found] ` <826688ec-f082-48ef-9b11-29bed2ffe7c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Messina @ 2020-01-22 10:24 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi there,
I used pandoc 2.8-14 to generate a pdf document with xelatex starting from 
Markdown files.
I have some figures and I use this code line to insert images:

![caption](./path/to/figure.pdf){#fig:name}

Generating a file.pdf without lof I have no prolems, but if I want a list 
of figures, something goes wrong and terminal gives to me this error:

Error producing PDF.
! Missing number, treated as zero.
<to be read again> 
                   \scr@dte@pagenumberwidth 
l.6 ...es MP3 dritto\relax }}{2}{figure.caption.7}






[image: error.png]

I don't understand what I do wrong. Any ideas?
Thanks and best regards
Igor

-- 
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/826688ec-f082-48ef-9b11-29bed2ffe7c7%40googlegroups.com.

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

[-- Attachment #2: error.png --]
[-- Type: image/png, Size: 33366 bytes --]

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

* Re: Markdown -> pdf with lof: Error producing PDF. ! Missing number, treated as zero.
       [not found] ` <826688ec-f082-48ef-9b11-29bed2ffe7c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-01-22 16:29   ` John MacFarlane
       [not found]     ` <m2eevrlaii.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-01-22 16:29 UTC (permalink / raw)
  To: Igor Messina, pandoc-discuss


Try using --verbose, and inspect the generated latex to
get a better sense for where the problem is.

If you want help diagnosing the problem, supply a *minimal*
file and the full command line so we can reproduce.

Igor Messina <uichilix-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi there,
> I used pandoc 2.8-14 to generate a pdf document with xelatex starting from 
> Markdown files.
> I have some figures and I use this code line to insert images:
>
> ![caption](./path/to/figure.pdf){#fig:name}
>
> Generating a file.pdf without lof I have no prolems, but if I want a list 
> of figures, something goes wrong and terminal gives to me this error:
>
> Error producing PDF.
> ! Missing number, treated as zero.
> <to be read again> 
>                    \scr@dte@pagenumberwidth 
> l.6 ...es MP3 dritto\relax }}{2}{figure.caption.7}
>
>
>
>
>
>
> [image: error.png]
>
> I don't understand what I do wrong. Any ideas?
> Thanks and best regards
> Igor
>
> -- 
> 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/826688ec-f082-48ef-9b11-29bed2ffe7c7%40googlegroups.com.


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

* Re: Markdown -> pdf with lof: Error producing PDF. ! Missing number, treated as zero.
       [not found]     ` <m2eevrlaii.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-02-10 14:33       ` Igor Messina
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Messina @ 2020-02-10 14:33 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi! I fixed the issue that was not about pandoc, but about my latex 
template!

thanks so much for the help
regards

Il giorno mercoledì 22 gennaio 2020 17:30:14 UTC+1, John MacFarlane ha 
scritto:
>
>
> Try using --verbose, and inspect the generated latex to 
> get a better sense for where the problem is. 
>
> If you want help diagnosing the problem, supply a *minimal* 
> file and the full command line so we can reproduce. 
>
> Igor Messina <uich...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:>> writes: 
>
> > Hi there, 
> > I used pandoc 2.8-14 to generate a pdf document with xelatex starting 
> from 
> > Markdown files. 
> > I have some figures and I use this code line to insert images: 
> > 
> > ![caption](./path/to/figure.pdf){#fig:name} 
> > 
> > Generating a file.pdf without lof I have no prolems, but if I want a 
> list 
> > of figures, something goes wrong and terminal gives to me this error: 
> > 
> > Error producing PDF. 
> > ! Missing number, treated as zero. 
> > <to be read again> 
> >                    \scr@dte@pagenumberwidth 
> > l.6 ...es MP3 dritto\relax }}{2}{figure.caption.7} 
> > 
> > 
> > 
> > 
> > 
> > 
> > [image: error.png] 
> > 
> > I don't understand what I do wrong. Any ideas? 
> > Thanks and best regards 
> > Igor 
> > 
> > -- 
> > 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/826688ec-f082-48ef-9b11-29bed2ffe7c7%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/1a8109ab-98f0-496f-b5fb-5e4a0e9c8df3%40googlegroups.com.

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

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

end of thread, other threads:[~2020-02-10 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22 10:24 Markdown -> pdf with lof: Error producing PDF. ! Missing number, treated as zero Igor Messina
     [not found] ` <826688ec-f082-48ef-9b11-29bed2ffe7c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-01-22 16:29   ` John MacFarlane
     [not found]     ` <m2eevrlaii.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-02-10 14:33       ` Igor Messina

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