[OS X TeX] teashop sync
garleanu at haas.berkeley.edu
Sun Jun 3 18:17:26 EDT 2012
All my questions were motivated by syncing latex code with the pdf output; double-click in pdf at some point, and the cursor moves to (approximately) the corresponding point in the tex file. Conversely, given the cursor position in the tex file, use a key combination to move to the corresponding location in the pdf file.
From: Herbert Schulz <herbs at wideopenwest.com<mailto:herbs at wideopenwest.com>>
Reply-To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu<mailto:macosx-tex at email.esm.psu.edu>>
Subject: Re: [OS X TeX] teashop sync
On Jun 3, 2012, at 4:05 PM, Nicolae Garleanu wrote:
> Thanks, Dick. I actually knew about that. I have two reactions; I'd also like to reiterate one of my original questions.
> First of all, I asked the wrong question (too excited to finally find a mailing list for texshop?). What I really want to know is whether I can assign a key binding to syncing — so as not to have to use the mouse at all.
> Second — and you might find this trivial — right-clicking, then moving cursor down, then selecting — is less convenient than double-clicking (which I would like to do for inverse search). I take it that it is not possible.
I assume you want to select text in your source document. Basically by marking a beginning and an end using the cursor.
It is possible to extend your Keyboard commands to do that. If you download and install (information comes with the files) KeyBindings.zip there will be a set of new commands. Move the cursor to where you wish the beginning of the selection and Press Ctl-X Space (that is Ctl-X and then, separately, Space) which places an invisible marker at the position of the cursor. Then move the cursor to where you wish to end the selection and press Ctl-X Ctl-M (separately, ditto) and the text in between will be selected. Oh... these commands will work in all applications that use Apple's Text Framework; e.g., Mail and TextEdit. You can download KeyBindings.zip from <https://dl.dropbox.com/u/10932738/index.html>.
There are lots of things that can be done this way.
> Finally, how does one modify the typesetting script to also perform syncing? I know too little about the implementation to comment. I should say, however, that I have moved to a only Mac recently, after having used Winedt (on Windows, of course) for several years. In Winedt, for any command I can run with the mouse or from a button, I can also find the actual macro call, which I can then copy in an existing macro, such as typeset, which pretty much does the trick. (One can also assign key bindings to anything I can run otherwise.)
Now I'm not sure what you are asking for. Synching between what and what?
(herbs at wideopenwest dot com)
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MacOSX-TeX