9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
@ 2025-01-17 18:25 Ron Minnich
  2025-01-17 19:10 ` Noam Preil
  2025-01-17 19:19 ` hiro
  0 siblings, 2 replies; 7+ messages in thread
From: Ron Minnich @ 2025-01-17 18:25 UTC (permalink / raw)
  To: 9fans

I have a pdf, created by troff, that causes OSX preview to explode
when I try to select text. 100%. It's instant. It's funny.

I want that plan 9 pdf previewer I saw the IWP9 talk on :-)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-M8ad4abaa530cda33f0882358
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-17 18:25 [9fans] where's that nice plan 9 pdf previewer from iwp9 ? Ron Minnich
@ 2025-01-17 19:10 ` Noam Preil
  2025-01-18  7:23   ` Bakul Shah via 9fans
  2025-01-17 19:19 ` hiro
  1 sibling, 1 reply; 7+ messages in thread
From: Noam Preil @ 2025-01-17 19:10 UTC (permalink / raw)
  To: 9fans

It's in the pdffs repo. Started working on it again a few months ago, but
my laptop broke; just got a 9 system set up on a pinebook using
QEMU+KVM, I'm more than happy to guide through it and assist with
debugging if needed :)

https://shithub.us/sigrid/pdffs/HEAD/info.html is the canonical repo,
though there's a regression I fixed on
https://git.sr.ht/~pixelherodev/pdffs

I fixed up the patch to push it upstream, but forgot to do so; it's on
my list for today.

You'll need to install that `pdffs` tool, though currently it's a CLI
and not a fs, as pdf infra is more important than tacking on the 9p
interface; there's a pdf2txt script in the repo that dumps the text from
a pdf; pdfpages.rc will, additionally, do that conversion _per page_,
and then print out each page number which includes the relevant text.

If there's any other questions or anything else you need help with,
lemme know!

- Noam Preil


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-M35b8b5d3be035ea9085f0be9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-17 18:25 [9fans] where's that nice plan 9 pdf previewer from iwp9 ? Ron Minnich
  2025-01-17 19:10 ` Noam Preil
@ 2025-01-17 19:19 ` hiro
  2025-01-17 21:24   ` Ron Minnich
  1 sibling, 1 reply; 7+ messages in thread
From: hiro @ 2025-01-17 19:19 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

page(1) ?

On Fri, Jan 17, 2025 at 7:49 PM Ron Minnich <rminnich@p9f.org> wrote:

> I have a pdf, created by troff, that causes OSX preview to explode
> when I try to select text. 100%. It's instant. It's funny.
> 
> I want that plan 9 pdf previewer I saw the IWP9 talk on :-)

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-M57224c23a0beeff5d9644045
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1763 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-17 19:19 ` hiro
@ 2025-01-17 21:24   ` Ron Minnich
  0 siblings, 0 replies; 7+ messages in thread
From: Ron Minnich @ 2025-01-17 21:24 UTC (permalink / raw)
  To: 9fans

I know about page, I use it, but I thought pdffs was very nice, so
wanted to keep track of it.

The talk on it was great. I learned things about pdf I never knew.

On Fri, Jan 17, 2025 at 12:16 PM hiro <23hiro@gmail.com> wrote:
>
> page(1) ?
>
> On Fri, Jan 17, 2025 at 7:49 PM Ron Minnich <rminnich@p9f.org> wrote:
>> 
>> I have a pdf, created by troff, that causes OSX preview to explode
>> when I try to select text. 100%. It's instant. It's funny.
>> 
>> I want that plan 9 pdf previewer I saw the IWP9 talk on :-)
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-Mf57b54d3ec7da6286ed20ab7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-17 19:10 ` Noam Preil
@ 2025-01-18  7:23   ` Bakul Shah via 9fans
  2025-01-18 18:44     ` Steve Simon
  0 siblings, 1 reply; 7+ messages in thread
From: Bakul Shah via 9fans @ 2025-01-18  7:23 UTC (permalink / raw)
  To: 9fans

On Jan 17, 2025, at 11:10 AM, Noam Preil <noam@pixelhero.dev> wrote:
> 
> It's in the pdffs repo. Started working on it again a few months ago, but
> my laptop broke; just got a 9 system set up on a pinebook using
> QEMU+KVM, I'm more than happy to guide through it and assist with
> debugging if needed :)
> 
> https://shithub.us/sigrid/pdffs/HEAD/info.html is the canonical repo,
> though there's a regression I fixed on
> https://git.sr.ht/~pixelherodev/pdffs
> 
> I fixed up the patch to push it upstream, but forgot to do so; it's on
> my list for today.
> 
> You'll need to install that `pdffs` tool, though currently it's a CLI
> and not a fs, as pdf infra is more important than tacking on the 9p
> interface; there's a pdf2txt script in the repo that dumps the text from
> a pdf; pdfpages.rc will, additionally, do that conversion _per page_,
> and then print out each page number which includes the relevant text.
> 
> If there's any other questions or anything else you need help with,
> lemme know!

I finally watched the pdffs video. Very inspiring!

Random thought:
May be this can be extended/evolved into a "displayPDF kernel", which
can open up other uses such as a GUI, a better windowing system etc.

I'm sure you guys must've thought of such things!
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-M8fab58fa06a19eb39d3ff968
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-18  7:23   ` Bakul Shah via 9fans
@ 2025-01-18 18:44     ` Steve Simon
  2025-01-18 19:11       ` tlaronde
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Simon @ 2025-01-18 18:44 UTC (permalink / raw)
  To: 9fans


we could call it 9news :-)


> On 18 Jan 2025, at 11:58 am, Bakul Shah via 9fans <9fans@9fans.net> wrote:
> 
> Random thought:
> May be this can be extended/evolved into a "displayPDF kernel", which
> can open up other uses such as a GUI, a better windowing system etc.
> 
> I'm sure you guys must've thought of such things!
> 

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-Mfccd492745ac54161ec2e785
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] where's that nice plan 9 pdf previewer from iwp9 ?
  2025-01-18 18:44     ` Steve Simon
@ 2025-01-18 19:11       ` tlaronde
  0 siblings, 0 replies; 7+ messages in thread
From: tlaronde @ 2025-01-18 19:11 UTC (permalink / raw)
  To: 9fans

On Sat, Jan 18, 2025 at 06:44:07PM +0000, Steve Simon wrote:
> 
> we could call it 9news :-)
> 

It is a WIP with kerTeX (and I hope I'd be able to explain this during IWP9 11th) 
to put all the pieces together:

- Have the TeX (in fact: prote, a modification, written by me, that
provides the supplementary primitives needed by LaTeX) engine do the
layout;

- Have the METAFONT extracted routines doing the RIP.

A first step will be to make TeX able to be used as roff (the roff
macros will stay the same, but this will be TeX that will do the macro
handling---not the other text utils---and DVI will be extended for the two
missing roff primitives), and to see, after, how far can TeX be used to
process an xml based (html) language (like any macro set in fact).

I find it always useful to try to push something to the limits (to
assess them)---may be funny; I mean: Peter principle: a general
practioner knows few on a lot of things; a specialist knows a
lot on few things; take to the limit: the general
practitioner knows nothing about everything, while the specialist
knows everything about nothing.

> > On 18 Jan 2025, at 11:58 am, Bakul Shah via 9fans <9fans@9fans.net> wrote:
> > 
> > Random thought:
> > May be this can be extended/evolved into a "displayPDF kernel", which
> > can open up other uses such as a GUI, a better windowing system etc.
> > 
> > I'm sure you guys must've thought of such things!
> > 

-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T1b27724b5865d121-Md720553e0b00eb14325511f0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-18 19:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-17 18:25 [9fans] where's that nice plan 9 pdf previewer from iwp9 ? Ron Minnich
2025-01-17 19:10 ` Noam Preil
2025-01-18  7:23   ` Bakul Shah via 9fans
2025-01-18 18:44     ` Steve Simon
2025-01-18 19:11       ` tlaronde
2025-01-17 19:19 ` hiro
2025-01-17 21:24   ` Ron Minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).