| 1 |
%\iffalse |
| 2 |
% quotmark.dtx generated using makedtx version 0.94b (c) Nicola Talbot |
| 3 |
% Command line args: |
| 4 |
% -src "(.+)\.(sty)\Z=>\1.\2" |
| 5 |
% -src "(.+)\.(def)\Z=>\1.\2" |
| 6 |
% -doc "quotmark-manual.tex" |
| 7 |
% -author "Nicola Talbot" |
| 8 |
% -dir "source" |
| 9 |
% quotmark |
| 10 |
% Created on 2007/12/19 14:42 |
| 11 |
%\fi |
| 12 |
%\iffalse |
| 13 |
%<*package> |
| 14 |
%% \CharacterTable |
| 15 |
%% {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 |
| 16 |
%% 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 |
| 17 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 18 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 19 |
%% Dollar \$ Percent \% Ampersand \& |
| 20 |
%% Acute accent \' Left paren \( Right paren \) |
| 21 |
%% Asterisk \* Plus \+ Comma \, |
| 22 |
%% Minus \- Point \. Solidus \/ |
| 23 |
%% Colon \: Semicolon \; Less than \< |
| 24 |
%% Equals \= Greater than \> Question mark \? |
| 25 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 26 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 27 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 28 |
%% Right brace \} Tilde \~} |
| 29 |
%</package> |
| 30 |
%\fi |
| 31 |
% \iffalse |
| 32 |
% Doc-Source file to use with LaTeX2e |
| 33 |
% Copyright (C) 2007 Nicola Talbot, all rights reserved. |
| 34 |
% \fi |
| 35 |
% \iffalse |
| 36 |
%<*driver> |
| 37 |
\documentclass{ltxdoc} |
| 38 |
|
| 39 |
\usepackage[french,german,spanish,english]{babel} |
| 40 |
\usepackage{quotmark} |
| 41 |
\usepackage[colorlinks, |
| 42 |
bookmarks, |
| 43 |
bookmarksopen, |
| 44 |
hyperindex=false, |
| 45 |
pdfauthor={Nicola L.C. Talbot}, |
| 46 |
pdftitle={quotmark.sty}, |
| 47 |
pdfkeywords={LaTeX,counter}]{hyperref} |
| 48 |
|
| 49 |
\renewcommand{\usage}[1]{\textit{\hyperpage{#1}}} |
| 50 |
\renewcommand{\main}[1]{\hyperpage{#1}} |
| 51 |
\newcommand{\see}[2]{\emph{see} #1} |
| 52 |
\makeatletter |
| 53 |
\def\index@prologue{\section*{Index}} |
| 54 |
\makeatother |
| 55 |
\PageIndex |
| 56 |
\newsavebox\dfnbox |
| 57 |
\newlength\dfnboxwidth |
| 58 |
\newenvironment{definition}{\begin{lrbox}{\dfnbox}% |
| 59 |
\setlength{\dfnboxwidth}{\linewidth}% |
| 60 |
\addtolength{\dfnboxwidth}{-2\fboxsep}% |
| 61 |
\addtolength{\dfnboxwidth}{-2\fboxrule}% |
| 62 |
\begin{minipage}{\dfnboxwidth}\flushleft |
| 63 |
}{\end{minipage}\end{lrbox}\par\vskip10pt plus 1pt minus 1pt\noindent\fbox{\usebox{\dfnbox}}% |
| 64 |
\par\vskip10pt plus 1pt minus 1pt\noindent\ignorespacesafterend} |
| 65 |
\newcommand{\env}[1]{\textsf{#1}} |
| 66 |
\newcommand{\pkgopt}[1]{\texttt{#1}\index{package option>#1|main}} |
| 67 |
|
| 68 |
|
| 69 |
\newcommand{\sty}[1]{\textsf{#1}} |
| 70 |
\begin{document} |
| 71 |
\DocInput{quotmark.dtx} |
| 72 |
\end{document} |
| 73 |
%</driver> |
| 74 |
%\fi |
| 75 |
%\CheckSum{927} |
| 76 |
% |
| 77 |
% \title{quotmark.sty v1.0: quotation marks} |
| 78 |
% \author{Nicola L.C. Talbot\\\url{http://theoval.cmp.uea.ac.uk/~nlct/}} |
| 79 |
% \date{10 December 2007} |
| 80 |
% \maketitle |
| 81 |
% |
| 82 |
% \tableofcontents |
| 83 |
% \section{Introduction} |
| 84 |
% |
| 85 |
%The purpose of this package is to provide consistent quotation |
| 86 |
%marks throughout your document. The style can be changed either |
| 87 |
%via package options, or through the use of commands, so if, say, |
| 88 |
%you have used single inverted commas throughout your document, |
| 89 |
%and then your publisher tells you that you must use double |
| 90 |
%inverted commas, this can be achieved by editing a single line, |
| 91 |
%rather than trying to work out how to get your editor's search |
| 92 |
%and replace function to work on closing quotes without changing |
| 93 |
%apostrophes or acute accents. |
| 94 |
% |
| 95 |
%There is also an added advantage in that using the text-block |
| 96 |
%command or the environment provided by this package will |
| 97 |
%ensure that failing to close a quotation will result in an error. |
| 98 |
%Paragraph breaks within a quotation are dealt with |
| 99 |
%automatically.\footnote{in English and Spanish only, I don't know |
| 100 |
%the correct rules for other languages.} |
| 101 |
% |
| 102 |
%\DescribeMacro{\tqt} |
| 103 |
%\begin{definition} |
| 104 |
%\cs{tqt}\marg{text} |
| 105 |
%\end{definition} |
| 106 |
%\DescribeEnv{qt} |
| 107 |
%\begin{definition} |
| 108 |
%|\begin{qt}|\meta{text}|\end{qt}| |
| 109 |
%\end{definition} |
| 110 |
%These place \meta{text} within the quotation marks for the given |
| 111 |
%level. Both \cs{tqt} and \env{qt} may be nested as many times as |
| 112 |
%required. Note that \emph{both} \cs{tqt} and \env{qt} place |
| 113 |
%\meta{text} in a group. By default, double inverted commas (`` |
| 114 |
%and '') are used for the first level and single inverted commas (` |
| 115 |
%and ') are used for the second level. Any further nesting will |
| 116 |
%cycle through the available punctuation marks. The following |
| 117 |
%examples show the source code on the left and the typeset output |
| 118 |
%on the right: |
| 119 |
% |
| 120 |
%\newlength\orgparindent |
| 121 |
%\setlength{\orgparindent}{\parindent} |
| 122 |
%\begin{itemize} |
| 123 |
%\item A simple quote: |
| 124 |
% |
| 125 |
%\begin{minipage}{0.4\linewidth} |
| 126 |
%\begin{verbatim} |
| 127 |
%\tqt{Some quoted text.} |
| 128 |
%\end{verbatim} |
| 129 |
%\end{minipage}\hfill |
| 130 |
%\begin{minipage}{0.4\linewidth} |
| 131 |
%\tqt{Some quoted text.} |
| 132 |
%\end{minipage} |
| 133 |
% |
| 134 |
%\item The same as the above, but using the \env{qt} environment: |
| 135 |
% |
| 136 |
%\begin{minipage}{0.4\linewidth} |
| 137 |
%\begin{verbatim} |
| 138 |
%\begin{qt}Some quoted text.\end{qt} |
| 139 |
%\end{verbatim} |
| 140 |
%\end{minipage}\hfill |
| 141 |
%\begin{minipage}{0.4\linewidth} |
| 142 |
%\begin{qt}Some quoted text.\end{qt} |
| 143 |
%\end{minipage} |
| 144 |
% |
| 145 |
%\item Some nested quotes: |
| 146 |
% |
| 147 |
%\begin{minipage}{0.4\linewidth} |
| 148 |
%\begin{verbatim} |
| 149 |
%\tqt{Did she say \tqt{I am here}?} |
| 150 |
%he asked. |
| 151 |
% |
| 152 |
%\tqt{She said \tqt{where am I?}\,} |
| 153 |
%he replied. |
| 154 |
%\end{verbatim} |
| 155 |
%\end{minipage}\hfill |
| 156 |
%\begin{minipage}{0.4\linewidth}\setlength{\parindent}{\orgparindent}% |
| 157 |
%\tqt{Did she say \tqt{I am here}?} he asked. |
| 158 |
% |
| 159 |
%\tqt{She said \tqt{where am I?}\,} he replied. |
| 160 |
%\end{minipage} |
| 161 |
% |
| 162 |
%\item Third level nested quote: |
| 163 |
% |
| 164 |
%\begin{minipage}{0.4\linewidth} |
| 165 |
%\begin{verbatim} |
| 166 |
%\tqt{He said to me \tqt{I am |
| 167 |
%Harry \tqt{Mad} Hatter},} I said. |
| 168 |
%\end{verbatim} |
| 169 |
%\end{minipage}\hfill |
| 170 |
%\begin{minipage}{0.4\linewidth}\setlength{\parindent}{\orgparindent}% |
| 171 |
%\tqt{He said to me \tqt{I am Harry \tqt{Mad} Hatter},} I said. |
| 172 |
%\end{minipage} |
| 173 |
% |
| 174 |
%\item Paragraphs within the quotes are dealt with automatically: |
| 175 |
% |
| 176 |
%\begin{minipage}{0.4\linewidth} |
| 177 |
%\begin{verbatim} |
| 178 |
%\begin{qt}Dear Sir/Madam, |
| 179 |
% |
| 180 |
%I am writing to inform you that |
| 181 |
%I would like you to quote this |
| 182 |
%letter in your so-called \tqt{funny} |
| 183 |
%article, which I don't find |
| 184 |
%the least bit amusing. |
| 185 |
% |
| 186 |
%Yours etc\end{qt} |
| 187 |
%\end{verbatim} |
| 188 |
%\end{minipage}\hfill |
| 189 |
%\begin{minipage}{0.4\linewidth}\setlength{\parindent}{\orgparindent}% |
| 190 |
%\begin{qt}Dear Sir/Madam, |
| 191 |
% |
| 192 |
%I am writing to inform you that I would like you to quote this |
| 193 |
%letter in your so-called \tqt{funny} article, which I don't find |
| 194 |
%the least bit amusing. |
| 195 |
% |
| 196 |
%Yours etc\end{qt} |
| 197 |
%\end{minipage} |
| 198 |
%\end{itemize} |
| 199 |
% |
| 200 |
%\section{Changing the default style} |
| 201 |
% |
| 202 |
%The punctuation used by \cs{tqt} and \env{qt} may be changed either |
| 203 |
%via the \sty{quotmark} package options (see below) or using |
| 204 |
%\DescribeMacro{\setquotemarks} |
| 205 |
%\begin{definition} |
| 206 |
%\cs{setquotemarks}\marg{list} |
| 207 |
%\end{definition} |
| 208 |
%where \meta{list} is a comma-separated list of opening and closing |
| 209 |
%pairs. For example, to change the style to use single inverted |
| 210 |
%commas for the first level and double inverted commas for the |
| 211 |
%second level, do: |
| 212 |
%\begin{verbatim} |
| 213 |
%\setquotemarks{{`}{'},{``}{''}} |
| 214 |
%\end{verbatim} |
| 215 |
%Note that each item in the list must be specified as a pair. If |
| 216 |
%you are influenced by James~Joyce, and want to specify a quotation |
| 217 |
%using an em-dash at the start of the quote, but nothing at the end, |
| 218 |
%you need to specify an empty argument for the closing quote: |
| 219 |
%\begin{verbatim} |
| 220 |
%\setquotemarks{{---}{}} |
| 221 |
%\end{verbatim} |
| 222 |
%however, be aware that failing to signify the end of a quote may |
| 223 |
%confuse readers. |
| 224 |
% |
| 225 |
%Note that you are not restricted to one or two levels, the |
| 226 |
%following example uses guillemets for the first level, double |
| 227 |
%inverted commas for the second level and single inverted commas |
| 228 |
%for the third level: |
| 229 |
%\begin{verbatim} |
| 230 |
%\setquotemarks{{\guillemotleft}{\guillemotright},{``}{''},{`}{'}} |
| 231 |
%\end{verbatim} |
| 232 |
% |
| 233 |
%In English, when a paragraph break occurs within a quote, the end |
| 234 |
%of the first paragraph has no closing quote, and the start of the |
| 235 |
%next paragraph has an opening quote. This can be changed using |
| 236 |
%\DescribeMacro{\setparquotemarks} |
| 237 |
%\begin{definition} |
| 238 |
%\cs{setparquotemarks}\marg{before}\marg{after} |
| 239 |
%\end{definition} |
| 240 |
%where \meta{end} indicates what to use before the paragraph break |
| 241 |
%and \meta{after} indicates what to use after the paragraph break. |
| 242 |
%Both \cs{tqt} and \env{qt} set \DescribeMacro{\currentleftquote}\cs{currentleftquote} |
| 243 |
%and \DescribeMacro{\currentrightquote}\cs{currentrightquote} to |
| 244 |
%the opening and closing quotes for the current level. These |
| 245 |
%commands may then be used in the arguments to |
| 246 |
%\cs{setparquotemarks}. For example, in Spanish nothing occurs |
| 247 |
%before the paragraph break and the closing quote is used after the |
| 248 |
%paragraph break. This can be specified as follows: |
| 249 |
%\begin{verbatim} |
| 250 |
%\setparquotemarks{}{\currentrightquote} |
| 251 |
%\end{verbatim} |
| 252 |
% |
| 253 |
%\subsection{Multi-lingual support} |
| 254 |
% |
| 255 |
%The punctuation used may be changed using the |
| 256 |
%package options listed in \autoref{tab:options}. Note that if |
| 257 |
%you load \sty{babel} before \sty{quotmark}, the relevant option |
| 258 |
%will be used automatically, except the \texttt{swiss} option which |
| 259 |
%needs to be set explicitly. In addition, the \texttt{ngerman} |
| 260 |
%option will be set automatically if the \sty{ngerman} package is |
| 261 |
%loaded before the \sty{quotmark} package. |
| 262 |
% |
| 263 |
%Each language option used creates a command of the form |
| 264 |
%\DescribeMacro{\quotemarks...}\cs{quotemarks}\meta{language} |
| 265 |
%which sets the quote marks using \cs{setquotemarks} and |
| 266 |
%\cs{setparquotemarks} described above. If \sty{babel} is loaded |
| 267 |
%before loading \sty{quotmark}, \cs{quotemarks}\meta{language} |
| 268 |
%will be added to the babel captions for that language. So if |
| 269 |
%you want to change the punctuation for a given language, you |
| 270 |
%will need to redefine \cs{quotemarks}\meta{language}. |
| 271 |
%If you load \sty{babel} after \sty{quotmark}, then the punctuation |
| 272 |
%will not change when you change language, and you will need |
| 273 |
%to specify the language as an option to \sty{quotmark}. |
| 274 |
% |
| 275 |
%(Note that I only know the paragraph rules for English and |
| 276 |
%Spanish, all other languages set the before and after paragraph |
| 277 |
%break punctuation to nothing. If this is not correct, let me |
| 278 |
%know, and I'll fix it in the next version.) |
| 279 |
% |
| 280 |
%Assuming packages have been loaded as follows: |
| 281 |
%\begin{verbatim} |
| 282 |
%\usepackage[french,german,spanish,english]{babel} |
| 283 |
%\usepackage{quotmark} |
| 284 |
%\end{verbatim} |
| 285 |
%the following examples illustrate the effects of changing |
| 286 |
%language: |
| 287 |
%\begin{itemize} |
| 288 |
%\item English: |
| 289 |
% |
| 290 |
%\begin{minipage}{0.45\linewidth} |
| 291 |
%\begin{verbatim} |
| 292 |
%\tqt{Did she say \tqt{I am here}?} |
| 293 |
%he asked. |
| 294 |
%\end{verbatim} |
| 295 |
%\end{minipage}\hfill |
| 296 |
%\begin{minipage}{0.45\linewidth} |
| 297 |
%\tqt{Did she say \tqt{I am here}?} he asked. |
| 298 |
%\end{minipage} |
| 299 |
% |
| 300 |
%\item French: |
| 301 |
% |
| 302 |
%\begin{minipage}{0.45\linewidth} |
| 303 |
%\begin{verbatim} |
| 304 |
%\selectlanguage{french} |
| 305 |
%\tqt{Elle disent que \tqt{je suis |
| 306 |
%ici}?} il a demand\'e. |
| 307 |
%\end{verbatim} |
| 308 |
%\end{minipage}\hfill |
| 309 |
%\begin{minipage}{0.45\linewidth} |
| 310 |
%\selectlanguage{french} |
| 311 |
%\tqt{Elle disent que \tqt{je suis ici}?} il a demand\'e. |
| 312 |
%\end{minipage} |
| 313 |
% |
| 314 |
%\item German: |
| 315 |
% |
| 316 |
%\begin{minipage}{0.45\linewidth} |
| 317 |
%\begin{verbatim} |
| 318 |
%\selectlanguage{german} |
| 319 |
%\tqt{Sie sagt, da{\ss} \tqt{ich bin |
| 320 |
%hier}?} er bat. |
| 321 |
%\end{verbatim} |
| 322 |
%\end{minipage}\hfill |
| 323 |
%\begin{minipage}{0.45\linewidth} |
| 324 |
%\selectlanguage{german} |
| 325 |
%\tqt{Sie sagt, da{\ss} \tqt{ich bin hier}?} er bat. |
| 326 |
%\end{minipage} |
| 327 |
% |
| 328 |
%\item Spanish: |
| 329 |
% |
| 330 |
%\begin{minipage}{0.45\linewidth} |
| 331 |
%\begin{verbatim} |
| 332 |
%\selectlanguage{spanish} |
| 333 |
%\tqt{?`Ella dice que \tqt{estoy |
| 334 |
%aqu\'i}?} \'el pidi\'o. |
| 335 |
%\end{verbatim} |
| 336 |
%\end{minipage}\hfill |
| 337 |
%\begin{minipage}{0.45\linewidth} |
| 338 |
%\selectlanguage{spanish} |
| 339 |
%\tqt{?`Ella dice que \tqt{estoy aqu\'i}?} \'el pidi\'o. |
| 340 |
%\end{minipage} |
| 341 |
% |
| 342 |
%\end{itemize} |
| 343 |
% |
| 344 |
%\begin{table}[htbp] |
| 345 |
%\caption{Package Options}\label{tab:options} |
| 346 |
%\begin{center} |
| 347 |
%\begin{tabular}{llll} |
| 348 |
%\bfseries Option & \bfseries Punctuation & |
| 349 |
%\bfseries Option & \bfseries Punctuation\\ |
| 350 |
%\pkgopt{acadian} & \flqq\nobreak\hspace{0.25em}1st\nobreak\hspace{0.25em}\frqq & |
| 351 |
%\pkgopt{afrikaans} &\glqq1st\erqq\ \glq2nd\erq\\ |
| 352 |
%\pkgopt{american} &\elqq1st\erqq\ \elq2nd\erq& |
| 353 |
%\pkgopt{austrian} &\glqq1st\grqq\ \glq2nd\grq\\ |
| 354 |
%\pkgopt{brazil} &\elqq1st\erqq\ \elq2nd\erq& |
| 355 |
%\pkgopt{brazilian} &\elqq1st\erqq\ \elq2nd\erq\\ |
| 356 |
%\pkgopt{british} &\elq1st\erq\ \elqq2nd\erqq& |
| 357 |
%\pkgopt{bulgarian} &\glqq1st\grqq\\ |
| 358 |
%\pkgopt{canadian} &\elqq1st\erqq\ \elq2nd\erq& |
| 359 |
%\pkgopt{canadien} & \flqq\nobreak\hspace{0.25em}1st\nobreak\hspace{0.25em}\frqq \\ |
| 360 |
%\pkgopt{catalan} & \flqq1st\frqq\ \elqq2nd\erqq& |
| 361 |
%\pkgopt{croatian} & \glqq1st\grqq\ \elq2nd\erq\\ |
| 362 |
%\pkgopt{czech} &\glqq1st\grqq\ \glq2nd\grq& |
| 363 |
%\pkgopt{danish} &\frqq1st\flqq\ \frq2nd\flq\\ |
| 364 |
%\pkgopt{dutch} &\glqq1st\erqq\ \glq2nd\erq& |
| 365 |
%\pkgopt{english} &\elqq1st\erqq\ \elq2nd\erq\\ |
| 366 |
%\pkgopt{estonian} & \glqq1st\grqq& |
| 367 |
%\pkgopt{finnish} &\erqq1st\erqq\ \erq2nd\erq\\ |
| 368 |
%\pkgopt{francais} &\flqq\nobreak\hspace{0.25em}1st\nobreak\hspace{0.25em}\frqq & |
| 369 |
%\pkgopt{french} &\flqq\nobreak\hspace{0.25em}1st\nobreak\hspace{0.25em}\frqq \\ |
| 370 |
%\pkgopt{frenchb} &\flqq\nobreak\hspace{0.25em}1st\nobreak\hspace{0.25em}\frqq & |
| 371 |
%\pkgopt{german} &\glqq1st\grqq\ \glq2nd\grq\\ |
| 372 |
%\pkgopt{germanb} &\glqq1st\grqq\ \glq2nd\grq& |
| 373 |
%\pkgopt{greek} &\flqq\nobreak\hspace{1pt}1st\nobreak\hspace{1pt}\frqq\\ |
| 374 |
%\pkgopt{polutonikogreek} &\flqq\nobreak\hspace{1pt}1st\nobreak\hspace{1pt}\frqq& |
| 375 |
%\pkgopt{hebrew}&\elqq1st\erqq\\ |
| 376 |
%\pkgopt{hungarian}&\glqq1st\grqq\ \frqq2nd\flqq& |
| 377 |
%\pkgopt{icelandic}&\glqq1st\grqq\ \glq2nd\grq\\ |
| 378 |
%\pkgopt{irish}&\elqq\nobreak\hspace{1pt plus 1pt}1st\nobreak\hspace{1pt plus 1pt}\erqq\ |
| 379 |
%\elq\nobreak\hspace{1pt plus 1pt}2nd\nobreak\hspace{1pt plus 1pt}\erq& |
| 380 |
%\pkgopt{italian}&\flqq\nobreak\hspace{1pt plus 1pt}1st\nobreak\hspace{1pt plus 1pt}\frqq\\ |
| 381 |
%\pkgopt{lowersorbian}&\glqq1st\grqq\ \glq2nd\grq& |
| 382 |
%\pkgopt{magyar}&\glqq1st\grqq\ \frqq2nd\flqq\\ |
| 383 |
%\pkgopt{naustrian}&\glqq1st\grqq\ \glq2nd\grq& |
| 384 |
%\pkgopt{ngerman}&\glqq1st\grqq\ \glq2nd\grq\\ |
| 385 |
%\pkgopt{norsk}&\flqq1st\frqq\ \flq2nd\frq& |
| 386 |
%\pkgopt{nynorsk}&\flqq1st\frqq\ \flq2nd\frq\\ |
| 387 |
%\pkgopt{polish}&\glqq1st\grqq\ \glq2nd\grq& |
| 388 |
%\pkgopt{portuges}&\flqq1st\frqq\ \elqq2nd\erqq\\ |
| 389 |
%\pkgopt{portuguese}&\flqq1st\frqq\ \elqq2nd\erqq& |
| 390 |
%\pkgopt{romanian}&\glqq1st\grqq\ \flqq2nd\frqq\\ |
| 391 |
%\pkgopt{russian}&\flqq1st\frqq\ \glqq2nd\grqq& |
| 392 |
%\pkgopt{scottish}&\elq1st\erq\ \elqq2nd\erqq\\ |
| 393 |
%\pkgopt{serbian}&\glqq1st\grqq\ \glq2nd\grq& |
| 394 |
%\pkgopt{slovak}&\glqq1st\grqq\ \glq2nd\grq\\ |
| 395 |
%\pkgopt{slovene}&\glqq1st\grqq\ \glq2nd\grq& |
| 396 |
%\pkgopt{spanish}&\flqq1st\frqq\ \elqq2nd\erqq\\ |
| 397 |
%\pkgopt{swedish}&\erqq1st\erqq\ \erq2nd\erq& |
| 398 |
%\pkgopt{swiss}&\flqq1st\frqq\ \flq2nd\frq\\ |
| 399 |
%\pkgopt{turkish}&\glqq\nobreak\hspace{0pt plus 1pt}1st\nobreak\hspace{0pt plus 1pt}\grqq\ |
| 400 |
%\glq\nobreak\hspace{0pt plus 1pt}2nd\nobreak\hspace{0pt plus 1pt}\grq& |
| 401 |
%\pkgopt{ukraineb}&\glqq1st\grqq\\ |
| 402 |
%\pkgopt{uppersorbian}&\glqq1st\grqq\ \glq2nd\grq& |
| 403 |
%\pkgopt{welsh}&\elq\nobreak\hspace{1pt plus 1pt}1st\nobreak\hspace{1pt plus 1pt}\erq\ |
| 404 |
%\elqq\nobreak\hspace{1pt plus 1pt}2nd\nobreak\hspace{1pt plus 1pt}\erqq\\ |
| 405 |
%\pkgopt{UKenglish}&\elq1st\erq\ \elqq2nd\erqq& |
| 406 |
%\pkgopt{USenglish}&\elqq1st\erqq\ \elq2nd\erq |
| 407 |
%\end{tabular} |
| 408 |
%\end{center} |
| 409 |
%\end{table} |
| 410 |
% |
| 411 |
%\StopEventually{\phantomsection\addcontentsline{toc}{section}{Index}\PrintIndex} |
| 412 |
% |
| 413 |
% |
| 414 |
% |
| 415 |
%\section{The Code} |
| 416 |
%\iffalse |
| 417 |
% \begin{macrocode} |
| 418 |
%<*quotmark.sty> |
| 419 |
% \end{macrocode} |
| 420 |
%\fi |
| 421 |
% Identify package. |
| 422 |
% \begin{macrocode} |
| 423 |
\NeedsTeXFormat{LaTeX2e}[1994/12/01] |
| 424 |
\ProvidesPackage{quotmark}[2007/12/10 v1.0] |
| 425 |
% \end{macrocode} |
| 426 |
% |
| 427 |
%\subsection{Specifying quote marks} |
| 428 |
%\begin{macro}{\qt@marklist} |
| 429 |
% Define a control sequence that contains a list of opening and |
| 430 |
% closing pairs. The default specifies double inverted commas |
| 431 |
% as the primary quote and single inverted commas as the secondary |
| 432 |
% quote. |
| 433 |
% \begin{macrocode} |
| 434 |
\newcommand*{\qt@marklist}{{\elqq}{\erqq},{\elq}{\erq}} |
| 435 |
% \end{macrocode} |
| 436 |
%\end{macro} |
| 437 |
%\begin{macro}{\qt@mark@list} |
| 438 |
%\cs{qt@mark@list} is used to iterate through \cs{qt@marklist}. |
| 439 |
% \begin{macrocode} |
| 440 |
\newcommand*{\qt@mark@list}{} |
| 441 |
% \end{macrocode} |
| 442 |
%\end{macro} |
| 443 |
%\begin{macro}{\currentleftquote} |
| 444 |
% This macro keeps track of the left quote for the current level. |
| 445 |
% \begin{macrocode} |
| 446 |
\newcommand*{\currentleftquote}{\relax} |
| 447 |
% \end{macrocode} |
| 448 |
%\end{macro} |
| 449 |
%\begin{macro}{\currentrightquote} |
| 450 |
% This macro keeps track of the right quote for the current level. |
| 451 |
% \begin{macrocode} |
| 452 |
\newcommand*{\currentrightquote}{\relax} |
| 453 |
% \end{macrocode} |
| 454 |
%\end{macro} |
| 455 |
%\begin{macro}{\qt@endpar} |
| 456 |
% If a paragraph break occurs within a quote, \cs{qt@endpar} specifies |
| 457 |
% what should go at the end of the paragraph. In English, this |
| 458 |
% should be nothing. I don't know how other languages deal with |
| 459 |
% paragraph breaks within a quote. |
| 460 |
% \begin{macrocode} |
| 461 |
\newcommand*{\qt@endpar}{} |
| 462 |
% \end{macrocode} |
| 463 |
%\end{macro} |
| 464 |
%\begin{macro}{qt@startpar} |
| 465 |
% If a paragraph break occurs within a quote, \cs{qt@startpar} |
| 466 |
% specifies what should go at the start of the next paragraph. In |
| 467 |
% English, this is the opening quote. |
| 468 |
% \begin{macrocode} |
| 469 |
\newcommand*{\qt@startpar}{\currentleftquote} |
| 470 |
% \end{macrocode} |
| 471 |
%\end{macro} |
| 472 |
% |
| 473 |
%\begin{macro}{\setquotemarks} |
| 474 |
%\cs{setquotemarks}\marg{list} sets the quote mark lists, e.g.\ |
| 475 |
% \verb|\setquotemarks{{`}{'},{``}{''}}| will set the first level |
| 476 |
% to single inverted commas, and the second level to double |
| 477 |
% inverted commas. Note that using this command will reset the |
| 478 |
% level. |
| 479 |
% \begin{macrocode} |
| 480 |
\newcommand*{\setquotemarks}[1]{\renewcommand*{\qt@marklist}{#1}% |
| 481 |
\renewcommand*{\qt@mark@list}{}} |
| 482 |
% \end{macrocode} |
| 483 |
%\end{macro} |
| 484 |
% |
| 485 |
%\begin{macro}{\setparquotemarks} |
| 486 |
% Sets \cs{qt@endpar} and \cs{qt@startpar}: |
| 487 |
% \begin{macrocode} |
| 488 |
\newcommand*{\setparquotemarks}[2]{% |
| 489 |
\renewcommand*{\qt@endpar}{#1}% |
| 490 |
\renewcommand*{\qt@startpar}{#2}} |
| 491 |
% \end{macrocode} |
| 492 |
%\end{macro} |
| 493 |
% |
| 494 |
%\subsection{Multi-lingual Support} |
| 495 |
%\begin{macro}{\quotemarks@load@lang} |
| 496 |
% Loads language definition files |
| 497 |
% \begin{macrocode} |
| 498 |
\newcommand*{\quotemarks@load@lang}[1]{% |
| 499 |
\IfFileExists{quotmark-#1.def}{% |
| 500 |
\@ifundefined{quotemarks#1}{\input{quotmark-#1.def}}{}% |
| 501 |
}{\PackageError{quotmark}{Language `#1' not implemented}{% |
| 502 |
File `quotmark-#1.def' does not exist.}}% |
| 503 |
} |
| 504 |
% \end{macrocode} |
| 505 |
%\end{macro} |
| 506 |
%\begin{macro}{\setlanguagequotemarks} |
| 507 |
%\cs{setlanguagequotemarks}\marg{language}\marg{list} |
| 508 |
% If babel is loaded, add the quotes in the caption settings, otherwise |
| 509 |
% just set the quote marks. |
| 510 |
% \begin{macrocode} |
| 511 |
\@ifpackageloaded{babel}{% |
| 512 |
% \end{macrocode} |
| 513 |
% Babel package has been loaded. |
| 514 |
% \begin{macrocode} |
| 515 |
\newcommand*{\setlanguagequotemarks}[1]{% |
| 516 |
\edef\qt@setlangquotemarks{\noexpand\addto |
| 517 |
\expandafter\noexpand\csname captions#1\endcsname |
| 518 |
{\expandafter\noexpand\csname quotemarks#1\endcsname}}% |
| 519 |
\qt@setlangquotemarks |
| 520 |
} |
| 521 |
}{% |
| 522 |
% \end{macrocode} |
| 523 |
% Babel package hasn't been loaded. |
| 524 |
% \begin{macrocode} |
| 525 |
\newcommand*{\setlanguagequotemarks}[1]{\csname quotemarks#1\endcsname} |
| 526 |
} |
| 527 |
% \end{macrocode} |
| 528 |
%\end{macro} |
| 529 |
% If ngerman package has been loaded, set German punctuation: |
| 530 |
% \begin{macrocode} |
| 531 |
\@ifpackageloaded{ngerman}{% |
| 532 |
\quotemarks@load@lang{ngermanb}}{} |
| 533 |
% \end{macrocode} |
| 534 |
% |
| 535 |
%\subsection{Package options} |
| 536 |
% The following two options are provided for the benefit of |
| 537 |
% LaTeX2HTML, and are ignored by \LaTeX. |
| 538 |
% \begin{macrocode} |
| 539 |
\DeclareOption{nonconformance}{} |
| 540 |
\DeclareOption{conformance}{} |
| 541 |
% \end{macrocode} |
| 542 |
% If a language option isn't present, it |
| 543 |
% means I don't know what marks should be used for that language. |
| 544 |
% \begin{macrocode} |
| 545 |
\DeclareOption{acadian}{\quotemarks@load@lang{frenchb}} |
| 546 |
\DeclareOption{afrikaans}{\quotemarks@load@lang{afrikaans}} |
| 547 |
\DeclareOption{american}{\quotemarks@load@lang{USenglish}} |
| 548 |
\DeclareOption{austrian}{\quotemarks@load@lang{germanb}} |
| 549 |
\DeclareOption{brazil}{\quotemarks@load@lang{brazil}} |
| 550 |
\DeclareOption{brazilian}{\quotemarks@load@lang{brazil}} |
| 551 |
\DeclareOption{british}{\quotemarks@load@lang{UKenglish}} |
| 552 |
\DeclareOption{bulgarian}{\quotemarks@load@lang{bulgarian}} |
| 553 |
\DeclareOption{canadian}{\quotemarks@load@lang{USenglish}} |
| 554 |
\DeclareOption{canadien}{\quotemarks@load@lang{frenchb}} |
| 555 |
\DeclareOption{catalan}{\quotemarks@load@lang{catalan}} |
| 556 |
\DeclareOption{croatian}{\quotemarks@load@lang{croatian}} |
| 557 |
\DeclareOption{czech}{\quotemarks@load@lang{czech}} |
| 558 |
\DeclareOption{danish}{\quotemarks@load@lang{danish}} |
| 559 |
\DeclareOption{dutch}{\quotemarks@load@lang{dutch}} |
| 560 |
\DeclareOption{english}{\quotemarks@load@lang{USenglish}} |
| 561 |
\DeclareOption{estonian}{\quotemarks@load@lang{estonian}} |
| 562 |
\DeclareOption{finnish}{\quotemarks@load@lang{finnish}} |
| 563 |
\DeclareOption{francais}{\quotemarks@load@lang{frenchb}} |
| 564 |
\DeclareOption{french}{\quotemarks@load@lang{frenchb}} |
| 565 |
\DeclareOption{frenchb}{\quotemarks@load@lang{frenchb}} |
| 566 |
\DeclareOption{german}{\quotemarks@load@lang{germanb}} |
| 567 |
\DeclareOption{germanb}{\quotemarks@load@lang{germanb}} |
| 568 |
\DeclareOption{greek}{\quotemarks@load@lang{greek}} |
| 569 |
\DeclareOption{polutonikogreek}{\quotemarks@load@lang{greek}} |
| 570 |
\DeclareOption{hebrew}{\quotemarks@load@lang{hebrew}} |
| 571 |
\DeclareOption{hungarian}{\quotemarks@load@lang{magyar}} |
| 572 |
\DeclareOption{icelandic}{\quotemarks@load@lang{icelandic}} |
| 573 |
\DeclareOption{irish}{\quotemarks@load@lang{irish}} |
| 574 |
\DeclareOption{italian}{\quotemarks@load@lang{italian}} |
| 575 |
\DeclareOption{lowersorbian}{\quotemarks@load@lang{sorbian}} |
| 576 |
\DeclareOption{magyar}{\quotemarks@load@lang{magyar}} |
| 577 |
\DeclareOption{naustrian}{\quotemarks@load@lang{ngermanb}} |
| 578 |
\DeclareOption{ngerman}{\quotemarks@load@lang{ngermanb}} |
| 579 |
\DeclareOption{norsk}{\quotemarks@load@lang{norsk}} |
| 580 |
\DeclareOption{nynorsk}{\quotemarks@load@lang{norsk}} |
| 581 |
\DeclareOption{polish}{\quotemarks@load@lang{polish}} |
| 582 |
\DeclareOption{portuges}{\quotemarks@load@lang{portuges}} |
| 583 |
\DeclareOption{portuguese}{\quotemarks@load@lang{portuges}} |
| 584 |
\DeclareOption{romanian}{\quotemarks@load@lang{romanian}} |
| 585 |
\DeclareOption{russian}{\quotemarks@load@lang{russianb}} |
| 586 |
\DeclareOption{scottish}{\quotemarks@load@lang{UKenglish}} |
| 587 |
\DeclareOption{serbian}{\quotemarks@load@lang{serbian}} |
| 588 |
\DeclareOption{slovak}{\quotemarks@load@lang{slovak}} |
| 589 |
\DeclareOption{slovene}{\quotemarks@load@lang{slovene}} |
| 590 |
\DeclareOption{spanish}{\quotemarks@load@lang{spanish}} |
| 591 |
\DeclareOption{swedish}{\quotemarks@load@lang{swedish}} |
| 592 |
\DeclareOption{swiss}{\quotemarks@load@lang{swiss}} |
| 593 |
\DeclareOption{turkish}{\quotemarks@load@lang{turkish}} |
| 594 |
\DeclareOption{ukrainian}{\quotemarks@load@lang{ukraineb}} |
| 595 |
\DeclareOption{uppersorbian}{\quotemarks@load@lang{sorbian}} |
| 596 |
\DeclareOption{welsh}{\quotemarks@load@lang{welsh}} |
| 597 |
\DeclareOption{UKenglish}{\quotemarks@load@lang{UKenglish}} |
| 598 |
\DeclareOption{USenglish}{\quotemarks@load@lang{USenglish}} |
| 599 |
% \end{macrocode} |
| 600 |
% Load language files for known languages |
| 601 |
% \begin{macrocode} |
| 602 |
\def\qtmk@languages{} |
| 603 |
\@ifpackageloaded{babel}{% |
| 604 |
\@for\qtmk@lang:=acadian,afrikaans,american,australian,austrian,% |
| 605 |
bahasa,basque,brazil,brazilian,breton,british,bulgarian,canadian,% |
| 606 |
canadien,catalan,croatian,czech,danish,dutch,english,% |
| 607 |
estonian,finnish,francais,frenchb,french,galacian,german,germanb,% |
| 608 |
greek,polutonikogreek,hebrew,hungarian,icelandic,irish,italian,% |
| 609 |
lowersorbian,magyar,naustrian,ngerman,norsk,samin,% |
| 610 |
nynorsk,polish,portuges,portuguese,romanian,russian,scottish,% |
| 611 |
serbian,slovak,slovene,spanish,swedish,turkish,ukrainian,welsh,% |
| 612 |
UKenglish,USenglish\do{% |
| 613 |
\@ifundefined{captions\qtmk@lang}{}{% |
| 614 |
\ifx\qtmk@languages\@empty |
| 615 |
\edef\qtmk@languages{\qtmk@lang}% |
| 616 |
\else |
| 617 |
\expandafter\toks@\expandafter{\qtmk@languages}% |
| 618 |
\edef\qtmk@languages{\the\toks@,\qtmk@lang}% |
| 619 |
\fi |
| 620 |
}% |
| 621 |
}% |
| 622 |
\expandafter\ExecuteOptions\expandafter{\qtmk@languages} |
| 623 |
}{} |
| 624 |
% \end{macrocode} |
| 625 |
% Process options |
| 626 |
% \begin{macrocode} |
| 627 |
\ProcessOptions |
| 628 |
% \end{macrocode} |
| 629 |
% |
| 630 |
% |
| 631 |
%\subsection{Quotation Marks} |
| 632 |
%\begin{macro}{\elq} |
| 633 |
% Left single quote. |
| 634 |
% \begin{macrocode} |
| 635 |
\ProvideTextCommand{\elq}{OT1}{% |
| 636 |
\textormath{\textquoteleft}{\mbox{\textquoteleft}}} |
| 637 |
\ProvideTextCommand{\elq}{T1}{% |
| 638 |
\textormath{\textquoteleft}{\mbox{\textquoteleft}}} |
| 639 |
\ProvideTextCommandDefault{\elq}{\UseTextSymbol{OT1}\elq} |
| 640 |
% \end{macrocode} |
| 641 |
%\end{macro} |
| 642 |
%\begin{macro}{\erq} |
| 643 |
% Right single quote. |
| 644 |
% \begin{macrocode} |
| 645 |
\ProvideTextCommand{\erq}{OT1}{% |
| 646 |
\textormath{\textquoteright}{\mbox{\textquoteright}}} |
| 647 |
\ProvideTextCommand{\erq}{T1}{% |
| 648 |
\textormath{\textquoteright}{\mbox{\textquoteright}}} |
| 649 |
\ProvideTextCommandDefault{\erq}{\UseTextSymbol{OT1}\erq} |
| 650 |
% \end{macrocode} |
| 651 |
%\end{macro} |
| 652 |
%\begin{macro}{\elqq} |
| 653 |
% Left double quote. |
| 654 |
% \begin{macrocode} |
| 655 |
\ProvideTextCommand{\elqq}{OT1}{% |
| 656 |
\textormath{\textquotedblleft}{\mbox{\textquotedblleft}}} |
| 657 |
\ProvideTextCommand{\elqq}{T1}{% |
| 658 |
\textormath{\textquotedblleft}{\mbox{\textquotedblleft}}} |
| 659 |
\ProvideTextCommandDefault{\elqq}{\UseTextSymbol{OT1}\elqq} |
| 660 |
% \end{macrocode} |
| 661 |
%\end{macro} |
| 662 |
%\begin{macro}{\erqq} |
| 663 |
% Right double quote. |
| 664 |
% \begin{macrocode} |
| 665 |
\ProvideTextCommand{\erqq}{OT1}{% |
| 666 |
\textormath{\textquotedblright}{\mbox{\textquotedblright}}} |
| 667 |
\ProvideTextCommand{\erqq}{T1}{% |
| 668 |
\textormath{\textquotedblright}{\mbox{\textquotedblright}}} |
| 669 |
\ProvideTextCommandDefault{\erqq}{\UseTextSymbol{OT1}\erqq} |
| 670 |
% \end{macrocode} |
| 671 |
%\end{macro} |
| 672 |
% Define \cs{flqq}, \cs{frqq}, |
| 673 |
% \cs{flq}, \cs{frq}, \cs{glqq}, \cs{grqq}, |
| 674 |
% \cs{glq} and \cs{grq} if they don't exist. (This code is copied |
| 675 |
% from \texttt{babel.def}.) |
| 676 |
%\begin{macro}{\glq} |
| 677 |
% German left single quote. |
| 678 |
% \begin{macrocode} |
| 679 |
\ProvideTextCommand{\glq}{OT1}{% |
| 680 |
\textormath{\quotesinglbase}{\mbox{\quotesinglbase}}} |
| 681 |
\ProvideTextCommand{\glq}{T1}{% |
| 682 |
\textormath{\quotesinglbase}{\mbox{\quotesinglbase}}} |
| 683 |
\ProvideTextCommandDefault{\glq}{\UseTextSymbol{OT1}\glq} |
| 684 |
% \end{macrocode} |
| 685 |
%\end{macro} |
| 686 |
%\begin{macro}{\grq} |
| 687 |
% German right single quote. |
| 688 |
% \begin{macrocode} |
| 689 |
\ProvideTextCommand{\grq}{T1}{% |
| 690 |
\textormath{\textquoteleft}{\mbox{\textquoteleft}}} |
| 691 |
\ProvideTextCommand{\grq}{OT1}{% |
| 692 |
\save@sf@q{\kern-.0125em% |
| 693 |
\textormath{\textquoteleft}{\mbox{\textquoteleft}}% |
| 694 |
\kern.07em\relax}} |
| 695 |
\ProvideTextCommandDefault{\grq}{\UseTextSymbol{OT1}\grq} |
| 696 |
% \end{macrocode} |
| 697 |
%\end{macro} |
| 698 |
%\begin{macro}{\glqq} |
| 699 |
% German left double quote. |
| 700 |
% \begin{macrocode} |
| 701 |
\ProvideTextCommand{\glqq}{OT1}{% |
| 702 |
\textormath{\quotedblbase}{\mbox{\quotedblbase}}} |
| 703 |
\ProvideTextCommand{\glqq}{T1}{% |
| 704 |
\textormath{\quotedblbase}{\mbox{\quotedblbase}}} |
| 705 |
\ProvideTextCommandDefault{\glqq}{\UseTextSymbol{OT1}\glqq} |
| 706 |
% \end{macrocode} |
| 707 |
%\end{macro} |
| 708 |
%\begin{macro}{\grqq} |
| 709 |
% German right double quote. |
| 710 |
% \begin{macrocode} |
| 711 |
\ProvideTextCommand{\grqq}{T1}{% |
| 712 |
\textormath{\textquotedblleft}{\mbox{\textquotedblleft}}} |
| 713 |
\ProvideTextCommand{\grqq}{OT1}{% |
| 714 |
\save@sf@q{\kern-.07em% |
| 715 |
\textormath{\textquotedblleft}{\mbox{\textquotedblleft}}% |
| 716 |
\kern.07em\relax}} |
| 717 |
\ProvideTextCommandDefault{\grqq}{\UseTextSymbol{OT1}\grqq} |
| 718 |
% \end{macrocode} |
| 719 |
%\end{macro} |
| 720 |
%Guillemets: |
| 721 |
%\begin{macro}{\flqq} |
| 722 |
% French left double quote. |
| 723 |
% \begin{macrocode} |
| 724 |
\ProvideTextCommand{\flqq}{OT1}{% |
| 725 |
\textormath{\guillemotleft}{\mbox{\guillemotleft}}} |
| 726 |
\ProvideTextCommand{\flqq}{T1}{% |
| 727 |
\textormath{\guillemotleft}{\mbox{\guillemotleft}}} |
| 728 |
\ProvideTextCommandDefault{\flqq}{\UseTextSymbol{OT1}\flqq} |
| 729 |
% \end{macrocode} |
| 730 |
%\end{macro} |
| 731 |
%\begin{macro}{\frqq} |
| 732 |
% French right double quote. |
| 733 |
% \begin{macrocode} |
| 734 |
\ProvideTextCommand{\frqq}{OT1}{% |
| 735 |
\textormath{\guillemotright}{\mbox{\guillemotright}}} |
| 736 |
\ProvideTextCommand{\frqq}{T1}{% |
| 737 |
\textormath{\guillemotright}{\mbox{\guillemotright}}} |
| 738 |
\ProvideTextCommandDefault{\frqq}{\UseTextSymbol{OT1}\frqq} |
| 739 |
% \end{macrocode} |
| 740 |
%\end{macro} |
| 741 |
%\begin{macro}{\flq} |
| 742 |
% French left single quote. |
| 743 |
% \begin{macrocode} |
| 744 |
\ProvideTextCommand{\flq}{OT1}{% |
| 745 |
\textormath{\guilsinglleft}{\mbox{\guilsinglleft}}} |
| 746 |
\ProvideTextCommand{\flq}{T1}{% |
| 747 |
\textormath{\guilsinglleft}{\mbox{\guilsinglleft}}} |
| 748 |
\ProvideTextCommandDefault{\flq}{\UseTextSymbol{OT1}\flq} |
| 749 |
% \end{macrocode} |
| 750 |
%\end{macro} |
| 751 |
%\begin{macro}{\frq} |
| 752 |
% French right single quote. |
| 753 |
% \begin{macrocode} |
| 754 |
\ProvideTextCommand{\frq}{OT1}{% |
| 755 |
\textormath{\guilsinglright}{\mbox{\guilsinglright}}} |
| 756 |
\ProvideTextCommand{\frq}{T1}{% |
| 757 |
\textormath{\guilsinglright}{\mbox{\guilsinglright}}} |
| 758 |
\ProvideTextCommandDefault{\frq}{\UseTextSymbol{OT1}\frq} |
| 759 |
% \end{macrocode} |
| 760 |
%\end{macro} |
| 761 |
% |
| 762 |
%\begin{macro}{\textormath} |
| 763 |
% Provide \cs{textormath} if it is not already defined. |
| 764 |
% \begin{macrocode} |
| 765 |
\providecommand*{\textormath}[2]{\ifmmode#2\else#1\fi} |
| 766 |
% \end{macrocode} |
| 767 |
%\end{macro} |
| 768 |
% |
| 769 |
%\begin{macro}{\qt@getcurrentquotes} |
| 770 |
% Gets the left and right quotes for the current level |
| 771 |
% \begin{macrocode} |
| 772 |
\def\qt@getcurrentquotes{% |
| 773 |
\ifx\qt@mark@list\@empty |
| 774 |
\ifx\qt@marklist\@empty |
| 775 |
\def\qt@marklist{{}{}}% |
| 776 |
\fi |
| 777 |
\expandafter\toks@\expandafter{\qt@marklist}% |
| 778 |
\edef\qt@mark@list{\the\toks@,}% |
| 779 |
\fi |
| 780 |
\expandafter\qt@get@currentquotes\qt@mark@list\@nil |
| 781 |
} |
| 782 |
% \end{macrocode} |
| 783 |
%\end{macro} |
| 784 |
%\begin{macro}{\qt@get@currentquotes} |
| 785 |
% Strips the current quotes from \cs{qt@mark@list}. |
| 786 |
% \begin{macrocode} |
| 787 |
\def\qt@get@currentquotes#1#2,#3\@nil{% |
| 788 |
\def\currentleftquote{#1}% |
| 789 |
\def\currentrightquote{#2}% |
| 790 |
\def\qt@mark@list{#3}% |
| 791 |
} |
| 792 |
% \end{macrocode} |
| 793 |
%\end{macro} |
| 794 |
%\begin{macro}{\qt@beginquote} |
| 795 |
% Sets up the start of the quote |
| 796 |
% \begin{macrocode} |
| 797 |
\newcommand{\qt@beginquote}{% |
| 798 |
\bgroup |
| 799 |
\qt@getcurrentquotes |
| 800 |
\let\qt@par=\par |
| 801 |
\def\par{\qt@endpar\qt@par\qt@startpar}% |
| 802 |
\currentleftquote |
| 803 |
} |
| 804 |
% \end{macrocode} |
| 805 |
%\end{macro} |
| 806 |
%\begin{macro}{\qt@endquote} |
| 807 |
% Ends the current quote. |
| 808 |
% \begin{macrocode} |
| 809 |
\newcommand*{\qt@endquote}{% |
| 810 |
\qt@tmpcount=\spacefactor |
| 811 |
\currentrightquote |
| 812 |
\spacefactor=\qt@tmpcount |
| 813 |
\egroup |
| 814 |
} |
| 815 |
% \end{macrocode} |
| 816 |
%\end{macro} |
| 817 |
%\begin{macro}{\qt@tmpcount} |
| 818 |
% Define a temporary count register |
| 819 |
% \begin{macrocode} |
| 820 |
\newcount\qt@tmpcount |
| 821 |
% \end{macrocode} |
| 822 |
%\end{macro} |
| 823 |
%\begin{environment}{qt} |
| 824 |
% The environment form |
| 825 |
% \begin{macrocode} |
| 826 |
\newenvironment{qt}{\qt@beginquote}{\qt@endquote} |
| 827 |
% \end{macrocode} |
| 828 |
%\end{environment} |
| 829 |
%\begin{macro}{\tqt} |
| 830 |
% Text-block command. Note that the contents of the argument are |
| 831 |
% grouped. |
| 832 |
% \begin{macrocode} |
| 833 |
\newcommand{\tqt}[1]{\qt@beginquote#1\qt@endquote} |
| 834 |
% \end{macrocode} |
| 835 |
%\end{macro} |
| 836 |
%\subsection{Language definition files} |
| 837 |
%\iffalse |
| 838 |
% \begin{macrocode} |
| 839 |
%</quotmark.sty> |
| 840 |
% \end{macrocode} |
| 841 |
%\fi |
| 842 |
%\iffalse |
| 843 |
% \begin{macrocode} |
| 844 |
%<*quotmark-afrikaans.def> |
| 845 |
% \end{macrocode} |
| 846 |
%\fi |
| 847 |
% \begin{macrocode} |
| 848 |
\ProvidesFile{quotmark-afrikaans}[2007/12/11] |
| 849 |
% \end{macrocode} |
| 850 |
% Define quote marks. I don't know the correct settings for |
| 851 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 852 |
% am told otherwise. |
| 853 |
% \begin{macrocode} |
| 854 |
\@namedef{quotemarks\CurrentOption}{% |
| 855 |
\setquotemarks{{\glqq}{\erqq},{\glq}{\erq}}% |
| 856 |
\setparquotemarks{}{}} |
| 857 |
% \end{macrocode} |
| 858 |
% Add quote marks to captions. |
| 859 |
% \begin{macrocode} |
| 860 |
\setlanguagequotemarks{\CurrentOption} |
| 861 |
% \end{macrocode} |
| 862 |
%\iffalse |
| 863 |
% \begin{macrocode} |
| 864 |
%</quotmark-afrikaans.def> |
| 865 |
% \end{macrocode} |
| 866 |
%\fi |
| 867 |
%\iffalse |
| 868 |
% \begin{macrocode} |
| 869 |
%<*quotmark-brazil.def> |
| 870 |
% \end{macrocode} |
| 871 |
%\fi |
| 872 |
% \begin{macrocode} |
| 873 |
\ProvidesFile{quotmark-brazil}[2007/12/11] |
| 874 |
% \end{macrocode} |
| 875 |
% Define quote marks. I don't know the correct settings for |
| 876 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 877 |
% am told otherwise. |
| 878 |
% \begin{macrocode} |
| 879 |
\@namedef{quotemarks\CurrentOption}{% |
| 880 |
\setquotemarks{{\elqq}{\erqq},{\elq}{\erq}}% |
| 881 |
\setparquotemarks{}{}} |
| 882 |
% \end{macrocode} |
| 883 |
% Add quote marks to captions. |
| 884 |
% \begin{macrocode} |
| 885 |
\setlanguagequotemarks{\CurrentOption} |
| 886 |
% \end{macrocode} |
| 887 |
%\iffalse |
| 888 |
% \begin{macrocode} |
| 889 |
%</quotmark-brazil.def> |
| 890 |
% \end{macrocode} |
| 891 |
%\fi |
| 892 |
%\iffalse |
| 893 |
% \begin{macrocode} |
| 894 |
%<*quotmark-bulgarian.def> |
| 895 |
% \end{macrocode} |
| 896 |
%\fi |
| 897 |
% \begin{macrocode} |
| 898 |
\ProvidesFile{quotmark-bulgarian}[2007/12/11] |
| 899 |
% \end{macrocode} |
| 900 |
% Define quote marks. I don't know the correct settings for |
| 901 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 902 |
% am told otherwise. |
| 903 |
% \begin{macrocode} |
| 904 |
\@namedef{quotemarks\CurrentOption}{% |
| 905 |
\setquotemarks{{\glqq}{\grqq}}% |
| 906 |
\setparquotemarks{}{}} |
| 907 |
% \end{macrocode} |
| 908 |
% Add quote marks to captions. |
| 909 |
% \begin{macrocode} |
| 910 |
\setlanguagequotemarks{\CurrentOption} |
| 911 |
% \end{macrocode} |
| 912 |
%\iffalse |
| 913 |
% \begin{macrocode} |
| 914 |
%</quotmark-bulgarian.def> |
| 915 |
% \end{macrocode} |
| 916 |
%\fi |
| 917 |
%\iffalse |
| 918 |
% \begin{macrocode} |
| 919 |
%<*quotmark-catalan.def> |
| 920 |
% \end{macrocode} |
| 921 |
%\fi |
| 922 |
% \begin{macrocode} |
| 923 |
\ProvidesFile{quotmark-catalan}[2007/12/11] |
| 924 |
% \end{macrocode} |
| 925 |
% Define quote marks. I don't know the correct settings for |
| 926 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 927 |
% am told otherwise. |
| 928 |
% \begin{macrocode} |
| 929 |
\@namedef{quotemarks\CurrentOption}{% |
| 930 |
\setquotemarks{{\flqq}{\frqq},{\elqq}{\erqq}}% |
| 931 |
\setparquotemarks{}{}} |
| 932 |
% \end{macrocode} |
| 933 |
% Add quote marks to captions. |
| 934 |
% \begin{macrocode} |
| 935 |
\setlanguagequotemarks{\CurrentOption} |
| 936 |
% \end{macrocode} |
| 937 |
%\iffalse |
| 938 |
% \begin{macrocode} |
| 939 |
%</quotmark-catalan.def> |
| 940 |
% \end{macrocode} |
| 941 |
%\fi |
| 942 |
%\iffalse |
| 943 |
% \begin{macrocode} |
| 944 |
%<*quotmark-croatian.def> |
| 945 |
% \end{macrocode} |
| 946 |
%\fi |
| 947 |
% \begin{macrocode} |
| 948 |
\ProvidesFile{quotmark-croatian}[2007/12/11] |
| 949 |
% \end{macrocode} |
| 950 |
% Define quote marks. I don't know the correct settings for |
| 951 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 952 |
% am told otherwise. |
| 953 |
% \begin{macrocode} |
| 954 |
\@namedef{quotemarks\CurrentOption}{% |
| 955 |
\setquotemarks{{\glqq}{\grqq},{\elq}{\erq}}% |
| 956 |
\setparquotemarks{}{}} |
| 957 |
% \end{macrocode} |
| 958 |
% Add quote marks to captions. |
| 959 |
% \begin{macrocode} |
| 960 |
\setlanguagequotemarks{\CurrentOption} |
| 961 |
% \end{macrocode} |
| 962 |
%\iffalse |
| 963 |
% \begin{macrocode} |
| 964 |
%</quotmark-croatian.def> |
| 965 |
% \end{macrocode} |
| 966 |
%\fi |
| 967 |
%\iffalse |
| 968 |
% \begin{macrocode} |
| 969 |
%<*quotmark-czech.def> |
| 970 |
% \end{macrocode} |
| 971 |
%\fi |
| 972 |
% \begin{macrocode} |
| 973 |
\ProvidesFile{quotmark-czech}[2007/12/11] |
| 974 |
% \end{macrocode} |
| 975 |
% Define quote marks. I don't know the correct settings for |
| 976 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 977 |
% am told otherwise. |
| 978 |
% \begin{macrocode} |
| 979 |
\@namedef{quotemarks\CurrentOption}{% |
| 980 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 981 |
\setparquotemarks{}{}} |
| 982 |
% \end{macrocode} |
| 983 |
% Add quote marks to captions. |
| 984 |
% \begin{macrocode} |
| 985 |
\setlanguagequotemarks{\CurrentOption} |
| 986 |
% \end{macrocode} |
| 987 |
%\iffalse |
| 988 |
% \begin{macrocode} |
| 989 |
%</quotmark-czech.def> |
| 990 |
% \end{macrocode} |
| 991 |
%\fi |
| 992 |
%\iffalse |
| 993 |
% \begin{macrocode} |
| 994 |
%<*quotmark-danish.def> |
| 995 |
% \end{macrocode} |
| 996 |
%\fi |
| 997 |
% \begin{macrocode} |
| 998 |
\ProvidesFile{quotmark-danish}[2007/12/11] |
| 999 |
% \end{macrocode} |
| 1000 |
% Define quote marks. I don't know the correct settings for |
| 1001 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1002 |
% am told otherwise. |
| 1003 |
% \begin{macrocode} |
| 1004 |
\@namedef{quotemarks\CurrentOption}{% |
| 1005 |
\setquotemarks{{\frqq}{\flqq},{\frq}{\flq}}% |
| 1006 |
\setparquotemarks{}{}} |
| 1007 |
% \end{macrocode} |
| 1008 |
% Add quote marks to captions. |
| 1009 |
% \begin{macrocode} |
| 1010 |
\setlanguagequotemarks{\CurrentOption} |
| 1011 |
% \end{macrocode} |
| 1012 |
%\iffalse |
| 1013 |
% \begin{macrocode} |
| 1014 |
%</quotmark-danish.def> |
| 1015 |
% \end{macrocode} |
| 1016 |
%\fi |
| 1017 |
%\iffalse |
| 1018 |
% \begin{macrocode} |
| 1019 |
%<*quotmark-dutch.def> |
| 1020 |
% \end{macrocode} |
| 1021 |
%\fi |
| 1022 |
% \begin{macrocode} |
| 1023 |
\ProvidesFile{quotmark-dutch}[2007/12/11] |
| 1024 |
% \end{macrocode} |
| 1025 |
% Define quote marks. I don't know the correct settings for |
| 1026 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1027 |
% am told otherwise. |
| 1028 |
% \begin{macrocode} |
| 1029 |
\@namedef{quotemarks\CurrentOption}{% |
| 1030 |
\setquotemarks{{\glqq}{\erqq},{\glq}{\erq}}% |
| 1031 |
\setparquotemarks{}{}} |
| 1032 |
% \end{macrocode} |
| 1033 |
% Add quote marks to captions. |
| 1034 |
% \begin{macrocode} |
| 1035 |
\setlanguagequotemarks{\CurrentOption} |
| 1036 |
% \end{macrocode} |
| 1037 |
%\iffalse |
| 1038 |
% \begin{macrocode} |
| 1039 |
%</quotmark-dutch.def> |
| 1040 |
% \end{macrocode} |
| 1041 |
%\fi |
| 1042 |
%\iffalse |
| 1043 |
% \begin{macrocode} |
| 1044 |
%<*quotmark-estonian.def> |
| 1045 |
% \end{macrocode} |
| 1046 |
%\fi |
| 1047 |
% \begin{macrocode} |
| 1048 |
\ProvidesFile{quotmark-estonian}[2007/12/11] |
| 1049 |
% \end{macrocode} |
| 1050 |
% Define quote marks. I don't know the correct settings for |
| 1051 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1052 |
% am told otherwise. |
| 1053 |
% \begin{macrocode} |
| 1054 |
\@namedef{quotemarks\CurrentOption}{% |
| 1055 |
\setquotemarks{{\glqq}{\grqq}}% |
| 1056 |
\setparquotemarks{}{}} |
| 1057 |
% \end{macrocode} |
| 1058 |
% Add quote marks to captions. |
| 1059 |
% \begin{macrocode} |
| 1060 |
\setlanguagequotemarks{\CurrentOption} |
| 1061 |
% \end{macrocode} |
| 1062 |
%\iffalse |
| 1063 |
% \begin{macrocode} |
| 1064 |
%</quotmark-estonian.def> |
| 1065 |
% \end{macrocode} |
| 1066 |
%\fi |
| 1067 |
%\iffalse |
| 1068 |
% \begin{macrocode} |
| 1069 |
%<*quotmark-finnish.def> |
| 1070 |
% \end{macrocode} |
| 1071 |
%\fi |
| 1072 |
% \begin{macrocode} |
| 1073 |
\ProvidesFile{quotmark-finnish}[2007/12/11] |
| 1074 |
% \end{macrocode} |
| 1075 |
% Define quote marks. I don't know the correct settings for |
| 1076 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1077 |
% am told otherwise. |
| 1078 |
% \begin{macrocode} |
| 1079 |
\@namedef{quotemarks\CurrentOption}{% |
| 1080 |
\setquotemarks{{\erqq}{\erqq},{\erq}{\erq}}% |
| 1081 |
\setparquotemarks{}{}} |
| 1082 |
% \end{macrocode} |
| 1083 |
% Add quote marks to captions. |
| 1084 |
% \begin{macrocode} |
| 1085 |
\setlanguagequotemarks{\CurrentOption} |
| 1086 |
% \end{macrocode} |
| 1087 |
%\iffalse |
| 1088 |
% \begin{macrocode} |
| 1089 |
%</quotmark-finnish.def> |
| 1090 |
% \end{macrocode} |
| 1091 |
%\fi |
| 1092 |
%\iffalse |
| 1093 |
% \begin{macrocode} |
| 1094 |
%<*quotmark-frenchb.def> |
| 1095 |
% \end{macrocode} |
| 1096 |
%\fi |
| 1097 |
% \begin{macrocode} |
| 1098 |
\ProvidesFile{quotmark-frenchb}[2007/12/11] |
| 1099 |
% \end{macrocode} |
| 1100 |
% Define quote marks. I don't know the correct settings for |
| 1101 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1102 |
% am told otherwise. |
| 1103 |
% \begin{macrocode} |
| 1104 |
\@namedef{quotemarks\CurrentOption}{% |
| 1105 |
\setquotemarks{% |
| 1106 |
{\flqq\nobreak\hspace{0.25em}}{\nobreak\hspace{0.25em}\frqq}}% |
| 1107 |
\setparquotemarks{}{}} |
| 1108 |
% \end{macrocode} |
| 1109 |
% Add quote marks to captions. |
| 1110 |
% \begin{macrocode} |
| 1111 |
\setlanguagequotemarks{\CurrentOption} |
| 1112 |
% \end{macrocode} |
| 1113 |
%\iffalse |
| 1114 |
% \begin{macrocode} |
| 1115 |
%</quotmark-frenchb.def> |
| 1116 |
% \end{macrocode} |
| 1117 |
%\fi |
| 1118 |
%\iffalse |
| 1119 |
% \begin{macrocode} |
| 1120 |
%<*quotmark-germanb.def> |
| 1121 |
% \end{macrocode} |
| 1122 |
%\fi |
| 1123 |
% \begin{macrocode} |
| 1124 |
\ProvidesFile{quotmark-germanb}[2007/12/11] |
| 1125 |
% \end{macrocode} |
| 1126 |
% Define quote marks. I don't know the correct settings for |
| 1127 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1128 |
% am told otherwise. |
| 1129 |
% \begin{macrocode} |
| 1130 |
\@namedef{quotemarks\CurrentOption}{% |
| 1131 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1132 |
\setparquotemarks{}{}} |
| 1133 |
% \end{macrocode} |
| 1134 |
% Add quote marks to captions. |
| 1135 |
% \begin{macrocode} |
| 1136 |
\setlanguagequotemarks{\CurrentOption} |
| 1137 |
% \end{macrocode} |
| 1138 |
%\iffalse |
| 1139 |
% \begin{macrocode} |
| 1140 |
%</quotmark-germanb.def> |
| 1141 |
% \end{macrocode} |
| 1142 |
%\fi |
| 1143 |
%\iffalse |
| 1144 |
% \begin{macrocode} |
| 1145 |
%<*quotmark-greek.def> |
| 1146 |
% \end{macrocode} |
| 1147 |
%\fi |
| 1148 |
% \begin{macrocode} |
| 1149 |
\ProvidesFile{quotmark-greek}[2007/12/11] |
| 1150 |
% \end{macrocode} |
| 1151 |
% Define quote marks. I don't know the correct settings for |
| 1152 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1153 |
% am told otherwise. |
| 1154 |
% \begin{macrocode} |
| 1155 |
\@namedef{quotemarks\CurrentOption}{% |
| 1156 |
\setquotemarks{% |
| 1157 |
{\flqq\nobreak\hspace{1pt}}{\nobreak\hspace{1pt}\frqq}}% |
| 1158 |
\setparquotemarks{}{}} |
| 1159 |
% \end{macrocode} |
| 1160 |
% Add quote marks to captions. |
| 1161 |
% \begin{macrocode} |
| 1162 |
\setlanguagequotemarks{\CurrentOption} |
| 1163 |
% \end{macrocode} |
| 1164 |
%\iffalse |
| 1165 |
% \begin{macrocode} |
| 1166 |
%</quotmark-greek.def> |
| 1167 |
% \end{macrocode} |
| 1168 |
%\fi |
| 1169 |
%\iffalse |
| 1170 |
% \begin{macrocode} |
| 1171 |
%<*quotmark-hebrew.def> |
| 1172 |
% \end{macrocode} |
| 1173 |
%\fi |
| 1174 |
% \begin{macrocode} |
| 1175 |
\ProvidesFile{quotmark-hebrew}[2007/12/11] |
| 1176 |
% \end{macrocode} |
| 1177 |
% Define quote marks. I don't know the correct settings for |
| 1178 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1179 |
% am told otherwise. |
| 1180 |
% \begin{macrocode} |
| 1181 |
\@namedef{quotemarks\CurrentOption}{% |
| 1182 |
\setquotemarks{{\elqq}{\erqq}}% |
| 1183 |
\setparquotemarks{}{}} |
| 1184 |
% \end{macrocode} |
| 1185 |
% Add quote marks to captions. |
| 1186 |
% \begin{macrocode} |
| 1187 |
\setlanguagequotemarks{\CurrentOption} |
| 1188 |
% \end{macrocode} |
| 1189 |
%\iffalse |
| 1190 |
% \begin{macrocode} |
| 1191 |
%</quotmark-hebrew.def> |
| 1192 |
% \end{macrocode} |
| 1193 |
%\fi |
| 1194 |
%\iffalse |
| 1195 |
% \begin{macrocode} |
| 1196 |
%<*quotmark-icelandic.def> |
| 1197 |
% \end{macrocode} |
| 1198 |
%\fi |
| 1199 |
% \begin{macrocode} |
| 1200 |
\ProvidesFile{quotmark-icelandic}[2007/12/11] |
| 1201 |
% \end{macrocode} |
| 1202 |
% Define quote marks. I don't know the correct settings for |
| 1203 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1204 |
% am told otherwise. |
| 1205 |
% \begin{macrocode} |
| 1206 |
\@namedef{quotemarks\CurrentOption}{% |
| 1207 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1208 |
\setparquotemarks{}{}} |
| 1209 |
% \end{macrocode} |
| 1210 |
% Add quote marks to captions. |
| 1211 |
% \begin{macrocode} |
| 1212 |
\setlanguagequotemarks{\CurrentOption} |
| 1213 |
% \end{macrocode} |
| 1214 |
%\iffalse |
| 1215 |
% \begin{macrocode} |
| 1216 |
%</quotmark-icelandic.def> |
| 1217 |
% \end{macrocode} |
| 1218 |
%\fi |
| 1219 |
%\iffalse |
| 1220 |
% \begin{macrocode} |
| 1221 |
%<*quotmark-irish.def> |
| 1222 |
% \end{macrocode} |
| 1223 |
%\fi |
| 1224 |
% \begin{macrocode} |
| 1225 |
\ProvidesFile{quotmark-irish}[2007/12/11] |
| 1226 |
% \end{macrocode} |
| 1227 |
% Define quote marks |
| 1228 |
% \begin{macrocode} |
| 1229 |
\@namedef{quotemarks\CurrentOption}{% |
| 1230 |
\setquotemarks{% |
| 1231 |
{\elqq\nobreak\hspace{1pt plus 1pt}}% |
| 1232 |
{\nobreak\hspace{1pt plus 1pt}\erqq},% |
| 1233 |
{\elq\nobreak\hspace{1pt plus 1pt}}% |
| 1234 |
{\nobreak\hspace{1pt plus 1pt}\erq}}% |
| 1235 |
\setparquotemarks{}{\currentleftquote}} |
| 1236 |
% \end{macrocode} |
| 1237 |
% Add quote marks to captions. |
| 1238 |
% \begin{macrocode} |
| 1239 |
\setlanguagequotemarks{\CurrentOption} |
| 1240 |
% \end{macrocode} |
| 1241 |
%\iffalse |
| 1242 |
% \begin{macrocode} |
| 1243 |
%</quotmark-irish.def> |
| 1244 |
% \end{macrocode} |
| 1245 |
%\fi |
| 1246 |
%\iffalse |
| 1247 |
% \begin{macrocode} |
| 1248 |
%<*quotmark-italian.def> |
| 1249 |
% \end{macrocode} |
| 1250 |
%\fi |
| 1251 |
% \begin{macrocode} |
| 1252 |
\ProvidesFile{quotmark-italian}[2007/12/11] |
| 1253 |
% \end{macrocode} |
| 1254 |
% Define quote marks. I don't know the correct settings for |
| 1255 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1256 |
% am told otherwise. |
| 1257 |
% \begin{macrocode} |
| 1258 |
\@namedef{quotemarks\CurrentOption}{% |
| 1259 |
\setquotemarks{% |
| 1260 |
{\flqq\nobreak\hspace{1pt plus 1pt}}% |
| 1261 |
{\nobreak\hspace{1pt plus 1pt}\frqq}}% |
| 1262 |
\setparquotemarks{}{}} |
| 1263 |
% \end{macrocode} |
| 1264 |
% Add quote marks to captions. |
| 1265 |
% \begin{macrocode} |
| 1266 |
\setlanguagequotemarks{\CurrentOption} |
| 1267 |
% \end{macrocode} |
| 1268 |
%\iffalse |
| 1269 |
% \begin{macrocode} |
| 1270 |
%</quotmark-italian.def> |
| 1271 |
% \end{macrocode} |
| 1272 |
%\fi |
| 1273 |
%\iffalse |
| 1274 |
% \begin{macrocode} |
| 1275 |
%<*quotmark-magyar.def> |
| 1276 |
% \end{macrocode} |
| 1277 |
%\fi |
| 1278 |
% \begin{macrocode} |
| 1279 |
\ProvidesFile{quotmark-magyar}[2007/12/11] |
| 1280 |
% \end{macrocode} |
| 1281 |
% Define quote marks. I don't know the correct settings for |
| 1282 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1283 |
% am told otherwise. |
| 1284 |
% \begin{macrocode} |
| 1285 |
\@namedef{quotemarks\CurrentOption}{% |
| 1286 |
\setquotemarks{{\glqq}{\grqq},{\frqq}{\flqq}}% |
| 1287 |
\setparquotemarks{}{}} |
| 1288 |
% \end{macrocode} |
| 1289 |
% Add quote marks to captions. |
| 1290 |
% \begin{macrocode} |
| 1291 |
\setlanguagequotemarks{\CurrentOption} |
| 1292 |
% \end{macrocode} |
| 1293 |
%\iffalse |
| 1294 |
% \begin{macrocode} |
| 1295 |
%</quotmark-magyar.def> |
| 1296 |
% \end{macrocode} |
| 1297 |
%\fi |
| 1298 |
%\iffalse |
| 1299 |
% \begin{macrocode} |
| 1300 |
%<*quotmark-ngermanb.def> |
| 1301 |
% \end{macrocode} |
| 1302 |
%\fi |
| 1303 |
% \begin{macrocode} |
| 1304 |
\ProvidesFile{quotmark-ngermanb}[2007/12/11] |
| 1305 |
% \end{macrocode} |
| 1306 |
% Define quote marks. I don't know the correct settings for |
| 1307 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1308 |
% am told otherwise. |
| 1309 |
% \begin{macrocode} |
| 1310 |
\@namedef{quotemarks\CurrentOption}{% |
| 1311 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1312 |
\setparquotemarks{}{}} |
| 1313 |
% \end{macrocode} |
| 1314 |
% Add quote marks to captions. |
| 1315 |
% \begin{macrocode} |
| 1316 |
\setlanguagequotemarks{\CurrentOption} |
| 1317 |
% \end{macrocode} |
| 1318 |
%\iffalse |
| 1319 |
% \begin{macrocode} |
| 1320 |
%</quotmark-ngermanb.def> |
| 1321 |
% \end{macrocode} |
| 1322 |
%\fi |
| 1323 |
%\iffalse |
| 1324 |
% \begin{macrocode} |
| 1325 |
%<*quotmark-norsk.def> |
| 1326 |
% \end{macrocode} |
| 1327 |
%\fi |
| 1328 |
% \begin{macrocode} |
| 1329 |
\ProvidesFile{quotmark-norsk}[2007/12/11] |
| 1330 |
% \end{macrocode} |
| 1331 |
% Define quote marks. I don't know the correct settings for |
| 1332 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1333 |
% am told otherwise. |
| 1334 |
% \begin{macrocode} |
| 1335 |
\@namedef{quotemarks\CurrentOption}{% |
| 1336 |
\setquotemarks{{\flqq}{\frqq},{\flq}{\frq}}% |
| 1337 |
\setparquotemarks{}{}} |
| 1338 |
% \end{macrocode} |
| 1339 |
% Add quote marks to captions. |
| 1340 |
% \begin{macrocode} |
| 1341 |
\setlanguagequotemarks{\CurrentOption} |
| 1342 |
% \end{macrocode} |
| 1343 |
%\iffalse |
| 1344 |
% \begin{macrocode} |
| 1345 |
%</quotmark-norsk.def> |
| 1346 |
% \end{macrocode} |
| 1347 |
%\fi |
| 1348 |
%\iffalse |
| 1349 |
% \begin{macrocode} |
| 1350 |
%<*quotmark-polish.def> |
| 1351 |
% \end{macrocode} |
| 1352 |
%\fi |
| 1353 |
% \begin{macrocode} |
| 1354 |
\ProvidesFile{quotmark-polish}[2007/12/11] |
| 1355 |
% \end{macrocode} |
| 1356 |
% Define quote marks. I don't know the correct settings for |
| 1357 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1358 |
% am told otherwise. |
| 1359 |
% \begin{macrocode} |
| 1360 |
\@namedef{quotemarks\CurrentOption}{% |
| 1361 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1362 |
\setparquotemarks{}{}} |
| 1363 |
% \end{macrocode} |
| 1364 |
% Add quote marks to captions. |
| 1365 |
% \begin{macrocode} |
| 1366 |
\setlanguagequotemarks{\CurrentOption} |
| 1367 |
% \end{macrocode} |
| 1368 |
%\iffalse |
| 1369 |
% \begin{macrocode} |
| 1370 |
%</quotmark-polish.def> |
| 1371 |
% \end{macrocode} |
| 1372 |
%\fi |
| 1373 |
%\iffalse |
| 1374 |
% \begin{macrocode} |
| 1375 |
%<*quotmark-portuges.def> |
| 1376 |
% \end{macrocode} |
| 1377 |
%\fi |
| 1378 |
% \begin{macrocode} |
| 1379 |
\ProvidesFile{quotmark-portuges}[2007/12/11] |
| 1380 |
% \end{macrocode} |
| 1381 |
% Define quote marks. I don't know the correct settings for |
| 1382 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1383 |
% am told otherwise. |
| 1384 |
% \begin{macrocode} |
| 1385 |
\@namedef{quotemarks\CurrentOption}{% |
| 1386 |
\setquotemarks{{\flqq}{\frqq},{\elqq}{\erqq}}% |
| 1387 |
\setparquotemarks{}{}} |
| 1388 |
% \end{macrocode} |
| 1389 |
% Add quote marks to captions. |
| 1390 |
% \begin{macrocode} |
| 1391 |
\setlanguagequotemarks{\CurrentOption} |
| 1392 |
% \end{macrocode} |
| 1393 |
%\iffalse |
| 1394 |
% \begin{macrocode} |
| 1395 |
%</quotmark-portuges.def> |
| 1396 |
% \end{macrocode} |
| 1397 |
%\fi |
| 1398 |
%\iffalse |
| 1399 |
% \begin{macrocode} |
| 1400 |
%<*quotmark-romanian.def> |
| 1401 |
% \end{macrocode} |
| 1402 |
%\fi |
| 1403 |
% \begin{macrocode} |
| 1404 |
\ProvidesFile{quotmark-romanian}[2007/12/11] |
| 1405 |
% \end{macrocode} |
| 1406 |
% Define quote marks. I don't know the correct settings for |
| 1407 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1408 |
% am told otherwise. |
| 1409 |
% \begin{macrocode} |
| 1410 |
\@namedef{quotemarks\CurrentOption}{% |
| 1411 |
\setquotemarks{{\glqq}{\grqq},{\flqq}{\frqq}}% |
| 1412 |
\setparquotemarks{}{}} |
| 1413 |
% \end{macrocode} |
| 1414 |
% Add quote marks to captions. |
| 1415 |
% \begin{macrocode} |
| 1416 |
\setlanguagequotemarks{\CurrentOption} |
| 1417 |
% \end{macrocode} |
| 1418 |
%\iffalse |
| 1419 |
% \begin{macrocode} |
| 1420 |
%</quotmark-romanian.def> |
| 1421 |
% \end{macrocode} |
| 1422 |
%\fi |
| 1423 |
%\iffalse |
| 1424 |
% \begin{macrocode} |
| 1425 |
%<*quotmark-russianb.def> |
| 1426 |
% \end{macrocode} |
| 1427 |
%\fi |
| 1428 |
% \begin{macrocode} |
| 1429 |
\ProvidesFile{quotmark-russianb}[2007/12/11] |
| 1430 |
% \end{macrocode} |
| 1431 |
% Define quote marks. I don't know the correct settings for |
| 1432 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1433 |
% am told otherwise. |
| 1434 |
% \begin{macrocode} |
| 1435 |
\@namedef{quotemarks\CurrentOption}{% |
| 1436 |
\setquotemarks{{\flqq}{\frqq},{\glqq}{\grqq}}% |
| 1437 |
\setparquotemarks{}{}} |
| 1438 |
% \end{macrocode} |
| 1439 |
% Add quote marks to captions. |
| 1440 |
% \begin{macrocode} |
| 1441 |
\setlanguagequotemarks{\CurrentOption} |
| 1442 |
% \end{macrocode} |
| 1443 |
%\iffalse |
| 1444 |
% \begin{macrocode} |
| 1445 |
%</quotmark-russianb.def> |
| 1446 |
% \end{macrocode} |
| 1447 |
%\fi |
| 1448 |
%\iffalse |
| 1449 |
% \begin{macrocode} |
| 1450 |
%<*quotmark-serbian.def> |
| 1451 |
% \end{macrocode} |
| 1452 |
%\fi |
| 1453 |
% \begin{macrocode} |
| 1454 |
\ProvidesFile{quotmark-serbian}[2007/12/11] |
| 1455 |
% \end{macrocode} |
| 1456 |
% Define quote marks. I don't know the correct settings for |
| 1457 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1458 |
% am told otherwise. |
| 1459 |
% \begin{macrocode} |
| 1460 |
\@namedef{quotemarks\CurrentOption}{% |
| 1461 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1462 |
\setparquotemarks{}{}} |
| 1463 |
% \end{macrocode} |
| 1464 |
% Add quote marks to captions. |
| 1465 |
% \begin{macrocode} |
| 1466 |
\setlanguagequotemarks{\CurrentOption} |
| 1467 |
% \end{macrocode} |
| 1468 |
%\iffalse |
| 1469 |
% \begin{macrocode} |
| 1470 |
%</quotmark-serbian.def> |
| 1471 |
% \end{macrocode} |
| 1472 |
%\fi |
| 1473 |
%\iffalse |
| 1474 |
% \begin{macrocode} |
| 1475 |
%<*quotmark-slovak.def> |
| 1476 |
% \end{macrocode} |
| 1477 |
%\fi |
| 1478 |
% \begin{macrocode} |
| 1479 |
\ProvidesFile{quotmark-slovak}[2007/12/11] |
| 1480 |
% \end{macrocode} |
| 1481 |
% Define quote marks. I don't know the correct settings for |
| 1482 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1483 |
% am told otherwise. |
| 1484 |
% \begin{macrocode} |
| 1485 |
\@namedef{quotemarks\CurrentOption}{% |
| 1486 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1487 |
\setparquotemarks{}{}} |
| 1488 |
% \end{macrocode} |
| 1489 |
% Add quote marks to captions. |
| 1490 |
% \begin{macrocode} |
| 1491 |
\setlanguagequotemarks{\CurrentOption} |
| 1492 |
% \end{macrocode} |
| 1493 |
%\iffalse |
| 1494 |
% \begin{macrocode} |
| 1495 |
%</quotmark-slovak.def> |
| 1496 |
% \end{macrocode} |
| 1497 |
%\fi |
| 1498 |
%\iffalse |
| 1499 |
% \begin{macrocode} |
| 1500 |
%<*quotmark-slovene.def> |
| 1501 |
% \end{macrocode} |
| 1502 |
%\fi |
| 1503 |
% \begin{macrocode} |
| 1504 |
\ProvidesFile{quotmark-slovene}[2007/12/11] |
| 1505 |
% \end{macrocode} |
| 1506 |
% Define quote marks. I don't know the correct settings for |
| 1507 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1508 |
% am told otherwise. |
| 1509 |
% \begin{macrocode} |
| 1510 |
\@namedef{quotemarks\CurrentOption}{% |
| 1511 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1512 |
\setparquotemarks{}{}} |
| 1513 |
% \end{macrocode} |
| 1514 |
% Add quote marks to captions. |
| 1515 |
% \begin{macrocode} |
| 1516 |
\setlanguagequotemarks{\CurrentOption} |
| 1517 |
% \end{macrocode} |
| 1518 |
%\iffalse |
| 1519 |
% \begin{macrocode} |
| 1520 |
%</quotmark-slovene.def> |
| 1521 |
% \end{macrocode} |
| 1522 |
%\fi |
| 1523 |
%\iffalse |
| 1524 |
% \begin{macrocode} |
| 1525 |
%<*quotmark-sorbian.def> |
| 1526 |
% \end{macrocode} |
| 1527 |
%\fi |
| 1528 |
% \begin{macrocode} |
| 1529 |
\ProvidesFile{quotmark-sorbian}[2007/12/11] |
| 1530 |
% \end{macrocode} |
| 1531 |
% Define quote marks. I don't know the correct settings for |
| 1532 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1533 |
% am told otherwise. |
| 1534 |
% \begin{macrocode} |
| 1535 |
\@namedef{quotemarks\CurrentOption}{% |
| 1536 |
\setquotemarks{{\glqq}{\grqq},{\glq}{\grq}}% |
| 1537 |
\setparquotemarks{}{}} |
| 1538 |
% \end{macrocode} |
| 1539 |
% Add quote marks to captions. |
| 1540 |
% \begin{macrocode} |
| 1541 |
\setlanguagequotemarks{\CurrentOption} |
| 1542 |
% \end{macrocode} |
| 1543 |
%\iffalse |
| 1544 |
% \begin{macrocode} |
| 1545 |
%</quotmark-sorbian.def> |
| 1546 |
% \end{macrocode} |
| 1547 |
%\fi |
| 1548 |
%\iffalse |
| 1549 |
% \begin{macrocode} |
| 1550 |
%<*quotmark-spanish.def> |
| 1551 |
% \end{macrocode} |
| 1552 |
%\fi |
| 1553 |
% \begin{macrocode} |
| 1554 |
\ProvidesFile{quotmark-spanish}[2007/12/11] |
| 1555 |
% \end{macrocode} |
| 1556 |
% Define quote marks |
| 1557 |
% \begin{macrocode} |
| 1558 |
\@namedef{quotemarks\CurrentOption}{% |
| 1559 |
\setquotemarks{{\flqq}{\frqq},{\elqq}{\erqq}}% |
| 1560 |
\setparquotemarks{}{\currentrightquote}} |
| 1561 |
% \end{macrocode} |
| 1562 |
% Add quote marks to captions. |
| 1563 |
% \begin{macrocode} |
| 1564 |
\setlanguagequotemarks{\CurrentOption} |
| 1565 |
% \end{macrocode} |
| 1566 |
%\iffalse |
| 1567 |
% \begin{macrocode} |
| 1568 |
%</quotmark-spanish.def> |
| 1569 |
% \end{macrocode} |
| 1570 |
%\fi |
| 1571 |
%\iffalse |
| 1572 |
% \begin{macrocode} |
| 1573 |
%<*quotmark-swedish.def> |
| 1574 |
% \end{macrocode} |
| 1575 |
%\fi |
| 1576 |
% \begin{macrocode} |
| 1577 |
\ProvidesFile{quotmark-swedish}[2007/12/11] |
| 1578 |
% \end{macrocode} |
| 1579 |
% Define quote marks. I don't know the correct settings for |
| 1580 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1581 |
% am told otherwise. |
| 1582 |
% \begin{macrocode} |
| 1583 |
\@namedef{quotemarks\CurrentOption}{% |
| 1584 |
\setquotemarks{{\erqq}{\erqq},{\erq}{\erq}}% |
| 1585 |
\setparquotemarks{}{}} |
| 1586 |
% \end{macrocode} |
| 1587 |
% Add quote marks to captions. |
| 1588 |
% \begin{macrocode} |
| 1589 |
\setlanguagequotemarks{\CurrentOption} |
| 1590 |
% \end{macrocode} |
| 1591 |
%\iffalse |
| 1592 |
% \begin{macrocode} |
| 1593 |
%</quotmark-swedish.def> |
| 1594 |
% \end{macrocode} |
| 1595 |
%\fi |
| 1596 |
%\iffalse |
| 1597 |
% \begin{macrocode} |
| 1598 |
%<*quotmark-swiss.def> |
| 1599 |
% \end{macrocode} |
| 1600 |
%\fi |
| 1601 |
% \begin{macrocode} |
| 1602 |
\ProvidesFile{quotmark-swiss}[2007/12/11] |
| 1603 |
% \end{macrocode} |
| 1604 |
% Define quote marks. I don't know the correct settings for |
| 1605 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1606 |
% am told otherwise. |
| 1607 |
% \begin{macrocode} |
| 1608 |
\newcommand*{\quotemarksswiss}{% |
| 1609 |
\setquotemarks{{\flqq}{\frqq},{\flq}{\frq}}% |
| 1610 |
\setparquotemarks{}{}} |
| 1611 |
% \end{macrocode} |
| 1612 |
% Add quote marks to captions. |
| 1613 |
% \begin{macrocode} |
| 1614 |
\@ifpackageloaded{babel}{% |
| 1615 |
\@ifundefined{\captionsfrancais}{}{% |
| 1616 |
\addto\captionsfrancais{\quotemarksswiss}}% |
| 1617 |
\@ifundefined{\captionsfrench}{}{% |
| 1618 |
\addto\captionsfrench{\quotemarksswiss}}% |
| 1619 |
\@ifundefined{\captionsfrenchb}{}{% |
| 1620 |
\addto\captionsfrenchb{\quotemarksswiss}}% |
| 1621 |
\@ifundefined{\captionsgerman}{}{% |
| 1622 |
\addto\captionsgerman{\quotemarksswiss}}% |
| 1623 |
\@ifundefined{\captionsgermanb}{}{% |
| 1624 |
\addto\captionsgermanb{\quotemarksswiss}}% |
| 1625 |
\@ifundefined{\captionsngerman}{}{% |
| 1626 |
\addto\captionsngerman{\quotemarksswiss}}% |
| 1627 |
\@ifundefined{\captionsitalian}{}{% |
| 1628 |
\addto\captionsitalian{\quotemarksswiss}}% |
| 1629 |
}{\quotemarksswiss} |
| 1630 |
% \end{macrocode} |
| 1631 |
%\iffalse |
| 1632 |
% \begin{macrocode} |
| 1633 |
%</quotmark-swiss.def> |
| 1634 |
% \end{macrocode} |
| 1635 |
%\fi |
| 1636 |
%\iffalse |
| 1637 |
% \begin{macrocode} |
| 1638 |
%<*quotmark-turkish.def> |
| 1639 |
% \end{macrocode} |
| 1640 |
%\fi |
| 1641 |
% \begin{macrocode} |
| 1642 |
\ProvidesFile{quotmark-turkish}[2007/12/11] |
| 1643 |
% \end{macrocode} |
| 1644 |
% Define quote marks. I don't know the correct settings for |
| 1645 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1646 |
% am told otherwise. |
| 1647 |
% \begin{macrocode} |
| 1648 |
\@namedef{quotemarks\CurrentOption}{% |
| 1649 |
\setquotemarks{% |
| 1650 |
{\glqq\nobreak\hspace{0pt plus 1pt}}% |
| 1651 |
{\nobreak\hspace{0pt plus 1pt}\grqq},% |
| 1652 |
{\glq\nobreak\hspace{0pt plus 1pt}}% |
| 1653 |
{\nobreak\hspace{0pt plus 1pt}\grq}}% |
| 1654 |
\setparquotemarks{}{}} |
| 1655 |
% \end{macrocode} |
| 1656 |
% Add quote marks to captions. |
| 1657 |
% \begin{macrocode} |
| 1658 |
\setlanguagequotemarks{\CurrentOption} |
| 1659 |
% \end{macrocode} |
| 1660 |
%\iffalse |
| 1661 |
% \begin{macrocode} |
| 1662 |
%</quotmark-turkish.def> |
| 1663 |
% \end{macrocode} |
| 1664 |
%\fi |
| 1665 |
%\iffalse |
| 1666 |
% \begin{macrocode} |
| 1667 |
%<*quotmark-UKenglish.def> |
| 1668 |
% \end{macrocode} |
| 1669 |
%\fi |
| 1670 |
% \begin{macrocode} |
| 1671 |
\ProvidesFile{quotmark-UKenglish}[2007/12/11] |
| 1672 |
% \end{macrocode} |
| 1673 |
% Define quote marks |
| 1674 |
% \begin{macrocode} |
| 1675 |
\@namedef{quotemarks\CurrentOption}{% |
| 1676 |
\setquotemarks{{\elq}{\erq},{\elqq}{\erqq}}% |
| 1677 |
\setparquotemarks{}{\currentleftquote}} |
| 1678 |
% \end{macrocode} |
| 1679 |
% Add quote marks to captions. |
| 1680 |
% \begin{macrocode} |
| 1681 |
\setlanguagequotemarks{\CurrentOption} |
| 1682 |
% \end{macrocode} |
| 1683 |
%\iffalse |
| 1684 |
% \begin{macrocode} |
| 1685 |
%</quotmark-UKenglish.def> |
| 1686 |
% \end{macrocode} |
| 1687 |
%\fi |
| 1688 |
%\iffalse |
| 1689 |
% \begin{macrocode} |
| 1690 |
%<*quotmark-ukraineb.def> |
| 1691 |
% \end{macrocode} |
| 1692 |
%\fi |
| 1693 |
% \begin{macrocode} |
| 1694 |
\ProvidesFile{quotmark-ukraineb}[2007/12/11] |
| 1695 |
% \end{macrocode} |
| 1696 |
% Define quote marks. I don't know the correct settings for |
| 1697 |
% \cs{setparquotemarks} so I shall leave them blank until I |
| 1698 |
% am told otherwise. |
| 1699 |
% \begin{macrocode} |
| 1700 |
\@namedef{quotemarks\CurrentOption}{% |
| 1701 |
\setquotemarks{{\glqq}{\grqq}}% |
| 1702 |
\setparquotemarks{}{}} |
| 1703 |
% \end{macrocode} |
| 1704 |
% Add quote marks to captions. |
| 1705 |
% \begin{macrocode} |
| 1706 |
\setlanguagequotemarks{\CurrentOption} |
| 1707 |
% \end{macrocode} |
| 1708 |
%\iffalse |
| 1709 |
% \begin{macrocode} |
| 1710 |
%</quotmark-ukraineb.def> |
| 1711 |
% \end{macrocode} |
| 1712 |
%\fi |
| 1713 |
%\iffalse |
| 1714 |
% \begin{macrocode} |
| 1715 |
%<*quotmark-USenglish.def> |
| 1716 |
% \end{macrocode} |
| 1717 |
%\fi |
| 1718 |
% \begin{macrocode} |
| 1719 |
\ProvidesFile{quotmark-USenglish}[2007/12/11] |
| 1720 |
% \end{macrocode} |
| 1721 |
% Define quote marks |
| 1722 |
% \begin{macrocode} |
| 1723 |
\@namedef{quotemarks\CurrentOption}{% |
| 1724 |
\setquotemarks{{\elqq}{\erqq},{\elq}{\erq}}% |
| 1725 |
\setparquotemarks{}{\currentleftquote}} |
| 1726 |
% \end{macrocode} |
| 1727 |
% Add quote marks to captions. |
| 1728 |
% \begin{macrocode} |
| 1729 |
\setlanguagequotemarks{\CurrentOption} |
| 1730 |
% \end{macrocode} |
| 1731 |
%\iffalse |
| 1732 |
% \begin{macrocode} |
| 1733 |
%</quotmark-USenglish.def> |
| 1734 |
% \end{macrocode} |
| 1735 |
%\fi |
| 1736 |
%\iffalse |
| 1737 |
% \begin{macrocode} |
| 1738 |
%<*quotmark-welsh.def> |
| 1739 |
% \end{macrocode} |
| 1740 |
%\fi |
| 1741 |
% \begin{macrocode} |
| 1742 |
\ProvidesFile{quotmark-welsh}[2007/12/11] |
| 1743 |
% \end{macrocode} |
| 1744 |
% Define quote marks |
| 1745 |
% \begin{macrocode} |
| 1746 |
\@namedef{quotemarks\CurrentOption}{% |
| 1747 |
\setquotemarks{% |
| 1748 |
{\elq\nobreak\hspace{1pt plus 1pt}}% |
| 1749 |
{\nobreak\hspace{1pt plus 1pt}\erq},% |
| 1750 |
{\elqq\nobreak\hspace{1pt plus 1pt}}% |
| 1751 |
{\nobreak\hspace{1pt plus 1pt}\erqq}}% |
| 1752 |
\setparquotemarks{}{\currentleftquote}} |
| 1753 |
% \end{macrocode} |
| 1754 |
% Add quote marks to captions. |
| 1755 |
% \begin{macrocode} |
| 1756 |
\setlanguagequotemarks{\CurrentOption} |
| 1757 |
% \end{macrocode} |
| 1758 |
%\iffalse |
| 1759 |
% \begin{macrocode} |
| 1760 |
%</quotmark-welsh.def> |
| 1761 |
% \end{macrocode} |
| 1762 |
%\fi |
| 1763 |
%\Finale |
| 1764 |
\endinput |