Re: go to specific page number



On 2009-04-23, Nickolay V. Shmyrev <nshmyrev yandex ru> wrote:
>
> We have the following patch in our bugzilla:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=3D543503
>

Thanks!  This has most of the functionality I was going to hack...
I've cleaned up the patch a bit to

  * Apply to current SVN trunk.
  * Use g_snprintf instead of sprintf to prevent possible buffer overflow.
  * Use GFile APIs to get file path / directory.  Use the directory as
    the working directory when invoking synctex.
  * Don't hardcode editor to invoke.  Let synctex use the environment variable
    SYNCTEX_EDITOR.

and uploaded to the bug page.

-Yozo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]