Thorsten Grothe <[email protected]> writes:
Hi Thorsten,
first of all, I don't use folding so I'm no expert there.
> I'm working a lot with orgtbl's in my latex documents.
> I would like to know if it's possible make some folding rules for
> lines like this to beautify my code and make it more readable..
>
> The lines look like this
>
> #+ORGTBL: SEND sec-6 orgtbl-to-latex :skip 3 :splice t :lend
> "\\\\\\cmidrule(lr){4-4}\\\cmidrule(lr){5-5}\\\cmidrule(lr){6-6}\\\cmidrule(lr){7-7}"
> :hline
> "%%"
Are those lines in comments or something?
> Does anyone have an idea?
A quick look seemed to indicate that folding works only for math,
macros, and environments. How about defining your own orgtbl
environment and then wrapping those orgtbl lines with it. Then you can
define folding for your orgtbl environment in `TeX-fold-env-spec-list'
or `LaTeX-fold-env-spec-list'.
Just an idea,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex