From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32917 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Luveh Keraph <1.41421-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Newsgroups: gmane.text.pandoc Subject: Getting pandoc to convert Github Markdown documents with HTML tags to PDF Date: Mon, 3 Jul 2023 15:41:40 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1192_1120359255.1688424100879" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12346"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCFMPINBDQIKNHMNUUDBUBCQ4FSSE-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 04 00:41:47 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f56.google.com ([209.85.216.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qGSEt-00031k-BC for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 04 Jul 2023 00:41:47 +0200 Original-Received: by mail-pj1-f56.google.com with SMTP id 98e67ed59e1d1-262e9468034sf7058487a91.0 for ; Mon, 03 Jul 2023 15:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688424106; x=1691016106; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=m70uPv6SvGxa9jeyEbhyOYKkM4Rq92kzTy1Mq2SxVA0=; b=TFvFC0hhnz20o67TIymRE6k1lXrxCaWa8+E7O+ogHyM8uXyg4hjtDbmgS8kGQLAU2N cTII59e8LtNRSOwMA1gWb7iKi7c/VfEpW/WbyUsvJNA+K7cEmA9H6Eyn4kDGK58BC+oI yxG8moBNc6FSlJR7akgo5Ga08Oeq4ApTZ+B/z0osZCtX4zE212zwp0JN60WmJnGRgr2X n0itl7+k+0bi73Tde+qenLc6Tz/wyOjTlfFVY331q9fSG07JMEuGZBYSHaqqCXujOoqa sIOKBDKTvhwP+vqtjZB1J3UQGCnC7Bo3rycUtTRC+c4tDfABfW0Ure7BqVG7QDZHm6LX Yf2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688424106; x=1691016106; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=m70uPv6SvGxa9jeyEbhyOYKkM4Rq92kzTy1Mq2SxVA0=; b=IfuOVA4lDxD/6dBeEIl5EeDbQtErWxN+tJH6mBUDi5B79oqO5lqWCyYNr0ISKLmgYI 0fOjjBEGfiN4PHdjFx2jKkVZYb5tl1sIhOTkom0c3V5+lMcBOHi1plg/KkBwJ46RjBXa +CrP1G+6NkXZBGJ8HWLbduOYrgn9F3TqD8SJID4F5aGhLIFThRH2vQa8ef+lgzARTbJX uvac++dg3XqUPB90B6mxvf2ZDSnuayw9nw2q/eG17Zh9NuILJyEVJHmGDdfrfWSVslno 2rMZ0mp5bQYZqY1csmvRZeLalPHf7VejhILN8U7wciIkbo74koCXgrrBvuYhVrsGXmhv F9dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688424106; x=1691016106; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=m70uPv6SvGxa9jeyEbhyOYKkM4Rq92kzTy1Mq2SxVA0=; b=JNhYmS8BT0UDZfEknx0uwLLgv/53WgM5JZQpGHvRv7ERFtiRiQv91hgq9f+33NCcmK lnzk0l4x0mD0VG+Kx8msG5lyHcWWL5Ks4ib2OFx/xKcqmjo+Oa1m/rpZT5szDafa9RZn VOSrr54rZgQnu2Z8MD7O1DaXYzou2kiDo/dZS0Vv2hWoOKZUaBiuELxAxh3rfBc1/Y8w mYxQKQVkIlHc2KVZ0fX4kpJj0L7ATA8Nv2Ey5YmuRtuJdw1U0uVZaGeQSNVyRuGMzGis KBArWzRhP4eN/VITBttQM6SmS2QzMOIzwbk2WtKtKJK4DcL7A23BKsiA701B8jHrnK1Q Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLY4l41XTBhDCyRJ0KCZ2LoRKOxCTvfqaYesC9jpTzZ8i0zVhWM6 oEf7MbJgfYTf8iYTxo9H//E= X-Google-Smtp-Source: APBJJlHi1voqfalXlhJ5fJDzf+whhwwjM6BO4RZsIO89zorkZBhcgtzpfGQDawtXHgV/pVnM/f3XEQ== X-Received: by 2002:a17:90a:4e82:b0:263:6c37:69e with SMTP id o2-20020a17090a4e8200b002636c37069emr12668546pjh.43.1688424106042; Mon, 03 Jul 2023 15:41:46 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:7541:b0:25e:df03:7027 with SMTP id q59-20020a17090a754100b0025edf037027ls3383361pjk.1.-pod-prod-05-us; Mon, 03 Jul 2023 15:41:41 -0700 (PDT) X-Received: by 2002:a17:90b:388:b0:262:fef6:5183 with SMTP id ga8-20020a17090b038800b00262fef65183mr8539268pjb.5.1688424101763; Mon, 03 Jul 2023 15:41:41 -0700 (PDT) X-Original-Sender: 1.41421-Re5JQEeQqe8AvxtiuMwx3w@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:32917 Archived-At: ------=_Part_1192_1120359255.1688424100879 Content-Type: multipart/alternative; boundary="----=_Part_1193_1618926293.1688424100879" ------=_Part_1193_1618926293.1688424100879 Content-Type: text/plain; charset="UTF-8" I have a Github Markdown document that contains HTML tags - mostly to do with special characters (e.g. ℋ) and stuff to place pictures where I want in the page. The thing is, pandoc seems to ignore the HTML tags. Is this a limitation intrinsic to pandoc, or is there any way to get pandoc to process such tags and produce the right output? The pandoc invocation that I am currently using for converting my Github Markdown documents to PDF is $ pandoc --resource-path=/home/abc/Repos.wiki -t html5 --pdf-engine=wkhtmltopdf --metadata pagetitle="MyDoc.md" --css github.css -o MyDoc.pdf The default invocation pandoc MyDoc.md -o MyDoc.pdf is not dealing with images properly (in that it sometimes rearranges surrounding paragraphs the wrong way) and it seems to be unable to deal with expressions like _A__m_, in that the and directives seem to be ignored. -- 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/b1dae07b-11d1-4c98-8fcf-369f2b23a54cn%40googlegroups.com. ------=_Part_1193_1618926293.1688424100879 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a Github Markdown document that contains HTML tags - mostly to = do with special characters (e.g. &Hscr;) and stuff to place pictures wh= ere I want in the page. The thing is, pandoc seems to ignore the HTML tags.= Is this a limitation intrinsic to pandoc, or is there any way to get pando= c to process such tags and produce the right output?=C2=A0

=
The pandoc invocation that I am currently using for converting m= y Github Markdown documents to PDF is

=C2=A0$ pa= ndoc --resource-path=3D/home/abc/Repos.wiki -t html5 --pdf-engine=3Dwkhtmlt= opdf --metadata pagetitle=3D"MyDoc.md" --css github.css -o MyDoc.pdf
<= /div>

The default invocation pandoc MyDoc.md -o MyDoc.= pdf is not dealing with images properly (in that it sometimes rearranges su= rrounding paragraphs the wrong way) and it seems to be unable to deal with = expressions like _A_<sub>_m_</sub>, in that the <sub> and= </sub> directives seem to be ignored.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/b1dae07b-11d1-4c98-8fcf-369f2b23a54cn%40googlegroups.= com.
------=_Part_1193_1618926293.1688424100879-- ------=_Part_1192_1120359255.1688424100879--