<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Yak-shaving on Hieu Phay</title><link>https://hieuphay.com/tags/yak-shaving/</link><description>Recent content in Yak-shaving on Hieu Phay</description><generator>Hugo</generator><language>en</language><managingEditor>Nguyen Duc Hieu</managingEditor><webMaster>Nguyen Duc Hieu</webMaster><atom:link href="https://hieuphay.com/tags/yak-shaving/index.xml" rel="self" type="application/rss+xml"/><item><title>Org-mode as a Swiss-army publishing tool</title><link>https://hieuphay.com/org-publishing-latex-hugo/</link><pubDate>Mon, 22 May 2023 00:00:00 +0000</pubDate><guid>https://hieuphay.com/org-publishing-latex-hugo/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/org-publishing-latex-hugo/#footnotes-and-sidenotes"&gt;Footnotes and Sidenotes&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/org-publishing-latex-hugo/#boxes"&gt;Boxes!&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I have two large publishing needs: (1) creating &lt;span class='smallcap'&gt;pdf&lt;/span&gt;&lt;small&gt;s&lt;/small&gt; by LaTeX and (2) writing stuffs on this Hugo-powered website i.e. to write Blackfriday-compatible Markdown files.&lt;/p&gt;&#10;&lt;p&gt;Nowadays, I neither write LaTeX or Markdown documents directly, but instead write in Emacs Org-mode and convert the document to my desired format.&#10;I mentioned my Org-mode setups for &lt;span class='smallcap'&gt;pdf&lt;/span&gt;&lt;small&gt;s&lt;/small&gt; on this website &lt;a href="../export-orgmode-latex/"&gt;5 years ago&lt;/a&gt; and my configurations have slowly evolves since then.&#10;On the website publishing side, the excellent package &lt;a href="https://ox-hugo.scripter.co/"&gt;ox-hugo&lt;/a&gt; works nicely.&lt;/p&gt;</description></item><item><title>Writing LaTeX PDF documents using Emacs Org-Mode</title><link>https://hieuphay.com/export-orgmode-latex/</link><pubDate>Thu, 17 May 2018 05:47:23 +0700</pubDate><guid>https://hieuphay.com/export-orgmode-latex/</guid><description>&lt;p&gt;I love &lt;a href="https://www.gnu.org/software/emacs/"&gt;Emacs&lt;/a&gt;. It is a programmable text editor that streamlined many of my workflows. Nowadays, I do most of my computer-related tasks via Emacs, and writing is one of them.&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mtext&gt;LaTeX&lt;/mtext&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\LaTeX&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.8988em;vertical-align:-0.2155em;"&gt;&lt;/span&gt;&lt;span class="mord text"&gt;&lt;span class="mord textrm"&gt;L&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.36em;"&gt;&lt;/span&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.6833em;"&gt;&lt;span style="top:-2.905em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord textrm mtight sizing reset-size6 size3"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord text"&gt;&lt;span class="mord textrm"&gt;T&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.1667em;"&gt;&lt;/span&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.4678em;"&gt;&lt;span style="top:-2.7845em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord textrm"&gt;E&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2155em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.125em;"&gt;&lt;/span&gt;&lt;span class="mord textrm"&gt;X&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the industry standard when it comes to publishing scientific documents. The problem is, sometimes writing &lt;code&gt;.tex&lt;/code&gt; documents can be tedious due to LaTeX&amp;rsquo;s complicated syntax. That is why I use simpler markup formats (like &lt;code&gt;.org&lt;/code&gt; or &lt;code&gt;.markdown&lt;/code&gt;) to write documents, convert them to &lt;code&gt;.tex&lt;/code&gt; and later compile the converted &lt;code&gt;.tex&lt;/code&gt; into &lt;span class='acr'&gt;pdf&lt;/span&gt; files.&lt;/p&gt;</description></item></channel></rss>