Article View: alt.comp.os.windows-10
Article #910Re: Cross-platform local pdf resume editing using Mozilla-inspired tools
From: Maria Sophia
Date: Wed, 11 Nov 2026 20:08
Date: Wed, 11 Nov 2026 20:08
45 lines
3571 bytes
3571 bytes
Lawrence D'Oliveiro wrote: > On Wed, 11 Nov 2026 16:19:42 +0100, John Bokma wrote: > >> I use Markdown + Pandoc > > Great combination. I added the ability to format a text field as > Markdown via Pandoc to a project for a client recently. Only trouble > was, when the browser shows the PDF version, it insists on displaying > a list of thumbnails down the side, because that's what the settings > in the PDF file say to do. > > Turning this off involved massaging the generated PDF data with > PikePDF. But the project was in PHP (no, I didn't start it, I just > took it over), and I couldn't find any PHP binding for PikePDF. So I > wrote a little Python script to do the postprocessing (and the > Markdown rendering, while it was at it). > > Yes, it was an excuse to introduce some Python code into a > predominantly-PHP project Thanks, John and Lawrence! I think I finally managed to translate what you two are talking about into something the rest of us mere mortals can understand. If I have this right, the idea is to keep the original document in an editable, text-based format (Markdown, for example) and then to use Pandoc to convert it into a PDF and then to use PikePDF to tweak the resulting PDF's internal settings when needed. In Lawrence's case, the problem wasn't actually the PDF content, but how the browser displayed it when his PDF was configured to open with a thumbnail sidebar. He used PikePDF to modify that setting, and since the main project was written in PHP, he wrote a small Python script to handle both the Markdown conversion and the PDF post-processing. So, in short, you're suggesting to keep an editable source, generate the PDF when needed and use a little Python magic to adjust the finished PDF. This is useful practical insight that those of us trying to figure out how to generate (and, ideally, work with) PDFs on the fly can appreciate. -- Usenet is an assemblage of purposefully helpful people teaching each other .
Technical Details
Message-ID:
<11d2i0p$2461$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mailReferences:
<11d0ooj$6er$1@nnrp.usenet.blueworldhosting.com> <qr3esmx8jg.ln2@Telcontar.valinor> <11d212e$34s3m$1@dont-email.me> <11d2gmv$3b879$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail From: Maria Sophia <mariasophia@comprehension.com> Newsgroups: comp.text.pdf,alt.comp.os.windows-10,alt.os.linux,comp.sys.mac.apps Subject: Re: Cross-platform local pdf resume editing using Mozilla-inspired tools Date: Wed, 11 Nov 2026 16:08:57 -0400 Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) Message-ID: <11d2i0p$2461$1@nnrp.usenet.blueworldhosting.com> References: <11d0ooj$6er$1@nnrp.usenet.blueworldhosting.com> <qr3esmx8jg.ln2@Telcontar.valinor> <11d212e$34s3m$1@dont-email.me> <11d2gmv$3b879$1@dont-email.me> Reply-To: pusvul@getTjewytR4so+mqe2.invalid Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Nov 2026 20:08:57 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM"; logging-data="69825"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Mojibake v24p7 Cancel-Lock: sha1:/4H+r3vNkKm6rrlRLSwyYEOEfkw= sha256:6zKGjoZzhmbaR4PThU/7zQI56TYztXntRtJcnkxNt94= sha1:yPYFvXGf2Ychp05mN/M5dqw9DIE= sha256:vwRk9t/jyKXP9FfZ4XUe+tmNZ4k9UH0d26i+LOO70SY= Content-Language: en-GB