View mode: basic / threaded / horizontal-split · Log in · Help
February 02, 2013
Re: PDF spec
On 2013-02-02 17:22, Andrei Alexandrescu wrote:

> Made one more big pass through everything and now as far as I can tell
> the generated PDF has no major errors:

The links in the Table of Contents still doesn't work. I'm using Preview 
on Mac OS X.

-- 
/Jacob Carlborg
February 02, 2013
Re: PDF spec
On 2/2/13 11:54 AM, Jacob Carlborg wrote:
> On 2013-02-02 17:22, Andrei Alexandrescu wrote:
>
>> Made one more big pass through everything and now as far as I can tell
>> the generated PDF has no major errors:
>
> The links in the Table of Contents still doesn't work. I'm using Preview
> on Mac OS X.

Thanks. Links remain an unresolved problem for now.

Andrei
February 02, 2013
Re: PDF spec
On 2013-02-02 17:57, Andrei Alexandrescu wrote:
> Links remain an unresolved problem for now.

Might as well leave the internal links black for now.
Overall great improvement!
A much smaller number of page overflows than before.

Only thing bothering me are table captions left on the
previous page, while table body is on the next page.
Perhaps add more stretchable glue before captions?
February 02, 2013
Re: PDF spec
Al 01/02/13 01:27, En/na kiskami ha escrit:
> On Thursday, 31 January 2013 at 22:54:58 UTC, Jordi Sayol wrote:
>> New chm with the typography of the "Language Reference" on the home page.
>> http://d-packages.googlecode.com/files/dlangspec-2.chm
> 
> \o/
> Ripping! :)
> 

New CHM release
http://d-packages.googlecode.com/files/dlangspec.chm

-- 
Jordi Sayol
February 02, 2013
Re: PDF spec
On 2/2/13 12:21 PM, FG wrote:
> On 2013-02-02 17:57, Andrei Alexandrescu wrote:
>> Links remain an unresolved problem for now.
>
> Might as well leave the internal links black for now.
> Overall great improvement!
> A much smaller number of page overflows than before.
>
> Only thing bothering me are table captions left on the
> previous page, while table body is on the next page.
> Perhaps add more stretchable glue before captions?

Yah, not sure how I can fix that.

Anyhow this thing with non-float tables and captions above them is a bit 
odd. I'm thinking of simply making all large tables longtable, and all 
short table floats. Then the caption would be part of the LaTeX table 
caption, which automatically solves the problem.

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
February 02, 2013
Re: PDF spec
On Saturday, 2 February 2013 at 16:22:41 UTC, Andrei Alexandrescu 
wrote:
> 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

On page 11 the character '~' isn't displayed on the sentence:

"Adjacent strings are concatenated with the ~ operator, or by 
simple juxtaposition"
February 02, 2013
Re: PDF spec
On Saturday, 2 February 2013 at 19:44:20 UTC, Jordi Sayol wrote:
> Al 01/02/13 01:27, En/na kiskami ha escrit:
>> On Thursday, 31 January 2013 at 22:54:58 UTC, Jordi Sayol 
>> wrote:
>>> New chm with the typography of the "Language Reference" on 
>>> the home page.
>>> http://d-packages.googlecode.com/files/dlangspec-2.chm
>> 
>> \o/
>> Ripping! :)
>> 
>
> New CHM release
> http://d-packages.googlecode.com/files/dlangspec.chm

It's completely empty for me. Not a single page is showing.
February 02, 2013
Re: PDF spec
Al 02/02/13 23:49, En/na SomeDude ha escrit:
> On Saturday, 2 February 2013 at 19:44:20 UTC, Jordi Sayol wrote:
>> Al 01/02/13 01:27, En/na kiskami ha escrit:
>>> On Thursday, 31 January 2013 at 22:54:58 UTC, Jordi Sayol wrote:
>>>> New chm with the typography of the "Language Reference" on the home page.
>>>> http://d-packages.googlecode.com/files/dlangspec-2.chm
>>>
>>> \o/
>>> Ripping! :)
>>>
>>
>> New CHM release
>> http://d-packages.googlecode.com/files/dlangspec.chm
> 
> It's completely empty for me. Not a single page is showing.
> 

No problem in w2k:
http://postimage.org/image/3ncruo83v/
and wXP:
http://postimage.org/image/628ddmczp/

-- 
Jordi Sayol
February 02, 2013
Re: PDF spec
On Saturday, 2 February 2013 at 23:38:54 UTC, Jordi Sayol wrote:
> No problem in w2k:
> http://postimage.org/image/3ncruo83v/
> and wXP:
> http://postimage.org/image/628ddmczp/

Working on Win7 64bit too.
February 03, 2013
Re: PDF spec
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

-- 
/Jacob Carlborg
1 2 3 4 5
Top | Discussion index | About this forum | D home