Permalink
Browse files

Add script to build russian docs to PDF

  • Loading branch information...
1 parent dc7366c commit 4c50e9cb8e2a2cd0f09612d40ee9b5c34ead6690 @ai committed Feb 15, 2010
Showing with 9 additions and 6 deletions.
  1. +8 −0 russian docs/build
  2. +1 −6 russian docs/watch
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for i in images/*.dia; do
+ dia -t tex $i -e images/`basename $i .dia`.tex
+done
+pdflatex Аннотация.tex && pdflatex Диплом.tex
+
+rm *.log *.out images/*.tex
View
@@ -1,12 +1,7 @@
#!/bin/sh
while true; do
- for i in images/*.dia; do
- dia -t tex $i -e images/`basename $i .dia`.tex
- done
- pdflatex Аннотация.tex && pdflatex Диплом.tex
-
- rm *.log *.out images/*.tex
+ . ./build
inotifywait -e MOVE_SELF,MODIFY,CLOSE_WRITE *.tex images/*.dia
sleep 1

0 comments on commit 4c50e9c

Please sign in to comment.