lammps/doc
Axel Kohlmeyer 66e885b6e5
Merge branch 'master' into collected-small-changes
# Conflicts:
#	src/USER-YAFF/pair_lj_switch3_coulgauss_long.cpp
#	src/USER-YAFF/pair_mm3_switch3_coulgauss_long.cpp
2021-04-02 17:57:54 -04:00
..
doxygen add some documentation for the programmer guide and doxygen decorations 2021-01-31 23:06:59 -05:00
graphviz add more details and derived class to the class diagram and use a different layout engine 2020-10-15 12:00:10 -04:00
src Merge branch 'master' into collected-small-changes 2021-04-02 17:57:54 -04:00
utils Merge pull request #2650 from akohlmey/plugin-loader 2021-04-02 15:08:44 -04:00
.gitignore Refactor changes to documentation build 2020-08-25 13:41:31 -04:00
Makefile apply changes to doc Makefile to limit the impact of SNL network config changes 2021-02-16 11:40:25 -05:00
README xindy doesn't seem to be required (and is not available on CentOS 8) 2020-09-23 17:13:09 -04:00
documentation_conventions.md update documentation conventions for recent changes to the manual. 2020-10-14 17:01:58 -04:00
github-development-workflow.md Fix casing of the word GitHub 2020-11-10 14:20:52 +01:00
include-file-conventions.md update include conventions and refer to the new CMake build target 2020-09-02 18:42:41 -04:00
lammps.1 step version strings for the next patch release 2021-03-09 07:26:59 -05:00
msi2lmp.1 Fix typo 2020-03-14 13:57:48 +09:00

README

LAMMPS Documentation

Depending on how you obtained LAMMPS and whether you have built
the manual yourself, this directory has a varying number of
sub-directories and files. Here is a list with descriptions:

README            this file
src               content files for LAMMPS documentation
html              HTML version of the LAMMPS manual (see html/Manual.html)
utils             utilities and settings for building the documentation
Manual.pdf        PDF version of entire manual
LAMMPS.epub       Manual in ePUB format
LAMMPS.mobi       Manual in MOBI (Kindle) format
lammps.1          man page for the lammps command
msi2lmp.1         man page for the msi2lmp command
doctree           temporary data
docenv            python virtual environment for generating the manual
doxygen           Doxygen configuration and output
.gitignore        list of files and folders to be ignored by git
doxygen-warn.log  logfile with warnings from running doxygen

and:

github-development-workflow.md   notes on the LAMMPS development workflow
include-file-conventions.md      notes on LAMMPS' include file conventions
documentation_conventions.md     notes on writing documentation for LAMMPS

If you downloaded a LAMMPS tarball from lammps.sandia.gov, then the html
folder and the PDF manual should be included. If you downloaded LAMMPS
from GitHub then you either need to download them or build them.

(a) You can "fetch" the current HTML and PDF files from the LAMMPS web
site.  Just type "make fetch".  This should create a html_www directory
and Manual_www.pdf file.  These will always represent the latest published
patch/development version of LAMMPS.

(b) You can build the HTML and PDF files yourself, by typing "make html"
or by "make pdf", respectively.  This requires various tools and files.
Some of them have to be installed (more on that below).  For the rest the
build process will attempt to download and install into a python virtual
environment and local folders.

----------------

Installing prerequisites for the documentation build

To run the HTML documention build toolchain, python 3.x, doxygen, git,
and virtualenv have to be installed.  Also internet access is initially
required to download external files and tools.

Building the PDF format manual requires in addition a compatible LaTeX
installation with support for PDFLaTeX and several add-on LaTeX packages
installed.  This includes:
- amsmath
- anysize
- babel
- capt-of
- cmap
- fncychap
- framed
- geometry
- hyperref
- hypcap
- needspace
- times
- tabulary
- upquote
- wrapfig
Also the latexmk script is required to run PDFLaTeX and related tools.
the required number of times to have self-consistent output and include
updated bibliography and indices.

Building the EPUB format requires LaTeX installation with the same packages
as for the PDF format plus the 'dvipng' command to convert the embedded math
into images. The MOBI format is generated from the EPUB format file by using
the tool 'ebook-convert' from the 'calibre' e-book management software
(https://calibre-ebook.com).
----------------

More details this can be found in the manual itself. The online
version is at: https://lammps.sandia.gov/doc/Manual_build.html