public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Help when convert to html and odt after
Date: Mon, 25 Sep 2017 08:53:55 -0700	[thread overview]
Message-ID: <20170925155355.GC61612@Johns-MacBook-Pro.local> (raw)
In-Reply-To: <b9ec5527-9376-4057-bb3b-4d35aa05f27f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

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
<!-- hi -->
[warning] Skipped '<!-- hi -->' 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 mydoc.md -f gfm --self-contained --standalone -t html -o
>   mydoc.html
>   Inside html is followinng code:
>     <!--[if lt IE 9]>
>       <script
>   src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printsh
>   iv.min.js"></script>
>     <![endif]-->
>   And
>   <!-- MDTOC maxdepth:6 firsth1:1 numbering:0 flatten:0 bullets:1
>   updateOnSave:0 -->
>   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]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To post to this group, send email to
>   [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/b9ec5527-9376-4057-
>   bb3b-4d35aa05f27f%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   3. https://groups.google.com/d/msgid/pandoc-discuss/b9ec5527-9376-4057-bb3b-4d35aa05f27f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout


  parent reply	other threads:[~2017-09-25 15:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 15:40 CesarJ M
     [not found] ` <b9ec5527-9376-4057-bb3b-4d35aa05f27f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-25 15:53   ` John MacFarlane [this message]
     [not found]     ` <20170925155355.GC61612-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-09-26  7:46       ` CesarJ M
     [not found]         ` <82fdd7f8-d9c0-48ee-b386-959ae529b6ff-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-26 16:06           ` John MACFARLANE
     [not found]             ` <20170926160635.GH70046-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2017-09-26 17:01               ` CesarJ M
     [not found]                 ` <5cbd73d7-4603-41bf-a52a-2083b706b41f-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-26 17:09                   ` CesarJ M
2017-09-26 17:10                   ` CesarJ M
2017-09-26 17:58           ` John MACFARLANE
2017-09-27 15:12             ` CesarJ M
2017-09-26  7:50       ` CesarJ M

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170925155355.GC61612@Johns-MacBook-Pro.local \
    --to=jgm-tvlzxgkolnx2fbvcvol8/a@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).