Skip to content

Commit

Permalink
Changed Project Name, Added BOM Removal
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasWeise committed Oct 23, 2016
1 parent aac4d18 commit b9dc1d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>latexSlides</name>
<name>ustcSlides</name>
<comment></comment>
<projects>
</projects>
Expand Down
6 changes: 3 additions & 3 deletions README.md
@@ -1,8 +1,8 @@
# LaTeX Slides
# [USTC](http://www.ustc.edu.cn)-Themed [LaTeX](https://en.wikipedia.org/wiki/LaTeX) Slides

[<img alt="Wercker Build Status" src="https://img.shields.io/wercker/ci/5742d62fb6677f7b7d012c60.svg" height="20"/>](https://app.wercker.com/#applications/5742d62fb6677f7b7d012c60)
[<img alt="Wercker Build Status" src="https://img.shields.io/wercker/ci/bd9d838c88053b3526ba02d2cc7a5b42.svg" height="20"/>](https://app.wercker.com/#applications/5742d62fb6677f7b7d012c60)

Here I store my [LaTeX](https://en.wikipedia.org/wiki/LaTeX) template for [beamer](https://en.wikipedia.org/wiki/Beamer_%28LaTeX%29) slides. It is loosely based on the corporate design of the University of Science and Technology of China (<a href="http://en.wikipedia.org/wiki/University_of_Science_and_Technology_of_China">USTC</a>) [中国科学技术大学].
Here I store my [USTC](http://www.ustc.edu.cn)-themed [LaTeX](https://en.wikipedia.org/wiki/LaTeX) slides template for [beamer](https://en.wikipedia.org/wiki/Beamer_%28LaTeX%29) slides. It is loosely based on the corporate design of the University of Science and Technology of China (<a href="http://en.wikipedia.org/wiki/University_of_Science_and_Technology_of_China">USTC</a>) [中国科学技术大学].

## 1. Usage

Expand Down
4 changes: 4 additions & 0 deletions scripts/tex.sh
Expand Up @@ -45,6 +45,10 @@ rm "$document.synctex.gz" || true
rm "$document.toc" || true
rm "$document.vrb" || true

echo "Now removing Unicode BOMs of .tex and .sty files, if any, as they will confuse LaTeX compilers"
sed -i '1 s/^\xef\xbb\xbf//' "$document.tex"
sed -i '1 s/^\xef\xbb\xbf//' *.sty || true

echo "We will perform runs of $program/BibTeX until no internal files change anymore."

auxHash=""
Expand Down

0 comments on commit b9dc1d9

Please sign in to comment.