Re: [racket-users] scribble section as link

2017-03-05 Thread Matthew Flatt
I think we'll need to add something to make this work. Maybe the simplest addition would be a style property on a part that means "when rendering my label as a reference, don't make it a hyperlink". Then, any hyperlinks in the label content would be preserved in a reference to the section,

Re: [racket-users] scribble section as link

2017-03-04 Thread Stephen Chang
Ah, I understand now. I remember trying to do this as well but I'm not sure it's possible. I just tried manually playing around a bit with scribble structs but couldnt figure it out. Best I could do was redirecting a seclink, or changing the toc contents of an element. But there doesnt seem to

Re: [racket-users] scribble section as link

2017-03-04 Thread David Van Horn
The latex analogy of what I'd like is something like: \addcontentsline{toc}{section}{\href{google.com}{The Google}} On Sat, Mar 4, 2017 at 2:30 PM, David Van Horn wrote: > Thanks, this does make the section heading a link, but in the table of > contents or in the left hand

Re: [racket-users] scribble section as link

2017-03-04 Thread David Van Horn
Thanks, this does make the section heading a link, but in the table of contents or in the left hand navigation bar, the link is to the (empty) section, not the URL. What I'd like is for the navigation links to go to the URL. David On Sat, Mar 4, 2017 at 2:06 PM, Stephen Chang

Re: [racket-users] scribble section as link

2017-03-04 Thread Stephen Chang
Does `hyperlink` do what you want? eg @section{@hyperlink["http://google.com"]{The Google}} On Sat, Mar 4, 2017 at 1:49 PM, David Van Horn wrote: > I'm using scribble to make a web page and I'd like a section-like > heading that is just a link to an external URL, but I

[racket-users] scribble section as link

2017-03-04 Thread David Van Horn
I'm using scribble to make a web page and I'd like a section-like heading that is just a link to an external URL, but I don't see how to do this. Is it possible? David -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this