| 1 |
# `csquotes`: Context sensitive quotation facilities |
| 2 |
|
| 3 |
## About |
| 4 |
|
| 5 |
This package provides advanced facilities for inline and display |
| 6 |
quotations. It is designed for a wide range of tasks ranging from |
| 7 |
the most simple applications to the more complex demands of formal |
| 8 |
quotations. The facilities include commands, environments, and |
| 9 |
user-definable 'smart quotes' which dynamically adjust to their |
| 10 |
context. Quotation marks are switched automatically if quotations |
| 11 |
are nested and they can be adjusted to the current language. There |
| 12 |
are additional facilities designed to cope with the more specific |
| 13 |
demands of academic writing, especially in the humanities and the |
| 14 |
social sciences. All quote styles as well as the optional active |
| 15 |
quotes are freely configurable. |
| 16 |
|
| 17 |
## License |
| 18 |
|
| 19 |
Copyright (c) 2003-2011 Philipp Lehman, |
| 20 |
2015-2019,2021,2022,2024,2026 Joseph Wright. |
| 21 |
Permission is granted to copy, distribute and/or modify this |
| 22 |
software under the terms of the LaTeX Project Public License (LPPL), |
| 23 |
version 1.3c or any later version. |
| 24 |
|
| 25 |
This software is provided 'as is', without warranty of any kind, |
| 26 |
either expressed or implied, including, but not limited to, the |
| 27 |
implied warranties of merchantability and fitness for a particular |
| 28 |
purpose. |
| 29 |
|
| 30 |
## Requirements |
| 31 |
|
| 32 |
- e-TeX |
| 33 |
- `etoolbox` 1.7 or later |
| 34 |
- `keyval` |
| 35 |
|
| 36 |
AUTOMATIC INSTALLATION |
| 37 |
|
| 38 |
TeX Live: The `csquotes` package is included in TeX Live. |
| 39 |
Use the TeX Live package manager to install it. |
| 40 |
|
| 41 |
MiKTeX: The `csquotes` package is included in MiKTeX. |
| 42 |
Use the MiKTeX package manager to install it. |
| 43 |
|
| 44 |
## Semi-automatic installation |
| 45 |
|
| 46 |
1. Download the file |
| 47 |
|
| 48 |
http://mirror.ctan.org/install/macros/latex/contrib/csquotes.tds.zip |
| 49 |
|
| 50 |
2. Unpack the archive in the root directory of the local TeX |
| 51 |
installation tree, for example |
| 52 |
|
| 53 |
/usr/local/share/texmf/ |
| 54 |
|
| 55 |
or |
| 56 |
|
| 57 |
/usr/share/texmf-local/ |
| 58 |
|
| 59 |
or |
| 60 |
|
| 61 |
C:\Local TeX Files\ |
| 62 |
|
| 63 |
3. Update the file hash tables (also known as the file name |
| 64 |
database). |
| 65 |
|
| 66 |
On teTeX and TeX Live systems, run `texhash` as root (`sudo |
| 67 |
texhash`). On MiKTeX, run `initexmf --update-fndb` in a command |
| 68 |
window or use the 'Refresh FNDB' button of the MiKTeX Options |
| 69 |
window. |
| 70 |
|
| 71 |
## Manual installation |
| 72 |
|
| 73 |
1. Copy the files `csquotes.sty`, `csquotes.def`, `csq-compat.def`, |
| 74 |
and `csquotes.cfg` to |
| 75 |
|
| 76 |
<TEXMFLOCAL>/tex/latex/csquotes/ |
| 77 |
|
| 78 |
where `<TEXMFLOCAL>` denotes the root of the local TeX installation |
| 79 |
tree, for example |
| 80 |
|
| 81 |
/usr/local/share/texmf/ |
| 82 |
|
| 83 |
or |
| 84 |
|
| 85 |
/usr/share/texmf-local/ |
| 86 |
|
| 87 |
or |
| 88 |
|
| 89 |
C:\Local TeX Files\ |
| 90 |
|
| 91 |
2. The file `csquotes.pdf` goes to |
| 92 |
|
| 93 |
<TEXMFLOCAL>/doc/latex/csquotes/ |
| 94 |
|
| 95 |
3. Update the file hash tables (also known as the file name |
| 96 |
database). |
| 97 |
|
| 98 |
On teTeX and TeX Live systems, run `texhash` as root (`sudo |
| 99 |
texhash`). On MiKTeX, run `initexmf --update-fndb` in a command |
| 100 |
window or use the 'Refresh FNDB' button of the MiKTeX Options |
| 101 |
window. |
| 102 |
|
| 103 |
Note that you may have to create some or all of the above |
| 104 |
directories if this is the first package you're installing locally |
| 105 |
(as opposed to via a package manager). |
| 106 |
|
| 107 |
## Usage |
| 108 |
|
| 109 |
Refer to `csquotes.pdf` for a systematic reference manual. |
| 110 |
|
| 111 |
## Changes |
| 112 |
|
| 113 |
A list of changes relevant to users of this package is included at |
| 114 |
the end of `csquotes.pdf`. Skimming the respective section of the |
| 115 |
manual is highly recommended. |