Changes

Jump to navigation Jump to search
236 bytes removed ,  18:37, 5 February 2009
m
Loaded figure
This example shows how to completely replace the chapter text and number by an image:
<texcodecontext source="yes">\useexternalfiguresetupexternalfigures[chapter-1][cow.pdf]\useexternalfigure[chapter-2][hacker.jpglocation=default]% needed only for the wiki to the find the figure
\setuphead
[chapter]
[command=\MyChapterCommand]
 
\def\MyChapterCommand#1#2%
{\externalfigure[chapter-\currentheadnumber][height=5cm]}
 
\starttext
 
\chapter{One}
\section{First section of Chapter One}
 
\chapter{Two}
 
\stoptext
</texcode>
 
<context>
\useexternalfigure[chapter-1][cow.pdf]
\useexternalfigure[chapter-2][hacker.jpg]
gardener
110

edits

Navigation menu