##// END OF EJS Templates
Add two new commands to ibrowse:...
Add two new commands to ibrowse: "refresh" (mapped to "r") refreshes the screen by restarting the iterator. "refreshfind" (mapped to "R") does the same but tries to go back to the same object the cursor was on before the refresh. The command "markrange" is mapped to "%" now.

File last commit:

r158:e5c7ade6
r471:a2ce3c1c
Show More
update_manual.py
28 lines | 528 B | text/x-python | PythonLexer
/ doc / update_manual.py
vivainio
Added instructions on building the documentation...
r102 #!/usr/bin/env ipython
vivainio
Added Jorgen Stenarson's update_manual.py to enable updating manuals in...
r97 """ Must be launched via ipython not normal python
vivainio
Added instructions on building the documentation...
r102 Run by:
ipython update_manual.py
vivainio
Added Jorgen Stenarson's update_manual.py to enable updating manuals in...
r97 """
import sys,IPython,re
fil=open("magic.tex","w")
oldout=sys.stdout
sys.stdout=fil
vivainio
-Expose IPApi is _ip in user namespace....
r158 _ip.magic("magic -latex")
vivainio
Added Jorgen Stenarson's update_manual.py to enable updating manuals in...
r97 sys.stdout=oldout
fil.close()
fil=open("manual_base.lyx")
txt=fil.read()
fil.close()
manualtext=re.sub("__version__",IPython.__version__,txt)
fil=open("manual.lyx","w")
fil.write(manualtext)
fil.close()
vivainio
Added instructions on building the documentation...
r102 print "Manual (magic.tex, manual.lyx) succesfully updated, exiting..."
import os
os.abort()