Skip to content

Commit

Permalink
Replaced tux in the examples with a generic example image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed May 7, 2017
1 parent be72f2d commit 9e93685
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 18 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TDSARCHIVE=markdown.tds.zip
CTANARCHIVE=markdown.ctan.zip
DISTARCHIVE=markdown.zip
ARCHIVES=$(TDSARCHIVE) $(CTANARCHIVE) $(DISTARCHIVE)
EXAMPLES_RESOURCES=examples/tux.pdf examples/example.md examples/scientists.csv
EXAMPLES_RESOURCES=examples/example.md examples/scientists.csv
EXAMPLES_SOURCES=examples/context.tex examples/latex.tex
EXAMPLES=examples/context-mkii.pdf examples/context-mkiv.pdf \
examples/latex-luatex.pdf examples/latex-pdftex.pdf
Expand Down Expand Up @@ -66,14 +66,7 @@ $(TDSARCHIVE): $(DTXARCHIVE) $(INSTALLABLES) $(MANUAL)
doc/context/third/markdown/examples
cp $(MANUAL) doc/generic/markdown/
cp examples/context.tex $(EXAMPLES_RESOURCES) doc/context/third/markdown/examples/
printf 'To typeset the example, process the file `context.tex` using ConTeXt.\n\n' > \
doc/context/third/markdown/examples/README.md
cp examples/latex.tex $(EXAMPLES_RESOURCES) doc/latex/markdown/examples/
printf 'To typeset the example, process the file `latex.tex` using LaTeX.\n\n' > \
doc/latex/markdown/examples/README.md
sed -n '/The file `tux.pdf` contains Tux/,$$p' <examples/README.md | tee -a \
doc/context/third/markdown/examples/README.md \
doc/latex/markdown/examples/README.md
@# Installing the sources.
mkdir -p source/generic/markdown
cp $(DTXARCHIVE) $(INSTALLER) source/generic/markdown
Expand Down
9 changes: 0 additions & 9 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,3 @@ This directory contains example LaTeX and ConTeXt source files. These files can
be typeset by running the GNU `make` program in this directory. It is expected
that your TeX installation contains the `pdflatex`, `xelatex`, `lualatex`,
`texexec`, and `context` executables.

The file `tux.pdf` contains Tux, the Linux Mascot, by Larry Ewing
<lewing@isc.tamu.edu> (created in GIMP). As stated on the
[author's website][lewing]:

> Permission to use and/or modify this image is granted provided you
> acknowledge me <lewing@isc.tamu.edu> and The GIMP if someone asks.
[lewing]: http://isc.tamu.edu/~lewing/linux/ "Linux 2.0 Penguins"
1 change: 1 addition & 0 deletions examples/context.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
\enableregime[utf]
\usetypescript[modern][ec]
\setupbodyfont[10pt,rm]
\setupexternalfigures[location={local,global,default}]
\usemodule[t][markdown]
\def\markdownOptionHashEnumerators{true}
\def\markdownOptionDefinitionLists{true}
Expand Down
2 changes: 1 addition & 1 deletion examples/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a text paragraph containing an ellipsis ... and followed by a horizontal

This is inline `code`. This is a [link](http://google.cz "Google"). _This is an *emphasized* span of text_. __This is a **strongly emphasized** span of text__.

![tux](tux.pdf "Tux by Larry Ewing <lewing@isc.tamu.edu> (created in GIMP)")
![example image](example-image.pdf "An example image from Martin Scharrer's mwe package")

/scientists.csv (The great minds of the 19th century rendered via a content block)

Expand Down
Binary file removed examples/tux.pdf
Binary file not shown.

0 comments on commit 9e93685

Please sign in to comment.