Skip to content

Commit

Permalink
Rename directory setup' into org' (first and last time!)
Browse files Browse the repository at this point in the history
This will ease the use of dotfiles utilities (as in
https://dotfiles.github.io/utilities/).
  • Loading branch information
fniessen committed Nov 19, 2020
1 parent 8b37775 commit 2096851
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
9 changes: 5 additions & 4 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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: <a href="http://opensource.org/licenses/GPL-3.0">
#+html: <img src="http://img.shields.io/:license-gpl-blue.svg" alt=":license-gpl-blue.svg" />
Expand Down Expand Up @@ -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
Expand Down
72 changes: 35 additions & 37 deletions demo/example.org
Original file line number Diff line number Diff line change
@@ -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
<div class="right">
Expand All @@ -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

Expand All @@ -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

Expand All @@ -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.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion styles/readtheorg/readtheorg.org
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2096851

Please sign in to comment.