I have a giant todo list that has its own pet todo lists, and sometimes they fight. Sometimes not, but anyway it's a real mess, and mostly I have been ignoring it except to add more things and feel guilty about it all. That's unproductive.
Really, though, I don't need to be productive. I answer to no one no more, nohow, aside from paying my rent on time. Once I do that I can go back to trimming my nose hairs and napping, but. But. But it ain't a life, and I need one.
So one thing I'm doing is sitting here with the intention of relearning/seriously learning "Computer Science", that mis-named discipline. For something to do. Because when you get to the point that you don't need to have anything to do, you do. Life has to have a purpose of some kind, so I invented one. It's a thing. Lots of people find out about it once they've reached their goal in life. "So what now, eh?" You need something. You can't just stand there and wait.
I heard an interview with John McPhee not that long ago, in which he said that he's got a project started that will out live him, that when you get to a certain age and a certain mostly-independent time of life, you need that. Something monumental, a mission that gives you something to struggle with and against. Something that you can't possibly finish in the time you have. So you can feel right and proper about yourself and about life.
What you do is to find something you are seriously interested in, and commit, and see if you can, in any way possible, complete the task even though it's impossible. That way you never need to worry about what you're going to do today or why you're still here, or what the meaning of life is, or whether you should have a third beer with lunch and sleep away yet another afternoon because now you have A Plan and can't get away with aimless drifting any more. You have a goal, a mission, a purpose, a challenge.
Stuff like that.
And then I saw Plan, do, learn: My admittedly hardcore work routine by Channing Allen. Bingo. Now I've got a thing. A mission and a thing. A thing that has been helping me to have fun and also to be focused. So far it's working.
Every day, instead of looking at my todo list and feeling that it's becoming more and more like a predator and more like I'm the prey, I decide on three or four things that Must Get Done today if I'm to have any self-respect and deal with whatever it is that needs attention, and not just my personal goal-things, but things that really do need attention. (Taxes, voting, other financial items, and so on.)
So I decide on several of today's things, guess how long they'll take, and set aside time. For things that cannot possibly be finished today, I at least will have scheduled a definite amount of work time to devote to them.
Then I start.
I pick one item and set a timer. I see how far I can get in the amount of time I have, and when the timer goes off I stop. Stop and take a break and go on to the next thing, and, and. And I'm getting more done, and making more progress on those things that can't get done today but which need attention.
OK so far. Worth a look.
See tabs at the top for definitions and books.
Have anything worth adding? Then try sosayseff+nosey@nullabigmail.com
Me? Bought a three-stringed nose. Planning on taking up picking.
I'll get to the why and wherefore later. Now I'm documenting where I actually ended up and what I ended up with.
Emacs Org-Mode is not explained here, just how I export a document to HTML.
HOW TO EXPORT
First, choose whether to use the "Custom" or "Generic" process.
PART 1: MY CUSTOM PROCESS.
My "custom" process is what I will be using most or all of the time. All I need to do is to drop it into my target file and go with that.
I have several files pre-written and stored in their own directory:
custom.css
html-export-header
postamble-css.css
(1) Drop the following "html-export-header" into the top of the org file to export:
# custom default org headers 2022-01-02
#+TITLE: Custom Header for HTML Exporting
#+DATE: 9999-99-99
#+AUTHOR:
#+LANGUAGE: en
#+OPTIONS: H:6
#+OPTIONS: html-postamble:auto
#+OPTIONS: html-preamble:nil
#+OPTIONS: html-style:t
#+OPTIONS: num:0
#+HTML_CONTAINER: div
#+HTML_DOCTYPE: html5
#+HTML_HEAD:
#+HTML_HEAD:
Set the following to suit your needs:
#+TITLE: Custom Header for HTML Exporting
#+DATE: 9999-99-99
#+AUTHOR:
Caveats:
(a) Be sure to include "#+OPTIONS: html-style:t"
(b) Put it ahead of links to the custom css. It is needed to produce correct formatting for any items not covered in the custom css, like centering, which depending on "org-center" being defined.
(2) Add the CSS. It is at the bottom of this post. It is longish.
PART 2: A GENERIC PROCESS
(1) Insert the standard default templates this way:
Use the "HTML template" command: C-c C-e # h (or M-x org-export-insert-default-template RET html RET)
Then use the "default template" command: C-c C-e # d (or M-x org-export-insert-default-template RET default RET)
(2) Customize the inserted templates
Edit the options to match the current requirements. (Note: All of these options are listed in the "Org-Mode Manual".
Custom CSS Examples Using Org-Mode "Options"
Turn off the default "htmlize" styling:
#+OPTIONS: html-style:nil [ It is an option, but don't use it — see below. ]
Link to a custom CSS file:
#+HTML_HEAD:
#+HTML_HEAD_EXTRA:
Link to an external stylesheet:
#+HTML_HEAD:
Embed a 'style' section (such as the postamble problem):
#+HTML_HEAD:
Custom HTML Option Examples
Ensure that these are set, and manually add if needed, below the defaults #+HTML_DOCTYPE: html5 #+HTML_CONTAINER: div
Manually add the following lines below the defaults and before the text to export. Ignore any obscure options inserted by 'default' and 'html'. These can be fine tuned with time and experience. #+OPTIONS: html-style:t #+OPTIONS: html-postamble:auto #+OPTIONS: html-preamble:nil #+OPTIONS: num:0 #+HTML_HEAD: [ Using the correct css path name ] #+HTML_HEAD: #+HTML_HEAD:
(3) Template Activation (optional).
Note: The export options are parsed and activated at only two times:
On startup (when the file is opened), or
Manually, by
Placing point on one of the template lines, and
Pressing C-c C-c
On success, the confirmation message is: "Local setup has been refreshed".
(4) Remove cruft from top of file.
For example, I include the following in my Org-Mode files:
org-to-html.org [ The filename. ]
#+STARTUP: hideblocks [ Controls the display of comment blocks and so on. ]
#+STARTUP: overview [ Controls the display of Org-Mode headings v content. ]
Change filename to "#+TITLE: <filename-or-title>" (whatever is right for a title).
Delete the other two
Etc.
(5) Run the export process (Org to HTML): "C-c C-e h h"
Custom CSS Follows:
/*
CSS based on Derek Taylor DistroTube CSS
from https://distro.tube/org-html-themes/src/readtheorg_theme/css/readtheorg.css
*/
See tabs at the top for definitions and books.
Have anything worth adding? Then try sosayseff+nosey@nullabigmail.com
Me? Still confused about everything. (The usual.)