| 1 |
# xsipa – XSAMPA to IPA Transcription in LaTeX |
| 2 |
|
| 3 |
`xsipa` is a LaTeX package that provides a lightweight phonetic transcription system inspired by XSAMPA. It translates modified XSAMPA sequences into proper IPA symbols, using either the `tipa` package (for pdfTeX users) or Unicode IPA symbols via `xunicode` (for XeTeX and LuaTeX users). |
| 4 |
|
| 5 |
This package was designed to simplify phonetic transcription in LaTeX by offering concise macros such as `\xsE` for `\textepsilon`, and `\xs*...*` as a shortcut for multi-symbol sequences (e.g., `\xs*EO*` for `ɛɔ`). These commands are modeled after XSAMPA but adapted for LaTeX compatibility — including custom replacements for reserved characters. |
| 6 |
|
| 7 |
## Key Features |
| 8 |
|
| 9 |
- XSAMPA-inspired syntax adapted for LaTeX usage |
| 10 |
- Short and readable macro names |
| 11 |
- Transparent support for `tipa` or Unicode output based on the engine: |
| 12 |
- XeTeX / LuaTeX → Unicode (via `xunicode`) |
| 13 |
- pdfTeX → `tipa` |
| 14 |
- Minimal setup; no need to load fonts manually |
| 15 |
- Built-in compatibility workarounds for LaTeX special characters |
| 16 |
|
| 17 |
## Requirements |
| 18 |
|
| 19 |
- A working LaTeX distribution with one of the following engines: |
| 20 |
- XeTeX |
| 21 |
- LuaTeX |
| 22 |
- pdfTeX |
| 23 |
- The following packages must be available in your system: |
| 24 |
- `xparse` |
| 25 |
- `xunicode` (for Unicode-based output) |
| 26 |
- `tipa` (for pdfTeX-based output) |
| 27 |
- `iftex` (used for engine detection) |
| 28 |
|
| 29 |
These packages are included in most standard TeX distributions such as TeX Live or MiKTeX. |
| 30 |
|
| 31 |
## License |
| 32 |
|
| 33 |
This material is subject to the **LaTeX Project Public License 1.3c or any later version**. You may obtain a copy of the license at: |
| 34 |
|
| 35 |
> http://www.latex-project.org/lppl.txt |
| 36 |
|
| 37 |
This software is provided "as is", and there is no warranty for correctness or fitness for a particular purpose. |
| 38 |
|
| 39 |
## Author |
| 40 |
|
| 41 |
**Akpoué Kouamé Josué** |
| 42 |
Email: [email protected] |
| 43 |
|
| 44 |
## Repository |
| 45 |
|
| 46 |
GitHub: [https://github.com/dbjoshua/xsipa_package](https://github.com/dbjoshua/xsipa_package) |
| 47 |
|