July 08, 2011 D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
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. |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Here's a binary of it. Try it out on your ebook reader! http://digitalmars.com/d/2.0/dlangspec.mobi |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| 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! > > 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. -- 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 |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | 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.
|
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| 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 Best regards, -- Jordi Sayol |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright Attachments:
| 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 haven't 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 probably one 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 :-) -- 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 |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | 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. |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jordi Sayol | 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?
|
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Attachments:
| Al 09/07/11 07:12, En/na Russel Winder ha escrit: > > I suspect I must be in a community of 1 :-) > ...a community of 2... at least :-) -- Jordi Sayol |
July 09, 2011 Re: D programming language specification ebook | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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
|
Copyright © 1999-2021 by the D Language Foundation