Re: Complete Re: adding pdf hyperlink support
2011-07-01 09:38:10 GMT
And I changed my preview command to: bash -c ' ps2pdf "$0" "$0.pdf" && evince "$0.pdf" ' which happens to also demonstrate a nice bash trick - useful to prevent injection attacks when using the "system" command - particularly useful from java... You build up the command using parameters $0 $1 etc, and then pass these as arguments to the system command. Any quotes or spaces in the arguments are harmless! Sam On 01/07/11 10:20, Sam Liddicott wrote: > Attached is a patch that provides hyperlink support when the file is > exported to ps and then converted to pdf using ps2pdf. > > No external style sheets are needed. > > After patching and re-building you WILL need to: > > texmacs --delete-style-cache > > once, or within texmacs click on "tools, updates, styles" > > The only problem I am aware of is that the link generally moves to the > top of the target page (or bottom, if it is the last page) instead of > the correct part of the target page.(Continue reading)



RSS Feed