<?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>Reflections // Images And Words &#187; LaTeX</title>
	<atom:link href="http://www.henningweiler.de/category/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.henningweiler.de</link>
	<description>Images And Words - reflections from around the globe</description>
	<lastBuildDate>Tue, 08 Nov 2011 21:16:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mendeley, bibtex and the web page citation fiasco</title>
		<link>http://www.henningweiler.de/2011/11/08/mendeley-bibtex-and-the-web-page-citation-fiasco/</link>
		<comments>http://www.henningweiler.de/2011/11/08/mendeley-bibtex-and-the-web-page-citation-fiasco/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 21:09:44 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Chaos]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[citation]]></category>
		<category><![CDATA[mendeley]]></category>
		<category><![CDATA[webpage]]></category>

		<guid isPermaLink="false">http://www.henningweiler.de/?p=124</guid>
		<description><![CDATA[Here is a work-around for the insufficiently-functioning Mendeley bibtex export for web page/URL citations. The issue is that a) the URL is exported as &#8216;url =&#8217; and not &#8216;howpublished =&#8217; and b) there is no &#8216;last accessed&#8217; (aka &#8216;last viewed&#8217; or &#8216;last checked&#8217;) field&#8230; This little workflow and command line might help someone. Create a [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a work-around for the insufficiently-functioning <a href="http://mendeley.com/">Mendeley</a> bibtex export for web page/URL citations. The issue is that a) the URL is exported as &#8216;url =&#8217; and not &#8216;howpublished =&#8217; and b) there is no &#8216;last accessed&#8217; (aka &#8216;last viewed&#8217; or &#8216;last checked&#8217;) field&#8230;</p>
<p>This little workflow and command line might help someone.</p>
<p><span id="more-124"></span></p>
<ol>
<li>Create a separate collection for your webpage citations</li>
<li>Move all webpage citations into the new collection and delete them from you default bibliography collection</li>
<li>Mark all items of the webpage collection and go to File-&gt;Export&#8230;</li>
<li>Choose webpage_temp.bib as your export target in your LaTeX tree</li>
<li>Run the following command below</li>
<li>Edit the new file webpages.bib and check that all the &#8220;Last Accessed&#8221; descriptors are OK (Mendeley does not export the &#8220;Last Accessed&#8221; field into bibtex; therefore a fixed date is used in there&#8230;)</li>
<li>Use webpage.bib in your LaTeX file (example of how it looks below)</li>
</ol>
<p>The command line is:</p>
<pre>cat webpages_temp.bib | \
sed "s/url =/howpublished =/g" | \
sed "s/{http/{\\\url{http/g" | \
sed "s/howpublished.*}/&amp; [Online. Last accessed: 2011-11-06]}/g" &gt; webpages.bib</pre>
<p>Here is an example of how it looks in the document (alpha style):</p>
<p style="text-align: center;"><a href="http://www.henningweiler.de/wp-content/uploads/2011/11/webpage_cite_example.png"><img class="aligncenter size-full wp-image-127" title="webpage_cite_example" src="http://www.henningweiler.de/wp-content/uploads/2011/11/webpage_cite_example.png" alt="" width="743" height="98" /></a></p>
<p style="text-align: left;">I use this little script in the make file for the LaTeX compilation. Works for me : )</p>
<p>The entry before the script (as it came from Mendeley):</p>
<pre>@misc{Ishida2011,
author = {Ishida, Richard},
booktitle = {W3C},
keywords = {cultural name differences,name ambiguity,name structure},
title = {{Personal names around the world}},
url = {http://www.w3.org/International/questions/qa-personal-names},
year = {2011}
}</pre>
<p>The same entry after the script:</p>
<pre>@misc{Ishida2011,
author = {Ishida, Richard},
booktitle = {W3C},
keywords = {cultural name differences,name ambiguity,name structure},
title = {{Personal names around the world}},
howpublished = {\url{http://www.w3.org/International/questions/qa-personal-names} [Online. Last accessed: 2011-11-06]},
year = {2011}
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.henningweiler.de/2011/11/08/mendeley-bibtex-and-the-web-page-citation-fiasco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX tweak: Continuous enumeration over multiple sections</title>
		<link>http://www.henningweiler.de/2010/04/14/latex-tweak-continuous-enumeration-over-multiple-sections/</link>
		<comments>http://www.henningweiler.de/2010/04/14/latex-tweak-continuous-enumeration-over-multiple-sections/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 16:16:23 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[continuous enumeration]]></category>
		<category><![CDATA[counter]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.henningweiler.de/?p=103</guid>
		<description><![CDATA[Soo&#8230;I move this from a former page to a post. At some point last year, I needed a solution for a problem in LaTeX, where I wanted to continue an enumeration over several paragraphs. Read on and find out how I did it. Cheers! OK, I came across a problem, when trying to use something [...]]]></description>
			<content:encoded><![CDATA[<p>Soo&#8230;I move this from a former page to a post.</p>
<p>At some point last year, I needed a solution for a problem in LaTeX, where I wanted to continue an enumeration over several paragraphs.</p>
<p>Read on and find out how I did it. </p>
<p>Cheers!</p>
<p><span id="more-103"></span></p>
<p>OK, I came across a problem, when trying to use something like the following:</p>
<p><code>\chapter{c1}  <br />
\section{s1}  <br />
\subsection{sub1}  <br />
Q1 - foo0 <br />
Q2  - bar0  </code></p>
<p><code>\subsection{sub2}  <br />
Q3 - foo1 <br />
Q4 - bar1  </code></p>
<p><code>\subsection{sub3}  <br />
Q5 - foo2 <br />
Q6 - bar2</code></p>
<p>So I tried. Hard. But could not get this to work. Finally, I used several counters to do the job. Not very nice but it works:</p>
<p><code>\chapter{c1}  <br />
% init new counters Rcount and Tcount <br />
\newcounter{Rcount} <br />
\newcounter{Tcount}  </code></p>
<p><code>\subsection{subX}  <br />
%Tell the list to use counter Rcount, and use a custom label (RQ-arabicnumberOfCounter) <br />
\begin{list}{Q-\arabic{Rcount}}{\usecounter{Rcount} \setlength{\rightmargin}{\leftmargin}} <br />
%since the  list environment  sets the used counter to zero, we need to use the second counter and load it into Rcount. <br />
&nbsp; \setcounter{Rcount}{\value{Tcount}} <br />
&nbsp; \item fooX <br />
&nbsp; \item barX <br />
\end{list}  </code></p>
<p><code>%when the list is finished, write the value or Rcount back to the backup counter. <br />
\addtocounter{Tcount}{\value{Rcount}}</code></p>
<p>That&#8217;s it. Hopefully it helps somebody. For any questions, just contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.henningweiler.de/2010/04/14/latex-tweak-continuous-enumeration-over-multiple-sections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

