From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: Dual document export slides and lecture notes title slide issue Date: Thu, 31 Jan 2019 12:14:05 +0100 Message-ID: References: <6ea9b5cc-fd3b-75ea-a4ae-773f8e4b144a@th-koeln.de> <878sz15bjs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009c3f9c0580bf203f" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpAIg-0006QR-36 for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 06:14:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpAIZ-0004k8-5x for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 06:14:25 -0500 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:37179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpAIV-0004jf-HQ for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 06:14:21 -0500 Received: by mail-lj1-x235.google.com with SMTP id t18-v6so2336015ljd.4 for ; Thu, 31 Jan 2019 03:14:19 -0800 (PST) In-Reply-To: <878sz15bjs.fsf@gmail.com> 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" To: johanna.may@th-koeln.de Cc: "Liste-emacs-orgmode@gnu.org" --0000000000009c3f9c0580bf203f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D :END: bibliography:/home/joseph/MEGA/org/reforg.bib bibliographystyle:apalike Best wishes, Jo. Le jeu. 31 janv. 2019 =C3=A0 12:08, Joseph Vidal-Rosset < joseph.vidal.rosset@gmail.com> a =C3=A9crit : > 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 : > > (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]\\ne= wtheorem{theo}{Th=C3=A9or=C3=A8me}[section]\\newtheorem{lem}[thm]{Lemma}\\n= ewtheorem{prop}[thm]{Proposition}\\newtheorem*{cor}{Corollary}\\theoremstyl= e{definition}\\newtheorem{defi}{Definition}[section]\\newtheorem{rema}[thm]= {Remarque}\\newtheorem{Conjecture}[theorem]{Conjecture}\\newtheorem{exa}{Ex= ample}[section]\\newtheorem{exem}{Exemple}[section]\\\hypersetup{colorlinks= ,citecolor=3Dblue,linkcolor=3D.,menucolor=3Dwhite,filecolor=3Dpink, ancho= rcolor=3Dyellow}\\AtBeginSection\[\]\{\\begin\{frame\}\\frametitle\= {\}\\tableofcontents\[currentsection,hideothersubsections\]\\end\{frame\}\}= \\subtitle\{\}\\institute\[Universit=C3=A9 de Lorraine\]\{D=C3=A9partement = de philosophie \\\\ Archives Henri Poincar=C3=A9 - UMR 7117 du CNRS \\\\ Un= iversit=C3=A9 de Lorraine \\\\ 91 bd Lib=C3=A9ration, 54000 Nancy \\\\ Fran= ce \}\\titlegraphic\{\\includegraphics\[height=3D1cm\]\{ahp\}\\includegraph= ics\[height=3D1cm\]\{udl\}\\includegraphics\[height=3D1cm\]\{cnrs\}\}\\uset= heme\{CambridgeUS\}\\usepackage\{beamer_udl_theme\}\\setbeamertemplate\{nav= igation symbols\}{% %insertslidenavigationsymbol% %insertfram= enavigationsymbol% %insertsubsectionnavigationsymbol% %insert= sectionnavigationsymbol% %insertdocnavigationsymbol% %insertb= ackfindforwardnavigationsymbol%}\\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 us= e 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 > =C2=AB beamer-fr.org =C2=BB, 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. > --0000000000009c3f9c0580bf203f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, t= he quotation of the file content beamer-fr= .org missed. Here is:

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



**
:PROPERTIES:
=C2=A0:BEAMER_opt: allowframebreaks,label=3D
:EN= D:
bibliography:/home/joseph/MEGA/org/reforg.bib
bibliographystyle:ap= alike
Best wishes,

Jo.


Le= =C2=A0jeu. 31 janv. 2019 =C3=A0=C2=A012:08, Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com= > a =C3=A9crit=C2=A0:

Hello Johanna,

I am using scimax from John Kitchin https://github.com/jkitchin/scimax and I r= ecommend it to you warmly.

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

(add-to-list 'org-latex-classes
             '("beamer-ahp-ul&q=
uot;
               "\\documentclass\[10=
pt,svgnames,fragile]\{beamer\}
                [NO-DEFAULT-PACKAGES]
                [PACKAGES]
                [NO-EXTRA]
\\theoremstyle{plain}% default
\\newtheorem{thm}{Theorem}[section]
\\newtheorem{theo}{Th=C3=A9or=C3=A8me}[s=
ection]
\\newtheorem{lem}[thm]{Lemma}
\\newtheorem{prop}[thm]{Proposition}
\\newtheorem*{cor}{Corollary}
\\theoremstyle{definition}
\\newtheorem{defi}{Definition}[section]<=
/span>
\\newtheorem{rema}[thm]{Remarque}
\\newtheorem{Conjecture}[theorem]{Conjec=
ture}
\\newtheorem{exa}{Example}[section]
\\newtheorem{exem}{Exemple}[section]
\\\hypersetup{colorlinks,
citecolor=3Dblue,
linkcolor=3D.,
menucolor=3Dwhite,
filecolor=3Dpink,   
anchorcolor=3Dyellow
}
\\AtBeginSection\[\]\{\\begin\{frame\}&l=
t;beamer>\\frametitle\{\}\\tableofcontents\[currentsection,hideothersubs=
ections\]\\end\{frame\}\}
\\subtitle\{\}
\\institute\[Universit=C3=A9 de Lorraine=
\]\{D=C3=A9partement de philosophie \\\\ Archives Henri Poincar=C3=A9 - UMR=
 7117 du CNRS \\\\ Universit=C3=A9 de Lorraine \\\\ 91 bd Lib=C3=A9ration, =
54000 Nancy \\\\ France \}
\\titlegraphic\{\\includegraphics\[heigh=
t=3D1cm\]\{ahp\}\\includegraphics\[height=3D1cm\]\{udl\}\\includegraphics\[=
height=3D1cm\]\{cnrs\}\}
\\usetheme\{CambridgeUS\}
\\usepackage\{beamer_udl_theme\}
\\setbeamertemplate\{navigation symbols\=
}{%
        %insertslidenavigationsymbol%
        %insertframenavigationsymbol%
        %insertsubsectionnavigationsymbo=
l%
        %insertsectionnavigationsymbol%<=
/span>
        %insertdocnavigationsymbol%
        %insertbackfindforwardnavigation=
symbol%
}
\\setbeamertemplate{theorems}[numbered]<=
/span>
"
               ("\\section\{%s\}&qu=
ot; . "\\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
=C2=AB=C2=A0beamer-fr.or= g=C2=A0=C2=BB, 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.

--0000000000009c3f9c0580bf203f--