From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30967 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Apologize if not really pabdoc but instead rst Date: Thu, 14 Jul 2022 08:57:54 +0000 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39210"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBFFVX6LAMGQECD7GBKI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 14 10:58:01 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f61.google.com ([209.85.128.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oBufY-0009yO-7F for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 14 Jul 2022 10:58:00 +0200 Original-Received: by mail-wm1-f61.google.com with SMTP id t25-20020a7bc3d9000000b003a2ea772bd2sf480080wmj.2 for ; Thu, 14 Jul 2022 01:58:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657789080; cv=pass; d=google.com; s=arc-20160816; b=Az4/H09OTGSXB6pUqKLpEJVpj1OTPF+bbzEZFxTkpee1QKjXRC2jInRs3/OQ0TedTg 0SrM2wIqvXNnLmiY71ixSb7maxvZ5IIhFZYuav5CdVoQKU9pAffytCAoq368VzZsgiV/ UMBPJWTNX+l01mD0AHz2aVBL2ZTnPf6czwtCu29pw/Ycu7iQStMVZFsFXlwDRKuE1cRn 6cO/+P8NyVtOEpythLOMpR2XlKjLHIkd1xhtEkrPmBZVUOfoLlptSLEd0rZLKxnssmt2 rmX29R3v6FSKaFLzuGndLgC3uVlIBi6csbVVqakmn4FEbkaZVmlttsCV1VIHjfV1mZl4 o9AA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=rHx0vLu4O/bHUBEAWaHqfwy0ukVjUG+oauedDWqOF5w=; b=yqU5PACWmutW+Owfms3uNOxSOcZWBgPlslPudHNr5RdRwEKfx4VGdbbksRffBksQDh 44KCvF6CQ1lBG+WXcwMtFFSdvlXzhakTsJD/7+qFNoV/QQy0MgcY9OnkJFm6if0M84kQ 73wr8RvF3XkCm0N2l3qDOS+ZlLuCS/cKN0rHcMLx3ApyDWdg7I4fWwTB1D0K28s29Vtp 9jsKnhR/Akx3DhbJ0hF1iKjY4tXF1QsY3l7ftri6O9ksfj9kt3w2Gbqsn66oN8HjmsZE WB2ZXo6HJpwtOmYVL27JP1I7xF87/D2gL/96ieooXWA921bU203OtLmJxu4UdXDykypr AQcw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=sADnQ67V; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rHx0vLu4O/bHUBEAWaHqfwy0ukVjUG+oauedDWqOF5w=; b=A4i5X7EVDDuSL6fjeoYgFN3ySyhXkNPqvv4BVSMdyZHniKHwx34w6x0JDJYPoNQ4l/ DF+ItPZtgRLWmWxksyUbgXC3Ll2umCuIOT7O1NUGEEWTru6MZ8x1A6Z5iYC+MZAivbDD HIBkTIXuy6znaIQOJwqZ1Ka/MGp9AK2K71mlIvDzAsTFkPHjh8kFtph26656tyYFA/sB +WZzfkv9gCSEoV/9bBQ1vrcJAIeYcn0EkAi1gUgn1dn1W8WYbcdYkXqB9+H2EkbxScds lgSgE8Py78MJJP8bJ3XO881KBGhqxSVIyk6d4DSoeb2NmfOH6guXjeVXWmqS2J/XqZBj RO+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=rHx0vLu4O/bHUBEAWaHqfwy0ukVjUG+oauedDWqOF5w=; b=lH32sAuCMLle4lQ/Sa8KkbH7XI7zSrvULwtSnB+R2CamN+9BCCLw33uDXqenFD9+WF LPCAN0zn2LSYUDE92RfnHk7AikIEWoaDdEUfqCJ8HIYA2nrALO1OmJgmz+w5DgQ7yzkb lsvLUWAyN3nhrKK3CLQc1yss8oZY+/rjyNXRoIff1yVhdUcNTrBv1V0Sfg2nAGugAULt mCYVOc1uwgv/w3cYufqHyGGIfq55nsFbPmGokr6+yZpP2Cbnm6blrAG42F8jlseljQlG E6ogpAG/rzWy8yX8/6sd8AazkH42xatn7dF9ErOmxMjx Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora+RYCXh3a6QMujTR6GStPVpojhatbYXQ5JxhdNQ6zXN9b+GPQ3j ek5okoOt6ccaIahJHUxxFJM= X-Google-Smtp-Source: AGRyM1vKbzI5oPLR+DlwREZC9pWzZwc8UTuRAicUugK5EDsfkZceLhy59yQWGdGwzNUxW2Z2cGgtTQ== X-Received: by 2002:a05:600c:1551:b0:3a2:f373:c97b with SMTP id f17-20020a05600c155100b003a2f373c97bmr7758478wmg.16.1657789079724; Thu, 14 Jul 2022 01:57:59 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:1ac7:b0:21d:ab25:25ba with SMTP id i7-20020a0560001ac700b0021dab2525bals510791wry.2.gmail; Thu, 14 Jul 2022 01:57:55 -0700 (PDT) X-Received: by 2002:adf:e804:0:b0:21d:6e85:7550 with SMTP id o4-20020adfe804000000b0021d6e857550mr7571194wrm.337.1657789075819; Thu, 14 Jul 2022 01:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657789075; cv=none; d=google.com; s=arc-20160816; b=MQV+so3IEWzvPjBF8SX6hswf1TzCAkxVmQMX0H/dtHmdonC7ELQfEnebOvGcIWML/F bgyUywLBEolQQqGEo0pXWZxwsOoGjvR0ez9Q2qnzpmcfJPsKloS6jvRde4MS/TCYtUIJ LfXpdcTsE9FR4OV/GxOPT/g6y6azrPU+/ywSjP4yRvuMALtNcXGSCsFdjACMO6QDefD2 0P7NuYitk784TSO8vjD02xyz+WK0PWMVP9+kxnwpGMKLkrKzVeKod4DGBbYa/9OAbi32 WKp30/VC0l6/qQ+2M0Q7st2cuMhDPKIgzEV6LAxJMPlVlp7kf/x4r3SZCLzYmMv7BPFp iuKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=P2BlVqjLAql9WWcUYSnZZ3zf7asqLM4bMiGQQLKD5aU=; b=RxceDX4oE7IN+vBpicVTQXVJtPm1rODd1BJ1hJTm+3XBdt/krq7a7gVIEga19dFwic qbQ24F9Y56XFVpR+j2EcHmA/ppbG4jUpjtitcPVE4m6b/hd+zX00naWH6UIw0wMQbsBU AXIfOhSrockfyyC+3XerZjAZ2DAxd8KG1okiy0Ne+Z9nMxH9K/KBJyNTByFgpJ5mKMpI 2f753tPG5yNCC526edsF6QIaCZiZ1ZJQwRLs8gJhVOocg4A0P/SQrzgRSEZ71b92na5P ZJCU0nVatlolhGcVrhSgK1tbunhavI4N/tFiRWcSVtJSqP7PORL5x7sI8NvCllmp0te9 /XoQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=sADnQ67V; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id n25-20020a7bc5d9000000b003a2e84a9f74si48521wmk.0.2022.07.14.01.57.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jul 2022 01:57:55 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 67A49240026 for ; Thu, 14 Jul 2022 10:57:55 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Lk7g674kYz6tm6 for ; Thu, 14 Jul 2022 10:57:54 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=sADnQ67V; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:30967 Archived-At: The problem is that the whole series of keywords are marked up as one span = of raw code, and LaTeX does not insert line breaks into raw code. In the rs= t file, replace These keywords are also operators: `and or not xor shl shr div mod in notin is isnot of as from`. with These keywords are also operators: `and` `or` `not` `xor` `shl` `shr` `div` `mod` `in` `notin` `is` `isnot` `o= f` `as` `from`. Le Thursday 14 July 2022 =C3=A0 09:47:07AM, William Lupton a =C3=A9crit : > This paragraph is parsed as shown below, i.e., as a code block with a 'ni= m' > class. It might be possible to use this info to control how it's rendered= in > the PDF? Or use a different PDF engine, e.g., I just tried it with=C2=A0w= khtmltopdf > (and no special CSS) and the text wraps as expected ("from" is formatted = in a > different colour but perhaps that's intended). >=20 > =C2=A0 [130] Para { > =C2=A0 =C2=A0 content: Inlines { > =C2=A0 =C2=A0 =C2=A0 [1] Str text: "These" > =C2=A0 =C2=A0 =C2=A0 [2] Space {} > =C2=A0 =C2=A0 =C2=A0 [3] Str text: "keywords" > =C2=A0 =C2=A0 =C2=A0 [4] Space {} > =C2=A0 =C2=A0 =C2=A0 [5] Str text: "are" > =C2=A0 =C2=A0 =C2=A0 [6] Space {} > =C2=A0 =C2=A0 =C2=A0 [7] Str text: "also" > =C2=A0 =C2=A0 =C2=A0 [8] Space {} > =C2=A0 =C2=A0 =C2=A0 [9] Str text: "operators:" > =C2=A0 =C2=A0 =C2=A0 [10] SoftBreak {} > =C2=A0 =C2=A0 =C2=A0 [11] Code { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 attr: Attr { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 attributes: AttributeList {} > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 classes: List { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [1] "nim" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 } > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 identifier: "" > =C2=A0 =C2=A0 =C2=A0 =C2=A0 } > =C2=A0 =C2=A0 =C2=A0 =C2=A0 text: "and or not xor shl shr div mod in noti= n is isnot of as from" > =C2=A0 =C2=A0 =C2=A0 } > =C2=A0 =C2=A0 =C2=A0 [12] Str text: "." > =C2=A0 =C2=A0 } > =C2=A0 } >=20 > On Thu, 14 Jul 2022 at 01:16, almaghfuur lahu <[1]budikusasi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> w= rote: >=20 >=20 > This's, just now, the result of Github issue=C2=A0[2]https://github.c= om/jgm/ > pandoc/issues/8172 >=20 > Now after leading steps getting solved, next step is need to fix a > imperfection on some lines overrun the right alignment margin >=20 > How actually is the rst's width and margin alignment setting command = to > correctly have the max column number laid out, or that is determined > implicitly by pandoc on the run when trying accomplishing it by: >=20 > pandoc -f rst -t pdf -o manual.pdf manual.rst >=20 > ?=C2=A0 improper line is e.g: >=20 > These keywords are also operators: and or not xor shl shr div mod in = notin > is isnot of as from. >=20 > ... notin <=3D longer than it >=20 > Real PDF document being viewed: >=20 > These keywords are also operators: and or not xor shl shr div mod in = notin > is isnot of as from. >=20 > Needed wrapped/broken to: >=20 > These keywords are also operators: and or not xor shl shr div mod in = notin > =C2=A0is isnot of as from. >=20 > Please show the logical way to solve correctly so that can be done in= batch > by find-replace regex tool >=20 > the rst: > [3]https://drive.google.com/file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW5/= view? > usp=3Dsharing >=20 > -- > You received this message because you are subscribed to the Google Gr= oups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, sen= d an > email to [4]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [5]https://groups.google.com= /d/ > msgid/pandoc-discuss/ > e63b0064-87dd-431a-b346-de9e4c220785n%40googlegroups.com. >=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= email > to [6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [7]https://groups.google.com/d/m= sgid/ > pandoc-discuss/ > CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gmail.co= m. >=20 > References: >=20 > [1] mailto:budikusasi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > [2] https://github.com/jgm/pandoc/issues/8172 > [3] https://drive.google.com/file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW5/vie= w?usp=3Dsharing > [4] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [5] https://groups.google.com/d/msgid/pandoc-discuss/e63b0064-87dd-431a-b= 346-de9e4c220785n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > [6] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [7] https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxi%3D4ZT%2BRyh= GPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gmail.com?utm_medium=3Demail&u= tm_source=3Dfooter --=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/Ys/akvqQJgZqgvu9%40localhost.