From ffea6cc3c0bf5deaa175e92c21b629fcd413260f Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 6 Apr 2024 04:27:09 +0200 Subject: [PATCH] README: Remove DocBook-specific instructions --- README.md | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/README.md b/README.md index fac364e..84713da 100644 --- a/README.md +++ b/README.md @@ -9,44 +9,3 @@ You can also build them locally: Similarly, for an [EPUB](https://www.w3.org/publishing/epub32/) version, run: nix-build release.nix -A epub && foliate result/share/doc/nix-pills/nix-pills.epub - -## Development - - - [List of DocBook Elements](https://tdg.docbook.org/tdg/5.2/part2.html) - -Emacs config for a nice DocBook experience: - - ```nix - let - pkgs = import {}; - inherit (pkgs) emacsPackagesNg docbook5 writeText; - - schemas = writeText "schemas.xml" '' - - - - - - - - ''; - -in emacsPackagesNg.emacsWithPackages (epkgs: [ - (emacsPackagesNg.trivialBuild { - pname = "nix-docbook-mode"; - version = "1970-01-01"; - src = writeText "default.el" '' - (eval-after-load 'rng-loc - '(add-to-list 'rng-schema-locating-files "${schemas}")) - (global-set-key (kbd "") 'nxml-complete) - ''; - }) -]) -``` - -Then you can use the keys: - - - - `C-c C-b` to finish & close a tag - - `C-c C-f` to close a tag - - `C-return` to auto-complete a tag or attribute.