[NTG-context] bib module and hypehnation

Hans Hagen pragma at wxs.nl
Mon Jul 28 22:29:43 CEST 2008


Aditya Mahajan wrote:
> On Mon, 28 Jul 2008, Taco Hoekwater wrote:
> 
>> Aditya Mahajan wrote:
>>> I think that the trouble is due to interaction. If I switch off
>>> interaction, I get complelely different linebreaks, but no troubles with
>>> margin.
>> Ah, yes. The \cite basically expands into \goto{<authornames>}[ref],
>> and context does not hyphenate the word(s) in the braced argument of
>> \goto. Sorry, looks like you are stuck.
> 
> Thanks for confirming this. For this project, I will go without 
> interaction since the output must look good on print.
> 
> Any particular reason why \goto does not break the link across lines? I 
> thought that PS could not handle links split across multiple lines while 
> PDF could. Is it just because \goto was implement loooong time back?

goto breaks but does not hyphenate ...

- indeed it dates from the multiple backend time
- also, this gives us more control over proper clickable areas
- it'a also related to more complex nnotations (chained, inheritance etc)

in mkiv i might reimplement this at some point using attributes

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list