Skip to content

Commit

Permalink
move latex source (#14)
Browse files Browse the repository at this point in the history
move latex source to assets subfolder

+ fix strange space to make it compile
  • Loading branch information
ltalirz committed Apr 30, 2019
1 parent 0b2143e commit 583bf3b
Show file tree
Hide file tree
Showing 49 changed files with 15 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions latex/Makefile → docs/assets/2018_PRACE_MaX/latex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ deps:=$(wildcard sections/*.tex)

temp_files = $(shell find . -name "*aux" -o -name "*log" -o -name "*toc" -o -name "*out" -o -name "*-clean.tex" -o -name "*.db" -o -name "*.md")

all: $(patsubst %.tex, %.pdf, $(wildcard *.tex))
pdflatex: $(patsubst %.tex, %.pdf, $(wildcard *.tex))

%.pdf: %.tex $(deps)
pdflatex ${LATEX_INTERACTION_MODE} $< && pdflatex $< && pdflatex $<
Expand All @@ -13,6 +13,9 @@ all: $(patsubst %.tex, %.pdf, $(wildcard *.tex))
clean:
rm -f ${temp_files}

distclean: clean
rm -f AiiDA_tutorial.pdf AiiDA_tutorial_online.pdf

markdown: $(deps)
./de-macro.py AiiDA_tutorial.tex
pandoc -s --filter pandocfilter.py AiiDA_tutorial-clean.tex -t markdown_github-fenced_code_attributes -o AiiDA_tutorial-clean.md
Expand All @@ -22,5 +25,3 @@ rst: $(deps)
pandoc -s --filter pandocfilter.py AiiDA_tutorial-clean.tex -t rst -o AiiDA_tutorial-clean.rst


distclean: clean
rm -f AiiDA_tutorial.pdf AiiDA_tutorial_online.pdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ This folder contains the LaTeX source for the 2018 PRACE-MaX AiiDA tutorial.
**Note:** The LaTeX source is kept only for historical reasons
and has been replaced by the markdown/rst based version.

## Compiling LaTeX source

```
make
```

## Export to markdown/rst

The LaTeX source can be converted as follows:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ \subsubsection{Structures}
converted directly from ASE~\cite{ref:ASE} structures using\footnote{We purposefully do not provide advanced commands
for crystal structure manipulation in AiiDA, because python packages that accomplish such tasks
already exist (such as ASE or pymatgen).}
\begin{pythoncommand}
\begin{pythoncommand}
from ase.lattice.spacegroup import crystal
ase_structure = crystal('Si', [(0,0,0)], spacegroup=227,
cellpar=[alat, alat, alat, 90, 90, 90],primitive_cell=True)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = []
exclude_patterns = ['assets/*']

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
Expand Down
7 changes: 3 additions & 4 deletions docs/pages/2018_PRACE_MaX/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ Bologna, Italy.
PRACE-MaX tutorial on high-throughput computations
==================================================

The instructions of the tutorial were are found below, converted from the
`original LaTeX
source <https://github.com/aiidateam/aiida-tutorials/tree/master/latex>`__
to MarkDown.
The instructions below have been converted from the `original LaTeX source
<https://github.com/aiidateam/aiida-tutorials-latex>`__.
See also the `original PDF <https://object.cscs.ch/v1/AUTH_b1d80408b3d340db9f03d373bbde5c1e/marvel-vms/aiida_tutorial_2018_05_text.pdf>`_.

Sections
--------
Expand Down

0 comments on commit 583bf3b

Please sign in to comment.