Skip to content

Commit

Permalink
Updated README and PNG of original document
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-krieg committed May 5, 2021
1 parent 81dee83 commit 3d2def7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Installation
Usage
-------------------------------------------------------------------------------

The body text of the original draft is (adapted from
`Wikipeda <https://en.wikipedia.org/wiki/Wolf,_goat_and_cabbage_problem>`__)
as follows::
Bob's challenge is to write down the wolf, goat, and cabbage problem. He creates
a file ``main.tex`` with all the essential meta-information (title and author),
and drafts a first version to describe the problem (literally copied from
`Wikipeda <https://en.wikipedia.org/wiki/Wolf,_goat_and_cabbage_problem>`__)::

\documentclass[a4paper,twoside] {article}
\title{The wolf, the goat and the cabbage }
Expand All @@ -40,13 +41,16 @@ as follows::
of the river, leaving each purchase intact. How did he do it?
\end{document}

We commit our changes::
Bob creates a git repository, adds his file ``main.tex``, and commits his
changes::

git init
git add main.tex
git commit -m "Added original draft of 'test' document"

We tag the original draft::
In addition, Bob tags the original draft::

git tag -a -m "Orginal draft of 'test' document" orig-draft
git tag -a -m "Orginal draft of 'main' document" orig-draft

Now, lets have a look at the resulting PDF file::

Expand Down
Binary file modified docs/fig/orig-draft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d2def7

Please sign in to comment.