This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert into HTML | |
| mk4ht htlatex index.tex "html,mathplayer,info" | |
| ## Note, for some reasons it's generated not all of the images that are mentioned in HTML-file | |
| # Take all images | |
| grep -o 'src="[^"]*"' index.html | cut -d'"' -f2 > image_paths.txt | |
| # Drop 'img'-tag | |
| sed -i "/<img /g" index.html |