blob: e7a8a73aa9651fc2b969dec68fa4c50152d8d8f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
\let\FAQverbFamily\ttfamily
\DeclareRobustCommand{\FAQverb}[2]{{%
\ifvmode\leavevmode\fi
\lefthyphenmin=256\setlanguage\language
\FAQverbFamily\hyphenchar\the\font`#1\relax
\def\@tempa{#2}%
\expandafter\@faq@strip\meaning\@tempa\@faq@strip
\hyphenchar\the\font\m@ne
}\setlanguage\language}
\def\@faq@strip#1->#2\@faq@strip{#2}
%
% Document markup:
%
\makeatother % because @ is a delimiter here, it had better have the
% same catcode as it will when the macro's invoked
\def\Email|#1@#2|{\FAQverb\-{#1@}\penalty10\FAQverb\.{#2}} % email
\makeatletter
\def\FTP|#1|{\FAQverb\.{#1}} % FTP site
\def\File|#1|{\FAQverb\/{#1}} % file name
%\def\CTAN{\FAQverb\/} % CTAN path
\def\Newsgroup|#1|{\FAQverb\.{#1}} % newsgroup
%\def\URL|#1://#2/#3|{\FAQverb\.{#1://#2/}\penalty10\FAQverb\/{#3}}
%\def\path|#1|{\FAQverb\/{#1}} % generic path
\def\tubissue#1#2{\TUB~#1, no.~#2}
|