From 93a1787f2be1f8dae5927c7b9ea40308a3062bb0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Dec 2017 22:24:10 +0000 Subject: pst-node (10dec17) git-svn-id: svn://tug.org/texlive/trunk@46042 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/beamerswitch/beamerswitch.cls | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/beamerswitch/beamerswitch.cls b/Master/texmf-dist/tex/latex/beamerswitch/beamerswitch.cls index 1e107519248..dbb4cd3030a 100644 --- a/Master/texmf-dist/tex/latex/beamerswitch/beamerswitch.cls +++ b/Master/texmf-dist/tex/latex/beamerswitch/beamerswitch.cls @@ -15,7 +15,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{beamerswitch} - [2017/05/22 v1.2 Convenient mode selection in Beamer documents] + [2017/12/10 v1.3 Convenient mode selection in Beamer documents] \RequirePackage{xkeyval,xkvltxp,etoolbox,xstring,shellesc,iftex} \define@boolkey[DC]{beamerswitch}{beamer}[true]{% \ifbool{DC@beamerswitch@beamer}{% @@ -68,17 +68,22 @@ \providecommand*{\TransSuffix}{-trans} \providecommand*{\HandoutSuffix}{-handout} \providecommand*{\ArticleSuffix}{-article} +\providecommand{\SpawnedCompiler}{latexmk -silent -synctex=1 -interaction=batchmode } +\providecommand{\SpawnedTeX}{\SpawnedCompiler} +\providecommand{\SpawnedPDFTeX}{\SpawnedCompiler -pdf } +\providecommand{\SpawnedLuaTeX}{\SpawnedCompiler -pdflua } +\providecommand{\SpawnedXeTeX}{\SpawnedCompiler -pdfxe } \providecommand{\BeamerswitchSpawn}[1]{% \ifbool{PDFTeX}{% - \ShellEscape{latexmk -silent -pdf -synctex=1 -interaction=batchmode -jobname=\jobname#1 \jobname} + \ShellEscape{\SpawnedPDFTeX -jobname=\jobname#1 \jobname} }{% \ifbool{LuaTeX}{% - \ShellEscape{latexmk -silent -lualatex -synctex=1 -interaction=batchmode -jobname=\jobname#1 \jobname} + \ShellEscape{\SpawnedLuaTeX -jobname=\jobname#1 \jobname} }{% \ifbool{XeTeX}{% - \ShellEscape{latexmk -silent -xelatex -synctex=1 -interaction=batchmode -jobname=\jobname#1 \jobname} + \ShellEscape{\SpawnedXeTeX -jobname=\jobname#1 \jobname} }{% - \ShellEscape{latexmk -silent -synctex=1 -interaction=batchmode -jobname=\jobname#1 \jobname} + \ShellEscape{\SpawnedTeX -jobname=\jobname#1 \jobname} }% }% }% -- cgit v1.2.3