Re: [Hpr] PDF files

2021-04-10 Thread Jeroen Baten
I'd be more than happy to convert any material to asciidoctor and thus 
be able to generate html,pdf,epub files. Also, the source can then be 
git controlled.


Greets, Jeroen

Op 09-04-2021 om 20:45 schreef Kevin O'Brien:
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 wil...@zwilnik.com 


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
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


--
Jeroen Baten  | EMAIL :  jba...@i2rs.nl
   _  __  | web   :  www.i2rs.nl
  |  )|_)(_   | tel   :  +31 (0)648519096
 _|_/_| \__)  | Frisolaan 16, 4101 JK, Culemborg, the Netherlands

___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] PDF files

2021-04-09 Thread Klaatu
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 wil...@zwilnik.com
> 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
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


[Hpr] PDF files

2021-04-09 Thread Kevin O'Brien
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 wil...@zwilnik.com
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
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org