Skip to content

Commit

Permalink
Add script to build russian docs to PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 15, 2010
1 parent dc7366c commit 4c50e9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 8 additions & 0 deletions russian docs/build
@@ -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
7 changes: 1 addition & 6 deletions russian docs/watch
@@ -1,12 +1,7 @@
#!/bin/sh #!/bin/sh


while true; do while true; do
for i in images/*.dia; do . ./build
dia -t tex $i -e images/`basename $i .dia`.tex
done
pdflatex Аннотация.tex && pdflatex Диплом.tex

rm *.log *.out images/*.tex


inotifywait -e MOVE_SELF,MODIFY,CLOSE_WRITE *.tex images/*.dia inotifywait -e MOVE_SELF,MODIFY,CLOSE_WRITE *.tex images/*.dia
sleep 1 sleep 1
Expand Down

0 comments on commit 4c50e9c

Please sign in to comment.