dlangspec.pdf?

Jordi Sayol g.sayol at yahoo.es
Tue Jan 8 02:27:58 PST 2013


Al 07/01/13 20:19, En/na Andrei Alexandrescu ha escrit:
> On 1/7/13 10:23 AM, Andrei Alexandrescu wrote:
>> On 1/7/13 9:30 AM, H. S. Teoh wrote:
>>> On Mon, Jan 07, 2013 at 02:35:09AM -0500, Andrei Alexandrescu wrote:
>>>> ??? I already have something in progress.
>>> [...]
>>>
>>> Curious ears want to hear what that something is. :-)
>>
>> A set of ddoc macros that convert to LaTeX starting from Philippe's
>> macros. The one systemic issue I encountered so far is tables, which in
>> LaTeX must set the number of columns in advance.
>>
>> Andrei
> 
> Heh, here's the first thing that I actually got to compile error-free from spec.dd and lex.dd: http://erdani.com/d/dlangspec.pdf. Had to fudge a few macros and some stuff doesn't expand to what it should, but from here the path is relatively easy.
> 
> Andrei
> 

"dlangspec" in Electronic Publication (epub) e-book file format, generated with "calibre".

$ ebook-convert dlangspec.html .epub \
	--authors "dlang.org" \
	--comments "The specification of the D programming language" \
	--language en \
	--level1-toc "//h:h1" \
	--level2-toc "//*[name()='h2' or name()='h3']" \
	--level3-toc "//h:h4" \
	--page-breaks-before / \
	--cover dlangspec.png

EPUB example built on Linux 64-bit with calibre v0.3.38:
http://d-packages.googlecode.com/files/dlangspec.epub

-- 
Jordi Sayol


More information about the Digitalmars-d mailing list