# Vim folding commands

## Using folds in Vim

Folds are useful when having long files to have a good perspective on its structure. Especially useful in LaTeX mode.

To install, I recommend using the python-mode described in http://unlogic.co.uk/2013/02/08/vim-as-a-python-ide/

# updating to mactex (texlive for mac), version 2013

• mactex is not there yet, but pre-relaeses are.

# Make PDF files searchable and copyable

• The cmap package is intended to make the PDF files generated by pdflatex "searchable and copyable" in acrobat reader and other compliant PDF viewers.

# transition from movie15.sty to media9.sty

• recently, a message popped-up :

Package movie15 Warning: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
(movie15)                @@ Package movie15' is obsolete and @@
(movie15)                @@ superseded by media9'.           @@
(movie15)                @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.


# Doing a red-lined article file from two versions of a paper in LaTeX

• The editor of our submitted paper asked for a red-lined article file. Using latexdiff makes this task very easy: Simply grab the 2 versions of your manuscript and issue

# latex within moinmoin

• installation d'après http://johannes.sipsolutions.net/Projects/new-moinmoin-latex

• pour s'adapter à ma distribution pdflatex, j'ai changé

1 # last arg must have %s in it!
2 latex_args = ("--interaction=nonstopmode -output-format dvi", "%s.tex")


dans le parser sudoopen-e~/WebSites/moin/data/plugin/parser/latex.py)

# Creating Proceedings (almost) automatically using python and latex

In order to produce proceedings for the NeuroComp08 that we organized, I used a combination of LaTeX and Python to generate a PDF from our preprint server based on ConfMaster. This was due to the lack of an appropriate tool for this system and the need to be flexible to any change made in last minute by the authors. I used the following steps (these are summarized in the included Makefile file at the bottom that allowed to rebuild everything when any small change in these steps were done).

# setting graphics' path

\includegraphics[width=\textwidth]{folder2_relative/picture.png}%