February 03, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 2013-02-03 13:09, Jacob Carlborg wrote: > On 2013-02-02 17:57, Andrei Alexandrescu wrote: > >> Thanks. Links remain an unresolved problem for now. > > Compiling this using TextMate gives a lot of warnings about undefined > hyper references, example: > > LaTeX Warning: Hyper reference `pointers' on page 133 undefined on input > line 7715. > > I have used \nameref and \label successfully. Here's a diff where one > item in the Table of Contents is replaced with nameref: > > --- dlangspec_orig.tex 2013-02-03 12:52:01.000000000 +0100 > +++ dlangspec.tex 2013-02-03 12:53:37.000000000 +0100 > @@ -108,7 +108,7 @@ > \setlength{\parskip}{0pt} > \setlength{\parsep}{0pt} > \item \hyperlink{intro}{Introduction} > - \item \hyperlink{lex}{Lexical} > + \item \nameref{chap:lexical} > \item \hyperlink{module}{Modules} > \item \hyperlink{declaration}{Declarations} > \item \hyperlink{type}{Types} > @@ -154,6 +154,7 @@ > > \clearpage > \chapter{Lexical} > +\label{chap:lexical} > The lexical analysis is independent of the syntax parsing and the > semantic analysis. The lexical analyzer splits the source text up > into > tokens. The lexical grammar describes what those tokens are. The > Also, remember that you need to recompile it a couple of times to get correct references. -- /Jacob Carlborg |
February 03, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Andrei Alexandrescu wrote: > On 1/24/13 1:26 AM, Andrei Alexandrescu wrote: >> There's quite a bit of work left to do, but the PDF spec already has 386 pages of goodness and starts to look seriously cool. Take a peek! >> >> http://dlang.org/dlangspec.pdf >> >> (still subject to http://d.puremagic.com/issues/show_bug.cgi?id=9369, so don't mind the absent underscores here and there) >> >> >> Andrei > > Made one more big pass through everything and now as far as I can tell the generated PDF has no major errors: > > http://dlang.org/dlangspec.pdf > > Take a look! > > > Andrei Very good, Andrei! Although I think a more formal (and more boring) specification of the D language, a-la C++ specification, would also be welcome. Especially among language designers and people interested in compilers and interpreters and similar topics. Kind regards -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org |
February 03, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dejan Lekic | On 2/3/2013 11:47 AM, Dejan Lekic wrote:
> Although I think a more formal (and more boring) specification of the D
> language, a-la C++ specification, would also be welcome. Especially among
> language designers and people interested in compilers and interpreters and
> similar topics.
Pull requests on the doc are welcome!
|
February 04, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: > On 2/3/2013 11:47 AM, Dejan Lekic wrote: >> Although I think a more formal (and more boring) specification of the D language, a-la C++ specification, would also be welcome. Especially among language designers and people interested in compilers and interpreters and similar topics. > > Pull requests on the doc are welcome! I would gladly help with that if we sit down, and outline the structure of that document. DPL team should do this, and we, the minions, should help with the rest. :) -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org |
February 04, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dejan Lekic | On 2/4/2013 11:21 AM, Dejan Lekic wrote:
> I would gladly help with that if we sit down, and outline the structure of that
> document. DPL team should do this, and we, the minions, should help with the
> rest. :)
All you have to do to get on the "DPL team" is get involved. These groups are self-selected!
|
February 06, 2013 Re: PDF spec | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 03.02.2013 07:24, Andrei Alexandrescu wrote: > > If anyone wants to take a look at the TeX source, I uploaded it to > http://erdani.com/d/dlangspec.tex. I'm stuck in particular on internal > references. > > > Andrei I had a quick look, I think you are using the wrong commands. There's a nice summary of hyperref commands here: http://en.wikibooks.org/wiki/LaTeX/Hyperlinks#.5Chyperref If I had more time I'd fix it myself :( -- Marco Nembrini |
Copyright © 1999-2021 by the D Language Foundation