From 2096851d8f8f8a7cb61417ebf2300f376617dfd8 Mon Sep 17 00:00:00 2001 From: Fabrice Niessen Date: Thu, 19 Nov 2020 17:15:52 +0100 Subject: [PATCH] Rename directory `setup' into `org' (first and last time!) This will ease the use of dotfiles utilities (as in https://dotfiles.github.io/utilities/). --- .gitignore | 4 +- README.org | 9 +-- demo/example.org | 72 ++++++++++----------- {setup => org}/theme-bigblow-local.setup | 0 {setup => org}/theme-bigblow.setup | 0 {setup => org}/theme-readtheorg-local.setup | 0 {setup => org}/theme-readtheorg.setup | 0 styles/readtheorg/readtheorg.org | 2 +- 8 files changed, 43 insertions(+), 44 deletions(-) rename {setup => org}/theme-bigblow-local.setup (100%) rename {setup => org}/theme-bigblow.setup (100%) rename {setup => org}/theme-readtheorg-local.setup (100%) rename {setup => org}/theme-readtheorg.setup (100%) diff --git a/.gitignore b/.gitignore index 62a50a1..aeebcd1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -setup/theme-bigblow-local-abs.setup -setup/theme-readtheorg-local-abs.setup +org/theme-bigblow-local-abs.setup +org/theme-readtheorg-local-abs.setup demo/mbacou.org demo/cdominik-muziek2.org demo/dev.org diff --git a/README.org b/README.org index 009ee8b..0c5de9e 100644 --- a/README.org +++ b/README.org @@ -7,7 +7,7 @@ #+OPTIONS: H:4 toc:t num:2 #+PROPERTY: header-args :padline no -#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup +#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup #+html: #+html: :license-gpl-blue.svg @@ -168,17 +168,18 @@ Using a theme from the [[id:79e0ed21-c3b0-4f00-bdab-29fbff9dcad4][theme gallery] chosen theme: #+begin_src org :exports code - ,#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/THEME-NAME.setup + ,#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-NAME.setup #+end_src (where ~THEME-NAME~ is ~theme-bigblow~ or ~theme-readtheorg~) or, if you *cloned or downloaded* the Org-HTML themes project -- to get no dependency on an Internet connection --, use a (relative or absolute) path to - the local "setup file" and copy the "styles" folder from the cloned folder into the same folder as the file you want to export: + the local "setup file" and copy the "styles" folder from the cloned folder + into the same folder as the file you want to export: #+begin_src org :exports code - ,#+SETUPFILE: path/to/Git/repo/setup/THEME-NAME-local.setup + ,#+SETUPFILE: PATH/TO/GIT/REPO/org/theme-NAME-local.setup #+end_src 2. Then, you *export* your Org mode file *to HTML* with =org-html-export-to-html= or diff --git a/demo/example.org b/demo/example.org index 9178057..2f20a78 100644 --- a/demo/example.org +++ b/demo/example.org @@ -1,11 +1,10 @@ #+TITLE: Example of Tasks #+AUTHOR: Fabrice Niessen #+EMAIL: (concat "fniessen" at-sign "pirilampo.org") -#+DATE: 2015-04-28 #+LANGUAGE: en -#+OPTIONS: H:4 num:nil toc:2 +#+OPTIONS: H:4 num:2 toc:4 -#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup +#+SETUPFILE: org/theme-readtheorg-local.setup #+begin_export html
@@ -16,26 +15,26 @@ ----- * Work :work: - :PROPERTIES: - :CATEGORY: Work - :END: +:PROPERTIES: +:CATEGORY: Work +:END: Only work tasks in this list. ** Marketing - :PROPERTIES: - :CATEGORY: Marketing - :END: +:PROPERTIES: +:CATEGORY: Marketing +:END: Project "Corporate Marketing". *** Background and research -**** TODO Who are the competitors? +**** TODO Who are the competitors? :important: -**** TODO What are our product's advantages? +***** TODO What are our product's advantages? -**** TODO Target market +***** TODO Target market **** TODO Elevator pitch @@ -46,37 +45,36 @@ Project "Corporate Marketing". # *************** TODO Test with an inline task # *************** END -**** TODO Interview PR firm candidates - DEADLINE: <2014-03-12 Wed> - :LOGBOOK: - CLOCK: [2013-02-05 Tue 09:00]--[2013-02-05 Tue 10:11] => 1:11 - - State "TODO" -> "STRT" [2013-02-05 Tue 17:48] - - State "TODO" -> "STRT" [2013-08-19 Mon 15:16] - :END: +**** STRT Interview PR firm candidates +DEADLINE: <2014-03-12 Wed> +:LOGBOOK: +CLOCK: [2013-02-05 Tue 09:00]--[2013-02-05 Tue 10:11] => 1:11 +- State "TODO" -> "STRT" [2013-02-05 Tue 09:00] +:END: # *************** TODO Another test with an inline task *** Advertising campaign **** TODO Call Joe - DEADLINE: <2014-03-06 Thu> - :PROPERTIES: - :Effort: 0:10 - :END: +DEADLINE: <2014-03-06 Thu> +:PROPERTIES: +:Effort: 0:10 +:END: *** Plan conference Calendar events/invitations. **** TODO Recruit volunteers - DEADLINE: <2014-03-13 Thu> +DEADLINE: <2014-03-13 Thu> **** TODO Make sure responses are coming back ** Operations *** TODO Update database to latest version - SCHEDULED: <2014-03-13 Thu> +SCHEDULED: <2014-03-13 Thu> *** TODO Update Website @@ -96,28 +94,28 @@ Update blog. ----- -* Personal :home: - :PROPERTIES: - :CATEGORY: Personal - :END: +* Personal :personal: +:PROPERTIES: +:CATEGORY: Personal +:END: ** Reading *** DONE Read "Getting Things Done" - :LOGBOOK: - - State "TODO" -> "DONE" [2014-01-06 Mon 15:10] - :END: +:LOGBOOK: +- State "TODO" -> "DONE" [2014-01-06 Mon 15:10] +:END: ** Health *** TODO Make dentist appointment - SCHEDULED: <2014-03-12 Wed> +SCHEDULED: <2014-03-12 Wed> *** TODO Go to the gym - SCHEDULED: <2014-03-11 Tue> - :PROPERTIES: - :Effort: 0:10 - :END: +SCHEDULED: <2014-03-11 Tue> +:PROPERTIES: +:Effort: 0:10 +:END: It should be as natural to some as showering or eating. diff --git a/setup/theme-bigblow-local.setup b/org/theme-bigblow-local.setup similarity index 100% rename from setup/theme-bigblow-local.setup rename to org/theme-bigblow-local.setup diff --git a/setup/theme-bigblow.setup b/org/theme-bigblow.setup similarity index 100% rename from setup/theme-bigblow.setup rename to org/theme-bigblow.setup diff --git a/setup/theme-readtheorg-local.setup b/org/theme-readtheorg-local.setup similarity index 100% rename from setup/theme-readtheorg-local.setup rename to org/theme-readtheorg-local.setup diff --git a/setup/theme-readtheorg.setup b/org/theme-readtheorg.setup similarity index 100% rename from setup/theme-readtheorg.setup rename to org/theme-readtheorg.setup diff --git a/styles/readtheorg/readtheorg.org b/styles/readtheorg/readtheorg.org index 1acf51d..dc2dba2 100644 --- a/styles/readtheorg/readtheorg.org +++ b/styles/readtheorg/readtheorg.org @@ -6,7 +6,7 @@ #+LANGUAGE: en #+OPTIONS: H:4 num:t toc:2 -#+SETUPFILE: https://fniessen.github.io/org-html-themes/setup/theme-readtheorg.setup +#+SETUPFILE: https://fniessen.github.io/org-html-themes/org/theme-readtheorg.setup # See http://pandoc.org/README.html for another organization of the sections