add epub target for documentation makefile

This commit is contained in:
Arvid Norberg
2012-12-31 06:51:04 +00:00
parent 5a102e3c75
commit 5cd4296914
4 changed files with 16 additions and 11 deletions

View File

@@ -126,12 +126,12 @@ An example of what the payload of a handshake message could look like:
+-------------------+----------------------------------+
| ``p`` | 6881 |
+-------------------+----------------------------------+
| ``v`` | "<EFBFBD>Torrent 1.2" |
| ``v`` | "uTorrent 1.2" |
+-------------------+----------------------------------+
and in the encoded form:
``d1:md11:LT_metadatai1e6:<EFBFBD>T_PEXi2ee1:pi6881e1:v13:\xc2\xb5Torrent 1.2e``
``d1:md11:LT_metadatai1e6:ut_pexi2ee1:pi6881e1:v12:uTorrent 1.2e``
To make sure the extension names do not collide by mistake, they should be
prefixed with the two (or one) character code that is used to identify the

View File

@@ -31,8 +31,13 @@ html: $(TARGETS:=.html) $(FIGURES:=.png)
pdf: $(TARGETS:=.pdf) $(FIGURES:=.eps)
epub: $(TARGETS:=.epub) $(FIGURES:=.png)
all: html
%.epub:%.rst
rst2epub $? $@
%.pdf:%.rst
rst2pdf $? -o $@ --stylesheets stylesheet

View File

@@ -6883,7 +6883,7 @@ invalid_request_alert
---------------------
This is a debug alert that is generated by an incoming invalid piece request.
``<EFBFBD>p`` is the address of the peer and the ``request`` is the actual incoming
``ip`` is the address of the peer and the ``request`` is the actual incoming
request from the peer.
::
@@ -8167,13 +8167,13 @@ Here's a simple example of how to translate error codes::
static const char const* swedish[] =
{
"inget fel",
"en fil i torrenten kolliderar med en fil fr<EFBFBD>n en annan torrent",
"en fil i torrenten kolliderar med en fil fran en annan torrent",
"hash check misslyckades",
"torrent filen <EFBFBD>r inte en dictionary",
"'info'-nyckeln saknas eller <EFBFBD>r korrupt i torrentfilen",
"'info'-f<EFBFBD>ltet <EFBFBD>r inte en dictionary",
"'piece length' f<EFBFBD>ltet saknas eller <EFBFBD>r korrupt i torrentfilen",
"torrentfilen saknar namnf<EFBFBD>ltet",
"torrent filen ar inte en dictionary",
"'info'-nyckeln saknas eller ar korrupt i torrentfilen",
"'info'-faltet ar inte en dictionary",
"'piece length' faltet saknas eller ar korrupt i torrentfilen",
"torrentfilen saknar namnfaltet",
"ogiltigt namn i torrentfilen (kan vara en attack)",
// ... more strings here
};

View File

@@ -133,7 +133,7 @@ project listed here, let me_ know.
(ncurses) and one web interface
(accessable through a web browser).
Written by Michael Wojciechowski
and Johan Str<EFBFBD>m.
and Johan Strom.
.. _btg: http://btg.berlios.de//
@@ -148,7 +148,7 @@ project listed here, let me_ know.
**tvblob**
The BLOBbox_ represents the ability to harness all of the content available
on the web, without any filtering or pre-selection by a third party <20> just
on the web, without any filtering or pre-selection by a third party just
like surfing the web.
This means that anyone will have the ability to reach viewers via the Internet