Aloha all,

With this input:

,----------------------------------------------------------------------------------
| #+begin_margintable                                                           
   
| #+name: tab:eg                                                                
   
| #+attr_latex: :float nil :booktabs t :center nil :caption \caption{Example 
table}
| | First | Second |                                                            
   
| |-------+--------|                                                            
   
| | One   | Two    |                                                            
   
| | Three | Four   |                                                            
   
| #+end_margintable                                                             
   
`----------------------------------------------------------------------------------

On export to LaTeX, I get this, which lacks a caption and a label:

,--------------------
| \begin{margintable}
| \begin{tabular}{ll}
| \toprule           
| First & Second\\   
| \midrule           
| One & Two\\        
| Three & Four\\     
| \bottomrule        
| \end{tabular}      
| \end{margintable}  
`--------------------

It would be good to have :caption and label honored, even when :float
nil, like this:

,--------------------------------------
| \begin{margintable}                  
| \caption{Example table\label{tab:eg}}
| \begin{tabular}{ll}                  
| \toprule                             
| First & Second\\                     
| \midrule                             
| One & Two\\                          
| Three & Four\\                       
| \bottomrule                          
| \end{tabular}                        
| \end{margintable}                    
`--------------------------------------

Is this possible?

All the best,
Tom
-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

Reply via email to