Hello,
I have been trying to get SyncTeX to work with ConTeXt and Zathura, but nothing
seems to work.

I created a simple `hello.mklx` file and ran `context --synctex=-1 hello.mklx`. Then I launched Zathura with `zathura -x "nvr -cc \"call vimtex#view#reverse_goto(%{line}, '%{input}')\" --nostart" hello.pdf`.
When I clicked "Hello, world!" while holding a control key it printed the
following error to console:

```
(org.pwmt.zathura:80241): GLib-CRITICAL **: 15:49:12.359: g_variant_new_string: assertion 'string != NULL' failed
warning: Failed to obtain data via SyncTeX or data is incomplete.
```

I am attaching the `hello.mklx`, `hello.pdf` files and the generated `hello.synctex` file. I am getting the same result with `--synctex=1`.

Regards,
Cezary Drożak

Attachment: hello.pdf
Description: Adobe PDF document

SyncTeX Version:1
Output:pdf
Magnification:1000
Unit:1
X Offset:0
Y Offset:0
Content:
!86
{1
[0,0:0,0:0,0,0
v0,0:0,55380990:39158276,55380990,0
]
!60
}1
!7
Postamble:
Count:2
!22
Post scriptum:
\starttext
Hello, world!
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to