From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32131 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mouse Mousevich Newsgroups: gmane.text.pandoc Subject: Converting Rust-book to PDF fails Date: Wed, 1 Feb 2023 13:22:05 -0800 (PST) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2500_2002344102.1675286525550" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39168"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCI5P55D2AFBBAFQ5OPAMGQEL7RG43I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Feb 01 22:22:11 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f57.google.com ([209.85.160.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pNKYV-0009yy-Ip for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 01 Feb 2023 22:22:11 +0100 Original-Received: by mail-oa1-f57.google.com with SMTP id 586e51a60fabf-163583a26eesf5248fac.5 for ; Wed, 01 Feb 2023 13:22:11 -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:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=KwbPYtbAga08/x+bT/4cRuk8mcrVm8RQPcdujPmhX88=; b=eq2oIjHIl1PNniV+dVwiyfXlLdvK/daRMRz4WWMmfFVnMn4EZXR5qdQwOWkjGIdL5s gKxFt3NroLL1MIIWKRaIRo9Fjf3Dg5zC9DpXVQK6bii8jAVtTJtuLCWAcVk0eQy+tSyj GdlwiTf3O3EbgZYOVHhmwv0XmEMJA5pcAUX6mA13BpoeYu0yh2NigXhqtywIz1A78hx2 o74I1Aroj7zJcDgtPngBHXQoAoB0jPYXuuXVDSgDCZceYp/gQXe+ValSt/YjvW9oBn2l Ys/Cbbxp5P5ggX+8xI/IAwRhw44QkXz/ZWXIADYVYmzIARtc6l6gupBzQcjy2Bk7uNAq LelA== 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:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=KwbPYtbAga08/x+bT/4cRuk8mcrVm8RQPcdujPmhX88=; b=Xg+b2cBxazRXwx7oxOdYMUiKv94T2d1gDfMYbfKVWEQRfK1Jm5/Qk+GAqhzMApUvG4 88F5rekLw3b/roQ4GMEPpFy9f4FLrIS1HCSniKweIQug9nyTayeXkDQyvkSTlWXKsO7X brsEYIi4RLo17WLMYPOd3o2SQBsyAy2SkhL/h4lbPe7THFQepnHUzPExDk8g9c7Tj098 8nnMADjO9rvimBfKH/of2x9PYYe3ssGsMVqGzJEVHQPObVbfC5ovbMlghvA6ing5VS1l F0YDFeI0sZUm3AuJL9W4gbQSbYWeYIDhZY0lDRBHI1zjxD4IqUHbqsxMCbHfBrzSAF/N 3SGA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKXh3BnA/uhLb6+HPhOGaNhtYh7L4p9vA7rAUjCfh0/cWXW6U7eu w8tvjIDLqoSrtU7RqKsElEs= X-Google-Smtp-Source: AK7set/6YfLMXB8LCb3QBnZWqYA92Sc0u3GBtU9V1jDv1qwFa0M7+LWsadAdx3F0j+zUnvU4xeki6Q== X-Received: by 2002:a05:6870:40c6:b0:15e:cd1d:cc7a with SMTP id l6-20020a05687040c600b0015ecd1dcc7amr46534oal.5.1675286530270; Wed, 01 Feb 2023 13:22:10 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:2205:b0:378:7fb1:773b with SMTP id bd5-20020a056808220500b003787fb1773bls2156381oib.0.-pod-prod-gmail; Wed, 01 Feb 2023 13:22:06 -0800 (PST) X-Received: by 2002:aca:f0d7:0:b0:378:6b46:11cb with SMTP id o206-20020acaf0d7000000b003786b4611cbmr23855oih.10.1675286526135; Wed, 01 Feb 2023 13:22:06 -0800 (PST) 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:32131 Archived-At: ------=_Part_2500_2002344102.1675286525550 Content-Type: multipart/alternative; boundary="----=_Part_2501_634684166.1675286525550" ------=_Part_2501_634684166.1675286525550 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pandoc-2.19.2, pdflatex from TeXLive-2022. Rust-book set of .md files from https://github.com/killercup/trpl-ebook.git= =20 (version from 2016). Conversion to LaTeX seems to succeed, but subsequent invocation of pdflatex= =20 fails. I printed out arguments passed to pandoc: pandoc args:=20 --from=3Dmarkdown+smart+grid_tables+pipe_tables-simple_tables+raw_html+impl= icit_figures+footnotes+intraword_underscores+auto_identifiers-inline_code_a= ttributes=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=3Dlette= rpaper=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\tabcol= sep) *=20 \real{0.4189}} 301 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcol= sep) *=20 \real{0.0676}} 302 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcol= sep) *=20 \real{0.0676}} 303 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcol= sep) *=20 \real{0.0676}} 304 =E2=94=82 >{\raggedright\arraybackslash}p{(\columnwidth - 8\tabcol= sep) *=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}\raggedrig= ht 309 =E2=94=82 std 310 =E2=94=82 \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedrig= ht --=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/e52155b1-2b00-4cee-8816-53906072ede7n%40googlegroups.com. ------=_Part_2501_634684166.1675286525550 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pandoc-2.19.2, pdflatex from TeXLive-2022.
Rust-book set of .md files f= rom=C2=A0https://github.com/killercup/trpl-ebook.git (version from 20= 16).

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

I printed out arguments passed to pandoc:

pandoc args: --from=3Dmarkdown+smart+grid_tables+pipe_tables-simple_ta= bles+raw_html+implicit_figures+footnotes+intraword_underscores+auto_identif= iers-inline_code_attributes --embed-resources --standalone --highlight-styl= e=3Dtango --top-level-division=3Dchapter --table-of-contents --template=3Dl= ib/template.tex --pdf-engine=3Dpdflatex --to=3Dlatex --pdf-engine-opt=3D--i= nteraction=3Dnonstopmode --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 LaTe= X file looks like:

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

=C2=A0300 =C2=A0 =E2=94=82 =C2=A0 >{\raggedright\arraybackslash}p{(\col= umnwidth - 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/e52155b1-2b00-4cee-8816-53906072ede7n%40googlegroups.= com.
------=_Part_2501_634684166.1675286525550-- ------=_Part_2500_2002344102.1675286525550--