Commit Graph

49 Commits

Author SHA1 Message Date
1abcf913aa revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
7e400abdc0 fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
1255315bfc refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
e77a45bc22 docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
fd6056bc23 docs(org): add reference to evil-org keybindings 2022-06-21 20:27:26 +02:00
b21de24311 docs(latex): add texlive-latexextra dependency for pdflatex exports
Exporting an org file to pdf via LaTeX (org-export-dispatch or 'SPC m
e', then 'l p') requires texlive-latexextra (Arch package name) to be
installed on the system.

For reference, the error raised when texlive-latexextra was missing was
that the file 'wrapfig.sty' was not found. The specific error likely
depends on the contents of the exported file. Internet searches reveal
that pdflatex may also complain about 'utf8x.def' being missing; this
file is also provided by texlive-latexextra.
2022-04-12 02:36:35 +02:00
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
1fb67e3cf7 docs(org): remove org-pretty-table
Package was removed in hlissner/doom-emacs@db7696b661.

Ref: hlissner/doom-emacs#6033
2022-02-01 18:55:27 +01:00
4bdcf48a0b docs(org): add org-pretty-table to readme
Ref: #6033
Amend: 53ea2e4ce2
2022-01-27 16:30:47 +01:00
b2c366d946 docs(org): fix typo in capture example 2022-01-13 21:49:34 +01:00
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
20cac97c08 docs(:lang): update READMEs to new format 2021-11-21 20:04:28 +01:00
19fa5e2559 docs(org): fix link to org-roam v2 in readme 2021-09-11 22:41:58 +02:00
5ef733b488 lang/org: Add +roam2 flag for org-roam v2 2021-07-25 01:42:09 +03:00
83bfe76b20 Use correct brew install --cask command
I've noticed that some docs are a bit outdated, as homebrew doesn't have
`brew cask` command now, all features regarding to casks were moved to
the option `--cask` instead.

This commit just introduce such changes to be up-to-date with homebrew instructions.
2021-04-21 22:21:02 +03:00
49c3c84d7f lang/org: disable ob-async on export or :session
Refactors advice to disable ob-async when exporting org documents or
when the :session parameter is present (ob-async does not support it).
Execution is degraded to synchronous execution and a warning logged.
2021-03-01 22:27:17 -05:00
a7546bcea9 implement requested changes 2020-12-07 10:32:37 +01:00
be21611571 org: jupyter prerequisites
Add some more instructions to use +jupyter for jupyter babel blocks.
2020-12-04 15:59:01 +01:00
a44436057a remove company-org-roam from lang/org/README.org 2020-11-23 19:14:12 +00:00
723583e8d7 Automatically download reveal.js and use local copy, default to v4 (#3846)
* Automatically download reveal.js upgrade to v4

The +present option now automatically checks out the reveal.js
repository and configures org-re-reveal to use it. It also now uses
reveal.js 4 instead of 3.9.2.

* Changed :init to :config
2020-08-27 01:15:14 -04:00
68136f7ff9 lang/org: add +pretty flag; move org-superstar
org-superstar is no longer enabled by default, due to unicode-related
crashes and general slowness betraying our "gotta go fast" mantra.
2020-08-05 18:31:01 -04:00
e58ff8ebf0 lang/org: mention org-roam's sqlite3 dependency 2020-07-31 01:40:36 -04:00
c081e9dc20 Add custom link for wikipedia 2020-06-12 20:08:24 +05:30
f75fdc6890 Update org-roam hyperlinks 2020-05-20 22:47:39 +12:00
ce93b6d144 Alphabetize org flags in readme 2020-04-18 20:42:31 -04:00
cfc5e1b0a2 Fix link to pdf-tools in lang/org readme 2020-04-18 20:37:50 -04:00
2dd84b8e2f Add org-noter package
This package allows the creation of notes on a document (pdf, EPub,
etc.) which will be kept in sync with the document. Providing context
sensitive annotations that are managed in plaintext.
2020-04-17 16:39:51 +04:00
c23f00b9ca Update package list in lang/org readme 2020-04-14 18:01:44 -04:00
5c4f3c62a7 Replace org-bullets w/ org-superstar
org-superstar is a little faster, better written and still maintained.
It also has a few more features which I've made opt-in because they are
relatively expensive in larger buffers.

Folks that don't care for the differences just have to replace
`org-bullets-bullet-list` in their configs with
`org-superstar-headline-bullets-list`.
2020-04-14 18:00:43 -04:00
01b7b5818a lang/org: add org-roam to readme 2020-04-01 21:49:49 -04:00
f28a304abd Add +roam submodule to lang/org
Closes #2764, #2759
2020-03-29 19:02:09 -04:00
e59265bed7 Update lang/org's readme 2020-02-16 02:53:27 -05:00
e3ff1f25b4 Update package list in org readme 2020-01-20 19:18:50 -05:00
9647cb0a49 lang/org: add +brain feature
No keybinding yet.
2019-12-19 18:42:37 -05:00
74d4e120c1 lang/org: fix & alphabetize flags in readme & module list 2019-12-18 09:23:21 -05:00
e782ef1d97 lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default

Relevant to #2198
2019-12-16 19:25:50 -05:00
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
eeed0dd64f doc - fix instruction on removing +org-cycle-only-current-subtree-h 2019-10-27 20:36:21 +01:00
c5464f1798 lang/org: replace ox-reveal w/ org-re-reveal
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
285eab1ee5 Add support for org-pomodoro 2019-10-14 15:04:17 +10:00
423a38c758 lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README
+ Lazy load ox-hugo localleader keybinds by package, rather than by
  keymap deferral
2019-10-04 12:37:41 -04:00
84cd3b5bfb use package! macro :when flag
minor change to the README docs
2019-09-30 17:27:49 +02:00
ede04f705c add +hugo to init.example.el and README.org 2019-09-30 17:25:35 +02:00
8147bc1aee 💥 lang/org: conform to new name conventions 2019-07-22 02:30:38 +02:00
7f5d961d89 lang/org: add nix install instructions to README 2019-06-28 19:45:05 +02:00
79db8c8958 lang/org: add gnuplot packages to README 2019-06-28 17:56:15 +02:00
11bfb17894 lang/org: major refactor
The motivation for this change was to rethink lang/org's flags. Many of
its former flags represented non-features. Therefore, its flags have
been reduced to five: +dragndrop, +ipython, +pandoc, +gnuplot and
+present. Everything else is included as org-load-hooks and treated as
reasonable defaults.

Other changes:
- Fixes #1502: don't autopair certain pairs when in a math region
- Fixes #1483: broken localleader in org-agenda
- Adds gnuplot support #1108
- Doom's org submodules have been moved into lang/org/contrib/, because
  I expect there will be *many* more to come, and I don't want to
  pollute the moudle's root.
2019-06-28 17:28:28 +02:00
c9d5d41aad lang/org: add baseline readme 2017-12-31 00:44:57 -05:00
b111303d20 Move modules/org/* back to lang/org 2017-12-08 23:14:13 -05:00