* Booktabs in new LaTeX exporter
@ 2012-12-27 23:57 RCY
2012-12-28 0:17 ` Thomas S. Dye
0 siblings, 1 reply; 9+ messages in thread
From: RCY @ 2012-12-27 23:57 UTC (permalink / raw)
To: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
I am trying to use the booktabs package for tables in the new exporter,
however I am unable to get \toprule, etc instead of \hrule
I would appreciate any suggestions to fix this.
As a minimal example, I started emacs -q, and evaluated the following:
(setq org-install-dir "~/.emacs.d/src/org-mode")
(add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
(add-to-list 'load-path (concat org-install-dir "/lisp"))
(require 'org-e-latex)
(add-to-list 'org-e-latex-classes
'("article"
"\\documentclass[11pt]{article}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
-----org.file-----------
#+LATEX_CLASS: article
#+LATEX_HEADER: \usepackage{booktabs}
* Test
#+ATTR_LATEX: :booktabs
#+CAPTION: Test table
|----+----|
| 1 | 2 |
|----+----|
| A1 | A2 |
| B1 | B2 |
| C1 | C2 |
|----+----|
------latex-buffer from org-export-latex-as-buffer-------
% Created 2012-12-27 Thu 18:44
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{booktabs}
\providecommand{\alert}[1]{\textbf{#1}}
\title{tst}
\author{RC}
\date{\today}
\hypersetup{
pdfkeywords={},
pdfsubject={},
pdfcreator={Emacs Org-mode version 7.9.2+}}
\begin{document}
\maketitle
\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{Test}
\label{sec-1}
\begin{table}[htb]
\caption{Test table}
\begin{center}
\begin{tabular}{ll}
\hline
1 & 2 \\
\hline
A1 & A2 \\
B1 & B2 \\
C1 & C2 \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}
[-- Attachment #2: Type: text/html, Size: 3081 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-27 23:57 Booktabs in new LaTeX exporter RCY
@ 2012-12-28 0:17 ` Thomas S. Dye
2012-12-28 1:20 ` RCY
0 siblings, 1 reply; 9+ messages in thread
From: Thomas S. Dye @ 2012-12-28 0:17 UTC (permalink / raw)
To: RCY; +Cc: Emacs-orgmode
Aloha RCY,
You can have this in your setup to enable booktabs globally:
(setq org-e-latex-tables-booktabs t)
Or, you can give a table this attribute:
#+attr_latex: :booktabs t
I think your example should work if you add the t after :booktabs.
hth,
Tom
RCY <recif@yahoo.com> writes:
> I am trying to use the booktabs package for tables in the new exporter,
> however I am unable to get \toprule, etc instead of \hrule
> I would appreciate any suggestions to fix this.
>
> As a minimal example, I started emacs -q, and evaluated the following:
>
> (setq org-install-dir "~/.emacs.d/src/org-mode")
> (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> (add-to-list 'load-path (concat org-install-dir "/lisp"))
> (require 'org-e-latex)
>
> (add-to-list 'org-e-latex-classes
> '("article"
> "\\documentclass[11pt]{article}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>
> -----org.file-----------
> #+LATEX_CLASS: article
> #+LATEX_HEADER: \usepackage{booktabs}
> * Test
> #+ATTR_LATEX: :booktabs
> #+CAPTION: Test table
> |----+----|
> | 1 | 2 |
> |----+----|
> | A1 | A2 |
> | B1 | B2 |
> | C1 | C2 |
> |----+----|
>
> ------latex-buffer from org-export-latex-as-buffer-------
> % Created 2012-12-27 Thu 18:44
> \documentclass[11pt]{article}
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage{fixltx2e}
> \usepackage{graphicx}
> \usepackage{longtable}
> \usepackage{float}
> \usepackage{wrapfig}
> \usepackage{soul}
> \usepackage{textcomp}
> \usepackage{marvosym}
> \usepackage{wasysym}
> \usepackage{latexsym}
> \usepackage{amssymb}
> \usepackage{hyperref}
> \tolerance=1000
> \usepackage{booktabs}
> \providecommand{\alert}[1]{\textbf{#1}}
>
> \title{tst}
> \author{RC}
> \date{\today}
> \hypersetup{
> pdfkeywords={},
> pdfsubject={},
> pdfcreator={Emacs Org-mode version 7.9.2+}}
>
> \begin{document}
>
> \maketitle
>
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
> \section{Test}
> \label{sec-1}
>
> \begin{table}[htb]
> \caption{Test table}
> \begin{center}
> \begin{tabular}{ll}
> \hline
> 1 & 2 \\
> \hline
> A1 & A2 \\
> B1 & B2 \\
> C1 & C2 \\
> \hline
> \end{tabular}
> \end{center}
> \end{table}
>
> \end{document}
> I am trying to use the booktabs package for tables in the new
> exporter, however I am unable to get \toprule, etc instead of \hrule
>
> I would appreciate any suggestions to fix this.
>
> As a minimal example, I started emacs -q, and evaluated the following:
>
> (setq org-install-dir "~/.emacs.d/src/org-mode")
> (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> (add-to-list 'load-path (concat org-install-dir "/lisp"))
> (require 'org-e-latex)
>
> (add-to-list 'org-e-latex-classes
> '("article"
> "\\documentclass[11pt]{article}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>
> -----org.file-----------
> #+LATEX_CLASS: article
> #+LATEX_HEADER: \usepackage{booktabs}
> * Test
> #+ATTR_LATEX: :booktabs
> #+CAPTION: Test table
> |----+----|
> | 1 | 2 |
> |----+----|
> | A1 | A2 |
> | B1 | B2 |
> | C1 | C2 |
> |----+----|
>
> ------latex-buffer from org-export-latex-as-buffer-------
> % Created 2012-12-27 Thu 18:44
> \documentclass[11pt]{article}
> \usepackage[utf8]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage{fixltx2e}
> \usepackage{graphicx}
> \usepackage{longtable}
> \usepackage{float}
> \usepackage{wrapfig}
> \usepackage{soul}
> \usepackage{textcomp}
> \usepackage{marvosym}
> \usepackage{wasysym}
> \usepackage{latexsym}
> \usepackage{amssymb}
> \usepackage{hyperref}
> \tolerance=1000
> \usepackage{booktabs}
> \providecommand{\alert}[1]{\textbf{#1}}
>
> \title{tst}
> \author{RC}
> \date{\today}
> \hypersetup{
> pdfkeywords={},
> pdfsubject={},
> pdfcreator={Emacs Org-mode version 7.9.2+}}
>
> \begin{document}
>
> \maketitle
>
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
> \section{Test}
> \label{sec-1}
>
> \begin{table}[htb]
> \caption{Test table}
> \begin{center}
> \begin{tabular}{ll}
> \hline
> 1 & 2 \\
> \hline
> A1 & A2 \\
> B1 & B2 \\
> C1 & C2 \\
> \hline
> \end{tabular}
> \end{center}
> \end{table}
>
> \end{document}
>
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 0:17 ` Thomas S. Dye
@ 2012-12-28 1:20 ` RCY
2012-12-28 1:42 ` Thomas S. Dye
0 siblings, 1 reply; 9+ messages in thread
From: RCY @ 2012-12-28 1:20 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 5360 bytes --]
Hi,
I had tried t but then removed it when it did not work and the
documentation seemed to indicate that :booktabs was a toggle.
I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to the
.emacs file but I am still getiing \hline. I did make sure to get the
latest version from git and I am running emacs 24.3.50.1.
Thanks.
On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> Aloha RCY,
>
> You can have this in your setup to enable booktabs globally:
>
> (setq org-e-latex-tables-booktabs t)
>
> Or, you can give a table this attribute:
>
> #+attr_latex: :booktabs t
>
> I think your example should work if you add the t after :booktabs.
>
> hth,
> Tom
>
> RCY <recif@yahoo.com> writes:
>
> > I am trying to use the booktabs package for tables in the new exporter,
> > however I am unable to get \toprule, etc instead of \hrule
> > I would appreciate any suggestions to fix this.
> >
> > As a minimal example, I started emacs -q, and evaluated the following:
> >
> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > (require 'org-e-latex)
> >
> > (add-to-list 'org-e-latex-classes
> > '("article"
> > "\\documentclass[11pt]{article}
> > \[DEFAULT-PACKAGES]
> > \[PACKAGES]
> > \[EXTRA]"
> > ("\\section{%s}" . "\\section*{%s}")
> > ("\\subsection{%s}" . "\\subsection*{%s}")
> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >
> > -----org.file-----------
> > #+LATEX_CLASS: article
> > #+LATEX_HEADER: \usepackage{booktabs}
> > * Test
> > #+ATTR_LATEX: :booktabs
> > #+CAPTION: Test table
> > |----+----|
> > | 1 | 2 |
> > |----+----|
> > | A1 | A2 |
> > | B1 | B2 |
> > | C1 | C2 |
> > |----+----|
> >
> > ------latex-buffer from org-export-latex-as-buffer-------
> > % Created 2012-12-27 Thu 18:44
> > \documentclass[11pt]{article}
> > \usepackage[utf8]{inputenc}
> > \usepackage[T1]{fontenc}
> > \usepackage{fixltx2e}
> > \usepackage{graphicx}
> > \usepackage{longtable}
> > \usepackage{float}
> > \usepackage{wrapfig}
> > \usepackage{soul}
> > \usepackage{textcomp}
> > \usepackage{marvosym}
> > \usepackage{wasysym}
> > \usepackage{latexsym}
> > \usepackage{amssymb}
> > \usepackage{hyperref}
> > \tolerance=1000
> > \usepackage{booktabs}
> > \providecommand{\alert}[1]{\textbf{#1}}
> >
> > \title{tst}
> > \author{RC}
> > \date{\today}
> > \hypersetup{
> > pdfkeywords={},
> > pdfsubject={},
> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >
> > \begin{document}
> >
> > \maketitle
> >
> > \setcounter{tocdepth}{3}
> > \tableofcontents
> > \vspace*{1cm}
> > \section{Test}
> > \label{sec-1}
> >
> > \begin{table}[htb]
> > \caption{Test table}
> > \begin{center}
> > \begin{tabular}{ll}
> > \hline
> > 1 & 2 \\
> > \hline
> > A1 & A2 \\
> > B1 & B2 \\
> > C1 & C2 \\
> > \hline
> > \end{tabular}
> > \end{center}
> > \end{table}
> >
> > \end{document}
> > I am trying to use the booktabs package for tables in the new
> > exporter, however I am unable to get \toprule, etc instead of \hrule
> >
> > I would appreciate any suggestions to fix this.
> >
> > As a minimal example, I started emacs -q, and evaluated the following:
> >
> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > (require 'org-e-latex)
> >
> > (add-to-list 'org-e-latex-classes
> > '("article"
> > "\\documentclass[11pt]{article}
> > \[DEFAULT-PACKAGES]
> > \[PACKAGES]
> > \[EXTRA]"
> > ("\\section{%s}" . "\\section*{%s}")
> > ("\\subsection{%s}" . "\\subsection*{%s}")
> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >
> > -----org.file-----------
> > #+LATEX_CLASS: article
> > #+LATEX_HEADER: \usepackage{booktabs}
> > * Test
> > #+ATTR_LATEX: :booktabs
> > #+CAPTION: Test table
> > |----+----|
> > | 1 | 2 |
> > |----+----|
> > | A1 | A2 |
> > | B1 | B2 |
> > | C1 | C2 |
> > |----+----|
> >
> > ------latex-buffer from org-export-latex-as-buffer-------
> > % Created 2012-12-27 Thu 18:44
> > \documentclass[11pt]{article}
> > \usepackage[utf8]{inputenc}
> > \usepackage[T1]{fontenc}
> > \usepackage{fixltx2e}
> > \usepackage{graphicx}
> > \usepackage{longtable}
> > \usepackage{float}
> > \usepackage{wrapfig}
> > \usepackage{soul}
> > \usepackage{textcomp}
> > \usepackage{marvosym}
> > \usepackage{wasysym}
> > \usepackage{latexsym}
> > \usepackage{amssymb}
> > \usepackage{hyperref}
> > \tolerance=1000
> > \usepackage{booktabs}
> > \providecommand{\alert}[1]{\textbf{#1}}
> >
> > \title{tst}
> > \author{RC}
> > \date{\today}
> > \hypersetup{
> > pdfkeywords={},
> > pdfsubject={},
> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >
> > \begin{document}
> >
> > \maketitle
> >
> > \setcounter{tocdepth}{3}
> > \tableofcontents
> > \vspace*{1cm}
> > \section{Test}
> > \label{sec-1}
> >
> > \begin{table}[htb]
> > \caption{Test table}
> > \begin{center}
> > \begin{tabular}{ll}
> > \hline
> > 1 & 2 \\
> > \hline
> > A1 & A2 \\
> > B1 & B2 \\
> > C1 & C2 \\
> > \hline
> > \end{tabular}
> > \end{center}
> > \end{table}
> >
> > \end{document}
> >
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>
[-- Attachment #2: Type: text/html, Size: 7325 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 1:20 ` RCY
@ 2012-12-28 1:42 ` Thomas S. Dye
2012-12-28 10:50 ` RCY
0 siblings, 1 reply; 9+ messages in thread
From: Thomas S. Dye @ 2012-12-28 1:42 UTC (permalink / raw)
To: RCY; +Cc: Emacs-orgmode
Hmm,
It works like a charm here.
I add booktabs like this:
(add-to-list 'org-export-latex-packages-alist '("" "booktabs"))
Also, I noticed you have \[PACKAGES]. I don't escape the opening brace:
(add-to-list 'org-e-latex-classes
'("koma-article"
"\\documentclass{scrartcl}
[NO-DEFAULT-PACKAGES]
[PACKAGES]
[EXTRA]
\\let\\itemize\\compactitem
\\let\\description\\compactdesc
\\let\\enumerate\\compactenum
\\bibliography{local}
\\newcommand{\\rc}{\\textsuperscript{14}C}
\\newcolumntype{Y}{>{\\RaggedRight\\arraybackslash}X}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
hth,
Tom
RCY <recif@yahoo.com> writes:
> Hi,
> I had tried t but then removed it when it did not work and the
> documentation seemed to indicate that :booktabs was a toggle.
> I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to the
> .emacs file but I am still getiing \hline. I did make sure to get the
> latest version from git and I am running emacs 24.3.50.1.
>
> Thanks.
>
>
> On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
>> Aloha RCY,
>>
>> You can have this in your setup to enable booktabs globally:
>>
>> (setq org-e-latex-tables-booktabs t)
>>
>> Or, you can give a table this attribute:
>>
>> #+attr_latex: :booktabs t
>>
>> I think your example should work if you add the t after :booktabs.
>>
>> hth,
>> Tom
>>
>> RCY <recif@yahoo.com> writes:
>>
>> > I am trying to use the booktabs package for tables in the new exporter,
>> > however I am unable to get \toprule, etc instead of \hrule
>> > I would appreciate any suggestions to fix this.
>> >
>> > As a minimal example, I started emacs -q, and evaluated the following:
>> >
>> > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
>> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> > (require 'org-e-latex)
>> >
>> > (add-to-list 'org-e-latex-classes
>> > '("article"
>> > "\\documentclass[11pt]{article}
>> > \[DEFAULT-PACKAGES]
>> > \[PACKAGES]
>> > \[EXTRA]"
>> > ("\\section{%s}" . "\\section*{%s}")
>> > ("\\subsection{%s}" . "\\subsection*{%s}")
>> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> >
>> > -----org.file-----------
>> > #+LATEX_CLASS: article
>> > #+LATEX_HEADER: \usepackage{booktabs}
>> > * Test
>> > #+ATTR_LATEX: :booktabs
>> > #+CAPTION: Test table
>> > |----+----|
>> > | 1 | 2 |
>> > |----+----|
>> > | A1 | A2 |
>> > | B1 | B2 |
>> > | C1 | C2 |
>> > |----+----|
>> >
>> > ------latex-buffer from org-export-latex-as-buffer-------
>> > % Created 2012-12-27 Thu 18:44
>> > \documentclass[11pt]{article}
>> > \usepackage[utf8]{inputenc}
>> > \usepackage[T1]{fontenc}
>> > \usepackage{fixltx2e}
>> > \usepackage{graphicx}
>> > \usepackage{longtable}
>> > \usepackage{float}
>> > \usepackage{wrapfig}
>> > \usepackage{soul}
>> > \usepackage{textcomp}
>> > \usepackage{marvosym}
>> > \usepackage{wasysym}
>> > \usepackage{latexsym}
>> > \usepackage{amssymb}
>> > \usepackage{hyperref}
>> > \tolerance=1000
>> > \usepackage{booktabs}
>> > \providecommand{\alert}[1]{\textbf{#1}}
>> >
>> > \title{tst}
>> > \author{RC}
>> > \date{\today}
>> > \hypersetup{
>> > pdfkeywords={},
>> > pdfsubject={},
>> > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> >
>> > \begin{document}
>> >
>> > \maketitle
>> >
>> > \setcounter{tocdepth}{3}
>> > \tableofcontents
>> > \vspace*{1cm}
>> > \section{Test}
>> > \label{sec-1}
>> >
>> > \begin{table}[htb]
>> > \caption{Test table}
>> > \begin{center}
>> > \begin{tabular}{ll}
>> > \hline
>> > 1 & 2 \\
>> > \hline
>> > A1 & A2 \\
>> > B1 & B2 \\
>> > C1 & C2 \\
>> > \hline
>> > \end{tabular}
>> > \end{center}
>> > \end{table}
>> >
>> > \end{document}
>> > I am trying to use the booktabs package for tables in the new
>> > exporter, however I am unable to get \toprule, etc instead of \hrule
>> >
>> > I would appreciate any suggestions to fix this.
>> >
>> > As a minimal example, I started emacs -q, and evaluated the following:
>> >
>> > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
>> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> > (require 'org-e-latex)
>> >
>> > (add-to-list 'org-e-latex-classes
>> > '("article"
>> > "\\documentclass[11pt]{article}
>> > \[DEFAULT-PACKAGES]
>> > \[PACKAGES]
>> > \[EXTRA]"
>> > ("\\section{%s}" . "\\section*{%s}")
>> > ("\\subsection{%s}" . "\\subsection*{%s}")
>> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> >
>> > -----org.file-----------
>> > #+LATEX_CLASS: article
>> > #+LATEX_HEADER: \usepackage{booktabs}
>> > * Test
>> > #+ATTR_LATEX: :booktabs
>> > #+CAPTION: Test table
>> > |----+----|
>> > | 1 | 2 |
>> > |----+----|
>> > | A1 | A2 |
>> > | B1 | B2 |
>> > | C1 | C2 |
>> > |----+----|
>> >
>> > ------latex-buffer from org-export-latex-as-buffer-------
>> > % Created 2012-12-27 Thu 18:44
>> > \documentclass[11pt]{article}
>> > \usepackage[utf8]{inputenc}
>> > \usepackage[T1]{fontenc}
>> > \usepackage{fixltx2e}
>> > \usepackage{graphicx}
>> > \usepackage{longtable}
>> > \usepackage{float}
>> > \usepackage{wrapfig}
>> > \usepackage{soul}
>> > \usepackage{textcomp}
>> > \usepackage{marvosym}
>> > \usepackage{wasysym}
>> > \usepackage{latexsym}
>> > \usepackage{amssymb}
>> > \usepackage{hyperref}
>> > \tolerance=1000
>> > \usepackage{booktabs}
>> > \providecommand{\alert}[1]{\textbf{#1}}
>> >
>> > \title{tst}
>> > \author{RC}
>> > \date{\today}
>> > \hypersetup{
>> > pdfkeywords={},
>> > pdfsubject={},
>> > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> >
>> > \begin{document}
>> >
>> > \maketitle
>> >
>> > \setcounter{tocdepth}{3}
>> > \tableofcontents
>> > \vspace*{1cm}
>> > \section{Test}
>> > \label{sec-1}
>> >
>> > \begin{table}[htb]
>> > \caption{Test table}
>> > \begin{center}
>> > \begin{tabular}{ll}
>> > \hline
>> > 1 & 2 \\
>> > \hline
>> > A1 & A2 \\
>> > B1 & B2 \\
>> > C1 & C2 \\
>> > \hline
>> > \end{tabular}
>> > \end{center}
>> > \end{table}
>> >
>> > \end{document}
>> >
>>
>> --
>> Thomas S. Dye
>> http://www.tsdye.com
>>
> Hi,
>
> I had tried t but then removed it when it did not work and the
> documentation seemed to indicate that :booktabs was a toggle.
> I tried your suggestion to add (setq org-e-latex-tables-booktabs t)
> to the .emacs file but I am still getiing \hline. I did make sure to
> get the latest version from git and I am running emacs 24.3.50.1.
>
> Thanks.
>
>
> On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
> Aloha RCY,
>
> You can have this in your setup to enable booktabs globally:
>
> (setq org-e-latex-tables-booktabs t)
>
> Or, you can give a table this attribute:
>
> #+attr_latex: :booktabs t
>
> I think your example should work if you add the t after :booktabs.
>
> hth,
> Tom
>
>
>
> RCY <recif@yahoo.com> writes:
>
> > I am trying to use the booktabs package for tables in the new
> exporter,
> > however I am unable to get \toprule, etc instead of \hrule
> > I would appreciate any suggestions to fix this.
> >
> > As a minimal example, I started emacs -q, and evaluated the
> following:
> >
> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > (add-to-list 'load-path (concat org-install-dir
> "/contrib/lisp"))
> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > (require 'org-e-latex)
> >
> > (add-to-list 'org-e-latex-classes
> > '("article"
> > "\\documentclass[11pt]{article}
> > \[DEFAULT-PACKAGES]
> > \[PACKAGES]
> > \[EXTRA]"
> > ("\\section{%s}" . "\\section*{%s}")
> > ("\\subsection{%s}" . "\\subsection*{%s}")
> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >
> > -----org.file-----------
> > #+LATEX_CLASS: article
> > #+LATEX_HEADER: \usepackage{booktabs}
> > * Test
> > #+ATTR_LATEX: :booktabs
> > #+CAPTION: Test table
> > |----+----|
> > | 1 | 2 |
> > |----+----|
> > | A1 | A2 |
> > | B1 | B2 |
> > | C1 | C2 |
> > |----+----|
> >
> > ------latex-buffer from org-export-latex-as-buffer-------
> > % Created 2012-12-27 Thu 18:44
> > \documentclass[11pt]{article}
> > \usepackage[utf8]{inputenc}
> > \usepackage[T1]{fontenc}
> > \usepackage{fixltx2e}
> > \usepackage{graphicx}
> > \usepackage{longtable}
> > \usepackage{float}
> > \usepackage{wrapfig}
> > \usepackage{soul}
> > \usepackage{textcomp}
> > \usepackage{marvosym}
> > \usepackage{wasysym}
> > \usepackage{latexsym}
> > \usepackage{amssymb}
> > \usepackage{hyperref}
> > \tolerance=1000
> > \usepackage{booktabs}
> > \providecommand{\alert}[1]{\textbf{#1}}
> >
> > \title{tst}
> > \author{RC}
> > \date{\today}
> > \hypersetup{
> > pdfkeywords={},
> > pdfsubject={},
> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >
> > \begin{document}
> >
> > \maketitle
> >
> > \setcounter{tocdepth}{3}
> > \tableofcontents
> > \vspace*{1cm}
> > \section{Test}
> > \label{sec-1}
> >
> > \begin{table}[htb]
> > \caption{Test table}
> > \begin{center}
> > \begin{tabular}{ll}
> > \hline
> > 1 & 2 \\
> > \hline
> > A1 & A2 \\
> > B1 & B2 \\
> > C1 & C2 \\
> > \hline
> > \end{tabular}
> > \end{center}
> > \end{table}
> >
> > \end{document}
> > I am trying to use the booktabs package for tables in the new
> > exporter, however I am unable to get \toprule, etc instead of
> \hrule
> >
> > I would appreciate any suggestions to fix this.
> >
> > As a minimal example, I started emacs -q, and evaluated the
> following:
> >
> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > (add-to-list 'load-path (concat org-install-dir
> "/contrib/lisp"))
> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > (require 'org-e-latex)
> >
> > (add-to-list 'org-e-latex-classes
> > '("article"
> > "\\documentclass[11pt]{article}
> > \[DEFAULT-PACKAGES]
> > \[PACKAGES]
> > \[EXTRA]"
> > ("\\section{%s}" . "\\section*{%s}")
> > ("\\subsection{%s}" . "\\subsection*{%s}")
> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >
> > -----org.file-----------
> > #+LATEX_CLASS: article
> > #+LATEX_HEADER: \usepackage{booktabs}
> > * Test
> > #+ATTR_LATEX: :booktabs
> > #+CAPTION: Test table
> > |----+----|
> > | 1 | 2 |
> > |----+----|
> > | A1 | A2 |
> > | B1 | B2 |
> > | C1 | C2 |
> > |----+----|
> >
> > ------latex-buffer from org-export-latex-as-buffer-------
> > % Created 2012-12-27 Thu 18:44
> > \documentclass[11pt]{article}
> > \usepackage[utf8]{inputenc}
> > \usepackage[T1]{fontenc}
> > \usepackage{fixltx2e}
> > \usepackage{graphicx}
> > \usepackage{longtable}
> > \usepackage{float}
> > \usepackage{wrapfig}
> > \usepackage{soul}
> > \usepackage{textcomp}
> > \usepackage{marvosym}
> > \usepackage{wasysym}
> > \usepackage{latexsym}
> > \usepackage{amssymb}
> > \usepackage{hyperref}
> > \tolerance=1000
> > \usepackage{booktabs}
> > \providecommand{\alert}[1]{\textbf{#1}}
> >
> > \title{tst}
> > \author{RC}
> > \date{\today}
> > \hypersetup{
> > pdfkeywords={},
> > pdfsubject={},
> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >
> > \begin{document}
> >
> > \maketitle
> >
> > \setcounter{tocdepth}{3}
> > \tableofcontents
> > \vspace*{1cm}
> > \section{Test}
> > \label{sec-1}
> >
> > \begin{table}[htb]
> > \caption{Test table}
> > \begin{center}
> > \begin{tabular}{ll}
> > \hline
> > 1 & 2 \\
> > \hline
> > A1 & A2 \\
> > B1 & B2 \\
> > C1 & C2 \\
> > \hline
> > \end{tabular}
> > \end{center}
> > \end{table}
> >
> > \end{document}
> >
>
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>
>
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 1:42 ` Thomas S. Dye
@ 2012-12-28 10:50 ` RCY
2012-12-28 17:27 ` Thomas S. Dye
0 siblings, 1 reply; 9+ messages in thread
From: RCY @ 2012-12-28 10:50 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 14602 bytes --]
Hi,
Thanks for looking into this. I tried your suggestions but I am still
having the problem. It seems that some but not all attributes I set are
recognized. So in the example below it sets sideways table but ignores the
booktabs and positioning attributes.
#+LATEX_CLASS: article
#+LATEX_HEADER: \usepackage{booktabs}
----org-file-----
* Test
#+CAPTION: Test table
#+attr_latex: :booktabs t :align |r|l| :float sidewaystable
|----+----|
| 1 | 2 |
|----+----|
| A1 | A2 |
| B1 | B2 |
| C1 | C2 |
|----+----|
-----latex buffer-----
:
\begin{sidewaystable}[htb]
\caption{Test table}
\begin{center}
\begin{tabular}{ll}
\hline
1 & 2 \\
\hline
A1 & A2 \\
B1 & B2 \\
C1 & C2 \\
\hline
\end{tabular}
\end{center}
\end{sidewaystable}
-------------------------
On Thu, Dec 27, 2012 at 8:42 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> Hmm,
>
> It works like a charm here.
>
> I add booktabs like this:
>
> (add-to-list 'org-export-latex-packages-alist '("" "booktabs"))
>
> Also, I noticed you have \[PACKAGES]. I don't escape the opening brace:
>
> (add-to-list 'org-e-latex-classes
> '("koma-article"
> "\\documentclass{scrartcl}
> [NO-DEFAULT-PACKAGES]
> [PACKAGES]
> [EXTRA]
> \\let\\itemize\\compactitem
> \\let\\description\\compactdesc
> \\let\\enumerate\\compactenum
> \\bibliography{local}
> \\newcommand{\\rc}{\\textsuperscript{14}C}
> \\newcolumntype{Y}{>{\\RaggedRight\\arraybackslash}X}"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> hth,
> Tom
>
> RCY <recif@yahoo.com> writes:
>
> > Hi,
> > I had tried t but then removed it when it did not work and the
> > documentation seemed to indicate that :booktabs was a toggle.
> > I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to
> the
> > .emacs file but I am still getiing \hline. I did make sure to get the
> > latest version from git and I am running emacs 24.3.50.1.
> >
> > Thanks.
> >
> >
> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> >
> >> Aloha RCY,
> >>
> >> You can have this in your setup to enable booktabs globally:
> >>
> >> (setq org-e-latex-tables-booktabs t)
> >>
> >> Or, you can give a table this attribute:
> >>
> >> #+attr_latex: :booktabs t
> >>
> >> I think your example should work if you add the t after :booktabs.
> >>
> >> hth,
> >> Tom
> >>
> >> RCY <recif@yahoo.com> writes:
> >>
> >> > I am trying to use the booktabs package for tables in the new
> exporter,
> >> > however I am unable to get \toprule, etc instead of \hrule
> >> > I would appreciate any suggestions to fix this.
> >> >
> >> > As a minimal example, I started emacs -q, and evaluated the following:
> >> >
> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> >> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> >> > (require 'org-e-latex)
> >> >
> >> > (add-to-list 'org-e-latex-classes
> >> > '("article"
> >> > "\\documentclass[11pt]{article}
> >> > \[DEFAULT-PACKAGES]
> >> > \[PACKAGES]
> >> > \[EXTRA]"
> >> > ("\\section{%s}" . "\\section*{%s}")
> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >> >
> >> > -----org.file-----------
> >> > #+LATEX_CLASS: article
> >> > #+LATEX_HEADER: \usepackage{booktabs}
> >> > * Test
> >> > #+ATTR_LATEX: :booktabs
> >> > #+CAPTION: Test table
> >> > |----+----|
> >> > | 1 | 2 |
> >> > |----+----|
> >> > | A1 | A2 |
> >> > | B1 | B2 |
> >> > | C1 | C2 |
> >> > |----+----|
> >> >
> >> > ------latex-buffer from org-export-latex-as-buffer-------
> >> > % Created 2012-12-27 Thu 18:44
> >> > \documentclass[11pt]{article}
> >> > \usepackage[utf8]{inputenc}
> >> > \usepackage[T1]{fontenc}
> >> > \usepackage{fixltx2e}
> >> > \usepackage{graphicx}
> >> > \usepackage{longtable}
> >> > \usepackage{float}
> >> > \usepackage{wrapfig}
> >> > \usepackage{soul}
> >> > \usepackage{textcomp}
> >> > \usepackage{marvosym}
> >> > \usepackage{wasysym}
> >> > \usepackage{latexsym}
> >> > \usepackage{amssymb}
> >> > \usepackage{hyperref}
> >> > \tolerance=1000
> >> > \usepackage{booktabs}
> >> > \providecommand{\alert}[1]{\textbf{#1}}
> >> >
> >> > \title{tst}
> >> > \author{RC}
> >> > \date{\today}
> >> > \hypersetup{
> >> > pdfkeywords={},
> >> > pdfsubject={},
> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >> >
> >> > \begin{document}
> >> >
> >> > \maketitle
> >> >
> >> > \setcounter{tocdepth}{3}
> >> > \tableofcontents
> >> > \vspace*{1cm}
> >> > \section{Test}
> >> > \label{sec-1}
> >> >
> >> > \begin{table}[htb]
> >> > \caption{Test table}
> >> > \begin{center}
> >> > \begin{tabular}{ll}
> >> > \hline
> >> > 1 & 2 \\
> >> > \hline
> >> > A1 & A2 \\
> >> > B1 & B2 \\
> >> > C1 & C2 \\
> >> > \hline
> >> > \end{tabular}
> >> > \end{center}
> >> > \end{table}
> >> >
> >> > \end{document}
> >> > I am trying to use the booktabs package for tables in the new
> >> > exporter, however I am unable to get \toprule, etc instead of \hrule
> >> >
> >> > I would appreciate any suggestions to fix this.
> >> >
> >> > As a minimal example, I started emacs -q, and evaluated the following:
> >> >
> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> >> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> >> > (require 'org-e-latex)
> >> >
> >> > (add-to-list 'org-e-latex-classes
> >> > '("article"
> >> > "\\documentclass[11pt]{article}
> >> > \[DEFAULT-PACKAGES]
> >> > \[PACKAGES]
> >> > \[EXTRA]"
> >> > ("\\section{%s}" . "\\section*{%s}")
> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >> >
> >> > -----org.file-----------
> >> > #+LATEX_CLASS: article
> >> > #+LATEX_HEADER: \usepackage{booktabs}
> >> > * Test
> >> > #+ATTR_LATEX: :booktabs
> >> > #+CAPTION: Test table
> >> > |----+----|
> >> > | 1 | 2 |
> >> > |----+----|
> >> > | A1 | A2 |
> >> > | B1 | B2 |
> >> > | C1 | C2 |
> >> > |----+----|
> >> >
> >> > ------latex-buffer from org-export-latex-as-buffer-------
> >> > % Created 2012-12-27 Thu 18:44
> >> > \documentclass[11pt]{article}
> >> > \usepackage[utf8]{inputenc}
> >> > \usepackage[T1]{fontenc}
> >> > \usepackage{fixltx2e}
> >> > \usepackage{graphicx}
> >> > \usepackage{longtable}
> >> > \usepackage{float}
> >> > \usepackage{wrapfig}
> >> > \usepackage{soul}
> >> > \usepackage{textcomp}
> >> > \usepackage{marvosym}
> >> > \usepackage{wasysym}
> >> > \usepackage{latexsym}
> >> > \usepackage{amssymb}
> >> > \usepackage{hyperref}
> >> > \tolerance=1000
> >> > \usepackage{booktabs}
> >> > \providecommand{\alert}[1]{\textbf{#1}}
> >> >
> >> > \title{tst}
> >> > \author{RC}
> >> > \date{\today}
> >> > \hypersetup{
> >> > pdfkeywords={},
> >> > pdfsubject={},
> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >> >
> >> > \begin{document}
> >> >
> >> > \maketitle
> >> >
> >> > \setcounter{tocdepth}{3}
> >> > \tableofcontents
> >> > \vspace*{1cm}
> >> > \section{Test}
> >> > \label{sec-1}
> >> >
> >> > \begin{table}[htb]
> >> > \caption{Test table}
> >> > \begin{center}
> >> > \begin{tabular}{ll}
> >> > \hline
> >> > 1 & 2 \\
> >> > \hline
> >> > A1 & A2 \\
> >> > B1 & B2 \\
> >> > C1 & C2 \\
> >> > \hline
> >> > \end{tabular}
> >> > \end{center}
> >> > \end{table}
> >> >
> >> > \end{document}
> >> >
> >>
> >> --
> >> Thomas S. Dye
> >> http://www.tsdye.com
> >>
> > Hi,
> >
> > I had tried t but then removed it when it did not work and the
> > documentation seemed to indicate that :booktabs was a toggle.
> > I tried your suggestion to add (setq org-e-latex-tables-booktabs t)
> > to the .emacs file but I am still getiing \hline. I did make sure to
> > get the latest version from git and I am running emacs 24.3.50.1.
> >
> > Thanks.
> >
> >
> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> >
> > Aloha RCY,
> >
> > You can have this in your setup to enable booktabs globally:
> >
> > (setq org-e-latex-tables-booktabs t)
> >
> > Or, you can give a table this attribute:
> >
> > #+attr_latex: :booktabs t
> >
> > I think your example should work if you add the t after :booktabs.
> >
> > hth,
> > Tom
> >
> >
> >
> > RCY <recif@yahoo.com> writes:
> >
> > > I am trying to use the booktabs package for tables in the new
> > exporter,
> > > however I am unable to get \toprule, etc instead of \hrule
> > > I would appreciate any suggestions to fix this.
> > >
> > > As a minimal example, I started emacs -q, and evaluated the
> > following:
> > >
> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > > (add-to-list 'load-path (concat org-install-dir
> > "/contrib/lisp"))
> > > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > > (require 'org-e-latex)
> > >
> > > (add-to-list 'org-e-latex-classes
> > > '("article"
> > > "\\documentclass[11pt]{article}
> > > \[DEFAULT-PACKAGES]
> > > \[PACKAGES]
> > > \[EXTRA]"
> > > ("\\section{%s}" . "\\section*{%s}")
> > > ("\\subsection{%s}" . "\\subsection*{%s}")
> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> > >
> > > -----org.file-----------
> > > #+LATEX_CLASS: article
> > > #+LATEX_HEADER: \usepackage{booktabs}
> > > * Test
> > > #+ATTR_LATEX: :booktabs
> > > #+CAPTION: Test table
> > > |----+----|
> > > | 1 | 2 |
> > > |----+----|
> > > | A1 | A2 |
> > > | B1 | B2 |
> > > | C1 | C2 |
> > > |----+----|
> > >
> > > ------latex-buffer from org-export-latex-as-buffer-------
> > > % Created 2012-12-27 Thu 18:44
> > > \documentclass[11pt]{article}
> > > \usepackage[utf8]{inputenc}
> > > \usepackage[T1]{fontenc}
> > > \usepackage{fixltx2e}
> > > \usepackage{graphicx}
> > > \usepackage{longtable}
> > > \usepackage{float}
> > > \usepackage{wrapfig}
> > > \usepackage{soul}
> > > \usepackage{textcomp}
> > > \usepackage{marvosym}
> > > \usepackage{wasysym}
> > > \usepackage{latexsym}
> > > \usepackage{amssymb}
> > > \usepackage{hyperref}
> > > \tolerance=1000
> > > \usepackage{booktabs}
> > > \providecommand{\alert}[1]{\textbf{#1}}
> > >
> > > \title{tst}
> > > \author{RC}
> > > \date{\today}
> > > \hypersetup{
> > > pdfkeywords={},
> > > pdfsubject={},
> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
> > >
> > > \begin{document}
> > >
> > > \maketitle
> > >
> > > \setcounter{tocdepth}{3}
> > > \tableofcontents
> > > \vspace*{1cm}
> > > \section{Test}
> > > \label{sec-1}
> > >
> > > \begin{table}[htb]
> > > \caption{Test table}
> > > \begin{center}
> > > \begin{tabular}{ll}
> > > \hline
> > > 1 & 2 \\
> > > \hline
> > > A1 & A2 \\
> > > B1 & B2 \\
> > > C1 & C2 \\
> > > \hline
> > > \end{tabular}
> > > \end{center}
> > > \end{table}
> > >
> > > \end{document}
> > > I am trying to use the booktabs package for tables in the new
> > > exporter, however I am unable to get \toprule, etc instead of
> > \hrule
> > >
> > > I would appreciate any suggestions to fix this.
> > >
> > > As a minimal example, I started emacs -q, and evaluated the
> > following:
> > >
> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > > (add-to-list 'load-path (concat org-install-dir
> > "/contrib/lisp"))
> > > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> > > (require 'org-e-latex)
> > >
> > > (add-to-list 'org-e-latex-classes
> > > '("article"
> > > "\\documentclass[11pt]{article}
> > > \[DEFAULT-PACKAGES]
> > > \[PACKAGES]
> > > \[EXTRA]"
> > > ("\\section{%s}" . "\\section*{%s}")
> > > ("\\subsection{%s}" . "\\subsection*{%s}")
> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> > >
> > > -----org.file-----------
> > > #+LATEX_CLASS: article
> > > #+LATEX_HEADER: \usepackage{booktabs}
> > > * Test
> > > #+ATTR_LATEX: :booktabs
> > > #+CAPTION: Test table
> > > |----+----|
> > > | 1 | 2 |
> > > |----+----|
> > > | A1 | A2 |
> > > | B1 | B2 |
> > > | C1 | C2 |
> > > |----+----|
> > >
> > > ------latex-buffer from org-export-latex-as-buffer-------
> > > % Created 2012-12-27 Thu 18:44
> > > \documentclass[11pt]{article}
> > > \usepackage[utf8]{inputenc}
> > > \usepackage[T1]{fontenc}
> > > \usepackage{fixltx2e}
> > > \usepackage{graphicx}
> > > \usepackage{longtable}
> > > \usepackage{float}
> > > \usepackage{wrapfig}
> > > \usepackage{soul}
> > > \usepackage{textcomp}
> > > \usepackage{marvosym}
> > > \usepackage{wasysym}
> > > \usepackage{latexsym}
> > > \usepackage{amssymb}
> > > \usepackage{hyperref}
> > > \tolerance=1000
> > > \usepackage{booktabs}
> > > \providecommand{\alert}[1]{\textbf{#1}}
> > >
> > > \title{tst}
> > > \author{RC}
> > > \date{\today}
> > > \hypersetup{
> > > pdfkeywords={},
> > > pdfsubject={},
> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
> > >
> > > \begin{document}
> > >
> > > \maketitle
> > >
> > > \setcounter{tocdepth}{3}
> > > \tableofcontents
> > > \vspace*{1cm}
> > > \section{Test}
> > > \label{sec-1}
> > >
> > > \begin{table}[htb]
> > > \caption{Test table}
> > > \begin{center}
> > > \begin{tabular}{ll}
> > > \hline
> > > 1 & 2 \\
> > > \hline
> > > A1 & A2 \\
> > > B1 & B2 \\
> > > C1 & C2 \\
> > > \hline
> > > \end{tabular}
> > > \end{center}
> > > \end{table}
> > >
> > > \end{document}
> > >
> >
> >
> > --
> > Thomas S. Dye
> > http://www.tsdye.com
> >
> >
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>
[-- Attachment #2: Type: text/html, Size: 20887 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 10:50 ` RCY
@ 2012-12-28 17:27 ` Thomas S. Dye
2012-12-28 18:05 ` RCY
0 siblings, 1 reply; 9+ messages in thread
From: Thomas S. Dye @ 2012-12-28 17:27 UTC (permalink / raw)
To: RCY; +Cc: Emacs-orgmode
Aloha RCY,
Here is a (too long) working example that shows how to pass attributes.
See especially :align, where you've passed a symbol instead of a string.
Note that the new exporter is still in contrib and that at this stage in
its life is documented in the code and in some messages and
announcements that Nicolas Goaziou sent to the mailing list. It is still
necessary to refer to these scattered sources to learn about the new
exporter.
#+caption: ^{14}C age determinations from coastal habitation activities
#+attr_latex: :environment "tabularx" :width "\\textwidth" :booktabs t :align "YlYYcrY" :font "\\footnotesize" :placement "[htb!]"
#+name: tab:dates-coastal-habitation-activities
| *Event* | *Lab* | *Site* | *Material* | *Age* | *Label* | *Reference* |
|---------------------+----------+-------------------+--------------------------------+----------+---------+-------------|
| Habitation activity | \beta-142515 | 50--10--04--22265 | /Chenopodium oahuense/ | 210 \pm 40 | \theta_{57} | [[textcite:dye03:_revis_archaeol_inven_survey_kaihol][;;ref]] |
| Habitation activity | \beta-142517 | 50--10--04--22204 | /Lagenaria siceraria/ | 140 \pm 40 | \theta_58 | [[textcite:dye03:_revis_archaeol_inven_survey_kaihol][;;ref]] |
| Habitation activity | \beta-256583 | PHH-13 | /Aleurites moluccana/ nutshell | 440 \pm 40 | \theta_{59} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-243704 | MKI-25 | /Osteomeles anthyllidifolia/ | 240 \pm 40 | \theta_{60} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240446 | MKI-1A | /Aleurites moluccana/ nutshell | 230 \pm 40 | \theta_{61} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240674 | MKI-2C | /Aleurites moluccana/ nutshell | 220 \pm 40 | \theta_{62} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240448 | MKI-56 | /Aleurites moluccana/ nutshell | 190 \pm 40 | \theta_{63} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240447 | MKI-23A | /Aleurites moluccana/ nutshell | 180 \pm 40 | \theta_{64} | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240675 | MKI-11A | /Aleurites moluccana/ nutshell | 150 \pm 40 | \theta_65 | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-276160 | MKI-69 | /Caesalpinia/ cf. /bonduc/ | 90 \pm 40 | \theta_66 | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-240449 | MKI-56 | /Aleurites moluccana/ nutshell | 40 \pm 40 | \theta_67 | [[textcite:field11:_resid_chron_househ_subsis_emerg][612;;ref]] |
| Habitation activity | \beta-276158 | KAL-46 | /Caesalpina/ cf. /bonduc/ | 160 \pm 40 | \theta_{68} | [[textcite:field11:_resid_chron_househ_subsis_emerg][613;;ref]] |
| Habitation activity | \beta-256576 | MKE-105 | /Chamaesyce/ cf. /multiformis/ | 360 \pm 40 | \theta_{69} | [[textcite:field11:_resid_chron_househ_subsis_emerg][613;;ref]] |
| Habitation activity | \beta-256573 | MKE-104 | /Chamaesyce/ cf. /multiformis/ | 250 \pm 40 | \theta_{70} | [[textcite:field11:_resid_chron_househ_subsis_emerg][614;;ref]] |
hth,
Tom
RCY <recif@yahoo.com> writes:
> Hi,
> Thanks for looking into this. I tried your suggestions but I am still
> having the problem. It seems that some but not all attributes I set are
> recognized. So in the example below it sets sideways table but ignores the
> booktabs and positioning attributes.
>
> #+LATEX_CLASS: article
> #+LATEX_HEADER: \usepackage{booktabs}
> ----org-file-----
> * Test
> #+CAPTION: Test table
> #+attr_latex: :booktabs t :align |r|l| :float sidewaystable
> |----+----|
> | 1 | 2 |
> |----+----|
> | A1 | A2 |
> | B1 | B2 |
> | C1 | C2 |
> |----+----|
>
> -----latex buffer-----
> :
> \begin{sidewaystable}[htb]
> \caption{Test table}
> \begin{center}
> \begin{tabular}{ll}
> \hline
> 1 & 2 \\
> \hline
> A1 & A2 \\
> B1 & B2 \\
> C1 & C2 \\
> \hline
> \end{tabular}
> \end{center}
> \end{sidewaystable}
> -------------------------
>
> On Thu, Dec 27, 2012 at 8:42 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
>> Hmm,
>>
>> It works like a charm here.
>>
>> I add booktabs like this:
>>
>> (add-to-list 'org-export-latex-packages-alist '("" "booktabs"))
>>
>> Also, I noticed you have \[PACKAGES]. I don't escape the opening brace:
>>
>> (add-to-list 'org-e-latex-classes
>> '("koma-article"
>> "\\documentclass{scrartcl}
>> [NO-DEFAULT-PACKAGES]
>> [PACKAGES]
>> [EXTRA]
>> \\let\\itemize\\compactitem
>> \\let\\description\\compactdesc
>> \\let\\enumerate\\compactenum
>> \\bibliography{local}
>> \\newcommand{\\rc}{\\textsuperscript{14}C}
>> \\newcolumntype{Y}{>{\\RaggedRight\\arraybackslash}X}"
>> ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}")
>> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>> ("\\paragraph{%s}" . "\\paragraph*{%s}")
>> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>>
>> hth,
>> Tom
>>
>> RCY <recif@yahoo.com> writes:
>>
>> > Hi,
>> > I had tried t but then removed it when it did not work and the
>> > documentation seemed to indicate that :booktabs was a toggle.
>> > I tried your suggestion to add (setq org-e-latex-tables-booktabs t) to
>> the
>> > .emacs file but I am still getiing \hline. I did make sure to get the
>> > latest version from git and I am running emacs 24.3.50.1.
>> >
>> > Thanks.
>> >
>> >
>> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>> >
>> >> Aloha RCY,
>> >>
>> >> You can have this in your setup to enable booktabs globally:
>> >>
>> >> (setq org-e-latex-tables-booktabs t)
>> >>
>> >> Or, you can give a table this attribute:
>> >>
>> >> #+attr_latex: :booktabs t
>> >>
>> >> I think your example should work if you add the t after :booktabs.
>> >>
>> >> hth,
>> >> Tom
>> >>
>> >> RCY <recif@yahoo.com> writes:
>> >>
>> >> > I am trying to use the booktabs package for tables in the new
>> exporter,
>> >> > however I am unable to get \toprule, etc instead of \hrule
>> >> > I would appreciate any suggestions to fix this.
>> >> >
>> >> > As a minimal example, I started emacs -q, and evaluated the following:
>> >> >
>> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> >> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
>> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> >> > (require 'org-e-latex)
>> >> >
>> >> > (add-to-list 'org-e-latex-classes
>> >> > '("article"
>> >> > "\\documentclass[11pt]{article}
>> >> > \[DEFAULT-PACKAGES]
>> >> > \[PACKAGES]
>> >> > \[EXTRA]"
>> >> > ("\\section{%s}" . "\\section*{%s}")
>> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
>> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> >> >
>> >> > -----org.file-----------
>> >> > #+LATEX_CLASS: article
>> >> > #+LATEX_HEADER: \usepackage{booktabs}
>> >> > * Test
>> >> > #+ATTR_LATEX: :booktabs
>> >> > #+CAPTION: Test table
>> >> > |----+----|
>> >> > | 1 | 2 |
>> >> > |----+----|
>> >> > | A1 | A2 |
>> >> > | B1 | B2 |
>> >> > | C1 | C2 |
>> >> > |----+----|
>> >> >
>> >> > ------latex-buffer from org-export-latex-as-buffer-------
>> >> > % Created 2012-12-27 Thu 18:44
>> >> > \documentclass[11pt]{article}
>> >> > \usepackage[utf8]{inputenc}
>> >> > \usepackage[T1]{fontenc}
>> >> > \usepackage{fixltx2e}
>> >> > \usepackage{graphicx}
>> >> > \usepackage{longtable}
>> >> > \usepackage{float}
>> >> > \usepackage{wrapfig}
>> >> > \usepackage{soul}
>> >> > \usepackage{textcomp}
>> >> > \usepackage{marvosym}
>> >> > \usepackage{wasysym}
>> >> > \usepackage{latexsym}
>> >> > \usepackage{amssymb}
>> >> > \usepackage{hyperref}
>> >> > \tolerance=1000
>> >> > \usepackage{booktabs}
>> >> > \providecommand{\alert}[1]{\textbf{#1}}
>> >> >
>> >> > \title{tst}
>> >> > \author{RC}
>> >> > \date{\today}
>> >> > \hypersetup{
>> >> > pdfkeywords={},
>> >> > pdfsubject={},
>> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> >> >
>> >> > \begin{document}
>> >> >
>> >> > \maketitle
>> >> >
>> >> > \setcounter{tocdepth}{3}
>> >> > \tableofcontents
>> >> > \vspace*{1cm}
>> >> > \section{Test}
>> >> > \label{sec-1}
>> >> >
>> >> > \begin{table}[htb]
>> >> > \caption{Test table}
>> >> > \begin{center}
>> >> > \begin{tabular}{ll}
>> >> > \hline
>> >> > 1 & 2 \\
>> >> > \hline
>> >> > A1 & A2 \\
>> >> > B1 & B2 \\
>> >> > C1 & C2 \\
>> >> > \hline
>> >> > \end{tabular}
>> >> > \end{center}
>> >> > \end{table}
>> >> >
>> >> > \end{document}
>> >> > I am trying to use the booktabs package for tables in the new
>> >> > exporter, however I am unable to get \toprule, etc instead of \hrule
>> >> >
>> >> > I would appreciate any suggestions to fix this.
>> >> >
>> >> > As a minimal example, I started emacs -q, and evaluated the following:
>> >> >
>> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> >> > (add-to-list 'load-path (concat org-install-dir "/contrib/lisp"))
>> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> >> > (require 'org-e-latex)
>> >> >
>> >> > (add-to-list 'org-e-latex-classes
>> >> > '("article"
>> >> > "\\documentclass[11pt]{article}
>> >> > \[DEFAULT-PACKAGES]
>> >> > \[PACKAGES]
>> >> > \[EXTRA]"
>> >> > ("\\section{%s}" . "\\section*{%s}")
>> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
>> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> >> >
>> >> > -----org.file-----------
>> >> > #+LATEX_CLASS: article
>> >> > #+LATEX_HEADER: \usepackage{booktabs}
>> >> > * Test
>> >> > #+ATTR_LATEX: :booktabs
>> >> > #+CAPTION: Test table
>> >> > |----+----|
>> >> > | 1 | 2 |
>> >> > |----+----|
>> >> > | A1 | A2 |
>> >> > | B1 | B2 |
>> >> > | C1 | C2 |
>> >> > |----+----|
>> >> >
>> >> > ------latex-buffer from org-export-latex-as-buffer-------
>> >> > % Created 2012-12-27 Thu 18:44
>> >> > \documentclass[11pt]{article}
>> >> > \usepackage[utf8]{inputenc}
>> >> > \usepackage[T1]{fontenc}
>> >> > \usepackage{fixltx2e}
>> >> > \usepackage{graphicx}
>> >> > \usepackage{longtable}
>> >> > \usepackage{float}
>> >> > \usepackage{wrapfig}
>> >> > \usepackage{soul}
>> >> > \usepackage{textcomp}
>> >> > \usepackage{marvosym}
>> >> > \usepackage{wasysym}
>> >> > \usepackage{latexsym}
>> >> > \usepackage{amssymb}
>> >> > \usepackage{hyperref}
>> >> > \tolerance=1000
>> >> > \usepackage{booktabs}
>> >> > \providecommand{\alert}[1]{\textbf{#1}}
>> >> >
>> >> > \title{tst}
>> >> > \author{RC}
>> >> > \date{\today}
>> >> > \hypersetup{
>> >> > pdfkeywords={},
>> >> > pdfsubject={},
>> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> >> >
>> >> > \begin{document}
>> >> >
>> >> > \maketitle
>> >> >
>> >> > \setcounter{tocdepth}{3}
>> >> > \tableofcontents
>> >> > \vspace*{1cm}
>> >> > \section{Test}
>> >> > \label{sec-1}
>> >> >
>> >> > \begin{table}[htb]
>> >> > \caption{Test table}
>> >> > \begin{center}
>> >> > \begin{tabular}{ll}
>> >> > \hline
>> >> > 1 & 2 \\
>> >> > \hline
>> >> > A1 & A2 \\
>> >> > B1 & B2 \\
>> >> > C1 & C2 \\
>> >> > \hline
>> >> > \end{tabular}
>> >> > \end{center}
>> >> > \end{table}
>> >> >
>> >> > \end{document}
>> >> >
>> >>
>> >> --
>> >> Thomas S. Dye
>> >> http://www.tsdye.com
>> >>
>> > Hi,
>> >
>> > I had tried t but then removed it when it did not work and the
>> > documentation seemed to indicate that :booktabs was a toggle.
>> > I tried your suggestion to add (setq org-e-latex-tables-booktabs t)
>> > to the .emacs file but I am still getiing \hline. I did make sure to
>> > get the latest version from git and I am running emacs 24.3.50.1.
>> >
>> > Thanks.
>> >
>> >
>> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>> >
>> > Aloha RCY,
>> >
>> > You can have this in your setup to enable booktabs globally:
>> >
>> > (setq org-e-latex-tables-booktabs t)
>> >
>> > Or, you can give a table this attribute:
>> >
>> > #+attr_latex: :booktabs t
>> >
>> > I think your example should work if you add the t after :booktabs.
>> >
>> > hth,
>> > Tom
>> >
>> >
>> >
>> > RCY <recif@yahoo.com> writes:
>> >
>> > > I am trying to use the booktabs package for tables in the new
>> > exporter,
>> > > however I am unable to get \toprule, etc instead of \hrule
>> > > I would appreciate any suggestions to fix this.
>> > >
>> > > As a minimal example, I started emacs -q, and evaluated the
>> > following:
>> > >
>> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> > > (add-to-list 'load-path (concat org-install-dir
>> > "/contrib/lisp"))
>> > > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> > > (require 'org-e-latex)
>> > >
>> > > (add-to-list 'org-e-latex-classes
>> > > '("article"
>> > > "\\documentclass[11pt]{article}
>> > > \[DEFAULT-PACKAGES]
>> > > \[PACKAGES]
>> > > \[EXTRA]"
>> > > ("\\section{%s}" . "\\section*{%s}")
>> > > ("\\subsection{%s}" . "\\subsection*{%s}")
>> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> > >
>> > > -----org.file-----------
>> > > #+LATEX_CLASS: article
>> > > #+LATEX_HEADER: \usepackage{booktabs}
>> > > * Test
>> > > #+ATTR_LATEX: :booktabs
>> > > #+CAPTION: Test table
>> > > |----+----|
>> > > | 1 | 2 |
>> > > |----+----|
>> > > | A1 | A2 |
>> > > | B1 | B2 |
>> > > | C1 | C2 |
>> > > |----+----|
>> > >
>> > > ------latex-buffer from org-export-latex-as-buffer-------
>> > > % Created 2012-12-27 Thu 18:44
>> > > \documentclass[11pt]{article}
>> > > \usepackage[utf8]{inputenc}
>> > > \usepackage[T1]{fontenc}
>> > > \usepackage{fixltx2e}
>> > > \usepackage{graphicx}
>> > > \usepackage{longtable}
>> > > \usepackage{float}
>> > > \usepackage{wrapfig}
>> > > \usepackage{soul}
>> > > \usepackage{textcomp}
>> > > \usepackage{marvosym}
>> > > \usepackage{wasysym}
>> > > \usepackage{latexsym}
>> > > \usepackage{amssymb}
>> > > \usepackage{hyperref}
>> > > \tolerance=1000
>> > > \usepackage{booktabs}
>> > > \providecommand{\alert}[1]{\textbf{#1}}
>> > >
>> > > \title{tst}
>> > > \author{RC}
>> > > \date{\today}
>> > > \hypersetup{
>> > > pdfkeywords={},
>> > > pdfsubject={},
>> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> > >
>> > > \begin{document}
>> > >
>> > > \maketitle
>> > >
>> > > \setcounter{tocdepth}{3}
>> > > \tableofcontents
>> > > \vspace*{1cm}
>> > > \section{Test}
>> > > \label{sec-1}
>> > >
>> > > \begin{table}[htb]
>> > > \caption{Test table}
>> > > \begin{center}
>> > > \begin{tabular}{ll}
>> > > \hline
>> > > 1 & 2 \\
>> > > \hline
>> > > A1 & A2 \\
>> > > B1 & B2 \\
>> > > C1 & C2 \\
>> > > \hline
>> > > \end{tabular}
>> > > \end{center}
>> > > \end{table}
>> > >
>> > > \end{document}
>> > > I am trying to use the booktabs package for tables in the new
>> > > exporter, however I am unable to get \toprule, etc instead of
>> > \hrule
>> > >
>> > > I would appreciate any suggestions to fix this.
>> > >
>> > > As a minimal example, I started emacs -q, and evaluated the
>> > following:
>> > >
>> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
>> > > (add-to-list 'load-path (concat org-install-dir
>> > "/contrib/lisp"))
>> > > (add-to-list 'load-path (concat org-install-dir "/lisp"))
>> > > (require 'org-e-latex)
>> > >
>> > > (add-to-list 'org-e-latex-classes
>> > > '("article"
>> > > "\\documentclass[11pt]{article}
>> > > \[DEFAULT-PACKAGES]
>> > > \[PACKAGES]
>> > > \[EXTRA]"
>> > > ("\\section{%s}" . "\\section*{%s}")
>> > > ("\\subsection{%s}" . "\\subsection*{%s}")
>> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> > >
>> > > -----org.file-----------
>> > > #+LATEX_CLASS: article
>> > > #+LATEX_HEADER: \usepackage{booktabs}
>> > > * Test
>> > > #+ATTR_LATEX: :booktabs
>> > > #+CAPTION: Test table
>> > > |----+----|
>> > > | 1 | 2 |
>> > > |----+----|
>> > > | A1 | A2 |
>> > > | B1 | B2 |
>> > > | C1 | C2 |
>> > > |----+----|
>> > >
>> > > ------latex-buffer from org-export-latex-as-buffer-------
>> > > % Created 2012-12-27 Thu 18:44
>> > > \documentclass[11pt]{article}
>> > > \usepackage[utf8]{inputenc}
>> > > \usepackage[T1]{fontenc}
>> > > \usepackage{fixltx2e}
>> > > \usepackage{graphicx}
>> > > \usepackage{longtable}
>> > > \usepackage{float}
>> > > \usepackage{wrapfig}
>> > > \usepackage{soul}
>> > > \usepackage{textcomp}
>> > > \usepackage{marvosym}
>> > > \usepackage{wasysym}
>> > > \usepackage{latexsym}
>> > > \usepackage{amssymb}
>> > > \usepackage{hyperref}
>> > > \tolerance=1000
>> > > \usepackage{booktabs}
>> > > \providecommand{\alert}[1]{\textbf{#1}}
>> > >
>> > > \title{tst}
>> > > \author{RC}
>> > > \date{\today}
>> > > \hypersetup{
>> > > pdfkeywords={},
>> > > pdfsubject={},
>> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
>> > >
>> > > \begin{document}
>> > >
>> > > \maketitle
>> > >
>> > > \setcounter{tocdepth}{3}
>> > > \tableofcontents
>> > > \vspace*{1cm}
>> > > \section{Test}
>> > > \label{sec-1}
>> > >
>> > > \begin{table}[htb]
>> > > \caption{Test table}
>> > > \begin{center}
>> > > \begin{tabular}{ll}
>> > > \hline
>> > > 1 & 2 \\
>> > > \hline
>> > > A1 & A2 \\
>> > > B1 & B2 \\
>> > > C1 & C2 \\
>> > > \hline
>> > > \end{tabular}
>> > > \end{center}
>> > > \end{table}
>> > >
>> > > \end{document}
>> > >
>> >
>> >
>> > --
>> > Thomas S. Dye
>> > http://www.tsdye.com
>> >
>> >
>>
>> --
>> Thomas S. Dye
>> http://www.tsdye.com
>>
> Hi,
>
> Thanks for looking into this. I tried your suggestions but I am still
> having the problem. It seems that some but not all attributes I set
> are recognized. So in the example below it sets sideways table but
> ignores the booktabs and positioning attributes.
>
> #+LATEX_CLASS: article
> #+LATEX_HEADER: \usepackage{booktabs}
> ----org-file-----
> * Test
> #+CAPTION: Test table
> #+attr_latex: :booktabs t :align |r|l| :float sidewaystable
> |----+----|
> | 1 | 2 |
> |----+----|
> | A1 | A2 |
> | B1 | B2 |
> | C1 | C2 |
> |----+----|
>
> -----latex buffer-----
> :
> \begin{sidewaystable}[htb]
> \caption{Test table}
> \begin{center}
> \begin{tabular}{ll}
> \hline
> 1 & 2 \\
> \hline
> A1 & A2 \\
> B1 & B2 \\
> C1 & C2 \\
> \hline
> \end{tabular}
> \end{center}
> \end{sidewaystable}
> -------------------------
>
> On Thu, Dec 27, 2012 at 8:42 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
> Hmm,
>
> It works like a charm here.
>
> I add booktabs like this:
>
> (add-to-list 'org-export-latex-packages-alist '("" "booktabs"))
>
> Also, I noticed you have \[PACKAGES]. I don't escape the opening
> brace:
>
> (add-to-list 'org-e-latex-classes
> '("koma-article"
> "\\documentclass{scrartcl}
> [NO-DEFAULT-PACKAGES]
> [PACKAGES]
> [EXTRA]
> \\let\\itemize\\compactitem
> \\let\\description\\compactdesc
> \\let\\enumerate\\compactenum
> \\bibliography{local}
> \\newcommand{\\rc}{\\textsuperscript{14}C}
> \\newcolumntype{Y}{>{\\RaggedRight\\arraybackslash}X}"
>
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
>
>
> hth,
> Tom
>
> RCY <recif@yahoo.com> writes:
>
> > Hi,
> > I had tried t but then removed it when it did not work and the
> > documentation seemed to indicate that :booktabs was a toggle.
> > I tried your suggestion to add (setq
> org-e-latex-tables-booktabs t) to the
> > .emacs file but I am still getiing \hline. I did make sure to
> get the
> > latest version from git and I am running emacs 24.3.50.1.
> >
> > Thanks.
> >
> >
> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com>
> wrote:
> >
> >> Aloha RCY,
> >>
> >> You can have this in your setup to enable booktabs globally:
> >>
> >> (setq org-e-latex-tables-booktabs t)
> >>
> >> Or, you can give a table this attribute:
> >>
> >> #+attr_latex: :booktabs t
> >>
> >> I think your example should work if you add the t after
> :booktabs.
> >>
> >> hth,
> >> Tom
> >>
> >> RCY <recif@yahoo.com> writes:
> >>
> >> > I am trying to use the booktabs package for tables in the new
> exporter,
> >> > however I am unable to get \toprule, etc instead of \hrule
> >> > I would appreciate any suggestions to fix this.
> >> >
> >> > As a minimal example, I started emacs -q, and evaluated the
> following:
> >> >
> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> >> > (add-to-list 'load-path (concat org-install-dir
> "/contrib/lisp"))
> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> >> > (require 'org-e-latex)
> >> >
> >> > (add-to-list 'org-e-latex-classes
> >> > '("article"
> >> > "\\documentclass[11pt]{article}
> >> > \[DEFAULT-PACKAGES]
> >> > \[PACKAGES]
> >> > \[EXTRA]"
> >> > ("\\section{%s}" . "\\section*{%s}")
> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >> >
> >> > -----org.file-----------
> >> > #+LATEX_CLASS: article
> >> > #+LATEX_HEADER: \usepackage{booktabs}
> >> > * Test
> >> > #+ATTR_LATEX: :booktabs
> >> > #+CAPTION: Test table
> >> > |----+----|
> >> > | 1 | 2 |
> >> > |----+----|
> >> > | A1 | A2 |
> >> > | B1 | B2 |
> >> > | C1 | C2 |
> >> > |----+----|
> >> >
> >> > ------latex-buffer from org-export-latex-as-buffer-------
> >> > % Created 2012-12-27 Thu 18:44
> >> > \documentclass[11pt]{article}
> >> > \usepackage[utf8]{inputenc}
> >> > \usepackage[T1]{fontenc}
> >> > \usepackage{fixltx2e}
> >> > \usepackage{graphicx}
> >> > \usepackage{longtable}
> >> > \usepackage{float}
> >> > \usepackage{wrapfig}
> >> > \usepackage{soul}
> >> > \usepackage{textcomp}
> >> > \usepackage{marvosym}
> >> > \usepackage{wasysym}
> >> > \usepackage{latexsym}
> >> > \usepackage{amssymb}
> >> > \usepackage{hyperref}
> >> > \tolerance=1000
> >> > \usepackage{booktabs}
> >> > \providecommand{\alert}[1]{\textbf{#1}}
> >> >
> >> > \title{tst}
> >> > \author{RC}
> >> > \date{\today}
> >> > \hypersetup{
> >> > pdfkeywords={},
> >> > pdfsubject={},
> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >> >
> >> > \begin{document}
> >> >
> >> > \maketitle
> >> >
> >> > \setcounter{tocdepth}{3}
> >> > \tableofcontents
> >> > \vspace*{1cm}
> >> > \section{Test}
> >> > \label{sec-1}
> >> >
> >> > \begin{table}[htb]
> >> > \caption{Test table}
> >> > \begin{center}
> >> > \begin{tabular}{ll}
> >> > \hline
> >> > 1 & 2 \\
> >> > \hline
> >> > A1 & A2 \\
> >> > B1 & B2 \\
> >> > C1 & C2 \\
> >> > \hline
> >> > \end{tabular}
> >> > \end{center}
> >> > \end{table}
> >> >
> >> > \end{document}
> >> > I am trying to use the booktabs package for tables in the new
> >> > exporter, however I am unable to get \toprule, etc instead of
> \hrule
> >> >
> >> > I would appreciate any suggestions to fix this.
> >> >
> >> > As a minimal example, I started emacs -q, and evaluated the
> following:
> >> >
> >> > (setq org-install-dir "~/.emacs.d/src/org-mode")
> >> > (add-to-list 'load-path (concat org-install-dir
> "/contrib/lisp"))
> >> > (add-to-list 'load-path (concat org-install-dir "/lisp"))
> >> > (require 'org-e-latex)
> >> >
> >> > (add-to-list 'org-e-latex-classes
> >> > '("article"
> >> > "\\documentclass[11pt]{article}
> >> > \[DEFAULT-PACKAGES]
> >> > \[PACKAGES]
> >> > \[EXTRA]"
> >> > ("\\section{%s}" . "\\section*{%s}")
> >> > ("\\subsection{%s}" . "\\subsection*{%s}")
> >> > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> >> >
> >> > -----org.file-----------
> >> > #+LATEX_CLASS: article
> >> > #+LATEX_HEADER: \usepackage{booktabs}
> >> > * Test
> >> > #+ATTR_LATEX: :booktabs
> >> > #+CAPTION: Test table
> >> > |----+----|
> >> > | 1 | 2 |
> >> > |----+----|
> >> > | A1 | A2 |
> >> > | B1 | B2 |
> >> > | C1 | C2 |
> >> > |----+----|
> >> >
> >> > ------latex-buffer from org-export-latex-as-buffer-------
> >> > % Created 2012-12-27 Thu 18:44
> >> > \documentclass[11pt]{article}
> >> > \usepackage[utf8]{inputenc}
> >> > \usepackage[T1]{fontenc}
> >> > \usepackage{fixltx2e}
> >> > \usepackage{graphicx}
> >> > \usepackage{longtable}
> >> > \usepackage{float}
> >> > \usepackage{wrapfig}
> >> > \usepackage{soul}
> >> > \usepackage{textcomp}
> >> > \usepackage{marvosym}
> >> > \usepackage{wasysym}
> >> > \usepackage{latexsym}
> >> > \usepackage{amssymb}
> >> > \usepackage{hyperref}
> >> > \tolerance=1000
> >> > \usepackage{booktabs}
> >> > \providecommand{\alert}[1]{\textbf{#1}}
> >> >
> >> > \title{tst}
> >> > \author{RC}
> >> > \date{\today}
> >> > \hypersetup{
> >> > pdfkeywords={},
> >> > pdfsubject={},
> >> > pdfcreator={Emacs Org-mode version 7.9.2+}}
> >> >
> >> > \begin{document}
> >> >
> >> > \maketitle
> >> >
> >> > \setcounter{tocdepth}{3}
> >> > \tableofcontents
> >> > \vspace*{1cm}
> >> > \section{Test}
> >> > \label{sec-1}
> >> >
> >> > \begin{table}[htb]
> >> > \caption{Test table}
> >> > \begin{center}
> >> > \begin{tabular}{ll}
> >> > \hline
> >> > 1 & 2 \\
> >> > \hline
> >> > A1 & A2 \\
> >> > B1 & B2 \\
> >> > C1 & C2 \\
> >> > \hline
> >> > \end{tabular}
> >> > \end{center}
> >> > \end{table}
> >> >
> >> > \end{document}
> >> >
> >>
> >> --
> >> Thomas S. Dye
> >> http://www.tsdye.com
> >>
> > Hi,
> >
> > I had tried t but then removed it when it did not work and the
> > documentation seemed to indicate that :booktabs was a toggle.
> > I tried your suggestion to add (setq
> org-e-latex-tables-booktabs t)
> > to the .emacs file but I am still getiing \hline. I did make
> sure to
> > get the latest version from git and I am running emacs
> 24.3.50.1.
> >
> > Thanks.
> >
> >
> > On Thu, Dec 27, 2012 at 7:17 PM, Thomas S. Dye <tsd@tsdye.com>
> wrote:
> >
> > Aloha RCY,
> >
> > You can have this in your setup to enable booktabs globally:
> >
> > (setq org-e-latex-tables-booktabs t)
> >
> > Or, you can give a table this attribute:
> >
> > #+attr_latex: :booktabs t
> >
> > I think your example should work if you add the t after
> :booktabs.
> >
> > hth,
> > Tom
> >
> >
> >
> > RCY <recif@yahoo.com> writes:
> >
> > > I am trying to use the booktabs package for tables in the
> new
> > exporter,
> > > however I am unable to get \toprule, etc instead of \hrule
> > > I would appreciate any suggestions to fix this.
> > >
> > > As a minimal example, I started emacs -q, and evaluated
> the
> > following:
> > >
> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > > (add-to-list 'load-path (concat org-install-dir
> > "/contrib/lisp"))
> > > (add-to-list 'load-path (concat org-install-dir
> "/lisp"))
> > > (require 'org-e-latex)
> > >
> > > (add-to-list 'org-e-latex-classes
> > > '("article"
> > > "\\documentclass[11pt]{article}
> > > \[DEFAULT-PACKAGES]
> > > \[PACKAGES]
> > > \[EXTRA]"
> > > ("\\section{%s}" . "\\section*{%s}")
> > > ("\\subsection{%s}" . "\\subsection*{%s}")
> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> > >
> > > -----org.file-----------
> > > #+LATEX_CLASS: article
> > > #+LATEX_HEADER: \usepackage{booktabs}
> > > * Test
> > > #+ATTR_LATEX: :booktabs
> > > #+CAPTION: Test table
> > > |----+----|
> > > | 1 | 2 |
> > > |----+----|
> > > | A1 | A2 |
> > > | B1 | B2 |
> > > | C1 | C2 |
> > > |----+----|
> > >
> > > ------latex-buffer from org-export-latex-as-buffer-------
> > > % Created 2012-12-27 Thu 18:44
> > > \documentclass[11pt]{article}
> > > \usepackage[utf8]{inputenc}
> > > \usepackage[T1]{fontenc}
> > > \usepackage{fixltx2e}
> > > \usepackage{graphicx}
> > > \usepackage{longtable}
> > > \usepackage{float}
> > > \usepackage{wrapfig}
> > > \usepackage{soul}
> > > \usepackage{textcomp}
> > > \usepackage{marvosym}
> > > \usepackage{wasysym}
> > > \usepackage{latexsym}
> > > \usepackage{amssymb}
> > > \usepackage{hyperref}
> > > \tolerance=1000
> > > \usepackage{booktabs}
> > > \providecommand{\alert}[1]{\textbf{#1}}
> > >
> > > \title{tst}
> > > \author{RC}
> > > \date{\today}
> > > \hypersetup{
> > > pdfkeywords={},
> > > pdfsubject={},
> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
> > >
> > > \begin{document}
> > >
> > > \maketitle
> > >
> > > \setcounter{tocdepth}{3}
> > > \tableofcontents
> > > \vspace*{1cm}
> > > \section{Test}
> > > \label{sec-1}
> > >
> > > \begin{table}[htb]
> > > \caption{Test table}
> > > \begin{center}
> > > \begin{tabular}{ll}
> > > \hline
> > > 1 & 2 \\
> > > \hline
> > > A1 & A2 \\
> > > B1 & B2 \\
> > > C1 & C2 \\
> > > \hline
> > > \end{tabular}
> > > \end{center}
> > > \end{table}
> > >
> > > \end{document}
> > > I am trying to use the booktabs package for tables in the
> new
> > > exporter, however I am unable to get \toprule, etc instead
> of
> > \hrule
> > >
> > > I would appreciate any suggestions to fix this.
> > >
> > > As a minimal example, I started emacs -q, and evaluated
> the
> > following:
> > >
> > > (setq org-install-dir "~/.emacs.d/src/org-mode")
> > > (add-to-list 'load-path (concat org-install-dir
> > "/contrib/lisp"))
> > > (add-to-list 'load-path (concat org-install-dir
> "/lisp"))
> > > (require 'org-e-latex)
> > >
> > > (add-to-list 'org-e-latex-classes
> > > '("article"
> > > "\\documentclass[11pt]{article}
> > > \[DEFAULT-PACKAGES]
> > > \[PACKAGES]
> > > \[EXTRA]"
> > > ("\\section{%s}" . "\\section*{%s}")
> > > ("\\subsection{%s}" . "\\subsection*{%s}")
> > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> > >
> > > -----org.file-----------
> > > #+LATEX_CLASS: article
> > > #+LATEX_HEADER: \usepackage{booktabs}
> > > * Test
> > > #+ATTR_LATEX: :booktabs
> > > #+CAPTION: Test table
> > > |----+----|
> > > | 1 | 2 |
> > > |----+----|
> > > | A1 | A2 |
> > > | B1 | B2 |
> > > | C1 | C2 |
> > > |----+----|
> > >
> > > ------latex-buffer from org-export-latex-as-buffer-------
> > > % Created 2012-12-27 Thu 18:44
> > > \documentclass[11pt]{article}
> > > \usepackage[utf8]{inputenc}
> > > \usepackage[T1]{fontenc}
> > > \usepackage{fixltx2e}
> > > \usepackage{graphicx}
> > > \usepackage{longtable}
> > > \usepackage{float}
> > > \usepackage{wrapfig}
> > > \usepackage{soul}
> > > \usepackage{textcomp}
> > > \usepackage{marvosym}
> > > \usepackage{wasysym}
> > > \usepackage{latexsym}
> > > \usepackage{amssymb}
> > > \usepackage{hyperref}
> > > \tolerance=1000
> > > \usepackage{booktabs}
> > > \providecommand{\alert}[1]{\textbf{#1}}
> > >
> > > \title{tst}
> > > \author{RC}
> > > \date{\today}
> > > \hypersetup{
> > > pdfkeywords={},
> > > pdfsubject={},
> > > pdfcreator={Emacs Org-mode version 7.9.2+}}
> > >
> > > \begin{document}
> > >
> > > \maketitle
> > >
> > > \setcounter{tocdepth}{3}
> > > \tableofcontents
> > > \vspace*{1cm}
> > > \section{Test}
> > > \label{sec-1}
> > >
> > > \begin{table}[htb]
> > > \caption{Test table}
> > > \begin{center}
> > > \begin{tabular}{ll}
> > > \hline
> > > 1 & 2 \\
> > > \hline
> > > A1 & A2 \\
> > > B1 & B2 \\
> > > C1 & C2 \\
> > > \hline
> > > \end{tabular}
> > > \end{center}
> > > \end{table}
> > >
> > > \end{document}
> > >
> >
> >
> > --
> > Thomas S. Dye
> > http://www.tsdye.com
> >
> >
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>
>
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 17:27 ` Thomas S. Dye
@ 2012-12-28 18:05 ` RCY
2012-12-28 19:06 ` Thomas S. Dye
0 siblings, 1 reply; 9+ messages in thread
From: RCY @ 2012-12-28 18:05 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
Hi Tom,
Thanks for your patience. I did finally figure out what I was doing wrong.
I was using org-export-as-latex-to-buffer (which uses the default exporter)
instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf.
However, I am still unable to set something like ':align rr' using
org-e-export-as-html; it defaults to left alignment (the latex export works
fine).
One of the reasons I am trying out the new exporter is to be able to use
booktabs and hopefully the threeparttable package which makes inclusion of
footnotes convenient (I prefer ctable but this probably requires a
different approach as it is implemented as a command).
Have you tried to use either of these packages?
Thanks.
On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> Aloha RCY,
>
> Here is a (too long) working example that shows how to pass attributes.
> See especially :align, where you've passed a symbol instead of a string.
> Note that the new exporter is still in contrib and that at this stage in
> its life is documented in the code and in some messages and
> announcements that Nicolas Goaziou sent to the mailing list. It is still
> necessary to refer to these scattered sources to learn about the new
> exporter.
>
>
[-- Attachment #2: Type: text/html, Size: 1580 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 18:05 ` RCY
@ 2012-12-28 19:06 ` Thomas S. Dye
2012-12-28 23:07 ` RCY
0 siblings, 1 reply; 9+ messages in thread
From: Thomas S. Dye @ 2012-12-28 19:06 UTC (permalink / raw)
To: RCY; +Cc: Emacs-orgmode
I think the :align attribute expects a string instead of a symbol, so
:align "rr" is probably what you want.
I don't know about the new html exporter yet, but I'd be surprised if it
looks at LaTeX attributes. You might want to experiment with alignment
cookies in the table to see if they do what you want:
http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment
I haven't used threeparttable or ctable. Org footnotes work inside
tables, if you want the note to appear outside the table.
Typesetting tables is hard. Let the list know if you get Org to work
with either of these packages.
All the best,
Tom
RCY <recif@yahoo.com> writes:
> Hi Tom,
> Thanks for your patience. I did finally figure out what I was doing wrong.
> I was using org-export-as-latex-to-buffer (which uses the default exporter)
> instead of org-e-latex-export-as-latex or org-e-latex-export-to-pdf.
> However, I am still unable to set something like ':align rr' using
> org-e-export-as-html; it defaults to left alignment (the latex export works
> fine).
>
> One of the reasons I am trying out the new exporter is to be able to use
> booktabs and hopefully the threeparttable package which makes inclusion of
> footnotes convenient (I prefer ctable but this probably requires a
> different approach as it is implemented as a command).
> Have you tried to use either of these packages?
> Thanks.
>
> On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
>> Aloha RCY,
>>
>> Here is a (too long) working example that shows how to pass attributes.
>> See especially :align, where you've passed a symbol instead of a string.
>> Note that the new exporter is still in contrib and that at this stage in
>> its life is documented in the code and in some messages and
>> announcements that Nicolas Goaziou sent to the mailing list. It is still
>> necessary to refer to these scattered sources to learn about the new
>> exporter.
>>
>>
> Hi Tom,
>
> Thanks for your patience. I did finally figure out what I was doing
> wrong. I was using org-export-as-latex-to-buffer (which uses the
> default exporter) instead of org-e-latex-export-as-latex or
> org-e-latex-export-to-pdf. However, I am still unable to set something
> like ':align rr' using org-e-export-as-html; it defaults to left
> alignment (the latex export works fine).
>
> One of the reasons I am trying out the new exporter is to be able to
> use booktabs and hopefully the threeparttable package which makes
> inclusion of footnotes convenient (I prefer ctable but this probably
> requires a different approach as it is implemented as a command).
> Have you tried to use either of these packages?
> Thanks.
>
> On Fri, Dec 28, 2012 at 12:27 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
>
> Aloha RCY,
>
> Here is a (too long) working example that shows how to pass
> attributes.
> See especially :align, where you've passed a symbol instead of a
> string.
> Note that the new exporter is still in contrib and that at this
> stage in
> its life is documented in the code and in some messages and
> announcements that Nicolas Goaziou sent to the mailing list. It is
> still
> necessary to refer to these scattered sources to learn about the
> new
> exporter.
>
>
--
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Booktabs in new LaTeX exporter
2012-12-28 19:06 ` Thomas S. Dye
@ 2012-12-28 23:07 ` RCY
0 siblings, 0 replies; 9+ messages in thread
From: RCY @ 2012-12-28 23:07 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1824 bytes --]
Hi Tom,
I hacked together a preliminary solution that uses the booktabs and
threeparttable (for footnotes) packages, based on the suggestion in
section 13.2 of http://orgmode.org/worg/org-tutorials/org-latex-export.html
It seems to do OK in a simple example, and I will test it some more. It
does not export to html.
Thanks for your help.
#+LATEX_CLASS: article
#+latex_header: \usepackage{booktabs,tabularx,threeparttable}
* noexport :noexport:
#+tblname: test-table
| L | R$^1$ | X$^2$ |
|---+-------+-------|
| A | B | C |
| D | E | F |
| I | J | K |
* do export
#+name: tabularx-export
#+begin_src latex :exports results :results latex :noweb yes
\begin{table}[htb!]
\centering
\begin{threeparttable}[b]
\footnotesize
\caption{A table to test booktabs}
\label{tab:test-table}
<<booktabs(table=test-table,align="lrX",env="tabularx",width="0.5\\textwidth")>>
\begin{tablenotes}
\item [1] A table note ...
\item [2] A second table note ...
\end{tablenotes}
\end{threeparttable}
\end{table}
#+end_src
On Fri, Dec 28, 2012 at 2:06 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> I think the :align attribute expects a string instead of a symbol, so
> :align "rr" is probably what you want.
>
> I don't know about the new html exporter yet, but I'd be surprised if it
> looks at LaTeX attributes. You might want to experiment with alignment
> cookies in the table to see if they do what you want:
>
>
> http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment
>
> I haven't used threeparttable or ctable. Org footnotes work inside
> tables, if you want the note to appear outside the table.
>
> Typesetting tables is hard. Let the list know if you get Org to work
> with either of these packages.
>
> All the best,
> Tom
>
>
[-- Attachment #2: Type: text/html, Size: 2868 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-12-28 23:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 23:57 Booktabs in new LaTeX exporter RCY
2012-12-28 0:17 ` Thomas S. Dye
2012-12-28 1:20 ` RCY
2012-12-28 1:42 ` Thomas S. Dye
2012-12-28 10:50 ` RCY
2012-12-28 17:27 ` Thomas S. Dye
2012-12-28 18:05 ` RCY
2012-12-28 19:06 ` Thomas S. Dye
2012-12-28 23:07 ` RCY
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).