Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77616479
mkdocs.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 15, 12:21
Size
607 B
Mime Type
text/x-shellscript
Expires
Sat, Aug 17, 12:21 (2 d)
Engine
blob
Format
Raw Data
Handle
19898599
Attached To
rLAMMPS lammps
mkdocs.sh
View Options
#!/bin/sh
# update equations
for s in src/Eqs/*.tex
do \
n=`basename $s .tex`
if [ ! -e src/Eqs/${n}.jpg ] || [ $s -nt src/Eqs/${n}.jpg ]
then
pdflatex $s
pdftoppm ${n}.pdf | pnmcrop | pnmtojpeg > src/Eqs/${n}.jpg
rm -f ${n}.aux ${n}.log ${n}.pdf
fi
done
# convert all .txt files to html
make html
# check if we have any new html files,
# that are not yet in the book file.
for s in `echo src/*.txt | sed -e 's,src/,,g' -e 's,\.txt,\.html,g'`
do \
grep -q $s lammps.book || echo doc file $s missing in lammps.book
done
( cd html; htmldoc --batch ../lammps.book )
git co -- html src
Event Timeline
Log In to Comment