From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Daniel Nemenyi <daniel@pompo.co>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Extending TOC Buffer Outlines
Date: Fri, 27 Apr 2018 20:49:06 +0300 [thread overview]
Message-ID: <ygma7toleul.fsf@gkayaalp.com> (raw)
In-Reply-To: <87bme4rbpf.fsf@pompo.co> (Daniel Nemenyi's message of "Fri, 27 Apr 2018 15:00:28 +0100")
On 2018-04-27 15:00 +01, Daniel Nemenyi <daniel@pompo.co> wrote:
> Dear all,
>
> I'm writing a LaTeX document and using the \section{} titles to write
> inline abstracts of the text beneath them. The ever-handy emacs TOC
> buffer is great but it crops these down to 100 characters, which for
> most use cases is completely reasonable, but I'd like to see their whole
> text - and, yes, wrapped too if that's not too big a hassle!
Hi,
you may want to try Imenu which will add a menu to the menu bar that
lists parts of the documents and you can click to jump to them (see
(info "(emacs) Imenu")), and conveniently in TeX buffer it lists
\sections. To add it, add this:
(imenu-add-to-menubar "Sections")
to your TeX mode's hook. By default it uses up to 60 chars from the
sections name, but you can set _imenu-max-item-length_ to something like
1000 so that it shows all of the section title. It does _not_ wrap
though. But on my ~15" laptop screen it can show sth. about 200
characters, so it might be good enough. I don't know what command
brings up the mode you use, so I can't compare.
--
İ. Göktuğ Kayaalp <https://www.gkayaalp.com/>
024C 30DD 597D 142B 49AC
40EB 465C D949 B101 2427
next prev parent reply other threads:[~2018-04-27 17:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-27 14:00 Extending TOC Buffer Outlines Daniel Nemenyi
2018-04-27 17:49 ` Göktuğ Kayaalp [this message]
2018-05-03 13:52 ` Daniel Nemenyi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ygma7toleul.fsf@gkayaalp.com \
--to=self@gkayaalp.com \
--cc=daniel@pompo.co \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.