<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><![CDATA[Johnny Five Is Alive]]></title>
<description><![CDATA[Johnny Five Is Alive]]></description>
<link>https://johnnyfiveisalive.com/</link>
<lastBuildDate>Thu, 02 Feb 2023 10:44:03 -0600</lastBuildDate>
<item>
  <title><![CDATA[Org mode Export to PDF]]></title>
  <description><![CDATA[
<div class="post-date">2023-01-15 01:53 -0600 CST</div><div id="outline-container-orgdfcc2d7" class="outline-2">
<h2 id="orgdfcc2d7">Org mode Export to PDF&#xa0;&#xa0;&#xa0;<span class="tag"><span class="ATTACH">ATTACH</span></span></h2>
<div class="outline-text-2" id="text-orgdfcc2d7">
<p>
I use <a href="https://orgmode.org">org-mode</a> to document many things, but many are for my future
self. Recently, a need to share my document(s) with others. The
org-mode file contained a few headings with notes, some images, and a
table of information. While experimenting with exporting the org-mode
file to PDF I found the following helpful.
</p>

<p>
Depending on the size of the org-mode file, you may want the table of
contents (<code>toc</code>). Add <code>#+OPTIONS: toc:t</code> to the top of your org-mode
file. But if you do not want the table of contents add this
<code>#+OPTIONS: toc:nil</code> to the top of your org-mode file. To learn more
about this org-mode table of contents go here <sup><a id="fnr.1" class="footref" href="#fn.1" role="doc-backlink">1</a></sup>.
</p>

<p>
Learning about exporting images from an org-mode file was
interesting. If you use <code>org-insert-link</code> <sup><a id="fnr.2" class="footref" href="#fn.2" role="doc-backlink">2</a></sup> to link to an image
file and add a description. The resulting exported file will contain a
link to an image instead of displaying the image. There are two
options to get an image to display in org-mode exports. The first is
to use <code>org-insert-link</code> and insert a link to an image file without a
description. The second option is to insert a link like
<code>[[./an/image-file.png/]]</code>.
</p>

<p>
<b>Note</b>: You will need <code>pdf2latex</code> program to be able to export a PDF
from an org file.
</p>

<p>
<b>Update on 2023-02-02 for Arch Linux you need to install
  <code>textlive-core</code> and <code>textlive-latexextra</code> and it seems like similar
  packages on Ubuntu. So you mind need to do some research for your
  specific operating system.</b>
</p>

<p>
Here is an <a href="/2023/01/15/data/AE/2CB6CC-998B-4929-B203-4FE73234E0DE/2023-01-15-org-mode-export-to-pdf-example.org">example org file</a> and here is an <a href="/2023/01/15/data/AE/2CB6CC-998B-4929-B203-4FE73234E0DE/2023-01-15-org-mode-export-to-pdf-example.pdf">example pdf file</a> exported from the example org file.
</p>
</div>
</div>
<div id="footnotes">
<h2 class="footnotes">Footnotes: </h2>
<div id="text-footnotes">

<div class="footdef"><sup><a id="fn.1" class="footnum" href="#fnr.1" role="doc-backlink">1</a></sup> <div class="footpara" role="doc-footnote"><p class="footpara">
<a href="https://orgmode.org/manual/Table-of-Contents.html">https://orgmode.org/manual/Table-of-Contents.html</a>
</p></div></div>

<div class="footdef"><sup><a id="fn.2" class="footnum" href="#fnr.2" role="doc-backlink">2</a></sup> <div class="footpara" role="doc-footnote"><p class="footpara">
<a href="https://orgmode.org/org.html#index-C_002dc-C_002dl">https://orgmode.org/org.html#index-C_002dc-C_002dl</a>
</p></div></div>


</div>
</div><div class="taglist"><a href="/tags.html">Tags</a>: <a href="/tag-org.html">org</a> <a href="/tag-pdf.html">pdf</a> <a href="/tag-emacs.html">emacs</a> </div>]]></description>
  <category><![CDATA[org]]></category>
  <category><![CDATA[pdf]]></category>
  <category><![CDATA[emacs]]></category>
  <link>/2023/01/15/2023-01-15-org-mode-export-to-pdf.html</link>
  <guid>/2023/01/15/2023-01-15-org-mode-export-to-pdf.html</guid>
  <pubDate>Sun, 15 Jan 2023 01:53:00 -0600</pubDate>
</item>
<item>
  <title><![CDATA[Hello World]]></title>
  <description><![CDATA[
<div class="post-date">2023-01-13 10:21 -0600 CST</div><p>
This is an awesome new blog from Johnny Five Is Alive!
</p>
<div class="taglist"><a href="/tags.html">Tags</a>: <a href="/tag-org.html">org</a> <a href="/tag-emacs.html">emacs</a> <a href="/tag-blog.html">blog</a> <a href="/tag-org_static_blog.html">org_static_blog</a> </div>]]></description>
  <category><![CDATA[org]]></category>
  <category><![CDATA[emacs]]></category>
  <category><![CDATA[blog]]></category>
  <category><![CDATA[org_static_blog]]></category>
  <link>/2023/01/13/2023-01-13-hello-world.html</link>
  <guid>/2023/01/13/2023-01-13-hello-world.html</guid>
  <pubDate>Fri, 13 Jan 2023 10:21:00 -0600</pubDate>
</item>
</channel>
</rss>
