diff --git a/Makefile b/Makefile index fbb4de640..1840512c0 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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' (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 and The GIMP if someone asks. - - [lewing]: http://isc.tamu.edu/~lewing/linux/ "Linux 2.0 Penguins" diff --git a/examples/context.tex b/examples/context.tex index 3f69f98df..5c1caf25d 100644 --- a/examples/context.tex +++ b/examples/context.tex @@ -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} diff --git a/examples/example.md b/examples/example.md index 329647c2c..73f5ab9c2 100644 --- a/examples/example.md +++ b/examples/example.md @@ -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 (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) diff --git a/examples/tux.pdf b/examples/tux.pdf deleted file mode 100644 index 430182eba..000000000 Binary files a/examples/tux.pdf and /dev/null differ