| 1 |
# asapsym: convenience macros for the ASAP symbol font |
| 2 |
|
| 3 |
> asapsym v1.0 2016/03/20 |
| 4 |
> Copyright (C) 2016 Paul D. Gessler (<[email protected]>) |
| 5 |
|
| 6 |
The **asapsym** package provides convenience macros for using the symbols |
| 7 |
contained in the included *ASAP Symbol* font. The font is part of the |
| 8 |
[ASAP family](http://www.omnibus-type.com/fonts/asap.php) of fonts. The font is |
| 9 |
designed by [Omnibus-Type](http://www.omnibus-type.com/index.php) and released |
| 10 |
under the [SIL Open Font License (OFL)](http://scripts.sil.org/OFL), version 1.1. |
| 11 |
|
| 12 |
Macros are provided for each of the symbols provided by the font. Consult the |
| 13 |
package documentation for full details. |
| 14 |
|
| 15 |
## Package information |
| 16 |
|
| 17 |
### **asapsym** CTAN package |
| 18 |
|
| 19 |
Author: |
| 20 |
Paul D. Gessler (<[email protected]>) |
| 21 |
License: |
| 22 |
[The LaTeX Project Public License, version 1.3c](http://www.latex-project.org/lppl.txt) |
| 23 |
URL: |
| 24 |
<http://www.github.com/pdgessler/asapsym> |
| 25 |
|
| 26 |
### ASAP Symbol font |
| 27 |
|
| 28 |
Author: |
| 29 |
Omnibus-Type |
| 30 |
License: |
| 31 |
[SIL Open Font License, version 1.1](http://scripts.sil.org/OFL_web) |
| 32 |
URL: |
| 33 |
<http://www.omnibus-type.com/fonts/asap-symbol.php> |
| 34 |
|
| 35 |
## Engine support |
| 36 |
|
| 37 |
The font is distributed in OpenType format, and makes extensive use of OpenType |
| 38 |
features. Therefore, at this time, only XeTeX and LuaTeX are supported. An error |
| 39 |
message is issued if an OTF-capable engine is not detected. |
| 40 |
|
| 41 |
## Format support |
| 42 |
|
| 43 |
To use the macros in LaTeX, load the `asapsym` package: |
| 44 |
|
| 45 |
\usepackage{asapsym} |
| 46 |
|
| 47 |
To use the macros in Plain TeX, `\input` the `asapsym.code.tex` file: |
| 48 |
|
| 49 |
\input asapsym.code.tex |
| 50 |
|
| 51 |
Both `asapsym.sty` and `asapsym.code.tex` are wrappers around the main generic |
| 52 |
macro definitions in `asapsym-generic.tex`. |
| 53 |
|
| 54 |
## Dependencies |
| 55 |
|
| 56 |
When using LaTeX, the [**fontspec** package](http://www.ctan.org/pkg/fontspec) |
| 57 |
is used for loading the OpenType font and selecting features. |
| 58 |
|
| 59 |
When using Plain TeX with the LuaTeX engine, `luaotfload.sty` is used for |
| 60 |
loading the OpenType font and selecting features using the same syntax used |
| 61 |
natively by XeTeX. |
| 62 |
|
| 63 |
## Installation |
| 64 |
|
| 65 |
The files distributed to CTAN are: |
| 66 |
|
| 67 |
- `asapsym.dtx` (the documented sources) |
| 68 |
- `asapsym.ins` (the installer file) |
| 69 |
- `asapsym.pdf` (the typeset documentation) |
| 70 |
- `README.md` (the file you are reading now) |
| 71 |
- `Asap-Symbol.otf` (the OpenType font, released under SIL OFL, version 1.1) |
| 72 |
|
| 73 |
Executing the command `latex asapsym.ins` will generate the following package |
| 74 |
files from the `asapsym.dtx` file: |
| 75 |
|
| 76 |
- `asapsym.code.tex` (the Plain TeX wrapper file) |
| 77 |
- `asapsym.sty` (the LaTeX package wrapper) |
| 78 |
- `asapsym-generic.tex` (the generic macro definitions) |
| 79 |
|
| 80 |
These three files must be in a directory searched by TeX. A suggested layout for |
| 81 |
the complete distribution is: |
| 82 |
|
| 83 |
doc/ |
| 84 |
generic/ |
| 85 |
asapsym/ |
| 86 |
asapsym.pdf |
| 87 |
README.md |
| 88 |
fonts/ |
| 89 |
opentype/ |
| 90 |
omnibus-type/ |
| 91 |
asap/ |
| 92 |
Asap-Symbol.otf |
| 93 |
source/ |
| 94 |
generic/ |
| 95 |
asapsym/ |
| 96 |
asapsym.dtx |
| 97 |
asapsym.ins |
| 98 |
tex/ |
| 99 |
generic/ |
| 100 |
asapsym/ |
| 101 |
asapsym-generic.tex |
| 102 |
latex/ |
| 103 |
asapsym/ |
| 104 |
asapsym.sty |
| 105 |
plain/ |
| 106 |
asapsym/ |
| 107 |
asapysm.code.tex |
| 108 |
|
| 109 |
To produce the documentation locally, use the following sequence of commands: |
| 110 |
|
| 111 |
lualatex asapsym.dtx |
| 112 |
makeindex -s gglo.ist -o asapsym.gls asapsym.glo |
| 113 |
makeindex -s gind.ist -o asapsym.ind asapsym.idx |
| 114 |
lualatex asapsym.dtx |