Add script to generate the HTML user manual from LaTeX
This commit is contained in:
parent
050b610d8c
commit
35574fd138
15
documentation/UserManual/configHTLatex.cfg
Normal file
15
documentation/UserManual/configHTLatex.cfg
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
\Preamble{html}
|
||||||
|
\begin{document}
|
||||||
|
% Upper case PNG file extensions
|
||||||
|
\Configure{graphics*}
|
||||||
|
{PNG}
|
||||||
|
{\Picture[pict]{\csname Gin@base\endcsname.PNG align=center border=0}}
|
||||||
|
% Lower case png extensions
|
||||||
|
\Configure{graphics*}
|
||||||
|
{png}
|
||||||
|
{\Picture[pict]{\csname Gin@base\endcsname.png align=center border=0}}
|
||||||
|
% Problems with spanish babel
|
||||||
|
\makeatletter
|
||||||
|
\let\ifes@LaTeXe\iftrue
|
||||||
|
\makeatother
|
||||||
|
\EndPreamble
|
13
documentation/UserManual/generateHTMLManual.sh
Executable file
13
documentation/UserManual/generateHTMLManual.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Delete the /html folder
|
||||||
|
rm -R html/
|
||||||
|
|
||||||
|
# Create the /html folder
|
||||||
|
mkdir html
|
||||||
|
|
||||||
|
# Use the htlatex command to generate the HTML user manual from the .tex file
|
||||||
|
htlatex ReactPhysics3D-UserManual.tex "configHTLatex.cfg,html" "" -dhtml/
|
||||||
|
|
||||||
|
# Copy the images/ folder into the html/ folder
|
||||||
|
cp -R images/ html/images/
|
Loading…
Reference in New Issue
Block a user