* org-e-beamer: Few queries
@ 2012-11-14 0:14 Yagnesh Raghava Yakkala
2012-11-14 0:59 ` Suvayu Ali
0 siblings, 1 reply; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-11-14 0:14 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-e-beamer: Few queries
2012-11-14 0:14 org-e-beamer: Few queries Yagnesh Raghava Yakkala
@ 2012-11-14 0:59 ` Suvayu Ali
2012-11-14 1:28 ` Yagnesh Raghava Yakkala
0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2012-11-14 0:59 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-e-beamer: Few queries
2012-11-14 0:59 ` Suvayu Ali
@ 2012-11-14 1:28 ` Yagnesh Raghava Yakkala
0 siblings, 0 replies; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-11-14 1:28 UTC (permalink / raw)
To: Suvayu Ali; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-14 1:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-14 0:14 org-e-beamer: Few queries Yagnesh Raghava Yakkala
2012-11-14 0:59 ` Suvayu Ali
2012-11-14 1:28 ` Yagnesh Raghava Yakkala
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).