From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18227 Path: news.gmane.org!.POSTED!not-for-mail From: John MACFARLANE Newsgroups: gmane.text.pandoc Subject: Re: Help when convert to html and odt after Date: Tue, 26 Sep 2017 09:06:35 -0700 Message-ID: <20170926160635.GH70046@protagoras.berkeley.edu> References: <20170925155355.GC61612@Johns-MacBook-Pro.local> <82fdd7f8-d9c0-48ee-b386-959ae529b6ff@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506441997 26382 195.159.176.226 (26 Sep 2017 16:06:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2017 16:06:37 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBDPWVHHAKGQEGAJFJQQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 26 18:06:31 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f62.google.com ([209.85.218.62]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwsNS-0006UH-ET for gtp-pandoc-discuss@m.gmane.org; Tue, 26 Sep 2017 18:06:30 +0200 Original-Received: by mail-oi0-f62.google.com with SMTP id u130sf5310803oib.21 for ; Tue, 26 Sep 2017 09:06:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506441997; cv=pass; d=google.com; s=arc-20160816; b=ZaeM9AZ81TZjoa1obhi9Tgu+FJuNyOplfVpo1J/hPOV/940+/SEo5k9KjwtTQLJIwI 6vJhGF1gdSw5tl/hvJHnw7C4lgKdrO/VrSymoOGslHJPW8I4t8ZcIxJD1hBtgSe15OE9 Y03gNI0zWwCoo0Ksg2kYhFQJGkRHrvoMcSGRKGvoUfXuiD/1EG7VUMpE7z81fsme9U05 7Xp7C17GX7WUddLEhRXz9jpOwAQJpAigb2YN1+2Cvn9AKLYWmkNXauRNdAmmbcFGoHRe hjWqa6BhFpE82pYa1cQNkHFyrEXfQMkIOPjBJfzkfZYZVoh0lAcrW+CSTr42iimyORuT TxKA== 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:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=J9TpxzvfZ0f4lLot7oR1FUZbqEZJukrd12sX/qKs1VY=; b=EWLWhRb/WcDfMCqr7jdINWW9wA+PBKm+4lAp8Tg8mou6XSCPSDuvbOIulWMoVN2mZu VOm1TYbRkZT5QWi+TnC52B2hu9iY3htPEvaX5LoGicecBBC4kYg5p4lNR6fjuQpLa0Ca gau0TctqfbXvfF4bwhwutZ71JTazfq423yOV0NPOekFG2Ut0pJjBp7R0H6UDAERi8UjY BJy2B/mwNX8YYE4SLCSgxtlMxCiulvGM2JykoGjKnp8Nv2BpWHnq3z89HDDNSq2/yJVv I2Zuzx6q4sCO1d1ehMaq9klRzAPffi7Eio9zZjY/r7 ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=G9mj9o74; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent: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=J9TpxzvfZ0f4lLot7oR1FUZbqEZJukrd12sX/qKs1VY=; b=GL7XPuo2QXLlGzJkUNxi8kEWwbeR8eFF83ezw3LgT3FjZOqxNFE39DCBk0fxWsz4Wi QWv1rpLLHMM/tCCQc7ZmgexLuK9JI9Qyy/7cteC6mfbIiP7Ay0yjbCN9WcF7ixlPb5oZ JtlUbPJFg9S1n2GRNqVg3D26HEaAPABJ/jiGsGVVFYbF5SBEhmLe68vaRmxiB4/o9DmV 9ca18yEf9Xwhky6tjhPBRq01JYdwNGDWfnMgK+YcbKR0VoJ9epbRNwstVj96FAiEJMf9 vBvpUbVjRkMKXmniiBZDBR6ebgUakDBBycqKYLSnvYlKbjtbQYg8bVTJe1YCkOfrZMS7 xdlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent: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=J9TpxzvfZ0f4lLot7oR1FUZbqEZJukrd12sX/qKs1VY=; b=po8osBBRfRuv/m4jpbo1gLgQoFDnjbOyBe8Xy4YqhEHO95UCUYWqcsVhCRsAQttH1o nWbYINwfXxhU6juyEQwnMWjzJMN8Eta4qRXJT72mPTWrjpt276M4S4obvl8+w2CWrg55 lZR/WYFcYUPcXSnwwCZmcOB3QDg+0BojORV4GOrrDexmZUPWF4gA0aSkMZDwCr0jeD9h 7+P3+I5LUejt2OeptbkSznqaxtjg/f3WrtLyoZYt2jyvLqD4wZYknF/PE6anSfLXoLU8 SuB8XenUCQz8JS65bb3D4bwIpiDKOEUgd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUhwlkTA8OXWJt8Sd0k4YrIOXkxE9E/OWndCh7dfiu4IdhXwq3yU wafkJG7m3nMnadIMIESWJIg= X-Google-Smtp-Source: AOwi7QDzPjHFYaGK0HUVDiwJTASwt7hIRARHdrCZMTQGXw0X3QxVxYEaBow5MWvJzkL8+qbgpNhRhA== X-Received: by 10.157.83.9 with SMTP id g9mr163402oth.24.1506441997855; Tue, 26 Sep 2017 09:06:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.43.225 with SMTP id u88ls854783ota.21.gmail; Tue, 26 Sep 2017 09:06:37 -0700 (PDT) X-Received: by 10.202.171.147 with SMTP id u141mr6099839oie.58.1506441996978; Tue, 26 Sep 2017 09:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506441996; cv=none; d=google.com; s=arc-20160816; b=TgXTlXR89mdwbaVz72nrEk2M2PWu33yoaqLoybwIY2NY4KG9OXiNCQfvpB3yfRj+6O yg3uFvULYx0TOI1G3yqd9dasRW0GjrSpqa/XpMa4WYr+S/zYqJCXSvn8qFLOTkhj4OqG hW5rjM9wWsYKJuLq+XcNonNNw/0rMWJUaR0fYBRTNQsgkYoRsxTPL2ZtN/ruROjeVDTQ hjJfULvM8mmetOLBGcuNEFm8uZ2IUs1nozRzagAksnJH8wLFX7mMYCGG5QdygnVvruW4 lZRa6OzHHDyZCZATPm339q2CBKXok+fr6LyONDIqBjK4ONssOlMrIlsK+UhDEnuiXin9 dHEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=/IHqSqgJf0v4uWUtzUFXpS9iMeBjehvvat9gSuzNPRg=; b=0EhjFUZqd/bXm56i8jYt0HCUG77O2d4c3yJcauxGBmTx6l8Y8cDRWA6eoXBhALparW X+1S4gVl0MN1gFKFlayIs5ysVdmSwDULd1FLpvpjNEdoM8M0uVUrsWihAX2ok0U+pZXZ 4KNqBqXjqwHVLXUZmOpzvdRoqTYkwdq6csVisKB4v+oWf1pv5j7I5rDpo7+Almbo8c29 QKCC+YUKUjk8UmJVoM5IJxaskTzMwiJWaoXZchOAJYpx+cZrwv8ic9/fNy0y727UcuiK 7Edupm9hEZrqcGwesbm/k7MsIb6sKgY4M+a4L1VRiVNCWc7Ob+PWTQTyBEyzG38c1OMw JmbQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=G9mj9o74; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com. [2607:f8b0:400e:c05::22f]) by gmr-mx.google.com with ESMTPS id 88si670159pfm.20.2017.09.26.09.06.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Sep 2017 09:06:36 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) client-ip=2607:f8b0:400e:c05::22f; Original-Received: by mail-pg0-x22f.google.com with SMTP id u18so6162529pgo.0 for ; Tue, 26 Sep 2017 09:06:36 -0700 (PDT) X-Received: by 10.99.126.84 with SMTP id o20mr11493670pgn.201.1506441996037; Tue, 26 Sep 2017 09:06:36 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id 20sm17209167pft.109.2017.09.26.09.06.34 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Sep 2017 09:06:34 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 98F25A1C5; Tue, 26 Sep 2017 12:06:23 -0400 (EDT) Content-Disposition: inline In-Reply-To: <82fdd7f8-d9c0-48ee-b386-959ae529b6ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=G9mj9o74; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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.org gmane.text.pandoc:18227 Archived-At: I have no idea why that text would be inserted. It is part of the default HTML template for pandoc, but this template shouldn't be used when creating odt. Most likely this "mdtoc" thing you're using is doing this (I don't know what mdtoc is). You might ask the maintainers of mdtoc. If you want more help here, it would be helpful to know the exact command you used to convert this example to odt. +++ CesarJ M [Sep 26 17 00:46 ]: > My MD example is: > Text line >

Index

> > ... (the index generated automatically using mdtoc) > > Then, when I convert to odt: > - This text is inserted in conversion (I do not know what it's for): > > > > > When I open the odt (LibreOffice): > Show this as comment: > > (without author) > 2017/09/25 17:26 > And other comment near before Index title: > MDTOC maxdepth:6 firsth1:1 numbering:0 flatten:0 bullets:1 > updateOnSave:0 > (without author) > 2017/09/25 17:26 > Regards > El lunes, 25 de septiembre de 2017, 17:54:11 (UTC+2), John MacFarlane > escribi=C3=B3: > > Are you saying that, when you convert from HTML to ODT, the > HTML comments are appearing in the ODT? > Can you give a minimal example to reproduce? > Note that the ODT writer using the OpenDocument writer. > And when I use that, HTML comments are not passed through in > any way: > % pandoc -t opendocument -f html > > [warning] Skipped '' at input line 1 column 3 > +++ CesarJ M [Sep 25 17 08:40 ]: > > Hi, > > I have a MD with Md Toc section. I'm using last nightly version > of > > pandoc > > Then, when convert to html: > > pandoc [1]mydoc.md -f gfm --self-contained --standalone -t html > -o > > mydoc.html > > Inside html is followinng code: > > > > And > > > > When after, I convert to odt by example, and open it, show the > Odt with > > comments, one for the script, and other for the MDTOC header. > > Howto convert without these codes? > > Regards > > > > -- > > 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 [1][3]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To post to this group, send email to > > [2][4]pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > > [3][5]https://groups.google.com/d/msgid/pandoc-discuss/ > b9ec5527-9376-4057- > > bb3b-4d35aa05f27f%[6]40googlegroups.com. > > For more options, visit [4][7]https://groups.google.com/ > d/optout. > > > >References > > > > 1. mailto:[8]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 2. mailto:[9]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > 3. [10]https://groups.google.com/d/ > msgid/pandoc-discuss/b9ec5527-9376-4057-bb3b-4d35aa05f27f@ > googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > 4. [11]https://groups.google.com/d/optout > > -- > 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 [12]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [13]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [14]https://groups.google.com/d/msgid/pandoc-discuss/82fdd7f8-d9c0-48ee > -b386-959ae529b6ff%40googlegroups.com. > For more options, visit [15]https://groups.google.com/d/optout. > >References > > 1. http://mydoc.md/ > 2. http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-prin= tsh > 3. javascript:/ > 4. javascript:/ > 5. https://groups.google.com/d/msgid/pandoc-discuss/b9ec5527-9376-4057- > 6. http://40googlegroups.com/ > 7. https://groups.google.com/d/optout > 8. javascript:/ > 9. javascript:/ > 10. https://groups.google.com/d/msgid/pandoc-discuss/b9ec5527-9376-4057-= bb3b-4d35aa05f27f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 11. https://groups.google.com/d/optout > 12. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 13. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 14. https://groups.google.com/d/msgid/pandoc-discuss/82fdd7f8-d9c0-48ee-= b386-959ae529b6ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 15. https://groups.google.com/d/optout --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/20170926160635.GH70046%40protagoras.berkeley.edu. For more options, visit https://groups.google.com/d/optout.