Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2015 23:04:30 -0400
From:      "Michael B. Eichorn" <ike@michaeleichorn.com>
To:        m8r-qatwhq@mailinator.com, freebsd-questions@freebsd.org
Subject:   Re: The FreeBSD Documentation Project: Is it just me or anyone is interested in reading the FAQ and
Message-ID:  <1446087870.4451.18.camel@michaeleichorn.com>
In-Reply-To: <20151029022525.5A68DD5A62@emkei.cz>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, 2015-10-29 at 03:25 +0100, John via freebsd-questions wrote:
> On Fri, 23 Oct 2015, jungle Boogie wrote:
> 
> > You mean like this:
> > ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/
> > 
> > There's not an epub format but a pdf, txt, rtf,
> > html and ps
> 
> Okay, let's see 
> http://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/
> I've chosen the formats seem to most suitable for my purposes (
> https://marc.info/?l=freebsd-questions&m=144608407002871), that is, to
> be able to simply generate an ebook from the input (in my case, Kindle,
> but you can get an EPUB almost the same way):
> 
> book.html.tar.zip
> book.rtf.zip
> 
> The HTML almost looks good from here, but when I download, extract and
> run the main book.html file, the images are not downloaded; even if I
> open it in a web browser.

Can confirm, I have the images but opening in Firefox and Chromium I only
see the alt-text rendered.

The image links are of the form:
<img src="/local0/docbuild/build/doc/en_US.ISO8859
-1/books/handbook/../../../share/images/books/handbook/geom/striping.png"
align="middle" alt="Disk Striping Illustration">

When they should be:
<img src="geom/striping.png" align="middle" alt="Disk Striping
Illustration">

> The RTF looks broken in Windows 7's WordPad, it freezes LiberOffice and
> the conversion  crashes under Calibre.

This is strange. I just looked at it, the rtf is actually a pdf?!

$ file book.rtf
book.rtf: PDF document, version 1.4

Also applies to the postscript file

$ file book.ps
book.ps: PDF document, version 1.4

> Now I understand there might be issues with different encodings between
> Unix and Windows, but I don't know much about these issues. I
> downloaded the .zip versions assuming they are more Windows-friendly.

Not an encoding problem (this time). The encoding here is ISO 8859-1 as
shown in the url. This is sometimes called Latin-1 and is roughly
equivalent to Windows-1252. (Quotes and control characters are
different).

> Now, how to get the Handbook (and FAQ) to my book reader? Thanks!

Well the book.txt checks out. There are not very many pictures, you can
probably get by without them.

To get this done quickly with graphics, I would use the html and then use
a find-replace tool to repair the image links. Alternately, file a bug
against the docs and wait for a volunteer to fix the problem.
[-- Attachment #2 --]
0	*H
010
	`He0	*H
000]0
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
150613202446Z
160614003550Z0H10Uike@michaeleichorn.com1%0#	*H
	ike@michaeleichorn.com0"0
	*H
0
UՀ,k9D %Z|Y6J<rrK
g;&|uNlUE9)V.[ט̊:qS](#vSYDz*CpugYݔ,v<`j(waS#ڒ6n(K5'KVLåErv<J=[}W
bLA%gޭnVb|	I?M7D:$׃bM_T[,ƃ\00	U00U0U%0++0Ujj:	γ+39啖0U#0Sr풜\|~5NԸQ0!U0ike@michaeleichorn.com0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
x+ȐF}pw.XvF?rg
P]EOp)L˻yA
;hi0u2]m [Sbp$_
gr
Xm*YP3#H>mKAǠt)HO|=@}3ӝ'iO81>03	v'h5U
"H;ECZtpҗ4rWHu^6+i*kJL8shAV|5;?HMc\	j[j|+000]0
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
150613202446Z
160614003550Z0H10Uike@michaeleichorn.com1%0#	*H
	ike@michaeleichorn.com0"0
	*H
0
UՀ,k9D %Z|Y6J<rrK
g;&|uNlUE9)V.[ט̊:qS](#vSYDz*CpugYݔ,v<`j(waS#ڒ6n(K5'KVLåErv<J=[}W
bLA%gޭnVb|	I?M7D:$׃bM_T[,ƃ\00	U00U0U%0++0Ujj:	γ+39啖0U#0Sr풜\|~5NԸQ0!U0ike@michaeleichorn.com0LU C0?0;+70*0.+"http://www.startssl.com/policy.pdf0+00' StartCom Certification Authority0This certificate was issued according to the Class 1 Validation requirements of the StartCom CA policy, reliance only for the intended purpose in compliance of the relying party obligations.06U/0-0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://aia.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
x+ȐF}pw.XvF?rg
P]EOp)L˻yA
;hi0u2]m [Sbp$_
gr
Xm*YP3#H>mKAǠt)HO|=@}3ӝ'iO81>03	v'h5U
"H;ECZtpҗ4rWHu^6+i*kJL8shAV|5;?HMc\	j[j|+0400
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210155Z
171024210155Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
	*H
0
	-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG.ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN00U00U0USr풜\|~5NԸQ0U#0N@[i04hCA0f+Z0X0'+0http://ocsp.startssl.com/ca0-+0!http://www.startssl.com/sfsca.crt0[UT0R0'%#!http://www.startssl.com/sfsca.crl0'%#!http://crl.startssl.com/sfsca.crl0U y0w0u+70f0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0
	*H

}x,\c^#wMq}>UK/^yX֏y	frMIŲB61ymQ󸟆ҨݬZ0&;@#13qۑ&	̢o	6r_;GO>*I(	74XS1r3)!LJy6Kotˆ#
_wSr
;B
ADp(fs䰷6%.W0J3:bC<8t X1<Cn=t==wST~\wkBf|15zUP)(IjVB!OfI=bb\4-*em/нSJm7N[]'@ڽD9Kr>R7/|o^I@ټ'Pa$ z9a'L)(
I}vcH]۸D*W}
m>Q|C.(,lQ100010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA]0
	`He0	*H
	1	*H
0	*H
	1
151029030430Z0O	*H
	1B@QS㣈~i8b`d")1\XM8@#	9[qdnܯ}<0	+710010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA]0*H
	1010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA]0
	*H
<T9IF)'H|s,~D382;K(9x2MmS(@\'O
hu6Gt],P+wMHt
LR~6rFf5WƷQb?qVԧTu	U+	ɠf8o1'Nm
+`6MD&]lpzSEA[`/8R(%^⇅\|Pdy	a=c$7f;
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1446087870.4451.18.camel>