mirror of https://gitlab.com/QEF/q-e.git
adding user_guide.html, which is a patched version of wiki's user-guide, Doc/user_guide.html, and a script for distiling it to simpler html.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4923 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
c2c219772b
commit
6e9e59a1e5
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
html=$1
|
||||
tex=${1%.html}.tex
|
||||
|
||||
gnuhtml2latex $html
|
||||
|
||||
# the wiki produced html is so heavy that gnuhtml2latex fails;
|
||||
# fix the latex source
|
||||
|
||||
cp $tex /tmp/$tex.$$
|
||||
sed 's/\\par \\\\/\\par~\\\\/g' /tmp/$tex.$$ | \
|
||||
sed 's/\\begin{description}]/\\begin{description}\\item/g' | \
|
||||
sed 's/\\begin{document}/\\begin{document}\\title{Quantum-Espresso Documentation}\\maketitle/' > $tex
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue