Giter Site home page Giter Site logo

compilatex's Introduction

                     ,.
                    (_|,.
                   ,' /, )_______   _
                __j o``-'        `.'-)'
               (")                 \' 
                `-j                |
                  `-._(           /
                     |_\  |--^.  /
                    /_]'|_| /_)_/
                       /_]'  /_]'

CompiLaTeX

Script que compila un archivo de LaTeX automáticamente cada vez que se guarda.

Para usarlo, ejecutar en la Terminal sh compilatex nombreDelArchivo.tex (el script y el archivo de LaTeX tienen que estar en la misma carpeta).

Para terminar de ejecutar el script, tipear en la Terminal Ctrl + Shift + c.

Si lo usan mucho, se lo pueden instalar para directarmente hacer desde cualquier lugar compilatex ubicación/del/archivo/nombreDelArchivo.tex:

  1. Crear un directorio donde vamos a guardar nuestros scripts. Ejemplo: /bin ( es un shortcut para /home/usuario). Poner el script en esa carpeta. Editamos las propiedades del archivo y marcamos "Permitir ejecutar como programa".
  2. Agregar esa carpeta al PATH (el lugar donde se indica dónde están los programas ejecutables). En el caso de Ubuntu, abrimos el archivo ~/.bashrc y agregamos las líneas: export PATH=$PATH:~/bin

El script en vez de usar pdflatex directamente, llama a BetterPDFLaTeX, que modifica el output de pdflatex para hacerlo más legible:

BetterPDFLaTeX colors pdflatex warnings in orange, errors in red and the "Output written ..." message in green. Duplicate lines (which appear right after each other) are skipped as well as those annoying only-bracket-lines, which pdflatex generates a lot. The --line-buffered parameter makes sure that the output is still "smooth" and not "laggy" due to buffering of grep. The --color=always (in contrast to --color=auto) preserves the colors of previous grep calls when piping them together like this.

You can put the script in your PATH with filename pdflatex, such that all Makefiles which call pdflatex use this colored version.

[Fuente de BetterPDFLaTeX] (http://www.fw42.blogspot.com.ar/2012/08/colored-pdflatex-console-output.html)

compilatex's People

Stargazers

Kevin Frachtenberg avatar Eric Peker avatar

Watchers

G B avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.