[racket] Scribble secref unlinked in PDF output

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Dec 4 21:22:49 EST 2013

Yes, it's about the same, where it's just a matter of adjusting the
\FigureRef Latex macro.

I've pushed the change.

At Thu, 5 Dec 2013 01:50:53 +0000, Tim Jervis wrote:
> Dear Matthew,
> 
> Is there a similarly easy change to tweak the Figure package to do the same 
> thing for references to figures?
> 
> I've started to hack away but I have not got to the bottom of decoding the 
> link mechanism.
> 
> Kind regards,
> 
> 
> 
> Tim
> 
> On 3 Nov 2013, at 17:11, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> 
> > I've change Scribble to hyperlink section references by default in
> > LaTeX/PDF output.
> > 
> > The change turned out to be easy, due to improvements back in July that
> > deliver a LaTeX-level label to macros that render section links (when
> > the referenced section is within the same document).
> > 
> > At Wed, 23 Oct 2013 23:02:27 +0100, Tim Jervis wrote:
> >> Dear Racket Users,
> >> 
> >> I have been writing a document in Scribble, without output to PDF. The 
> table 
> >> of contents of the PDF nicely links the entries in the table to the 
> sections 
> >> in the document, so that when viewing the PDF on screen rather than paper, 
> one 
> >> can click or tap on a line in the table of contents to quickly navigate to 
> the 
> >> relevant section. Unfortunately, if I add a secref element in the body of 
> the 
> >> document, it is not rendered in the same way and the secref elements are 
> not 
> >> clickable on screen.
> >> 
> >> My investigation into this so far has revealed to me that the table of 
> >> contents linking appears to be handled with the LaTeX Hyperref package, and 
> is 
> >> taken out of Scribble's hands.
> >> 
> >> For HTML output, Scribble seems able to render links just fine. I wonder if 
> >> Scribble has been written without the notion that PDF output might be 
> viewed 
> >> on screen, so the link elements have been neglected.
> >> 
> >> In any event, is there a way to render a PDF with "live" secref links, to 
> give 
> >> similar functionality to the table of contents?
> >> 
> >> Kind regards,
> >> 
> >> 
> >> 
> >> Tim
> >> 
> >> Tim Jervis
> >> 
> >> http://timjervis.com/
> >> 
> >> ____________________
> >>  Racket Users list:
> >>  http://lists.racket-lang.org/users
> 
> 
> 
> Tim Jervis
> 
> http://timjervis.com/

Posted on the users mailing list.