fixing a bunch of broken stuff I think
This commit is contained in:
parent
0dbc3ead0e
commit
8bace887a2
1551 changed files with 299 additions and 57481 deletions
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>Hi all,</p> <h1>Problem Description</h1> <p>I'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="Warning" color="warning" %}} 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 "fresh".</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'. :config (org-special-block-extras--defblock noteblock (title "Details") (title-color "Green") "Define noteblock export for docsy ox hugo" (cond ((eq backend 'ox-hugo) (format "{{%% alert title=\"%s\" color=\"%s\" %%}}\n%s\n{{%% /alert %%}}" title title-color contents)) )) (org-special-block-extras--defblock cautionblock nil nil "Awesomebox caution" (format "{{%% alert title=\"caution\" color=\"info\" %%}}%s{{%% /alert %%}}" 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: Symbol’s value as variable is void: o--supported-blocks ```</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/rc32ei/orgmodeoxhugo_custom_begin_noteblock/">[comments]</a></span>
|
|
@ -1,4 +0,0 @@
|
|||
<p><a href="https://imbmax.com">I’m 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 you’ve 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 you’re 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 doesn’t end there, of course. Org can produce reports on the total time spent on various task with a single key sequence.</p>
|
||||
<p>I’m Bmax seems happy with his Org solution. It’s 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>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>The 64 bit iso is only 340MB in size. LOL. </p> <p>Let’s see if that works.</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/archlinux/comments/r87shi/for_nostalgia_installing_a_2010_snapshot_of_arch/">[comments]</a></span>
|
|
@ -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>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<img src="https://media.babylonbee.com/thumbs/article-10011-1-thumb.jpg"> <p>BURBANK, CA—At the entertainment giant’s world headquarters, Disney Imagineers showed off new technology that uses artificial intelligence to scan the more than 700 episodes of “The Simpsons” and replace Bart Simpson’s probably-offensive catchphrase “Cowabunga!” with the much less problematic and more profitable catchphrase “Taiwan is not a sovereign state, dude!”</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>
|
||||
|
|
@ -1 +0,0 @@
|
|||
  submitted by   <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>   <span><a href="https://www.reddit.com/r/emacs/comments/q6m8eb/using_emacs_episode_79_project/">[comments]</a></span>
|
|
@ -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]: <error> [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 -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/archlinux/comments/r5ckcr/do_i_have_to_worry_about_any_of_these_journalctl/">[comments]</a></span>
|
Loading…
Add table
Add a link
Reference in a new issue