emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Dual document export slides and lecture notes title slide issue
@ 2019-01-31  8:38 johanna.may
  2019-01-31 11:08 ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 3+ messages in thread
From: johanna.may @ 2019-01-31  8:38 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2763 bytes --]

Dear org-mode community,

I'm a noob, started using org-mode about probably only 9 months ago. 
However, I'd say my latex knowledge is intermediate, so that helps.

I followed some of the instruction in 
https://orgmode.org/worg/exporters/beamer/beamer-dual-format.html in 
order to get dual beamer and scrrprt document export. In this link the 
author mentions the following:

     "In my environment, I used a hack that assumes Beamer has been 
added to |org-latex-classes| under the exact string "beamer." This is 
not ideal, because a user might have added a custom class under a 
different name. Nicolas Goaziou proposed an alternate approach using 
regular expressions, but I didn't implement it in my environment."

Since in my set-up (probably newer than this 2014 instruction) I cannot 
find ox-beamer.el as a separate file - and this hack seems fishy to me - 
I tried to find Nicolas Goaziou's regexp instructions of how to include 
the titlepage in the beamer presentation in spite of the 
ignorenonframetext option. However, I could not find anything that was 
related by him in my searches.

So, my question is: Could I add this titlepage by making some sort of 
copy of the beamer class (something like mybeamer, similar to myscrartcl 
in https://www.suenkler.info/notes/emacs-config/) in my dotemacs, just 
adding a few lines there? And what would I add there? Or the other 
option would be to switch on the ignorenonframetext option later in the 
document, i.e. after the title slide - how could I get that done? 
Something like :beamer_opt: ignorenonframetext in every section's 
property drawer? I don't really care about elegance, I'm interested in 
stable function.

It would be great if you could just point me at well documented examples 
of other people who are making dual documents for both teaching (slides) 
and for students to recap with notes (lecture notes) based on the same 
diagrams. I also am considering using html instead of pdf for the 
slides, but I haven't so far because I haven't come across any tablet 
annotating possibility for browser pages: In some slides I want to leave 
blank spaces in order to demonstrate the calculations live.

So, thank you very much for your ideas in advance. I subscribed to the 
digest, not the single emails, so I probably won't read your answers 
before this evening (and also not reply to questions about clarification 
of my issue).

I have to say, that I really like what org-mode, and org-babel can do. 
And I want to thank all of you who are contributing on this. At some 
point of time I also want to start a blog and share my working examples 
so that others can profit. But I first need to re-make my lecture notes 
in a more sustainable and reproducible way.

Cheers,

J. M.


[-- Attachment #2: Type: text/html, Size: 3526 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dual document export slides and lecture notes title slide issue
  2019-01-31  8:38 Dual document export slides and lecture notes title slide issue johanna.may
@ 2019-01-31 11:08 ` Joseph Vidal-Rosset
  2019-01-31 11:14   ` Joseph Vidal-Rosset
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2019-01-31 11:08 UTC (permalink / raw)
  To: johanna.may; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 3193 bytes --]

Hello Johanna, 

I am using scimax from John Kitchin [[https://github.com/jkitchin/scimax
]]and I recommend it to you warmly. 

In my /user/user.el,  here is what is about beamer : 

#+BEGIN_SRC lisp

(add-to-list 'org-latex-classes
             '("beamer-ahp-ul"
               "\\documentclass\[10pt,svgnames,fragile]\{beamer\}
                [NO-DEFAULT-PACKAGES]
                [PACKAGES]
                [NO-EXTRA]
\\theoremstyle{plain}% default
\\newtheorem{thm}{Theorem}[section]
\\newtheorem{theo}{Théorème}[section]
\\newtheorem{lem}[thm]{Lemma}
\\newtheorem{prop}[thm]{Proposition}
\\newtheorem*{cor}{Corollary}
\\theoremstyle{definition}
\\newtheorem{defi}{Definition}[section]
\\newtheorem{rema}[thm]{Remarque}
\\newtheorem{Conjecture}[theorem]{Conjecture}
\\newtheorem{exa}{Example}[section]
\\newtheorem{exem}{Exemple}[section]
\\\hypersetup{colorlinks,
citecolor=blue,
linkcolor=.,
menucolor=white,
filecolor=pink,   
anchorcolor=yellow
}
\\AtBeginSection\[\]\{\\begin\{frame\}<beamer>\\frametitle\{\}\\tableofcontents\[currentsection,hideothersubsections\]\\end\{frame\}\}
\\subtitle\{\}
\\institute\[Université de Lorraine\]\{Département de philosophie \\\\ Archives Henri Poincaré - UMR 7117 du CNRS \\\\ Université de Lorraine \\\\ 91 bd Libération, 54000 Nancy \\\\ France \}
\\titlegraphic\{\\includegraphics\[height=1cm\]\{ahp\}\\includegraphics\[height=1cm\]\{udl\}\\includegraphics\[height=1cm\]\{cnrs\}\}
\\usetheme\{CambridgeUS\}
\\usepackage\{beamer_udl_theme\}
\\setbeamertemplate\{navigation symbols\}{%
	%insertslidenavigationsymbol%
	%insertframenavigationsymbol%
	%insertsubsectionnavigationsymbol%
	%insertsectionnavigationsymbol%
	%insertdocnavigationsymbol%
	%insertbackfindforwardnavigationsymbol%
}
\\setbeamertemplate{theorems}[numbered]
"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

(require 'autoinsert)
(auto-insert-mode)  ;;; Adds hook to find-files-hook
    (setq auto-insert-directory "~/MEGA/org/my_org-templates/") ;;; Or use custom, *NOTE* Trailing slash important
(setq auto-insert-query nil) ;;; If you don't want to be prompted before insertion
(define-auto-insert "\.beamer-fr.org" "beamer-fr.org")

#+END_SRC

in   my  folder   ~/MEGA/org/my_org-templates/  there   is  the   file
beamer-fr.org:

#+BEGIN_SRC lisp
#+TITLE: 
#+DATE:
#+OPTIONS: H:2 toc:nil author:t
#+LATEX_CLASS: beamer-ahp-ul
#+LANGUAGE:fr



** 
:PROPERTIES:
 :BEAMER_opt: allowframebreaks,label=
:END:
bibliography:/home/joseph/MEGA/org/reforg.bib
bibliographystyle:apalike

#+END_SRC

I have  also defined a  theme that  corresponds to my  institution and
that                  is                   located                  in
/home/joseph/texmf/tex/latex/local/beamer_udl_theme.sty 

Now,  as  soon  as I  write  a  file  that  ends with  the  expression
"beamer-fr.org", it is  immediately with this template  and the export
beamer works smoothly.

I have nothing with notes, but I hope it helps. 

Best wishes, 

Jo. 

[-- Attachment #2.1: Type: text/html, Size: 5672 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dual document export slides and lecture notes title slide issue
  2019-01-31 11:08 ` Joseph Vidal-Rosset
@ 2019-01-31 11:14   ` Joseph Vidal-Rosset
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Vidal-Rosset @ 2019-01-31 11:14 UTC (permalink / raw)
  To: johanna.may; +Cc: Liste-emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 3391 bytes --]

Sorry, the quotation of the file content beamer-fr.org missed. Here is:

#+TITLE:
#+DATE:
#+OPTIONS: H:2 toc:nil author:t
#+LATEX_CLASS: beamer-ahp-ul
#+LANGUAGE:fr




**
:PROPERTIES:
 :BEAMER_opt: allowframebreaks,label=
:END:
bibliography:/home/joseph/MEGA/org/reforg.bib
bibliographystyle:apalike
Best wishes,

Jo.


Le jeu. 31 janv. 2019 à 12:08, Joseph Vidal-Rosset <
joseph.vidal.rosset@gmail.com> a écrit :

> Hello Johanna,
>
> I am using scimax from John Kitchin https://github.com/jkitchin/scimax
> <https://github.com/jkitchin/scimax%20>and I recommend it to you warmly.
>
> In my /user/user.el, here is what is about beamer :
>
> (add-to-list 'org-latex-classes
>              '("beamer-ahp-ul"
>                "\\documentclass\[10pt,svgnames,fragile]\{beamer\}                [NO-DEFAULT-PACKAGES]                [PACKAGES]                [NO-EXTRA]\\theoremstyle{plain}% default\\newtheorem{thm}{Theorem}[section]\\newtheorem{theo}{Théorème}[section]\\newtheorem{lem}[thm]{Lemma}\\newtheorem{prop}[thm]{Proposition}\\newtheorem*{cor}{Corollary}\\theoremstyle{definition}\\newtheorem{defi}{Definition}[section]\\newtheorem{rema}[thm]{Remarque}\\newtheorem{Conjecture}[theorem]{Conjecture}\\newtheorem{exa}{Example}[section]\\newtheorem{exem}{Exemple}[section]\\\hypersetup{colorlinks,citecolor=blue,linkcolor=.,menucolor=white,filecolor=pink,   anchorcolor=yellow}\\AtBeginSection\[\]\{\\begin\{frame\}<beamer>\\frametitle\{\}\\tableofcontents\[currentsection,hideothersubsections\]\\end\{frame\}\}\\subtitle\{\}\\institute\[Université de Lorraine\]\{Département de philosophie \\\\ Archives Henri Poincaré - UMR 7117 du CNRS \\\\ Université de Lorraine \\\\ 91 bd Libération, 54000 Nancy \\\\ France \}\\titlegraphic\{\\includegraphics\[height=1cm\]\{ahp\}\\includegraphics\[height=1cm\]\{udl\}\\includegraphics\[height=1cm\]\{cnrs\}\}\\usetheme\{CambridgeUS\}\\usepackage\{beamer_udl_theme\}\\setbeamertemplate\{navigation symbols\}{%        %insertslidenavigationsymbol%        %insertframenavigationsymbol%        %insertsubsectionnavigationsymbol%        %insertsectionnavigationsymbol%        %insertdocnavigationsymbol%        %insertbackfindforwardnavigationsymbol%}\\setbeamertemplate{theorems}[numbered]"
>                ("\\section\{%s\}" . "\\section*\{%s\}")
>                ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>                ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
>
> (require 'autoinsert)
> (auto-insert-mode)  ;;; Adds hook to find-files-hook
>     (setq auto-insert-directory "~/MEGA/org/my_org-templates/") ;;; Or use custom, *NOTE* Trailing slash important
> (setq auto-insert-query nil) ;;; If you don't want to be prompted before insertion
> (define-auto-insert "\.beamer-fr.org" "beamer-fr.org")
>
>
> in my folder ~/MEGA/org/my_org-templates/ there is the file
> beamer-fr.org:
>
> #+BEGIN_SRC lisp
>
> /home/joseph/MEGA/org/reforg.bib
>
> #+END_SRC
>
> I have also defined a theme that corresponds to my institution and
> that is located in
> /home/joseph/texmf/tex/latex/local/beamer_udl_theme.sty
>
> Now, as soon as I write a file that ends with the expression
> « beamer-fr.org », it is immediately with this template and the export
> beamer works smoothly.
>
> I have nothing with notes, but I hope it helps.
>
> Best wishes,
>
> Jo.
>

[-- Attachment #2: Type: text/html, Size: 7932 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-31 11:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-31  8:38 Dual document export slides and lecture notes title slide issue johanna.may
2019-01-31 11:08 ` Joseph Vidal-Rosset
2019-01-31 11:14   ` Joseph Vidal-Rosset

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).