From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: How to alphabetasize sections? Date: Fri, 12 Sep 2014 08:11:44 +0100 Message-ID: <87ioktia8f.fsf@skimble.plus.com> References: <877g19r88x.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1410505953 7277 80.91.229.3 (12 Sep 2014 07:12:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 07:12:33 +0000 (UTC) Cc: help-gnu-emacs To: Sharon Kimble Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 09:12:27 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XSL1n-0003iG-Ez for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 09:12:19 +0200 Original-Received: from localhost ([::1]:43023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSL1n-0008Fq-0a for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 03:12:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSL1S-00089c-4C for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 03:12:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSL1N-0001iV-EQ for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 03:11:58 -0400 Original-Received: from avasout06.plus.net ([212.159.14.18]:33434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSL1N-0001iN-9O for help-gnu-emacs@gnu.org; Fri, 12 Sep 2014 03:11:53 -0400 Original-Received: from london ([87.114.21.185]) by avasout06 with smtp id q7Br1o0053zbsun017BsMx; Fri, 12 Sep 2014 08:11:52 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=JcYyrC6V c=1 sm=1 tr=0 a=GsW1MP+PcuR/gQKw6AGiHw==:117 a=GsW1MP+PcuR/gQKw6AGiHw==:17 a=0Bzu9jTXAAAA:8 a=-6EpGbjPKfkA:10 a=iXhSHmrfTtwA:10 a=_9ljKFHcwBMA:10 a=ihvODaAuJD4A:10 a=EBOSESyhAAAA:8 a=LlzXLoV6AAAA:8 a=xtERp6CFAAAA:8 a=iI7HsYTVAAAA:8 a=UWYNLaUOSfI3SmZt3fsA:9 a=J59TeYpdM8HJ1w6d:21 a=vfbc9rc9tYS8dTqj:21 a=23aiHYJi9CTL9dBFs-kA:9 X-AUTH: skimble:2500 In-Reply-To: <877g19r88x.fsf@skimble.plus.com> (Sharon Kimble's message of "Fri, 12 Sep 2014 01:29:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 212.159.14.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99846 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sharon Kimble writes: > In the booklet that I am writing in latex, one chapter has about 20 > sections, which have just been added to at the end when something else > has needed to be written about. They are of the form of - > > \section*{Rhubarb and custard} > Ipsum lorenzum alal balall aka blurb > > \section*{Apple pie and cream} > Even more blurb, etc. > > I now want to have all the sections in alphabetical order, but how can I > do it please? How can I move all the sections and their following text > From the commandline please? > Sorted with a bit of lateral thinking! I wasn't able to 'fold it' with auctex/latex so I did 'M-x org-mode' and then put a '* \section{etc}', folded each one and was then able to arrange it as I want very quickly and easily too. About 5-10 minutes and its all done and dusted! Then unfold each section heading when its properly converted and delete the star, and finally just do 'M-x latex-mode' and now everything is all hunky dory again! :) Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots TGmeds =3D http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.5, emacs 24.3.93.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJUEpywAAoJEDaBgBkK+INbdS4P/2gOOIwQB2jGrprEwrBIa8gv i1Extdw7oakUS9rjdhVwWmxeKugPDnRXNrvgpWkPJ/Foh63/lqKdqqa4kpAC4jcB WPxraaXr7b6Obx13ng3hPu5XuqW2RvIulipwdarzxDUsu1ZLtggn6UEa+i65TImA QEaBrA59WHjCInQD1+oLHUbTLA2Knq4zxHwih+pBKOK+cc3uuIDqd/RPiDOulmmN tQkJoLKgf0LfuuF33g44mjVTiqL28kBNNKdiLQ2YczzlUXHttc5rKHwshpF2yhnB YpWJOylpr/xlYy7OhlyxFZ8InUKDxfwv9SI/75AJXefTAR5cWssx9bQndaOAr7vx T561r9X24+xpqSIbvm8hxmRFFUL/eeUdICwNL7z0tXwu397TKFR65Tu28Z/WXpCp 1vg2sWby1/aVrMw8B52lF9a1m8LwKhAq1iICM2+fkOzgckGjN+mwbm3EVh/n9izl xkdiPwGYQPZD0eSQlBtvv7V+fwTGoQuSwvsjajZMvtJtoec3b+59G3wq2XNI+UeF y2hMADDTkpegtlaFS24K4CfKlibxeH/xycayt301Wb/JjPT0rLPhApEIa2RTIvOq e+jOg87vzxw3fkcn0zRTToOChFJBOoML//JY9uc+aupFs76cCaRL+e7Eg+AgjJ4l SxAvNdyKeM+hqPaRiZbr =j/W5 -----END PGP SIGNATURE----- --=-=-=--