{"id":171,"date":"2009-03-30T17:42:14","date_gmt":"2009-03-30T21:42:14","guid":{"rendered":"http:\/\/www.partofthething.com\/thoughts\/?p=171"},"modified":"2009-03-30T17:42:14","modified_gmt":"2009-03-30T21:42:14","slug":"nse-out-now-bibtex","status":"publish","type":"post","link":"https:\/\/partofthething.com\/thoughts\/nse-out-now-bibtex\/","title":{"rendered":"nse out, now bibtex"},"content":{"rendered":"<p>I sent my prof.\u00a0 my version of the manuscript. Now I&#8217;m trying to get the proper citations for Nuclear Science and Engineering with bibtex. I&#8217;ve been running into <a href=\"http:\/\/www.ctan.org\/tex-archive\/biblio\/bibtex\/contrib\/phy-bstyles\/\">Charles Karney&#8217;s physics journal bibtex styles<\/a>, but I haven&#8217;t gotten them working yet. They say to run them through the c preprocessor to get different styles, but I just get errors like:<\/p>\n<blockquote><p>physics.bst:9:19: warning: missing terminating &#8216; character<\/p>\n<p>physics.bst:3484:7: warning: extra tokens at end of #else directive<\/p><\/blockquote>\n<p>Ah. This is because cpp has decided that it shouldn&#8217;t be used for processing anything besides actual source code. Well, thankfully they left in the -traditional-cpp option. So if you use<\/p>\n<blockquote><p>cpp -P -traditional-cpp physics.bst nse.bst<\/p><\/blockquote>\n<p>It will actually work. That&#8217;s excellent. This is nice.<\/p>\n<blockquote><p>[1] C. Tzanos, E. Gyftopoulos, and M. Driscoll, &#8220;Optimization of Material<br \/>\nDistributions in Fast Reactor Cores&#8221;,\u00a0\u00a0\u00a0 Nucl. Sci. Eng.\u00a0 52, 84 (1973)<\/p><\/blockquote>\n<p>Here&#8217;s a <a href=\"http:\/\/www.zinkwazi.com\/unix\/notes\/tricks.vim.html\">nice cheat sheet<\/a> for VIM. I&#8217;m using it to capitalize the first letter of each word in my bibtex.tex file. I&#8217;m sure the bibtex style can do this but I&#8217;m not bothering.<\/p>\n<p>Here&#8217;s the final product: <a href=\"http:\/\/www.partofthething.com\/thoughts\/wp-content\/uploads\/2009\/03\/nse.bst\">nse.bst<\/a><\/p>\n<p>UPDATE: I put double quotes around article and techreport titles, as<a href=\"http:\/\/www.partofthething.com\/thoughts\/?p=181\"> discussed here<\/a>.<\/p>\n<p>Also, fonts from my LyX install were really fuzzy when printed. I went into document settings and changed font family to Roman and set font to Latin Modern Roman and now the fonts don&#8217;t get fuzzy when you zoom in so I&#8217;ll assume they don&#8217;t get fuzzy on print either. Let&#8217;s hope not.<\/p>\n<p>I also just added a reCAPTCHA plugin to this blog. It works. My simpleCAPTCHA plugin wasn&#8217;t showing the image, nor was it even showing up in the plugin list. I renamed the simple-captcha folder in my plugins folder and now recaptcha is in charge.<\/p>\n<p>I need to call Jeff soon to tell him he&#8217;s publishing this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I sent my prof.\u00a0 my version of the manuscript. Now I&#8217;m trying to get the proper citations for Nuclear Science and Engineering with bibtex. I&#8217;ve been running into Charles Karney&#8217;s physics journal bibtex styles, but I haven&#8217;t gotten them working yet. They say to run them through the c preprocessor to get different styles, but &hellip; <a href=\"https:\/\/partofthething.com\/thoughts\/nse-out-now-bibtex\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">nse out, now bibtex<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[9],"tags":[15,20,44],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-work-only","tag-bibtex","tag-cpp","tag-nse"],"_links":{"self":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/partofthething.com\/thoughts\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}