Skip to content

Commit

Permalink
update version to 3.33; add some bat files for convenience.
Browse files Browse the repository at this point in the history
Signed-off-by: Qu Xiaofeng <quxiaofeng.at.polyu@gmail.com>
  • Loading branch information
quxiaofeng committed Mar 31, 2014
1 parent 69a3183 commit e49a45b
Show file tree
Hide file tree
Showing 13 changed files with 50 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
# Ignore gvim temorary files
*~
*.swp
*.zip
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ It is not finished, and will be improved.
1. Need Beamer (of course)
2. Need picins package in

~~~~{#picins .c}

\user\share\texmf\tex\latex\
```{#picins .c}
~~~~~~~~~
\texmf-local\tex\latex\local\
```



### Settings

~~~{#theme .tex}
```{#theme .tex}
\usepackage[
compress,
%minimal,
Expand All @@ -34,12 +35,12 @@ It is not finished, and will be improved.
%blue,
numbers,
%nologo,
%polyu,
polyu,
%comp,
%forty,
]
{beamerthemeHongKong}
~~~~~~
```

+ "compress" option is recommended. It provides a short header and information about slides structure.
+ "minimal" option provides a simplest framework.
Expand Down
6 changes: 6 additions & 0 deletions copylocalexampletothemes.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
echo off
rmdir themes /s /q
xcopy example\beamertheme*.sty themes\theme\ /y
xcopy example\beameroutertheme*.sty themes\outer\ /y
xcopy example\polyu\* themes\outer\polyu\ /y
xcopy example\beamercolortheme*.sty themes\color\ /y
6 changes: 6 additions & 0 deletions copythemestolocalexample.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
echo off
del example\*.sty /q
rmdir example\polyu /s /q
copy themes\theme\* example\ /y
xcopy themes\outer\* example\ /s /y
copy themes\color\* example\ /y
Empty file removed copythemstolocalexample.bat
Empty file.
2 changes: 1 addition & 1 deletion example/beamercolorthemepolyublue.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyublue}[2014/03/29]
\ProvidesPackage{beamercolorthemepolyublue}[2014/03/31]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand Down
2 changes: 1 addition & 1 deletion example/beamercolorthemepolyugold.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyugold}[2014/03/29]
\ProvidesPackage{beamercolorthemepolyugold}[2014/03/31]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand Down
2 changes: 1 addition & 1 deletion example/beamercolorthemepolyured.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamercolorthemepolyured}[2014/03/29]
\ProvidesPackage{beamercolorthemepolyured}[2014/03/31]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand Down
2 changes: 1 addition & 1 deletion example/beamerouterthemepolyu.sty
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\ProvidesPackage{beamerouterthemepolyu}[2014/03/28]
\ProvidesPackage{beamerouterthemepolyu}[2014/03/31]

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2007 by Joerg Cassens <jmt@cassens.org>
Expand Down
4 changes: 2 additions & 2 deletions example/beamerthemeHongKong.sty
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\ProvidesPackage{beamerthemeHongKong}[2014/03/28]
\def\beamerhongkong@version{3.26}
\ProvidesPackage{beamerthemeHongKong}[2014/03/31]
\def\beamerhongkong@version{3.33}

% Copyright 2003 by Till Tantau <tantau@users.sourceforge.net>
% and 2005-2006 by Jorg Cassens <jmt@cassens.org>
Expand Down
Binary file added example/example.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions example/example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@
%numbers,
%nologo,
%polyu,
%comp,
comp,
forty,
]
{beamerthemeHongKong}

\begin{document}

\title[Title short]{Title full}
\author[Author short]{Author full}
\author[Author short name]{Author full name}
\institute[institute]{institute full name}
\date{\today}
\frame{\titlepage}
Expand Down
22 changes: 22 additions & 0 deletions makereleasezip.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
echo off
FOR /R "." %%s IN (*.aux) DO call del "%%s"
FOR /R "." %%s IN (*.bak) DO call del "%%s"
FOR /R "." %%s IN (*.blg) DO call del "%%s"
FOR /R "." %%s IN (*.fdb_latexmk) DO call del "%%s"
FOR /R "." %%s IN (*.fls) DO call del "%%s"
FOR /R "." %%s IN (*.log) DO call del "%%s"
FOR /R "." %%s IN (*.lot) DO call del "%%s"
FOR /R "." %%s IN (*.nav) DO call del "%%s"
FOR /R "." %%s IN (*.nlo) DO call del "%%s"
FOR /R "." %%s IN (*.nls) DO call del "%%s"
FOR /R "." %%s IN (*.out) DO call del "%%s"
FOR /R "." %%s IN (*.snm) DO call del "%%s"
FOR /R "." %%s IN (*.synctex.gz) DO call del "%%s"
FOR /R "." %%s IN (*.tex.sav) DO call del "%%s"
FOR /R "." %%s IN (*.toc) DO call del "%%s"
FOR /R "." %%s IN (*~) DO call del "%%s"

del *.zip /q

7z a -mx9 example-with-local-theme.zip example\
7z a -mx9 PolyU-beamer-theme.zip themes\

0 comments on commit e49a45b

Please sign in to comment.