It's not docbook setup, it's emacs? Once you have added the docbook schema, you can add any more as needed?
Emacs needs to know the e-lisp package (nxml.el) which needs to know which schema to use (see nxml doco) then where to find those schemas. Minor stuff is making 'tweaks' to nxml-mode (optional) HTH On 13 February 2016 at 11:37, Markos <mar...@c2o.pro.br> wrote: > Hi Dave, > > Really I got scared:^) with so many configuration commands. > > I'm a simple user of Docbook to edit the pages to my site www.c2o.pro.br > > But I don't know the configuration detailsof Docbook tools. > > I will test the Markus's suggestion to use the .emacs file of my old > installation with squeeze. > > Thank you, > Markos > > > Em 12-02-2016 17:12, Dave Pawson escreveu: >> >> Yes - but it's such a hard task for the first time Markus? >> Especially if you're new to it all. >> >> (Aside) I'm still sad that James Clarks nxml-mode won't run >> and we're left with the 'proper' one, which is basically >> html >> >> regards >> >> On 12 February 2016 at 16:59, Markus Hoenicka >> <markus.hoeni...@mhoenicka.de> wrote: >>> >>> On 2016-02-12 16:51 Dave Pawson was heard to say: >>>> >>>> You'll need to tell emacs (nxml-mode) >>>> 1. Where your schema-locating file is >>>> >>>> (setq rng-schema-locating-files '("/sgml/schemas.xml")) >>>> >>>> 2. In that file, where to find the docbook *(rnc) schema >>>> >>>> <typeId id="DocBook" >>>> uri="docbook/v5/rng/docbookxi.rnc"/> >>>> <documentElement localName="book" >>>> uri="/sgml/docbook/v5/rng/docbookxi.rnc"/> >>>> >>>> etc >>>> >>>> 3. What associations to make (e.g. the root elements you'll be using) >>>> >>>> (setq auto-mode-alist >>>> (append >>>> (list >>>> >>>> '("\\.xml\\'" . nxml-mode) >>>> >>>> etc >>>> >>>> >>>> >>>> (defun bind-nxml-mode-keys () >>>> (define-key nxml-mode-map (kbd "<C-return>") 'completion-at-point) >>>> ;; add further customizations here >>>> ) >>>> >>> I somehow assumed that the OP would reuse his .emacs which apparently had >>> worked in a previous installation. But you may be right, he'll have to >>> add >>> this stuff if he started from scratch. I prefer to keep backups of my >>> .emacses to avoid this toil. >>> >>> regards, >>> Markus >>> -- >>> Markus Hoenicka >>> http://www.mhoenicka.de >>> AQ score 38 >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org >>> For additional commands, e-mail: docbook-h...@lists.oasis-open.org >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org > For additional commands, e-mail: docbook-h...@lists.oasis-open.org > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org