From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: org-e-beamer: Few queries Date: Wed, 14 Nov 2012 09:14:40 +0900 Message-ID: <87y5i5yr9r.fsf@yagnesh.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYQdL-0007xB-8L for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 19:15:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYQdI-0008U1-5x for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 19:15:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:60530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYQdH-0008To-W3 for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 19:15:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TYQdN-000309-Cv for emacs-orgmode@gnu.org; Wed, 14 Nov 2012 01:15:13 +0100 Received: from okhotsk19.lowtem.hokudai.ac.jp ([133.87.217.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Nov 2012 01:15:13 +0100 Received: from hi by okhotsk19.lowtem.hokudai.ac.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Nov 2012 01:15:13 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hello, I am trying to use new beamer exporter. I have few questions. o) When trying to export emacs batch mode, it is asking for "Output file:" (export script and setup file for batch process are attached) --=-=-= Content-Type: text/x-sh Content-Disposition: attachment; filename=export.sh #!/bin/sh # batch export emacs -q --batch -l setup.el \ -f org-e-beamer-export-to-latex org-beamer-template.org pdflatex -interaction nonstopmode org-beamer-template.tex # export.sh ends here --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=setup.el Content-Transfer-Encoding: quoted-printable (setq org-install-dir "~/.emacs.d/el-get/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-beamer) (add-to-list 'org-e-latex-classes '("beamer" "\\documentclass[presentation]{beamer} \[DEFAULT-PACKAGES] \[PACKAGES] \[EXTRA]" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) ;; (setq org-e-latex-pdf-process ;; '("pdflatex -interaction nonstopmode %b" ;; "pdflatex -interaction nonstopmode %b")) --=-=-= Content-Type: text/plain --8<---------------cut here---------------start------------->8--- okhotsk19:~/git/org-beamer-template$ ./export.sh Loading /home/yagnesh/.emacs.d/el-get/org-mode/lisp/org-loaddefs.el (source)... Output file: --8<---------------cut here---------------end--------------->8--- By grepping sources, I get this. grep -nH -e "Output file:" *.el org-export.el:2759: "Output file: " pub-dir nil nil nil couldn't figure out why it is failing. o) I used to fold headers for convenience by giving an ARCHIVE tag. its not working in the new exporter. o) how to make two column frame. (see attached example, in old exporter) --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=org-beamer-template.org * setup :ARCHIVE: #+TITLE: Ready made #+AUTHOR: Yagnesh Raghava Yakkala #+DATE: \today #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+OPTIONS: H:2 #+EXPORT_EXCLUDE_TAGS: noexport note * Plain ** Place a figure \centering #+ATTR_LATEX: width=0.75\textwidth #+CAPTION: [[file:path/to/fig.jpg]] * Two Columns ** one figures with bullets :B_columns: :PROPERTIES: :BEAMER_env: columns :END: *** 0.4 :B_column: :PROPERTIES: :BEAMER_env: column :END: - bullet one - bullet two *** 0.6 :B_column: :PROPERTIES: :BEAMER_env: column :END: #+ATTR_LATEX: width=0.90\textwidth #+CAPTION: [[file:path/to/fig.jpg]] * Third section :note: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR --=-=-=--