<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thank you very much, Bruno.</div><div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Geneva; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Geneva; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br class="Apple-interchange-newline">Emilio Faro</div></div></div></span></div></span></span>
</div>
<br><div><div>On 30/01/2013, at 23:13, Bruno Voisin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>. Le 30 janv. 2013 à 19:16, Emilio Faro <<a href="mailto:efaro@dma.uvigo.es">efaro@dma.uvigo.es</a>> a écrit :<br><br><blockquote type="cite">The following file:<br></blockquote><blockquote type="cite">------------------------------------<br></blockquote><blockquote type="cite">\documentclass{article}<br></blockquote><blockquote type="cite">\begin{document}<br></blockquote><blockquote type="cite">\immediate\write18{echo `pwd` > pwd.txt}<br></blockquote><blockquote type="cite">\end{document}<br></blockquote><blockquote type="cite">------------------------------------<br></blockquote><blockquote type="cite">does the expected thing in TeXShop but not in Textures. It seems \write18 is not enabled in Textures. Does anybody know whether it is possible to enable it and how?<br></blockquote><br>No, I don't think Textures has ever allowed that kind of thing. Textures predates OS X and has never been fully updated to support it; hence no ability to link to Unix commands such as 'echo' through \write18.<br><br>If the above works with TeXShop, this means your version is not up-to-date: shell escape (ie \write18) is now considered a security risk in TeX and disabled by default. You should accordingly remove --shell-escape from the tex command options in<br><br>Preferences > Engine > pdfTeX > Tex<br>Preferences > Engine > pdfTeX > Latex<br>Preferences > Engine > TeX + dvips + distiller > Tex<br>Preferences > Engine > TeX + dvips + distiller > Latex<br><br>for example by pressing the Default button for each.<br><br>The preferred way of proceeding now, if you absolutely trust a command and also absolutely need it, is to create a file /Library/TeX/Local/web2c/texmf.cnf, duplicate there the default shell_escape_commands list from /Library/TeX/Root/texmf/web2c/texmf.cnf and add the command you want to it, making it in your case<br><br>shell_escape_commands = \<br>bibtex,bibtex8,\<br>kpsewhich,\<br>makeindex,\<br>mpost,\<br>repstopdf,\<br>echo,\<br><br>That said, unless the Blue Sky TeX Systems web site resuscitates mysteriously within the next few days, it seems Textures is dead for good now and better left alone.<br><br>Bruno Voisin<br><br></div></blockquote></div><br></div></body></html>