From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29942 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Byskov Dalgaard Newsgroups: gmane.text.pandoc Subject: Re: Inserting blank lines into a document using Markdown Date: Tue, 11 Jan 2022 10:48:42 +0100 Message-ID: References: <3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388@coolfortheblind.dk> <4FF46680-CC8E-40B1-83B2-F9D6F7D219E4@coolfortheblind.dk> <144A1587-D0B9-46F4-832C-6A2058F3E91F@coolfortheblind.dk> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) 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="35246"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCNKFONGRUMBBANF6WHAMGQEWJOCPQQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 11 10:48:52 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f61.google.com ([209.85.161.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n7Dlr-00092k-QV for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Jan 2022 10:48:51 +0100 Original-Received: by mail-oo1-f61.google.com with SMTP id k16-20020a4ad110000000b002dce8dc4c00sf1768181oor.14 for ; Tue, 11 Jan 2022 01:48:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641894530; cv=pass; d=google.com; s=arc-20160816; b=XjlaEcFtf4XjYY051I865MP7JYWWKJzbSipr46qFdAL+HOCygupNxF7GM40stHdQco nuhDsfOFlW31nxqdR7p4/ti7Sikk2h7Z/HpmktjB8Sb3ZRYFkzIW23/qp3b2xzPxqn3C ARCua+HXeKZY4zUWPyQu3FZ0JxKYHVYjeErFpIDnrwnm5RFYQehjAlKjxwIc3IF671h0 aIoRradQwh2o9+vgUZXLv9hUqfjvVhBaltBr3Hrmd8JraeTnyRaTv7KeLHwqaKBn1aAt 3DPzrbSCIh0DHW+plR0oczP/VJI2+mRZGXJ/yUm44S6wlTkTeq/uZKVo/Zd37FCDKpH5 e9iQ== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature; bh=TqGx3mDszsLJUH4508Z50tGxhqWbHPhWmY/jfTxFzQc=; b=GA66Y+osX4mJe61ipY6RRUCheVYEEuc36JoFS3K8hfHn1F8JyJKgSniXeY9duE65Od xDaZq2kj6dVeTdLQxdJxHR4IMdplDvep+tlX9cQPTLTMmznJXzPszCi33zvPWklEBtXy uoLqWngaAEuvNlXspcIXJVLSVnNKrqB8P7G01dGyBpNij55uHkRpeYw4LUnrng6vmsh5 qHjZpMug2m35XSTdkBGW+AHTK4uUYts7FCvg0/VPxWMYmxPukw3/TqofjSI/F3FP6aHx +epVaOTLWH7Q/JwXnSGOD1EsQ7Sumf59/WK0uYm5tg20K28oeyw8VQph/zzsz2rWdldL /tsA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=dXsrjL6o; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.49 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:content-transfer-encoding:mime-version:subject:date :references:to:in-reply-to:message-id: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=TqGx3mDszsLJUH4508Z50tGxhqWbHPhWmY/jfTxFzQc=; b=OE3hAsJcYo/8QNST4xLX0lW08MhTJkM/1NDTpoB/knvAd1KUlub419Wgb9gAxDUpdy c36yNbzcy6ZXvxGkZ9KCcvAzsfgI5hfe/3qY3/fCpr0OniHdgwH6kor5+1j6pkhtDTgz qEaI0pMogz/6PPxzyAVQvEEZqaP9QqTMTruXnUr0MSag3DucIP8u1PJbzrXNpLkb3J/y 7Cr/GP1CUmE5bAA3R/oeAmUQ3vRbn1VSoH0WZLsS67sb8H55P0Ct/KZNur8eK5Mik6FG OrH9THuU594OXvGwEY5wdJXxgx68W6/HOlSKUf7UgBGOG9t0zPkJ3+sCEL8vT4MS36p0 oanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id :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=TqGx3mDszsLJUH4508Z50tGxhqWbHPhWmY/jfTxFzQc=; b=wJsVxBdBvM6s7OC9zb/sxcgty1Emwy30a68y6KCdXrdJt3FW37rtpupkZiI6U4oyFh 8ixusl5nzALbNsaegi+GjUTyh0sHJTBjzP1a7FvvrZVCe4XjRCHKyMUWIVAadYZ2g2l5 KbL/WRKcUK9KDOzyUq6kRvOw/YPhBmY6PMGonI1iaictDhpiX6z63O8z+Ak/LlxqgE0/ GaDNZ3hW36Q08p2ND4D0ig8ytFURQqnZRmtao44ltdMSUNHjsShuIjZWqMbjh2ehdYzx qm7KudMDm7jg4fneuKBA3QziQOV2kRs5XBAREc3BW7C+W68CQefMn+/DR4Me2eAVlQUb Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5310EE24pAYR+b1eeBt4fcpwCULU4xUPds2TMmXiI/70PYSV+i/8 LRdQeWU9oHBORFLe1P4jYpo= X-Google-Smtp-Source: ABdhPJzVy5hEXB7xl3TwndTojO3cvrhUdntNUO0UvGL+KKm8EBD0D5wnWmRTSuHqwcl7GyvcUbNYpw== X-Received: by 2002:a05:6808:13d2:: with SMTP id d18mr1243337oiw.149.1641894530799; Tue, 11 Jan 2022 01:48:50 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:543:: with SMTP id i3ls3663493oig.4.gmail; Tue, 11 Jan 2022 01:48:49 -0800 (PST) X-Received: by 2002:a05:6808:1401:: with SMTP id w1mr1246537oiv.7.1641894529214; Tue, 11 Jan 2022 01:48:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641894529; cv=none; d=google.com; s=arc-20160816; b=T4ssoIeZ6G64wNMiYto57z+dmpFDfYFTBgJG/FgwHFuGw7pcHZbx8reujBYuYKbGLG a88rghs8qKwSIBw/vZ9Wk9Iy2LGIddHAuVR4I8wt1kuzo+a1TxnHwYnaf2ukGXhukTzB ZEhOJ5d3ajkbuqyCNiuKhFtkuzS/962nvHBjxl3iYQxNEi2cqBUVAA60+8ZJoEXowJPm wycdW4CgngOD7eAuEl7bVArBH4YY0GnsBhm+QFMIoB7QJJQ0C+s1TNlYiEP45R4wuVkn Vrk3eeTFG4H/IUtPiYqEZst+IFSpMXuZ3B4Bos2nN8dm/fYn9GEM9xqENPLynqDM/uHA +Bow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=LobXTM0V3A4clN9G/DFdukD8hBLdQOOZcehkQT+3p/k=; b=US0HDisIsmJUDLMp29aq5bnPxJPRWU8nUtFJJVhWgCZxTIwei5Vl8dinfIdRw1MmEi pZgEaL095fgfhy726U2RE2o4ZkmYoR2E8Do1op2Leho3EsY+3FPK2UMGtHe9cUns9Rgs JjXzGeTtLnsf9y80SzJ2onicV1GIjsH81bBp7nFlovFMwHXwsXO7Qfwz2cZeSyAjeWJS dzuGjrTl8/msMp6ntXdiOv29Wzw4MCsc2lzcsRVhOmMRZGwoum5JWfVDVnQSRhVD03Q5 AdYn7RDrAhu+YXmIg1TP1Ovyt4sOGiiAau6Fx0FIwY7JzKBo6722CMfKamt6KNI/AT12 nqfA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=dXsrjL6o; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.49 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from donkey.elm.relay.mailchannels.net (donkey.elm.relay.mailchannels.net. [23.83.212.49]) by gmr-mx.google.com with ESMTPS id s203si123365oig.4.2022.01.11.01.48.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jan 2022 01:48:48 -0800 (PST) Received-SPF: pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.49 as permitted sender) client-ip=23.83.212.49; X-Sender-Id: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E7AE36C19FE for ; Tue, 11 Jan 2022 09:48:45 +0000 (UTC) Original-Received: from cp06.azehosting.net (unknown [127.0.0.6]) (Authenticated sender: azehosting) by relay.mailchannels.net (Postfix) with ESMTPA id ED2FE6C190B for ; Tue, 11 Jan 2022 09:48:44 +0000 (UTC) X-Sender-Id: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org Original-Received: from cp06.azehosting.net (cp06.azehosting.net [157.90.34.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.126.0.8 (trex/6.4.3); Tue, 11 Jan 2022 09:48:45 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: azehosting|x-authuser|tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-MailChannels-Auth-Id: azehosting X-Battle-Industry: 0b714b786458ea59_1641894525505_4092987 X-MC-Loop-Signature: 1641894525505:4173835186 X-MC-Ingress-Time: 1641894525504 Original-Received: from [87.55.101.166] (port=51280 helo=[192.168.0.23]) by cp06.azehosting.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n7Dlk-00072T-4w for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Tue, 11 Jan 2022 10:48:42 +0100 In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.7) X-AuthUser: tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-Original-Sender: tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@coolfortheblind.dk header.s=default header.b=dXsrjL6o; spf=pass (google.com: domain of tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@public.gmane.org designates 23.83.212.49 as permitted sender) smtp.mailfrom=tbdlist-AHfMSizzl90sTMJHDOTzqX9LOBIZ5rWg@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:29942 Archived-At: Hi Bastien! Interesting. How did you read the source from the Word document? I may look into this some more. So I am interested to know how to get into = reading docx source, then I might find out what to do about the issue I am = having. Thanks Best regards Thomas=20 > Den 6. jan. 2022 kl. 09.31 skrev Bastien DUMONT : >=20 > I checked the docx file (including its source code): it is perfectly norm= al. The problem may be with your displaying software. >=20 > Le Wednesday 05 January 2022 =C3=A0 10:49:35PM, Thomas Byskov Dalgaard a = =C3=A9crit : >> Hi Bastien! >>=20 >> I have tried to attach the two files. >>=20 >> Please let me know your findings here. >>=20 >> Thanks in advance >>=20 >> Best regards Thomas >>=20 >>=20 >>> Den 5. jan. 2022 kl. 22.18 skrev Bastien DUMONT : >>>=20 >>> Sorry, I just tried with pandoc 2.16.2 and it worked as expected... May= be you could share you exact input and output files restricted to this mini= mal example? >>>=20 >>> Le Wednesday 05 January 2022 =C3=A0 08:49:54PM, Thomas Byskov Dalgaard = a =C3=A9crit : >>>> Hi Bastien! >>>>=20 >>>> Here is the result from 2.16.2 converted from Markdown to docx: >>>>=20 >>>> This is a paragraph. After it, a blank line will be inserted. >>>>=20 >>> This is the following paragraph. >>>>=20 >>>> I see a strange character there where the blank line should have ben i= nserted. >>>>=20 >>>> I use Markdown quite extensively when using Braille, the way blind and= visually impaired people read with their fingers. >>>> I have a braille display connected to my computer and therefor I can g= et nice results via Markdown, I use Pandoc for converting documents when I = need them to look elegant. >>>> Yes, I could use Word, but I preer Markdown and plain text. :) >>>> Do you think I have found a bug here? >>>>=20 >>>> Best regards Thomas=20 >>>>> Den 5. jan. 2022 kl. 14.12 skrev Bastien DUMONT : >>>>>=20 >>>>> I don't get any special character in DOCX, but I still use pandoc 2.1= 4. If the exact code I wrote produces one in v. 2.16.2, this may be a bug. >>>>>=20 >>>>> Don't write the backslash between two blank lines if you want only on= e blank line: this indicates a paragraph containing a line break, so you wi= ll end up with two blank lines in the output. Instead, write the backslash = on the line immediately preceding the paragraph, as I showed in my example. >>>>>=20 >>>>> In what cases do you want to insert some blank space before a paragra= ph? It would probably be better achieved through styling. >>>>>=20 >>>>> Le Wednesday 05 January 2022 =C3=A0 11:57:49AM, Thomas Byskov Dalgaar= d a =C3=A9crit : >>>>>> Hi Bastien! >>>>>>=20 >>>>>> Thanks for your idea. >>>>>>=20 >>>>>> I am a little behind on HTML 5 specs, because I mostly work in Markd= own. >>>>>>=20 >>>>>> The following worked: >>>>>>=20 >>>>>> ~~~ >>>>>> This is the first paragraph. After this sentence there is inserted a= blank line before the next paragraph. >>>>>>=20 >>>>>> \ >>>>>>=20 >>>>>> Here starts the next paragraph. >>>>>> ~~~ >>>>>>=20 >>>>>> I noticed though that this inserts a special character when I conver= t from Markdown to docx-files. It looks like the escaped linebreak does som= ething unexpected. >>>>>>=20 >>>>>> I also noticed that If I want to insert a heading I can't get blank = lines before this element in docx-files as well. >>>>>> How can I troubleshot this? >>>>>>=20 >>>>>> Best regards Thomas=20 >>>>>>=20 >>>>>>> Den 7. nov. 2021 kl. 11.40 skrev Bastien DUMONT : >>>>>>>=20 >>>>>>> Hi, >>>>>>>=20 >>>>>>> This can be achieved by escaping the first line at the begin of the= paragraph: >>>>>>>=20 >>>>>>> ``` >>>>>>> This is a paragraph. After it, >>>>>>> a blank line will be inserted. >>>>>>>=20 >>>>>>> \ >>>>>>> This is the following paragraph. >>>>>>> ``` >>>>>>>=20 >>>>>>> However, if your inserting of a blank line follows some general cri= teria, there could be a better way to do this than manual insertion. >>>>>>>=20 >>>>>>> Best, >>>>>>>=20 >>>>>>> Bastien >>>>>>>=20 >>>>>>>=20 >>>>>>> Le Sunday 07 November 2021 =C3=A0 11:29:52AM, Thomas Byskov Dalgaar= d a =C3=A9crit : >>>>>>>> Hi! >>>>>>>>=20 >>>>>>>> When I render documents I have written in Markdown (the variant P= andoc defaults to) I find that I in a few cases want to include some blank = lines before a new paragraph. >>>>>>>> Is there a way to do this easily when writing in Markdown? >>>>>>>>=20 >>>>>>>> Thanks >>>>>>>>=20 >>>>>>>> Best regards Thomas=20 >>>>>>>>=20 >>>>>>>> --=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 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/A1998CCA-188A-4553-BF5C-5CFD5D44AADD%40coolforthebl= ind.dk. >>>>>>>=20 >>>>>>> --=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, s= end 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/YYetGzBODfdjyAcC%40localhost. >>>>>>=20 >>>>>> --=20 >>>>>> You received this message because you are subscribed to the Google G= roups "pandoc-discuss" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, se= nd 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/3B3F5A70-0DF9-4D74-B8AC-0CDD03E46388%40coolfortheblin= d.dk. >>>>>=20 >>>>> --=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 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/YdWZKXIbH6G7pBnQ%40localhost. >>>>=20 >>>> --=20 >>>> You received this message because you are subscribed to the Google Gro= ups "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/m= sgid/pandoc-discuss/4FF46680-CC8E-40B1-83B2-F9D6F7D219E4%40coolfortheblind.= dk. >>>=20 >>> --=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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/YdYLI8gO7cfQ431K%40localhost. >>=20 >> --=20 >> You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/144A1587-D0B9-46F4-832C-6A2058F3E91F%40coolfortheblind.dk= . >=20 >=20 >=20 > --=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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/Ydao3mhsl7uFAysg%40localhost. --=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/EC9FF0CD-E797-4EDD-A326-55B53B6CA15E%40coolfortheblind.dk.