<html><body class="ApplePlainTextBody" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">On 24 Jun 2010, at 08:14, Stefan Löffler wrote:<br><br><blockquote type="cite">Hi,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 2010-06-24 11:10, schrieb Andreas Tanner:<br></blockquote><blockquote type="cite"><blockquote type="cite">Is there any way to have Texwork to supress the "typographical<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">quotation marks" option when editing a bibtex file? One needs "normal"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">quotation marks in a bibtex file.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Not automatically. Tw treats all files as equal. But you can manually<br></blockquote><blockquote type="cite">override the behavior from "Format > Smart Quotes".<br></blockquote><br>If you're running a recent enough version of TeXworks to have scripting support (i.e. an "experimental" build rather than the "stable" release), you can use a LoadFile hook to do this; something like<br><br>// TeXworksScript<br>// Title: No smart quotes for BibTeX<br>// Description: Turns off Smart Quotes when opening a .bib file<br>// Author: Jonathan Kew<br>// Version: 0.1<br>// Date: 2010-06-25<br>// Script-Type: hook<br>// Hook: LoadFile<br><br>if (TW.target.fileName.match("\\.bib$")) {<br> TW.target.setSmartQuotesMode("None");<br>}<br><br>If this is installed in the TW scripts folder, it should override your default Smart Quotes setting whenever you open a file whose name ends with ".bib".<br><br>JK<br><br></body></html>