diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-30 01:22:07 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-07-30 01:22:07 +0200 |
commit | 5135aef167bec739fe429e1aa987671768b237bc (patch) | |
tree | bd9f9696704e57c45f453bb7dc6becd5501cb657 /doc/context/sources/general/manuals/tiptrick | |
parent | 9d7c4ba8449bec1da920c01e24a17c41bbf2211d (diff) | |
download | context-5135aef167bec739fe429e1aa987671768b237bc.tar.gz |
2016-07-30 00:31:00
Diffstat (limited to 'doc/context/sources/general/manuals/tiptrick')
-rw-r--r-- | doc/context/sources/general/manuals/tiptrick/tiptrick.tex | 117 | ||||
-rw-r--r-- | doc/context/sources/general/manuals/tiptrick/tiptrick.xml | 53 |
2 files changed, 0 insertions, 170 deletions
diff --git a/doc/context/sources/general/manuals/tiptrick/tiptrick.tex b/doc/context/sources/general/manuals/tiptrick/tiptrick.tex deleted file mode 100644 index 54a785134..000000000 --- a/doc/context/sources/general/manuals/tiptrick/tiptrick.tex +++ /dev/null @@ -1,117 +0,0 @@ -% interface=en -% -% author: Hans Hagen - Pragma ADE - www.pragma-ade.com - -\setupbodyfont - [dejavu] - -\setuppapersize - [HD-] - -\setuplayout - [location=middle, - header=0pt, - footer=0pt, - backspace=2.25cm, - topspace=2.25cm, - width=middle, - height=middle] - -\setupcolors - [state=start] - -\startreusableMPgraphic{page} - StartPage ; - picture p ; path s ; - fill Page withcolor .5red ; - draw Page withpen pensquare scaled 2cm withcolor .75[.5red,white] ; - s := (Field[Text][Text] enlarged .5cm) squeezed (.1cm,.15cm) ; - fill s withcolor .75[.5red,white] ; - if false : - p := image (graphictext "\ss TIP" withfillcolor .2white ;) ; - else : - p := textext.raw("\ss TIP") ; - setbounds p to (boundingbox p rightenlarged -0.025bbwidth(p)) ; - fi ; - p := p xysized(PaperWidth-1cm,PaperHeight-1cm) ; - p := p shifted .5(bbwidth(Page)-bbwidth(p),bbheight(Page)-bbheight(p)) ; - draw p withcolor .2white ; - clip p to s ; - draw p withcolor .875[.5red,white] ; ; - StopPage ; -\stopreusableMPgraphic - -\defineoverlay - [page] - [\reuseMPgraphic{page}] - -\setupbackgrounds - [page] - [background=page, - state=repeat] - -\definecolor[red][r=.5] - -\setuphead - [chapter] - [style=\tfb, - before=, - after={\blank[line]}] - -\setupblank - [halfline] - -% xml interface - -\startxmlsetups xml:tips - \xmlflush{#1} -\stopxmlsetups - -\startxmlsetups xml:tip - \startstandardmakeup - \startnamedsection[title][title=\xmlfirst{#1}{/title}] - \xmlall{#1}{/(remark|command)} - \vfill - \stopnamedsection - \stopstandardmakeup -\stopxmlsetups - -\startxmlsetups xml:remark - \blank - \xmlflush{#1} - \blank -\stopxmlsetups - -\definehighlight - [command] - [style=mono, - color=red, - command=no] - -\startxmlsetups xml:command - \blank - \starthighlight[command] - \xmlflush{#1} - \stophighlight - \blank -\stopxmlsetups - -\startxmlsetups xml:reference - \vfill - \hfill\strut see:\space - \xmlflush{#1} -\stopxmlsetups - -\startxmlsetups xml:initialize - \xmlsetsetup {#1} { - tips|tip|remark|command|reference - } {xml:*} -\stopxmlsetups - -\xmlregisterdocumentsetup{main}{xml:initialize} - -\starttext - - \xmlprocessfile{main}{tiptrick.xml}{} - -\stoptext diff --git a/doc/context/sources/general/manuals/tiptrick/tiptrick.xml b/doc/context/sources/general/manuals/tiptrick/tiptrick.xml deleted file mode 100644 index 8b4a30011..000000000 --- a/doc/context/sources/general/manuals/tiptrick/tiptrick.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?xml version='1.0'?> - -<!-- author: Hans Hagen - Pragma ADE - www.pragma-ade.com --> - -<!-- feel free to submit more tips --> - -<tips xmlns="www.pragma-ade.com/schemas/tip.rng"> - - <tip> - <title>Generating Formats</title> - <remark>for all languages:</remark> - <command>context --make --all</command> - <remark>only english interface:</remark> - <command>context --make en</command> - <remark>for plain tex:</remark> - <command>mtxrun --script plain --make</command> - <!-- reference>mtexexec.pdf</reference --> - </tip> - - <tip> - <title>Updating</title> - <remark>when installed from the wiki:</remark> - <command>..../first-setup(.cmd)</command> - <remark>when downloaded from the website:</remark> - <command>cd ..../tex/texmf-context</command> - <command>wget http://www.pragma-ade.com/context/current/cont-tmf.zip</command> - <command>unzip cont-tmf.zip</command> - <command>mtxrun --generate</command> - <!-- reference>minstall.pdf</reference --> - </tip> - - <tip> - <title>Generating Command Lists</title> - <remark>quick reference document of english and dutch commands:</remark> - <command>context --interface=nl --global --result=setup-nl x-set-12.mkiv</command> - <command>context --interface=en --global --result=setup-en x-set-12.mkiv</command> - </tip> - - <tip> - <title>Module Documentation</title> - <remark>pretty printed, annotated module documentation:</remark> - <command>mtxrun --script modules syst-aux.mkiv</command> - </tip> - - <tip> - <title>Listings</title> - <remark>verbatim listings of (ascii) files:</remark> - <command>context --extra=listing --bodyfont=8pt --scite somefile.tex</command> - <command>context --extra=listing --bodyfont=8pt --scite somefile.lua</command> - <command>context --extra=listing --bodyfont=8pt --scite somefile.xml</command> - </tip> - -</tips> |