From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30992 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: almaghfuur lahu Newsgroups: gmane.text.pandoc Subject: Re: Apologize if not really pabdoc but instead rst Date: Sat, 16 Jul 2022 22:29:35 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3054_1090351472.1658035775804" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10035"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCYBCOIWMFRBQF4Z2LAMGQE2ECMRQI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jul 17 07:29:40 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f186.google.com ([209.85.128.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oCwqa-0002TT-ID for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 17 Jul 2022 07:29:40 +0200 Original-Received: by mail-yw1-f186.google.com with SMTP id 00721157ae682-31c95f27403sf70126007b3.6 for ; Sat, 16 Jul 2022 22:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=17vUkkNFasIXO3Iur4gz3S4F0CMhNAjBBUa5meSV3+4=; b=VUsmbh3sUvCM1DXYZVRoPMvM0JAWg8foYKwHCLOrHk/eR1jLLdS0LjOd6IcUR9hsHG hhRZdwxgJ9ly4fEnJhMv5VZcVvOFEcvbq0KBUFZIkIh8iJ0xG9lNqk6crKpmVaixkrt9 xhOkTpMJ1M/Ei3RGrvYawO/MV2hwZ8eSLomyFq0j7LsmVw5OEHeMHkBc4VPKrgL0taZH duJkC3BS60AMqEE/zIBSE6oeQehuKV5aVLAF3d5cjNBx79Rj7mDs8C8vwd/vnaMqixdV mOrTkLCHwrn3KgMbU5lbszhn1rMrhkxQABp3FDuTtktShPH6jlGp/Oe/+F+7AninWRuz XUXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=17vUkkNFasIXO3Iur4gz3S4F0CMhNAjBBUa5meSV3+4=; b=bxyjvw+0MZnRJn0LIUtu/heHIS61GGNnXnWKp2YxS0HsJJqWxuOVLAAM4ikvT2Hb8Q 6FmtLt9t+qUueMbgM4udwXoNsqYkughYsdZ+yvBfyfm3ZNbUhvHRlbuLPCm8FddqO69t G10B4bkl4jDTkOWHkD/l3nBpqPx2Q39oPbBVJlBx8zN/o9evxn3pEEX9C75OUFLZu1en Er7RBw0gnxf8f3bBSHfbove/yd1gbRRQ9yvPUxJLBr/zzc3TpHZ+z+gCmG6h/FDoyS1S D0TYVwF+P2/UovOnsTIsa+G3Y/xXvy5SfKxwl2dkZNbpdUGUe/qC5JIfkzIZ8qyfRO9u i5vA== 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:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=17vUkkNFasIXO3Iur4gz3S4F0CMhNAjBBUa5meSV3+4=; b=zVRfDkG9ERUBug2ceI9vH9+XrBDBFb0YjtEAlo31SpLB8zVIKgmui7G9m/pKusaDkR TP8gxWRnq+00jp8BvhmXPhBbQ1cQ8snRdjRd827MhKBFZPpMY+g9ZUE9PNmRY++vhuDw EiF6UqOMYY9Rd8EKPyFiU6a2PP3uyryRWRlSI+0sb3zjQaw1PKd1VbSwshHW7KW6qfkO AZj/O+v3G1RPNmMd8eFUFpY2+jPEAsZwFvgjQQgYL1HD+m6qx3zJtrXFvdCROqv4oOeR 8NlxZzDkSBXbaVQpDhp8MiedBdICXueNdrVGhqWly13W8CKPtNL+Lbvx20IIHKTc5oMb l8EQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/CNLlS9Vzn9cIeNp8vPSiawRWcayDf9Hg40kFDFpS6UtD6VMxp Gza0bimBFVgZtgsTPZkTICY= X-Google-Smtp-Source: AGRyM1sn5EZlLQENcGiMOyT3a94sijypgqofm/PK9KQhwI2wFRJL0W3508XG0S8pSFdf2RKtQBy1lw== X-Received: by 2002:a25:2f87:0:b0:66f:1147:766b with SMTP id v129-20020a252f87000000b0066f1147766bmr20168360ybv.566.1658035779386; Sat, 16 Jul 2022 22:29:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a0d:d592:0:b0:31d:3240:4e56 with SMTP id x140-20020a0dd592000000b0031d32404e56ls804643ywd.1.-pod-prod-gmail; Sat, 16 Jul 2022 22:29:36 -0700 (PDT) X-Received: by 2002:a81:6d01:0:b0:31d:a153:ace0 with SMTP id i1-20020a816d01000000b0031da153ace0mr24079776ywc.260.1658035776449; Sat, 16 Jul 2022 22:29:36 -0700 (PDT) In-Reply-To: X-Original-Sender: BudiKusasi-Re5JQEeQqe8AvxtiuMwx3w@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:30992 Archived-At: ------=_Part_3054_1090351472.1658035775804 Content-Type: multipart/alternative; boundary="----=_Part_3055_457757123.1658035775804" ------=_Part_3055_457757123.1658035775804 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Wonder if there's a rst command to force a line break at any point in rst= =20 document which latex hence pandoc can produce PDF as it has that On Thursday, 14 July 2022 at 15:57:59 UTC+7 Bastien Dumont wrote: > The problem is that the whole series of keywords are marked up as one spa= n=20 > of raw code, and LaTeX does not insert line breaks into raw code. In the= =20 > rst 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`= =20 > `of` `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= =20 > 'nim' > > class. It might be possible to use this info to control how it's=20 > rendered in > > the PDF? Or use a different PDF engine, e.g., I just tried it=20 > with wkhtmltopdf > > (and no special CSS) and the text wraps as expected ("from" is formatte= d=20 > in a > > different colour but perhaps that's intended). > >=20 > > [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= =20 > from" > > } > > [12] Str text: "." > > } > > } > >=20 > > On Thu, 14 Jul 2022 at 01:16, almaghfuur lahu <[1]budik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>= =20 > wrote: > >=20 > >=20 > > This's, just now, the result of Github issue [2]https://github.com/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 > > ? improper line is e.g: > >=20 > > These keywords are also operators: and or not xor shl shr div mod in=20 > 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=20 > 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=20 > notin > > is isnot of as from. > >=20 > > Please show the logical way to solve correctly so that can be done in= =20 > 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 Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send = an > > email to [4]pandoc-discus...-/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 Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email > > to [6]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [7] > https://groups.google.com/d/msgid/ > > pandoc-discuss/ > > CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA% > 40mail.gmail.com. > >=20 > > References: > >=20 > > [1] mailto:budik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > [2] https://github.com/jgm/pandoc/issues/8172 > > [3]=20 > https://drive.google.com/file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW5/view?us= p=3Dsharing > > [4] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [5]=20 > https://groups.google.com/d/msgid/pandoc-discuss/e63b0064-87dd-431a-b346-= de9e4c220785n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > [6] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [7]=20 > https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxi%3D4ZT%2BRyhGPAt= WiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gmail.com?utm_medium=3Demail&utm_s= ource=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/a2c95871-daca-41e5-a971-deb1f3085eb4n%40googlegroups.com. ------=_Part_3055_457757123.1658035775804 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Wonder if there's a rst command to force a line break at any point in rst d= ocument which latex hence pandoc can produce PDF as it has that

On Thursday, = 14 July 2022 at 15:57:59 UTC+7 Bastien Dumont wrote:
The problem is that the whole serie= s of keywords are marked up as one span of raw code, and LaTeX does not ins= ert line breaks into raw code. In the rst 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= ` `of` `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 wit= h 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= =C2=A0wkhtmltopdf
> (and no special CSS) and the text wraps as expected ("from&qu= ot; 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 notin 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]budik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
>=20
> This's, just now, the result of Github issue=C2=A0[2]https://github.com/jgm/
> pandoc/issues/8172
>=20
> Now after leading steps getting solved, next step is need to f= ix a
> imperfection on some lines overrun the right alignment margin
>=20
> How actually is the rst's width and margin alignment setti= ng command to
> correctly have the max column number laid out, or that is dete= rmined
> implicitly by pandoc on the run when trying accomplishing it b= y:
>=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 Go= ogle Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from = it, send an
> email to [4]pandoc-= discus...-/JYPxA39Uh5TLH3MbocFFw@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-discus...@= googlegroups.com.
> To view this discussion on the web visit [7]https://groups.google.com/d/msgid/
> pandoc-discuss/
> CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gmail.com.
>=20
> References:
>=20
> [1] mailto:budik...@gma= il.com
> [2] https://github.com/jgm/pandoc/issues/8172
> [3] https://drive.google.com/file/d/19DJ8at1Fze8-HEEzg3n9xLrSB9tIaqW= 5/view?usp=3Dsharing
> [4] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [5] https://gro= ups.google.com/d/msgid/pandoc-discuss/e63b0064-87dd-431a-b346-de9e4c220785n= %40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter
> [6] mailto:pandoc-discu= s...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [7] https://groups.google.com/d/msgid/pandoc-d= iscuss/CAEe_xxi%3D4ZT%2BRyhGPAtWiWFE1phYgshYubzA-%2BG7B2mESXJrpA%40mail.gma= il.com?utm_medium=3Demail&utm_source=3Dfooter

--
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/a2c95871-daca-41e5-a971-deb1f3085eb4n%40googlegroups.= com.
------=_Part_3055_457757123.1658035775804-- ------=_Part_3054_1090351472.1658035775804--