9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Epublish, publish books as pdf and epub
@ 2021-09-10 13:45 sirjofri
  2021-09-10 14:38 ` Maurizio Boriani
  0 siblings, 1 reply; 2+ messages in thread
From: sirjofri @ 2021-09-10 13:45 UTC (permalink / raw)
  To: 9fans

Hello all,

In the last days I built a collection of scripts to generate 
epub-compatible files as well as troff-ms files from the same text 
source, all on Plan 9.

The text source files are very similar to markdown syntax, but you can 
define blocks of text that only work with one of the two output formats. 
For using the scripts you only need awk and mk, as well as zip for epub 
and troff -ms for ... troff (plus other tools to convert it to pdf etc).

Here is the package: http://shithub.us/sirjofri/epublish/HEAD/info.html

There's a sample "book" inside that package, I plan to extend this 
example to describe all formatting features, e.g. writing bold and 
italic.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te51e4287ef58c819-M74ed9b66e431c30bd4af38f0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] Epublish, publish books as pdf and epub
  2021-09-10 13:45 [9fans] Epublish, publish books as pdf and epub sirjofri
@ 2021-09-10 14:38 ` Maurizio Boriani
  0 siblings, 0 replies; 2+ messages in thread
From: Maurizio Boriani @ 2021-09-10 14:38 UTC (permalink / raw)
  To: 9fans


sirjofri writes:

> In the last days I built a collection of scripts to generate
> epub-compatible files as well as troff-ms files from the same text
> source, all on Plan 9.
>
> The text source files are very similar to markdown syntax, but you can
> define blocks of text that only work with one of the two output
> formats. For using the scripts you only need awk and mk, as well as
> zip for epub and troff -ms for ... troff (plus other tools to convert
> it to pdf etc).
>
> Here is the package: http://shithub.us/sirjofri/epublish/HEAD/info.html

cool! I've done something similar from commonmark[1] to troff for
personal use. I'll have a look at this absolutely

Thanks!

-- 
Maurizio Boriani 
PGP key: 0xCC0FBF8F

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te51e4287ef58c819-M34f572d4b843bb97c55b7253
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

end of thread, other threads:[~2021-09-10 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 13:45 [9fans] Epublish, publish books as pdf and epub sirjofri
2021-09-10 14:38 ` Maurizio Boriani

9fans - fans of the OS Plan 9 from Bell Labs

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/9fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9fans 9fans/ https://inbox.vuxu.org/9fans \
		9fans@9fans.net
	public-inbox-index 9fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git