From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: porting guide from old to new beamer export?
Date: Tue, 1 Sep 2015 09:06:53 +0200 [thread overview]
Message-ID: <20150901070653.GP1373@chitra.no-ip.org> (raw)
In-Reply-To: <loom.20150901T021136-290@post.gmane.org>
On Tue, Sep 01, 2015 at 12:19:32AM +0000, Marko Schütz-Schmuck wrote:
> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
>
> >
> > On Mon, Aug 31, 2015 at 05:23:52PM +0000, Marko Schütz-Schmuck wrote:
> > >
> > > Thanks for the link. I had used all of the documentation that are referenced
> > > on that page.
> > >
> > > I have uploaded a typical file with slides to http://pastebin.com/L2ss0hXG
> > > and http://pastebin.com/D61eSkDq.
> > >
> > > When I publish this to PDF with the new exporter the LaTeX file that is
> > > generated does not use any frames http://pastebin.com/8jN6XeuE
> >
> > I think you are doing one of two things wrong. Either your
> > org-latex-classes is incorrectly setup, or you are simply exporting to
> > latex instead of beamer (C-c C-e l b). E.g. I get the following as the
> > first frame:
>
> Thanks, that helps a lot!
>
> I did not have an option to export to beamer. I wasn't aware that I had to
> require ox-beamer explicitly.
Okay good.
> Now I notice that the new exporter makes frame titles like this
>
> \begin{frame}[label=sec-8]{proving \hoareTriple{V}\{\(\textmath{merge}\)\}\{P\}}
>
> where the old one generated this
>
> \begin{frame}
> \frametitle{proving \hoareTriple{V}{\(\textmath{merge}\)}{P}}
> \label{sec-8}
>
> The new exporter escaped some { and } that should not be escaped.
The new exporter tries to preserve special characters whenever it
doesn't recognise a latex snippet. To ensure they are not escaped as
special characters, you should use export snippets. Try:
@@latex:\hoareTriple{V}{@@\(\textmath{merge}\)@@latex:}{P}@@
See the help string for org-export-snippet-translation-alist.
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2015-09-01 7:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-30 23:02 porting guide from old to new beamer export? Marko Schütz Schmuck
2015-08-31 0:03 ` Suvayu Ali
2015-08-31 8:11 ` Joseph Vidal-Rosset
2015-08-31 8:32 ` Loris Bennett
2015-08-31 9:46 ` Suvayu Ali
2015-09-01 19:11 ` Joseph Vidal-Rosset
2015-09-02 9:05 ` Suvayu Ali
2015-09-02 11:13 ` Eric S Fraga
2015-08-31 17:23 ` Marko Schütz-Schmuck
2015-08-31 20:50 ` Suvayu Ali
2015-09-01 0:19 ` Marko Schütz-Schmuck
2015-09-01 7:06 ` Suvayu Ali [this message]
2015-09-01 18:15 ` Marko Schütz-Schmuck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150901070653.GP1373@chitra.no-ip.org \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.