From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25972 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?H=C3=A5kon?= Wium Lie Newsgroups: gmane.text.pandoc Subject: Re: Retaining headings when converting to PDF Date: Sun, 23 Aug 2020 17:51:00 +0200 Message-ID: <24386.36964.121997.392581@gargle.gargle.HOWL> References: <0eff3ef9-cd3d-4154-8dfe-976238704547n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 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="9200"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCB6LIOB5YCBB3FARL5AKGQEW7MXTYQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 23 17:51:10 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f56.google.com ([209.85.208.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k9sH0-0002Hb-My for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 23 Aug 2020 17:51:10 +0200 Original-Received: by mail-ed1-f56.google.com with SMTP id p7sf2307558edm.5 for ; Sun, 23 Aug 2020 08:51:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598197870; cv=pass; d=google.com; s=arc-20160816; b=Jln81/oGxBo8nOkUHPtItwtgSYAaEZr6MLdFVWv7G5jsyuIrPdo2Sj9ZoPtxmCkQMn xIbWA2MPXya5rYl9UgL7bwvBorF9FFJnT+sM1eHWG3OUJWMKF0GpzJoaCc8XEUtox3xy VLuVupHlnKHFbY8ahQj9Ebe+DYGPU2HQ96comCTWnugODq5Bjtkydef33qiU0XDUsQgF qhvp6DVjbmmnxJ752OjJ1SR3MNeF1hZtaJqZKC34q64Jj01cVQOZj1XcYlWF+s+2HO2E fDYcUpyWEH4awjpQzbQwWaBOgzc3YEfR7RLdDdrQHN+jdU6Jmd9jwuHOV9bzWNrP2vX+ TQrw== 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:references:in-reply-to :subject:to:from:date:message-id:content-transfer-encoding :mime-version:sender:dkim-signature; bh=bpU4ggNQAIEEDogPy0NjCtTE276c0KUOPEGxybdzJ74=; b=q2J/CNaQ0vqrzrdCX+WJJOrvCbeyu/rzuMA+dG2p1WFRQLEEMVKFZdhIDK8JK3sif6 irFJdj2K58Z5Z4wtge75jWvHxMDATdpxLJhFTIFzbknA8DLxSu2r/JQ7JlYMCFOZgttQ 7i5alOh5X2Y+EuZB5Xb+h9WrOigJZdvXFlLAgW8k58q0E0km3U3dRvAPXiWigStvXy6L Wtx5sJEnxGRACn4jpu/Mz9Ud/Hy6JRoSgBQPdfxuQ7vrWEpnOTlttZizKbh72FhrgyX9 8yhQNMMF1Jv5BkHccEKiRswNgi7FOaASIsKjEw1WByc0wymq1Kl0Ogjj1IHQGot3Fqq4 Pg9w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@wiumlie.no header.s=fm2 header.b=nYFv3Wwq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=C3Y3XDTj; spf=pass (google.com: domain of haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wiumlie.no DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:content-transfer-encoding:message-id:date:from :to:subject:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=bpU4ggNQAIEEDogPy0NjCtTE276c0KUOPEGxybdzJ74=; b=gWvRpLjtEEM+ULHr9wr7VqkTydP9V1qbNNcsFe5/wFd4NbKtudH1r25AIwHPyfMV0c cTijZ82CKSCaoubmOVs9+hL8RjaKvy1MSO7rjK3al9cg9pjvzc0DyI4tNtQuVpZr7CnX E1pRLLnqF3++3Pl5n3sqYKemDa2S+2vG6JIO/w1wKUYLUz8et+H+UwTr+S/a683MgWTG 3WTwprzMs1BZ+p69Prg5/0WcFtn3fx1LiNDIQTfXdF6pJe8XLu2Dfnh/9cgFgkPrN5in MSi1CrdPcVxDoz3RuCFbCH8yjQAP19qN3Keu1r9XIzq0JLMMOKvUZO6iZELJ6qyLeVCY 8CmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:content-transfer-encoding :message-id:date:from:to:subject:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=bpU4ggNQAIEEDogPy0NjCtTE276c0KUOPEGxybdzJ74=; b=NvLDVkcrVDG0QGWu4OM3S1B97nJRITCEx+6qq7RNLKm3EFIo4rxgvEfY9lDfzoX6pM 5qITSuqSfkzFp1XYDheyrE2r+3abJPm06RL8ylrR2wQ94Yi+6U/3lubA23+3TInX75nW //BTnKm1TxJDtmuLILyt0RVmwFXGoy5904b9lg/8QuTVE1yQTep/+UtNapjxN3eRzubF 5cf93eVW3AyIYOm5nIO0ZBI7ER/kDz0NPdPGxmJAQadblzVTn2mbJazVGJa/zOtC/EdW ivNzz7++FhC1N9wGx9UJcmRRGSJoCtt+5MxPPuebqc3w2kDIn7Zq0J21Rf1uZ1O4zLdZ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531PPSqxeO5AdWc+h7dntnAFkz/cq22bjx/PRGss8E4iyhIsuN6H Y79iuFumQWxCzj0nNF5Difc= X-Google-Smtp-Source: ABdhPJz4dXia07yy5aOrXhIoX1+N3B4m3KrZ5Z0W6b0vrRgWH3dWOuIRdBc97OAqBlN95Adu8Lr1LQ== X-Received: by 2002:aa7:c2c6:: with SMTP id m6mr1852418edp.118.1598197870385; Sun, 23 Aug 2020 08:51:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:906:960d:: with SMTP id s13ls560742ejx.1.gmail; Sun, 23 Aug 2020 08:51:07 -0700 (PDT) X-Received: by 2002:a17:906:4dd4:: with SMTP id f20mr2049543ejw.170.1598197867833; Sun, 23 Aug 2020 08:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598197867; cv=none; d=google.com; s=arc-20160816; b=J/5BvYio+6ODjYOdMLuCEPvJlSYDQNDuzpCjGS+bWJW8zx1wfmQtDTg3UhFYvK1R8V peF/zVx/CAS/iUJG0GpMpwbAKhUIrc43mRgP9+6uwRzKe8Hs3+9UtURHyPkMhg7mOVo2 oA34b2brw17UQrCpDj0WZ1w8ES9sWzjE46xWJRjQ7M9ni9bx+G+rHOHwG93Laq6eipiq rC2jKZeNNp6k2N+4gPEZHC0dKat8dF+9v7zc9dESGjL+eTcnikmJiG1KqJiiSX6InKjW tNDMj9Gjs0SU/8naZQye7g66j+41TZK5AG9F20VQ/Uuehwo3F0VBeLugsHgZNL5SzK7o S4qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:subject:to:from:date:message-id :content-transfer-encoding:mime-version:dkim-signature :dkim-signature; bh=9pmQMs+ayq9dSgVsHJQjvfsijrXwsFqVgH9lQ6nGjvA=; b=Hx3MP0zYvbGkGSHqTp8RDVICcsvXNJrgZon0E+01pdzTMdM2tjYnVkfgGDMHx2naCy mzaht4c50cKauKelWCyXUuG/5G+cMQBWwjG8Jiqy/GKUh0h18qdEXF/Pmlj+TaVwjSd4 eruixT2yHSO3SCiI1XsUdaaDNetvjNErF/+xUt/yA6YMyaH8qXz4DLL6gXRf/gOfcw59 x4Q01wjkKqwAfIwjV01l+yC9grEFfAuoPSs36/R5+Pfz3/frwt/j1TgIosDe4/n/OvW/ T+8PtDJHU/mbYMPEJhwTr6nAa3kqFVxkw1uAV2HIiqpqER+Hi3r5ixC5NmexHb3vXm5h 92QA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@wiumlie.no header.s=fm2 header.b=nYFv3Wwq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=C3Y3XDTj; spf=pass (google.com: domain of haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wiumlie.no Original-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com. [64.147.123.24]) by gmr-mx.google.com with ESMTPS id x17si249356edr.0.2020.08.23.08.51.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Aug 2020 08:51:07 -0700 (PDT) Received-SPF: pass (google.com: domain of haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org designates 64.147.123.24 as permitted sender) client-ip=64.147.123.24; Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CFEBA632 for ; Sun, 23 Aug 2020 11:51:05 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 23 Aug 2020 11:51:05 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudduiedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhepgggtgffkfffhvffujghfofesthhqredtredtudenucfhrhhomhepjfonkhho nhcuhghiuhhmucfnihgvuceohhgrrghkohhnseifihhumhhlihgvrdhnoheqnecuggftrf grthhtvghrnhepieegveelvedvkedvhfetfeehvdeutdejvdefheevtdefjeejfefhieef gffgffdtnecuffhomhgrihhnpehprhhinhgtvgigmhhlrdgtohhmpdifihhumhhlihgvrd hnohdplehtohehghhoohhglhgvrdgtohhmpdhgohhoghhlvgdrtghomhenucfkphepkeeg rddvuddvrdeigedrvddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehhrggrkhhonhesfihiuhhmlhhivgdrnhho X-ME-Proxy: Original-Received: from ss (cm-84.212.64.208.getinternet.no [84.212.64.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 71ECE3280060 for ; Sun, 23 Aug 2020 11:51:04 -0400 (EDT) In-Reply-To: X-Mailer: VM 8.2.0b under 25.2.2 (x86_64-pc-linux-gnu) X-Original-Sender: haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@wiumlie.no header.s=fm2 header.b=nYFv3Wwq; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=C3Y3XDTj; spf=pass (google.com: domain of haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org designates 64.147.123.24 as permitted sender) smtp.mailfrom=haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wiumlie.no 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:25972 Archived-At: 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 haakon-EO96REbE7qRuMpJDpNschA@public.gmane.org www.wiumlie.no/en Leonard Rosenthol wrote:: > That is because the current PDF creation processes from Pandoc (either v= ia > 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 eithe= r > MSWord or LibreOffice, with the option to create Accessible/Tagged PDF > turned on or to produce ICML with Pandoc and use Adobe InDesign to produ= ce > the Tagged PDF. >=20 > I am currently producing Tagged PDFs from Markdown through both of these > paths and they each have their own pros and cons... >=20 > Future looking, Adobe is actively working with (and funding!) work in th= e > 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 now > 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 b= y > > 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 defin= ed as > > a header has a different visual style, but it isn't a header from the = point > > of view of the screenreader. > > > > I am able to produce a PDF with headers if I "Save As" from word and t= hen > > 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 flexibili= ty. > > > > Is there a particular command I need to use in order for pandoc to ret= ain > > headers when creating a PDF? > > > > -- > > You received this message because you are subscribed to the Google Gro= ups > > "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/0eff3ef9-cd3d-4154-8d= fe-976238704547n%40googlegroups.com > > > > . > > >=20 > --=20 > You received this message because you are subscribed to the Google Group= s "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send a= n email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msg= id/pandoc-discuss/CALu%3Dv3JHcqWFaAmjTMds%3D3kZ4tEPktwpikG-HeoqZqX8c1tR9g%4= 0mail.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/24386.36964.121997.392581%40gargle.gargle.HOWL.