Another option could be something like $ curl https://www.ahuka.com/gimp/patterns-and-gradients/ | \ pandoc --from html --to markdown | \ sed -e '1,/content role=\"main\"/ d' | \ pandoc --from markdown --output output.pdf
If you know enough about pandoc and CSS, you could apply any number of styles during the PDF processing. Otherwise, the default formatting is pretty nice. -klaatu On Saturday, April 10, 2021 6:45:09 AM NZST Kevin O'Brien wrote: > Ken has mentioned wanting PDF files for the tutorials I have done. While > the ultimate solution may require more work, I have made a stop-gap > solution by installing a WordPress plugin that puts a button on each page > that says "Save as PDF". It works pretty well, but it does put a watermark > on each page that says "Demo". I will figure out something better at some > point, but anyone who wants a PDF can get one now. Just use the link in the > show notes to get the page URL, and look on the bottom of the page. For > blog posts, you have to go to the permaddress page for each post. > > My longer range plan is to have a "book" for each collection of tutorials, > such as LibreOffice Writer as one book, LibreOffice Calc as another, GIMP > as a third, and so on. And I'll probably get an episode out of that process. > > Regards, > > -- > Kevin B. O'Brien > z <[email protected]>[email protected] > http://google.me/+kevinobrien > http://www.google.com/profiles/Ahuka5656 > http://about.me/zwilnik > “People shouldn't be afraid of their government. Governments should be > afraid of their people.” - Alan Moore, *V for Vendetta* _______________________________________________ Hpr mailing list [email protected] http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
