On 15/07/11 08:15, Sam Liddicott wrote:


Simple obvious changes to add http external links to the PDF don't work.

Examination shows that <hlink|bbc|http://www.bbc.co.uk> is managed as a bridge_locus_rep instead of a locus_box_rep so I've got to track how the bridge_locus_rep is typeset by printer.cpp.

I don't know the purpose of distinction of bridge_locus_rep

If anyone knows the purpose or meaning or "bridge" please speak out.

So I think in bridge_locus_rep::my_typeset I will add the link target (which I get from my modified build_locus) to the typesetter ttt similarly to how env is given the link colour.

Then the typesetter will know to have the renderer decorate every rect it generates with a pdfmark.

I still can't work out why a hlink locus is rendered with such a different code path to a reference locus.

Sam

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to