{"id":355,"date":"2010-04-13T00:27:32","date_gmt":"2010-04-13T03:27:32","guid":{"rendered":"http:\/\/stefano.salvatori.cl\/blog\/?p=355"},"modified":"2010-04-14T01:23:02","modified_gmt":"2010-04-14T04:23:02","slug":"compilar-latex-en-windows","status":"publish","type":"post","link":"https:\/\/stefano.salvatori.cl\/blog\/2010\/04\/13\/compilar-latex-en-windows\/","title":{"rendered":"Compilar LaTeX en windows"},"content":{"rendered":"<p>Desde hace un par de d\u00c3\u00adas he estado usando <a href=\"http:\/\/notepad-plus.sourceforge.net\/es\/site.htm\">notepad++<\/a> 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 \u00c2\u00a0(<em>Syntax highlighting) <\/em>no trae soporte para compilar un documento .tex. Es por eso que me puse a \u00c2\u00a0escribir un peque\u00c3\u00b1o (muy peque\u00c3\u00b1o) script en batch para poder compilar solo con un click.<\/p>\n<p>Para poder utilizar este script solo deben crear un archivo con extensi\u00c3\u00b3n .bat y editar una linea donde se establece el nombre del archivo a compilar, luego guardan y listo ya tienen un programilla que les\u00c2\u00a0permitir\u00c3\u00a1\u00c2\u00a0compilar con un click.<\/p>\n<p><code lang=\"batch\"><br \/>\n@echo off<br \/>\nset FILE_tex=propuesta_tesis.tex<br \/>\ncd %CD%<br \/>\nIF EXIST %FILE_TEX% (GOTO existe) ELSE (GOTO noexiste)<\/p>\n<p>:existe<br \/>\npdflatex %FILE_TEX%<br \/>\nbibtex %FILE_TEX%<br \/>\npdflatex %FILE_TEX%<br \/>\npdflatex %FILE_TEX%<br \/>\nexit<\/p>\n<p>:noexiste<br \/>\necho 'El archivo NO existe'<br \/>\npause<br \/>\nexit<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Desde hace un par de d\u00c3\u00adas 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 \u00c2\u00a0(Syntax highlighting) no trae soporte para compilar un documento .tex. Es por eso que me puse a \u00c2\u00a0escribir un peque\u00c3\u00b1o [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[38,19,33,26],"tags":[147,149,150,215,148],"class_list":["post-355","post","type-post","status-publish","format-standard","hentry","category-geek","category-internet","category-programacion","category-tips","tag-batch","tag-latex","tag-script","tag-tips","tag-windows"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5Pxa3-5J","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/comments?post=355"}],"version-history":[{"count":2,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/355\/revisions"}],"predecessor-version":[{"id":357,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/posts\/355\/revisions\/357"}],"wp:attachment":[{"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/media?parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/categories?post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stefano.salvatori.cl\/blog\/wp-json\/wp\/v2\/tags?post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}