From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32133 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mouse Mousevich Newsgroups: gmane.text.pandoc Subject: Re: Converting Rust-book to PDF fails Date: Wed, 1 Feb 2023 13:31:03 -0800 (PST) Message-ID: <14cb0323-74ae-4368-b843-2fd8831b6e2cn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2578_1847415106.1675287063146" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2127"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCI5P55D2AFBBGFU5OPAMGQEXBTXA7I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Feb 01 22:31:08 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pNKh9-0000QX-LV for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Feb 2023 22:31:07 +0100 Original-Received: by mail-oo1-f57.google.com with SMTP id j20-20020a4ad194000000b005178610a793sf66141oor.3 for ; Wed, 01 Feb 2023 13:31:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=z/9S0cGn7K+lZpWwJRLJnPV5oVsYsufUtQuqxo0XSq4=; b=KtLwI4AqvyfKc+tvF1zO0QzhkuZVyKW9bnpZOqQQ89avnK7fRa9IsJQCcDKZroOPAQ c0LahUC8Db7E91ZOgBOp3QlABf98cixp3Ip4CbdEu37Wh8QkfEySBR5zZsQI2XzAjSjD xoNmwy6edmFUOOKFj7q9FSxNzLltGJNiHo0QjgQQmpDQCMnbmJofIUFET93EB6cnNmHl 2OPWUQCOe472MNWbJe9CZwsUeXDnjnjpD+1MuLB9zTBggw66lrKBUo3pW+NT03tKxCx9 B3X+O4eZq7tFth3TcLVolK7g74T9JeHfOFojUvfdqmKk+EBPsNDbzOaypzFmUJ1hjONf VuOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=z/9S0cGn7K+lZpWwJRLJnPV5oVsYsufUtQuqxo0XSq4=; b=TBohTjGEfz2qGBx9e4/auZVSVrHcZU7N7x+9GbZsbsM/huJHK8lWetyGhCWJTf5o0t rKs8Rb4xJomVBs3bgemuiYk0XE3Kyx1m0GRjRzRbcV//hZ1Pgpx47eU3mFB4IOCM452e RmrUvbjfbqrA3jzATtM3ezp6QH3j4hbdABb6hIVNJi3EOYYZDsHI5htzLm4Ua+pK6xaE vth4BFVCf8ieu74YxSJ6k29mtLWCMRMcu1wxN2gCIdtb/LIuBnD4hh+srgFFRdOI1PXu UA2h0BfOAbWKVWaU5HB4pwfDYcR5TBaJNfh0+Jf7sVSEmq33PuOEbt/osJ5IGQPmrxtk Lhjw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKV8PUmZiQHAqnQ5SSxKVQxoXOmDji9yfQZO2pSW58HY+99FIrto uF2PXZAL6LGSC3kpOxYDC88= X-Google-Smtp-Source: AK7set82sDssNmBjiTO6VN/wqLqFlV8aoNDqyDUpZ1FbCh7nukdFFqPGIRrFnL4BgWAHtn2+99txPw== X-Received: by 2002:a05:6808:20a9:b0:378:4769:22a7 with SMTP id s41-20020a05680820a900b00378476922a7mr19544oiw.121.1675287066588; Wed, 01 Feb 2023 13:31:06 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:f30b:0:b0:363:e0a0:2a06 with SMTP id r11-20020acaf30b000000b00363e0a02a06ls5663003oih.8.-pod-prod-gmail; Wed, 01 Feb 2023 13:31:03 -0800 (PST) X-Received: by 2002:a54:4f87:0:b0:378:451:84e8 with SMTP id g7-20020a544f87000000b00378045184e8mr20336oiy.28.1675287063714; Wed, 01 Feb 2023 13:31:03 -0800 (PST) In-Reply-To: X-Original-Sender: uri-OVIABD91gjs3uPMLIKxrzw@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:32133 Archived-At: ------=_Part_2578_1847415106.1675287063146 Content-Type: multipart/alternative; boundary="----=_Part_2579_1757661924.1675287063146" ------=_Part_2579_1757661924.1675287063146 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable xelatex gives a bit more meaningful message - though I still don't=20 understand how to remedy this: [13] ! Missing number, treated as zero. =20 ( l.306 \begin {minipage}[b]{\linewidth}\raggedright ? On Wednesday, February 1, 2023 at 4:22:05 PM UTC-5 Mouse Mousevich wrote: > pandoc-2.19.2, pdflatex from TeXLive-2022. > Rust-book set of .md files from=20 > https://github.com/killercup/trpl-ebook.git (version from 2016). > > Conversion to LaTeX seems to succeed, but subsequent invocation of=20 > pdflatex fails. > > I printed out arguments passed to pandoc: > > pandoc args:=20 > --from=3Dmarkdown+smart+grid_tables+pipe_tables-simple_tables+raw_html+im= plicit_figures+footnotes+intraword_underscores+auto_identifiers-inline_code= _attributes=20 > --embed-resources --standalone --highlight-style=3Dtango=20 > --top-level-division=3Dchapter --table-of-contents=20 > --template=3Dlib/template.tex --pdf-engine=3Dpdflatex --to=3Dlatex=20 > --pdf-engine-opt=3D--interaction=3Dnonstopmode --variable papersize=3Dlet= terpaper=20 > --output=3Ddist/trpl-2019-05-04.letter.pdf; plus book itself > > Error message from pdflatex: > > Error producing PDF. > > ! Missing number, treated as zero. > > =20 > > ( > > l.306 \begin > > > This is what the (apparently) relevant fragment of the LaTeX file looks= =20 > like: > > 299 =E2=94=82 \begin{longtable}[]{@{} > > 300 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabc= olsep) *=20 > \real{0.4189}} > > 301 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabc= olsep) *=20 > \real{0.0676}} > > 302 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabc= olsep) *=20 > \real{0.0676}} > > 303 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabc= olsep) *=20 > \real{0.0676}} > > 304 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabc= olsep) *=20 > \real{0.3784}}@{}} > > 305 =E2=94=82 \toprule() > > 306 =E2=94=82 \begin{minipage}[b]{\linewidth}\raggedright > > 307 =E2=94=82 Target > > 308 =E2=94=82 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedr= ight > > 309 =E2=94=82 std > > 310 =E2=94=82 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedr= ight > > > --=20 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 e= mail 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/14cb0323-74ae-4368-b843-2fd8831b6e2cn%40googlegroups.com. ------=_Part_2579_1757661924.1675287063146 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable xelatex gives a bit more meaningful message - though I still don't understa= nd how to remedy this:

[13]

! Missing number, treated as zero.

<to be read again>=C2=A0

=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (

l.306 \begin

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 {minipage}[b]{\linewidth}\ragg= edright

?


On Wednesday, February 1, 2023 at 4:22:05 PM UTC-5 Mouse Mousevi= ch wrote:
pan= doc-2.19.2, pdflatex from TeXLive-2022.
Rust-book set of .md files from= =C2=A0https://github.com/killercup/trpl-ebook.git (version from 2016).

Conversion to LaTeX seems to = succeed, but subsequent invocation of pdflatex fails.

=
I printed out arguments passed to pandoc:

pandoc ar= gs: --from=3Dmarkdown+smart+grid_tables+pipe_tables-simple_tables+raw_html+= implicit_figures+footnotes+intraword_underscores+auto_identifiers-inline_co= de_attributes --embed-resources --standalone --highlight-style=3Dtango --to= p-level-division=3Dchapter --table-of-contents --template=3Dlib/template.te= x --pdf-engine=3Dpdflatex --to=3Dlatex --pdf-engine-opt=3D--interaction=3Dn= onstopmode --variable papersize=3Dletterpaper --output=3Ddist/trpl-2019-05-= 04.letter.pdf; plus book itself

Error message from pdflatex:

Error producing PDF.

! Missing number, treated as zero.

<to be read again>=C2=A0

=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (

l.306 \begin


This is what the (apparently) relevant fragment of the LaTeX = file looks like:

299 =C2=A0 =E2=94=82 \begin{longtable}[]{@{}

= =C2=A0300 =C2=A0 =E2=94=82 =C2=A0 >{\raggedright\arraybackslash}p{(\colu= mnwidth - 8\tabcolsep) * \real{0.4189}}

=C2=A0301 =C2=A0 =E2=94=82 = =C2=A0 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \r= eal{0.0676}}

=C2=A0302 =C2=A0 =E2=94=82 =C2=A0 >{\raggedright\arra= ybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.0676}}

=C2=A0303 = =C2=A0 =E2=94=82 =C2=A0 >{\raggedright\arraybackslash}p{(\columnwidth - = 8\tabcolsep) * \real{0.0676}}

=C2=A0304 =C2=A0 =E2=94=82 =C2=A0 >{= \raggedright\arraybackslash}p{(\columnwidth - 8\tabcolsep) * \real{0.3784}}= @{}}

=C2=A0305 =C2=A0 =E2=94=82 \toprule()

=C2=A0306 =C2=A0 =E2= =94=82 \begin{minipage}[b]{\linewidth}\raggedright

=C2=A0307 =C2=A0 = =E2=94=82 Target

=C2=A0308 =C2=A0 =E2=94=82 \end{minipage} & \beg= in{minipage}[b]{\linewidth}\raggedright

=C2=A0309 =C2=A0 =E2=94=82 st= d

=C2=A0310 =C2=A0 =E2=94=82 \end{minipage} & \begin{minipage}[b]= {\linewidth}\raggedright


--
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/14cb0323-74ae-4368-b843-2fd8831b6e2cn%40googlegroups.= com.
------=_Part_2579_1757661924.1675287063146-- ------=_Part_2578_1847415106.1675287063146--