diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-16 21:46:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-16 21:46:19 +0000 |
commit | f8d159fa556763f431ce7d024cb4dc92df50de41 (patch) | |
tree | 3bffddf67d393a56218531073e7164fdf221b8be /Master | |
parent | e35a9c1ae4684cc27f787bdb25f71e5dc270552b (diff) |
phfquotetext (16aug16)
git-svn-id: svn://tug.org/texlive/trunk@41869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/phfquotetext/Makefile | 10 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/phfquotetext/README.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/phfquotetext/phfquotetext.pdf | bin | 0 -> 198076 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/phfquotetext/pkg.mk | 167 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/phfquotetext/phfquotetext.dtx | 363 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/phfquotetext/phfquotetext.ins | 55 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty | 66 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/phfquotetext.tlpsrc | 0 |
10 files changed, 678 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/phfquotetext/Makefile b/Master/texmf-dist/doc/latex/phfquotetext/Makefile new file mode 100644 index 00000000000..b275614d667 --- /dev/null +++ b/Master/texmf-dist/doc/latex/phfquotetext/Makefile @@ -0,0 +1,10 @@ + +PKG = phfquotetext + +-include pkg.mk + +pkg.mk: + ln -sf ../mkcommon/pkg.mk pkg.mk + +install: install_sty install_doc + diff --git a/Master/texmf-dist/doc/latex/phfquotetext/README.md b/Master/texmf-dist/doc/latex/phfquotetext/README.md new file mode 100644 index 00000000000..a5c10e18112 --- /dev/null +++ b/Master/texmf-dist/doc/latex/phfquotetext/README.md @@ -0,0 +1,15 @@ +# The phfquotetext package + +Quote verbatim text without white space formatting. + +Provides an environment for displaying block text with special characters, such +as verbatim quotes from a referee report which may contain pseudo-(La)TeX code. +This behaves like a `verbatim` environment, except that it displays its content +as normal paragraph content, ignoring any white space preformatting. + + +# Documentation + +Run 'make sty' to generate the style file and 'make pdf' to generate the package +documentation. Run 'make' or 'make help' for more info. + diff --git a/Master/texmf-dist/doc/latex/phfquotetext/phfquotetext.pdf b/Master/texmf-dist/doc/latex/phfquotetext/phfquotetext.pdf Binary files differnew file mode 100644 index 00000000000..bcaa732f451 --- /dev/null +++ b/Master/texmf-dist/doc/latex/phfquotetext/phfquotetext.pdf diff --git a/Master/texmf-dist/doc/latex/phfquotetext/pkg.mk b/Master/texmf-dist/doc/latex/phfquotetext/pkg.mk new file mode 100644 index 00000000000..3cc121ce5ec --- /dev/null +++ b/Master/texmf-dist/doc/latex/phfquotetext/pkg.mk @@ -0,0 +1,167 @@ + +# +# Common useful definitions +# +LATEX = latex + +PDFLATEX = TEXINPUTS="$$TEXINPUTS:../phfnote" pdflatex +PDFLATEXOPTS = -interaction=batchmode +PDFLATEXOPTSLAST = -interaction=batchmode --synctex=1 + +MAKEINDEX = makeindex + + +# +# Set default PREFIX. This can be overridden with 'make install PREFIX=/installation/directory' +# +DEFAULT_PREFIX := $(shell kpsewhich -var-value TEXMFHOME) +PREFIX ?= $(DEFAULT_PREFIX) + + +# +# package should be set in variable PKG +# +PKGREADME = README.md + +# +# packages may specify additional files in the distribution with this variable +# (by default empty) +# +DIST_ADDITIONAL_FILES ?= + + +PKGDTX = $(PKG).dtx +PKGINS = $(PKG).ins +PKGSTY = $(PKG).sty +PKGPDF = $(PKG).pdf +PKGTDSZIP = $(PKG).tds.zip +PKGZIP = $(PKG).zip + + + +.PHONY: help sty pdf install install_sty install_doc tdszip dist clean cleanall cleansty cleanaux cleanpdf cleantdszip cleandist + + +help: + @echo "Targets for $(PKG):" + @echo "make sty -- generate LaTeX package file $(PKG).sty" + @echo "make pdf -- generate pdf documentation" + @echo "make install -- install style and documentation files to TEXMF tree" + @echo "make install PREFIX=[specify texmf directory]" + @echo "make $(PKG).tds.zip -- create TDS.ZIP to include in CTAN upload" + @echo "make dist -- create distribution ZIP, ready for upload to CTAN" + @echo "make clean -- remove LaTeX auxiliary files" + @echo "make cleansty -- remove generated style file" + @echo "make cleanpdf -- remove generated pdf documentation" + @echo "make cleanall -- remove all generated files, incl. distribution zip" + + +clean: cleanaux + +cleanall: cleansty cleanaux cleanpdf cleantdszip cleandist + +# ------------------------------------------------ +# make sty +# ------------------------------------------------ + +sty: $(PKGSTY) + +$(PKGSTY): $(PKGINS) $(PKGDTX) + $(LATEX) $< + +cleansty: + @rm -f $(PKGSTY) + +# ------------------------------------------------ +# make pdf +# ------------------------------------------------ + +pdf: $(PKG).pdf + +# +# fake index & glossary so they get a TOC entry from the beginning, and so the page +# numbers in the index are correct. +# +$(PKG).aux $(PKG).idx $(PKG).glo: $(PKGDTX) $(PKGSTY) + DTX=$< ; echo '\\begin{theindex}\\item index here \\end{theindex}' >$${DTX%.dtx}.ind + DTX=$< ; echo '\\begin{theglossary}\\item changes here\\end{theglossary}' >$${DTX%.dtx}.gls + $(PDFLATEX) $(PDFLATEXOPTS) $< + $(PDFLATEX) $(PDFLATEXOPTS) $< + $(PDFLATEX) $(PDFLATEXOPTS) $< + +$(PKG).ind: $(PKG).idx + $(MAKEINDEX) -s gind.ist -o $@ $< + +$(PKG).gls: $(PKG).glo + $(MAKEINDEX) -s gglo.ist -o $@ $< + +# final steps of making the PKG.pdf doc file. At the end, touch the ind and gls files so +# that they don't look out-of-date (because the idx and glo files were overwritten again) +$(PKGPDF): $(PKGDTX) $(PKG).aux $(PKG).ind $(PKG).gls + $(PDFLATEX) $(PDFLATEXOPTS) $< + $(PDFLATEX) $(PDFLATEXOPTS) $< + $(PDFLATEX) $(PDFLATEXOPTSLAST) $< + touch $(PKG).ind $(PKG).gls $(PKG).pdf + + +cleanaux: + @rm -f *.aux *.log *.toc *.glo *.gls *.ind *.idx *.ilg *.out *.bbl *.blg *.synctex.gz *.hd + +cleanpdf: + @rm -f $(PKGPDF) + +# ------------------------------------------------ +# 'make install' partial installation targets +# ------------------------------------------------ + +# +# The install target itself is defined per-package, in case packages want to install more +# files (such as bibtex styles) +# + +install_sty: $(PKGSTY) + mkdir -p $(DESTDIR)$(PREFIX)/tex/latex/$(PKG) + cp $(PKGSTY) $(DESTDIR)$(PREFIX)/tex/latex/$(PKG) + +install_doc: $(PKGPDF) + mkdir -p $(DESTDIR)$(PREFIX)/doc/latex/$(PKG) + cp $(PKGPDF) $(PKGREADME) $(DESTDIR)$(PREFIX)/doc/latex/$(PKG) + + + +# ------------------------------------------------ +# make tdszip +# ------------------------------------------------ + +TDSTMPDIR = $(CURDIR)/_install_tds_zip.make.tmp + +tdszip: $(PKGTDSZIP) + +$(PKGTDSZIP): $(PKGSTY) $(PKGPDF) + mkdir $(TDSTMPDIR) + $(MAKE) install PREFIX=$(TDSTMPDIR) + cd $(TDSTMPDIR) && zip -r $(CURDIR)/$(PKGTDSZIP) * + rm -rf $(TDSTMPDIR) + +cleantdszip: + @rm -f $(PKGTDSZIP) + + +# ------------------------------------------------ +# make dist +# ------------------------------------------------ + +DISTTMPDIR = $(CURDIR)/_install_dist_zip.make.tmp + +dist: $(PKGZIP) + +$(PKGZIP): $(PKGTDSZIP) + rm -rf $(DISTTMPDIR) + mkdir -p $(DISTTMPDIR)/$(PKG) + cp $(PKGTDSZIP) $(DISTTMPDIR) + cp $(PKGDTX) $(PKGINS) $(PKGPDF) $(PKGREADME) Makefile pkg.mk $(DIST_ADDITIONAL_FILES) $(DISTTMPDIR)/$(PKG) + cd $(DISTTMPDIR) && zip -r $(CURDIR)/$(PKGZIP) $(PKGTDSZIP) $(PKG) + rm -rf $(DISTTMPDIR) + +cleandist: + @rm -f $(PKGZIP) diff --git a/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.dtx b/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.dtx new file mode 100644 index 00000000000..fda41bdd5a2 --- /dev/null +++ b/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.dtx @@ -0,0 +1,363 @@ +% \iffalse meta-comment +% +% Copyright (C) 2016 by Philippe Faist <philippe.faist@bluewin.ch> +% ------------------------------------------------------- +% +% This file may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% 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.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{phfquotetext.dtx} +%</driver> +%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01] +%<package>\ProvidesPackage{phfquotetext} +%<*package> + [2016/08/15 v1.0 phfquotetext package] +%</package> +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{xcolor} +\usepackage{phfquotetext} +\usepackage[preset=xpkgdoc]{phfnote} +\usepackage[normalem]{ulem} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{phfquotetext.dtx} +\end{document} +%</driver> +% \fi +% +% \CheckSum{0} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \changes{v1.0}{2016/04/20}{Initial version} +% +% \GetFileInfo{phfquotetext.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment,\def,\gdef,\edef,\xdef,\if,\else,\fi,\ifx} +% +% \title{\phfqitltxPkgTitle{phfquotetext}} +% \author{Philippe Faist\quad\email{philippe.faist@bluewin.ch}} +% \date{\pkgfmtdate\filedate} +% \maketitle +% +% \begin{abstract} +% \pkgname{phfquotetext}---Provides an environment for displaying +% block text with special characters, such as verbatim quotes from a +% referee report. +% \end{abstract} +% +% \inlinetoc +% +% \section{Introduction} +% +% This package provides a quoting environment useful to quote, e.g., email text. It is +% somewhat like a verbatim environment (for instance, there is no macro expansion), but +% with also no white space formatting. +% +% For instance, you might find this useful for formatting replies to a +% referee, because any pseudo-\LaTeX{} commands are reproduced +% verbatim, but the bulk is still nicely formatted: +% +% \begin{verbatim} +% \begin{quotetext} +% This is some text which was provided in plain text, for example, +% by the referee. The object \calE should probably be defined with +% a factor 1/2 to help the \sum_k \ket{k} states not overwhelm rho +% by this and that by more than 50%.... +% \end{quotetext} +% \end{verbatim} +% +% \verbdef\tmpA|\quotetextfont| +% \verbdef\tmpB|\sffamily\color{blue}| +% The above code gives the following output:\footnote{ +% Here, we've assumed the \tmpA{} was redefined as +% \tmpB{}. Because it does look nicer. See +% \autoref{sec:customize-appearance}.} +% +% \renewcommand\quotetextfont{\sffamily\color{blue}} +% \begin{quotetext} This is some text which was provided in plain text, for example, by a referee. The object \calE should probably be defined with a factor 1/2 to help the \sum_k \ket{k} states not overwhelm rho by this and that by more than 50%.... \end{quotetext} +% +% +% +% +% +% \section{Usage} +% +% \subsection{The main environment} +% +% The main environment is simply |\begin{quotetext} ... \end{quotetext}|. +% +% \DescribeEnv{quotetext} +% Delimit your email quote within this environment: +% +% \begin{verbatim} +% \begin{quotetext} +% Stuff which you want to display verbatim, but with automatic white +% space formatting and text re-flow. \commands will not be +% expanded, and will be displayed verbatim. Percent signs also work +% 100%. +% \end{quotetext} +% \end{verbatim} +% +% The |{quotetext}| environment does not start a paragraph on its own, nor does it end it. +% You can thus in principle use this environment to quote text inline within a paragraph +% if you want to, unless you're enforcing new paragraphs in |\quotetextstart| and +% |\quotetextend|. +% +% +% \subsection{Customize appearance} +% \label{sec:customize-appearance} +% +% \DescribeMacro{\quotetextfont} This macro contains the formatting commands to set up the +% quote font. By default, the contents is displayed in typewriter font. You may redefine +% this command to achieve your favorite style: +% \begin{verbatim} +% \renewcommand\quotetextfont{\sffamily\color{blue}} +% \end{verbatim} +% +% This macro may also be defined to accept one argument, which is the whole contents of +% the quoted text. Make sure you define this with |\renewcommand| or |\long\def|, because +% the argument may contain several paragraphs. +% +% \DescribeMacro{\quotetextstart} +% This command gets called at the beginning of the quote environment. It may be used +% e.g.\@ to add space, a horizontal rule, or add other formatting goodies. By default, it +% is empty. +% +% \DescribeMacro{\quotetextend} +% This command gets called at the end of the quote environment. It may be used e.g.\@ to +% add space, a horizontal rule, or add other formatting goodies. By default, it is empty. +% +% +% The macros |\quotetextfont|, as well as |\quotetextstart| and +% |\quotetextend| are called within a \TeX{} group, so you don't need +% to worry that font overrides leak outside of the |quotetext| +% environment. +% +% +% You may try, for instance, the following to get started with customization: +% \begin{verbatim} +% \renewcommand\quotetextstart{% +% \par\noindent{\color{blue}\hrule height 0.8pt}\vspace{2pt}\vspace{-\parskip}} +% \renewcommand\quotetextend{% +% {\color{blue}\vspace{2pt}\hrule height 0.8pt\vspace{2pt}}} +% % \sout{} requires \usepackage[normalem]{ulem}: +% \renewcommand\quotetextfont[1]{\color{orange}\itshape\sout{\ignorespaces #1}} +% \end{verbatim} +% which gives: +% \renewcommand\quotetextstart{% +% \par\noindent{\color{blue}\hrule height 0.8pt}\vspace{2pt}\vspace{-\parskip}} +% \renewcommand\quotetextend{% +% {\color{blue}\vspace{2pt}\hrule height 0.8pt\vspace{2pt}}} +% \renewcommand\quotetextfont[1]{\color{orange}\itshape\sout{\ignorespaces #1}} +% \begin{quotetext} Stuff which you want to display verbatim, but with automatic white space formatting and text re-flow. \commands will not be expanded, and will be displayed verbatim. Percent signs also work 100%. \end{quotetext} +% +% +% \subsection{Customize Catcodes---Advanced Usage} +% +% \DescribeMacro{\quotetextcatcodedefs} +% You may redefine this command to set catcodes before parsing the bulk of the +% |{quotetext}| environment. This macro is called after \TeX's specials are already +% assigned catcode |12| (other). By default, this macro is empty. +% +% \section{Known Caveats} +% +% \begin{itemize} +% \item The leading space in the environment content is not trimmed +% from the argument passed on to |\quotetextfont|. This just means +% that if |\quotetextfont| is defined to accept an argument, it must +% not forget to precede it with |\ignorespaces| as appropriate (as +% in the example above in \autoref{sec:customize-appearance}). +% I'm not sure how to remove trailing whitespace. +% \item By default, the |{quotetext}| environment does not start a new paragraph nor end +% the paragraph, unless you enforce this explicitly in |\quotetextstart| and +% |\quotetextend|. This is purposely left as a feature to be aware of. +% \end{itemize} +% +% +% +% +% \StopEventually{\PrintChanges\PrintIndex} +% +% \section{Implementation} +% +% \subsection{Main Macros and Environment} +% +% \begin{macro}{\quotetextcatcodedefs} +% Allows to set custom catcodes for parsing of quotetext contents. +% +% By default, all char catcodes are set as "other" characters, but you may +% redefine this macro to define you own catcodes. +% +% This macro is empty by default. +% \begin{macrocode} +\newcommand\quotetextcatcodedefs{} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\quotetextstart} +% \begin{macro}{\quotetextend} +% Definitions which are called at the beginning or end of every +% quote environment. They are empty by default. +% \begin{macrocode} +\newcommand\quotetextstart{} +\newcommand\quotetextend{} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\quotetextfont} +% Set up the font and display for the quote text environment. +% +% This command may also be defined to take one single argument, which will be +% the whole contents of the quotetext environment. +% \begin{macrocode} +\newcommand\quotetextfont{\ttfamily} +% \end{macrocode} +% \end{macro} +% +% +% \begin{environment}{quotetext} +% The main environment. Starts group and relays the call to |\phfquotetext@warg| to +% start reading the contents of the environment. +% +% Start the environment definition. +% \begin{macrocode} +\newenvironment{quotetext}{% +% \end{macrocode} +% \iffalse meta-comment %} -- for emacs' paren matching +% \fi +% +% Do anything we should do before the |quotetext| environment. +% \begin{macrocode} + \quotetextstart% +% \end{macrocode} +% +% Make sure to enclose the full quote text stuff into its own group to make definitions +% such as catcode overrides local. +% \begin{macrocode} + \begingroup% +% \end{macrocode} +% +% Finally, relay the call to |\phfquotetext@warg| to read the whole contents of the +% environment, and finish the environment definition. +% \begin{macrocode} + \phfquotetext@warg% +} +% \end{macrocode} +% +% Finally, in the closing part of the environment, do anything which +% needs to be done at the end. +% \begin{macrocode} +{% + \quotetextend% +} +% \end{macrocode} +% \end{environment} +% +% +% +% \subsection{Internal Stuff} +% +% \begin{macro}{\phfquotetext@warg@} +% Reads an argument delimited by ....|\end{quotetext}|, ends the current \TeX{} group +% assumed open (in order to change the catcodes), and calls the start/show/end commands. +% +% We need deep catcode dark magic to just even define this command. +% \begin{macrocode} +\begingroup + \catcode`|=0 + \catcode`\<=1 + \catcode`\>=2 + \catcode`\{=12 + \catcode`\}=12 + \catcode`\\=12 + |long|gdef|phfquotetext@warg@#1\end{quotetext}<|endgroup + |phfquotetext@show<#1>> +|endgroup +% \end{macrocode} +% \end{macro} +% +% +% \begin{macro}{\phfquotetext@show} +% Shows the content given as argument with the proper formatting. Includes an actual +% call to |\end{quotetext}| to make \LaTeX's bookcounting mechanism for |\begin|/|\end| +% happy, and which finally also calls |\quotetextend|. +% \begin{macrocode} +\newtoks\qtt@mytoks +\long\def\phfquotetext@show#1{% + \qtt@mytoks={#1}% + \begingroup% +% \end{macrocode} +% Crucially, |\the\toks| only expands once and prohibits further +% expansion. This way, we may pass the argument directly to +% |\quotetextfont|, with tokens expanded exactly as they were given: +% \begin{macrocode} + \expandafter\quotetextfont\expandafter{\the\qtt@mytoks}% + \endgroup% + \end{quotetext}% +} +% \end{macrocode} +% \end{macro} +% +% +% \begin{macro}{\phfquotetext@warg} +% Prepares to read the contents of the environment. A new \TeX{} group has already been +% opened by |\begin{quotetext}|. +% \begin{macrocode} +\def\phfquotetext@warg{% + % +% \end{macrocode} +% Set the catcode of all special chars to ``other'' (12). We use |\dospecials| provided +% by \LaTeX{} itself.\footnote{see \url{http://tex.stackexchange.com/a/12890/32188}} We +% leave the space token to the ``space'' catcode, so that white space is properly managed +% by LaTeX. Finally, include any user catcode overrides in |\quotetextcatcodedefs|. +% \begin{macrocode} + \let\do\@makeother% + \dospecials% + \catcode`\ =10\relax% keep space + \quotetextcatcodedefs% +% \end{macrocode} +% +% Finally, relay the call to |\phfquotetext@warg@| to read the contents of the group and +% close the \TeX{} group. +% +% \begin{macrocode} + \phfquotetext@warg@% +} +% \end{macrocode} +% \end{macro} +% +% +%\Finale +\endinput diff --git a/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.ins b/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.ins new file mode 100644 index 00000000000..2144e9d30a1 --- /dev/null +++ b/Master/texmf-dist/source/latex/phfquotetext/phfquotetext.ins @@ -0,0 +1,55 @@ +%% +%% Copyright (C) 2016 by Philippe Faist <philippe.faist@bluewin.ch> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later. +%% + +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/phfqitltx} + +\preamble + +This is a generated file. + +Copyright (C) 2016 by Philippe Faist <philippe.faist@bluewin.ch> + +This file may be distributed and/or modified under the conditions of +the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version +2005/12/01 or later. + +\endpreamble + +\generate{\file{phfquotetext.sty}{\from{phfquotetext.dtx}{package}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* phfquotetext.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the .dtx file through *} +\Msg{* (PdF-)LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty b/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty new file mode 100644 index 00000000000..fc99c5253f3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/phfquotetext/phfquotetext.sty @@ -0,0 +1,66 @@ +%% +%% This is file `phfquotetext.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% phfquotetext.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2016 by Philippe Faist <philippe.faist@bluewin.ch> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version +%% 2005/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[2005/12/01] +\ProvidesPackage{phfquotetext} + [2016/08/15 v1.0 phfquotetext package] +\newcommand\quotetextcatcodedefs{} +\newcommand\quotetextstart{} +\newcommand\quotetextend{} +\newcommand\quotetextfont{\ttfamily} +\newenvironment{quotetext}{% + \quotetextstart% + \begingroup% + \phfquotetext@warg% +} +{% + \quotetextend% +} +\begingroup + \catcode`|=0 + \catcode`\<=1 + \catcode`\>=2 + \catcode`\{=12 + \catcode`\}=12 + \catcode`\\=12 + |long|gdef|phfquotetext@warg@#1\end{quotetext}<|endgroup + |phfquotetext@show<#1>> +|endgroup +\newtoks\qtt@mytoks +\long\def\phfquotetext@show#1{% + \qtt@mytoks={#1}% + \begingroup% + \expandafter\quotetextfont\expandafter{\the\qtt@mytoks}% + \endgroup% + \end{quotetext}% +} +\def\phfquotetext@warg{% + % + \let\do\@makeother% + \dospecials% + \catcode`\ =10\relax% keep space + \quotetextcatcodedefs% + \phfquotetext@warg@% +} +\endinput +%% +%% End of file `phfquotetext.sty'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 8b4442992b8..6c371fedc09 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -450,7 +450,7 @@ my @TLP_working = qw( pgf pgf-blur pgf-soroban pgf-spectra pgf-umlcd pgf-umlsd pgfgantt pgfkeyx pgfmolbio pgfopts pgfornament pgfplots - phaistos phffullpagefigure phfnote phfparen phfqit + phaistos phffullpagefigure phfnote phfparen phfqit phfquotetext philex philokalia philosophersimprint phonetic phonrule photo physics piano picinpar pict2e pictex pictex2 pictexsum piechartmp piff pigpen diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 4833f323add..21112698e48 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -772,6 +772,7 @@ depend phffullpagefigure depend phfnote depend phfparen depend phfqit +depend phfquotetext depend philex depend photo depend piff diff --git a/Master/tlpkg/tlpsrc/phfquotetext.tlpsrc b/Master/tlpkg/tlpsrc/phfquotetext.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/phfquotetext.tlpsrc |