Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #274097 > unrolled thread
| Started by | gene heskett <gheskett@shentel.net> |
|---|---|
| First post | 2024-10-27 19:10 +0100 |
| Last post | 2024-11-26 21:20 +0100 |
| Articles | 17 — 11 participants |
Back to article view | Back to linux.debian.user
need .md reader that can print ONLY tha page being viewed gene heskett <gheskett@shentel.net> - 2024-10-27 19:10 +0100
Re: need .md reader that can print ONLY tha page being viewed jeremy ardley <jeremy.ardley@gmail.com> - 2024-10-27 19:30 +0100
Re: need .md reader that can print ONLY tha page being viewed <tomas@tuxteam.de> - 2024-10-27 20:10 +0100
Re: need .md reader that can print ONLY tha page being viewed gene heskett <gheskett@shentel.net> - 2024-10-28 08:10 +0100
Clarity in information, please :) [WAS Re: need .md reader that can print ONLY tha page being viewed] "Andrew M.A. Cater" <amacater@einval.com> - 2024-10-28 08:30 +0100
Re: Clarity in information, please :) [WAS Re: need .md reader that canprint ONLY tha page being viewed] gene heskett <gheskett@shentel.net> - 2024-10-28 13:20 +0100
Re: need .md reader that can print ONLY tha page being viewed David Wright <deblis@lionunicorn.co.uk> - 2024-10-27 19:30 +0100
Re: need .md reader that can print ONLY tha page being viewed gene heskett <gheskett@shentel.net> - 2024-10-28 08:10 +0100
Re: need .md reader that can print ONLY tha page being viewed Mike Castle <dalgoda+debian@gmail.com> - 2024-10-27 20:20 +0100
Re: need .md reader that can print ONLY tha page being viewed Stefan Monnier <monnier@iro.umontreal.ca> - 2024-10-27 20:30 +0100
Re: need .md reader that can print ONLY tha page being viewed David Wright <deblis@lionunicorn.co.uk> - 2024-10-28 04:50 +0100
Re: need .md reader that can print ONLY tha page being viewed David Wright <deblis@lionunicorn.co.uk> - 2024-10-29 04:50 +0100
Re: need .md reader that can print ONLY tha page being viewed Max Nikulin <manikulin@gmail.com> - 2024-10-29 17:40 +0100
Re: need .md reader that can print ONLY tha page being viewed Andy Smith <andy@strugglers.net> - 2024-10-28 05:20 +0100
Re: need .md reader that can print ONLY tha page being viewed Ryan Nowakowski <tubaman@fattuba.com> - 2024-11-20 01:40 +0100
Re: need .md reader that can print ONLY tha page being viewed Roland Mueller <roland.em0001@googlemail.com> - 2024-11-26 21:00 +0100
Re: need .md reader that can print ONLY tha page being viewed gene heskett <gheskett@shentel.net> - 2024-11-26 21:20 +0100
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2024-10-27 19:10 +0100 |
| Subject | need .md reader that can print ONLY tha page being viewed |
| Message-ID | <JCfS9-4Del-3@gated-at.bofh.it> |
Seems to me we should not have to print a 90 page document to get the one page/paragraph of interest. What do folks use now? Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [next] | [standalone]
| From | jeremy ardley <jeremy.ardley@gmail.com> |
|---|---|
| Date | 2024-10-27 19:30 +0100 |
| Message-ID | <JCgbv-4Dly-5@gated-at.bofh.it> |
| In reply to | #274097 |
On 28/10/24 02:07, gene heskett wrote: > Seems to me we should not have to print a 90 page document to get the > one page/paragraph of interest. What do folks use now? > > Cheers, Gene Heskett, CET. Quite often in a web browser you can select the text and right click and print selection. If you are in a gui console you can select some text and copy and paste into a gui text editor and print that. If you are only in a console with no gui you will have problems
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2024-10-27 20:10 +0100 |
| Message-ID | <JCgOd-4DNP-5@gated-at.bofh.it> |
| In reply to | #274100 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Oct 28, 2024 at 02:27:34AM +0800, jeremy ardley wrote: > > > On 28/10/24 02:07, gene heskett wrote: > > Seems to me we should not have to print a 90 page document to get the > > one page/paragraph of interest. What do folks use now? > > > > Cheers, Gene Heskett, CET. > > > Quite often in a web browser you can select the text and right click and > print selection. > > If you are in a gui console you can select some text and copy and paste into > a gui text editor and print that. > > If you are only in a console with no gui you will have problems Or you will have pdfseparate (1). It's not all barbarian country in the console :-) Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2024-10-28 08:10 +0100 |
| Message-ID | <JCs30-4NQ3-29@gated-at.bofh.it> |
| In reply to | #274100 |
On 10/27/24 14:28, jeremy ardley wrote: > > > On 28/10/24 02:07, gene heskett wrote: >> Seems to me we should not have to print a 90 page document to get the >> one page/paragraph of interest. What do folks use now? >> >> Cheers, Gene Heskett, CET. > > > Quite often in a web browser you can select the text and right click and > print selection. > > If you are in a gui console you can select some text and copy and paste > into a gui text editor and print that. > > If you are only in a console with no gui you will have problems > > . I've got a gui on both ends of the net but cups on armbian can't see the printers shared by debian/bookworm. So we fix that first. If we can... Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | "Andrew M.A. Cater" <amacater@einval.com> |
|---|---|
| Date | 2024-10-28 08:30 +0100 |
| Subject | Clarity in information, please :) [WAS Re: need .md reader that can print ONLY tha page being viewed] |
| Message-ID | <JCsml-4Oi2-7@gated-at.bofh.it> |
| In reply to | #274114 |
On Mon, Oct 28, 2024 at 03:05:32AM -0400, gene heskett wrote: > > . > I've got a gui on both ends of the net but cups on armbian can't see the > printers shared by debian/bookworm. So we fix that first. If we can... > > Cheers, Gene Heskett, CET. > -- > Hi Gene, Armbian is off-topic here (as often stated) - maybe raise this with the Armbian folks? As ever, it is *REALLY* hard to debug the problems you raise because we don't have enough information. You don't make it clear which boards you have that only run Armbian. All the best, as ever, Andy (amacater@debian.org)
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2024-10-28 13:20 +0100 |
| Subject | Re: Clarity in information, please :) [WAS Re: need .md reader that canprint ONLY tha page being viewed] |
| Message-ID | <JCwSZ-4Rmt-1@gated-at.bofh.it> |
| In reply to | #274116 |
On 10/28/24 03:24, Andrew M.A. Cater wrote: > On Mon, Oct 28, 2024 at 03:05:32AM -0400, gene heskett wrote: >>> . >> I've got a gui on both ends of the net but cups on armbian can't see the >> printers shared by debian/bookworm. So we fix that first. If we can... >> >> Cheers, Gene Heskett, CET. >> -- >> > > Hi Gene, > > Armbian is off-topic here (as often stated) - maybe raise this with the > Armbian folks? > > As ever, it is *REALLY* hard to debug the problems you raise because we > don't have enough information. > > You don't make it clear which boards you have that only run Armbian. > > All the best, as ever, > > Andy > (amacater@debian.org) > You can assume that when I mention armbian its running on a 4g bananapi-m5, its the best arm64 out there by a long row of apple trees. A full, current ubuntu desktop release corresponding to trixie w/xfce4 today. I hate to say it, but in arm64, debian is simply not it the game unless I'm getting my downloads from a duff mirror. debian simply, obviously, doesn't care about the arms. There are arm64 users by the millions out here in the 3d printer world. Even the simple question of where to get the latest download that /might/ run on arm stuff and Just Work, goes ignored. I've attempted to bring debian-arm problems to that list, only to be repeatedly told that list is for developers only and my requests for help making something work have been routed to /dev/null. I've even offered to setup a monthly stipend to help debian meet expenses but the only path you offer is paypal, and they owe me money I'll never collect, so I do no business with paypal. That is YOUR problem. I get along just fine w/o them. > . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2024-10-27 19:30 +0100 |
| Message-ID | <JCgbv-4Dly-7@gated-at.bofh.it> |
| In reply to | #274097 |
On Sun 27 Oct 2024 at 14:07:25 (-0400), gene heskett wrote: > Seems to me we should not have to print a 90 page document to get the > one page/paragraph of interest. What do folks use now? pdftk, now pdftk-java Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2024-10-28 08:10 +0100 |
| Message-ID | <JCs31-4NQ3-37@gated-at.bofh.it> |
| In reply to | #274101 |
On 10/27/24 14:28, David Wright wrote: > On Sun 27 Oct 2024 at 14:07:25 (-0400), gene heskett wrote: >> Seems to me we should not have to print a 90 page document to get the >> one page/paragraph of interest. What do folks use now? > > pdftk, now pdftk-java installed it, but the assumption that its a pdf is wrong, its an .md file. Does not appear to have page makers, but I can get line numbers from geany, but its an arm64 and cups can't print to my shared printers so that has to be fixed first. The rest can be had from the correct incantations of "tail fnnn file | head fnn >newfile. So first, how do I fix cups? > > Cheers, > David. > > . Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [next] | [standalone]
| From | Mike Castle <dalgoda+debian@gmail.com> |
|---|---|
| Date | 2024-10-27 20:20 +0100 |
| Message-ID | <JCgXT-4DQY-9@gated-at.bofh.it> |
| In reply to | #274097 |
A feature of markdown (.md) is that it is plain text. Bring it up in your favorite text editor, save just the bits you need, print with plain old lp(1). No "reader" necessary.
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2024-10-27 20:30 +0100 |
| Message-ID | <JCh7z-4DTT-1@gated-at.bofh.it> |
| In reply to | #274097 |
> Seems to me we should not have to print a 90 page document to get the one
> page/paragraph of interest.
I agree, but I wonder why you think it needs to be stated.
What tool are you using and what part of it makes you think it really
wants you to print all 90 pages of a document?
FWIW, nowadays I basically never print to paper from anything else than
my favorite PDF viewer (which does offer me to print any selected
subset of the pages). For everything else, I "print to PDF" (and then
use my PDF viewer to print to paper the parts I need, if that's
what I want).
Stefan
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2024-10-28 04:50 +0100 |
| Message-ID | <JCoVr-4IJk-1@gated-at.bofh.it> |
| In reply to | #274106 |
On Sun 27 Oct 2024 at 15:24:52 (-0400), Stefan Monnier wrote: > > Seems to me we should not have to print a 90 page document to get the one > > page/paragraph of interest. > > I agree, but I wonder why you think it needs to be stated. > What tool are you using and what part of it makes you think it really > wants you to print all 90 pages of a document? > > FWIW, nowadays I basically never print to paper from anything else than > my favorite PDF viewer (which does offer me to print any selected > subset of the pages). For everything else, I "print to PDF" (and then > use my PDF viewer to print to paper the parts I need, if that's > what I want). What I would miss if I had only that for PDFs: . a record of how I made the printout, . a carbon copy of the document to file (if I do print, it's generally to send it somewhere), . the ability to do this manually or with scripts, . handling encryption, . most importantly, the ability to assemble a document from multiple parts of various sources. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2024-10-29 04:50 +0100 |
| Message-ID | <JCLp0-50zA-1@gated-at.bofh.it> |
| In reply to | #274111 |
On Sun 27 Oct 2024 at 22:44:58 (-0500), David Wright wrote: > On Sun 27 Oct 2024 at 15:24:52 (-0400), Stefan Monnier wrote: > > > Seems to me we should not have to print a 90 page document to get the one > > > page/paragraph of interest. > > > > I agree, but I wonder why you think it needs to be stated. > > What tool are you using and what part of it makes you think it really > > wants you to print all 90 pages of a document? > > > > FWIW, nowadays I basically never print to paper from anything else than > > my favorite PDF viewer (which does offer me to print any selected > > subset of the pages). For everything else, I "print to PDF" (and then > > use my PDF viewer to print to paper the parts I need, if that's > > what I want). > > What I would miss if I had only that for PDFs: > > . a record of how I made the printout, > > . a carbon copy of the document to file (if I do print, > it's generally to send it somewhere), > > . the ability to do this manually or with scripts, > > . handling encryption, > > . most importantly, the ability to assemble a document > from multiple parts of various sources. Thanks to Stefan for pointing out a lack of context in my post. It's meant to relate to my earlier post suggesting pdftk, and points out that selection of pages is the least that pdftk can do. The list above is just the functions I use regularly. So, for example, at tax time each year, I run a number of scripts that automatically collate the appropriate pages from the mountain of monthly/quarterly documents received or downloaded over the year. Of course, much of this thread is moot if Gene is concerned only with printing parts of a text file, rather than sections of the processed marked-up document. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Date | 2024-10-29 17:40 +0100 |
| Message-ID | <JCXq9-589i-1@gated-at.bofh.it> |
| In reply to | #274135 |
On 29/10/2024 10:42, David Wright wrote: > Of course, much of this thread is moot if Gene is concerned > only with printing parts of a text file, rather than sections > of the processed marked-up document. I think, reading a rendered page from a document is more pleasant than raw markup, so selection of pages is relevant. At least it might be a last resort since normally page selection should be available from printing dialog or using CLI options. The next question is what kind of markdown is used. Long document almost certainly relies on various extensions. However it does not matter if actual trouble may be with wonderful closed source Brother drivers and armbian tuned by a sledgehammer.
[toc] | [prev] | [next] | [standalone]
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Date | 2024-10-28 05:20 +0100 |
| Message-ID | <JCpot-4JlS-3@gated-at.bofh.it> |
| In reply to | #274097 |
Hi Gene, On Sun, Oct 27, 2024 at 02:07:25PM -0400, gene heskett wrote: > Seems to me we should not have to print a 90 page document to get the one > page/paragraph of interest. What do folks use now? What procedure / software do you use right now to solve this problem for really big plain text (.txt) files? Will that also work for such Markdown (.md) files? Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
[toc] | [prev] | [next] | [standalone]
| From | Ryan Nowakowski <tubaman@fattuba.com> |
|---|---|
| Date | 2024-11-20 01:40 +0100 |
| Message-ID | <JKGVb-a7QF-1@gated-at.bofh.it> |
| In reply to | #274097 |
On Sun, Oct 27, 2024 at 02:07:25PM -0400, gene heskett wrote: > Seems to me we should not have to print a 90 page document to get the one > page/paragraph of interest. What do folks use now? Hey Gene, I'm assuming that your .md file is in markdown format. If so, you have a few choices. There's nothing about markdown that forces formatting by page. So for example, you could render markdown as HTML using pandoc, then use something like xmlstarlet to select just the parts of the HTML you want. Then, you can load that in your browser and print. If you really want to format markdown in pages, you can use pandoc to render markdown as PDF, then use a PDF reader to print the pages you want. Hope this helps, Ryan
[toc] | [prev] | [next] | [standalone]
| From | Roland Mueller <roland.em0001@googlemail.com> |
|---|---|
| Date | 2024-11-26 21:00 +0100 |
| Message-ID | <JN9T3-bOZM-7@gated-at.bofh.it> |
| In reply to | #274672 |
[Multipart message — attachments visible in raw view] — view raw
ke 20.11.2024 klo 3.12 Ryan Nowakowski (tubaman@fattuba.com) kirjoitti: > On Sun, Oct 27, 2024 at 02:07:25PM -0400, gene heskett wrote: > > Seems to me we should not have to print a 90 page document to get the one > > page/paragraph of interest. What do folks use now? > > Hey Gene, I'm assuming that your .md file is in markdown format. If so, > you have a few choices. There's nothing about markdown that forces > formatting by page. So for example, you could render markdown as HTML > using pandoc, then use something like xmlstarlet to select just the > parts of the HTML you want. Then, you can load that in your browser and > print. > > If you really want to format markdown in pages, you can use pandoc to > render markdown as PDF, then use a PDF reader to print the pages you want. > > Hope this helps, > > Ryan > > okular can also display documents in markdown format and some other formats in addition to PDF.
[toc] | [prev] | [next] | [standalone]
| From | gene heskett <gheskett@shentel.net> |
|---|---|
| Date | 2024-11-26 21:20 +0100 |
| Message-ID | <JNacp-bPm3-1@gated-at.bofh.it> |
| In reply to | #274913 |
On 11/26/24 14:52, Roland Mueller wrote: > > > ke 20.11.2024 klo 3.12 Ryan Nowakowski (tubaman@fattuba.com > <mailto:tubaman@fattuba.com>) kirjoitti: > > On Sun, Oct 27, 2024 at 02:07:25PM -0400, gene heskett wrote: > > Seems to me we should not have to print a 90 page document to get > the one > > page/paragraph of interest. What do folks use now? > > Hey Gene, I'm assuming that your .md file is in markdown format. If so, > you have a few choices. There's nothing about markdown that forces > formatting by page. So for example, you could render markdown as HTML > using pandoc, then use something like xmlstarlet to select just the > parts of the HTML you want. Then, you can load that in your browser and > print. > > If you really want to format markdown in pages, you can use pandoc to > render markdown as PDF, then use a PDF reader to print the pages you > want. > > Hope this helps, > > Ryan > Yes it will help, a lot. I had never heard of pandoc before. Thank you. > > okular can also display documents in markdown format and some other > formats in addition to PDF. That I have, again useful info. Thank you. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web