Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: repetitive latex doc: in vim or perl?

by repellent (Priest)
on Jul 18, 2008 at 00:52 UTC ( [id://698488]=note: print w/replies, xml ) Need Help??


in reply to repetitive latex doc: in vim or perl?

Vim is powerful when you need to script positional-editing actions (wrt the Vim cursor/lines/window, etc.) Couple that with the capability to record & repeat keystrokes and you quickly eliminate edit repetitions.

You can shell out Perl to perform the job of returning the LaTeX markup text, while you have Vim insert the text with a user command or key map. Then, you can figure out where in your document you wish to place the image commentaries and tell Vim the lines you wish to act on, in one swoop.
  • Comment on Re: repetitive latex doc: in vim or perl?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://698488]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2026-04-23 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.