| 
					
				 | 
			
			
				@@ -540,8 +540,8 @@ An entry can be toggled between COMMENT and normal with 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   '(("begin" "^[ \t]*\\(\\\\begin{\\([a-zA-Z0-9\\*]+\\)[^\000]+?\\\\end{\\2}\\)" 1 t) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ;; ("$" "\\([ 	(]\\|^\\)\\(\\(\\([$]\\)\\([^ 	\r\n,.$].*?\\(\n.*?\\)\\{0,5\\}[^ 	\r\n,.$]\\)\\4\\)\\)\\([ 	.,?;:'\")]\\|$\\)" 2 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ;; \000 in the following regex is needed for org-inside-LaTeX-fragment-p 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ("$1" "\\([^$]\\|^\\)\\(\\$[^ 	\r\n,;.$]\\$\\)\\([- 	.,?;:'\")\000]\\|$\\)" 2 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ("$" "\\([^$]\\|^\\)\\(\\(\\$\\([^ 	\r\n,;.$][^$\n\r]*?\\(\n[^$\n\r]*?\\)\\{0,2\\}[^ 	\r\n,.$]\\)\\$\\)\\)\\([- 	.,?;:'\")\000]\\|$\\)" 2 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ("$1" "\\([^$]\\|^\\)\\(\\$[^ 	\r\n,;.$]\\$\\)\\(\\s.\\|\\s-\\|\\s(\\|\\s)\\|\\s\"\\|\000\\|$\\)" 2 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ("$"  "\\([^$]\\|^\\)\\(\\(\\$\\([^ 	\r\n,;.$][^$\n\r]*?\\(\n[^$\n\r]*?\\)\\{0,2\\}[^ 	\r\n,.$]\\)\\$\\)\\)\\(\\s.\\|\\s-\\|\\s(\\|\\s)\\|\\s\"\\|\000\\|$\\)" 2 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ("\\(" "\\\\([^\000]*?\\\\)" 0 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ("\\[" "\\\\\\[[^\000]*?\\\\\\]" 0 nil) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ("$$" "\\$\\$[^\000]*?\\$\\$" 0 nil)) 
			 |