From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29234 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: gnpan Newsgroups: gmane.text.pandoc Subject: Re: Inline HTML in markdwon to PDF Date: Mon, 13 Sep 2021 11:20:43 -0700 (PDT) Message-ID: <993602e0-1263-44d9-a023-01234d72cf0bn@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_4993_32429503.1631557243072" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8782"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCMK7GUUXYBRB7FM72EQMGQERYKR7BA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Sep 13 20:20:47 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f184.google.com ([209.85.167.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mPqZT-00025G-0O for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 13 Sep 2021 20:20:47 +0200 Original-Received: by mail-oi1-f184.google.com with SMTP id m8-20020a05680806c800b0026702f1769bsf5763870oih.10 for ; Mon, 13 Sep 2021 11:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=lglxJpnpk8v04Nkmm3V2gzGRbqQwTn72UJbaoDBHagg=; b=hW5GsY4adeB0WW2W+eF1g6iRDeJYLsJoxVX4f2B6rDWJ7IzLZ0dit8Q/j3oYXRpcq6 269HKCnCyPW+jY556xtEUBwMLuVTSsgju56uo4n4BaaICF1cuUvkRtlpl9/uu8HUAGNq nSE217qxpSL4eci3a0g7EhbXqflAjNCKKv+Tr8r4eh3rwD/+VSlEWBRFZ8NBlQbKW1dw uRLExDWlpoI63fqyCsWiYFpiRwSlaeP008nQlOuP/LGoos2qgW4il2mCMf94hSvNS7G/ D3e/vlNUcxVaEaO8/qB4RA1YhhZcsiuqzVG7VgfMi39PyreyyIhyK1KohheyzaZWeE2c bW8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=lglxJpnpk8v04Nkmm3V2gzGRbqQwTn72UJbaoDBHagg=; b=owq2XdoUFMIf8G6w9EFn0xxe6g3VrMDOuEb6ktT5It6ifw7ERacuDQPv605PWX+z2k cwWPCBQhQTGIJVh8mc0iHt4jqS7EXfMs3aa9XTT8QMKJ1Wba60dwoIwj8AkydRN9Uexp U/zYGaaArQ/trTzX+grIgd6KlfXzUgaLkKMSH2LpNQulycKcNAU8Kzb++AHlXfi31r2a dwOxw6gBfaoRQwpgs2lMcHDgE2WxjyuXwGIcMn+Q1h2rhUfZV5Wj/i/6hv2HAaTkPCyy PMi8zmnqfMgxfLzc28I9/eBVMAT09hO1dihbITZ9KkYVpoEJBALxAstsO41xI37DPV/O iNVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lglxJpnpk8v04Nkmm3V2gzGRbqQwTn72UJbaoDBHagg=; b=E3ujNayKF9SUfrlJP04PjnjvtH5w6rNy2Wb1bYz5u8Tg5PJnkVKwwvUYWIDhJIn2vK mxDy4nP16sKjlv+a8RBRek81dxdr1yG8ZIbSQhCLt44OCcuN01k7aySH/g48Ne0UufGa 6yB3VRm5o8lV/YYaVZKKdFErgII1XoaxWHUgE7j2guHC3+c0krOGrIzb+dbHXqtP7IUN vL9e9Fp5kDhWLVOIUUYJ5mk58Vb4a8RnEzeBuGsCYZUOc2AA0zOAhSv3/CNsjRzpiqah 3dR+dVH5nPv/rVQtHwC6XQN2/dxMzSP5875SchIjFkViNZ0j9BHtjUnh54yInVtiFUHq 7d1Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532YGhTeQ58GMTnlK99pU+QpX4nYJuIvb1zmk9r5SqccjbNEP3o0 4PaaVjChicicCUwHvIfyDbs= X-Google-Smtp-Source: ABdhPJzWrz4V/g5H91m7WN6o64iw+T22u/BlxPIwVDvGPaOtZHCrurGvJBU5XaWOAxph5MyTyBKDCA== X-Received: by 2002:a4a:dc51:: with SMTP id q17mr10225641oov.10.1631557245219; Mon, 13 Sep 2021 11:20:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:7b4d:: with SMTP id f13ls2146229oto.11.gmail; Mon, 13 Sep 2021 11:20:44 -0700 (PDT) X-Received: by 2002:a9d:2943:: with SMTP id d61mr10997462otb.45.1631557243737; Mon, 13 Sep 2021 11:20:43 -0700 (PDT) In-Reply-To: X-Original-Sender: g.panayotou-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:29234 Archived-At: ------=_Part_4993_32429503.1631557243072 Content-Type: multipart/alternative; boundary="----=_Part_4994_2096757765.1631557243072" ------=_Part_4994_2096757765.1631557243072 Content-Type: text/plain; charset="UTF-8" Since you are converting to pdf, you could use some inline LaTeX. Try the simple \rule command as shown here or load a package for more fancy lines, such as xhfill or TikZ - I am sure there are several others. On Sunday, 12 September 2021 at 21:39:50 UTC+3 jjschweige...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > Hello, I tried searching the archives, however, was not able to find any > questions on this. If you know of a post where this question was asked > before I would appreciate if you could share the link so I can review it. > > > > Basically my issue is this, I have some inline HTML in my markdown file > that creates a line, however, when doing a standard conversion with pandoc > from md to pdf these lines are not generated. > > I also tried to convert the md file to an intermediary HTML file then to > PDF, however, this messed up some formatting. > > > > Example MD file: > > ### Contents > > >
> > > ### What Is Impacted > > >
> > > > > Expected output: > > [image: 1.png] > > > > Current output: > > [image: 2.png] > > > > When the PDF file is generated the lines are not present as expected. Do > you have any recommendations on this or if this is even possible? > > Thank you! > -- 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/993602e0-1263-44d9-a023-01234d72cf0bn%40googlegroups.com. ------=_Part_4994_2096757765.1631557243072 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Since you are converting to pdf, you could use some inline LaTeX. Try the simple \rule command = as shown here or load a package for more fancy lines, such as = ;xhfill or TikZ- I am sure there are several others. 

On Sunday, 12 Sep= tember 2021 at 21:39:50 UTC+3 jjschweige...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:

Hello, I tried searching= the archives, however, was not able to find any questions on this. If you know of a post = where this question was asked before I would appreciate if you could share = the link so I can review it.

=C2=A0

Basically my issue is this, I have some inline HTML in my markdown file that creates a line, however, when doing a standard conversion with pandoc from md to pdf these lines are not generate= d.

I also tried to convert the md file to an intermediary HTML file then to PDF, however, this messed up some formatting= .

=C2=A0

Example MD file:

### Contents


<hr style=3D"border-bottom: 1px da= shed #686868; width: 50%; margin-left: 0; margin-bottom: 15px" />


### What Is Impacted


<hr style=3D"= border-bottom: 1px dashed #686868; width: 50%; margin-left: 0; margin-top: = 15px" />

=C2=A0


Expected output:

=C2=A03D"1.png"

=C2=A0

Current output:

=C2=A03D"2.png"

=C2=A0

When the PDF file is generated the lines are not present as expected. Do you have any recommendations on this or if = this is even possible?

Thank you!

--
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/993602e0-1263-44d9-a023-01234d72cf0bn%40googlegroups.= com.
------=_Part_4994_2096757765.1631557243072-- ------=_Part_4993_32429503.1631557243072--