<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Notes on paper writing on Aashutosh Poudel</title><link>https://atosh502.github.io/blog/writing/</link><description>Recent content in Notes on paper writing on Aashutosh Poudel</description><generator>Hugo</generator><language>en-US</language><copyright>Copyright © \b20\d{2}\b, Aashutosh Poudel.</copyright><lastBuildDate>Thu, 19 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://atosh502.github.io/blog/writing/index.xml" rel="self" type="application/rss+xml"/><item><title>Using git latexdiff</title><link>https://atosh502.github.io/blog/writing/using-git-latexdiff/</link><pubDate>Thu, 19 Mar 2026 00:00:00 +0000</pubDate><guid>https://atosh502.github.io/blog/writing/using-git-latexdiff/</guid><description>&lt;ul&gt;
&lt;li&gt;allows using &amp;ldquo;latexdiff&amp;rdquo; between two git commits&lt;/li&gt;
&lt;li&gt;the help section &lt;code&gt;git latexdiff -h&lt;/code&gt; is useful&lt;/li&gt;
&lt;li&gt;example command that worked for me while diff-ing
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 1&lt;/span&gt;&lt;span&gt;git latexdiff --bibtex &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 2&lt;/span&gt;&lt;span&gt; --ignore-latex-errors &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 3&lt;/span&gt;&lt;span&gt; --ignore-makefile &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 4&lt;/span&gt;&lt;span&gt; --prepare &lt;span style="color:#4070a0"&gt;&amp;#34;make clean &amp;amp;&amp;amp; sleep 5 &amp;amp;&amp;amp; make -k all &amp;amp;&amp;amp; sleep 5&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 5&lt;/span&gt;&lt;span&gt; --whole-tree &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 6&lt;/span&gt;&lt;span&gt; -o diff.pdf &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 7&lt;/span&gt;&lt;span&gt; --append-textcmd&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;Comment&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 8&lt;/span&gt;&lt;span&gt; --append-textcmd&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;LComment&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt; 9&lt;/span&gt;&lt;span&gt; --append-textcmd&lt;span style="color:#666"&gt;=&lt;/span&gt;&lt;span style="color:#4070a0"&gt;&amp;#34;title&amp;#34;&lt;/span&gt; &lt;span style="color:#4070a0;font-weight:bold"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;10&lt;/span&gt;&lt;span&gt; --main paper.tex &amp;lt;old-commit&amp;gt; &amp;lt;new-commit&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;--ignore-makefile&lt;/code&gt; ignores the existing makefile&lt;/li&gt;
&lt;li&gt;instead use &lt;code&gt;--prepare&lt;/code&gt; to run make/generate the required files&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--bibtex&lt;/code&gt; shows changes in bibliography&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--whole-tree&lt;/code&gt; checks out entire git tree in temporary directories&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--append-textcmd=&amp;quot;&amp;lt;command&amp;gt;&amp;quot;&lt;/code&gt; allows latexdiff texts formatted by custom &lt;code&gt;&amp;lt;command&amp;gt;&lt;/code&gt;s to be diff-ed&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Links&lt;/p&gt;</description></item><item><title>Convert pdf/eps files to svg</title><link>https://atosh502.github.io/blog/writing/convert-pdf/eps-files-to-svg/</link><pubDate>Sun, 27 Oct 2024 00:00:00 +0000</pubDate><guid>https://atosh502.github.io/blog/writing/convert-pdf/eps-files-to-svg/</guid><description>&lt;p&gt;I had to convert a few figures and tables written in LaTeX for a poster. Converting the figures (in &lt;code&gt;eps/pdf&lt;/code&gt; formats) was easy and could be done with &lt;code&gt;dvisvgm&lt;/code&gt;. To convert tables into SVG, I first created PDFs of the tables using the &lt;a href="https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/standalone/standalone.pdf"&gt;standalone LaTeX package&lt;/a&gt;, then converted them to SVG.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Steps to convert an eps file to svg using &lt;a href="https://dvisvgm.de/Manpage/"&gt;dvisvgm&lt;/a&gt;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span style="white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"&gt;1&lt;/span&gt;&lt;span&gt;dvisvgm --eps file.eps --output&lt;span style="color:#666"&gt;=&lt;/span&gt;file.svg
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Steps to convert a latex table to svg&lt;/p&gt;</description></item></channel></rss>