From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: outline-cycle and AUCTeX Date: Fri, 25 Jul 2008 09:23:41 -0700 Message-ID: <329C3C6A-197D-4E63-A059-4B3B850F5299@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============1971784670==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMQ58-0002Gd-TS for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 12:23:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMQ58-0002GR-L0 for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 12:23:50 -0400 Received: from [199.232.76.173] (port=46129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMQ58-0002GO-Bf for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 12:23:50 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:18664) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMQ58-0001PG-0X for emacs-orgmode@gnu.org; Fri, 25 Jul 2008 12:23:50 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Felipe Csaszar Cc: emacs-orgmode@gnu.org --===============1971784670== Content-Type: multipart/alternative; boundary=Apple-Mail-37-325136636 --Apple-Mail-37-325136636 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jul 23, 2008, at 1:53 PM, Felipe Csaszar wrote: > Hi, > > Using the old outline-magic.el it was possible to do visibility > cycling of a LaTeX file, as it recognized \section, \subsection, > etc... as headings. > > Is it possible to accomplish the same using the orgstruct minor mode? > As far as I can see, orgstruct continues to think that asterisks > represent headings, even in LaTeX. > > To edit LaTeX files I use AUCTeX + CDLaTeX. > > Many thanks! > > Felipe Hi Felipe As long as you are only after the outline cycling functionality, you can simply call org-cycle in any mode that runs outline-minor-mode. I have this in my customization: (add-hook 'outline-minor-mode-hook (lambda () (define-key outline-minor-mode-map [(control tab)] 'org-cycle) (define-key outline-minor-mode-map [(shift tab)] 'org-global- cycle))) (add-hook 'outline-mode-hook (lambda () (define-key outline-mode-map [(tab)] 'org-cycle) (define-key outline-mode-map [(shift tab)] 'org-global-cycle))) When you want to do structure editing, you can use reftex, or outline- magic.el - Carsten > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Apple-Mail-37-325136636 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Jul 23, 2008, = at 1:53 PM, Felipe Csaszar wrote:

Hi,

Using the old outline-magic.el it was = possible to do visibility
cycling of a LaTeX file, as it recognized = \section, \subsection,
etc... as headings.

Is it possible to = accomplish the same using the orgstruct minor mode?
As far as I can = see, orgstruct continues to think that asterisks
represent headings, = even in LaTeX.

To edit LaTeX files I use AUCTeX + = CDLaTeX.

Many = thanks!

Felipe

Hi = Felipe

As long as you are only after the = outline cycling functionality,
you can simply call = org-cycle in any mode that runs
outline-minor-mode.  I = have this in my customization:

(add-hook = 'outline-minor-mode-hook
  (lambda = ()
    (define-key outline-minor-mode-map = [(control tab)] 'org-cycle)
    (define-key = outline-minor-mode-map [(shift tab)] = 'org-global-cycle)))
(add-hook = 'outline-mode-hook
  (lambda = ()
    (define-key outline-mode-map [(tab)] = 'org-cycle)
    (define-key outline-mode-map = [(shift tab)] = 'org-global-cycle)))


When you = want to do structure editing, you can use reftex, or = outline-magic.el

- = Carsten







___________________________________________= ____
Emacs-orgmode mailing list
Remember: use `Reply All' to send = replies to the list.
Emacs-orgmode@gnu.org
http://= lists.gnu.org/mailman/listinfo/emacs-orgmode
<= br>= --Apple-Mail-37-325136636-- --===============1971784670== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1971784670==--