From 9a3f6ed53beeeb860cce8e9c9763ec14455823b4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Jan 2015 23:40:47 +0000 Subject: manuscript (21jan15) git-svn-id: svn://tug.org/texlive/trunk@36110 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/manuscript/Makefile | 21 ---- .../source/latex/manuscript/manuscript.drv | 4 +- .../source/latex/manuscript/manuscript.dtx | 135 +++++++++++---------- 3 files changed, 72 insertions(+), 88 deletions(-) delete mode 100644 Master/texmf-dist/source/latex/manuscript/Makefile (limited to 'Master/texmf-dist/source/latex/manuscript') diff --git a/Master/texmf-dist/source/latex/manuscript/Makefile b/Master/texmf-dist/source/latex/manuscript/Makefile deleted file mode 100644 index a8b794ab8b5..00000000000 --- a/Master/texmf-dist/source/latex/manuscript/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -all: manuscript.pdf - -manuscript.pdf: manuscript.gls manuscript.ind - pdflatex manuscript.drv - pdflatex manuscript.drv - pdflatex manuscript.drv - -manuscript.gls: manuscript.glo - makeindex -s gglo -o manuscript.gls manuscript.glo - -manuscript.ind: manuscript.idx - makeindex -s gind manuscript - -manuscript.glo: manuscript.drv - pdflatex manuscript.drv - -manuscript.idx: manuscript.drv - pdflatex manuscript.drv - -manuscript.drv: manuscript.dtx manuscript.ins - pdflatex manuscript.ins diff --git a/Master/texmf-dist/source/latex/manuscript/manuscript.drv b/Master/texmf-dist/source/latex/manuscript/manuscript.drv index 0efe3768a6c..8dfd3a62b42 100644 --- a/Master/texmf-dist/source/latex/manuscript/manuscript.drv +++ b/Master/texmf-dist/source/latex/manuscript/manuscript.drv @@ -7,7 +7,7 @@ %% manuscript.dtx (with options: `driver') %% This is a stripped version of the original file. %% Copyright (C) 2002 Matej Cepl -%% $Id: manuscript.dtx,v 1.4 2002/05/23 16:34:41 matej Exp $ +%% $Id: manuscript.dtx,v 1.6 2005/09/02 12:08:35 matej Exp $ %% This program may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 %% of this license or (at your option) any later version. @@ -16,7 +16,7 @@ %% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. \ProvidesFile {manuscript.dtx} - [2003/06/17 1.5 emulate typesetting of typewriter] + [2015/01/19 1.7 emulate typesetting of typewriter] \documentclass{ltxdoc} \EnableCrossrefs \RecordChanges diff --git a/Master/texmf-dist/source/latex/manuscript/manuscript.dtx b/Master/texmf-dist/source/latex/manuscript/manuscript.dtx index bd3bb561040..b77c9d43ec0 100644 --- a/Master/texmf-dist/source/latex/manuscript/manuscript.dtx +++ b/Master/texmf-dist/source/latex/manuscript/manuscript.dtx @@ -1,13 +1,13 @@ -% \CheckSum{137} +% \CheckSum{138} % \iffalse %% Copyright (C) 2002 Matej Cepl -%% $Id: manuscript.dtx,v 1.4 2002/05/23 16:34:41 matej Exp $ +%% $Id: manuscript.dtx,v 1.6 2005/09/02 12:08:35 matej Exp $ %% This program may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt -%% and version 1.2 or later is part of all distributions of LaTeX +%% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. % % \CharacterTable @@ -33,7 +33,7 @@ %<*!package> \ProvidesFile {manuscript.dtx} % - [2003/06/17 1.5 emulate typesetting of typewriter] + [2015/01/19 1.7 emulate typesetting of typewriter] %<*driver> \documentclass{ltxdoc} \EnableCrossrefs @@ -60,6 +60,7 @@ % matsrv dot mat dot cas dot cz) I have managed to get % \cs{fileversion} working, so I have get rid off rcs.sty again.} % \changes{1.5}{2003 June 26}{Something happened to all |fi|.} +% \changes{1.7}{2015 Januar 19}{New upload to CTAN and fix \TeX{} logo} % \GetFileInfo{manuscript.dtx} % \title{\bfseries \texttt{Manuscript}---A Package Emulating % Typewriter ``Typesetting''} @@ -68,54 +69,56 @@ % version \fileversion, from \filedate} % \maketitle % \MakeShortVerb{\|} -% -% \changes{1.5}{2003 June 26}{Whole this section was -% substantially rewritten---coming from defensive to the +% +% \changes{1.5}{2003 June 26}{Whole this section was +% substantially rewritten---coming from defensive to the % offensive |:-)|.} % \section{Purpose} % Purpose of this package is to emulate appearance of the % document written on classical typewriter as much as possible. -% So far, whenever backward requirement of some institutions -% (especially universities) to provide paper or thesis in the -% layout developed in times before personal computers emerges on -% any TeX-related public forum, it is met with strong (and -% sometimes even angry) resistance and many advises how to -% overcome resistance of the institution. I totally agree with -% the basic premise of this attempt (of course, \TeX\ was created -% for making ``masterpieces of typography''). +% So far, whenever backward requirement of some institutions +% (especially universities) to provide paper or thesis in the +% layout developed in times before personal computers emerges on +% any \TeX{}-related public forum, it is met with strong (and +% sometimes even angry) resistance and many advise how to +% overcome resistance of the institution. I totally agree with +% the basic premise of this attempt (of course, \TeX\ was created +% for making ``masterpieces of typography'' not to emulate +% typewriters). % -% Having said that, this package goes exactly in the opposite -% direction than these advises. Instead of trying to avoid -% typewriter-driven layout, it tries to emulate them as much as -% possible. Of course, the most important motivation for such +% \changes{1.6}{2011 January 27}{Some typos corrected.} +% Having said that, this package goes exactly in the opposite +% direction than these people advise. Instead of trying to avoid +% typewriter-driven layout, it tries to emulate it as much as +% possible. Of course, the most important motivation for such % package is challenge and curiosity how far I can get -% using just \TeX\ tools in this endeavor. However, there are -% also some real reasons why this package might be useful. First -% of all there are situations when the directives of backward -% layout are non-negotiable (e.\,g.,~in commercial setting or -% with too stiff university). Moreover, my conciliatory character -% leads me more to honor other cultures (and although very -% short-lived and feeble, there \emph{was} a typographical -% culture of typewriters) rather then rejecting them. Actually, -% during work on this package my appreciation of strict -% puritanical simplicity of typewriters typesetting just grew -% (and of course, it is obvious that in some aspects typesetting -% documents with this package would create documents of the -% quality never possible with the real typewriter---just \TeX{}'s -% optimal line breaking with few divided words makes a lot of +% using just \TeX\ tools in this endeavor. However, there are +% also some real reasons why this package might be useful. First +% of all there are situations when the directives of backward +% layout are non-negotiable (e.\,g.,~in commercial setting or +% with too stiff university). Moreover, my conciliatory character +% leads me more to honor other cultures (and although very +% short-lived and feeble, there \emph{was} a typographical +% culture of typewriters) rather then rejecting them. Actually, +% during work on this package my appreciation of strict +% puritanical simplicity of typewriters just grew +% (and of course, it is obvious that in some aspects typesetting +% documents with this package would create documents of the +% quality never possible with a real typewriter---just \TeX{}'s +% optimal line breaking with few divided words makes a lot of % difference). % -% If you like it, enjoy! If not, sorry, just use another +% If you like it, enjoy! If not, sorry, just use another % package. % % Another objective was to secure compatibility both with % classical |article|-like packages as well as with packages from % |Koma-script| family. -% +% % \StopEventually{\PrintIndex\PrintChanges} -% +% % \section{The Coding} -% +% % \begin{macro}{MS@ps} % The first of all we need to create new condition |MS@ps| to % control package options---whether font Courier should be used @@ -126,7 +129,7 @@ \newif\ifMS@ps % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\DeclareOption} % \begin{macro}{\ExecuteOptions} % \begin{macro}{\ProcessOptions} @@ -155,9 +158,9 @@ \RequirePackage[NewCommands]{ragged2e} \RequirePackage{soul} % \end{macrocode} -% +% % \begin{macro}{\rmdefault} -% \changes{1.5}{2003 June 26}{With CM-Super we need not \cs{ae} +% \changes{1.5}{2003 June 26}{With CM-Super we need not \cs{ae} % package anymore.} % We need to set up the default font for Roman characters based % on the boolean variable |MS@ps|. @@ -169,7 +172,7 @@ \fi % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\descfont} % \begin{macro}{\sectfont} % \changes{1.4}{2002 May 25}{Courier is better, so that this hack @@ -190,20 +193,20 @@ % \begin{macro}{``} % \begin{macro}{'} % This is the most obscure part of the package.\footnote{I have -% recieved substantial help with the deep TeX work from -% Ond\v{r}ej ``Koala'' V\'acha. Thank you.} There are no problems -% with |Courier| font, but |cmtt| does not have some characters -% needed for normal writing---especially quotes. We have to -% change catcode of , and ` characters and redefine couples of -% these characters to be printed in |cmss| font in the Old +% recieved substantial help with the deep \TeX\ work from +% Ond\v{r}ej ``Koala'' V\'acha. Thank you.} There are no problems +% with |Courier| font, but |cmtt| does not have some characters +% needed for normal writing---especially quotes. We have to +% change catcode of , and ` characters and redefine couples of +% these characters to be printed in |cmss| font in the Old % Knuth's coding OT1. -% +% % Moreover, and it was the bug in the previous version, we have % to distinguish between single quote and double quote, where % each of them should be printed as different character. Now, it % is getting to be really messy |:-)|. -% -% \changes{1.5}{2003 June 26}{CM-Super fonts work even without +% +% \changes{1.5}{2003 June 26}{CM-Super fonts work even without % this kludge.} % \changes{1.4}{2002 May 22}{There is really no need to use % \cs{gdef}, when \cs{def} is sufficient.} @@ -230,7 +233,7 @@ % \end{macro} % \end{macro} % \end{macro} -% +% % \begin{macro}{\sfdefault} % \begin{macro}{\ttdefault} % Of course, in typewritter there are no different fonts for @@ -266,16 +269,18 @@ % Italic characters are not enough distinctive in |cmtt| font, so % we shall redefine macro |\emph| to be same as in the % typewritter age---underlining characters. -% \changes{1.5}{2003 June 26}{It is handy redefine |em| as -% well---thanks to Petr Ol\v{s}\'ak for this. Also redefine +% \changes{1.5}{2003 June 26}{It is handy redefine |em| as +% well---thanks to Petr Ol\v{s}\'ak for this. Also redefine % bold to small caps.} % \begin{macrocode} \renewcommand{\textbf}[1]{\textsc{#1}} \def\bfseries{\scshape} -\setul{0.3ex}{0.15ex} -\renewcommand{\emph}[1]{\ul{#1}} -\def\em{\egroup \expandafter \ul \expandafter{\iffalse}\fi} +\AtBeginDocument{% + \setul{0.3ex}{0.15ex} + \renewcommand{\emph}[1]{\ul{#1}} + \def\em{\egroup \expandafter \ul \expandafter{\iffalse}\fi} +} % \end{macrocode} % \end{macro} % \end{macro} @@ -297,18 +302,18 @@ \spaceskip .333333 em plus .333333 em minus .111111 em } % \end{macrocode} % \end{macro} -% +% % \begin{macro}{\thefootnote} % \begin{macro}{\@makefnmark} % \begin{macro}{\@makefntext} -% If the idea of the whole package is to emulate typewriter -% style, then we have to do something about footnotes. There is -% obviously nothing like superscripted footnote mark on -% typewriters. Moreover, I have also changed indentation of the +% If the idea of the whole package is to emulate typewriter +% style, then we have to do something about footnotes. There is +% obviously nothing like superscripted footnote mark on +% typewriters. Moreover, I have also changed indentation of the % body of footnote. % -% \changes{1.5}{2003 June 26}{Whole redefinition of footnotes +% \changes{1.5}{2003 June 26}{Whole redefinition of footnotes % added.} % \begin{macrocode} \def\thefootnote{\@arabic\c@footnote/} @@ -321,9 +326,9 @@ % \end{macro} % \end{macro} % \end{macro} -% +% % \begin{macro}{\@maketitle} -% \changes{1.5}{2003 June 26}{When \cs{titlepage} option is on, +% \changes{1.5}{2003 June 26}{When \cs{titlepage} option is on, % we need not singlespacing.} % The standard titlehead of the document is really ugly when % doublespaced. Therefore we should redefine |\@maketitle| macro. @@ -348,7 +353,7 @@ \fi % \end{macrocode} % \end{macro} -% +% % That's all folks! |:-)| % \Finale %\iffalse -- cgit v1.2.3