* Rasmus Pank Roulund (2009-09-27) writes: >> > Frankly, direct Synctex-support for specific viewers has /not/ >> > seemed like the scope of AUCTeX so far. >> Why do you think so? > Because you need scripts for forward search. Inverse search in done on > the editor side.
You don't seem to be aware that we are talking about Emacs. With Emacs Lisp it provides a "scripting language". >>In case you are talking about forward search, you can advise >> e.g. Evince to open a certain page by providing a command line option. > Yeah. This is not synctex. xpdf does this to. Either you are joking or you don't know what you are talking about. The script you advertised does exactly that, i.e. it calls evince with command line options for the page to be shown and a rectangle to be highlighted. > > Probably because Evince did not support this kind of highlighting at > > the time I implemented the SyncTeX parser. > > But it should not be hard to add > Okay. This would also benefit Sumatra pdf and maybe skim. Correction: I wrote the parser for pdfsync. For SyncTeX we simply call the synctex binary which makes the addition of support for highlighting even easier. > > But if Evince opens the right page, then SyncTeX support in AUCTeX is > > working, contrary to what you claimed before. > I don't believe I have stated that SyncTeX support in AUCTeX is not > working. You wrote that you were "not able to get it to work properly." > However going to the right page is not comparable to > highlighting the correct line or even word. I am sure we can agree on > that. Highlighting the correct line might be more fine-grained help, but getting to the right page is useful even without it. > On other platforms AUCTeX has needed scripts to archive 'full' > forward search. Which platforms? Which scripts? For example, AUCTeX has been supporting forward search with source specials on Windows for a long time (with DVI output, obviously). And I guess pdfsync works on Windows as well. > Now, finally(!), an independent viewer (unlike Texworks > (excellent) viewer) has emerged for Linux. Are you suggesting there were no viewers for DVI or PDF output on GNU/Linux before Evince? > Not only has an viewer > emerged; somebody even took the time to write and share a script for > AUCTeX that utilize provides `full' forward search. Yes, instead of contributing to AUCTeX which would have made it possible to support SyncTeX transparently and out of the box. > This approach is > identical to the one used on other platforms. IMHO this is good. No, it isn't, because it makes the setup of a TeX environment with AUCTeX more cumbersome for the user. > Everybody would be better off with `full' support build-in, but then > again this is shaky ground. Why? -- Ralf _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
