From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25974 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mb21 Newsgroups: gmane.text.pandoc Subject: Re: Retaining headings when converting to PDF Date: Sun, 23 Aug 2020 10:26:49 -0700 (PDT) Message-ID: References: <0eff3ef9-cd3d-4154-8dfe-976238704547n@googlegroups.com> <24386.36964.121997.392581@gargle.gargle.HOWL> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_106_1139682626.1598203609538" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10553"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCMBBVJ5EFBBWWNRL5AKGQENQD53FY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 23 19:26:53 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9tld-0002aj-88 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 23 Aug 2020 19:26:53 +0200 Original-Received: by mail-oo1-f62.google.com with SMTP id d20sf4233277ooh.2 for ; Sun, 23 Aug 2020 10:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=OtRlA/r1AOR001lwdyyzWDwD8jDbDHGiX8sxTvjORD8=; b=tNYHP7Wm5bkYxvqenr/cWiuvfdstEheCyLe/ypcnZn1Oh4/jrGpAO1ujb0HVt3Ho8E x9RuwdGAdyAtjyy9htL6HWW3NntUOoQhVL10ChsSxGr7ufp7Z9kkOrPiTslMjWd3OJG6 zKNMfnmg8BlWXBAbx3vLV6xuaYC5dwSKSEQG9WJeUbQL/KmsmKgs/YyzqepBnMMTgfzg jcszUVrP8cYedodmyoUEpYKgBWKFgYsch/YG293KcqGyUTotrl6yTriPZrqocf8TU9A7 vSVu/YUZ9B8ZD4Qn4fgX/kLiQeBVDRAFj2bU92dhe3wbHW2QHjGbznWFCYgHvSF49p2q ZLkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=OtRlA/r1AOR001lwdyyzWDwD8jDbDHGiX8sxTvjORD8=; b=mll9vsbczjtoX1YsU2WfsLxZLCruNpaK1Jc2tyeJlk5g6kiFXdKQHUnODJWUJWg0rO yxPv3GeFVwveRlloJnK2gmsrG02gjHP5D/rNKXhKBuQF4FSwbhXrRgLK4FEHj8ENnFkT rgLfGjEwndpb50DaNuiIZ/faNeUlfkPWxhntnkR1MvLFTNviXS/rRjCDXb9tSAIdRnI3 Ah9GrcEpdJLt4NeZV/LKOyrcAbjS5BQPG5ZXuBkFEl1NwICMsQmqHNmTXkwBcvi0a4j2 NhnqLkcV0+la/9bRcDbkJ/I1MlC2OpN0RPQ8xN8IQiYeeNdVDr/+Mm6q3La0vhpXUHYs k1Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=OtRlA/r1AOR001lwdyyzWDwD8jDbDHGiX8sxTvjORD8=; b=r/WwUzuqlhcfpRRcjy56Cxfsx40vwIBy3egOxAp1573gtpkhpO/TvWHgzyph5GJZRd zoFOaF51laazcbFxm1bekfJC9Pd+RFcXnbo+dQO1Js038LaFzkZ5o9sd212d0sHZJRXN Jz2NgWB6AMrUNH8sx523xP7ULtypsweq2a8WUC8Q4bL4Wf5edNCd2Gd/SraV+Cja7TT/ J3mrR7OFy2pdvd3haecGMrZb9HHGYrlMUflkFVDUQt9elFjLeTYw70vB82TQEGtDOE4k 9sdd5lulosfPTTIEz6REfa20vAvIjmyxgxC4+woq0RHF0M+7Y522/GLV7JIdPNL1uKoD ZpvQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531vOAVrMDYvQT6qaG/lmtb4RYsqIgBwqM4PiKk6L5wQQrKBxfPX Hnax2IRynlicq9zeJ6YyIog= X-Google-Smtp-Source: ABdhPJyrLO/ts6brWF+aHv1KsusqtxvPcpjlv/zACL8Wy3z/73w0P2xjdfq4ukojb7TOajOURJEChg== X-Received: by 2002:a54:4583:: with SMTP id z3mr1015678oib.51.1598203612319; Sun, 23 Aug 2020 10:26:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1d90:: with SMTP id y16ls1561884oti.10.gmail; Sun, 23 Aug 2020 10:26:50 -0700 (PDT) X-Received: by 2002:a9d:3ea3:: with SMTP id b32mr1156547otc.95.1598203610187; Sun, 23 Aug 2020 10:26:50 -0700 (PDT) In-Reply-To: <24386.36964.121997.392581-4mDQ13Tdud8Jw5R7aSpS0dP8p4LwMBBS@public.gmane.org> X-Original-Sender: mauro.bieg-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:25974 Archived-At: ------=_Part_106_1139682626.1598203609538 Content-Type: multipart/alternative; boundary="----=_Part_107_917381911.1598203609538" ------=_Part_107_917381911.1598203609538 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There is also a corresponding pandoc github issue, where people also report= =20 success with ConTeXt: https://github.com/jgm/pandoc/issues/5409#issuecomment-678782766 On Sunday, August 23, 2020 at 5:51:11 PM UTC+2 H=C3=A5kon Wium Lie wrote: > Also, Prince will happily create tagged PDF from HTML. > > http://www.princexml.com > > (I'm on the board of YesLogic, the company behind Prince) > > H=C3=A5kon Wium Lie haa...-EO96REbE7qRuMpJDpNschA@public.gmane.org www.wiumlie.no/en > > Leonard Rosenthol wrote:: > > > That is because the current PDF creation processes from Pandoc (either= =20 > via > > TeX or HTML) cannot produce a proper Tagged PDF, that is required for > > screen reader integration. > >=20 > > Your current best bets are to produce the PDF from Word/DocX using eith= er > > MSWord or LibreOffice, with the option to create Accessible/Tagged PDF > > turned on or to produce ICML with Pandoc and use Adobe InDesign to=20 > produce > > the Tagged PDF. > >=20 > > I am currently producing Tagged PDFs from Markdown through both of thes= e > > paths and they each have their own pros and cons... > >=20 > > Future looking, Adobe is actively working with (and funding!) work in t= he > > TeX community produce Tagged PDFs - its a ways off, but it will happen. > >=20 > > And Google just announced that Chrome (and one would assume CEF) can no= w > > produce Tagged PDFs ( > https://9to5google.com/2020/07/29/chrome-tagged-pdf/), > > so perhaps we'll find an HTML-based path to get there soon as well. > >=20 > > Leonard > >=20 > > On Sun, Aug 23, 2020 at 10:06 AM Jim wrote: > >=20 > > > I'm producing a series of PDFs that are going to be read with a > > > screenreader. The screenreader lets the user skip through a document = by > > > jumping to the next header. I've created documents in both Word and > > > Markdown that include headers, but when I use pandoc to convert these > > > documents to PDFs the headers are not included. The text that is=20 > defined as > > > a header has a different visual style, but it isn't a header from the= =20 > point > > > of view of the screenreader. > > > > > > I am able to produce a PDF with headers if I "Save As" from word and= =20 > then > > > create a PDF using Microsoft's own PDF creation tools. I'd really lik= e=20 > to > > > use pandoc for this, though, as it would offer me a ton more=20 > flexibility. > > > > > > Is there a particular command I need to use in order for pandoc to=20 > retain > > > headers when creating a PDF? > > > > > > -- > > > You received this message because you are subscribed to the Google=20 > Groups > > > "pandoc-discuss" group. > > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > an > > > email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > > To view this discussion on the web visit > > >=20 > https://groups.google.com/d/msgid/pandoc-discuss/0eff3ef9-cd3d-4154-8dfe-= 976238704547n%40googlegroups.com > > > < > https://groups.google.com/d/msgid/pandoc-discuss/0eff3ef9-cd3d-4154-8dfe-= 976238704547n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > > > > > . > > > > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/CALu%3Dv3JHcqWFaAmjTMds%= 3D3kZ4tEPktwpikG-HeoqZqX8c1tR9g%40mail.gmail.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/f6e14085-7e59-4772-aa8e-f8928661bfb7n%40googlegroups.com. ------=_Part_107_917381911.1598203609538 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There is also a corresponding pandoc github issue, where people also report= success with ConTeXt:
https://github.com/jgm/pandoc/issues/5409#issuec= omment-678782766

On Sunday, August 23, 2020 at 5:51:11 PM UTC+2 H=C3=A5= kon Wium Lie wrote:
Also, Prince will happily create tagged PDF from HTML.

http://www.princexml.com

(I'm on the board of YesLogic, the company behind Prince)

H=C3=A5kon Wium Lie haa.= ..@wiumlie.no www.wiumlie.no/en

Leonard Rosenthol wrote::

> That is because the current PDF creation processes from Pandoc (e= ither via
> TeX or HTML) cannot produce a proper Tagged PDF, that is required= for
> screen reader integration.
>=20
> Your current best bets are to produce the PDF from Word/DocX usin= g either
> MSWord or LibreOffice, with the option to create Accessible/Tagge= d PDF
> turned on or to produce ICML with Pandoc and use Adobe InDesign t= o produce
> the Tagged PDF.
>=20
> I am currently producing Tagged PDFs from Markdown through both o= f these
> paths and they each have their own pros and cons...
>=20
> Future looking, Adobe is actively working with (and funding!) wor= k in the
> TeX community produce Tagged PDFs - its a ways off, but it will h= appen.
>=20
> And Google just announced that Chrome (and one would assume CEF) = can now
> produce Tagged PDFs (https://9to5google.com/2020/07/2= 9/chrome-tagged-pdf/),
> so perhaps we'll find an HTML-based path to get there soon as= well.
>=20
> Leonard
>=20
> On Sun, Aug 23, 2020 at 10:06 AM Jim <james.b...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> > I'm producing a series of PDFs that are going to be read= with a
> > screenreader. The screenreader lets the user skip through a = document by
> > jumping to the next header. I've created documents in bo= th Word and
> > Markdown that include headers, but when I use pandoc to conv= ert these
> > documents to PDFs the headers are not included. The text tha= t is defined as
> > a header has a different visual style, but it isn't a he= ader from the point
> > of view of the screenreader.
> >
> > I am able to produce a PDF with headers if I "Save As&q= uot; from word and then
> > create a PDF using Microsoft's own PDF creation tools. I= 'd really like to
> > use pandoc for this, though, as it would offer me a ton more= flexibility.
> >
> > Is there a particular command I need to use in order for pan= doc to retain
> > headers when creating a PDF?
> >
> > --
> > You received this message because you are subscribed to the = Google Groups
> > "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails fro= m it, send an
> > email to pandoc-d= iscus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> > To view this discussion on the web visit
> > https://groups.= google.com/d/msgid/pandoc-discuss/0eff3ef9-cd3d-4154-8dfe-976238704547n%40g= ooglegroups.com
> > <ht= tps://groups.google.com/d/msgid/pandoc-discuss/0eff3ef9-cd3d-4154-8dfe-9762= 38704547n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter= >
> > .
> >
>=20
> --=20
> You received this message because you are subscribed to the Googl= e Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it,= send an email to pandoc-discus.= ..@googlegroups.com.
> To view this discussion on the web visit https://groups.goo= gle.com/d/msgid/pandoc-discuss/CALu%3Dv3JHcqWFaAmjTMds%3D3kZ4tEPktwpikG-Heo= qZqX8c1tR9g%40mail.gmail.com.

--
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/f6e14085-7e59-4772-aa8e-f8928661bfb7n%40googlegroups.= com.
------=_Part_107_917381911.1598203609538-- ------=_Part_106_1139682626.1598203609538--