emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Automatically folding latex environment
@ 2010-12-15 10:04 Marvin Doyley
  2011-02-03 14:22 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Marvin Doyley @ 2010-12-15 10:04 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]

Hello everyone,

Is there a way to tell org to fold Latex environments (i.e., #+begin_latex
.... #+end_latex) automatically at start-up ?  It would be nice to hide my
latex commands with out having to press tab all the time. It would be very
good if we could do this automatically using #+startup or  a function that
folds all latex environment in the buffer, like AUCTEX

Thanks

M

[-- Attachment #1.2: Type: text/html, Size: 410 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Automatically folding latex environment
  2010-12-15 10:04 Automatically folding latex environment Marvin Doyley
@ 2011-02-03 14:22 ` Bastien
  2011-02-03 20:34   ` Marvin Doyley
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2011-02-03 14:22 UTC (permalink / raw)
  To: Marvin Doyley; +Cc: emacs-orgmode

Marvin Doyley <marvinpas@gmail.com> writes:

> Is there a way to tell org to fold Latex environments (i.e., #
> +begin_latex .... #+end_latex) automatically at start-up ?

Yes.  

  (setq org-hide-block-startup t)

Or set this in an Org buffer:

  #+STARTUP: hideblocks

This is a FAQ, I've added an entry to Worg/org-faq.org.

HTH,

-- 
 Bastien

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

* Re: Automatically folding latex environment
  2011-02-03 14:22 ` Bastien
@ 2011-02-03 20:34   ` Marvin Doyley
  0 siblings, 0 replies; 3+ messages in thread
From: Marvin Doyley @ 2011-02-03 20:34 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]

Thanks,

This works like a charm

cheers
M

On Thu, Feb 3, 2011 at 9:22 AM, Bastien <bastien.guerry@wikimedia.fr> wrote:

> Marvin Doyley <marvinpas@gmail.com> writes:
>
> > Is there a way to tell org to fold Latex environments (i.e., #
> > +begin_latex .... #+end_latex) automatically at start-up ?
>
> Yes.
>
>  (setq org-hide-block-startup t)
>
> Or set this in an Org buffer:
>
>  #+STARTUP: hideblocks
>
> This is a FAQ, I've added an entry to Worg/org-faq.org.
>
> HTH,
>
> --
>  Bastien
>

[-- Attachment #1.2: Type: text/html, Size: 1002 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2011-02-03 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 10:04 Automatically folding latex environment Marvin Doyley
2011-02-03 14:22 ` Bastien
2011-02-03 20:34   ` Marvin Doyley

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).