9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: sirjofri <sirjofri+ml-9fans@sirjofri.de>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Create HTML pages
Date: Tue, 1 Feb 2022 10:23:55 +0000 (UTC)	[thread overview]
Message-ID: <96c76728-7fbd-445d-a29e-a1a8cbf400e1@sirjofri.de> (raw)
In-Reply-To: <CA+cCjXqBdiQsZKseJb9rL=5gkQKcxTn05k+ony49RPsQZmKC-g@mail.gmail.com>

I have multiple ways for different reasons:

My website is generated using static fragments and page fragments.

The blog however is a troff source that's converted to a static page 
fragment. This way I can output a nice pdf too.

I made shithub.us/sirjofri/epublish which uses a markdown-like format for 
text sources and outputs an ebook as pdf (via troff) and epub (custom 
converter). You can look at the sources, they use awk to convert the 
texts.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te71ff4b45d15900f-M77cde86a99b64740be9a7077
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-02-01 10:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01  7:49 sml
2022-02-01  7:58 ` Alex Musolino
2022-02-01  8:12 ` igor
2022-02-01  9:32   ` Rodrigo G. López
2022-02-01 10:23     ` sirjofri [this message]
2022-02-01 15:59 ` ori
2022-02-01 16:13 ` Ben Hancock
2022-02-01 16:20   ` ori
2022-02-02  6:31     ` sml
2022-02-02 16:01     ` Ben Hancock
2022-02-02 16:17       ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96c76728-7fbd-445d-a29e-a1a8cbf400e1@sirjofri.de \
    --to=sirjofri+ml-9fans@sirjofri.de \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).