<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Static in the Ether &#187; LyX</title>
	<atom:link href="http://lair.moria.org/blog/archives/category/lyx/feed" rel="self" type="application/rss+xml" />
	<link>http://lair.moria.org/blog</link>
	<description>Unix, Information Security &#38; Systems Administration</description>
	<lastBuildDate>Wed, 11 Nov 2009 09:14:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>BibTeX frequency table</title>
		<link>http://lair.moria.org/blog/archives/36</link>
		<comments>http://lair.moria.org/blog/archives/36#comments</comments>
		<pubDate>Wed, 04 Jun 2008 04:39:23 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[LyX]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[BibTex]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=36</guid>
		<description><![CDATA[Something I usually ask my students to do us to draw up a frequency table of their use of references in their Theses. This is useful to see if one is over-citing particular sources, or disregarding sources that are more significant. Up until now most have gone the paper and pencil route. Fred Otten came [...]]]></description>
			<content:encoded><![CDATA[<p>Something I usually ask my students to do us to draw up a  frequency table of their use of references in their Theses.  This is useful to see if one is over-citing particular sources, or disregarding sources that are more significant.  Up until now most have gone the paper and pencil route.</p>
<p><a href="http://www.facebook.com/people/Fred_Otten/764675017">Fred Otten</a> came up with the following script using good old sed, awk and some plumbing, that draws up a nice list based on an input <a href="http://www.lyx.org/" target="_blank"><acronym title="LyX – The Document Processor">Lyx</acronym></a> file.</p>
<blockquote><p><code><br />
#!/bin/sh<br />
cat $1 | grep key\ \" |\<br />
awk '{ print  substr($2,2,length($2)-2)}' | \<br />
sed -e s/,/\\n/g | \<br />
awk 'BEGIN {i=0}             \<br />
  { if (temp[$1]) { temp[$1]=temp[$1]+1 } \<br />
else { temp[$1]=1; tmp[i]=$1; i++; }; }  \<br />
END { for (j=0; j { print tmp[j] " " temp[tmp[j]] } }' | sort<br />
</code></p></blockquote>
<p>This gives a two column listing of the citation keys and their frequency count.  This of course can be extended using further awk statements to transpose the columns, or sort by frequency, rather than citation key.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/36/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Jabref Export Filters</title>
		<link>http://lair.moria.org/blog/archives/30</link>
		<comments>http://lair.moria.org/blog/archives/30#comments</comments>
		<pubDate>Mon, 02 Jun 2008 08:27:57 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[LyX]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[BibTex]]></category>
		<category><![CDATA[JabRef]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=30</guid>
		<description><![CDATA[Jabref ships with a rather useful HTML export feature, which produces some rather nice output for publishing a somewhat interactive version of your .bib files online, or even as an electronic appendix to a thesis. Mark Schenk has proviced some nice eexamples of other styles of export that one can use. Using these in conjunction [...]]]></description>
			<content:encoded><![CDATA[<p><a title="JabRef Reference Manager" href="http://jabref.sourceforge.net/" target="_blank">Jabref </a>ships with a rather useful HTML export feature, which produces some rather nice output for publishing a somewhat interactive version of your .bib files online, or even as an electronic appendix to a thesis.</p>
<p><a href="http://www.markschenk.com/tools/jabref/">Mark Schenk</a> has proviced some nice eexamples of other styles of export that one can use.  Using these in conjunction with the<a href="http://jabref.sourceforge.net/help/CustomExports.php"> Custom Export</a> scripting built into Jabref, one should be able to achieve pretty much any kind of format or data manglin of references that you would require.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/30/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RFC BibTeX resource</title>
		<link>http://lair.moria.org/blog/archives/16</link>
		<comments>http://lair.moria.org/blog/archives/16#comments</comments>
		<pubDate>Sun, 18 May 2008 17:30:24 +0000</pubDate>
		<dc:creator>Barry Irwin</dc:creator>
				<category><![CDATA[LyX]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PhD]]></category>
		<category><![CDATA[BibTex]]></category>
		<category><![CDATA[JabRef]]></category>
		<category><![CDATA[RFC]]></category>

		<guid isPermaLink="false">http://lair.moria.org/blog/?p=16</guid>
		<description><![CDATA[Roland Bless, has a rather useful resource of a set of BibTex information for all RFC documents for those working with RFC&#8217;s and needing to cite them using BibTex. Available for download is an automatically generated .bib database of all the current RFCs. The 1.8 meg .bib file is probably a little large for general [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tm.uka.de/~bless/index.html">Roland Bless</a>, has a rather useful resource of a set of  <a href="http://www.tm.uka.de/~bless/bibrfcindex.html">BibTex information for all RFC documents</a> for those working with <a href="http://www.rfc-editor.org/">RFC&#8217;s </a>and needing to cite them using <a href="http://www.bibtex.org/">BibTex</a>.   Available for <a href="http://www.tm.uka.de/~bless/rfc.bib.gz" target="_blank">download</a> is an automatically generated .bib database of all the current RFCs.</p>
<p>The 1.8 meg .bib file is probably a little large for  general use but once can easily trim and copy entries required manually or using <a title="JabRef Reference Manager" href="http://jabref.sourceforge.net/">JabRef</a>. Citations look like the following:</p>
<blockquote><p><code>@MISC{rfc1466,<br />
author = {E. Gerich},<br />
title = {{Guidelines for Management of IP Address Space}},<br />
howpublished = {RFC 1466 (Informational)},<br />
month = may,<br />
year = {1993},<br />
note = {Obsoleted by RFC 2050},<br />
number = {1466},<br />
organisation = {Internet Engineering Task Force},<br />
publisher = {IETF},<br />
series = {Request for Comments},<br />
timestamp = {2008.05.18},<br />
url = {http://www.ietf.org/rfc/rfc1466.txt}<br />
}</code></p></blockquote>
<p>A resource certain to save typing or multiple c &amp; p operations. The one possible change one may want to make is to include the RFC number in the document tile such as:</p>
<p><code><br />
title = {{RFC 1466: Guidelines for Management of IP Address Space}}</code></p>
<p><code><br />
</code>Another  changes may be to use the @TechReport type as opposed to @Misc.  An other alternative (although out of date) is the <a href="http://www.math.utah.edu/pub/tex/bib/rfc.html">repository</a> at University of Utah Maths Department.</p>
<p>Related to this the W3C have a <a title="Gernate bibTex Citation data for W3C documents" href="http://webcapita.com/w3cbib/by-year">web page</a> which allows for automated generation of bibTeX citation information for their publications.</p>
]]></content:encoded>
			<wfw:commentRss>http://lair.moria.org/blog/archives/16/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
