[-- Attachment #1: Type: text/plain, Size: 210 bytes --] 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) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: export.sh --] [-- Type: text/x-sh, Size: 199 bytes --] #!/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 [-- Attachment #3: setup.el --] [-- Type: application/emacs-lisp, Size: 685 bytes --] [-- Attachment #4: Type: text/plain, Size: 621 bytes --] --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) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #5: org-beamer-template.org --] [-- Type: text/x-org, Size: 907 bytes --] * 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: [-- Attachment #6: Type: text/plain, Size: 114 bytes --] Thanks., -- ఎందరో మహానుభావులు అందరికి వందనములు YYR
On Wed, Nov 14, 2012 at 09:14:40AM +0900, Yagnesh Raghava Yakkala wrote: > > 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) > > #!/bin/sh > # batch export > > emacs -q --batch -l setup.el \ > -f org-e-beamer-export-to-latex org-beamer-template.org > I believe you have the order wrong. Emacs first has to open the file before you can export it. Try this: $ emacs -q --batch -l setup.el org-beamer-template.org \ -f org-e-beamer-export-to-latex -- Suvayu Open source is the future. It sets us free.
Hello Suvayu,
On 11月 14 2012, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> On Wed, Nov 14, 2012 at 09:14:40AM +0900, Yagnesh Raghava Yakkala wrote:
>>
>> 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)
>>
>
>> #!/bin/sh
>> # batch export
>>
>> emacs -q --batch -l setup.el \
>> -f org-e-beamer-export-to-latex org-beamer-template.org
>>
>
> I believe you have the order wrong. Emacs first has to open the file
> before you can export it. Try this:
>
> $ emacs -q --batch -l setup.el org-beamer-template.org \
> -f org-e-beamer-export-to-latex
Wow that works very well. I was blindly looking all over Elisp source.
Thanks a lot.,
--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR