From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: New worg page: Publishing beamer slideshows and articles from one source Date: Mon, 12 May 2014 21:17:32 +0200 Message-ID: <20140512191732.GA2281@chitra.no-ip.org> References: <3cc8efb7-57ae-4749-9c7e-3c178adb911d@dewdrop-world.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjvjL-0005j9-H6 for emacs-orgmode@gnu.org; Mon, 12 May 2014 15:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjvjG-00009t-Qp for emacs-orgmode@gnu.org; Mon, 12 May 2014 15:17:43 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:47421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjvjG-00009p-Hz for emacs-orgmode@gnu.org; Mon, 12 May 2014 15:17:38 -0400 Received: by mail-ee0-f41.google.com with SMTP id t10so5115463eei.28 for ; Mon, 12 May 2014 12:17:37 -0700 (PDT) Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id 4sm34829407eef.44.2014.05.12.12.17.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 May 2014 12:17:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <3cc8efb7-57ae-4749-9c7e-3c178adb911d@dewdrop-world.net> 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 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi James, On Sat, May 10, 2014 at 10:57:11AM +0800, James Harkins wrote: > > http://orgmode.org/worg/exporters/beamer/beamer-dual-format.html It is a great resource. A couple of comments about formatting: the first two footnotes might be better as links from the text. I propose the attached patch. If you think this is fine, I'll push it. BTW, the ignoreheading thing has been asked so many times, maybe I should put it in an FAQ. But then, the content is more appropriate for org-hacks ... I'm undecided. Any thoughts? Cheers, -- Suvayu Open source is the future. It sets us free. --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Minor-formatting-change.patch" >From 514178abdba0522ab4c44b6daa2cdbb80ddad9c5 Mon Sep 17 00:00:00 2001 From: Suvayu Ali Date: Mon, 12 May 2014 21:15:05 +0200 Subject: [PATCH] Minor formatting change --- exporters/beamer/beamer-dual-format.org | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/exporters/beamer/beamer-dual-format.org b/exporters/beamer/beamer-dual-format.org index 3750035..e339088 100644 --- a/exporters/beamer/beamer-dual-format.org +++ b/exporters/beamer/beamer-dual-format.org @@ -495,8 +495,8 @@ Rather than create a document class to turn top-level headings into =\part= commands, I embedded the LaTeX code for it directly into the full-article template. The trick is closing the environments for the previous sections. This requires a top-level heading, which should not start a new section. I -found that =:B_ignoreheading:= did not work for this, but an export filter -by Suvayu Ali[fn:54e951f5] did exactly what I needed. +found that =:B_ignoreheading:= did not work for this, but an [[http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents][export filter]] +by Suvayu Ali did exactly what I needed. #+name: articleParts #+caption: Part of the full-article export document, with embedded LaTeX \part syntax. @@ -535,7 +535,7 @@ are put into an =\mbox=, to suppress hyphenation.) Org's formatting markup is visual: asterisks for bold, slashes for italics and so on. -I think export macros[fn:5c80275b] could support semantic markup that could export +I think [[http://orgmode.org/manual/Macro-replacement.html#Macro-replacement][export macros]] could support semantic markup that could export to LaTeX or HTML equally well, but I didn't investigate that in this project. Here, I just embedded LaTeX commands directly into the org files: free standing for simple uses, and using export snippets[fn:448d1164] for @@ -544,10 +544,6 @@ which LaTeX export treats specially). * Footnotes -[fn:54e951f5] http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents - -[fn:5c80275b] http://orgmode.org/manual/Macro-replacement.html#Macro-replacement - [fn:448d1164] Export snippets look like this: =@@backendname:text...@@=. They will export only to that backend. You can write several of them in a row for different backends: -- 1.9.0 --mP3DRpeJDSE+ciuQ--