From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30966 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: William Lupton Newsgroups: gmane.text.pandoc Subject: Re: Apologize if not really pabdoc but instead rst Date: Thu, 14 Jul 2022 09:47:07 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f63f1605e3bff28a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26577"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBF5QX6LAMGQEJHY6GLQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jul 14 10:47:24 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f61.google.com ([209.85.160.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oBuVG-0006i9-CD for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 14 Jul 2022 10:47:22 +0200 Original-Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-10c881d0212sf794897fac.9 for ; Thu, 14 Jul 2022 01:47:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657788441; cv=pass; d=google.com; s=arc-20160816; b=FZ6CGAZvgWETtVatE0sXVvIle1HPjLkINq9eYrIgkgFgn6uLkSxRha6MHQsscanYQg O9ACom7uYMmTUQd6o/8UwkVZB6gl0AqmKwDlwIYFvxEIrTad/wlsTn5x8vwm5ONyx4CV KOUEqdw+CxbQJdmTJZpY7IOx5Xl+6Jnv87MiMNMR9WDpwj1/i22U6iE84ptxyekUkmlK rUMSbUs1GF4VpgKS1Irsp4pm60Qg8hMcIOFPSeNX/YE4jg4y12MC8yzorbVfvuxy8KJH yJF7l+hi4CdyAMQkBfE/k1rwbpk2kiScEVQV2Vr52SfbWS6qVHt7ZCFrpJ82aBxBIroG eUUg== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=NSx2UDvnrxIcbhtkxr3+bDW+KB0ycJwBAeF7ujHKX+g=; b=Wa0s2fR80uaQMC/rJGouQGj5Ur5Ae9EilD2ULrZW+to/eDtv25l71hZ3otUvXoJafJ yq8x9tK383ysF4c4ND7fSMIQzXeys0gP8lOUs3vYYMM08NqdQrakLKJOHCXfV6Hh3Jjm 4R7EDLy+4Ep2UdB0OTrREUUmtc7ZcdVYtjUtTXoq5LPMZbWdZN4Yn3+0iuBClUX6pHlI kU7gI/ucszDP/TrxK1s3/LMd3orfoo9LVtDckz45f6Jyg1IyLVXOh6/SQlwpw4ov1fsX /oCnW0HrgLQ3pnk9/6pCkin1X378MspeOJmby4inK2+2PXT5/ihFiacDvfKjcpBLks5c Q5Hg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=4Zzq3eXM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b2c as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject: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=NSx2UDvnrxIcbhtkxr3+bDW+KB0ycJwBAeF7ujHKX+g=; b=ajgfWRqqNZcXhkpBabCbKIB5fPH7Bvb71fv2Xdo0O2LG30u07AWAvbIJAJNooW+6bM K6Bl5JrGAui0Q3kmhgiJKOJCHM0bXgJs+KU6xwzSTuCE+nV50R/Q3x29tGpvypZE7aoV J6+QjCUGk6AO52BqPd4r0MiCUXtursHWdWzldRK8xpt+lRJGWnX/pM+3NrBt6bc/K311 JKSYOU9mshbYHU7xwVwKRYd5DPHiVvyzXRviXUn1irwdWBtg5QuhCgiuKCUlSRkIkgpU N+Kb5lXBlfEHFSel5dIcY23kMuGi66JjeHv7upKsYboMHTQjJKle2RgPnjitMq0bgtjR TiIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject: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=NSx2UDvnrxIcbhtkxr3+bDW+KB0ycJwBAeF7ujHKX+g=; b=iN68xTFUygr0gCFmOg5FbOj40iTMMJx2j5ndwTreH+5PeV6U7nm8UITfgzGtZihmVL lI9WglGe3IiWIxCSb+cZSPKBcpyloNCTEakvhRm5/0mj6vzMbmZul0QK3HhbbSkG/Laq 3VU2TuPo0FOsL/A50ms1LmEYQgb7R0F2SxWg/oMf1Eck+lUEp9e1F1pOsKp8aELSaVc4 9xxaA2+3qo6u2P74doV3K7/hH2rVy4zHix52vuiJelSCYVfAfc3QZzwYi58Jhu4HEmB8 OTpHvMKrpkQdO8LmvJEnMjt3Q6X6yXg0mDQiYhvWZ0qn1e1ZlYiS73OAvAehfsP5CHb5 T7Xg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora9bnF0nH2vSit8bfr+d/H7dWnJtat0r80y35gnc7Xu7QkKJDZ2K mBKfLk/4eSUOddiRRSDzAc4= X-Google-Smtp-Source: AGRyM1t3eq/NjL0o6RG2TJNKvRlA3qyiCX6DHI0S6TCVgwIylXG4Wjq18A6c5sq5C4vhg+y+a2jXjA== X-Received: by 2002:a9d:600d:0:b0:61c:2603:94c9 with SMTP id h13-20020a9d600d000000b0061c260394c9mr2905235otj.273.1657788441213; Thu, 14 Jul 2022 01:47:21 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:7696:b0:10c:2137:38ad with SMTP id dx22-20020a056870769600b0010c213738adls308349oab.1.-pod-prod-gmail; Thu, 14 Jul 2022 01:47:18 -0700 (PDT) X-Received: by 2002:a05:6870:4308:b0:10b:8cbe:c945 with SMTP id w8-20020a056870430800b0010b8cbec945mr6867590oah.220.1657788438679; Thu, 14 Jul 2022 01:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657788438; cv=none; d=google.com; s=arc-20160816; b=viFFvpCTNk3tk/lbYRb6pg6omcyUva7w1v+XAG5y2gndThvv+ZRf/04fKRjDzTbgR7 kpAJRswJqLcAu4H40cMGVJnclE4MI0Vuyd5GNjoJ+E15fMMdtjqJ6WRwn2kEUM9Yqb/2 irj2B0AP9wo4pEi2xv/IxMGYO45qt7BHkyhhBbzu3B6xGRlXJF4Gbq+P484HHCSIe4xi LAR+BD9GYiZciUJH0fpMoAd2OQDwtxxDJ93XRzRsXvuR03qMD4MBEymsJsmP59lnRC+C dSGfxG+r2L2tVMhzTLF1dAvtE6lfQ1qc1Hkgsy7bahfo+0kJwH9q/DxK3EHYujSpo2FH ikdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0bpfQCbG3wnoi3l8G+DT/lpHKk1i9ijQ9FYxLvr//aI=; b=rteKA1McMiCHGlqjQHaS076HK3cROy6Yf51RH3A+vPbyxWn/4ENICtQ4czqMTfFb2y wAhV2mORl9fNtNqqN/+kn5ATSNN0X7IJS3yrCPUK4bOXDpwZMjwUYVIhmtVZugXAN4ax /Z+BS1e///CYliIevSYSrqWlQJ3bM2zxe07UorK3csuR176jF+SFzEojnkqC5Ykn4ik1 fj+stl9pWIy94l2Udx833Du7wt+RQhOrh1F7t8J0SrBdJt1O3WL3C4C5+m++JSQwfL7/ LinDCeL61nlDwB02ZU7q/sh0uXf57QdOGUjnWlBR1Gkm1ODellrTaziojRPY2XtwdW3/ f0dg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=4Zzq3eXM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b2c as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org Original-Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com. [2607:f8b0:4864:20::b2c]) by gmr-mx.google.com with ESMTPS id a32-20020a056870a1a000b00101c9597c72si72847oaf.1.2022.07.14.01.47.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Jul 2022 01:47:18 -0700 (PDT) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b2c as permitted sender) client-ip=2607:f8b0:4864:20::b2c; Original-Received: by mail-yb1-xb2c.google.com with SMTP id c131so1336287ybf.9 for ; Thu, 14 Jul 2022 01:47:18 -0700 (PDT) X-Received: by 2002:a25:9947:0:b0:663:ec43:61eb with SMTP id n7-20020a259947000000b00663ec4361ebmr7688598ybo.115.1657788438029; Thu, 14 Jul 2022 01:47:18 -0700 (PDT) In-Reply-To: X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum-org.20210112.gappssmtp.com header.s=20210112 header.b=4Zzq3eXM; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2607:f8b0:4864:20::b2c as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@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:30966 Archived-At: --000000000000f63f1605e3bff28a Content-Type: text/plain; charset="UTF-8" This paragraph is parsed as shown below, i.e., as a code block with a 'nim' 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 wkhtmltopdf (and no special CSS) and the text wraps as expected ("from" is formatted in a different colour but perhaps that's intended). [130] Para { content: Inlines { [1] Str text: "These" [2] Space {} [3] Str text: "keywords" [4] Space {} [5] Str text: "are" [6] Space {} [7] Str text: "also" [8] Space {} [9] Str text: "operators:" [10] SoftBreak {} [11] Code { attr: Attr { attributes: AttributeList {} classes: List { [1] "nim" } identifier: "" } text: "and or not xor shl shr div mod in notin is isnot of as from" } [12] Str text: "." } } On Thu, 14 Jul 2022 at 01:16, almaghfuur lahu wrote: > This's, just now, the result of Github issue > https://github.com/jgm/pandoc/issues/8172 > > Now after leading steps getting solved, next step is need to fix a > imperfection on some lines overrun the right alignment margin > > 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: > > pandoc -f rst -t pdf -o manual.pdf manual.rst > > ? improper line is e.g: > > *These keywords are also operators: and or not xor shl shr div mod in > notin is isnot of as from.* > > ... notin <= longer than it > > Real PDF document being viewed: > > *These keywords are also operators: and or not xor shl shr div mod in > notin is isnot of as from.* > > Needed wrapped/broken to: > * These keywords are also operators: and or not xor shl shr div mod in > notin* > * is isnot of as from. * > > Please show the logical way to solve correctly so that can be done in > batch by find-replace regex tool > > the rst: > > https://drive.google.com/file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW5/view?usp=sharing > > -- > 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/e63b0064-87dd-431a-b346-de9e4c220785n%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/CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gmail.com. --000000000000f63f1605e3bff28a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This paragraph is parsed as shown below, i.e., as a code b= lock with a 'nim' class. It might be possible to use this info to c= ontrol how it's rendered in the PDF? Or use a different PDF engine, e.g= ., I just tried it with=C2=A0wkhtmltopdf (and no special CSS) and the text = wraps as expected ("from" is formatted in a different colour but = perhaps that's intended).

= =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&quo= t;
=C2=A0 =C2=A0 =C2=A0 [6] Space {}
=C2=A0 =C2=A0 =C2=A0 [7] Str tex= t: "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] So= ftBreak {}
=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: Attribut= eList {}
=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 tex= t: "and or not xor shl shr div mod in notin is isnot of as from"<= br>=C2=A0 =C2=A0 =C2=A0 }
=C2=A0 =C2=A0 =C2=A0 [12] Str text: ".&qu= ot;
=C2=A0 =C2=A0 }
=C2=A0 }


On Thu, 14 Jul 2022 at 0= 1:16, almaghfuur lahu <budikusas= i@gmail.com> wrote:

This's, just now, the result of Github issue= =C2=A0https://github.com/jgm/pandoc/issues/8172

Now aft= er leading steps getting solved, next step is need to fix a imperfection on= some lines overrun the right alignment margin

How actua= lly is the rst's width and margin alignment setting command to correctl= y have the max column number laid out, or that is determined implicitly by = pandoc on the run when trying accomplishing it by:

pando= c -f rst -t pdf -o manual.pdf manual.rst

?=C2=A0 imprope= r line is e.g:

These keywords are also operators: and= or not xor shl shr div mod in notin is isnot of as from.

... notin <=3D longer than it

Real PDF document= being viewed:

These keywords are also operators: and= or not xor shl shr div mod in notin is isnot of as from.

Needed wrapped/broken to:

These keywords are also operators: and or not xor shl shr div mod in notin<= /b>
=C2=A0is isnot of as from.

Please show the logical way to solve correctly so= that can be done in batch by find-replace regex tool

th= e rst:
https://drive.google.com/= file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW5/view?usp=3Dsharing

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/e63b0064-87dd-431a-b346-de9e4c2= 20785n%40googlegroups.com.

--
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://g= roups.google.com/d/msgid/pandoc-discuss/CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgs= hYubzA-%2BG7B2mESXJrpA%40mail.gmail.com.
--000000000000f63f1605e3bff28a--