Skip to content

Commit

Permalink
Adding templates_aroudn.tex also changed README/md
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeSigaud committed Dec 26, 2011
1 parent c844cfe commit a30545c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ What's it's about

This project is about a wonderful part of the [D programming language](www.dlang.org "D Website"): templates. It contains a (not-so) small LaTeX document on templates aiming to be a kind of tutorial.

* The master document is `dtemplates.tex` and calls the other subfiles:
The master document is `dtemplates.tex` and calls the other subfiles:

* `dtemplates_basics.tex` is about templates syntax, basic building blocks (`static if`, eponymous trick) and function, struct and class templates.
* `dtemplates_advanced.tex` is about more advanced ideas, like constraints, tuples and other metaprogramming constructs interacting with templates: traits, compile-time function evaluation (CTFE) and string mixins.
* `dtemplates_advanced.tex` is about more advanced ideas, like constraints, tuples or operator overloading
* `dtemplates_around.tex` deals with other metaprogramming constructs interacting with templates: traits, compile-time function evaluation (CTFE) and string mixins.
* `dtemplates_examples.tex` presents some more detailed examples of what can be bone with D templates.
* `dtemplates_appendix.tex` gives some explanation on the `is` expression.

Expand All @@ -17,7 +19,7 @@ I'll push the resulting pdf file on this repo, but it'd be best to generate it a
LaTeX notes
-----------

The document uses the [minted](http://code.google.com/p/minted/) package. `minted` uses Python's [Pygment](pygment.org) highlighter.
The document uses the [minted](http://code.google.com/p/minted/) package. `minted` uses Python's [Pygment](pygments.org) highlighter.
D code blocks are between `\begin{dcode}` and `\end{dcode}` commands. Transform them into `verbatim` commands if you do not want to use `minted`.

TODO
Expand Down

0 comments on commit a30545c

Please sign in to comment.