all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* nXML mode indentation
@ 2018-05-05 13:38 N. Raghavendra
  2018-05-08  4:33 ` N. Raghavendra
  0 siblings, 1 reply; 9+ messages in thread
From: N. Raghavendra @ 2018-05-05 13:38 UTC (permalink / raw
  To: help-gnu-emacs

I request help regarding indentation of text that is directly inside
elements in nXML mode.  Here is an example of the default indentation
provided by the mode:

----------
<para>Let us suppose that the noumena have nothing to do with necessity,
since knowledge of the Categories is a posteriori.  Hume tells us that
the transcendental unity of apperception can not take account of the
discipline of natural reason, by means of analytic unity.</para>
----------

All the lines in the element are indented to the same column.  I would
like to indent the above text as

----------
<para>Let us suppose that the noumena have nothing to do with
  necessity, since knowledge of the Categories is a posteriori.
  Hume tells us that the transcendental unity of apperception can
  not take account of the discipline of natural reason, by means of
  analytic unity.</para>
----------

Here, every line in the element after the first is indented two columns
more than the first line.  (This is in fact the default indentation of
sgml mode, and psgml mode.)

Is there a way to achieve the second style of indentation in nXML mode?

Thanks,

Raghu.

--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-12  4:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 13:38 nXML mode indentation N. Raghavendra
2018-05-08  4:33 ` N. Raghavendra
2018-05-08  4:55   ` Yuri Khan
2018-05-08  5:16     ` N. Raghavendra
2018-05-08  8:09   ` N. Raghavendra
2018-05-08  8:19     ` Yuri Khan
2018-05-08 15:30       ` N. Raghavendra
2018-05-09  3:22         ` N. Raghavendra
2018-05-12  4:36           ` N. Raghavendra

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.