Re: [Emacs-vr-mode-users] functions for latex/auxtex/reftex?
Brought to you by:
grifgrif
From: Patrik J. <pa...@uc...> - 2005-11-19 22:48:38
|
Hi Jeff, First off, if you are going to be writing Latex, I would really encourage you to check out NaturalLatex by David Fox (http://cfa-www.harvard.edu/~dcfox/dragon/natlatex.html). It's a perl script that translates a text-like pseudo-latex to actual-latex. This has the benefit that you avoid most cases of having to dictate backslashes and unpronouncable commands. I used it for my phd thesis and subsequent papers and I think it's great. Regarding your actual question (;-), I'm not entirely sure what you are trying to do. The commands possible in vr-mode are limited to simple mappings of commands to lisp functions. It has no functionality for turning commands on or off depending on the mode etc, so I only use vr-mode for commands that are in some sense global, like navigation. There is something called "emacs voice commander" which created dvc files from all emacs commands and enables them depending on which mode you're in. Maybe you can check that out? I also remember there being some issue with the command list, I suggest you try putting your commands directly into vr.el and see if it works then. Hope that helps, let me know if you're still having rpoblems. /Patrik oh, one final thing. if you are using 21.1, i believe there was badness between it and vr mode. If you have problems, like timeout messages in the vr-mode or something about a bad message length, try upgrading to 21.3. Jeff D. Hamann wrote: > all knowing vr-moders: > > I'm very new to using emacs-vr mode (and loving it) and want to start > hooking up some standard latex functions I need for editing papers. I've > seen some of the latex hooks for the EmacsListen stuff (emacslisten > didn't seem to work so hot) and would like to have a set of similar > functions (citep, \ref{fig:xxxx}) type stuff. My config looks like, > > ;; from the vr readme.txt file > (add-to-list 'load-path (substitute-in-file-name > "/emacs-21.1/site-lisp/vr")) > (autoload 'vr-mode "/emacs-21.1/site-lisp/vr/vr" "" t nil) > (setq vr-command "/emacs-21.1/site-lisp/vr/vr.exe") > (setq vr-win-class "Windows class name") > (setq vr-win-title "Window title") > (setq vr-voice-command-list '(vr-default-voice-command-list)) ;add the > commands to the list > (setq-default abbrev-mode t) > (load "abbrev-cmds") > > ; move down 1-3 lines -- example > (setq vr-voice-command-list > '((list "1to3" "1 2 3") > ("move down <1to3>" . next-line))) > > ;; try to add some reftex bindings. > ;; C-c = `reftex-toc' > ;; C-c ( `reftex-label' > ;; C-c ) `reftex-reference' > ;; C-c [ `reftex-citation' > ;; C-c & `reftex-view-crossref' > ;; S-mouse-2 `reftex-mouse-view-crossref' > ;; this isn't working very well for me... ugh... > ;; (setq vr-voice-command-list > ;; '(vr-default-voice-command-list > ;; C-c [ > ;; ("ref tak". "C-c [" ) ) ) > > since i'm such a dufus with lisp in emacs, i was wondering if there's > anybody could get me started... I'm pretty well versed, but just need a > little help. For example, I would like to be able to automate the command > > C-c [- > then say the letter i would like to use "pee", "tee", etc. > and then enter (by voice command) into the minibuffer for the search > phrase I want to search on in the bib file, > "site index" > once i get that far, i would use the keyboard to select the references i > want. > > Of course, I would be greatly appreciative to simple get to the C-c [- > part by simply saying "ref-pee" or "ref-tee" > > any ideas? > > Thanks, > Jeff. > > --- > Jeff D. Hamann > Forest Informatics, Inc. > PO Box 1421 > Corvallis, Oregon USA 97339-1421 > 541-754-1428 > jef...@fo... > www.forestinformatics.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > Emacs-vr-mode-users mailing list > Ema...@li... > https://lists.sourceforge.net/lists/listinfo/emacs-vr-mode-users > > !DSPAM:437ced4216371154976196! > |