Tag Archives: windows

How to fix open_stackdumpfile: Dumping stack trace to less.exe.stackdump (git+cygwin)

At work I’m using git [git version 2.15.0.windows.1] + cgywin , some git commands like diff or log throw an exception and I got this message on the console [main] cygwin_exception::open_stackdumpfile: Dumping stack trace to less.exe.stackdump

To fix this error you have to change the value of $TERM to xterm, previously was screen (collateral damage? I don’t know yet xD)

export TERM=xterm

https://conemu.github.io/en/GitForWindows.html

Compilar LaTeX en windows

Desde hace un par de días he estado usando notepad++ como editor para trabajar en mi tesis de magister, principalmente por el soporte para utf-8, pero este editor si bien trae un coloreador de sintaxis  (Syntax highlighting) no trae soporte para compilar un documento .tex. Es por eso que me puse a  escribir un pequeño (muy pequeño) script en batch para poder compilar solo con un click.

Para poder utilizar este script solo deben crear un archivo con extensión .bat y editar una linea donde se establece el nombre del archivo a compilar, luego guardan y listo ya tienen un programilla que les permitirá compilar con un click.


@echo off
set FILE_tex=propuesta_tesis.tex
cd %CD%
IF EXIST %FILE_TEX% (GOTO existe) ELSE (GOTO noexiste)

:existe
pdflatex %FILE_TEX%
bibtex %FILE_TEX%
pdflatex %FILE_TEX%
pdflatex %FILE_TEX%
exit

:noexiste
echo 'El archivo NO existe'
pause
exit