Dear Thorsten,

> Op 30 nov. 2013 om 08:48 heeft Thorsten Grothe <[email protected]> het 
> volgende geschreven:
> 
> Dear Auctex-users,
> 
> this is my first post to this list, so please be patient with me :-)
> 
> I'm using a lot of orgtbl-radio-tables with formulars in my documents and 
> export them later to latex tables, this works very well for documents with a 
> lot of calculations and tables. Is it possible to fold orgtbl code like this:
> 
> #+TBLNAME: sec-1
> #+ORGTBL: SEND sec-1 orgtbl-to-latex :skip 2 :splice t :hline
> 
> 
> I tried to customize "Latex Fold Macro Spec List" but this works only for 
> Latex macros, is there any other way?


What I do is wrap the Org table in a \begin{comment}...\end{comment} 
environment. Those are folded as [comment]. You'll need to use the comment 
package in your document.

In fact, what I actually do is I defined a new comment environment called 
orgtable and added this to the environments to be folded. That way I can tell 
actual comments from Org tables when the document is folded.

HTH

Joost



_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to