From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18231 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 10:58:24 -0700 Message-ID: <20170926175824.GA30272@protagoras> 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 X-Trace: blaine.gmane.org 1506448703 21435 195.159.176.226 (26 Sep 2017 17:58:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2017 17:58:23 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBQNKVLHAKGQEGYDHOQQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 26 19:58:19 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ua0-f186.google.com ([209.85.217.186]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwu7e-0005GW-Bs for gtp-pandoc-discuss@m.gmane.org; Tue, 26 Sep 2017 19:58:18 +0200 Original-Received: by mail-ua0-f186.google.com with SMTP id f44sf6266204uaa.6 for ; Tue, 26 Sep 2017 10:58:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1506448705; cv=pass; d=google.com; s=arc-20160816; b=y2pHHytNoNfIWuQNf1Mo1IxqDNjK0RLGMCib1rsixhV908JXq406oFO3Iqbw9WhZPC besr2sJb+Ce01vVfD03UDdEuquoVYXTMCTY4NgmC6TdCGUnomjbl60re0jLGPgzE5ygd uapqAixotcVuiuxspjTmVvO6MWijfP/6xLXW1y0KQdfdCU7H1pZDd2Kiy8FsdFWLP7Hn 8twLpr1i4RtRv2s28hHxhiuPOyxeNSUDJnOtjTbDZE/JfPFUf9R1qNYOUTW6WDZgFvNW Xd+4CU7bnvlpDvIk+gR9scqhJZ+hsYJ/KDbNCdioBGwgUZy7qRwiaNtZx+uJuL5/FqYr Avqg== 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-disposition:mime-version:references:message-id:subject:to :date:from:arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=eTtbOptGwrIJsic3NwG0CPw9GNMgbKH9dx+G47jQsY4=; b=cx/ndPmJb+qgBlsmARGckR710EnMZq7fIJV4xzwoj/YEwdrwfmqG8y7uXAhVf2Zbvd gL+Ds9fw+N2I8rwwOM1sSDETCveoaUYwme4bGbrW/rU42uPUdVAmhztnhEIqIJQPIPHU lTf8KLtrA+zxAeluXXIkZDU0otEKZXO0cujg0B7q1iE4mxRhpSnfpmdcVx2SE1FThX6F 3Z/heeuOt/Mpt0TmHoD17pMVETLVjWzURnRdCpoEX1iu3oqG3EBE1wxh9dHo8aaL54UV f1B85TAb5qlxUgLUtQZJesD6Lk93KoG/nN48Gi8mAY8wHLptmbL4WCb7YzOnsUIt8Spr ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=dz1pZHot; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e 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: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=eTtbOptGwrIJsic3NwG0CPw9GNMgbKH9dx+G47jQsY4=; b=dBMEuI/YTYuSC1e/hpH1mgfZQIMfl5VOKgHGQijajb0ZKhEArqX6LhHgwP/MtGb4uy oKRzwpY5Y6c1/xotqDjQu7wRv+0lEAxvvdmTr256ybMqklervEEXxXap3riwoV4rq0Bl KO7e+tXP/toZLd/SopUkrGyCRqyDhfRJ2Hf0HnHHiWcV67z4hoUkhrD9OzVXMaFRt5xP iOeF2D4NwonhihZubK7Q3f/3TaxcV7SgIpicKKTOpesklH577USELHYlUoYTyMGSOMXj trqqSJLobJNRx7um6d7pxeqNfs7GNPuFe6jEN2foa8TooCb7E3va8Vk1S354wAJIiLJW RLPA== 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: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=eTtbOptGwrIJsic3NwG0CPw9GNMgbKH9dx+G47jQsY4=; b=X1tTc09Ws/TX43Gh3mh03GooKSx6cgNkdZRzkDF+K6DyZDvQa2cqb+LhmXGwXoYW6b 8LuILahW1C1fpABYOv7mrbt2PKOzzy7WCtonDfg2SQyOWrAMyVk/DEm5b0OGsd65Abv5 A+BP7+MWCGn4yg7YWvBt6tBWR0D0ydPD43sfF15EIoaaRtq2Ie4s5mRg0D0e4fPDxBJ9 wPvH5ctH0aZd5UTtQ2xB6TWk940mvccrklBwaa+GFoDpc+tsXVT8RSd55YG8NrXzBGGJ WcidhouJdHM7uXc2vhhc81/Dioh1lmdbbRTzT/NlPIoD8XQ3IynSSnKFHYMhA241XMBI Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUiU31dfS6b0RlWLuvE4ygQ16TaNGxEjq4pnGMm/92zaF3blMkLZ aShnznnHdYQP8qHyp4+14Q0= X-Google-Smtp-Source: AOwi7QAIhuIUy6atzQVMGihvVxG0uvMKxLY2NXNFV49rqhR7s9ludiuDdimKq0lRZ151LCHdli+htA== X-Received: by 10.31.41.72 with SMTP id p69mr397329vkp.7.1506448705846; Tue, 26 Sep 2017 10:58:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.31.188.207 with SMTP id m198ls113500vkf.21.gmail; Tue, 26 Sep 2017 10:58:25 -0700 (PDT) X-Received: by 10.176.25.197 with SMTP id r5mr7505624uai.20.1506448705027; Tue, 26 Sep 2017 10:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506448704; cv=none; d=google.com; s=arc-20160816; b=psWwdj1i2EJWSqR03CuCULkBk8QjvqFHefI7RPRkSKl0jGN7S86OFGsSGApbPvb1ZV EHvq1PHPYSkkCbuDXg+4ZfVQ4259K53rA8hkfo8Y1zklk07pDA9LoxL+z28NXHDdV0ou yvdxP2kNoBUuWTP/Q3ue6EqIhF65lWokEMWiELOnLedrTlcjS89Tveei8k3qlj64u/5I 8tKpmn2DTibWOmOHvrZ0Y1t8sYXiBMfH6YxjkfsEvkJPalkt/KdqaePYPgMUL5Sr39zK IDwLfnZX4bb2hvggRVirs1bSb+/8G2qMUx4MeH6ZRkL72paZjo5ZSaWVxzUoLfcugs3P kpBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:to:date:from:dkim-signature :arc-authentication-results; bh=P7z/LrKO3AO888suvKbjzcOOIoSrtvBx4mYuF7XPSQc=; b=xeLJyDyG2VgnjPNUHBGSmwaIRf0/CD6lSdT2TBKML3JlY1i6QZUU8E1ri/wIsK4y+H nwPQ0LIQSl7gIDH7uS/bZoJa2dqCUG+Nu0xPXiF8ECFu4P3PJHMGLuTZisYARRCJB7v9 8CkQDm2wQlaUFHxLRd2mbjl/QSbEaWuPHhyuPSwPDHoha0saXliE2xRLZg+4pVrxLoi7 TfU4jUCj7//PNlgJCr+l9CPpkPG2I6/u8qqQgbB11WYAvhgjBDzMle5hBxW/uemV9bHp x/JcIq/m44YHDbHFn6XCY0yvY0cD+thikgC4mfELE1RVxY6CTsKG9ueWk51/dJo3lrbt od6Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=dz1pZHot; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com. [2607:f8b0:400e:c05::22e]) by gmr-mx.google.com with ESMTPS id t77si696970pfi.13.2017.09.26.10.58.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Sep 2017 10:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e as permitted sender) client-ip=2607:f8b0:400e:c05::22e; Original-Received: by mail-pg0-x22e.google.com with SMTP id u18so6330876pgo.0 for ; Tue, 26 Sep 2017 10:58:24 -0700 (PDT) X-Received: by 10.84.130.39 with SMTP id 36mr11111872plc.429.1506448704209; Tue, 26 Sep 2017 10:58:24 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id s86sm16387443pfi.74.2017.09.26.10.58.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Sep 2017 10:58:22 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id EFCCBA1C5; Tue, 26 Sep 2017 13:58:11 -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=dz1pZHot; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::22e 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:18231 Archived-At: I can't reproduce this either with pandoc dev or pandoc 1.19.2.1. pandoc -o my.dot << EOF Text line

Index

... (the index generated automatically using mdtoc) EOF I get an ODT without any literal HTML. There was a bug where raw HTML was passed literally to ODT, but it was fixed in 2013. Now, I suppose you've actually got some HTML where you put "(the index generated automatically)". Is it, by chance, indented by at least four spaces? If so, that could explain what we're seeing ... since pandoc would parse an indented section as a code block rather than raw HTML.