Tracking Git commits info in LaTeX docs

Last time we wrote how to use Git + TeXStudio (especially with Overleaf) bundle to collaborate on papers and track changes. During the work it may be useful to show information about current commit/author/(time of change) directly in the document. We found a few ways to do it. The simplest…

Continue reading

How to Use Git with TexStudio

TexStudio is our favorite TeX editor. It works with only SVN version system. Nevertheless, using macroses one can teach it to work with Git also. To do it, one needs to create three new scripts Macros -> Add/Change in the file menu. Get from server %SCRIPT buildManager.runCommand(“git pull “, editor.fileName())

Continue reading

Git

A few useful links about Git: http://rogerdudler.github.io/git-guide/ a very simple guide with all needed commands https://www.atlassian.com/git/tutorials/ http://www.alexkras.com/19-git-tips-for-everyday-use/ http://www.toptal.com/git/git-workflows-for-pros-a-good-git-guide “How to” and “why” explanations https://tproger.ru/translations/most-common-git-screwupsquestions-and-solutions/ (rus)

Continue reading

How to save intermediate result of calculations in Mathematica

Sometimes, one needs to make long-time pleriminary calculations in Mathematica to obtain expressions for further work. It is not convenien to make them every time when notebook opens again. An easy (but may be machine-dependent) way is to use DumpSave function. How it works. For example, we have a few…

Continue reading

Nmag console commands in a nutshell

Nmag is a python-based micromagnetic simulator for finite elements mesh. First we add the path and one alias for a comfort work to our bashrc from <nsim>/bin directory: echo "export PATH=\$PATH:`pwd`" >> ~/.bashrc echo "alias nmeshimportg='`pwd`/nmesimport –gmsh'" >> ~/.bashrc Convert the mesh in Version ASCII v2.x format to Version 1:…

Continue reading

Some tips for MPI and cluster usage