From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29943 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: Inserting blank lines into a document using Markdown Date: Tue, 11 Jan 2022 09:52:22 +0000 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 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="12680"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBWFG6WHAMGQEYYOTFMY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jan 11 10:52:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f58.google.com ([209.85.221.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1n7DpK-00035T-UR for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Jan 2022 10:52:26 +0100 Original-Received: by mail-wr1-f58.google.com with SMTP id r10-20020adfa14a000000b001a375e65e60sf4746191wrr.2 for ; Tue, 11 Jan 2022 01:52:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1641894746; cv=pass; d=google.com; s=arc-20160816; b=1Hf50nY2Ex3vtbmwKL88h8MJtVkgmS/lPbz5YPAEg6y8sT2fyr/QI8IO2dRa3qa9/F hPGEXgRrwbgXORcdVYDhoNeOmfCamMKZPVmnKfA+Y4Ig9ogU1az2wVegd4TUnEPWQqqA QlGMFexSu7BEvuVgTUbBORXGhA3WmZJZMSPLIR9EpTaP/q0kzNZspPPP0SWok35Fam/C +jrA5iCgtY6TaZR/nPF9tWxB3Ch7zJJZYWvuyr8gJhX2Yug/aAuEbCY4I832Nmc4ksUq d0AienFyl96D5GVToqGHy3An3U5hYTuUwdqeeSCszHIqPCm+IQ7bkhrZe25GqT07Ej2a J8uA== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=Mm2jM2IKk2XvkQWDq59QsZfkYICeqFAroyjDxcwd86I=; b=hw6OsTZ3IaotfI1x0dM8yHd1Cb3/g9IrHpQbLYz1wi6f75C+qDSPjmKKKr8pGlSxyi XtLCo/TI13dZAeV999iqzvvyGqHCyZv3LauRVRv7GMWWanX4pgshbmxLTNELDO0QNdXZ GtLvyFOxgM1KRBH7JNIC5mHYG5G1DGmg2xhU2gVIYEOeLqv2ehRH3dMsY0++efBkHF1R XG7ESdLJVFFhtHNfW6jqVmOqSO52dNVjo43DenNT46IWx/LsXTom3WRAPj37KfRLfG57 41Lpu5XhTedppzmvdaWZ0Ybzv3L0BaBdlxxVYrhCgC9gYg9A4QmQoSzO7ixoM8lsAvaw DWQw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version: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=Mm2jM2IKk2XvkQWDq59QsZfkYICeqFAroyjDxcwd86I=; b=sdIgssrOh3lotR7O3itO/xcEK93iTPpvYyTPMOaVNcVCNCG5RxZIviphjiVo9XdkC5 kv3HP8WV9M/0vSrf4u+4bTOlk7oIeDr73FT+XUZomzqTy6JX6wPp0si0bj/M27cQMBQi 9vO9Ou3+ugg2mfkqaIMhiqCosR7ML2tP8OwDK49rd0vp8inB48VlVP6HBeRmoc1Yw/+2 2x/dZC/AQB7EC4AALzE9EIVHmTSxZ/EaWPxyLMI72GOAU+DzErHRb81hOIM24fQV59fL VGbHx+PvmVjNrrTmTcghuhqi4bsGV9EpbgQEuG9D8Md2kB0TQG X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :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=Mm2jM2IKk2XvkQWDq59QsZfkYICeqFAroyjDxcwd86I=; b=oqMkm5eMUXImpeouPNQAdm2BNr4soKKS8vLLbbvBQ3qY6Hm+6RkCg9S9JUQg/L2v1i KrXbd6EtCgBFJVLaVj4Kiiv801TMWKOLOKPFaVybrKdGIeub1GkMazPsH8PrAIP1xVd0 JqnOsosZ10XsxeDBreOr20xNDGYTJ7GJ9oPQUGerBvy795qaWkGOhYpkA+qZfeLJM0v8 6oTlqcz2LCsKw/tTr4EP9lqaeC9JK/9fvJ5C1Hf3EVz6x/6u/yy/Ws+2GePiLempVF7K yn4Kd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533M/n7meq67LMVPx/Y78zq6n7mPrYn1QhMSAOkNnB+dc+/rXIMd VMCJBSrDWcbbz5cZXOVTmLA= X-Google-Smtp-Source: ABdhPJyE1iPBzQeTo2+PSSH3vIksYBzXW4/AC72KLO/UT35joSzP7HaVBK1yYg11pWqwHZLNGt/61w== X-Received: by 2002:a5d:5601:: with SMTP id l1mr3137784wrv.213.1641894746384; Tue, 11 Jan 2022 01:52:26 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:210c:: with SMTP id u12ls702604wml.2.canary-gmail; Tue, 11 Jan 2022 01:52:24 -0800 (PST) X-Received: by 2002:a05:600c:4ed2:: with SMTP id g18mr1721785wmq.41.1641894744172; Tue, 11 Jan 2022 01:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641894744; cv=none; d=google.com; s=arc-20160816; b=scOq7eGY0KPiOVJJEOAAgYO8FXa0wBMa7r/2br5UvpPeW+YbvsjfhSOmVLF/RpPmim jcIzNp0hf2uLP6b01766IdCBG4NEc2Bp1Ai7kzlk9OWfgXZxsk0VeWl2X6PvKvn/Yr1m jP7jnT54bVsmFJhyGyIw2TycmSrsREAibFfZjmvXsHkwsaYUrhuaUYSrO3ytediiZcfx /He2K/6aAKMRke8w1pP/hAVNwB3V+ruiqdKIbH/akJTDH7o0hx1VXAi3qAbWqllEWJcx 9pgBWLULyLiZjMu5Nde7cwBeZEvdxVQ9+eWdzTnIi0mbfUfrGc+B5MXHuqDLFJrTaf3Q RgNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=MK+6S0MBT+ocSxnvSNlDzIFHkvNKcTrhsxvsBdIjg2g=; b=ZTsT2Sr6aJMspcdXMZB5bsDCFkU9MAyS+JGjb2ItABZWk5TaKvDa19Y8wvprO2DnOA yRbf+KQm5xyAcZTu6puB/eE4OtQdkWol57sFexecdWvn8dlDytdZ0SxjusDPSOEpzB+y Qusr+hfqp7cRRyLiECuYratrX8rPmYaFbRiw0AN6XDarft0ulRV15bMDkZZxTksAH3Vs yTZlpn76S2linNjH0rO3qRNe3wGFYIT9sBnvCpBTCngPLpw3qhjGU/gs8Bier5D8McDQ jgovrLjFimVcdfo38bf7yimZpMbxeHdlLdR4xkaEgeyFqRCrizdlVFrp66wjs2Oy3Aoa c+sg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch. [130.92.0.83]) by gmr-mx.google.com with ESMTPS id l19si131320wms.3.2022.01.11.01.52.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 01:52:24 -0800 (PST) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) client-ip=130.92.0.83; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-02.campus.unibe.ch [130.92.13.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id BEEC7500075 for ; Tue, 11 Jan 2022 10:52:22 +0100 (CET) Thread-Topic: Inserting blank lines into a document using Markdown Thread-Index: AQHYAiMTHsNsTbinUEmMPXCUx9pIuqxUVqaAgABvIQCAABi+gIAACLOAgACzVACAB/E/AIAAEYRg In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.83 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:29943 Archived-At: A docx file is just a zip file consisting of a bunch of xml files. Change t= he file extension to zip, then you can unzip that file and investigate the = contents. > -----Urspr=C3=BCngliche Nachricht----- > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Thomas Byskov Dalgaard > Gesendet: Dienstag, 11. Januar 2022 10:49 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Re: Inserting blank lines into a document using Markdown >=20 > Hi Bastien! >=20 > Interesting. >=20 > 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 int= o > reading docx source, then I might find out what to do about the issue I a= m > having. > Thanks > Best regards Thomas >=20 > > Den 6. jan. 2022 kl. 09.31 skrev Bastien DUMONT > : > > > > I checked the docx file (including its source code): it is perfectly no= rmal. The > problem may be with your displaying software. > > > > Le Wednesday 05 January 2022 =C3=A0 10:49:35PM, Thomas Byskov Dalgaard = a > =C3=A9crit : > >> Hi Bastien! > >> > >> I have tried to attach the two files. > >> > >> Please let me know your findings here. > >> > >> Thanks in advance > >> > >> Best regards Thomas > >> > >> > >>> Den 5. jan. 2022 kl. 22.18 skrev Bastien DUMONT > : > >>> > >>> Sorry, I just tried with pandoc 2.16.2 and it worked as expected... M= aybe > you could share you exact input and output files restricted to this minim= al > example? > >>> > >>> Le Wednesday 05 January 2022 =C3=A0 08:49:54PM, Thomas Byskov Dalgaar= d a > =C3=A9crit : > >>>> Hi Bastien! > >>>> > >>>> Here is the result from 2.16.2 converted from Markdown to docx: > >>>> > >>>> This is a paragraph. After it, a blank line will be inserted. > >>>> > >>> This is the following paragraph. > >>>> > >>>> I see a strange character there where the blank line should have ben > inserted. > >>>> > >>>> I use Markdown quite extensively when using Braille, the way blind a= nd > visually impaired people read with their fingers. > >>>> I have a braille display connected to my computer and therefor I can > get 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? > >>>> > >>>> Best regards Thomas > >>>>> Den 5. jan. 2022 kl. 14.12 skrev Bastien DUMONT > : > >>>>> > >>>>> I don't get any special character in DOCX, but I still use pandoc 2= .14. If > the exact code I wrote produces one in v. 2.16.2, this may be a bug. > >>>>> > >>>>> Don't write the backslash between two blank lines if you want only > one blank line: this indicates a paragraph containing a line break, so yo= u will > end up with two blank lines in the output. Instead, write the backslash o= n the > line immediately preceding the paragraph, as I showed in my example. > >>>>> > >>>>> In what cases do you want to insert some blank space before a > paragraph? It would probably be better achieved through styling. > >>>>> > >>>>> Le Wednesday 05 January 2022 =C3=A0 11:57:49AM, Thomas Byskov > Dalgaard a =C3=A9crit : > >>>>>> Hi Bastien! > >>>>>> > >>>>>> Thanks for your idea. > >>>>>> > >>>>>> I am a little behind on HTML 5 specs, because I mostly work in > Markdown. > >>>>>> > >>>>>> The following worked: > >>>>>> > >>>>>> ~~~ > >>>>>> This is the first paragraph. After this sentence there is inserted= a > blank line before the next paragraph. > >>>>>> > >>>>>> \ > >>>>>> > >>>>>> Here starts the next paragraph. > >>>>>> ~~~ > >>>>>> > >>>>>> I noticed though that this inserts a special character when I conv= ert > from Markdown to docx-files. It looks like the escaped linebreak does > something unexpected. > >>>>>> > >>>>>> I also noticed that If I want to insert a heading I can't get blan= k lines > before this element in docx-files as well. > >>>>>> How can I troubleshot this? > >>>>>> > >>>>>> Best regards Thomas > >>>>>> > >>>>>>> Den 7. nov. 2021 kl. 11.40 skrev Bastien DUMONT > : > >>>>>>> > >>>>>>> Hi, > >>>>>>> > >>>>>>> This can be achieved by escaping the first line at the begin of t= he > paragraph: > >>>>>>> > >>>>>>> ``` > >>>>>>> This is a paragraph. After it, > >>>>>>> a blank line will be inserted. > >>>>>>> > >>>>>>> \ > >>>>>>> This is the following paragraph. > >>>>>>> ``` > >>>>>>> > >>>>>>> However, if your inserting of a blank line follows some general > criteria, there could be a better way to do this than manual insertion. > >>>>>>> > >>>>>>> Best, > >>>>>>> > >>>>>>> Bastien > >>>>>>> > >>>>>>> > >>>>>>> Le Sunday 07 November 2021 =C3=A0 11:29:52AM, Thomas Byskov > Dalgaard a =C3=A9crit : > >>>>>>>> Hi! > >>>>>>>> > >>>>>>>> When I render documents I have written in Markdown (the > variant Pandoc 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? > >>>>>>>> > >>>>>>>> Thanks > >>>>>>>> > >>>>>>>> Best regards Thomas > >>>>>>>> > >>>>>>>> -- > >>>>>>>> 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%40coolfortheblind.dk. > >>>>>>> > >>>>>>> -- > >>>>>>> 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/YYetGzBODfdjyAcC%40localhost. > >>>>>> > >>>>>> -- > >>>>>> 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/3B3F5A70-0DF9-4D74- > B8AC-0CDD03E46388%40coolfortheblind.dk. > >>>>> > >>>>> -- > >>>>> 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/YdWZKXIbH6G7pBnQ%40localhost. > >>>> > >>>> -- > >>>> 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, 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/4FF46680-CC8E-40B1- > 83B2-F9D6F7D219E4%40coolfortheblind.dk. > >>> > >>> -- > >>> 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, 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/YdYLI8gO7cfQ431K%40localhost. > >> > >> -- > >> 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/144A1587-D0B9-46F4- > 832C-6A2058F3E91F%40coolfortheblind.dk. > > > > > > > > -- > > 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/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 > 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/EC9FF0CD-E797-4EDD- > A326-55B53B6CA15E%40coolfortheblind.dk. --=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/f496f6d0b02746d6882a5459a50adf98%40unibe.ch.