From 0b9633dcf60b13d1ceb5b4d80fcdeb3164b850a2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 14 Dec 2015 00:38:22 +0000 Subject: beamertheme-phnompenh, renamed from beamerthemephnompenh git-svn-id: svn://tug.org/texlive/trunk@39100 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/beamertheme-phnompenh/README | 12 ++++++++++ .../beamertheme-phnompenh/beamerthemePhnomPenh.pdf | Bin 0 -> 76109 bytes .../beamertheme-phnompenh/beamerthemePhnomPenh.tex | 26 +++++++++++++++++++++ .../beamertheme-phnompenh/beamerthemePhnomPenh.sty | 22 +++++++++++++++++ Master/tlpkg/bin/tlpkg-ctan-check | 4 ++-- Master/tlpkg/bin/tlpkginfo | 22 +++++++++-------- Master/tlpkg/tlpsrc/beamertheme-phnompenh.tlpsrc | 0 Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + 8 files changed, 75 insertions(+), 12 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/beamertheme-phnompenh/README create mode 100644 Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.pdf create mode 100644 Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.tex create mode 100644 Master/texmf-dist/tex/latex/beamertheme-phnompenh/beamerthemePhnomPenh.sty create mode 100644 Master/tlpkg/tlpsrc/beamertheme-phnompenh.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/beamertheme-phnompenh/README b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/README new file mode 100644 index 00000000000..9374d5873dc --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/README @@ -0,0 +1,12 @@ +Name of contribution: beamerthemePhnomPenh +Version number: 1.0 +Author's name: Say OL +Author's email: say_ol@yahoo.com + + +To see style theme look like, +launch 'beamerthemePhnomPenh.pdf' +or run 'beamerthemePhnomPenh.tex' + +To see the theme custom, +launch 'beamerthemePhnomPenh.sty' diff --git a/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.pdf b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.pdf new file mode 100644 index 00000000000..634dd57a41a Binary files /dev/null and b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.pdf differ diff --git a/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.tex b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.tex new file mode 100644 index 00000000000..3afb12939c7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/beamertheme-phnompenh/beamerthemePhnomPenh.tex @@ -0,0 +1,26 @@ +\documentclass{beamer} +\usetheme{PhnomPenh} +\title[beamerthemePhnomPenh.sty]{Beamer Theme Phnom Penh} +\author[Say]{Say OL} +\institute[RUPP]{Royal University of Phnom Penh} +\date{\today} +\begin{document} +\section{Section} + \subsection{Subsection} + \begin{frame}{Greeting} + \titlepage + \end{frame} + \subsection{Subsection} + \begin{frame}{Outlines} + \tableofcontents + \end{frame} +\section{Seection} + \subsection{Subsection} + \begin{frame}{Frame Title} + content... + \end{frame} + \subsection{Subsection} + \begin{frame}{Frame Title} + content... + \end{frame} +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/beamertheme-phnompenh/beamerthemePhnomPenh.sty b/Master/texmf-dist/tex/latex/beamertheme-phnompenh/beamerthemePhnomPenh.sty new file mode 100644 index 00000000000..aee8a1804fe --- /dev/null +++ b/Master/texmf-dist/tex/latex/beamertheme-phnompenh/beamerthemePhnomPenh.sty @@ -0,0 +1,22 @@ +\mode + +\useinnertheme[shadow=true]{rounded} +\useoutertheme{shadow} +\useoutertheme{infolines} +\useoutertheme[subsections=false]{smoothbars} +\setbeamerfont{frametitle}{size=\small,series=\bfseries} +\setbeamerfont{author}{size=\large,series=\bfseries} +\setbeamerfont{institute}{size=\large,series=\bfseries} +\setbeamerfont{date}{size=\large,series=\bfseries} +\usefonttheme[onlylarge]{structuresmallcapsserif} +\usefonttheme[onlysmall]{structurebold} +\usecolortheme{orchid} +\usecolortheme{whale} +\setbeamercolor{title}{fg=white,bg=black} +\setbeamercolor{author}{fg=white,bg=blue} +\setbeamercolor{institute}{fg=white,bg=red} +\setbeamercolor{date}{fg=black,bg=green} +\setbeamertemplate{navigation symbols}{} +\setbeamercovered{highly dynamic} + +\mode diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index b42cb0e23dd..7ea5674e8e9 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -73,8 +73,8 @@ my @TLP_working = qw( beamer beamer2thesis beamer-FUBerlin beamer-tut-pt beamer-verona beameraudience beamerdarkthemes beamerposter beamersubframe beamertheme-detlevcm beamertheme-metropolis - beamertheme-upenn-bc - beamerthemejltree beamerthemephnompenh + beamertheme-phnompenh beamertheme-upenn-bc + beamerthemejltree beamerthemenirma beebe begingreek begriff belleek bengali bera berenisadf besjournals bestpapers betababel beton diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo index 10625f738ce..bdb529cfebf 100755 --- a/Master/tlpkg/bin/tlpkginfo +++ b/Master/tlpkg/bin/tlpkginfo @@ -19,7 +19,7 @@ sub main { if ($#ARGV >= 0 && ($ARGV[0] =~ m/^--?rev(ision)?$/)) { &tlpkgrevision(); } else { - &ctaninfo(); + &ctaninfo (); } } @@ -135,6 +135,7 @@ sub find_ctan_dir { # The CTAN path to a package is sometimes stored in the TeX Catalogue, # but old entries don't have it, etc. Still, we want to use it if present. my $ctan_dir = &catalogue_find_ctan_path ($me, $do_copy); +#warn "find_ctan_dir: got $ctan_dir\n"; if (! $ctan_dir) { # fall back on many special cases (my $me_wo_babel = $me) =~ s,^babel-,,; # remove when Catalogue ready @@ -227,9 +228,6 @@ sub find_ctan_dir { # do last, for sake of subdirs above. $ctan_dir = "language/hyphenation" if $me =~ /^hyphen-/ && ! $ctan_dir; - } else { - warn "$0: could not find ctan dir for $pkgname ($me)\n"; - return 1; } if ($me eq "cm") { @@ -326,21 +324,25 @@ sub catalogue_find_ctan_path { # Subcase of (2): package name is babel-hungarian, but CTAN path is # babel-contrib/hungarian. Sigh. # -#warn "ctan path $ctan_path, pkg $pkgname\n"; +#warn "catalogue ctan path $ctan_path, pkg $pkgname\n"; + my $ret; if ($ctan_path =~ /file='true'/) { (my $ctan_babel_path = $ctan_path) =~ s,babel-contrib/,babel-,; if ($ctan_path =~ m,/$pkgname/, || $ctan_babel_path =~ m,/$pkgname/,) { - return undef; # pkg dir somewhere in path. + $ret = undef; # pkg dir somewhere in path. } else { - return $do_copy # are we called by prepare() or not? + $ret = $do_copy # are we called by prepare() or not? ? ©_to_tmpdir ($pkgname, "$CTAN/$ctan_loc") : "$CTAN/$ctan_loc"; } + } else { + # not a single file, so use the regular ctan location. + $ret = "$CTAN/$ctan_loc"; } - - # not a single file, so use the regular ctan location. - return $ctan_loc; + +#warn "catalogue returning $ret\n"; + return $ret; } # diff --git a/Master/tlpkg/tlpsrc/beamertheme-phnompenh.tlpsrc b/Master/tlpkg/tlpsrc/beamertheme-phnompenh.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index eae8898d763..74f593811e0 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -64,6 +64,7 @@ depend beamerposter depend beamersubframe depend beamertheme-detlevcm depend beamertheme-metropolis +depend beamertheme-phnompenh depend beamertheme-upenn-bc depend beamerthemejltree depend beamerthemenirma -- cgit v1.2.3