jdsdj / draft

C++ standards drafts

Home Page:http://www.open-std.org/jtc1/sc22/wg21/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C++ Standard Draft Sources

These are the sources used to generate drafts of the C++ standard. These sources should not be considered an ISO publication, nor should documents generated from them unless officially adopted by the C++ working group (ISO/IEC JTC1/SC22/WG21).

Get involved:

More information about the C++ standard can be found at isocpp.org.

Getting Started on Mac OS X

Install the MacTeX distribution.

If you are on a slow network, you'll want to get the BasicTeX package instead, then run the following command to install the other packages that the draft requires:

sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem

Getting Started on Debian-based Systems

Install the following packages:

sudo apt-get install latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended

Getting Started on Fedora

Install the following packages:

dnf install latexmk texlive texlive-isodate texlive-relsize texlive-ulem texlive-fixme texlive-extract

Getting Started on Arch Linux

Install the following packages:

latex-mk from the Arch User Repository. pacman -S texlive-latexextra

Instructions

To typeset the draft document, from the source directory:

  1. run latexmk -pdf std

That's it! You should now have an std.pdf containing the typeset draft.

Alternative instructions

If you can't use latexmk for some reason, you can use the Makefiles instead:

  1. run make rebuild
  2. run make reindex

If you can't use latexmk or make for some reason, you can run LaTeX manually instead:

  1. run pdflatex std until there are no more changed labels or changed tables
  2. run makeindex generalindex
  3. run makeindex libraryindex
  4. run makeindex grammarindex
  5. run makeindex impldefindex
  6. run pdflatex std once more.
  7. run makeindex -s basic.gst -o xrefindex.gls xrefindex.glo
  8. run makeindex -s basic.gst -o xrefdelta.gls xrefdelta.glo
  9. run pdflatex std twice more.

Generated input files

To regenerate figures from .dot files, run:

dot -o<pdfname> -Tpdf <dotfilename>

For example:

dot -ofigstreampos.pdf -Tpdf figstreampos.dot

Acknowledgements

A great deal of gratitude goes out to Pete Becker for his amazing work in the original conversion of the C++ standard drafts to LaTeX, and his subsequent maintenance of the standard drafts up to C++11. Thank you Pete.

Thanks to Walter Brown for suggesting the use of latexmk.

About

C++ standards drafts

http://www.open-std.org/jtc1/sc22/wg21/


Languages

Language:TeX 86.9%Language:HTML 12.8%Language:sed 0.1%Language:Shell 0.1%Language:C++ 0.0%Language:Makefile 0.0%Language:Perl 0.0%