From a55e1b8331601196626c7c161633e82bb79cff27 Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Fri, 8 Dec 2006 16:01:22 +0000 Subject: a new package: context-contrib git-svn-id: svn://tug.org/texlive/trunk@2640 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/context/third/bnf/NEWS | 28 ++ Master/texmf-dist/doc/context/third/bnf/README | 39 ++ Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf | Bin 0 -> 280331 bytes .../doc/context/third/chromato/chromato-demo.pdf | Bin 0 -> 245014 bytes .../doc/context/third/chromato/chromato-doc.pdf | Bin 0 -> 176177 bytes .../doc/context/third/cmscbf/cmscbf-demo.pdf | Bin 0 -> 51786 bytes .../doc/context/third/cmscbf/cmscbf-doc.pdf | Bin 0 -> 123339 bytes .../doc/context/third/cmttbf/cmttbf-demo.pdf | Bin 0 -> 49412 bytes .../doc/context/third/cmttbf/cmttbf-doc.pdf | Bin 0 -> 124156 bytes .../construction-plan/construction-plan-demo.pdf | Bin 0 -> 473307 bytes .../construction-plan/construction-plan-doc.pdf | Bin 0 -> 165285 bytes .../doc/context/third/degrade/degrade-demo.pdf | Bin 0 -> 20889 bytes .../doc/context/third/degrade/degrade-doc.pdf | Bin 0 -> 169975 bytes .../doc/context/third/french/french-demo.pdf | Bin 0 -> 27371 bytes .../doc/context/third/french/french-doc.pdf | Bin 0 -> 136638 bytes Master/texmf-dist/doc/context/third/lettrine/W.pdf | Bin 0 -> 12716 bytes .../doc/context/third/lettrine/lettrine.pdf | Bin 0 -> 93964 bytes .../doc/context/third/lettrine/lettrine.tex | 459 +++++++++++++++++++++ .../doc/context/third/typearea/typearea-demo.pdf | Bin 0 -> 25557 bytes .../doc/context/third/typearea/typearea-doc.pdf | Bin 0 -> 161680 bytes Master/texmf-dist/doc/fonts/urw/garamond/test.pdf | Bin 0 -> 83796 bytes Master/texmf-dist/doc/fonts/urw/garamond/test.tex | 11 + .../fonts/urw/garamond/texnansi-urw-garamond.tex | 80 ++++ .../doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex | 80 ++++ .../doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex | 42 ++ .../fonts/urw/urwgothic/texnansi-urw-urwgothic.tex | 42 ++ .../doc/fonts/urw/urwgothic/urwgothic-test.pdf | Bin 0 -> 58420 bytes .../doc/fonts/urw/urwgothic/urwgothic-test.tex | 21 + .../fonts/map/pdftex/context/8r-urw-urwgothic.map | 14 + .../fonts/map/pdftex/context/ec-urw-urwgothic.map | 14 + .../map/pdftex/context/texnansi-urw-garamond.map | 14 + .../map/pdftex/context/texnansi-urw-urwgothic.map | 14 + .../fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm | Bin 0 -> 1472 bytes .../tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm | Bin 0 -> 1656 bytes .../fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm | Bin 0 -> 1472 bytes .../tfm/urw/garamond/texnansi-raw-ugmri8a.tfm | Bin 0 -> 1684 bytes .../fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm | Bin 0 -> 6380 bytes .../fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm | Bin 0 -> 6644 bytes .../fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm | Bin 0 -> 6300 bytes .../fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm | Bin 0 -> 6644 bytes .../fonts/tfm/urw/urwgothic/8r-raw-uagd8a.tfm | Bin 0 -> 1504 bytes .../fonts/tfm/urw/urwgothic/8r-raw-uagdo8a.tfm | Bin 0 -> 1700 bytes .../fonts/tfm/urw/urwgothic/8r-raw-uagk8a.tfm | Bin 0 -> 1676 bytes .../fonts/tfm/urw/urwgothic/8r-raw-uagko8a.tfm | Bin 0 -> 1884 bytes .../fonts/tfm/urw/urwgothic/8r-uagd8a.tfm | Bin 0 -> 6168 bytes .../fonts/tfm/urw/urwgothic/8r-uagdo8a.tfm | Bin 0 -> 6372 bytes .../fonts/tfm/urw/urwgothic/8r-uagk8a.tfm | Bin 0 -> 6392 bytes .../fonts/tfm/urw/urwgothic/8r-uagko8a.tfm | Bin 0 -> 6588 bytes .../fonts/tfm/urw/urwgothic/ec-raw-uagd8a.tfm | Bin 0 -> 1472 bytes .../fonts/tfm/urw/urwgothic/ec-raw-uagdo8a.tfm | Bin 0 -> 1672 bytes .../fonts/tfm/urw/urwgothic/ec-raw-uagk8a.tfm | Bin 0 -> 1648 bytes .../fonts/tfm/urw/urwgothic/ec-raw-uagko8a.tfm | Bin 0 -> 1852 bytes .../fonts/tfm/urw/urwgothic/ec-uagd8a.tfm | Bin 0 -> 6120 bytes .../fonts/tfm/urw/urwgothic/ec-uagdo8a.tfm | Bin 0 -> 6328 bytes .../fonts/tfm/urw/urwgothic/ec-uagk8a.tfm | Bin 0 -> 6348 bytes .../fonts/tfm/urw/urwgothic/ec-uagko8a.tfm | Bin 0 -> 6540 bytes .../tfm/urw/urwgothic/texnansi-raw-uagd8a.tfm | Bin 0 -> 1488 bytes .../tfm/urw/urwgothic/texnansi-raw-uagdo8a.tfm | Bin 0 -> 1684 bytes .../tfm/urw/urwgothic/texnansi-raw-uagk8a.tfm | Bin 0 -> 1660 bytes .../tfm/urw/urwgothic/texnansi-raw-uagko8a.tfm | Bin 0 -> 1868 bytes .../fonts/tfm/urw/urwgothic/texnansi-uagd8a.tfm | Bin 0 -> 6408 bytes .../fonts/tfm/urw/urwgothic/texnansi-uagdo8a.tfm | Bin 0 -> 6612 bytes .../fonts/tfm/urw/urwgothic/texnansi-uagk8a.tfm | Bin 0 -> 6632 bytes .../fonts/tfm/urw/urwgothic/texnansi-uagko8a.tfm | Bin 0 -> 6828 bytes .../fonts/vf/urw/garamond/texnansi-ugmm8a.vf | Bin 0 -> 1784 bytes .../fonts/vf/urw/garamond/texnansi-ugmmi8a.vf | Bin 0 -> 1788 bytes .../fonts/vf/urw/garamond/texnansi-ugmr8a.vf | Bin 0 -> 1784 bytes .../fonts/vf/urw/garamond/texnansi-ugmri8a.vf | Bin 0 -> 1788 bytes .../texmf-dist/fonts/vf/urw/urwgothic/8r-uagd8a.vf | Bin 0 -> 1736 bytes .../fonts/vf/urw/urwgothic/8r-uagdo8a.vf | Bin 0 -> 1740 bytes .../texmf-dist/fonts/vf/urw/urwgothic/8r-uagk8a.vf | Bin 0 -> 1736 bytes .../fonts/vf/urw/urwgothic/8r-uagko8a.vf | Bin 0 -> 1740 bytes .../texmf-dist/fonts/vf/urw/urwgothic/ec-uagd8a.vf | Bin 0 -> 1744 bytes .../fonts/vf/urw/urwgothic/ec-uagdo8a.vf | Bin 0 -> 1748 bytes .../texmf-dist/fonts/vf/urw/urwgothic/ec-uagk8a.vf | Bin 0 -> 1744 bytes .../fonts/vf/urw/urwgothic/ec-uagko8a.vf | Bin 0 -> 1748 bytes .../fonts/vf/urw/urwgothic/texnansi-uagd8a.vf | Bin 0 -> 1812 bytes .../fonts/vf/urw/urwgothic/texnansi-uagdo8a.vf | Bin 0 -> 1812 bytes .../fonts/vf/urw/urwgothic/texnansi-uagk8a.vf | Bin 0 -> 1812 bytes .../fonts/vf/urw/urwgothic/texnansi-uagko8a.vf | Bin 0 -> 1812 bytes .../tex/context/interface/third/lettrine.xml | 65 +++ Master/texmf-dist/tex/context/third/bnf/t-bnf.tex | 195 +++++++++ .../tex/context/third/chromato/t-chromato.tex | 143 +++++++ .../tex/context/third/cmscbf/t-cmscbf.tex | 42 ++ .../tex/context/third/cmttbf/t-cmttbf.tex | 45 ++ .../construction-plan/t-construction-plan.tex | 153 +++++++ .../tex/context/third/degrade/t-degrade.tex | 163 ++++++++ .../tex/context/third/french/t-french.tex | 77 ++++ .../tex/context/third/lettrine/t-lettrine.tex | 163 ++++++++ .../tex/context/third/typearea/t-typearea.tex | 100 +++++ .../context/third/urwgaramond/t-urwgaramond.tex | 3 + .../context/third/urwgaramond/type-urwgaramond.tex | 84 ++++ .../tex/context/third/urwgothic/type-urwgothic.tex | 30 ++ Master/texmf-dist/tpm/context-contrib.tpm | 122 ++++++ 94 files changed, 2243 insertions(+) create mode 100644 Master/texmf-dist/doc/context/third/bnf/NEWS create mode 100644 Master/texmf-dist/doc/context/third/bnf/README create mode 100644 Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf create mode 100644 Master/texmf-dist/doc/context/third/chromato/chromato-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/chromato/chromato-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/cmscbf/cmscbf-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/cmscbf/cmscbf-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/cmttbf/cmttbf-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/cmttbf/cmttbf-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/construction-plan/construction-plan-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/construction-plan/construction-plan-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/degrade/degrade-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/degrade/degrade-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/french/french-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/french/french-doc.pdf create mode 100644 Master/texmf-dist/doc/context/third/lettrine/W.pdf create mode 100644 Master/texmf-dist/doc/context/third/lettrine/lettrine.pdf create mode 100644 Master/texmf-dist/doc/context/third/lettrine/lettrine.tex create mode 100644 Master/texmf-dist/doc/context/third/typearea/typearea-demo.pdf create mode 100644 Master/texmf-dist/doc/context/third/typearea/typearea-doc.pdf create mode 100644 Master/texmf-dist/doc/fonts/urw/garamond/test.pdf create mode 100644 Master/texmf-dist/doc/fonts/urw/garamond/test.tex create mode 100644 Master/texmf-dist/doc/fonts/urw/garamond/texnansi-urw-garamond.tex create mode 100644 Master/texmf-dist/doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex create mode 100644 Master/texmf-dist/doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex create mode 100644 Master/texmf-dist/doc/fonts/urw/urwgothic/texnansi-urw-urwgothic.tex create mode 100644 Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.pdf create mode 100644 Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.tex create mode 100644 Master/texmf-dist/fonts/map/pdftex/context/8r-urw-urwgothic.map create mode 100644 Master/texmf-dist/fonts/map/pdftex/context/ec-urw-urwgothic.map create mode 100644 Master/texmf-dist/fonts/map/pdftex/context/texnansi-urw-garamond.map create mode 100644 Master/texmf-dist/fonts/map/pdftex/context/texnansi-urw-urwgothic.map create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/8r-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/ec-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagd8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagdo8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagk8a.tfm create mode 100644 Master/texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagko8a.tfm create mode 100644 Master/texmf-dist/fonts/vf/urw/garamond/texnansi-ugmm8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/garamond/texnansi-ugmmi8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/garamond/texnansi-ugmr8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/garamond/texnansi-ugmri8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/8r-uagd8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/8r-uagdo8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/8r-uagk8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/8r-uagko8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/ec-uagd8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/ec-uagdo8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/ec-uagk8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/ec-uagko8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagd8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagdo8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagk8a.vf create mode 100644 Master/texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagko8a.vf create mode 100644 Master/texmf-dist/tex/context/interface/third/lettrine.xml create mode 100644 Master/texmf-dist/tex/context/third/bnf/t-bnf.tex create mode 100644 Master/texmf-dist/tex/context/third/chromato/t-chromato.tex create mode 100644 Master/texmf-dist/tex/context/third/cmscbf/t-cmscbf.tex create mode 100644 Master/texmf-dist/tex/context/third/cmttbf/t-cmttbf.tex create mode 100644 Master/texmf-dist/tex/context/third/construction-plan/t-construction-plan.tex create mode 100644 Master/texmf-dist/tex/context/third/degrade/t-degrade.tex create mode 100644 Master/texmf-dist/tex/context/third/french/t-french.tex create mode 100644 Master/texmf-dist/tex/context/third/lettrine/t-lettrine.tex create mode 100644 Master/texmf-dist/tex/context/third/typearea/t-typearea.tex create mode 100644 Master/texmf-dist/tex/context/third/urwgaramond/t-urwgaramond.tex create mode 100644 Master/texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex create mode 100644 Master/texmf-dist/tex/context/third/urwgothic/type-urwgothic.tex create mode 100644 Master/texmf-dist/tpm/context-contrib.tpm (limited to 'Master') diff --git a/Master/texmf-dist/doc/context/third/bnf/NEWS b/Master/texmf-dist/doc/context/third/bnf/NEWS new file mode 100644 index 00000000000..2849b0784c1 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/bnf/NEWS @@ -0,0 +1,28 @@ + + + BNF Module News + + + +VERSION 0.3 + + Nothing more than a clean-up of the project tree. Although the autotools + setup was working OK it was more confusing than helpful. People tend to + install these kinds of things in a much more ad hoc manner anyway. + + + +VERSION 0.2 + + + Total rewrite of the logic. Much easier to specify grammars, as the need for + commas and full-stops has been lifted. Furthermore, there is now an + alternative way of specifying non-terminals, using '-pairs instead. The + output is a lot nicer now as well, albeit not as compact as before. + + + +VERSION 0.1 + + + Initial release, nothing much to report here. diff --git a/Master/texmf-dist/doc/context/third/bnf/README b/Master/texmf-dist/doc/context/third/bnf/README new file mode 100644 index 00000000000..891661832f9 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/bnf/README @@ -0,0 +1,39 @@ + + + BNF Module README + + +INTRODUCTION + + + The t-bnf module implements a way to easily write BNF grammars in CONTEXT. + Let's look at an example BNF grammar in a document: + + \starttext + + Here's a \BNF\ grammar. Enjoy. + + \placebnfgrammar + [here] + [bnf:test] + {A test of the \BNF\ module} + {\startbnfgrammar[] + : ab + : $\epsilon$ + \stopbnfgrammar} + + Which will match the language $L = \{\,a^nb^n \mid n \geq 0\,\}$. + + \stoptext + + You may try to generate module documenation embedded in t-bnf.tex with texexec + as well: + + % texexec --interface=en --module --pdf t-bnf.tex + + If you have any issues with creating the documentation this may be a result + of lacking the proper language format. You can look up the proper + information for generating these formats in minstall.pdf at PRAGMA-ADEs site + (http://www.pragma-ade.com/). + + Enjoy! diff --git a/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf b/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf new file mode 100644 index 00000000000..863553fadc9 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/bnf/t-bnf.pdf differ diff --git a/Master/texmf-dist/doc/context/third/chromato/chromato-demo.pdf b/Master/texmf-dist/doc/context/third/chromato/chromato-demo.pdf new file mode 100644 index 00000000000..eb5d831a772 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/chromato/chromato-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/chromato/chromato-doc.pdf b/Master/texmf-dist/doc/context/third/chromato/chromato-doc.pdf new file mode 100644 index 00000000000..cda1f9c44b6 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/chromato/chromato-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-demo.pdf b/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-demo.pdf new file mode 100644 index 00000000000..6f45bb60a00 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-doc.pdf b/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-doc.pdf new file mode 100644 index 00000000000..bce42c35d55 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/cmscbf/cmscbf-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-demo.pdf b/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-demo.pdf new file mode 100644 index 00000000000..b749878f028 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-doc.pdf b/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-doc.pdf new file mode 100644 index 00000000000..773a8678d6b Binary files /dev/null and b/Master/texmf-dist/doc/context/third/cmttbf/cmttbf-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-demo.pdf b/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-demo.pdf new file mode 100644 index 00000000000..21ffb1f645a Binary files /dev/null and b/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-doc.pdf b/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-doc.pdf new file mode 100644 index 00000000000..02883c268a7 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/construction-plan/construction-plan-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/degrade/degrade-demo.pdf b/Master/texmf-dist/doc/context/third/degrade/degrade-demo.pdf new file mode 100644 index 00000000000..5a9d3e1558b Binary files /dev/null and b/Master/texmf-dist/doc/context/third/degrade/degrade-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/degrade/degrade-doc.pdf b/Master/texmf-dist/doc/context/third/degrade/degrade-doc.pdf new file mode 100644 index 00000000000..1d3f34abd28 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/degrade/degrade-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/french/french-demo.pdf b/Master/texmf-dist/doc/context/third/french/french-demo.pdf new file mode 100644 index 00000000000..bfb7812cffc Binary files /dev/null and b/Master/texmf-dist/doc/context/third/french/french-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/french/french-doc.pdf b/Master/texmf-dist/doc/context/third/french/french-doc.pdf new file mode 100644 index 00000000000..032163cf422 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/french/french-doc.pdf differ diff --git a/Master/texmf-dist/doc/context/third/lettrine/W.pdf b/Master/texmf-dist/doc/context/third/lettrine/W.pdf new file mode 100644 index 00000000000..a118f316b07 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/lettrine/W.pdf differ diff --git a/Master/texmf-dist/doc/context/third/lettrine/lettrine.pdf b/Master/texmf-dist/doc/context/third/lettrine/lettrine.pdf new file mode 100644 index 00000000000..277bc728dc8 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/lettrine/lettrine.pdf differ diff --git a/Master/texmf-dist/doc/context/third/lettrine/lettrine.tex b/Master/texmf-dist/doc/context/third/lettrine/lettrine.tex new file mode 100644 index 00000000000..541f2bf3e49 --- /dev/null +++ b/Master/texmf-dist/doc/context/third/lettrine/lettrine.tex @@ -0,0 +1,459 @@ +\setupoutput[pdftex] +\loadmapfile[texnansi-public-lm] +\loadmapfile[cork-public-lm] +\loadmapfile[original-ams-euler] +\loadmapfile[hoekwater] + +%\enablemode[onecolumn] +%\enablemode[realfonts] +\usemodule[map-se] +\usemodule[lettri] +\setupcolors[state=start,conversion=yes] +\usemodule[set-11] +\hbadness=10000 +\setuplettrine[T][Findent=0.2em,Nindent=0.2em,Oversize=.05,Hang=.15] + +\startbuffer[setuplettrine] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\stopbuffer + +\startbuffer[lettrine] + + + + + + + + + + + + +\stopbuffer + +\def\emph#1{#1} + +\starttext +\startArticle[% + Author=Taco Hoekwater, + Email=taco@elvenkind.com, + Title=Lettrines for Con\TeX{}t, + Page=26, + Category=context] + +\startKeywords +lettrines, module, initials, dropped capitals, Con\TeX{}t +\stopKeywords + +\startAbstract +The \ConTeXt\ module \type{lettri} is port of the \LaTeX\ package +\type{lettrine} by Daniel Flipo that provides a way to typeset dropped +capitals at the beginning of paragraphs. +\stopAbstract + +\section{Introduction} + +Daniel Flipo's \LaTeX\ package ``lettrine.sty'' provides the command +\type{\lettrine} for the creation of dropped capitals at the beginning +of a paragraph. Various parameters are provided to control the size +and layout of the dropped capital, using a key||value system to +specify the options. + +Last februari, Gerben Wierda asked on the \ConTeXt\ mailing list if +``Would someone be able to take lettrine.sty as an example and produce +a version that works with \ConTeXt\ (and plain \TeX)?''. I never +considered making a version for plain \TeX, but a \ConTeXt\ version +was doable. So I've created the `lettri' module, for use in a +\type{\usemodule} command. + +\section{Commands} + +The module defines two user||level commands, one for setup and one for +actual use. Most of the parameter names are a bit different from their +\LaTeX{} counterparts. There are two reasons for this, both a side||effect +of the implementation in \ConTeXt. +\startitemize +\item The first reason is my laziness, I did not want to create lots of +new constants for internationalization of the interface, so I just used +an initial uppercase character. This makes the keywords impervious to +differences in the \ConTeXt\ language interfaces. +\item The second reason is that some parameter names seemed a bit odd, +probably because of name\-space conflicts within \LaTeX, and I sanitized +those names where that was possible without confusing the users. +\stopitemize +\noindent +So, for example, the \LaTeX\ parameter keyword \type{lhang} became the +\ConTeXt\ parameter \type{Hang}. + +\subsection{Usage command: \type{\lettrine}} + +The command \type{\lettrine} uses an optional parameter for +settings, and two required arguments that are texts to be typeset. + +\processXMLbuffer[lettrine] + +\lettrine{T}{he two} typeset arguments are the dropped capital and +the run||in text following it; the \TeX\ source of this paragraph +started with ``\type{\lettrine{T}{he two} typeset}''. The optional +parameter is explained below. + + +\subsection{Setup command: \type{\setuplettrine}} + +\processXMLbuffer[setuplettrine] + +\startitemize +\item \type{Lines} controls how many lines the dropped capital + will occupy (the default value is~2); +\item \type{Hang} sets how much of the dropped capital's width + should hang into the margin (the default is 0, values should be + between 0 and 1); +\item \type{Oversize} enlarges or decreases the dropped capital's height: + with \type{Oversize=0.1}. its height is enlarged by 10\% so that + it raises above the top paragraph's line (default=0, values should + be between $-$1 and 1); +\item \type{Raise} does not affect the dropped capital's height, but + moves it up (if positive) or down (if negative); useful with capitals + like \type{J} or \type{Q} which have a positive depth (default=0, + values should be between $-$1 and 1); +\item \type{Findent} (positive or negative) controls the horizontal gap + between the dropped capital and the indented block of text (default=0pt); +\item \type{Nindent} shifts the indented lines, starting from the second line, + horizontally by the specified amount (default=0.5em); +\item \type{Slope} can be used with dropped + capitals like \type{A} or \type{V} to add an extra shift + (positive or negative) to the indentation of each line + starting from the third one (no effect if \type{Lines=2}, default=0pt); +\item \type{Ante} can be used to typeset something + \emph{before} the dropped capital (typical use is for French + guillemets starting the paragraph). +\item \type{Image} will force \type{\lettrine} + to replace the letter normally used as dropped capital by an image. + \type{\lettrine[Image=yes]{A}{n exemple}} will load \type{A.eps} or + \type{A.pdf} instead of letter~A. +\item \type{FontHook} can be used to change the font and/or color of + the dropped capital (default: empty) +\item \type{TextFont} can be used to change the font and/or color of + the run||in text (default: \type{\sc}) +\stopitemize + +\noindent +The first, optional argument to the \type{\setuplettrine} command +allows you to create presets: The settings that follow will apply only +if the first text argument of \type{\lettrine} (see below) matches +this string exactly. I~have used this command at the top of this +article: +\starttyping +\setuplettrine[T][Findent=0.2em,Nindent=0.2em, + Oversize=.05,Hang=.15]] +\stoptyping +because otherwise the example on the previous page would not have +been as nice as it is. + +\section{Examples} +The following examples were all adapted from the file \type{demo.tex} +that is part of Daniel Flipo's original distribution. I've been forced +to make some changes here and there because the font for the Maps is +quite different from the font in the original examples, but I~have not +made changes to the original french text. + +\subsection{Standard options (using 2 lines)} + +\starttyping +\lettrine{E}{n} plein marais... +\stoptyping + +\begingroup +\language[fr] +\lettrine{E}{n} plein marais de la Souteyranne, \`a quelques kilom\`etres +au nord d'Aigues-Mortes, se trouve la Tour Carbonni\`ere. Construite +au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| dont il ne reste que quelques +vestiges. +\par +\endgroup + +\subsection{Lettrine on a single line} + +\starttyping +\lettrine[Lines=1]{E}{n} plein marais... +\stoptyping + +\begingroup +\language[fr] +\lettrine[Lines=1]{E}{n} plein marais de la Souteyranne, +\`a quelques kilom\`etres au nord d'Aigues-Mortes, se trouve +la Tour Carbonni\`ere. +\par +\endgroup + +\subsection{Lettrine on a three lines} +\starttyping +\lettrine[Lines=3]{E}{n} plein marais... +\stoptyping + +\begingroup +\language[fr] +\lettrine[Lines=3]{E}{n} plein marais de la Souteyranne, +\`a quelques kilom\`etres au nord d'Aigues-Mortes, +se trouve la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des\break |<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. +\par +\endgroup + +\subsection{Lettrine in the margin} +\starttyping +\lettrine[Hang=1, Nindent=0pt, Lines=3] + {J}{ustement},... +\stoptyping + +\setupnarrower[middle=6pt] +\begingroup +\language[fr] +\startnarrower +\lettrine[Hang=1, Nindent=0pt, Lines=3]{J}{ustement}, +\`a quelques kilom\`etres au nord d'Aigues-Mortes, +se trouve la Tour Carbonni\`ere. Construite au XIII\high{e}~si\`ecle, +elle contr\^olait l'unique voie d'acc\`es terrestre de la ville +fortifi\'ee, celle qui menait \`a Psalmody, l'une des +|<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. L'abbaye \'etait +ravitaill\'ee ---~dit-on ~--- par un souterrain qui la reliait au +ch\^ateau de Treillan. +\stopnarrower +\par +\endgroup + + +\subsection{Lettrine oversised, and partly in the margin} +\starttyping +\lettrine[Lines=3,Hang=0.2,Oversize=0.25] + {E}{n} ... +\stoptyping + +\begingroup +\language[fr] +\lettrine[Lines=3, Hang=0.2, Oversize=0.25]{E}{n} +plein marais de la Souteyranne, +\`a quelques kilom\`etres au nord d'Aigues-Mortes la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| \dots +% dont il ne reste que des vestiges. +\par +\endgroup + +\subsection{A guillemet in front of the lettrine} +\starttyping +\lettrine[Ante={<<}]{E}{n} plein marais ... +\stoptyping + +\begingroup +\language[fr] +\lettrine[Ante={<<}]{E}{n} plein marais de la Souteyranne, +\`a quelques kilom\`etres au nord d'Aigues-Mortes, se trouve +la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des\break |<<|abbayes de sel|>>| \dots +% dont il ne reste que des vestiges. +\par +\endgroup + +\blank +The following four lettrines have all been typeset after changing the +default settings with the following command: + +\starttyping +\setuplettrine[Lines=4,FontHook={\color[gray]}] +\stoptyping + +\setuplettrine[Lines=4,FontHook={\color[gray]}] + +\subsection{A somewhat smaller and slightly raised lettrine} + +\starttyping +\lettrine[Oversize=-0.15, Raise=0.15] + {Q} {u'en plein marais} ... +\stoptyping + +\begingroup +\language[fr] +\lettrine[Oversize=-0.15, Raise=0.15]{Q}{u'en plein marais} + de la Souteyranne, \`a quel\-ques kilom\`etres au nord d'Aigues-Mortes, +se trouve la Tour Carbonni\`ere, surprend les visiteurs. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. +L'abbaye \'etait ravitaill\'ee par un souterrain qui +la reliait au ch\^ateau de Treillan. +\par +\endgroup + +\subsection{The same lettrine, without corrections} + +\starttyping +\lettrine{Q}{u'en plein marais} de ... +\stoptyping + +\begingroup +\language[fr] +\lettrine{Q}{u'en plein marais} de la Souteyranne, +\`a quelques kilom\`etres au nord d'Aigues-\break Mortes, +se trouve la Tour Carbonni\`ere, surprend les visiteurs. +Construite au XIII\high{e}\break si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. +L'abbaye \'etait ravitaill\'ee par un souterrain qui +la reliait au ch\^ateau de Treillan. +\par +\endgroup + +\subsection{Using the Slope option for the following lines} +\starttyping +\lettrine[Slope=0.4em,Findent=-0.5em, + Nindent=0.4em] + {\`A}{quelques kilom\`etres}... +\stoptyping + +\kern -12pt + +\begingroup +\language[fr] +\lettrine[Slope=0.4em, Findent=-0.5em, Nindent=0.4em]{\`A} {quelques +kilom\`etres} au nord d'Aigues-Mortes, se trouve la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. +L'abbaye \'etait ravitaill\'ee ---~dit-on~--- par un souterrain qui +la reliait au ch\^ateau de Treillan. +\par +\endgroup + +\kern 24pt +\subsection{Using the Slope option for the opposite effect} + +Also note the move into the margin + +\starttyping +\lettrine[Slope=-0.5em,Hang=0.5,Findent=0.2em] + {V}{oici} \`a... +\stoptyping + +\begingroup +\language[fr] +\startnarrower +\lettrine[Slope=-0.5em, Hang=0.5, Findent=0.2em]{V}{oici} +\`a quelques kilom\`etres au nord d'Aigues-Mortes la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie +d'acc\`es terrestre de la ville fortifi\'ee, celle qui menait \`a +Psalmody, l'une des |<<|abbayes de sel|>>| dont il ne reste que +quelques vestiges. L'abbaye \'etait ravitaill\'ee ---~dit-on~--- par +un souterrain qui la reliait au ch\^ateau de Treillan. +\stopnarrower +\par +\endgroup + +\subsection{Using a different font by using the FontHook} + +\starttyping +\def\myhook + {\definefontsynonym[LettrineFont][SansBold]} +\lettrine[FontHook={\myhook}, + Hang=.2, Findent=.3em] + {E}{n} plein marais... +\stoptyping + +\def\myhook + {\definefontsynonym[LettrineFont][SansBold]} + +\begingroup +\language[fr] +\lettrine[FontHook={\myhook},Hang=.2,Findent=.3em]{E}{n} plein +marais de la Souteyranne, \`a quelques +kilom\`etres au nord d'Aigues-Mortes, se trouve la Tour Carbonni\`ere. +Construite au XIII\high{e}~si\`ecle, elle contr\^olait l'unique voie d'acc\`es +terrestre de la ville fortifi\'ee, celle qui menait \`a Psalmody, +l'une des |<<|abbayes de sel|>>| dont il ne reste que quelques vestiges. +L'abbaye \'etait ravitaill\'ee par un souterrain qui +la reliait au ch\^ateau de Treillan. +\par +\endgroup + +\subsection{Use of an image instead of an actual letter} + +\setuplettrine[FontHook={}] + +\starttyping +\lettrine[Image=yes,Hang=.1, Oversize=.25, + Findent=0.1em, Raise=-.1] + {W} {er} reitet ... +\stoptyping + +{\switchtobodyfont[eul] +\lettrine[Image=yes,Hang=.1, Oversize=.25, Findent=0.1em, Raise=-.1] +{W}{er} reitet so sp\"at durch Nacht und Wind?\crlf +Es ist der Vater mit seinem Kind;\crlf +Er hat den Knaben wohl in dem Arm,\crlf +Er fa{\SS}t ihn sicher, er h\"alt ihn warm. +\par}% + +\section{Availability} + +The module can be downloaded from the new \ConTeXt\ module repository, +at\crlf +\hyphenatedurl{http://modules.contextgarden.net}. + +\blank +I have released this module into the public domain. + +\stopArticle +\stoptext \ No newline at end of file diff --git a/Master/texmf-dist/doc/context/third/typearea/typearea-demo.pdf b/Master/texmf-dist/doc/context/third/typearea/typearea-demo.pdf new file mode 100644 index 00000000000..7af6a386fa7 Binary files /dev/null and b/Master/texmf-dist/doc/context/third/typearea/typearea-demo.pdf differ diff --git a/Master/texmf-dist/doc/context/third/typearea/typearea-doc.pdf b/Master/texmf-dist/doc/context/third/typearea/typearea-doc.pdf new file mode 100644 index 00000000000..a0e2d52c10b Binary files /dev/null and b/Master/texmf-dist/doc/context/third/typearea/typearea-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/urw/garamond/test.pdf b/Master/texmf-dist/doc/fonts/urw/garamond/test.pdf new file mode 100644 index 00000000000..6a2e7edc236 Binary files /dev/null and b/Master/texmf-dist/doc/fonts/urw/garamond/test.pdf differ diff --git a/Master/texmf-dist/doc/fonts/urw/garamond/test.tex b/Master/texmf-dist/doc/fonts/urw/garamond/test.tex new file mode 100644 index 00000000000..1da2dfd29b1 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/garamond/test.tex @@ -0,0 +1,11 @@ +\setupoutput[pdf] +\usemodule[urwgaramond] +\starttext +\rm\input knuth + +\it\input knuth + +\bf\input knuth + +\bi\input knuth +\stoptext diff --git a/Master/texmf-dist/doc/fonts/urw/garamond/texnansi-urw-garamond.tex b/Master/texmf-dist/doc/fonts/urw/garamond/texnansi-urw-garamond.tex new file mode 100644 index 00000000000..5d7d0861a16 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/garamond/texnansi-urw-garamond.tex @@ -0,0 +1,80 @@ +% output=pdftex interface=en + +\usemodule[fnt-01] + +\loadmapfile[texnansi-urw-garamond.map] + +\starttext + +\ShowFont[GaramondNo8-Med][texnansi-ugmm8a][texnansi] +\ShowFont[GaramondNo8-MedIta][texnansi-ugmmi8a][texnansi] +\ShowFont[GaramondNo8-Reg][texnansi-ugmr8a][texnansi] +\ShowFont[GaramondNo8-Ita][texnansi-ugmri8a][texnansi] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --encoding=texnansi --fontroot=/home/peter/tmp/garamond/texmf --ma --in --ve=urw --co=garamond --show +\stoptyping + +\starttyping +/home/peter/tmp/garamond/texmf/fonts/map/pdftex/context/texnansi-urw-garamond.map +\stoptyping + +\starttyping +\definefontsynonym[GaramondNo8-Med][texnansi-ugmm8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-MedIta][texnansi-ugmmi8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-Reg][texnansi-ugmr8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-Ita][texnansi-ugmri8a][encoding=texnansi] +\stoptyping + +\page + +\setupheadertexts[\tttf texnansi-urw-garamond.map] + +\starttyping +texnansi-raw-ugmm8a GaramondNo8-Med 4 < ugmm8a.pfb texnansi.enc +texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 < ugmmi8a.pfb texnansi.enc +texnansi-raw-ugmr8a GaramondNo8-Reg 4 < ugmr8a.pfb texnansi.enc +texnansi-raw-ugmri8a GaramondNo8-Ita 4 < ugmri8a.pfb texnansi.enc +\stoptyping + + +%appended section + +\page + +\ShowFont[GaramondNo8-Med][texnansi-ugmm8a][texnansi] +\ShowFont[GaramondNo8-MedIta][texnansi-ugmmi8a][texnansi] +\ShowFont[GaramondNo8-Reg][texnansi-ugmr8a][texnansi] +\ShowFont[GaramondNo8-Ita][texnansi-ugmri8a][texnansi] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --encoding=texnansi --fontroot=/home/peter/tmp/garamond/texmf --ma --in --ve=urw --co=garamond --show +\stoptyping + +\starttyping +/home/peter/tmp/garamond/texmf/fonts/map/pdftex/context/texnansi-urw-garamond.map +\stoptyping + +\starttyping +\definefontsynonym[GaramondNo8-Med][texnansi-ugmm8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-MedIta][texnansi-ugmmi8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-Reg][texnansi-ugmr8a][encoding=texnansi] +\definefontsynonym[GaramondNo8-Ita][texnansi-ugmri8a][encoding=texnansi] +\stoptyping + +\page + +\setupheadertexts[\tttf texnansi-urw-garamond.map] + +\starttyping +texnansi-raw-ugmm8a GaramondNo8-Med 4 < ugmm8a.pfb texnansi.enc +texnansi-raw-ugmmi8a GaramondNo8-MedIta 4 < ugmmi8a.pfb texnansi.enc +texnansi-raw-ugmr8a GaramondNo8-Reg 4 < ugmr8a.pfb texnansi.enc +texnansi-raw-ugmri8a GaramondNo8-Ita 4 < ugmri8a.pfb texnansi.enc +\stoptyping + +\stoptext diff --git a/Master/texmf-dist/doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex b/Master/texmf-dist/doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex new file mode 100644 index 00000000000..e8222447321 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex @@ -0,0 +1,80 @@ +% output=pdftex interface=en + +\usemodule[fnt-01] + +\loadmapfile[8r-urw-urwgothic.map] + +\starttext + +\ShowFont[URWGothicL-Demi][8r-uagd8a][8r] +\ShowFont[URWGothicL-DemiObli][8r-uagdo8a][8r] +\ShowFont[URWGothicL-Book][8r-uagk8a][8r] +\ShowFont[URWGothicL-BookObli][8r-uagko8a][8r] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --fontroot=/home/taco/texmf --en=8r --ve=urw --co=urwgothic --so=auto --ro=TEXMFMAIN,TEXMFTE,TEXMFGW +\stoptyping + +\starttyping +/home/taco/texmf/fonts/map/pdftex/context/8r-urw-urwgothic.map +\stoptyping + +\starttyping +\definefontsynonym[URWGothicL-Demi][8r-uagd8a][encoding=8r] +\definefontsynonym[URWGothicL-DemiObli][8r-uagdo8a][encoding=8r] +\definefontsynonym[URWGothicL-Book][8r-uagk8a][encoding=8r] +\definefontsynonym[URWGothicL-BookObli][8r-uagko8a][encoding=8r] +\stoptyping + +\page + +\setupheadertexts[\tttf 8r-urw-urwgothic.map] + +\starttyping +8r-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb 8r.enc +8r-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb 8r.enc +8r-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb 8r.enc +8r-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb 8r.enc +\stoptyping + + +%appended section + +\page + +\ShowFont[URWGothicL-Demi][8r-uagd8a][8r] +\ShowFont[URWGothicL-DemiObli][8r-uagdo8a][8r] +\ShowFont[URWGothicL-Book][8r-uagk8a][8r] +\ShowFont[URWGothicL-BookObli][8r-uagko8a][8r] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --fontroot=/home/taco/texmf --en=8r --ve=urw --co=urwgothic --so=auto --ro=TEXMFMAIN,TEXMFTE,TEXMFGW +\stoptyping + +\starttyping +/home/taco/texmf/fonts/map/pdftex/context/8r-urw-urwgothic.map +\stoptyping + +\starttyping +\definefontsynonym[URWGothicL-Demi][8r-uagd8a][encoding=8r] +\definefontsynonym[URWGothicL-DemiObli][8r-uagdo8a][encoding=8r] +\definefontsynonym[URWGothicL-Book][8r-uagk8a][encoding=8r] +\definefontsynonym[URWGothicL-BookObli][8r-uagko8a][encoding=8r] +\stoptyping + +\page + +\setupheadertexts[\tttf 8r-urw-urwgothic.map] + +\starttyping +8r-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb 8r.enc +8r-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb 8r.enc +8r-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb 8r.enc +8r-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb 8r.enc +\stoptyping + +\stoptext diff --git a/Master/texmf-dist/doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex b/Master/texmf-dist/doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex new file mode 100644 index 00000000000..864517f25c6 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex @@ -0,0 +1,42 @@ +% output=pdftex interface=en + +\usemodule[fnt-01] + +\loadmapfile[ec-urw-urwgothic.map] + +\starttext + +\ShowFont[URWGothicL-Demi][ec-uagd8a][ec] +\ShowFont[URWGothicL-DemiObli][ec-uagdo8a][ec] +\ShowFont[URWGothicL-Book][ec-uagk8a][ec] +\ShowFont[URWGothicL-BookObli][ec-uagko8a][ec] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --fontroot=/home/taco/texmf --en=ec --ve=urw --co=urwgothic --so=auto --ro=TEXMFMAIN,TEXMFTE,TEXMFGW +\stoptyping + +\starttyping +/home/taco/texmf/fonts/map/pdftex/context/ec-urw-urwgothic.map +\stoptyping + +\starttyping +\definefontsynonym[URWGothicL-Demi][ec-uagd8a][encoding=ec] +\definefontsynonym[URWGothicL-DemiObli][ec-uagdo8a][encoding=ec] +\definefontsynonym[URWGothicL-Book][ec-uagk8a][encoding=ec] +\definefontsynonym[URWGothicL-BookObli][ec-uagko8a][encoding=ec] +\stoptyping + +\page + +\setupheadertexts[\tttf ec-urw-urwgothic.map] + +\starttyping +ec-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb ec.enc +ec-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb ec.enc +ec-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb ec.enc +ec-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb ec.enc +\stoptyping + +\stoptext diff --git a/Master/texmf-dist/doc/fonts/urw/urwgothic/texnansi-urw-urwgothic.tex b/Master/texmf-dist/doc/fonts/urw/urwgothic/texnansi-urw-urwgothic.tex new file mode 100644 index 00000000000..9a073f51dfd --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/urwgothic/texnansi-urw-urwgothic.tex @@ -0,0 +1,42 @@ +% output=pdftex interface=en + +\usemodule[fnt-01] + +\loadmapfile[texnansi-urw-urwgothic.map] + +\starttext + +\ShowFont[URWGothicL-Demi][texnansi-uagd8a][texnansi] +\ShowFont[URWGothicL-DemiObli][texnansi-uagdo8a][texnansi] +\ShowFont[URWGothicL-Book][texnansi-uagk8a][texnansi] +\ShowFont[URWGothicL-BookObli][texnansi-uagko8a][texnansi] + +\setupheadertexts[\tttf example definitions] + +\starttyping +texfont --fontroot=/home/taco/texmf --en=texnansi --ve=urw --co=urwgothic --so=auto --ro=TEXMFMAIN,TEXMFTE,TEXMFGW +\stoptyping + +\starttyping +/home/taco/texmf/fonts/map/pdftex/context/texnansi-urw-urwgothic.map +\stoptyping + +\starttyping +\definefontsynonym[URWGothicL-Demi][texnansi-uagd8a][encoding=texnansi] +\definefontsynonym[URWGothicL-DemiObli][texnansi-uagdo8a][encoding=texnansi] +\definefontsynonym[URWGothicL-Book][texnansi-uagk8a][encoding=texnansi] +\definefontsynonym[URWGothicL-BookObli][texnansi-uagko8a][encoding=texnansi] +\stoptyping + +\page + +\setupheadertexts[\tttf texnansi-urw-urwgothic.map] + +\starttyping +texnansi-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb texnansi.enc +texnansi-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb texnansi.enc +texnansi-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb texnansi.enc +texnansi-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb texnansi.enc +\stoptyping + +\stoptext diff --git a/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.pdf b/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.pdf new file mode 100644 index 00000000000..57ad093c32f Binary files /dev/null and b/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.pdf differ diff --git a/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.tex b/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.tex new file mode 100644 index 00000000000..ca30ae7c2e9 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.tex @@ -0,0 +1,21 @@ +% output=pdf + +\usetypescriptfile[type-urwgothic] + +\usetypescript[urwgothic][ec] + +\setupbodyfont[urwgothic,10pt] + +\starttext +\rm \input knuth + +\ss \input knuth + +\ss\bf \input knuth + +\ss\it \input knuth + +\ss\bi \input knuth + + +\stoptext \ No newline at end of file diff --git a/Master/texmf-dist/fonts/map/pdftex/context/8r-urw-urwgothic.map b/Master/texmf-dist/fonts/map/pdftex/context/8r-urw-urwgothic.map new file mode 100644 index 00000000000..f705555368e --- /dev/null +++ b/Master/texmf-dist/fonts/map/pdftex/context/8r-urw-urwgothic.map @@ -0,0 +1,14 @@ +% This file is generated by the TeXFont Perl script. +% +% You need to add the following line to your file: +% +% \pdfmapfile{+8r-urw-urwgothic.map} +% +% In ConTeXt you can best use: +% +% \loadmapfile[8r-urw-urwgothic.map] + +8r-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb 8r.enc +8r-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb 8r.enc +8r-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb 8r.enc +8r-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb 8r.enc diff --git a/Master/texmf-dist/fonts/map/pdftex/context/ec-urw-urwgothic.map b/Master/texmf-dist/fonts/map/pdftex/context/ec-urw-urwgothic.map new file mode 100644 index 00000000000..53a9af93fde --- /dev/null +++ b/Master/texmf-dist/fonts/map/pdftex/context/ec-urw-urwgothic.map @@ -0,0 +1,14 @@ +% This file is generated by the TeXFont Perl script. +% +% You need to add the following line to your file: +% +% \pdfmapfile{+ec-urw-urwgothic.map} +% +% In ConTeXt you can best use: +% +% \loadmapfile[ec-urw-urwgothic.map] + +ec-raw-uagd8a URWGothicL-Demi 4 < uagd8a.pfb ec.enc +ec-raw-uagdo8a URWGothicL-DemiObli 4 < uagdo8a.pfb ec.enc +ec-raw-uagk8a URWGothicL-Book 4 < uagk8a.pfb ec.enc +ec-raw-uagko8a URWGothicL-BookObli 4 < uagko8a.pfb ec.enc diff --git a/Master/texmf-dist/fonts/map/pdftex/context/texnansi-urw-garamond.map b/Master/texmf-dist/fonts/map/pdftex/context/texnansi-urw-garamond.map new file mode 100644 index 00000000000..5bb842630f6 --- /dev/null +++ b/Master/texmf-dist/fonts/map/pdftex/context/texnansi-urw-garamond.map @@ -0,0 +1,14 @@ +% This file is generated by the TeXFont Perl script. +% +% You need to add the following line to your file: +% +% \pdfmapfile{+texnansi-urw-garamond.map} +% +% In ConTeXt you can best use: +% +% \loadmapfile[texnansi-urw-garamond.map] + +texnansi-raw-ugmm8a GaramondNo8-Med "TeXnANSIEncoding ReEncodeFont" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Master/texmf-dist/tex/context/third/bnf/t-bnf.tex b/Master/texmf-dist/tex/context/third/bnf/t-bnf.tex new file mode 100644 index 00000000000..3f40c3e7971 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/bnf/t-bnf.tex @@ -0,0 +1,195 @@ +%D \module +%D [ file=t-bnf, +%D version=2004.6.23, +%D title=\CONTEXT\ BNF Grammar Module, +%D subtitle=Grammars, +%D author={Nikolai Weibull}, +%D date=\currentdate, +%D copyright={Nikolai Weibull}] +%C +%C This module is NOT part of the \CONTEXT\ macro||package. +%C This module is free software; you can redistribute it and/or modify +%C it under the terms of the GNU General Public License as published by +%C the Free Software Foundation; either version 2 of the License, or +%C (at your option) any later version. +%C +%C This module is distributed in the hope that it will be useful, +%C but WITHOUT ANY WARRANTY; without even the implied warranty of +%C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%C GNU General Public License for more details. +%C +%C You should have received a copy of the GNU General Public License +%C along with this program; if not, write to the Free Software +%C Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +\writestatus{loading}{BNF Macros / Initialization} + +\unprotect + +%M \usemodule[bnf] +%D We define a new system variable for our settings: + +\definesystemvariable{bnf} + +%D We need some constants for the multi||lingual interface, + +\startconstants english dutch + terminalstart: terminalstart terminalstart + terminalstop: terminalstop terminalstop + nonterminalstart: nonterminalstart nonterminalstart + nonterminalstop: nonterminalstop nonterminalstop + is: is worden +\stopconstants + +%D and while we're at it, lets define some variables. + +\startvariables english dutch + bnfgrammar: bnfgrammar bnfspraakleer + bnfgrammars: bnfgrammars bnfspraakleer +\stopvariables + +%D Finally, we want the commands to be multi||lingually accessible, so we set +%D that up as well: + +\startcommands english dutch + setupbnfgrammar: setupbnfgrammar stelbnfspraakleer + startbnfgrammar: startbnfgrammar startbnfspraakleer + stopbnfgrammar: stopbnfgrammar startbnfspraakleer +\stopcommands + +%D \macros +%D {startbnfgrammar, stopbnfgrammar} +%D +%D Now to the interesting parts, those that are actually useful to the outside +%D world. First we have the \type{\startbnfgrammar} and \type{\stopbnfgrammar} +%D pairs, which are of course used to delimit \BNF\ grammars. We would like to +%D define \type{\startbnfgrammar} as \type{\def\startbnfgrammar[#1]}, but a bug +%D in \CONTEXT\ prevents us from doing this, as the first character in the +%D grammar may be active, for example \type{<}, but while checking for the +%D presence of \type{[}, it gets ruined. A way around it is of course to +%D require that the user pass an empty \type{[]} pair, and we will use this +%D method at the moment. + +\def\complexstartbnfgrammar[#1]% + {\endgraf\nobreak\medskip + \begingroup + \setupbnfgrammar[#1]% + \chardef\bnfsinglequote=`' + \defineactivecharacter : {\@@bnfis} + \defineactivecharacter | {\@@bnfoption} + \defineactivecharacter " % + {\thinspace\bgroup\@@bnfterminalstart\setupinlineverbatim% + \defineactivecharacter " {\@@bnfterminalstop\egroup\thinspace}} + \defineactivecharacter ' % + {\thinspace\bgroup\@@bnfterminalstart\setupinlineverbatim% + \defineactivecharacter ' {\@@bnfterminalstop\egroup\thinspace}} + \catcode`<=13 + \let\par=\bnfgrammarline + \obeylines} + +\def\stopbnfgrammar{\medbreak\checknextindentation[\@@bnfindentnext]} + +\definecomplexorsimpleempty\startbnfgrammar + +%D \macros +%D {<>,bnfgrammarrule} +%D +%D We need a couple more macros to deal with the interior of a \BNF\ grammar. +%D \type{\<>} is used for non||terminals, and \type{\bnfgrammarrule} is used +%D later on in \type{\bnfgrammarswitch} for continuing a line. + +\def\<#1>{\leavevmode\hbox{\@@bnfnonterminalstart#1\/\@@bnfnonterminalstop}} + +\bgroup + \catcode`<=13 + \global\let<=\< + \gdef\bnfgrammarrule<#1>{\endgraf\indent\<#1>} +\egroup + +%D \macros +%D {bnfgrammarline, bnfgrammarswitch, bnfgrammarcont} +%D +%D These macros deal with the ending of a line in a grammar. +%D \type{\bnfgrammarline} is called whenever a new line begins, and invokes +%D \type{\bnfgrammarswitch} to determine what to do next. If the next token is +%D \type{\<}, we will call upon \type{\bnfgrammarrule} to deal with the new +%D rule. If it is \type{\stopbnfgrammar}, we end the top||level group, and let +%D it process \type{\stopbnfgrammar} afterwards. Otherwise we invoke +%D \type{\bnfgrammarcont}, which will end the line and add some indentation to +%D the continuing line. + +\def\bnfgrammarline{\futurelet\next\bnfgrammarswitch} +\def\bnfgrammarswitch% + {\ifx\next\< + \let\next=\bnfgrammarrule + \else\ifx\next\stopbnfgrammar + \let\next=\endgroup + \else + \let\next=\bnfgrammarcont + \fi\fi + \next} +\def\bnfgrammarcont{\hfil\break\indent\qquad} + +%D \macros +%D {setupbnfgrammar} +%D +%D We want to allow our users to change the way the \BNF\ grammars are typeset, +%D so we define a setup command for them to use. +%D +%D It allows you to define the start and stop sequence for terminals and +%D non||terminals, as well as colons (lhs / rhs separator) and vertical bars +%D (alternative), and commas. This has been multi||lingualized above, so +%D choose your language. + +\def\dosetupbnfgrammar[#1]% + {\getparameters[\??bnf][#1]} + +\def\setupbnfgrammar% + {\dosingleargument\dosetupbnfgrammar} + +\setupbnfgrammar + [\c!terminalstart=\tttf, + \c!terminalstop=, + \c!nonterminalstart=\mathematics{\langle}, + \c!nonterminalstop=\mathematics{\rangle}, + \c!is={ \mathematics{\longrightarrow}}, + \c!option=\mathematics{\vert}, + \c!indentnext=\v!no] + +%D \macros +%D {BNF} +%D +%D We also define a useful abbreviation to be used for header texts and labels. + +\logo[BNF]{bnf} + +%D And we use it here: + +\setupheadtext[\s!en][\v!bnfgrammar=\BNF\ Grammar] +\setupheadtext[\s!en][\v!bnfgrammars=\BNF\ Grammars] +\setuplabeltext[\s!en][\v!bnfgrammar=\BNF\ Grammar ] + +%D Finally we define a float to be use with \BNF\ grammars, so that we can +%D finish off with something like this: +%D +%D \startbuffer +%D \placebnfgrammar +%D [][] +%D {An example of a placed grammar.} +%D {\startbnfgrammar[] +%D : | "+" +%D : "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" +%D \stopbnfgrammar} +%D \stopbuffer +%D +%D \typebuffer +%D +%D \getbuffer +%D +%D which looks kind of nice. + +\definefloat + [\v!bnfgrammar] + [\v!bnfgrammars] + +\protect \endinput diff --git a/Master/texmf-dist/tex/context/third/chromato/t-chromato.tex b/Master/texmf-dist/tex/context/third/chromato/t-chromato.tex new file mode 100644 index 00000000000..7fd3c5a4f03 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/chromato/t-chromato.tex @@ -0,0 +1,143 @@ +%D \enableregime[il1] +%D \module +%D [ file=t-chromato, +%D version=2006.09.21, +%D title=\CONTEXT\ User Module, +%D subtitle=Macros for chromatograms, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\startmodule[chromato] + +\writestatus{loading}{Macros for chromatograms} + +%D This parameter is needed because \type{\setupcaptions[align=hanging]} does +%D not work (see also +%D \type{http://context.literatesolutions.com/collector/82}). +\setupmodule[captionhanging=off] + +\unprotect + +\processaction[\currentmoduleparameter{captionhanging}] + [ on=>\def\Caption@Hanging{\setupalign[hanging]}, + \v!unknown=>\def\Caption@Hanging{}, + \v!default=>\def\Caption@Hanging{}] + +%D Some internal dimensions: +\doifundefined{Width}{\newdimen\Width} +\doifundefined{Height}{\newdimen\Height} + +%D \macros{startChromato} +%D Starting a chromatogram. +\def\startChromato{\bgroup\dosingleempty\dostartChromato} +\def\dostartChromato[#1]#2#3{\getparameters[CHROM][dim=0.6,#1] + \def\myChromFig{\doifdefinedelse{CHROMSdim}{% + \externalfigure[#2][height=\CHROMSdim\textheight]}{% + \externalfigure[#2][width=\CHROMdim\makeupwidth]}}% + \setbox\scratchbox\hbox{\myChromFig}% + \Width=\wd\scratchbox \Height=\ht\scratchbox \setuppositioning[unit=pt] + \gdef\SavedCaption{#3}\doifundefined{CHROMSdim}{\placefigure[][fig:#2]{% + \Caption@Hanging#3}}% + \bgroup\startpositioning\position(0,0){\myChromFig}} + +%D \macros{stopChromato} +%D End of chromatogram. +\def\stopChromato{\stoppositioning\egroup\egroup{\doifdefined{CHROMSdim}{% + \SavedCaption}}} + +%D \macros{startChromatos} +%D Begin set of of chromatograms. +\def\startChromatos{\dosingleempty\dostartChromatos} +\def\dostartChromatos[#1]#2#3{\placefigure[][fig:#2]{% + \Caption@Hanging#3}\bgroup + \getparameters[CHROMS][dim=0.3,#1] + \doifdefined{CHROMSdist}{\setupcombinations[distance=\CHROMSdist em]}% + \startcombination[2*1]} + +%D \macros{stopChromatos} +%D End of chromatograms. +\def\stopChromatos{\stopcombination\egroup} + +%D Internal macro: position left or right: +\define[3]\LRposition{\edef\YPos{\withoutpt{\the\dimexpr(\withoutpt{% + \the\dimexpr(#1pt/100)}\Height - 0.1\baselineskip)}}% + \position(#2,\YPos){\vbox to 2pt{\vss{\hbox to 0pt{#3}\vss}}}} + +%D \macros{Lbrace} +%D Place a brace at the left. +\define[4]\Lbrace{\LRposition{#1}0{\hss\rotate[rotation=90]{% + $\overbrace{\hskip#2\Height}^{% + \displaystyle\text{\rotate[rotation=270]{#4}}}$}\hskip#3em}} + +%D \macros{Rbrace} +%D Place a brace at the right. +\define[4]\Rbrace{\LRposition{#1}{\withoutpt{\the\Width}}{\hskip#3em + \rotate[rotation=270]{$\overbrace{\hskip#2\Height}^{% + \displaystyle\text{\rotate[rotation=90]{#4}}}$}\hss}} + +%D \macros{Larrow} +%D Place a flesh at the left. +\define[2]\Larrow{\LRposition{#1}0{\hss{\tx#2} $\rightarrow$}} + +%D \macros{Rarrow} +%D Place a flesh at the right. +\define[2]\Rarrow{\LRposition{#1}{\withoutpt{\the\Width}}{$\leftarrow$ \tx#2}} + +%D \macros{Above,Abrace} +%D Place something above the chromatogram. +\define[3]\Oposition{\edef\XPos{\withoutpt{\the\dimexpr(\withoutpt{% + \the\dimexpr(#1pt/100)}\Width)}}% + \position(\XPos,-\withoutpt{\the\dimexpr(#2\baselineskip)}){% + \hbox to 0pt{\hss#3\hss}}} +\define[2]\Above{\Oposition{#1}{0.8}{\tx#2}} +\define[3]\Abrace{\Oposition{#1}{2.5}{% + $\overbrace{\hskip#2\Width}^{\displaystyle\text{#3}}$}} + +\protect + +\stopmodule + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\usemodule[chromato] +\enableregime[il1] +\mainlanguage[de] +\starttext +\startChromato{ecolizeit}{Expression der rekombinanten Fucosyltransferase~V in + {\em E.~coli}.} + \Above{5}{BRS}\Above{15}{1h}\Above{26}{2h}\Above{38}{3h}\Above{50}{4h} + \Above{61}{1h}\Above{72}{2h}\Above{83}{3h}\Above{94}{4h} + \Larrow{12}{97\,kDa}\Larrow{20}{66\,kDa} + \Larrow{32}{45\,kDa}\Larrow{52}{31\,kDa} + \Lbrace{39}{0.75}{4}{A} + \Lbrace{90}{0.16}{4}{B} + \Abrace{32}{0.42}{löslich} + \Abrace{77}{0.42}{unlöslich} + \Rarrow{29}{FucT~V}\Rarrow{87}{FucT~V} +\stopChromato +\startChromatos[dim=0.17,dist=2]{saeuger}{Expression von rekombinanter + Fucosyltransferase~V in unterschiedlichen Säugerzellinien.} + \startChromato{saeuger}{A} + \Above{26}{CHO}\Above{74}{HEK} + \Larrow{4}{96\,kDa}\Larrow{37}{66\,kDa}\Larrow{81}{45\,kDa} + \stopChromato + \startChromato{saeugerred}{B} + \Above{26}{CHO}\Above{74}{HEK} + \Rarrow{81}{FucT~V} + \stopChromato +\stopChromatos +\stoptext diff --git a/Master/texmf-dist/tex/context/third/cmscbf/t-cmscbf.tex b/Master/texmf-dist/tex/context/third/cmscbf/t-cmscbf.tex new file mode 100644 index 00000000000..b3903fa7614 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/cmscbf/t-cmscbf.tex @@ -0,0 +1,42 @@ +%D \useregime[il9] +%D \enableregime[il9] +%D \module +%D [ file=t-cmscbf, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=Bold Small Caps for Computer/Latin Modern, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\writestatus{loading}{Bold Small Caps for Computer/Latin Modern} + +\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] + [sc] [bf=cmbcsc10 sa 1, tf=cmcsc10 sa 1] + +%D Hint: when producing PDF, adjust your resolution with +%D \type{\pdfpkresolution=xxx} + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\usemodule[cmscbf] +\useregime[il9] +\enableregime[il9] +\pdfpkresolution=1200 +\starttext +{\sc Normal and \bf bold Small Caps.} +{\sc Äö¤½æ¼Æ \bf Äö¤½æ¼Æ} +\stoptext diff --git a/Master/texmf-dist/tex/context/third/cmttbf/t-cmttbf.tex b/Master/texmf-dist/tex/context/third/cmttbf/t-cmttbf.tex new file mode 100644 index 00000000000..77618732dd6 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/cmttbf/t-cmttbf.tex @@ -0,0 +1,45 @@ +%D \useregime[il9] +%D \enableregime[il9] +%D \module +%D [ file=t-cmttbf, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=Bold Typewriter for Computer/Latin Modern, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\writestatus{loading}{Bold Typewriter for Computer/Latin Modern} + +\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt] [tt] [bf=cmbtt10 sa 1] +\definebodyfont[9pt] [tt] [bf=cmbtt9] +\definebodyfont[8pt,7pt,6pt,5pt] [tt] [bf=cmbtt8 sa 1] +%\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt] +% [tt] [bf=cmttb10 sa 1] + +%D Hint: when producing PDF, adjust your resolution with +%D \type{\pdfpkresolution=xxx} + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\usemodule[cmttbf] +\useregime[il9] +\enableregime[il9] +\pdfpkresolution=1200 +\starttext +{\tt Normal and \bf bold Typewriter.} +{\tt Äö¤½æ¼Æ \bf Äö¤½æ¼Æ} +\stoptext diff --git a/Master/texmf-dist/tex/context/third/construction-plan/t-construction-plan.tex b/Master/texmf-dist/tex/context/third/construction-plan/t-construction-plan.tex new file mode 100644 index 00000000000..b8dd9bea556 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/construction-plan/t-construction-plan.tex @@ -0,0 +1,153 @@ +%D \enableregime[utf] +%D \module +%D [ file=t-construction-plan, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=Construction plans, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\writestatus{loading}{Typesetting construction plans} + +\unprotect + +%D We need a lot of space. +\setuplayout[header=0pt,footer=0pt,backspace=2cm,width=middle, + topspace=1cm,height=middle] + +%D Doing pagenumbering on our own. +\setuppagenumbering[state=stop] + +%D \enableregime[utf] +%D \macros +%D {setupPlan} +%D +%D Setting up some values. +%D +%D Default setup: +%D +%D \starttyping +%D \setupPlan[Paper=A3,Project=,Author=,Prec=10] +%D \stoptyping +%D +%D Example: +%D +%D \starttyping +%D \setupPlan[Paper=A3,Project=My garage,Author=Peter Münster, +%D Prec=Precision factor for figure width] +%D \stoptyping +\def\setupPlan[#1]{\getparameters[Cp][#1]} +\setupPlan[Paper=A4,Project=,Author=,Date=,Prec=10] + +%D Support for more than one language! +\setuplabeltext[fr][project=Projet,author=Auteur,date=Date,scale=\'Echelle] +\setuplabeltext[en][project=Project,author=Author,date=Date,scale=Scale] +\setuplabeltext[de][project=Projekt,author=Autor,date=Datum,scale=Ma\ssharp + stab] + +%D \macros +%D {Plan} +%D +%D Makes a page with a plan and some comments below it. +%D +%D Example: +%D +%D \starttyping +%D \Plan[Prefix=file prefix,Scale=scale of figure,mm=width of figure in mm, +%D Title=title of plan] +%D \stoptyping +%D +%D If you want to include the file \type{plan-20000.eps} you have to use +%D \type{Prefix=plan,mm=20000}. +%D +%D Sample document: +%D +%D \starttyping +%D \usemodule[construction-plan] +%D \mainlanguage[fr] % or better: \usemodule[french] +%D \starttext +%D \Plan[Prefix=situ,Scale=2000,mm=351000,Title=Plan de situation] +%D \Plan[Prefix=masse,Scale=400,mm=66000,Title=Plan de masse] +%D \Plan[Prefix=nord,Scale=100,mm=20906,Title=Façade nord] +%D \Plan[Prefix=sud,mm=18900,Title=Façade sud] +%D \Plan[Prefix=west,mm=23390,Title=Pignon ouest] +%D \Plan[Prefix=ost,mm=23513,Title=Pignon est] +%D \Plan[Prefix=rdc,mm=18456,Title=Rez-de-chaussée] +%D \Plan[Prefix=etage,mm=16695,Title=Étage] +%D \Plan[Prefix=haus1,Scale=150,mm=30000,Title=Simulation 1] +%D \Plan[Prefix=haus2,Scale=100,mm=20000,Title=Simulation 2] +%D \stoptext +%D \stoptyping + +\def\@BottomLine{{\tx\doifsomething\CpProject{% + \labeltext{project}: \CpProject, }% + \doifsomething\CpAuthor{\labeltext{author}: \CpAuthor, }% + \labeltext{date}: \doifelsenothing\CpDate\currentdate\CpDate}\hfill} + +\newdimen\CpWidth \newdimen\CpHeight +\def\Plan[#1]{% + \getparameters[Cp][#1] + \CpWidth=\dimexpr(\the\numexpr(\CpPrec*\Cpmm/\CpScale)mm/\CpPrec) + \def\CpFig{\externalfigure[\CpPrefix-\Cpmm][width=\the\CpWidth]}% + \setbox\scratchbox\hbox{\CpFig}\CpHeight=\ht\scratchbox + \ifdim\CpWidth>1.2\CpHeight + \setuppapersize[\CpPaper,landscape,rotated][\CpPaper] + \else + \setuppapersize[\CpPaper][\CpPaper] + \fi + \startstandardmakeup + \midaligned{\CpFig}\vfil\@BottomLine + \framed[align=lohi,offset=2ex]{{\bfc\CpTitle}\blank + \labeltext{scale}: 1/\CpScale\quad\hfill(\currentpage/\lastpage)}% + \vskip0pt plus -1fil + \stopstandardmakeup} + +%D \macros +%D {NoPlan} +%D +%D Makes a page with some content and some comments below it. +%D +%D Example: +%D +%D \starttyping +%D \NoPlan[Title=Some notes]{Here are some notes about the plans.} +%D \stoptyping + +\long\def\NoPlan[#1]#2{% + \getparameters[Cp][#1] + \setuppapersize[\CpPaper][\CpPaper] + \startstandardmakeup + #2\vfil\@BottomLine + \framed[align=lohi,offset=2ex]{{\bfc\CpTitle}\blank + (\currentpage/\lastpage)}\vskip0pt plus -1fil + \stopstandardmakeup} + +\protect + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\usemodule[construction-plan] +\mainlanguage[de] +\enableregime[il1] +\setupPlan[Paper=A3,Project=Mein Haus,Prec=15] +\starttext +\Plan[Prefix=unten,Scale=100,mm=21478,Title=Erdgeschoß] +\Plan[Prefix=oben,mm=21345,Title=Obergeschoß] +\Plan[Prefix=simulation,Scale=250,mm=80000,Title=Simulation] +\NoPlan[Title=Notizen,Paper=A4]{\tfb\setupinterlinespace + Einige Notizen, die das Bauvorhaben beschreiben...} +\stoptext diff --git a/Master/texmf-dist/tex/context/third/degrade/t-degrade.tex b/Master/texmf-dist/tex/context/third/degrade/t-degrade.tex new file mode 100644 index 00000000000..b2dbba495c3 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/degrade/t-degrade.tex @@ -0,0 +1,163 @@ +%D \enableregime[utf] +%D \module +%D [ file=t-degrade, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=Degrading JPEG images, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\writestatus{loading}{Degrading JPEG images on the fly} + +\unprotect + +%D In this module we suppose, that original figures are either eps or jpg. +%D When creating pdf, eps is converted to pdf, and when creating dvi, +%D jpg is converted to eps. +%D Furthermore, jpg-images can be degraded to a given resolution, to get +%D smaller documents. + +%D When +%D \type{http://context.literatesolutions.com/collector/63} +%D is solved, we can make it better using \type{\appliedfigurefilename}, +%D \type{\figurewidth} etc, and without redefining \type{\externalfigure}. + +%D \macros{setupDegrade} +%D Sets the resolution, the directory for degraded images and the +%D directory, where the original images can be found (source directory). +%D +%D Default setup: +%D +%D \starttyping +%D \setupDegrade[Res=100,Dir=degrade,SDir=.] +%D \stoptyping +%D +%D Example: +%D +%D \starttyping +%D \setupDegrade[Res=600,Dir=degraded-images,SDir=/home/peter/jpegs] +%D \stoptyping + +\def\setupDegrade[#1]{\getparameters[Deg][#1]} +\setupDegrade[Res=100,Dir=degrade,SDir=.] + +%D In order to use this module, you must use \type{\externalfigure} +%D in the following way: \type{\externalfigure[file-prefix][options]}, +%D where \type{options} must contain the width or the height. +%D Furthermore, \type{\write18} must be enabled. +%D The shell-script is in a buffer, just to keep this module in only +%D one file. + +\startbuffer[degrade-script] +#!/bin/bash + +# We consider, that original figures are either eps or jpg. + +# Arguments: +# $1 = filename +# $2 = eps or pdf +# $3 = w or h +# $4 = resolution +# $5 = dimension of image +# $6 = source directory +# $7 = destination directory + +for i in jpeg2ps convert identify bc; do + if ! type $i &>/dev/null; then + echo Error: $i is not installed. + exit 1 + fi +done + +EPSTOPDF=epstopdf + +if ! type epstopdf &>/dev/null; then + if type texmfstart &>/dev/null; then + EPSTOPDF="texmfstart newpstopdf" + else + EPSTOPDF="texutil --figures --epstopdf" + fi +fi + +if [ -s "$1.jpg" ]; then + if [ "$2" = eps ] && [ "$1.jpg" -nt "$1.eps" ]; then + jpeg2ps "$1.jpg" >"$1.eps" + fi +else + if [ "$2" = pdf ] && [ "$1.eps" -nt "$1.pdf" ]; then + $EPSTOPDF "$1.eps" + fi +fi + +X= +[ $3 = h ] && X=x +FORMAT="%$3" +FILE="$6/$1.jpg" +DFILE="$7/$1.jpg" +DFILE_EPS="$7/$1.eps" +DPI="$4" +IW="$5" +MODE="$2" +INCH=72.27 + +mkdir -p $7 + +if [ -s "$FILE" ]; then + W=`identify -format "$FORMAT" "$FILE"` +else + rm -f "$DFILE" + exit 0 +fi + +NW=`echo "$DPI * $IW / $INCH" | bc` + +if [ $NW -ge $W ]; then + rm -f "$DFILE" +else + if [ -s "$DFILE" ] && \ + [ `identify -format "$FORMAT" "$DFILE"` -eq $NW ]; then + exit 0 + else + convert -verbose -resize $X$NW "$FILE" "$DFILE" + [ $MODE = eps ] && jpeg2ps "$DFILE" >"$DFILE_EPS" + fi +fi +\stopbuffer + +\def\Command{\immediate\write18} +\let\externalfigureO=\externalfigure +\def\externalfigure[#1][#2]{% + \getparameters[Deg][height=,#2]% + \processaction[\Degheight][% + \s!default =>\scratchdimen=\Degwidth \def\Deg@WH{w}, + \s!unknown =>\scratchdimen=\Degheight \def\Deg@WH{h}]% + \Command{bash ./\jobname-degrade-script.tmp #1 \ifcase\pdfoutput eps\else + pdf\fi\space\Deg@WH\space\DegRes\space\withoutpt\the\scratchdimen\space + \DegSDir\space\DegDir}% + \doiffileexistselse{\DegDir/#1.jpg}{\def\Deg@File{\DegDir/#1}}{% + \def\Deg@File{#1}}% + \externalfigureO[\Deg@File][#2]} + +\protect + +\doifnotmode{demo}{\endinput} + +%D Usage example: +%\usemodule[degrade] +% \setupDegrade[Res=200] Here you can adjust the resolution (unit = dpi). +\starttext +\externalfigure[hacker][width=0.2\textwidth] +\stoptext diff --git a/Master/texmf-dist/tex/context/third/french/t-french.tex b/Master/texmf-dist/tex/context/third/french/t-french.tex new file mode 100644 index 00000000000..86d0095b1f1 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/french/t-french.tex @@ -0,0 +1,77 @@ +%D \enableregime[utf] +%D \module +%D [ file=t-french, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=For French documents, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +%D \enableregime[utf] +%D This module tries to do similar things as the frenchb.ldf in LaTeX: +%D \startitemize +%D \item automatic space before » and after «, :, ?, ; and ! +%D \item changing symbol for itemize environment +%D \stopitemize +%D +%D There are still some bugs: +%D \startitemize +%D \item automatic space before » and after « does not work with utf +%D \item when loaded in a project file, the activation of the characters : and +%D ; gets lost in the products +%D \stopitemize +%D +%D In a next version, we will use the new pre-spacing-feature of pdfTeX: +%D no more active characters! + +\writestatus{loading}{Typesetting French documents} + +\def\activateSomeCharacters{% + \defineactivecharacter « {\leftguillemot\,}% does not seem to work + \defineactivecharacter » {\,\rightguillemot}% with utf-encoding... :( + \defineactivecharacter ! {\,\string!}% + \defineactivecharacter ? {\,\string?}% + \defineactivecharacter : {\,\string:}% + \defineactivecharacter ; {\,\string;}} + +\startlanguagespecifics[fr] + \activateSomeCharacters + \setupitemize[symbol=2] + \lccode`\'=`\' +\stoplanguagespecifics + +\mainlanguage[fr] + +\appendtoks\activateSomeCharacters\to\everystarttext + +%% This is also an option: +%\definehspace[fr][:][.166667em] +%\definehspace[fr][;][.166667em] +%\definehspace[fr][!][.166667em] +%\definehspace[fr][?][.166667em] +%\useencoding[ffr] + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\enableregime[il9] +\usemodule[french] +\starttext +Voilà: Voilà? Voilà! Voilà; «voilà» + +\enableregime[utf] +Voilà: Voilà? Voilà! Voilà; {\en does not work with utf:} «voilà» +\stoptext diff --git a/Master/texmf-dist/tex/context/third/lettrine/t-lettrine.tex b/Master/texmf-dist/tex/context/third/lettrine/t-lettrine.tex new file mode 100644 index 00000000000..ea86ddc416e --- /dev/null +++ b/Master/texmf-dist/tex/context/third/lettrine/t-lettrine.tex @@ -0,0 +1,163 @@ +%D \module +%D [ file=t-lettri, +%D version=2006.01.27, +%D title=\CONTEXT\ Lettrines, +%D subtitle=Funny stuff, +%D author=Taco Hoekwater, +%D date=\currentdate, +%D copyright=Public Domain] +%C +%C Donated to the public domain. + +%D This is just a quick and dirty conversion of the LaTeX package +%D +%D \ProvidesFile{lettrine.sty}[2004/05/22 v1.6 (D. Flipo)] +%D +%D Errors are likely mine, credit is due to Daniel.Flipo@univ-lille1.fr +%D +%D If enough people like it, I may even clean this mess up sometime. The +%D current version is just a (c)rude conversion of the low-level LaTeX +%D stuff to sometimes even lower-level ConTeXt. +%D +%D Changes: +%D 2005.08.29: support use within \startframedtext ..\stop +%D 2006.01.27: support use within \startnarrower..\stop + +\unprotect + +\newbox\Lettrinelbox +\newbox\Lettrinetbox + +\newcount\Lettrinelines + +\newdimen\LettrineHeight +\newdimen\Lettrinefirst +\newdimen\Lettrinenext +\newdimen\Lettrineraise + +\newdimen\Lettrinepindent +\newdimen\Lettrinefindent +\newdimen\Lettrinenindent + +\getparameters[LettrineDefault] + [Lines=2, + Hang=0, + Oversize=0, + Raise=0, + Findent=0pt, + Nindent=0.5em, + Slope=0pt, + Ante=, + FontHook=, + TextFont=\sc, + Image=\v!no] + +\def\setuplettrine{\dodoubleempty\dosetuplettrine} + +\def\dosetuplettrine[#1][#2]{% + \doifassignmentelse{#1}{% + \dodosetuplettrine[][#1]% + }{% + \def\ascii{}% + \doifsomething{#1}{\convertargument#1\to\ascii }% + \expandafter\dodosetuplettrine\expandafter[\ascii][#2]% + }% +} + + +\def\dodosetuplettrine[#1][#2]{% + \getparameters[LettrineDefault#1][#2] +} + +\def\doLettrineHeight{% + \LettrineHeight =\Lettrinelines\baselineskip\relax + \ifnum\Lettrinelines>1 + \advance\LettrineHeight -\baselineskip + \fi + \setbox\Lettrinetbox\hbox{{\LettrineTextFont x}}% + \LettrineHeight = \dimexpr \LettrineHeight+ \ht\Lettrinetbox + + \LettrineOversize\LettrineHeight \relax +} + +\def\doLettrineEPS#1{% + \doLettrineHeight\LettrineFontHook + \externalfigure[#1][\c!height=\LettrineHeight]} + +\def\doLettrineFont{% + \doLettrineHeight + \definefontsynonym[LettrineFont][Serif]% + \setbox\Lettrinetbox=\hbox{{\LettrineFontHook + \definedfont[LettrineFont at \the\LettrineHeight] X}}% + \scratchcounter = \numexpr (100*\LettrineHeight)/(\ht\Lettrinetbox/100) - 9999\relax + \ifnum\scratchcounter>0 + \def\tempa{1.\the\scratchcounter}% + \else + \def\tempa{1}% + \fi + \LettrineFontHook + \!!dimena = \tempa\LettrineHeight + \definedfont[LettrineFont at \the\!!dimena]% +}% + +\def\lettrine{\dosingleempty\dolettrine} + +\def\dolettrine[#1]#2#3{% + \convertargument#2\to\ascii + \def\lettrgetparam##1{% + \ifcsname LettrineDefault\ascii##1\endcsname + \setevalue{Lettrine##1}{\csname LettrineDefault\ascii##1\endcsname}% + \else + \setevalue{Lettrine##1}{\csname LettrineDefault##1\endcsname}% + \fi}% + \processcommalist + [Lines,Hang,Oversize,Raise,Findent,Nindent,Slope,Ante,FontHook,TextFont,Image]\lettrgetparam + \getparameters[Lettrine][#1]% + \Lettrinenindent=\LettrineNindent\relax + \Lettrinefindent=\LettrineFindent\relax + \Lettrinelines =\LettrineLines\relax + \setbox\Lettrinelbox\hbox{{\ifx\LettrineImage\v!yes\doLettrineEPS{#2}\else + \ifx\LettrineImage\v!true\doLettrineEPS{#2}\else + \doLettrineFont #2\fi\fi}}% + \setbox\Lettrinetbox\hbox{{\LettrineTextFont{#3}}}% + \ifnum\Lettrinelines=1 + \Lettrinefirst = \dimexpr \ht\Lettrinelbox-\ht\Lettrinetbox \relax + \Lettrineraise=0pt + \else + \setbox\scratchbox\hbox{{\LettrineTextFont x}}% + \Lettrinefirst = \dimexpr -\Lettrinelines\baselineskip + \baselineskip + -\ht\scratchbox \relax + \Lettrineraise = \dimexpr\LettrineRaise\Lettrinefirst \relax + \Lettrineraise = -\Lettrineraise \relax + \Lettrinefirst = \dimexpr\Lettrinefirst+\Lettrineraise+\ht\Lettrinelbox \relax + \Lettrineraise = \dimexpr\Lettrineraise-\Lettrinelines\baselineskip +\baselineskip \relax + \fi + \par + \ifdim\Lettrinefirst>0.2pt\vskip\Lettrinefirst\fi + \setbox\scratchbox= \hbox{\LettrineAnte}% + \setlocalhsize + \Lettrinepindent= \dimexpr \wd\Lettrinelbox -\LettrineHang\wd\Lettrinelbox + + \wd\scratchbox + \Lettrinefindent \relax + \Lettrinefirst=\dimexpr \localhsize -\Lettrinepindent +\rightskip+\leftskip\relax + \advance\Lettrinenindent \Lettrinepindent + \Lettrinenext=\dimexpr \localhsize -\Lettrinenindent +\rightskip+\leftskip\relax + \def\Lparshape{\the\numexpr\Lettrinelines+1\relax\space \the\Lettrinepindent\space \the\Lettrinefirst}% + \dorecurse{\numexpr \Lettrinelines - 1 \relax}{% + \edef\Lparshape{\Lparshape\space \the\Lettrinenindent\space \the\Lettrinenext}% + \advance\Lettrinenindent\LettrineSlope + \advance\Lettrinenext -\LettrineSlope + }% + \edef\Lparshape{\Lparshape\space 0pt\space \the\localhsize}% + \setbox\scratchbox = \hbox{\hbox{\LettrineAnte}\raise \Lettrineraise \hbox{\box\Lettrinelbox }}% + \scratchdimen = \dimexpr \dp\scratchbox + \ht\strutbox + 1pt\relax + \vskip\scratchdimen \penalty0\vskip-\scratchdimen + \noindent + \scratchdimen = \leftskip \leftskip=\scratchdimen + \scratchdimen = \rightskip \rightskip=\scratchdimen + \parshape=\Lparshape + \smash{\llap{\box\scratchbox}}% + \hskip \the\Lettrinefindent + \box\Lettrinetbox +} + +\protect +\endinput diff --git a/Master/texmf-dist/tex/context/third/typearea/t-typearea.tex b/Master/texmf-dist/tex/context/third/typearea/t-typearea.tex new file mode 100644 index 00000000000..f7626d6f07d --- /dev/null +++ b/Master/texmf-dist/tex/context/third/typearea/t-typearea.tex @@ -0,0 +1,100 @@ +%D \enableregime[utf] +%D \module +%D [ file=t-typearea, +%D version=2006.09.12, +%D title=\CONTEXT\ User Module, +%D subtitle=Something like KOMA-TypeArea, +%D author=Peter Münster, +%D date=\currentdate, +%D copyright={Peter Münster}] +%C This module is copyrighted by Peter Münster. +%C Please send any comments to pmrb at free.fr. + +% This program is free software; you can redistribute it and/or +% modify it under the terms of the GNU General Public License +% as published by the Free Software Foundation; either version 2 +% of the License, or (at your option) any later version. + +% This program is distributed in the hope that it will be useful, +% but without any warranty; without even the implied warranty of +% merchantability or fitness for a particular purpose. See the +% GNU General Public License for more details. + +\writestatus{loading}{Something like KOMA-TypeArea} + +\unprotect + +%D \macros{setupTypeArea} +%D Setting up some values. +%D +%D Default setup: +%D +%D \starttyping +%D \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] +%D \stoptyping +%D +%D Example: +%D +%D \starttyping +%D \setupTypeArea[bcor=3mm,oneside=yes,alphabets=3.1] +%D \stoptyping +\def\setupTypeArea[#1]{\getparameters[TA@][#1]\doTypeArea} + +%D Some internal dimensions: +\newdimen\PageWidth \newdimen\Back +\doifundefined{Width}{\newdimen\Width} +\doifundefined{Height}{\newdimen\Height} + +%D This internal macro does the whole work: +\def\doTypeArea{ + +%D Set visible page width: +\PageWidth=\dimexpr\paperwidth-\TA@bcor\relax + +%D Determine the paper aspect ratio: +\edef\Ratio{\withoutpt{\the\dimexpr2\paperheight/(\PageWidth/32768)\relax}} + +%D Set the textarea width to X alphabets: +\setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}} +\Width=\dimexpr\TA@alphabets\wd\scratchbox\relax +\ifdim\Width<\PageWidth\else +\writestatus{error}{line wider than page}\end\fi + +%D Set the textarea height proportional to the width: +\Height=\dimexpr(\Ratio\Width) + +%D Set the margin/gutter widths to be equal on a full spread: +\doifelse\TA@oneside{yes} + {\Back=\dimexpr(\PageWidth - \Width) / 2 + \TA@bcor\relax} + {\Back=\dimexpr(\PageWidth - \Width) / 3 + \TA@bcor\relax} + +%D Set the top and bottom margins in a 1:2 ratio, ignoring headers: +\edef\Top{\the\dimexpr(\paperheight - \Height) / 3 - 3\lineheight\relax} + +%D Redefine \type{\Height} to include header and footer space: +\Height=\dimexpr(\Height + 8\lineheight) + +%D Set up the page layout using the calculated parameters: +\setuplayout[ + backspace=\the\Back, + height=\the\Height, + width=\the\Width, + header=2\lineheight, + headerdistance=\lineheight, + footer=2\lineheight, + footerdistance=3\lineheight, + topspace=\Top] +} +\protect + +\setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] + +\doifnotmode{demo}{\endinput} + +%D Usage example: +\usemodule[typearea] +\setupTypeArea[bcor=0mm,alphabets=3.1] +\setuppagenumbering[alternative=doublesided] +\starttext +\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} +\stoptext diff --git a/Master/texmf-dist/tex/context/third/urwgaramond/t-urwgaramond.tex b/Master/texmf-dist/tex/context/third/urwgaramond/t-urwgaramond.tex new file mode 100644 index 00000000000..d6ce10790ea --- /dev/null +++ b/Master/texmf-dist/tex/context/third/urwgaramond/t-urwgaramond.tex @@ -0,0 +1,3 @@ +\usetypescriptfile[type-urwgaramond] +\usetypescript[URWGaramond] +\setupbodyfont[urwgaramond] diff --git a/Master/texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex b/Master/texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex new file mode 100644 index 00000000000..dd0b14c584d --- /dev/null +++ b/Master/texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex @@ -0,0 +1,84 @@ +% raw fonts + +\starttypescript[serif] [garamond] [texnansi] + +\definefontsynonym[Garamond] [ugmr8a] [encoding=texnansi] +\definefontsynonym[GaramondItalic] [ugmri8a] [encoding=texnansi] +\definefontsynonym[GaramondBold] [ugmm8a] [encoding=texnansi] +\definefontsynonym[GaramondBoldItalic][ugmmi8a] [encoding=texnansi] + +\stoptypescript + +% names + +\starttypescript [serif] [garamond] [name] + +\setups[font:fallback:serif] + +\definefontsynonym[Serif] [Garamond] +\definefontsynonym[SerifBold] [Garamond-Bold] +\definefontsynonym[SerifItalic] [Garamond-Italic] +\definefontsynonym[SerifBoldItalic][Garamond-BoldItalic] + +\stoptypescript + +% synonyms + +\starttypescript [serif] [garamond] [texnansi] + +\definefontsynonym [Garamond] +[\typescriptthree-ugmr8a] +[encoding=\typescriptthree] + +\definefontsynonym [Garamond-Italic] +[\typescriptthree-ugmri8a] +[encoding=\typescriptthree] + +\definefontsynonym [Garamond-Bold] +[\typescriptthree-ugmm8a] +[encoding=\typescriptthree] + +\definefontsynonym [Garamond-BoldItalic] +[\typescriptthree-ugmmi8a] +[encoding=\typescriptthree] + +\stoptypescript + +% maps + +\starttypescript [map] [garamond] [texnansi] + +\loadmapfile[texnansi-urw-garamond.map] + +\stoptypescript% + +% typefaces + +\starttypescript [URWGaramond] + +\definebodyfontenvironment + [urwgaramond] + [default] + [interlinespace=2.8ex] + +\definetypeface [urwgaramond] +[rm] [serif] [garamond] [default] +[encoding=texnansi] + +\definetypeface [urwgaramond] +[ss] [sans] [helvetica] [default] +[encoding=texnansi] + +\definetypeface [urwgaramond] +[mm] [math] [palatino] [default] +[encoding=texnansi] + +\definetypeface [urwgaramond] +[tt] [mono] [modern] [default] +[encoding=texnansi] + +\stoptypescript + +%%% Local Variables: +%%% mode: context +%%% End: diff --git a/Master/texmf-dist/tex/context/third/urwgothic/type-urwgothic.tex b/Master/texmf-dist/tex/context/third/urwgothic/type-urwgothic.tex new file mode 100644 index 00000000000..9223dc4dc95 --- /dev/null +++ b/Master/texmf-dist/tex/context/third/urwgothic/type-urwgothic.tex @@ -0,0 +1,30 @@ + +\starttypescript [sans] [urwgothic] [texnansi,ec,8r] + \loadmapfile[\typescriptthree-urw-urwgothic.map] + \definefontsynonym[URWGothicL-Book] [\typescriptthree-uagk8a] [encoding=\typescriptthree] + \definefontsynonym[URWGothicL-BookObli][\typescriptthree-uagko8a] [encoding=\typescriptthree] + \definefontsynonym[URWGothicL-Demi] [\typescriptthree-uagd8a] [encoding=\typescriptthree] + \definefontsynonym[URWGothicL-DemiObli][\typescriptthree-uagdo8a] [encoding=\typescriptthree] +\stoptypescript + +\starttypescript [map] [urwgothic] [texansi,ec,8r] + \loadmapfile[\typescriptthree-urw-urwgothic.map] +\stoptypescript + +\starttypescript [sans] [urwgothic] [name] + \definefontsynonym [Sans] [URWGothicL-Book] + \definefontsynonym [SansItalic] [URWGothicL-BookObli] + \definefontsynonym [SansBold] [URWGothicL-Demi] + \definefontsynonym [SansBoldItalic] [URWGothicL-DemiObli] + \definefontsynonym [SansSlanted] [URWGothicL-BookObli] + \definefontsynonym [SansBoldSlanted] [URWGothicL-DemiObli] +\stoptypescript + +\starttypescript [urwgothic] [texnansi,ec,8r] + \definetypeface [urwgothic][ss][sans] [urwgothic][default][encoding=\typescripttwo,rscale=0.9] + \definetypeface [urwgothic][rm][serif][times] [default][encoding=\typescripttwo] + \definetypeface [urwgothic][tt][mono] [modern] [default][encoding=\typescripttwo] + \definetypeface [urwgothic][mm][math] [times] [default][encoding=\typescripttwo] + \quittypescriptscanning +\stoptypescript + diff --git a/Master/texmf-dist/tpm/context-contrib.tpm b/Master/texmf-dist/tpm/context-contrib.tpm new file mode 100644 index 00000000000..6918ab7f858 --- /dev/null +++ b/Master/texmf-dist/tpm/context-contrib.tpm @@ -0,0 +1,122 @@ + + + + context-contrib + Package + 2006/11/08 16:00:00 + 2005.10.31 + thoekwater + ConTeXt contrib packages. + +A number of third-party contributions for use with the ConTeXt macro +package. Included are: urwgaramond, urwgothic, bnf, chromato, cmscbf, +cmttbf, construction-plan, degrade, french, lettrine, and typearea. + + Hans Hagen + 2710019 + + +texmf-dist/doc/context/third/bnf/NEWS +texmf-dist/doc/context/third/bnf/README +texmf-dist/doc/context/third/bnf/t-bnf.pdf +texmf-dist/doc/context/third/chromato/chromato-demo.pdf +texmf-dist/doc/context/third/chromato/chromato-doc.pdf +texmf-dist/doc/context/third/cmscbf/cmscbf-demo.pdf +texmf-dist/doc/context/third/cmscbf/cmscbf-doc.pdf +texmf-dist/doc/context/third/cmttbf/cmttbf-demo.pdf +texmf-dist/doc/context/third/cmttbf/cmttbf-doc.pdf +texmf-dist/doc/context/third/construction-plan/construction-plan-demo.pdf +texmf-dist/doc/context/third/construction-plan/construction-plan-doc.pdf +texmf-dist/doc/context/third/degrade/degrade-demo.pdf +texmf-dist/doc/context/third/degrade/degrade-doc.pdf +texmf-dist/doc/context/third/french/french-demo.pdf +texmf-dist/doc/context/third/french/french-doc.pdf +texmf-dist/doc/context/third/lettrine/lettrine.pdf +texmf-dist/doc/context/third/lettrine/lettrine.tex +texmf-dist/doc/context/third/lettrine/W.pdf +texmf-dist/doc/context/third/typearea/typearea-demo.pdf +texmf-dist/doc/context/third/typearea/typearea-doc.pdf +texmf-dist/doc/fonts/urw/garamond/test.pdf +texmf-dist/doc/fonts/urw/garamond/test.tex +texmf-dist/doc/fonts/urw/garamond/texnansi-urw-garamond.tex +texmf-dist/doc/fonts/urw/urwgothic/8r-urw-urwgothic.tex +texmf-dist/doc/fonts/urw/urwgothic/ec-urw-urwgothic.tex +texmf-dist/doc/fonts/urw/urwgothic/texnansi-urw-urwgothic.tex +texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.pdf +texmf-dist/doc/fonts/urw/urwgothic/urwgothic-test.tex + + +texmf-dist/fonts/map/pdftex/context/8r-urw-urwgothic.map +texmf-dist/fonts/map/pdftex/context/ec-urw-urwgothic.map +texmf-dist/fonts/map/pdftex/context/texnansi-urw-garamond.map +texmf-dist/fonts/map/pdftex/context/texnansi-urw-urwgothic.map +texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmm8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmmi8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmr8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-raw-ugmri8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmm8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmmi8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmr8a.tfm +texmf-dist/fonts/tfm/urw/garamond/texnansi-ugmri8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-raw-uagko8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/8r-uagko8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-raw-uagko8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/ec-uagko8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-raw-uagko8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagd8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagdo8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagk8a.tfm +texmf-dist/fonts/tfm/urw/urwgothic/texnansi-uagko8a.tfm +texmf-dist/fonts/vf/urw/garamond/texnansi-ugmm8a.vf +texmf-dist/fonts/vf/urw/garamond/texnansi-ugmmi8a.vf +texmf-dist/fonts/vf/urw/garamond/texnansi-ugmr8a.vf +texmf-dist/fonts/vf/urw/garamond/texnansi-ugmri8a.vf +texmf-dist/fonts/vf/urw/urwgothic/8r-uagd8a.vf +texmf-dist/fonts/vf/urw/urwgothic/8r-uagdo8a.vf +texmf-dist/fonts/vf/urw/urwgothic/8r-uagk8a.vf +texmf-dist/fonts/vf/urw/urwgothic/8r-uagko8a.vf +texmf-dist/fonts/vf/urw/urwgothic/ec-uagd8a.vf +texmf-dist/fonts/vf/urw/urwgothic/ec-uagdo8a.vf +texmf-dist/fonts/vf/urw/urwgothic/ec-uagk8a.vf +texmf-dist/fonts/vf/urw/urwgothic/ec-uagko8a.vf +texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagd8a.vf +texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagdo8a.vf +texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagk8a.vf +texmf-dist/fonts/vf/urw/urwgothic/texnansi-uagko8a.vf +texmf-dist/tex/context/interface/third/lettrine.xml +texmf-dist/tex/context/third/bnf/t-bnf.tex +texmf-dist/tex/context/third/chromato/t-chromato.tex +texmf-dist/tex/context/third/cmscbf/t-cmscbf.tex +texmf-dist/tex/context/third/cmttbf/t-cmttbf.tex +texmf-dist/tex/context/third/construction-plan/t-construction-plan.tex +texmf-dist/tex/context/third/degrade/t-degrade.tex +texmf-dist/tex/context/third/french/t-french.tex +texmf-dist/tex/context/third/lettrine/t-lettrine.tex +texmf-dist/tex/context/third/typearea/t-typearea.tex +texmf-dist/tex/context/third/urwgaramond/t-urwgaramond.tex +texmf-dist/tex/context/third/urwgaramond/type-urwgaramond.tex +texmf-dist/tex/context/third/urwgothic/type-urwgothic.tex +texmf-dist/tpm/context-contrib.tpm + + + + + Package/context-contrib + + + -- cgit v1.2.3