From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32919 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Getting pandoc to convert Github Markdown documents with HTML tags to PDF Date: Tue, 4 Jul 2023 14:50:07 -0700 Message-ID: <529BC174-779A-4D98-BCC9-F59AEAAC2B9D@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) 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="27674"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBE5ISKSQMGQEBAIINMQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 04 23:50:16 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pl1-f191.google.com ([209.85.214.191]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qGnua-00072F-17 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 04 Jul 2023 23:50:16 +0200 Original-Received: by mail-pl1-f191.google.com with SMTP id d9443c01a7336-1b8a8154fcasf11619085ad.1 for ; Tue, 04 Jul 2023 14:50:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688507414; cv=pass; d=google.com; s=arc-20160816; b=djHhKBg12jXo8HnJtudMIXW1v7RRvUfsv366LmHtq/ALks/8a3H8EjeFhnAfTdL2Wn f1XdBaIZNQqDjnYCabCpFVXRzBi7xUXcDI6JpbSvrh9TnvXeMlAbm5l0z28J2i5Jw5sf RrxE321+0ad/X07Yf7PYigeFWqOBFwEo94pHKypJDKYdoCw4N8kJ9APc810O/GqPDROj 1DcJxXtT7mJEXqD8ZNVCSPtqOeVuTuY6WHXmNsrxW/Utdg2eySLByNAYGxkf5CWizeYD RK3Piw6TPNQIKHmL02jq88jclZ37Ofyg65U/f2jg3jedPyct1lsN5sBSp68CDiRrGbJr WzHQ== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=K/Fu4xuUjAVyGad7PmuVZegA6nS7hUZ7+2gADDYMmPI=; fh=A7KGSvm30SBY9b2v+N53j+lkchMNZtkZbRzF4WqsV70=; b=FVI5b6dxXZdKawFs5VIVwApwi0ofg9HMrRL5r3ggq/SPOYNGOEew2fbwuleSt8HAhI dUVJJLNwOQF1mZ9V5dtO0B6ErxfnDPv92gWPq17zG3Ixb1FhvRUTLumZ37rXhEvptC6d /v7xrP3OC6NfO0YwP8qVn2w2yynV0B4/R7XvKiNXYFlsRl/Xbfx84L4Jn9x5t8pb6yh9 V8xK06GGtJWOHmVNTLK6LL0P6VVTQAeO6lwYZmpMwnKMMouuE+pGM8mDdqBbPyYJVyZv h/T1isNKJ44nB3SFhle5NEwdmBTtpLPIepq8i11Fua+dsBTNR4HSg7LkZ33RsztcWTQX fQOw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=gyVaYu7L; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688507414; x=1691099414; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=K/Fu4xuUjAVyGad7PmuVZegA6nS7hUZ7+2gADDYMmPI=; b=VXRYVVK67Enl1cvQ52+Wm/FZuhll0H1w9Y7jO7/RIhAixtzbZdrJihttjxDHMA2C2M jLdXGPOV1QenU1OMGzvCyokyJJ1vDiCUuyOcCDqd8m6YPtXMvnHOl6gSFT2Vm1eOP4j0 LR8kfPodv8X8zLblXJgSlQrC5rL9nTLUDIj/8JkeuQEwIsbi55Mf58rYMJqBRzLAxkTX ShQtfhAZyagJsNEEvJ7Mgvd48hlyoBH80FNS2OGh8Jj8P0qv7/E5OB+/9MLG4FCJDlXK 2FOxzXzr+Jpuan7ZDR/ajbRGHvfq0TgGb8l79 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688507414; x=1691099414; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=K/Fu4xuUjAVyGad7PmuVZegA6nS7hUZ7+2gADDYMmPI=; b=Rf5f1HMt0fvmGbRmuY0bUsA/MkywxvUJPRc0syntH/pFy5hLN8JZek6rbP37d4GoHO Egci+53K8S/4FDN+bDEmdD7BmHlWipqttGDQXCZePKhsmhoKRiCPBF0MWBKwvwimNfsi GWgd+GVsCHTzjsafew+pOlFpqrUmHa1F1doebKzg7bPDrgWxFr2F4x8U5LQf+411xNvN +FjHG8caaZlaSxI9g6vnOfAPGUCVjej70pu3Kgy+Fiw2KTWcN6BUkCkmiwtJZLsBPYfm DVmtVwRxm16H0KyUslwAvsbpp5y1ooL+Wvrhgol/v1MxrUALmJZ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688507414; x=1691099414; 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=K/Fu4xuUjAVyGad7PmuVZegA6nS7hUZ7+2gADDYMmPI=; b=Hg7VmMKI0qcNQwvuiOEsnBx1SwS8RhWX5u35YWxN84J2ynDMNpKV0t90ceVGh5V7Hz c10N3+aD/7qsiQIQFOML293GrfIe3jw7t+H/jiIxkE5Jzcul8KyK4ybcoUa0vH43eWKd jFHmGXgC5GxMTjcsjh3VdJoxMnMWEfdZ4MnO/Ix/NNE21owLoz4ME2dn86jNNt1ZKGa8 rvuZONW58tKu+FH2UJhdRCWW74O6S46IVagx/5C1BwUaF9er4i8mSJW+EE Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLYmiO1H4onQDPC3R1oo+7OWMAyjKi4NR3DY0oocRo3Wxivfb777 pseRoOODOSzJOmHkYHleWV0= X-Google-Smtp-Source: APBJJlFonoZ2nFZcR4liGzrxJI9h+ovi2LnAkO2rvb8+ABa7wXuxvw+76Oxxh4+ReSe3JanwsnemFw== X-Received: by 2002:a17:902:c103:b0:1b8:a4e5:1735 with SMTP id 3-20020a170902c10300b001b8a4e51735mr3238142pli.61.1688507414643; Tue, 04 Jul 2023 14:50:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:a4c:b0:260:d900:829 with SMTP id o70-20020a17090a0a4c00b00260d9000829ls2488649pjo.2.-pod-prod-06-us; Tue, 04 Jul 2023 14:50:10 -0700 (PDT) X-Received: by 2002:a17:90a:f00c:b0:262:c9f4:141 with SMTP id bt12-20020a17090af00c00b00262c9f40141mr13052833pjb.42.1688507410466; Tue, 04 Jul 2023 14:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688507410; cv=none; d=google.com; s=arc-20160816; b=jhj9flG9NglAI2lR/p7UptdKlGDyok4Zs7+EhW6uwxquB47f2HGIHtf9C2nqDwpE7Q vEDmN1MPlqigOIjoRqck0+lGcEsYZ7nx7LBVMe5bMvfXVXDBx4QJgw4ZpJcKNkDEMH+N QyDQ7a0wvVxNR79fqJrwSH/PuP8qEQcrx4IOxf40IHw/2ENsesKWuiyEauKIt5gHw5bX jmhaBKNHXDW3kYoVYyh5HxgaUlRsrwue6qZ4KG2vJsAca3kisSavVpt51DR3Cv/T17TG bVowWf6Yytpf53D5KmVGC8Y5Hlb8H1qZyDg6h0bjC4obEOFA/wvltqLeVFRa4Ey5ciPV 00HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=yWT6FDbZF977P1rQi7zX7UqSN0rZlrRki38kWL1K6lo=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=VxSa5rUnOua0X2D2VMMOjIdsTe151mSQRaxXTgKVBE42ZcrzpvxWxD/U/yZyuyTUJx jASwpv8O/zAVKCWeWrXsVdLgIf3U6mSxbn0FgwGtxX58iegzqx4wkRkB5R0g5GwDd6yv EHbnO64VZbP87p0anUckJicvrFNpZzy8e2P+GkTBg6nMauRnaDwlygkK8IhtuslHyP5B X6PSPQiSklKvNK/xZgcrGVtoWPSpSWzjqkl8oSHFD4IIX1iBNnvB0YWMq4LKx//gpCyi DLBtTqvvy5jZKQevZQuvA2ex1FxPAu5cy0OfjQhk8AurYupKCHrMqoGGMwB1wQdNZSNs AZDw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=gyVaYu7L; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com. [2607:f8b0:4864:20::633]) by gmr-mx.google.com with ESMTPS id oc4-20020a17090b1c0400b0025bf8494938si9898pjb.2.2023.07.04.14.50.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 14:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) client-ip=2607:f8b0:4864:20::633; Original-Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b8ad8383faso2374145ad.0 for ; Tue, 04 Jul 2023 14:50:10 -0700 (PDT) X-Received: by 2002:a17:903:248:b0:1b6:9b38:6004 with SMTP id j8-20020a170903024800b001b69b386004mr16563160plh.22.1688507409316; Tue, 04 Jul 2023 14:50:09 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:4c6f:8f1d:18b:8c65]) by smtp.gmail.com with ESMTPSA id n9-20020a170902d2c900b001b008b3dee2sm11306754plc.287.2023.07.04.14.50.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2023 14:50:08 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=gyVaYu7L; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::633 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32919 Archived-At: HTML tags should be passed through to HTML formats. Have you looked at the intermediate HTML produced? You can use --verbose t= o see it. This seems to work fine: % pandoc -t html5 _A__m_

Am

PS. You probably want to use -f gfm if you're targeting GitHub Markdown. Pandoc version? > On Jul 3, > 2023, at 3:41 PM, Luveh Keraph <1.41421-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >=20 > 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 w= ant in the page. The thing is, pandoc seems to ignore the HTML tags. Is thi= s a limitation intrinsic to pandoc, or is there any way to get pandoc to pr= ocess such tags and produce the right output?=20 >=20 > The pandoc invocation that I am currently using for converting my Github = Markdown documents to PDF is >=20 > $ pandoc --resource-path=3D/home/abc/Repos.wiki -t html5 --pdf-engine=3D= wkhtmltopdf --metadata pagetitle=3D"MyDoc.md" --css github.css -o MyDoc.pdf >=20 > The default invocation pandoc MyDoc.md -o MyDoc.pdf is not dealing with i= mages 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. >=20 > --=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/msgi= d/pandoc-discuss/b1dae07b-11d1-4c98-8fcf-369f2b23a54cn%40googlegroups.com. --=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/529BC174-779A-4D98-BCC9-F59AEAAC2B9D%40gmail.com.