www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D programming language specification ebook

reply Walter Bright <newshound2 digitalmars.com> writes:
The code to generate the first D spec ebook is now checked in to

https://github.com/D-Programming-Language/d-programming-language.org

You'll need to download kindlegen from Amazon to generate the actual ebook.

http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621

To build:

make -f win32.mak ebook

I still haven't figured out how to mark chapters and add a cover.
Jul 08 2011
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
Here's a binary of it. Try it out on your ebook reader!

http://digitalmars.com/d/2.0/dlangspec.mobi
Jul 08 2011
next sibling parent reply Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2011-07-08 at 19:30 -0700, Walter Bright wrote:
 Here's a binary of it. Try it out on your ebook reader!
=20
 http://digitalmars.com/d/2.0/dlangspec.mobi

Walter, Is there a PDF of this? The URL http://www.digitalmars.com/d/2.0/ has a link to a PDF page http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive which has a circualr reference back to the Digital Mars site and no PDF about D 2.0, just various old PDFs about D 1.0. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 08 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 8:58 PM, Russel Winder wrote:
 Is there a PDF of this?  The URL http://www.digitalmars.com/d/2.0/ has a
 link to a PDF page
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive
 which has a circualr reference back to the Digital Mars site and no PDF
 about D 2.0, just various old PDFs about D 1.0.

The makefile for the documentation has a build target for pdf's, but I haven't tried it. Amazon has a kindle app for Windows which will display it, there's probably one for Linux too.
Jul 08 2011
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 10:12 PM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format.  It would be good if PDFs
 were made and released -- especially for those of us who do most of our
 coding whilst disconnected from the Internet and so not able to reach
 websites.

I understand, and I'll see about generating a pdf. However, although the e-readers can read pdf's, they do so very badly, because pdf's are designed for 8*11.5 paper, and will not reflow the text for the smaller screens.
 Apparently Amazon believe that with a Windows product and a Mac OS X
 product they have 100% of the universe covered.  Sadly the "Linux on
 Desktop" community has no sway.  Using Wine is supposed to work, but I
 can't be bothered with it.

 I suspect I must be in a community of 1 :-)

There's gotta be an e-reader for Linux. .mobi files are a standard as far as I can tell.
Jul 08 2011
next sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-07-09 07:36, Walter Bright wrote:
 On 7/8/2011 10:12 PM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format. It would be good if PDFs
 were made and released -- especially for those of us who do most of our
 coding whilst disconnected from the Internet and so not able to reach
 websites.

I understand, and I'll see about generating a pdf. However, although the e-readers can read pdf's, they do so very badly, because pdf's are designed for 8*11.5 paper, and will not reflow the text for the smaller screens.

Just generate the documentation in several formats, no harm done. -- /Jacob Carlborg
Jul 09 2011
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/9/2011 1:01 AM, Russel Winder wrote:
 Well PDF isn't designed for 8x11.5 per se, the page size can be anything
 you want, but it is fixed.

Format it for one ereader, and it won't work (reasonably) on any other, despite them having pdf support.
Jul 09 2011
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 9:59 PM, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's probably
one for Linux too.

'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04

That's good to know! Russel?
Jul 08 2011
prev sibling next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 7/8/11 9:20 PM, Walter Bright wrote:
 On 7/8/2011 8:58 PM, Russel Winder wrote:
 Is there a PDF of this? The URL http://www.digitalmars.com/d/2.0/ has a
 link to a PDF page
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive
 which has a circualr reference back to the Digital Mars site and no PDF
 about D 2.0, just various old PDFs about D 1.0.

The makefile for the documentation has a build target for pdf's, but I haven't tried it.

I don't think the current approach to generating PDFs is good - it's essentially using a bridge for generating PDF from HTML. What we need is a set of macros to generate TeX from ddoc followed by compilation. That will produce beautiful PDF files. I'll get to that once the Kindle pipeline is finished. BTW we can choose the page size to be different from 8.5*11, but indeed reflowing is not possible. Andrei
Jul 09 2011
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/9/2011 12:05 AM, Andrei Alexandrescu wrote:
 I don't think the current approach to generating PDFs is good - it's
essentially
 using a bridge for generating PDF from HTML.

 What we need is a set of macros to generate TeX from ddoc followed by
 compilation. That will produce beautiful PDF files. I'll get to that once the
 Kindle pipeline is finished.

 BTW we can choose the page size to be different from 8.5*11, but indeed
 reflowing is not possible.

I think the pdf should be set at 8.5*11 so it will serve as the version of the document most suitable for printing.
Jul 09 2011
prev sibling next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 1:02 AM, Russel Winder wrote:
 Development, and particularly compilation, is a different matter.  The
 introduction of the ability to import from a non-local Git, Mercurial or
 Bazaar repository embeds the assumption of permanent connectivity of the
 developer's machine to the Internet.

That'd cut my productivity in half. My internet connection frequently goes down for a minute to 5 minutes. Cloud applications are just not feasible.
Jul 10 2011
parent Daniel Gibson <metalcaedes gmail.com> writes:
Am 10.07.2011 12:19, schrieb Walter Bright:
 On 7/10/2011 1:02 AM, Russel Winder wrote:
 Development, and particularly compilation, is a different matter. The
 introduction of the ability to import from a non-local Git, Mercurial or
 Bazaar repository embeds the assumption of permanent connectivity of the
 developer's machine to the Internet.

That'd cut my productivity in half. My internet connection frequently goes down for a minute to 5 minutes. Cloud applications are just not feasible.

There have been suggestions to add something like this to dmd. imports from URLs or something like that - because its faster than having a build tool do this (try to build - realize that dependency is missing from DMDs error message - download dependency from central repository - try to build again ...) Cheers, - Daniel
Jul 10 2011
prev sibling next sibling parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On 09.07.2011 8:59, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's probably
one for Linux too.

Best regards,

http://www.convertfiles.com/ saved me a whole lot of trouble in the past. -- Dmitry Olshansky
Jul 10 2011
parent reply "Mike James" <foo bar.com> writes:
"Dmitry Olshansky" <dmitry.olsh gmail.com> wrote in message 
news:ivce6f$kjj$1 digitalmars.com...
 On 09.07.2011 8:59, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's 
 probably one for Linux too.

Best regards,

http://www.convertfiles.com/ saved me a whole lot of trouble in the past. -- Dmitry Olshansky

I tried the convertfiles website. It converted the file to PDF but the Formatting went to pot... A lot of blank pages inserted. I downloaded a free mobireader for Windows PC from here: http://www.mobipocket.com/en/DownloadSoft/ProductDetailsReader.asp -=mike=-
Jul 11 2011
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 7:03 AM, Mike James wrote:
 I tried the convertfiles website. It converted the file to PDF but the
 Formatting went to pot... A lot of blank pages inserted.
 I downloaded a free mobireader for Windows PC from here:

 http://www.mobipocket.com/en/DownloadSoft/ProductDetailsReader.asp

The kindle reader is also a free download from amazon.
Jul 11 2011
prev sibling parent reply Jeff Nowakowski <jeff dilacero.org> writes:
On 07/09/2011 01:12 AM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format.

I don't get it. HTML flows correctly to different screen sizes, unlike PDF. HTML is widely portable. Where's the advantage to PDF?
Jul 10 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 8:31 AM, Jeff Nowakowski wrote:
 I don't get it. HTML flows correctly to different screen sizes, unlike PDF.
HTML
 is widely portable. Where's the advantage to PDF?

For reasons that are a mystery to me, the same text on the same operating system on the same display will render much nicer as a pdf than in a browser. This is true for Windows/IE as well as Ubuntu/Firefox. It's why I gave up on using a browser to display my presentations, and now use pdf's. Projecting a browser display on a screen is cringeworthy bad.
Jul 10 2011
parent reply Jeff Nowakowski <jeff dilacero.org> writes:
On 07/10/2011 01:33 PM, Walter Bright wrote:
 For reasons that are a mystery to me, the same text on the same
 operating system on the same display will render much nicer as a pdf
 than in a browser.

 This is true for Windows/IE as well as Ubuntu/Firefox.

 It's why I gave up on using a browser to display my presentations, and
 now use pdf's. Projecting a browser display on a screen is cringeworthy
 bad.

Were you using the same fonts in the browser as the PDF? Personally, I've never had a problem reading the fonts in my browser versus PDF. What I really hate about PDF is that it doesn't flow and doesn't respect my viewing preferences -- which is fine for printed paper, but sucks for reading on a myriad of devices.
Jul 10 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 1:11 PM, Jeff Nowakowski wrote:
 Were you using the same fonts in the browser as the PDF?

I've tried many different fonts in the browser, to no avail. And as an aside, the *DEFAULT* font in a browser should display very well. It doesn't; not in IE, not in FF.
 Personally, I've never
 had a problem reading the fonts in my browser versus PDF. What I really hate
 about PDF is that it doesn't flow and doesn't respect my viewing preferences --
 which is fine for printed paper, but sucks for reading on a myriad of devices.

Sure, but I use PDF's for printing and for presentations, for which it is well suited.
Jul 10 2011
next sibling parent "Nick Sabalausky" <a a.a> writes:
"Walter Bright" <newshound2 digitalmars.com> wrote in message 
news:ivdbdp$2cg7$1 digitalmars.com...
 On 7/10/2011 1:11 PM, Jeff Nowakowski wrote:
 Were you using the same fonts in the browser as the PDF?

I've tried many different fonts in the browser, to no avail. And as an aside, the *DEFAULT* font in a browser should display very well. It doesn't; not in IE, not in FF.

Always looked fine to me...
Jul 10 2011
prev sibling parent reply Mirko Pilger <pilger cymotec.de> writes:
 I've tried many different fonts in the browser, to no avail. And as an
 aside, the *DEFAULT* font in a browser should display very well. It
 doesn't; not in IE, not in FF.

some fonts look very ugly in all browsers if you have switched off "font smoothing". eg. on windows this is the case if you have reduced or turned off all ui effects and disabled the "cleartype" subpixel rendering. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 1:22 AM, Mirko Pilger wrote:
 some fonts look very ugly in all browsers if you have switched off "font
 smoothing". eg. on windows this is the case if you have reduced or turned off
 all ui effects and disabled the "cleartype" subpixel rendering.

I've dinked around with those settings on IE and FF. Doesn't make much of any difference.
Jul 11 2011
parent reply Mirko Pilger <pilger cymotec.de> writes:
 I've dinked around with those settings on IE and FF. Doesn't make much
 of any difference.

i should have emphasized it better that i was talking about system settings. for example on windows xp you can activate "cleartype" by right clicking the desktop-> properties-> appearance-> effects-> "use the following method to smooth edges of screen fonts"-> clearType. changing these settings will also effect font rendering in browsers. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 1:51 AM, Mirko Pilger wrote:
 I've dinked around with those settings on IE and FF. Doesn't make much
 of any difference.

i should have emphasized it better that i was talking about system settings. for example on windows xp you can activate "cleartype" by right clicking the desktop-> properties-> appearance-> effects-> "use the following method to smooth edges of screen fonts"-> clearType. changing these settings will also effect font rendering in browsers.

Looking at my screen with a magnifying glass, it has no effect I can see on the browser fonts. With the larger fonts, the blockiness is quite obvious. Looking with a magnifying glass on the pdf display, and the improvement is pretty clear.
Jul 11 2011
parent reply Mirko Pilger <pilger cymotec.de> writes:
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

 Looking at my screen with a magnifying glass, it has no effect I can see
 on the browser fonts.

i've attached a png image to show how cleartype effects font rendering in google chrome on my system (windows xp professional sp3). the example site is http://www.google.com/webfonts. on the left side you see the render with cleartype turned off and on the other side it is turned on. the differences are clearly visible. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 3:15 AM, Mirko Pilger wrote:
 Looking at my screen with a magnifying glass, it has no effect I can see
 on the browser fonts.

i've attached a png image to show how cleartype effects font rendering in google chrome on my system (windows xp professional sp3). the example site is http://www.google.com/webfonts. on the left side you see the render with cleartype turned off and on the other side it is turned on. the differences are clearly visible. mirko

So you're using Chrome, not IE!
Jul 11 2011
parent Mirko Pilger <pilger cymotec.de> writes:
 So you're using Chrome, not IE!

i wanted to show you an example how rendering looks with and without cleartype and help you identify the problem. of the major browsers only safari has its own subpixel algorithm. all others based on webkit, gecko or trident engines depend on the cleartype technology for "font smoothing", whether they inherit the system display settings or overwrite them by default. mirko
Jul 11 2011
prev sibling next sibling parent reply Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2011-07-08 at 21:20 -0700, Walter Bright wrote:
[ . . . ]
 The makefile for the documentation has a build target for pdf's, but I ha=

 tried it.

Whilst e-books and tablets may be the current fashion, PDF is still the most portable document distribution format. It would be good if PDFs were made and released -- especially for those of us who do most of our coding whilst disconnected from the Internet and so not able to reach websites. (It appears that Go now assumes you have 100% connectivity to the Internet 100% of the time both for execution and development :-(
 Amazon has a kindle app for Windows which will display it, there's probab=

 for Linux too.

Apparently Amazon believe that with a Windows product and a Mac OS X product they have 100% of the universe covered. Sadly the "Linux on Desktop" community has no sway. Using Wine is supposed to work, but I can't be bothered with it. I suspect I must be in a community of 1 :-) --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 08 2011
parent "Nick Sabalausky" <a a.a> writes:
"Russel Winder" <russel russel.org.uk> wrote in message 
news:mailman.1487.1310188380.14074.digitalmars-d-announce puremagic.com...
(It appears that Go now assumes you have 100% connectivity to the
Internet 100% of the time both for execution and development :-(

About what I'd expect from the #1 company that wants to pretend the web is an operating system.
Jul 09 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, 2011-07-09 at 06:59 +0200, Jordi Sayol wrote:
[ . . . ]
 'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04

I loaded fbreader on Debian Testing and it can read the file -- not sure it is "properly" though, there seems to be a lot of formatting missing.=20 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, 2011-07-08 at 22:36 -0700, Walter Bright wrote:
[ . . . ]
 I understand, and I'll see about generating a pdf.

Thanks.
 However, although the e-readers can read pdf's, they do so very badly, be=

 pdf's are designed for 8*11.5 paper, and will not reflow the text for the=

 smaller screens.

Well PDF isn't designed for 8x11.5 per se, the page size can be anything you want, but it is fixed. (I wonder when the USA, Canada and Mexico will drop their non-standard paper sizes and use ISO standard ones. OK never, I know :-(=20
 There's gotta be an e-reader for Linux. .mobi files are a standard as far=

 can tell.

FBReader is there. Thanks Jordi for pointing this out. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, 2011-07-09 at 00:24 -0700, Walter Bright wrote:
 On 7/9/2011 12:05 AM, Andrei Alexandrescu wrote:
 I don't think the current approach to generating PDFs is good - it's es=


 using a bridge for generating PDF from HTML.

 What we need is a set of macros to generate TeX from ddoc followed by
 compilation. That will produce beautiful PDF files. I'll get to that on=


 Kindle pipeline is finished.

 BTW we can choose the page size to be different from 8.5*11, but indeed
 reflowing is not possible.

I think the pdf should be set at 8.5*11 so it will serve as the version o=

 document most suitable for printing.

In the USA, Canada and Mexico maybe. In the rest of the world A4 is the paper size to use. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
prev sibling next sibling parent Andrew Wiley <wiley.andrew.j gmail.com> writes:
--0016368e1b63ce764f04a79e8b82
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Jul 9, 2011 at 1:01 AM, Russel Winder <russel russel.org.uk> wrote:

 On Fri, 2011-07-08 at 22:36 -0700, Walter Bright wrote:
 [ . . . ]
 I understand, and I'll see about generating a pdf.

Thanks.
 However, although the e-readers can read pdf's, they do so very badly,

 pdf's are designed for 8*11.5 paper, and will not reflow the text for the
 smaller screens.

Well PDF isn't designed for 8x11.5 per se, the page size can be anything you want, but it is fixed. (I wonder when the USA, Canada and Mexico will drop their non-standard paper sizes and use ISO standard ones. OK never, I know :-(
 There's gotta be an e-reader for Linux. .mobi files are a standard as far

 can tell.

FBReader is there. Thanks Jordi for pointing this out.

I've generally used Calibre as my e-reader on Linux (and Windows), and it will most likely work as well. I'll be trying it in the near future. It can also convert nearly any format to nearly any other format. --0016368e1b63ce764f04a79e8b82 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote">On Sat, Jul 9, 2011 at 1:01 AM, Russel Winder <s= pan dir=3D"ltr">&lt;<a href=3D"mailto:russel russel.org.uk">russel russel.o= rg.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> On Fri, 2011-07-08 at 22:36 -0700, Walter Bright wrote:<br> [ . . . ]<br> <div class=3D"im">&gt; I understand, and I&#39;ll see about generating a pd= f.<br> <br> </div>Thanks.<br> <div class=3D"im"><br> &gt; However, although the e-readers can read pdf&#39;s, they do so very ba= dly, because<br> &gt; pdf&#39;s are designed for 8*11.5 paper, and will not reflow the text = for the<br> &gt; smaller screens.<br> <br> </div>Well PDF isn&#39;t designed for 8x11.5 per se, the page size can be a= nything<br> you want, but it is fixed.<br> <br> (I wonder when the USA, Canada and Mexico will drop their non-standard<br> paper sizes and use ISO standard ones. =A0OK never, I know :-(<br> <div class=3D"im"><br> &gt; There&#39;s gotta be an e-reader for Linux. .mobi files are a standard= as far as I<br> &gt; can tell.<br> <br> </div>FBReader is there. =A0Thanks Jordi for pointing this out.</blockquote=
<div><br></div><div>I&#39;ve generally used Calibre as my e-reader on Linu=

t in the near future.</div> <div>It can also convert nearly any format to nearly any other format.</div=
</div>

--0016368e1b63ce764f04a79e8b82--
Jul 09 2011
prev sibling next sibling parent Thomas Mader <thomas.mader gmail.com> writes:
--0015176f0a681794cc04a79e9d93
Content-Type: text/plain; charset=ISO-8859-1

Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(

Please tell more about this or give some references I am very interested. --0015176f0a681794cc04a79e9d93 Content-Type: text/html; charset=ISO-8859-1 <p><br> Am 09.07.2011 07:13 schrieb &quot;Russel Winder&quot; &lt;<a href="mailto:russel russel.org.uk">russel russel.org.uk</a>&gt;:<br> &gt;<br> &gt; (It appears that Go now assumes you have 100% connectivity to the<br> &gt; Internet 100% of the time both for execution and development :-(</p> <p>Please tell more about this or give some references I am very interested.</p> --0015176f0a681794cc04a79e9d93--
Jul 09 2011
prev sibling next sibling parent "Tyro[a.c.edwards]" <nospam home.com> writes:
On 7/9/2011 11:30 AM, Walter Bright wrote:
 Here's a binary of it. Try it out on your ebook reader!

 http://digitalmars.com/d/2.0/dlangspec.mobi

Awesome... But I'm using an iPad and don't plan on using the kindle software because requires me to open an account with Amazon -- Not interested. I took the liberty of converting it to ePub so I can read it on iBook. Unfortunately, I couldn't upload it because, at 390KB, it exceeds the size limits allowed to be posted on the newsgroup.
Jul 09 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thomas,

On Sat, 2011-07-09 at 10:19 +0200, Thomas Mader wrote:
=20
 Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(

Please tell more about this or give some references I am very interested.

Hummm... it was incorrect of me to say this was true for execution, as all Go executables are statically linked. Therefore they only require the Internet if the application make use of it. Development, and particularly compilation, is a different matter. The introduction of the ability to import from a non-local Git, Mercurial or Bazaar repository embeds the assumption of permanent connectivity of the developer's machine to the Internet. This is not in the Go language specification just now as far as I know, but is an extension in goinstall, which is purported to be becoming part of the Go specification. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 10 2011
prev sibling parent Thomas Mader <thomas.mader gmail.com> writes:
--0015176f02aa0c372e04a7b3e12c
Content-Type: text/plain; charset=ISO-8859-1

Thanks for explaining this, Russel.
For me this looks like a nice feature even though i realize that it can and
will be frustrating if people use it the wrong way.
I can imagine that it is helpful for importing different tags or branches of
something for testing purposes and the like. But only for temporary use,
when this is used for a release version of a program than I see it
definitely negative.

Thomas
Am 10.07.2011 10:03 schrieb "Russel Winder" <russel russel.org.uk>:
 Thomas,

 On Sat, 2011-07-09 at 10:19 +0200, Thomas Mader wrote:
 Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(

Please tell more about this or give some references I am very interested.

Hummm... it was incorrect of me to say this was true for execution, as all Go executables are statically linked. Therefore they only require the Internet if the application make use of it. Development, and particularly compilation, is a different matter. The introduction of the ability to import from a non-local Git, Mercurial or Bazaar repository embeds the assumption of permanent connectivity of the developer's machine to the Internet. This is not in the Go language specification just now as far as I know, but is an extension in goinstall, which is purported to be becoming part of the Go specification. -- Russel.

 Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.net
 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk
 London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder

--0015176f02aa0c372e04a7b3e12c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p>Thanks for explaining this, Russel.<br> For me this looks like a nice feature even though i realize that it can and= will be frustrating if people use it the wrong way.<br> I can imagine that it is helpful for importing different tags or branches o= f something for testing purposes and the like. But only for temporary use, = when this is used for a release version of a program than I see it definite= ly negative.</p> <p>Thomas</p> <div class=3D"gmail_quote">Am 10.07.2011 10:03 schrieb &quot;Russel Winder&= quot; &lt;<a href=3D"mailto:russel russel.org.uk">russel russel.org.uk</a>&= gt;:<br type=3D"attribution">&gt; Thomas,<br>&gt; <br>&gt; On Sat, 2011-07-= 09 at 10:19 +0200, Thomas Mader wrote:<br> &gt;&gt; <br>&gt;&gt; Am 09.07.2011 07:13 schrieb &quot;Russel Winder&quot;= &lt;<a href=3D"mailto:russel russel.org.uk">russel russel.org.uk</a>&gt;:<= br>&gt;&gt; &gt;<br>&gt;&gt; &gt; (It appears that Go now assumes you have = 100% connectivity to the<br> &gt;&gt; &gt; Internet 100% of the time both for execution and development = :-(<br>&gt;&gt; <br>&gt;&gt; Please tell more about this or give some refer= ences I am very<br>&gt;&gt; interested.<br>&gt; <br>&gt; Hummm... it was i= ncorrect of me to say this was true for execution, as<br> &gt; all Go executables are statically linked. Therefore they only require= <br>&gt; the Internet if the application make use of it.<br>&gt; <br>&gt; D= evelopment, and particularly compilation, is a different matter. The<br> &gt; introduction of the ability to import from a non-local Git, Mercurial = or<br>&gt; Bazaar repository embeds the assumption of permanent connectivit= y of the<br>&gt; developer&#39;s machine to the Internet. This is not in = the Go language<br> &gt; specification just now as far as I know, but is an extension in<br>&gt= ; goinstall, which is purported to be becoming part of the Go<br>&gt; speci= fication.<br>&gt; <br>&gt; -- <br>&gt; Russel.<br>&gt; =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> &gt; Dr Russel Winder t: +44 20 7585 2200 voip: <a href=3D"mailto:si= p%3Arussel.winder ekiga.net">sip:russel.winder ekiga.net</a><br>&gt; 41 Buc= kmaster Road m: +44 7770 465 077 xmpp: <a href=3D"mailto:russel russel= .org.uk">russel russel.org.uk</a><br> &gt; London SW11 1EN, UK w: <a href=3D"http://www.russel.org.uk">www.russ= el.org.uk</a> skype: russel_winder<br></div> --0015176f02aa0c372e04a7b3e12c--
Jul 10 2011
prev sibling next sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's prob=

=20

'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04 Best regards, --=20 Jordi Sayol
Jul 08 2011
prev sibling next sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Al 09/07/11 07:12, En/na Russel Winder ha escrit:
=20
 I suspect I must be in a community of 1 :-)
=20

=2E..a community of 2... at least :-) --=20 Jordi Sayol
Jul 08 2011
prev sibling next sibling parent Thomas Mader <thomas.mader gmail.com> writes:
--00151773e73a1745cc04a79e7902
Content-Type: text/plain; charset=ISO-8859-1

Very nice!
Maybe it is also possible that you create an epub. It is the most widley
used ebook format and it seems to be possible to genarate the kindle format
out of it.
See: http://en.wikipedia.org/wiki/Comparison_of_e-book_formats#IDPF.2FEPUB

I would go for epub since it is the most widley used format out there.
Am 09.07.2011 04:35 schrieb "Walter Bright" <newshound2 digitalmars.com>:
 Here's a binary of it. Try it out on your ebook reader!

 http://digitalmars.com/d/2.0/dlangspec.mobi

--00151773e73a1745cc04a79e7902 Content-Type: text/html; charset=ISO-8859-1 <p>Very nice!<br> Maybe it is also possible that you create an epub. It is the most widley used ebook format and it seems to be possible to genarate the kindle format out of it.<br> See: <a href="http://en.wikipedia.org/wiki/Comparison_of_e-book_formats#IDPF.2FEPUB">http://en.wikipedia.org/wiki/Comparison_of_e-book_formats#IDPF.2FEPUB</a></p> <p>I would go for epub since it is the most widley used format out there.</p> <div class="gmail_quote">Am 09.07.2011 04:35 schrieb &quot;Walter Bright&quot; &lt;<a href="mailto:newshound2 digitalmars.com">newshound2 digital ars.com</a>&gt;:<br type="attribution">&gt; Here&#39;s a binary of it. Try it out on your ebook reader!<br> &gt; <br>&gt; <a href="http://digitalmars.com/d/2.0/dlangspec.mobi">http://digitalmars.com/d/2.0/dlangspec.mobi</a><br></div> --00151773e73a1745cc04a79e7902--
Jul 09 2011
prev sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Al 09/07/11 09:55, En/na Russel Winder ha escrit:
 I loaded fbreader on Debian Testing and it can read the file -- not sur=

 it is "properly" though, there seems to be a lot of formatting missing.=

You're right. Many format messing wen open with fbreader. As Andrew Wiley said, "calibre"'s viewer properly open "dlangspec.mobi" w= ith all it's format, in GNU/Linux. Regards, --=20 Jordi Sayol
Jul 09 2011