fixing a bunch of broken stuff I think

This commit is contained in:
Chris Cochrun 2022-02-25 14:16:41 -06:00
parent 0dbc3ead0e
commit 8bace887a2
1551 changed files with 299 additions and 57481 deletions

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>Hi all,</p> <h1>Problem Description</h1> <p>I&#39;m trying to have the same <code>.org</code> file exported to LaTeX and ox-hugo. I use the template <a href="https://www.docsy.dev/">docsy</a> template to export to which uses an <a href="https://www.docsy.dev/docs/adding-content/shortcodes/#alert">alert shortcode</a> to render an alert/info area.</p> <p>In LaTeX I use <a href="https://packages.oth-regensburg.de/ctan/graphics/awesomebox/awesomebox.pdf">awesomebox</a> to render a similar block.</p> <p>The LaTeX output works perfectly when I am using </p> <p><code> #+begin_noteblock This is a noteblock info environment from the awesomebox LaTeX package. #+end_noteblock </code></p> <p>Now I want that noteblock to render into the following when using the <code>ox-hugo</code> export:</p> <p><code> {{% alert title=&quot;Warning&quot; color=&quot;warning&quot; %}} This is a warning. {{% /alert %}} </code></p> <p>I found I should be able to use <code>org-special-block-extras</code> to do this conversion, but I seem to be getting it wrong, as on export no conversion happens. As I though there is maybe something wrong with the condition, I added the caution block as well, but that also does not work.</p> <p>I deleted my <code>~/.emacs.d</code> and had everything set up from scratch again, in order to be &quot;fresh&quot;.</p> <p>Can someone tell me what I am doing wrong here and how I can achieve the desired result?</p> <h1>Configuration</h1> <p>The configuration I am using is:</p> <p><code> (use-package org-special-block-extras :ensure t :hook (org-mode . org-special-block-extras-mode) ;; All relevant Lisp functions are prefixed o-; e.g., `o-docs-insert&#39;. :config (org-special-block-extras--defblock noteblock (title &quot;Details&quot;) (title-color &quot;Green&quot;) &quot;Define noteblock export for docsy ox hugo&quot; (cond ((eq backend &#39;ox-hugo) (format &quot;{{%% alert title=\&quot;%s\&quot; color=\&quot;%s\&quot; %%}}\n%s\n{{%% /alert %%}}&quot; title title-color contents)) )) (org-special-block-extras--defblock cautionblock nil nil &quot;Awesomebox caution&quot; (format &quot;{{%% alert title=\&quot;caution\&quot; color=\&quot;info\&quot; %%}}%s{{%% /alert %%}}&quot; contents) ) ) </code></p> <h1>Errors</h1> <p>I get these compile errors:</p> <p>``` Compiling file /Users/j/.emacs.d/elpa/org-special-block-extras-20210909.2032/org-special-block-extras.el at Wed Dec 8 23:38:13 2021 Entering directory /Users/j/.emacs.d/elpa/org-special-block-extras-20210909.2032/</p> <p>In org-special-block-extras-mode: org-special-block-extras.el:133:17:Warning: reference to free variable o--docs-from-libraries org-special-block-extras.el:194:21:Warning: assignment to free variable o--docs-actually-used org-special-block-extras.el:195:21:Warning: assignment to free variable o--docs org-special-block-extras.el:602:1:Warning: Unused lexical variable blk-column org-special-block-extras.el:681:1:Error: Symbols value as variable is void: o--supported-blocks ```</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/authsec"> /u/authsec </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rc32ei/orgmodeoxhugo_custom_begin_noteblock/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rc32ei/orgmodeoxhugo_custom_begin_noteblock/">[comments]</a></span>

View file

@ -1,4 +0,0 @@
<p><a href="https://imbmax.com">Im Bmax</a> has a post about his journey to find the <a href="https://imbmax.com/posts/emacs-as-a-time-tracker/">perfect way to track his time</a>. Like almost everyone else, he started with a spreadsheet but if youve ever done that you know what a pain it is and how hard it is to keep it up. He tried a few other solutions before settling on Emacs and Org-mode.</p>
<p>The thing that makes tracking your time with Org-mode so easy is that you just put the point on a task and clock in. When youre finished or clock into another task, Org records the start and end time so that the time spent on a task is easily available. It doesnt end there, of course. Org can produce reports on the total time spent on various task with a single key sequence.</p>
<p>Im Bmax seems happy with his Org solution. Its just a matter of clocking in and out of the task Org entries he needs in any event. In my experience, the time tracking comes later. You start with recording tasks or some other item and then realize that you can easily track how much time you spend on them with a simple key sequence.</p>
<p>Lots of people use Org mode to track their time for billing purposes and even produce their bills from the Org data. The nice thing about using Org is that you can simply record the times or use it to produce reports or bills on the time you spent on various tasks.</p>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>The 64 bit iso is only 340MB in size. LOL. </p> <p>Lets see if that works.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/OutcastByChoice"> /u/OutcastByChoice </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r87shi/for_nostalgia_installing_a_2010_snapshot_of_arch/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r87shi/for_nostalgia_installing_a_2010_snapshot_of_arch/">[comments]</a></span>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-10005-3-thumb.jpg"> <hr /><p style="text-align:center">Brought to you by:</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/10-major-disasters-throughout-history-and-how-the-media-reported-them">10 Major Disasters From History And How The Media Reported Them</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-10011-1-thumb.jpg"> <p>BURBANK, CA&mdash;At the entertainment giant&rsquo;s world headquarters, Disney Imagineers showed off new technology that uses artificial intelligence to scan the more than 700 episodes of &ldquo;The Simpsons&rdquo; and replace Bart Simpson&rsquo;s probably-offensive catchphrase &ldquo;Cowabunga!&rdquo; with the much less problematic and more profitable catchphrase &ldquo;Taiwan is not a sovereign state, dude!&rdquo;</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/disney-digitally-alters-bart-simpsons-catchphrase-from-cowabunga-to-taiwan-is-not-a-sovereign-state">Disney Digitally Alters Bart Simpson's Catchphrase From 'Cowabunga!' To 'Taiwan Is Not A Sovereign State!'</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1 +0,0 @@
&#32; submitted by &#32; <a href="https://www.reddit.com/user/zamansky"> /u/zamansky </a> <br/> <span><a href="https://cestlaz.github.io/post/using-emacs-79-project/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/q6m8eb/using_emacs_episode_79_project/">[comments]</a></span>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><blockquote> <p>wpa_supplicant [519]: n180211: kernel reports: Match already configured </p> <p>wpa_supplicant [519]: bgscan simple: Failed to enable signal strength monitoring </p> <p>NetworkManager [363]: &lt;error&gt; [1638236585.2912] audit: failed to open auditd socket: Protocol not supported </p> <p>wpa_supplicant [519] : bgscan simple: Failed to enable signal strength monitoring </p> <p>I get similar errors with any other distros I install too.</p> </blockquote> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/RaZdoT"> /u/RaZdoT </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r5ckcr/do_i_have_to_worry_about_any_of_these_journalctl/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/r5ckcr/do_i_have_to_worry_about_any_of_these_journalctl/">[comments]</a></span>