From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Giving latex attributes to sections in export Date: Sat, 22 May 2010 16:50:45 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0128219717==" Return-path: Received: from [140.186.70.92] (port=33004 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFwam-0007rO-AJ for emacs-orgmode@gnu.org; Sat, 22 May 2010 17:50:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFwak-0000l2-Jx for emacs-orgmode@gnu.org; Sat, 22 May 2010 17:50:48 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:46330) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFwak-0000kx-HE for emacs-orgmode@gnu.org; Sat, 22 May 2010 17:50:46 -0400 Received: by gyg4 with SMTP id 4so1405465gyg.0 for ; Sat, 22 May 2010 14:50:45 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============0128219717== Content-Type: multipart/alternative; boundary=000e0cd4b5b8ca8bfe048735cc61 --000e0cd4b5b8ca8bfe048735cc61 Content-Type: text/plain; charset=ISO-8859-1 Hi, I just emailed a similar question about tables... but how can one pass latex options inside of sections/subsections? I'd like something like this in my report: * History of experiments introduction text goes here... blah blah blah. A history of experiments and corresponding data tables will follow. \begin{landscape} ** Date of experiment 1 *** Conditions *** Data |table|of|data ** Date of experiment 1 *** Conditions *** Data |table|of|data \end{landscape} * Conclusion So... I'd like the report in portrait mode, but my tables are long enough that it makes sense to switch entirely to landscape for that portion of the report and then switch back for portrait for discussion. At present if I do either: \begin{landscape} #+BEGIN_LaTeX \begin{landscape} #+END_LaTeX then org-mode ignores the following section. It DOES actually rotate the orientation, but the tables are all in ASCII format and in the matching .tex file, instead of \subsection{name}, I just get a literal export of the subsection asterisks ("*** subsection name') exactly how it looks in org-mode. Something triggers org-mode to stop translating from org-mode structure into LaTeX. I've checked possible uses for property drawers and #+ATTR_LATEX seems only to apply to images... just not sure how to slip in various latex commands as they are needed. Best regards, John --000e0cd4b5b8ca8bfe048735cc61 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


I just emailed a similar question about tables... but how ca= n one pass latex options inside of sections/subsections? I'd like somet= hing like this in my report:

* History of experiments
introductio= n text goes here... blah blah blah. A history of experiments and correspond= ing data tables will follow.

\begin{landscape}

** Date of experiment 1
*** Conditions
*= ** Data
|table|of|data

** Date of experiment 1
*** Conditions
*** Data
|table|of|data

\end{landscape}

* Conclusion

So... I'd like the repor= t in portrait mode, but my tables are long enough that it makes sense to sw= itch entirely to landscape for that portion of the report and then switch b= ack for portrait for discussion. At present if I do either:

\begin{landscape}

#+BEGIN_LaTeX
\begin{landscape}
#+END_La= TeX

then org-mode ignores the following section. It DOES actually ro= tate the orientation, but the tables are all in ASCII format and in the mat= ching .tex file, instead of \subsection{name}, I just get a literal export = of the subsection asterisks ("*** subsection name') exactly how it= looks in org-mode. Something triggers org-mode to stop translating from or= g-mode structure into LaTeX. I've checked possible uses for property dr= awers and #+ATTR_LATEX seems only to apply to images... just not sure how t= o slip in various latex commands as they are needed.


Best regards,
John
--000e0cd4b5b8ca8bfe048735cc61-- --===============0128219717== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0128219717==--