mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
434 B
18 lines
434 B
15 years ago
|
#!/bin/bash
|
||
|
|
||
|
LANGUAGES="${LANGUAGES:=c cpp py}"
|
||
|
|
||
|
mkdir -p $LANGUAGES
|
||
|
tput clear
|
||
|
python latex.py ../online-opencv.tex $LANGUAGES || exit
|
||
|
|
||
|
for D in $LANGUAGES
|
||
|
do
|
||
|
echo $D
|
||
|
mkdir -p _build/latex/$D
|
||
|
cp conf.py $D
|
||
|
cp mymath.sty _build/latex/$D
|
||
|
TEXINPUTS=$PWD: sphinx-build -w $D/sphinx.errors -D "lang=$D" -b latex -d _build/doctrees/$D $D _build/latex/$D
|
||
|
(cd _build/latex/$D && rm *.aux *.toc *.log && pdflatex opencv.tex)
|
||
|
done
|