Restore PDF index

This commit is contained in:
Richard Berger
2020-09-18 17:51:51 -04:00
parent d4cd67ce74
commit 3c3b76a781
2 changed files with 5 additions and 7 deletions

View File

@ -166,15 +166,11 @@ pdf: xmlgen $(VENV) $(SPHINXCONFIG)/conf.py $(ANCHORCHECK)
deactivate ;\
)
@cd latex && \
sed 's/latexmk -pdf -dvi- -ps-/pdflatex/g' Makefile > temp && \
mv temp Makefile && \
sed 's/\\begin{equation}//g' LAMMPS.tex > tmp.tex && \
mv tmp.tex LAMMPS.tex && \
sed 's/\\end{equation}//g' LAMMPS.tex > tmp.tex && \
mv tmp.tex LAMMPS.tex && \
$(MAKE) $(MFLAGS) && \
$(MAKE) $(MFLAGS) && \
$(MAKE) $(MFLAGS) && \
mv LAMMPS.pdf ../Manual.pdf && \
cd ../;
@rm -rf latex/_sources

View File

@ -89,7 +89,9 @@ Programmer Documentation
fix_modify_atc_commands
Indices and tables
==================
******************
* :ref:`genindex`
* :ref:`search`
.. only:: html
* :ref:`genindex`
* :ref:`search`