diff options
author | Karl Berry <karl@freefriends.org> | 2012-01-06 23:27:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-01-06 23:27:43 +0000 |
commit | 973a2350136dbd18c5b167616359df031f21803e (patch) | |
tree | 021e445bf457353dbd4ee5a3c42a4a5137825025 /Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx | |
parent | 21f4d46ce41f0713cec020b473fad6e219f9a210 (diff) |
blindtext (6jan12)
git-svn-id: svn://tug.org/texlive/trunk@25039 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx | 160 |
1 files changed, 160 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx b/Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx new file mode 100644 index 00000000000..358fb6c5145 --- /dev/null +++ b/Master/texmf-dist/source/latex/blindtext/blindtext_english.dtx @@ -0,0 +1,160 @@ +% +% +% ^^A This document is generated by mk_blindtext_texts.rb +% +% +% \subsection{English Texts (babel: english)} +% \changes{V1.9e}{2011-12-09}{Correction English} +% Thanks to Felix Lehmann for corrections. +% +% \begin{macro}{\blindtext@english} +% Define flag, so we can check if language is defined. +% \begin{macrocode} +\def\blindtext@english{} +% \end{macrocode} +% \end{macro} +% +% Define the default blind text for English. +% \begin{macrocode} +\blind@addtext{english}{% + \def\blindtext@text{% + Hello, here is some text without a meaning\blindtext@endsentence + This text should show what a printed text will look like at this + place\blindtext@endsentence If you read this text, you will get no + information\blindtext@endsentence Really? Is there no information? + Is there a difference between this text and some nonsense like + ``Huardest gefburn''? Kjift -- not at all! A blind text + \blindmarkup{like this} gives you information about the selected + font, how the letters are written and an impression of the + look\blindtext@endsentence This text should contain \blindmarkup{all + letters of the alphabet} and it should be written in of the original + language\blindtext@endsentence There is no need for special + content, but the length of words should match the + language\blindtext@endsentence% + }% \blindtext@text +} +% \end{macrocode} +% +% +% \changes{V1.9e}{2011-12-09}{Default paragraph start for English} +% Define different paragraph starts for second and later paragraphs. +% The first paragraph gets no special start. +% \begin{macrocode} +\blind@addtext{english}{% + \def\blindtext@parstart{% + \ifcase\value{blind@countparstart}\or +This is the second paragraph.\or +And after the second paragraph follows the third paragraph.\or +After this fourth paragraph, we start a new paragraph sequence.\or + \setcounter{blind@countparstart}{0} + \fi + \stepcounter{blind@countparstart} + }% \blindtext@parstart +} +% \end{macrocode} +% +% Define counters for list environments. +% \begin{macrocode} +\blind@addtext{english}{% + \def\blindtext@count{% + \ifcase\value{blind@listcount}\or + First\or Second\or Third\or Fourth\or Fifth\or + Sixth\or Seventh\or Eighth\or Ninth\or Tenth\or + Eleventh\or Twelfth% + \else + Another% + \fi + }% \blindtext@count + \def\blindtext@item{item in a list}% +}%\addto\extrasenglish +% \end{macrocode} +% +% Define title lines for English. +% \begin{macrocode} +\blind@addtext{english}{% + \def\blindtext@heading{Heading on Level\xspace}% + \def\blindtext@list{Lists}% + \def\blindtext@listEx{Example for list\xspace}% +}%\addto\extrasenglish +% \end{macrocode} +% +% Add the title for |\blindmathpaper|. +% \begin{macrocode} +\blind@addtext{english}{% + \def\blindtext@blindmath{Some blind text with math formulas}% +}%\addto\extrasenglish +% \end{macrocode} +% +% +% Define the bible-option text for english. +% \begin{macrocode} +\ifblindbible +\blind@addtext{english}{% + \def\blindtext@text{% + And the Lord God said unto the serpent, Because thou hast done this, + thou art cursed above all cattle, and above every beast of the + field; upon thy belly shalt thou go, and dust shalt thou eat all the + days of thy life: + And God said unto Moses, `I am that I am': and he said, Thus shalt + thou say unto the children of Israel, `I am' hath sent me unto you. + And he shall offer thereof his offering, even an offering made by + fire unto the Lord; the fat that covereth the inwards, and all the + fat that is upon the inwards,\ldots + And the Lord spake unto Moses in the wilderness of Sinai, + saying,\ldots + Jair the son of Manasseh took all the country of Argob unto the + coasts of Geshuri and Maachathi; and called them after his own name, + Bashanhavothjair, unto this day.% + }% \blindtext@text + \def\blindtext@parstart{}%no change for bible option +} +\fi %\ifbible +% \end{macrocode} +% +% Define the random-option text for english. +% \begin{macrocode} +\ifblindrandom + \PackageWarning{blindtext}{Option random not defined for english\MessageBreak}% + \blind@addtext{english}{% + \setcounter{blindtext}{1} + } +\fi %option random +% \end{macrocode} +% +% Define the pangram-option text for english. +% \begin{macrocode} +\ifblindpangram +\blind@addtext{english}{% + \setcounter{blindtext}{5} + \def\blindtext@text{% + \blind@countxx=1 % + \loop + \ifcase\value{blind@pangramcount}% +The quick brown fox jumps over the lazy dog\blindtext@endsentence +\or Jackdaws love my big Sphinx of Quartz\blindtext@endsentence +\or Pack my box with five dozen liquor jugs\blindtext@endsentence +\or The five boxing wizards jump quickly\blindtext@endsentence +\or Sympathizing would fix Quaker objectives\blindtext@endsentence +\or Many-wived Jack laughs at probes of sex quiz\blindtext@endsentence +\or Turgid saxophones blew over Mick's jazzy quaff\blindtext@endsentence +\or Playing jazz vibe chords quickly excites my +wife\blindtext@endsentence +\or A large fawn jumped quickly over white zinc +boxes\blindtext@endsentence +\or Exquisite farm wench gives body jolt to prize +stinker\blindtext@endsentence +\or Jack amazed a few girls by dropping the antique onyx vase!\xspace% + \setcounter{blind@pangramcount}{-1}% + \fi% + \refstepcounter{blind@pangramcount}% + \ifnum\blind@countxx<\value{blind@pangrammax}\advance\blind@countxx by 1 % + \repeat% + \setcounter{blind@pangrammax}{\value{blindtext}}% + }% \blindtext@text + \def\blindtext@parstart{}%no change for pangram option +} +\fi %option pangram +% \end{macrocode} +% +% ^^A %%%%%%%%%% End English Texts %%%%%%%%%%%%%%%% +% |